]> git.lyx.org Git - features.git/blob - src/ChangeLog
ac32700ded36d0d197c63f63b3f5ef455a5dbb54
[features.git] / src / ChangeLog
1 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
4
5 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
6
7         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
8         use old deleteion algorithm when changetracking is on.
9
10 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
11
12         * messages.C (get): add debug output.
13
14 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
15
16         * text.C (cursorX): fix bug 1965: cursor movement at
17         line end broken in RtL.
18         (drawSelection): fix bug 1970: drawing of single-line 
19         selection broken for RtL.
20
21 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
22
23         bug 465.
24
25         * dociterator.h (clear, push_back, pop_back): change from
26         protected to public.
27
28         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
29         and changed to just return the value of the item depth; take a
30         ParIterator as argument; take the itemdepth at outer nesting level
31         in account if necessary; cleanup and comment the code.
32         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
33         and changed to just return true if reset is needed; take a
34         ParIterator as argument; cleanup and comment the code.
35         (setCounter): adapt to above changes.
36
37 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
38
39         * text3.C (dispatch): make debug message optional
40
41 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
42
43         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
44         inset. (bug 1963)
45
46 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
47
48         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
49
50 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
51
52         * text.C (insertChar):
53         * text2.C (deleteEmptyParagraphMechanism): take care whether 
54         a blank has been deleted (in change tracking mode) (bug 1254).
55
56 2005-07-20  John Levon  <levon@movementarian.org>
57
58         * text2.C (insertStringAsLines): remove old dubious code,
59         fixing bug 1939.
60
61 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
62
63         * MenuBackend.C (expandToc): use Floating::listName() as title of
64         the floats submenus.
65
66 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
67
68         * toc.[Ch]: Do not use translatable strings (bug 1870).
69
70 2005-07-20  John Levon  <levon@movementarian.org>
71
72         * tabular.C: fix 1748 - setting multicolumn adds
73           left line to the first cell
74
75 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
76
77         bug 1920
78         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
79         pars in one go.
80
81 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
82
83         * messages.C: supress some lyxerr messages
84
85 2005-07-18  Juergen Vigna  <jug@lyx.org>
86
87         * text.C (drawSelection): honor boundary when asking for cursorX.
88
89 2005-07-17  José Matos  <jamatos@fc.up.pt>
90
91         * tabular.C (recalculateMulticolumns): fix handling of one column
92         tables.
93
94 2005-07-17  Juergen Vigna  <jug@lyx.org>
95
96         * text.C (Delete, backspace): fixed so that paragraph with the
97         same layout can be merged by Delete/Backspace.
98
99 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
100
101         * text.C (readParToken): fix spelling.
102
103 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
104
105         * text2.C: fix counter update for DEPM problem reported by
106         Georg Baum
107
108 2005-07-17  Juergen Vigna  <jug@lyx.org>
109
110         * BufferView_pimpl.C (setBuffer): save/restore the
111         cursor/selection when switching buffers
112
113         * buffer.h: 
114         * buffer.C (saveCursor): add saveDocumentIterators to save the
115         cursor when switching buffer.
116
117 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
118
119         * debug.C: fix typo
120         * buffer.C: clarify message
121         
122 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
123
124         * dociterator.C (DocIterator): fix initialization order
125
126 2005-07-17  Juergen Vigna  <jug@lyx.org>
127
128         * text2.C (cursorHome): 
129         * text.C (drawSelection, cursorX): 
130         * dociterator.C (textRow): add boundary to getRow() call
131
132         * paragraph.C (getRow): implementation of below
133
134         * paragraph.h: add parameter boundary for getRow() function
135
136 2005-07-17  José Matos  <jamatos@fc.up.pt>
137
138         * buffer.C:
139         * bufferparams.[Ch]:
140         * tex-strings.[Ch]: new file format, remove support for a4.sty,
141         a4wide.sty and a4widemargins.
142
143 2005-07-17  Juergen Vigna  <jug@lyx.org>
144
145         * text2.C (cursorLeft): fix one of error
146
147 2005-07-17  Juergen Vigna  <jug@lyx.org>
148
149         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
150                    cursorEnd):
151         more fixes for boundary handling
152
153         * text3.C (dispatch): don't reset cursor if boundary has changed
154         on cursor movement.
155
156 2005-07-16  Juergen Vigna  <jug@lyx.org>
157
158         * text2.C (getColumnNearX): hopefully got it right now,
159         check if we are on column 0 for special case.
160
161 2005-07-16  Juergen Vigna  <jug@lyx.org>
162
163         * text2.C (getColumnNearX): handle special case Newline Inset
164
165         * text.C (singleWidth): Just remove bogus check
166
167 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
168
169         * funcrequest.C (split): avoid reading uninitialized char c
170
171 2005-07-16  José Matos  <jamatos@fc.up.pt>
172
173         * buffer.C:
174         * converter.C:
175         * lyxrc.C:
176         * paper.h:
177         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
178         single papersize variable.
179
180 2005-07-16  Juergen Vigna  <jug@lyx.org>
181
182         * text3.C (dispatch): honor boundary when checking if a cursor
183         movement has been done
184
185         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
186         (setCursor, setCursorIntern): fix cursor movement with boundary
187
188 2005-07-16  Juergen Vigna  <jug@lyx.org>
189
190         * text.C (currentState): output the actual Boundary
191
192 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
193
194         * factory.C (createInset): fix bad logic for tabular creation
195
196 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
197
198         * lyx_main.C (init): change some reLyX reference to tex2lyx
199
200 2005-07-16  Juergen Vigna  <jug@lyx.org>
201
202         * dociterator.C (DocIterator): initialize boundary
203
204 2005-07-16  Juergen Vigna  <jug@lyx.org>
205
206         * text2.C (getColumnNearX): Consider rows without trailing blank.  
207
208 2005-07-16  André Pönitz  <poenitz@gmx.net>
209
210         * lyxfont.h: Change order of declarations to give the compiler
211         a better chance to inline things
212
213         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
214         questions on unsaved docs for better scritability
215
216 2005-07-16  André Pönitz  <poenitz@gmx.net>
217
218         * paragraph.h (getChar): remove asserts as the same kind of security
219         can be achieved by using a suitable standard library implementation
220         and the function was in the critical path (25.9% in profiler)
221
222 2005-07-16  Juergen Vigna  <jug@lyx.org>
223
224         * cursor.C (bruteFind2):
225         * bufferview_funcs.C (coordOffset): 
226         * text.C (cursorX,cursorY): Handle cursor position after last char
227         in row before a inset which uses a whole row.
228
229 2005-07-15  José Matos <jamatos@lyx.org>
230
231         * output_plaintext.[Ch] (writeFileAscii): control reference title
232         printing.
233         (asciiParagraph): noparbreak was already deal and was incorrectly
234         used.
235
236 2005-07-15  Juergen Vigna <jug@lyx.org>
237
238         * lyxfunc.C (dispatch): save and restore the cursor after a
239         textclass switch.
240
241 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
242
243         * text.C (backspace): bug 806 for empty keepempty paragraphs we
244         change the layout to default before letting DEPM do its thing.
245
246         * paragraph_funcs.C (breakParagraph): dont reset the layout on
247         keepEmpty paragraphs
248
249         * text.C (setCursorFromCoordinates): add a debug statement
250
251         * text2.C (getColumnNearX): bug 1825 make sure that we don't
252         return a pos that is not on the row
253
254         * output_latex.C (TeXDeeper): get rid of potential dereferencing
255         of past the end iterator
256
257 2005-07-14  André Pönitz  <poenitz@gmx.net>
258
259         * undo.C (recordUndoFullBuffer): implement undo for
260         textclass switches
261
262 2005-07-14  André Pönitz  <poenitz@gmx.net>
263
264         * cursor.C (setSelection): open insets when selection is set there
265         to avoid crashs with cold coord cache
266
267 2005-07-14  André Pönitz  <poenitz@gmx.net>
268
269         * trans_mgr.C (insert): move cursor to the right after inserting
270         a char.
271
272 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
273
274         * BufferView_pimpl.C (update): dampen some of the debug blabbering
275         * factory.C (readInset): ditto
276         * text.C, text2.C: ditto
277
278 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
279
280         * buffer.C: format incremented to 242. There is no file format per
281         se, but the "frenchb" language has been removed from lib/language
282         and has to be translated to "french" by lyx2lyx.
283
284 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
285
286         * cursor_slice.h, dociterator.h: add some documentation
287         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
288
289 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
290
291         * text.C (leftMargin): do not add identation to display() style
292         insets, because they are always centered (bug 1293).
293
294 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
295
296         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
297         formatted_time methods in support/lyxtime.
298
299 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
300
301         * toc.[Ch]: new method getGuiName, which is used by the frontends 
302         to set the toc combo (fixes bug 1870). Make TOC string translatable.
303
304 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
305
306         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
307         StableDocIterator const &)
308         * undo.C (recordUndo): use the above instead of cell.size() comparison
309         (fixes bug 1808; instructed by Andr�.
310
311 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
312
313         * cursor_slice.h: 
314         * dociterator.h: Fix the assert when copying rows/cols in math
315
316 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
317
318         * BufferView_pimpl.C:
319         * LyXAction.C:
320         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
321
322         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
323         (findInset): new functions, refactored from goto Inset that return 
324         the position of a certain inset without setting the buffer's cursor
325         (by Jean-Marc); 
326         (gotoInset): rewrite to call findInset and then set the cursor
327         (by Jean-Marc).
328
329 2005-06-16  Angus Leeming  <leeming@lyx.org>
330
331         * lyxrc.C (output, read): wrap all input and output of paths with
332         calls to os::internal_path and os::external_path, respectively.
333         (output): wrap bind_file inside quotes.
334
335         * format.C (view): enable the viewer to use the '$$s' placeholder.
336
337 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
338
339         * LColor.[Ch] (getFromLaTeXName): new
340
341 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
342
343         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
344
345 2005-06-14  Angus Leeming  <leeming@lyx.org>
346
347         * lyx_main.C (init): ensure that the LyX binary dir is the first
348         element in the PATH on non-POSIX builds.
349
350 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
351
352         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
353
354 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
355
356         * rowpainter.C (paintInset, paintHebrewComposeChar)
357         (paintArabicComposeChar, paintChars): add a LyXFont argument.
358         (paintChars): use getFontSpan to reduce calls to getFont to a
359         minimum; use Paragraph::lookupChange instead of isXXXText.
360         (paintForeignMark): rename LyXFont argument.
361         (paintFromPos): pass a LyXFont object to the various paintXXX
362         methods.
363
364         * FontIterator.C (FontIterator, operator++): use
365         Paragraph::getFontSpan
366
367         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
368         version that returns the font span as a pair.
369
370 2005-06-09  Angus Leeming  <leeming@lyx.org>
371
372         * converter.C (convert): Don't forget "outfile = real_outfile" as
373         the final step in a conversion where the input and output file names
374         are the same. Otherwise, future conversion steps won't work...
375
376 2005-06-09  Angus Leeming  <leeming@lyx.org>
377
378         * lyxsocket.C: remove stub code as it isn't needed by
379         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
380
381 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
382
383         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
384         effectively disabled -x
385
386 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
387
388         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
389         when it actually makes sense.
390
391 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
392
393         * BufferView_pimpl.C: revert to showCursor in connection with
394         Lars's front-end stack
395
396 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
397
398         * text.C (redoParagraph): move cursor right after a bibitem
399         has been inserted.
400
401         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
402
403 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
404
405         * buffer_funcs.C (bufferErrors): fix computation of the end of an
406         error range.
407
408 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
409
410         * BufferView.[Ch] (update):
411         * BufferView_pimpl.[Ch] (update, metrics):
412         * dimension.h (operator==):
413         * lyxfunc.C (dispatch):
414         * metricsinfo.h (ViewMetricsInfo):
415         * rowpainter.C (paintText):
416         * lyxtext.h:
417         * text.C (redoParagraph):
418         * text3.C (dispatch): Make LyX only repaint current paragraph in
419         case of character insert --> speedup. Also fix cursor draw
420         artifacts
421
422 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
423
424         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
425         avoid a crash (bug 1891)
426
427 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
428
429         Fix bug 1892:
430
431         * text2.C (getStringToIndex): constify cur argument.
432
433         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
434         argument has been given
435         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
436         try to invoke LFUN_INSET_APPLY).
437
438         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
439         if no inset was created by doInsertInset
440         (doInsertInset): return true if an inset has been inserted.
441
442 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
443
444         * vspace.C (asGUIName): new method. A version of the space
445         suitable for showing on screen.
446
447 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
448
449         * MenuBackend.C:
450         * lyxrc.C: rename "ASCII" to "Plain Text"
451
452 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
453
454         * buffer_funcs.C (expandLabel): take a Buffer as argument;
455         translate the labelstring.
456         (setCounter): translate labelstring as needed.
457
458         * output_docbook.C (makeCommand): fix expandLabel invokation
459
460 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
461
462         * BufferView.C: fix dialog title
463
464 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
465
466         * lyx_main.C (priv_exec): fix logic error with help from Angus
467         * lyx_main.C (parse_execute): set is_gui = false and remove now
468         obsolete comment about a segfault
469
470 2005-05-18  Angus Leeming  <leeming@lyx.org>
471
472         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
473
474 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
475
476         * tabular.[hC]: added setCellInset to fix tabular paste.
477
478 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
479
480         * buffer.C (save): check if destination is writable before trying
481         to copy a file
482
483 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
484
485         * BufferView_pimpl.C (update): fix processEvents -caused update
486         recursion bug
487
488 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
489
490         * buffer_funcs.C (setCounter): fix test for numbering of
491         environments.
492
493         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
494         depth correctly; use optional argument when it exists
495
496         * lyxtextclass.C: remove unused MaxCounterTags enum
497         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
498         (max_toclevel, min_toclevel): new methods.
499
500         * MenuBackend.C (expandToc2): fix case where depth is smaller than
501         the smallest depth in toc.
502
503         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
504         layouts that should not appear in a table of contents.
505
506 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
507
508         * cursor.h (undispatched, noUpdate): add comments from Andr�
509 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
510
511         * lfuns.h:
512         * LyXAction.C:
513         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
514
515 2005-05-07  André Pönitz  <poenitz@gmx.net>
516
517         * cursor.[Ch] (leaveInset): new function
518
519 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
520
521         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
522
523 2005-05-04  Angus Leeming  <leeming@lyx.org>
524
525         * lyxfunc.C (getStatus): disable the spell checker dialog if
526         none of USE_[AIP]SPELL are defined.
527
528 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
529
530         * tabular.C (setWidthOfCell): remove obsolete comment
531
532 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
533
534         * paragraph.C (bibitem):
535         * buffer_funcs.C (setCounter):
536         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
537
538 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
539
540         * text3.C (getStatus): immediately return after setOnOff
541
542         * rowpainter.C: fix drawing of appendix start
543
544 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
545
546         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
547         SwitchBetweenClasses and remove the unused return value.
548         Handle character styles, too
549
550 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
551
552         * factory.C (createInset): handle undefined character styles
553
554 2005-05-02  Angus Leeming  <leeming@lyx.org>
555
556         * buffer.C: protect the #include of utime.h with a preprocessor
557         guard.
558
559 2005-05-02  Angus Leeming  <leeming@lyx.org>
560
561         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
562         function so that auto-saving works, albeit in a blocking manner.
563
564         * Makefile.am: make compilation of the client sub directory, of
565         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
566         on conditionals set at configure time.
567
568         * SpellBase.[Ch]: no longer an abstract base class. Instead,
569         it can be compiled in its own right but has no-op functionality.
570
571         * aspell.C, pspell.C: remove preprocessor guards. The files should
572         be compiled only if the necessary functionality exists.
573
574         * lyxserver.C, lyxsocket.C: disable on Windows.
575
576 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
577
578         * text.C (leftMargin): Fix the parindent use bug (1764)
579         by dirty trick
580
581 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
582
583         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
584         argument.
585
586 2005-04-25  Angus Leeming  <leeming@lyx.org>
587
588         * Bidi.[Ch]:
589         * coordcache.[Ch]:
590         * ispell.C:
591         * lyxserver.C:
592         * mover.C:
593         * pch.h:
594         include <config.h> in .C files, not .h ones.
595         add licence blurb.
596         protect headers inside preprocessor guards.
597
598 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
599
600         * FuncStatus.h (StatusCodes): document
601
602 2005-04-21  André Pönitz  <poenitz@gmx.net>
603
604         * FuncStatus.h (enabled, onoff): document
605
606 2005-04-19  Angus Leeming  <leeming@lyx.org>
607
608         * BufferView_pimpl.C (cursorToggle): no longer test whether
609         any child processes have been reaped before calling
610         handleCompletedProcesses().
611
612 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
613
614         * text3.C (dispatch): fix, finally fix, the language problem in
615         new lyxtexts, without disabling on-the-fly font changes (Helge's
616         bug report)
617
618 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
619
620         * text3.C (dispatch): set cursor on double/triple click events
621         (bug 1811)
622
623 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
624
625         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
626         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
627
628         * rowpainter.C (paintFirst): simplify the code a little bit. In
629         particular, remove the test for secnumdepth.
630         * text.C (setHeightOfRow): only allocate space for chapter number
631         when updateCounters provided an actual label, instead of looking
632         at secnumdepth directly.
633
634         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
635
636         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
637         paragraphs when secnumdepth is large enough or, for environments,
638         when they are not the first in a sequence.
639
640 2005-04-17  Angus Leeming  <leeming@lyx.org>
641
642         * buffer.C (makeLaTeXFile): replace code to manipulate a path
643         containing space and '~' characters with a call to latex_path().
644
645 2005-04-17  Angus Leeming  <leeming@lyx.org>
646
647         * converter.C (convert): protect all args of convertDefault.sh
648         script with quotes.
649
650 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
651
652         * text3.C (dispatch): change the layout to "Caption" after inserting
653         a float.
654
655 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
656
657         * text3.C (dispatch): fix language problem in newly created
658         textinsets (and main text) in non-english docs
659
660 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
661
662         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
663         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
664         * text3.C (getStatus): disable LFUN_INSET_MODIFY
665
666 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
667
668         * lyxtext.h:
669         * text.C (metrics):
670         * text2.C (getFont):
671         * rowpainter.C (getFont): Fix metrics bug introduced by inset
672         fonts fix
673
674 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
675
676         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
677         output of \item arguments without trailing text.
678
679 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
680
681         * FontIterator.C (operator*): avoid a copy of the font.
682
683 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
684
685         * rowpainter.C (getFont): fix language bug from previous fix
686
687 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
688
689         * rowpainter.C (RowPainter, getFont): fix font inside inset
690         (bugs 1766, 1809)
691
692 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
693
694         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
695         preventing inserted font, deco, delim insets jumping to start of
696         surrounding inset.
697
698 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
699
700         * lyxfunc.C (dispatch): translate message before sending it to the
701         minibuffer.
702
703 2005-03-29  Angus Leeming  <leeming@lyx.org>
704
705         * lyx_main.C (priv_exec): call os::internal_path on each file passed
706         to LyX on the command line.
707
708 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
709
710         * vc-backend.C: use QuoteName to protect file names wherever
711         necessary.
712
713 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
714
715         * buffer.[Ch]:
716         * BranchList.h: fix bugs 1844,1845: document settings don't
717         stick
718
719 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
720
721         * lyxrc.C (setDefaults, read, output, getDescription): add support
722         for tex_allows_spaces.
723
724         * exporter.C (Export): allows files in directory containing spaces
725         if tex_allows_spaces is true.
726
727         * buffer.C (makeLaTeXFile): if the document path contains spaces,
728         output it in double quotes.
729
730 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
731
732         * rowpainter.C: use default text height for drawing change tracker
733         strikeout lines.
734
735 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
736
737         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
738
739 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
740
741         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
742         directory is missing.
743
744 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
745
746         * text2.C: fixed the fix, extended to other case.
747
748 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
749
750         * text2.C: fix for cursor up/down stuck in math [bug 1792]
751
752 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
753
754         * text2.C (cursorUp): get rid of a crash
755         * text.C (x2pos): add an assert
756
757 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
758
759         * lyxfunc.C (getStatus): fix warning when assertions are disabled
760
761         * text3.C:
762         * lyxfunc.C:
763         * dociterator.C: include <boost/current_function.hpp>, which is
764         needed when assertions are disabled.
765
766 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
767
768         * text2.C: fix for stuck cursor when traversing two
769         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
770
771 2005-02-25  Andreas Vox  <avox@arcor.de>
772
773         * output_docbook.C (makeParagraph): suppress trailing newline
774         after a run of paragraphs
775
776 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
777
778         * paragraph.C: fix for confused change tracker when pasting
779         text that begins with a lineseparator. [bug 1827]
780         (setChange(0, Change::INSERTED);)
781
782         * paragraph_funcs.C: fix for lost changes on triple-paste
783         in change tracking mode [bug 1827] (par.setChange()).
784
785 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
786
787         * text2.C (updateCounters, setCounter, expandLabel): move to
788         buffer_funcs.
789
790         * buffer_funcs.C (updateCounters): turn into a free standing
791         function and add a buffer parameter. Remove dead code for tracking
792         labelstring change.
793         (setCounter): change into a free-standing function which gets a
794         dociterator as argument. Use this iterator to fix captions in a
795         simple way. When no float is found above the caption, use the
796         labelstring of the caption layout as default.
797
798         * text.C (breakParagraph, backspace):
799         * text2.C (init, setLayout, changeDepth):
800         * text3.C (dispatch):
801         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
802         updateCounters.
803
804         * dociterator.C (forwardPar): make it much faster by calling
805         forwardPos() only when really necessary.
806
807         * output_docbook.C (makeCommand): adapt to expandLabel move.
808
809         * cursor.C: remove unused variable
810
811 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
812
813         * paragraph_funcs.C: fix crash when pasting insets in change
814         tracking mode [bug 1277] (honour change type in moveItem).
815
816 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
817
818         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
819
820 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
821
822         * BufferView.C (setCursor): change to use a DocIterator.
823         (gotoLabel): use BufferView::setCursor (other part of bug 781).
824         (putSelectionAt): adapt to BufferView::setCursor change.
825
826         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
827         moved here from LyXText and rewritten to use proper cursor
828         methods. Fixes bug 1787, 616 and 835.
829
830         * BufferView_pimpl.C (restorePosition): set the cursor correctly
831         when inside an inset (part of bug 781).
832         (dispatch): adapt to change of BufferView::setCursor.
833         (getStatus, dispatch): handle LFUN_GOTOERROR,
834         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
835
836         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
837         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
838         * text3.C (gotoNextInset, gotoInset): removed.
839
840 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
841
842         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
843
844 2005-02-15  Angus Leeming  <leeming@lyx.org>
845
846         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
847         can be used meaningfully in a comparison.
848
849 2005-02-13  André Pönitz  <poenitz@gmx.net>
850
851         * bufferview_funcs.C (coordOffset): improve cursor drawing
852
853 2005-02-13  André Pönitz  <poenitz@gmx.net>
854
855         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
856         * Cursor.C (dispatch): use fixIfBroken
857         * lyxfunc.C (getStatus): use fixIfBroken
858
859 2005-02-15  Angus Leeming  <leeming@lyx.org>
860
861         * lyx_main.C (error_handler):
862         * lyxfunc.C:
863         * lyxrc.C (setDefaults):
864         s/GetEnv/getEnv/.
865         #include "environment.h".
866
867         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
868
869 2005-02-15  Angus Leeming  <leeming@lyx.org>
870
871         * lyxserver.C (startPipe): squash MSVC warning "local variable
872         'fd' used without having been initialized".
873
874 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
875
876         * BufferView_pimpl.C: revert accidental commit.
877
878 2005-02-14  André Pönitz  <poenitz@gmx.net>
879
880         * dociterator.[Ch]: new member forwardPosNoDescent(),
881         which doesn't enter nested insets.
882         * text2.C (setFont): use forwardPosNoDescent() instead
883         of ForwardPos() (fixes crash on font change).
884
885 2005-02-13  Angus Leeming  <leeming@lyx.org>
886
887         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
888         only if lyxrc.path_prefix is not empty.
889
890 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
891
892         * bufferparams.C (readGraphicsDriver): prevent crash
893
894 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
895
896         * text2.C (setCounter): check for inInset() == 0
897
898 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
899
900         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
901         but use update() to get correct screen display; use convert
902         instead of istringstream.
903         (getStatus): handle LFUN_GOTO_PARAGRAPH
904
905         * lyxfunc.C (dispatch, getStatus): do not handle
906         LFUN_GOTO_PARAGRAPH here.
907
908 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
909
910         * text3.C (dispatch): size() -> depth()
911
912         * text2.C: remove some debug output
913
914         * paragraph.C: ws changes only
915
916         * lyxfunc.C (getStatus): size() -> depth()
917
918         * dociterator.h (clear, push_back, pop_back, internalData,
919         operator[], resize, empty): new functions
920         Make StableDocIterator and operator== be friends. Don't inherit
921         from std::vector use a privat class variable slices_ instead.
922         Modify to fit.
923
924         * dociterator.C: update because of not inheriting from std::vector
925         anymore. Call explictly to slices_ instead. Use depth() instead of
926         size() and top() instead of back()
927
928         * cursor.C: chagne size() -> depth and back() -> top(). Also
929         remove some direct operator[](i) calls in favour of foo[i]
930         (getFont): remove some dead code
931
932         * bufferview_funcs.C (coordOffset): size() -> depth()
933
934         * buffer.C: ws changes only
935
936         * CutAndPaste.C (eraseSelection): back() -> top()
937
938         * BufferView_pimpl.C (selectionRequested): back() -> top()
939
940         * BufferView.C (setCursor): size() -> depth()
941
942 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
943
944         * text3.C (cursorPrevious): return true if depm changed something
945         (cursorNext): ditto
946         (dispatch): rename sl to oldTopSlice, remove moving use the new
947         NoUpdate func attrib instead. Make sure that needsUpdate is set
948         for function that have NoUpdate, but where depm might have changed
949         the buffer anyway.
950
951         * text2.C (cursorLeft): make us return true if depm changed
952         something
953         (cursorRight): ditto
954         (cursorUpParagraph): ditto
955         (curosrDownParagraph): ditto
956         (cursorUp, cursorDown): ditto, make sure to read comments in code
957         (deleteEmptyParagraphMechanism): remove an assert, also return
958         true if just a single char was deleted.
959
960         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
961         cursor that we modify, to avoid modifying an active cursor before
962         we call setCursor. This allows depm to run. Also return true if
963         depm deleted something.
964
965         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
966         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
967         cursorDownParagraph, cursorPrevious and cursorNext, return true if
968         something was changed in the buffer because of them (ie. depm run)
969
970         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
971         debug messages. Make update by default be false. Make sure that
972         the result of update is retained throught several calls down to
973         dispatch.
974
975         * LyXAction.h: add a new func_attrib: NoUpdate
976
977         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
978         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
979         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
980         and LFUN_WORDLEFT
981         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
982
983 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
984
985         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
986         bv_->owner(), bv_->buffer() by direct references to the private
987         members.
988         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
989         (getStatus): isSavedPosition() is in BufferView::Pimpl.
990         (fitCursor): center() is in BufferView::Pimpl.
991         (getStatus, trackChanges, dispatch): no need for a temporary buf
992         variable
993         (fitCursor, workAreaDispatch): use workarea().workheight()
994
995 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
996
997         * CutAndPaste.C (pasteSelectionHelper): fix a crash
998
999 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1000
1001         * buffer.C: format up to 241.
1002         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1003         break if pasting into ERT
1004         * lyxfunc.C (getStatus): suppress mathpanel and
1005         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1006
1007 2005-02-01  Angus Leeming  <leeming@lyx.org>
1008
1009         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1010
1011 2005-02-01  Angus Leeming  <leeming@lyx.org>
1012
1013         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1014         calling fs::is_directory().
1015
1016 2005-01-31  Angus Leeming  <leeming@lyx.org>
1017
1018         * lyx_main.C (priv_exec): specify explicitly the relative location
1019         of the top level build directory when run in-place.
1020
1021 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1022
1023         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1024         LyXText containing the cursor, not the top-level one.
1025
1026         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1027         true.
1028         (insertStringAsLines): rename par to pit; use temporary variable
1029         par to hold a Paragraph; do not store par.layout() in a variable,
1030         since the pointer may die when breaking paragraphs; pass pars to
1031         breakParagraph() instead of Buffer::paragraphs().
1032
1033 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1034
1035         * lyxlex_pimpl.h: #include <fstream>.
1036
1037         * BufferView.[Ch] (getLyXText): add a const version.
1038
1039         * BufferView_pimpl.C: add debug aids.
1040
1041         * RowList_fwd.h:
1042         * buffer.h:
1043         * lyxrow.h:
1044         * paragraph_funcs.h: add commentary explaining what the class does.
1045
1046
1047         * coordcache.[Ch]: add lots of commentary.
1048         (startUpdating, doneUpdating): debug aids.
1049         (arrays, insets, parPos, getParPos): accessors to private data.
1050
1051         * cursor_slice.[Ch] (text): add a const version.
1052         * dociterator.[Ch] (text, innerText): add const versions.
1053
1054         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1055         bool.
1056
1057         * paragraph.C (getRow, pos2ros): add asserts.
1058
1059         * paragraph.h: add commentary. Lots of.
1060
1061         * paragraph.[Ch] (metrucs, draw): removed.
1062
1063         * cursor.C:
1064         * rowpainter.[Ch]: const-correct changes.
1065
1066         * text.C: various obvious clean-ups. Removal of ancient cruft.
1067         Bug fixes, even.
1068
1069 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1070
1071         * vc-backend.C (find_file): rewrite to use boost.filesystem
1072         (scanMaster): ditto
1073
1074         * main.C (main): set default name check for boost.filesystem to
1075         no check
1076
1077         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1078         (open): ditto
1079         (doImport): ditto
1080         (actOnUpdatedPrefs): ditto
1081
1082         * lyx_main.C (init): rewrite to use boost.filesystem
1083         (queryUserLyXDir): ditto
1084
1085         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1086         (getContentsOfAsciiFile): ditto
1087
1088         * lastfiles.C (readFile): rewrite to use boost.filesystem
1089
1090         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1091
1092         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1093         (loadLyXFile): ditto
1094
1095         * buffer.C (Buffer): adjust for destroydir
1096         (getLogName): rewrite to use boost.filesystem
1097         (setFileName): ditto
1098         (save): use fs::copy_file (from fs_extras)
1099
1100         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1101
1102         * LaTeX.C (run): rewrite to use boost.filesystem
1103         (scanAuxFiles): ditto
1104         (handleFoundFile): ditto
1105
1106 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1107
1108         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1109
1110         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1111
1112 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1113
1114         * lyxlayout.[Ch]: change some vars from float to double
1115
1116         * buffer.C (readFile): make a local var const
1117
1118         * Several files: use convert<> instead of atoi,strToXXX and friends
1119
1120 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1121
1122         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1123         holds the contents of packages.lst. New functions getAvailable
1124         and isAvailable to parse and check that list, resp.
1125
1126         * LyXAction.C:
1127         * lfuns.h:
1128         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1129
1130         * bufferparams.[Ch]: new param output_changes.
1131
1132         * Buffer.C: increase file format to 240.
1133         Use output_changes and isVailable.
1134
1135         * changes.[Ch]:
1136         * paragraph.C:
1137         * paragraph_pimpl.C: Use output_changes and isVailable.
1138
1139 2005-01-23  Angus Leeming  <leeming@lyx.org>
1140
1141         * output_latex.C: #include "insetbibitem.h", rather than
1142         forward declare function bibitemWidest.
1143
1144 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1145
1146         * lyx_main.C (init): make it compile on the Mac.
1147
1148 2005-01-20  Angus Leeming  <leeming@lyx.org>
1149
1150         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1151         (setLyXMisc): (char string literal) != (char string literal) is
1152         performing a comparison on the addresses. Convert one operand
1153         explicitly to string to guarantee expected behaviour.
1154         From MSVC warning.
1155
1156 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1157
1158         * buffer.C:
1159         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1160
1161         * output_plaintext.C: remove unneeded #include gzstream.h.
1162
1163 2005-01-20  Angus Leeming  <leeming@lyx.org>
1164
1165         * SpellBase.h: rename some of the elements of the Result enum.
1166
1167         * aspell_local.h:
1168         * ispell.h:
1169         * pspell.h:
1170         * aspell.C (check):
1171         * ispell.C (check):
1172         * pspell.C (check): ditto
1173
1174 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1175
1176         * buffer.C: add #include <fstream>.
1177
1178         * lyx_main.C (init): Compile fix.
1179
1180         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1181
1182 2005-01-20  Angus Leeming  <leeming@lyx.org>
1183
1184         * mover.h: change commentary to reflect the changed meaning of
1185         the $$s placeholder.
1186
1187 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1188
1189         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1190
1191         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1192
1193 2005-01-20  Angus Leeming  <leeming@lyx.org>
1194
1195         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1196         printing diagnostic data by not dereferecing an iterator past the
1197         end.
1198
1199 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1200
1201         * buffer.C (readHeader): use "&&" rather than "and".
1202
1203         * lyxserver.h (inPipeName, outPipeName): make these const.
1204
1205 2005-01-19  Angus Leeming  <leeming@lyx.org>
1206
1207         * lyx_main.C (error_handler, init): protect SIGHUP with
1208         #ifdef SIGHUP guards.
1209
1210 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1211
1212         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1213
1214 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1215
1216         * text.C (setHeightOfRow): add a margin at the top and bottom of
1217         the document (bug 1761)
1218
1219 2005-01-17  Angus Leeming  <leeming@lyx.org>
1220
1221         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1222         with "python ". Workaround for a brain-dead Windows.
1223
1224 2005-01-16  Angus Leeming  <leeming@lyx.org>
1225
1226         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1227         for MacOSX and Windows to use prependEnvPath.
1228         Strip out the hard-coded block to add elements to the PATH for
1229         MacOSX and replace it with a call to prependEnvPath using the
1230         contents of LyXRC::path_prefix.
1231         (queryUserLyXDir): strip out the code to run reconfigure, instead
1232         returning a boolean indicating the necessity to do so.
1233         (reconfigureUserLyXDir): contains the code to reconfigure the
1234         user support directory. Is now called after the various LyXRC data
1235         files have been read.
1236
1237         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1238
1239 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1240
1241         * converter.[Ch] (convert): take a new parameter try_default. Use
1242         a default converter (imagemagick) if try_default is true.
1243
1244 2005-01-13  Angus Leeming  <leeming@lyx.org>
1245
1246         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1247         os::cygwin_path_fix.
1248         (write): output LyXRC::cygwin_path_fix as necessary.
1249
1250 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1251
1252         * lyxrc.h:
1253         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1254
1255 2005-01-12  Angus Leeming  <leeming@lyx.org>
1256
1257         * lyx_main.C (init): set the PATH variable to include the
1258         directory containing the LyX binary when running on Mac or Windows.
1259
1260 2005-01-12  Angus Leeming  <leeming@lyx.org>
1261
1262         * lyx_main.C (init): remove cruft that purports to set the locale
1263         dir. It doesn't and is not needed anyway.
1264
1265 2005-01-10  Angus Leeming  <leeming@lyx.org>
1266
1267         * Makefile.am: remove the lyx_main.C special casing.
1268
1269         * BufferView_pimpl.C:
1270         * bufferlist.C:
1271         * exporter.C:
1272         * lyx_cb.C:
1273         * lyx_main.C:
1274         * lyxfunc.C:
1275         * messages.C: use support/package.h to provide the paths to the
1276         various directories used by LyX.
1277
1278 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1279
1280         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1281         layout if pasting into an empty paragraph)
1282
1283 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1284
1285         * tex-accent.C: add <string>
1286
1287 2005-01-06  José Matos  <jamatos@lyx.org>
1288
1289         * ParagraphParameters.C (write): put every parameter in its own line.
1290         * paragraph.C (write): reduce number of consecutive empty lines exported.
1291         * buffer.C (LYX_FORMAT): increase file format to 239.
1292
1293 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1294
1295         * everywhere: change support/tostr.h -> support/convert.h
1296
1297         * tabular.C: make all write_attributes templates, tostr -> convert
1298
1299         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1300         (emptyTag): and -> &&, and fix type for ret from getChar
1301         (getFirstWord): fix type for ret from getChar
1302         (onlyText): and -> &&
1303         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1304         getChar
1305
1306         * toc.C (goTo, action):
1307         * text3.C (dispatch):
1308         * text.C (currentState):
1309         * tex-accent.C (DoAccent):
1310         * sgml.C:
1311         * lyxrc.C:
1312         * lyxfunc.C (menuNew):
1313         * lyxfinc.C (replace):
1314         * counters.C (laberItem):
1315         * bufferview_funcs.C (font2string):
1316         * bufferparams.C (writeFile):
1317         * buffer.C (readFile):
1318         * Spacing.C (set):
1319         * MenuBackend.C: tostr -> convert
1320
1321         * LaTeX.C (runMessage): fix format
1322         (scanAuxFiles): tostr -> convert
1323
1324         * BufferView_pimpl.C (savePosition): fix format
1325         (restorePosition): ditto
1326         (dispatch): ditto
1327
1328 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1329
1330         * Spacing.[Ch]: New method getValueAsString().
1331
1332         * Spacing.[Ch]:
1333         * bufferparams.C:
1334         * ParagraphParameters.C:
1335         * lyxlayout.C:
1336         * text.C:
1337         * text3.C: store/read spacing value as string.
1338
1339         * rowpainter.C: change float value (spacing_val) to double.
1340
1341         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1342         broken custom document spacing).
1343
1344 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1345
1346         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1347         namespace, also more use of temp references and const
1348
1349         * cursor.[Ch] (getStatus): move to lyxfunc.C
1350
1351         * bufferparams.C: reformat slightly
1352
1353         * bufferview_funcs.C (font2string): constify arg
1354
1355         * changes.C:
1356         * converter.C:
1357         * counters.C:
1358         * bufferlist.C:
1359         * buffer_funcs.C: (many funcs): constify arg on function
1360         definitions, also make more local vars const, also add ASSERTS on
1361         pointer args.
1362
1363         * buffer.C (LYX_FORMAT): put const in correct place
1364         (many funcs): constify arg on function definitions, also make
1365         more local vars const
1366
1367         * aspell_local.h: remove "struct" from typdef setup
1368
1369         * aspell.C (check): make word_ok const
1370         (nextMiss): simplify slightly
1371         (error): ditto
1372
1373 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1374
1375         * lyxrc.[Ch]: store all float values as strings.
1376         use int (not float) for lyxrc.dpi.
1377
1378 2005-01-04  Angus Leeming  <leeming@lyx.org>
1379
1380         * lyx_cb.C (Reconfigure):
1381         * lyx_main.C (queryUserLyXDir):
1382         to run the <system_lyxdir>/configure correctly on Windows, prefix
1383         the path to the script with "sh " when generating the string that
1384         is passed to system().
1385
1386 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1387
1388         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1389
1390 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1391
1392         * lyxlength.C (asLatexString): get rid of setprecision
1393
1394 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1395
1396         * text2.C (setLayout): remove unused variable endpit.
1397         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1398
1399         * paragraph.C (onlyText): remove unused variable style.
1400
1401         * cursor.C (bruteFind): remove unused variables beg and end.
1402
1403         * Makefile.am (dist_noinset_DATA): not needed anymore
1404
1405         * cheaders/*: remove.
1406
1407 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1408
1409         * text3.C: fix LFUN_MATH_MODE.
1410
1411 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1412
1413         * buffer_funcs.C (countWords): new function. Counts words between
1414         two iterators.
1415
1416         * BufferView_pimpl.C (getStatus, dispatch): handle
1417         LFUN_WORDS_COUNT.
1418
1419         * LyXAction.C (init):
1420         * lfuns.h: add LFUN_WORDS_COUNT.
1421
1422 2004-12-19  Angus Leeming  <leeming@lyx.org>
1423
1424         * buffer.C (save): s/slashify_path/internal_path/.
1425
1426 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1427
1428         * lyxfind.C (findChange): do not search for end of pars, because
1429         the change tracker cannot handle this (fixes bug 1719).
1430
1431 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1432
1433         * paragraph.[Ch] (autoBreakRows): remove
1434
1435         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1436
1437         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1438         avoid using the paragraph one
1439
1440         * text2.C (LyXText, insertStringAsLines): adjust
1441
1442 2004-12-16  Angus Leeming  <leeming@lyx.org>
1443
1444         * bufferlist.C:
1445         * lyx_main.C:
1446         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1447
1448 2004-12-14  Angus Leeming  <leeming@lyx.org>
1449
1450         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1451
1452         * bufferlist.C (emergencyWrite):
1453         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1454         GetEnvPath("HOME").
1455
1456 2004-12-14  Angus Leeming  <leeming@lyx.org>
1457
1458         * main.C: (main): no longer pass pointers to os::init.
1459
1460 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1461
1462         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1463         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1464
1465 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1466
1467         * lyxfunc.C:
1468         * text3.C: remove selection_possible global flag
1469
1470 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1471
1472         * text2.C (getSelectionSpan): remove
1473         (changeDepth, changeDepthAllowed): adjust
1474
1475 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1476
1477         * Makefile.am (BOOST_LIBS): use boost variables
1478
1479 2004-12-03  José Matos  <jamatos@lyx.org>
1480
1481         * buffer.C: format up to 238.
1482
1483 2004-12-03  José Matos  <jamatos@lyx.org>
1484
1485         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1486
1487 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1488
1489         * cursor.C (goUpDown): remove call to idxUpDown2
1490
1491 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1492
1493         * tabular.[Ch]: use size_t-like types for cell, row and column
1494         indices
1495
1496 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1497
1498         * lyxfunc.C (getStatus): do not lose previous information when
1499         calling BufferView::getStatus; do not set a default "Command
1500         disabled" message at the beginning, but just before returning.
1501
1502 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1503
1504         * cursor.h (getStatus): add better comment from src/cursor.C
1505
1506 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1507
1508         * text3.C (getStatus): return false when the lfun is not handled
1509
1510 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1511
1512         * broken_headers.h: remove
1513
1514         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1515
1516 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1517
1518         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1519         offset_ref accessors
1520
1521         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1522         top_y_, merge fitcursor with update
1523         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1524         coord scheme
1525         (metrics): introduce
1526         (workAreaDispatch): adapt to new coord scheme
1527         (redoCurrentBuffer): remove
1528
1529         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1530
1531         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1532         CurStatus enum.
1533
1534         * coordcache.[Ch]: add paragraph cache and helpers
1535
1536         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1537         adjust everywhere
1538
1539         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1540         (targetX, setTargetX): introduce
1541
1542         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1543         baseline -> ascent, as the rest of lyx
1544
1545         * lyxtext.h: remove redoParagraphs, updateParPositions,
1546         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1547         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1548         have ascent/descent (ascent is ascent of first par)
1549
1550         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1551         step of BufferView
1552
1553         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1554
1555         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1556
1557         * pariterator.C: fix infinite loop introduced in par->pit renaming
1558
1559         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1560         in insets and LyXText, draw two off-screen paragraphs using
1561         NullPainter, and adapt to new coord scheme
1562
1563         * text.C:
1564         * text2.C:
1565         * text3.C: adapt lfun handlers to the new coord scheme, which
1566         means: there's only guaranteed coord information for onscreen pars
1567         plus one above and one below. This implies that one can do search
1568         from y coordinates in the range [-1,workHeight]
1569
1570 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1571
1572         * rename a lot of InsetOld to InsetBase
1573
1574 2004-11-25  Angus Leeming  <leeming@lyx.org>
1575
1576         * BufferView_pimpl.C:
1577         * lyx_cb.C:
1578         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1579
1580 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1581
1582         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1583         call BufferView::getStatus if LCursor::getStatus did nothing
1584         (setStatusMessage, getStatusMessage): removed.
1585
1586         * FuncStatus.C (message): new methods. Used to provide an error
1587         message indicating why a command is disabled.
1588         (clear, |=, FuncStatus): update for message.
1589
1590 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1591
1592         * lyxfunc.C (dispatch): always call sendDispatchMessage
1593
1594 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1595
1596         * BufferView.C:
1597         * BufferView_pimpl.C:
1598         * CutAndPaste.C:
1599         * FontIterator.C:
1600         * buffer.C:
1601         * cursor.C:
1602         * cursor_slice.[Ch]:
1603         * dociterator.[Ch]:
1604         * lyxfind.C:
1605         * paragraph_funcs.C:
1606         * pariterator.C:
1607         * rowpainter.C:
1608         * text.C:
1609         * text2.C:
1610         * text3.C:
1611         * undo.C: par->pit renaming
1612
1613 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1614
1615         * tabular.C (cellstruct): use initialization, store a shared_ptr
1616         to insettext instead of the insettext directly, adjust to fit.
1617         (operator=):  new function
1618         (swap): new function
1619         (rowstruct): use initialization
1620         (columnstruct): use initialization
1621         (ltType): use initialization
1622
1623
1624         * lyxlength.h (swap): new function
1625
1626         * LColor.[Ch] (operator=): use the common semantics
1627
1628 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1629
1630         * lyxfind.C (findNextChange): update the bufferview after setting
1631         the selection.
1632
1633 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1634
1635         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1636         number of InsetOptArgs has already been inserted.
1637
1638         * output_latex.C (latexOptArgInsets): new method. This outputs all
1639         the optarg insets, up to the limit defined in the layout file.
1640         (optArgInset): removed
1641         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1642
1643 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1644
1645         * paragraph.C (isLetter): remove special spellchecker-related
1646         code; return true also for digits
1647         (isWord, isKomma): remove
1648
1649         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1650         * lyxfind.C (MatchString()): use isLetter instead of isWord
1651
1652 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1653
1654         * pariterator.h (operatir=): comment out un-implemented member
1655         function.
1656
1657         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1658         static cast.
1659
1660 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1661
1662         * lyxfont.h: include LColor.h to satisfy concept checks.
1663
1664 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1665
1666         * pariterator.h: add typdefs for value_type, difference_type,
1667         pointer and reference to satisfy concept checks. Also add default
1668         constructor for same reason.
1669
1670         * pariterator.C (operator++): add post-increment operator to
1671         satisfy concept checks.
1672
1673         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1674         checks.
1675
1676         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1677
1678         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1679         checks. Also rename base_type to BaseType to follow naming
1680         standard better.
1681
1682         * FloatList.h: include Floating.h to satisfy concept checks.
1683
1684 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1685
1686         * lyxfunc.C (getStatus): when the origin of the request is menu or
1687         toolbar, and the LyXView does not have focus, do as if there was
1688         no buffer (bug 1720)
1689
1690         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1691         FuncRequest to individual entries of LFUN_SEQUENCE
1692
1693 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1694
1695         * output_latex.C (TeXOnePar): override runparams.moving_arg
1696         according to the needprotect value of the current paragraph (bug
1697         1739)
1698
1699         * paragraph.C (simpleTeXOnePar): no need to override
1700         runparams.moving_args here
1701
1702 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1703
1704         * vspace.C: fix off-by-one-error, related to fix #1682
1705
1706 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1707
1708         * lengthcommon.C: a more general fix for bug 1682
1709
1710 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1711
1712         * text.C (backspace): fix crash
1713
1714 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1715
1716         * format.[Ch] (getFormatFromFile): new method
1717         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1718
1719 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1720
1721         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1722
1723 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1724
1725         * lyxfunc.C (dispatch): remove the verbose argument
1726         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1727         instead
1728
1729         * kbmap.C (defkey): set the origin of func to KEYBOARD
1730
1731         * MenuBackend.C (MenuItem):
1732         * ToolbarBackend.C (add): set the origin of func to UI
1733
1734         * funcrequest.[Ch]: add origin member, which indicates which part
1735         of LyX requests an action
1736
1737 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1738
1739         * converter.C (move): don't lie in the error message
1740         * converter.h (isReachable, move): document
1741
1742 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1743
1744         * buffer.C: remove unused using lyx::support::atoi
1745         * paragraph_funcs.C: ditto
1746
1747 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1748
1749         * bufferlist.C (exists): use bind and equal_to instead of
1750         compare_memfun
1751         (getBuffer): ditto
1752         * lyxtextclasslist.C (NumberOfClass): ditto
1753
1754         * cursor.C (insert): use for_each instead of explicit for loop
1755
1756         * bufferlist.C (getFileNames): use std::transform and
1757         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1758
1759         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1760         for loop
1761
1762         * buffer.C (changeLanguage): use for_each instead of explicit for
1763         loop
1764         (hasParWithID): implement using getParFromID
1765
1766         * LaTeXFeatures.C: ws change only
1767
1768         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1769         to cleanup a bit.
1770
1771         * BufferView_pimpl.C (trackChanges): use for_each instead of
1772         expilicit for loop
1773
1774 2004-11-04  André Pönitz  <poenitz@gmx.net>
1775
1776         * undo.h:
1777         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1778
1779         * dociterator.C (asDocIterator): use hard assert again.
1780
1781 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1782
1783         * lyxlength.C (asLatexString): rewrite so that it does not use
1784         snprintf anymore
1785
1786 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1787
1788         * text3.C (specialChar, dispatch): make sure cursor moves to the
1789         right after inserting an inset
1790
1791 2004-11-02  José Matos  <jamatos@lyx.org>
1792
1793         * output_docbook.C (docbook):
1794         * paragraph.C (getID):
1795         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1796         garantee that the output is always legal.
1797
1798         * tabular.C (docbook):
1799         * outputprams.[Ch]: remove mixed contents.
1800
1801 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1802
1803         * text2.C (setCounter): prevent endless loop
1804
1805 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1806
1807         * exporter.C (copyFile): use the mover instead of support::copy()
1808         * exporter.C (Export): pass format and latex name to copyFile()
1809         * exporter.h (addExternalFile): document
1810         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1811
1812 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1813
1814         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1815
1816 2004-10-30  José Matos  <jamatos@lyx.org>
1817
1818         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1819         text and no inset or font change. This allows to use CDATA
1820         sections just for the whole paragraph.
1821
1822 2004-10-30  José Matos  <jamatos@lyx.org>
1823
1824         * paragraph.C (getFirstWord): remove unused variable.
1825
1826 2004-10-30  José Matos  <jamatos@lyx.org>
1827
1828         * paragraph.C (getFirstWord): the content should always be escaped
1829         there.
1830         (simpleDocBookOnePar):
1831         * output_docbook.C (makeEnvironment): replace reference to CDATA
1832         to style pass_thru.
1833
1834 2004-10-30  José Matos  <jamatos@lyx.org>
1835
1836         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1837
1838 2004-10-30  José Matos  <jamatos@lyx.org>
1839
1840         * output_docbook.C (makeParagraphs):
1841         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1842         standard paragraph has only a given type of content drop the wrapper.
1843
1844 2004-10-29  José Matos  <jamatos@lyx.org>
1845
1846         * output_docbook.C (makeEnvironment):
1847         * sgml.C (openTag):
1848         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1849
1850 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1851
1852         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1853         (cleanID): sanitize any id.
1854
1855 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1856
1857         * buffer.C, lyxlex_pimpl.C:
1858         * lyxlex_pimpl.C (setFile):
1859         s/getExtFromContents/getFormatFromContents/
1860
1861 2004-10-28  José Matos  <jamatos@lyx.org>
1862
1863         * output_docbook.C (makeEnvironment): move id to broadest possible
1864         scope.
1865
1866         * sgml.C (openTag): apply substitution of <> for all attributes.
1867
1868 2004-10-28  José Matos  <jamatos@lyx.org>
1869
1870         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1871         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1872         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1873
1874         * sgml.[Ch]: new version for open and closeTag for paragraph and
1875         for strings. Now they handle the ids of paragraphs.
1876
1877 2004-10-26  Angus Leeming  <leeming@lyx.org>
1878
1879         * Makefile.am: add mover.[Ch].
1880
1881         * converter.C (convert, move): use the new Movers to move external
1882         files to the temp directory.
1883
1884         * lyx_main.C (init): ensure that the global system_movers data
1885         is initialised.
1886
1887         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1888         preferences file.
1889
1890         * mover.[Ch]: new files, defining a Mover as a utility to move an
1891         external file between directories and, if necessary, manipulate this
1892         file using a helper script.
1893
1894 2004-10-25  José Matos  <jamatos@lyx.org>
1895
1896         * output_docbook.C (makeCommand): merge two if's that tested the
1897         same condition.
1898
1899 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1900
1901         * sgml.C (escapeString): fix warning in a better way
1902
1903 2004-10-25  José Matos  <jamatos@lyx.org>
1904
1905         * sgml.C (escapeString): import the require boosts header file for
1906         tie, and avoid a signed unsigned comparison.
1907
1908 2004-10-25  José Matos  <jamatos@lyx.org>
1909
1910         * sgml.h: add #include <string>
1911
1912 2004-10-25  José Matos  <jamatos@lyx.org>
1913
1914         * sgml.[Ch] (escapeString): new function to escape all the string.
1915
1916 2004-10-24  José Matos  <jamatos@lyx.org>
1917
1918         * paragraph.[Ch] (getFirstWord): new function to get the first
1919         word. Useful for description.
1920         (simpleDocBookOnePar): remove depth argument, add another that
1921         says where to start the paragraph.
1922
1923         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1924         use the new functions to fix cleanly the support for descriptions.
1925
1926 2004-10-24  José Matos  <jamatos@lyx.org>
1927
1928         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1929         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1930         * output_linuxdoc.C (linuxdocParagraphs):
1931         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1932         add buffer as argument.
1933
1934 2004-10-24  José Matos  <jamatos@lyx.org>
1935
1936         * output_docbook.C (makeEnvironment, searchEnvironment): place
1937         CDATA inside paragraphs and fix scope for listitems.
1938
1939 2004-10-24  José Matos  <jamatos@lyx.org>
1940
1941         * output_docbook.C: remove using statement for stack.
1942
1943 2004-10-23  José Matos  <jamatos@lyx.org>
1944
1945         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1946         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1947         docbook. The new scheme is recursive and makes use of iterators, the
1948         same as latex export works.
1949         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1950         directly with the paragraph contents. This code was moved up to
1951         output_docbook.C (docbookParagraphs).
1952         * sgml.C (openTag, closeTag): removed unneeded newlines.
1953         (closeEnvTags) removed.
1954
1955 2004-10-23  André Pönitz  <poenitz@gmx.net>
1956
1957         * undo.C (textUndoOrRedo):
1958         * dociterator.C (asDocIterator): work around crash
1959
1960         * cursor.C (getStatus): replace ASSERT by more verbose error message
1961           and manual correction of the problem. Should increase stability
1962           while providing more sensible information.
1963
1964 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1965
1966         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1967
1968         * bufferlist.C (previous, next): new methods
1969
1970         * lfuns.h:
1971         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1972
1973 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1974
1975         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1976         entities to preamble.
1977
1978 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1979
1980         * messages.C (Pimpl): strip off translation context information
1981
1982 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1983
1984         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1985         the cursor is correct (bug 1694)
1986
1987 2004-10-13  José Matos  <jamatos@lyx.org>
1988
1989         * output_docbook.C (docbookParagraphs): fix closing tags in the
1990         end of the document.
1991
1992 2004-10-09  José Matos  <jamatos@lyx.org>
1993
1994         * buffer.C: format up to 237.
1995         * bufferparams.C (write): use tostr to convert booleans to strings.
1996
1997 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1998
1999         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2000
2001 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2002
2003         * LaTeX.C: implement use of babel language in xindy.
2004
2005 2004-10-05  José Matos  <jamatos@lyx.org>
2006
2007         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2008         Add new translators to help reading and writing the lyx file.
2009
2010 2004-10-05  José Matos  <jamatos@lyx.org>
2011
2012         * ParagraphParameters.C (read):
2013         * text.C (readParToken): replace nexToken by more appropriate lex
2014         methods.
2015
2016 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2017
2018         * LaTeX.C (runMakeIndex):
2019         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2020         (usually 'makeindex') configurable.
2021
2022         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2023         with a variable rather than with a number.
2024
2025 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2026
2027         * output_latex.C (TeXOnePar): make sure font setting is the first
2028         thing that gets output (and the last at the end). Should fix bug
2029         1404.
2030
2031 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2032
2033         * pch.h: use proper signal include
2034
2035         * LaTeX.h: Use preferred calling of Boost.Signal
2036         * buffer.h: ditto
2037
2038 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2039
2040         * pch.h: dont include <boost/function/function0.hpp>
2041
2042         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2043
2044         * paragraph_pimpl.h: remove usage of ShareContainer
2045
2046         * paragraph_pimpl.C: remove initialization of ShareContainer.
2047
2048 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2049
2050         Fix bug #1666
2051
2052         * BufferView.C (putSelectionAt): change the semantics when
2053         backwards == true: now, this just swaps cursor and anchor wrt the
2054         forward case
2055
2056         * BufferView.h (putSelectionAt): add some documentation
2057
2058         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2059         make sure backwardChar is done at least once (to avoid getting
2060         stuck)
2061         (findNextChange): use putSelectionAt in the forward direction
2062         (operator()): use Paragraph::isWord
2063
2064 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2065
2066         * Spacing.C (set): c_str fix
2067
2068 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2069
2070         * lyx_cb.C (Reconfigure): quote the name of configure script in
2071         case it contains spaces
2072
2073 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2074
2075         * client: new dir
2076
2077         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2078         (BOOST_LIBS): use top_buildir when looking for the file
2079
2080 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2081
2082         * pch.h: do not use include boost/format.hpp, multiple symbols
2083                 will result (gcc bug)
2084
2085
2086 2004-08-23  José Matos  <jamatos@lyx.org>
2087
2088         * bufferparams.C (readToken): fix reading of the author field.
2089
2090 2004-08-20  José Matos  <jamatos@lyx.org>
2091
2092         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2093
2094 2004-08-20  José Matos  <jamatos@lyx.org>
2095
2096         * lyxlex.[Ch] (findToken): remove function.
2097
2098         * ParagraphParameters.C (findToken):
2099         * bufferparams.C (findToken): replace call for previous function
2100         with local copy. This local function has one more argument, the
2101         read string argument.
2102
2103 2004-08-16  José Matos  <jamatos@lyx.org>
2104
2105         * ParagraphParameters.C (write):
2106         * Spacing.C (writeFile):
2107         * bufferparams.C (writeLaTeX):
2108         * lyx_cb.C (Reconfigure):
2109         * paragraph.C (write):
2110         * tabular.C (write): remove unnecessary space at end of line.
2111
2112
2113 2004-08-16  José Matos  <jamatos@lyx.org>
2114
2115         * text.C (readParagraph): remove debug message.
2116
2117 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2118
2119         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2120         crash
2121
2122         * output_plaintext.C (asciiParagraph): set depth correctly
2123
2124         * outputparams.h: add member depth
2125
2126         * paragraph_funcs.C (ownerPar): remove.
2127
2128         * text2.C (setCounter): remove first_pit; comment out some
2129         non-working code that uses ownerPar
2130
2131         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2132         uses ownerPar
2133
2134 2004-08-16  José Matos  <jamatos@lyx.org>
2135
2136         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2137         For the same level of importance use the same chanel to report problems.
2138         (read): add code to deal with \begin_body and \end_body.
2139
2140
2141 2004-08-15  José Matos  <jamatos@lyx.org>
2142
2143         * lyxlex.C (getString): fix comment, buffer::readBody is now
2144         buffer:readDocument.
2145
2146         * tex-strings.C (string_papersize): Default -> default,
2147         Custom -> custom, for consistency with other options.
2148
2149 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2150
2151         * pch.h: new file
2152
2153         * Makefile.am: support pch
2154
2155 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2156
2157         * text.C (readParToken): remove the static LyXFont variable and
2158         pass it as a parameter instead. This fixes a nasty bug where an
2159         inset will be inserted with a bad font in some situations
2160         (readParagraph): adapt
2161
2162         * text2.C (setCounter): reduce number of calls to pars_[pit]
2163
2164         * text.C (singleWidth): add an assert, fix a test
2165
2166         * rowpainter.C (paintText): reduce number of calls to singleWidth
2167
2168         * paragraph.C (isHfill):
2169         (isNewline): ws only
2170
2171 2004-08-14  André Pönitz  <poenitz@gmx.net>
2172
2173         * text.C:
2174         * text2.C:
2175         * rowpainter.C:
2176         * lyxtext.h (several functions): use a Paragraph & argument
2177         instead of par_type
2178
2179 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2180
2181         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2182
2183         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2184
2185         * text.C (singleWidth): remove useless test
2186
2187 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2188
2189         * tabular.h: remove bogus comments
2190
2191         * tabular.C (getDescentOfRow):
2192         (isPartOfMultiColumn): add assertions
2193
2194         * lyxlength.C (inPixels): remove #warning
2195
2196 2004-08-14  André Pönitz  <poenitz@gmx.net>
2197
2198         * paragraph.h: inline getChar()
2199
2200         * BufferView.h: remove unused declarations
2201
2202 2004-08-14  José Matos  <jamatos@lyx.org>
2203
2204         * Buffer.[Ch] (readDocument): new name for old readBody.
2205         * Buffer.C: new file format, new keywords: \begin_document,
2206         \begin_header, \begin_body, \end_body.
2207
2208         * bufferparams.C (readToken): replace all calls to lex.nextToken
2209         by lex.next(). Do the same to eatLine except where really needed.
2210
2211         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2212         line when writing to the lyx file.
2213
2214         * output_plaintext.C (asciiParagraph): fix Bibliography style
2215         handling.
2216
2217         * text.C (read): fix end of file handling.
2218
2219 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2220
2221         * MenuBackend.C (Menu::operator[]): new method to access
2222         individual menu items
2223         (Menu::hasFunc): new method. search for an item that corresponds
2224         to a given func
2225         (MenuBackend::specialMenu): new method
2226         (MenuBackend::expand): if a special menu has been set, skip
2227         entries whose func() appears in this menu
2228
2229 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2230
2231         * text3.C: use Debug::DEBUG a bit more
2232
2233         * text.C (leftMargin): try to simplify a tiny bit change var x to
2234         l_margin. Dont output the wide margins always.
2235         (rightMargin): no margin in inner texts
2236
2237         * rowpainter.h (nestMargin): new func
2238         (changebarMargin): new func
2239         (rightMargin): new func
2240
2241         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2242         now functions.
2243         (paintLast): ditto
2244
2245         * factory.C (createInset): modify setDrawFrame
2246
2247         * cursor.C: use Debug::DEBUG a bit more
2248
2249 2004-08-14  André Pönitz  <poenitz@gmx.net>
2250
2251         * coordcache.[Ch]:
2252         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2253         cache for all insets in (at least partially) visible (top-level)
2254         paragraphs.
2255
2256         * BufferView_pimpl.C: reset external coord cache before every update.
2257         This means the coord cache only contains valid entries.
2258
2259 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2260
2261         bug 1096
2262         * BufferView_pimpl.C (getInsetByCode): move function out of class
2263         and change in to a template in anon namespace. Also fix to do what
2264         suits us better.
2265
2266 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2267
2268         bug 1305
2269         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2270         of char
2271         (breakParagraph): rename par to par_offset and use a local
2272         reference. Add code to keep the language over a rebreak.
2273         (breakParagraphConservative): rename par to par_offset, use a
2274         local reference
2275         (mergeParagraph): ditto
2276         (outerHook): ditto
2277         (isFirstInSequence): ditto
2278         (outerFont): rename pit to par_offset
2279
2280         * paragraph.C: ws change
2281         * paragraph.h: ditto
2282         * text3.C: ditto
2283         * text.C: ditto
2284
2285 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2286
2287         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2288         treatment for ']'
2289
2290         * paragraph.C (simpleTeXOnePar): when we have a \item with
2291         optional argument, enclose the argument with curly brackets (in
2292         case it contains a closing square bracket)
2293
2294         * text2.C (editXY):
2295         * text2.C (editXY):
2296         * text3.C (checkInsetHit): constify
2297
2298 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2299
2300         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2301         documents (bug 1629)
2302
2303 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2304
2305         Fix toggling of collapsable insets with the mouse (bug 1558)
2306
2307         * lyxfunc.C (dispatch): adapt to LCursor changes
2308
2309         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2310         make sure that dispatch is not invoked twice
2311
2312         * cursor.C (needsUpdate): new method
2313         (dispatch): return void
2314         (result): new method, to access the DispatchResult of the cursor.
2315
2316 2004-08-13  José Matos  <jamatos@lyx.org>
2317
2318         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2319
2320 2004-08-13  André Pönitz  <poenitz@gmx.net>
2321
2322         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2323
2324         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2325           multiple cells
2326
2327 2004-08-12  André Pönitz  <poenitz@gmx.net>
2328
2329         * text3.C: take out the 'cursor right' form insertInset and only
2330         do it in those places when it is really needed. Fixes crash on
2331         C-m...
2332
2333 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2334
2335         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2336
2337         * BufferView_pimpl.C (setBuffer): initialize the current font of
2338         the underlying LyXText
2339
2340 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2341
2342         * kbsequence.C (print): use UI native formatting for menu
2343         shortcuts
2344
2345         * text.C (insertChar): call Paragraph::insertChar with a font
2346         argument (cosmetic)
2347
2348         * paragraph.C (insertInset, insertChar): the version that takes a
2349         LyXFont argument is now a wrapper around the other one (the
2350         opposite used to be true).
2351
2352         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2353         argument. Font setting is done in Paragraph now.
2354
2355 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2356
2357         * outputparams.h: add new members intitle and lang.
2358
2359         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2360         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2361
2362 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2363
2364         * text3.C (dispatch): remove special handling of button 4 and 5,
2365         it is now taken care of in the frontend code.
2366
2367 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2368
2369         * Spacing.h: add <string> (STLPort compile fix)
2370
2371 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2372
2373         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2374
2375 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2376
2377         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2378         to bool.
2379
2380         * converter.C (showMessage): inherit from unary_function, make
2381         operator() const.
2382
2383         * buffer.C (writeFile): initialize retval
2384
2385         * InsetList.h: rename private variable list to list_
2386         * InsetList.[Ch]: adjust accordingly.
2387
2388 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2389
2390         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2391         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2392         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2393         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2394         * ParagraphParameters.C, LaTeXFeatures.C: replace
2395         "support/std_sstream.h" with <sstream>
2396
2397 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2398
2399         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2400         * lyxsocket.C (LyXServerSocket): ditto
2401         (serverCallback): ditto
2402
2403 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2404
2405         * LaTeXFeatures.C: check release date when loading jurabib.
2406
2407 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2408
2409         * lyxserver.C (startPipe): call register_socket_callback
2410         (endPipe): call unregister_socket_callback
2411
2412 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2413
2414         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2415         (LyXServerSocket): register the callback
2416         (LyXServerSocket): unregister the callback
2417         (fd): delete function
2418         (serverCallback): improve error checking and setup the callbacks.
2419         (dataCallback): change arg to fd.
2420         (writeln): new func (copied fro the client socket) used for server
2421         write to client.
2422         (LyXDataSocket): simplify
2423         (~LyXDataSocket): close ann unregiser callback
2424         (server): delete function
2425         (fd): delete function
2426         (readln): small changes, improve some std::string usage
2427         (writeln): constify a bit
2428
2429 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2430
2431         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2432         Qt frontend
2433
2434 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2435
2436         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2437         after it has been populated
2438
2439 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2440
2441         * text2.C (insertInset): move cursor when inserting inset.
2442
2443 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2444
2445         * kbmap.C (findbindings): a couple of new methods. returns a
2446         container of kb_sequence objects. The real work is done by the
2447         private recursive version
2448         (printbindings): uses findbindings to print out a bracketed list
2449         of bindings (renamed from findbinding).
2450
2451         * MenuBackend.C (binding): use kb_keymap::findbindings
2452
2453         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2454
2455 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2456
2457         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2458
2459 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2460
2461         * paragraph.C (isWord): return true on insets that report
2462         isLetter().
2463
2464         * text.C (getWord): use Paragraph::isWord to decide what is in a
2465         word and what is not; fix bug 1609.
2466
2467 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2468
2469         * tex-strings.C: add "none" to string_paperpackages[], fixes
2470         off-by-one-error in the paperpackage selection.
2471
2472         * lyxlex.[Ch]:
2473         * tex-strings.[Ch]: char const * string[n]
2474         -> char const * const string[]
2475
2476 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2477
2478         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2479         command, return early.
2480
2481 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2482
2483         * debug.h: add DEBUG to enum and fix size of ANY.
2484
2485         * debug.C: add support for Debug::DEBUG
2486         (showTags): cast errorTags.level to unsigned int
2487
2488         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2489         (redoCurrentBuffer): ditto
2490         (updateScrollbar): ditto
2491         * cursor.C (dispatch): ditto
2492         * text2.C (setLayout): ditto
2493         (setFont): ditto
2494         (updateCounters): ditto
2495         (editXY): ditto
2496         (deleteEmptyParagraphMechanism): ditto
2497
2498 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2499
2500         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2501         annotations to cleanup the Makefile slightly.
2502
2503 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2504
2505         * lyxrc.C: do not set user_email to a default value but use empty
2506         instead. The entry used to be translated, which does not work
2507         since at the point where lyxrc is constructed there is no
2508         translation service available
2509
2510         * messages.C (getLocaleDir): remove and use directly
2511         lyx_localedir() instead
2512
2513 2004-06-02  Angus Leeming  <leeming@lyx.org>
2514
2515         Fix crash caused by dereferencing null pointer 'exportdata' in
2516         OutputParams by creating a new ExportData variable on the heap,
2517         storing it in a boost::shared_ptr.
2518         The crash was triggered when generating an Instant Preview
2519         of an external inset.
2520
2521         * Makefile.am: add outputparams.C
2522
2523         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2524         (c-tor): allocate memory to it.
2525
2526         * exporter.C (c-tor): associated changes.
2527
2528 2004-06-01  Angus Leeming  <leeming@lyx.org>
2529
2530         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2531         contains data before calling isInset(0). (Bug 1513.)
2532
2533 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2534
2535         * exporter.C (checkOverwrite): new method
2536         * exporter.C (copyFile): new method
2537         * exporter.C (Export): copy referenced files to the document dir
2538         * exporter.[Ch]: new class ExportedFile
2539         * exporter.[Ch]: new class ExportData. Contains currently the
2540         names of referenced external files
2541         * outputparams.h: add exportdata member.
2542
2543 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2544
2545         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2546         version.C-tmp
2547
2548 2004-05-19  Angus Leeming  <leeming@lyx.org>
2549
2550         * LaTeXFeatures.C:
2551         * ToolbarBackend.C:
2552         * bufferparams.C:
2553         * lyxfunc.C: small changes due to the introduction of namespace
2554         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2555
2556 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2557
2558         * text3.C (dispatch): supress update when only moving the cursor
2559         * cursor.C (selHandle): remove commented code
2560
2561 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2562
2563         * paragraph.C (startTeXParParams): correct column count
2564         * CutAndPaste.C (pasteSelection): remove const_cast
2565         * output_docbook.C (docbookParagraphs): remove const_cast
2566         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2567         const_cast and return ParagraphList::const_iterator
2568         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2569         * output_plaintext.C (writeFileAscii): remove const_cast
2570         * paragraph.[Ch] (simpleTeXOnePar): make const
2571         * paragraph_funcs.C (outerPar): use const iterators
2572         * paragraph_pimpl.C (validate): use const iterators
2573         * text.C (setHeightOfRow): use const iterators
2574
2575 2004-05-17  Angus Leeming  <leeming@lyx.org>
2576
2577         * lfuns.h:
2578         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2579
2580         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2581         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2582         if the citation engine has changed.
2583
2584 2004-05-14  José Matos  <jamatos@lyx.org>
2585
2586         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2587         if the textclass does not provide it. Have it different for sgml and
2588         xml.
2589         support the language of document.
2590         * output_docbook.C (docbookParagraphs):
2591         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2592         first anchor as the id of the paragraph, remove special case code.
2593         * sgml.C (escapeChar): escape only < & >.
2594
2595 2004-05-14  Angus Leeming  <leeming@lyx.org>
2596
2597         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2598         dependencies on src/frontends/controllers/biblio.h. Define a
2599         CiteEngine_enum wrapper class to enable the enum to be forward
2600         declared.
2601
2602 2004-05-12  Angus Leeming  <leeming@lyx.org>
2603
2604         * buffer.C: up LYX_FORMAT to 234.
2605         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2606         use_numerical_citations with a single biblio::CiteEngine cite_engine
2607         variable.
2608         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2609
2610 2004-05-13  José Matos  <jamatos@lyx.org>
2611
2612         * converter.h:
2613         * converter.C (Converter, readFlags): add xml member.
2614         * outputparams.h: add XML flavor.
2615         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2616
2617 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2618
2619         * lyxfunc.C (dispatch):
2620         (getStatus): fix handling of LFUN_SEQUENCE
2621
2622 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2623
2624         * debug.C (showLevel): do not forget the end-of-line marker
2625
2626 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2627
2628         * kbmap.C (read): do not stop parsing a bind file when an error
2629         occurs (bug 1575)
2630
2631 2004-04-29  Angus Leeming  <leeming@lyx.org>
2632
2633         * cursor.C:
2634         * factory.C:
2635         * pariterator.C:
2636         * text2.C: wrap a bunch of #warning statements
2637         inside #ifdef WITH_WARNINGS blocks.
2638
2639 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2640
2641         * buffer.C: increment format to 233.
2642
2643 2004-04-28  Angus Leeming  <leeming@lyx.org>
2644
2645         * BufferView_pimpl.C:
2646         * lyxfunc.C:
2647         * text3.C:
2648         s/updateToolbar()/updateToolbars()/
2649         s/Toolbar.h/Toolbars.h/
2650
2651 2004-04-28  Angus Leeming  <leeming@lyx.org>
2652
2653         * BufferView.[Ch] (c-tor):
2654         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2655         No longer passes these data to the WorkArea generator.
2656
2657 2004-04-28  Angus Leeming  <leeming@lyx.org>
2658
2659         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2660
2661 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2662
2663         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2664
2665 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2666
2667         * output_latex.C (TeXEnvironment): make sure that there is a line
2668         break before \end{foo} for the last paragraph of a document
2669         (TeXOnePar): if the paragraph is at the end of the document (or
2670         inset) and the language has to be reset, then make sure that the
2671         line break is _before_ the language command, not after (fixes bug
2672         1225); also make sure that the language reset command is the first
2673         thing after the paragraph (to ensure proper nesting of
2674         environments and thus fix bug 1404)
2675
2676 2004-04-21  John Levon  <levon@movementarian.org>
2677
2678         * ToolbarBackend.h:
2679         * ToolbarBackend.C: make "name" be a programmatic name
2680         and a gui_name field.
2681
2682         * lyxfunc.C: display the minibuffer on M-x
2683
2684 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2685
2686         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2687         (bug 1526)
2688
2689 2004-04-19  Angus Leeming  <leeming@lyx.org>
2690
2691         * BufferView_pimpl.C (setBuffer): changed preview interface.
2692
2693         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2694         possible values.
2695
2696 2004-04-19  John Levon  <levon@movementarian.org>
2697
2698         * BufferView_pimpl.C:
2699         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2700
2701 2004-04-05  Angus Leeming  <leeming@lyx.org>
2702
2703         * text.C (redoParagraphs): add call to updateCounters(), thereby
2704         fixing the missing "Figure #:" label from the caption of a
2705         figure float.
2706
2707 2004-04-13  Angus Leeming  <leeming@lyx.org>
2708
2709         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2710         cursor is clicked out of an inset.
2711
2712 2004-04-13  Angus Leeming  <leeming@lyx.org>
2713
2714         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2715         than an InsetOld one.
2716
2717 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2718
2719         * format.[Ch]: add editor to Format
2720         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2721         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2722
2723 2004-04-08  André Pönitz  <poenitz@gmx.net>
2724
2725         * metricsinfo.h: remove PainterInfo::width member
2726
2727 2004-04-08  Angus Leeming  <leeming@lyx.org>
2728
2729         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2730         "\providecommand" rather than "\newcommand", thereby preventing
2731         clashes with packages that define "\boldsymbol" themselves.
2732         Eg, beamer.
2733
2734 2004-04-08  Angus Leeming  <leeming@lyx.org>
2735
2736         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2737         thereby squashing an unnecessary warning.
2738
2739 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2740
2741         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2742         setBuffer()
2743
2744 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2745
2746         * BufferView.C (setCursor): call redoParagraph (some insets could
2747         have been opened)
2748         (putSelectionAt): remove the 'double update' trick
2749
2750         * BufferView_pimpl.C (fitCursor): call refreshPar
2751         (workAreaDispatch): remove an uneeded update call
2752         (dispatch): remove some manual update calls
2753
2754         * cursor.[Ch]: remove cached_y_, updatePos
2755         (selHandle): set noUpdate when appropriate
2756
2757         * lyxfunc.C (dispatch): track if we need an update
2758
2759         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2760
2761         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2762         (paintSelection): cheap optimization, do not call cursorX when not
2763         needed
2764         (paintPars): change signature
2765         (refreshPar): add
2766         (paintText): adjust
2767         (paintTextInset): adjust
2768
2769         * text.C: adjust
2770
2771 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2772
2773         * lengthcommon.C: compilation fix: remove explicit array size from
2774         unit_name[] and friends
2775
2776 2004-04-05  Angus Leeming  <leeming@lyx.org>
2777
2778         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2779
2780         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2781         present only for the preferences dialog.
2782         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2783
2784 2004-04-05  Angus Leeming  <leeming@lyx.org>
2785
2786         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2787         to enable the frontends to export changes to lyxrc correctly.
2788
2789         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2790
2791 2004-04-07  André Pönitz  <poenitz@gmx.net>
2792
2793         * cursor.[Ch] (selClear, adjust): remove math
2794
2795         * cursor_slice.C: more agressive assert
2796
2797         * lyxfunc.C:
2798         * BufferView_pimpl.C: rework mouse event dispatch
2799
2800         * dociterator.C:
2801         * paragraph.C:
2802         * text2.C:
2803         * text3.C: adjust
2804
2805 2004-04-05  André Pönitz  <poenitz@gmx.net>
2806
2807         * cursor.[Ch] (valign, halign...): remove unneeded functions
2808
2809 2004-04-05  Angus Leeming  <leeming@lyx.org>
2810
2811         * lyxlength.[Ch] (unit_name et al.): const-correct.
2812
2813 2004-04-05  Angus Leeming  <leeming@lyx.org>
2814
2815         * BufferView_pimpl.C:
2816         * buffer.C:
2817         * counters.C:
2818         * cursor.C:
2819         * lyxfunc.C
2820         * paragraph.C:
2821         * pariterator.C:
2822         * text.C:
2823         * text2.C:
2824         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2825
2826 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2827
2828         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2829
2830 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2831
2832         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2833         * BufferView_pimpl.[Ch] (getStatus)
2834         * BufferView.[Ch] (getStatus): add
2835         * lyxfunc.C (getStatus): move lfuns handled in
2836         BufferView::dispatch to te function above
2837         * Cursor.C (setSelection): set selection() = true
2838
2839 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2840
2841         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2842
2843 2004-03-31  Angus Leeming  <leeming@lyx.org>
2844
2845         * lyxfunc.C (dispatch): Fall through to the generic
2846         Dialogs::show("preamble").
2847
2848 2004-03-31  Angus Leeming  <leeming@lyx.org>
2849
2850         * lyxfunc.C (dispatch): Fall through to the generic
2851         Dialogs::show("spellchecker").
2852
2853 2004-03-31  Angus Leeming  <leeming@lyx.org>
2854
2855         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2856         preferences dialog.
2857
2858 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2859
2860         * BufferView.C
2861         * cursor.[Ch]
2862         * dociterator.[Ch]:
2863         * insetiterator.[Ch]:
2864         * lyxfind.C:
2865         * lyxfunc.C:
2866         * pariterator.[Ch]:
2867         * text2.C:
2868         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2869
2870 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2871
2872         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2873         insets where we are putting the cursor.
2874
2875 2004-03-31  Angus Leeming  <leeming@lyx.org>
2876
2877         * lfuns.h:
2878         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2879
2880         * lyxrc.[Ch] (read, write): overloaded member functions taking
2881         a std::[io]stream arguments.
2882
2883         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2884
2885 2004-03-31  Angus Leeming  <leeming@lyx.org>
2886
2887         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2888         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2889
2890         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2891         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2892
2893 2004-03-31  Angus Leeming  <leeming@lyx.org>
2894
2895         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2896         the LFUN_ALL_INSETS_TOGGLE code.
2897
2898 2004-03-30  Angus Leeming  <leeming@lyx.org>
2899
2900         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2901         has died. Fall through to the generic Dialogs::show("document").
2902
2903 2004-03-30  Angus Leeming  <leeming@lyx.org>
2904
2905         * lfuns.h:
2906         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2907         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2908
2909         * lyxfunc.C (getStatus, dispatch): define the actions for these
2910         lfuns. Little more than a cut and pste job from ControlDocument.C
2911
2912         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2913
2914 2004-03-30  Angus Leeming  <leeming@lyx.org>
2915
2916         * lfuns.h:
2917         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2918         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2919
2920         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2921         open/closed state of ollapsable insets. Usage:
2922
2923         all-inset-toggle <state> <name>, where
2924         <state> == "open" || "closed" || "toggle" and
2925         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2926
2927         * lyxtext.h, text2.C (toggleInset): removed.
2928
2929         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2930         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2931         now passes LFUN_INSET_TOGGLE to the found inset.
2932
2933         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2934         is now invoked as "all-insets-toggle toggle branch".
2935
2936 2004-03-30  Angus Leeming  <leeming@lyx.org>
2937
2938         * dociterator.C:
2939         * insetiterator.C:
2940         * pariterator.[Ch]: added/corrected header blurb.
2941
2942 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2943
2944         * dociterator.[Ch]: add an inset_ member
2945         (backwardPos): implemented
2946         (backwardPos, forwardPos): use inset_ when the stack is empty.
2947         (doc_iterator_begin, doc_iterator_end): implemented
2948         * pariterator.[Ch]: adjust, add begin, end
2949         * insetiterator.[Ch]: adjust, add begin, end
2950         * cursor.C:
2951         * document.C:
2952         * BufferView.C:
2953         * BufferView_pimpl.C:
2954         * CutAndPaste.C: adjust
2955
2956 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2957
2958         * buffer.C: increment file format to 232.
2959         * LaTeXFeatures.C: add bibtopic package.
2960         * bufferparams.[Ch]: param \use_bibtopic.
2961
2962         * lyxrc.[Ch]: add lyxrc bibtex_command
2963         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2964
2965         * buffer.C: increment file format to 231.
2966
2967 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2968
2969         * dociterator.C: implement forwardPar
2970         * iterators.[Ch]: remove, replaced by
2971         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2972         * BufferView.C:
2973         * BufferView_pimpl.C:
2974         * CutAndPaste.C:
2975         * buffer.C:
2976         * bufferview_funcs.C:
2977         * cursor.C:
2978         * lyxfind.C
2979         * lyxfunc.C
2980         * paragraph_funcs.C
2981         * toc.C:
2982         * Makefile.am: adjust
2983
2984 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2985
2986         * CutAndPaste.C (pasteSelection): fix 2 crashes
2987         (eraseSelection): fix a crash
2988         * paragraph_funcs.C: remove a warning
2989
2990 2004-03-28  Angus Leeming  <leeming@lyx.org>
2991
2992         * lfuns.h:
2993         * LyXAction.C (init): new LFUN_PRINT.
2994
2995         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2996
2997 2004-03-27  Angus Leeming  <leeming@lyx.org>
2998
2999         * lfuns.h:
3000         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3001
3002         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3003
3004 2004-03-27  Angus Leeming  <leeming@lyx.org>
3005
3006         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3007         insetlist always contains non-null pointers to insets.
3008
3009 2004-03-26  Angus Leeming  <leeming@lyx.org>
3010
3011         * src/BufferView_pimpl.C:
3012         * src/CutAndPaste.C:
3013         * src/buffer.C:
3014         * src/iterators.C:
3015         * src/output_plaintext.C:
3016         * src/outputparams.h:
3017         * src/paragraph_funcs.C:
3018         * src/rowpainter.C:
3019         * src/text.C:
3020         * src/text2.C:
3021         * src/frontends/controllers/ControlErrorList.C:
3022         * src/frontends/gtk/FileDialogPrivate.C:
3023         * src/frontends/gtk/GPainter.C:
3024         * src/frontends/gtk/GToolbar.C:
3025         * src/frontends/qt2/QRef.C:
3026         * src/mathed/math_scriptinset.C: squash compiler warnings.
3027
3028 2004-03-26  Angus Leeming  <leeming@lyx.org>
3029
3030         * ispell.C (LaunchIspell::start):
3031         * lyx_cb.C (AutoSaveBuffer::start):
3032         invoke run(DontWait) rather than runNonBlocking().
3033
3034 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3035
3036         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3037
3038 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3039
3040         * kbsequence.C (print): adjust
3041
3042         * kbmap.C (printKeySym): rename and change signature
3043         (printKey): use LyXKeySym::print()
3044
3045 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3046
3047         * undo.C: add using std::advance to compile for stlport
3048
3049 2004-03-24  Angus Leeming  <leeming@lyx.org>
3050
3051         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3052         it leads to a crash when no buffer is present.
3053
3054 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3055             Martin Vermeer  <martin.vermeer@hut.fi>
3056
3057         * lyxfunc.C (dispatch):
3058         * bufferparams.C (readToken): use the new LColor::setColor
3059
3060         * LColor.[Ch] (setColor): new version that takes two strings as
3061         argument and creates a new color entry if necessary
3062
3063 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3064
3065         * buffer.C (makeLaTeXFile): if the main latex file that is
3066         processed is usually a subdocument of some master, then pretend
3067         for a while that it is actually the master
3068
3069 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3070
3071         * buffer.C (getLabelList):
3072         (getBibkeyList): use getMasterBuffer()
3073         (getMasterBuffer): new method. Returns the main document in the
3074         case where one is using included documents.
3075
3076 2004-03-25  André Pönitz  <poenitz@gmx.net>
3077
3078         * Makefile.am:
3079         * iterators.[Ch]:
3080         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3081
3082         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3083
3084         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3085         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3086
3087         * ParameterStruct.h: merge with ParagraphParameters
3088
3089         * lyxtext.h: remove LyXText::parOffset() and getPar()
3090
3091         * text3.C: Remove all 'manual' update calls. We do now one per user
3092         interaction which is completely sufficient.
3093
3094         * Bidi.C:
3095         * BufferView.[Ch]:
3096         * BufferView_pimpl.C:
3097         * FontIterator.[Ch]:
3098         * MenuBackend.C:
3099         * ParagraphParameters.[Ch]:
3100         * buffer.C:
3101         * buffer.h:
3102         * bufferlist.C:
3103         * cursor.[Ch]:
3104         * cursor_slice.[Ch]:
3105         * dociterator.[Ch]:
3106         * errorlist.[Ch]:
3107         * factory.C:
3108         * lfuns.h:
3109         * lyxfind.C:
3110         * lyxfunc.C:
3111         * output_docbook.[Ch]:
3112         * output_latex.[Ch]:
3113         * output_linuxdoc.[Ch]:
3114         * output_plaintext.[Ch]:
3115         * paragraph.[Ch]:
3116         * paragraph_funcs.[Ch]:
3117         * paragraph_pimpl.[Ch]:
3118         * rowpainter.C:
3119         * tabular.[Ch]:
3120         * text.C:
3121         * text2.C:
3122         * toc.C:
3123         * undo.[Ch]: adjust
3124
3125         * frontends/controllers/ControlDocument.C:
3126         * frontends/controllers/ControlErrorList.C:
3127         * frontends/controllers/ControlSpellchecker.C:
3128         * insets/inset.C:
3129         * insets/inset.h:
3130         * insets/insetbase.h:
3131         * insets/insetbibitem.C:
3132         * insets/insetbox.C:
3133         * insets/insetbranch.C:
3134         * insets/insetcaption.C:
3135         * insets/insetcharstyle.C:
3136         * insets/insetcharstyle.h:
3137         * insets/insetcollapsable.C:
3138         * insets/insetcollapsable.h:
3139         * insets/insetert.C:
3140         * insets/insetfloat.C:
3141         * insets/insetfoot.C:
3142         * insets/insetmarginal.C:
3143         * insets/insetnote.C:
3144         * insets/insetoptarg.C:
3145         * insets/insettabular.C:
3146         * insets/insettext.C:
3147         * insets/insettext.h:
3148         * insets/insetwrap.C:
3149         * mathed/math_mboxinset.C:
3150         * mathed/math_nestinset.C:
3151         * mathed/math_scriptinset.C:
3152         * mathed/math_scriptinset.h:
3153         * support/types.h:
3154
3155 2004-03-24  Angus Leeming  <leeming@lyx.org>
3156
3157         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3158         deal with any child processes that have finished but are waiting to
3159         communicate this fact to the rest of LyX.
3160
3161 2004-03-24  Angus Leeming  <leeming@lyx.org>
3162
3163         64-bit compile fixes.
3164
3165         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3166         (c-tor): pass lyx::pos_types rather than ints.
3167
3168         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3169         lyx::pos_type.
3170
3171         * text.C (Delete): compile fix.
3172         (getPar): ensure that function declaration is the same as that in
3173         the header file.
3174
3175 2004-03-23  Angus Leeming  <leeming@lyx.org>
3176
3177         * ispell.C (LaunchIspell):
3178         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3179         a boost::shred_ptr rather than a std::auto_ptr.
3180
3181 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3182
3183         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3184         handle LFUN_FILE_INSERT_*
3185
3186         * lyxrc.C (setDefaults, getDescription, output, read):
3187         * lyxrc.h: remove ps_command
3188
3189 2004-03-22  Angus Leeming  <leeming@lyx.org>
3190
3191         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3192         Ensure that error_handler is processed once only and that all data
3193         is saved before attempting to output any warning messages.
3194
3195         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3196
3197 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3198
3199         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3200
3201 2004-03-19  André Pönitz  <poenitz@gmx.net>
3202
3203         * cursor.[Ch] (reset): take main text inset as argument
3204
3205         * BufferView: adjust
3206         * BufferView_pimpl.C: adjust
3207
3208         * paragraph.[Ch]: fix completely broken operator=()
3209
3210 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3211
3212         * LColor.C (getFromLyXName): make sure that the color name is used
3213         as lowercase.
3214
3215 2004-03-17  Angus Leeming  <leeming@lyx.org>
3216
3217         * lfuns.h:
3218         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3219
3220         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3221         dialog and to kill a forked process.
3222
3223 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3224
3225         * text2.C (setCursorFromCoordinates): fix font problem
3226
3227 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3228
3229         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3230         bogus "rebuild cursor" code
3231
3232 2004-03-11  André Pönitz  <poenitz@gmx.net>
3233
3234         * buffer.[Ch]: use InsetText instead of LyXText as container for
3235         the main lyx text.
3236
3237         * dociterator.[Ch]: drop the BufferView * member which is not needed
3238         anymore after the change to buffer.C
3239
3240         * paragraph_funcs.C:
3241         * text.C:
3242         * text2.C:
3243         * BufferView.[Ch]:
3244         * BufferView_pimpl.[Ch]:
3245         * cursor.[Ch]:
3246         * cursor_slice.[Ch]: adjust
3247
3248         * text3.C: fix bug in mathDispatch
3249
3250 2004-03-08  André Pönitz  <poenitz@gmx.net>
3251
3252         * undo.[Ch]: use 'StableDocumentIterator' as base for
3253         the Undo struct.
3254
3255 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3256
3257         * LaTeXFeatures.C:
3258         * bufferparams.[Ch]: add jurabib support and param.
3259
3260         * LaTeX.C: add FIXME/comment.
3261
3262 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3263
3264         * buffer.C: increment file format to 230.
3265
3266 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3267
3268         * cursor.C (dispatch): avoid infinite loops
3269
3270 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3271
3272         * rowpainter.C (paintSelection): fix x coordinates
3273
3274 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3275
3276         * text.C (rowBreakPoint): fix breaking before displayed insets
3277
3278 2004-03-01  André Pönitz  <poenitz@gmx.net>
3279
3280         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3281
3282         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3283
3284         * Makefile.am:
3285         * BufferView.C:
3286         * BufferView_pimpl.C:
3287         * buffer.C:
3288         * lyxfind.C:
3289         * lyxfunc.C:
3290         * text.C:
3291         * text2.C:
3292         * text3.C: adjust
3293
3294 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3295
3296         * lyxtext.h:
3297         * text.C:
3298         * text2.C:
3299         * rowpainter.C:
3300         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3301         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3302
3303 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3304
3305         * Bidi.[Ch] (computeTables): const correctness
3306         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3307         fill_hfill, fill_label_hfill and x from Row
3308         * lyxtext.h: prepareToPrint returns a RowMetrics
3309         * rowPainter.C: adjust
3310         * text.C (prepareToPrint): use width, not textWidth. adjust
3311         (redoParagraphInternal, cursorX): adjust
3312         * text2.C (getColumnNearX): adjust
3313         (init): put a default value to the top LyXText::width
3314
3315 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3316
3317         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3318
3319 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3320
3321         * lyxtext.h: add FontIterator class
3322
3323         * text.C (FontIterator, operator*, operator->, operator++): add
3324         (rowBreakPoint, setRowWidth): adjust (fixing a
3325         rebreaking bug)
3326
3327 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3328
3329         * BufferView_pimpl.C (workAreaDispatch): allow also
3330         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3331
3332 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3333
3334         * text.C (rowBreakPoint): fix a bug showing with very large insets
3335
3336 2004-02-25  André Pönitz  <poenitz@gmx.net>
3337
3338         * text3.C:
3339         * cursor.[Ch]: move some mathed specific code to mathed
3340
3341 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3342
3343         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3344         use_tempdir in preferences
3345         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3346         tempfile creation
3347         * lyx_main.C: ensure that tempdir is valid
3348         * lyxlex.h: correct typo
3349         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3350         * paragraph.[Ch] (isMultiLingual): make const
3351         * cursor.[Ch] (openable): make const
3352
3353 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3354
3355         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3356
3357 2004-02-20  André Pönitz  <poenitz@gmx.net>
3358
3359         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3360
3361         * cursor.[Ch]: prepare for localized getStatus()
3362
3363         * lyxtext.h:
3364         * tabular.C:
3365         * text.C:
3366         * text2.C:
3367         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3368
3369 2004-02-20  André Pönitz  <poenitz@gmx.net>
3370
3371         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3372
3373 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3374
3375         * text2.C (setCursorFromCoordinates): switch to absolute coords
3376         (cursorUp): adjust
3377         (cursorDown): adjust
3378         * text3.C (dispatch): adjust
3379
3380 2004-02-16  André Pönitz  <poenitz@gmx.net>
3381
3382         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3383           insets/ChangeLog)
3384
3385         * cursor_slice.[Ch]: remove unneeded acessor function
3386
3387         * lyxtext.h: rename rtl() to isRTL()
3388
3389         * rowpainter.C:
3390         * tabular.C:
3391         * text.C:
3392         * text2.C:
3393         * text3.C: adjust
3394
3395 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3396
3397         * rowpainter.C (paintSelection): coord fix
3398
3399 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3400
3401         * Spacing.C: compile fix
3402
3403 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3404
3405         * cursor.C (dispatch): restore current_ before returning
3406
3407 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3408
3409         * text2.C (cursorUp, cursorDown): fix coords
3410         (moveUp): fix crash
3411
3412 2004-02-12  André Pönitz  <poenitz@gmx.net>
3413
3414         * lyxtext.h:
3415         * text.C:
3416         * text2.C:
3417         * text3.C: add LCursor & parameter to most cursor movement functions
3418           remove usage of LyXText::cursorRow() and cursorPar()
3419
3420         * cursor.[Ch]: add textRow() needed members
3421
3422         * BufferView.C:
3423         * BufferView_pimpl.C:
3424         * paragraph.[Ch]:
3425         * BufferView.C:
3426         * BufferView_pimpl.C: adjust
3427
3428 2004-02-11  André Pönitz  <poenitz@gmx.net>
3429
3430         * lyxfunc.C:
3431         * BufferView.[Ch]:
3432         * BufferView_pimpl.C: shift undo/redo handling
3433
3434         * cursor.[Ch]: fix mathed crash
3435
3436         * lyxfind.C:
3437         * lyxtext.h: move selectionAsText to LCursor
3438
3439         * output_latex.C:
3440         * paragraph.C:
3441         * text.C:
3442         * text2.C:
3443         * text3.C: adjust
3444
3445         * rowpainter.C: fix excessive drawing
3446
3447 2004-02-06  André Pönitz  <poenitz@gmx.net>
3448
3449         * BufferView.[Ch]:
3450         * BufferView_pimpl.[Ch]:
3451         * text3.C: move some text specific LFUN handling
3452
3453 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3454
3455         * text3.C (checkInsetHit): adjust coords
3456         * text2.C (getColumnNearX): adjust coords
3457         (edit): adjust coords
3458         * text.C (getRowNearY): add two asserts
3459
3460 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3461
3462         * converter.C:
3463         * format.C: add using std::distance to compile on gcc 2.95/stlport
3464
3465 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3466
3467         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3468
3469 2004-02-04  André Pönitz  <poenitz@gmx.net>
3470
3471         * BufferView.[Ch] (insertInset):
3472         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3473
3474         * text2.C:
3475         * text3.C: adjust
3476
3477 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3478
3479         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3480         on the default clause of the switch
3481         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3482         wasn't catched by LCursor::dispatch
3483
3484 2004-02-03  André Pönitz  <poenitz@gmx.net>
3485
3486         * BufferView.C:
3487         * cursor.[Ch]: some additional asserts
3488
3489         * undo.[Ch]: remove LyXText dependency in interface
3490
3491         * lyxfunc.C: adjust
3492
3493         * lyxtext.h (firstPar, lastPar): remove dead functions
3494
3495         * text.C:
3496         * text2.C:
3497         * text3.C:
3498         * paragraph.[Ch]: adjust
3499
3500 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3501
3502         * lyxfind.C (find): fix argument order in call to ::find
3503
3504 2004-02-02  André Pönitz  <poenitz@gmx.net>
3505
3506         * cursor.[Ch]: remove direct access to anchor
3507
3508         * text.C: remove findText() hack
3509
3510 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3511
3512         * iterators.[Ch] (lockPath): remove in favour of...
3513         * BufferView.[Ch] (setCursor): this addition
3514         * BufferView.C (putSelectionAt): adjust
3515         * undo.C (performUndoOrRedo): adjust
3516         * lyxfunc.C (dispatch): adjust
3517
3518 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3519
3520         * iterators.C (lockPath): add a missing slice
3521         * undo.C (performUndoOrRedo): remove redundant positioning code
3522
3523 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3524
3525         * vc-backend.C (scanMaster): ";" -> ';'
3526
3527 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3528
3529         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3530         std::binary_function
3531
3532         * lyxtextclass.C (compare_name): rename to...
3533         (LayoutNamesEqual): ...this
3534
3535         * lyxlex_pimpl.C (compare_tags): inherit from
3536         std::binary_function, put back into anon namespace
3537
3538         * lyxfind.C (MatchString): inherig from std::binary_function
3539         (findChange): use empty() istead of !size()
3540
3541         * format.C (FormatNamesEqual): new functor
3542         (getFormat): use it
3543         (getNumber): use it
3544         (add): use it
3545         (erase): use it
3546         (setViewer): use it
3547
3548         * converter.C (compare_Converter): rename to...
3549         (ConverterEqual): ...this, and fixup a bit.
3550         (getConverter): use it, and make function const
3551         (getNumber): use it, and make function const
3552         (add): use it
3553         (erase): use it:
3554
3555         * bufferlist.C: add using boost::bind
3556
3557         * MenuBackend.C (MenuNamesEqual): new functor
3558         (hasMenu): use it, and make function const
3559         (hasSubmenu): use nested bind to get rid of compare_memfun.
3560
3561 2004-01-30  André Pönitz  <poenitz@gmx.net>
3562
3563         * BufferView_pimpl.C:
3564         * cursor.C:
3565         * cursor.h:
3566         * cursor_slice.[Ch]:
3567         * lyxfunc.C:
3568         * lyxtext.h:
3569         * paragraph_funcs.C:
3570         * paragraph_funcs.h:
3571         * rowpainter.C:
3572         * text.C:
3573         * text2.C:
3574         * text3.C: move some of the edit(x,y) handling to the insets
3575         some coordinate changes.
3576
3577 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3578
3579         * text.C: add using statements for std::advance and std::distance
3580
3581         * paragraph.C: add using statement for std::distance
3582
3583         * lyxfind.C: add using statement for std::advance
3584
3585         * cursor.C (region): remove std:: from swap
3586         (openable): use nucleus in stead of operator->
3587
3588         * BufferView.C: add using statements for std::distance and std::swap
3589
3590 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3591
3592         * iterators.C: Remove the pimple, move the needed structures to
3593         the header file. Create accessor for the positions stack.
3594         (asPosIterator): remove function
3595
3596         * PosIterator.C (PosIterator): move constructors to top of file
3597         (PosIterator): reimplement the constructor taking a ParIterator in
3598         terms of setFrom.
3599         (setFrom): new function
3600         (operator!=): inline it
3601
3602 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3603
3604         * lyxfind.C (replaceAll): use std::advance
3605
3606         * iterators.h: inherit from std::iterator.
3607
3608         * PosIterator.C (advance, distance): remove
3609         * PosIterator.h: interit from std::iterator.
3610
3611 2004-01-26  André Pönitz  <poenitz@gmx.net>
3612
3613         * BufferView.[Ch]:
3614         * BufferView_pimpl.[Ch]:
3615         * InsetList.[Ch]:
3616         * PosIterator.[Ch]:
3617         * buffer.h:
3618         * bufferview_funcs.C:
3619         * cursor.[Ch]:
3620         * cursor_slice.h:
3621         * factory.[Ch]:
3622         * iterators.[Ch]:
3623         * lyxfind.C:
3624         * lyxfunc.C:
3625         * lyxtext.h:
3626         * output_docbook.C:
3627         * output_latex.C:
3628         * output_linuxdoc.C:
3629         * output_plaintext.C:
3630         * paragraph.[Ch]:
3631         * paragraph_funcs.[Ch]:
3632         * paragraph_pimpl.[Ch]:
3633         * rowpainter.C:
3634         * tabular.C:
3635         * tabular.h:
3636         * text.C:
3637         * text2.C:
3638         * text3.C: more IU:  dumps most of the rest of the mathcursor
3639     implementation into cursor.[Ch]; "globalize" a bit of it.
3640
3641 2004-01-25  Angus Leeming  <leeming@lyx.org>
3642
3643         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3644
3645 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3646
3647         * LaTeXFeatures.h: add nice_ and nice() const
3648         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3649
3650 2004-01-20  André Pönitz  <poenitz@gmx.net>
3651
3652         * BufferView.[Ch]:
3653         * BufferView_pimpl.C:
3654         * PosIterator.C:
3655         * bufferview_funcs.C:
3656         * cursor.[Ch]:
3657         * cursor_slice.[Ch]:
3658         * factory.C:
3659         * iterators.C:
3660         * lyx_cb.C:
3661         * lyxfind.C:
3662         * lyxfunc.C:
3663         * lyxtext.h:
3664         * rowpainter.C:
3665         * text.C:
3666         * text2.C:
3667         * text3.C:
3668         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3669           LCursor and mathcursor parts to LCursor and InsetBase.
3670
3671 2004-01-15  André Pönitz  <poenitz@gmx.net>
3672
3673         * cursor_slice.[Ch]: add a few covienience functions
3674
3675         * funcrequest.[Ch]: remove BufferView * member
3676
3677         * BufferView_pimpl.C:
3678         * cursor.C:
3679         * factory.[Ch]:
3680         * lyxfind.[Ch]:
3681         * lyxfunc.C:
3682         * lyxtext.h:
3683         * text3.C:
3684         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3685
3686 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3687
3688         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3689         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3690
3691 2004-01-13  André Pönitz  <poenitz@gmx.net>
3692
3693         * textcursor.[Ch]:
3694         * lyxtext.h: hide cursor and selection anchor behind accessor function
3695
3696         * BufferView.C:
3697         * BufferView_pimpl.[Ch]:
3698         * PosIterator.C:
3699         * bufferview_funcs.C:
3700         * cursor.h:
3701         * lyxfind.C:
3702         * lyxfunc.C:
3703         * text.C:
3704         * text2.C:
3705         * text3.C:
3706         * undo.C: adjust
3707
3708         * cursor.h:
3709         * cursor_slice.[Ch]: some integer type changes for inset unification
3710
3711         * lyxcursor.[hC]: remove, it's CursorSlice now.
3712
3713         * Makefile.am:
3714         * BufferView_pimpl.[Ch]:
3715         * bufferview_funcs.C:
3716         * cursor_slice.C:
3717         * lyxtext.h:
3718         * text.C:
3719         * text2.C:
3720         * text3.C:
3721         * textcursor.[Ch]: adjust
3722
3723 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3724
3725         * text2.C (undoSpan): add and use
3726         * text.C (breakParagraph): use undoSpan (fix bug 578)
3727         * lyxtext.h: adjust
3728
3729 2004-01-08  Angus Leeming  <leeming@lyx.org>
3730
3731         * BufferView_pimpl.C (MenuInsertLyXFile):
3732         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3733         * lyxfunc.C (menuNew, open, doImport):
3734         FileFilterList change to the FileDialog open and save functions.
3735
3736 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3737
3738         * ShareContainer.h: make isEqual and isUnique adaptable
3739
3740         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3741
3742 2004-01-07  Angus Leeming  <leeming@lyx.org>
3743
3744         * LyXAction.C:
3745         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3746
3747         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3748
3749         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3750         functions replacing find, replace and replaceAll.
3751
3752         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3753         LFUN_WORDFIND(FORWARD|BACKWARD).
3754
3755 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3756
3757         * text.C (breakParagraph): remove an outdated #warning
3758
3759 2004-01-07  André Pönitz  <poenitz@gmx.net>
3760
3761         * lyxfind.C: somewhat clearer logic
3762
3763         * text.C: prevent crash in cursorX on unitialized row cache
3764
3765 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3766
3767         * lyxcursor.[Ch] (operator>): add
3768         * textcursor.C (selStart, selEnd): use std::min and std::max
3769
3770 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3771
3772         * Chktex.C: include boost/format.hpp
3773
3774 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3775
3776         * InsetList.C: replace functor MathcIt with adaptable functor
3777         InsetTablePosLess
3778         (insetIterator): modify accordingly
3779
3780         * BranchList.h: move the BranchNamesEqual functor here from...
3781         * BranchList.C: ... to here
3782
3783         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3784         SameName and match.
3785         (add): replace a finding loop with std::find_if.
3786
3787 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3788
3789         * output_docbook.C: moving LatexParam functionality into
3790         .layout files
3791
3792 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3793
3794         * buffer.C: increment format to 229.
3795
3796 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3797
3798         * LaTeXFeatures.C:
3799         * lyx_sty.[Ch]: remove minipageindent_def
3800
3801         * LyXAction.C:
3802         * factory.C:
3803         * lfuns.h:
3804         * lyxfunc.C:
3805         * text3.C: remove LFUN_INSET_MINIPAGE
3806
3807 2003-12-28  Angus Leeming  <leeming@lyx.org>
3808
3809         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3810
3811 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3812
3813         * text2.C (setParagraph): fix off-by-one crash
3814
3815 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3816
3817         * output_docbook.C: header stuff for AGU
3818
3819 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3820
3821         * text2.C (redoCursor): remove
3822         * text.C:
3823         * text3.C:
3824         * BufferView_pimpl.C: remove calls to redoCursor and
3825         setCursor(cursor.par(), cursor.pos()) all around
3826
3827 2003-12-15  Angus Leeming  <leeming@lyx.org>
3828
3829         * buffer.C: up the format to 228.
3830
3831 2003-12-15  André Pönitz  <poenitz@gmx.net>
3832
3833         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3834         slices
3835
3836         * Makefile.am:
3837
3838         * BufferView_pimpl.C:
3839         * cursor.[Ch]:
3840         * lyxcursor.[Ch]:
3841         * rowpainter.[Ch]:
3842         * lyxtext.h:
3843         * text.C:
3844         * text2.C:
3845         * text3.C: adjust
3846
3847 2003-12-15  Angus Leeming  <leeming@lyx.org>
3848
3849         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3850         than getFromGUIName to manipulate the color.
3851
3852 2003-12-14  Angus Leeming  <leeming@lyx.org>
3853
3854         * BranchList.[Ch]: minimize the API.
3855         (Branch::getBranch, getColor): now return a 'const &'.
3856         (Branch::setSelected) now returns a bool set to true if the
3857         selection status changes.
3858         (BranchList::clear, size, getColor, setColor, setSelected,
3859         allBranches, allSelected, separator): removed.
3860         (BranchList::find): new functions, returning the Branch with
3861         the given name.
3862         (BranchList::add, remove): return a bool indicating that
3863         the operation was successful.
3864
3865         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3866         new InsetBranch::isBranchSlected member function.
3867
3868         * LColor.[Ch]: mimimize the API.
3869         (fill): renamed as addColor and made private.
3870         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3871         versions of these functions taking a string arg have been removed.
3872
3873         * bufferparams.C (readToken):
3874         * lyxfunc.C (dispatch):
3875         * lyxrc.C (read): changes due to the altered BranchList and
3876         LColor APIs.
3877
3878         * factory.C (createInset, readInset): changes due to altered
3879         InsetBranch c-tor.
3880
3881 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3882
3883         * factory.C:
3884         * lyxfunc.C: remove insetminipage. "minipage-insert"
3885         now produces a frameless minipage box inset.
3886
3887 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3888
3889         * textcursor.[Ch] (selStart,selEnd): add new methods
3890         remove selection::start, end, use LyXCursor::operator<
3891         * lyxcursor.[Ch] (operator<): add
3892         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3893         * BufferView.[Ch] (unsetXSel): add
3894         * text2.C (clearSelection): use unsetXSel,adjust
3895         * text.C: adjust
3896         * text3.C: adjust
3897         * rowpainter.C: adjust
3898         * bufferview_funcs.C (put_selection_at): adjust
3899
3900 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3901
3902         * BufferView_pimpl.C: small coord. correction
3903
3904 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3905
3906         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3907         dragging over the splash screen.
3908
3909 2003-12-11  Angus Leeming  <leeming@lyx.org>
3910
3911         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3912         as it is now handled in LyXText::dispatch.
3913
3914         * text3.C (doInsertInset): remove a level of nesting.
3915
3916 2003-12-11  Angus Leeming  <leeming@lyx.org>
3917
3918         * factory.C (createInset): changes due to the changed interface to
3919         InsetCommandMailer::string2params.
3920
3921 2003-12-10  Angus Leeming  <leeming@lyx.org>
3922
3923         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3924         'dialog-show-new-inset <inset name>'
3925
3926 2003-12-10  Angus Leeming  <leeming@lyx.org>
3927
3928         * buffer.C: up the format to 227.
3929
3930         * factory.C: the box inset is now identified simply by 'Box'.
3931
3932 2003-12-10  Angus Leeming  <leeming@lyx.org>
3933
3934         * buffer.C: up the format to 226.
3935
3936         * factory.C: the note inset is now identified simply by 'Note'.
3937
3938 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3939
3940         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3941         when a pit is enough. Standarize a couple of loops.
3942
3943 2003-12-05  Angus Leeming  <leeming@lyx.org>
3944
3945         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3946         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3947         data to the re-worked "log" dialog.
3948
3949 2003-12-03  André Pönitz  <poenitz@gmx.net>
3950
3951         * PosIterator.C:
3952         * iterators.C:
3953         * lyxtext.h:
3954         * output_latex.C:
3955         * paragraph_funcs.C:
3956         * text.C:
3957         * text2.C: use Inset::getText instead of Inset::getParagraph
3958
3959 2003-12-03  André Pönitz  <poenitz@gmx.net>
3960
3961         * buffer.[Ch]:
3962         * lyxtext.h:
3963         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3964         InsetText::read() as LyXText::read()
3965
3966 2003-12-02  Angus Leeming  <leeming@lyx.org>
3967
3968         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3969         type. Add a comment in the implementation that the function uses
3970         the stream's bad() function rather than fail() as the std::streams
3971         would do.
3972
3973 2003-12-02  André Pönitz  <poenitz@gmx.net>
3974
3975         * lyxlex.[Ch]: make interface more similar to std::stream
3976
3977         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3978
3979 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3980
3981         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3982
3983 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3984
3985         * vspace.[Ch]: remove VSpace::NONE
3986
3987 2003-12-01  André Pönitz  <poenitz@gmx.net>
3988
3989         * buffer.[Ch]:
3990         * lyxtext.h: move ParagraphList member to LyXText
3991         rename LyXText::ownerParagraphs to LyXText::paragraph
3992
3993         * CutAndPaste.C:
3994         * bufferview_funcs.C:
3995         * iterators.[Ch]:
3996         * lyx_cb.C:
3997         * paragraph.C:
3998         * rowpainter.C:
3999         * tabular.C:
4000         * text.C:
4001         * text2.C:
4002         * text3.C: adjust
4003
4004         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4005
4006         * undo.C: fix cursor positioning
4007
4008 2003-12-01  John Levon  <levon@movementarian.org>
4009
4010         * BufferView_pimpl.C: fix a crash on exit with
4011         a buffer open
4012
4013 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4014
4015         * BranchList.C: fix setSelected() method.
4016
4017 2003-11-28  André Pönitz  <poenitz@gmx.net>
4018
4019         * ParagraphParameters.[Ch]:
4020         * ParameterStruct.h: remove space above/below from Paragraph to
4021          InsetVSpace
4022
4023         * BufferView_pimpl.C:
4024         * factory.C:
4025         * lyxfunc.C:
4026         * lyxtext.h:
4027         * output_latex.C:
4028         * paragraph.C:
4029         * paragraph_funcs.C:
4030         * rowpainter.[Ch]:
4031         * text.C:
4032         * text2.C:
4033         * text3.C: adjust
4034
4035 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4036
4037         * factory.C: Syntax change for CharStyles
4038
4039 2003-11-28  André Pönitz  <poenitz@gmx.net>
4040
4041         * BufferView.[Ch]:
4042         * BufferView.[Ch]:
4043         * buffer.[Ch]:
4044         * buffer.[Ch]: move LyXText member
4045
4046 2003-11-28  André Pönitz  <poenitz@gmx.net>
4047
4048         * BufferView.[Ch]: make LyXText * text a private member
4049
4050         * BufferView_pimpl.C:
4051         * cursor.C:
4052         * iterators.C:
4053         * lyx_cb.C:
4054         * lyxfind.C:
4055         * lyxtext.h:
4056         * rowpainter.[Ch]:
4057         * text.C:
4058         * text2.C:
4059         * undo.C: adjust
4060
4061         * output_plaintext.C: cleanup
4062
4063 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4064
4065         * buffer.C:
4066         * lyxtextclass.[Ch]: parametrize SGML document header
4067
4068 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4069
4070         * converter.[Ch]:
4071         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4072         getFlavor().
4073
4074 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4075
4076         * text2.C (setFont): rework using PosIterator (no more recursive)
4077         (setCharFont): no more needed
4078         (setLayout): no more selection cursors fiddling (done by redoCursor)
4079         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4080         destroy remaining ones)
4081
4082 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4083
4084         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4085         * lyxtext.h: ditto
4086         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4087         selection cursors
4088         * lyxfunc.C: adjust
4089         * text3.C: adjust + re-allow multi par depth changes
4090         * textcursor.C: simplify a bit
4091
4092 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4093
4094         * src/buffer.C:
4095         * src/lyxlayout.C:
4096         * src/lyxlayout.h:
4097         * src/lyxtext.h:
4098         * src/output_docbook.C:
4099         * src/output_latex.C:
4100         * src/paragraph.C:
4101         * src/paragraph.h:
4102         * src/sgml.C:
4103         * src/sgml.h:
4104         * src/text2.C: Introducing a number of tags parametrizing various
4105         XML formats that we may want to support
4106
4107 2003-11-25  André Pönitz  <poenitz@gmx.net>
4108
4109         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4110
4111         * lyxtext.h (leftMargin/rightMargin): simplify interface
4112
4113         * rowpainter.C:
4114         * text.C:
4115         * text2.C:
4116         * text3.C: adjust
4117
4118 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4119
4120         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4121         master file to any child files. Fixes bug 546.
4122
4123 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4124
4125         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4126
4127 2003-11-24  André Pönitz  <poenitz@gmx.net>
4128
4129         * rowpainter.C: simplification
4130
4131         * text2.C (updateCounters): remove call to redoParagraph on
4132         changed labels as this is far too expensive.
4133
4134 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4135
4136         * converter.C (convert): fix a crash: this function gets
4137         called with buffer == 0 from importer code.
4138
4139 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4140
4141         * text3.C (cursorPrevious): make sure that we do not compare
4142         iterators form different containers.
4143         (cursorNext): ditto
4144
4145         * rowpainter.C (paintSelection): make sure that we do not compare
4146         iterators from different containers.
4147
4148         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4149         iterators from different ParagraphList containers.
4150         [NEXT] ditto
4151
4152         * text2.C (LyXText): change order of initialization slightly
4153         (operator=): new function. copy all variables except cache_par_
4154         (moveUp): make sure that we do not compare iterators from
4155         different ParagraphList constainers.
4156         (moveDown): ditto
4157
4158         * text.C (firstPar): new function
4159         (lastPar): new function
4160         (endPar): new function
4161
4162         * lyxtext.h: move things around and group public functions, public
4163         variables, private functions, private variables
4164
4165 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4166
4167         * factory.C: change call to InsetERT constructor to avoid
4168         additional invocation of method status
4169         * text2.C (toggleInset): remove redundant update() call
4170         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4171         instead of a Bufferview pointer
4172
4173 2003-11-21  André Pönitz  <poenitz@gmx.net>
4174
4175         * rowpainter.C: simplification
4176
4177 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4178
4179         * text3.C (dispatch): make possible to extend a word/row selection
4180         with the mouse
4181
4182 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4183
4184         * lyxtext.h: x0_,y0_ -> xo_,yo_
4185         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4186         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4187         * rowpainter.C (paintRows): paint full paragraphs
4188
4189 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4190
4191         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4192         screen coordinates)
4193
4194 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4195
4196         * lyxtext.h: add x0_, y0_
4197         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4198         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4199
4200 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4201
4202         * text2.C (setCursorIntern): move the x_target update here *
4203         * text3.C: change some bv() to true/false in calls to
4204         cursorUp/Down/Right/Left
4205         * cursor.C: use helper function.
4206
4207 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4208
4209         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4210         * paragraph_funcs.[Ch]: correct comment
4211         * rowpainter.C: do not paint selections away from bv->cursor()
4212         Fix a long standing selection painting bug.
4213         * text3.C: generalize mouse-selection code to LyXTexts other that
4214         top one
4215         * textcursor.C: do not use y coords if we can use par offsets
4216
4217 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4218
4219         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4220         cursor position after e.g. inset insert)
4221
4222 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4223
4224         * lyxfind.C (replace): adjust to locking removal + some
4225         code simplification
4226
4227 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4228
4229         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4230         of the path
4231
4232 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4233
4234         * lyxlayout.[Ch]:
4235         * output_docbook.C: XML sanitation: new layout
4236         parameters InnerTag and CommandDepth
4237
4238 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4239
4240         * BufferView_pimpl.C:
4241         * factory.C:
4242         * text3.C: Fix the insertion and modification of button-style
4243         insets
4244
4245 2003-11-13  André Pönitz  <poenitz@gmx.net>
4246
4247         * InsetList.[Ch]: remove deleteLyXText
4248
4249         * paragraph.[Ch]: cache beginOfBody position
4250
4251         * Bidi.C:
4252         * text.C:
4253         * text2.C:
4254         * text3.C: remove superfluous update() calls
4255
4256         * vspace.C: cleanup
4257
4258 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4259
4260         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4261         * BufferView.C (fitLockedInsetCursor): remove
4262         * cursor.[Ch] (getDim): add
4263         * text.C (getRowNearY): add faster version
4264         * text3.C: remove some update calls
4265
4266 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4267
4268         * LaTeXFeatures.C:
4269         * LyXAction.C:
4270         * MenuBackend.C:
4271         * MenuBackend.h:
4272         * dispatchresult.h:
4273         * factory.C:
4274         * lfuns.h:
4275         * lyxfunc.C:
4276         * lyxtextclass.C:
4277         * lyxtextclass.h:
4278         * text3.C: The Character Style /XML short element patch.
4279
4280 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4281
4282         * text3.C:
4283         * factory.C: Small step to solving 'unable to insert some insets'
4284         problem
4285
4286 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4287
4288         * cursor.[Ch] (updatePos): new function for updating the y
4289         position of the tip inset
4290         * bufferview_funcs.C (put_selection_at):
4291         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4292
4293 2003-11-11  André Pönitz  <poenitz@gmx.net>
4294
4295         * text.C: remove big comment on invalid Paragraph pointers as it is
4296         not valid anymore
4297
4298 2003-11-11  André Pönitz  <poenitz@gmx.net>
4299
4300         * text_funcs.[Ch]: merge with ...
4301
4302         * text.C: ... this
4303
4304         * lyxtext.h:
4305         * text2.C:
4306         * text3.C: adjust
4307
4308         * Makefile.am: remove text_funcs.[Ch]
4309
4310 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4311
4312         * cursor.C (getPos): return absolute cached y coord
4313
4314         * BufferView_pimpl.C (fitCursor): new simplistic code
4315         (workAreaDispatch): add a fitCursor call
4316
4317 2003-11-10  André Pönitz  <poenitz@gmx.net>
4318
4319         * BufferView.[Ch]:
4320         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4321
4322 2003-11-10  André Pönitz  <poenitz@gmx.net>
4323
4324         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4325         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4326         indicate that the cursor needs to leave an inset
4327
4328         * lyxtext.h: remove inset locking
4329
4330         * cursor.[Ch]: re-implement functionality provided by inset locking
4331
4332         * BufferView.[Ch]:
4333         * BufferView_pimpl.[Ch]:
4334         * LyXAction.C:
4335         * bufferview_funcs.[Ch]:
4336         * factory.C:
4337         * funcrequest.[Ch]:
4338         * iterators.C:
4339         * lyx_cb.C:
4340         * lyxfind.C:
4341         * lyxfunc.C:
4342         * text.C:
4343         * text2.C:
4344         * text3.C:
4345         * undo.C: adjust
4346
4347 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4348
4349         * PosIterator.[Ch]: replace the stack with a vector, add inset
4350         accesor
4351         * iterators.[C]: adjust
4352
4353 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4354
4355         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4356         replaced
4357         * paragraph_funcs.C (readParToken): put the correct id in the
4358         error item, not the id of the top paragraph
4359
4360 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4361
4362         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4363         * bufferview_funcs.C (put_selection_at): use the above
4364
4365 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4366
4367         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4368
4369 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4370
4371         * output_linuxdoc.h:
4372         * output_plaintext.h:
4373         * output.h:
4374         * output_docbook.h: add #include statements
4375
4376 2003-11-05  José Matos  <jamatos@lyx.org>
4377
4378         * output_docbook.[Ch]:
4379         * output_latex.[Ch]:
4380         * output_linuxdoc.[Ch]:
4381         * output_plaintext.[Ch]: New files for output formats.
4382         * output.[Ch]: New file for helper functions.
4383
4384         * buffer.[Ch]:
4385         * paragraph_funcs.[Ch]: output functions moved to new files.
4386
4387         * outputparams.h: rename of latexrunparams.h
4388
4389         * LaTeX.[Ch]:
4390         * buffer.[Ch]:
4391         * bufferlist.[Ch]:
4392         * converter.[Ch]:
4393         * exporter.C:
4394         * paragraph.[Ch]:
4395         * paragraph_funcs.[Ch]:
4396         * paragraph_pimpl.[Ch]:
4397         * tabular.[Ch]: rename ascii to plaintext
4398         and LatexRunParams to OutputParams.
4399
4400 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4401
4402         * iterators.[Ch] (text): require bv argument
4403         * undo.C (recordUndo):
4404         * lyxfunc.C (dispatch):
4405         * bufferview_funcs.C (put_selection_at): adjust
4406
4407 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4408
4409         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4410
4411 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4412
4413         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4414         nestings
4415
4416 2003-11-04  André Pönitz  <poenitz@gmx.net>
4417
4418         * cursor.[Ch]: restructure
4419
4420         * BufferView.[Ch]:
4421         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4422
4423         * iterators.[Ch] (asCursor): remove
4424
4425         * lfuns.h: remove LFUN_INSET_EDIT
4426
4427         * lyxfunc.C:
4428         * tabular.C:
4429         * text.C:
4430         * text2.C:
4431         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4432
4433 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4434
4435         * lyxfind.[Ch]: complete overhaul
4436         * BufferView_pimpl.C:
4437         * lyxfunc.C: adjust
4438         * paragraph.[Ch] (insert): add
4439
4440 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4441
4442         * BufferView.[Ch]:
4443         * lyxtext.h:
4444         * text.C: remove dead spellcheck code
4445
4446 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4447
4448         * dispatchresult.h: add a val setter
4449
4450         * cursor.C (dispatch): use a tempvar for data_[i]
4451
4452 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4453
4454         * PosIterator.[Ch]: compile fix
4455
4456 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4457
4458         * text.C (cursorPar): deactivate the cursor cache
4459
4460 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4461
4462         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4463
4464 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4465
4466         * text3.C (dispatch): adjust for new DisptchResult semantics.
4467
4468         * lyxfunc.C (dispatch): handle update when return from
4469         Cursor::dispatch, adjust for new DispatchResult semantics.
4470
4471         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4472         DispatchResult(true) mean to not update. Add class functions for
4473         setting dispatched and update, as well as reading.
4474
4475         * cursor.C (dispatch): don't handle update here
4476
4477 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4478
4479         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4480         * trans_mgr.C: adjust
4481
4482         * paragraph_funcs.C (readParToken): exception safety
4483
4484         * lyxvc.h: store the vcs pointer in a scoped_ptr
4485         * lyxvc.C: adjust
4486
4487         * lyxsocket.C (serverCallback): exception safety
4488
4489         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4490
4491         * ispell.C (clone): make it return a auto_ptr
4492
4493         * factory.C (createInset): exception safety
4494         (readInset): exception safety
4495
4496         * bufferlist.C (newBuffer): exception safety
4497
4498         * Thesaurus.C (Thesaurus): use initialization for aik_
4499
4500         * MenuBackend.C (expandToc): exception safety.
4501
4502 2003-11-03  André Pönitz  <poenitz@gmx.net>
4503
4504         * buffer.C:
4505         * buffer.h:
4506         * bufferview_funcs.C: remove getInsetFromId()
4507
4508         * lyxcursor.[Ch]:
4509         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4510
4511         * lyxfunc.C:
4512         * text2.C:
4513         * text3.C: adjust
4514
4515 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4516
4517         * PosIterator.C (distance, advance): new
4518         * bufferview_funcs.[Ch] (put_selection_at): new
4519         * iterators.[Ch] (lockPath): new
4520
4521 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4522
4523         * iterators.[Ch] (asPosIterator): added
4524         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4525         * PosIterator.[Ch]: added
4526
4527 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4528
4529         * text3.C:
4530         * lyxfunc.C:
4531         * cursor.C (dispatch):
4532         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4533
4534         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4535         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4536         contructor, add a class function dispatched. Remove operator>=
4537
4538 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4539
4540         * debug.C: only use the default constructor for debugstream
4541         (lyxerr) here.
4542
4543         * main.C (main): include debug.h and setup the lyxerr streambuf
4544         here.
4545
4546 2003-10-31  José Matos  <jamatos@lyx.org>
4547
4548         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4549
4550         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4551         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4552         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4553         * paragraph_pimpl.C (simpleTeXSpecialC):
4554         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4555         add LatexRunParams argument.
4556
4557         * exporter.C (Export): change call accordingly.
4558
4559         * latexrunparams.h: add new member to take care of the other backends.
4560 2003-10-30  José Matos  <jamatos@lyx.org>
4561
4562         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4563         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4564         factorise code for paragraph output.
4565         * buffer.[Ch]:
4566         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4567         move functions.
4568
4569 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4570
4571         * text3.C (dispatch):
4572         * lyxfunc.C (dispatch):
4573         * cursor.C (dispatch):
4574         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4575
4576         * dispatchresult.h: make the dispatch_result_t ctor explicit
4577
4578 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4579
4580         * sgml.[Ch]:
4581         * buffer.C: small refactoring of docbook stuff
4582
4583 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4584
4585         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4586         meaning.
4587
4588 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4589
4590         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4591         operator dispatch_result_t, and operators for == != and >=
4592
4593         * cursor.C (dispatch): adjust for operator dispatch_result_t
4594         removal. comment out call to update
4595
4596         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4597
4598 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4599
4600         * text3.C:
4601         * text2.C:
4602         * text.C:
4603         * lyxtext.h:
4604         * lyxfunc.C:
4605         * cursor.C:
4606         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4607         (dispatch):
4608
4609         * dispatchresult.h: new file, DispatchResult broken out of
4610         insets/insetbase.h
4611
4612         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4613
4614 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4615
4616         * text.C (rowBreakPoint): put a hack inside #if 0
4617
4618 2003-10-28  André Pönitz  <poenitz@gmx.net>
4619
4620         * lyxtext.h:
4621         * metricsinfo.C:
4622         * paragraph_funcs.C:
4623         * rowpainter.C:
4624         * text.C:
4625         * text2.C: general cleanup (lots of small stuff)
4626
4627 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4628
4629         * text2.C (cursorEnd): simple fix to the "end key goes to one
4630         before the end on last row" bug
4631
4632 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4633
4634         * text.C (backspace): fix the "zombie characters"
4635
4636 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4637
4638         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4639
4640 2003-10-27  André Pönitz  <poenitz@gmx.net>
4641
4642         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4643
4644         * factory.C: handle new InsetPagebreak, InsetLine
4645
4646         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4647         and move handling into new InsetPagebreak, InsetLine
4648
4649         * BufferView_pimpl.C:
4650         * LyXAction.C:
4651         * ParagraphParameters.C:
4652         * ParameterStruct.h:
4653         * lyxfunc.C:
4654         * lyxtext.h:
4655         * paragraph.C:
4656         * paragraph.h:
4657         * paragraph_funcs.C:
4658         * paragraph_pimpl.C:
4659         * rowpainter.C:
4660         * text.C:
4661         * text2.C:
4662         * text3.C: adjust
4663
4664 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4665
4666         * text.C:
4667         * lyxrow_funcs.[Ch]:
4668         * Bidi.C:
4669         * paragraph.C:
4670         * lyxtext.h:
4671         * rowpainter.C:
4672         * text2.C:
4673         * text3.C: remove lastPos uses in favour of Row::endpos
4674
4675 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4676
4677         * undo.C (performUndoOrRedo): fix two crashes by setting a
4678         cursor by hand and reordering some calls. Use bv->lockInset instead
4679         of inset->edit because the latter loses cursor information
4680
4681 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4682
4683         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4684         by Martin
4685         (rowBreakPoint): fix width. change point to point + 1.
4686         Add a missing check.
4687
4688 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4689
4690         * MenuBackend.C:
4691         * lyxfunc.C: fix (at least partly) the problems
4692         with the Nav menu and headers inside branch insets
4693         reported by Kayvan
4694
4695 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4696
4697         * paragraph.C (getChar): add strong asserts
4698
4699         * lyxrow_funcs.C (lastPos): remove hideous hack
4700
4701         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4702         (fill): adjust to that (avoid an infinite loop)
4703
4704 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4705
4706         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4707
4708 2003-10-23  André Pönitz  <poenitz@gmx.net>
4709
4710         * RowList_fwd.h: change list<> to vector<> to gain speed
4711         after suggestion from Alfredo
4712
4713 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4714
4715         * lyxtext.h: move the bidi stuff from here...
4716         * text.C: and here
4717         * text2.C: and here
4718         * Bidi.[Ch]: ... to here
4719
4720 2003-10-23  André Pönitz  <poenitz@gmx.net>
4721
4722         * lyxtext.h:
4723         * text.C (isLastRow, isFirstRow): new functions
4724
4725         * paragraph.h: new width cache member
4726
4727         * rowpainter.C: replace RowList::iterator with Row & where possible
4728
4729         * lyxfunc.C: replace several view()->text with a single call
4730
4731         * toc.C: fix 'unused' warning
4732
4733 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4734
4735         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4736         when woring with stream::pos_type
4737         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4738
4739 2003-10-22  André Pönitz  <poenitz@gmx.net>
4740
4741         * lyxtext.h:
4742         * text.C: use Row & instead of RowList::iterator
4743
4744         * lyxrow.h: rename end() to endpos()
4745
4746         * rowpainter.C:
4747         * text.C:
4748         * text2.C: adjust
4749
4750 2003-10-22  Angus Leeming  <leeming@lyx.org>
4751
4752         * buffer.[Ch] (fully_loaded): new member function, returning true
4753         only when the file has been loaded fully.
4754         Used to prevent the premature generation of previews and by the
4755         citation inset to prevent computation of the natbib-style label.
4756
4757         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4758         templates are all set up.
4759
4760         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4761
4762 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4763
4764         * text.C: fixed an "oops" in the "is a bit silly"
4765         bug fix
4766
4767 2003-10-21  André Pönitz  <poenitz@gmx.net>
4768
4769         * FuncStatus.[Ch]: small stuff, whitespace
4770
4771         * lyxfont.[Ch]: operator<<() for debug reasons
4772
4773         * lyxfunc.C:
4774         * lyxrow_funcs.C:
4775         * lyxtext.h: whitespace, spelling
4776
4777         * paragraph.C: naming of variables
4778
4779         * text.C:
4780         * text2.C: small stuff
4781
4782
4783 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4784
4785         * text.C: (1) finish off the inset display() work;
4786         (2) fix the "is a bit silly" bug (accessing char
4787         past end of par).
4788
4789 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4790
4791         * text.C: re-introduce display() for insets, fixing the
4792         various bugs (stretch of line above, math inset
4793         positioning, ...)
4794
4795 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4796
4797         * text.C (rightMargin): remove spurious semicolon
4798
4799         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4800         1415)
4801
4802 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4803
4804         * text3.C: fix one crash due to wrong cursor def
4805
4806 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4807
4808         * vc-backend.C (scanMaster): make the regex static
4809
4810         * LaTeX.C (scanAuxFile): make the regexs static
4811
4812         * text3.C (doInsertInset, dispatch, dispatch):
4813         * text2.C (cursorUp, cursorDown):
4814         * text.C (selectNextWordToSpellcheck):
4815         * BufferView_pimpl.C (dispatch):
4816         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4817
4818 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4819
4820         * lyxsocket.C: include <cerrno>
4821
4822 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4823
4824         * lyxfunc.C (dispatch): remove textcache stuff
4825
4826         * bufferlist.C (release): remove textcache stuff
4827         (closeAll): ditto
4828
4829         * TextCache.C: delete file
4830         * TextCache.h: delete file
4831
4832         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4833
4834         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4835         delete of the bv_->text.
4836         (resizeCurrentBuffer): remove texcache stuff
4837         (workAreaResize): ditto
4838
4839 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4840
4841         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4842         action.
4843
4844 2003-10-16  André Pönitz  <poenitz@gmx.net>
4845
4846         * lyxrow.[Ch]:
4847         * paragraph.h:
4848         * rowpainter.C:
4849         * text.C:
4850         * text2.C:
4851         * text3.C: speed up by storing y positions per paragraph plus per-row
4852         offset instead of having a 'full' y position in the row.
4853
4854 2003-10-15  André Pönitz  <poenitz@gmx.net>
4855
4856         * iterators.[Ch]:
4857         * iterators.[Ch]:
4858         * undo.[Ch]: make undo aware of inner insets
4859
4860 2003-10-14  Angus Leeming  <leeming@lyx.org>
4861
4862         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4863         static member functions LyX::ref() and LyX::cref.
4864         (lastfiles): new accessor functions for the new lastfiles_ member var.
4865         (addLyXView, views_): add a new LyXView to the list of views_.
4866         (updateInset): loop over all LyXViews to call their own updateInset
4867         member function, returning a pointer to the Buffer owning the inset.
4868
4869         * BufferView_pimpl.C (loadLyXFile):
4870         * MenuBackend.C (expandLastfiles):
4871         * bufferlist.C (MenuWrite, QuitLyX):
4872         lastfiles is no longer a global variable.
4873         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4874
4875         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4876         static function. Access through LyX::cref().emergencyCleanup().
4877
4878 2003-10-14  André Pönitz  <poenitz@gmx.net>
4879
4880         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4881
4882         * undo.[Ch]: restoring part of 'undo in insets'
4883
4884         * Makefile.am:
4885         * undo_funcs.[Ch]: merge with undo.[Ch]
4886
4887         * tabular.C: small cleansing stuff
4888
4889 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4890
4891         * paragraph_funcs.C (readParToken): report unknown insets as error
4892         boxes. Use the outer paragraph as location (also for unknown
4893         tokens).
4894
4895         * factory.C (readInset): do not abort on reading an unknown inset.
4896         Eat it and return 0.
4897
4898 2003-10-13  Angus Leeming  <leeming@lyx.org>
4899
4900         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4901
4902         * lyxrc.C: displayTranslator is now a function,
4903         declared in GraphicsTypes.h.
4904
4905 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4906
4907         * format.C: new placeholder $$a to pass the socket address.
4908
4909         * bufferlist.[Ch]: new function getBufferFromTmp.
4910
4911         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4912           files in the temporary dir.
4913
4914 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4915
4916         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4917
4918         * Makefile.am: add lyxsocket.[Ch].
4919
4920         * lyx_main.C (error_handler): handle SIGPIPE.
4921
4922 2003-10-13  André Pönitz  <poenitz@gmx.net>
4923
4924         * BufferView_pimpl.C:
4925         * lyxtext.h:
4926         * text.C:
4927         * text2.C:
4928         * text3.C:
4929         * undo_funcs.[Ch]: use paroffset_type instead of
4930           ParagraphList::iterators to prevent multiple conversion
4931           (and get a more robust interface)
4932
4933 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4934
4935         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4936         * lyxtext.h: ditto
4937         * text3.C (dispatch): ditto
4938
4939 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4942         move the onlyfile, use onlyfile instead of foundfile in a couple
4943         of places.
4944
4945         * DepTable.C (update): flush the error stream a bit more
4946
4947 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * lyxserver.C (callback): adjust
4950
4951         * lyxfunc.C (getStatus): add a missing brace in commented code
4952         (ensureBufferClean): reindent
4953         (dispatch): delete version taking a string
4954
4955 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4956
4957         * LaTeX.C (deplog): move found file handlig from here...
4958         (handleFoundFile): .. to new function here.
4959         (deplog): make sure to discover several files mentioned on the
4960         same log line.
4961
4962 2003-10-10  André Pönitz  <poenitz@gmx.net>
4963
4964         * lyxfunc.C:
4965         * lyxtext.h:
4966         * tabular.C:
4967         * text.C:
4968         * text2.C:
4969         * text3.C: fix some of the tabular crashes
4970
4971 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4972
4973         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4974
4975         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4976
4977 2003-10-09  André Pönitz  <poenitz@gmx.net>
4978
4979         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4980
4981         * BufferView.C:
4982         * BufferView_pimpl.C:
4983         * bufferview_funcs.C:
4984         * lyx_cb.C:
4985         * lyxcursor.C:
4986         * lyxfind.C:
4987         * lyxfunc.C:
4988         * lyxtext.h:
4989         * text.C:
4990         * text2.C:
4991         * text3.C:
4992         * text_funcs.[Ch]:
4993         * textcursor.[Ch]:
4994         * undo_funcs.C: adjust
4995
4996 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4997
4998         * text2.C (incrementItemDepth): new function, use a backtracking
4999         algorithm to discover the correct item depth.
5000         (resetEnumCounterIfNeeded): new function, use a backtracking
5001         algorithm to discover if counter reset is needed.
5002         (setCounter): use them. Simplify a bit. Add different labels for
5003         different item depths for itemize.
5004
5005         * paragraph.C (Paragraph): remove initialization of enumdepth
5006         (operator=): ditto
5007
5008         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5009         enumerate and itemize. Change the type of itemdepth to signed char.
5010
5011 2003-10-08  André Pönitz  <poenitz@gmx.net>
5012
5013         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5014           thing assignable.
5015         * text.C:
5016         * text2.C: adjust
5017
5018         * tabular.[Ch]: fix crash after 'row-insert'
5019
5020 2003-10-08  Angus Leeming  <leeming@lyx.org>
5021
5022         Fix doxygen warnings.
5023
5024         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5025         Remove CutAndPaste:: prefix from header file declaration.
5026
5027         * LColor.h (fill): remove LColor:: prefix from declaration.
5028
5029         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5030         use lyx::depth_type rather than Paragraph::depth_type so that
5031         header file and .C file match.
5032
5033         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5034
5035         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5036         * aspell.C: \file aspell_local.C -> \file aspell.C
5037         * gettext.C: \file gettext.C -> \file src/gettext.C
5038         * gettext.h: \file gettext.h -> \file src/gettext.h
5039         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5040         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5041         * text.C: \file text.C -> \file src/text.C
5042
5043         * toc.C: move comment so that doxygen is not confused.
5044
5045 2003-10-07  Angus Leeming  <leeming@lyx.org>
5046
5047         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5048
5049 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5050
5051         * aspell.C:
5052         * aspell_local.h: add forgotten std::string's.
5053
5054 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5055
5056         * LaTeXFeatures.C:
5057         * LyXAction.C:
5058         * factory.C:
5059         * lfuns.h:
5060         * lyxfunc.C:
5061         * text3.C: The Box patch. Fancybox support, minipage, parbox
5062
5063 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5064
5065         * CutAndPaste.h:
5066         * DepTable.h:
5067         * FloatList.h:
5068         * LaTeXFeatures.h:
5069         * ParagraphParameters.h:
5070         * TextCache.h:
5071         * Thesaurus.h:
5072         * bufferlist.h:
5073         * exporter.h:
5074         * importer.h:
5075         * lastfiles.h:
5076         * lyxfind.h:
5077         * lyxfont.h:
5078         * lyxlex.h:
5079         * lyxtextclasslist.h:
5080         * messages.h:
5081         * paragraph.h:
5082         * paragraph_pimpl.C:
5083         * textcursor.h: add <string> and other small fixes to make Lars'
5084         std::string patch compile with STLport.
5085
5086 2003-10-06  Angus Leeming  <leeming@lyx.org>
5087
5088         * LColor.h: Add missing #include <string>.
5089
5090 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5091
5092         * All most all file in all subdirs: Make <string> be the prefered
5093         way of getting to std::string, add using declarations.
5094
5095 2003-10-06  André Pönitz  <poenitz@gmx.net>
5096
5097         * metricsinfo.C: initialize LyXFont before changing attribute.
5098         (fixes the 'math in \emph is upright' bug)
5099
5100 2003-10-06  André Pönitz  <poenitz@gmx.net>
5101
5102         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5103
5104 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5105
5106         * graph.C:
5107         * paragraph_pimpl.C: Small fixes to build using STLport
5108
5109 2003-10-02  André Pönitz  <poenitz@gmx.net>
5110
5111         * lyxfunc.C:
5112         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5113
5114 2003-10-01  André Pönitz  <poenitz@gmx.net>
5115
5116         * factory.C: assert early
5117
5118 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5119
5120         * lyx_main.C: remove the global debug object
5121
5122         * debug.h: adjust for new debugstream
5123
5124         * debug.C: adjust for new debugstream and keep the global debug
5125         object here.
5126
5127 2003-09-22  Angus Leeming  <leeming@lyx.org>
5128
5129         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5130         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5131         an incomplete class LyXFont.
5132
5133 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5134
5135         * factory.C: bug fix in branches
5136
5137 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5138
5139         * lyxfunc.C (processKeySym): adjust
5140         (dispatch): adjust
5141         (dispatch): change arg name from ev to func, adjust
5142         (sendDispatchMessage): ditto
5143
5144         * lyx_main.C (defaultKeyBindings): adjust keybindings
5145         (deadKeyBindings): ditto
5146
5147         * kbsequence.C (addkey): return a FuncRequest
5148
5149         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5150
5151         * kbmap.C (bind): take a FuncRequest as arg, adjust
5152         (read): adjust
5153         (lookup): adjust
5154         (defkey): change to take a FuncRequest as arg, adjust
5155         (findbinding): take a FuncRequest as arg, adjust.
5156
5157         * funcrequest.h (operator=): added
5158
5159         * funcrequest.C (FuncRequest): default kb_action changed from
5160         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5161
5162         * buffer.C (dispatch): simplify
5163         (dispatch): adjust to take a FuncRequest as arg, adjust
5164
5165         * boost.C (assertion_failed): change assertion message slightly
5166
5167         * ToolbarBackend.C (read): simplify
5168
5169         * MenuBackend.C (binding): adjust call to findbinding, add a
5170         message if no binding is found.
5171         (read): simplify
5172         (expandToc): correct by adding a empty FuncRequest
5173
5174         * LyXAction.C: include <boost/assert.hpp>
5175         (isPseudoAction): delete function
5176         (LookupFunc): change name to...
5177         (lookupFunc): this. change return type to FuncRequest.
5178         (getActionName): take kb_action as arg, simplify
5179         (funcHasFlag): add an assert, simplify.
5180
5181 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5182
5183         * toc.C (action): return a FuncRequest, simplify
5184
5185         * lyxfunc.C (processKeySym): adjust
5186         (getStatus): delete version that takes an int.
5187         (getStatus): adjust
5188         (dispatch): delete version that takes action as int
5189         (dispatch): adjust
5190         (sendDispatchMessage): simplify and adjust
5191
5192         * funcrequest.C (getArg): take unsigned int as arg
5193
5194         * ToolbarBackend.C (read): adjust
5195         (add): delete version that takes func as a string.
5196         (getIton): take a FuncRequest as arg
5197
5198         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5199         action.
5200
5201         * MenuBackend.C (MenuItem): add a new construct that only takes a
5202         Kind, simplify the constructor use for submenus.
5203         (add): adjust
5204         (expandLastfiles): adjust
5205         (expandDocuments): adjust
5206         (expandFormats): adjust
5207         (expandFloatListInsert): adjust
5208         (expandFloatInsert): adjust
5209         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5210
5211         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5212         Remove class variables lyx_pseudo_map and lyx_arg_map
5213
5214         * LyXAction.C (searchActionArg): delete function
5215         (getPseudoAction): delete function
5216         (retrieveActionArg): delete function
5217         (LookupFunc): make it return kb_action, simplify.
5218         (getActionName): simplify
5219
5220         * factory.C (createInset): fix new bug
5221
5222 2003-09-19  Angus Leeming  <leeming@lyx.org>
5223
5224         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5225         masterFilename_ parameter in the include inset.
5226
5227         * factory.C (createInset): changes due to the changes to InsetInclude.
5228
5229 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5230
5231         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5232
5233 2003-09-18  Angus Leeming  <leeming@lyx.org>
5234
5235         * buffer.C:
5236         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5237         Inset::fillWithBibKeys.
5238         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5239
5240 2003-09-18  Angus Leeming  <leeming@lyx.org>
5241
5242         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5243         variables.
5244         (ctor): pass and store a 'Buffer const &'
5245         (buffer): new member function.
5246
5247         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5248         '*this' to the LaTeXFeatures ctor.
5249
5250 2003-09-18  Angus Leeming  <leeming@lyx.org>
5251
5252         * LColor.h:
5253         * lyxfont.C:
5254         * lyxfont.h:
5255         * lyxtext.h:
5256         * text.C: rename EnumLColor as LColor_color.
5257
5258 2003-09-18  Angus Leeming  <leeming@lyx.org>
5259
5260         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5261         remove #include "insets/insetbase.h" from cursor.h.
5262
5263 2003-09-18  Angus Leeming  <leeming@lyx.org>
5264
5265         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5266         InsetOld_code to remove #include "inset.h".
5267
5268         * iterators.C: add #include "insets/inset.h"
5269
5270 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5271
5272         * BufferView.C: remove more locking stuff that apparently doesn't
5273         do anything sensible.
5274
5275 2003-09-16  André Pönitz  <poenitz@gmx.net>
5276
5277         * paragraph.[Ch]:
5278         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5279           performance boost.
5280
5281 2003-09-16  Angus Leeming  <leeming@lyx.org>
5282
5283         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5284
5285         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5286         arg/return type.
5287
5288         * paragraph.h: remove #include "lyxfont.h". Forward declare
5289         LyXFont_size.
5290
5291 2003-09-16  Angus Leeming  <leeming@lyx.org>
5292
5293         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5294         of support/textutils.h.
5295         (isWord): move the contents of support/textutils.h's IsWordChar here.
5296
5297         * buffer.C:
5298         * lyxfind.C:
5299         * rowpainter.C:
5300         * text.C:
5301         * text2.C: add #include "paragraph.h".
5302
5303         * rowpainter.C:
5304         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5305
5306 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5307
5308         * main.C:
5309         * lyx_main.C:
5310         * lyx_cb.C:
5311         * buffer.C:
5312         * LaTeX.C: use namespace alias for lyx::support::os
5313
5314 2003-09-16  Angus Leeming  <leeming@lyx.org>
5315
5316         * bufferparams.C:
5317         * bufferview_funcs.C:
5318         * factory.C:
5319         * lyxfunc.C:
5320         * paragraph_pimpl.C:
5321         * rowpainter.C:
5322         * text.C: add #include "LColor.h".
5323
5324 2003-09-16  Angus Leeming  <leeming@lyx.org>
5325
5326         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5327         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5328         return LyXFont &.
5329         Store the FontBits::color variable as an int rather than as an
5330         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5331         file.
5332
5333         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5334         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5335         string calls together.
5336
5337         * lyxrc.C: add #include "LColor.h".
5338
5339 2003-09-15  Angus Leeming  <leeming@lyx.org>
5340
5341         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5342         a cow_ptr.
5343
5344 2003-09-15  Angus Leeming  <leeming@lyx.org>
5345
5346         * LColor.h: add an EnumLColor wrapper for LColor::color.
5347
5348         * lyxfont.[Ch] (color, setColor, realColor):
5349         * lyxtext.h, text.C (backgroundColor):
5350         pass EnumLColor args to/from the functions, rather than LColor::color
5351         ones.
5352
5353         * lyxfont.h:
5354         * lyxtext.h: forward declare EnumLColor.
5355
5356         * lyx_main.C: add #include "LColor.h".
5357
5358 2003-09-15  Angus Leeming  <leeming@lyx.org>
5359
5360         * .cvsignore: add lyx-gtk.
5361
5362 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5363
5364         * Chktex.C
5365         * LaTeX.C
5366         * LaTeXFeatures.C
5367         * ParagraphParameters.C
5368         * Spacing.C
5369         * buffer.C
5370         * bufferparams.C
5371         * bufferview_funcs.C
5372         * chset.C
5373         * counters.C
5374         * funcrequest.C
5375         * lyxfont.C
5376         * lyxgluelength.C
5377         * lyxlength.C
5378         * paragraph.C
5379         * paragraph_funcs.C
5380         * text3.C
5381         * vc-backend.C: remove usage of STRCONV
5382
5383 2003-09-15  Angus Leeming  <leeming@lyx.org>
5384
5385         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5386         explicitly define the color passed to the painter.
5387
5388 2003-09-15  Angus Leeming  <leeming@lyx.org>
5389
5390         * bufferparams.C (BufferParams): reorder member initializers to avoid
5391         compiler warning.
5392
5393 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5394
5395         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5396         * text.C (updateRowPositions): remove an unusual nop
5397
5398 2003-09-12  André Pönitz  <poenitz@gmx.net>
5399
5400         * BufferView_pimpl.C:
5401         * Bullet.C:
5402         * layout.h:
5403         * lyxfunc.C:
5404         * lyxlayout.[Ch]:
5405         * lyxtextclass.C:
5406         * rowpainter.C:
5407         * text.C:
5408         * text2.C:
5409         * Counters.[Ch]: finish the 'automatic counters' job
5410
5411 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5412
5413         * aspell.C: include <boost/assert.cpp> (compile fix)
5414
5415 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5416
5417         * boost.C (assertion_failed): use lyx::support::abort instead of
5418         assert.
5419
5420 2003-09-10  Angus Leeming  <leeming@lyx.org>
5421
5422         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5423         with their _fwd progeny.
5424
5425 2003-09-09  Angus Leeming  <leeming@lyx.org>
5426
5427         134 files throughtout the source tree: replace 'using namespace abc;'
5428         directives with the appropriate 'using abc::xyz;' declarations.
5429
5430 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5431
5432         * boost.C (emergencyCleanup): moved here from LAssert.c
5433         (assertion_failed): new function, called by BOOST_ASSERT
5434
5435         * several files: change Assert to BOOST_ASSERT
5436
5437 2003-09-09  Angus Leeming  <leeming@lyx.org>
5438
5439         * buffer.[Ch]: Add an Impl class and move Buffer's member
5440         variables into it. As a result move several header files out of
5441         buffer.h.
5442
5443         Add header files to lots of .C files all over the tree as a result.
5444
5445 2003-09-09  Angus Leeming  <leeming@lyx.org>
5446
5447         * buffer.[Ch]: make Buffer's member variables private. Add
5448         accessor functions.
5449
5450         Lots of changes all over the tree as a result.
5451
5452 2003-09-08  Angus Leeming  <leeming@lyx.org>
5453
5454         * graph.C: #include <config.h>.
5455
5456 2003-09-08  Angus Leeming  <leeming@lyx.org>
5457
5458         * BranchList.C:
5459         * BufferView.C:
5460         * BufferView_pimpl.C:
5461         * CutAndPaste.C:
5462         * DepTable.C:
5463         * LaTeX.C:
5464         * LaTeXFeatures.C:
5465         * LyXAction.C:
5466         * MenuBackend.C:
5467         * TextCache.C:
5468         * aspell.C:
5469         * buffer.C:
5470         * bufferlist.C:
5471         * changes.C:
5472         * chset.C:
5473         * converter.C:
5474         * counters.C:
5475         * debug.C:
5476         * graph.C:
5477         * ispell.C:
5478         * lyx_cb.C:
5479         * lyxfind.C:
5480         * lyxfunc.C:
5481         * lyxlex_pimpl.C:
5482         * lyxrc.C:
5483         * lyxrow.C:
5484         * paragraph.C:
5485         * rowpainter.C:
5486         * texrow.C:
5487         * text.C:
5488         * text2.C:
5489         * toc.C: remove redundant using directives.
5490
5491 2003-09-07  Angus Leeming  <leeming@lyx.org>
5492
5493         * LaTeXFeatures.h: remove #include "support/types.h".
5494         * ToolbarBackend.h: remove #include <algorithm>.
5495         * changes.h: remove #include <ctime>.
5496         * debug.h: remove #include <iosfwd>.
5497         * graph.h: remove #include "support/std_string.h".
5498         * lyx_main.h: remove #include <csignal>.
5499         * lyxlex_pimpl.h: remove #include <fstream>.
5500         * sgml.h: remove #include <algorithm>, <utility>.
5501         * toc.h: remove #include "support/std_ostream.h".
5502         Add #include <iosfwd>.
5503
5504 2003-09-07  Angus Leeming  <leeming@lyx.org>
5505
5506         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5507
5508         * converter.h: forward declare LatexRunParams.
5509         * encoding.h: remove #include "lyxrc.h".
5510         * lyxtext.h: remove #include "LColor.h".
5511         * lyxtextclass.h: remove #include "support/types.h".
5512         * trans.h: remove #include "tex-accent.h".
5513         * trans_mgr.h: remove #include "tex-accent.h".
5514         * insets/inset.h: remove #include "support/types.h", <vector>.
5515         * insets/insetcollapsable.h: remove #include "LColor.h".
5516         * insets/insetinclude.h: remove #include "dimension.h".
5517         * insets/insetlatexaccent.h: remove #include "dimension.h".
5518         * insets/insetoptarg.h:: remove #include "insettext.h".
5519         * insets/insettext.h: remove #include "dimension.h",
5520         <boost/shared_ptr.hpp>
5521
5522         * insets/renderers.h: add #include "dimension.h".
5523         * insets/updatableinset.h: add #include "support/types.h".
5524
5525         * many .C files: Associated changes.
5526
5527 2003-09-06  Angus Leeming  <leeming@lyx.org>
5528
5529         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5530         one, inside testInvariant.
5531
5532         * PrinterParams.C: new file.
5533         * PrinterParams.[Ch]: move the function bodies out of line.
5534
5535 2003-09-06  Angus Leeming  <leeming@lyx.org>
5536
5537         * ParagraphParameters.h: forward declare ParameterStruct rather than
5538         including its header file.
5539         (depth): moved out-of-line.
5540
5541 2003-09-06  Angus Leeming  <leeming@lyx.org>
5542
5543         * BufferView_pimpl.h:
5544         * kbmap.h:
5545         * kbsequence.h:
5546         * lyxfunc.h: forward declare LyXKeySym rather than
5547         #include "frontends/LyXKeySym.h".
5548
5549         * BufferView_pimpl.C:
5550         * kbmap.C:
5551         * kbsequence.C:
5552         * lyxfunc.C: associated changes.
5553
5554 2003-09-06  Angus Leeming  <leeming@lyx.org>
5555
5556         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5557         As a result, can remove the #include "insets/inset.h" from BufferView.h
5558
5559 2003-09-06  Angus Leeming  <leeming@lyx.org>
5560
5561         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5562         As a result, can remove the #include "insets/inset.h" from BufferView.h
5563
5564 2003-09-06  Angus Leeming  <leeming@lyx.org>
5565
5566         * buffer_funcs.C:
5567         * buffer.h:
5568         * bufferlist.C:
5569         * BufferView.C:
5570         * bufferview_funcs.C:
5571         * BufferView_pimpl.C:
5572         * CutAndPaste.C:
5573         * lyx_cb.C:
5574         * lyxfunc.C:
5575         * paragraph.h:
5576         * ParagraphParameters.C:
5577         * tabular.C:
5578         * text3.C:
5579         * toc.C:
5580         * undo_funcs.C:
5581         * frontends/controllers/ControlDocument.C:
5582         * insets/insetcaption.C: rearrange the #includes into some sort of
5583         coherent order.
5584
5585         * buffer.h: remove #includes ErrorList.h, undo.h
5586
5587 2003-09-06  Angus Leeming  <leeming@lyx.org>
5588
5589         * support/types.h: add a 'depth_type' typedef, used to store the
5590         nesting depth of a paragraph.
5591
5592         * paragraph.h:
5593         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5594         defining explicitly.
5595
5596         * buffer.h:
5597         * paragraph_funcs.h:
5598         * ParagraphParameters.h:
5599         * sgml.h: use lyx::depth_type rather than Paragraph or
5600         ParameterStruct's depth_type.
5601
5602         * buffer.h
5603         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5604
5605         * BufferView.C:
5606         * BufferView_pimpl.C:
5607         * CutAndPaste.C:
5608         * ParagraphParameters.C:
5609         * buffer_funcs.C:
5610         * bufferlist.C:
5611         * bufferview_funcs.C:
5612         * lyx_cb.C:
5613         * lyxfunc.C:
5614         * tabular.C:
5615         * text3.C:
5616         * toc.C:
5617         * undo_funcs.C:
5618         * frontends/LyXView.C:
5619         * frontends/controllers/ControlDocument.C:
5620         * frontends/controllers/ControlErrorList.C:
5621         * insets/insetbibitem.C:
5622         * insets/insetbranch.C:
5623         * insets/insetcaption.C:
5624         * insets/insetcollapsable.C:
5625         * insets/insetenv.C:
5626         * insets/insetert.C:
5627         * insets/insetfloat.C:
5628         * insets/insetfoot.C:
5629         * insets/insetfootlike.C:
5630         * insets/insetnewline.C:
5631         * insets/insetquotes.C:
5632         * insets/insettabular.C:
5633         * insets/insettext.C:
5634         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5635
5636         * frontends/controllers/ControlChanges.C: #include "changes.h".
5637
5638 2003-09-06  Angus Leeming  <leeming@lyx.org>
5639
5640         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5641         than #including paragraph.h.
5642
5643         * ParagraphList.h:
5644         * RowList.h: deleted. Superfluous.
5645
5646         * CutAndPaste.h:
5647         * iterators.h:
5648         * lyxcursor.h:
5649         * lyxtext.h:
5650         * text_funcs.h:
5651         * undo.h:
5652         * undo_funcs.h:
5653         * insets/inset.h:
5654         * insets/insettext.h: use ParagraphList_fwd.h rather than
5655         ParagraphList.h.
5656
5657         * paragraph.h: don't forward declare ParagraphList.
5658
5659         * buffer.h:
5660         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5661         rather than ParagraphList.h. paragraph.h is still needed for the
5662         Paragraph::depth_type parameters.
5663
5664         * textcursor.h: enable it to compile stand-alone in light of the
5665         above changes.
5666
5667         * bufferview_funcs.C:
5668         * iterators.C:
5669         * lyxfunc.C:
5670         * lyxrow_funcs.C:
5671         * paragraph.C:
5672         * rowpainter.C:
5673         * text.C:
5674         * text2.C:
5675         * text3.C:
5676         * text_funcs.C:
5677         * textcursor.C:
5678         * undo.C:
5679         * frontends/controllers/ControlParagraph.C:
5680         * frontends/controllers/ControlTabular.C:
5681         * insets/insetmarginal.C:
5682         * insets/insetminipage.C:
5683         * insets/insetnote.C:
5684         * insets/insetoptarg.C: add header files needed to compile again.
5685
5686 2003-09-06  Angus Leeming  <leeming@lyx.org>
5687
5688         * RowList_fwd.h: new file, forward-declaring Row rather than
5689         #including lyxrow.h.
5690
5691         * lyxrow_funcs.h:
5692         * lyxtext.h:
5693         * paragraph.h:
5694         * insets/insettext.h: use it instead of RowList.h
5695
5696         * bufferview_funcs.C:
5697         * lyxfunc.C:
5698         * lyxrow_funcs.C:
5699         * paragraph.C:
5700         * rowpainter.C:
5701         * text.C:
5702         * text2.C:
5703         * text3.C: #include "RowList.h".
5704
5705 2003-09-05  Angus Leeming  <leeming@lyx.org>
5706
5707         * factory.C (createInset):
5708         * vspace.C (c-tor): replace sscanf call with an istringstream.
5709         * ispell.C: re-add missing HP/UX headers.
5710         * lyxserver.C: re-add missing  os2 headers.
5711
5712 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5713
5714         * BranchList.C:
5715         * graph.C:
5716         * ispell.C:
5717         * lastfiles.C:
5718         * lyx_cb.C:
5719         * lyxserver.C:
5720         * texrow.C:
5721         * text3.C: re-add missing system headers, needed for 2.95.2.
5722
5723 2003-09-05  Angus Leeming  <leeming@lyx.org>
5724
5725         Changes most place everywhere due to the removal of using directives
5726         from support/std_sstream.h.
5727
5728 2003-09-05  Angus Leeming  <leeming@lyx.org>
5729
5730         Replace LString.h with support/std_string.h,
5731         Lsstream.h with support/std_sstream.h,
5732         support/LIstream.h with support/std_istream.h,
5733         support/LOstream.h with support/std_ostream.h.
5734
5735         Changes resulting throughout the tree.
5736
5737 2003-09-05  Angus Leeming  <leeming@lyx.org>
5738
5739         * sgml.h: ensure that the header file can be compiled stand-alone.
5740         * *.C: strip out redundant #includes. (320 in total.)
5741
5742 2003-09-04  Angus Leeming  <leeming@lyx.org>
5743
5744         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5745         here (from getPackages).
5746
5747         * debug.[Ch]: add a new EXTERNAL tag.
5748
5749 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5750
5751         * text2.C (cursorEnd): simplify
5752         (setCursor): adjust
5753         (getColumnNearX): adjust
5754
5755         * text.C (computeBidiTables): adjust
5756         (fill): adjust
5757
5758         * rowpainter.C (paintChars): adjust
5759         (paintSelection): adjust
5760         (paintChangeBar): adjust
5761         (paintText): adjust
5762
5763         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5764         lastPos instead.
5765         (numberOfSeparators): adjust
5766
5767 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5768
5769         * LyXAction.C:
5770         * box.[Ch]:
5771         * lfuns.h:
5772         * lyxfunc.C:
5773         * text3.C: Restricts the mouse click functionality
5774         of insets like bibtex, include, toc and floatlist to the visible
5775         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5776         up the dialogs. Cursor has to be in front of the inset (i.e.
5777         start of row) for this to function.
5778
5779 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5780
5781         * bufferview_funcs.C (currentState): output row information
5782
5783 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5784
5785         * bufferview_funcs.C (currentState): output paragraph position
5786
5787 2003-09-04  Angus Leeming  <leeming@lyx.org>
5788
5789         * FloatList.h: move out #include "Floating.h".
5790         * LaTeX.h: move out #include "DepTable.h".
5791         * LyXAction.h: move out #include "funcrequest.h".
5792         * buffer.h: move out #include "author.h", "iterators.h".
5793         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5794         * lyx_main.h: move out #include "errorlist.h".
5795         * lyxfunc.h: move out #include "FuncStatus.h".
5796         * lyxtext: move out #include "lyxcursor.h".
5797         * paragraph_pimpl.h: move out #include "counters.h".
5798
5799 2003-09-03  Angus Leeming  <leeming@lyx.org>
5800
5801         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5802         preamble_snippets list, enabling us to add snippets to the preamble
5803         only if the snippet was not there already.
5804
5805 2003-09-04  Angus Leeming  <leeming@lyx.org>
5806
5807         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5808
5809 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5810
5811         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5812         update
5813
5814 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5815
5816         * BranchList.C: point fix, earlier forgotten
5817
5818 2003-09-02  Angus Leeming  <leeming@lyx.org>
5819
5820         * box.C (contains): renamed from 'contained' after a fantastic
5821         amount of hot air.
5822
5823 2003-09-02  John Levon  <levon@movementarian.org>
5824
5825         * BufferView.C:
5826         * lyxcursor.h:
5827         * lyxcursor.C:
5828         * lyxfunc.C:
5829         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5830
5831 2003-09-02  John Levon  <levon@movementarian.org>
5832
5833         * text2.C: simplification of cursorEnd(), including partial
5834         fix for bug 1376
5835
5836 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5837
5838         * buffer.C (readFile): add a space
5839
5840 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5841
5842         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5843
5844 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5845
5846         * buffer.C (readFile): new function, take a filename and a
5847         ParagraphList::iterator
5848         (readFile): adjust
5849         (readFile): adjust, make it private. don't use setStream, make
5850         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5851         always contain the filename.
5852
5853         * BufferView.C (insertLyXFile): simplify and make it work for
5854         gzipped files.
5855
5856 2003-08-30  John Levon  <levon@movementarian.org>
5857
5858         * Makefile.am: fix dist (from Kayvan)
5859
5860 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5861
5862         * most files: change to use const Buffer refs
5863
5864 2003-08-27  André Pönitz  <poenitz@gmx.net>
5865
5866         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5867         on top of ownerPar().
5868
5869 2003-08-27  John Levon  <levon@movementarian.org>
5870
5871         * funcrequest.C: properly initialise POD members
5872
5873 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5874
5875         * lyxtext.h (top_y): move top_y from here
5876         * text.C:
5877         * text2.C:
5878         * text3.C:
5879         * BufferView.[Ch]:
5880         * BufferView_pimpl.[Ch]: to here
5881         * frontends/screen.C:
5882         * insets/insettabular.C:
5883         * insets/insettext.C: adjust
5884         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5885
5886 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5887
5888         * BufferView.[Ch]:
5889         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5890
5891 2003-08-26  André Pönitz  <poenitz@gmx.net>
5892
5893         * paragraph_func.[Ch] (outerPar): new function
5894
5895         * paragraph.C:
5896         * paragraph_funcs.C:
5897         * paragraph_funcs.h:
5898         * paragraph_pimpl.C:
5899         * text2.C: remove Inset::par_owner
5900
5901 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5902
5903         * lyxrow_funcs.C:
5904         * lyxtext.h:
5905         * text.C:
5906         * text2.C: eliminates the needFullRow/display() stuff
5907         altogether, putting the logic in metrics/draw in the insets.
5908
5909 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5910
5911         * text2.C (redoParagraphInternal, redoParagraphs):
5912         * text.C (redoParagraph): add a call to updateRowPositions at the
5913         end of each 'metrics-like' call. Remove all others.
5914         (getRow): remove the 'y-computing' version.
5915         (getRowNearY): do not compute nor return the real y. Solve the
5916         'y < 0' problem and simplify.
5917
5918 2003-08-22  Angus Leeming  <leeming@lyx.org>
5919
5920         * *.[Ch]: clean-up of licence and author blurbs.
5921         Also move config.h out of a few .h files and into a few .C files.
5922
5923 2003-08-22  André Pönitz  <poenitz@gmx.net>
5924
5925         * lyxrow.[Ch]: add x_ and *fill_ members
5926
5927         * lyxtext.h:
5928         * text.C:
5929         * rowpainter.C:
5930         * text2.C: adjust/remove prepareToPrint() calls
5931
5932 2003-08-22  André Pönitz  <poenitz@gmx.net>
5933
5934         * lyxrow.[Ch]: add  end_ member
5935
5936         * lyxrow_funcs.C: use LyXRow::end_
5937
5938         * lyxtext.h (singleWidth): add LyXFont parameter
5939
5940         * rowpainter.C:
5941         * text2.C: adjust LyXText::singleWidth() calls
5942
5943         * text.C (redoParagraph): simplify row breaking logic
5944
5945
5946 2003-08-19  André Pönitz  <poenitz@gmx.net>
5947
5948         * funcrequest.C: initialize button_ member
5949
5950         * text3.C:
5951         * rowpainter.[Ch]: interface consolidation
5952
5953 2003-08-18  André Pönitz  <poenitz@gmx.net>
5954
5955         * BufferView.C:
5956         * BufferView_pimpl.C:
5957         * lyxfind.C:
5958         * paragraph_funcs.C:
5959         * rowpainter.C:
5960         * text3.C: remove LyXScreen::draw() and fitCursor calls
5961
5962         * BranchList.h: remove spurious semicolons
5963
5964         * MenuBackend.C: fix branchlist related crash
5965
5966 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5967
5968         * BranchList.[Ch]:
5969         * InsetList.[Ch]:
5970         * LColor.[Ch]:
5971         * LyXAction.C:
5972         * Makefile.am:
5973         * MenuBackend.[Ch]:
5974         * bufferparams.[Ch]:
5975         * factory.C:
5976         * lfuns.h:
5977         * lyxfunc.C:
5978         * text3.C: implements the 'branch inset'
5979         idea. This allows the output of various versions of a document
5980         from a single source version, selectively outputing or suppressing
5981         output of parts of the text.
5982         This implementation contains a 'branch list editor' in a separate
5983         tab of the document settings dialog. Branches are user definable
5984         and have a "display colour" to distinguish them on-screen.
5985
5986         ColorHandler was somewhat cleaned up.
5987         (1) make possible a dynamically growing LColor list by allowing
5988         the graphic context cache to grow along (vector);
5989         (2) eliminate an IMHO unnecessary step in colour allocation.
5990
5991 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5992
5993         * BufferView_pimpl.C: compile fix
5994
5995 2003-08-15  André Pönitz  <poenitz@gmx.net>
5996
5997         * rowpainter.C: remove extra metrics calls
5998
5999         * lyxtext.h: merge the two constructors into a single one,
6000           pass reference to owner's par list
6001
6002         * BufferView_pimpl.C:
6003         * text.C:
6004         * text2.C: adjust
6005
6006 2003-08-15  André Pönitz  <poenitz@gmx.net>
6007
6008         * lyxrow_funcs.[Ch]:
6009         * lyxtext.h:
6010         * paragraph.h:
6011         * paragraph_funcs.C:
6012         * rowpainter.C:
6013         * text.C:
6014         * text2.C:
6015         * text3.C:
6016         * text_funcs.C: split LyXText::rowlist_ into individual
6017         Paragraph::rows_ chunks
6018
6019         * BufferView.[Ch]:
6020         * BufferView_pimpl.[Ch]:
6021         * lyxfind.C:
6022         * lyxtext.h:
6023         * text3.C: remove toggleSelection()
6024
6025 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6026
6027         * bufferlist.C: beautify two alerts (shorter text of buttons)
6028         * buffer.C: Remove redundant ' ' from message
6029         * tabular.h:
6030         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6031         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6032         rename VALIGN_CENTER to VALIGN_MIDDLE
6033
6034 2003-08-11  André Pönitz  <poenitz@gmx.net>
6035
6036         * lyxtext.h (getPar):
6037         * text.C: new function
6038
6039 2003-08-11  André Pönitz  <poenitz@gmx.net>
6040
6041         * Makefile.am:
6042         * tracer.[Ch]: remove unneeded files
6043
6044         * InsetList.[Ch]: remove resizeInsetsLyXText()
6045
6046         * lyxtext.h:
6047         * text.C:
6048         * text2.C:
6049         * text3.C: merge insertParagraphs() and appendParagraph()
6050         remove breakAgain(), update()
6051
6052         * BufferView_pimpl.[Ch]:
6053         * bufferview_funcs.[Ch]:
6054         * lyxfunc.C:
6055         * paragraph.[Ch]:
6056         * rowpainter.C:
6057         * tabular.C: adjust after text & InsetList changes.
6058
6059 2003-08-08  André Pönitz  <poenitz@gmx.net>
6060
6061         * text.C (insertChar, backspace): replace rowlist fiddling
6062         with rebreak of full par
6063
6064         * lyxtext.h:
6065         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6066         checkParagraph, updateInset): removed
6067
6068 2003-08-07  André Pönitz  <poenitz@gmx.net>
6069
6070         * paragraph.C:
6071         * text3.C: merge some LFUN handlers, remove dead code
6072
6073 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6074
6075         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6076
6077 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6078
6079         * text2.C (DEPM): fix part of bug 1255 and 1256
6080
6081 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6082
6083         * BufferView_pimpl.C (workAreaDispatch): change to use
6084         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6085         that are no mouse related.
6086
6087 2003-08-05  André Pönitz  <poenitz@gmx.net>
6088
6089         * BufferView.[Ch]:
6090         * BufferView_pimpl.[Ch]:
6091         * bufferview_funcs.C:
6092         * text2.C:
6093         * text3.C: rip out "deep update"
6094
6095         * textcursor.[Ch] (last_sel_cursor): remove unused member
6096
6097 2003-08-04  André Pönitz  <poenitz@gmx.net>
6098
6099         * BufferView.[Ch]:
6100         * BufferView_pimpl.[Ch]:
6101         * ParagraphParameters.C:
6102         * bufferview_funcs.C:
6103         * lyx_cb.C:
6104         * lyxfind.C:
6105         * lyxfunc.C:
6106         * text.C:
6107         * text2.C:
6108         * text3.C: replace "complicated" BufferView::update(...) calls with
6109         simpler ones.
6110
6111         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6112
6113 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6114
6115         * Makefile.am (lyx_SOURCES): add paper.h
6116
6117 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6118
6119         * Makefile.am: move things around so that both lyx-qt and
6120         lyx-xforms can be built (according to --with-frontend). Then lyx
6121         is a symbolic link to lyx-[firstfrontend]
6122
6123 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6124
6125         * Always use std::endl with lyxerr
6126
6127 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6128
6129         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6130
6131 2003-08-01  André Pönitz  <poenitz@gmx.net>
6132
6133         * BufferView.[Ch]:
6134         * BufferView_pimpl.[Ch]:
6135         * lyxfunc.C:
6136         * text3.C: merge BufferView::repaint() and BufferView::update()
6137
6138 2003-08-01  José Matos  <jamatos@lyx.org>
6139
6140         * buffer.[Ch]: file_format is no longer a buffer data element.
6141
6142 2003-08-01  André Pönitz  <poenitz@gmx.net>
6143
6144         * BufferView.C:
6145         * lyxtext.h:
6146         * text.C:
6147         * text2.C: make redoParagraph more independent of current cursor
6148
6149         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6150         * text.C:
6151         * text2.C: remove unneeded members
6152
6153 2003-07-30  André Pönitz  <poenitz@gmx.net>
6154
6155         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6156
6157         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6158           create a single function...
6159
6160         * paragraph_funcs.C (moveItem): ... here.
6161
6162         * text.C:
6163           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6164
6165 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6166
6167         * LColor.[Ch]: Add comment and greyedout logical colors.
6168
6169 2003-07-30  André Pönitz  <poenitz@gmx.net>
6170
6171         * tabular.C: don't use Assert too heavily. This crashes where it
6172           shouldn't
6173
6174 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6175
6176         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6177         is disabled (bug 1232)
6178
6179 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6180
6181         * factory.C: limited 'arg' scope
6182
6183 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6184
6185         * factory.C: fixed Note submenu issues
6186
6187 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6188
6189         * factory.C: submenu for Note/Comment/Greyedout
6190
6191 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6192
6193         * lyx_main.C (LyX):
6194         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6195
6196 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6197
6198         * LaTeXFeatures.C:
6199         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6200         greyedout. Patch provided by Jürgen Spitzmüller.
6201
6202 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6203
6204         * kbmap.C (read): fix error message when reading bind files
6205
6206 2003-07-29  Angus Leeming  <leeming@lyx.org>
6207
6208         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6209         certainly does not do what it purports to do. I am doing it, and
6210         us, a favour by killing it.
6211
6212 2003-07-28  José Matos  <jamatos@lyx.org>
6213
6214         * buffer.C (readBody, do_writeFile):
6215         * paragraph.C(readParagraph): \end_document replaces \the_end.
6216
6217 2003-07-29  André Pönitz  <poenitz@gmx.net>
6218
6219         * BufferView.[Ch]:
6220         * BufferView_pimpl.[Ch]:
6221         * lyxfunc.C:
6222         * text2.C:
6223         * text3.C:
6224         * textcursor.[Ch]: remove toggleToggle & Co
6225
6226 2003-07-28  José Matos  <jamatos@fep.up.pt>
6227
6228         * buffer.C (readParagraph):
6229         * params_func (readParToken, readParagraph):
6230         * paragraph.C (write): \layout -> \begin_layout.
6231
6232 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6233
6234         * lyxlex_pimpl.C (setFile): clean up slightly.
6235
6236         * bufferparams.h: add compressed var
6237
6238         * buffer_funcs.C (readFile): adjust for LyXLex change
6239         (newFile): ditto + simplify
6240
6241         * buffer.C (writeFile): handle writing of compressed files
6242
6243         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6244         Check if the file is compressed and set a bufferparm if so.
6245
6246         * Makefile.am (lyx_LDADD): remove explicit -lz
6247
6248 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6249
6250         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6251         makeDocBookFile): put the real LyX version in the first line of
6252         the file
6253
6254         * version.h:
6255         * version.C.in: remove lyx_docversion
6256
6257         * tabular.C (write_attribute): add a template-based version to
6258         write enums properly
6259
6260 2003-07-28  André Pönitz  <poenitz@gmx.net>
6261
6262         * lyxtext.h:
6263         * text.C:
6264         * text2.C:
6265         * text3.C: use doubles again for x-coordinates. They are needed.
6266
6267 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * messages.C (getLocaleDir): use lyx_localedir()
6270
6271         * lyxlex_pimpl.C (setFile): compress stuff
6272
6273         * buffer.C (writeFile): add some compression stuff
6274         (do_writeFile): new func, dont call expliti close... will this
6275         breake anything?
6276
6277         * Makefile.am (lyx_LDADD): add -lz
6278
6279 2003-07-28  José Matos  <jamatos@fep.up.pt>
6280
6281         * buffer.C: increment file format.
6282         * paragraph_funcs (readParagraph, readParToken):
6283         * paragraph.C (readParagraph): add \end_layout.
6284
6285 2003-07-27  Angus Leeming  <leeming@lyx.org>
6286
6287         * Makefile.am: remove special casing for configure-time setting of
6288         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6289
6290         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6291         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6292
6293 2003-07-26  André Pönitz  <poenitz@gmx.net>
6294
6295         * paragraph_func.[Ch]:
6296         * paragraph.C (realizeFont): inline it whereever it is used
6297
6298         * rowpainter.C:
6299         * text.C:
6300         * text2.C:
6301         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6302
6303
6304 2003-07-26  André Pönitz  <poenitz@gmx.net>
6305
6306         *       lyxtext.h:
6307         * text.C:
6308         * text2.C: get rid of LyXText::need_break_row
6309
6310 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6311
6312         * toc.[Ch]: put namespace toc inside namespace lyx
6313
6314         * MenuBackend.C (expandToc2): adjust for lyx::toc
6315         (expandToc): ditto
6316
6317         * lyxfunc.C (dispatch): adjust for lyx::find
6318
6319         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6320         lyx::find instead. Reorganize a bit.
6321         (LyXReplace): rename to replace
6322         (LyXFind): rename to find
6323
6324         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6325         (dispatch): ditto
6326
6327 2003-07-26  André Pönitz  <poenitz@gmx.net>
6328
6329         * text.C (setHeightOfRow): restrict scope of temporary variable
6330
6331         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6332           code (never has been used?)
6333
6334 2003-07-27  Asger Alstrup  <alstrup@local>
6335
6336         * text.C (fill): Optimise algorithm to exploit that we can reuse
6337         the LyXFont for many characters.
6338         (setHeightOfRow): Same thing.
6339         (rowBreakPoint): Same thing.
6340
6341 2003-07-26  Asger Alstrup  <alstrup@local>
6342
6343         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6344
6345         * text.C (singleWidth): Spurious font copying in hot-spot
6346         singleWidth avoided. Reorder tests for arabic for efficiency.
6347
6348         * text.C (fill): handle empty paragraphs better.
6349
6350 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6351
6352         * ispell.C:
6353         * encoding.h: add includes
6354
6355         * lyxrc.C: remove reading of bind files
6356
6357         * lyx_main.C (init): setup bindings and menus only if we have a
6358         gui.
6359
6360         * kbmap.C (read): new method. Do the actual reading of bind
6361         files.
6362
6363         * converter.C (dvipdfm_options):
6364         * bufferparams.C:
6365         * lyxrc.C (read):
6366         (output): adapt PAPER_* enums.
6367
6368         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6369
6370         * bufferparams.h: remove paper-related enums from there
6371
6372         * paper.h: New file. A trivial header file to hold paper-related
6373         enums. It should later expand to contain many paper-related
6374         horrors access.
6375
6376         * lyxrc.C: declare extern displayTranslator
6377
6378 2003-07-27  José Matos  <jamatos@fep.up.pt>
6379
6380         * tabular.[Ch] (linuxdoc): add support for tables and figures
6381         (linuxdoc).
6382
6383 2003-07-27  José Matos  <jamatos@fep.up.pt>
6384
6385         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6386         consistency in both functions.
6387         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6388
6389 2003-07-26  Asger Alstrup  <alstrup@local>
6390
6391         * rowpainter.C (paintRows): Change algorithm to work directly on
6392         the insets rather than asking every character in the document
6393         whether its an inset.
6394
6395 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6396
6397         * buffer.C (openFileWrite): factorize some code
6398
6399 2003-07-26  Angus Leeming  <leeming@lyx.org>
6400
6401         * lyx_cb.C:
6402         * lyx_main.[Ch]: replace occurances of system_tempdir with
6403         os::getTmpDir().
6404
6405 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6406
6407         * rename Inset to InsetOld
6408
6409 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6410
6411         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6412         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6413         which I think is a bit clearer. EDIT is gone, since it was
6414         premature optimisation, and broken for mathed anyway.
6415         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6416         with cursor positioning in insets as well (math insets still do not
6417         work, but that's a different story anyway.) It mysteriously
6418         crashes sometimes with undo in the first paragraph, but I'm fairly
6419         confident that this is a compiler bug.
6420
6421 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6422
6423         * paragraph.C (Paragraph): adjust for new clone return type
6424         (operator==): ditto
6425         (copyIntoMinibuffer): ditto
6426
6427 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6428
6429         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6430         by not having a special case, and always doing a full rebreak of
6431         the document after undo.
6432
6433 2003-07-23  Angus Leeming  <leeming@lyx.org>
6434
6435         * factory.C (createInset): InsetExternal::setParams now takes a
6436         Buffer const * arg.
6437
6438 2003-07-23  Angus Leeming  <leeming@lyx.org>
6439
6440         * factory.C (createInset): changed interface to the external and
6441         graphics mailers' string2params functions.
6442
6443 2003-07-23  Angus Leeming  <leeming@lyx.org>
6444
6445         * factory.C (createInset): pass a
6446         Buffer const * parameter to InsetExternalMailer's string2params.
6447
6448 2003-07-22  John Levon  <levon@movementarian.org>
6449
6450         * Thesaurus.h: include the right aiksaurus header
6451
6452 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6453
6454         * MenuBackend.C (expand): check menu shortcuts unconditionally
6455
6456 2003-07-21  Angus Leeming  <leeming@lyx.org>
6457
6458         * factory.C (createInset): pass a
6459         buffer_path parameter to InsetGraphicsMailer's string2params.
6460
6461 2003-07-21  Angus Leeming  <leeming@lyx.org>
6462
6463         * BufferView_pimpl.C (buffer):
6464         * buffer.C (d-tor):
6465         * lyx_main.C (LyX):
6466         * lyxfunc.C (dispatch):
6467         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6468         rather than the grfx shortcut.
6469
6470 2003-07-21  André Pönitz  <poenitz@gmx.net>
6471
6472         * rowpainter.C: remove unused variables
6473
6474         * tabular_funcs.C:
6475         * tabular_funcs.h: move to tabular.C
6476         * Makefile.am: adjust
6477
6478         * tabular.[Ch]: basic optical cleaning
6479
6480         * author.h: pass references, not values
6481
6482 2003-07-18  André Pönitz  <poenitz@gmx.net>
6483
6484         * lyxtext.h:
6485         * metricsinfo.C:
6486         * metricsinfo.h:
6487         * rowpainter.C:
6488         * text.C:
6489         * text2.C:
6490         * text3.C: two-phase drawing for InsetText and InsetTabular
6491         some float -> int changes.
6492
6493 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6494
6495         * lyx_main.C: fix the fix
6496
6497 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6498
6499         * lyx_main.C: fix a crash in batch mode if no files specified
6500         * converter.C: ws
6501
6502 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6503
6504         * format.[Ch] (papersize): moved to BufferParams
6505         * converter.[Ch] (dvips_options): moved to BufferParams
6506         (dvipdfm_options): moved to anon namespace
6507         * bufferparams.[Ch]: added above functions.
6508
6509 2003-07-17  André Pönitz  <poenitz@gmx.net>
6510
6511         * lyxtext.h:
6512         * rowpainter.C:
6513         * text2.C: don't call inset->update() anymore
6514
6515         * metricsinfo.[Ch]: add convenience constructor
6516
6517 2003-07-16  André Pönitz  <poenitz@gmx.net>
6518
6519         * lyxcursor.[Ch]:
6520         * lyxfunc.[Ch]:
6521         * text.C:
6522         * text2.C: replace the LyXCursor::irow_ member with
6523          on-demand computation of the value
6524
6525 2003-07-16  John Levon  <levon@movementarian.org>
6526
6527         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6528
6529 2003-07-15  André Pönitz  <poenitz@gmx.net>
6530
6531         * text.C:
6532         * text2.C: remove no more needed refresh_row
6533
6534 2003-07-15  André Pönitz  <poenitz@gmx.net>
6535
6536         * lyxtext.h:
6537         * rowpainter.C:
6538         * text2.C:
6539         * text3.C: refresh_status tristate -> need_update bool
6540
6541 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6542
6543         * lyxtext.h (init): remove reinit argument (act as if always true)
6544         * text2.C: adjust to that
6545
6546 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6547
6548         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6549         * text3.C: use it to delete selections in some cases
6550         (bugs 441, 673, 702, 954).
6551
6552 2003-07-14  André Pönitz  <poenitz@gmx.net>
6553
6554         * rowpainter.[Ch]: reduce interface
6555
6556 2003-07-14  André Pönitz  <poenitz@gmx.net>
6557
6558         * BufferView_pimpl.C:
6559         * text2.C: adjust after removing unused BufferView * argument
6560
6561 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6562
6563         * text2.C (init): fix a crash fired on resize
6564
6565 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6566
6567         * buffer.[Ch]: added new closing signal
6568         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6569         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6570         BufferView::Pimpl via the closing the signal
6571
6572 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6573
6574         * buffer.[Ch]: take out all bv-related from buffer
6575         * BufferView.C:
6576         * BufferView_pimpl.[Ch]: connect to new signals
6577         * CutAndPaste.C: removed useless asserts
6578         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6579         * lyxvc.[Ch]:
6580         * vc-backend.[Ch]:
6581         * lyxfunc.C: moved view-related funciontality from vc here
6582         * paragraph.C: removed outdated comments
6583         * text.C: ws
6584
6585 2003-07-10  André Pönitz  <poenitz@gmx.net>
6586
6587         * BufferView_pimpl.C:
6588         * tabular.h:
6589         * tabular_funcs.C:
6590         * text.C:
6591         * text2.C: remove InsetText::InnerCache, clean up consequences
6592
6593 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6594
6595         * ispell.C: fix two typos in error messages
6596
6597 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6598
6599         * Extend Note inset to other forms of annotation like Comment
6600         and Greyedout. Right button click gives dialog.
6601
6602         Files modified or added (+):
6603
6604         * insetnote.[Ch]
6605         * FormNote.[Ch]      +
6606         * ControlNote.[Ch]   +
6607         * form_note.fd       +
6608         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6609         frontends/controllers
6610         * xforms/Dialogs.C
6611         * factory.C
6612
6613 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6614
6615         * aspell.C: add missing namespace lyx::support
6616
6617 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6618
6619         * BufferView.[Ch] (newFile): Add
6620         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6621         * LaTeX.[Ch] (message): added this signal and use it
6622         * buffer.[Ch] (busy, message): added these signals and use them
6623         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6624         * converter.C:
6625         * exporter.C:
6626         * format.C:
6627         * importer.C: use buffer signals instead of direct bv calling
6628         * lyx_cb.[Ch] (ShowMessage): removed
6629         * lyx_main.C:
6630         * lyxfunc.C:
6631         * paragraph_funcs.C:
6632         * text2.C: use buffer signals
6633
6634 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6635
6636         * introduce namespace lyx::graphics
6637
6638 2003-07-02  André Pönitz  <poenitz@gmx.net>
6639
6640         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6641
6642 2003-07-01  André Pönitz  <poenitz@gmx.net>
6643
6644         * text.C:
6645         * text2.C:
6646         * text3.C:
6647         * text_funcs.[Ch]:
6648         * textcursor.h:
6649         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6650           text*.C to text_func.C
6651
6652 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6653
6654         * introduce namespace lyx::support
6655
6656 2003-06-30  André Pönitz  <poenitz@gmx.net>
6657
6658         * Chktex.C:
6659         * funcrequest.C:
6660         * lyxtext.h:
6661         * text.C: re-enable --with-included-string
6662
6663 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6664
6665         * textcursor.C: add <config.h>
6666
6667         * text.C (getWord): remove const from word_location arg
6668
6669         * lyxvc.C (getLogFile): fix const type order
6670
6671         * lyxtext.h: remove const from word_location arg, add arg name
6672
6673         * lyxlayout.h: currect type on labeltype.
6674
6675         * importer.C: correct \file
6676
6677         * converter.C (intToFormat): use std:: on ret val, ws changes
6678
6679         * bufferlist.h: correct \file
6680
6681         * buffer.C (makeLinuxDocFile): fix const type order
6682         (makeDocBookFile): ditto
6683         (fillWithBibKeys): use std:: on stdlib args.
6684
6685         * CutAndPaste.C: fix authors.
6686         (availableSelections): use std:: on return vector
6687
6688 2003-06-27  André Pönitz  <poenitz@gmx.net>
6689
6690         * BufferView_pimpl.C:
6691         * bufferview_funcs.C:
6692         * lyxcursor.C:
6693         * lyxcursor.h:
6694         * lyxfunc.C:
6695         * lyxtext.h:
6696         * rowpainter.C:
6697         * text.C:
6698         * text2.C:
6699         * text3.C: remove LyXCursor::row_ member
6700
6701         * lyxtext.h:
6702         * text.C: rename fullRebreak() to partialRebreak() and implement
6703           a fullRebreak() that really bereks fully
6704
6705         * textcursor.h: new struct for cursor-related data
6706
6707 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6708
6709         * lyx_main.C (LyX): get full path of document loaded on the
6710         command line
6711
6712 2003-06-26  André Pönitz  <poenitz@gmx.net>
6713
6714         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6715           remove unused/broken operator>,<,>=.
6716
6717         *       text.C: remove only use of broken operator<= in an Assert().
6718
6719 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6720
6721         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6722         moved errorlist_.clear to showErrorList
6723
6724 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6725
6726         * converter.C (scanLog, runLaTeX):
6727         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6728         move the bv->showErrorList call to the callers
6729         * lyxfunc.C: i.e. here...
6730         * text2.C: and here
6731         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6732         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6733         namespace, the second to...
6734         * buffer_funcs (BufferFormat, parseErrors): added
6735         * errorlist.C (ErrorList(TeXErrors const &)): removed
6736
6737 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6738
6739         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6740
6741 2003-06-24  "Garst R. Reese" <reese@isn.net>
6742
6743         * debug.C: fix typo
6744
6745 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6746
6747         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6748
6749         * version.C.in: change docversion to 1.4
6750
6751 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6752
6753         * buffer.C: fix a bug just introduced
6754
6755 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6756
6757         * buffer.[Ch]: added the parseError signal and use it, removed
6758         sgmlError
6759         * BufferView.[Ch] (addError): moved to ...
6760         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6761         to the Buffer::parseError signal to catch (guess what) parse errors
6762         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6763
6764 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6765
6766         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6767         ability to create a buffer and to return an existing one from
6768         the list. Moved these functions to...
6769         * buffer_funcs.[Ch]: added
6770         * BufferView.[Ch] (loadLyXFile): added
6771         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6772         job removed from bufferlist::loadLyXFile.
6773         * buffer.C (setReadOnly): make it work without view
6774         (i.e added an if (users))
6775
6776 2003-06-19  Angus Leeming  <leeming@lyx.org>
6777
6778         * lfuns.h:
6779         * LyXAction.C (init):
6780         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6781         with LFUN_DIALOG_SHOW <name> <data>.
6782
6783 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6784
6785         * CutAndPaste.C (availableSelections): small compilation fix for
6786         ancient (gcc 2.9x) compilers
6787
6788 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6789
6790         * text3.C (cursorNext): add tmp var
6791
6792         * text2.C (updateCounters): for function calling out of for clause
6793         (replaceSelectionWithString): ditto
6794         (insertStringAsParagraphs): ditto
6795         (getColumnNearX): add tmp var
6796         (setCursorFromCoordinates): add tmp var
6797         (cursorDownParagraph): add tmp var
6798         (deleteEmptyParagraphMechanism): add tmp var
6799
6800         * text.C (insertChar): add tmp var
6801
6802         * rowpainter.C (paintDepthBar): add tmp var
6803
6804         * CutAndPaste.C (availableSelections): potentially check all
6805         paragraphs in a cut to fill the shown strings.
6806
6807 2003-06-18  André Pönitz  <poenitz@gmx.net>
6808
6809         * kbmap.[Ch]: use vector<> instead of list<>
6810
6811 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6812
6813         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6814         pasteSelection with index
6815
6816         * text2.C (pasteSelection): modify, call pasteSelection with index
6817
6818         * paragraph.C (asString): reimplement version with no interval to
6819         call the one with interval.
6820
6821         * lyxtext.h: add index arg to pasteSelection
6822
6823         * MenuBackend.C (MenuItem): handle PasteRecent
6824         (Menu::read::Menutags): add md_pasterecent
6825         (read): handle it
6826         (expandPasteRecent): new function
6827         (expand): use it
6828
6829         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6830
6831         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6832         the limited stack
6833         (availableSelections): new function
6834
6835 2003-06-17  Angus Leeming  <leeming@lyx.org>
6836
6837         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6838
6839 2003-06-17  Angus Leeming  <leeming@lyx.org>
6840
6841         * lfuns.h:
6842         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6843
6844         * lyxfunc.C (dispatch): invoke it.
6845
6846 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6847
6848         * iterators.C (operator++, ParPosition): reintroduce some
6849         const_cast for the benefit of older compilers.
6850
6851 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6852
6853         * text3.C (dispatch): do not modify clipboard when doing
6854         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6855         LFUN_DELETE_SKIP on a selection selection
6856
6857 2003-06-16  André Pönitz  <poenitz@gmx.net>
6858
6859         * BufferView.C:
6860         * buffer.C:
6861         * buffer.h:
6862         * paragraph.C:
6863         * tabular.[Ch]: IU of clone() and getLabelList();
6864
6865 2003-06-13  André Pönitz  <poenitz@gmx.net>
6866
6867         * tabular.h: compactification
6868
6869 2003-06-12  André Pönitz  <poenitz@gmx.net>
6870
6871         * tabular.C:
6872         * tabular.h:
6873         * tabular_funcs.h: some renaming plus whitespace
6874
6875 2003-06-12  André Pönitz  <poenitz@gmx.net>
6876
6877         * BufferView.C:
6878         * BufferView_pimpl.C:
6879         * CutAndPaste.C:
6880         * buffer.C:
6881         * iterators.[Ch]:
6882         * lyxfunc.C:
6883         * text.C:
6884         * toc.C: Return a Paragraph & for ParIterator::operator*()
6885
6886 2003-06-11  John Levon  <levon@movementarian.org>
6887
6888         * lyx_main.C:
6889         * ToolbarBackend.h:
6890         * ToolbarBackend.C: add "Toolbars" section and
6891         put the flags there
6892
6893 2003-06-10  Angus Leeming  <leeming@lyx.org>
6894
6895         * lfuns.h:
6896         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6897
6898         * lyxfunc.C (dispatch): invoke it.
6899
6900 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6901
6902         * main.C: protect <ios> with HAVE_IOS
6903         (main): protect sync_with_stdio with HAVE_IOS
6904
6905 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6906
6907         * text2.C (cutSelection): adjust
6908         (pasteSelection): adjust
6909
6910         * messages.C: handle get of empty string
6911
6912         * main.C (main): use sync_with_stdio(false)
6913
6914         * lyxfunc.C (dispatch): adjust
6915
6916         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6917         (WriteAs): remove unneeded BufferView arg.
6918
6919         * bufferparams.h: use correct types on papersize, papersize2 and
6920         paperpackage.
6921
6922         * bufferparams.C (readToken): adjust for type
6923         (writeLaTeX): add missing cases to switch.
6924
6925         * bufferlist.C (quitWriteBuffer): adjust
6926         (close): adjust
6927
6928         * buffer.C (asciiParagraph): remove some commented code.
6929
6930         * CutAndPaste.C: remove current_view extern variable.
6931         (cutSelection): add BufferParams arg.
6932         (eraseSelection): add BufferParams arg.
6933         (pasteSelection): add Buffer const & arg
6934
6935 2003-06-07  John Levon  <levon@movementarian.org>
6936
6937         * buffer.C:
6938         * paragraph_funcs.C:
6939         * paragraph_pimpl.C:
6940         * text.C:
6941         * text2.C:
6942         * paragraph.h:
6943         * paragraph.C: allow InsetERT to freely space lines,
6944         and some consolidation of code
6945
6946 2003-06-06  José Matos  <jamatos@fep.up.pt>
6947
6948         * buffer.C (makeDocBookFile): fix bug #821
6949
6950 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6951
6952         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6953
6954 2003-06-04  Angus Leeming  <leeming@lyx.org>
6955
6956         * buffer.C: bump format to 224.
6957
6958 2003-06-05  André Pönitz  <poenitz@gmx.net>
6959
6960         * text2.C (redoParagraphs): remove two const_cast<>
6961
6962 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6963
6964         * ParagraphList.h: remove last remnants of NO_STD_LIST
6965
6966 2003-06-03  Angus Leeming  <leeming@lyx.org>
6967
6968         * factory.C (createInset): small change to the way InsetExternal's params
6969         are set.
6970
6971 2003-06-04  André Pönitz  <poenitz@gmx.net>
6972
6973         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6974
6975         * paragraph_pimpl.h:
6976         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6977
6978         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6979
6980         * undo_funcs.C: make some simple cases of undo work again
6981
6982 2003-06-03  John Levon  <levon@movementarian.org>
6983
6984         * ispell.C: HPUX doesn't have sys/select.h
6985         (from Albert Chin)
6986
6987 2003-06-03  John Levon  <levon@movementarian.org>
6988
6989         * CutAndPaste.C: update tabular and include inset
6990         buffer references
6991
6992         * buffer.h:
6993         * paragraph.h:
6994         * paragraph.C: remove owningBuffer(), don't pass Buffer
6995         to clone()
6996
6997         * factory.C: insetGraphicsParams changed
6998
6999 2003-06-02  John Levon  <levon@movementarian.org>
7000
7001         * LyXAction.C:
7002         * factory.C:
7003         * lfuns.h:
7004         * lyxfunc.C:
7005         * text3.C: remove insetparent
7006
7007 2003-06-02  John Levon  <levon@movementarian.org>
7008
7009         * buffer.h:
7010         * buffer.C: fix inset_iterator.end(), move out of line
7011         (bug 1149)
7012
7013 2003-06-01  John Levon  <levon@movementarian.org>
7014
7015         * text3.C: use a proper cut/paste when doing inset
7016         insert (from Jürgen Spitzmüller)
7017
7018 2003-06-01  John Levon  <levon@movementarian.org>
7019
7020         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7021
7022 2003-05-30  André Pönitz  <poenitz@gmx.net>
7023
7024         * rowpainter.C: unify second drawing phase
7025
7026 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7027
7028         * trans_mgr.C: remove one case of current_view
7029
7030         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7031
7032         * paragraph_funcs.h: remove paragraph.h include
7033
7034         * paragraph.h: delete NO_STD_LIST stuff
7035
7036         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7037
7038         * buffer.h: remove paragraph.h include
7039
7040         * ParagraphList.C: delete file
7041
7042         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7043
7044         * toc.C (getTocList): adjust
7045
7046         * paragraph_pimpl.C (validate): adjust
7047
7048         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7049
7050         * paragraph.C (Paragraph): adjust
7051         (getPositionOfInset): use const_iterator, adjust
7052         (bibitem): use const_iterator, adjust
7053         (setInsetOwner): adjust
7054
7055         * iterators.C (operator++): adjust
7056
7057         * InsetList.[Ch]: Replace selfmade iterator with standard
7058         vector::iterator also introduce const_iterator. Remove getPos,
7059         getInset and setInset from InsetTable. Adjust accordingly.
7060
7061         * BufferView.C (lockInset): adjust
7062         (ChangeInsets): adjust
7063
7064         * tabular.[Ch]: delete commented same_id functions
7065
7066 2003-05-28  John Levon  <levon@movementarian.org>
7067
7068         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7069
7070 2003-05-28  André Pönitz  <poenitz@gmx.net>
7071
7072         * metricsinfo.[Ch]: remove 'fullredraw' member
7073
7074 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7075
7076         * lyxtextclass.C (operator): remove caching.
7077
7078 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7079
7080         * text3.C: adjust
7081
7082         * text2.C (cursorBottom): adjust
7083         (setCounter): use ParagraphList::find, adjust
7084
7085         * text.C (workWidth): use ParagraphList::find, adjust
7086
7087         * lyxcursor.C (LyXCursor): adjust
7088
7089         * buffer.C (inset_iterator): adjust
7090
7091         * ParagraphList.h: make iterator(value_type) private, make
7092         ParagraphList a friend of iterator.
7093
7094         * ParagraphList.C (find): new function
7095
7096         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7097
7098 2003-05-27  André Pönitz  <poenitz@gmx.net>
7099
7100         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7101
7102 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7103
7104         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7105
7106 2003-05-26  John Levon  <levon@movementarian.org>
7107
7108         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7109
7110 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * remove same_id from function signatures, adjust.
7113
7114 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7115
7116         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7117
7118         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7119
7120         * paragraph.C (Paragraph): get rid of same_ids parameter
7121
7122         * ParagraphList.C (insert): adjust
7123         (push_back): adjust
7124
7125 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7126
7127         * paragraph_funcs.C (breakParagraph): adjust
7128         (breakParagraphConservative): adjust
7129
7130         * buffer.C (readParagraph): adjust
7131
7132         * ParagraphList.C (insert): take a reference instead of a pointer
7133         (insert): adjust
7134
7135         * paragraph.[Ch] (id): new function
7136
7137         * bufferlist.C (newFile): adjust
7138
7139         * ParagraphList.C (ParagraphList): adjust
7140         (assign): adjust
7141         (push_back): take a reference instead of a pointer.
7142
7143         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7144
7145         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7146         instead.
7147
7148         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7149         set else use old code.
7150
7151         * ParagraphList.C: remove all NO_NEXT code and only compile this
7152         code of NO_STD_LIST is set.
7153
7154 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7155
7156         * BufferView_pimpl.C:
7157         * TextCache.C:
7158         * TextCache.h:
7159         * bufferlist.C:
7160         * errorlist.h:
7161         * format.C:
7162         * format.h:
7163         * graph.C:
7164         * lyxfunc.C:
7165         * lyxrc.C:
7166         * graphics/GraphicsConverter.C:
7167         * graphics/PreviewLoader.C: header adjustment
7168
7169 2003-05-23  Angus Leeming  <leeming@lyx.org>
7170
7171         * LaTeXFeatures.[Ch] (useBabel): new method.
7172         * bufferparams.C (writeLaTeX): use it.
7173
7174 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7175
7176         * ParagraphList.h (set): remove unused function.
7177
7178 2003-05-23  André Pönitz  <poenitz@gmx.net>
7179
7180         * BufferView.C:
7181         * BufferView_pimpl.C:
7182         * buffer.C:
7183         * buffer.h:
7184         * lyxfunc.C:
7185         * undo_funcs.C: setUndo reworked
7186
7187         * iterators.[Ch]: add access to topmost ParagraphList
7188
7189         * lyxtext.[Ch] (workWidth): add a const
7190
7191 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7192
7193         * texrow.[Ch] (increasePos): remove function
7194         * exporter.C (export): removed unused var and outdated comment
7195
7196 2003-05-23  Angus Leeming  <leeming@lyx.org>
7197
7198         * latexrunparams.h: rename fragile as moving_arg.
7199         * paragraph.C (simpleTeXOnePar): ditto.
7200         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7201
7202 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7203
7204         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7205         (createUndo): ditto
7206         (textUndoOrRedo): comment out a currently unused var.
7207
7208         * paragraph.h (NO_NEXT): enable NO_NEXT
7209
7210         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7211
7212         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7213
7214         * exporter.C (Export): adjust for removeAutoInsets removal.
7215
7216         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7217
7218         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7219
7220         * BufferView.[Ch] (removeAutoInsets): delete function
7221
7222 2003-05-22  Angus Leeming  <leeming@lyx.org>
7223
7224         * latexrunparams.h: add a free_spacing variable.
7225
7226         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7227         to pass moving_arg, as the data is stored in runparams.fragile.
7228
7229         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7230         to Inset::latexOptional or to simpleTeXOnePar.
7231
7232         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7233         free_spacing arg to Inset::latexOptional.
7234
7235         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7236         free_spacing arg.
7237
7238 2003-05-22  Angus Leeming  <leeming@lyx.org>
7239
7240         * latexrunparams.h: add fragile and use_babel variables.
7241
7242         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7243         * buffer.C (makeLaTeXFile): store this returned value in
7244         runparams.use_babel, thus passing it to the inset::latex methods.
7245
7246         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7247         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7248
7249         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7250         longer has a fragile arg, as it is stored in runparams.fragile.
7251
7252         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7253         moving_arg parameter as the data is stored in runparams.fragile.
7254
7255         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7256         a fragile parameter as the data is stored in runparams.fragile.
7257
7258 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7259
7260         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7261
7262 2003-05-22  Angus Leeming  <leeming@lyx.org>
7263
7264         * latexrunparams.h: add a 'bool nice' which defaults to false.
7265
7266         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7267         now encapsulated within runparams.
7268
7269         * bufferlist.C (updateIncludedTeXfiles):
7270         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7271
7272 2003-05-22  Angus Leeming  <leeming@lyx.org>
7273
7274         * latexrunparams.h: new file containing struct LatexRunParams.
7275         * Makefile.am: add new file.
7276
7277         * LaTeX.[Ch] (c-tor, run):
7278         * buffer.[Ch] (makeLaTeXFile):
7279         * bufferlist.[Ch] (updateIncludedTeXfiles):
7280         * converter.C (convert, scanLog):
7281         * converter.[Ch] (runLaTeX):
7282         * exporter.C (Export):
7283         * paragraph.[Ch] (simpleTeXOnePar):
7284         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7285         * paragraph_funcs.[Ch] (latexParagraphs):
7286         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7287         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7288         pass around a LatexRunParams parameter.
7289
7290 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7291
7292         * paragraph.[Ch]: remove unused constructor
7293
7294         * ParagraphList.C (erase): new function, taking two iterators
7295
7296 2003-05-22  André Pönitz  <poenitz@gmx.net>
7297
7298         * undo_funcs.C: remove duplicated code
7299
7300         * iterator.[Ch]: operator=
7301
7302 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7303
7304         * tabular.C (SetMultiColumn): ws changes
7305
7306         * rowpainter.C (paintFirst): get rid of a ->previous
7307
7308         * lyx_cb.C (getPossibleLabel): parlist simplification
7309
7310         * BufferView.C (ChangeInsets): simplify slightly.
7311
7312 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7313
7314         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7315         * lfuns.h: new LFUN_SPACE
7316         * lyxfunc.C: protected space has a new lfun
7317         * paragraph_funcs.C: read new space insets
7318         * text3.C:
7319         * factory.C: handle new space insets
7320
7321 2003-05-22  André Pönitz  <poenitz@gmx.net>
7322
7323         * BufferView.C:
7324         * BufferView_pimpl.C:
7325         * buffer.[Ch]:
7326         * lyxfunc.C:
7327         * undo_funcs.C: return a ParIterator from getParFromID.
7328
7329         * iterators.[Ch]: add two const's
7330
7331 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7332
7333         * toc.C (getTocList): adjust
7334
7335         * iterators.[Ch]: rework for parlist
7336
7337         * buffer.C (par_iterator_begin): adjust
7338         (par_iterator_end): adjust
7339
7340         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7341
7342         * BufferView.C (removeAutoInsets): adjust
7343         (ChangeInsets): adjust
7344
7345 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7346
7347         * text.C (top_y): fix bug 1110
7348
7349 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7350
7351         * errorlist.[Ch]: added
7352         * buffer.C:
7353         * BufferView.[Ch]:
7354         * BufferView_pimpl.C:
7355         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7356         instead
7357
7358 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7359
7360         * Makefile.am: ensure that lyx is relinked upon changes to the
7361         various "convenience" libs.
7362
7363 2003-05-20  Angus Leeming  <leeming@lyx.org>
7364
7365         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7366         files are compiled in alphabetical order again.
7367
7368         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7369
7370 2003-05-19  Angus Leeming  <leeming@lyx.org>
7371
7372         * gettext.[Ch]: remove "char const * _(char const *)".
7373
7374 2003-05-19  André Pönitz  <poenitz@gmx.net>
7375
7376         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7377
7378         * Makefile.am:
7379         * BufferView.C:
7380         * DepTable.h:
7381         * LaTeXFeatures.C:
7382         * buffer.C:
7383         * lyxfont.C:
7384         * lyxlex.h:
7385         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7386
7387 2003-05-19  André Pönitz  <poenitz@gmx.net>
7388
7389         * buffer.C:
7390         * lyxlayout.[Ch]:
7391         * lyxtextclass.[Ch]:
7392         * paragraph.C:
7393         * paragraph_funcs.[Ch]:
7394         * text2.C:
7395         * text3.C: more insetenv work
7396
7397 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7398
7399         * ParagraphParameters.C (params2string): small bug fixed
7400
7401 2003-05-16  André Pönitz  <poenitz@gmx.net>
7402
7403         * debug.C:
7404         * bufferview_funcs.C: patch from Kornel Benko to prevent
7405           crash when _(...) is called twice in a statement
7406
7407 2003-05-16  André Pönitz  <poenitz@gmx.net>
7408
7409         * BufferView.C:
7410         * lyxfunc.C:
7411         * text.C:
7412         * text2.C:
7413         * text3.C:
7414         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7415
7416 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7417
7418         * lyx_main.C (init): remove spurious static_cast
7419
7420 2003-05-14  André Pönitz  <poenitz@gmx.net>
7421
7422         * BufferView.C: fix format string
7423
7424 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7425
7426         * BufferView.[Ch] (insertErrors): removed
7427         * BufferView.[Ch] (showErrorList): added
7428         * buffer.C (runChkTeX):
7429         * converter.C (scanLog): call showErrorList instead of inserterrors
7430
7431 2003-05-13  André Pönitz  <poenitz@gmx.net>
7432
7433         * BufferView_pimpl.C:
7434         * buffer.C:
7435         * bufferview_func.C:
7436         * MenuBackend.C:
7437         * lyxfunc.C:
7438         * lyxrc.C:
7439         * tex-accent.C:
7440         * text3.C:
7441         * toc.C:
7442         * tabular_funcs.h: tostr() from its own header
7443
7444         * ParagraphParameters.C:
7445         * ToolbarBackend.C:
7446         * bufferparams.C:
7447         * format.C:
7448         * lyxlex_pimpl.C:
7449         * text3.C: STRCONV()
7450
7451 2003-05-12  André Pönitz  <poenitz@gmx.net>
7452
7453         * BufferView.C:
7454         * BufferView_pimpl.C:
7455         * CutAndPaste.C:
7456         * LaTeX.C:
7457         * LaTeXFeatures.C:
7458         * ParagraphParameters.C:
7459         * buffer.C:
7460         * bufferlist.C:
7461         * bufferparams.C:
7462         * bufferview_funcs.C:
7463         * converter.C:
7464         * counters.C:
7465         * debug.C:
7466         * exporter.C:
7467         * format.C:
7468         * importer.C:
7469         * lyx_cb.C:
7470         * lyx_main.C:
7471         * lyxfont.C:
7472         * lyxfunc.C:
7473         * lyxvc.C:
7474         * paragraph.C:
7475         * paragraph_funcs.C:
7476         * tabular.C:
7477         * tabular_funcs.C:
7478         * text2.C:
7479         * text3.C:  boost::format -> bformat  all over the place
7480
7481
7482 2003-05-09  André Pönitz  <poenitz@gmx.net>
7483
7484         * LColor.[Ch]: Pimpl the #include <map> away
7485
7486 2003-05-09  John Levon  <levon@movementarian.org>
7487
7488         * bufferlist.C: never remove emergency saves
7489
7490 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7491
7492         * Makefile.am: better lib building
7493
7494 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7495
7496         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7497         instead.
7498         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7499         (simpleTeXSpecialChars): adjust
7500         (simpleTeXSpecialChars): adjust
7501         * paragraph.C (simpleTeXOnePar): adjust
7502         * buffer.C (makeLaTeXFile): adjust
7503
7504         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7505
7506         * text2.C (changeDepth): parlist cleanup
7507         (getColumnNearX): ditto
7508
7509         * rowpainter.C (getLabelFont): parlist cleanup
7510
7511         * bufferlist.C (newFile): parlist cleanup
7512
7513         * CutAndPaste.C (eraseSelection): parlist cleanup
7514
7515         * BufferView_pimpl.C (trackChanges): parlist cleanup
7516         (dispatch): ditto
7517
7518         * BufferView.C (lockInset): parlist cleanup.
7519         (ChangeInsets): ditto
7520
7521 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7522
7523         * CutAndPaste.h: Update file header.
7524
7525         * CutAndPaste.C: Update file header.
7526         Store the parts cut out of the Document in a limited_stack.
7527         (copySelection): adjust
7528         (pasteSelection): new function, takes the index in the limited stack.
7529         (nrOfParagraphs): adjust
7530         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7531         simplify error inset insertion.
7532         (checkPastePossible): adjust
7533
7534 2003-05-06  John Levon  <levon@movementarian.org>
7535
7536         * text2.C: don't cast wrap inset to float
7537
7538 2003-05-05  André Pönitz  <poenitz@gmx.net>
7539
7540         * iterator.C:
7541         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7542
7543         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7544           few naked Paragraph *.
7545
7546 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7547
7548         * bufferparams.C: Output warning if a document with missing
7549         TeX document class is loaded
7550         * exporter.C: Disable TeX exports if the document class is missing
7551         * lyxtextclass.C:
7552         * lyxtextclass.h:
7553         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7554         isTeXClassAvailable()
7555
7556 2003-05-03  John Levon  <levon@movementarian.org>
7557
7558         * BufferView.h:
7559         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7560         explicit cursor show/hide
7561
7562         * BufferView_pimpl.h:
7563         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7564         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7565
7566         * lyxfunc.C: hide cursor before dispatching.
7567
7568         * lyx_cb.C:
7569         * lyxfind.C:
7570         * text.C:
7571         * text3.C: remove explicit cursor hides
7572
7573 2003-05-02  André Pönitz  <poenitz@gmx.net>
7574
7575         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7576
7577         * undo_funcs.C:
7578         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7579           linked lists
7580
7581         * text2.C: tiny whitespace
7582
7583 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7584
7585         * undo_funcs.C: almost only ws changes.
7586
7587         * ParagraphList.C (splice): just return if pl is empty.
7588
7589 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7590
7591         * ParagraphList.C (splice): new function.
7592
7593         * CutAndPaste.C (pasteSelection): use it
7594
7595 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7596
7597         * CutAndPaste.C (pasteSelection): remove the last next and
7598         previous from this file.
7599
7600 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7601
7602         * CutAndPaste.C (pasteSelection): more clean up, user proper
7603         ParagraphList functions for pasteing.
7604
7605         * ParagraphList.C (insert): new function, three arg insert
7606
7607 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7608
7609         * ParagraphList.C (insert): new function, three arg insert
7610
7611         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7612         not on paragraphs.
7613
7614 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7615
7616         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7617
7618 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7619
7620         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7621
7622 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7623
7624         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7625         (copySelection): clean up a bit.
7626         (pasteSelection): use make_pair
7627
7628         * ParagraphList.C (ParagraphList): implement copy constructor
7629         (operator=): implement, base on copy constructor.
7630         (assign): new func
7631
7632         * paragraph.C (erase): return a bool
7633
7634         * paragraph_pimpl.C (erasePos): remove function, move contents...
7635         (erase): ... here. Return a bool.
7636         (erase): call erase instead of erasePos.
7637
7638 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7639
7640         * ParagraphList.h: define PitPosPair
7641         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7642         ParagraphList, fix a bug on pasting multiple pars
7643         * text2.C: change interface to C&P
7644
7645 2003-04-30  André Pönitz  <poenitz@gmx.net>
7646
7647         * undo_func.C: revert part of yesterday's patch 2
7648
7649 2003-04-30  John Levon  <levon@movementarian.org>
7650
7651         * LColor.C: s/tabular/table/
7652
7653 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7654
7655         * text3.C (dispatch): do not convert iterator -> pointer
7656         * undo_funcs.C (setCursorParUndo): ditto
7657         * text_funcs.C (transposeChars): ditto
7658
7659         * text2.C (setLayout): ws changes only
7660
7661         * text.C (breakParagraph): do not convert iterator -> pointer
7662         (insertChar): ditto
7663         (acceptChange): ditto
7664         (rejectChange): ditto
7665         (changeCase): ditto
7666         (Delete): ditto
7667         (backspace): ditto
7668
7669         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7670         pointer
7671
7672 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7673
7674         * text3.C (gotoInset): YABG (yet another bad getChar)
7675
7676 2003-04-29  André Pönitz  <poenitz@gmx.net>
7677
7678         * paragraph.h: make operator= private unimplemented as long as
7679           it is unusable
7680
7681         * ParagraphList.C: whitespace
7682
7683         * paragraph.[Ch]:
7684         * paragraph_pimpl.[Ch]:
7685         * paragraph_funcs.C:
7686         * CutAndPaste.C:
7687         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7688
7689         * text2.C:
7690           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7691
7692 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7693
7694         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7695         * paragraph.[Ch] (erase):
7696         * paragraph_pimpl.[Ch] (erase): change return type and value
7697         * text2.C (cutSelection): some rework
7698
7699 2003-04-28  John Levon  <levon@movementarian.org>
7700
7701         * bufferlist.C: changes for unsaved changes dialog
7702
7703 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7704
7705         * bufferlist.C (newFile): set language (messages_) for new
7706         documents also.
7707
7708         * buffer.C (readFile): ws changes only.
7709
7710 2003-04-28  André Pönitz  <poenitz@gmx.net>
7711
7712         * undo_funcs.C:
7713         * lyxfunc.C:
7714         * buffer.[Ch]:
7715         * BufferView_pimpl.C:
7716         * BufferView.C: getParFromID related ParagraphList::iterator changes
7717
7718 2003-04-28  André Pönitz  <poenitz@gmx.net>
7719
7720         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7721           Changes
7722
7723 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7724
7725         * messages.C: remove one more localedir class variable.
7726
7727 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7728
7729         * messages.C (getLocaleDir): singleton generation function
7730         (Pimpl): use it.
7731         (Messages): add a default constructor.
7732
7733         * main.C (main): do not setup localedir here, do not call
7734         gettext_init.
7735
7736         * gettext.C (_): use it.
7737         (gettext_init): delete funciton
7738
7739 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7740
7741         * gettext.C (getLyXMessages): new singleton generating function.
7742
7743         * buffer.C (updateDocLang): adjust
7744
7745         * Makefile.am (messages.o): add target
7746         (main.o): remove target
7747
7748 2003-04-27  John Levon  <levon@movementarian.org>
7749
7750         * bufferlist.C:
7751         * lyx_cb.C:
7752         * lyxfunc.C:
7753         * lyxvc.C: specify cancel button in Alert::prompt
7754
7755 2003-04-26  John Levon  <levon@movementarian.org>
7756
7757         * text3.C:
7758         * lyxfunc.C:
7759         * lfuns.h:
7760         * LyXAction.C: add LFUN_INSET_SETTINGS
7761
7762         * lyxfunc.C: don't enable tabular-feature when there's
7763         just any locking inset
7764
7765 2003-04-26  John Levon  <levon@movementarian.org>
7766
7767         * bufferlist.C: re-add Cancel to buffer close question
7768
7769         * lyxfunc.C: fix import UI a bit
7770
7771 2003-04-25  John Levon  <levon@movementarian.org>
7772
7773         * gettext.C: remove the broken asserts for now
7774
7775 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7776
7777         * messages.C: make case where setlocale cannot comply work better.
7778
7779         * buffer.C (updateDocLang): new function
7780         (changeLanguage): use it
7781         (readFile): use it
7782
7783         * text2.C (setCounter): use B_ a bit.
7784
7785         * lyxlayout.C (Read): be sure to trim the label strings.
7786
7787         * messages.C (Messages): fix typo in comment
7788
7789         * buffer.C (readFile): set message_ after file is loaded.
7790         (makeDocBookFile): remove double return
7791         (changeLanguage): reset message_ upon language change.
7792         (B_): new func, use this to get translated buffer strings.
7793
7794         * main.C: add myself and Jean Marc as authors.
7795
7796 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7797
7798         * messages.[hC]: pimplify Messages, and three different pimpls to be
7799         used in different circumstances.
7800
7801         * gettext.[Ch]: change for use with new message code.
7802
7803 2003-04-24 André Pönitz <poenitz@gmx.net>
7804
7805         * factory.C: support for eqref
7806
7807 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7808
7809         * messages.[Ch]: add missing char
7810
7811         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7812
7813         * messages.[Ch]: New files
7814
7815 2003-04-18  John Levon  <levon@movementarian.org>
7816
7817         * BufferView.h:
7818         * BufferView.C:
7819         * BufferView_pimpl.C:
7820         * lfuns.h:
7821         * LyXAction.C:
7822         * lyxtext.h:
7823         * text2.C: remove layout-copy/paste (bug 778)
7824
7825 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7826
7827         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7828
7829 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7830
7831         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7832         if they succeed. Act accordingly.
7833
7834 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7835
7836         * text2.C (setCharFont): adjust
7837         (setCounter): adjust
7838         (insertStringAsLines): adjust
7839
7840         * text.C (leftMargin): adjust
7841         (setHeightOfRow): adjust
7842
7843         * rowpainter.C (paintFirst): adjust
7844         (paintLast): adjust
7845
7846         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7847         (outerHook): ditto
7848         (isFirstInSequence): ditto
7849         (getEndLabel): ditto
7850         (outerFont): adjust
7851
7852         * paragraph.C (getParLanguage): comment out some hard stuff.
7853
7854         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7855         (sgmlError): ditto
7856         (simpleDocBookOnePar): ditto
7857         (makeDocBookFile): use ParagraphList::iterator
7858
7859         * CutAndPaste.C (pasteSelection): adjust
7860
7861 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7862
7863         * text2.C (getFont): adjust
7864         (getLayoutFont): adjust
7865         (getLabelFont): adjust
7866
7867         * paragraph_funcs.C (TeXOnePar): adjust
7868
7869         * buffer.C (simpleLinuxDocOnePar): adjust
7870         (simpleDocBookOnePar): adjust
7871
7872         * CutAndPaste.C (pasteSelection): adjust
7873
7874         * BufferView.C (getEncoding): adjust
7875
7876         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7877
7878 2003-04-16  John Levon  <levon@movementarian.org>
7879
7880         * lyxfind.C: use parlist stuff for search/changes
7881
7882 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7883
7884         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7885
7886         * text2.C (deleteEmptyParagraphMechanism): adjust
7887
7888         * text2.[Ch] (ownerParagraph): delete func (both of them
7889
7890 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7891
7892         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7893
7894 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7895
7896         * ParagraphList.C: prepare for NO_NEXT
7897
7898 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7899
7900         * text2.C (getFont): adjust
7901         (getLayoutFont): adjust
7902         (getLabelFont): adjust
7903
7904         * paragraph.C (getFont): adjust
7905         (getLabelFont): adjust
7906         (getLayoutFont): adjust
7907
7908         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7909
7910 2003-04-15  John Levon  <levon@movementarian.org>
7911
7912         From Angus Leeming
7913
7914         * lyx_main.C: handle Include in .ui files
7915
7916 2003-04-15  John Levon  <levon@movementarian.org>
7917
7918         * MenuBackend.C: make the doc files length shorter
7919
7920         * ToolbarBackend.h:
7921         * ToolbarBackend.C: handle toolbar placement flags,
7922         Minibuffer
7923
7924 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7925
7926         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7927         adjust
7928
7929         * paragraph_funcs.C (TeXOnePar): adjust
7930
7931         * paragraph.C (getLabelFont): add outerfont arg, adjust
7932         (getLayoutFont): ditto
7933         (simpleTeXOnePar): adjust
7934
7935         * paragraph_pimpl.C (realizeFont): delete func
7936
7937 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7938
7939         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7940         row argument, constify cur argument.
7941
7942 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7943
7944         * text2.C (getFont): adjust
7945         (getLayoutFont): adjust
7946         (getLabelFont): adjust
7947
7948         * paragraph_funcs.C (TeXOnePar): adjust
7949         (outerFont): new func...
7950         (realizeFont): ...moved out from here, changed this to facilitate
7951         transition
7952
7953         * paragraph.C (getFont): take outerfont as arg, adjust
7954         (simpleTeXOnePar): add outerfont arg, adjust
7955
7956         * buffer.C (simpleLinuxDocOnePar): adjust
7957         (simpleDocBookOnePar): adjust
7958
7959         * CutAndPaste.C (pasteSelection): adjust
7960
7961         * BufferView.C (getEncoding): adjust
7962
7963 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7964
7965         * text2.C (setCharFont): adjust
7966         (setCounter): adjust
7967
7968         * text.C (leftMargin): adjust
7969         (setHeightOfRow): adjust
7970
7971         * rowpainter.C (paintFirst): adjust
7972         (paintLast): adjust
7973
7974         * paragraph_pimpl.C (realizeFont): adjust
7975
7976         * paragraph.C (isFirstInSequence): move from here...
7977         * paragraph_funcs.C (isFirstInSequence): ...to here
7978
7979         * paragraph.C (outerHook): move from here...
7980         * paragraph_funcs.C (outerHook): ...to here
7981
7982         * paragraph.C (depthHook): move from here...
7983         * paragraph_funcs.C (depthHook): ...to here
7984
7985         * paragraph.C (getEndLabel): move from here...
7986         * paragraph_funcs.C (getEndLabel): ...to here
7987
7988         * text2.C (realizeFont): move from here...
7989         * paragraph_funcs.C (realizeFont): ...to here
7990
7991 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7992
7993         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7994
7995 2003-04-14  Angus Leeming  <leeming@lyx.org>
7996
7997         * LColor.[Ch]: scrap LColor mathcursor.
7998
7999 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8000
8001         * lyxlex.[Ch] (text): delete function
8002         * trans.C (Load): adjust
8003         * paragraph_funcs.C (readParToken): adjust
8004
8005 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8006
8007         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8008         vector<char> instead of a char[].
8009
8010         * lyxlex_pimpl.C (getString): adjust
8011         (next): adjust
8012         (lex): use getString
8013         (eatLine): adjust
8014         (nextToken): adjust
8015
8016         * lyxlex.C (text): use pimpl_->getString()
8017         (getBool): ditto
8018         (findToken): ditto
8019
8020 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8021
8022         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8023         (makeFontEntriesLayoutSpecific): temp var for par.size()
8024         (setLayout): temp var for ownerParagraphs().end()
8025         (fullRebreak): temp var for rows().end()
8026         (selectionAsString): temp var for boost::next(startpit), realize
8027         that the while really is a regular for loop.
8028         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8029         setCursor in one place.
8030         (setParagraph): temp vr for ownerParagraphs().end()
8031         (updateCounters): make the while loop a for loop
8032         (cutSelection): temp var for ownerParagraphs().end()
8033         (updateInset): make the do {} while() a regular for loop
8034         (getCursorX): use temp vars
8035         (setCurrentFont): use temp vars
8036         (getColumnNearX): use temp vars
8037
8038 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8039
8040         * text.C (transformChar): use temp var for getChar
8041         (computeBidiTables): use temp var for row->par()
8042         (fill): move temp vars for row->par() and pit->layout() earlier in
8043         the function.
8044         (labelFill): use temp var for row->par()
8045         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8046         asc and desc, realize that pit never changes and that firstpit is
8047         just a duplicate and not needed. Exchange rit->par() with pit in a
8048         lot of places.
8049         (breakAgain): use a temp var for boost::next(rit)
8050         (breakAgainOneRow): ditto
8051         (breakParagraph): use a temp var for rows().begin()
8052         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8053         (cursorRightOneWord): use temp var for cursor.par() and
8054         cursor.pos(), remove usage of tmpcursor.
8055         (cursorLeftOneWord): use temp var for cursor.par() and
8056         cursor.pos() only set cur at end of function.
8057
8058 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8059
8060         * text.C, text2.C: exchange all usage of Paragraph::next with
8061         boost::next(ParagraphList::iterator)
8062
8063         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8064
8065         * text2.C (cursorTop): simplify implementation
8066         (cursorBottom): ditto
8067         (setParagraph): use ParagraphList::iterator
8068         (setCurrentFont): adjust
8069         (getColumnNearX): adjust
8070         (cursorRight): adjust
8071         (cursorLeft): remove usage of Paragraph::previous
8072         (cursorUpParagraph): ditto
8073         (deleteEmptyParagraphMechanism): slight cleanup
8074
8075         * text.C (isBoundary): take a Paragraph const & instead of a
8076         pointer as arg.
8077         (addressBreakPoint): ditto
8078         (leftMargin): remove usage of Paragraph::previous.
8079         (setHeightOfRow): ditto
8080         (cursorLeftOneWord): ditto
8081         (selectNextWordToSpellcheck): ditto
8082         (Delete): ditto
8083         (backspace): ditto
8084         (breakParagraph): remove one usage of Paragraph::next
8085         (redoParagraph): ditto
8086         (acceptChange): ditto
8087         (insertChar): adjust
8088         (rowBreakPoint): adjust
8089
8090         * bufferview_funcs.C (toggleAndShow): adjust
8091
8092 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8093
8094         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8095         methods to access it.
8096         * lyxtext.h:
8097         * text.C: Added updateRowPositions to compute all row positions.
8098         Make top_y and getRowNearY() to use the cached y position
8099
8100 2003-04-11  John Levon  <levon@movementarian.org>
8101
8102         * text.C (rowBreakPoint): reintroduce the labelEnd
8103         checks, code copied from the row fill stuff. Deep voodoo.
8104
8105         * text.C (fill): add a comment and debugging for the
8106         next poor soul.
8107
8108 2003-04-11  John Levon  <levon@movementarian.org>
8109
8110         * text.C: make sure fullrow insets get wrapped to the next line,
8111         even when they're in a manual label
8112
8113 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8114
8115         * text2.C (insertParagraph): make it take ParagraphList::iterator
8116         as arg.
8117         (setLayout): make it return ParagraphList::iterator
8118         (redoParagraphs): ditto
8119         (setCounter): ditto
8120         (checkParagraph): ditto
8121
8122         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8123
8124         * text2.C: adjust several funcs.
8125         (realizeFont): take a ParagraphList::iterator as arg.
8126         (getLayoutFont): ditto
8127         (getLabelFont): ditto
8128         (setCharFont): ditto
8129
8130         * text.C: adjust several funcs.
8131
8132 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8133
8134         * text.C (selectNextWordToSpellcheck): don't accidentally
8135         skip insets
8136
8137 2003-04-10  John Levon  <levon@movementarian.org>
8138
8139         * ToolbarBackend.C (getIcon): special handling for
8140         LFUN_MATH_DELIM
8141
8142 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8143
8144         * text2.C (cursorRight): a getChar assert fixed
8145
8146 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8147
8148         * text2.C (getFont): change to take a ParagraphList::iterator
8149         instead of Paragraph*
8150         Adjust several functions.
8151
8152         * text.C (transformChar): change to take a ParagraphList::iterator
8153         instead of Paragraph*
8154         (singleWidth): ditto
8155         Adjust several functions.
8156
8157         * rowpainter.C: adjust several functions
8158         * rowpainter.h:store a ParagraphList::iterator and not a
8159         Paragraph&.
8160
8161
8162 2003-04-09  John Levon  <levon@movementarian.org>
8163
8164         * lyxfunc.C:
8165         * lfuns.h:
8166         * LyXAction.h:
8167         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8168         and the "help" bits as well
8169
8170 2003-04-09  John Levon  <levon@movementarian.org>
8171
8172         * ToolbarBackend.h:
8173         * ToolbarBackend.C: allow multiple toolbars
8174
8175 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8176
8177         * undo_funcs.C (setCursorParUndo): adjust
8178
8179         * text_funcs.C (transposeChars): adjust
8180
8181         * text3.C (gotoNextInset): adjust
8182         (dispatch): adjust
8183
8184         * text2.C (setLayout): adjust
8185         (changeDepth): adjust
8186         (setFont): adjust
8187         (redoParagraphs): adjust
8188         (selectionAsString): adjust
8189         (setParagraph): adjust
8190         (insertInset): adjust
8191         (cutSelection): adjust
8192         (copySelection): adjust
8193         (pasteSelection): adjust
8194         (insertStringAsLines): adjust
8195         (updateInset): adjust
8196         (setCursor): change to take a ParagraphList::iterator parameter
8197         (setCursorIntern): change to take a ParagraphList::iterator parameter
8198         (setCurrentFont): adjust
8199         (cursorLeft): adjust
8200         (cursorRight): adjust
8201         (deleteEmptyParagraphMechanism): adjust
8202
8203         * text.C (breakParagraph): adjust
8204         (insertChar): adjust
8205         (acceptChange): adjust
8206         (rejectChange): adjust
8207         (selectNextWordToSpellcheck): adjust
8208         (changeCase): adjust
8209         (Delete): adjust
8210         (backspace): adjust
8211
8212         * lyxfind.C (SearchForward): adjust
8213         (SearchBackward): adjust
8214         (nextChange): adjust
8215
8216         * lyxcursor.C (par): adjust
8217
8218         * lyxcursor.h: store a ParagraphList::iterator instead of a
8219         Paragraph*
8220
8221         * lyx_cb.C (getPossibleLabel): adjust
8222
8223         * bufferview_funcs.C (toggleAndShow): adjust
8224
8225         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8226         (dispatch): adjust
8227
8228         * BufferView.C (removeAutoInsets): adjust
8229         (lockedInsetStoreUndo): adjust
8230
8231 2003-04-09  John Levon  <levon@movementarian.org>
8232
8233         * ToolbarBackend.C: try icon without argument
8234         if with argument fails
8235
8236 2003-04-08  John Levon  <levon@movementarian.org>
8237
8238         * ToolbarBackend.h:
8239         * ToolbarBackend.C: add getIcon(), handle tooltip,
8240         and change from "Icon" to "Item".
8241
8242 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8243
8244         * BufferView.C (lockInset): another bad getchar crunched
8245
8246 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8247
8248         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8249         again)
8250
8251 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8252
8253         * lyxfind.C (searchForward, searchBackwards): bug 782
8254
8255 2003-04-07  John Levon  <levon@movementarian.org>
8256
8257         * paragraph.C: remove dead comment
8258
8259         * text.C: remove troublesome depth-fiddling code
8260         in leftMargin() and rightMargin() (bug 1017)
8261
8262         * text.C: fix breaking of rows in nested lists
8263         (bug 1004)
8264
8265         * text2.C (updateCounters): fix up depth values
8266         (bug 1013)
8267
8268 2003-04-07  John Levon  <levon@movementarian.org>
8269
8270         * BufferView_pimpl.C: clear message when doc finishes resizing,
8271         and after a mouse event
8272
8273         * lyxfunc.C: clear message after exiting inset
8274
8275 2003-04-07  John Levon  <levon@movementarian.org>
8276
8277         * bufferview_funcs.C: show math status not outside
8278         status in the statusbar
8279
8280 2003-04-07  John Levon  <levon@movementarian.org>
8281
8282         * lyxfunc.C: note status changed after a depth change
8283
8284 2003-04-04  Angus Leeming  <leeming@lyx.org>
8285
8286         * LaTeX.h: move AuxInfo operator==, != out of line.
8287         Remove LaTeX virtual destructor; nothing derives from it.
8288         Move operator()() out of public area and rename it startscript().
8289         Change protected for private.
8290
8291 2003-04-04  Angus Leeming  <leeming@lyx.org>
8292
8293         * lyxfunc.C:
8294         * text2.C: remove unneeded #includes.
8295
8296 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8297
8298         * text2.C (dEPM): fix the heigth of the next row
8299
8300 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8301
8302         * text.C: squashed an invalid getChar requester + some ws changes
8303
8304 2003-04-03  John Levon  <levon@movementarian.org>
8305
8306         * bufferview_funcs.h:
8307         * bufferview_funcs.C:
8308         * lyxfunc.C:
8309         * lyxtext.h:
8310         * text2.C: make getStatus work for the env depth lfuns
8311
8312 2003-04-03  John Levon  <levon@movementarian.org>
8313
8314         * bufferview_funcs.h:
8315         * bufferview_funcs.C:
8316         * lyxfunc.C:
8317         * lyxtext.h:
8318         * text2.C: parlistize decDepth(), by merging it with incDepth()
8319
8320 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8321
8322         * lyxrow.h: store a ParagraphList::iterator instead of a
8323         Paragraph* and adjust other class functions to suit.
8324
8325         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8326         above.
8327
8328 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8329
8330         * text2.C (setCursor): do not anchor to cursor row for the time being
8331
8332 2003-04-02  John Levon  <levon@movementarian.org>
8333
8334         * LyXAction.C:
8335         * lfuns.h:
8336         * lyx_main.C:
8337         * lyxtext.h:
8338         * text.C:
8339         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8340
8341 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8342
8343         * paragraph.h: make ParagraphList and ParagraphList::iterator
8344         friends of Paragraph.
8345
8346         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8347
8348         * ParagraphList.C: Use the private next_ and previous_ from
8349         Paragraph.
8350
8351 2003-04-01  John Levon  <levon@movementarian.org>
8352
8353         * ToolbarBackend.h:
8354         * ToolbarBackend.C:
8355         * Makefile.am: rename, remove defaults gunk
8356
8357         * MenuBackend.h:
8358         * MenuBackend.C: remove defaults gunk
8359
8360         * Languages.h:
8361         * Languages.C: remove defaults gunk
8362
8363         * lyx_main.h:
8364         * lyx_main.C: error out if files couldn't be found.
8365
8366 2003-04-02  John Levon  <levon@movementarian.org>
8367
8368         * text2.C: make incDepth() use parlist
8369
8370 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8371
8372         * undo_funcs.C (firstUndoParagraph): adjust
8373
8374         * text3.C (gotoInset): adjust
8375         (dispatch): adjust, and rewrite loop.
8376
8377         * text2.C (init): adjust, and rewrite loop.
8378         (redoParagraphs): adjust
8379         (updateInset): adjust, and rewrite loop.
8380         (deleteEmptyParagraphMechanism): adjust
8381
8382         * tabular.C (LyXTabular): adjust
8383         (SetMultiColumn): adjust
8384         (TeXRow): adjust
8385
8386         * lyxtext.[Ch] (ownerParagraph): delete function
8387         (ownerParagraphs): new function returns a ParagraphList.
8388
8389         * BufferView.C (removeAutoInsets): adjust
8390         (insertErrors): adjust
8391         (setCursorFromRow): adjust
8392
8393 2003-04-01  Angus Leeming  <leeming@lyx.org>
8394
8395         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8396         in the frontends.
8397
8398 2003-04-02  John Levon  <levon@movementarian.org>
8399
8400         * lyxtext.h:
8401         * text.C:
8402         * Makefile.am:
8403         * text_funcs.h:
8404         * text_funcs.C: make transposeChars a free function
8405
8406         * lyxrow_funcs.C: remove wrong comment
8407
8408 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8409
8410         * lyxtext.h: adjust
8411         * rowpainter.C: adjust
8412         * text.C: adjust
8413         * text2.C: adjust
8414         * text3.C: adjust
8415
8416         * lyxrow_funcs. [Ch]: new files
8417
8418         * lyxrow.[Ch]: remove next and previous pointers
8419         (next,previous): remove accessor functions
8420         (isParEnd): move to lyxrow_funcs
8421         (lastPos): move to lyxrow_funcs
8422         (nextRowIsAllInset): move to lyxrow_funcs
8423         (lastPrintablePos): move to lyxrow_funcs
8424         (numberOfSeparators): move to lyxrow_funcs
8425         (numberOfHfills): move to lyxrow_funcs
8426         (numberOfLabelHfills): move to lyxrow_funcs
8427         (hfillExpansion): move to lyxrow_funcs
8428
8429         * lyxfunc.C: adjust
8430
8431         * bufferview_funcs.C (toggleAndShow): adjust
8432
8433         * RowList.h: Remove class RowList from file leave just a
8434         std::list<Row>.
8435
8436         * RowList.C: delete file
8437
8438         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8439         and lyxrow_funcs.h
8440
8441 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8442
8443         * text3.C (cursorPrevious): adjust
8444         (cursorNext): adjust
8445         (dispatch): adjust
8446
8447         * text2.C (redoHeightOfParagraph): adjust
8448         (redoDrawingOfParagraph): adjust
8449         (setCursor): adjust
8450
8451         * text.C (breakParagraph): adjust
8452         (insertChar): adjust
8453         (backspace): adjust
8454
8455         * rowpainter.C (RowPainter): adjust
8456         (leftMargin): simplify and adjust
8457         (most rowpainter functions): adjust.
8458
8459         * rowpainter.h: store the row as RowList::iterator not as Row*
8460
8461         * lyxcursor.C (row): taka RowList::iterator as arg
8462         (irow): ditto
8463
8464         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8465         of Row*.
8466
8467 2003-04-01  Angus Leeming  <leeming@lyx.org>
8468
8469         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8470         stuff like bool Bool.
8471
8472 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8473
8474         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8475         rewrite a loop
8476
8477 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8478
8479         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8480         RowList::iterator.
8481
8482         * lyxtext.h (rows): drop one version and leve a const variant that
8483         returns a RowList::iterator.
8484
8485 2003-03-31  Angus Leeming  <leeming@lyx.org>
8486
8487         * text.C (fill): ensure that the signature is the same as that in the
8488         header file.
8489
8490 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8491
8492         * text2.C (redoParagraphs): adjust
8493         (updateCounters): adjust
8494         (checkParagraph): adjust
8495         (getColumnNearX): adjust and reformat a bit.
8496
8497         * text.C (top_y): adjust
8498         (workWidth): adjust
8499         (leftMargin): adjust
8500         (prepareToPrint): adjust
8501         (getRow): adjust
8502         (getRowNearY): adjust
8503
8504         * lyxtext.h: make rowlist_ mutable.
8505
8506         * RowList.h: add const_iterator
8507         * RowList.C: adjust for RowList::const_iterator.
8508
8509         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8510         adjust.
8511
8512 2003-03-31  John Levon  <levon@movementarian.org>
8513
8514         * lyxrc.h:
8515         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8516
8517         * lyx_main.C: set default fonts from using lyx_gui funcs
8518
8519         * exporter.C: pdf_mode moved from lyxrc
8520
8521         * lyx_cb.C:
8522         * lyxfunc.C: changes from above
8523
8524 2003-03-31  John Levon  <levon@movementarian.org>
8525
8526         * lyx_main.C: fix to the last fix
8527
8528 2003-03-31  John Levon  <levon@movementarian.org>
8529
8530         * bufferlist.C: "Load original" -> "Load Original"
8531
8532         * converter.C:
8533         * exporter.C:
8534         * importer.C:
8535         * lyx_main.C:
8536         * format.C: more Alert cleanups
8537
8538 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8539
8540         * text2.C (removeParagraph): make it take a RowList::iterator as
8541         arg, adjust.
8542         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8543         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8544
8545         * text.C (anchor_row): make it take a RowList::iterator as arg,
8546         adjust.
8547         (computeBidiTables): make it take a const reference to Row instead
8548         of Row pointer, adjust.
8549         (leftMargin): make it take a RowList::iterator as arg, adjust.
8550         (rowBreakPoint): adjust
8551         (breakAgainOneRow): make it take a RowList::iterator as arg,
8552         adjust.
8553         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8554
8555         * bufferview_funcs.C (toggleAndShow): adjust
8556
8557 2003-03-30  John Levon  <levon@movementarian.org>
8558
8559         * Makefile.am:
8560         * BoostFormat.h:
8561         * boost-inst.C: moved to support
8562
8563         * several files: changes as a result
8564
8565 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8566
8567         * text2.C (LyXText): adjust.
8568         (init): adjust
8569         (removeRow): make it take a RowList::iterator as arg, adjust.
8570         (fullRebreak): adjust
8571         (deleteEmptyParagraphMechanism): adjust
8572         (clearPaint): adjust
8573         (postPaint): adjust
8574
8575         * text.C (top_y): adjust
8576         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8577         (breakAgain): make it take a RowList::iterator as arg, adjust.
8578         (breakParagraph): adjust
8579         (insertChar): adjust
8580         (backspace): adjust
8581
8582         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8583         need_break_row, and refresh_row.
8584
8585         * text3.C (dispatch): adjust
8586
8587         * text2.C (checkParagraph): adjust
8588         (setCursor): adjust
8589         (setCursorFromCoordinates): adjust
8590
8591         * text.C (top_y): adjust
8592         (workWidth): adjust
8593         (getRow): make it return a RowList::iterator, adjust
8594         (getRowNearY): make it return a RowList::iterator, adjust
8595
8596         * text2.C (init): adjust
8597         (insertRow): remove function
8598         (insertParagraph): adjust
8599         (redoParagraphs): adjust
8600         (fullRebreak): adjust
8601         (updateCounters): adjust
8602
8603         * text.C (top_y): rewrite to use RowList iterators.
8604         (top_y): adjust
8605         (setHeightOfRow): rewrite to sue RowList iterators.
8606         (appendParagraph): adjust
8607         (breakAgain): adjust
8608         (breakAgainOneRow): adjust
8609         (breakParagraph): adjust
8610         (getRow): adjust
8611         (getRowNearY): adjust, and remove commented code.
8612
8613         * lyxtext.h (firstRow): delete function
8614         (lastRow): delete function
8615         (rows): new function (const and non-const versions.)
8616         (insertRow): delete function
8617
8618         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8619
8620 2003-03-29  John Levon  <levon@movementarian.org>
8621
8622         * BufferView_pimpl.C: always update scrollbar top
8623         because pasting text when we're anchored could mean we
8624         miss an update altogether
8625
8626 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8627
8628         * text2.C (init): use rowlist_.end() and not 0.
8629         (insertRow): change to take a RowList::iterator as arg, adjust
8630         for this.
8631         (insertParagraph): change to take a RowList::iterator as arg,
8632         adjust for this.
8633         (redoParagraphs): remove some debug msgs.
8634
8635         * text.C (appendParagraph): change to take a RowList::iterator
8636         arg, adjust for this.
8637         (breakAgain): add an assert
8638         (breakAgainOneRow): ditto
8639
8640 2003-03-29  John Levon  <levon@movementarian.org>
8641
8642         * text2.C: do not clear selection after inc/decDepth
8643         (bug 550)
8644
8645 2003-03-29  John Levon  <levon@movementarian.org>
8646
8647         * BufferView.C:
8648         * buffer.C: fix broken strerrors according to Lars
8649
8650 2003-03-29  John Levon  <levon@movementarian.org>
8651
8652         * converters.C: more Alert cleanups
8653
8654 2003-03-29  John Levon  <levon@movementarian.org>
8655
8656         * bufferview_funcs.C: remove pointless Alert
8657
8658         * buffer.C: fix confusing error message when
8659         a template is chmoded 000
8660
8661 2003-03-29  John Levon  <levon@movementarian.org>
8662
8663         * BufferView.C:
8664         * BufferView.h:
8665         * BufferView_pimpl.C: Alert fixes
8666
8667         * Makefile.am:
8668         * tabular.C:
8669         * tabular-old.C: remove unused table compat reading
8670
8671 2003-03-29  John Levon  <levon@movementarian.org>
8672
8673         * BufferView.C:
8674         * buffer.C:
8675         * lyx_cb.h:
8676         * lyx_cb.C: more Alert cleanups
8677
8678         * lyxfunc.C: don't allow chktex if not latex document
8679
8680 2003-03-29  John Levon  <levon@movementarian.org>
8681
8682         * lyx_cb.C:
8683         * BufferView.C:
8684         * buffer.C: warnings pushed down from support/,
8685         kill err_alert
8686
8687 2003-03-29  John Levon  <levon@movementarian.org>
8688
8689         * lyxfunc.C: safety check for C-r (revert)
8690
8691 2003-03-29  John Levon  <levon@movementarian.org>
8692
8693         * bufferlist.h:
8694         * bufferlist.C: several UI fixes using Alert::prompt.
8695         Fix the pointless looping quit code. Fix stupid revert
8696         behaviour (bug 938)
8697
8698         * lyxvc.h:
8699         * lyxvc.C:
8700         * lyx_cb.C: use Alert::prompt
8701
8702         * lyx_main.C: remove a silly question
8703
8704         * lyxfunc.C: remove a couple of silly questions,
8705         use Alert::prompt
8706
8707 2003-03-28  John Levon  <levon@movementarian.org>
8708
8709         * text2.C: fix bug 974 (End on empty par)
8710
8711 2003-03-28  John Levon  <levon@movementarian.org>
8712
8713         * BufferView_pimpl.C:
8714         * LyXAction.C:
8715         * lfuns.h: remove do-nothing math greek lfuns
8716
8717 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8718
8719         * lyxgluelength.h (isValidGlueLength): add default arg on
8720         parameter 2. Remove default arg from friend in class.
8721
8722         * lyxlength.h (isValidLength): add default arg on parameter 2.
8723         Remove default arg from friend in class.
8724
8725         * text2.C (LyXText): adjust, initialize refresh_row.
8726         (init): adjust
8727         (removeRow): adjust
8728         (insertRow): adjust
8729         (insertParagraph): adjst
8730         (redoParagraphs): adjust
8731         (fullRebreak): adjust
8732         (updateCounters): adjust
8733         (deleteEmptyParagraphMechanism): first attempt at fixing a
8734         crashing bug.
8735
8736         * text.C (top_y): adjust
8737         (setHeightOfRow): adjust
8738         (getRow): adjust
8739         (getRowNearY): adjust
8740
8741         * lyxtext.h: include RowList.h
8742         (~LyXText): not needed anymore, deleted.
8743         (firstRow): modify for RowList
8744         (lastRow): new function
8745         Delete firstrow and lastrow class variables, add a Rowlist
8746         rowlist_ class variable.
8747
8748         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8749         paragraph is empty.
8750
8751         * RowList.C (insert): fix case where it == begin().
8752
8753 2003-03-26  Angus Leeming  <leeming@lyx.org>
8754
8755         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8756         the thesaurus dialog.
8757
8758 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8759
8760         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8761
8762         * RowList.[Ch]: new files
8763
8764         * ParagraphList.C (erase): handle the case where it == begin
8765         correctly.
8766
8767 2003-03-25  John Levon  <levon@movementarian.org>
8768
8769         * Makefile.am:
8770         * aspell_local.h:
8771         * aspell.C: add new aspell support
8772
8773         * lyxrc.h:
8774         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8775         have it accessible.
8776
8777 2003-03-25  Angus Leeming  <leeming@lyx.org>
8778
8779         * lfuns.h:
8780         * LyXAction.C (init): new LFUN_INSET_INSERT.
8781
8782         * BufferView_pimpl.C (dispatch): split out part of the
8783         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8784
8785         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8786         LFUN_INSET_APPLY.
8787
8788 2003-03-25  Angus Leeming  <leeming@lyx.org>
8789
8790         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8791
8792 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8793
8794         * text2.C:
8795         * text3.C: remove useless row->height(0)
8796
8797 2003-03-25  John Levon  <levon@movementarian.org>
8798
8799         * lyxtext.h:
8800         * text2.C:
8801         * text3.C: rename the refreshing stuff to better names
8802
8803 2003-03-24  John Levon  <levon@movementarian.org>
8804
8805         * BufferView_pimpl.h:
8806         * BufferView_pimpl.C: update layout choice on a mouse
8807         press/release
8808
8809 2003-03-23  John Levon  <levon@movementarian.org>
8810
8811         * Makefile.am: fix commandtags.h reference
8812
8813 2003-03-22  John Levon  <levon@movementarian.org>
8814
8815         * BufferView_pimpl.C:
8816         * lyxtext.h:
8817         * rowpainter.C:
8818         * rowpainter.h:
8819         * text.C:
8820         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8821
8822 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8823
8824         * lyxtext.h:
8825         * text.C: take the rtl methods out of line
8826
8827 2003-03-21 André Pönitz <poenitz@gmx.net>
8828
8829         * metricsinfo.[Ch]: new files containing structures to be passed around
8830         during the two-phase-drawing...
8831
8832 2003-03-21 André Pönitz <poenitz@gmx.net>
8833
8834         * lyxtextclass.C: read 'environment' tag.
8835
8836 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8837
8838         * text2.C (removeRow): fix bug 964
8839
8840 2003-03-20  John Levon  <levon@movementarian.org>
8841
8842         * rowpainter.C:
8843         * text.C:
8844         * text2.C: paint cleanups. Inset::update() dropped font
8845         parameter
8846
8847 2003-03-19  John Levon  <levon@movementarian.org>
8848
8849         * lyxfunc.C: only fitcursor/markDirty if available()
8850
8851 2003-03-19  John Levon  <levon@movementarian.org>
8852
8853         * commandtags.h: rename to ...
8854
8855         * lfuns.h: ... this, and renumber / cleanup
8856
8857 2003-03-19  John Levon  <levon@movementarian.org>
8858
8859         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8860         fit the cursor after an lfun
8861
8862         * BufferView.h:
8863         * BufferView.C:
8864         * BufferView_pimpl.h:
8865         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8866
8867         * LyXAction.C: layout-character should have ReadOnly
8868
8869         * ParagraphParameters.C:
8870         * buffer.C:
8871         * bufferview_funcs.C:
8872         * lyx_cb.C:
8873         * lyxfind.C:
8874         * lyxtext.h:
8875         * text.C:
8876         * text2.C:
8877         * text3.C:
8878         * undo_funcs.C: changes from above
8879
8880 2003-03-18  John Levon  <levon@movementarian.org>
8881
8882         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8883         remove it from update()
8884
8885         * lyxfunc.C: update layout choice after an lfun
8886
8887         * text3.C: remove extra updateLayoutChoice()s
8888
8889 2003-03-18  John Levon  <levon@movementarian.org>
8890
8891         * text.C: top_y change means full repaint, fix
8892         a drawing bug with cursor movement
8893
8894 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8895
8896         * lyxtext.h:
8897         * text.C:
8898         * text2.C: anchor row on setCursor
8899
8900 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8901
8902         * lyxtext.h: remove almost all mutable keywords
8903         * text.C:
8904         * text2.C:
8905         * text3.C: remove const keywords accordingly
8906
8907 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8908
8909         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8910         anon namespace
8911         (TeXEnvironment): ditto
8912         (TeXOnePar): ditto
8913
8914 2003-03-17  John Levon  <levon@movementarian.org>
8915
8916         * text.C (rowBreakPoint): remove attempt to fix displayed
8917         math insets inside a manual label
8918
8919 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8920
8921         * lyxtext.h: remove BufferView* as first arg from almost all class
8922         functions.
8923         * other files: adjust.
8924
8925 2003-03-17  John Levon  <levon@movementarian.org>
8926
8927         * lyxtext.h:
8928         * undo_funcs.C:
8929         * text2.C: more paint cleanups
8930
8931         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8932
8933         * rowpainter.h:
8934         * rowpainter.C: remove "smart" background painting code
8935
8936 2003-03-16  John Levon  <levon@movementarian.org>
8937
8938         * lyxtext.h:
8939         * text.C:
8940         * text2.C:
8941         * text3.C: add helper functions for setting refresh_row/y
8942
8943 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8944
8945         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8946         newline inset which *can* get inserted in the pass_thru layouts.
8947         This is primarily for literate documents.
8948
8949 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8950
8951         * buffer.C: increment LYX_FORMAT to 223
8952
8953 2003-03-14 André Pönitz <poenitz@gmx.net>
8954
8955         * textclass.h: prepare for environment handling, ws changes
8956         * lyxlayout.C: read latexheader and latexfooter tags
8957
8958 2003-03-14  John Levon  <levon@movementarian.org>
8959
8960         * text2.C: rewrite ::status() a bit
8961
8962 2003-03-13  John Levon  <levon@movementarian.org>
8963
8964         * lyxtext.h: add some docs
8965
8966 2003-03-13  John Levon  <levon@movementarian.org>
8967
8968         * lyxtext.h:
8969         * text.C:
8970         * text2.C:
8971         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8972
8973 2003-03-13  John Levon  <levon@movementarian.org>
8974
8975         * text3.C: fix appendix redrawing
8976
8977 2003-03-13  John Levon  <levon@movementarian.org>
8978
8979         * text.C (setHeightOfRow):
8980         * rowpainter.h:
8981         * rowpainter.C: make appendix mark have the text
8982           "Appendix" so the user knows what it is
8983
8984         * LColor.h:
8985         * LColor.C: s/appendixline/appendix/ from above
8986
8987 2003-03-13  John Levon  <levon@movementarian.org>
8988
8989         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8990
8991         * text.C: fix a getChar(pos) bug properly
8992
8993 2003-03-13  Angus Leeming  <leeming@lyx.org>
8994
8995         * commandtags.h:
8996         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8997         Probably only temporary. Let's see how things pan out.
8998
8999         * BufferView.C (unlockInset):
9000         * BufferView_pimpl.C (fitCursor):
9001         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9002
9003         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9004         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9005
9006         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9007         new functions that convert ParagraphParameters to and from a string.
9008
9009         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9010         BufferView::Pimpl's dispatch.
9011         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9012
9013 2003-03-13 André Pönitz <poenitz@gmx.net>
9014
9015         * lyxfunc.C:
9016         * text3.C:
9017         * factory.C: make it aware of InsetEnv
9018
9019 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9020
9021         * text2.C (setCursor): never ask for one past last
9022         (setCursor): add some debugging messages.
9023
9024         * text.C (singleWidth): never ask for one past last
9025         (singleWidth): ditto
9026         (leftMargin): ditto
9027         (rightMargin): ditto
9028         (rowBreakPoint): ditto
9029         (setHeightOfRow): ditto
9030         (prepareToPrint): ditto
9031
9032         * rowpainter.C (paintBackground): never ask for one past last
9033         (paintText): never ask for one past last
9034
9035         * paragraph_pimpl.C (getChar): make the assert stricter, never
9036         allow the one past last pos to be taken
9037
9038         * paragraph.C (getChar): ws changes only
9039
9040         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9041         (numberOfSeparators): ditto
9042         (numberOfHfills): ditto
9043
9044 2003-03-12  John Levon  <levon@movementarian.org>
9045
9046         * author.h:
9047         * author.C:
9048         * bufferparams.h:
9049         * bufferparams.C:
9050         * paragraph_funcs.C: fix per-buffer authorlists
9051
9052 2003-03-12  John Levon  <levon@movementarian.org>
9053
9054         * text.C: fix newline in right address
9055
9056 2003-03-12  Angus Leeming  <leeming@lyx.org>
9057
9058         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9059         duplicate those in LyXFunc::dispatch.
9060
9061         * commandtags.h:
9062         * LyXAction.C:
9063         * ToolbarDefaults.C:
9064         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9065         Add LFUN_FONTFREE_UPDATE.
9066
9067         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9068         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9069
9070         * bufferview_func.[Ch]: several new functions to facilliate
9071         transfer of data to and from the character dialog.
9072
9073 2003-03-12  John Levon  <levon@movementarian.org>
9074
9075         * buffer.C:
9076         * paragraph.h:
9077         * paragraph.C:
9078         * paragraph_funcs.C:
9079         * paragraph_pimpl.C:
9080         * sgml.C:
9081         * tabular.C:
9082         * text.C:
9083         * text3.C: remove META_NEWLINE in favour of an inset
9084
9085         * rowpainter.h:
9086         * rowpainter.C: remove paintNewline (done by inset)
9087
9088 2003-03-12  John Levon  <levon@movementarian.org>
9089
9090         * paragraph_pimpl.C: complain about bad getChar()s
9091         for a while at least
9092
9093 2003-03-12  John Levon  <levon@movementarian.org>
9094
9095         * buffer.h:
9096         * buffer.C: move paragraph read into a separate function,
9097         a little renaming to reflect that.
9098
9099         * bufferparams.h:
9100         * bufferparams.C: remove the author_ids map, not necessary now
9101
9102         * factory.h:
9103         * factory.C: moved Buffer::readInset to here
9104
9105         * paragraph_funcs.h:
9106         * paragraph_funcs.C: readParagraph free function moved from
9107         buffer.C
9108
9109         * tabular.C: name change
9110
9111 2003-03-12  John Levon  <levon@movementarian.org>
9112
9113         * buffer.C:
9114         * ParagraphParameters.C: move par params input to
9115         a read() method
9116
9117         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9118         behave like a normal read from the stream wrt reading
9119         a line vs. a \\token
9120
9121 2003-03-12  John Levon  <levon@movementarian.org>
9122
9123         * paragraph.C:
9124         * ParagraphParameters.h:
9125         * ParagraphParameters.C: move output code to a
9126         ::write() method
9127
9128 2003-03-12  John Levon  <levon@movementarian.org>
9129
9130         * BufferView.C (insertLyXFile):
9131         * buffer.h:
9132         * buffer.C:
9133         * tabular.C: use a parlist iterator for creating the
9134           document.
9135
9136 2003-03-12  John Levon  <levon@movementarian.org>
9137
9138         * buffer.C: make current_change static local not
9139           static file-scope
9140
9141 2003-03-12  John Levon  <levon@movementarian.org>
9142
9143         * buffer.C: fix insertStringAsLines for change tracking
9144
9145 2003-03-12  John Levon  <levon@movementarian.org>
9146
9147         * BufferView.C:
9148         * tabular.C:
9149         * buffer.h:
9150         * buffer.C:
9151         * bufferparams.h:
9152         * bufferparams.C: move author list into params. Rename some
9153           functions. Move the header reading into a separate token
9154           loop. Move the header token reading into BufferParams.
9155
9156 2003-03-12  John Levon  <levon@movementarian.org>
9157
9158         * changes.C: put debug inside lyxerr.debugging() checks
9159
9160 2003-03-11 André Pönitz <poenitz@gmx.net>
9161
9162         * factory.C: make it aware of InsetHFill
9163
9164 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9165
9166         * buffer.C (latexParagraphs): move function from here...
9167         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9168         args.
9169
9170 2003-03-10  Angus Leeming  <leeming@lyx.org>
9171
9172         * LyXAction.C (init): fix bug in poplating array with multiple entries
9173         with the same LFUN (spotted by JMarc).
9174
9175 2003-03-10  John Levon  <levon@movementarian.org>
9176
9177         * text.C:
9178         * text2.C: move getColumnNearX() near its
9179         only call site
9180
9181 2003-03-10  John Levon  <levon@movementarian.org>
9182
9183         * text.C: fix break before a minipage
9184
9185 2003-03-10  John Levon  <levon@movementarian.org>
9186
9187         * text.C: fix the last commit
9188
9189 2003-03-09  John Levon  <levon@movementarian.org>
9190
9191         * lyxtext.h:
9192         * text.C:
9193         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9194         bug 365 (don't break before insets unless needed). Don't
9195         return a value > last under any circumstances.
9196
9197 2003-03-09  Angus Leeming  <leeming@lyx.org>
9198
9199         * BufferView_pimpl.C (trackChanges, dispatch): call
9200         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9201
9202 2003-03-09  Angus Leeming  <leeming@lyx.org>
9203
9204         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9205         than Dialogs::showAboutlyx().
9206
9207 2003-03-09  Angus Leeming  <leeming@lyx.org>
9208
9209         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9210         than Dialogs::showTabularCreate().
9211
9212 2003-03-09  John Levon  <levon@movementarian.org>
9213
9214         * lyxtext.h:
9215         * text.C:
9216         * text2.C: 3rd arg to nextBreakPoint was always the same.
9217           Use references.
9218
9219 2003-03-08  John Levon  <levon@movementarian.org>
9220
9221         * lyxrow.C:
9222         * paragraph.C:
9223         * paragraph.h:
9224         * rowpainter.C:
9225         * text.C:
9226         * text2.C: Remove the "main" bit from the "main body"
9227           notion.
9228
9229 2003-03-08  John Levon  <levon@movementarian.org>
9230
9231         * text.C (leftMargin): The left margin of an empty
9232         manual label paragraph should not include the label width
9233         string length.
9234
9235         * text.C (prepareToPrint): don't attempt to measure hfills
9236         for empty manual label paragraphs - the answer should be 0
9237
9238 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9239
9240         * CutAndPaste.C: remove commented code and reindent.
9241
9242 2003-03-08  John Levon  <levon@movementarian.org>
9243
9244         * lyxfunc.h:
9245         * lyxfunc.C: move reloadBuffer()
9246
9247         * BufferView.h:
9248         * BufferView.C: to here
9249
9250         * lyxvc.C: add comment
9251
9252         * vc-backend.h:
9253         * vc-backend.C: call bv->reload() to avoid
9254           getStatus() check on MENURELOAD
9255
9256 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9257
9258         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9259         to an old format .dep file.
9260
9261 2003-03-07  Angus Leeming  <leeming@lyx.org>
9262
9263         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9264         when the LFUN_MOUSE_RELEASE should have been handled by
9265         inset->localDispatch.
9266
9267 2003-03-07  Angus Leeming  <leeming@lyx.org>
9268
9269         * BufferView_pimpl.C (dispatch):
9270         * LyXAction.C (init):
9271         * ToolbarDefaults.C (init):
9272         * commandtags.h:
9273         * lyxfunc.C (getStatus):
9274         remove LFUN_INSET_GRAPHICS.
9275
9276         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9277
9278 2003-03-07  Angus Leeming  <leeming@lyx.org>
9279
9280         * commandtags.h:
9281         * LyXAction.C (init):
9282         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9283
9284         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9285
9286         * commandtags.h:
9287         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9288
9289         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9290         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9291
9292 2003-03-07  Angus Leeming  <leeming@lyx.org>
9293
9294         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9295         remove "ert".
9296
9297 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9298
9299         * ParagraphList.C (front): new function
9300         (back): implement
9301
9302 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9303
9304         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9305         and top_row_offset_. removed var first_y.
9306         * text.C (top_y):
9307         * text2.C (LyXText, removeRow):
9308         * text3.C:
9309         * BufferView_pimpl.C:
9310         use these methods instead of using first_y
9311
9312 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9313
9314         * text2.C (pasteSelection): adjust for checkPastePossible
9315
9316         * CutAndPaste.C: remove Paragraph * buf and replace with
9317         ParagraphList paragraphs.
9318         (DeleteBuffer): delete
9319         (cutSelection): change the tc type to textclass_type
9320         (copySelection): change the tc type to textclass_type
9321         (copySelection): adjust for ParagraphList
9322         (pasteSelection): change the tc type to textclass_type
9323         (pasteSelection): adjust for Paragraphlist
9324         (nrOfParagraphs): simplify for ParagraphList
9325         (checkPastePossible): simplify for ParagraphList
9326         (checkPastePossible): remove unused arg
9327
9328         * ParagraphList.C (insert): handle the case where there are no
9329         paragraphs yet.
9330
9331         * CutAndPaste.h: make CutAndPaste a namespace.
9332
9333         * text3.C (dispatch): adjust
9334
9335         * text.C (breakParagraph): add a ParagraphList as arg
9336
9337         * paragraph_funcs.C (breakParagraph): change to take a
9338         BufferParams and a ParagraphList as args.
9339         (breakParagraphConservative): ditto
9340         (mergeParagraph): ditto
9341         (TeXDeeper): add a ParagraphList arg
9342         (TeXEnvironment): ditto
9343         (TeXOnePar): ditto
9344
9345         * buffer.C (readLyXformat2): adjust
9346         (insertStringAsLines): adjust
9347         (latexParagraphs): adjust
9348
9349         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9350         (cutSelection): adjust
9351         (pasteSelection): adjust
9352
9353         * BufferView_pimpl.C (insertInset): adjust
9354
9355 2003-03-05  Angus Leeming  <leeming@lyx.org>
9356
9357         * commandtags.h:
9358         * LyXAction.C (init):
9359         * BufferView_pimpl.C (dispatch):
9360         * lyxfunc.C (getStatus):
9361         remove LFUN_CHILD_INSERT.
9362
9363         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9364
9365 2003-03-05  Angus Leeming  <leeming@lyx.org>
9366
9367         * commandtags.h:
9368         * LyXAction.C (init):
9369         * src/factory.C (createInset):
9370         * lyxfunc.C (getStatus):
9371         * text3.C (dispatch):
9372         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9373
9374         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9375
9376 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9377
9378         * ParagraphList.C (insert): handle insert right before end()
9379         (erase): fix cases where it can be first or last paragraph.
9380
9381 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9382
9383         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9384         Paragraph::next and Paragraph::previous
9385         (TeXOnePar): ditto
9386
9387         * text.C (breakParagraph): adjust
9388
9389         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9390         BufferParams& as arg.
9391         (breakParagraph): use ParagraphList::insert
9392         (breakParagraphConservative): take a Buffer* instead of a
9393         BufferParams& as arg.
9394         (breakParagraphConservative): use ParagraphList::insert.
9395
9396         * buffer.C (insertStringAsLines): un-const it
9397         (insertStringAsLines): adjust
9398
9399         * ParagraphList.C (insert): new function
9400
9401         * CutAndPaste.C (pasteSelection): adjust
9402
9403         * text.C (backspace): adjust
9404
9405         * tabular.C (SetMultiColumn): adjust
9406
9407         * CutAndPaste.C (cutSelection): adjust
9408         (pasteSelection): adjust
9409
9410         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9411         Buffer const * as arg
9412
9413         * ParagraphList.C (erase): new function
9414         * paragraph_funcs.C (mergeParagraph): use it
9415         (mergeParagraph): make it take a Buffer* instead of a
9416         BufferParams* as arg
9417
9418         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9419         as arg
9420         (breakParagraphConservative): ditto
9421
9422         * paragraph.h: remove the breakParagraph friend
9423
9424         * paragraph.C (eraseIntern): new function
9425         (setChange): new function
9426
9427         * paragraph_funcs.C (mergeParagraph): make it take a
9428         ParagraphList::iterator instead of a Paragraph *, adjust
9429         accordingly.
9430
9431         * paragraph.h: move an #endif so that the change tracking stuff
9432         also works in the NO_NEXT case.
9433
9434 2003-03-04  Angus Leeming  <leeming@lyx.org>
9435
9436         * commandtags.h:
9437         * LyXAction.C: new LFUN_INSET_MODIFY.
9438
9439         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9440         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9441
9442 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9443
9444         * several files: ws changes only
9445
9446         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9447         (TeXEnvironment): ditto
9448         (TeXDeeper): ditto
9449
9450         * buffer.C (makeLaTeXFile): adjust
9451         (latexParagraphs): make it take ParagraphList::iterator as args
9452
9453 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9454
9455         * buffer.C (latexParagraphs): adjust
9456
9457         * paragraph.C (TeXOnePar): move function...
9458         (optArgInset): move function...
9459         (TeXEnvironment): move function...
9460         * paragraph_pimpl.C (TeXDeeper): move function...
9461         * paragraph_funcs.C: ...here
9462
9463         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9464
9465 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9466
9467         * buffer.C (readInset): remove compability code for old Figure and
9468         InsetInfo insets
9469
9470 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9471
9472         * buffer.C: ws changes
9473         (readInset):
9474
9475         * BufferView_pimpl.C: ditto
9476         * author.C: ditto
9477         * buffer.h: ditto
9478         * bufferlist.h: ditto
9479         * changes.h: ditto
9480         * lyxfunc.C: ditto
9481
9482 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9483
9484         * converter.[Ch]: split into itself +
9485         * graph.[Ch]
9486         * format.[Ch]
9487         * Makefile.am: += graph.[Ch] + format.[Ch]
9488         * MenuBackend.C
9489         * buffer.C
9490         * exporter.C
9491         * importer.C
9492         * lyx_main.C
9493         * lyxfunc.C
9494         * lyxrc.C: added #include "format.h"
9495
9496 2003-02-27  Angus Leeming  <leeming@lyx.org>
9497
9498         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9499           a label.
9500
9501         * factory.C (createInset): add "label" to the factory.
9502
9503         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9504           string and do no more.
9505
9506 2003-02-27  Angus Leeming  <leeming@lyx.org>
9507
9508         * commandtags.h:
9509         * LyXAction.C (init):
9510         * factory.C (createInset):
9511         * BufferView_pimpl.C (dispatch):
9512           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9513
9514         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9515
9516         * lyxfunc.C (dispatch):
9517         * text3.C (dispatch): pass name to params2string.
9518
9519 2003-02-26  Angus Leeming  <leeming@lyx.org>
9520
9521         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9522           blocks together.
9523           Rearrange the ~includes. Strip out the unnecessary ones.
9524
9525         * factory.C (createInset): reformat.
9526           create new insets for the various LFUN_XYZ_APPLY lfuns.
9527
9528 2003-02-26  John Levon  <levon@movementarian.org>
9529
9530         * lyxrow.h:
9531         * lyxrow.C: add isParStart,isParEnd helpers
9532
9533         * paragraph.h: make isInserted/DeletedText take refs
9534
9535         * paragraph_funcs.h:
9536         * paragraph_funcs.C: remove #if 0'd code
9537
9538         * lyxtext.h:
9539         * text3.C:
9540         * text2.C:
9541         * text.C: use lyxrow helpers above.
9542           Move draw and paint routines to RowPainter.
9543           Make several methods use refs not pointers.
9544           Make backgroundColor() const.
9545           Add markChangeInDraw(), isInInset().
9546           Merge changeRegionCase into changeCase.
9547           Make workWidth() shouldn't-happen code into an Assert.
9548
9549         * rowpainter.h:
9550         * rowpainter.C: new class for painting a row.
9551
9552         * vspace.h:
9553         * vspace.C: make inPixels take a ref
9554
9555 2003-02-26  Angus Leeming  <leeming@lyx.org>
9556
9557         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9558         LFUN_REF_APPLY.
9559
9560 2003-02-25  John Levon  <levon@movementarian.org>
9561
9562         * ispell.C: give the forked command a more accurate name
9563
9564 2003-02-22  John Levon  <levon@movementarian.org>
9565
9566         * toc.h:
9567         * toc.C: make TocItem store an id not a Paragraph *
9568           (bug #913)
9569
9570 2003-02-21  Angus Leeming  <leeming@lyx.org>
9571
9572         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9573           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9574           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9575           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9576           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9577           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9578
9579         * BufferView_pimpl.C (dispatch):
9580         * LyXAction.C (init):
9581         * factory.C (createInset):
9582         * lyxfunc.C (getStatus, dispatch):
9583         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9584
9585 2003-02-21  Angus Leeming  <leeming@lyx.org>
9586
9587         * BufferView_pimpl.C (MenuInsertLyXFile):
9588         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9589         * lyxfunc.C (menuNew, open, doImport):
9590           no longer pass a LyXView & to fileDlg.
9591
9592 2003-02-21  Angus Leeming  <leeming@lyx.org>
9593
9594         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9595         * LyXAction.C: change, BIBKEY to BIBITEM.
9596         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9597         Change InsetBibKey to InsetBibitem.
9598         Change BIBKEY_CODE to BIBITEM_CODE.
9599         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9600         * factory.C: replace insetbib.h with insetbibitem.h.
9601         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9602         * paragraph.C: replace insetbib.h with insetbibitem.h.
9603         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9604         Change bibkey() to bibitem().
9605         * text.C: remove insetbib.h.
9606         * text2.C: replace insetbib.h with insetbibitem.h.
9607         change bibkey() to bibitem().
9608         * text3.C: remove insetbib.h.
9609         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9610
9611 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9612
9613         * lyxrc.C (output): enclose user email in quotes (in case there are
9614         several words)
9615
9616 2003-02-18  John Levon  <levon@movementarian.org>
9617
9618         * buffer.h: add std::
9619
9620 2003-02-17  John Levon  <levon@movementarian.org>
9621
9622         * SpellBase.h:
9623         * ispell.h:
9624         * ispell.C:
9625         * pspell.h:
9626         * pspell.C: reworking. Especially in ispell, a large
9627           number of clean ups and bug fixes.
9628
9629         * lyxfunc.C: fix revert to behave sensibly
9630
9631 2003-02-17 André Pönitz <poenitz@gmx.net>
9632
9633         * LyXAction.C:
9634         * commandtags.h: new LFUN_INSERT_BIBKEY
9635
9636         * layout.h:
9637         * lyxlayout.C:
9638         * buffer.C:
9639         * factory.C:
9640         * text.C:
9641         * text2.C:
9642         * text3.C:
9643         * paragraph.[Ch]:
9644         * paragraph_func.C: remove special bibkey handling
9645
9646 2003-02-17  John Levon  <levon@movementarian.org>
9647
9648         * text.C (Delete): fix case where delete at the end of
9649           the very first paragraph would not merge the pars
9650
9651 2003-02-17  John Levon  <levon@movementarian.org>
9652
9653         * lyxrow.C: fix lastPrintablePos()
9654
9655 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9656
9657         * bufferparams.C (writeLaTeX): add a std:here
9658
9659         * buffer.C: and remove a using directive there
9660
9661 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9662
9663         * buffer.C (makeLaTeXFile): move the code that generates the
9664           preamble...
9665
9666         * bufferparams.C (writeLaTeX): ... in this new method
9667
9668         * LaTeXFeatures.C (getEncodingSet): make const
9669           (getLanguages): make const
9670
9671         * MenuBackend.C (binding): returns the binding associated to this
9672           action
9673           (add): sets the status of each item by calling getStatus. Adds
9674           some intelligence.
9675           (read): add support for OptSubMenu
9676           (expand): remove extra separator at the end of expanded menu
9677
9678 2003-02-15  John Levon  <levon@movementarian.org>
9679
9680         * BufferView.C:
9681         * BufferView_pimpl.C:
9682         * bufferlist.h:
9683         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9684           inset code that had no actual effect. Remove unneeded status
9685           code.
9686
9687 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9688
9689         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9690           in preamble
9691
9692 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9693
9694         * text.C (drawLengthMarker): also draw an arrow marker for
9695           symbolic lengths (medskip...)
9696
9697 2003-02-14  John Levon  <levon@movementarian.org>
9698
9699         * tabular.h:
9700         * tabular.C: better method names
9701
9702 2003-02-14  John Levon  <levon@movementarian.org>
9703
9704         * BufferView_pimpl.C:
9705         * bufferlist.C:
9706         * buffer.C:
9707         * converter.C:
9708         * lyx_cb.C:
9709         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9710           it's a more accurate name. Remove some pointless uses.
9711
9712 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9713
9714         * text2.C (LyXText): change order of initilizers to shut off
9715           warnings
9716
9717 2003-02-14  John Levon  <levon@movementarian.org>
9718
9719         * buffer.C: use ParIterator for getParFromID()
9720
9721         * paragraph.h:
9722         * paragraph.C:
9723         * paragraph_pimpl.h:
9724         * paragraph_pimpl.C: remove unused getParFromID()
9725
9726 2003-02-14  John Levon  <levon@movementarian.org>
9727
9728         * buffer.C: remove some very old #if 0'd parse code
9729
9730 2003-02-13  John Levon  <levon@movementarian.org>
9731
9732         * text.h:
9733         * text.C:
9734         * text2.C: move hfillExpansion(), numberOfSeparators(),
9735           rowLast(), rowLastPrintable(), numberofHfills(),
9736           numberOfLabelHfills() ...
9737
9738         * lyxrow.h:
9739         * lyxrow.C: ... to member functions here.
9740
9741         * paragraph.h:
9742         * paragraph.C:
9743         * lyxtext.h:
9744         * text.C: remove LyXText::beginningOfMainBody(), and call
9745           p->beginningOfMainBody() directly. Move the check for
9746           LABEL_MANUAL into the latter.
9747
9748         * text.h:
9749         * text.C:
9750         * text2.C:
9751         * vspace.C:
9752         * BufferView.h:
9753         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9754
9755         * text.h:
9756         * text.C:
9757         * text2.C:
9758         * text3.C:
9759         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9760           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9761
9762 2003-02-13  John Levon  <levon@movementarian.org>
9763
9764         * CutAndPaste.C: remove debug
9765
9766 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9767
9768         * paragraph.C (asString): remove two unused variables
9769
9770         * lyxtextclass.C (readTitleType):
9771           (Read):
9772           (LyXTextClass): handle new members titletype_ and titlename_
9773
9774         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9775
9776 2003-02-09  John Levon  <levon@movementarian.org>
9777
9778         * buffer.h:
9779         * buffer.C: replace hand-coded list with a map for the dep clean
9780
9781 2003-02-08  John Levon  <levon@movementarian.org>
9782
9783         * LaTeX.C: consolidate code into showRunMessage() helper
9784
9785 2003-02-08  John Levon  <levon@movementarian.org>
9786
9787         * lyxfind.C:
9788         * lyxtext.h:
9789         * text2.C:
9790         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9791           and pass the size in explicitly
9792
9793         * BufferView_pimpl.h:
9794         * BufferView_pimpl.C:
9795         * BufferView.h:
9796         * BufferView.C: add getCurrentChange()
9797
9798         * BufferView_pimpl.h:
9799         * BufferView_pimpl.C: handle change lfuns
9800
9801         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9802           for changes. Mark pasted paragraphs as new.
9803
9804         * support/lyxtime.h:
9805         * support/lyxtime.C:
9806         * DepTable.C: abstract time_t as lyx::time_type
9807
9808         * LColor.h:
9809         * LColor.C: add colours for new text, deleted text, changebars
9810
9811         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9812           package use "usenames" option.
9813
9814         * commandtags.h:
9815         * lyxfunc.C:
9816         * LyXAction.C: add change lfuns
9817
9818         * Makefile.am:
9819         * author.h:
9820         * author.C: author handling
9821
9822         * buffer.h:
9823         * buffer.C: add a per-buffer author list, with first entry as
9824           current author. Handle new .lyx tokens for change tracking. Output
9825           author list to .lyx file. Output dvipost stuff to .tex preamble.
9826           Bump lyx format to 222.
9827
9828         * bufferlist.h:
9829         * bufferlist.C: add setCurrentAuthor() to reset current author details
9830           in all buffers.
9831
9832         * bufferparams.h:
9833         * bufferparams.C: add param for tracking
9834
9835         * bufferview_funcs.C: output change info in minibuffer
9836
9837         * Makefile.am:
9838         * changes.h:
9839         * changes.C: add change-tracking structure
9840
9841         * debug.h:
9842         * debug.C: add CHANGES debug flag
9843
9844         * lyxfind.h:
9845         * lyxfind.C: add code for finding the next change piece
9846
9847         * lyxrc.h:
9848         * lyxrc.C: add user_name and user_email
9849
9850         * lyxrow.h:
9851         * lyxrow.C: add a metric for the top of the text line
9852
9853         * lyxtext.h:
9854         * text.C: implement accept/rejectChange()
9855
9856         * lyxtext.h:
9857         * text.C: paint changebars. Paint new/deleted text in the chosen
9858         colours. Strike through deleted text.
9859
9860         * paragraph.h:
9861         * paragraph.C:
9862         * paragraph_pimpl.h:
9863         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9864           in the current change to the insert functions. Rework erase to
9865           mark text as deleted, adding an eraseIntern() and a range-based
9866           erase(). Implement per-paragraph change lookup and
9867           accept/reject.
9868
9869         * paragraph_funcs.C: Fixup paste for change tracking.
9870
9871         * tabular.C: mark added row/columns as new.
9872
9873         * text.C: fix rowLast() to never return -1. Don't allow
9874           spellchecking of deleted text. Track transpose changes. Don't
9875           allow paragraph break or merge where appropriate.
9876
9877         * text2.C: leave cursor at end of selection after a cut.
9878
9879 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9880
9881         * text.C (getLengthMarkerHeight):
9882         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9883         visible on screen too.
9884
9885 2003-02-07  John Levon  <levon@movementarian.org>
9886
9887         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9888
9889 2003-02-05  Angus Leeming  <leeming@lyx.org>
9890
9891         * lyxserver.C (read_ready): revert my patch of 11 September last year
9892         as it sends PC cpu through the roof. Presumably this means that
9893         the lyxserver will no longer run on an Alpha...
9894
9895 2003-01-30  Angus Leeming  <leeming@lyx.org>
9896
9897         * factory.C (createInset): create an InsetCommandParam of type "index"
9898         and use it to 'do the right thing'.
9899
9900         * text2.C (getStringToIndex): ensure that cursor position is always
9901         reset to the reset_cursor position.
9902
9903 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9904
9905         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9906         disabled.
9907
9908 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9909
9910         * bufferview.C:
9911         * lyxcb.C:
9912         * lyxfunc.C: Output messages with identical spelling, punctuation,
9913         and spaces
9914
9915 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9916
9917         * MenuBackend.C (expandFormats): List only viewable export formats
9918         in "View" menu
9919
9920         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9921         message
9922
9923         * lyxfunc.C (getStatus): Make sure that formats other than
9924         "fax" can also be disabled
9925
9926 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9927
9928         * text3.C (dispatch): put the lfuns that insert insets in 3
9929         groups, and call doInsertInset with appropriate arguments.
9930         (doInsertInset): new function, that creates an inset and inserts
9931         it according to some boolean parameters.
9932
9933 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9934
9935         * buffer.C (readFile): remember to pass on 'par' when calling
9936         readFile recursively.
9937
9938 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9939
9940         * MenuBackend.C (expandFormats): add "..." to import formats.
9941
9942 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9943
9944         * paragraph.C (asString): Remove XForms RTL hacks.
9945
9946 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9947         * buffer.C: fix typo
9948
9949 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9950
9951         * Makefile.am (LIBS): delete var
9952         (lyx_LDADD): add @LIBS@ here instead.
9953
9954 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9955
9956         * Clarify the meaning of "wheel mouse jump"
9957
9958 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9959
9960         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9961         tabular in a float
9962
9963 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9964
9965         * importer.C (Loaders): do not preallocate 3 elements in the
9966         vector, since one ends up with 6 elements otherwise
9967
9968 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9969
9970         * DepTable.C (write): write the file name as last element of the
9971         .dep file (because it may contain spaces)
9972         (read): read info in the right order
9973
9974 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9975
9976         * paragraph_pimpl.C (simpleTeXBlanks):
9977         (simpleTeXSpecialChars):
9978         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9979
9980         * tabular.C (latex): add some missing case statements. Reindent.
9981
9982         * MenuBackend.C (expandToc): remove unused variable.
9983
9984 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9985
9986         * LColor.C:
9987         * LaTeX.C:
9988         * LyXAction.C:
9989         * MenuBackend.C:
9990         * buffer.C:
9991         * exporter.C:
9992         * lyxfunc.C:
9993         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9994         and the like.
9995
9996 2003-01-05  John Levon  <levon@movementarian.org>
9997
9998         * BufferView.h:
9999         * BufferView.C: add getEncoding()
10000
10001         * kbsequence.h:
10002         * kbsequence.C: do not store last keypress
10003
10004         * lyxfunc.h:
10005         * lyxfunc.C: store last keypress here instead. Pass encoding
10006           to getISOEncoded()
10007
10008 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10009
10010         * lyx_main.C (init): remove annoying error message when following
10011         symbolic links (bug #780)
10012
10013 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10014
10015         * text.C (insertChar):
10016         * lyxrc.C (getDescription): remove extra spaces
10017
10018 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10019
10020         * lyxrc.C (getDescription): remove extra spaces
10021
10022 2002-12-20  John Levon  <levon@movementarian.org>
10023
10024         * text3.C: hack fix for page up/down across tall rows
10025
10026 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10027
10028         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10029         not been invoked
10030
10031 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10032
10033         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10034         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10035         thesaurus is not compiled in
10036
10037 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10038
10039         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10040
10041 2002-12-16  Angus Leeming  <leeming@lyx.org>
10042
10043         * lyxrc.[Ch]:
10044         * lyx_main.C (init): remove override_x_deadkeys stuff.
10045
10046 2002-12-12  John Levon  <levon@movementarian.org>
10047
10048         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10049           insert. Only remove shift modifier under strict
10050           circumstances.
10051
10052 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10053
10054         * MenuBackend.C (expandToc): fix crash.
10055
10056 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10057
10058         * MenuBackend.C (expandToc): gettext on float names.
10059
10060 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10061
10062         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10063         implement bool empty() [bug 490]
10064
10065 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10066
10067         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10068
10069 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10070
10071         * several files: ws changes
10072
10073 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10074
10075         * text2.C (setCounter): clean up a bit, use boost.format.
10076         (updateCounters): initialize par upon declaration.
10077
10078         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10079         if the layout exists. We do not just store the layout any more.
10080         (SwitchLayoutsBetweenClasses): use boost.format
10081
10082 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10083
10084         * converter.C (convert): if from and to files are the same, use a
10085         temporary files as intermediary
10086
10087 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10088
10089         * commandtags.h:
10090         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10091
10092 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10093
10094         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10095
10096 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10097
10098         * tabular.C (asciiPrintCell): use string(size, char) instead of
10099         explicit loop.
10100
10101         * sgml.C (openTag): fix order of arguments to string constructor
10102         (closeTag): ditto
10103
10104         * lyxfunc.C (dispatch): use boost.format
10105
10106         * lots of files: change "c" -> 'c'
10107
10108 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10109
10110         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10111
10112 2002-11-25  Angus Leeming  <leeming@lyx.org>
10113
10114         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10115
10116         * lyx_main.C (init): compile fix.
10117
10118 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10119
10120         * lyx_cb.C (start): boost.formatify
10121         do not include <iostream>
10122
10123         * lengthcommon.C: ws only
10124
10125         * boost-inst.C,BoostFormat.h: add more explict instantations
10126
10127 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10128
10129         * lots of files: handle USE_BOOST_FORMAT
10130
10131 2002-11-21  John Levon  <levon@movementarian.org>
10132
10133         * pspell.C: fix compile
10134
10135 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10136
10137         * lyxfunc.C (dispatch): use boost::format
10138         (open): ditto
10139         (doImport): ditto
10140
10141         * lyxfont.C (stateText): use boost::format
10142
10143         * lyx_main.C (LyX): use boost::format
10144         (init): ditto
10145         (queryUserLyXDir): ditto
10146         (readRcFile): ditto
10147         (parse_dbg): ditto
10148         (typedef boost::function): use the recommened syntax.
10149
10150         * importer.C (Import): use boost::format
10151
10152         * debug.C (showLevel): use boost::format
10153
10154         * converter.C (view): use boost::format
10155         (convert): ditto
10156         (move): ditto
10157         (scanLog): ditto
10158
10159         * bufferview_funcs.C (currentState): use boost::format
10160
10161         * bufferlist.C (emergencyWrite): use boost::format
10162
10163         * buffer.C (readLyXformat2): use boost::format
10164         (parseSingleLyXformat2Token): ditto
10165
10166         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10167
10168         * LaTeX.C (run): use boost::format
10169
10170         * Chktex.C (scanLogFile): use boost::format
10171
10172         * BufferView_pimpl.C (savePosition): use boost::format
10173         (restorePosition): ditto
10174         (MenuInsertLyXFile): ditto
10175
10176         * BoostFormat.h: help file for explicit instation.
10177
10178 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10179
10180         * tabular.C (latex): Support for block alignment in fixed width
10181         columns.
10182
10183 2002-11-17  John Levon  <levon@movementarian.org>
10184
10185         * BufferView_pimpl.C:
10186         * lyx_cb.C:
10187         * lyxfunc.C: split filedialog into open/save
10188
10189 2002-11-08  Juergen Vigna  <jug@sad.it>
10190
10191         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10192         by my last patch (hopefully).
10193
10194 2002-11-08  John Levon  <levon@movementarian.org>
10195
10196         * iterators.h:
10197         * iterators.C:
10198         * buffer.h:
10199         * buffer.C:
10200         * paragraph.h:
10201         * paragraph.C:
10202         * toc.h:
10203         * toc.C: ParConstIterator, and use it (from Lars)
10204
10205 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10206
10207         * lyxtextclass.[Ch]: revise and add doxygen comments
10208
10209 2002-11-07  John Levon  <levon@movementarian.org>
10210
10211         * text.C: fix progress value for spellchecker
10212
10213         * toc.C: fix navigate menu for insetwrap inside minipage
10214
10215         * paragraph_funcs.C: added FIXME for suspect code
10216
10217 2002-11-07  John Levon  <levon@movementarian.org>
10218
10219         * BufferView_pimpl.C: fix redrawing of insets
10220           on buffer switch
10221
10222 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10223
10224         * text2.C (updateCounters): fix bug 668
10225
10226 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10227
10228         * text3.C (dispatch): Do not make the buffer dirty when moving the
10229         cursor.
10230
10231 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10232
10233         * vc-backend.C: STRCONV
10234         (scanMaster): ditto
10235
10236         * text2.C (setCounter): STRCONV
10237
10238         * paragraph.C (asString): STRCONV
10239
10240         * lyxlength.C (asString): STRCONV
10241         (asLatexString): ditto
10242
10243         * lyxgluelength.C (asString): STRCONV
10244         (asLatexString): ditto
10245
10246         * lyxfunc.C (dispatch): STRCONV
10247         (open): ditto
10248
10249         * lyxfont.C (stateText): STRCONV
10250
10251         * importer.C (Import): STRCONV
10252
10253         * counters.C (labelItem): STRCONV
10254         (numberLabel): ditto
10255         (numberLabel): remove unused ostringstream o
10256
10257         * chset.C: STRCONV
10258         (loadFile): ditto
10259
10260         * bufferview_funcs.C (currentState): STRCONV
10261
10262         * buffer.C (readFile): STRCONV
10263         (asciiParagraph): ditto
10264         (makeLaTeXFile): ditto
10265
10266         * Spacing.C (writeEnvirBegin): STRCONV
10267
10268         * LaTeXFeatures.C (getLanguages): STRCONV
10269         (getPackages): ditto
10270         (getMacros): ditto
10271         (getBabelOptions): ditto
10272         (getTClassPreamble): ditto
10273         (getLyXSGMLEntities): ditto
10274         (getIncludedFiles): ditto
10275
10276         * LaTeX.C: STRCONV
10277         (run): ditto
10278         (scanAuxFile): ditto
10279         (deplog): ditto
10280
10281         * LString.h: add the STRCONV macros
10282
10283         * BufferView_pimpl.C (savePosition): STRCONV
10284         (restorePosition): ditto
10285         (MenuInsertLyXFile): ditto
10286
10287         * vc-backend.C (scanMaster): change from submatch[...] to
10288         submatch.str(...)
10289
10290         * funcrequest.C: include config.h
10291
10292         * factory.C: include config.h
10293
10294         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10295
10296         * box.C: include config.h
10297
10298         * LaTeX.C (scanAuxFile): change from submatch[...] to
10299         submatch.str(...)
10300         (deplog): ditto
10301
10302 2002-10-25  Angus Leeming  <leeming@lyx.org>
10303
10304         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10305
10306         * ispell.[Ch] (setError): new method.
10307         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10308         Use setError() insetead of goto END.
10309
10310         * lyx_cb.C (AutoSave): move out child process into new class
10311         AutoSaveBuffer.
10312
10313 2002-10-30  John Levon  <levon@movementarian.org>
10314
10315         * text3.C: make start appendix undoable
10316
10317 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10318
10319         * lyxlength.C (inPixels): Fix returned value.
10320
10321         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10322         environment.
10323
10324 2002-10-24  Angus Leeming  <leeming@lyx.org>
10325
10326         * lyxgluelength.h: no need to forward declare BufferParams
10327         or BufferView, so don't.
10328
10329 2002-10-21  John Levon  <levon@movementarian.org>
10330
10331         * BufferView.C: menuUndo ->undo, redo
10332
10333         * BufferView.h: document, remove dead, make some methods private
10334
10335         * paragraph_funcs.h:
10336         * paragraph_funcs.C:
10337         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10338
10339         * buffer.h:
10340         * buffer.C:
10341         * sgml.h:
10342         * sgml.C: move sgml open/close tag into sgml.C
10343
10344         * bufferview_funcs.h: unused prototype
10345
10346         * lyxfunc.h:
10347         * lyxfunc.C: remove unused
10348
10349         * lyxtext.h:
10350         * text.C: remove unused
10351
10352 2002-10-21  John Levon  <levon@movementarian.org>
10353
10354         * BufferView.h:
10355         * BufferView.C:
10356         * BufferView_pimpl.h:
10357         * BufferView_pimpl.C: fix mouse wheel handling based on
10358           patch from Darren Freeman
10359
10360 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10361
10362         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10363
10364 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10365
10366         * lyxlength.C (inPixels): Fix hanfling of negative length.
10367         Fix LyXLength::MU case.
10368
10369 2002-10-16  John Levon  <levon@movementarian.org>
10370
10371         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10372
10373 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10374
10375         * converter.C (view): add support for $$i (file name) and $$p
10376         (file path) for the viewer command. If $$i is not specified, then
10377         it is appended to the command (for compatibility with old syntax)
10378
10379 2002-10-14  Juergen Vigna  <jug@sad.it>
10380
10381         * undo_funcs.C (textHandleUndo): alter the order in which the
10382         new undopar is added to the LyXText, as we have to set first
10383         the right prev/next and then add it as otherwise the rebuild of
10384         LyXText is not correct. Also reset the cursor to the right paragraph,
10385         with this IMO we could remove the hack in "redoParagraphs()".
10386
10387 2002-10-09  Angus Leeming  <leeming@lyx.org>
10388
10389         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10390         to turn off an optimisation if a new inset is to be inserted.
10391
10392 2002-10-11 André Pönitz <poenitz@gmx.net>
10393
10394         * lyxtext.h: make some functions public to allow access
10395         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10396
10397 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10398
10399         * text3.C (dispatch): when changing layout, avoid an infinite loop
10400         [bug #652]
10401
10402 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10403
10404         * lyxrc.C (read): treat a viewer or converter command of "none" as
10405         if it were empty.
10406
10407         * MenuBackend.C (expandFormats): for an update, also allow the
10408         formats that are not viewable
10409
10410         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10411         script if it is newer than the lyxrc.defaults in user directory
10412
10413 2002-10-07 André Pönitz <poenitz@gmx.net>
10414
10415         * text.C: Vitaly Lipatov's small i18n fix
10416
10417 2002-09-25  Angus Leeming  <leeming@lyx.org>
10418
10419         * ispell.h: doxygen fix.
10420
10421 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10422
10423         * buffer.h (readFile): Add a new argument to the method, to allow
10424         reading of old-format templates.
10425
10426 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10427
10428         * toc.C (getTocList): Get TOC from InsetWrap.
10429
10430 2002-09-16  John Levon  <levon@movementarian.org>
10431
10432         * lyxfunc.C: check tabular for cut/copy too
10433
10434 2002-09-12  John Levon  <levon@movementarian.org>
10435
10436         * LyXAction.C: tidy
10437
10438         * factory.h:
10439         * factory.C: add header
10440
10441         * paragraph_funcs.h:
10442         * paragraph_funcs.C: cleanup
10443
10444 2002-09-11  John Levon  <levon@movementarian.org>
10445
10446         * PrinterParams.h: odd/even default to true
10447
10448 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10449
10450         * PrinterParams.h: update printer parameters for new xforms dialog
10451
10452 2002-09-11  Angus Leeming  <leeming@lyx.org>
10453
10454         * lyxserver.C (read_ready): re-write to make it more transparent
10455         and to make it work in coherent fashion under Tru64 Unix.
10456
10457 2002-09-11  André Pönitz <poenitz@gmx.net>
10458
10459         * commandtags.h:
10460         * LyXAction.C:
10461         * text3.C: implement LFUN_WORDSEL
10462
10463 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10464
10465         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10466         make floatlist_ a boost::shared_ptr<FloatList>
10467
10468         * lyxtextclass.C: include FloatList.h
10469         (LyXTextClass): initialize floatlist_
10470         (TextClassTags): add TC_NOFLOAT
10471         (Read): match "nofloat" to TC_NOFLOAT and use it.
10472         (readFloat): modify call to floatlist_
10473         (floats): ditto
10474         (floats): ditto
10475
10476         * FloatList.[Ch] (FloatList): remove commented out float
10477         initialization.
10478         (erase): new function
10479
10480 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10481
10482         * MenuBackend.C (expandToc): fix crash when there is no document
10483         open
10484
10485 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10486
10487         * many files: Add insetwrap.
10488
10489 2002-09-09  John Levon  <levon@movementarian.org>
10490
10491         * text2.C: remove confusing and awkward depth wraparound
10492
10493 2002-09-09  John Levon  <levon@movementarian.org>
10494
10495         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10496
10497         * buffer.h:
10498         * buffer.C: remove getIncludeonlyList()
10499
10500         * paragraph.C:
10501         * lyxfunc.C: remove headers
10502
10503 2002-09-09  Juergen Vigna  <jug@sad.it>
10504
10505         * text.C (getColumnNearX): fix form Michael this is most
10506         probably a cut&paste bug.
10507
10508 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10509
10510         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10511
10512         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10513         references, ws changes.
10514
10515         * text2.C (init): update counters after init
10516         (insertParagraph): no need to set counter on idividual paragraphs.
10517         (setCounter): access the counters object in the textclass object
10518         on in the buffer object.
10519         (updateCounters): ditto
10520
10521         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10522         shared_ptr<Counters> to avoid loading counters.h in all
10523         compilation units.
10524         (LyXTextClass): initialize ctrs_
10525         (TextClassTags): add TC_COUNTER, and ...
10526         (Read): use it here.
10527         (CounterTags): new tags
10528         (readCounter): new function
10529         (counters): new funtion
10530         (defaultLayoutName): return a const reference
10531
10532         * counters.C (Counters): remove contructor
10533         (newCounter): remove a couple of unneeded statements.
10534         (newCounter): simplify a bit.
10535         (numberLabel): some small formatting changes.
10536
10537         * buffer.[Ch]: remove all traces of counters, move the Counters
10538         object to the LyXTextClass.
10539
10540 2002-09-06  Alain Castera  <castera@in2p3.fr>
10541
10542         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10543         package to set the horizontal alignment on fixed width columns.
10544
10545         * lyx_sty.C:
10546         * lyx_sty.h: added tabularnewline macro def.
10547
10548         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10549
10550 2002-09-06  John Levon  <levon@movementarian.org>
10551
10552         * LyXAction.C: tooltips for sub/superscript
10553
10554         * MenuBackend.C: a bit more verbose
10555
10556         * lyxfunc.C: tiny clean
10557
10558         * undo_funcs.C: document undo_frozen
10559
10560 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10561
10562         * counters.C (Counters): add missing algorithm counter.
10563
10564         * text2.C (setCounter): lookup the counter with layouts latexname
10565         instead of by section number.
10566         (setCounter): use a hackish way to lookup the correct enum
10567         counter.
10568         a float name->type change
10569         reset enum couners with counter name directly instead of depth value.
10570
10571         * counters.C (Counters): remove the push_backs, change to use the
10572         float type not the float name.
10573         (labelItem): remove unused string, float name->type change
10574
10575         * counters.h: don't include vector, loose the enums and sects vectors
10576
10577 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10578
10579         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10580         (Read): add float->TC_FLOAT to textclassTags
10581         (Read): and handle it in the switch
10582         (readFloat): new function
10583
10584         * FloatList.C (FloatList): comment out the hardcoded float
10585         definitions.
10586
10587         * lyxlayout.h: ws change.
10588
10589 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10590
10591         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10592
10593 2002-09-03  Angus Leeming  <leeming@lyx.org>
10594
10595         * BufferView_pimpl.h: qualified name is not allowed in member
10596         declaration: WorkArea & Pimpl::workarea() const;
10597
10598         * factory.C: added using std::endl directive.
10599
10600         * text3.C: added using std::find and std::vector directives.
10601
10602 2002-08-29  André Pönitz <poenitz@gmx.net>
10603
10604         * lyxtext.h:
10605         * text2.C: remove unused member number_of_rows
10606
10607         * Makefile.am:
10608         * BufferView2.C: remove file, move contents to...
10609         * BufferView.C: ... here
10610
10611         * BufferView_pimpl.C:
10612         * factory.C: move more inset creation to factory
10613
10614         * vspace.C: avoid direct usage of LyXText, ws changes
10615
10616         * BufferView.[Ch]:
10617                 don't provide direct access to WorkArea, use two simple
10618                 acessors haveSelction() and workHeight() instead
10619
10620
10621 2002-08-29  John Levon  <levon@movementarian.org>
10622
10623         * BufferView_pimpl.C (dispatch): do not continue when
10624           no buffer
10625
10626 2002-08-28  André Pönitz <poenitz@gmx.net>
10627
10628         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10629
10630         * BufferView.h:
10631         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10632
10633 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10634
10635         * buffer.C: increment LYX_FORMAT to 221
10636
10637         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10638         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10639
10640         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10641
10642         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10643
10644 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10645
10646         * factory.C (createInset): use LyXTextClass::floats
10647
10648         * MenuBackend.C (expandFloatListInsert):
10649         (expandFloatInsert):
10650         (expandToc):
10651
10652         * text2.C (setCounter):
10653
10654         * LaTeXFeatures.C (useFloat):
10655         (getFloatDefinitions):
10656
10657         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10658
10659         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10660         floatlist_, with accessor floats().
10661
10662         * FloatList.h: remove global FloatList
10663
10664 2002-08-26  André Pönitz <poenitz@gmx.net>
10665
10666         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10667
10668         * BufferView.h:
10669         * BufferView2.C:
10670         * BufferView_pimpl.C:
10671         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10672
10673 2002-08-25  John Levon  <levon@movementarian.org>
10674
10675         * LyXAction.C: fix margin note description
10676
10677 2002-08-24  John Levon  <levon@movementarian.org>
10678
10679         * buffer.C:
10680         * bufferlist.C:
10681         * bufferview_funcs.C:
10682         * lyxfont.C:
10683         * undo_funcs.C: cleanups
10684
10685         * lyxfunc.C: disable CUT/COPY when no selection
10686
10687 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10688
10689         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10690         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10691
10692         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10693         Add backward compatibility to "mono", "gray" and "no".
10694
10695 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10696
10697         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10698         (and file_format >= 200).
10699
10700 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10701
10702         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10703
10704 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10705
10706         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10707
10708 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10709
10710         * BufferView_pimpl.C:
10711         * LyXAction.C:
10712         * buffer.C:
10713         * commandtags.h:
10714         * lyxfunc.C:
10715         * paragraph.[Ch]:
10716         * text2.C:
10717         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10718         inset and code to make it  work with the paragraph code. The inset
10719         can be anywhere in the paragraph, but will only do the expected
10720         thing in LaTeX if the layout file contains the parameter line
10721                         OptionalArgs    1
10722         (or more generally, a nonzero value) for that layout.
10723
10724 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10725
10726         * paragraph.h: remove the declaration of undefined counters class
10727         function.
10728
10729 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10730
10731         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10732         Dr. Richard Hawkins.
10733
10734 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10735
10736         * paragraph_funcs.h: remove some unneeded includes
10737
10738         * text.C (backspace): pasteParagraph now in global scipe
10739
10740         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10741         (pasteSelection): ditto
10742
10743         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10744         * paragraph_funcs.C (pasteParagraph): ... here
10745
10746 2002-08-20  André Pönitz <poenitz@gmx.net>
10747
10748         * commandtags.h: new LFUNs for swapping/copying table row/colums
10749
10750         * LyXAction.C:
10751         * lyxfunc.C: support for new lfuns
10752
10753 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10754
10755         * tabular.C:
10756         * buffer.[Ch]: remove NO_COMPABILITY stuff
10757
10758 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10759
10760         * boost.C (throw_exception): new file, with helper function for
10761         boost compiled without exceptions.
10762
10763         * paragraph.h:
10764         * lyxlength.C:
10765         * buffer.C:
10766         * ParameterStruct.h:
10767         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10768
10769         * bufferlist.C (emergencyWriteAll): use boost bind
10770
10771         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10772
10773         * text.C: include paragraph_funcs.h
10774         (breakParagraph): breakParagraph is now in global scope
10775
10776         * paragraph_funcs.[Ch]: new files
10777
10778         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10779         global scope
10780
10781         * buffer.C: include paragraph_funcs.h
10782         (insertStringAsLines): breakParagraph is now in global scope
10783
10784         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10785         paragraph_funcs.C
10786
10787         * CutAndPaste.C: include paragraph_funcs.h
10788         (cutSelection): breakParagraphConservative is now in global scope
10789         (pasteSelection): ditto
10790
10791         * buffer.h: declare oprator== and operator!= for
10792         Buffer::inset_iterator
10793
10794         * bufferlist.C (emergencyWrite): don't use fmt(...)
10795
10796         * text3.C: add using std::endl
10797
10798         * BufferView.C (moveCursorUpdate): remove default arg
10799
10800 2002-08-20  André Pönitz <poenitz@gmx.net>
10801
10802         * buffer.[Ch]: move inline functions to .C
10803
10804         * BufferView2.C:
10805         * BufferView_pimpl.C:
10806         * text.C:
10807         * buffer.[Ch]: use improved inset_iterator
10808
10809         * buffer.C:
10810         * paragraph.[Ch]: write one paragraph at a time
10811
10812 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10813
10814         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10815         style if style is not specified.
10816
10817 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10818
10819         * text2.C (setCounter): when searching for right label for a
10820         caption, make sure to recurse to parent insets (so that a caption
10821         in a minipage in a figure float works) (bug #568)
10822
10823 2002-08-20  André Pönitz <poenitz@gmx.net>
10824
10825         * text3.C: new file for LyXText::dispatch() and helpers
10826
10827         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10828
10829         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10830
10831 2002-08-19  André Pönitz <poenitz@gmx.net>
10832
10833         * lyxtext.h:
10834         * text.C: new LyXText::dispatch()
10835
10836         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10837
10838 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10839
10840         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10841
10842         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10843         Hebrew text.
10844
10845 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10846
10847         * Makefile.am: use $(variables) instead of @substitutions@
10848
10849 2002-08-15  André Pönitz <poenitz@gmx.net>
10850
10851         * lyxfunc.C:
10852         * BufferView_pimpl.C: streamlining mathed <-> outer world
10853         interaction
10854
10855         * commandtags.h:
10856         * LyXAction.C: remove unused LFUN_MATH
10857
10858 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10859
10860         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10861
10862 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10863
10864         * paragraph.C (Paragraph): reformat a bit
10865         (cutIntoMinibuffer): use builtin InsetList function instad of
10866         doing it manually.
10867         (getInset): ditto
10868
10869         * buffer.C: include boost/bind.hpp, add using std::for_each
10870         (writeFileAscii): use ParagraphList iterators
10871         (validate): use for_each for validate traversal of paragraphs
10872         (getBibkeyList): use ParagraphList iterators
10873         (resizeInsets): use for_each to resizeInsetsLyXText for all
10874         paragraphs.
10875         (getParFromID): use ParagraphList iterators
10876
10877         * BufferView2.C (lockInset): use paragraph list and iterators
10878
10879 2002-08-14  John Levon  <levon@movementarian.org>
10880
10881         * lyxserver.C: remove spurious xforms include
10882
10883 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10884
10885         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10886
10887 2002-08-13  André Pönitz <poenitz@gmx.net>
10888
10889         * LyXAction.[Ch]:
10890         * lyxfunc.C: further cleaning
10891
10892 2002-08-13  André Pönitz <poenitz@gmx.net>
10893
10894         * funcrequest.h: new constructor
10895
10896         * funcrequest.C: move stuff here from .h
10897
10898         * Makefile.am:
10899         * BufferView_pimpl.C:
10900         * LyXAction.C:
10901         * toc.C:
10902         * lyxfunc.C: subsequent changes
10903
10904         * lyxfunc.h: new view() member function
10905
10906         * lyxfunc.C: subsequent changes
10907
10908 2002-08-13  Angus Leeming  <leeming@lyx.org>
10909
10910         * BufferView2.C:
10911         * BufferView_pimpl.C:
10912         * buffer.C:
10913         * converter.C:
10914         * importer.C:
10915         * lyxfunc.C:
10916         * lyxvc.C:
10917         * toc.C:
10918         * vc-backend.C:
10919         changes due to the changed LyXView interface that now returns references
10920         to member variables not pointers.
10921
10922 2002-08-13  Angus Leeming  <leeming@lyx.org>
10923
10924         * WordLangTuple (word, lang_code): return references to strings,
10925         not strings.
10926
10927         * BufferView.h:
10928         * SpellBase.h:
10929         * lyxtext.h: forward-declare WordLangTuple.
10930
10931         * BufferView2.C:
10932         * ispell.C:
10933         * pspell.C:
10934         * text.C: #include "WordLangTuple.h".
10935
10936         * lyxtext.h:
10937         * text.C: (selectNextWordToSpellcheck): constify return type.
10938
10939 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10940
10941         * buffer.C:
10942         * buffer.h:
10943         * lyxtext.h:
10944         * paragraph.C:
10945         * paragraph_pimpl.h:
10946         * text.C:
10947         * text2.C:
10948         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10949         suggested by Angus.
10950         Made updateCounter always count from start of buffer, and removed
10951         second argument (par).
10952         Reverted floats number display to '#'. Perhaps I'll try again when the
10953         code base is sanitized a bit.
10954
10955 2002-08-12  Angus Leeming  <leeming@lyx.org>
10956
10957         * buffer.[Ch] (getLabelList): constify.
10958
10959 2002-08-07  André Pönitz <poenitz@gmx.net>
10960
10961         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10962
10963         * funcrequest.h: extension to keep mouse (x,y) position
10964
10965 2002-08-12  Juergen Vigna  <jug@sad.it>
10966
10967         * BufferView2.C (insertErrors): forbid undo when inserting error
10968         insets.
10969
10970         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10971
10972 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10973
10974         * ParagraphList.[Ch]: new files
10975
10976         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10977
10978         * BufferView2.C (lockInset): ParagraphList changes
10979         * toc.C: ditto
10980         * text2.C: ditto
10981         * bufferlist.C: ditto
10982         * buffer.h: ditto
10983         * buffer.C: ditto
10984
10985 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10986
10987         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10988         unused class variable counter_,
10989
10990         * paragraph.[Ch] (getFirstCounter): delete unused function
10991
10992         * counters.C: include LAssert.h
10993         (reset): add a new function with no arg, change other version to
10994         not have def. arg and to not allow empty arg.
10995
10996         * text2.C (setCounter): remove empty arg from call to Counters::reset
10997
10998 2002-08-11  John Levon  <levon@movementarian.org>
10999
11000         * Makefile.am: add WordLangTuple.h
11001
11002 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11003
11004         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11005         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11006
11007         * insets/insettext.C: InsetList changes
11008
11009         * graphics/GraphicsSupport.C (operator()): InsetList changes
11010
11011         * toc.C (getTocList): InsetList changes
11012
11013         * paragraph_pimpl.[Ch]: InsetList changes
11014
11015         * paragraph.[Ch]: InsetList changes
11016
11017         * buffer.C (inset_iterator): InsetList changes
11018         (setParagraph): ditto
11019         * buffer.h (inset_iterator): ditto
11020         * iterators.C (operator++): ditto
11021         * iterators.h: ditto
11022
11023         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11024
11025         * InsetList.[Ch]: new files, most InsetList handling moved out of
11026         paragraph.C.
11027
11028         * BufferView2.C (removeAutoInsets): InsetList changes
11029         (lockInset): ditto
11030         (ChangeInsets): ditto
11031
11032 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11033
11034         * paragraph_pimpl.h (empty): new function
11035
11036         * paragraph.[Ch] (empty): new function
11037
11038         * other files: use the new Paragraph::empty function
11039
11040 2002-08-09  John Levon  <levon@movementarian.org>
11041
11042         * lyxtext.h: remove unused refresh_height
11043
11044 2002-08-09  John Levon  <levon@movementarian.org>
11045
11046         * Makefile.am:
11047         * sgml.h:
11048         * sgml.C:
11049         * buffer.C:
11050         * paragraph.h:
11051         * paragraph.C: move sgml char escaping out of paragraph
11052
11053         * paragraph.h:
11054         * paragraph.C: remove id setter
11055
11056         * buffer.C:
11057         * paragraph.C:
11058         * paragraph_pimpl.C: remove dead tex_code_break_column
11059
11060         * bufferview_funcs.C: small cleanup
11061
11062         * lyxfunc.C: remove dead proto
11063
11064         * lyxtext.h: make some stuff private. Remove some dead stuff.
11065
11066         * lyxgluelength.C: make as[LyX]String() readable
11067
11068 2002-08-08  John Levon  <levon@movementarian.org>
11069
11070         * LyXAction.h:
11071         * LyXAction.C:
11072         * MenuBackend.C:
11073         * ToolbarDefaults.C:
11074         * lyxfunc.C:
11075         * lyxrc.C:
11076         * toc.C: lyxaction cleanup
11077
11078 2002-08-08  John Levon  <levon@movementarian.org>
11079
11080         * BufferView2.C: small cleanup
11081
11082         * lyxfind.h:
11083         * lyxfind.C: move unnecessary header into the .C
11084
11085 2002-08-08  John Levon  <levon@movementarian.org>
11086
11087         * funcrequest.h: just tedious nonsense
11088
11089         * lyx_main.h:
11090         * lyx_main.C: cleanups
11091
11092         * buffer.C:
11093         * vspace.C: remove dead header lyx_main.h
11094
11095 2002-08-07  Angus Leeming  <leeming@lyx.org>
11096
11097         * Paragraph.[Ch]:
11098         * paragraph_pimpl.h:
11099         Forward declare class Counters in paragraph.h by moving the ctrs member
11100         variable into Paragraph::Pimpl.
11101         (counters): new method, returning a reference to pimpl_->ctrs.
11102
11103         * text2.C: ensuing changes.
11104
11105 2002-08-07  John Levon  <levon@movementarian.org>
11106
11107         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11108
11109         * BufferView_pimpl.C: announce X selection on double/triple
11110           click
11111
11112         * lyx_main.C: use correct bool in batch dispatch
11113
11114         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11115
11116 2002-08-07  André Pönitz <poenitz@gmx.net>
11117
11118         * funcrequest.h: new class to wrap a kb_action and its argument
11119
11120         * BufferView.[Ch]:
11121         * BufferView_pimpl[Ch]:
11122         * LaTeX.C:
11123         * LyXAction.[Ch]:
11124         * lyxfunc.[Ch]:
11125         * lyxrc.C: subsequent changes
11126
11127
11128 2002-08-07  John Levon  <levon@movementarian.org>
11129
11130         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11131           document options change.
11132
11133 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11134
11135         * counters.[Ch]
11136         * text2.C
11137         * paragraph.[Ch]
11138         * makefile.am: move counters functionality over from
11139         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11140
11141 2002-08-06  John Levon  <levon@movementarian.org>
11142
11143         * WordLangTuple.h: new file for word + language code tuple
11144
11145         * SpellBase.h:
11146         * pspell.h:
11147         * pspell.C:
11148         * ispell.h:
11149         * ispell.C:
11150         * lyxtext.h:
11151         * text.C:
11152         * text2.C:
11153         * BufferView.h:
11154         * BufferView2.C: use WordLangTuple
11155
11156         * layout.h:
11157         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11158
11159 2002-08-06  John Levon  <levon@movementarian.org>
11160
11161         * lyx_main.C: fix cmdline batch handling
11162
11163 2002-08-06  André Pönitz <poenitz@gmx.net>
11164
11165         * lyxrc.C: set default for show_banner to true
11166
11167 2002-08-06  John Levon  <levon@movementarian.org>
11168
11169         * pspell.C: fix a crash, and allow new aspell to work
11170
11171 2002-08-06  John Levon  <levon@movementarian.org>
11172
11173         * lyxfunc.C:
11174         * kbmap.C: small cleanup
11175
11176         * vspace.h:
11177         * vspace.C: add const
11178
11179 2002-08-05  John Levon  <levon@movementarian.org>
11180
11181         * LyXAction.C: back to tabular-insert
11182
11183 2002-08-04  John Levon  <levon@movementarian.org>
11184
11185         * BufferView.h:
11186         * BufferView.C: cosmetic change
11187
11188         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11189
11190         * bufferlist.C:
11191         * buffer.h:
11192         * buffer.C:
11193         * lyxcb.h:
11194         * lyxcb.C:
11195         * lyxserver.C:
11196         * lyxvc.C:
11197         * vc-backend.C:
11198         * BufferView2.C: purge all "Lyx" not "LyX" strings
11199
11200         * lyxcursor.h:
11201         * lyxcursor.C: attempt to add some documentation
11202
11203         * lyxfunc.C:
11204         * commandtags.h:
11205         * LyXAction.C:
11206         * ToolbarDefaults.C:
11207         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11208           merge with LFUN_TABULAR_INSERT
11209
11210         * Makefile.am:
11211         * SpellBase.h:
11212         * ispell.h:
11213         * ispell.C:
11214         * pspell.h:
11215         * pspell.C: split up i/pspell implementations into separate
11216           files, many cleanups
11217
11218         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11219
11220         * text2.C: some cleanup
11221
11222         * lyxfunc.C: don't check for isp_command == "none" any more, it
11223           didn't make any sense
11224
11225 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11226
11227         * counters.[Ch]
11228         * text2.C
11229         * paragraph.[Ch]
11230         * makefile.am: move counters functionality over
11231         from text2.C/paragraph.[Ch] to counters.[Ch], and
11232         make proper C++.
11233 2002-08-02  John Levon  <levon@movementarian.org>
11234
11235         * buffer.C: s/lyxconvert/lyx2lyx/
11236
11237 2002-08-02  Angus Leeming  <leeming@lyx.org>
11238
11239         * lyxlex.C: revert John's change as it breaks reading of the user
11240         preamble.
11241
11242 2002-08-02  Angus Leeming  <leeming@lyx.org>
11243
11244         * importer.C (Import):
11245         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11246         changes due to LyXView::view() now returning a boost::shared_ptr.
11247
11248 2002-08-02  John Levon  <levon@movementarian.org>
11249
11250         * lyxlex.C: small cleanup
11251
11252 2002-08-02  John Levon  <levon@movementarian.org>
11253
11254         * text2.C (status): small cleanup, no logic change
11255
11256 2002-08-01  John Levon  <levon@movementarian.org>
11257
11258         * buffer.h:
11259         * buffer.C (writeFile): don't output alerts, caller
11260           handles this
11261
11262         * bufferlist.C:
11263         * lyx_cb.C: from above
11264
11265         * lyxfunc.C: allow to open non-existent files
11266
11267 2002-07-31  John Levon  <levon@movementarian.org>
11268
11269         * lyxserver.C: don't let incidental errors get
11270           in the way (errno)
11271
11272 2002-07-30  John Levon  <levon@movementarian.org>
11273
11274         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11275
11276 2002-07-30  John Levon  <levon@movementarian.org>
11277
11278         * lyxserver.h:
11279         * lyxserver.C: remove I/O callback too
11280
11281 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11282
11283         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11284         log.
11285
11286 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11287
11288         * many files: strip,frontStrip -> trim,ltrim,rtrim
11289
11290 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11291
11292         * PrinterParams.h: remove extern containsOnly, and include
11293         support/lstrings.h instead.
11294
11295         * LaTeX.C (scanAuxFile): modify because of strip changes
11296         (deplog): ditto
11297         * buffer.C (makeLaTeXFile): ditto
11298         * bufferparams.C (writeFile): ditt
11299         * lyxfont.C (stateText): ditto
11300         * lyxserver.C (read_ready): ditto
11301         * vc-backend.C (scanMaster): ditto
11302
11303         * BufferView_pimpl.h: ws changes
11304
11305         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11306
11307 2002-07-26  André Pönitz <poenitz@gmx.net>
11308
11309         * kb_sequence.C: remove unnedred usings
11310
11311 2002-07-26  Juergen Vigna  <jug@sad.it>
11312
11313         * lyxfind.C (LyXReplace): we have to check better if the returned
11314         text is not of theLockingInset()->getLockingInset().
11315
11316 2002-07-25  Juergen Vigna  <jug@sad.it>
11317
11318         * lyxfind.C (LyXReplace): don't replace if we don't get the
11319         right LyXText.
11320
11321         * undo_funcs.C (createUndo): remove debugging code.
11322
11323 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11324
11325         * buffer.C (parseSingleLyXformat2Token): Use default placement
11326         when reading old floats.
11327
11328         * FloatList.C (FloatList): Change the default placement of figure
11329         and tables to "tbp".
11330
11331 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11332
11333         * MenuBackend.C: using std::max
11334
11335 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11336
11337         * MenuBackend.C (expandToc):
11338         (expandToc2): code moved from xforms menu frontend. It is now
11339         generic and TOCs are transparent to menu frontends.
11340
11341 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11342
11343         * toc.C (getTocList): protect against buf=0
11344
11345         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11346         Menu as first parameter. Now, this calls itself recursively to
11347         expand a whole tree (this will be useful for TOC handling)
11348         (expandFloatInsert): remove 'wide' version of floats
11349
11350         * MenuBackend.h (submenuname): returns the name of the submenu.
11351         (submenu): returns the submenu itself, provided it has been
11352         created by MenuBackend::expand
11353
11354 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11355
11356         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11357         insets which have noFontChange == true. (bug #172)
11358
11359 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11360
11361         * BufferView_pimpl.C: add connection objects and use them...
11362         (Pimpl): here.
11363
11364 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11365
11366         * MenuBackend.C (expandLastfiles):
11367         (expandDocuments):
11368         (expandFormats):
11369         (expandFloatListInsert):
11370         (expandFloatInsert):
11371         (expand): split expand in parts
11372
11373 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11374
11375         * lyx_gui.C: use lyx_gui::exit()
11376
11377 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11378
11379         * LyXAction.C: show the failing pseudo action
11380
11381 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11382
11383         * buffer.C (readFile): Run the lyxconvert script in order to read
11384         old files.
11385
11386 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11387
11388         * LyXAction.C:
11389         * commandtags.h:
11390         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11391
11392 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11393
11394         * LyXAction.C:
11395         * commandtags.h:
11396         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11397
11398 2002-07-22  Herbert Voss  <voss@lyx.org>
11399
11400         * lengthcommon.C:
11401         * lyxlength.[Ch]: add support for the vertical lengths
11402
11403 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11404
11405         * toc.[Ch]: std:: fixes
11406
11407 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11408
11409         * lyxrc.C: do not include lyx_main.h
11410
11411         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11412         for layouts
11413
11414         * lyxrc.C:
11415         * encoding.C:
11416         * bufferlist.C:
11417         * BufferView2.C: include "lyxlex.h"
11418
11419         * tabular.h:
11420         * bufferparams.h: do not #include "lyxlex.h"
11421
11422         * lyxtextclasslist.C (Add): remove method
11423         (classlist): renamed to classlist_
11424
11425         * paragraph_pimpl.C:
11426         * paragraph.C:
11427         * text2.C:
11428         * CutAndPaste.C:
11429         * bufferview_funcs.C:
11430         * bufferlist.C:
11431         * text.C:
11432         * LaTeXFeatures.C:
11433         * buffer.C:
11434         * toc.C (getTocList): use BufferParams::getLyXTextClass
11435
11436         * toc.C (getTocList): use InsetFloat::addToToc
11437
11438         * toc.[Ch]: new files, containing helper functions to handle table
11439         of contents
11440
11441         * lyxfunc.C (dispatch): no need to remove spaces around command
11442         given as a string
11443         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11444         first command of the sequence; it is not very clever, but I do not
11445         have a better idea, actually
11446
11447         * LyXAction.C (LookupFunc): make sure to remove space at the
11448         beginning and end of the command
11449
11450 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11451
11452         * MenuBackend.C (getMenubar): new method: return the menubar of
11453         this menu set
11454         (read): treat differently reading of menu and menubar (in
11455         particular, the menubar has no name now)
11456         (Menu::menubar): remove
11457
11458         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11459         saving is finished
11460
11461 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11462
11463         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11464         a bibitem inset in a RTL paragraph.
11465
11466 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11467
11468         * paragraph_pimpl.C: constify
11469
11470         * BufferView_pimpl.C:
11471         * LaTeX.C:
11472         * lyxfunc.C: fix dispatch in a nicer way
11473
11474 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11475
11476         * lyxfunc.C (dispatch):
11477         * BufferView_pimpl.C:
11478         * BufferView_pimpl.h:
11479         * BufferView.C:
11480         * BufferView.h: rename Dispatch() to dispatch()
11481
11482         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11483
11484         * lyxlayout.C (Read): honor DependsOn tag
11485
11486         * lyxlayout.[Ch] (depends_on): new method
11487
11488         * version.C.in: update lyx_docversion
11489
11490         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11491
11492         * paragraph.C (validate): remove from here...
11493         * paragraph_pimpl.C (validate): ... and move here
11494         (isTextAt): make it const
11495
11496         * buffer.C (getLists): ws cleanup
11497
11498 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11499
11500         * language.C (read): Use iso8859-1 encoding in latex_lang
11501         (this prevents LyX from crashing when using iso10646-1 encoding).
11502
11503 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11504
11505         * text2.C (toggleInset): if cursor is inside an inset, close the
11506         inset and leave cursor _after_ it
11507
11508 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11509
11510         * lyxfunc.C: move minibuffer completion handling out of here
11511
11512 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11513
11514         * BufferView_pimpl.C:
11515         * LaTeX.C: fix dispatch calls
11516
11517 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11518
11519         * text.C (drawChars): Fix Arabic text rendering.
11520
11521 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11522
11523         * LyXAction.C:
11524         * commandtags.h:
11525         * lyxfunc.C: remove message-push/pop
11526
11527         * lyxserver.C:
11528         * lyxfunc.h:
11529         * lyxfunc.C: rationalise some code by removing verboseDispatch
11530           in favour of a bool argument to dispatch()
11531
11532 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11533
11534         * lyx_main.C (init): make sure to read symlinks as absolute paths
11535
11536 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11537
11538         * lyxfunc.h:
11539         * lyxfunc.C: no need for commandshortcut to be a member
11540
11541 2002-07-15  André Pönitz <poenitz@gmx.net>
11542
11543         * converter.C: add support for $$s (scripts from lib/scripts dir)
11544         * lyx_main.C: white space
11545
11546 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11547
11548         * bufferlist.C:
11549         * lyxrc.h:
11550         * lyxrc.C: remove second exit confirmation
11551
11552 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11553
11554         * BufferView.h:
11555         * BufferView.C:
11556         * BufferView2.C:
11557         * BufferView_pimpl.h:
11558         * BufferView_pimpl.C:
11559         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11560
11561 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11562
11563         * MenuBackend.C (expand): add numeric shortcuts to document menu
11564
11565         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11566
11567 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11568
11569         * lyxfont.C (setLyXFamily):
11570         (setLyXSeries):
11571         (setLyXShape):
11572         (setLyXSize):
11573         (setLyXMisc):
11574         (lyxRead):
11575         * debug.C (value):
11576         * buffer.C (asciiParagraph): use ascii_lowercase
11577
11578 2002-07-15  Mike Fabian  <mfabian@suse.de>
11579
11580         * lyxlex_pimpl.C (search_kw):
11581         * lyxlex.C (getLongString):
11582         * converter.h (operator<):
11583         * converter.C (operator<):
11584         * buffer.C (parseSingleLyXformat2Token):
11585         (asciiParagraph):
11586         * ToolbarDefaults.C (read):
11587         * MenuBackend.C (checkShortcuts):
11588         (read):
11589         * LColor.C (getFromGUIName):
11590         (getFromLyXName): use the compare_ascii_no_case instead of
11591         compare_no_case, because in turkish, 'i' is not the lowercase
11592         version of 'I', and thus turkish locale breaks parsing of tags.
11593
11594 2002-07-16  Angus Leeming  <leeming@lyx.org>
11595
11596         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11597         now takes a Buffer const & argument.
11598
11599 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11600
11601         * BufferView.C (resize): check there's a buffer to resize
11602
11603 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11604
11605         * lyxfunc.C: remove dead code
11606
11607         * lyxserver.h:
11608         * lyxserver.C: use lyx_guii::set_read_callback
11609
11610 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11611
11612         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11613         an inset in a RTL paragraph.
11614
11615 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11616
11617         * lyxfunc.C: repaint after a font size update
11618
11619 2002-07-15  André Pönitz <poenitz@gmx.net>
11620
11621         * lyxlength.C: inBP should be able to return negative values
11622
11623 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11624
11625         * lyxfunc.C: use lyx_gui::update_fonts()
11626
11627 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11628
11629         * lyxfunc.C: use lyx_gui::update_color()
11630
11631 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11632
11633         * bufferlist.C:
11634         * lyxfunc.h:
11635         * lyxfunc.C:
11636         * lyxrc.h:
11637         * lyxrc.C: remove file->new asks for name option, and let
11638           buffer-new take an argument
11639
11640 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11641
11642         * BufferView_pimpl.C: remove unneeded extra repaint()
11643
11644 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11645
11646         * LyXAction.C: allow command-sequence with NoBuffer
11647
11648         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11649
11650 2002-07-10  Angus Leeming  <leeming@lyx.org>
11651
11652         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11653
11654 2002-07-09  Angus Leeming  <leeming@lyx.org>
11655
11656         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11657
11658 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11659
11660         * lengthcommon.h: whitespace
11661
11662         * lyxfunc.C: update scrollbar after goto paragraph
11663
11664         * lyxtext.h: factor out page break drawing, and fix it so
11665           page break/added space paints as selected nicely
11666
11667 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11668
11669         * BufferView_pimpl.C: add FIXMEs, clean up a little
11670
11671 2002-07-09  André Pönitz <poenitz@gmx.net>
11672
11673         * lyxfont.[Ch]: support for wasy symbols
11674
11675 2002-07-08  André Pönitz <poenitz@gmx.net>
11676
11677         * BufferView_pimpl.C: apply John's patch for #93.
11678
11679 2002-07-05  Angus Leeming  <leeming@lyx.org>
11680
11681         * BufferView_pimpl.C (buffer): generate previews if desired.
11682
11683         * LColor.h: add "preview" to the color enum.
11684
11685         * LColor.C (LColor): add a corresponding entry to the items array.
11686
11687         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11688         with this buffer.
11689
11690 2002-07-05  Angus Leeming  <leeming@lyx.org>
11691
11692         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11693         The body of the code is now in the method that is passed an ostream &
11694         rather than a file name.
11695         Pass an additional only_preamble parameter, useful for the forthcoming
11696         preview stuff.
11697
11698 2002-07-03  André Pönitz <poenitz@gmx.net>
11699
11700         * lyxfunc.C: simplify getStatus() a bit for math stuff
11701
11702 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11703
11704         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11705
11706 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11707
11708         * text.C (changeRegionCase): do not change case of all the
11709         document when region ends at paragraph end (bug #461)
11710
11711 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11712
11713         * paragraph.C (startTeXParParams):
11714         (endTeXParParams): add \protect when necessary
11715
11716 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11717
11718         * BufferView_pimpl.C (workAreaExpose): remove warning
11719
11720 2002-06-27  Angus Leeming  <leeming@lyx.org>
11721
11722         * Makefile.am: add lyxlayout_ptr_fwd.h.
11723
11724 2002-06-26  André Pönitz <poenitz@gmx.net>
11725
11726         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11727
11728 2002-06-25  Angus Leeming  <leeming@lyx.org>
11729
11730         * lyxfunc.C (dispatch): Comment out the call to
11731         grfx::GCache::changeDisplay. The method no longer exists now that the
11732         pixmap generation part of the graphics loader has been moved into
11733         InsetGraphics.
11734
11735 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11736
11737         * text2.C: layout as layout
11738
11739         * text.C: layout as layout
11740
11741         * tabular.C (OldFormatRead): layout as layout
11742
11743         * paragraph_pimpl.C (TeXDeeper): layout as layout
11744         (realizeFont): layout as layout
11745
11746         * paragraph.C (writeFile): layout as layout
11747         (validate): layout as layout
11748         (getFont): layout as layout
11749         (getLabelFont): layout as layout
11750         (getLayoutFont): layout as layout
11751         (breakParagraph): layout as layout
11752         (stripLeadingSpaces): layout as layout
11753         (getEndLabel): layout as layout
11754         (getMaxDepthAfter): layout as layout
11755         (applyLayout): layout as layout
11756         (TeXOnePar): layout as layout
11757         (simpleTeXOnePar): layout as layout
11758         (TeXEnvironment): layout as layout
11759         (layout): layout as layout
11760         (layout): layout as layout
11761
11762         * lyxtextclass.C (compare_name): new functor to work with
11763         shared_ptr, layout as layout
11764         (Read): layout as layout
11765         (hasLayout): layout as layout
11766         (operator): layout as layout
11767         (delete_layout): layout as layout
11768         (defaultLayout): layout as layout
11769
11770         * lyxlayout_ptr_fwd.h: new file
11771
11772         * lyxlayout.C (Read): layout as layout
11773
11774         * lyx_cb.C (MenuInsertLabel): layout as layout
11775
11776         * bufferlist.C (newFile): layout as layout
11777
11778         * buffer.C (readLyXformat2): layout as layout
11779         (parseSingleLyXformat2Token): layout as layout
11780         (insertStringAsLines): layout as layout
11781         (asciiParagraph): layout as layout
11782         (latexParagraphs): layout as layout
11783         (makeLinuxDocFile): layout as layout
11784         (simpleLinuxDocOnePar): layout as layout
11785         (makeDocBookFile): layout as layout
11786         (simpleDocBookOnePar): layout as layout
11787         (getLists): layout as layout
11788
11789         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11790
11791         * CutAndPaste.C (cutSelection): layout as layout
11792         (pasteSelection): layout as layout
11793         (SwitchLayoutsBetweenClasses): layout as layout
11794
11795         * BufferView_pimpl.C (Dispatch): layout as layout
11796         (smartQuote): layout as layout
11797
11798         * BufferView2.C (unlockInset): layout as layout
11799
11800 2002-06-24  André Pönitz <poenitz@gmx.net>
11801
11802         * lyxfunc.C: fix #487
11803
11804 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11805
11806         * lyxrc.h:
11807         * lyxrc.C:
11808         * lyxfunc.C: remove display_shortcuts, show_banner
11809
11810 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11811
11812         * Buffer_pimpl.C: oops, update on resize
11813
11814 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11815
11816         * buffer.C:
11817         * converter.C:
11818         * exporter.C:
11819         * lyxfunc.C:
11820         * BufferView.h:
11821         * BufferView.C: use repaint()
11822
11823         * BufferView_pimpl.h:
11824         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11825           as it's a clearer description. Remove superfluous
11826           redraws.
11827
11828 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11829
11830         * text.C: fix bug 488. Not ideal, but getting
11831           getWord() to work properly for the insets that
11832           matter is more difficult ...
11833
11834 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11835
11836         * BufferView_pimpl.C:
11837         * LyXAction.C:
11838         * commandtags.h:
11839         * lyxfunc.C: remove the six million index lyxfuncs to just
11840           one, and DTRT (bug 458)
11841
11842 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11843
11844         * BufferView.h:
11845         * BufferView.C:
11846         * BufferView_pimpl.h:
11847         * BufferView_pimpl.C: clean up resize() stuff,
11848           and unnecessary updateScreen()s
11849
11850 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11851
11852         * BufferView.h:
11853         * BufferView.C:
11854         * BufferView_pimpl.h:
11855         * BufferView_pimpl.C:
11856         * lyxfind.h:
11857         * lyxfind.C:
11858         * minibuffer.C: remove focus management of workarea,
11859           not needed. Use screen's greyOut()
11860
11861 2002-06-17  Herbert Voss  <voss@lyx.org>
11862
11863         * converter.C: (convert) do not post a message, when converting
11864         fails, let the calling function decide what to do in this case
11865
11866 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11867
11868         * lyxfunc.C: tidy up a little
11869
11870 2002-06-16    <alstrup@diku.dk>
11871
11872         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11873         Got rid of FORMS_H_LOCATION include. Now we are
11874         GUII.
11875
11876 2002-06-15  LyX Development team  <lyx@rilke>
11877
11878         * buffer.[Ch] (sgmlOpenTag):
11879         (sgmlCloseTag): Added support for avoiding pernicious mixed
11880         content. Return number of lines written.
11881
11882         (makeLinuxDocFile):
11883         (makeDocBookFile): Fixed calls to sgml*Tag.
11884         Simple white space clean.
11885
11886         (simpleDocBookOnePar): Simple white space clean.
11887
11888         * tabular.[Ch] (docBook): Renamed to docbook and got another
11889         argument to related with the pernicious mixed content.
11890
11891         (docbookRow): Fixed calls for docbook inset method.
11892
11893 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11894
11895         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11896         so it's X11 independent.
11897
11898         * kb*.[Ch]: ditto.
11899
11900         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11901
11902 2002-06-15  Lyx Development team  <lyx@electronia>
11903
11904         * intl.h: Renamed getTrans to getTransManager.
11905
11906 2002-06-14  Angus Leeming  <leeming@lyx.org>
11907
11908         * Makefile.am: nuke forgotten stl_string_fwd.h.
11909
11910 2002-06-12  Angus Leeming  <leeming@lyx.org>
11911
11912         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11913
11914 2002-06-13  Angus Leeming  <leeming@lyx.org>
11915
11916         * LaTeX.C:
11917         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11918
11919 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11920
11921         * kbmap.C (getiso): add support for cyrillic and greek
11922
11923 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11924
11925         * BufferView.h:
11926         * BufferView.C:
11927         * BufferView_pimpl.h:
11928         * BufferView_pimpl.C: move bogus scrolling logic
11929           to xforms
11930
11931 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11932
11933         * lyxfunc.C:
11934         * BufferView_pimpl.C: view->resize() change
11935
11936 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11937
11938         * BufferView_pimpl.C: topCursorVisible
11939           prototype change
11940
11941 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11942
11943         * Makefile.am:
11944         * lyx_gui.h:
11945         * lyx_gui.C: move to frontends/
11946
11947         * main.C:
11948         * lyx_main.h:
11949         * lyx_main.C: changes from above
11950
11951 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11952
11953         * intl.C:
11954         * intl.h:
11955         * kbmap.C:
11956         * kbsequence.C:
11957         * lyx_cb.C:
11958         * lyx_main.C: minor tidy
11959
11960 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11961
11962         * BufferView_pimpl.h:
11963         * BufferView_pimpl.C:
11964         * BufferView.h:
11965         * BufferView.C: make painter() const,
11966           remove dead code
11967
11968         * BufferView2.C: use screen() accessor
11969
11970         * lyx_main.h:
11971         * lyx_main.C: some minor cleanup
11972
11973 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11974
11975         * BufferView_pimpl.h:
11976         * BufferView_pimpl.C: remove enter/leaveView,
11977           use workHeight()
11978
11979 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11980
11981         * BufferView.h:
11982         * BufferView.C:
11983         * BufferView2.C:
11984         * BufferView_pimpl.h:
11985         * BufferView_pimpl.C: only construct screen once,
11986           rename
11987
11988         * lyxrc.C: remove pointless comment
11989
11990 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11991
11992         * BufferView.h:
11993         * BufferView.C: remove active() and belowMouse()
11994
11995         * BufferView_pimpl.h:
11996         * BufferView_pimpl.C: use workarea() not workarea_,
11997           and make it use a scoped_ptr instead
11998
11999 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12000
12001         * lyx_gui.C: add debug message on BadWindow
12002
12003 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12004
12005         * sp_spell.C: fdopen is not part of the C++ standard.
12006
12007         * paragraph.C (InsetIterator): use >= instead of ==
12008
12009 2002-06-07  Angus Leeming  <leeming@lyx.org>
12010
12011         Fixes needed to compile with Compaq cxx 6.5.
12012         * BufferView_pimpl.C:
12013         * DepTable.C:
12014         * buffer.C:
12015         * converter.C:
12016         * encoding.C:
12017         * lyx_gui.C:
12018         * lyx_main.C:
12019         * lyxtextclasslist.C:
12020         * minibuffer.C:
12021         * sp_spell.C:
12022         * tabular_funcs.C:
12023         * vc-backend.C:
12024         all c-library variables have been moved into namespace std. Wrap
12025         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12026
12027         * lyxlength.C:
12028         * tabular-old.C:
12029         * tabular.C:
12030         Add a using std::abs declaration.
12031
12032         * kbmap.h (modifier_pair):
12033         * paragraph.h (InsetTable, InsetList):
12034         * lyxfont.h (FontBits):
12035         type definition made public.
12036
12037         * bufferlist.C (emergencyWriteAll): the compiler complains that
12038         there is more than one possible lyx::class_fun template to choose from.
12039         I re-named the void specialisation as lyx::void_class_fun.
12040
12041         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12042
12043         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12044         the compiler is is unable to find tostr in write_attribute.
12045
12046 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12047
12048         * buffer.C (sgmlError): hide #warning
12049
12050 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12051
12052         * xtl/*: get rid of xtl, which is not in use anyway
12053
12054         * LyXAction.C (init):
12055         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12056         were unimplemented xtl experimentation
12057
12058 2002-06-04  André Pönitz <poenitz@gmx.net>
12059
12060         * lyxfunc.C: disable array operation on simple formulae
12061
12062 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * converter.C: constify a bit
12065
12066 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12067
12068         * lyx_gui.C: check xforms version correctly
12069
12070 2002-04-30  Herbert Voss  <voss@lyx.org>
12071
12072         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12073         "keep" option
12074
12075 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12078           attempt to register it with a VCS)
12079
12080 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12081
12082         * lyx_main.C (init): honor variables LYX_DIR_13x and
12083         LYX_USERDIR_13x
12084
12085 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12086
12087         * buffer.h:
12088         * buffer.C:
12089         * lyx_main.C: fix a crash on bad command line,
12090           and give a useful exit status on error
12091
12092         * lyxfunc.C (doImport): allow -i lyx to work
12093
12094 2002-03-30  André Pönitz <poenitz@gmx.net>
12095
12096         * lyxfunc.C: mathed font changes
12097
12098 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * LaTeX.C:
12101         * importer.h:
12102         * importer.C:
12103         * lyx_sty.h:
12104         * lyx_sty.C:
12105         * lyxlex.C:
12106         * lyxrow.h:
12107         * lyxtext.h:
12108         * paragraph.h:
12109         * paragraph.C:
12110         * texrow.h:
12111         * texrow.C:
12112         * text.C:
12113         * trans_mgr.h: srcdocs, and some minor cleanups
12114
12115 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12116
12117         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12118         call getFont all the time)
12119
12120 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12121
12122         * switch from SigC signals to boost::signals
12123
12124 2002-05-29  André Pönitz <poenitz@gmx.net>
12125
12126         * paragraph_pimpl.C (getChar): don't call size() too often...
12127
12128 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12129
12130         * paragraph_pimpl.C (insertChar): do not try to update tables when
12131         appending (pos == size())
12132
12133         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12134         in order to reduce drastically the number of comparisons needed to
12135         parse a large document
12136
12137 2002-05-29  André Pönitz <poenitz@gmx.net>
12138
12139         * text.C:
12140         * text2.C:
12141         * lyxtextclass.C:
12142         * sp_pspell.h:
12143         * textclasslist.[Ch]:
12144         * sp_ispell.h: whitespace change
12145
12146 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12147
12148         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12149         lyxaction directly now.
12150
12151 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12152
12153         * trans.C:
12154         * lyxfont.C:
12155         * lyxvc.C: remove unused headers
12156
12157 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12158
12159         * Makefile.am:
12160         * buffer.h:
12161         * undostack.h:
12162         * undostack.C:
12163         * undo_funcs.h:
12164         * undo_funcs.C: some cleanups. Use shared_ptr
12165           and a template for the undo stacks.
12166
12167 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12168
12169         * BufferView_pimpl.h:
12170         * BufferView_pimpl.C:
12171         * kbmap.h:
12172         * kbmap.C:
12173         * kbsequence.h:
12174         * kbsequence.C:
12175         * lyxfunc.h:
12176         * lyxfunc.C:
12177         * text2.C: use key_state/mouse_state
12178
12179 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12180
12181         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12182         and LSubstring
12183
12184         * chset.C: change include order
12185         (loadFile): use boost regex and get rid of LRegex and LSubstring
12186
12187         * Makefile.am (BOOST_LIBS): new variable
12188         (lyx_LDADD): use it
12189
12190         * LaTeX.C: change include order.
12191         (scanAuxFile): use boost regex and get rid of LRegex and
12192         LSubstring
12193         (deplog): ditto
12194
12195 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12196
12197         * ColorHandler.h:
12198         * ColorHandler.C:
12199         * FontInfo.h:
12200         * FontInfo.C: moved to frontends/xforms/
12201
12202         * FontLoader.h:
12203         * FontLoader.C: moved into frontends for GUIIzation
12204
12205         * Makefile.am:
12206         * lyx_gui.C:
12207         * lyxfont.C:
12208         * lyxfunc.C: changes from above
12209
12210 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12211
12212         * LColor.C: remove spurious X include
12213
12214         * BufferView_pimpl.C:
12215         * Makefile.am:
12216         * font.h:
12217         * font.C:
12218         * text.C:
12219         * text2.C: move font metrics to frontends/
12220
12221 2002-05-24  Juergen Vigna  <jug@sad.it>
12222
12223         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12224         setting the undo_cursor.
12225
12226         * ParagraphParameters.h: include local includes first.
12227
12228 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12229
12230         * BufferView_pimpl.C:
12231         * BufferView_pimpl.h:
12232         * Makefile.am:
12233         * WorkArea.h:
12234         * WorkArea.C:
12235         * screen.C: move WorkArea into frontends/
12236
12237         * lyxscreen.h:
12238         * screen.C:
12239         * text.C:
12240         * BufferView.C:
12241         * BufferView2.C: move LyXScreen into frontends/
12242
12243         * lyxlookup.h:
12244         * lyxlookup.C:
12245         * lyx_gui.C: move lyxlookup into frontends/xforms/
12246
12247 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12248
12249         * BufferView2.C:
12250         * BufferView_pimpl.C:
12251         * FontLoader.C:
12252         * LyXView.h:
12253         * LyXView.C:
12254         * Makefile.am:
12255         * WorkArea.C:
12256         * XFormsView.h:
12257         * XFormsView.C:
12258         * buffer.C:
12259         * bufferlist.C:
12260         * bufferview_funcs.C:
12261         * converter.C:
12262         * importer.C:
12263         * lyx_cb.C:
12264         * lyx_gui.C:
12265         * lyx_main.C:
12266         * lyx_find.C:
12267         * lyxfunc.C:
12268         * lyxvc.C:
12269         * minibuffer.C:
12270         * text.C:
12271         * text2.C:
12272         * trans.C:
12273         * vc-backend.C: move LyX/XFormsView into frontends/
12274
12275 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12276
12277         * Makefile.am:
12278         * PainterBase.C:
12279         * PainterBase.h:
12280         * Painter.C:
12281         * Painter.h:
12282         * WorkArea.C:
12283         * WorkArea.h:
12284         * screen.C:
12285         * tabular.C:
12286         * text.C:
12287         * text2.C: move Painter to frontends/
12288
12289 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12290
12291         * buffer.C: comment out some some code that depend upon lyx_format
12292         < 220
12293
12294         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12295         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12296
12297         * buffer.h (NO_COMPABILITY): turn off compability
12298
12299         * ColorHandler.C: include scoped_array.hpp
12300
12301         * font.C: Use more specific smart_ptr header.
12302         * Painter.C: ditto
12303         * gettext.C: ditto
12304         * ShareContainer.h: ditto
12305         * lyx_main.h: ditto
12306         * kbmap.h: ditto
12307         * FontInfo.h: ditto
12308         * BufferView_pimpl.h: ditto
12309         * ColorHandler.h: ditto
12310
12311         * kbmap.C (defkey): change call to shared_ptr::reset
12312
12313 2002-05-21  Juergen Vigna  <jug@sad.it>
12314
12315         * buffer.C (insertErtContents): fix to insert ert asis if it is
12316         non empty. Skip it completely if it contains only whitespaces.
12317
12318 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12319
12320         * BufferView_pimpl.C:
12321         * BufferView2.C: clear selection on paste (bug 393)
12322
12323 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12324
12325         * DepTable.C: include ctime
12326
12327 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12328
12329         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12330
12331 2002-05-14  Juergen Vigna  <jug@sad.it>
12332
12333         * text.C (breakParagraph): fixed function to honor the keepempty
12334         layout in the right maner and also to permit the right breaking
12335         algorithm on empty or non empyt keepempty paragraphs.
12336
12337         * paragraph.C (breakParagraph): we have to check also if the par
12338         is really empty (!size()) for isempty otherwise we do the wrong
12339         paragraph break.
12340
12341 2002-05-10  Juergen Vigna  <jug@sad.it>
12342
12343         * buffer.[Ch] : The following are only changes to the ert
12344         compatibility read reading old LaTeX layout and font stuff and
12345         convert it to ERTInsets.
12346
12347         * buffer.h: added isErtInset().
12348
12349         * buffer.C (struct ErtComp): add a fromlayout bool to check
12350         if we're inside a LaTeX layout.
12351         (isErtInset): new helper function.
12352         (insertErtContents): look for other ert insets before this one
12353         and insert the contents there, so that we don't have subsequent
12354         ERT insets with nothing between them. This way we create only one
12355         inset with multiple paragraphs. Also check if we don't insert only
12356         spaces ' ' as they are ignored anyway afterwards in the .tex file
12357         so if we have only spaces we will ignore this latex part in the
12358         new file.
12359         (parseSingleLyXformat2Token \\layout): better compatibility when
12360         reading layout-latex stuff.
12361         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12362         language tag.
12363         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12364         stuff after reading the inset only get the information back from
12365         the stack.
12366
12367 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12368
12369         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12370
12371         * LaTeXFeatures.C (getBabelOptions): New method.
12372
12373 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12374
12375         * BufferView_pimpl.C (Dispatch): work around missing argument for
12376         'layout'
12377
12378 2002-05-08  Juergen Vigna  <jug@sad.it>
12379
12380         * text.C (leftMargin): handle paragraph leftindent.
12381
12382         * paragraph.C (writeFile): write the new \\leftindent tag.
12383         (validate): handle leftindent code.
12384         (TeXEnvironment): handle paragraphleftindent code again.
12385
12386         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12387
12388         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12389         for paragrap_extra indent code and new token \\leftindent.
12390         (latexParagraphs): handle the leftindent as environment.
12391
12392         * ParameterStruct.h: added leftindent support.
12393
12394         * ParagraphParameters.C (leftIndent): added support functions for
12395         the paragraph left indent.
12396
12397         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12398         more appropriate.
12399
12400 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12401
12402         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12403         inside insetERT.
12404
12405         * text.C (computeBidiTables): No bidi in insetERT.
12406
12407         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12408         in RTL documents.
12409
12410 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12411
12412         * version.C.in: pre 5
12413
12414 2002-05-02  José Matos  <jamatos@fep.up.pt>
12415         * buffer.C (makeDocBookFile): white space changes, add newline to
12416         command styles.
12417         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12418
12419         * tabular.C (docBook): fix typo.
12420
12421 2002-05-03  Juergen Vigna  <jug@sad.it>
12422
12423         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12424         change in LyXText as we can not be sure it was not freed.
12425         (drawOneRow): remove unused code.
12426
12427         * text.C (drawInset): redo the calculation of the need_break_row as
12428         it could have a row which was already freed.
12429         (draw): look at the return value of drawInset and return false if
12430         it also returned false.
12431         (paintRowText): look at the return value of draw and return false if
12432         it also returned false.
12433
12434         * lyxtext.h: added bool return type to drawInset() and draw() so that
12435         if we have a change in the row so that the rowbreak has to be redone
12436         we abort drawing as it will be called again.
12437
12438 2002-05-02  Juergen Vigna  <jug@sad.it>
12439
12440         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12441         a change in the maintext also if we're inside an inset.
12442         (Dispatch): set the cursor again after a break line and after the
12443         screen has been updated as it could be we're in a different row.
12444
12445         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12446         to set the cursor behind the pargraph with > size().
12447         (setCursor): check also for the same paragraph when checking where
12448         to put the cursor if we have a NFR inset.
12449
12450         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12451         parts of layout read further up as it still was in the wrong
12452         position.
12453
12454 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12455
12456         * screen.C (drawFromTo): change sine fullRebreak always return
12457         true.
12458
12459         * buffer.C (parseSingleLyXformat2Token): reindent some
12460
12461         * BufferView_pimpl.C (update): change since fullRebreak always
12462         return true.
12463         (Dispatch): git rid of the last hardcoded "Standard"s.
12464
12465 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12466
12467         * text2.[Ch] (fullRebreak): make it return void now that we always
12468         returned true.
12469
12470 2002-04-30  Juergen Vigna  <jug@sad.it>
12471
12472         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12473         ert compatibility check for "latex" layout.
12474
12475 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12476
12477         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12478         minipages: use col% instead of p%, and also use the current font.
12479         (makeLaTeXFile): Fix use babel condition.
12480         (parseSingleLyXformat2Token): Correct font when reading old floats.
12481
12482 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12483
12484         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12485         inserting list of floats.
12486
12487 2002-04-25  Herbert Voss  <voss@lyx.org>
12488
12489         * MenuBackend.C (expand): don't add the graphics extensions to the
12490         export menu
12491
12492 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12493
12494         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12495         non-existing layout, do not complain if it was the default layout
12496         of the original class (bug #342)
12497
12498 2002-04-24  Juergen Vigna  <jug@sad.it>
12499
12500         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12501         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12502
12503 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12504
12505         * buffer.C (getBibkeyList): If using \bibliography, return the
12506         option field with the reference itself. Enables us to provide natbib
12507         support when using \bibliography.
12508
12509 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12510
12511         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12512
12513         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12514         natbib is provided by the LaTeX class.
12515
12516 2002-04-23  Juergen Vigna  <jug@sad.it>
12517
12518         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12519         Wakeup functions.
12520
12521         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12522
12523 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12524
12525         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12526
12527         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12528         ensuremath around textordmasculine, textordfeminine and
12529         textdegree.
12530
12531 2002-04-19  Juergen Vigna  <jug@sad.it>
12532
12533         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12534         reinitializing the buffer otherwise row-dimensions may be wrong.
12535         (update): reset also the selection cursors if they do exits otherwise
12536         their x/y positions may be wrong.
12537
12538         * text2.C (cursorDown): don't enter the inset if we came from a row
12539         above and are one row over the inset.
12540
12541         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12542         really leaving an inset.
12543
12544 2002-04-18  Juergen Vigna  <jug@sad.it>
12545
12546         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12547         of the selected paragraph does not have the selected layout also if
12548         the last one had!
12549
12550         * text2.C (setLayout): fixed bug which did not change last selected
12551         paragraph.
12552
12553         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12554         changed the read and substituted \\end_float with \\end_inset!
12555
12556         * BufferView_pimpl.C (cursorPrevious):
12557         (cursorNext): fixed to make it work with rows heigher than the work
12558         area without moving the cursor only the draw of the row.
12559         (workAreaMotionNotify): fix jumping over high rows.
12560
12561 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12562
12563         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12564         Ressler.
12565
12566 2002-04-16  Juergen Vigna  <jug@sad.it>
12567
12568         * text2.C (setCursor): set also the irow().
12569         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12570         (cursorUp):
12571         (cursorDown): support for locking an inset if the x_fix value goes
12572         inside it. That way I can transverse insets too with cursor up/down.
12573
12574         * lyxrow.h: added irow helper function same as other (i) functions.
12575
12576         * BufferView_pimpl.C (cursorPrevious):
12577         (cursorNext): fixed for insets!
12578
12579 2002-04-15  Juergen Vigna  <jug@sad.it>
12580
12581         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12582         position otherwise it is wrong in some cases.
12583
12584         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12585         inside the inset before the call.
12586
12587 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12588
12589         * buffer.[Ch] (getBibkeyList): make it const.
12590
12591 2002-04-12  Juergen Vigna  <jug@sad.it>
12592
12593         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12594
12595         * text2.C (getCursorX): new helper function
12596         (setCursor): compute also ix_
12597         (setCursorFromCoordinates): set also ix.
12598
12599         * lyxcursor.h: added ix_ and helper functions.
12600
12601         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12602
12603         * buffer.C (insertStringAsLines): dont break paragraph if the this
12604         paragraph is inside an inset which does not permit it!
12605
12606         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12607         also with no chars on this paragraph.
12608         (paintRowText): only paint stuff if it's inside the workarea!
12609
12610         * paragraph.C (breakParagraph): honor keepempty flag and break the
12611         paragraph always below not above.
12612
12613         * BufferView2.C (unlockInset): update the paragraph layout on inset
12614         unlock as we changed paragraph in such a case.
12615
12616         * lyxfind.C (LyXFind): clear the former selection if not found!
12617
12618         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12619         again called in insertChar().
12620
12621         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12622         an inset which uses the whole row!
12623         (rightMargin): ditto.
12624         (insertChar): force a rebreak if we inserted an inset!
12625
12626 2002-03-28  Herbert Voss  <voss@lyx.org>
12627
12628         * lyxlength.[Ch]: add inBP() to get the right PS-point
12629         units (BigPoint). With inPixels we have rounding errors
12630
12631 2002-04-11  Juergen Vigna  <jug@sad.it>
12632
12633         * text2.C (setCursorFromCoordinates): set iy to the right value.
12634         (setCursor): add check if row->previous exists!
12635
12636         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12637         an old float_type as this was the case in the old code!
12638
12639         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12640
12641         * BufferView2.C (showLockedInsetCursor): use iy
12642         (fitLockedInsetCursor): ditto
12643
12644         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12645         locked insets as there we have the right value now.
12646
12647         * lyxcursor.C: added iy_ variable and iy functions to set to the
12648         baseline of cursor-y of the locked inset.
12649
12650         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12651         (setCursor): fixed for insets which need a full row.
12652
12653         * text.C (rowLastPrintable): don't ignore the last space when before
12654         an inset which needs a full row.
12655         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12656         as last character of a row when before a inset which needs a full row.
12657
12658 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12659
12660         * version.C.in: update date
12661
12662         * text2.C (fullRebreak): try to always return true and see what
12663         happens...
12664
12665 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12666
12667         * MenuBackend.C (expand): use Floating::listName
12668
12669         * FloatList.C (FloatList): add listName argument to the built-in
12670         floats
12671
12672         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12673         text associated with the float.
12674
12675 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12676
12677         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12678
12679 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12680
12681         * ShareContainer.h: add a couple of missing typenames.
12682
12683 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12684
12685         * lyxrc.C (getDescription): use _() correctly rather than N_().
12686
12687 2002-03-28  Herbert Voss  <voss@lyx.org>
12688
12689         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12690         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12691
12692 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12693
12694         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12695         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12696
12697 2002-03-29  Juergen Vigna  <jug@sad.it>
12698
12699         * lyxfunc.C (dispatch): add a missing fitCursor call.
12700
12701         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12702         it was scrolled by a cursor move, so return the bool status.
12703
12704         * BufferView.C (fitCursor): return the bool flag also to the outside
12705         world as this is needed.
12706
12707         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12708
12709         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12710         call the edit() as it is not needed (and wrong) IMO.
12711         (workAreaButtonPress): set the screen_first variable before evt.
12712         unlock the inset as this may change screen_first and then we have
12713         a wrong y position for the click!
12714
12715 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12716
12717         * MenuBackend.C (expand): another translation that I missed
12718
12719 2002-03-28  Juergen Vigna  <jug@sad.it>
12720
12721         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12722
12723         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12724
12725 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12726
12727         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12728
12729         * MenuBackend.C (expand): fix export/view/update when there is no
12730         document open.
12731
12732 2002-03-27  Herbert Voss  <voss@lyx.org>
12733
12734         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12735         and text%
12736
12737 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12738
12739         * bufferview_funcs.C (currentState): only show paragraph number
12740         for is DEVEL_VERSION is set.
12741
12742         * lyxfunc.C (dispatch): put warning in INFO channel
12743
12744         * MenuBackend.C (expand): translate the name of floats
12745
12746         * FloatList.C (FloatList): mark the float names for translation
12747
12748         * converter.C (convert): use LibScriptSearch
12749
12750 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12751
12752         * MenuBackend.C (defaults): fix default menu (we might as well get
12753         rid of it...)
12754
12755 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12756
12757         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12758         directory.
12759
12760 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12761
12762         * lyxvc.C: reorder includes.
12763
12764 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12765
12766         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12767           properly
12768
12769 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12770
12771         * CutAndPaste.C: change layouts earlier on paste
12772           to avoid crashing when calling getFont()
12773
12774 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12775
12776         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12777         irritating #error.
12778
12779 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12780
12781         * WorkArea.C: remove 'Pending' debug message.
12782
12783         * most files: ws cleanup
12784
12785         * buffer.[Ch]: ws changes
12786
12787         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12788
12789 2002-03-21  Juergen Vigna  <jug@sad.it>
12790
12791         * tabular.C (SetMultiColumn): collapse also the contents of the
12792         cells and set the last border right. Added a Buffer const * param.
12793
12794 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12795
12796         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12797         linking or not.
12798
12799 2002-03-19  Juergen Vigna  <jug@sad.it>
12800
12801         * text2.C (clearSelection): reset also xsel_cache.
12802
12803         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12804         where it needs to be called (John tells us to do so too :)
12805         (selectionLost): reset sel_cache.
12806
12807         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12808
12809 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12810
12811         * text2.C (setCursorIntern): put debuging code in INSETS channel
12812
12813 2002-03-19  André Pönitz <poenitz@gmx.net>
12814
12815         * lyxfunc.C: tiny whitespace change
12816
12817 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12818
12819         * ToolbarDefaults.C (init):
12820         * LyXAction.C (init):
12821         * commandtags.h:
12822         * BufferView_pimpl.C (Dispatch):
12823         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12824
12825 2002-03-19  Allan Rae  <rae@lyx.org>
12826
12827         * exporter.C (Export): removeAutoInsets before doing anything else.
12828         While I've just introduced a dependency on BufferView this really is
12829         the best place to clean the buffer otherwise you need to cleanup in
12830         a dozen places before calling export or cleanup in a dozen functions
12831         that export calls.
12832
12833         * converter.C (runLaTeX):
12834         (scanLog): Better handling of removeAutoInsets and screen updates.
12835
12836         * lyxfunc.C (dispatch): small whitespace changes
12837
12838 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12839
12840         * WorkArea.C (C_WorkAreaEvent): return a value.
12841         (event_cb): return 1 if we handled the event, 0 otherwise.
12842
12843         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12844
12845 2002-03-18  Juergen Vigna  <jug@sad.it>
12846
12847         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12848         (GetAdditionalWidth): ditto.
12849         (RightLine): ditto.
12850         (LeftLine): ditto.
12851
12852         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12853         inset if we're there actually (probably not used right now but this
12854         is the direction to go for unifying code).
12855         (paste): disable code to clear the selection.
12856
12857         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12858         inside an InsetText and move the check further up as it is in the
12859         wrong place.
12860
12861         * text2.C (pasteSelection): set a selection over the pasted text.
12862
12863 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12864
12865         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12866         and libgraphics to build on Cygwin.
12867
12868 2002-03-15  Juergen Vigna  <jug@sad.it>
12869
12870         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12871         inserting an Inset into the paragraph. I know this is not the best
12872         fix but we already use current_view in CutAndPaste so we will remove
12873         all of it's using at the same time.
12874
12875         * buffer.C (sgmlError): deactivated function till it is rewritten in
12876         the right mode, now it can create problems.
12877
12878         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12879         before accessing it.
12880
12881 2002-03-14  Juergen Vigna  <jug@sad.it>
12882
12883         * undo_funcs.C (textHandleUndo): do the right thing when updating
12884         the inset after the undo/redo.
12885
12886         * text2.C (setCursor): just some testcode for #44 not ready yet.
12887
12888         * undo_funcs.C (textHandleUndo): set the next() and previous()
12889         pointers of the paragraph to 0 before deleting otherwise we have
12890         problems with the Paragraph::[destructor].
12891
12892         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12893         on a paragraph insertion.
12894
12895 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12896
12897         * buffer.C (asciiParagraph): use += operator for char append to
12898         string.
12899
12900         * paragraph.C (getFontSettings): compare >= not just >
12901         (highestFontInRange): ditto
12902         (setFont): ditto
12903
12904 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12905
12906         * paragraph.C: change several algorithm to be more appripriate for
12907         the problem domain. This is lookip in FontList and in the InsetList.
12908
12909 2002-03-13  André Pönitz <poenitz@gmx.net>
12910
12911         * commandtags.h:
12912         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12913
12914 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12915
12916         * commandtags.h:
12917         * LyXAction.C:
12918         * lyxfunc.C:
12919         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12920
12921 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12922
12923         * Painter.C (display): anon helper function, adjust code for this
12924         change.
12925         (pixmap): remove function.
12926
12927         * Painter.h: remove private display variable.
12928
12929         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12930
12931 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12932
12933         * WorkArea.[Ch]: remove figinset_canvas cruft.
12934
12935 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12936
12937         * lyxtextclass.C (operator): add one item cache optimization.
12938
12939         * bufferlist.h: doxy changes
12940
12941         * bufferlist.C: ws changes
12942
12943         * DepTable.[Ch] (ext_exist): place const in the right spot.
12944
12945         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12946         call resizeInsets.
12947         (workAreaExpose): call resizeInsets when the with BufferView changes.
12948         (Dispatch): adjust for protectedBlank removal
12949         (specialChar): call updateInset if the insert went ok.
12950
12951         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12952         specialChar instead.
12953
12954         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12955
12956         * BufferView.h: doxy change
12957
12958         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12959
12960         * lyxtextclass.C (operator[]): remove non-const version
12961         (defaultLayout): remove non-const version
12962
12963 2002-03-12  Juergen Vigna  <jug@sad.it>
12964
12965         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12966         did resize the LyXText too.
12967
12968         * buffer.C (readLyXformat2): set layout information on newly allocated
12969         paragraphs.
12970
12971         * tabular.C (OldFormatRead): set layout information on the paragraph.
12972
12973 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
12974
12975         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12976
12977 2002-03-11  Juergen Vigna  <jug@sad.it>
12978
12979         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12980         plainly wrong.
12981         (resizeCurrentBuffer): force also the insets to resize themselfes.
12982         (moveCursorUpdate): fixed up for InsetText.
12983
12984 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12985
12986         * commandtags.h:
12987         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12988         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12989         value of Dialogs::tooltipsEnabled().
12990         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12991
12992 2002-03-08  Juergen Vigna  <jug@sad.it>
12993
12994         * BufferView_pimpl.C (updateInset): update inset inside inset also
12995         if it isn't inside theLockingInset().
12996
12997 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12998
12999         * buffer.C (asciiParagraph): redo some of the word and line length
13000         handling.
13001         (getLists): look for Caption instead of caption.
13002
13003 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13004
13005         * buffer.C (Buffer): initialize niceFile to true
13006         (makeLaTeXFile):
13007         (makeLinuxDocFile):
13008         (makeDocBookFile): make sure niceFile is true on exit
13009
13010 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13011
13012         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13013
13014 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13015
13016         * LyXSendto.C: remove.
13017         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13018         * lyx_gui.C: remove now-redundant comment.
13019         * ColorHandler.h: remove forward declaration of class WorkArea.
13020         * lyxfunc.C: remove #include "WorkArea.h".
13021
13022 2002-03-07  Juergen Vigna  <jug@sad.it>
13023
13024         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13025         got moved away with the DEPM and also set the inset_owner always
13026         right which before could have been omitted.
13027
13028 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13029
13030         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13031         wanted layout is not found.
13032
13033 2002-03-07  Juergen Vigna  <jug@sad.it>
13034
13035         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13036
13037 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13038
13039         * paragraph.C (breakParagraph): use default layout not layout of
13040         prev paragraph.
13041         (Paragraph): clear ParagraphParameters.
13042
13043 2002-03-06  Juergen Vigna  <jug@sad.it>
13044
13045         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13046         otherwise it would not be a valid lenght. Fixed a special case in
13047         the minipage compatibility read where we end the document with a
13048         minipage.
13049
13050         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13051         was set as it could be 0 for InsetTexts first entry.
13052
13053 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13054
13055         * paragraph.C (writeFile): if layout is empty write out
13056         defaultLayoutName().
13057
13058         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13059         file without named layout we set layout to defaultLayoutName().
13060
13061 2002-03-06  Juergen Vigna  <jug@sad.it>
13062
13063         * CutAndPaste.C (copySelection): set layout for new paragraph.
13064
13065         * text.C (prepareToPrint): leave ERT inset left aligned
13066         (leftMargin): don't indent paragraphs inside ERT insets
13067
13068 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13069
13070         * paragraph.C (breakParagraph): dont call clear do the work manually
13071
13072         * paragraph.[Ch] (clear): remove function
13073
13074 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13075
13076         * paragraph.C (Paragraph): dont call clear, the work has already
13077         been done.
13078
13079         * lyxtextclass.C (operator): assert if n is empty
13080
13081         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13082         work manually instead.
13083
13084 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13085
13086         * BufferView_pimpl.C: protect selectionLost against text == 0
13087
13088 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13089
13090         * text.C (breakParagraph): fix a setting layout to '0' problem.
13091
13092 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13093
13094         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13095         final location of file, for the included files, and graphics.
13096
13097 2002-03-05  Juergen Vigna  <jug@sad.it>
13098
13099         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13100
13101 2002-03-04  Juergen Vigna  <jug@sad.it>
13102
13103         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13104
13105         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13106         last column of multicolumn cells.
13107         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13108
13109 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13110
13111         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13112         file if it doesn't go to a temporary file.
13113
13114         * buffer.C (sgmlOpenTag):
13115         (sgmlCloseTag):  remove extra newline insertion.
13116
13117 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13118
13119         * text.C (getRowNearY): comment out debug msg
13120
13121 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13122
13123         * text2.C: first -> first_y
13124
13125         * text.C (getRowNearY): add some attemts at a possible
13126         optimization, not working.
13127
13128         * tabular.[Ch]: add BufferParams to several function so that newly
13129         created paragraph can be initialized to he default layotu for the
13130         buffers textclass.
13131
13132         * tabular-old.C (ReadOld): add buf->params to call of Init
13133
13134         * screen.C: rename text->first to text->first_y
13135
13136         * paragraph.C (breakParagraph): always set layout in the broken
13137         paragraph
13138
13139         * lyxtextclass.C (Read): remove lowercase
13140         (hasLayout): ditto
13141         (operator): ditto
13142         (delete_layout): ditto
13143
13144         * lyxtext.h: rename first -> first_y
13145
13146         * lyxlayout.C (Read): remove lowercase
13147         (name): ditto
13148         (setName): ditto
13149         (obsoleted_by): ditto
13150
13151         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13152
13153         * buffer.C (insertErtContents): add params are to InsetERT
13154         (parseSingleLyXformat2Token): add code to check if a paragraphs
13155         layout really exist.
13156         (parseSingleLyXformat2Token): add params to several inset
13157         constructors
13158         (asciiParagraph): remove lowercase, do the layout comparisons with
13159         no_case
13160
13161         * BufferView_pimpl.C (cursorNext): first -> first_y
13162         (resizeCurrentBuffer): first -> first_y
13163         (updateScrollbar): first -> first_y
13164         (scrollCB): first -> first_y
13165         (workAreaMotionNotify): first -> first_y
13166         (workAreaButtonPress): first -> first_y
13167         (checkInsetHit): first -> first_y
13168         (cursorPrevious): first -> first_y
13169         (cursorNext): first -> first_y
13170         (Dispatch): add buffer_->params to severl inset contructors
13171
13172 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13173
13174         * lyxlayout.C (Read): remove some debug info that I forgot.
13175
13176         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13177         clean up the code slightly.
13178         (makeLinuxDocFile): ditto
13179         (makeDocBookFile): ditto
13180
13181         * text2.C: layout as string
13182
13183         * text.C: layout as string
13184
13185         * paragraph_pimpl.C: layout as string
13186
13187         * paragraph.[Ch]: layout as string
13188
13189         * lyxtextclasslist.[Ch]: layout as string
13190
13191         * lyxtextclass.[Ch]: layout as string
13192
13193         * lyxtext.h: layout as string
13194
13195         * lyxlayout.[Ch]: layout as string
13196
13197         * lyx_cb.C: layout as string
13198
13199         * bufferview_funcs.C: layout as string
13200
13201         * bufferparams.C: layout as string
13202
13203         * buffer.C: layout as string
13204
13205         * LyXView.[Ch]: layout as string
13206
13207         * LaTeXFeatures.[Ch]: layout as string
13208
13209         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13210
13211         * BufferView_pimpl.C: change current_layout to string, remove
13212         lyx::layout_type.
13213         (Dispatch):
13214         (smartQuote):
13215         (insertInset):
13216         (workAreaButtonRelease): layout as string
13217
13218         * BufferView2.C (unlockInset): adjust
13219
13220         * vspace.C (asLatexCommand): use an explict temp variable.
13221
13222 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13223
13224         * Makefile.am: use FRONTEND_*
13225
13226 2002-03-01  Juergen Vigna  <jug@sad.it>
13227
13228         * tabular.C (SetWidthOfMulticolCell): changed to something better
13229         I hope but still work in progress.
13230         (recalculateMulticolumnsOfColumn): renamed function from
13231         recalculateMulticolCells as it is more appropriate now.
13232         (SetWidthOfCell): calculate multicols better.
13233
13234 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13235
13236         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13237
13238         * lyxfunc.C (processKeySym): print sequence also if it is
13239         `deleted' (complete)
13240
13241         * kbsequence.C (print): print sequence even if it is deleted
13242         (complete would be a better word, actually).
13243
13244         * lyxfunc.C (dispatch): print complete options after a prefix key
13245
13246         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13247
13248 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13249
13250         * text2.C (setCharFont): eliminate setCharFont code duplication.
13251
13252 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13253
13254         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13255         LFUN_TABULAR_FEATURE (bug #177)
13256
13257 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13258
13259         * Makefile.am: remove figure.h
13260
13261 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13262
13263         * Bufferview_pimpl.C:
13264         * CutAndPasteC:
13265         * LaTeX.C:
13266         * LyXSendto.C:
13267         * buffer.C:
13268         * bufferlist.C:
13269         * converter.C:
13270         * language.C:
13271         * lyxfunc.C:
13272         * lyxvc.C:
13273         * paragraph.C:
13274         * text.C:
13275         * text2.C: remove #include "lyx_gui_misc.h".
13276
13277         * LaTeX.C: added #include <cstdio>
13278
13279 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13280
13281         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13282         that the paragraph following this one can have.
13283
13284         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13285
13286         * vspace.C (asLatexCommand): fix bogus gcc warning
13287
13288         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13289
13290 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13291
13292         * text2.C (setLayout): get rid of redundant code
13293
13294 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13295
13296         * text2.C (incDepth): make sure depth cannot be increased beyond
13297         reasonable values.
13298
13299 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13300
13301         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13302         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13303
13304         * PainterBase.h (image):
13305         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13306         a LyXImage const *.
13307
13308 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13309
13310         * BufferView.C:
13311         * BufferView.h:
13312         * BufferView_pimpl.C:
13313         * BufferView_pimpl.h:
13314         * LaTeXFeatures.C:
13315         * LyXAction.C:
13316         * LyXView.C:
13317         * Makefile.am:
13318         * UpdateList.h:
13319         * UpdateList.C:
13320         * buffer.C:
13321         * figure.h:
13322         * figureForm.C:
13323         * figureForm.h:
13324         * figure_form.C:
13325         * figure_form.h:
13326         * lyx_cb.C:
13327         * lyx_gui.C:
13328         * lyx_gui_misc.C:
13329         * lyxfunc.C:
13330         * sp_base.h:
13331         * sp_ispell.h:
13332         * sp_pspell.h:
13333         * sp_spell.C: remove fig inset, and the crap house of
13334           cards that follows it
13335
13336 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13337
13338         * Makefile.am:
13339         * lyxserver.C:
13340         * os2_defines.h:
13341         * os2_errortable.h:
13342         * nt_defines.h: move .h into support/
13343
13344         * vms_defines.h: remove
13345
13346         * WorkArea.C: add space in debug output
13347
13348         * text2.C:
13349         * paragraph.C:
13350         * buffer.C: add WITH_WARNINGS
13351
13352         * vc-backend.h:
13353         * vc-backend.C:
13354         * bufferlist.C: s/retrive/retrieve/, add docs
13355
13356         * vspace.h:
13357         * vspace.C:
13358         * kbmap.h:
13359         * lyxlength.h:
13360         * lyxgluelength.h:
13361         * length_common.h:
13362         * chset.h:
13363         * chset.C: add docs
13364
13365         * lyxgui.C: add ID to X error handler
13366
13367         * lyxtestclass.c: fix typo
13368
13369 2002-02-26  Juergen Vigna  <jug@sad.it>
13370
13371         * tabular_funcs.C (write_attribute): changed so that some default
13372         attributes are not written at all.
13373         (getTokenValue): set default values before trying to read the
13374         value so we have the return value always set as default if we don't
13375         find the token we search for.
13376
13377         * tabular.C (Write): write bools as bools not as strings!
13378
13379 2002-02-22  Juergen Vigna  <jug@sad.it>
13380
13381         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13382         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13383
13384         * text.C (leftMargin): don't add an indent for paragraphs inside
13385         tabular cells (fix #208).
13386
13387 2002-02-21  José Matos  <jamatos@fep.up.pt>
13388
13389         * tabular.C (docBook): fixed support for long tables.
13390
13391 2002-02-20  Juergen Vigna  <jug@sad.it>
13392
13393         * text2.C (getFont): get the drawing font of the Inset if this
13394         paragraph is inside an inset (only important for InsetERT for now).
13395
13396         * buffer.C (insertErtContents): use new lanugage params in ERT
13397         constructor.
13398
13399         * CutAndPaste.C: commenting out seemingly uneeded code.
13400
13401 2002-02-19  Allan Rae  <rae@lyx.org>
13402
13403         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13404         Iterators might be simple to use but they also get invalidated.
13405         (removeAutoInsets): renamed saved cursor tracking variables and added
13406         some comments to clarify what everything does.
13407
13408 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13409
13410         * Chktex.C:
13411         * LaTeX.C:
13412         * LyXSendto.C:
13413         * converter.C:
13414         * lyx_cb.C:
13415         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13416         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13417
13418         * lyxfunc.C:
13419         * vc-backend.h: remove #include "support/syscall.h"
13420
13421         * LaTeX.C:
13422         * LyXSendto.C:
13423         * converter.C: rearrange #includes in Lars' approved fashion.
13424
13425         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13426         forward declare class Timeout in the header file.
13427
13428         * XFormsView.C: changes due to the above.
13429
13430         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13431         similar to LyXView.
13432
13433         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13434         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13435
13436 2002-02-18  José Matos  <jamatos@fep.up.pt>
13437
13438         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13439         insets contents.
13440
13441 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13442
13443         * a lot of small ws changes
13444         * add a lot of using std::XXX
13445         * use std construcs some places where approp.
13446         * use some exisint stuff from lyxfunctional where approp.
13447         * Make file changes to use partial linking (lets test this now...)
13448
13449 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13450
13451         * Chktex.C:
13452         * buffer.C:
13453         remove #include "support/syscontr.h" as it's redundant. Always has been.
13454
13455         * Chktex.C:
13456         * LaTeX.C:
13457         * LyXSendto.C:
13458         * converter.C:
13459         * lyx_cb.C:
13460         * vc-backend.C:
13461         change Systemcalls::System to Systemcalls::Wait and
13462         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13463         No change of functionality, just reflects the stripped down Systemcalls
13464         class.
13465
13466 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13467
13468         * debug.[Ch]: add a GRAPHICS type to the enum.
13469
13470 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13471
13472         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13473
13474         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13475         there is an inset.
13476
13477 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13478
13479         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13480         match the changes below.
13481
13482         * text2.C (toggleInset): if there is not editable inset at cursor
13483         position, try to see if cursor is _inside_ a collapsable inset
13484         and close it.
13485
13486 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13487
13488         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13489         document menu has a nice checkbox
13490
13491 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13492
13493         * lyxlength.C (asLatexString): change PW to output as percent of
13494         \textwidth.
13495
13496         * lengthcommon.C: change '%' to 't%'
13497
13498         * lyxfunc.C (dispatch): a few comments from Martin
13499
13500 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13501
13502         * WorkArea.h:
13503         * WorkArea.C:
13504         * BufferView_pimpl.h:
13505         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13506           the X selection.
13507
13508 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13509
13510         * vspace.C (inPixels): fix compiler warning
13511
13512 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13513
13514         * lyxfunc.C (getStatus): fix status message for disabled commands.
13515
13516 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13517
13518         * BufferView_pimpl.C: fix crash on close buffer
13519         during selection (#227)
13520
13521 2002-01-27  Herbert Voss  <voss@lyx.org>
13522
13523         * buffer.C: link old Figure to new graphic inset
13524
13525 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13526
13527         * FontLoader.C (getFontinfo): Change the latex font names in order
13528         to match the names of type1inst.
13529
13530 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13531
13532         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13533
13534         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13535         (extchanged): ditto
13536         (ext_exist): ditto
13537         (remove_files_with_extension): ditto
13538         (remove_file): ditto
13539         (write): ditto
13540
13541         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13542         document is smaller than the work area height. Do not initialize
13543         static variables to 0.
13544
13545 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13546
13547         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13548
13549         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13550         LFUN_LAYOUT_PARAGRAPHS.
13551
13552         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13553         tabular. It is possible to provide a possible cell, which will
13554         typically be the actcell from the corresponding insettabular
13555
13556         * lyxfunc.C (getStatus): small cleanup; disable
13557         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13558         true
13559
13560 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13561
13562         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13563
13564         * paragraph.C (startTeXParParams):
13565         (endTeXParParams): new methods. The LaTeX code to
13566         start/end paragraph formatting
13567         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13568         empty (fixes bug #200)
13569
13570         * vspace.C (inPixels): adapt to the change below
13571         (inPixels): [later] more cleanups (remove unused variables)
13572
13573         * lyxlength.C (inPixels): change to use a width and a height as
13574         parameter.
13575
13576 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13577
13578         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13579         Replaced with \paperwidth
13580
13581         * DepTable.C (insert): add std:: qualifier
13582
13583 2002-01-18  Allan Rae  <rae@lyx.org>
13584
13585         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13586         updated also?
13587
13588         * text.C (drawInset): Turned out I didn't know enough about how
13589         rebreaking worked.  This fixes most of the redraw problems.  I see
13590         an occasional cursor trail when a line is broken now and the cursor
13591         placement can seem out by a few pixels also after a rebreak.
13592
13593 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13594
13595         * buffer.C (parseSingleLyXformat2Token): update because minipage
13596         width is now a LyXLength
13597
13598         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13599
13600         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13601         math insets
13602
13603 2002-01-17  Juergen Vigna  <jug@sad.it>
13604
13605         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13606
13607         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13608         is set correctly and the inset is updated correctly.
13609
13610 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13611
13612         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13613         the beginning of the loop.
13614
13615 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13616
13617         * lyxrc.C: improve help for use_scalable_fonts
13618
13619 2002-01-17  Allan Rae  <rae@lyx.org>
13620
13621         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13622
13623 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13624
13625         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13626         make sure to set their inset_owner to the right value (bug #171)
13627
13628 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13629
13630         * DepTable.h
13631         * DepTable.C: Implement mtime checking to reduce time spent doing
13632         CRCs.
13633
13634 2002-01-16  Juergen Vigna  <jug@sad.it>
13635
13636         * tabular.C (GetAdditionalHeight): one of error fixed.
13637
13638         * lyxrc.C (output): small fix in writing use_pspell.
13639
13640 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13641
13642         * sp_base.h: #include LString.h
13643
13644 2002-01-16  Allan Rae  <rae@lyx.org>
13645
13646         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13647         Can someone check this please?
13648
13649         * text.C (drawInset): It was possible that p.row would be removed by
13650         breakAgainOneRow upsetting a few other settings.  There may be another
13651         small tweak possible by setting need_break_row = 0 when p.row has been
13652         removed but I don't know enough about the logic here.
13653
13654 2002-01-15  Allan Rae  <rae@lyx.org>
13655
13656         * text.C (insertChar): removed conditional truism.
13657
13658         * BufferView2.C (removeAutoInsets): More tweaks.
13659         cur_par_prev could be a stray pointer.  Check for trailing empty line
13660         in case last line was cur_par and only had an error inset on it.
13661
13662 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13663
13664         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13665         absolute
13666
13667         * vc-backend.C (most methods):
13668         * exporter.C (Export):
13669         * converter.C (convert):
13670         (runLaTeX):
13671         * LyXSendto.C (SendtoApplyCB):
13672         * lyxfunc.C (dispatch):
13673         (menuNew):
13674         (open):
13675         (doImport):
13676         * lyx_cb.C (AutoSave):
13677         (InsertAsciiFile):
13678         * BufferView_pimpl.C (MenuInsertLyXFile):
13679         * buffer.C (runChktex): use Buffer::filePath().
13680
13681         * buffer.h: rename filename to filename_; rename filepath to
13682         filepath_ and make it private
13683         (filePath): new method
13684
13685         * buffer.C (writeFile): use fileName()
13686         (getLatexName):
13687
13688         * lyx_main.C (init): fix starting  of LyX when the binary is a
13689         link from so,ewhere else.
13690
13691         * minibuffer.C: include <cctype> for isprint
13692
13693 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13694
13695         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13696         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13697         name clash with InsetCollapsable's width function.
13698
13699 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13700
13701         * lastfiles.C: include <iterator>
13702
13703 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13704
13705         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13706         std::count.
13707
13708         * buffer.C (makeLaTeXFile): ditto.
13709         Also make loop operation more transparent.
13710
13711 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13712
13713         * ToolbarDefaults.C: remove trailing comma closing namespace.
13714
13715         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13716
13717         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13718         as in WorkArea.
13719
13720         * trans.C (Load): comment out unused variable, allowed.
13721
13722 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13723
13724         * minibuffer.[Ch] (append_char): new method to recieve input from the
13725         drop-down completion browser. If a key was pressed, then recieve this
13726         char and append it to the existing string.
13727         (peek_event): modify the positioning data passed to the completion
13728         browser so that it can be placed above the minibuffer rather than below.
13729 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13730
13731         * LyXAction.C (init): alloe error-next for readonly documents.
13732
13733         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13734         count.
13735
13736 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13737
13738         * bufferlist.C (readFile): create the buffer _after_ checking that
13739         the file exists.
13740
13741         * lyxfunc.C (verboseDispatch): fix handling of arguments
13742
13743         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13744
13745         * lyxrc.C: use string::erase() instead of initializing to "".
13746
13747
13748 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13749
13750         * BufferView_pimpl.h:
13751         * BufferView_pimpl.C:
13752         * WorkArea.h:
13753         * WorkArea.C:
13754         * text2.C: tell X when we have made a selection for copying
13755
13756 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13757
13758         * BufferView_pimpl.C (MenuInsertLyXFile):
13759         * lyxfunc.C (menuNew):
13760         (open):
13761         (doImport): add shortcuts to directory buttons
13762
13763         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13764         open a float)
13765
13766         * lyxfunc.C (setStatusMessage):
13767         (getStatusMessage): new methods
13768         (getStatus):use setStatusMessage instead of setErrorMessage
13769         (dispatch): when function is disabled, set error message here
13770         [instead of in getStatus previously]
13771
13772         * BufferView_pimpl.C (workAreaButtonRelease): update
13773         toolbar/menubar here too.
13774
13775 2002-01-13  Allan Rae  <rae@lyx.org>
13776
13777         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13778         Now seems indestructible.  Remaining task is to audit all other
13779         code affected by deleteEmptyParagraphMechanism.  One small quirk
13780         left is that an empty document with an error in the preamble can
13781         be made to report an error but no error box appears.  I don't know
13782         where it goes.
13783         (removeAutoInsets): Improved comments.
13784
13785 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13786
13787         * Thesaurus.h:
13788         * Thesaurus.C: update for Aiksaurus 0.14
13789
13790 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13791
13792         * text2.C (firstParagraph): removed member function, all uses
13793         replaces with ownerParagraph
13794         (redoParagraphs): here
13795         (updateInset): here
13796         (toggleAppendix): here
13797         * BufferView2.C (insertErrors): here
13798         (setCursorFromRow): here
13799
13800 2002-01-13  Allan Rae  <rae@lyx.org>
13801
13802         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13803         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13804         There is still a way to segfault this although you may have to do this
13805         multiple times: Have an InsetERT with an unknown command in it.
13806         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13807         <down-arrow>, <Enter> again, View->DVI, BANG!
13808
13809         * text2.C (setCursor):
13810         (deleteEmptyParagraphMechanism):
13811         * lyxtext.h (setCursor):
13812         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13813         Making use of the return value may help fix other bugs.
13814
13815 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13816
13817         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13818
13819         * LyXView.C (updateMenubar): call MenuBar::update here
13820         (updateToolbar): but not here
13821         (showState): do not update toolbar/menubar
13822
13823         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13824         should need to care about that.
13825
13826         * lyxfunc.C (verboseDispatch): simplify a bit
13827         (getStatus): have a version which takes a pseudoaction, and
13828         another which requires a (kb_action,string).
13829
13830         * LyXAction.C (retrieveActionArg): make it work also when action
13831         is not a pseudo-action.
13832         (getActionName): simplify a bit
13833         (helpText):
13834
13835 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13836
13837         * lyxfunc.C (verboseDispatch): new families of methods with
13838         several ways to specify a command and a bool to indicate whether
13839         the command name and shortcut should be displayed in minibuffer
13840         (eventually, we could extend that to a finer bitmask like
13841         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13842         (dispatch): the pristine dispatch command which just, well,
13843         dispatchs! Note it still sets its result to minibuffer; I'm not
13844         sure we want that.
13845
13846         * lyxfunc.h: remove setHintMessage
13847
13848         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13849
13850 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13851
13852         * BufferView_pimpl.C (specialChar): delete new inset if we have
13853         not been able to insert it.
13854
13855         * kbmap.C: revert to using int instead of kb_action, since all we
13856         are dealing with is pseudo-actions.
13857
13858         * LyXAction.C (searchActionArg): change to return int instead of
13859         kb_action, since the result is a pseudoaction.
13860
13861 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13862
13863         * buffer.C (insertErtContents): Fix (partially) the font bug.
13864
13865 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13866
13867         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13868         as the other one is broken on my machine!
13869
13870 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13871
13872         * commandtags.h:
13873         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13874
13875 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13876
13877         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13878         reflect their actual use. Provide compatibility code for older lyxrc
13879         files.
13880
13881         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13882         FL_NORMAL_STYLE.
13883         change names of popup font variables in line with the changes to lyxrc.C
13884
13885 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13886
13887         * buffer.C (asciiParagraph): avoid outputing a word twice after
13888         an inset.
13889
13890         * lyxrc.C (getDescription): document that document_path and
13891         template_path can be empty.
13892
13893 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13894
13895         * LaTeXFeatures.C (getMacros):
13896         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13897
13898         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13899
13900         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13901         getPackages.
13902         (getPackages): rename feature "floats" to "float". Use an array to
13903         iterate over 'simple' features (i.e. just a \usepackage). Add
13904         handling of "amsmath" (renamed from "amsstyle").
13905
13906 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13907
13908         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13909         features list.
13910
13911 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13912
13913         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13914         FuncStaus::FuncStatus & FuncStaus::some_method().
13915
13916 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13917
13918         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13919         of the func_satus stuff. Edited and massaged in various ways by
13920         JMarc.
13921
13922         * lyxfunc.C (getStatus): use FuncStatus
13923
13924 2002-01-08  Juergen Vigna  <jug@sad.it>
13925
13926         * text.C (nextBreakPoint): use function Inset::isChar().
13927
13928         * paragraph.C (TeXOnePar): use function
13929         Inset::forceDefaultParagraphs.
13930
13931         * buffer.C (latexParagraphs): use function
13932         Inset::forceDefaultParagraphs.
13933
13934 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13935
13936         * lyx_gui.C (init): set the style of the menu popups to
13937         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13938
13939 2002-01-07  Juergen Vigna  <jug@sad.it>
13940
13941         * text.C (setHeightOfRow): small fix
13942         (prepareToPrint): don't look at alignment if we don't have the place
13943         for doing it.
13944
13945 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13946
13947         * box.C: New file. Move the Box methods and functions out of box.h,
13948         following Lars' suggestion.
13949
13950 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13951
13952         * box.h: #include "support/LOstream.h", needed for inlined function.
13953
13954         * lyxtextclass.C:
13955         * lyxtextclasslist.C: added some using std declarations.
13956
13957 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13958
13959         * box.h: make signed dimensions to allow insets wider than
13960           the screen (bug #162)
13961
13962         * BufferView_pimpl.C: add some insetHit debug
13963
13964 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13965
13966         * vc-backend.C: add FIXME
13967
13968 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13969
13970         * lyxfunc.C (getStatus): enable code for showing math font status
13971         in toolbar/menu.
13972
13973 2002-01-07  Juergen Vigna  <jug@sad.it>
13974
13975         * text.C (nextBreakPoint): removed debug output not needed anymore.
13976
13977 2002-01-06  Juergen Vigna  <jug@sad.it>
13978
13979         * text.C (nextBreakPoint): fixed up this function we had this bug
13980         since ever but now hopefully we break row better.
13981         (insertChar): we have to check if an inset is the next char as it
13982         could now happen that a large inset is causing a break.
13983
13984 2002-01-05  Juergen Vigna  <jug@sad.it>
13985
13986         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13987         if it doesn't like to be drawed.
13988
13989 2002-01-04  Juergen Vigna  <jug@sad.it>
13990
13991         * BufferView2.C (lockInset): forgot to set a cursor.
13992
13993         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13994
13995 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13996
13997         * FormMathsPanel.C:
13998         * FormMathsPanel.h
13999         * MathsSymbols.C:
14000         * form_maths_panel.C:
14001         * form_maths_panel.h:
14002         * form_maths_panel.fd: implemented sub- and super- buttons in math
14003         panel.
14004
14005         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14006         (or ^ space) to be used as in TeX (req'd by Andr�.
14007
14008         * lyxfunc.C: Allow ^ and _ again to be used both as
14009         super/subscript (mathed) and as themselves (in text).
14010
14011 2002-01-03  Allan Rae  <rae@lyx.org>
14012
14013         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14014         "LyX" or the filename of the current buffer if it has one.  This is a
14015         modified form of John Levon's patch.
14016
14017         * XFormsView.C (setWindowTitle): also set icon title.
14018
14019         * LyXView.h (setWindowTitle): signature changed.
14020         * XFormsView.h (setWindowTitle): ditto.
14021
14022 2002-01-02  Juergen Vigna  <jug@sad.it>
14023
14024         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14025
14026 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14027
14028         * screen.C (topCursorVisible): introduce a temp var for
14029         text->cursor.row(), handle the case where this row is null. (kindo
14030         hachish)
14031
14032         * text2.C (setCursor): add a couple of asserts.
14033
14034         * paragraph.h (inset_iterator): add -> operator
14035
14036         * paragraph.[Ch] (autoDeleteInsets): remove member function
14037
14038         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14039         cursor pos correctly and handle inset deletion by itself.
14040         (insertErrors): move iterator declaration out of for expression
14041
14042         * lyxtextclass.C: add <algorithm>
14043
14044         * Makefile.am: added the new files to sources, removed layout.C
14045
14046         * layout.C: removed file
14047
14048         * layout.h: remove LYX_DUMMY_LAYOUT
14049
14050         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14051         layout.
14052
14053         * lyxlayout.[Ch]:
14054         * lyxtextclass.[Ch]:
14055         * lyxtextclasslist.[Ch]: new files
14056
14057         * include order changes to a lot of files, also changes because of
14058         the six new files.
14059
14060 2001-12-27  Juergen Vigna  <jug@sad.it>
14061
14062         * buffer.C (asciiParagraph): more fixes.
14063
14064         * tabular.C (ascii): make ascii export support export of only the
14065         data separated by a column-delimiter.
14066         (ascii): better support for ascii export.
14067
14068         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14069
14070 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14071
14072         * tabular_funcs.C: use a "using std::getline" instead of the
14073         previous fix from Angus (necessary for cxx + lyxstring)
14074
14075 2001-12-24  Juergen Vigna  <jug@sad.it>
14076
14077         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14078
14079         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14080         problems. First check a minipage also if we have some ert-contents
14081         (not only on par->size(), second set the right depth of the paragraph
14082         on the relink to the root-paragraph-list!
14083
14084         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14085         which then did not anymore update the main paragraphs on undo/redo!
14086
14087 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14088
14089         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14090         code. Support all font-changing funcs (even those which are not in
14091         menu currently). Support for reporting font settings in
14092         mathed (disabled until Andre provides a function on mathed's side).
14093
14094         * func_status.h (toggle): small helper function to set toggle
14095         state on a flag.
14096
14097 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14098
14099         * tabular_funcs.C: getline -> std::getline
14100
14101 2001-12-21  Juergen Vigna  <jug@sad.it>
14102
14103         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14104         accessed and could be 0 (I couldn't generate this but it seems
14105         Michael could!).
14106
14107 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14108
14109         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14110         * tabular_funcs.h: here and include iosfwd
14111
14112 2001-12-20  Juergen Vigna  <jug@sad.it>
14113
14114         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14115         inside inset but undo_par was.
14116
14117 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14118
14119         * Thesaurus.C: always include <config.h> in sources.
14120
14121         * Painter.h:
14122         * lyxlookup.h:
14123         * box.h: do not include <config.h> in header files
14124
14125         * text.C (paintLastRow): remove unused variable
14126
14127         * text.C (transformChar):
14128         (insertChar):
14129         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14130
14131         * Painter.C (text):
14132         * font.C (width): rewrite to use uppercase() instead of
14133         islower/toupper.
14134
14135         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14136
14137 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14138
14139         * lyxfind.C: clean up of find failure position change
14140
14141 2001-12-20  Juergen Vigna  <jug@sad.it>
14142
14143         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14144
14145         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14146         (TeXRow): added to LaTeX a single tabular row.
14147         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14148         (Latex): simplified and finally good LT-h/f support.
14149         (various_functions): just small adaptions for LT-h/f support.
14150
14151         * tabular_funcs.[hC]: added and moved here all not classfunctions
14152         of LyXTabular.
14153
14154 2001-12-19  Juergen Vigna  <jug@sad.it>
14155
14156         * tabular.[Ch]: better support for longtabular options (not finished
14157         yet!)
14158
14159 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14160
14161         * text.C (paintLastRow): use the label font instead of the font of
14162         the last character to compute the size of *_BOX. This makes more
14163         sense and avoids a crash with empty paragraphs.
14164         Use Painter::rectangle to draw EMPTY_BOX.
14165
14166 2001-12-19  Juergen Vigna  <jug@sad.it>
14167
14168         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14169         the paragraphs if the replaced paragraph is not the first one!
14170         Tried to delete not used paragraphs but does not work yet so for
14171         now it's inside #ifdef's and by default off!
14172
14173 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14174
14175         * MenuBackend.C: include "lyx_main.h" instead of declaring
14176         lastfiles (actually was declared as LastFiles* instead of a
14177         scoped_ptr).
14178
14179 2001-12-17  Juergen Vigna  <jug@sad.it>
14180
14181         * tabular.C (AppendColumn): applied John's fix
14182
14183 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14184
14185         * BufferView.h:
14186         * BufferView.C:
14187         * BufferView_pimpl.h:
14188         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14189
14190         * Makefile.am:
14191         * box.h: new start of class for above
14192
14193         * lyxfunc.C: ignore space-only minibuffer dispatches.
14194           Show the command name when it doesn't exist
14195
14196         * minibuffer.C: don't add empty lines to the history
14197
14198         * minibuffer.C: add a space on dropdown completion
14199
14200 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14201
14202         * text.C: fix line above/below drawing in insets
14203
14204 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14205
14206         * lyxlength.C (LyXLength): Initialize private variables.
14207
14208 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14209
14210         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14211         when inserting error insets.
14212
14213 2001-12-13  Juergen Vigna  <jug@sad.it>
14214
14215         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14216         actually sometimes the before-paragraph.
14217         (setUndo): don't clear the redostack if we're not actually undoing!
14218
14219 2001-12-06  Juergen Vigna  <jug@sad.it>
14220
14221         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14222         and fixed redoing of main paragraph, so we can use it now ;)
14223
14224         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14225
14226 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14227
14228         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14229         Juergen's request
14230
14231 2001-12-13  André Pönitz <poenitz@gmx.net>
14232
14233         * undostack.[Ch]:
14234         * undo_func.C: minor cleanup
14235
14236 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14237
14238         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14239         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14240         font in urw-fonts package which is marked as -urw-fontspecific and
14241         does not work (incidentally, changing the encoding in the
14242         fonts.dir of this package to -adobe-fontspecific fixes the
14243         problem).
14244
14245         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14246         is a crash when undoing first paragraph (Juergen, please take a
14247         look). THis does not mean the undo fix is wrong, just that it
14248         uncovers problems.
14249
14250         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14251         the (Paragraph*) version when needed instead of duplicating the
14252         code.
14253
14254         * text.C (workWidth): use Inset::parOwner to find out where the
14255         inset has been inserted. This is a huge performance gain for large
14256         documents with lots of insets. If Inset::parOwner is not set, fall
14257         back on the brute force method
14258
14259         * paragraph_pimpl.C (insertInset):
14260         * paragraph.C (Paragraph):
14261         (cutIntoMinibuffer): set parOwner of insets when
14262         inserting/removing them
14263
14264         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14265
14266 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14267
14268         * commandtags.h:
14269         * LyXAction.C:
14270         * lyx_main.C:
14271         * lyxfunc.C:
14272         * mathed/formulabase.C:
14273         * mathed/math_cursor.[Ch]:
14274         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14275
14276
14277 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14278
14279         * lyxlength.[Ch] (operator!=): new function
14280
14281 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14282
14283         * text.C (workWidth): use Inset::parOwner to find out where the
14284         inset has been inserted. This is a huge performance gain for large
14285         documents with lots of insets. If Inset::parOwner is not set, fall
14286         back on the brute force method
14287
14288         * paragraph_pimpl.C (insertInset):
14289         * paragraph.C (Paragraph):
14290         (cutIntoMinibuffer): set parOwner of insets when
14291         inserting/removing them
14292
14293         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14294
14295 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14296
14297         * tabular-old.C (getTokenValue):
14298         * tabular.C (getTokenValue):
14299         (write_attribute): new versions for LyXLength
14300         (everywhere): adjust the use of widths
14301
14302         * tabular.h: change the type of widths from string to LyXLength
14303
14304 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14305
14306         * paragraph.C: fixed missing line number count when exporting
14307         Environments to LaTeX file
14308
14309         * buffer.C: added informational message for checking line numbers.
14310
14311 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14312
14313         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14314         paragraph, do the 'double space' part, but not the 'empty
14315         paragraph' one.
14316
14317         * text.C (workWidth): small optimization
14318         (getLengthMarkerHeight): use minimal size for negative lengths.
14319
14320 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14321
14322         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14323
14324         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14325
14326 2001-12-11  André Pönitz <poenitz@gmx.net>
14327
14328         * FontLoader.C:
14329         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14330
14331 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14332
14333         * text2.C: keep selection on a setFont()
14334
14335 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14336
14337         * lyx_cb.C: another bv->text misuse, from insert label
14338
14339 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14340
14341         * kbsequence.h:
14342         * kbsequence.C: re-instate nmodifier mask
14343
14344 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14345
14346         * lyx_main.h: make lyxGUI private.
14347
14348 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14349
14350         * lyxfind.C: place the cursor correctly on failed search
14351
14352 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14353
14354         * text.C (getLengthMarkerHeight): for small heights, the arrows
14355         are not always on top/bottom of the text
14356         (drawLengthMarker): smaller arrows; take the left margin in
14357         account; draw also vfills.
14358         (paintFirstRow):
14359         (paintLastRow): remove special code for vfill and standard spaces,
14360         since everything is handled in drawLengthMarker now.
14361
14362 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14363
14364         * buffer.C (insertErtContents): try to handle font and language
14365         interaction a bit better.g
14366
14367         * ColorHandler.C (updateColor): change the hash to cover the whole
14368         LColor enum, ws cleanup
14369         (getGCLinepars): ditto
14370         (getGCLinepars): only lookup in the linecache once.
14371
14372 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14373
14374         * iterators.C (operator++): Make the iterator more robust
14375
14376         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14377         (John's patch)
14378         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14379
14380 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14381
14382         * lyxtext.h:
14383         * text.C: better added space drawing
14384
14385 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14386
14387         * LyXView.C:
14388         * BufferView2.C: fix layout combo update on inset unlock
14389
14390 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14391
14392         * Makefile.am: don't compile unused files
14393
14394 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14395
14396         * lyxfunc.C:
14397         * commandtags.h:
14398         * LyXAction.C: remove old LFUN_LAYOUTNO
14399
14400 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14401
14402         * paragraph_pimpl.h:
14403         * paragraph_pimpl.C: isTextAt() doesn't need font param
14404
14405 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14406
14407         * lyxlex.h:
14408         * lyxlex.C: little cleanup
14409
14410 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14411
14412         * BufferView_pimpl.C: fix insertAscii for insets
14413
14414 2001-12-05  Juergen Vigna  <jug@sad.it>
14415
14416         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14417         set the right font on the "multi" paragraph paste!
14418
14419 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14420
14421         * trans_decl.h:
14422         * trans_mgr.[Ch]:
14423         * trans.[Ch]:
14424         * lyxgluelength.C:
14425         * lyxlength.C: remove out-commented code.
14426
14427         * BufferView_pimpl:
14428         * CutAndPaste.C:
14429         * DepTable.C:
14430         * buffer.C:
14431         * chset.C:
14432         * lastfiles.C:
14433         * lyxlex.C:
14434         * lyxlex_pimpl.C:
14435         * lyxserver.C:
14436         * screen.C:
14437         * tabular-old.C:
14438         * tabular.C:
14439         * text.C:
14440         * trans_mgr.C:
14441         * vc-backend.C: change "while(" to "while ("
14442
14443         * lyxlength.[Ch]: add zero function to check if length is zero or
14444         not
14445         * lyxgluelength.C: use it
14446
14447 2001-12-05  Allan Rae  <rae@lyx.org>
14448
14449         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14450         Works for 2.95.3, from what I understand of Garst's reports this should
14451         work for other g++ versions.  We're screwed if the abs(int) definition
14452         changed between bugfix releases of gcc.
14453
14454 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14455
14456         * text.C: fix chapter label offset !
14457
14458 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14459
14460         * lyxtext.h:
14461         * text.C: fix hfill at end of line, clean up
14462
14463 2001-12-04  Juergen Vigna  <jug@sad.it>
14464
14465         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14466         that we force an update of the inset and it's owners if neccessary.
14467
14468 2001-12-03  Juergen Vigna  <jug@sad.it>
14469
14470         * text.C (rowLast): simplified code
14471
14472 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14473
14474         * lyxfunc.C: fix show options on timeout
14475
14476 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14477
14478         * screen.C (topCursorVisible): scroll half a page when the cursor
14479         reached top of bottom of screen
14480
14481 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14482
14483         * minibuffer.C: deactivate on loss of focus
14484
14485 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14486
14487         * vspace.[Ch] (operator!=): add operator.
14488
14489 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14490
14491         * BufferView_pimpl.C: refuse to open an inset when
14492         there's a selection.
14493
14494 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14495
14496         * BufferView_pimpl.C: allow to click on RHS of full row insets
14497
14498 2001-11-30  Juergen Vigna  <jug@sad.it>
14499
14500         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14501         insets for undo reasons.
14502
14503 2001-11-28  André Pönitz <poenitz@gmx.net>
14504
14505         * vspace.[Ch]: cosmetical changes
14506
14507 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14508
14509         * LyXAction.h:
14510         * LyXAction.C:
14511         * lyxfunc.h:
14512         * lyxfunc.C:
14513         * kbmap.h:
14514         * kbmap.C:
14515         * lyxrc.C:
14516         * kbsequence.h:
14517         * kbsequence.C: part re-write of old kb code
14518
14519         * Painter.C:
14520         * WorkArea.C: remove Lgb_bug_find_hack
14521
14522 2001-11-30  José Matos <jamatos@fep.up.pt>
14523
14524         * buffer.C (makeDocBookFile): add a comment to point a hack.
14525         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14526         Fixed a double write of labels.
14527
14528 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14529
14530         * LaTeX.C:
14531         * LaTeX.h Fixed bug in LaTeX class where it would not
14532         re-run latex if no depfiles were changed, but the .dvi was removed.
14533
14534 2001-11-28  André Pönitz <poenitz@gmx.net>
14535
14536         * all the files from the change on 2001/11/26:
14537         use lyx::layout_type instead of LyXTextClass::size_type
14538         use lyx::textclass_type instead of LyXTextClassList::size_type
14539
14540 2001-11-29  Juergen Vigna  <jug@sad.it>
14541
14542         * text.C: added support for paragraph::isFreeSpacing()
14543
14544         * buffer.C: same as above
14545
14546         * paragraph.h: inserted isFreeSpacing() function to enable
14547         FreeSpacing inside InsetERT.
14548
14549         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14550         of the paragraph's in the cut/copy buffer to 0!
14551
14552         * text2.C (removeRow): remove the assert as it can!
14553
14554         * lyxtext.h: added helper function firstRow returning firstrow and
14555         made firstrow private again.
14556
14557         * BufferView2.C (lockInset): don't relock if we're already locked!
14558
14559         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14560         the only paragraph.
14561         (removeRow): added Assert::(firstrow)
14562
14563         * debug.C: forgot to add INSETTEXT here.
14564
14565 2001-11-28  Juergen Vigna  <jug@sad.it>
14566
14567         * sp_spell.C (initialize): changed error text to more general
14568         spellchecker command use (not only ispell!)
14569
14570         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14571
14572         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14573
14574 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14575
14576         * vspace.C: initialise lyxgluelength on failure
14577
14578 2001-11-28  Allan Rae  <rae@lyx.org>
14579
14580         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14581         declaration & definition that looks like a function declaration.
14582
14583 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14584
14585         * BufferView2.C (copy):
14586         (copyEnvironment): do not clear the selection when doing a copy.
14587
14588         * text.C (paintFirstRow): compilation fix
14589
14590 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14591
14592         * tabular.C (Latex): correct line count when writing latex.
14593
14594 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14595
14596         * paragraph_pimpl.h:
14597         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14598           bug a bit
14599
14600 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14601
14602         * text.C:
14603         * LColor.h:
14604         * LColor.C: change vfillline->added_space
14605
14606         * text.C: add markers and text for added space
14607
14608         * vspace.C: fix comment
14609
14610 2001-11-28  André Pönitz <poenitz@gmx.net>
14611
14612         * paragraph.C: whitespace changes
14613         * all the other files from the change on 2001/11/26:
14614         change *::pos_type into lyx::pos_type
14615
14616 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14617
14618         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14619         language of the document when inserting error insets.
14620
14621 2001-11-26  André Pönitz <poenitz@gmx.net>
14622
14623         * BufferView_pimpl.[Ch]:
14624         *       CutAndPaste.C:
14625         * buffer.[Ch]:
14626         * lyxcursor.[Ch]:
14627         * lyxfind.C:
14628         * lyxfunc.C:
14629         * lyxrow.[Ch]:
14630         * paragraph.[Ch]:
14631         * paragraph_pimpl.[Ch]:
14632         * sp_spell.C:
14633         * text.C:
14634         * text2.C: reduce header dependencies, introduce type for positions
14635
14636 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14637
14638         * <various>: change to use Alert.h
14639
14640 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14641
14642         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14643         when encountering an unknown token.
14644         (readLyXformat2): Show an error message if there were unknown tokens.
14645
14646 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14647
14648         * BufferView2.C:
14649         * BufferView_pimpl.C:
14650         * buffer.C:
14651         * paragraph.h:
14652         * text.C:
14653         * text2.C: use par->isInset()
14654
14655 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14656
14657         * paragraph_pimpl.h:
14658         * paragraph_pimpl.C: cleanup
14659
14660 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14661
14662         * text2.C (removeRow):
14663         * text.C (setHeightOfRow): remove useless (and costly) call to
14664         getRow.
14665
14666 2001-11-20  Allan Rae  <rae@lyx.org>
14667
14668         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14669         Now need Inset*::checkInsertChar() to return true for appropriate
14670         cases so that the characters in the minibuffer will actually be
14671         inserted.
14672
14673 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14674
14675         * text.C: change the order of the includes.
14676         (workWidth): initialize it at once.
14677         (workWidth): make maxw unsigned
14678         (setHeightOfRow): remove unused variable (inset)
14679         (selectSelectedWord): remove unused variable (inset)
14680         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14681
14682 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14683
14684         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14685         server is not running.
14686         (openConnection):
14687         (closeConnection): add debug info when server is disabled.
14688
14689         * ColorHandler.C (getGCForeground): send debug message to GUI
14690         channel.
14691
14692         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14693
14694         * kbmap.C (bind): modify because return conventions of
14695         kb_sequence::parse have changed.
14696
14697         * kbsequence.C (parse): only ignore spaces and not any stupid
14698         control character. This avoids tests like s[i] <= ' ', which are
14699         guaranteed to fail with 8bit characters and signed chars.
14700         Change return code to string::npos when there have been no error
14701         (0 was a bad idea when error is at first character)
14702
14703 2001-11-14  José Matos  <jamatos@fep.up.pt>
14704
14705         * buffer.h:
14706         * buffer.C (simpleDocBookOnePar): removed unused argument.
14707
14708 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14709
14710         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14711         insets which are part of a word. Paragraph::isLetter takes care of
14712         that now. Use Paragraph::isInset to identify insets.
14713         (selectSelectedWord): do not test for hyphenation break.
14714
14715         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14716         that protected spaces are considered as spaces.
14717
14718         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14719         Inset::isLetter.
14720
14721 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14722
14723         * lyxserver.h:
14724         * lyxserver.C: fix it. and small cleanup.
14725
14726 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14727
14728         * BufferView_pimpl.C: use inline helpers
14729
14730         * LaTeXFeatures.h:
14731         * LaTeXFeatures.C: fix typos
14732
14733         * Spacing.h:
14734         * Spacing.C: move spacing_string into class
14735
14736         * ToolbarDefaults.C: move stuff into namespace anon
14737
14738         * layout.h: update enum
14739
14740         * lyxfunc.C: use better debug
14741
14742         * minibuffer.h: fix typo
14743
14744         * debug.h:
14745         * debug.C:
14746         * WorkArea.C: add and use Debug::WORKAREA
14747
14748         * lyxtext.h:
14749         * text.C:
14750         * text2.C: code re-organisation, inline helpers
14751
14752 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14753
14754         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14755         std::vector.empty().
14756
14757 2001-11-09  Allan Rae  <rae@lyx.org>
14758
14759         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14760         '\n's after tables.  Tabular and ERT inset work now makes this no
14761         longer necessary.
14762
14763 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14764
14765         * minibuffer.h:
14766         * minibuffer.C: fix crash, improve drop-down completion
14767
14768 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14769
14770         * lyxserver.h:
14771         * lyxserver.C: invalidate fd's when doing endPipe()
14772
14773 2001-11-08  José Matos  <jamatos@fep.up.pt>
14774
14775         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14776         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14777
14778         * paragraph.h:
14779         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14780
14781 2001-11-07  José Matos  <jamatos@fep.up.pt>
14782
14783         * buffer.h:
14784         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14785         const qualifier.
14786
14787         * buffer.C (sgmlOpenTag):
14788         * buffer.C (sgmlCloseTag): removed debug info.
14789
14790         * buffer.h (sgmlOpenTag):
14791         * buffer.h (sgmlCloseTag): made public.
14792
14793 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14794
14795         * buffer.C (saveParamsAsDefaults):
14796         * lyx_cb.C (MenuLayoutSave): remove
14797
14798         * LyXAction.C (init):
14799         * commandtags.h:
14800         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14801
14802 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14803
14804         * buffer.C (setPaperStuff): removed from here...
14805
14806         * bufferparams.C (setPaperStuff): ... and moved there.
14807
14808 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14809
14810         * minibuffer.h:
14811         * minibuffer.C:
14812         * XFormsView.C: add support for drop-down completion
14813
14814 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14815
14816         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14817         commands.
14818
14819 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14820
14821         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14822         disabled.
14823
14824 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14825
14826         * lyx_main.C: change ref to known bugs
14827
14828 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14829
14830         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14831         to work around older babel problems.
14832
14833 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14834
14835         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14836
14837 2001-10-24  Juergen Vigna  <jug@sad.it>
14838
14839         * tabular-old.C (ReadOld): below variable changes reflected.
14840
14841         * tabular.[Ch]: added ltType struct for longtable header/footer
14842         defines and changed all instances where they are used. Added
14843         future support for double top/bottom rows.
14844
14845 2001-10-24  José Matos  <jamatos@fep.up.pt>
14846
14847         * buffer.h (docbookHandleCaption):
14848         * buffer.C (docbookHandleCaption): removed unused function.
14849         (makeDocBookFile): moved docbook supported version to v4.1.
14850
14851 2001-10-24  José Matos  <jamatos@fep.up.pt>
14852
14853         * tabular.h:
14854         * tabular.C (docbookRow): new function to export docbook code of a row.
14855         (DocBook): now honors the longtable flags.
14856
14857 2001-10-23  José Matos  <jamatos@fep.up.pt>
14858
14859         * LaTeXFeatures.h:
14860         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14861         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14862
14863         * buffer.C (makeLinuxDocFile):
14864         (makeDocBookFile): reworked the preamble, more clean, and with
14865         support for lyx defined entities. Changed the document declaration
14866         to be more XML friendly.
14867
14868         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14869         if we need to output XML that should be done with a filter.
14870
14871 2001-10-22  Juergen Vigna  <jug@sad.it>
14872
14873         * sp_pspell.h (class PSpell): add alive function needed in the
14874         controller to see if the spellchecker could be started.
14875
14876 2001-10-22  Juergen Vigna  <jug@sad.it>
14877
14878         * buffer.C (insertStringAsLines): modify the font for inserting
14879         chars in certain conditions by calling checkInsertChar(font).
14880
14881 2001-10-19  Juergen Vigna  <jug@sad.it>
14882
14883         * text.C (workWidth): use getRow instead of wrong algorithm.
14884         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14885
14886 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14887
14888         * lyxserver.h:
14889         * lyxserver.C:
14890         * lyx_main.h:
14891         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14892
14893 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14894
14895         * text.C (workWidth): do not search for the exact row when
14896         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14897         optimization for big documents.
14898
14899 2001-10-18  Juergen Vigna  <jug@sad.it>
14900
14901         * text.C (workWidth): new function with added Inset * parameter.
14902
14903 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14904
14905         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14906
14907         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14908         change return type of getColumnNearX.
14909
14910
14911         * text.C (changeRegionCase): use uppercase/lowercase instead of
14912         toupper/tolower.
14913         (leftMargin):
14914         (rightMargin): simplify code by factoring out the uses of
14915         textclasslist.
14916         (labelFill):
14917         (numberOfHfills):
14918         (setHeightOfRow):
14919         (appendParagraph): use Paragraph::size_type
14920
14921 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14922
14923         * vspace.C (asLatexString): add a missing break
14924
14925 2001-10-15  Herbert Voss  <voss@perce.de>
14926
14927         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14928
14929 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14930
14931         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14932         is not available.
14933
14934 2001-10-10  André Pönitz <poenitz@gmx.net>
14935
14936         * lyxfunc.C: removed greek_kb_flag.
14937
14938 2001-10-10  Herbert Voss  <voss@perce.de>
14939
14940         * lyx_main.C: delete global string help_lyxdir.
14941
14942 2001-10-09  Herbert Voss  <voss@perce.de>
14943
14944         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14945
14946         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14947
14948         * lyx_main.C: added global string help_lyxdir.
14949
14950         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14951
14952 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14953
14954         * lyxrc.C (set_font_norm_type): support iso8859-4
14955
14956 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14957
14958         * LaTeX.C (deplog): add another regex for MikTeX
14959
14960 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14961
14962         * lyxrc.C (set_font_norm_type): support iso8859-3
14963
14964 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14965
14966         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14967
14968         * LaTeXFeatures.C: remove special case of french and index
14969
14970         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14971         before \begin{document}). This solves several incompatibilities.
14972
14973 2001-10-03  Garst Reese  <reese@isn.net>
14974
14975         * lyx_cb.C: change CheckTex error msg.
14976
14977 2001-10-03  José Matos  <jamatos@fep.up.pt>
14978
14979         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14980
14981 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14982
14983         * .cvsignore: update
14984
14985         * lyx_main.C (commandLineVersionInfo): use new style version info.
14986
14987         * buffer.C (writeFile):
14988         (makeLaTeXFile):
14989         (makeLinuxDocFile):
14990         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14991
14992         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14993
14994         * version.h: update to use stuff in version.C
14995
14996         * version.C.in: new file. Contains version information determined
14997         at compile time. This is a merging of version.h and
14998         version_info.h.in.
14999
15000 2001-10-03  Juergen Vigna  <jug@sad.it>
15001
15002         * BufferView_pimpl.C (update): don't change "dirty" status in
15003         updateInset call.
15004
15005 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15006
15007         * WorkArea.C (c-tor): re-position version string slightly.
15008
15009 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15010
15011         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15012         revert to previous code.
15013
15014         WorkArea.[Ch]: (show, destroySplash): methods removed.
15015
15016         WorkArea.C: rework code so that it's an amalgam of the codes before and
15017         after the splash screen was moved to WorkArea.
15018
15019 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15020
15021         * lyxrc.C (read):
15022         * vspace.C (inPixels):
15023         (lyx_advance):
15024         * kbmap.C (bind):
15025         * buffer.C (insertStringAsLines):
15026         (asciiParagraph): fix types to be large enough
15027
15028         * lyxlex_pimpl.h: change member status from short to int
15029
15030         * layout.h: fix type of endlabeltype
15031
15032         * kbmap.C (bind):
15033         * kbsequence.C (parse): change return type to string::size_type
15034
15035         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15036         variable
15037
15038         * Bullet.C (bulletSize):
15039         (bulletEntry): do not use short ints as parameters
15040
15041         * BufferView2.C (insertLyXFile): change a char to an int.
15042
15043         * WorkArea.C (WorkArea): remove unneeded floats in computation
15044
15045 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15046
15047         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15048
15049         * paragraph.C (asString): Do not ignore newline/hfill chars when
15050         copying to the clipboard.
15051
15052 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15053
15054         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15055         after a multi-line inset.
15056
15057 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15058
15059         * paragraph.C (validate): Set NeedLyXFootnoteCode
15060
15061 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15062
15063         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15064         and decrease-error to decrease.
15065
15066 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15067
15068         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15069         it more readable (should be equivalent)
15070
15071 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15072
15073         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15074
15075 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15076
15077         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15078         of a cursor (row, etc.) after a character has been deleted
15079         (deleteEmptyParagraphMechanism): call the method above on _all_
15080         cursors held by the LyXText when a double space has been
15081         detected/deleted.
15082
15083 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15084
15085         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15086         pixmap.
15087         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15088
15089         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15090         background. Use greyOut() and the new show() methods to toggle between
15091         the foreground and background. Add code to remove the splash after
15092         its initial showing.
15093
15094         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15095         (create_forms): no longer call Dialogs::showSplash.
15096
15097 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15098
15099         * .cvsignore: add version_info.h
15100
15101 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15102
15103         * version_info.h.in: new file
15104
15105         * Makefile.am: add version_info.h.in
15106
15107         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15108         version_info.h instead of VERSION_INFO
15109
15110 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15111
15112         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15113         The ERT inset now returns string().
15114
15115 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15116
15117         * lyxtext.h, text.C (selectNextWord): renamed as
15118         selectNextWordToSpellcheck.
15119
15120         * text.C (selectNextWordToSpellcheck): Modified to not select
15121         words inside an ERT inset.
15122
15123 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15124
15125         * lyx_cb.C (MenuLayoutSave): change a bit the question
15126
15127         * sp_base.h: include <sys/types.h>
15128
15129 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15130
15131         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15132
15133 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15134
15135         * several files: fix typos in user-visible strings
15136
15137 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15138
15139         * text2.C (pasteSelection): do not set the selection, since it
15140         will be cleared later. Actually, the intent was to fix the way the
15141         selection was set, but I figured rmoving the code was just as good.
15142
15143 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15144
15145         * FontLoader.C (available): Check if font is available without
15146         loading the font.
15147
15148 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15149
15150         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15151
15152 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15153
15154         * lyxrc.[Ch]: added display_graphics variable and associated code.
15155
15156 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15157
15158         * bufferparams.C (hasClassDefaults): new method. Returns true if
15159         the buffer parameters correspond to known class defaults
15160
15161 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15162
15163         * XFormsView.C (show): set minimum size to the main window.
15164
15165 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15166
15167         * text2.C (copySelection):
15168         (cutSelection):
15169         * lyxfind.C (LyXReplace):
15170         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15171         LyXText::selectionAsString.
15172
15173         * paragraph.C (asString): add "label" argument to the second form
15174
15175         * text2.C (selectionAsString): add "label" argument and pass it to
15176         Paragraph::asString.
15177
15178 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15179
15180         * lyx_main.C (commandLineHelp): remove version information
15181
15182 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15183
15184         * lyx_main.C: add -version commandline option
15185
15186 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15187
15188         * paragraph.h: make the optional constructor arg required instead.
15189         some modifications to other files because of this.
15190
15191         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15192
15193         * lyxserver.C (C_LyXComm_callback): make it static
15194
15195         * lyx_main.C (error_handler): make it static
15196
15197         * lyx_gui.C (LyX_XErrHandler): make it static
15198
15199         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15200
15201         * WorkArea.C: make the extern "C" methods static.
15202
15203         * Makefile.am (lyx_LDADD): simplify
15204
15205 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15206
15207         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15208         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15209
15210         * LyXAction.C (init):
15211         * lyxfunc.C (dispatch): associated code removal.
15212
15213 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15214
15215         * lyxfont.h (isSymbolFont): shut off warning
15216
15217         * text.C (setHeightOfRow):
15218         (getVisibleRow): fix crash with empty paragraphs which have a
15219         bottom line
15220
15221 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15222
15223         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15224         code.
15225
15226 2001-09-04  José Matos  <jamatos@fep.up.pt>
15227         * buffer.C
15228         * buffer.h
15229         * tabular.C (docbook): rename docBook method to docbook.
15230
15231 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15232
15233         * Makefile.am: add dependencies to main.o.
15234
15235 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15236
15237         * FontLoader.C (available): Return false if !lyxrc.use_gui
15238
15239 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15240
15241         * FontInfo.C (query):
15242         * converter.C (view):
15243         * importer.C (Import):
15244         * exporter.C (Export): Can not -> cannot.
15245
15246 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15247
15248         * BufferView_pimpl.C: allow to create index inset even if
15249           string is empty
15250
15251 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15252
15253         * buffer.C (getLists): replace boost::tie code with an explicit pair
15254         as boost::tie can break some compilers.
15255
15256         * iterators.h: Added a std:: declaration to the return type of
15257         ParIterator::size.
15258
15259 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15260
15261         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15262           case.
15263
15264 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15265
15266         * iterators.[Ch]: New files. Provide paragraph iterators.
15267
15268         * buffer.C (changeLanguage): Use paragraph iterators.
15269         (isMultiLingual): ditto
15270
15271         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15272
15273 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15274
15275         * FontLoader.C: Support for cmr font.
15276
15277 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15278
15279         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15280         (available): New method.
15281
15282         * FontInfo.C (getFontname): Use scalable fonts even when
15283         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15284         found.
15285
15286 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15287
15288         * converter.C (Formats::view): reverted! Incorrect fix.
15289
15290 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15291
15292         * converter.C (Formats::view): only output the -paper option
15293         if the dvi viewer is xdvi, thereby fixing bug #233429.
15294
15295 2001-08-23  Herbert Voss  <voss@perce>
15296
15297         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15298
15299 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15300
15301         * Spacing.h (Spacing): Set space to Default on in the default
15302         constructor.
15303
15304 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15305
15306         * vc-backend.h (RCS::versionString): add RCS to version
15307         (CVS::versionString): add CVS to version
15308
15309         * vc-backend.C (scanMaster): do not add CVS to version.
15310         (scanMaster): do not add RCS to version
15311
15312         * lyxvc.C (versionString): new method
15313
15314         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15315
15316 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15317
15318         * Spacing.C (set): initialize fval
15319
15320 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15321
15322         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15323         " or \.
15324
15325 2001-08-16  Juergen Vigna  <jug@sad.it>
15326
15327         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15328
15329 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15330
15331         * BufferView_pimpl.C:
15332         * figureForm.C:
15333         * lyxtext.h:
15334         * text2.C: setParagraph takes linespacing now
15335
15336 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15337
15338         * LyxAction.C: add internal LFUN_CITATION_INSERT
15339
15340         * LyXView.C: actually apply fix
15341
15342         * bufferlist.C: fix open non-existent file
15343
15344         * lyxfind.C: fix indentation
15345
15346         * lyxfunc.C: remove unneeded assert, fix typo
15347
15348 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15349
15350         * MenuBackend.C: use "Floatname List"
15351
15352 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15353
15354         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15355         when converting LaTeX layout to insetERT.
15356         Generate a non-collapsed float when reading old float
15357
15358 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15359
15360         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15361         ERT insets.
15362
15363 2001-08-13  Juergen Vigna  <jug@sad.it>
15364
15365         * text.C (fill): return 0 instead of 20 as this seems to be the more
15366         correct value.
15367
15368 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15369
15370         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15371         lyxrc.font_norm.
15372
15373 2001-08-13  Juergen Vigna  <jug@sad.it>
15374
15375         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15376         casesensitive off.
15377         (SearchBackward): comment out the unlocking of the inset_owner this
15378         should not be needed!
15379
15380 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15381
15382         * Many files: Remove inherit_language, and add latex_language
15383
15384         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15385         collapsible insets.
15386
15387 2001-08-10  Juergen Vigna  <jug@sad.it>
15388
15389         * text.C (prepareToPrint): fixed hfill-width in draw!
15390
15391         * BufferView2.C (selectLastWord): save the selection cursor as this
15392         now is cleared in the function LyXText::clearSelection!
15393
15394 2001-08-08  Juergen Vigna  <jug@sad.it>
15395
15396         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15397         BACKSPACE type functions.
15398
15399         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15400         is only cutted from the document but not put in the cut-buffer, where
15401         still the old stuff should be.
15402
15403         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15404
15405         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15406
15407         * tabular.C (SetWidthOfCell): fixed special case where the width
15408         was not updated!
15409         (LeftLine): handle '|' in align_special.
15410         (RightLine): ditto
15411         (LeftAlreadyDrawed): ditto
15412         (SetWidthOfCell): ditto
15413
15414 2001-08-07  Juergen Vigna  <jug@sad.it>
15415
15416         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15417
15418 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15419
15420         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15421         * lyxlex.[hC]: ditto
15422
15423 2001-08-06  Juergen Vigna  <jug@sad.it>
15424
15425         * text.C (getVisibleRow): fix up row clearing a bit.
15426
15427 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15428
15429         * minibuffer.C: make sure the X server sees the changes in the input.
15430
15431 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15432
15433         * paragraph.C (getFont): split into...
15434         (getLabelFont): this
15435         (getLayoutFont): and this
15436         * paragraph_pimpl.C (realizeFont): calling this
15437
15438         * text2.C (getFont): split into...
15439         (getLayoutFont): this
15440         (getLabelFont): and this
15441         (realizeFont): all three calling this
15442
15443         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15444         files where used.
15445
15446 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15447
15448         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15449
15450 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15451
15452         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15453         layouts from the Quote inset insertion.
15454
15455 2001-08-03  Juergen Vigna  <jug@sad.it>
15456
15457         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15458
15459         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15460         only if status not is already CHANGED_IN_DRAW (second level).
15461
15462         * text.C (draw): don't set the need_break_row when inside an
15463         InsetText LyXText.
15464
15465 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15466
15467         * buffer.C (parseSingleLyXformat2Token): handle more latex
15468         conversion cases.
15469
15470         * bufferview_funcs.[hC]: change function names to
15471         begin with small char, adjust other files.
15472
15473 2001-08-02  André Pönitz <poenitz@gmx.net>
15474
15475         * lyxfunc.C:
15476         BufferView_pimpl.C: remove broken special code for math-greek
15477
15478 2001-08-02  Juergen Vigna  <jug@sad.it>
15479
15480         * BufferView_pimpl.C (update): redone this function so that we
15481         update the text again if there was a CHANGE_IN_DRAW.
15482
15483         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15484         (drawFromTo): added a new internal bool which is used by draw() and
15485         redraw() function.
15486         (general): some cursor drawing problems fixed.
15487
15488 2001-08-01  Juergen Vigna  <jug@sad.it>
15489
15490         * lyxfind.C (LyXFind): fixed
15491         (SearchForward): ditto
15492         (SearchBackward): ditto
15493
15494         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15495         spurius drawing of the cursor in the main area.
15496
15497         * text2.C (status): small fix which could lead to a segfault!
15498         (clearSelection): remove unneeded BufferView param.
15499
15500 2001-08-01  André Pönitz <poenitz@gmx.net>
15501
15502         * lyxfunc.C: small change due to changed mathed interface
15503
15504 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15505
15506         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15507
15508 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15509
15510         * lyxfunc.c: fail gracefully if file doesn't exist
15511
15512         * LyXSendto.C:
15513         * buffer.C:
15514         * lyxfunc.C:
15515         * BufferView_pimpl.C: IsDirWriteable() proto changed
15516
15517         * LyXView.C: fix updateWindowTitle() to store the last title
15518
15519 2001-07-31  Juergen Vigna  <jug@sad.it>
15520
15521         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15522         the font (wrong since using of Paragraph::highestFontInRange).
15523
15524         * paragraph.C (highestFontInRange): added a default_size parameter.
15525
15526         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15527         (setHeightOfRow): reformat
15528
15529 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15530
15531         * converter.[hC] + affected files: move to (inital-char)lowercase
15532         function names.
15533
15534         * ParagraphParameters.C (ParagraphParameters): remove commented code
15535
15536         * PainterBase.[Ch]: remove commented code
15537
15538         * LaTeXFeatures.h: add "bool floats" for float.sty
15539
15540         * LaTeXFeatures.C (LaTeXFeatures): init floats
15541         (require): handle float
15542         (getPackages): do it with floats
15543
15544 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15545
15546         * BufferView_pimpl.C (Dispatch): improve handling of
15547         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15548
15549         * commandtags.h: #include lyxfont.h here temporarily to avoid
15550         keybinding bug.
15551
15552         * bufferlist.h: include LString.h here.
15553
15554 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15555
15556         * text2.C (getStringToIndex): new method.
15557
15558 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15559
15560         * *: Reduced header file dependencies all over.
15561
15562 2001-07-30  Baruch Even  <baruch@lyx.org>
15563
15564         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15565
15566 2001-07-29  Baruch Even  <baruch@lyx.org>
15567
15568         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15569
15570 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15571
15572         * ParameterStruct.h (endif): add a default constructor to make
15573         sure that all variables is initialized.
15574
15575         * ParagraphParameters.C (ParagraphParameters): adjust
15576
15577 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15578
15579         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15580         index; also, check that there is something to index, and that it
15581         does not span over several paragraphs.
15582         (doubleClick): use WHOLE_WORD_STRICT for double click.
15583
15584         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15585
15586         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15587         scheme.
15588
15589 2001-07-26  Baruch Even  <baruch@lyx.org>
15590
15591         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15592         an InsetFig figure, backwards compatible reading of old figure code.
15593
15594 2001-07-27  Juergen Vigna  <jug@sad.it>
15595
15596         * text2.C: font.realize function adaption.
15597
15598         * text.C (draw): add a warnings lyxerr text if needed.
15599
15600         * layout.C: font.realize function adaption.
15601
15602         * language.C: add inherit_language and implement it's handlings
15603
15604         * bufferview_funcs.C (StyleReset): remove language parameter from
15605         font creation (should be language_inherit now).
15606
15607         * bufferparams.C (writeFile): handle ignore_language.
15608
15609         * paragraph.C (getFontSettings): the language has to be resolved
15610         otherwise we have problems in LyXFont!
15611
15612         * lyxfont.C (lyxWriteChanges): added document_language parameter
15613         (update): removed unneeded language parameter
15614
15615         * paragraph.C (validate): fixed wrong output of color-package when
15616         using interface colors for certain fonts in certain environments,
15617         which should not seen as that on the final output.
15618
15619 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15620
15621         * BufferView_pimpl.C:
15622         * Thesaurus.h:
15623         * Thesaurus.C:
15624         * Makefile.am:
15625         * commandtags.h:
15626         * LyXAction.C: add thesaurus support
15627
15628         * lyxfind.h:
15629         * lyxfind.C: add "once" parameter, for thesaurus, to not
15630           move to the next match
15631
15632 2001-07-26  Juergen Vigna  <jug@sad.it>
15633
15634         * lyxfont.C (realize): honor ignore_language too!
15635         (resolved): ditto.
15636
15637         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15638
15639         * text.C (draw): one place more for ignore_language to not draw
15640         itself!
15641
15642 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15643
15644         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15645
15646 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15647
15648         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15649         the minipage conversion problem.
15650
15651 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15652
15653         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15654         insert an inset.
15655
15656 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15657
15658         * BufferView.h: don't forward declare WorkArea
15659
15660         * BufferView.C: don't include WorkArea.h
15661
15662 2001-07-25  André Pönitz <poenitz@gmx.net>
15663
15664         * commandtags.h:
15665         * LyXAction.C:
15666         * lyxfunc.C:  new LFUN 'math-space'
15667
15668         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15669
15670 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15671
15672         * text2.C (toggleInset): call open/close
15673
15674 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15675
15676         * lyxfunc.C (dispatch): add debug for the disabled case
15677
15678         * font.C (buttonText): make similar to rectText
15679
15680         * buffer.C (readInset): comment out parsing of insetlist and
15681         insttheorem
15682
15683         * PainterBase.C (rectText): small correction
15684
15685         * BufferView_pimpl.C: comment out insettheorem and insetlist
15686         * LyXAction.C: ditto
15687         * commandtags.h: ditto
15688
15689 2001-07-24  Juergen Vigna  <jug@sad.it>
15690
15691         * text.C (draw): honor the ignore_language.
15692
15693         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15694
15695 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15696
15697         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15698         char inset.
15699
15700 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15701
15702         * lyxtext.h: remove unused (and unimplemented) methods
15703
15704 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15705
15706         * text.C (getVisibleRow): honor background color
15707
15708         * PainterBase.h:
15709         * Painter.h: remove default color argument for fillRectangle
15710
15711         * text.C (backgroundColor): new method
15712
15713 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15714
15715         * text.C (getVisibleRow): adjust
15716
15717         * font.[Ch] (rectText): new method, metrics
15718         (buttonText): new method, metrics
15719
15720         * PainterBase.[hC]: make rectText and buttonText always draw and take
15721         fewer paramteres.
15722
15723 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15724
15725         * ToolbarDefaults.C (read):
15726         * MenuBackend.C (read): allow escaping in all strings
15727
15728         * BufferView_pimpl.C (insertAndEditInset): new method.
15729         (Dispatch): use insertAndEditInset whenever appropriate.
15730
15731         * BufferView_pimpl.C (insertNote): removed
15732
15733         * BufferView_pimpl.C (smartQuote): new method, moved from
15734         BufferView; if an insetquote cannot be inserted, insert a '"'
15735         character instead.
15736
15737         * BufferView2.C: remove insertCorrectQuote();
15738
15739         * lyxfunc.C (getStatus): Add support for all remaingin
15740         inset-insert lfuns.
15741
15742         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15743
15744         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15745         command (necessary to pass " as parameter of self-insert.
15746
15747         * text.C (selectWordWhenUnderCursor):
15748         (selectWord): add word_location parameter
15749         (selectWordWhenUnderCursor): same + remove special code for word
15750         boundary.
15751         (selectNextWord): use kind() to guess type of insetspecialchar,
15752         not latex().
15753
15754         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15755         (insertErtContents): create ert insets as collapsed.
15756         (readInset): better compatibility code for Info inset.
15757
15758 2001-07-20  Juergen Vigna  <jug@sad.it>
15759
15760         * lyxfunc.C (dispatch): use always LyXFind now!
15761
15762         * text2.C (init): add a reinit flag so that the LyXText can be
15763         reinited instead of deleted and reallocated (used in InsetText).
15764
15765         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15766
15767         * text.C: ditto
15768
15769         * text2.C: ditto
15770
15771 2001-07-18  Juergen Vigna  <jug@sad.it>
15772
15773         * text.C (selectNextWord): handle insets inside inset by calling
15774         always the bv->text functions so that we can go up the_locking_inset!
15775
15776         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15777         in strange locations when inside an inset!
15778
15779         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15780         handling to include insets.
15781
15782         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15783
15784 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15785
15786         * LyXAction.C (init):
15787         * commandtags.h:
15788         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15789         LIGATURE_BREAK, since the name is so stupid.
15790
15791 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15792
15793         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15794         InsetInfos.
15795
15796         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15797
15798         * sp_form.[Ch]: remove.
15799
15800         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15801
15802         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15803         InsetInfo.
15804
15805         * src/buffer.C (readInset): ditto.
15806
15807 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15808
15809         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15810         menuSeparator(), endOfSentenceDot(), ldots() and
15811         hyphenationPoint(), which are therefore removed.
15812         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15813
15814         * LyXAction.C (init):
15815         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15816
15817         * paragraph.C (getWord): removed.
15818
15819         * BufferView_pimpl.C (Dispatch): use last word or selection for
15820         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15821
15822         * lyx_main.C (queryUserLyXDir): do not ask before creating
15823         user_dir, except if it has been named explicitely.
15824
15825 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15826
15827         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15828         a document of zero size.
15829
15830 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15831
15832         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15833         approriately in the c-tor and in require().
15834         (getPackages): output the appropriate LaTeX for natbib support.
15835
15836         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15837         variables "use_natbib" and "use_numerical_citations" when reading the
15838         LyX file.
15839         (readInset): read the various natbib cite commands.
15840         (validate): white-space change.
15841
15842         * bufferparams.[Ch]: new variables "bool use_natbib" and
15843         "bool use_numerical_citations".
15844         (writeFile): output them in the LyX file.
15845
15846 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15847
15848         * lyxfunc.C (getStatus): add support for all the inset insertion
15849         commands.
15850
15851         * text2.C (insertInset):
15852         * paragraph.C (insetAllowed):
15853         * BufferView_pimpl.C (insertInset): update to take in account the
15854         renaming of insertInsetAllowed
15855
15856         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15857
15858         * text2.C (getInset): new method. returns inset at cursor position.
15859
15860         * BufferView_pimpl.C (Dispatch): changes because of this.
15861
15862         * LyXAction.C (init): rename open-stuff to inset-toggle.
15863
15864         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15865
15866         * text2.C (toggleInset): renamed from openStuff; use
15867         Inset::open().
15868
15869 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15870
15871         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15872
15873         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15874
15875 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15876
15877         * buffer.C (readLyXformat2): Add filename to the error dialog
15878
15879 2001-07-18  Juergen Vigna  <jug@sad.it>
15880
15881         * tabular.C (GetCellNumber): put an assert here instead of the check!
15882
15883 2001-07-17  Juergen Vigna  <jug@sad.it>
15884
15885         * BufferView_pimpl.C (toggleSelection): adapted too.
15886
15887         * text.C (selectNextWord): adapted for use with insets.
15888         (selectSelectedWord): ditto
15889
15890 2001-07-17  Juergen Vigna  <jug@sad.it>
15891
15892         * sp_spell.C (PSpell): fix initialitation order.
15893
15894 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15895
15896         * paragraph.C: spacing
15897
15898 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15899
15900         * sp_spell.C: repair language selection for pspell
15901
15902 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15903
15904         * lyxfunc.h: change more methods to begin with lower char.
15905
15906 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15907
15908         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15909         for unknown layouts.
15910
15911 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15912
15913         * buffer.C (readLyXformat2): Generate an error dialog if there are
15914         unknown layouts.
15915
15916 2001-07-16  Juergen Vigna  <jug@sad.it>
15917
15918         * sp_spell.C: always compile ISpell part.
15919
15920         * lyxrc.C: added use_pspell entry and it's handling.
15921
15922 2001-07-13  Juergen Vigna  <jug@sad.it>
15923
15924         * sp_spell.C: removed double includes.
15925
15926 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15927
15928         Consistent use of Lsstream.h:
15929         * Lsstream.h: added using std::stringstream for consistencies sake.
15930
15931         * buffer.C: removed using std::stringstream
15932
15933         * lyxfont.C (stateText):
15934         * paragraph.C (asString):
15935         * text.C (selectNextWord, selectSelectedWord):
15936         * text2.C (setCounter):
15937         * vspace.C (asString, asLatexString):
15938         std::ostringstream -> ostringstream.
15939
15940 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15941
15942         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15943         * commandtags.h: add LFUN_HELP_ABOUTLYX
15944         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15945
15946 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15947
15948         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15949         cursorToggle()
15950         * lyx_gui_misc.C: remove spellchecker
15951         * lyxfunc.C: showSpellchecker
15952         * sp_base.h: added
15953         * sp_ispell.h: added
15954         * sp_pspell.h: added
15955         * sp_spell.C: added
15956         * sp_form.[Ch]: removed
15957         * spellchecker.[Ch]: removed
15958
15959 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15960
15961         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15962         is set.
15963         (simpleTeXSpecialChars): Simply print the input character without
15964         any special translation if pass_thru is set.
15965
15966         * layout.h: Added bool pass_thru to layout class for being able to
15967         implement pass through of a paragraph for Literate Programming.
15968
15969         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15970         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15971         * layout.C (Read): add "passthru" to list of layout tags and add
15972         code to set the pass_thru boolean when it is read.
15973
15974 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15975
15976         * trans_decl.h: remove allowed from KmodInfo
15977
15978         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15979         remove allowed code
15980         (Load): adjust
15981
15982         * paragraph_pimpl.C (erase): use boost::prior
15983
15984         * Painter.C (text): use data() instead of c_str() when length is
15985         also provided.
15986         * WorkArea.C (putClipboard): ditto
15987         * font.h (width): ditto
15988
15989         * BufferView2.C: use it-> instead of (*it). for iterators
15990         * texrow.C: ditto
15991         * paragraph_pimpl.C: ditto
15992         * paragraph.C: ditto
15993         * minibuffer.C: ditto
15994         * language.C: ditto
15995         * kbmap.C: ditto
15996         * encoding.C: ditto
15997         * counters.C: ditto
15998         * converter.C: ditto
15999         * chset.C: ditto
16000         * Variables.C: ditto
16001         * TextCache.C: ditto
16002         * MenuBackend.C: ditto
16003         * LyXAction.C: ditto
16004         * LColor.C: ditto
16005         * FloatList.C: ditto
16006         * DepTable.C: ditto
16007         * ColorHandler.C (LyXColorHandler): ditto
16008
16009 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16010
16011         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16012
16013         * text2.C (openStuff): reintroduce this method (which had been
16014         nuked in NEW_INSETS frenzy).
16015
16016         * lyxfunc.C (Dispatch): when an action has not been handled, use
16017         its name in the error message, not its number.
16018
16019         * paragraph.C (inInset): change method name to begin with lowercase.
16020
16021         * undo_funcs.C:
16022         * text2.C: updates because of this.
16023
16024 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16025
16026         * ToolbarDefaults.C (add): add spaces in error message
16027
16028 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16029
16030         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16031         (readLyXformat2): rename return_par to first_par, use lyxlex's
16032         pushToken and remove the manual push handling.
16033         (parseSingleLyXformat2Token): add another ert comp. variable:
16034         in_tabular, rename return_par to first_par. handle newlines better
16035
16036 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16037
16038         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16039
16040 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16041
16042         * text2.C (getParFromID): removed
16043
16044         * buffer.C (getParFromID): new method moved form lyxtext.
16045         * BufferView2.C (insertErrors): adjust
16046         (setCursorFromRow): adjust
16047         * BufferView_pimpl.C (restorePosition): adjust
16048         * lyxfunc.C (Dispatch): adjust
16049         * undo_funcs.C (textUndo): adjust
16050         (textRedo): adjust
16051         (textHandleUndo): adjust
16052         (textHandleUndo): adjust
16053
16054 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16055
16056         * buffer.C: up' the LYX_FORMAT
16057
16058         * lyxfont.h: turn NO_LATEX on as default
16059
16060         * buffer.C (insertErtContents): new methods of tex style compability.
16061         (parseSingleLyXformat2Token): use it several places.
16062         * tabular.C (OldFormatRead): and here
16063
16064 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16065
16066         * text2.C: remove some commented code.
16067         reindent file.
16068
16069         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16070         * trans.C: changes because of the above.
16071
16072 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16073
16074         * text2.C (setCounter): Fix counters bug with bibliography layout.
16075
16076 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16077
16078         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16079         own member functions
16080         (simpleTeXSpecialChars): ditto
16081
16082 2001-07-06  Juergen Vigna  <jug@sad.it>
16083
16084         * a lot of files: changed the access to LyXText::status and the
16085         call of undo-functions.
16086
16087         * undo.[Ch]: added a inset_id to the undo informations.
16088
16089         * undo_funcs.[Ch]: added and moved here all undo functions.
16090
16091         * lyxtext.h: give the status enum a weight, made status_ a private
16092         variable and made accessor functions for it, removed the whole bunch
16093         of undo-functions as they are now in their own file, make some
16094         functions publically available. Added function ownerParagraph with
16095         int parameter.
16096
16097         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16098         made InInset() a const function, added getParFromID() function.
16099
16100         * buffer.[Ch]: added const version for inset_iterator functions,
16101         added getInsetFromID() function.
16102
16103         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16104         changed undo functions for new version.
16105
16106 2001-07-05  Juergen Vigna  <jug@sad.it>
16107
16108         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16109         unknow mechanism does not call the proper constructor but only this
16110         one also if I request the other!?
16111
16112 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16113
16114         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16115
16116         * text2.C (LyXText): use initialization lists.
16117
16118         * lyxtext.h (Selection): initialize set_ and mark_
16119         (init): remove method
16120
16121 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16122
16123         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16124
16125 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16126
16127         * screen.[Ch]: change method names to begin with lowercase
16128
16129         * BufferView_pimpl.C (updateScrollbar): simplify further and
16130         hopefully make it a bit faster.
16131
16132 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16133
16134         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16135         calling directly xforms functions.
16136
16137         * Painter.C (Painter):
16138         * lyx_cb.C (MenuWrite):
16139         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16140         fl_display.
16141
16142         * lyx_gui.C: remove bogus guiruntime extern declaration.
16143
16144 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16145
16146         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16147         in NEW_INSETS
16148         (redoDrawingOfParagraph): ditto
16149         (redoParagraphs): ditto
16150         (cutSelection): don't create a object for CutAndPaste use the
16151         static method directly
16152         (pasteSelection): ditto
16153
16154         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16155         LyXview (+ rename)
16156
16157 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16158
16159         * modifications to some other files because of this.
16160
16161         * Makefile.am (lyx_SOURCES): add XFormsView
16162
16163         * XFormsView.[Ch]: new files
16164
16165         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16166         the main window. Move the gui dependent stuff to XFormsView
16167
16168 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16169
16170         * tabular.C (GetCellInset): update cur_cell also in the row/col
16171         version of this function.
16172
16173         * lyxfunc.C: no need to include figure_form.h here.
16174
16175         * FontLoader.h:
16176         * lyxfunc.h:
16177         * lyxscreen.h:
16178         * text2.C:
16179         * lyxvc.C: no need to include forms.h here.
16180
16181 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16182
16183         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16184
16185         * lyxfunc.C (Dispatch):
16186         * Spacing.C (set):
16187         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16188         constructor argument.
16189
16190 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16191
16192         * paragraph.C (Paragraph): dont't clear, and just set layout.
16193         (makeSameLayout): use params's copy contructor.
16194
16195         * ParagraphParameters.[Ch] (makeSame): delete method
16196
16197 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16198
16199         * Variables.[Ch]: fix indentation, rename set to isSet
16200
16201 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16202
16203         * lyxfunc.C (Dispatch): fix typo
16204
16205 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16206
16207         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16208         upper_bound.
16209
16210         * bufferlist.C: include assert.h for emergencyWrite().
16211
16212 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16213
16214         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16215           give up at last (bug #425202) !
16216
16217 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16218
16219         * lyx_gui_misc.C:
16220         * sp_form.h:
16221         * sp_form.C:
16222         * spellchecker.h:
16223         * spellchecker.C: strip spellchecker options and bring up
16224           preferences tab instead
16225
16226 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16227
16228         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16229         the istringstream constructor
16230
16231 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16232
16233         * paragraph.C (getLayout): fix return value
16234
16235         * paragraph.h: do not declare getLayout as inline.
16236
16237         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16238
16239 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16240
16241         * lyxcursor.h (operator<): new func
16242         (operator>): new func
16243         (operator>=): new func
16244         (operator<=): new func
16245
16246         * text.C (changeCase): use selection.start and selection.end
16247         (changeRegionCase): require from to be <= to. Require par to be a
16248         valid paragraph.
16249
16250         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16251
16252 2001-06-27  Juergen Vigna  <jug@sad.it>
16253
16254         * text.C (cursorLeftOneWord): changed to return the cursor and added
16255         overlay with BufferView * parameter which calls this one.
16256         (getWord): added
16257         (selectWord): use new getWord function.
16258         (changeCase): renamed from changeWordCase as and extended to work
16259         also on selections.
16260
16261         * lyxtext.h: added enum word_location
16262
16263         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16264         changeCase as this operates now also on selections.
16265
16266 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16267
16268         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16269
16270         * many files: send debug output to Debug::INFO instead of
16271         Debug::ANY.
16272
16273         * converter.C (View):
16274         (Convert):
16275         (Move): send debug output to Debug::FILES instead of console.
16276
16277 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16278
16279         * lyxfunc.C (getStatus): use func_status
16280
16281         * func_status.h: new header, describing the results of
16282         LyXFunc::getStatus;
16283
16284         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16285         LFUN_MATH_HALIGN.
16286
16287 2001-06-25  The LyX Project  <jug@sad.it>
16288
16289         * buffer.C (sgmlOpenTag):
16290         (sgmlCloseTag):
16291         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16292
16293 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16294
16295         * text2.C: remove some dead code
16296
16297         * tabular.C (GetCellInset): store the last cell checked (gotten)
16298
16299         * tabular.h: add the helper for the speedup
16300
16301         * lyxtext.h: remove some dead code
16302
16303 2001-06-26  The LyX Project  <Asger>
16304
16305         * paragraph.C: Change export to LaTeX of alignment to
16306         \begin{center} and family for better roundtrip work with reLyX.
16307
16308         * Tune the math drawing a bit.
16309
16310 2001-06-25  The LyX Project  <Asger>
16311
16312         * LColor.C (LColor): New color for math background. New color
16313         for buttons.
16314
16315 2001-06-25  The LyX Project  <jug@sad.it>
16316
16317         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16318
16319         * lyxfunc.C (Open):
16320         * bufferlist.C (newFile): do not restrict to files ending with
16321         .lyx
16322
16323         * BufferView_pimpl.C (MenuInsertLyXFile):
16324
16325 2001-06-24  The LyX Project  <jug@sad.it>
16326
16327         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16328         of compare_no_case
16329
16330 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16331
16332         * lyxtext.h: rename most methods to begin with a small char.
16333         Lots of changes because of this.
16334
16335         * paragraph.C (Paragraph): do not call fitToSize
16336         (erase): call Pimpl::erase
16337         (insertChar): call Pimpl::insertChar
16338         (insertInset): call Pipl::insertInset
16339         (breakParagraph): do not call fitToSize
16340         (breakParagraphConservative): do not call fitToSize
16341         (fitToSize): remove method
16342
16343         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16344
16345 2001-06-24  The LyX Project  <Asger>
16346
16347         * Fix Qt compilation^2
16348
16349 2001-06-24  The LyX Project  <jug@sad.it>
16350
16351         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16352         depthHook(getDepth()-1).
16353
16354         * paragraph.h:
16355         * ParagraphParameters.h:
16356         * ParameterStruct.h: change type of depth to unsigned int ==
16357         depth_type. Many adaptations to other files before of that.
16358
16359 2001-06-24  The LyX Project  <Asger>
16360
16361         * Fix Qt compilation.
16362
16363 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16364
16365         * paragraph.h: renamed several methods to begin with small letter.
16366         several changes to many parts of the code because of this.
16367
16368 2001-06-23  The LyX Project  <jug@sad.it>
16369
16370         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16371         rewritten to discard all double spaces when KeepEmpty is off
16372         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16373         to only handle newlines but not fiddle with spaces and friends.
16374
16375         * lyxfunc.C (MenuNew): when doing 'new from template', use
16376         template_path as default directory
16377
16378 2001-06-23  The LyX Project  <Asger>
16379
16380         * Clean-up of header file includes all over
16381         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16382
16383 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16384
16385         * paragraph.h: renamed from lyxparagraph.h
16386
16387 2001-06-23  Asger  <lyx@violet.home.sad.it>
16388
16389         * Buffer.h: Removed Buffer::resize
16390         * BufferList.h: Removed BufferList::resize
16391         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16392         the document lazily when we change the width, or the font settings.
16393
16394 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16395
16396         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16397
16398 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16399
16400         * buffer.h: remove out of date comment
16401
16402 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16403
16404         * lyxscreen.h:
16405         * screen.C: fix "theoretical" GC leak
16406
16407 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16408
16409         * LaTeX.C (scanAuxFile):
16410         (deplog): remove trailing \r when reading stream (useful under
16411         win32)
16412
16413 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16414
16415         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16416         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16417         and BufferView::theLockingInset(Inset*), so should use them and not
16418         access bv_->text->the_locking_inset directly.
16419
16420         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16421
16422 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16423
16424         * Makefile.am:
16425         * tex-defs.h: remove old unused file
16426
16427 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16428
16429         * BufferView_pimpl.C: fix typo, remove minibuffer message
16430           when buffer has loaded
16431
16432 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16433
16434         * lyxfunc.C (Dispatch): use stringstream
16435         (MenuNew): use stringstream
16436         (Open): use stringstream
16437
16438         * importer.C (Import): use stringstream
16439
16440         * bufferview_funcs.C (CurrentState): use stringstream
16441
16442         * LaTeX.C (run): use stringstream
16443
16444         * BufferView_pimpl.C (savePosition): use stringstream
16445         (restorePosition): use stringstream
16446         (MenuInsertLyXFile): use stringstream
16447
16448 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16449
16450         * BufferView.C:
16451         * Bullet.C:
16452         * ColorHandler.C:
16453         * FontInfo.C:
16454         * FontLoader.C:
16455         * LColor.C:
16456         * LaTeXFeatures.C:
16457         * Painter.C:
16458         * gettext.C:
16459         * lyx_gui_misc.C:
16460         * lyxserver.C:
16461         * vspace.C: removed // -*- C++ -*- as first line.
16462
16463         * lyxfind.h:
16464         * version.h: added // -*- C++ -*- as first line.
16465
16466 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16467
16468         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16469
16470         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16471         of string
16472
16473 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16474
16475         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16476         of floats.
16477
16478 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16479
16480         * gettext.C: include LString.h even when --disable-nls is on.
16481
16482 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16483
16484         * converter.h (Get): changed argument type from int to
16485         FormatList::size_type to avoid unnecessary conversion.
16486
16487         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16488         before using it.
16489
16490 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16491
16492         * gettext.h: include LString.h even when --disable-nls is on.
16493
16494 2001-06-07  Juergen Vigna  <jug@sad.it>
16495
16496         * text.C (BreakAgain): subst spaces with tabs.
16497
16498         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16499         (resizeInsetsLyXText): set force on resizeLyXText.
16500
16501 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16502
16503         * gettext.h (gettext_init):
16504         (locale_init): use a real definition instead of a macro
16505
16506 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16507
16508         * Bufferview_pimpl.C:
16509         * LColor.h:
16510         * LColor.C: further lcolor tidies
16511
16512 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16513
16514         * BufferView_pimpl.C (updateScrollbar): simplify.
16515
16516         * BufferView2.C: don't include insets/insetinfo.h, change
16517         prototype for insertInset and call the Pimpl version. let
16518         updateInset call Pimpl version.
16519
16520         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16521         gotoInset to BufferView::Pimpl
16522
16523 2001-06-01  Juergen Vigna  <jug@sad.it>
16524
16525         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16526         inside a LockingInset (is the update needed at all?).
16527
16528 2001-05-31  Juergen Vigna  <jug@sad.it>
16529
16530         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16531         here not the old one otherwise how should we compare it afterwards
16532         if it's the same!
16533
16534 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16535
16536         * lyxfont.C:
16537         * tabular.C:
16538         * tabular-old.C:
16539         * FontInfo.C: bring C functions into global namespace when
16540         necessary
16541
16542 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16543
16544         * LString.h: make sure config.h has been loaded before LString.h.
16545
16546         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16547         (one for each char read by EatLine!).
16548
16549         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16550         variables.
16551
16552 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16553
16554         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16555         to the same as the par we break from
16556
16557 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16558
16559         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16560
16561         * MenuBackend.C (expand): also create menu entries for wide
16562         versions of the floats.
16563
16564         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16565
16566         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16567
16568         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16569         frontends/Makefile.am
16570
16571         * text2.C: adjust
16572         * text.C: adjust
16573
16574
16575         * tabular.C (getTokenValue): add std::
16576
16577         * tabular-old.C (getTokenValue): add std::
16578         (getTokenValue): ditto
16579         (getTokenValue): ditto
16580
16581         * screen.C (ToggleSelection): adjust
16582
16583         * lyxtext.h: put selection cursors inside a Selection struct.
16584
16585         * lyxfunc.C (moveCursorUpdate): adjust
16586
16587         * lyxfont.C (latexWriteStartChanges): add std::
16588
16589         * lyxfind.C: adjust
16590
16591         * font.h: delete with(char const *, LyXFont const &)
16592
16593         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16594
16595         * FontInfo.C (getFontname): add std::
16596
16597         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16598         (workAreaButtonPress): adjust
16599         (tripleClick): adjust
16600         (update): adjust
16601         (moveCursorUpdate): adjust
16602         (Dispatch): adjust
16603
16604         * BufferView2.C (gotoInset): adjust
16605
16606 2001-05-30  Juergen Vigna  <jug@sad.it>
16607
16608         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16609         to check pspell I add this as default as I now have new pspell
16610         libraries and they seem to use this.
16611
16612 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16613
16614         * text2.C (CutSelection): make the cursor valid before the call to
16615         ClearSelection.
16616
16617 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16618
16619         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16620         relied on 0 terminated strings and other horrors. Bug found due to
16621         the new assert in lyxstring!
16622
16623         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16624         KP_ keys.
16625
16626 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16627
16628         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16629         to latinkeys.bind.
16630
16631         * lyxfunc.C (processKeySym): change method of getting to the
16632         self-insert char.
16633
16634         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16635         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16636         * BufferView_pimpl.[Ch]: here as private methods.
16637
16638 2001-05-28  Juergen Vigna  <jug@sad.it>
16639
16640         * text.C (SetHeightOfRow): added the update() call again as it is
16641         needed to initialize inset dimensions!
16642
16643 2001-05-16  Juergen Vigna  <jug@sad.it>
16644
16645         * text2.C (SetCharFont): Add new function with BufferView * and
16646         bool toggleall parameters for setting insets internal fonts.
16647         (SetFont): Freeze the undo as we may change fonts in Insets and
16648         all this change should be inside only one Undo!
16649
16650         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16651         setting font's in insets as for them we have the SetFont function!
16652
16653 2001-05-15  Juergen Vigna  <jug@sad.it>
16654
16655         * text2.C (ClearSelection): to be sure we REALLY don't have any
16656         selection anymore!
16657
16658         * tabular.C (TeXCellPreamble): fixed the left border problem for
16659         multicolumn cells.
16660
16661 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16662
16663         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16664         dependancy file
16665
16666 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16667
16668         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16669         LFUN_BREAKPARAGRAPH.
16670
16671         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16672         help test to "internal only", similar for LFUN_INSERT_URL
16673
16674         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16675         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16676         auto_region_delete and deadkeys.
16677
16678 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16679
16680         * LColor.h:
16681         * LColor.C: remove some dead entries, tidy a little
16682
16683 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16684
16685         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16686         commented code.
16687         (Dispatch): implement LFUN_ESCAPE
16688
16689         * commandtags.h: add LFUN_ESCAPE
16690
16691         * LyXAction.C (init): add entry for LFUN_ESCAPE
16692
16693         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16694         Remove commented code.
16695         (insertNote): moved here
16696         (open_new_inset): moved here
16697
16698         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16699         BufferView_pimpl
16700
16701 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16702
16703         * kbmap.C (findbinding): clean it up and make it work correctly.
16704
16705         * lyx_main.C (init): do not pass argc and argv as parameters
16706
16707 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16708
16709         * buffer.C: fix path for OS/2 & Win32
16710
16711         * lyx_gui.C:
16712         * lyx_main:
16713         * lyx_main.C: Added os:: class.
16714
16715         * os2_defines.h: update
16716
16717 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16718
16719         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16720         better by trying again with reduced state.
16721
16722 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16723
16724         * lyxrc.C (read): print error about invalid key sequence only when
16725         debugging (because not all latinX keysyms are known to some X
16726         servers)
16727
16728         * kbsequence.C (getiso): add a few std:: qualifiers
16729         (getiso): comment out extra return statement.
16730
16731 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16732
16733         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16734         handling.
16735         (Dispatch): enhance the accent inset a bit. (not perfect)
16736
16737 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16738
16739         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16740
16741 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16742
16743         * bufferlist.C (emergencyWrite): fix assert() call
16744
16745 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16746
16747         * text.C (InsertChar): Added trivial patch to only send the "you
16748         can not do multiple spaces this way" message once during a
16749         session.
16750
16751 2001-05-08  Baruch Even  <baruch@lyx.org>
16752
16753         * Makefile.am: Changed order of libraries to get LyX to link properly
16754         with the gnome frontend.
16755
16756 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16757
16758         * LaTeXFeatures.h: add a std:: qualifier
16759
16760 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16761
16762         * paragraph.C (String): use stringstream
16763
16764 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16765
16766         * paragraph.C (writeFile): remove footflag arg
16767
16768         * buffer.C (makeLaTeXFile): use stringstream
16769         (latexParagraphs): remove footnot gurba
16770
16771         * LaTeXFeatures.C (getPackages): use stringstream
16772         (getMacros): likewise
16773         (getTClassPreamble): likewise
16774         (getFloatDefinitions): new method
16775
16776         * paragraph.C (writeFile): reindent
16777         (Erase): reindent
16778
16779         * WorkArea.h: revert the xpos + etc changes.
16780
16781         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16782
16783         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16784
16785         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16786         (pasteSelection): likewise
16787         * text2.C (CreateUndo): likewise
16788
16789 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16790
16791         * minibuffer.C (peek_event): temporarily reduce the functionality
16792         of the minibuffer (to allow args on lfuns)
16793
16794         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16795         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16796
16797         * buffer.C (readInset): add compability reading of old float
16798         lists, add reading of new style float list.
16799         (readInset): avoid reevaluation of inscmd.getCmdName()
16800         (getLists): reindent
16801
16802         * MenuBackend.C (MenuItem): implement parsing of
16803         md_floatlistinsert and md_floatinsert.
16804         (expand::LastFiles): move initalizaton of iterators out of loop,
16805         avoid reevaluation.
16806         (expand::Documents): introduce typdedef vector<string> Strings,
16807         and use it.
16808         (expand::ExportFormats): introduce typedef vector<Format const *>
16809         Formats, and use it.
16810         (expand): implement FloatListInsert and FloatInsert.
16811
16812         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16813         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16814         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16815
16816         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16817         handling.
16818         (Dispatch::LFUN_FLOAT_LIST): implement
16819
16820 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16821
16822         * LaTeX.C (run): Fix problem with --export code.
16823
16824 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16825
16826         * BufferView.[Ch] (workarea): removed.
16827         (getClipboard) new method; wrapper for workarea()->getClipboard()
16828
16829         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16830         bug.
16831
16832         * WorkArea.h (width, height, xpos, ypos): These methods all
16833         returned the dimensions of the work_area sub-area of WorkArea,
16834         resulting in a position error if the WorkArea were resized. Now
16835         return the dimensions of the entire WorkArea.
16836
16837         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16838
16839 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16840
16841         * LaTeX.C (deplog): correct the syntax of regex reg1
16842
16843 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16844
16845         * undo.C: remove !NEW_INSETS cruft
16846
16847 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16848
16849         * text2.C: remove !NEW_INSETS cruft
16850
16851         * text.C: remove !NEW_INSETS cruft
16852
16853         * tabular.C: remove !NEW_INSETS cruft
16854
16855         * spellchecker.C: remove !NEW_INSETS cruft
16856
16857         * lyxtext.h: remove !NEW_INSETS cruft
16858
16859         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16860
16861         * lyxfunc.C: remove !NEW_INSETS cruft
16862
16863         * lyxfind.C: remove !NEW_INSETS cruft
16864
16865         * lyx_cb.C: remove !NEW_INSETS cruft
16866
16867         * figureForm.C: remove  !NEW_INSETS cruft
16868
16869         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16870
16871         * buffer.[Ch]: remove !NEW_INSETS cruft
16872
16873         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16874
16875         * CutAndPaste.C: remove !NEW_INSETS cruft
16876
16877         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16878
16879         * BufferView2.C: remove !NEW_INSETS cruft
16880
16881         * BufferView.h: remove !NEW_INSETS cruft
16882
16883 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16884
16885         * Lsstream.h: include LString.h before the sstream headers to
16886         fix problem with gcc 2.95.3 and lyxstring
16887
16888 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16889
16890         * lyx_main.C: add using directives when needed for C functions
16891         declared in std:: namespace.
16892
16893 2001-04-27  Juergen Vigna  <jug@sad.it>
16894
16895         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16896         (SetHeightOfRow): comment out the update call should not be needed!
16897
16898 2001-04-13  Juergen Vigna  <jug@sad.it>
16899
16900         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16901         (LyXTabular): tried to minimize operator= operations (and realized
16902         hopfully Lars wish).
16903
16904 2001-04-27  Juergen Vigna  <jug@sad.it>
16905
16906         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16907
16908 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16909
16910         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16911
16912         * buffer.C (readInset): hack to make listof algorithm work
16913
16914         * BufferView_pimpl.C: hack to make listof algorithm work
16915
16916 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16917
16918         * LyXAction.C: removed all !NEW_INSETS cruft
16919         (init): moved lfun_item in method
16920
16921         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16922
16923 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16924
16925         * BufferView2.C (theLockingInset): white space.
16926
16927 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16928
16929         * minibuffer.C: include <iostream>
16930
16931         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16932
16933         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16934
16935         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16936
16937         * text.[Ch] (TransposeChars): new method
16938
16939 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16940
16941         * call message directly through LyXView instead of through LyXFunc
16942         * BufferView2.C: adjust
16943         * BufferView_pimpl.C: adjust
16944         * FontLoader.C: adjust
16945         * buffer.C: adjust
16946         * bufferview_funcs.C: adjust
16947         * converter.C: adjust
16948         * figureForm.C: adjust
16949         * importer.C: adjust
16950         * lyx_cb.C: adjust
16951         * lyx_gui_misc.C: adjust
16952         * lyxfunc.C: adjust
16953         * lyxvc.C: adjust
16954         * text2.C: adjust
16955         + more files in subdirs
16956
16957         * lyxparagraph.h (size): move up int file
16958         (GetLayout): ditto
16959
16960         * adjust all uses of Assert to lyx::Assert.
16961
16962         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16963         lyxfunctional in namespace lyx
16964         * layout.C (hasLayout): ditto
16965         (GetLayout): ditto
16966         (GetLayout): ditto
16967         (delete_layout): ditto
16968         (NumberOfClass): ditto
16969         * converter.C (GetFormat): ditto
16970         (GetNumber): ditto
16971         (Add): ditto
16972         (Delete): ditto
16973         (SetViewer): ditto
16974         * bufferlist.C (getFileNames): ditto
16975         (emergencyWriteAll): ditto
16976         (exists): ditto
16977         (getBuffer): ditto
16978         * MenuBackend.C (hasSubmenu): ditto
16979         (hasMenu): ditto
16980         (getMenu): ditto
16981         * BufferView_pimpl.C (getInsetByCode): ditto
16982
16983 2001-04-18  Juergen Vigna  <jug@sad.it>
16984
16985         * vspace.C (asLatexString): fixed the 100% problem.
16986
16987 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16988
16989         * lyxfunc.C (Dispatch):
16990         * minibuffer.C:
16991         * minibuffer.h: add a few std:: qualifiers
16992
16993 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16994
16995         * minibuffer.[Ch]: reimplement so that commands is initiated and
16996         run from lyxfunc, simplified som handling, and made the completion
16997         and history code for complete. wip.
16998
16999         * lyxfunc.C (processKeySym): call message
17000         (miniDispatch): new temporary method
17001         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17002         (LFUN_MESSAGE): implement
17003         (LFUN_MESSAGE_PUSH): implement
17004         (LFUN_MESSAGE_POP): implement
17005         (initMiniBuffer): the initial/defualt minibuffer message.
17006
17007         * lyxfont.[Ch]: inline some more getters
17008
17009         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17010
17011         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17012
17013         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17014         (AutoSave): use LFUN_MESSAGE
17015         (Reconfigure): ditto
17016
17017         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17018
17019         * figureForm.C: use LFUN_MESSAGE
17020
17021         * converter.C (runLaTeX): use LFUN_MESSAGE
17022
17023         * bufferview_funcs.C: use LFUN_MESSAGE
17024         (Melt): ditto
17025         (changeDepth): ditto
17026
17027         * bufferparams.h: use boost::
17028
17029         * bufferlist.h: inherit privately from noncopyable
17030
17031         * bufferlist.C (loadLyXFile): remove some commented code.
17032
17033         * buffer.C (runChktex): use LFUN_MESSAGE
17034
17035         * ShareContainer.h: inherit privately from noncopyable
17036
17037         * ParagraphParameters.[hC] (depth): inline it.
17038
17039         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17040         methods.
17041         (message): new method
17042         (messagePush): ditto
17043         (messagePop): ditto
17044         (show): init minibuffer
17045         (showState): direct call
17046
17047         * LaTeX.[Ch]: inherit privately from noncopyable
17048         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17049         instead of WriteStatus.
17050
17051         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17052
17053         * BufferView_pimpl.C (buffer): don't init minibuffer
17054         (workAreaButtonPress): use LFUN_MESSAGE
17055         (workAreaButtonRelease): ditto
17056         (savePosition): ditto
17057         (restorePosition): ditto
17058         (MenuInsertLyXFile): ditto
17059         (workAreaExpose): don't init minibuffer
17060         (update): remove commented code, simplify
17061
17062         * BufferView2.C (openStuff): use LFUN_MESSAGE
17063         (toggleFloat): ditto
17064         (menuUndo): ditto
17065         (menuRedo): ditto
17066         (copyEnvironment): ditto
17067         (pasteEnvironment): ditto
17068         (copy): ditto
17069         (cut): ditto
17070         (paste): ditto
17071         (gotoInset): ditto
17072         (updateInset): remove some commented code
17073
17074         * lastfiles.h: inherit privately from noncopyable
17075         * layout.h: ditto
17076         * lyx_gui.h: ditto
17077         * lyx_main.h: ditto
17078         * lyxlex.h: ditto
17079         * lyxlex_pimpl.h: ditto
17080
17081         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17082         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17083         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17084
17085         * LyXAction.h: inherit privately from noncopyable, add methods
17086         func_begin, func_end, returning iterators to the func map.
17087
17088         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17089         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17090         (func_begin): new method
17091         (func_end): new method
17092
17093         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17094         and not)
17095         (copySelection): ditto
17096         (pasteSelection): ditto
17097
17098         * BufferView.C: whitespace change
17099         * BufferView.h: inherit privately from noncopyable
17100
17101 2001-04-16  Allan Rae  <rae@lyx.org>
17102
17103         * tabular-old.C (l_getline):
17104         * spellchecker.C (sc_check_word):
17105         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17106         an unrecognised preprocessor directive.  So ensure they're wrapped.
17107
17108 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17109
17110         * src/exporter.C (Export): Give an error message when path to file
17111         contains spaces.
17112
17113 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17114
17115         * LaTeX.C (deplog): Always check that foundfile exists.
17116
17117 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17118
17119         * lyx_main.h:
17120         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17121
17122 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17123
17124         * tabular.[Ch] (getLabelList): implement new method
17125
17126         * minibuffer.h: comment ouf setTiimer
17127
17128         * minibuffer.C (ExecutingCB): constify res
17129         (peek_event): constify s
17130         (Set): constify ntext
17131         (Init): constify nicename
17132
17133         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17134
17135         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17136         (savePosition): use two params to Minibuffer::Set
17137         (restorePosition): ditto
17138
17139 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17140
17141         * lyx_main.C: include language.h
17142
17143         * Makefile.am (lyx_main.o): add language.h
17144
17145 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17146
17147         * exporter.C:
17148         * paragraph.C:
17149         * screen.C:
17150         * tabular.C:
17151         * CutAndPaste.C: include gettext.h
17152
17153         * lyxfont.h: remove old hack with ON and OFF.
17154
17155         * lyxparagraph.h:
17156         * lyxfont.h: do not include language.h...
17157
17158         * BufferView2.C:
17159         * LaTeXFeatures.C:
17160         * Painter.C:
17161         * bufferview_funcs.C:
17162         * font.C:
17163         * lyxfont.C:
17164         * text.C:
17165         * text2.C:
17166         * trans_mgr.C:
17167         * paragraph.C: ... but do it here instead
17168
17169 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17170
17171         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17172
17173         * tabular.C: small reformat
17174
17175         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17176         NEW_INSETS version
17177         (GetChar): ditto
17178         (BreakParagraph): ditto
17179         (SetOnlyLayout): ditto
17180         (SetLayout): ditto
17181
17182         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17183         with one arg less.
17184
17185         * lastfiles.C: removed most using decl, add std:: where needed
17186
17187         * buffer.C: ws changes
17188
17189         * MenuBackend.C (class compare_format): put into anon namespace
17190         (expand): constify label, names, action, action2
17191         (expand):
17192
17193         * text.C (SingleWidth): constify font
17194         (IsBoundary): constify rtl2
17195         (GetVisibleRow): constify ww
17196
17197         * LaTeX.C (deplog): constify logfile
17198
17199         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17200         start_x, end_x
17201         (workAreaExpose): constify widthChange, heightChange
17202
17203         * lyxrow.C (par): moved
17204         (height): moved
17205         (next): moved
17206         * lyxrow.h: as inlines here
17207
17208         * lyxfont.h (shape): moved from lyxfont.C
17209         (emph): moved from lyxfont.C
17210
17211         * lyxfont.C (LyXFont): use initialization list for all
17212         constructors
17213         (shape): move to lyxfont.h as inline
17214         (emph): move to lyxfont.h as inline
17215
17216
17217 2001-04-04  Juergen Vigna  <jug@sad.it>
17218
17219         * vspace.C: had to include stdio.h for use of sscanf
17220
17221 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17222
17223         * BufferView.h:
17224         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17225         independent of xforms.
17226
17227 2001-04-02  Juergen Vigna  <jug@sad.it>
17228
17229         * spellchecker.C: fixed namespace placing!
17230
17231 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17232
17233         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17234         the LyXParagraph * is 0.
17235
17236 2001-03-29  Juergen Vigna  <jug@sad.it>
17237
17238         * vspace.C: added support for %, c%, p%, l%.
17239         (stringFromUnit): added helper function.
17240         (asLatexString): changed to give right results for the %-values.
17241
17242         * buffer.C: convert the widthp in a width%.
17243
17244 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17245
17246         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17247         figureForm.[Ch].
17248
17249         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17250         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17251
17252         * lyx_cb.[Ch]: see above.
17253
17254         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17255         form1.[Ch].
17256
17257         * form1.[Ch]:
17258         * lyx.[Ch]: replaced by figure_form.[Ch].
17259
17260         * lyx_gui.C:
17261         * lyx_gui_misc.C:
17262         * lyxfunc.C: changed headers associated with above changes.
17263
17264 2001-03-27  Juergen Vigna  <jug@sad.it>
17265
17266         * BufferView_pimpl.C: set the temporary cursor right!
17267
17268 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17269
17270         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17271
17272 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17273
17274         * LString.h: removed "using std::getline"!
17275
17276         * BufferView_pimpl.C (Dispatch): changes due to changes in
17277         InsetInclude::Params.
17278
17279         * buffer.C (tag_name): removed redundant break statements as they were
17280         producing lots of warnings with my compiler.
17281
17282 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17283
17284         * LString.h: add "using std::getline" when using the real <string>.
17285
17286 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17287
17288         * buffer.C: removed bitset usage.
17289         PAR_TAG moved to an anonymous name space.
17290         (tag_name): new funtion, also in the anonymous namespace.
17291         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17292         (makeDocBookFile): clean code. Completed transition from string arrays
17293         to string vectors.
17294         (SimpleDocBookOnePar): code clean.
17295
17296 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17297
17298         * tabular.C: add some comments.
17299
17300 2001-03-22  Juergen Vigna  <jug@sad.it>
17301
17302         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17303         compatibility read a bit and fixed bug with minipage in different
17304         depth.
17305
17306 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17307
17308         * buffer.C (pop_tag): removed.
17309         (push_tag): removed.
17310         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17311         array replaced with vector. Added support for CDATA sections.
17312         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17313         at any nest level.
17314         (makeDocBookFile): XML conformant declaration of CDATA section,
17315         fixed bug related to <emphasis> in the first paragraph char.
17316         (sgmlOpenTag): exclude empty tags.
17317         (sgmlCloseTag): ditto.
17318
17319         * buffer.h (pop_tag): removed.
17320         (push_tag): removed.
17321
17322 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17323
17324         * language.h (Languages): added size_type and size().
17325
17326 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17327
17328         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17329         response on compability reading of minipages. One probliem is that
17330         the old usage of minipages was flertydig
17331
17332         * several files here and in subdirs: don't use static at file
17333         scope use anon namespaces instead.
17334
17335 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17336
17337         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17338         LaTeX output. This is necessary for Literate document
17339         processing.
17340
17341 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17342
17343         * buffer.C: insert hfill when needed.
17344
17345         * tabular.C (l_getline): use string::erase, small whitespace change.
17346
17347         * BufferView_pimpl.C: try the anon namespace.
17348         * WorkArea.C: ditto
17349
17350 2001-03-16  Juergen Vigna  <jug@sad.it>
17351
17352         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17353         otherwise it won't open options-dialogs.
17354
17355         * buffer.C: honor pextraWidth(p) on converting minipages.
17356
17357         * tabular.C (l_getline): changed the functions to strip trailing \r.
17358
17359 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17360
17361         * BufferView_pimpl.C:
17362         * minibuffer..C: added "using SigC::slot" declaration.
17363
17364 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17365
17366         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17367
17368         * text2.C: ditto
17369
17370         * text.C: ditto
17371
17372         * paragraph.C: ditto
17373
17374         * lyxtext.h: NO_PEXTRA
17375
17376         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17377
17378         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17379         * ParameterStruct.h: ditto
17380         * ParagraphParameters.h: ditto
17381         * lyxparagraph.h: ditto
17382
17383 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17384
17385         * buffer.C: add compability for minipage alignment.
17386         (latexParagraphs): remove unwanted pextra check.
17387
17388         * several files: remove CXX_WORKING_NAMESPACES
17389
17390         * buffer.C (pop_tag): tie is in namespace boost
17391
17392         * BufferView.h: noncopyable is in namespace boost
17393         * lyxlex.h: ditto
17394         * lyx_main.h: ditto
17395         * lyx_gui.h: ditto
17396         * layout.h: ditto
17397         * lastfiles.h: ditto
17398         * bufferlist.h: ditto
17399         * ShareContainer.h: ditto
17400         * LyXView.h: ditto
17401         * LyXAction.h: ditto
17402         * LaTeX.h: ditto
17403
17404 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17405
17406         * Merging changes from BRANCH_MVC back into HEAD.
17407
17408         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17409
17410 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17411
17412         * BufferView_pimpl.C: change from intl.C
17413
17414         * combox.h:
17415         * combox.C:
17416         * Makefile.am: move combox.*
17417
17418         * form1.h:
17419         * form1.C:
17420         * lyx_gui.C:
17421         * intl.h:
17422         * intl.C: remove dialog (covered by prefs)
17423
17424 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17425
17426         * lyxfunc.C (Dispatch): removed redundant break statement.
17427
17428 2001-03-14  Juergen Vigna  <jug@sad.it>
17429
17430         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17431
17432 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17433
17434         * buffer.C: add hack to fix compability reading of minipages.
17435
17436 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17437
17438         * buffer.C (getLists): Cleanup.
17439
17440 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17441
17442         * lyxfont.C (update): don't honor toggleall on font size.
17443
17444 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17445
17446         * bmtable.c:
17447         * bmtable.h:
17448         * Makefile.am: moved to frontends/xforms/
17449
17450         * lyx_gui_misc.C:
17451         * lyxfunc.C:
17452         * BufferView_pimpl.C: changes for moved mathpanel
17453
17454 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17455
17456         * gettext.h: fix gettext_init() in --disable-nls
17457
17458 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17459
17460         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17461
17462 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17463
17464         * lyx.C:
17465         * lyx.h: strip external form
17466
17467 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17468
17469         * BufferView_pimpl.C: add comment, destroySplash()
17470
17471 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17472
17473         * BufferView_pimpl.C:
17474         * LyXAction.C:
17475         * buffer.C:
17476         * commandtags.h:
17477         * lyxfunc.C: use re-worked insetinclude
17478
17479 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17480
17481         * buffer.C: add using std::stringstream.
17482
17483         * lyx_cb.C: readd using std::ios.
17484
17485         * buffer.C: add using std::map.
17486
17487         * BufferView_pimpl.C: add using std::vector.
17488
17489         * ShareContainer.h: add std:: to swap.
17490
17491         * buffer.h: add some typedefs
17492         * buffer.C (getLists): use them
17493         (getLists): renamed from getTocList.
17494         add a counter for the different float types and use it in the
17495         generated string.
17496         (getLists): use the same counter for the NEW_INSETS and the "non"
17497         NEW_INSETS
17498
17499         * lyx_cb.h: remove unused items, includes, using etc.
17500
17501         * ShareContainer.h: remove some commented code, add more comments
17502         and "documentation".
17503
17504 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17505
17506         * buffer.C (getTocList): make the list also when NEW_INSETS is
17507         defined.
17508
17509         * buffer.h: remove TocType
17510
17511         * buffer.C (getTocList): change to return a map<string,
17512         vector<TocItem> >, implement for dynamic number of list.
17513
17514         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17515         * text2.C (PasteSelection): adjust
17516         * CutAndPaste.C (pasteSelection): adjust
17517
17518         * FloatList.C (FloatList): update from the new_insets branch.
17519         * Floating.[Ch]: ditto
17520         * LaTeXFeatures.C: ditto
17521         * buffer.C: ditto
17522         * lyxlex_pimpl.C: ditto
17523
17524         * paragraph.C (Last): remove when NEW_INSETS is defined.
17525
17526         * other file: changes because of the above.
17527
17528 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17529
17530         * lyxparagraph.h: rename next to next_, previous to previous_,
17531         make them private for NEW_INSETS. Rename Next() to next(),
17532         Previous() to previous().
17533
17534         * other files: changes because of the above.
17535
17536 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17537
17538         * BufferView.h:
17539         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17540         problem.
17541
17542 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17543
17544         * main.C (main): pass lyx_localedir to gettext_init().
17545
17546         * gettext.h: remove locale_init and gettext_init macros
17547
17548         * gettext.C (locale_init): new function
17549         (gettext_init): new function
17550
17551         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17552         setlocale().
17553
17554 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17555
17556         * Moved credits to frontends:
17557         * credits.[Ch]: removed
17558         * credits_form.[Ch]: removed
17559         * lyx_gui_misc.C: remove credits stuff
17560         * Makefile.am:
17561
17562 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17563
17564         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17565
17566         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17567         unneeded destructor.
17568
17569         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17570         a standalone pointer again.
17571
17572         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17573
17574 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17575
17576         * Makefile.am:
17577         * filedlg.h:
17578         * filedlg.C:
17579         * LyXAction.C:
17580         * ToolbarDefaults.C:
17581         * bufferlist.C:
17582         * commandtags.h:
17583         * form1.C:
17584         * form1.h:
17585         * lyx_cb.C:
17586         * lyx_cb.h:
17587         * lyxfunc.h:
17588         * lyxfunc.C:
17589         * BufferView_pimpl.C: use new file dialog in GUII
17590
17591         * lyx_cb.h:
17592         * lyx_cb.C: remove LayoutsCB to Toolbar
17593
17594 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17595
17596         * ShareContainer.h (get): add std:: qualifier
17597
17598 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17599
17600         * ShareContainer.h: define a proper ShareContainer::value_type
17601         type (and use typename to please compaq cxx)
17602
17603 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17604
17605         * lyxparagraph.h: move serveral local vars to
17606         ParameterStruct/ParagraphParameters., use ShareContainer in
17607         FontTable., make vars in FontTable private and add getter and
17608         setter.
17609
17610         * paragraph.C: changes because of the above.
17611
17612         * lyxfont.h: remove copy constructor and copy assignment. (the
17613         default ones is ok), move number inside FontBits. move inlines to
17614         lyxfont.C
17615
17616         * lyxfont.C: add number to initializaton of statics, move several
17617         inlines here. constify several local vars. some whitespace
17618         cleanup. Dont hide outerscope variables.
17619
17620         * Spacing.h: add two new constructors to match the set methods.
17621
17622         * ShareContainer.h: new file, will perhaps be moved to support
17623
17624         * ParameterStruct.h: new file
17625
17626         * ParagraphParameters.h: new file
17627
17628         * ParagraphParameters.C: new file
17629
17630         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17631         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17632
17633         * BufferView_pimpl.C: ParagraphParameter changes.
17634         * buffer.C: Likewise.
17635         * bufferview_funcs.C: Likewise.
17636         * text.C: Likewise.
17637         * text2.C: Likewise.
17638
17639 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17640
17641         * lyxfind.C (LyXReplace): do not redefine default argument in
17642         implementation.
17643         (IsStringInText): ditto
17644         (SearchForward): ditto
17645         (SearchBackward): ditto
17646
17647 2001-03-06  Juergen Vigna  <jug@sad.it>
17648
17649         * lyxfind.C (IsStringInText): put parentes around expressions.
17650
17651 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17652
17653         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17654
17655 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17656
17657         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17658
17659         * stl_string_fwd.h: add comment
17660
17661         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17662
17663         * tabular.h:
17664         * tabular.C: remove unused DocBook methods
17665
17666         * intl.C:
17667         * language.C:
17668         * paragraph.C:
17669         * buffer.C:
17670         killed DO_USE_DEFAULT_LANGUAGE
17671
17672 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17673
17674         * lyx_gui.C: do not include language.h.
17675
17676         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17677         arguments in function implementation.
17678
17679 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17680
17681         * BufferView_pimpl.C: add <ctime>
17682
17683 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17684
17685         * BufferView_pimpl.C: add using std::find_if
17686
17687 2001-02-27  José Matos  <jamatos@fep.up.pt>
17688
17689         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17690         by OnlyPath.
17691
17692 2001-02-11  José Matos  <jamatos@fep.up.pt>
17693
17694         * buffer.C (makeDocBookFile): command styles now have a parameter as
17695         "title" by default.
17696
17697 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17698
17699         * layout_forms.[Ch]: removed
17700         * lyx_cb.[Ch]: out character
17701         * lyx_gui.C: out character
17702         * lyx_gui_misc.C: out character
17703         * bufferview_funcs.C: : out character,
17704         added toggleall as parameter in ToggleAndShow
17705
17706 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17707
17708         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17709
17710         * text2.C (SetCurrentFont): Disable number property at boundary.
17711
17712 2001-02-26  Juergen Vigna  <jug@sad.it>
17713
17714         * lyxfunc.C (getStatus): added a string argument override function so
17715         that this is correctly called from LyXFunc::Dispatch if it contains a
17716         do_not_use_argument which is used!
17717         (Dispatch): added check for "custom" export and call appropriate func.
17718
17719 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17720
17721         * lyxrc.C: Add language_command_local, language_use_babel and
17722         language_global_options.
17723
17724         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17725
17726         * buffer.C (makeLaTeXFile): Use language_use_babel and
17727         language_global_options.
17728
17729 2001-02-23  Juergen Vigna  <jug@sad.it>
17730
17731         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17732         which works with LyXText and putted it inside BufferView. Here now we
17733         only call for that part the BufferView::Dispatch() function.
17734
17735         * BufferView.C (Dispatch): added.
17736
17737         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17738         functions which needs to use a LyXText over from LyXFunc.
17739         (MenuInsertLyXFile): added
17740         (getInsetByCode): added
17741         (moveCursorUpdate): added
17742         (static TEXT): added
17743
17744 2001-02-22  Juergen Vigna  <jug@sad.it>
17745
17746         * BufferView_pimpl.C (update): call a status update to see if LyXText
17747         needs it.
17748
17749 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17750
17751         * vc-backend.C (revert): implement for CVS
17752         (getLog): implement for CVS
17753
17754 2001-02-20  Juergen Vigna  <jug@sad.it>
17755
17756         * text2.C (ClearSelection): added BufferView param for inset_owner call
17757
17758         * lyxfunc.C (TEXT): added this function and use it instead of
17759         directly owner->view()-text of getLyXText().
17760
17761 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17762
17763         * src/layout_forms.C: out preamble
17764         * src/layout_forms.h: out preamble
17765         * src/lyx_cb.C: out preamble
17766         * src/lyx_cb.h: out preamble
17767         * src/lyx_gui.C: out preamble
17768         * src/lyx_gui_misc.C: out preamble
17769         * src/lyxfunc.C: connect with guii preamble
17770
17771 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17772
17773         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17774
17775 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17776
17777         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17778         whether to run bibtex.
17779
17780 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17781
17782         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17783
17784 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17785
17786         * Makefile.am (lyx_SOURCES): removed bibforms.h
17787
17788         * vspace.h: doxygen
17789
17790         * text.C (GetVisibleRow): make several local vars const
17791
17792         * tabular.C: small cleanup.
17793
17794         * lyxserver.C (callback): use compare instead of strncmp
17795
17796         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17797         inlines to after class or to paragraph.C
17798
17799         * lyxfont.h: remove friend operator!=
17800
17801         * converter.h: move friend bool operator< to non friend and after
17802         class def.
17803
17804         * combox.h: small cleanup
17805
17806         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17807         to inlines after class def.
17808
17809         * buffer.C (pop_tag): use string operations instead of strcmp
17810
17811         * bmtable.c: doxygen, small cleanup
17812
17813         * LaTeX.h: remove friend operator==
17814
17815 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17816
17817         * screen.C:
17818         * lyxrc.[Ch]:
17819         * lyxfunc.C:
17820         * lyxfont.[Ch]:
17821         * lyx_cb.C:
17822         * intl.[Ch]:
17823         * commandtags.h:
17824         * buffer.C:
17825         * WorkArea.[Ch]:
17826         * LyXAction.C:
17827         * BufferView_pimpl.C:
17828         * BufferView.[Ch]: remove cruft
17829
17830 2001-02-14  Juergen Vigna  <jug@sad.it>
17831
17832         * lyxfunc.C: removed #if 0 unused code
17833
17834         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17835
17836         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17837
17838         * text2.C (SetSelection): added a BufferView * parameter
17839
17840 2001-02-13  Juergen Vigna  <jug@sad.it>
17841
17842         * lyxfunc.C (Dispatch): fixed protected blank problem.
17843         * BufferView2.C (protectedBlank): added LyxText * parameter.
17844
17845         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17846         (AppendColumn): same as above for column_info.
17847
17848         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17849         (moveCursorUpdate): use a LyXText param for support of InsetText.
17850
17851         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17852         (tripleClick): ditto
17853
17854         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17855
17856         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17857
17858         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17859
17860         * text2.C (SetSelection): set correct update status if inset_owner
17861         (ToggleFree): ditto
17862
17863 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17864
17865         * tabular.C: remove some commented code.
17866
17867 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17868
17869         * BufferView_pimpl.C: call hideSplash()
17870
17871         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17872
17873         * include_form.h:
17874         * bibforms.h: remove
17875
17876         * lyxfunc.C:
17877         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17878           add LFUN_CHILD_CREATE
17879
17880         * counters.h: fix tiny typo
17881
17882         * lyx_cb.C:
17883         * lyx.h:
17884         * lyx_gui.C:
17885         * lyx.C: move splash to frontends/xforms/
17886
17887         * lyx_gui_misc.C: move Include and Bibform to frontends
17888
17889         * lyxvc.h: clarify comment
17890
17891         * vspace.C: tiny housekeeping
17892
17893 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17894
17895         * text.C (PrepareToPrint): RTL Fix.
17896
17897         * paragraph.C (GetUChar): New method.
17898         (String):  Use GetUChar.
17899
17900         * buffer.C (asciiParagraph): Use GetUChar.
17901
17902 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17903
17904         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17905
17906 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17907
17908         * buffer.h:
17909         * buffer.C: rename to getLogName(), handle
17910           build log / latex log nicely
17911
17912 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17913
17914         * MenuBackend.C:
17915         * MenuBackend.h: remove support for reference menuitem type.
17916
17917 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17918
17919         * BufferView_pimpl.C: housekeeping
17920         * BufferView_pimpl.h:
17921         * LyXView.h:
17922         * Makefile.am:
17923         * Timeout.C:
17924         * Timeout.h:
17925         * minibuffer.h: move Timeout GUI-I
17926
17927 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17928
17929         * lyxrc.C (read): Update converters data-structures.
17930
17931 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17932
17933         * LaTeX.h (operator!=): add operator != for Aux_Info
17934
17935 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17936
17937         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17938
17939         * LaTeXLog.C: deleted, useful code moved to Buffer
17940
17941         * buffer.h:
17942         * buffer.C: new function getLatexLogName()
17943
17944         * lyx_gui_misc.C:
17945         * lyx_gui.C:
17946         * lyxvc.C:
17947         * lyxvc.h:
17948         * lyxfunc.C: use frontends for LaTeX and VC logs
17949
17950 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17951
17952         * LaTeX.h: yet another std:: that Allan forgot.
17953
17954         * Variables.C (set): renamed from isset(), because this clashes
17955         with some HP-UX macros (grr).
17956
17957 2001-02-06  Allan Rae  <rae@lyx.org>
17958
17959         * LaTeX.h: Another bug fix.  Missing std:: this time.
17960
17961 2001-02-04  Allan Rae  <rae@lyx.org>
17962
17963         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17964         floats problem. I've left it commented out because it's not quite
17965         correct.  It should also test that the current object is a table or
17966         figure inset.  But I haven't gotten around to figuring out how to do
17967         that.  I *think* it'll be something like: "table" == inset.type()
17968
17969         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17970         bool.
17971
17972 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17973
17974         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17975         all the citation/databases/styles in the auxilary file.
17976         (run): Rerun latex if there was a babel language error.
17977
17978 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17979
17980         * text.C (Backspace): Preserve the font when changing newline char
17981         with a space.
17982         (BreakParagraph): If the cursor is before a space, delete the space.
17983
17984         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17985
17986 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17987
17988         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17989         new argument (code).
17990         (ChangeCitationsIfUnique): New method.
17991
17992         * paragraph.C (GetPositionOfInset): Handle bibkey.
17993
17994 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17995
17996         * BufferView_pimpl.h: change type of Position::par_pos to
17997         LyXParagraph::size_type.
17998
17999 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18000
18001         * BufferView_pimpl.C (savePosition, restorePosition): Write
18002         messages to minibuffer.
18003
18004 2001-01-28  José Matos  <jamatos@fep.up.pt>
18005
18006         * buffer.C (makeDocBookFile): adds support for document language.
18007         A silly restriction on the name of LatexCommand types where removed.
18008         Added support for CDATA sections, allows to chars unescaped, used
18009         among others in code, to avoid escape < and >.
18010
18011 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18012
18013         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18014         saved positions instrad of a stack. Furthermore, a position is
18015         stored using paragraph id/paragraph position.
18016
18017         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18018         Remove LFUN_REF_BACK.
18019
18020 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18021
18022         * converter.C (dvipdfm_options): New method.
18023
18024 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18025
18026         * vspace.C (isValidLength): Fix for empty input string.
18027
18028 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18029
18030         * LyXAction.C (init): change description of LFUN_FIGURE to
18031         "Insert Graphics"
18032
18033 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18034
18035         * LaTeX.C: add using directive
18036
18037 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18038
18039         * MenuBackend.C (expand): Fix the sorting of the formats.
18040
18041 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18042
18043         * lyx_main.C: tiny error message fix
18044
18045 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18046
18047         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18048         calling fl_initialize(). This fixes the problem with ',' as
18049         decimal separator in text files.
18050
18051 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18052
18053         * trans.C (process): Fix the keymap bug.
18054
18055 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18056
18057         * LaTeX.C (scanAuxFiles): New method. Provides support for
18058         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18059         (scanLogFile) Scan for "run BibTeX" messages.
18060
18061         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18062         OT1 font encoding. Also, load the aecompl package if the ae
18063         package is loaded.
18064
18065         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18066
18067 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18068
18069         * texrow.C (increasePos): turn two error messages into debug
18070         messages.
18071
18072 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18073
18074         * LaTeX.C (scanAux): Handle the \@input macro.
18075         (runBibTeX): Use scanAux().
18076
18077         * language.C (latex_options_): New field.
18078
18079         * LaTeXFeatures.C (getMacros): Add language macros.
18080
18081         * buffer.C (makeLaTeXFile): Small fix.
18082
18083 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18084
18085         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18086
18087         * text2.C: add a using directive.
18088
18089 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18090
18091         * BufferView2.C:
18092         * lyx_gui_misc.h:
18093         * lyxfr1.C:
18094         * lyxfunc.C: kill LyXBell.
18095
18096 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18097
18098         * text.C (IsBoundary): Remove the error message
18099
18100         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18101
18102         * lyxrc.C (setDefaults): Correct initialization value for
18103         font_norm_type.
18104
18105 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18106
18107         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18108         gotoError().
18109
18110         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18111         and GotoNextNote().
18112
18113         * src/LyXAction.C: Added reference-next.
18114
18115         * text.C (InsertChar): Use contains instead of strchr.
18116
18117         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18118
18119 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18120
18121         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18122         alignment commands (when needed).
18123
18124         * text.C (InsertChar): Add ':' to number separator chars.