]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
a667b441a1ce62e1e4be9c905ef8bdeef6203d3e
[lyx.git] / src / ChangeLog
1 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * lyxfind.C (findNextChange): tiny cleanup.
4
5         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
6         change tracking with the cursor in an inset; make sure the first
7         change is not skipped.
8
9 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10
11         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
12         tabularStackDirty to work around bug 1919 (tabular needs
13         to know whether its own cell paste buffer or the one of 
14         texted is newer.
15         * CutAndPaste.C: mark tabular_stack_ clean after copy.
16
17 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
18
19         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
20
21 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
22
23         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
24         use old deleteion algorithm when changetracking is on.
25
26 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
27
28         * messages.C (get): add debug output.
29
30 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
31
32         * text.C (cursorX): fix bug 1965: cursor movement at
33         line end broken in RtL.
34         (drawSelection): fix bug 1970: drawing of single-line 
35         selection broken for RtL.
36
37 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
38
39         bug 465.
40
41         * dociterator.h (clear, push_back, pop_back): change from
42         protected to public.
43
44         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
45         and changed to just return the value of the item depth; take a
46         ParIterator as argument; take the itemdepth at outer nesting level
47         in account if necessary; cleanup and comment the code.
48         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
49         and changed to just return true if reset is needed; take a
50         ParIterator as argument; cleanup and comment the code.
51         (setCounter): adapt to above changes.
52
53 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
54
55         * text3.C (dispatch): make debug message optional
56
57 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
58
59         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
60         inset. (bug 1963)
61
62 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
63
64         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
65
66 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
67
68         * text.C (insertChar):
69         * text2.C (deleteEmptyParagraphMechanism): take care whether 
70         a blank has been deleted (in change tracking mode) (bug 1254).
71
72 2005-07-20  John Levon  <levon@movementarian.org>
73
74         * text2.C (insertStringAsLines): remove old dubious code,
75         fixing bug 1939.
76
77 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
78
79         * MenuBackend.C (expandToc): use Floating::listName() as title of
80         the floats submenus.
81
82 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
83
84         * toc.[Ch]: Do not use translatable strings (bug 1870).
85
86 2005-07-20  John Levon  <levon@movementarian.org>
87
88         * tabular.C: fix 1748 - setting multicolumn adds
89           left line to the first cell
90
91 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
92
93         bug 1920
94         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
95         pars in one go.
96
97 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
98
99         * messages.C: supress some lyxerr messages
100
101 2005-07-18  Juergen Vigna  <jug@lyx.org>
102
103         * text.C (drawSelection): honor boundary when asking for cursorX.
104
105 2005-07-17  José Matos  <jamatos@fc.up.pt>
106
107         * tabular.C (recalculateMulticolumns): fix handling of one column
108         tables.
109
110 2005-07-17  Juergen Vigna  <jug@lyx.org>
111
112         * text.C (Delete, backspace): fixed so that paragraph with the
113         same layout can be merged by Delete/Backspace.
114
115 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
116
117         * text.C (readParToken): fix spelling.
118
119 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
120
121         * text2.C: fix counter update for DEPM problem reported by
122         Georg Baum
123
124 2005-07-17  Juergen Vigna  <jug@lyx.org>
125
126         * BufferView_pimpl.C (setBuffer): save/restore the
127         cursor/selection when switching buffers
128
129         * buffer.h: 
130         * buffer.C (saveCursor): add saveDocumentIterators to save the
131         cursor when switching buffer.
132
133 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
134
135         * debug.C: fix typo
136         * buffer.C: clarify message
137         
138 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
139
140         * dociterator.C (DocIterator): fix initialization order
141
142 2005-07-17  Juergen Vigna  <jug@lyx.org>
143
144         * text2.C (cursorHome): 
145         * text.C (drawSelection, cursorX): 
146         * dociterator.C (textRow): add boundary to getRow() call
147
148         * paragraph.C (getRow): implementation of below
149
150         * paragraph.h: add parameter boundary for getRow() function
151
152 2005-07-17  José Matos  <jamatos@fc.up.pt>
153
154         * buffer.C:
155         * bufferparams.[Ch]:
156         * tex-strings.[Ch]: new file format, remove support for a4.sty,
157         a4wide.sty and a4widemargins.
158
159 2005-07-17  Juergen Vigna  <jug@lyx.org>
160
161         * text2.C (cursorLeft): fix one of error
162
163 2005-07-17  Juergen Vigna  <jug@lyx.org>
164
165         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
166                    cursorEnd):
167         more fixes for boundary handling
168
169         * text3.C (dispatch): don't reset cursor if boundary has changed
170         on cursor movement.
171
172 2005-07-16  Juergen Vigna  <jug@lyx.org>
173
174         * text2.C (getColumnNearX): hopefully got it right now,
175         check if we are on column 0 for special case.
176
177 2005-07-16  Juergen Vigna  <jug@lyx.org>
178
179         * text2.C (getColumnNearX): handle special case Newline Inset
180
181         * text.C (singleWidth): Just remove bogus check
182
183 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
184
185         * funcrequest.C (split): avoid reading uninitialized char c
186
187 2005-07-16  José Matos  <jamatos@fc.up.pt>
188
189         * buffer.C:
190         * converter.C:
191         * lyxrc.C:
192         * paper.h:
193         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
194         single papersize variable.
195
196 2005-07-16  Juergen Vigna  <jug@lyx.org>
197
198         * text3.C (dispatch): honor boundary when checking if a cursor
199         movement has been done
200
201         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
202         (setCursor, setCursorIntern): fix cursor movement with boundary
203
204 2005-07-16  Juergen Vigna  <jug@lyx.org>
205
206         * text.C (currentState): output the actual Boundary
207
208 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
209
210         * factory.C (createInset): fix bad logic for tabular creation
211
212 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
213
214         * lyx_main.C (init): change some reLyX reference to tex2lyx
215
216 2005-07-16  Juergen Vigna  <jug@lyx.org>
217
218         * dociterator.C (DocIterator): initialize boundary
219
220 2005-07-16  Juergen Vigna  <jug@lyx.org>
221
222         * text2.C (getColumnNearX): Consider rows without trailing blank.  
223
224 2005-07-16  André Pönitz  <poenitz@gmx.net>
225
226         * lyxfont.h: Change order of declarations to give the compiler
227         a better chance to inline things
228
229         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
230         questions on unsaved docs for better scritability
231
232 2005-07-16  André Pönitz  <poenitz@gmx.net>
233
234         * paragraph.h (getChar): remove asserts as the same kind of security
235         can be achieved by using a suitable standard library implementation
236         and the function was in the critical path (25.9% in profiler)
237
238 2005-07-16  Juergen Vigna  <jug@lyx.org>
239
240         * cursor.C (bruteFind2):
241         * bufferview_funcs.C (coordOffset): 
242         * text.C (cursorX,cursorY): Handle cursor position after last char
243         in row before a inset which uses a whole row.
244
245 2005-07-15  José Matos <jamatos@lyx.org>
246
247         * output_plaintext.[Ch] (writeFileAscii): control reference title
248         printing.
249         (asciiParagraph): noparbreak was already deal and was incorrectly
250         used.
251
252 2005-07-15  Juergen Vigna <jug@lyx.org>
253
254         * lyxfunc.C (dispatch): save and restore the cursor after a
255         textclass switch.
256
257 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
258
259         * text.C (backspace): bug 806 for empty keepempty paragraphs we
260         change the layout to default before letting DEPM do its thing.
261
262         * paragraph_funcs.C (breakParagraph): dont reset the layout on
263         keepEmpty paragraphs
264
265         * text.C (setCursorFromCoordinates): add a debug statement
266
267         * text2.C (getColumnNearX): bug 1825 make sure that we don't
268         return a pos that is not on the row
269
270         * output_latex.C (TeXDeeper): get rid of potential dereferencing
271         of past the end iterator
272
273 2005-07-14  André Pönitz  <poenitz@gmx.net>
274
275         * undo.C (recordUndoFullBuffer): implement undo for
276         textclass switches
277
278 2005-07-14  André Pönitz  <poenitz@gmx.net>
279
280         * cursor.C (setSelection): open insets when selection is set there
281         to avoid crashs with cold coord cache
282
283 2005-07-14  André Pönitz  <poenitz@gmx.net>
284
285         * trans_mgr.C (insert): move cursor to the right after inserting
286         a char.
287
288 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
289
290         * BufferView_pimpl.C (update): dampen some of the debug blabbering
291         * factory.C (readInset): ditto
292         * text.C, text2.C: ditto
293
294 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
295
296         * buffer.C: format incremented to 242. There is no file format per
297         se, but the "frenchb" language has been removed from lib/language
298         and has to be translated to "french" by lyx2lyx.
299
300 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
301
302         * cursor_slice.h, dociterator.h: add some documentation
303         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
304
305 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
306
307         * text.C (leftMargin): do not add identation to display() style
308         insets, because they are always centered (bug 1293).
309
310 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
311
312         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
313         formatted_time methods in support/lyxtime.
314
315 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
316
317         * toc.[Ch]: new method getGuiName, which is used by the frontends 
318         to set the toc combo (fixes bug 1870). Make TOC string translatable.
319
320 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
321
322         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
323         StableDocIterator const &)
324         * undo.C (recordUndo): use the above instead of cell.size() comparison
325         (fixes bug 1808; instructed by Andr�.
326
327 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
328
329         * cursor_slice.h: 
330         * dociterator.h: Fix the assert when copying rows/cols in math
331
332 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
333
334         * BufferView_pimpl.C:
335         * LyXAction.C:
336         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
337
338         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
339         (findInset): new functions, refactored from goto Inset that return 
340         the position of a certain inset without setting the buffer's cursor
341         (by Jean-Marc); 
342         (gotoInset): rewrite to call findInset and then set the cursor
343         (by Jean-Marc).
344
345 2005-06-16  Angus Leeming  <leeming@lyx.org>
346
347         * lyxrc.C (output, read): wrap all input and output of paths with
348         calls to os::internal_path and os::external_path, respectively.
349         (output): wrap bind_file inside quotes.
350
351         * format.C (view): enable the viewer to use the '$$s' placeholder.
352
353 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
354
355         * LColor.[Ch] (getFromLaTeXName): new
356
357 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
358
359         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
360
361 2005-06-14  Angus Leeming  <leeming@lyx.org>
362
363         * lyx_main.C (init): ensure that the LyX binary dir is the first
364         element in the PATH on non-POSIX builds.
365
366 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
367
368         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
369
370 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
371
372         * rowpainter.C (paintInset, paintHebrewComposeChar)
373         (paintArabicComposeChar, paintChars): add a LyXFont argument.
374         (paintChars): use getFontSpan to reduce calls to getFont to a
375         minimum; use Paragraph::lookupChange instead of isXXXText.
376         (paintForeignMark): rename LyXFont argument.
377         (paintFromPos): pass a LyXFont object to the various paintXXX
378         methods.
379
380         * FontIterator.C (FontIterator, operator++): use
381         Paragraph::getFontSpan
382
383         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
384         version that returns the font span as a pair.
385
386 2005-06-09  Angus Leeming  <leeming@lyx.org>
387
388         * converter.C (convert): Don't forget "outfile = real_outfile" as
389         the final step in a conversion where the input and output file names
390         are the same. Otherwise, future conversion steps won't work...
391
392 2005-06-09  Angus Leeming  <leeming@lyx.org>
393
394         * lyxsocket.C: remove stub code as it isn't needed by
395         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
396
397 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
398
399         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
400         effectively disabled -x
401
402 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
403
404         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
405         when it actually makes sense.
406
407 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
408
409         * BufferView_pimpl.C: revert to showCursor in connection with
410         Lars's front-end stack
411
412 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
413
414         * text.C (redoParagraph): move cursor right after a bibitem
415         has been inserted.
416
417         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
418
419 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
420
421         * buffer_funcs.C (bufferErrors): fix computation of the end of an
422         error range.
423
424 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
425
426         * BufferView.[Ch] (update):
427         * BufferView_pimpl.[Ch] (update, metrics):
428         * dimension.h (operator==):
429         * lyxfunc.C (dispatch):
430         * metricsinfo.h (ViewMetricsInfo):
431         * rowpainter.C (paintText):
432         * lyxtext.h:
433         * text.C (redoParagraph):
434         * text3.C (dispatch): Make LyX only repaint current paragraph in
435         case of character insert --> speedup. Also fix cursor draw
436         artifacts
437
438 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
439
440         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
441         avoid a crash (bug 1891)
442
443 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
444
445         Fix bug 1892:
446
447         * text2.C (getStringToIndex): constify cur argument.
448
449         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
450         argument has been given
451         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
452         try to invoke LFUN_INSET_APPLY).
453
454         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
455         if no inset was created by doInsertInset
456         (doInsertInset): return true if an inset has been inserted.
457
458 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
459
460         * vspace.C (asGUIName): new method. A version of the space
461         suitable for showing on screen.
462
463 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
464
465         * MenuBackend.C:
466         * lyxrc.C: rename "ASCII" to "Plain Text"
467
468 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
469
470         * buffer_funcs.C (expandLabel): take a Buffer as argument;
471         translate the labelstring.
472         (setCounter): translate labelstring as needed.
473
474         * output_docbook.C (makeCommand): fix expandLabel invokation
475
476 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
477
478         * BufferView.C: fix dialog title
479
480 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
481
482         * lyx_main.C (priv_exec): fix logic error with help from Angus
483         * lyx_main.C (parse_execute): set is_gui = false and remove now
484         obsolete comment about a segfault
485
486 2005-05-18  Angus Leeming  <leeming@lyx.org>
487
488         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
489
490 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
491
492         * tabular.[hC]: added setCellInset to fix tabular paste.
493
494 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
495
496         * buffer.C (save): check if destination is writable before trying
497         to copy a file
498
499 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
500
501         * BufferView_pimpl.C (update): fix processEvents -caused update
502         recursion bug
503
504 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
505
506         * buffer_funcs.C (setCounter): fix test for numbering of
507         environments.
508
509         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
510         depth correctly; use optional argument when it exists
511
512         * lyxtextclass.C: remove unused MaxCounterTags enum
513         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
514         (max_toclevel, min_toclevel): new methods.
515
516         * MenuBackend.C (expandToc2): fix case where depth is smaller than
517         the smallest depth in toc.
518
519         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
520         layouts that should not appear in a table of contents.
521
522 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
523
524         * cursor.h (undispatched, noUpdate): add comments from Andr�
525 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
526
527         * lfuns.h:
528         * LyXAction.C:
529         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
530
531 2005-05-07  André Pönitz  <poenitz@gmx.net>
532
533         * cursor.[Ch] (leaveInset): new function
534
535 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
536
537         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
538
539 2005-05-04  Angus Leeming  <leeming@lyx.org>
540
541         * lyxfunc.C (getStatus): disable the spell checker dialog if
542         none of USE_[AIP]SPELL are defined.
543
544 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
545
546         * tabular.C (setWidthOfCell): remove obsolete comment
547
548 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
549
550         * paragraph.C (bibitem):
551         * buffer_funcs.C (setCounter):
552         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
553
554 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
555
556         * text3.C (getStatus): immediately return after setOnOff
557
558         * rowpainter.C: fix drawing of appendix start
559
560 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
561
562         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
563         SwitchBetweenClasses and remove the unused return value.
564         Handle character styles, too
565
566 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
567
568         * factory.C (createInset): handle undefined character styles
569
570 2005-05-02  Angus Leeming  <leeming@lyx.org>
571
572         * buffer.C: protect the #include of utime.h with a preprocessor
573         guard.
574
575 2005-05-02  Angus Leeming  <leeming@lyx.org>
576
577         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
578         function so that auto-saving works, albeit in a blocking manner.
579
580         * Makefile.am: make compilation of the client sub directory, of
581         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
582         on conditionals set at configure time.
583
584         * SpellBase.[Ch]: no longer an abstract base class. Instead,
585         it can be compiled in its own right but has no-op functionality.
586
587         * aspell.C, pspell.C: remove preprocessor guards. The files should
588         be compiled only if the necessary functionality exists.
589
590         * lyxserver.C, lyxsocket.C: disable on Windows.
591
592 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
593
594         * text.C (leftMargin): Fix the parindent use bug (1764)
595         by dirty trick
596
597 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
598
599         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
600         argument.
601
602 2005-04-25  Angus Leeming  <leeming@lyx.org>
603
604         * Bidi.[Ch]:
605         * coordcache.[Ch]:
606         * ispell.C:
607         * lyxserver.C:
608         * mover.C:
609         * pch.h:
610         include <config.h> in .C files, not .h ones.
611         add licence blurb.
612         protect headers inside preprocessor guards.
613
614 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
615
616         * FuncStatus.h (StatusCodes): document
617
618 2005-04-21  André Pönitz  <poenitz@gmx.net>
619
620         * FuncStatus.h (enabled, onoff): document
621
622 2005-04-19  Angus Leeming  <leeming@lyx.org>
623
624         * BufferView_pimpl.C (cursorToggle): no longer test whether
625         any child processes have been reaped before calling
626         handleCompletedProcesses().
627
628 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
629
630         * text3.C (dispatch): fix, finally fix, the language problem in
631         new lyxtexts, without disabling on-the-fly font changes (Helge's
632         bug report)
633
634 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
635
636         * text3.C (dispatch): set cursor on double/triple click events
637         (bug 1811)
638
639 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
642         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
643
644         * rowpainter.C (paintFirst): simplify the code a little bit. In
645         particular, remove the test for secnumdepth.
646         * text.C (setHeightOfRow): only allocate space for chapter number
647         when updateCounters provided an actual label, instead of looking
648         at secnumdepth directly.
649
650         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
651
652         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
653         paragraphs when secnumdepth is large enough or, for environments,
654         when they are not the first in a sequence.
655
656 2005-04-17  Angus Leeming  <leeming@lyx.org>
657
658         * buffer.C (makeLaTeXFile): replace code to manipulate a path
659         containing space and '~' characters with a call to latex_path().
660
661 2005-04-17  Angus Leeming  <leeming@lyx.org>
662
663         * converter.C (convert): protect all args of convertDefault.sh
664         script with quotes.
665
666 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
667
668         * text3.C (dispatch): change the layout to "Caption" after inserting
669         a float.
670
671 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
672
673         * text3.C (dispatch): fix language problem in newly created
674         textinsets (and main text) in non-english docs
675
676 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
677
678         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
679         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
680         * text3.C (getStatus): disable LFUN_INSET_MODIFY
681
682 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
683
684         * lyxtext.h:
685         * text.C (metrics):
686         * text2.C (getFont):
687         * rowpainter.C (getFont): Fix metrics bug introduced by inset
688         fonts fix
689
690 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
691
692         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
693         output of \item arguments without trailing text.
694
695 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
696
697         * FontIterator.C (operator*): avoid a copy of the font.
698
699 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
700
701         * rowpainter.C (getFont): fix language bug from previous fix
702
703 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
704
705         * rowpainter.C (RowPainter, getFont): fix font inside inset
706         (bugs 1766, 1809)
707
708 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
709
710         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
711         preventing inserted font, deco, delim insets jumping to start of
712         surrounding inset.
713
714 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
715
716         * lyxfunc.C (dispatch): translate message before sending it to the
717         minibuffer.
718
719 2005-03-29  Angus Leeming  <leeming@lyx.org>
720
721         * lyx_main.C (priv_exec): call os::internal_path on each file passed
722         to LyX on the command line.
723
724 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
725
726         * vc-backend.C: use QuoteName to protect file names wherever
727         necessary.
728
729 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
730
731         * buffer.[Ch]:
732         * BranchList.h: fix bugs 1844,1845: document settings don't
733         stick
734
735 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
736
737         * lyxrc.C (setDefaults, read, output, getDescription): add support
738         for tex_allows_spaces.
739
740         * exporter.C (Export): allows files in directory containing spaces
741         if tex_allows_spaces is true.
742
743         * buffer.C (makeLaTeXFile): if the document path contains spaces,
744         output it in double quotes.
745
746 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
747
748         * rowpainter.C: use default text height for drawing change tracker
749         strikeout lines.
750
751 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
752
753         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
754
755 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
756
757         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
758         directory is missing.
759
760 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
761
762         * text2.C: fixed the fix, extended to other case.
763
764 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
765
766         * text2.C: fix for cursor up/down stuck in math [bug 1792]
767
768 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
769
770         * text2.C (cursorUp): get rid of a crash
771         * text.C (x2pos): add an assert
772
773 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
774
775         * lyxfunc.C (getStatus): fix warning when assertions are disabled
776
777         * text3.C:
778         * lyxfunc.C:
779         * dociterator.C: include <boost/current_function.hpp>, which is
780         needed when assertions are disabled.
781
782 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
783
784         * text2.C: fix for stuck cursor when traversing two
785         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
786
787 2005-02-25  Andreas Vox  <avox@arcor.de>
788
789         * output_docbook.C (makeParagraph): suppress trailing newline
790         after a run of paragraphs
791
792 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
793
794         * paragraph.C: fix for confused change tracker when pasting
795         text that begins with a lineseparator. [bug 1827]
796         (setChange(0, Change::INSERTED);)
797
798         * paragraph_funcs.C: fix for lost changes on triple-paste
799         in change tracking mode [bug 1827] (par.setChange()).
800
801 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
802
803         * text2.C (updateCounters, setCounter, expandLabel): move to
804         buffer_funcs.
805
806         * buffer_funcs.C (updateCounters): turn into a free standing
807         function and add a buffer parameter. Remove dead code for tracking
808         labelstring change.
809         (setCounter): change into a free-standing function which gets a
810         dociterator as argument. Use this iterator to fix captions in a
811         simple way. When no float is found above the caption, use the
812         labelstring of the caption layout as default.
813
814         * text.C (breakParagraph, backspace):
815         * text2.C (init, setLayout, changeDepth):
816         * text3.C (dispatch):
817         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
818         updateCounters.
819
820         * dociterator.C (forwardPar): make it much faster by calling
821         forwardPos() only when really necessary.
822
823         * output_docbook.C (makeCommand): adapt to expandLabel move.
824
825         * cursor.C: remove unused variable
826
827 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
828
829         * paragraph_funcs.C: fix crash when pasting insets in change
830         tracking mode [bug 1277] (honour change type in moveItem).
831
832 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
833
834         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
835
836 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
837
838         * BufferView.C (setCursor): change to use a DocIterator.
839         (gotoLabel): use BufferView::setCursor (other part of bug 781).
840         (putSelectionAt): adapt to BufferView::setCursor change.
841
842         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
843         moved here from LyXText and rewritten to use proper cursor
844         methods. Fixes bug 1787, 616 and 835.
845
846         * BufferView_pimpl.C (restorePosition): set the cursor correctly
847         when inside an inset (part of bug 781).
848         (dispatch): adapt to change of BufferView::setCursor.
849         (getStatus, dispatch): handle LFUN_GOTOERROR,
850         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
851
852         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
853         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
854         * text3.C (gotoNextInset, gotoInset): removed.
855
856 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
857
858         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
859
860 2005-02-15  Angus Leeming  <leeming@lyx.org>
861
862         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
863         can be used meaningfully in a comparison.
864
865 2005-02-13  André Pönitz  <poenitz@gmx.net>
866
867         * bufferview_funcs.C (coordOffset): improve cursor drawing
868
869 2005-02-13  André Pönitz  <poenitz@gmx.net>
870
871         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
872         * Cursor.C (dispatch): use fixIfBroken
873         * lyxfunc.C (getStatus): use fixIfBroken
874
875 2005-02-15  Angus Leeming  <leeming@lyx.org>
876
877         * lyx_main.C (error_handler):
878         * lyxfunc.C:
879         * lyxrc.C (setDefaults):
880         s/GetEnv/getEnv/.
881         #include "environment.h".
882
883         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
884
885 2005-02-15  Angus Leeming  <leeming@lyx.org>
886
887         * lyxserver.C (startPipe): squash MSVC warning "local variable
888         'fd' used without having been initialized".
889
890 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
891
892         * BufferView_pimpl.C: revert accidental commit.
893
894 2005-02-14  André Pönitz  <poenitz@gmx.net>
895
896         * dociterator.[Ch]: new member forwardPosNoDescent(),
897         which doesn't enter nested insets.
898         * text2.C (setFont): use forwardPosNoDescent() instead
899         of ForwardPos() (fixes crash on font change).
900
901 2005-02-13  Angus Leeming  <leeming@lyx.org>
902
903         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
904         only if lyxrc.path_prefix is not empty.
905
906 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
907
908         * bufferparams.C (readGraphicsDriver): prevent crash
909
910 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
911
912         * text2.C (setCounter): check for inInset() == 0
913
914 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
915
916         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
917         but use update() to get correct screen display; use convert
918         instead of istringstream.
919         (getStatus): handle LFUN_GOTO_PARAGRAPH
920
921         * lyxfunc.C (dispatch, getStatus): do not handle
922         LFUN_GOTO_PARAGRAPH here.
923
924 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
925
926         * text3.C (dispatch): size() -> depth()
927
928         * text2.C: remove some debug output
929
930         * paragraph.C: ws changes only
931
932         * lyxfunc.C (getStatus): size() -> depth()
933
934         * dociterator.h (clear, push_back, pop_back, internalData,
935         operator[], resize, empty): new functions
936         Make StableDocIterator and operator== be friends. Don't inherit
937         from std::vector use a privat class variable slices_ instead.
938         Modify to fit.
939
940         * dociterator.C: update because of not inheriting from std::vector
941         anymore. Call explictly to slices_ instead. Use depth() instead of
942         size() and top() instead of back()
943
944         * cursor.C: chagne size() -> depth and back() -> top(). Also
945         remove some direct operator[](i) calls in favour of foo[i]
946         (getFont): remove some dead code
947
948         * bufferview_funcs.C (coordOffset): size() -> depth()
949
950         * buffer.C: ws changes only
951
952         * CutAndPaste.C (eraseSelection): back() -> top()
953
954         * BufferView_pimpl.C (selectionRequested): back() -> top()
955
956         * BufferView.C (setCursor): size() -> depth()
957
958 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
959
960         * text3.C (cursorPrevious): return true if depm changed something
961         (cursorNext): ditto
962         (dispatch): rename sl to oldTopSlice, remove moving use the new
963         NoUpdate func attrib instead. Make sure that needsUpdate is set
964         for function that have NoUpdate, but where depm might have changed
965         the buffer anyway.
966
967         * text2.C (cursorLeft): make us return true if depm changed
968         something
969         (cursorRight): ditto
970         (cursorUpParagraph): ditto
971         (curosrDownParagraph): ditto
972         (cursorUp, cursorDown): ditto, make sure to read comments in code
973         (deleteEmptyParagraphMechanism): remove an assert, also return
974         true if just a single char was deleted.
975
976         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
977         cursor that we modify, to avoid modifying an active cursor before
978         we call setCursor. This allows depm to run. Also return true if
979         depm deleted something.
980
981         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
982         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
983         cursorDownParagraph, cursorPrevious and cursorNext, return true if
984         something was changed in the buffer because of them (ie. depm run)
985
986         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
987         debug messages. Make update by default be false. Make sure that
988         the result of update is retained throught several calls down to
989         dispatch.
990
991         * LyXAction.h: add a new func_attrib: NoUpdate
992
993         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
994         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
995         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
996         and LFUN_WORDLEFT
997         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
998
999 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1000
1001         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1002         bv_->owner(), bv_->buffer() by direct references to the private
1003         members.
1004         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1005         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1006         (fitCursor): center() is in BufferView::Pimpl.
1007         (getStatus, trackChanges, dispatch): no need for a temporary buf
1008         variable
1009         (fitCursor, workAreaDispatch): use workarea().workheight()
1010
1011 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1012
1013         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1014
1015 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1016
1017         * buffer.C: format up to 241.
1018         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1019         break if pasting into ERT
1020         * lyxfunc.C (getStatus): suppress mathpanel and
1021         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1022
1023 2005-02-01  Angus Leeming  <leeming@lyx.org>
1024
1025         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1026
1027 2005-02-01  Angus Leeming  <leeming@lyx.org>
1028
1029         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1030         calling fs::is_directory().
1031
1032 2005-01-31  Angus Leeming  <leeming@lyx.org>
1033
1034         * lyx_main.C (priv_exec): specify explicitly the relative location
1035         of the top level build directory when run in-place.
1036
1037 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1038
1039         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1040         LyXText containing the cursor, not the top-level one.
1041
1042         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1043         true.
1044         (insertStringAsLines): rename par to pit; use temporary variable
1045         par to hold a Paragraph; do not store par.layout() in a variable,
1046         since the pointer may die when breaking paragraphs; pass pars to
1047         breakParagraph() instead of Buffer::paragraphs().
1048
1049 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1050
1051         * lyxlex_pimpl.h: #include <fstream>.
1052
1053         * BufferView.[Ch] (getLyXText): add a const version.
1054
1055         * BufferView_pimpl.C: add debug aids.
1056
1057         * RowList_fwd.h:
1058         * buffer.h:
1059         * lyxrow.h:
1060         * paragraph_funcs.h: add commentary explaining what the class does.
1061
1062
1063         * coordcache.[Ch]: add lots of commentary.
1064         (startUpdating, doneUpdating): debug aids.
1065         (arrays, insets, parPos, getParPos): accessors to private data.
1066
1067         * cursor_slice.[Ch] (text): add a const version.
1068         * dociterator.[Ch] (text, innerText): add const versions.
1069
1070         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1071         bool.
1072
1073         * paragraph.C (getRow, pos2ros): add asserts.
1074
1075         * paragraph.h: add commentary. Lots of.
1076
1077         * paragraph.[Ch] (metrucs, draw): removed.
1078
1079         * cursor.C:
1080         * rowpainter.[Ch]: const-correct changes.
1081
1082         * text.C: various obvious clean-ups. Removal of ancient cruft.
1083         Bug fixes, even.
1084
1085 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1086
1087         * vc-backend.C (find_file): rewrite to use boost.filesystem
1088         (scanMaster): ditto
1089
1090         * main.C (main): set default name check for boost.filesystem to
1091         no check
1092
1093         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1094         (open): ditto
1095         (doImport): ditto
1096         (actOnUpdatedPrefs): ditto
1097
1098         * lyx_main.C (init): rewrite to use boost.filesystem
1099         (queryUserLyXDir): ditto
1100
1101         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1102         (getContentsOfAsciiFile): ditto
1103
1104         * lastfiles.C (readFile): rewrite to use boost.filesystem
1105
1106         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1107
1108         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1109         (loadLyXFile): ditto
1110
1111         * buffer.C (Buffer): adjust for destroydir
1112         (getLogName): rewrite to use boost.filesystem
1113         (setFileName): ditto
1114         (save): use fs::copy_file (from fs_extras)
1115
1116         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1117
1118         * LaTeX.C (run): rewrite to use boost.filesystem
1119         (scanAuxFiles): ditto
1120         (handleFoundFile): ditto
1121
1122 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1123
1124         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1125
1126         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1127
1128 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1129
1130         * lyxlayout.[Ch]: change some vars from float to double
1131
1132         * buffer.C (readFile): make a local var const
1133
1134         * Several files: use convert<> instead of atoi,strToXXX and friends
1135
1136 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1137
1138         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1139         holds the contents of packages.lst. New functions getAvailable
1140         and isAvailable to parse and check that list, resp.
1141
1142         * LyXAction.C:
1143         * lfuns.h:
1144         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1145
1146         * bufferparams.[Ch]: new param output_changes.
1147
1148         * Buffer.C: increase file format to 240.
1149         Use output_changes and isVailable.
1150
1151         * changes.[Ch]:
1152         * paragraph.C:
1153         * paragraph_pimpl.C: Use output_changes and isVailable.
1154
1155 2005-01-23  Angus Leeming  <leeming@lyx.org>
1156
1157         * output_latex.C: #include "insetbibitem.h", rather than
1158         forward declare function bibitemWidest.
1159
1160 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1161
1162         * lyx_main.C (init): make it compile on the Mac.
1163
1164 2005-01-20  Angus Leeming  <leeming@lyx.org>
1165
1166         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1167         (setLyXMisc): (char string literal) != (char string literal) is
1168         performing a comparison on the addresses. Convert one operand
1169         explicitly to string to guarantee expected behaviour.
1170         From MSVC warning.
1171
1172 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1173
1174         * buffer.C:
1175         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1176
1177         * output_plaintext.C: remove unneeded #include gzstream.h.
1178
1179 2005-01-20  Angus Leeming  <leeming@lyx.org>
1180
1181         * SpellBase.h: rename some of the elements of the Result enum.
1182
1183         * aspell_local.h:
1184         * ispell.h:
1185         * pspell.h:
1186         * aspell.C (check):
1187         * ispell.C (check):
1188         * pspell.C (check): ditto
1189
1190 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1191
1192         * buffer.C: add #include <fstream>.
1193
1194         * lyx_main.C (init): Compile fix.
1195
1196         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1197
1198 2005-01-20  Angus Leeming  <leeming@lyx.org>
1199
1200         * mover.h: change commentary to reflect the changed meaning of
1201         the $$s placeholder.
1202
1203 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1204
1205         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1206
1207         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1208
1209 2005-01-20  Angus Leeming  <leeming@lyx.org>
1210
1211         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1212         printing diagnostic data by not dereferecing an iterator past the
1213         end.
1214
1215 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1216
1217         * buffer.C (readHeader): use "&&" rather than "and".
1218
1219         * lyxserver.h (inPipeName, outPipeName): make these const.
1220
1221 2005-01-19  Angus Leeming  <leeming@lyx.org>
1222
1223         * lyx_main.C (error_handler, init): protect SIGHUP with
1224         #ifdef SIGHUP guards.
1225
1226 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1227
1228         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1229
1230 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1231
1232         * text.C (setHeightOfRow): add a margin at the top and bottom of
1233         the document (bug 1761)
1234
1235 2005-01-17  Angus Leeming  <leeming@lyx.org>
1236
1237         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1238         with "python ". Workaround for a brain-dead Windows.
1239
1240 2005-01-16  Angus Leeming  <leeming@lyx.org>
1241
1242         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1243         for MacOSX and Windows to use prependEnvPath.
1244         Strip out the hard-coded block to add elements to the PATH for
1245         MacOSX and replace it with a call to prependEnvPath using the
1246         contents of LyXRC::path_prefix.
1247         (queryUserLyXDir): strip out the code to run reconfigure, instead
1248         returning a boolean indicating the necessity to do so.
1249         (reconfigureUserLyXDir): contains the code to reconfigure the
1250         user support directory. Is now called after the various LyXRC data
1251         files have been read.
1252
1253         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1254
1255 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1256
1257         * converter.[Ch] (convert): take a new parameter try_default. Use
1258         a default converter (imagemagick) if try_default is true.
1259
1260 2005-01-13  Angus Leeming  <leeming@lyx.org>
1261
1262         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1263         os::cygwin_path_fix.
1264         (write): output LyXRC::cygwin_path_fix as necessary.
1265
1266 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1267
1268         * lyxrc.h:
1269         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1270
1271 2005-01-12  Angus Leeming  <leeming@lyx.org>
1272
1273         * lyx_main.C (init): set the PATH variable to include the
1274         directory containing the LyX binary when running on Mac or Windows.
1275
1276 2005-01-12  Angus Leeming  <leeming@lyx.org>
1277
1278         * lyx_main.C (init): remove cruft that purports to set the locale
1279         dir. It doesn't and is not needed anyway.
1280
1281 2005-01-10  Angus Leeming  <leeming@lyx.org>
1282
1283         * Makefile.am: remove the lyx_main.C special casing.
1284
1285         * BufferView_pimpl.C:
1286         * bufferlist.C:
1287         * exporter.C:
1288         * lyx_cb.C:
1289         * lyx_main.C:
1290         * lyxfunc.C:
1291         * messages.C: use support/package.h to provide the paths to the
1292         various directories used by LyX.
1293
1294 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1295
1296         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1297         layout if pasting into an empty paragraph)
1298
1299 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1300
1301         * tex-accent.C: add <string>
1302
1303 2005-01-06  José Matos  <jamatos@lyx.org>
1304
1305         * ParagraphParameters.C (write): put every parameter in its own line.
1306         * paragraph.C (write): reduce number of consecutive empty lines exported.
1307         * buffer.C (LYX_FORMAT): increase file format to 239.
1308
1309 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1310
1311         * everywhere: change support/tostr.h -> support/convert.h
1312
1313         * tabular.C: make all write_attributes templates, tostr -> convert
1314
1315         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1316         (emptyTag): and -> &&, and fix type for ret from getChar
1317         (getFirstWord): fix type for ret from getChar
1318         (onlyText): and -> &&
1319         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1320         getChar
1321
1322         * toc.C (goTo, action):
1323         * text3.C (dispatch):
1324         * text.C (currentState):
1325         * tex-accent.C (DoAccent):
1326         * sgml.C:
1327         * lyxrc.C:
1328         * lyxfunc.C (menuNew):
1329         * lyxfinc.C (replace):
1330         * counters.C (laberItem):
1331         * bufferview_funcs.C (font2string):
1332         * bufferparams.C (writeFile):
1333         * buffer.C (readFile):
1334         * Spacing.C (set):
1335         * MenuBackend.C: tostr -> convert
1336
1337         * LaTeX.C (runMessage): fix format
1338         (scanAuxFiles): tostr -> convert
1339
1340         * BufferView_pimpl.C (savePosition): fix format
1341         (restorePosition): ditto
1342         (dispatch): ditto
1343
1344 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1345
1346         * Spacing.[Ch]: New method getValueAsString().
1347
1348         * Spacing.[Ch]:
1349         * bufferparams.C:
1350         * ParagraphParameters.C:
1351         * lyxlayout.C:
1352         * text.C:
1353         * text3.C: store/read spacing value as string.
1354
1355         * rowpainter.C: change float value (spacing_val) to double.
1356
1357         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1358         broken custom document spacing).
1359
1360 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1361
1362         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1363         namespace, also more use of temp references and const
1364
1365         * cursor.[Ch] (getStatus): move to lyxfunc.C
1366
1367         * bufferparams.C: reformat slightly
1368
1369         * bufferview_funcs.C (font2string): constify arg
1370
1371         * changes.C:
1372         * converter.C:
1373         * counters.C:
1374         * bufferlist.C:
1375         * buffer_funcs.C: (many funcs): constify arg on function
1376         definitions, also make more local vars const, also add ASSERTS on
1377         pointer args.
1378
1379         * buffer.C (LYX_FORMAT): put const in correct place
1380         (many funcs): constify arg on function definitions, also make
1381         more local vars const
1382
1383         * aspell_local.h: remove "struct" from typdef setup
1384
1385         * aspell.C (check): make word_ok const
1386         (nextMiss): simplify slightly
1387         (error): ditto
1388
1389 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1390
1391         * lyxrc.[Ch]: store all float values as strings.
1392         use int (not float) for lyxrc.dpi.
1393
1394 2005-01-04  Angus Leeming  <leeming@lyx.org>
1395
1396         * lyx_cb.C (Reconfigure):
1397         * lyx_main.C (queryUserLyXDir):
1398         to run the <system_lyxdir>/configure correctly on Windows, prefix
1399         the path to the script with "sh " when generating the string that
1400         is passed to system().
1401
1402 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1403
1404         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1405
1406 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1407
1408         * lyxlength.C (asLatexString): get rid of setprecision
1409
1410 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1411
1412         * text2.C (setLayout): remove unused variable endpit.
1413         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1414
1415         * paragraph.C (onlyText): remove unused variable style.
1416
1417         * cursor.C (bruteFind): remove unused variables beg and end.
1418
1419         * Makefile.am (dist_noinset_DATA): not needed anymore
1420
1421         * cheaders/*: remove.
1422
1423 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1424
1425         * text3.C: fix LFUN_MATH_MODE.
1426
1427 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1428
1429         * buffer_funcs.C (countWords): new function. Counts words between
1430         two iterators.
1431
1432         * BufferView_pimpl.C (getStatus, dispatch): handle
1433         LFUN_WORDS_COUNT.
1434
1435         * LyXAction.C (init):
1436         * lfuns.h: add LFUN_WORDS_COUNT.
1437
1438 2004-12-19  Angus Leeming  <leeming@lyx.org>
1439
1440         * buffer.C (save): s/slashify_path/internal_path/.
1441
1442 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1443
1444         * lyxfind.C (findChange): do not search for end of pars, because
1445         the change tracker cannot handle this (fixes bug 1719).
1446
1447 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1448
1449         * paragraph.[Ch] (autoBreakRows): remove
1450
1451         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1452
1453         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1454         avoid using the paragraph one
1455
1456         * text2.C (LyXText, insertStringAsLines): adjust
1457
1458 2004-12-16  Angus Leeming  <leeming@lyx.org>
1459
1460         * bufferlist.C:
1461         * lyx_main.C:
1462         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1463
1464 2004-12-14  Angus Leeming  <leeming@lyx.org>
1465
1466         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1467
1468         * bufferlist.C (emergencyWrite):
1469         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1470         GetEnvPath("HOME").
1471
1472 2004-12-14  Angus Leeming  <leeming@lyx.org>
1473
1474         * main.C: (main): no longer pass pointers to os::init.
1475
1476 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1477
1478         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1479         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1480
1481 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1482
1483         * lyxfunc.C:
1484         * text3.C: remove selection_possible global flag
1485
1486 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1487
1488         * text2.C (getSelectionSpan): remove
1489         (changeDepth, changeDepthAllowed): adjust
1490
1491 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1492
1493         * Makefile.am (BOOST_LIBS): use boost variables
1494
1495 2004-12-03  José Matos  <jamatos@lyx.org>
1496
1497         * buffer.C: format up to 238.
1498
1499 2004-12-03  José Matos  <jamatos@lyx.org>
1500
1501         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1502
1503 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1504
1505         * cursor.C (goUpDown): remove call to idxUpDown2
1506
1507 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1508
1509         * tabular.[Ch]: use size_t-like types for cell, row and column
1510         indices
1511
1512 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1513
1514         * lyxfunc.C (getStatus): do not lose previous information when
1515         calling BufferView::getStatus; do not set a default "Command
1516         disabled" message at the beginning, but just before returning.
1517
1518 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1519
1520         * cursor.h (getStatus): add better comment from src/cursor.C
1521
1522 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1523
1524         * text3.C (getStatus): return false when the lfun is not handled
1525
1526 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1527
1528         * broken_headers.h: remove
1529
1530         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1531
1532 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1533
1534         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1535         offset_ref accessors
1536
1537         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1538         top_y_, merge fitcursor with update
1539         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1540         coord scheme
1541         (metrics): introduce
1542         (workAreaDispatch): adapt to new coord scheme
1543         (redoCurrentBuffer): remove
1544
1545         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1546
1547         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1548         CurStatus enum.
1549
1550         * coordcache.[Ch]: add paragraph cache and helpers
1551
1552         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1553         adjust everywhere
1554
1555         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1556         (targetX, setTargetX): introduce
1557
1558         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1559         baseline -> ascent, as the rest of lyx
1560
1561         * lyxtext.h: remove redoParagraphs, updateParPositions,
1562         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1563         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1564         have ascent/descent (ascent is ascent of first par)
1565
1566         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1567         step of BufferView
1568
1569         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1570
1571         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1572
1573         * pariterator.C: fix infinite loop introduced in par->pit renaming
1574
1575         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1576         in insets and LyXText, draw two off-screen paragraphs using
1577         NullPainter, and adapt to new coord scheme
1578
1579         * text.C:
1580         * text2.C:
1581         * text3.C: adapt lfun handlers to the new coord scheme, which
1582         means: there's only guaranteed coord information for onscreen pars
1583         plus one above and one below. This implies that one can do search
1584         from y coordinates in the range [-1,workHeight]
1585
1586 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1587
1588         * rename a lot of InsetOld to InsetBase
1589
1590 2004-11-25  Angus Leeming  <leeming@lyx.org>
1591
1592         * BufferView_pimpl.C:
1593         * lyx_cb.C:
1594         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1595
1596 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1597
1598         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1599         call BufferView::getStatus if LCursor::getStatus did nothing
1600         (setStatusMessage, getStatusMessage): removed.
1601
1602         * FuncStatus.C (message): new methods. Used to provide an error
1603         message indicating why a command is disabled.
1604         (clear, |=, FuncStatus): update for message.
1605
1606 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1607
1608         * lyxfunc.C (dispatch): always call sendDispatchMessage
1609
1610 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1611
1612         * BufferView.C:
1613         * BufferView_pimpl.C:
1614         * CutAndPaste.C:
1615         * FontIterator.C:
1616         * buffer.C:
1617         * cursor.C:
1618         * cursor_slice.[Ch]:
1619         * dociterator.[Ch]:
1620         * lyxfind.C:
1621         * paragraph_funcs.C:
1622         * pariterator.C:
1623         * rowpainter.C:
1624         * text.C:
1625         * text2.C:
1626         * text3.C:
1627         * undo.C: par->pit renaming
1628
1629 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1630
1631         * tabular.C (cellstruct): use initialization, store a shared_ptr
1632         to insettext instead of the insettext directly, adjust to fit.
1633         (operator=):  new function
1634         (swap): new function
1635         (rowstruct): use initialization
1636         (columnstruct): use initialization
1637         (ltType): use initialization
1638
1639
1640         * lyxlength.h (swap): new function
1641
1642         * LColor.[Ch] (operator=): use the common semantics
1643
1644 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1645
1646         * lyxfind.C (findNextChange): update the bufferview after setting
1647         the selection.
1648
1649 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1650
1651         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1652         number of InsetOptArgs has already been inserted.
1653
1654         * output_latex.C (latexOptArgInsets): new method. This outputs all
1655         the optarg insets, up to the limit defined in the layout file.
1656         (optArgInset): removed
1657         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1658
1659 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1660
1661         * paragraph.C (isLetter): remove special spellchecker-related
1662         code; return true also for digits
1663         (isWord, isKomma): remove
1664
1665         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1666         * lyxfind.C (MatchString()): use isLetter instead of isWord
1667
1668 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1669
1670         * pariterator.h (operatir=): comment out un-implemented member
1671         function.
1672
1673         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1674         static cast.
1675
1676 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1677
1678         * lyxfont.h: include LColor.h to satisfy concept checks.
1679
1680 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1681
1682         * pariterator.h: add typdefs for value_type, difference_type,
1683         pointer and reference to satisfy concept checks. Also add default
1684         constructor for same reason.
1685
1686         * pariterator.C (operator++): add post-increment operator to
1687         satisfy concept checks.
1688
1689         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1690         checks.
1691
1692         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1693
1694         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1695         checks. Also rename base_type to BaseType to follow naming
1696         standard better.
1697
1698         * FloatList.h: include Floating.h to satisfy concept checks.
1699
1700 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1701
1702         * lyxfunc.C (getStatus): when the origin of the request is menu or
1703         toolbar, and the LyXView does not have focus, do as if there was
1704         no buffer (bug 1720)
1705
1706         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1707         FuncRequest to individual entries of LFUN_SEQUENCE
1708
1709 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1710
1711         * output_latex.C (TeXOnePar): override runparams.moving_arg
1712         according to the needprotect value of the current paragraph (bug
1713         1739)
1714
1715         * paragraph.C (simpleTeXOnePar): no need to override
1716         runparams.moving_args here
1717
1718 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1719
1720         * vspace.C: fix off-by-one-error, related to fix #1682
1721
1722 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1723
1724         * lengthcommon.C: a more general fix for bug 1682
1725
1726 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1727
1728         * text.C (backspace): fix crash
1729
1730 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1731
1732         * format.[Ch] (getFormatFromFile): new method
1733         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1734
1735 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1736
1737         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1738
1739 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1740
1741         * lyxfunc.C (dispatch): remove the verbose argument
1742         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1743         instead
1744
1745         * kbmap.C (defkey): set the origin of func to KEYBOARD
1746
1747         * MenuBackend.C (MenuItem):
1748         * ToolbarBackend.C (add): set the origin of func to UI
1749
1750         * funcrequest.[Ch]: add origin member, which indicates which part
1751         of LyX requests an action
1752
1753 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1754
1755         * converter.C (move): don't lie in the error message
1756         * converter.h (isReachable, move): document
1757
1758 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1759
1760         * buffer.C: remove unused using lyx::support::atoi
1761         * paragraph_funcs.C: ditto
1762
1763 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1764
1765         * bufferlist.C (exists): use bind and equal_to instead of
1766         compare_memfun
1767         (getBuffer): ditto
1768         * lyxtextclasslist.C (NumberOfClass): ditto
1769
1770         * cursor.C (insert): use for_each instead of explicit for loop
1771
1772         * bufferlist.C (getFileNames): use std::transform and
1773         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1774
1775         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1776         for loop
1777
1778         * buffer.C (changeLanguage): use for_each instead of explicit for
1779         loop
1780         (hasParWithID): implement using getParFromID
1781
1782         * LaTeXFeatures.C: ws change only
1783
1784         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1785         to cleanup a bit.
1786
1787         * BufferView_pimpl.C (trackChanges): use for_each instead of
1788         expilicit for loop
1789
1790 2004-11-04  André Pönitz  <poenitz@gmx.net>
1791
1792         * undo.h:
1793         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1794
1795         * dociterator.C (asDocIterator): use hard assert again.
1796
1797 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1798
1799         * lyxlength.C (asLatexString): rewrite so that it does not use
1800         snprintf anymore
1801
1802 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1803
1804         * text3.C (specialChar, dispatch): make sure cursor moves to the
1805         right after inserting an inset
1806
1807 2004-11-02  José Matos  <jamatos@lyx.org>
1808
1809         * output_docbook.C (docbook):
1810         * paragraph.C (getID):
1811         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1812         garantee that the output is always legal.
1813
1814         * tabular.C (docbook):
1815         * outputprams.[Ch]: remove mixed contents.
1816
1817 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1818
1819         * text2.C (setCounter): prevent endless loop
1820
1821 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1822
1823         * exporter.C (copyFile): use the mover instead of support::copy()
1824         * exporter.C (Export): pass format and latex name to copyFile()
1825         * exporter.h (addExternalFile): document
1826         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1827
1828 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1829
1830         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1831
1832 2004-10-30  José Matos  <jamatos@lyx.org>
1833
1834         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1835         text and no inset or font change. This allows to use CDATA
1836         sections just for the whole paragraph.
1837
1838 2004-10-30  José Matos  <jamatos@lyx.org>
1839
1840         * paragraph.C (getFirstWord): remove unused variable.
1841
1842 2004-10-30  José Matos  <jamatos@lyx.org>
1843
1844         * paragraph.C (getFirstWord): the content should always be escaped
1845         there.
1846         (simpleDocBookOnePar):
1847         * output_docbook.C (makeEnvironment): replace reference to CDATA
1848         to style pass_thru.
1849
1850 2004-10-30  José Matos  <jamatos@lyx.org>
1851
1852         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1853
1854 2004-10-30  José Matos  <jamatos@lyx.org>
1855
1856         * output_docbook.C (makeParagraphs):
1857         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1858         standard paragraph has only a given type of content drop the wrapper.
1859
1860 2004-10-29  José Matos  <jamatos@lyx.org>
1861
1862         * output_docbook.C (makeEnvironment):
1863         * sgml.C (openTag):
1864         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1865
1866 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1867
1868         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1869         (cleanID): sanitize any id.
1870
1871 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1872
1873         * buffer.C, lyxlex_pimpl.C:
1874         * lyxlex_pimpl.C (setFile):
1875         s/getExtFromContents/getFormatFromContents/
1876
1877 2004-10-28  José Matos  <jamatos@lyx.org>
1878
1879         * output_docbook.C (makeEnvironment): move id to broadest possible
1880         scope.
1881
1882         * sgml.C (openTag): apply substitution of <> for all attributes.
1883
1884 2004-10-28  José Matos  <jamatos@lyx.org>
1885
1886         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1887         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1888         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1889
1890         * sgml.[Ch]: new version for open and closeTag for paragraph and
1891         for strings. Now they handle the ids of paragraphs.
1892
1893 2004-10-26  Angus Leeming  <leeming@lyx.org>
1894
1895         * Makefile.am: add mover.[Ch].
1896
1897         * converter.C (convert, move): use the new Movers to move external
1898         files to the temp directory.
1899
1900         * lyx_main.C (init): ensure that the global system_movers data
1901         is initialised.
1902
1903         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1904         preferences file.
1905
1906         * mover.[Ch]: new files, defining a Mover as a utility to move an
1907         external file between directories and, if necessary, manipulate this
1908         file using a helper script.
1909
1910 2004-10-25  José Matos  <jamatos@lyx.org>
1911
1912         * output_docbook.C (makeCommand): merge two if's that tested the
1913         same condition.
1914
1915 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1916
1917         * sgml.C (escapeString): fix warning in a better way
1918
1919 2004-10-25  José Matos  <jamatos@lyx.org>
1920
1921         * sgml.C (escapeString): import the require boosts header file for
1922         tie, and avoid a signed unsigned comparison.
1923
1924 2004-10-25  José Matos  <jamatos@lyx.org>
1925
1926         * sgml.h: add #include <string>
1927
1928 2004-10-25  José Matos  <jamatos@lyx.org>
1929
1930         * sgml.[Ch] (escapeString): new function to escape all the string.
1931
1932 2004-10-24  José Matos  <jamatos@lyx.org>
1933
1934         * paragraph.[Ch] (getFirstWord): new function to get the first
1935         word. Useful for description.
1936         (simpleDocBookOnePar): remove depth argument, add another that
1937         says where to start the paragraph.
1938
1939         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1940         use the new functions to fix cleanly the support for descriptions.
1941
1942 2004-10-24  José Matos  <jamatos@lyx.org>
1943
1944         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1945         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1946         * output_linuxdoc.C (linuxdocParagraphs):
1947         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1948         add buffer as argument.
1949
1950 2004-10-24  José Matos  <jamatos@lyx.org>
1951
1952         * output_docbook.C (makeEnvironment, searchEnvironment): place
1953         CDATA inside paragraphs and fix scope for listitems.
1954
1955 2004-10-24  José Matos  <jamatos@lyx.org>
1956
1957         * output_docbook.C: remove using statement for stack.
1958
1959 2004-10-23  José Matos  <jamatos@lyx.org>
1960
1961         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1962         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1963         docbook. The new scheme is recursive and makes use of iterators, the
1964         same as latex export works.
1965         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1966         directly with the paragraph contents. This code was moved up to
1967         output_docbook.C (docbookParagraphs).
1968         * sgml.C (openTag, closeTag): removed unneeded newlines.
1969         (closeEnvTags) removed.
1970
1971 2004-10-23  André Pönitz  <poenitz@gmx.net>
1972
1973         * undo.C (textUndoOrRedo):
1974         * dociterator.C (asDocIterator): work around crash
1975
1976         * cursor.C (getStatus): replace ASSERT by more verbose error message
1977           and manual correction of the problem. Should increase stability
1978           while providing more sensible information.
1979
1980 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1981
1982         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1983
1984         * bufferlist.C (previous, next): new methods
1985
1986         * lfuns.h:
1987         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1988
1989 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1990
1991         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1992         entities to preamble.
1993
1994 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1995
1996         * messages.C (Pimpl): strip off translation context information
1997
1998 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1999
2000         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2001         the cursor is correct (bug 1694)
2002
2003 2004-10-13  José Matos  <jamatos@lyx.org>
2004
2005         * output_docbook.C (docbookParagraphs): fix closing tags in the
2006         end of the document.
2007
2008 2004-10-09  José Matos  <jamatos@lyx.org>
2009
2010         * buffer.C: format up to 237.
2011         * bufferparams.C (write): use tostr to convert booleans to strings.
2012
2013 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2014
2015         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2016
2017 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2018
2019         * LaTeX.C: implement use of babel language in xindy.
2020
2021 2004-10-05  José Matos  <jamatos@lyx.org>
2022
2023         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2024         Add new translators to help reading and writing the lyx file.
2025
2026 2004-10-05  José Matos  <jamatos@lyx.org>
2027
2028         * ParagraphParameters.C (read):
2029         * text.C (readParToken): replace nexToken by more appropriate lex
2030         methods.
2031
2032 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2033
2034         * LaTeX.C (runMakeIndex):
2035         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2036         (usually 'makeindex') configurable.
2037
2038         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2039         with a variable rather than with a number.
2040
2041 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2042
2043         * output_latex.C (TeXOnePar): make sure font setting is the first
2044         thing that gets output (and the last at the end). Should fix bug
2045         1404.
2046
2047 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2048
2049         * pch.h: use proper signal include
2050
2051         * LaTeX.h: Use preferred calling of Boost.Signal
2052         * buffer.h: ditto
2053
2054 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2055
2056         * pch.h: dont include <boost/function/function0.hpp>
2057
2058         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2059
2060         * paragraph_pimpl.h: remove usage of ShareContainer
2061
2062         * paragraph_pimpl.C: remove initialization of ShareContainer.
2063
2064 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2065
2066         Fix bug #1666
2067
2068         * BufferView.C (putSelectionAt): change the semantics when
2069         backwards == true: now, this just swaps cursor and anchor wrt the
2070         forward case
2071
2072         * BufferView.h (putSelectionAt): add some documentation
2073
2074         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2075         make sure backwardChar is done at least once (to avoid getting
2076         stuck)
2077         (findNextChange): use putSelectionAt in the forward direction
2078         (operator()): use Paragraph::isWord
2079
2080 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2081
2082         * Spacing.C (set): c_str fix
2083
2084 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2085
2086         * lyx_cb.C (Reconfigure): quote the name of configure script in
2087         case it contains spaces
2088
2089 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2090
2091         * client: new dir
2092
2093         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2094         (BOOST_LIBS): use top_buildir when looking for the file
2095
2096 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2097
2098         * pch.h: do not use include boost/format.hpp, multiple symbols
2099                 will result (gcc bug)
2100
2101
2102 2004-08-23  José Matos  <jamatos@lyx.org>
2103
2104         * bufferparams.C (readToken): fix reading of the author field.
2105
2106 2004-08-20  José Matos  <jamatos@lyx.org>
2107
2108         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2109
2110 2004-08-20  José Matos  <jamatos@lyx.org>
2111
2112         * lyxlex.[Ch] (findToken): remove function.
2113
2114         * ParagraphParameters.C (findToken):
2115         * bufferparams.C (findToken): replace call for previous function
2116         with local copy. This local function has one more argument, the
2117         read string argument.
2118
2119 2004-08-16  José Matos  <jamatos@lyx.org>
2120
2121         * ParagraphParameters.C (write):
2122         * Spacing.C (writeFile):
2123         * bufferparams.C (writeLaTeX):
2124         * lyx_cb.C (Reconfigure):
2125         * paragraph.C (write):
2126         * tabular.C (write): remove unnecessary space at end of line.
2127
2128
2129 2004-08-16  José Matos  <jamatos@lyx.org>
2130
2131         * text.C (readParagraph): remove debug message.
2132
2133 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2134
2135         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2136         crash
2137
2138         * output_plaintext.C (asciiParagraph): set depth correctly
2139
2140         * outputparams.h: add member depth
2141
2142         * paragraph_funcs.C (ownerPar): remove.
2143
2144         * text2.C (setCounter): remove first_pit; comment out some
2145         non-working code that uses ownerPar
2146
2147         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2148         uses ownerPar
2149
2150 2004-08-16  José Matos  <jamatos@lyx.org>
2151
2152         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2153         For the same level of importance use the same chanel to report problems.
2154         (read): add code to deal with \begin_body and \end_body.
2155
2156
2157 2004-08-15  José Matos  <jamatos@lyx.org>
2158
2159         * lyxlex.C (getString): fix comment, buffer::readBody is now
2160         buffer:readDocument.
2161
2162         * tex-strings.C (string_papersize): Default -> default,
2163         Custom -> custom, for consistency with other options.
2164
2165 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2166
2167         * pch.h: new file
2168
2169         * Makefile.am: support pch
2170
2171 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2172
2173         * text.C (readParToken): remove the static LyXFont variable and
2174         pass it as a parameter instead. This fixes a nasty bug where an
2175         inset will be inserted with a bad font in some situations
2176         (readParagraph): adapt
2177
2178         * text2.C (setCounter): reduce number of calls to pars_[pit]
2179
2180         * text.C (singleWidth): add an assert, fix a test
2181
2182         * rowpainter.C (paintText): reduce number of calls to singleWidth
2183
2184         * paragraph.C (isHfill):
2185         (isNewline): ws only
2186
2187 2004-08-14  André Pönitz  <poenitz@gmx.net>
2188
2189         * text.C:
2190         * text2.C:
2191         * rowpainter.C:
2192         * lyxtext.h (several functions): use a Paragraph & argument
2193         instead of par_type
2194
2195 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2196
2197         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2198
2199         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2200
2201         * text.C (singleWidth): remove useless test
2202
2203 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2204
2205         * tabular.h: remove bogus comments
2206
2207         * tabular.C (getDescentOfRow):
2208         (isPartOfMultiColumn): add assertions
2209
2210         * lyxlength.C (inPixels): remove #warning
2211
2212 2004-08-14  André Pönitz  <poenitz@gmx.net>
2213
2214         * paragraph.h: inline getChar()
2215
2216         * BufferView.h: remove unused declarations
2217
2218 2004-08-14  José Matos  <jamatos@lyx.org>
2219
2220         * Buffer.[Ch] (readDocument): new name for old readBody.
2221         * Buffer.C: new file format, new keywords: \begin_document,
2222         \begin_header, \begin_body, \end_body.
2223
2224         * bufferparams.C (readToken): replace all calls to lex.nextToken
2225         by lex.next(). Do the same to eatLine except where really needed.
2226
2227         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2228         line when writing to the lyx file.
2229
2230         * output_plaintext.C (asciiParagraph): fix Bibliography style
2231         handling.
2232
2233         * text.C (read): fix end of file handling.
2234
2235 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2236
2237         * MenuBackend.C (Menu::operator[]): new method to access
2238         individual menu items
2239         (Menu::hasFunc): new method. search for an item that corresponds
2240         to a given func
2241         (MenuBackend::specialMenu): new method
2242         (MenuBackend::expand): if a special menu has been set, skip
2243         entries whose func() appears in this menu
2244
2245 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2246
2247         * text3.C: use Debug::DEBUG a bit more
2248
2249         * text.C (leftMargin): try to simplify a tiny bit change var x to
2250         l_margin. Dont output the wide margins always.
2251         (rightMargin): no margin in inner texts
2252
2253         * rowpainter.h (nestMargin): new func
2254         (changebarMargin): new func
2255         (rightMargin): new func
2256
2257         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2258         now functions.
2259         (paintLast): ditto
2260
2261         * factory.C (createInset): modify setDrawFrame
2262
2263         * cursor.C: use Debug::DEBUG a bit more
2264
2265 2004-08-14  André Pönitz  <poenitz@gmx.net>
2266
2267         * coordcache.[Ch]:
2268         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2269         cache for all insets in (at least partially) visible (top-level)
2270         paragraphs.
2271
2272         * BufferView_pimpl.C: reset external coord cache before every update.
2273         This means the coord cache only contains valid entries.
2274
2275 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2276
2277         bug 1096
2278         * BufferView_pimpl.C (getInsetByCode): move function out of class
2279         and change in to a template in anon namespace. Also fix to do what
2280         suits us better.
2281
2282 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2283
2284         bug 1305
2285         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2286         of char
2287         (breakParagraph): rename par to par_offset and use a local
2288         reference. Add code to keep the language over a rebreak.
2289         (breakParagraphConservative): rename par to par_offset, use a
2290         local reference
2291         (mergeParagraph): ditto
2292         (outerHook): ditto
2293         (isFirstInSequence): ditto
2294         (outerFont): rename pit to par_offset
2295
2296         * paragraph.C: ws change
2297         * paragraph.h: ditto
2298         * text3.C: ditto
2299         * text.C: ditto
2300
2301 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2302
2303         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2304         treatment for ']'
2305
2306         * paragraph.C (simpleTeXOnePar): when we have a \item with
2307         optional argument, enclose the argument with curly brackets (in
2308         case it contains a closing square bracket)
2309
2310         * text2.C (editXY):
2311         * text2.C (editXY):
2312         * text3.C (checkInsetHit): constify
2313
2314 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2315
2316         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2317         documents (bug 1629)
2318
2319 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2320
2321         Fix toggling of collapsable insets with the mouse (bug 1558)
2322
2323         * lyxfunc.C (dispatch): adapt to LCursor changes
2324
2325         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2326         make sure that dispatch is not invoked twice
2327
2328         * cursor.C (needsUpdate): new method
2329         (dispatch): return void
2330         (result): new method, to access the DispatchResult of the cursor.
2331
2332 2004-08-13  José Matos  <jamatos@lyx.org>
2333
2334         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2335
2336 2004-08-13  André Pönitz  <poenitz@gmx.net>
2337
2338         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2339
2340         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2341           multiple cells
2342
2343 2004-08-12  André Pönitz  <poenitz@gmx.net>
2344
2345         * text3.C: take out the 'cursor right' form insertInset and only
2346         do it in those places when it is really needed. Fixes crash on
2347         C-m...
2348
2349 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2350
2351         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2352
2353         * BufferView_pimpl.C (setBuffer): initialize the current font of
2354         the underlying LyXText
2355
2356 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2357
2358         * kbsequence.C (print): use UI native formatting for menu
2359         shortcuts
2360
2361         * text.C (insertChar): call Paragraph::insertChar with a font
2362         argument (cosmetic)
2363
2364         * paragraph.C (insertInset, insertChar): the version that takes a
2365         LyXFont argument is now a wrapper around the other one (the
2366         opposite used to be true).
2367
2368         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2369         argument. Font setting is done in Paragraph now.
2370
2371 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2372
2373         * outputparams.h: add new members intitle and lang.
2374
2375         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2376         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2377
2378 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2379
2380         * text3.C (dispatch): remove special handling of button 4 and 5,
2381         it is now taken care of in the frontend code.
2382
2383 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2384
2385         * Spacing.h: add <string> (STLPort compile fix)
2386
2387 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2388
2389         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2390
2391 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2392
2393         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2394         to bool.
2395
2396         * converter.C (showMessage): inherit from unary_function, make
2397         operator() const.
2398
2399         * buffer.C (writeFile): initialize retval
2400
2401         * InsetList.h: rename private variable list to list_
2402         * InsetList.[Ch]: adjust accordingly.
2403
2404 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2405
2406         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2407         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2408         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2409         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2410         * ParagraphParameters.C, LaTeXFeatures.C: replace
2411         "support/std_sstream.h" with <sstream>
2412
2413 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2414
2415         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2416         * lyxsocket.C (LyXServerSocket): ditto
2417         (serverCallback): ditto
2418
2419 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2420
2421         * LaTeXFeatures.C: check release date when loading jurabib.
2422
2423 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2424
2425         * lyxserver.C (startPipe): call register_socket_callback
2426         (endPipe): call unregister_socket_callback
2427
2428 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2429
2430         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2431         (LyXServerSocket): register the callback
2432         (LyXServerSocket): unregister the callback
2433         (fd): delete function
2434         (serverCallback): improve error checking and setup the callbacks.
2435         (dataCallback): change arg to fd.
2436         (writeln): new func (copied fro the client socket) used for server
2437         write to client.
2438         (LyXDataSocket): simplify
2439         (~LyXDataSocket): close ann unregiser callback
2440         (server): delete function
2441         (fd): delete function
2442         (readln): small changes, improve some std::string usage
2443         (writeln): constify a bit
2444
2445 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2446
2447         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2448         Qt frontend
2449
2450 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2451
2452         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2453         after it has been populated
2454
2455 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2456
2457         * text2.C (insertInset): move cursor when inserting inset.
2458
2459 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2460
2461         * kbmap.C (findbindings): a couple of new methods. returns a
2462         container of kb_sequence objects. The real work is done by the
2463         private recursive version
2464         (printbindings): uses findbindings to print out a bracketed list
2465         of bindings (renamed from findbinding).
2466
2467         * MenuBackend.C (binding): use kb_keymap::findbindings
2468
2469         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2470
2471 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2472
2473         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2474
2475 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2476
2477         * paragraph.C (isWord): return true on insets that report
2478         isLetter().
2479
2480         * text.C (getWord): use Paragraph::isWord to decide what is in a
2481         word and what is not; fix bug 1609.
2482
2483 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2484
2485         * tex-strings.C: add "none" to string_paperpackages[], fixes
2486         off-by-one-error in the paperpackage selection.
2487
2488         * lyxlex.[Ch]:
2489         * tex-strings.[Ch]: char const * string[n]
2490         -> char const * const string[]
2491
2492 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2493
2494         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2495         command, return early.
2496
2497 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2498
2499         * debug.h: add DEBUG to enum and fix size of ANY.
2500
2501         * debug.C: add support for Debug::DEBUG
2502         (showTags): cast errorTags.level to unsigned int
2503
2504         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2505         (redoCurrentBuffer): ditto
2506         (updateScrollbar): ditto
2507         * cursor.C (dispatch): ditto
2508         * text2.C (setLayout): ditto
2509         (setFont): ditto
2510         (updateCounters): ditto
2511         (editXY): ditto
2512         (deleteEmptyParagraphMechanism): ditto
2513
2514 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2515
2516         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2517         annotations to cleanup the Makefile slightly.
2518
2519 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2520
2521         * lyxrc.C: do not set user_email to a default value but use empty
2522         instead. The entry used to be translated, which does not work
2523         since at the point where lyxrc is constructed there is no
2524         translation service available
2525
2526         * messages.C (getLocaleDir): remove and use directly
2527         lyx_localedir() instead
2528
2529 2004-06-02  Angus Leeming  <leeming@lyx.org>
2530
2531         Fix crash caused by dereferencing null pointer 'exportdata' in
2532         OutputParams by creating a new ExportData variable on the heap,
2533         storing it in a boost::shared_ptr.
2534         The crash was triggered when generating an Instant Preview
2535         of an external inset.
2536
2537         * Makefile.am: add outputparams.C
2538
2539         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2540         (c-tor): allocate memory to it.
2541
2542         * exporter.C (c-tor): associated changes.
2543
2544 2004-06-01  Angus Leeming  <leeming@lyx.org>
2545
2546         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2547         contains data before calling isInset(0). (Bug 1513.)
2548
2549 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2550
2551         * exporter.C (checkOverwrite): new method
2552         * exporter.C (copyFile): new method
2553         * exporter.C (Export): copy referenced files to the document dir
2554         * exporter.[Ch]: new class ExportedFile
2555         * exporter.[Ch]: new class ExportData. Contains currently the
2556         names of referenced external files
2557         * outputparams.h: add exportdata member.
2558
2559 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2560
2561         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2562         version.C-tmp
2563
2564 2004-05-19  Angus Leeming  <leeming@lyx.org>
2565
2566         * LaTeXFeatures.C:
2567         * ToolbarBackend.C:
2568         * bufferparams.C:
2569         * lyxfunc.C: small changes due to the introduction of namespace
2570         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2571
2572 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2573
2574         * text3.C (dispatch): supress update when only moving the cursor
2575         * cursor.C (selHandle): remove commented code
2576
2577 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2578
2579         * paragraph.C (startTeXParParams): correct column count
2580         * CutAndPaste.C (pasteSelection): remove const_cast
2581         * output_docbook.C (docbookParagraphs): remove const_cast
2582         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2583         const_cast and return ParagraphList::const_iterator
2584         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2585         * output_plaintext.C (writeFileAscii): remove const_cast
2586         * paragraph.[Ch] (simpleTeXOnePar): make const
2587         * paragraph_funcs.C (outerPar): use const iterators
2588         * paragraph_pimpl.C (validate): use const iterators
2589         * text.C (setHeightOfRow): use const iterators
2590
2591 2004-05-17  Angus Leeming  <leeming@lyx.org>
2592
2593         * lfuns.h:
2594         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2595
2596         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2597         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2598         if the citation engine has changed.
2599
2600 2004-05-14  José Matos  <jamatos@lyx.org>
2601
2602         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2603         if the textclass does not provide it. Have it different for sgml and
2604         xml.
2605         support the language of document.
2606         * output_docbook.C (docbookParagraphs):
2607         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2608         first anchor as the id of the paragraph, remove special case code.
2609         * sgml.C (escapeChar): escape only < & >.
2610
2611 2004-05-14  Angus Leeming  <leeming@lyx.org>
2612
2613         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2614         dependencies on src/frontends/controllers/biblio.h. Define a
2615         CiteEngine_enum wrapper class to enable the enum to be forward
2616         declared.
2617
2618 2004-05-12  Angus Leeming  <leeming@lyx.org>
2619
2620         * buffer.C: up LYX_FORMAT to 234.
2621         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2622         use_numerical_citations with a single biblio::CiteEngine cite_engine
2623         variable.
2624         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2625
2626 2004-05-13  José Matos  <jamatos@lyx.org>
2627
2628         * converter.h:
2629         * converter.C (Converter, readFlags): add xml member.
2630         * outputparams.h: add XML flavor.
2631         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2632
2633 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2634
2635         * lyxfunc.C (dispatch):
2636         (getStatus): fix handling of LFUN_SEQUENCE
2637
2638 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2639
2640         * debug.C (showLevel): do not forget the end-of-line marker
2641
2642 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2643
2644         * kbmap.C (read): do not stop parsing a bind file when an error
2645         occurs (bug 1575)
2646
2647 2004-04-29  Angus Leeming  <leeming@lyx.org>
2648
2649         * cursor.C:
2650         * factory.C:
2651         * pariterator.C:
2652         * text2.C: wrap a bunch of #warning statements
2653         inside #ifdef WITH_WARNINGS blocks.
2654
2655 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2656
2657         * buffer.C: increment format to 233.
2658
2659 2004-04-28  Angus Leeming  <leeming@lyx.org>
2660
2661         * BufferView_pimpl.C:
2662         * lyxfunc.C:
2663         * text3.C:
2664         s/updateToolbar()/updateToolbars()/
2665         s/Toolbar.h/Toolbars.h/
2666
2667 2004-04-28  Angus Leeming  <leeming@lyx.org>
2668
2669         * BufferView.[Ch] (c-tor):
2670         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2671         No longer passes these data to the WorkArea generator.
2672
2673 2004-04-28  Angus Leeming  <leeming@lyx.org>
2674
2675         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2676
2677 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2678
2679         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2680
2681 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2682
2683         * output_latex.C (TeXEnvironment): make sure that there is a line
2684         break before \end{foo} for the last paragraph of a document
2685         (TeXOnePar): if the paragraph is at the end of the document (or
2686         inset) and the language has to be reset, then make sure that the
2687         line break is _before_ the language command, not after (fixes bug
2688         1225); also make sure that the language reset command is the first
2689         thing after the paragraph (to ensure proper nesting of
2690         environments and thus fix bug 1404)
2691
2692 2004-04-21  John Levon  <levon@movementarian.org>
2693
2694         * ToolbarBackend.h:
2695         * ToolbarBackend.C: make "name" be a programmatic name
2696         and a gui_name field.
2697
2698         * lyxfunc.C: display the minibuffer on M-x
2699
2700 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2701
2702         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2703         (bug 1526)
2704
2705 2004-04-19  Angus Leeming  <leeming@lyx.org>
2706
2707         * BufferView_pimpl.C (setBuffer): changed preview interface.
2708
2709         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2710         possible values.
2711
2712 2004-04-19  John Levon  <levon@movementarian.org>
2713
2714         * BufferView_pimpl.C:
2715         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2716
2717 2004-04-05  Angus Leeming  <leeming@lyx.org>
2718
2719         * text.C (redoParagraphs): add call to updateCounters(), thereby
2720         fixing the missing "Figure #:" label from the caption of a
2721         figure float.
2722
2723 2004-04-13  Angus Leeming  <leeming@lyx.org>
2724
2725         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2726         cursor is clicked out of an inset.
2727
2728 2004-04-13  Angus Leeming  <leeming@lyx.org>
2729
2730         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2731         than an InsetOld one.
2732
2733 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2734
2735         * format.[Ch]: add editor to Format
2736         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2737         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2738
2739 2004-04-08  André Pönitz  <poenitz@gmx.net>
2740
2741         * metricsinfo.h: remove PainterInfo::width member
2742
2743 2004-04-08  Angus Leeming  <leeming@lyx.org>
2744
2745         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2746         "\providecommand" rather than "\newcommand", thereby preventing
2747         clashes with packages that define "\boldsymbol" themselves.
2748         Eg, beamer.
2749
2750 2004-04-08  Angus Leeming  <leeming@lyx.org>
2751
2752         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2753         thereby squashing an unnecessary warning.
2754
2755 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2756
2757         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2758         setBuffer()
2759
2760 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2761
2762         * BufferView.C (setCursor): call redoParagraph (some insets could
2763         have been opened)
2764         (putSelectionAt): remove the 'double update' trick
2765
2766         * BufferView_pimpl.C (fitCursor): call refreshPar
2767         (workAreaDispatch): remove an uneeded update call
2768         (dispatch): remove some manual update calls
2769
2770         * cursor.[Ch]: remove cached_y_, updatePos
2771         (selHandle): set noUpdate when appropriate
2772
2773         * lyxfunc.C (dispatch): track if we need an update
2774
2775         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2776
2777         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2778         (paintSelection): cheap optimization, do not call cursorX when not
2779         needed
2780         (paintPars): change signature
2781         (refreshPar): add
2782         (paintText): adjust
2783         (paintTextInset): adjust
2784
2785         * text.C: adjust
2786
2787 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2788
2789         * lengthcommon.C: compilation fix: remove explicit array size from
2790         unit_name[] and friends
2791
2792 2004-04-05  Angus Leeming  <leeming@lyx.org>
2793
2794         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2795
2796         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2797         present only for the preferences dialog.
2798         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2799
2800 2004-04-05  Angus Leeming  <leeming@lyx.org>
2801
2802         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2803         to enable the frontends to export changes to lyxrc correctly.
2804
2805         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2806
2807 2004-04-07  André Pönitz  <poenitz@gmx.net>
2808
2809         * cursor.[Ch] (selClear, adjust): remove math
2810
2811         * cursor_slice.C: more agressive assert
2812
2813         * lyxfunc.C:
2814         * BufferView_pimpl.C: rework mouse event dispatch
2815
2816         * dociterator.C:
2817         * paragraph.C:
2818         * text2.C:
2819         * text3.C: adjust
2820
2821 2004-04-05  André Pönitz  <poenitz@gmx.net>
2822
2823         * cursor.[Ch] (valign, halign...): remove unneeded functions
2824
2825 2004-04-05  Angus Leeming  <leeming@lyx.org>
2826
2827         * lyxlength.[Ch] (unit_name et al.): const-correct.
2828
2829 2004-04-05  Angus Leeming  <leeming@lyx.org>
2830
2831         * BufferView_pimpl.C:
2832         * buffer.C:
2833         * counters.C:
2834         * cursor.C:
2835         * lyxfunc.C
2836         * paragraph.C:
2837         * pariterator.C:
2838         * text.C:
2839         * text2.C:
2840         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2841
2842 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2843
2844         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2845
2846 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2847
2848         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2849         * BufferView_pimpl.[Ch] (getStatus)
2850         * BufferView.[Ch] (getStatus): add
2851         * lyxfunc.C (getStatus): move lfuns handled in
2852         BufferView::dispatch to te function above
2853         * Cursor.C (setSelection): set selection() = true
2854
2855 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2856
2857         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2858
2859 2004-03-31  Angus Leeming  <leeming@lyx.org>
2860
2861         * lyxfunc.C (dispatch): Fall through to the generic
2862         Dialogs::show("preamble").
2863
2864 2004-03-31  Angus Leeming  <leeming@lyx.org>
2865
2866         * lyxfunc.C (dispatch): Fall through to the generic
2867         Dialogs::show("spellchecker").
2868
2869 2004-03-31  Angus Leeming  <leeming@lyx.org>
2870
2871         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2872         preferences dialog.
2873
2874 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2875
2876         * BufferView.C
2877         * cursor.[Ch]
2878         * dociterator.[Ch]:
2879         * insetiterator.[Ch]:
2880         * lyxfind.C:
2881         * lyxfunc.C:
2882         * pariterator.[Ch]:
2883         * text2.C:
2884         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2885
2886 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2887
2888         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2889         insets where we are putting the cursor.
2890
2891 2004-03-31  Angus Leeming  <leeming@lyx.org>
2892
2893         * lfuns.h:
2894         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2895
2896         * lyxrc.[Ch] (read, write): overloaded member functions taking
2897         a std::[io]stream arguments.
2898
2899         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2900
2901 2004-03-31  Angus Leeming  <leeming@lyx.org>
2902
2903         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2904         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2905
2906         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2907         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2908
2909 2004-03-31  Angus Leeming  <leeming@lyx.org>
2910
2911         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2912         the LFUN_ALL_INSETS_TOGGLE code.
2913
2914 2004-03-30  Angus Leeming  <leeming@lyx.org>
2915
2916         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2917         has died. Fall through to the generic Dialogs::show("document").
2918
2919 2004-03-30  Angus Leeming  <leeming@lyx.org>
2920
2921         * lfuns.h:
2922         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2923         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2924
2925         * lyxfunc.C (getStatus, dispatch): define the actions for these
2926         lfuns. Little more than a cut and pste job from ControlDocument.C
2927
2928         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2929
2930 2004-03-30  Angus Leeming  <leeming@lyx.org>
2931
2932         * lfuns.h:
2933         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2934         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2935
2936         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2937         open/closed state of ollapsable insets. Usage:
2938
2939         all-inset-toggle <state> <name>, where
2940         <state> == "open" || "closed" || "toggle" and
2941         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2942
2943         * lyxtext.h, text2.C (toggleInset): removed.
2944
2945         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2946         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2947         now passes LFUN_INSET_TOGGLE to the found inset.
2948
2949         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2950         is now invoked as "all-insets-toggle toggle branch".
2951
2952 2004-03-30  Angus Leeming  <leeming@lyx.org>
2953
2954         * dociterator.C:
2955         * insetiterator.C:
2956         * pariterator.[Ch]: added/corrected header blurb.
2957
2958 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2959
2960         * dociterator.[Ch]: add an inset_ member
2961         (backwardPos): implemented
2962         (backwardPos, forwardPos): use inset_ when the stack is empty.
2963         (doc_iterator_begin, doc_iterator_end): implemented
2964         * pariterator.[Ch]: adjust, add begin, end
2965         * insetiterator.[Ch]: adjust, add begin, end
2966         * cursor.C:
2967         * document.C:
2968         * BufferView.C:
2969         * BufferView_pimpl.C:
2970         * CutAndPaste.C: adjust
2971
2972 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2973
2974         * buffer.C: increment file format to 232.
2975         * LaTeXFeatures.C: add bibtopic package.
2976         * bufferparams.[Ch]: param \use_bibtopic.
2977
2978         * lyxrc.[Ch]: add lyxrc bibtex_command
2979         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2980
2981         * buffer.C: increment file format to 231.
2982
2983 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2984
2985         * dociterator.C: implement forwardPar
2986         * iterators.[Ch]: remove, replaced by
2987         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2988         * BufferView.C:
2989         * BufferView_pimpl.C:
2990         * CutAndPaste.C:
2991         * buffer.C:
2992         * bufferview_funcs.C:
2993         * cursor.C:
2994         * lyxfind.C
2995         * lyxfunc.C
2996         * paragraph_funcs.C
2997         * toc.C:
2998         * Makefile.am: adjust
2999
3000 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3001
3002         * CutAndPaste.C (pasteSelection): fix 2 crashes
3003         (eraseSelection): fix a crash
3004         * paragraph_funcs.C: remove a warning
3005
3006 2004-03-28  Angus Leeming  <leeming@lyx.org>
3007
3008         * lfuns.h:
3009         * LyXAction.C (init): new LFUN_PRINT.
3010
3011         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3012
3013 2004-03-27  Angus Leeming  <leeming@lyx.org>
3014
3015         * lfuns.h:
3016         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3017
3018         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3019
3020 2004-03-27  Angus Leeming  <leeming@lyx.org>
3021
3022         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3023         insetlist always contains non-null pointers to insets.
3024
3025 2004-03-26  Angus Leeming  <leeming@lyx.org>
3026
3027         * src/BufferView_pimpl.C:
3028         * src/CutAndPaste.C:
3029         * src/buffer.C:
3030         * src/iterators.C:
3031         * src/output_plaintext.C:
3032         * src/outputparams.h:
3033         * src/paragraph_funcs.C:
3034         * src/rowpainter.C:
3035         * src/text.C:
3036         * src/text2.C:
3037         * src/frontends/controllers/ControlErrorList.C:
3038         * src/frontends/gtk/FileDialogPrivate.C:
3039         * src/frontends/gtk/GPainter.C:
3040         * src/frontends/gtk/GToolbar.C:
3041         * src/frontends/qt2/QRef.C:
3042         * src/mathed/math_scriptinset.C: squash compiler warnings.
3043
3044 2004-03-26  Angus Leeming  <leeming@lyx.org>
3045
3046         * ispell.C (LaunchIspell::start):
3047         * lyx_cb.C (AutoSaveBuffer::start):
3048         invoke run(DontWait) rather than runNonBlocking().
3049
3050 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3051
3052         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3053
3054 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3055
3056         * kbsequence.C (print): adjust
3057
3058         * kbmap.C (printKeySym): rename and change signature
3059         (printKey): use LyXKeySym::print()
3060
3061 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3062
3063         * undo.C: add using std::advance to compile for stlport
3064
3065 2004-03-24  Angus Leeming  <leeming@lyx.org>
3066
3067         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3068         it leads to a crash when no buffer is present.
3069
3070 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3071             Martin Vermeer  <martin.vermeer@hut.fi>
3072
3073         * lyxfunc.C (dispatch):
3074         * bufferparams.C (readToken): use the new LColor::setColor
3075
3076         * LColor.[Ch] (setColor): new version that takes two strings as
3077         argument and creates a new color entry if necessary
3078
3079 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3080
3081         * buffer.C (makeLaTeXFile): if the main latex file that is
3082         processed is usually a subdocument of some master, then pretend
3083         for a while that it is actually the master
3084
3085 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3086
3087         * buffer.C (getLabelList):
3088         (getBibkeyList): use getMasterBuffer()
3089         (getMasterBuffer): new method. Returns the main document in the
3090         case where one is using included documents.
3091
3092 2004-03-25  André Pönitz  <poenitz@gmx.net>
3093
3094         * Makefile.am:
3095         * iterators.[Ch]:
3096         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3097
3098         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3099
3100         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3101         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3102
3103         * ParameterStruct.h: merge with ParagraphParameters
3104
3105         * lyxtext.h: remove LyXText::parOffset() and getPar()
3106
3107         * text3.C: Remove all 'manual' update calls. We do now one per user
3108         interaction which is completely sufficient.
3109
3110         * Bidi.C:
3111         * BufferView.[Ch]:
3112         * BufferView_pimpl.C:
3113         * FontIterator.[Ch]:
3114         * MenuBackend.C:
3115         * ParagraphParameters.[Ch]:
3116         * buffer.C:
3117         * buffer.h:
3118         * bufferlist.C:
3119         * cursor.[Ch]:
3120         * cursor_slice.[Ch]:
3121         * dociterator.[Ch]:
3122         * errorlist.[Ch]:
3123         * factory.C:
3124         * lfuns.h:
3125         * lyxfind.C:
3126         * lyxfunc.C:
3127         * output_docbook.[Ch]:
3128         * output_latex.[Ch]:
3129         * output_linuxdoc.[Ch]:
3130         * output_plaintext.[Ch]:
3131         * paragraph.[Ch]:
3132         * paragraph_funcs.[Ch]:
3133         * paragraph_pimpl.[Ch]:
3134         * rowpainter.C:
3135         * tabular.[Ch]:
3136         * text.C:
3137         * text2.C:
3138         * toc.C:
3139         * undo.[Ch]: adjust
3140
3141         * frontends/controllers/ControlDocument.C:
3142         * frontends/controllers/ControlErrorList.C:
3143         * frontends/controllers/ControlSpellchecker.C:
3144         * insets/inset.C:
3145         * insets/inset.h:
3146         * insets/insetbase.h:
3147         * insets/insetbibitem.C:
3148         * insets/insetbox.C:
3149         * insets/insetbranch.C:
3150         * insets/insetcaption.C:
3151         * insets/insetcharstyle.C:
3152         * insets/insetcharstyle.h:
3153         * insets/insetcollapsable.C:
3154         * insets/insetcollapsable.h:
3155         * insets/insetert.C:
3156         * insets/insetfloat.C:
3157         * insets/insetfoot.C:
3158         * insets/insetmarginal.C:
3159         * insets/insetnote.C:
3160         * insets/insetoptarg.C:
3161         * insets/insettabular.C:
3162         * insets/insettext.C:
3163         * insets/insettext.h:
3164         * insets/insetwrap.C:
3165         * mathed/math_mboxinset.C:
3166         * mathed/math_nestinset.C:
3167         * mathed/math_scriptinset.C:
3168         * mathed/math_scriptinset.h:
3169         * support/types.h:
3170
3171 2004-03-24  Angus Leeming  <leeming@lyx.org>
3172
3173         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3174         deal with any child processes that have finished but are waiting to
3175         communicate this fact to the rest of LyX.
3176
3177 2004-03-24  Angus Leeming  <leeming@lyx.org>
3178
3179         64-bit compile fixes.
3180
3181         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3182         (c-tor): pass lyx::pos_types rather than ints.
3183
3184         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3185         lyx::pos_type.
3186
3187         * text.C (Delete): compile fix.
3188         (getPar): ensure that function declaration is the same as that in
3189         the header file.
3190
3191 2004-03-23  Angus Leeming  <leeming@lyx.org>
3192
3193         * ispell.C (LaunchIspell):
3194         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3195         a boost::shred_ptr rather than a std::auto_ptr.
3196
3197 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3198
3199         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3200         handle LFUN_FILE_INSERT_*
3201
3202         * lyxrc.C (setDefaults, getDescription, output, read):
3203         * lyxrc.h: remove ps_command
3204
3205 2004-03-22  Angus Leeming  <leeming@lyx.org>
3206
3207         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3208         Ensure that error_handler is processed once only and that all data
3209         is saved before attempting to output any warning messages.
3210
3211         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3212
3213 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3214
3215         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3216
3217 2004-03-19  André Pönitz  <poenitz@gmx.net>
3218
3219         * cursor.[Ch] (reset): take main text inset as argument
3220
3221         * BufferView: adjust
3222         * BufferView_pimpl.C: adjust
3223
3224         * paragraph.[Ch]: fix completely broken operator=()
3225
3226 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3227
3228         * LColor.C (getFromLyXName): make sure that the color name is used
3229         as lowercase.
3230
3231 2004-03-17  Angus Leeming  <leeming@lyx.org>
3232
3233         * lfuns.h:
3234         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3235
3236         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3237         dialog and to kill a forked process.
3238
3239 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3240
3241         * text2.C (setCursorFromCoordinates): fix font problem
3242
3243 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3244
3245         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3246         bogus "rebuild cursor" code
3247
3248 2004-03-11  André Pönitz  <poenitz@gmx.net>
3249
3250         * buffer.[Ch]: use InsetText instead of LyXText as container for
3251         the main lyx text.
3252
3253         * dociterator.[Ch]: drop the BufferView * member which is not needed
3254         anymore after the change to buffer.C
3255
3256         * paragraph_funcs.C:
3257         * text.C:
3258         * text2.C:
3259         * BufferView.[Ch]:
3260         * BufferView_pimpl.[Ch]:
3261         * cursor.[Ch]:
3262         * cursor_slice.[Ch]: adjust
3263
3264         * text3.C: fix bug in mathDispatch
3265
3266 2004-03-08  André Pönitz  <poenitz@gmx.net>
3267
3268         * undo.[Ch]: use 'StableDocumentIterator' as base for
3269         the Undo struct.
3270
3271 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3272
3273         * LaTeXFeatures.C:
3274         * bufferparams.[Ch]: add jurabib support and param.
3275
3276         * LaTeX.C: add FIXME/comment.
3277
3278 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3279
3280         * buffer.C: increment file format to 230.
3281
3282 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3283
3284         * cursor.C (dispatch): avoid infinite loops
3285
3286 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3287
3288         * rowpainter.C (paintSelection): fix x coordinates
3289
3290 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3291
3292         * text.C (rowBreakPoint): fix breaking before displayed insets
3293
3294 2004-03-01  André Pönitz  <poenitz@gmx.net>
3295
3296         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3297
3298         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3299
3300         * Makefile.am:
3301         * BufferView.C:
3302         * BufferView_pimpl.C:
3303         * buffer.C:
3304         * lyxfind.C:
3305         * lyxfunc.C:
3306         * text.C:
3307         * text2.C:
3308         * text3.C: adjust
3309
3310 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3311
3312         * lyxtext.h:
3313         * text.C:
3314         * text2.C:
3315         * rowpainter.C:
3316         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3317         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3318
3319 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3320
3321         * Bidi.[Ch] (computeTables): const correctness
3322         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3323         fill_hfill, fill_label_hfill and x from Row
3324         * lyxtext.h: prepareToPrint returns a RowMetrics
3325         * rowPainter.C: adjust
3326         * text.C (prepareToPrint): use width, not textWidth. adjust
3327         (redoParagraphInternal, cursorX): adjust
3328         * text2.C (getColumnNearX): adjust
3329         (init): put a default value to the top LyXText::width
3330
3331 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3332
3333         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3334
3335 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3336
3337         * lyxtext.h: add FontIterator class
3338
3339         * text.C (FontIterator, operator*, operator->, operator++): add
3340         (rowBreakPoint, setRowWidth): adjust (fixing a
3341         rebreaking bug)
3342
3343 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3344
3345         * BufferView_pimpl.C (workAreaDispatch): allow also
3346         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3347
3348 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3349
3350         * text.C (rowBreakPoint): fix a bug showing with very large insets
3351
3352 2004-02-25  André Pönitz  <poenitz@gmx.net>
3353
3354         * text3.C:
3355         * cursor.[Ch]: move some mathed specific code to mathed
3356
3357 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3358
3359         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3360         use_tempdir in preferences
3361         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3362         tempfile creation
3363         * lyx_main.C: ensure that tempdir is valid
3364         * lyxlex.h: correct typo
3365         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3366         * paragraph.[Ch] (isMultiLingual): make const
3367         * cursor.[Ch] (openable): make const
3368
3369 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3370
3371         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3372
3373 2004-02-20  André Pönitz  <poenitz@gmx.net>
3374
3375         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3376
3377         * cursor.[Ch]: prepare for localized getStatus()
3378
3379         * lyxtext.h:
3380         * tabular.C:
3381         * text.C:
3382         * text2.C:
3383         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3384
3385 2004-02-20  André Pönitz  <poenitz@gmx.net>
3386
3387         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3388
3389 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3390
3391         * text2.C (setCursorFromCoordinates): switch to absolute coords
3392         (cursorUp): adjust
3393         (cursorDown): adjust
3394         * text3.C (dispatch): adjust
3395
3396 2004-02-16  André Pönitz  <poenitz@gmx.net>
3397
3398         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3399           insets/ChangeLog)
3400
3401         * cursor_slice.[Ch]: remove unneeded acessor function
3402
3403         * lyxtext.h: rename rtl() to isRTL()
3404
3405         * rowpainter.C:
3406         * tabular.C:
3407         * text.C:
3408         * text2.C:
3409         * text3.C: adjust
3410
3411 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3412
3413         * rowpainter.C (paintSelection): coord fix
3414
3415 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3416
3417         * Spacing.C: compile fix
3418
3419 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3420
3421         * cursor.C (dispatch): restore current_ before returning
3422
3423 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3424
3425         * text2.C (cursorUp, cursorDown): fix coords
3426         (moveUp): fix crash
3427
3428 2004-02-12  André Pönitz  <poenitz@gmx.net>
3429
3430         * lyxtext.h:
3431         * text.C:
3432         * text2.C:
3433         * text3.C: add LCursor & parameter to most cursor movement functions
3434           remove usage of LyXText::cursorRow() and cursorPar()
3435
3436         * cursor.[Ch]: add textRow() needed members
3437
3438         * BufferView.C:
3439         * BufferView_pimpl.C:
3440         * paragraph.[Ch]:
3441         * BufferView.C:
3442         * BufferView_pimpl.C: adjust
3443
3444 2004-02-11  André Pönitz  <poenitz@gmx.net>
3445
3446         * lyxfunc.C:
3447         * BufferView.[Ch]:
3448         * BufferView_pimpl.C: shift undo/redo handling
3449
3450         * cursor.[Ch]: fix mathed crash
3451
3452         * lyxfind.C:
3453         * lyxtext.h: move selectionAsText to LCursor
3454
3455         * output_latex.C:
3456         * paragraph.C:
3457         * text.C:
3458         * text2.C:
3459         * text3.C: adjust
3460
3461         * rowpainter.C: fix excessive drawing
3462
3463 2004-02-06  André Pönitz  <poenitz@gmx.net>
3464
3465         * BufferView.[Ch]:
3466         * BufferView_pimpl.[Ch]:
3467         * text3.C: move some text specific LFUN handling
3468
3469 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3470
3471         * text3.C (checkInsetHit): adjust coords
3472         * text2.C (getColumnNearX): adjust coords
3473         (edit): adjust coords
3474         * text.C (getRowNearY): add two asserts
3475
3476 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3477
3478         * converter.C:
3479         * format.C: add using std::distance to compile on gcc 2.95/stlport
3480
3481 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3482
3483         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3484
3485 2004-02-04  André Pönitz  <poenitz@gmx.net>
3486
3487         * BufferView.[Ch] (insertInset):
3488         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3489
3490         * text2.C:
3491         * text3.C: adjust
3492
3493 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3494
3495         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3496         on the default clause of the switch
3497         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3498         wasn't catched by LCursor::dispatch
3499
3500 2004-02-03  André Pönitz  <poenitz@gmx.net>
3501
3502         * BufferView.C:
3503         * cursor.[Ch]: some additional asserts
3504
3505         * undo.[Ch]: remove LyXText dependency in interface
3506
3507         * lyxfunc.C: adjust
3508
3509         * lyxtext.h (firstPar, lastPar): remove dead functions
3510
3511         * text.C:
3512         * text2.C:
3513         * text3.C:
3514         * paragraph.[Ch]: adjust
3515
3516 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3517
3518         * lyxfind.C (find): fix argument order in call to ::find
3519
3520 2004-02-02  André Pönitz  <poenitz@gmx.net>
3521
3522         * cursor.[Ch]: remove direct access to anchor
3523
3524         * text.C: remove findText() hack
3525
3526 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3527
3528         * iterators.[Ch] (lockPath): remove in favour of...
3529         * BufferView.[Ch] (setCursor): this addition
3530         * BufferView.C (putSelectionAt): adjust
3531         * undo.C (performUndoOrRedo): adjust
3532         * lyxfunc.C (dispatch): adjust
3533
3534 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3535
3536         * iterators.C (lockPath): add a missing slice
3537         * undo.C (performUndoOrRedo): remove redundant positioning code
3538
3539 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3540
3541         * vc-backend.C (scanMaster): ";" -> ';'
3542
3543 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3544
3545         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3546         std::binary_function
3547
3548         * lyxtextclass.C (compare_name): rename to...
3549         (LayoutNamesEqual): ...this
3550
3551         * lyxlex_pimpl.C (compare_tags): inherit from
3552         std::binary_function, put back into anon namespace
3553
3554         * lyxfind.C (MatchString): inherig from std::binary_function
3555         (findChange): use empty() istead of !size()
3556
3557         * format.C (FormatNamesEqual): new functor
3558         (getFormat): use it
3559         (getNumber): use it
3560         (add): use it
3561         (erase): use it
3562         (setViewer): use it
3563
3564         * converter.C (compare_Converter): rename to...
3565         (ConverterEqual): ...this, and fixup a bit.
3566         (getConverter): use it, and make function const
3567         (getNumber): use it, and make function const
3568         (add): use it
3569         (erase): use it:
3570
3571         * bufferlist.C: add using boost::bind
3572
3573         * MenuBackend.C (MenuNamesEqual): new functor
3574         (hasMenu): use it, and make function const
3575         (hasSubmenu): use nested bind to get rid of compare_memfun.
3576
3577 2004-01-30  André Pönitz  <poenitz@gmx.net>
3578
3579         * BufferView_pimpl.C:
3580         * cursor.C:
3581         * cursor.h:
3582         * cursor_slice.[Ch]:
3583         * lyxfunc.C:
3584         * lyxtext.h:
3585         * paragraph_funcs.C:
3586         * paragraph_funcs.h:
3587         * rowpainter.C:
3588         * text.C:
3589         * text2.C:
3590         * text3.C: move some of the edit(x,y) handling to the insets
3591         some coordinate changes.
3592
3593 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3594
3595         * text.C: add using statements for std::advance and std::distance
3596
3597         * paragraph.C: add using statement for std::distance
3598
3599         * lyxfind.C: add using statement for std::advance
3600
3601         * cursor.C (region): remove std:: from swap
3602         (openable): use nucleus in stead of operator->
3603
3604         * BufferView.C: add using statements for std::distance and std::swap
3605
3606 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3607
3608         * iterators.C: Remove the pimple, move the needed structures to
3609         the header file. Create accessor for the positions stack.
3610         (asPosIterator): remove function
3611
3612         * PosIterator.C (PosIterator): move constructors to top of file
3613         (PosIterator): reimplement the constructor taking a ParIterator in
3614         terms of setFrom.
3615         (setFrom): new function
3616         (operator!=): inline it
3617
3618 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3619
3620         * lyxfind.C (replaceAll): use std::advance
3621
3622         * iterators.h: inherit from std::iterator.
3623
3624         * PosIterator.C (advance, distance): remove
3625         * PosIterator.h: interit from std::iterator.
3626
3627 2004-01-26  André Pönitz  <poenitz@gmx.net>
3628
3629         * BufferView.[Ch]:
3630         * BufferView_pimpl.[Ch]:
3631         * InsetList.[Ch]:
3632         * PosIterator.[Ch]:
3633         * buffer.h:
3634         * bufferview_funcs.C:
3635         * cursor.[Ch]:
3636         * cursor_slice.h:
3637         * factory.[Ch]:
3638         * iterators.[Ch]:
3639         * lyxfind.C:
3640         * lyxfunc.C:
3641         * lyxtext.h:
3642         * output_docbook.C:
3643         * output_latex.C:
3644         * output_linuxdoc.C:
3645         * output_plaintext.C:
3646         * paragraph.[Ch]:
3647         * paragraph_funcs.[Ch]:
3648         * paragraph_pimpl.[Ch]:
3649         * rowpainter.C:
3650         * tabular.C:
3651         * tabular.h:
3652         * text.C:
3653         * text2.C:
3654         * text3.C: more IU:  dumps most of the rest of the mathcursor
3655     implementation into cursor.[Ch]; "globalize" a bit of it.
3656
3657 2004-01-25  Angus Leeming  <leeming@lyx.org>
3658
3659         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3660
3661 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3662
3663         * LaTeXFeatures.h: add nice_ and nice() const
3664         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3665
3666 2004-01-20  André Pönitz  <poenitz@gmx.net>
3667
3668         * BufferView.[Ch]:
3669         * BufferView_pimpl.C:
3670         * PosIterator.C:
3671         * bufferview_funcs.C:
3672         * cursor.[Ch]:
3673         * cursor_slice.[Ch]:
3674         * factory.C:
3675         * iterators.C:
3676         * lyx_cb.C:
3677         * lyxfind.C:
3678         * lyxfunc.C:
3679         * lyxtext.h:
3680         * rowpainter.C:
3681         * text.C:
3682         * text2.C:
3683         * text3.C:
3684         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3685           LCursor and mathcursor parts to LCursor and InsetBase.
3686
3687 2004-01-15  André Pönitz  <poenitz@gmx.net>
3688
3689         * cursor_slice.[Ch]: add a few covienience functions
3690
3691         * funcrequest.[Ch]: remove BufferView * member
3692
3693         * BufferView_pimpl.C:
3694         * cursor.C:
3695         * factory.[Ch]:
3696         * lyxfind.[Ch]:
3697         * lyxfunc.C:
3698         * lyxtext.h:
3699         * text3.C:
3700         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3701
3702 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3703
3704         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3705         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3706
3707 2004-01-13  André Pönitz  <poenitz@gmx.net>
3708
3709         * textcursor.[Ch]:
3710         * lyxtext.h: hide cursor and selection anchor behind accessor function
3711
3712         * BufferView.C:
3713         * BufferView_pimpl.[Ch]:
3714         * PosIterator.C:
3715         * bufferview_funcs.C:
3716         * cursor.h:
3717         * lyxfind.C:
3718         * lyxfunc.C:
3719         * text.C:
3720         * text2.C:
3721         * text3.C:
3722         * undo.C: adjust
3723
3724         * cursor.h:
3725         * cursor_slice.[Ch]: some integer type changes for inset unification
3726
3727         * lyxcursor.[hC]: remove, it's CursorSlice now.
3728
3729         * Makefile.am:
3730         * BufferView_pimpl.[Ch]:
3731         * bufferview_funcs.C:
3732         * cursor_slice.C:
3733         * lyxtext.h:
3734         * text.C:
3735         * text2.C:
3736         * text3.C:
3737         * textcursor.[Ch]: adjust
3738
3739 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3740
3741         * text2.C (undoSpan): add and use
3742         * text.C (breakParagraph): use undoSpan (fix bug 578)
3743         * lyxtext.h: adjust
3744
3745 2004-01-08  Angus Leeming  <leeming@lyx.org>
3746
3747         * BufferView_pimpl.C (MenuInsertLyXFile):
3748         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3749         * lyxfunc.C (menuNew, open, doImport):
3750         FileFilterList change to the FileDialog open and save functions.
3751
3752 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3753
3754         * ShareContainer.h: make isEqual and isUnique adaptable
3755
3756         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3757
3758 2004-01-07  Angus Leeming  <leeming@lyx.org>
3759
3760         * LyXAction.C:
3761         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3762
3763         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3764
3765         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3766         functions replacing find, replace and replaceAll.
3767
3768         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3769         LFUN_WORDFIND(FORWARD|BACKWARD).
3770
3771 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3772
3773         * text.C (breakParagraph): remove an outdated #warning
3774
3775 2004-01-07  André Pönitz  <poenitz@gmx.net>
3776
3777         * lyxfind.C: somewhat clearer logic
3778
3779         * text.C: prevent crash in cursorX on unitialized row cache
3780
3781 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3782
3783         * lyxcursor.[Ch] (operator>): add
3784         * textcursor.C (selStart, selEnd): use std::min and std::max
3785
3786 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3787
3788         * Chktex.C: include boost/format.hpp
3789
3790 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3791
3792         * InsetList.C: replace functor MathcIt with adaptable functor
3793         InsetTablePosLess
3794         (insetIterator): modify accordingly
3795
3796         * BranchList.h: move the BranchNamesEqual functor here from...
3797         * BranchList.C: ... to here
3798
3799         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3800         SameName and match.
3801         (add): replace a finding loop with std::find_if.
3802
3803 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3804
3805         * output_docbook.C: moving LatexParam functionality into
3806         .layout files
3807
3808 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3809
3810         * buffer.C: increment format to 229.
3811
3812 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3813
3814         * LaTeXFeatures.C:
3815         * lyx_sty.[Ch]: remove minipageindent_def
3816
3817         * LyXAction.C:
3818         * factory.C:
3819         * lfuns.h:
3820         * lyxfunc.C:
3821         * text3.C: remove LFUN_INSET_MINIPAGE
3822
3823 2003-12-28  Angus Leeming  <leeming@lyx.org>
3824
3825         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3826
3827 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3828
3829         * text2.C (setParagraph): fix off-by-one crash
3830
3831 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3832
3833         * output_docbook.C: header stuff for AGU
3834
3835 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3836
3837         * text2.C (redoCursor): remove
3838         * text.C:
3839         * text3.C:
3840         * BufferView_pimpl.C: remove calls to redoCursor and
3841         setCursor(cursor.par(), cursor.pos()) all around
3842
3843 2003-12-15  Angus Leeming  <leeming@lyx.org>
3844
3845         * buffer.C: up the format to 228.
3846
3847 2003-12-15  André Pönitz  <poenitz@gmx.net>
3848
3849         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3850         slices
3851
3852         * Makefile.am:
3853
3854         * BufferView_pimpl.C:
3855         * cursor.[Ch]:
3856         * lyxcursor.[Ch]:
3857         * rowpainter.[Ch]:
3858         * lyxtext.h:
3859         * text.C:
3860         * text2.C:
3861         * text3.C: adjust
3862
3863 2003-12-15  Angus Leeming  <leeming@lyx.org>
3864
3865         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3866         than getFromGUIName to manipulate the color.
3867
3868 2003-12-14  Angus Leeming  <leeming@lyx.org>
3869
3870         * BranchList.[Ch]: minimize the API.
3871         (Branch::getBranch, getColor): now return a 'const &'.
3872         (Branch::setSelected) now returns a bool set to true if the
3873         selection status changes.
3874         (BranchList::clear, size, getColor, setColor, setSelected,
3875         allBranches, allSelected, separator): removed.
3876         (BranchList::find): new functions, returning the Branch with
3877         the given name.
3878         (BranchList::add, remove): return a bool indicating that
3879         the operation was successful.
3880
3881         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3882         new InsetBranch::isBranchSlected member function.
3883
3884         * LColor.[Ch]: mimimize the API.
3885         (fill): renamed as addColor and made private.
3886         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3887         versions of these functions taking a string arg have been removed.
3888
3889         * bufferparams.C (readToken):
3890         * lyxfunc.C (dispatch):
3891         * lyxrc.C (read): changes due to the altered BranchList and
3892         LColor APIs.
3893
3894         * factory.C (createInset, readInset): changes due to altered
3895         InsetBranch c-tor.
3896
3897 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3898
3899         * factory.C:
3900         * lyxfunc.C: remove insetminipage. "minipage-insert"
3901         now produces a frameless minipage box inset.
3902
3903 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3904
3905         * textcursor.[Ch] (selStart,selEnd): add new methods
3906         remove selection::start, end, use LyXCursor::operator<
3907         * lyxcursor.[Ch] (operator<): add
3908         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3909         * BufferView.[Ch] (unsetXSel): add
3910         * text2.C (clearSelection): use unsetXSel,adjust
3911         * text.C: adjust
3912         * text3.C: adjust
3913         * rowpainter.C: adjust
3914         * bufferview_funcs.C (put_selection_at): adjust
3915
3916 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3917
3918         * BufferView_pimpl.C: small coord. correction
3919
3920 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3921
3922         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3923         dragging over the splash screen.
3924
3925 2003-12-11  Angus Leeming  <leeming@lyx.org>
3926
3927         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3928         as it is now handled in LyXText::dispatch.
3929
3930         * text3.C (doInsertInset): remove a level of nesting.
3931
3932 2003-12-11  Angus Leeming  <leeming@lyx.org>
3933
3934         * factory.C (createInset): changes due to the changed interface to
3935         InsetCommandMailer::string2params.
3936
3937 2003-12-10  Angus Leeming  <leeming@lyx.org>
3938
3939         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3940         'dialog-show-new-inset <inset name>'
3941
3942 2003-12-10  Angus Leeming  <leeming@lyx.org>
3943
3944         * buffer.C: up the format to 227.
3945
3946         * factory.C: the box inset is now identified simply by 'Box'.
3947
3948 2003-12-10  Angus Leeming  <leeming@lyx.org>
3949
3950         * buffer.C: up the format to 226.
3951
3952         * factory.C: the note inset is now identified simply by 'Note'.
3953
3954 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3955
3956         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3957         when a pit is enough. Standarize a couple of loops.
3958
3959 2003-12-05  Angus Leeming  <leeming@lyx.org>
3960
3961         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3962         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3963         data to the re-worked "log" dialog.
3964
3965 2003-12-03  André Pönitz  <poenitz@gmx.net>
3966
3967         * PosIterator.C:
3968         * iterators.C:
3969         * lyxtext.h:
3970         * output_latex.C:
3971         * paragraph_funcs.C:
3972         * text.C:
3973         * text2.C: use Inset::getText instead of Inset::getParagraph
3974
3975 2003-12-03  André Pönitz  <poenitz@gmx.net>
3976
3977         * buffer.[Ch]:
3978         * lyxtext.h:
3979         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3980         InsetText::read() as LyXText::read()
3981
3982 2003-12-02  Angus Leeming  <leeming@lyx.org>
3983
3984         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3985         type. Add a comment in the implementation that the function uses
3986         the stream's bad() function rather than fail() as the std::streams
3987         would do.
3988
3989 2003-12-02  André Pönitz  <poenitz@gmx.net>
3990
3991         * lyxlex.[Ch]: make interface more similar to std::stream
3992
3993         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3994
3995 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3996
3997         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3998
3999 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4000
4001         * vspace.[Ch]: remove VSpace::NONE
4002
4003 2003-12-01  André Pönitz  <poenitz@gmx.net>
4004
4005         * buffer.[Ch]:
4006         * lyxtext.h: move ParagraphList member to LyXText
4007         rename LyXText::ownerParagraphs to LyXText::paragraph
4008
4009         * CutAndPaste.C:
4010         * bufferview_funcs.C:
4011         * iterators.[Ch]:
4012         * lyx_cb.C:
4013         * paragraph.C:
4014         * rowpainter.C:
4015         * tabular.C:
4016         * text.C:
4017         * text2.C:
4018         * text3.C: adjust
4019
4020         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4021
4022         * undo.C: fix cursor positioning
4023
4024 2003-12-01  John Levon  <levon@movementarian.org>
4025
4026         * BufferView_pimpl.C: fix a crash on exit with
4027         a buffer open
4028
4029 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4030
4031         * BranchList.C: fix setSelected() method.
4032
4033 2003-11-28  André Pönitz  <poenitz@gmx.net>
4034
4035         * ParagraphParameters.[Ch]:
4036         * ParameterStruct.h: remove space above/below from Paragraph to
4037          InsetVSpace
4038
4039         * BufferView_pimpl.C:
4040         * factory.C:
4041         * lyxfunc.C:
4042         * lyxtext.h:
4043         * output_latex.C:
4044         * paragraph.C:
4045         * paragraph_funcs.C:
4046         * rowpainter.[Ch]:
4047         * text.C:
4048         * text2.C:
4049         * text3.C: adjust
4050
4051 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4052
4053         * factory.C: Syntax change for CharStyles
4054
4055 2003-11-28  André Pönitz  <poenitz@gmx.net>
4056
4057         * BufferView.[Ch]:
4058         * BufferView.[Ch]:
4059         * buffer.[Ch]:
4060         * buffer.[Ch]: move LyXText member
4061
4062 2003-11-28  André Pönitz  <poenitz@gmx.net>
4063
4064         * BufferView.[Ch]: make LyXText * text a private member
4065
4066         * BufferView_pimpl.C:
4067         * cursor.C:
4068         * iterators.C:
4069         * lyx_cb.C:
4070         * lyxfind.C:
4071         * lyxtext.h:
4072         * rowpainter.[Ch]:
4073         * text.C:
4074         * text2.C:
4075         * undo.C: adjust
4076
4077         * output_plaintext.C: cleanup
4078
4079 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4080
4081         * buffer.C:
4082         * lyxtextclass.[Ch]: parametrize SGML document header
4083
4084 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4085
4086         * converter.[Ch]:
4087         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4088         getFlavor().
4089
4090 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4091
4092         * text2.C (setFont): rework using PosIterator (no more recursive)
4093         (setCharFont): no more needed
4094         (setLayout): no more selection cursors fiddling (done by redoCursor)
4095         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4096         destroy remaining ones)
4097
4098 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4099
4100         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4101         * lyxtext.h: ditto
4102         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4103         selection cursors
4104         * lyxfunc.C: adjust
4105         * text3.C: adjust + re-allow multi par depth changes
4106         * textcursor.C: simplify a bit
4107
4108 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4109
4110         * src/buffer.C:
4111         * src/lyxlayout.C:
4112         * src/lyxlayout.h:
4113         * src/lyxtext.h:
4114         * src/output_docbook.C:
4115         * src/output_latex.C:
4116         * src/paragraph.C:
4117         * src/paragraph.h:
4118         * src/sgml.C:
4119         * src/sgml.h:
4120         * src/text2.C: Introducing a number of tags parametrizing various
4121         XML formats that we may want to support
4122
4123 2003-11-25  André Pönitz  <poenitz@gmx.net>
4124
4125         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4126
4127         * lyxtext.h (leftMargin/rightMargin): simplify interface
4128
4129         * rowpainter.C:
4130         * text.C:
4131         * text2.C:
4132         * text3.C: adjust
4133
4134 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4135
4136         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4137         master file to any child files. Fixes bug 546.
4138
4139 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4140
4141         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4142
4143 2003-11-24  André Pönitz  <poenitz@gmx.net>
4144
4145         * rowpainter.C: simplification
4146
4147         * text2.C (updateCounters): remove call to redoParagraph on
4148         changed labels as this is far too expensive.
4149
4150 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4151
4152         * converter.C (convert): fix a crash: this function gets
4153         called with buffer == 0 from importer code.
4154
4155 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4156
4157         * text3.C (cursorPrevious): make sure that we do not compare
4158         iterators form different containers.
4159         (cursorNext): ditto
4160
4161         * rowpainter.C (paintSelection): make sure that we do not compare
4162         iterators from different containers.
4163
4164         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4165         iterators from different ParagraphList containers.
4166         [NEXT] ditto
4167
4168         * text2.C (LyXText): change order of initialization slightly
4169         (operator=): new function. copy all variables except cache_par_
4170         (moveUp): make sure that we do not compare iterators from
4171         different ParagraphList constainers.
4172         (moveDown): ditto
4173
4174         * text.C (firstPar): new function
4175         (lastPar): new function
4176         (endPar): new function
4177
4178         * lyxtext.h: move things around and group public functions, public
4179         variables, private functions, private variables
4180
4181 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4182
4183         * factory.C: change call to InsetERT constructor to avoid
4184         additional invocation of method status
4185         * text2.C (toggleInset): remove redundant update() call
4186         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4187         instead of a Bufferview pointer
4188
4189 2003-11-21  André Pönitz  <poenitz@gmx.net>
4190
4191         * rowpainter.C: simplification
4192
4193 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4194
4195         * text3.C (dispatch): make possible to extend a word/row selection
4196         with the mouse
4197
4198 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4199
4200         * lyxtext.h: x0_,y0_ -> xo_,yo_
4201         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4202         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4203         * rowpainter.C (paintRows): paint full paragraphs
4204
4205 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4206
4207         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4208         screen coordinates)
4209
4210 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4211
4212         * lyxtext.h: add x0_, y0_
4213         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4214         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4215
4216 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4217
4218         * text2.C (setCursorIntern): move the x_target update here *
4219         * text3.C: change some bv() to true/false in calls to
4220         cursorUp/Down/Right/Left
4221         * cursor.C: use helper function.
4222
4223 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4224
4225         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4226         * paragraph_funcs.[Ch]: correct comment
4227         * rowpainter.C: do not paint selections away from bv->cursor()
4228         Fix a long standing selection painting bug.
4229         * text3.C: generalize mouse-selection code to LyXTexts other that
4230         top one
4231         * textcursor.C: do not use y coords if we can use par offsets
4232
4233 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4234
4235         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4236         cursor position after e.g. inset insert)
4237
4238 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4239
4240         * lyxfind.C (replace): adjust to locking removal + some
4241         code simplification
4242
4243 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4244
4245         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4246         of the path
4247
4248 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4249
4250         * lyxlayout.[Ch]:
4251         * output_docbook.C: XML sanitation: new layout
4252         parameters InnerTag and CommandDepth
4253
4254 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4255
4256         * BufferView_pimpl.C:
4257         * factory.C:
4258         * text3.C: Fix the insertion and modification of button-style
4259         insets
4260
4261 2003-11-13  André Pönitz  <poenitz@gmx.net>
4262
4263         * InsetList.[Ch]: remove deleteLyXText
4264
4265         * paragraph.[Ch]: cache beginOfBody position
4266
4267         * Bidi.C:
4268         * text.C:
4269         * text2.C:
4270         * text3.C: remove superfluous update() calls
4271
4272         * vspace.C: cleanup
4273
4274 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4275
4276         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4277         * BufferView.C (fitLockedInsetCursor): remove
4278         * cursor.[Ch] (getDim): add
4279         * text.C (getRowNearY): add faster version
4280         * text3.C: remove some update calls
4281
4282 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4283
4284         * LaTeXFeatures.C:
4285         * LyXAction.C:
4286         * MenuBackend.C:
4287         * MenuBackend.h:
4288         * dispatchresult.h:
4289         * factory.C:
4290         * lfuns.h:
4291         * lyxfunc.C:
4292         * lyxtextclass.C:
4293         * lyxtextclass.h:
4294         * text3.C: The Character Style /XML short element patch.
4295
4296 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4297
4298         * text3.C:
4299         * factory.C: Small step to solving 'unable to insert some insets'
4300         problem
4301
4302 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4303
4304         * cursor.[Ch] (updatePos): new function for updating the y
4305         position of the tip inset
4306         * bufferview_funcs.C (put_selection_at):
4307         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4308
4309 2003-11-11  André Pönitz  <poenitz@gmx.net>
4310
4311         * text.C: remove big comment on invalid Paragraph pointers as it is
4312         not valid anymore
4313
4314 2003-11-11  André Pönitz  <poenitz@gmx.net>
4315
4316         * text_funcs.[Ch]: merge with ...
4317
4318         * text.C: ... this
4319
4320         * lyxtext.h:
4321         * text2.C:
4322         * text3.C: adjust
4323
4324         * Makefile.am: remove text_funcs.[Ch]
4325
4326 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4327
4328         * cursor.C (getPos): return absolute cached y coord
4329
4330         * BufferView_pimpl.C (fitCursor): new simplistic code
4331         (workAreaDispatch): add a fitCursor call
4332
4333 2003-11-10  André Pönitz  <poenitz@gmx.net>
4334
4335         * BufferView.[Ch]:
4336         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4337
4338 2003-11-10  André Pönitz  <poenitz@gmx.net>
4339
4340         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4341         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4342         indicate that the cursor needs to leave an inset
4343
4344         * lyxtext.h: remove inset locking
4345
4346         * cursor.[Ch]: re-implement functionality provided by inset locking
4347
4348         * BufferView.[Ch]:
4349         * BufferView_pimpl.[Ch]:
4350         * LyXAction.C:
4351         * bufferview_funcs.[Ch]:
4352         * factory.C:
4353         * funcrequest.[Ch]:
4354         * iterators.C:
4355         * lyx_cb.C:
4356         * lyxfind.C:
4357         * lyxfunc.C:
4358         * text.C:
4359         * text2.C:
4360         * text3.C:
4361         * undo.C: adjust
4362
4363 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4364
4365         * PosIterator.[Ch]: replace the stack with a vector, add inset
4366         accesor
4367         * iterators.[C]: adjust
4368
4369 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4370
4371         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4372         replaced
4373         * paragraph_funcs.C (readParToken): put the correct id in the
4374         error item, not the id of the top paragraph
4375
4376 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4377
4378         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4379         * bufferview_funcs.C (put_selection_at): use the above
4380
4381 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4382
4383         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4384
4385 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4386
4387         * output_linuxdoc.h:
4388         * output_plaintext.h:
4389         * output.h:
4390         * output_docbook.h: add #include statements
4391
4392 2003-11-05  José Matos  <jamatos@lyx.org>
4393
4394         * output_docbook.[Ch]:
4395         * output_latex.[Ch]:
4396         * output_linuxdoc.[Ch]:
4397         * output_plaintext.[Ch]: New files for output formats.
4398         * output.[Ch]: New file for helper functions.
4399
4400         * buffer.[Ch]:
4401         * paragraph_funcs.[Ch]: output functions moved to new files.
4402
4403         * outputparams.h: rename of latexrunparams.h
4404
4405         * LaTeX.[Ch]:
4406         * buffer.[Ch]:
4407         * bufferlist.[Ch]:
4408         * converter.[Ch]:
4409         * exporter.C:
4410         * paragraph.[Ch]:
4411         * paragraph_funcs.[Ch]:
4412         * paragraph_pimpl.[Ch]:
4413         * tabular.[Ch]: rename ascii to plaintext
4414         and LatexRunParams to OutputParams.
4415
4416 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4417
4418         * iterators.[Ch] (text): require bv argument
4419         * undo.C (recordUndo):
4420         * lyxfunc.C (dispatch):
4421         * bufferview_funcs.C (put_selection_at): adjust
4422
4423 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4424
4425         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4426
4427 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4428
4429         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4430         nestings
4431
4432 2003-11-04  André Pönitz  <poenitz@gmx.net>
4433
4434         * cursor.[Ch]: restructure
4435
4436         * BufferView.[Ch]:
4437         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4438
4439         * iterators.[Ch] (asCursor): remove
4440
4441         * lfuns.h: remove LFUN_INSET_EDIT
4442
4443         * lyxfunc.C:
4444         * tabular.C:
4445         * text.C:
4446         * text2.C:
4447         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4448
4449 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4450
4451         * lyxfind.[Ch]: complete overhaul
4452         * BufferView_pimpl.C:
4453         * lyxfunc.C: adjust
4454         * paragraph.[Ch] (insert): add
4455
4456 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4457
4458         * BufferView.[Ch]:
4459         * lyxtext.h:
4460         * text.C: remove dead spellcheck code
4461
4462 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4463
4464         * dispatchresult.h: add a val setter
4465
4466         * cursor.C (dispatch): use a tempvar for data_[i]
4467
4468 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4469
4470         * PosIterator.[Ch]: compile fix
4471
4472 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4473
4474         * text.C (cursorPar): deactivate the cursor cache
4475
4476 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4477
4478         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4479
4480 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4481
4482         * text3.C (dispatch): adjust for new DisptchResult semantics.
4483
4484         * lyxfunc.C (dispatch): handle update when return from
4485         Cursor::dispatch, adjust for new DispatchResult semantics.
4486
4487         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4488         DispatchResult(true) mean to not update. Add class functions for
4489         setting dispatched and update, as well as reading.
4490
4491         * cursor.C (dispatch): don't handle update here
4492
4493 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4494
4495         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4496         * trans_mgr.C: adjust
4497
4498         * paragraph_funcs.C (readParToken): exception safety
4499
4500         * lyxvc.h: store the vcs pointer in a scoped_ptr
4501         * lyxvc.C: adjust
4502
4503         * lyxsocket.C (serverCallback): exception safety
4504
4505         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4506
4507         * ispell.C (clone): make it return a auto_ptr
4508
4509         * factory.C (createInset): exception safety
4510         (readInset): exception safety
4511
4512         * bufferlist.C (newBuffer): exception safety
4513
4514         * Thesaurus.C (Thesaurus): use initialization for aik_
4515
4516         * MenuBackend.C (expandToc): exception safety.
4517
4518 2003-11-03  André Pönitz  <poenitz@gmx.net>
4519
4520         * buffer.C:
4521         * buffer.h:
4522         * bufferview_funcs.C: remove getInsetFromId()
4523
4524         * lyxcursor.[Ch]:
4525         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4526
4527         * lyxfunc.C:
4528         * text2.C:
4529         * text3.C: adjust
4530
4531 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4532
4533         * PosIterator.C (distance, advance): new
4534         * bufferview_funcs.[Ch] (put_selection_at): new
4535         * iterators.[Ch] (lockPath): new
4536
4537 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4538
4539         * iterators.[Ch] (asPosIterator): added
4540         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4541         * PosIterator.[Ch]: added
4542
4543 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4544
4545         * text3.C:
4546         * lyxfunc.C:
4547         * cursor.C (dispatch):
4548         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4549
4550         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4551         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4552         contructor, add a class function dispatched. Remove operator>=
4553
4554 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4555
4556         * debug.C: only use the default constructor for debugstream
4557         (lyxerr) here.
4558
4559         * main.C (main): include debug.h and setup the lyxerr streambuf
4560         here.
4561
4562 2003-10-31  José Matos  <jamatos@lyx.org>
4563
4564         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4565
4566         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4567         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4568         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4569         * paragraph_pimpl.C (simpleTeXSpecialC):
4570         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4571         add LatexRunParams argument.
4572
4573         * exporter.C (Export): change call accordingly.
4574
4575         * latexrunparams.h: add new member to take care of the other backends.
4576 2003-10-30  José Matos  <jamatos@lyx.org>
4577
4578         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4579         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4580         factorise code for paragraph output.
4581         * buffer.[Ch]:
4582         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4583         move functions.
4584
4585 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4586
4587         * text3.C (dispatch):
4588         * lyxfunc.C (dispatch):
4589         * cursor.C (dispatch):
4590         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4591
4592         * dispatchresult.h: make the dispatch_result_t ctor explicit
4593
4594 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4595
4596         * sgml.[Ch]:
4597         * buffer.C: small refactoring of docbook stuff
4598
4599 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4600
4601         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4602         meaning.
4603
4604 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4605
4606         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4607         operator dispatch_result_t, and operators for == != and >=
4608
4609         * cursor.C (dispatch): adjust for operator dispatch_result_t
4610         removal. comment out call to update
4611
4612         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4613
4614 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4615
4616         * text3.C:
4617         * text2.C:
4618         * text.C:
4619         * lyxtext.h:
4620         * lyxfunc.C:
4621         * cursor.C:
4622         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4623         (dispatch):
4624
4625         * dispatchresult.h: new file, DispatchResult broken out of
4626         insets/insetbase.h
4627
4628         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4629
4630 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4631
4632         * text.C (rowBreakPoint): put a hack inside #if 0
4633
4634 2003-10-28  André Pönitz  <poenitz@gmx.net>
4635
4636         * lyxtext.h:
4637         * metricsinfo.C:
4638         * paragraph_funcs.C:
4639         * rowpainter.C:
4640         * text.C:
4641         * text2.C: general cleanup (lots of small stuff)
4642
4643 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4644
4645         * text2.C (cursorEnd): simple fix to the "end key goes to one
4646         before the end on last row" bug
4647
4648 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4649
4650         * text.C (backspace): fix the "zombie characters"
4651
4652 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4653
4654         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4655
4656 2003-10-27  André Pönitz  <poenitz@gmx.net>
4657
4658         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4659
4660         * factory.C: handle new InsetPagebreak, InsetLine
4661
4662         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4663         and move handling into new InsetPagebreak, InsetLine
4664
4665         * BufferView_pimpl.C:
4666         * LyXAction.C:
4667         * ParagraphParameters.C:
4668         * ParameterStruct.h:
4669         * lyxfunc.C:
4670         * lyxtext.h:
4671         * paragraph.C:
4672         * paragraph.h:
4673         * paragraph_funcs.C:
4674         * paragraph_pimpl.C:
4675         * rowpainter.C:
4676         * text.C:
4677         * text2.C:
4678         * text3.C: adjust
4679
4680 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4681
4682         * text.C:
4683         * lyxrow_funcs.[Ch]:
4684         * Bidi.C:
4685         * paragraph.C:
4686         * lyxtext.h:
4687         * rowpainter.C:
4688         * text2.C:
4689         * text3.C: remove lastPos uses in favour of Row::endpos
4690
4691 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4692
4693         * undo.C (performUndoOrRedo): fix two crashes by setting a
4694         cursor by hand and reordering some calls. Use bv->lockInset instead
4695         of inset->edit because the latter loses cursor information
4696
4697 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4698
4699         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4700         by Martin
4701         (rowBreakPoint): fix width. change point to point + 1.
4702         Add a missing check.
4703
4704 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4705
4706         * MenuBackend.C:
4707         * lyxfunc.C: fix (at least partly) the problems
4708         with the Nav menu and headers inside branch insets
4709         reported by Kayvan
4710
4711 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4712
4713         * paragraph.C (getChar): add strong asserts
4714
4715         * lyxrow_funcs.C (lastPos): remove hideous hack
4716
4717         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4718         (fill): adjust to that (avoid an infinite loop)
4719
4720 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4721
4722         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4723
4724 2003-10-23  André Pönitz  <poenitz@gmx.net>
4725
4726         * RowList_fwd.h: change list<> to vector<> to gain speed
4727         after suggestion from Alfredo
4728
4729 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4730
4731         * lyxtext.h: move the bidi stuff from here...
4732         * text.C: and here
4733         * text2.C: and here
4734         * Bidi.[Ch]: ... to here
4735
4736 2003-10-23  André Pönitz  <poenitz@gmx.net>
4737
4738         * lyxtext.h:
4739         * text.C (isLastRow, isFirstRow): new functions
4740
4741         * paragraph.h: new width cache member
4742
4743         * rowpainter.C: replace RowList::iterator with Row & where possible
4744
4745         * lyxfunc.C: replace several view()->text with a single call
4746
4747         * toc.C: fix 'unused' warning
4748
4749 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4750
4751         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4752         when woring with stream::pos_type
4753         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4754
4755 2003-10-22  André Pönitz  <poenitz@gmx.net>
4756
4757         * lyxtext.h:
4758         * text.C: use Row & instead of RowList::iterator
4759
4760         * lyxrow.h: rename end() to endpos()
4761
4762         * rowpainter.C:
4763         * text.C:
4764         * text2.C: adjust
4765
4766 2003-10-22  Angus Leeming  <leeming@lyx.org>
4767
4768         * buffer.[Ch] (fully_loaded): new member function, returning true
4769         only when the file has been loaded fully.
4770         Used to prevent the premature generation of previews and by the
4771         citation inset to prevent computation of the natbib-style label.
4772
4773         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4774         templates are all set up.
4775
4776         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4777
4778 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4779
4780         * text.C: fixed an "oops" in the "is a bit silly"
4781         bug fix
4782
4783 2003-10-21  André Pönitz  <poenitz@gmx.net>
4784
4785         * FuncStatus.[Ch]: small stuff, whitespace
4786
4787         * lyxfont.[Ch]: operator<<() for debug reasons
4788
4789         * lyxfunc.C:
4790         * lyxrow_funcs.C:
4791         * lyxtext.h: whitespace, spelling
4792
4793         * paragraph.C: naming of variables
4794
4795         * text.C:
4796         * text2.C: small stuff
4797
4798
4799 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4800
4801         * text.C: (1) finish off the inset display() work;
4802         (2) fix the "is a bit silly" bug (accessing char
4803         past end of par).
4804
4805 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4806
4807         * text.C: re-introduce display() for insets, fixing the
4808         various bugs (stretch of line above, math inset
4809         positioning, ...)
4810
4811 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4812
4813         * text.C (rightMargin): remove spurious semicolon
4814
4815         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4816         1415)
4817
4818 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4819
4820         * text3.C: fix one crash due to wrong cursor def
4821
4822 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4823
4824         * vc-backend.C (scanMaster): make the regex static
4825
4826         * LaTeX.C (scanAuxFile): make the regexs static
4827
4828         * text3.C (doInsertInset, dispatch, dispatch):
4829         * text2.C (cursorUp, cursorDown):
4830         * text.C (selectNextWordToSpellcheck):
4831         * BufferView_pimpl.C (dispatch):
4832         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4833
4834 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4835
4836         * lyxsocket.C: include <cerrno>
4837
4838 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4839
4840         * lyxfunc.C (dispatch): remove textcache stuff
4841
4842         * bufferlist.C (release): remove textcache stuff
4843         (closeAll): ditto
4844
4845         * TextCache.C: delete file
4846         * TextCache.h: delete file
4847
4848         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4849
4850         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4851         delete of the bv_->text.
4852         (resizeCurrentBuffer): remove texcache stuff
4853         (workAreaResize): ditto
4854
4855 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4856
4857         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4858         action.
4859
4860 2003-10-16  André Pönitz  <poenitz@gmx.net>
4861
4862         * lyxrow.[Ch]:
4863         * paragraph.h:
4864         * rowpainter.C:
4865         * text.C:
4866         * text2.C:
4867         * text3.C: speed up by storing y positions per paragraph plus per-row
4868         offset instead of having a 'full' y position in the row.
4869
4870 2003-10-15  André Pönitz  <poenitz@gmx.net>
4871
4872         * iterators.[Ch]:
4873         * iterators.[Ch]:
4874         * undo.[Ch]: make undo aware of inner insets
4875
4876 2003-10-14  Angus Leeming  <leeming@lyx.org>
4877
4878         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4879         static member functions LyX::ref() and LyX::cref.
4880         (lastfiles): new accessor functions for the new lastfiles_ member var.
4881         (addLyXView, views_): add a new LyXView to the list of views_.
4882         (updateInset): loop over all LyXViews to call their own updateInset
4883         member function, returning a pointer to the Buffer owning the inset.
4884
4885         * BufferView_pimpl.C (loadLyXFile):
4886         * MenuBackend.C (expandLastfiles):
4887         * bufferlist.C (MenuWrite, QuitLyX):
4888         lastfiles is no longer a global variable.
4889         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4890
4891         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4892         static function. Access through LyX::cref().emergencyCleanup().
4893
4894 2003-10-14  André Pönitz  <poenitz@gmx.net>
4895
4896         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4897
4898         * undo.[Ch]: restoring part of 'undo in insets'
4899
4900         * Makefile.am:
4901         * undo_funcs.[Ch]: merge with undo.[Ch]
4902
4903         * tabular.C: small cleansing stuff
4904
4905 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4906
4907         * paragraph_funcs.C (readParToken): report unknown insets as error
4908         boxes. Use the outer paragraph as location (also for unknown
4909         tokens).
4910
4911         * factory.C (readInset): do not abort on reading an unknown inset.
4912         Eat it and return 0.
4913
4914 2003-10-13  Angus Leeming  <leeming@lyx.org>
4915
4916         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4917
4918         * lyxrc.C: displayTranslator is now a function,
4919         declared in GraphicsTypes.h.
4920
4921 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4922
4923         * format.C: new placeholder $$a to pass the socket address.
4924
4925         * bufferlist.[Ch]: new function getBufferFromTmp.
4926
4927         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4928           files in the temporary dir.
4929
4930 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4931
4932         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4933
4934         * Makefile.am: add lyxsocket.[Ch].
4935
4936         * lyx_main.C (error_handler): handle SIGPIPE.
4937
4938 2003-10-13  André Pönitz  <poenitz@gmx.net>
4939
4940         * BufferView_pimpl.C:
4941         * lyxtext.h:
4942         * text.C:
4943         * text2.C:
4944         * text3.C:
4945         * undo_funcs.[Ch]: use paroffset_type instead of
4946           ParagraphList::iterators to prevent multiple conversion
4947           (and get a more robust interface)
4948
4949 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4950
4951         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4952         * lyxtext.h: ditto
4953         * text3.C (dispatch): ditto
4954
4955 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4956
4957         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4958         move the onlyfile, use onlyfile instead of foundfile in a couple
4959         of places.
4960
4961         * DepTable.C (update): flush the error stream a bit more
4962
4963 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4964
4965         * lyxserver.C (callback): adjust
4966
4967         * lyxfunc.C (getStatus): add a missing brace in commented code
4968         (ensureBufferClean): reindent
4969         (dispatch): delete version taking a string
4970
4971 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4972
4973         * LaTeX.C (deplog): move found file handlig from here...
4974         (handleFoundFile): .. to new function here.
4975         (deplog): make sure to discover several files mentioned on the
4976         same log line.
4977
4978 2003-10-10  André Pönitz  <poenitz@gmx.net>
4979
4980         * lyxfunc.C:
4981         * lyxtext.h:
4982         * tabular.C:
4983         * text.C:
4984         * text2.C:
4985         * text3.C: fix some of the tabular crashes
4986
4987 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4988
4989         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4990
4991         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4992
4993 2003-10-09  André Pönitz  <poenitz@gmx.net>
4994
4995         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4996
4997         * BufferView.C:
4998         * BufferView_pimpl.C:
4999         * bufferview_funcs.C:
5000         * lyx_cb.C:
5001         * lyxcursor.C:
5002         * lyxfind.C:
5003         * lyxfunc.C:
5004         * lyxtext.h:
5005         * text.C:
5006         * text2.C:
5007         * text3.C:
5008         * text_funcs.[Ch]:
5009         * textcursor.[Ch]:
5010         * undo_funcs.C: adjust
5011
5012 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5013
5014         * text2.C (incrementItemDepth): new function, use a backtracking
5015         algorithm to discover the correct item depth.
5016         (resetEnumCounterIfNeeded): new function, use a backtracking
5017         algorithm to discover if counter reset is needed.
5018         (setCounter): use them. Simplify a bit. Add different labels for
5019         different item depths for itemize.
5020
5021         * paragraph.C (Paragraph): remove initialization of enumdepth
5022         (operator=): ditto
5023
5024         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5025         enumerate and itemize. Change the type of itemdepth to signed char.
5026
5027 2003-10-08  André Pönitz  <poenitz@gmx.net>
5028
5029         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5030           thing assignable.
5031         * text.C:
5032         * text2.C: adjust
5033
5034         * tabular.[Ch]: fix crash after 'row-insert'
5035
5036 2003-10-08  Angus Leeming  <leeming@lyx.org>
5037
5038         Fix doxygen warnings.
5039
5040         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5041         Remove CutAndPaste:: prefix from header file declaration.
5042
5043         * LColor.h (fill): remove LColor:: prefix from declaration.
5044
5045         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5046         use lyx::depth_type rather than Paragraph::depth_type so that
5047         header file and .C file match.
5048
5049         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5050
5051         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5052         * aspell.C: \file aspell_local.C -> \file aspell.C
5053         * gettext.C: \file gettext.C -> \file src/gettext.C
5054         * gettext.h: \file gettext.h -> \file src/gettext.h
5055         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5056         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5057         * text.C: \file text.C -> \file src/text.C
5058
5059         * toc.C: move comment so that doxygen is not confused.
5060
5061 2003-10-07  Angus Leeming  <leeming@lyx.org>
5062
5063         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5064
5065 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5066
5067         * aspell.C:
5068         * aspell_local.h: add forgotten std::string's.
5069
5070 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5071
5072         * LaTeXFeatures.C:
5073         * LyXAction.C:
5074         * factory.C:
5075         * lfuns.h:
5076         * lyxfunc.C:
5077         * text3.C: The Box patch. Fancybox support, minipage, parbox
5078
5079 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5080
5081         * CutAndPaste.h:
5082         * DepTable.h:
5083         * FloatList.h:
5084         * LaTeXFeatures.h:
5085         * ParagraphParameters.h:
5086         * TextCache.h:
5087         * Thesaurus.h:
5088         * bufferlist.h:
5089         * exporter.h:
5090         * importer.h:
5091         * lastfiles.h:
5092         * lyxfind.h:
5093         * lyxfont.h:
5094         * lyxlex.h:
5095         * lyxtextclasslist.h:
5096         * messages.h:
5097         * paragraph.h:
5098         * paragraph_pimpl.C:
5099         * textcursor.h: add <string> and other small fixes to make Lars'
5100         std::string patch compile with STLport.
5101
5102 2003-10-06  Angus Leeming  <leeming@lyx.org>
5103
5104         * LColor.h: Add missing #include <string>.
5105
5106 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5107
5108         * All most all file in all subdirs: Make <string> be the prefered
5109         way of getting to std::string, add using declarations.
5110
5111 2003-10-06  André Pönitz  <poenitz@gmx.net>
5112
5113         * metricsinfo.C: initialize LyXFont before changing attribute.
5114         (fixes the 'math in \emph is upright' bug)
5115
5116 2003-10-06  André Pönitz  <poenitz@gmx.net>
5117
5118         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5119
5120 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5121
5122         * graph.C:
5123         * paragraph_pimpl.C: Small fixes to build using STLport
5124
5125 2003-10-02  André Pönitz  <poenitz@gmx.net>
5126
5127         * lyxfunc.C:
5128         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5129
5130 2003-10-01  André Pönitz  <poenitz@gmx.net>
5131
5132         * factory.C: assert early
5133
5134 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5135
5136         * lyx_main.C: remove the global debug object
5137
5138         * debug.h: adjust for new debugstream
5139
5140         * debug.C: adjust for new debugstream and keep the global debug
5141         object here.
5142
5143 2003-09-22  Angus Leeming  <leeming@lyx.org>
5144
5145         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5146         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5147         an incomplete class LyXFont.
5148
5149 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5150
5151         * factory.C: bug fix in branches
5152
5153 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5154
5155         * lyxfunc.C (processKeySym): adjust
5156         (dispatch): adjust
5157         (dispatch): change arg name from ev to func, adjust
5158         (sendDispatchMessage): ditto
5159
5160         * lyx_main.C (defaultKeyBindings): adjust keybindings
5161         (deadKeyBindings): ditto
5162
5163         * kbsequence.C (addkey): return a FuncRequest
5164
5165         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5166
5167         * kbmap.C (bind): take a FuncRequest as arg, adjust
5168         (read): adjust
5169         (lookup): adjust
5170         (defkey): change to take a FuncRequest as arg, adjust
5171         (findbinding): take a FuncRequest as arg, adjust.
5172
5173         * funcrequest.h (operator=): added
5174
5175         * funcrequest.C (FuncRequest): default kb_action changed from
5176         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5177
5178         * buffer.C (dispatch): simplify
5179         (dispatch): adjust to take a FuncRequest as arg, adjust
5180
5181         * boost.C (assertion_failed): change assertion message slightly
5182
5183         * ToolbarBackend.C (read): simplify
5184
5185         * MenuBackend.C (binding): adjust call to findbinding, add a
5186         message if no binding is found.
5187         (read): simplify
5188         (expandToc): correct by adding a empty FuncRequest
5189
5190         * LyXAction.C: include <boost/assert.hpp>
5191         (isPseudoAction): delete function
5192         (LookupFunc): change name to...
5193         (lookupFunc): this. change return type to FuncRequest.
5194         (getActionName): take kb_action as arg, simplify
5195         (funcHasFlag): add an assert, simplify.
5196
5197 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5198
5199         * toc.C (action): return a FuncRequest, simplify
5200
5201         * lyxfunc.C (processKeySym): adjust
5202         (getStatus): delete version that takes an int.
5203         (getStatus): adjust
5204         (dispatch): delete version that takes action as int
5205         (dispatch): adjust
5206         (sendDispatchMessage): simplify and adjust
5207
5208         * funcrequest.C (getArg): take unsigned int as arg
5209
5210         * ToolbarBackend.C (read): adjust
5211         (add): delete version that takes func as a string.
5212         (getIton): take a FuncRequest as arg
5213
5214         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5215         action.
5216
5217         * MenuBackend.C (MenuItem): add a new construct that only takes a
5218         Kind, simplify the constructor use for submenus.
5219         (add): adjust
5220         (expandLastfiles): adjust
5221         (expandDocuments): adjust
5222         (expandFormats): adjust
5223         (expandFloatListInsert): adjust
5224         (expandFloatInsert): adjust
5225         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5226
5227         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5228         Remove class variables lyx_pseudo_map and lyx_arg_map
5229
5230         * LyXAction.C (searchActionArg): delete function
5231         (getPseudoAction): delete function
5232         (retrieveActionArg): delete function
5233         (LookupFunc): make it return kb_action, simplify.
5234         (getActionName): simplify
5235
5236         * factory.C (createInset): fix new bug
5237
5238 2003-09-19  Angus Leeming  <leeming@lyx.org>
5239
5240         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5241         masterFilename_ parameter in the include inset.
5242
5243         * factory.C (createInset): changes due to the changes to InsetInclude.
5244
5245 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5246
5247         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5248
5249 2003-09-18  Angus Leeming  <leeming@lyx.org>
5250
5251         * buffer.C:
5252         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5253         Inset::fillWithBibKeys.
5254         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5255
5256 2003-09-18  Angus Leeming  <leeming@lyx.org>
5257
5258         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5259         variables.
5260         (ctor): pass and store a 'Buffer const &'
5261         (buffer): new member function.
5262
5263         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5264         '*this' to the LaTeXFeatures ctor.
5265
5266 2003-09-18  Angus Leeming  <leeming@lyx.org>
5267
5268         * LColor.h:
5269         * lyxfont.C:
5270         * lyxfont.h:
5271         * lyxtext.h:
5272         * text.C: rename EnumLColor as LColor_color.
5273
5274 2003-09-18  Angus Leeming  <leeming@lyx.org>
5275
5276         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5277         remove #include "insets/insetbase.h" from cursor.h.
5278
5279 2003-09-18  Angus Leeming  <leeming@lyx.org>
5280
5281         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5282         InsetOld_code to remove #include "inset.h".
5283
5284         * iterators.C: add #include "insets/inset.h"
5285
5286 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5287
5288         * BufferView.C: remove more locking stuff that apparently doesn't
5289         do anything sensible.
5290
5291 2003-09-16  André Pönitz  <poenitz@gmx.net>
5292
5293         * paragraph.[Ch]:
5294         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5295           performance boost.
5296
5297 2003-09-16  Angus Leeming  <leeming@lyx.org>
5298
5299         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5300
5301         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5302         arg/return type.
5303
5304         * paragraph.h: remove #include "lyxfont.h". Forward declare
5305         LyXFont_size.
5306
5307 2003-09-16  Angus Leeming  <leeming@lyx.org>
5308
5309         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5310         of support/textutils.h.
5311         (isWord): move the contents of support/textutils.h's IsWordChar here.
5312
5313         * buffer.C:
5314         * lyxfind.C:
5315         * rowpainter.C:
5316         * text.C:
5317         * text2.C: add #include "paragraph.h".
5318
5319         * rowpainter.C:
5320         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5321
5322 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5323
5324         * main.C:
5325         * lyx_main.C:
5326         * lyx_cb.C:
5327         * buffer.C:
5328         * LaTeX.C: use namespace alias for lyx::support::os
5329
5330 2003-09-16  Angus Leeming  <leeming@lyx.org>
5331
5332         * bufferparams.C:
5333         * bufferview_funcs.C:
5334         * factory.C:
5335         * lyxfunc.C:
5336         * paragraph_pimpl.C:
5337         * rowpainter.C:
5338         * text.C: add #include "LColor.h".
5339
5340 2003-09-16  Angus Leeming  <leeming@lyx.org>
5341
5342         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5343         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5344         return LyXFont &.
5345         Store the FontBits::color variable as an int rather than as an
5346         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5347         file.
5348
5349         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5350         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5351         string calls together.
5352
5353         * lyxrc.C: add #include "LColor.h".
5354
5355 2003-09-15  Angus Leeming  <leeming@lyx.org>
5356
5357         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5358         a cow_ptr.
5359
5360 2003-09-15  Angus Leeming  <leeming@lyx.org>
5361
5362         * LColor.h: add an EnumLColor wrapper for LColor::color.
5363
5364         * lyxfont.[Ch] (color, setColor, realColor):
5365         * lyxtext.h, text.C (backgroundColor):
5366         pass EnumLColor args to/from the functions, rather than LColor::color
5367         ones.
5368
5369         * lyxfont.h:
5370         * lyxtext.h: forward declare EnumLColor.
5371
5372         * lyx_main.C: add #include "LColor.h".
5373
5374 2003-09-15  Angus Leeming  <leeming@lyx.org>
5375
5376         * .cvsignore: add lyx-gtk.
5377
5378 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * Chktex.C
5381         * LaTeX.C
5382         * LaTeXFeatures.C
5383         * ParagraphParameters.C
5384         * Spacing.C
5385         * buffer.C
5386         * bufferparams.C
5387         * bufferview_funcs.C
5388         * chset.C
5389         * counters.C
5390         * funcrequest.C
5391         * lyxfont.C
5392         * lyxgluelength.C
5393         * lyxlength.C
5394         * paragraph.C
5395         * paragraph_funcs.C
5396         * text3.C
5397         * vc-backend.C: remove usage of STRCONV
5398
5399 2003-09-15  Angus Leeming  <leeming@lyx.org>
5400
5401         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5402         explicitly define the color passed to the painter.
5403
5404 2003-09-15  Angus Leeming  <leeming@lyx.org>
5405
5406         * bufferparams.C (BufferParams): reorder member initializers to avoid
5407         compiler warning.
5408
5409 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5410
5411         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5412         * text.C (updateRowPositions): remove an unusual nop
5413
5414 2003-09-12  André Pönitz  <poenitz@gmx.net>
5415
5416         * BufferView_pimpl.C:
5417         * Bullet.C:
5418         * layout.h:
5419         * lyxfunc.C:
5420         * lyxlayout.[Ch]:
5421         * lyxtextclass.C:
5422         * rowpainter.C:
5423         * text.C:
5424         * text2.C:
5425         * Counters.[Ch]: finish the 'automatic counters' job
5426
5427 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5428
5429         * aspell.C: include <boost/assert.cpp> (compile fix)
5430
5431 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5432
5433         * boost.C (assertion_failed): use lyx::support::abort instead of
5434         assert.
5435
5436 2003-09-10  Angus Leeming  <leeming@lyx.org>
5437
5438         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5439         with their _fwd progeny.
5440
5441 2003-09-09  Angus Leeming  <leeming@lyx.org>
5442
5443         134 files throughtout the source tree: replace 'using namespace abc;'
5444         directives with the appropriate 'using abc::xyz;' declarations.
5445
5446 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5447
5448         * boost.C (emergencyCleanup): moved here from LAssert.c
5449         (assertion_failed): new function, called by BOOST_ASSERT
5450
5451         * several files: change Assert to BOOST_ASSERT
5452
5453 2003-09-09  Angus Leeming  <leeming@lyx.org>
5454
5455         * buffer.[Ch]: Add an Impl class and move Buffer's member
5456         variables into it. As a result move several header files out of
5457         buffer.h.
5458
5459         Add header files to lots of .C files all over the tree as a result.
5460
5461 2003-09-09  Angus Leeming  <leeming@lyx.org>
5462
5463         * buffer.[Ch]: make Buffer's member variables private. Add
5464         accessor functions.
5465
5466         Lots of changes all over the tree as a result.
5467
5468 2003-09-08  Angus Leeming  <leeming@lyx.org>
5469
5470         * graph.C: #include <config.h>.
5471
5472 2003-09-08  Angus Leeming  <leeming@lyx.org>
5473
5474         * BranchList.C:
5475         * BufferView.C:
5476         * BufferView_pimpl.C:
5477         * CutAndPaste.C:
5478         * DepTable.C:
5479         * LaTeX.C:
5480         * LaTeXFeatures.C:
5481         * LyXAction.C:
5482         * MenuBackend.C:
5483         * TextCache.C:
5484         * aspell.C:
5485         * buffer.C:
5486         * bufferlist.C:
5487         * changes.C:
5488         * chset.C:
5489         * converter.C:
5490         * counters.C:
5491         * debug.C:
5492         * graph.C:
5493         * ispell.C:
5494         * lyx_cb.C:
5495         * lyxfind.C:
5496         * lyxfunc.C:
5497         * lyxlex_pimpl.C:
5498         * lyxrc.C:
5499         * lyxrow.C:
5500         * paragraph.C:
5501         * rowpainter.C:
5502         * texrow.C:
5503         * text.C:
5504         * text2.C:
5505         * toc.C: remove redundant using directives.
5506
5507 2003-09-07  Angus Leeming  <leeming@lyx.org>
5508
5509         * LaTeXFeatures.h: remove #include "support/types.h".
5510         * ToolbarBackend.h: remove #include <algorithm>.
5511         * changes.h: remove #include <ctime>.
5512         * debug.h: remove #include <iosfwd>.
5513         * graph.h: remove #include "support/std_string.h".
5514         * lyx_main.h: remove #include <csignal>.
5515         * lyxlex_pimpl.h: remove #include <fstream>.
5516         * sgml.h: remove #include <algorithm>, <utility>.
5517         * toc.h: remove #include "support/std_ostream.h".
5518         Add #include <iosfwd>.
5519
5520 2003-09-07  Angus Leeming  <leeming@lyx.org>
5521
5522         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5523
5524         * converter.h: forward declare LatexRunParams.
5525         * encoding.h: remove #include "lyxrc.h".
5526         * lyxtext.h: remove #include "LColor.h".
5527         * lyxtextclass.h: remove #include "support/types.h".
5528         * trans.h: remove #include "tex-accent.h".
5529         * trans_mgr.h: remove #include "tex-accent.h".
5530         * insets/inset.h: remove #include "support/types.h", <vector>.
5531         * insets/insetcollapsable.h: remove #include "LColor.h".
5532         * insets/insetinclude.h: remove #include "dimension.h".
5533         * insets/insetlatexaccent.h: remove #include "dimension.h".
5534         * insets/insetoptarg.h:: remove #include "insettext.h".
5535         * insets/insettext.h: remove #include "dimension.h",
5536         <boost/shared_ptr.hpp>
5537
5538         * insets/renderers.h: add #include "dimension.h".
5539         * insets/updatableinset.h: add #include "support/types.h".
5540
5541         * many .C files: Associated changes.
5542
5543 2003-09-06  Angus Leeming  <leeming@lyx.org>
5544
5545         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5546         one, inside testInvariant.
5547
5548         * PrinterParams.C: new file.
5549         * PrinterParams.[Ch]: move the function bodies out of line.
5550
5551 2003-09-06  Angus Leeming  <leeming@lyx.org>
5552
5553         * ParagraphParameters.h: forward declare ParameterStruct rather than
5554         including its header file.
5555         (depth): moved out-of-line.
5556
5557 2003-09-06  Angus Leeming  <leeming@lyx.org>
5558
5559         * BufferView_pimpl.h:
5560         * kbmap.h:
5561         * kbsequence.h:
5562         * lyxfunc.h: forward declare LyXKeySym rather than
5563         #include "frontends/LyXKeySym.h".
5564
5565         * BufferView_pimpl.C:
5566         * kbmap.C:
5567         * kbsequence.C:
5568         * lyxfunc.C: associated changes.
5569
5570 2003-09-06  Angus Leeming  <leeming@lyx.org>
5571
5572         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5573         As a result, can remove the #include "insets/inset.h" from BufferView.h
5574
5575 2003-09-06  Angus Leeming  <leeming@lyx.org>
5576
5577         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5578         As a result, can remove the #include "insets/inset.h" from BufferView.h
5579
5580 2003-09-06  Angus Leeming  <leeming@lyx.org>
5581
5582         * buffer_funcs.C:
5583         * buffer.h:
5584         * bufferlist.C:
5585         * BufferView.C:
5586         * bufferview_funcs.C:
5587         * BufferView_pimpl.C:
5588         * CutAndPaste.C:
5589         * lyx_cb.C:
5590         * lyxfunc.C:
5591         * paragraph.h:
5592         * ParagraphParameters.C:
5593         * tabular.C:
5594         * text3.C:
5595         * toc.C:
5596         * undo_funcs.C:
5597         * frontends/controllers/ControlDocument.C:
5598         * insets/insetcaption.C: rearrange the #includes into some sort of
5599         coherent order.
5600
5601         * buffer.h: remove #includes ErrorList.h, undo.h
5602
5603 2003-09-06  Angus Leeming  <leeming@lyx.org>
5604
5605         * support/types.h: add a 'depth_type' typedef, used to store the
5606         nesting depth of a paragraph.
5607
5608         * paragraph.h:
5609         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5610         defining explicitly.
5611
5612         * buffer.h:
5613         * paragraph_funcs.h:
5614         * ParagraphParameters.h:
5615         * sgml.h: use lyx::depth_type rather than Paragraph or
5616         ParameterStruct's depth_type.
5617
5618         * buffer.h
5619         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5620
5621         * BufferView.C:
5622         * BufferView_pimpl.C:
5623         * CutAndPaste.C:
5624         * ParagraphParameters.C:
5625         * buffer_funcs.C:
5626         * bufferlist.C:
5627         * bufferview_funcs.C:
5628         * lyx_cb.C:
5629         * lyxfunc.C:
5630         * tabular.C:
5631         * text3.C:
5632         * toc.C:
5633         * undo_funcs.C:
5634         * frontends/LyXView.C:
5635         * frontends/controllers/ControlDocument.C:
5636         * frontends/controllers/ControlErrorList.C:
5637         * insets/insetbibitem.C:
5638         * insets/insetbranch.C:
5639         * insets/insetcaption.C:
5640         * insets/insetcollapsable.C:
5641         * insets/insetenv.C:
5642         * insets/insetert.C:
5643         * insets/insetfloat.C:
5644         * insets/insetfoot.C:
5645         * insets/insetfootlike.C:
5646         * insets/insetnewline.C:
5647         * insets/insetquotes.C:
5648         * insets/insettabular.C:
5649         * insets/insettext.C:
5650         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5651
5652         * frontends/controllers/ControlChanges.C: #include "changes.h".
5653
5654 2003-09-06  Angus Leeming  <leeming@lyx.org>
5655
5656         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5657         than #including paragraph.h.
5658
5659         * ParagraphList.h:
5660         * RowList.h: deleted. Superfluous.
5661
5662         * CutAndPaste.h:
5663         * iterators.h:
5664         * lyxcursor.h:
5665         * lyxtext.h:
5666         * text_funcs.h:
5667         * undo.h:
5668         * undo_funcs.h:
5669         * insets/inset.h:
5670         * insets/insettext.h: use ParagraphList_fwd.h rather than
5671         ParagraphList.h.
5672
5673         * paragraph.h: don't forward declare ParagraphList.
5674
5675         * buffer.h:
5676         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5677         rather than ParagraphList.h. paragraph.h is still needed for the
5678         Paragraph::depth_type parameters.
5679
5680         * textcursor.h: enable it to compile stand-alone in light of the
5681         above changes.
5682
5683         * bufferview_funcs.C:
5684         * iterators.C:
5685         * lyxfunc.C:
5686         * lyxrow_funcs.C:
5687         * paragraph.C:
5688         * rowpainter.C:
5689         * text.C:
5690         * text2.C:
5691         * text3.C:
5692         * text_funcs.C:
5693         * textcursor.C:
5694         * undo.C:
5695         * frontends/controllers/ControlParagraph.C:
5696         * frontends/controllers/ControlTabular.C:
5697         * insets/insetmarginal.C:
5698         * insets/insetminipage.C:
5699         * insets/insetnote.C:
5700         * insets/insetoptarg.C: add header files needed to compile again.
5701
5702 2003-09-06  Angus Leeming  <leeming@lyx.org>
5703
5704         * RowList_fwd.h: new file, forward-declaring Row rather than
5705         #including lyxrow.h.
5706
5707         * lyxrow_funcs.h:
5708         * lyxtext.h:
5709         * paragraph.h:
5710         * insets/insettext.h: use it instead of RowList.h
5711
5712         * bufferview_funcs.C:
5713         * lyxfunc.C:
5714         * lyxrow_funcs.C:
5715         * paragraph.C:
5716         * rowpainter.C:
5717         * text.C:
5718         * text2.C:
5719         * text3.C: #include "RowList.h".
5720
5721 2003-09-05  Angus Leeming  <leeming@lyx.org>
5722
5723         * factory.C (createInset):
5724         * vspace.C (c-tor): replace sscanf call with an istringstream.
5725         * ispell.C: re-add missing HP/UX headers.
5726         * lyxserver.C: re-add missing  os2 headers.
5727
5728 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5729
5730         * BranchList.C:
5731         * graph.C:
5732         * ispell.C:
5733         * lastfiles.C:
5734         * lyx_cb.C:
5735         * lyxserver.C:
5736         * texrow.C:
5737         * text3.C: re-add missing system headers, needed for 2.95.2.
5738
5739 2003-09-05  Angus Leeming  <leeming@lyx.org>
5740
5741         Changes most place everywhere due to the removal of using directives
5742         from support/std_sstream.h.
5743
5744 2003-09-05  Angus Leeming  <leeming@lyx.org>
5745
5746         Replace LString.h with support/std_string.h,
5747         Lsstream.h with support/std_sstream.h,
5748         support/LIstream.h with support/std_istream.h,
5749         support/LOstream.h with support/std_ostream.h.
5750
5751         Changes resulting throughout the tree.
5752
5753 2003-09-05  Angus Leeming  <leeming@lyx.org>
5754
5755         * sgml.h: ensure that the header file can be compiled stand-alone.
5756         * *.C: strip out redundant #includes. (320 in total.)
5757
5758 2003-09-04  Angus Leeming  <leeming@lyx.org>
5759
5760         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5761         here (from getPackages).
5762
5763         * debug.[Ch]: add a new EXTERNAL tag.
5764
5765 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5766
5767         * text2.C (cursorEnd): simplify
5768         (setCursor): adjust
5769         (getColumnNearX): adjust
5770
5771         * text.C (computeBidiTables): adjust
5772         (fill): adjust
5773
5774         * rowpainter.C (paintChars): adjust
5775         (paintSelection): adjust
5776         (paintChangeBar): adjust
5777         (paintText): adjust
5778
5779         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5780         lastPos instead.
5781         (numberOfSeparators): adjust
5782
5783 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5784
5785         * LyXAction.C:
5786         * box.[Ch]:
5787         * lfuns.h:
5788         * lyxfunc.C:
5789         * text3.C: Restricts the mouse click functionality
5790         of insets like bibtex, include, toc and floatlist to the visible
5791         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5792         up the dialogs. Cursor has to be in front of the inset (i.e.
5793         start of row) for this to function.
5794
5795 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5796
5797         * bufferview_funcs.C (currentState): output row information
5798
5799 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5800
5801         * bufferview_funcs.C (currentState): output paragraph position
5802
5803 2003-09-04  Angus Leeming  <leeming@lyx.org>
5804
5805         * FloatList.h: move out #include "Floating.h".
5806         * LaTeX.h: move out #include "DepTable.h".
5807         * LyXAction.h: move out #include "funcrequest.h".
5808         * buffer.h: move out #include "author.h", "iterators.h".
5809         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5810         * lyx_main.h: move out #include "errorlist.h".
5811         * lyxfunc.h: move out #include "FuncStatus.h".
5812         * lyxtext: move out #include "lyxcursor.h".
5813         * paragraph_pimpl.h: move out #include "counters.h".
5814
5815 2003-09-03  Angus Leeming  <leeming@lyx.org>
5816
5817         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5818         preamble_snippets list, enabling us to add snippets to the preamble
5819         only if the snippet was not there already.
5820
5821 2003-09-04  Angus Leeming  <leeming@lyx.org>
5822
5823         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5824
5825 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5826
5827         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5828         update
5829
5830 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5831
5832         * BranchList.C: point fix, earlier forgotten
5833
5834 2003-09-02  Angus Leeming  <leeming@lyx.org>
5835
5836         * box.C (contains): renamed from 'contained' after a fantastic
5837         amount of hot air.
5838
5839 2003-09-02  John Levon  <levon@movementarian.org>
5840
5841         * BufferView.C:
5842         * lyxcursor.h:
5843         * lyxcursor.C:
5844         * lyxfunc.C:
5845         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5846
5847 2003-09-02  John Levon  <levon@movementarian.org>
5848
5849         * text2.C: simplification of cursorEnd(), including partial
5850         fix for bug 1376
5851
5852 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5853
5854         * buffer.C (readFile): add a space
5855
5856 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5857
5858         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5859
5860 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5861
5862         * buffer.C (readFile): new function, take a filename and a
5863         ParagraphList::iterator
5864         (readFile): adjust
5865         (readFile): adjust, make it private. don't use setStream, make
5866         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5867         always contain the filename.
5868
5869         * BufferView.C (insertLyXFile): simplify and make it work for
5870         gzipped files.
5871
5872 2003-08-30  John Levon  <levon@movementarian.org>
5873
5874         * Makefile.am: fix dist (from Kayvan)
5875
5876 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5877
5878         * most files: change to use const Buffer refs
5879
5880 2003-08-27  André Pönitz  <poenitz@gmx.net>
5881
5882         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5883         on top of ownerPar().
5884
5885 2003-08-27  John Levon  <levon@movementarian.org>
5886
5887         * funcrequest.C: properly initialise POD members
5888
5889 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5890
5891         * lyxtext.h (top_y): move top_y from here
5892         * text.C:
5893         * text2.C:
5894         * text3.C:
5895         * BufferView.[Ch]:
5896         * BufferView_pimpl.[Ch]: to here
5897         * frontends/screen.C:
5898         * insets/insettabular.C:
5899         * insets/insettext.C: adjust
5900         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5901
5902 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5903
5904         * BufferView.[Ch]:
5905         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5906
5907 2003-08-26  André Pönitz  <poenitz@gmx.net>
5908
5909         * paragraph_func.[Ch] (outerPar): new function
5910
5911         * paragraph.C:
5912         * paragraph_funcs.C:
5913         * paragraph_funcs.h:
5914         * paragraph_pimpl.C:
5915         * text2.C: remove Inset::par_owner
5916
5917 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5918
5919         * lyxrow_funcs.C:
5920         * lyxtext.h:
5921         * text.C:
5922         * text2.C: eliminates the needFullRow/display() stuff
5923         altogether, putting the logic in metrics/draw in the insets.
5924
5925 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5926
5927         * text2.C (redoParagraphInternal, redoParagraphs):
5928         * text.C (redoParagraph): add a call to updateRowPositions at the
5929         end of each 'metrics-like' call. Remove all others.
5930         (getRow): remove the 'y-computing' version.
5931         (getRowNearY): do not compute nor return the real y. Solve the
5932         'y < 0' problem and simplify.
5933
5934 2003-08-22  Angus Leeming  <leeming@lyx.org>
5935
5936         * *.[Ch]: clean-up of licence and author blurbs.
5937         Also move config.h out of a few .h files and into a few .C files.
5938
5939 2003-08-22  André Pönitz  <poenitz@gmx.net>
5940
5941         * lyxrow.[Ch]: add x_ and *fill_ members
5942
5943         * lyxtext.h:
5944         * text.C:
5945         * rowpainter.C:
5946         * text2.C: adjust/remove prepareToPrint() calls
5947
5948 2003-08-22  André Pönitz  <poenitz@gmx.net>
5949
5950         * lyxrow.[Ch]: add  end_ member
5951
5952         * lyxrow_funcs.C: use LyXRow::end_
5953
5954         * lyxtext.h (singleWidth): add LyXFont parameter
5955
5956         * rowpainter.C:
5957         * text2.C: adjust LyXText::singleWidth() calls
5958
5959         * text.C (redoParagraph): simplify row breaking logic
5960
5961
5962 2003-08-19  André Pönitz  <poenitz@gmx.net>
5963
5964         * funcrequest.C: initialize button_ member
5965
5966         * text3.C:
5967         * rowpainter.[Ch]: interface consolidation
5968
5969 2003-08-18  André Pönitz  <poenitz@gmx.net>
5970
5971         * BufferView.C:
5972         * BufferView_pimpl.C:
5973         * lyxfind.C:
5974         * paragraph_funcs.C:
5975         * rowpainter.C:
5976         * text3.C: remove LyXScreen::draw() and fitCursor calls
5977
5978         * BranchList.h: remove spurious semicolons
5979
5980         * MenuBackend.C: fix branchlist related crash
5981
5982 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5983
5984         * BranchList.[Ch]:
5985         * InsetList.[Ch]:
5986         * LColor.[Ch]:
5987         * LyXAction.C:
5988         * Makefile.am:
5989         * MenuBackend.[Ch]:
5990         * bufferparams.[Ch]:
5991         * factory.C:
5992         * lfuns.h:
5993         * lyxfunc.C:
5994         * text3.C: implements the 'branch inset'
5995         idea. This allows the output of various versions of a document
5996         from a single source version, selectively outputing or suppressing
5997         output of parts of the text.
5998         This implementation contains a 'branch list editor' in a separate
5999         tab of the document settings dialog. Branches are user definable
6000         and have a "display colour" to distinguish them on-screen.
6001
6002         ColorHandler was somewhat cleaned up.
6003         (1) make possible a dynamically growing LColor list by allowing
6004         the graphic context cache to grow along (vector);
6005         (2) eliminate an IMHO unnecessary step in colour allocation.
6006
6007 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6008
6009         * BufferView_pimpl.C: compile fix
6010
6011 2003-08-15  André Pönitz  <poenitz@gmx.net>
6012
6013         * rowpainter.C: remove extra metrics calls
6014
6015         * lyxtext.h: merge the two constructors into a single one,
6016           pass reference to owner's par list
6017
6018         * BufferView_pimpl.C:
6019         * text.C:
6020         * text2.C: adjust
6021
6022 2003-08-15  André Pönitz  <poenitz@gmx.net>
6023
6024         * lyxrow_funcs.[Ch]:
6025         * lyxtext.h:
6026         * paragraph.h:
6027         * paragraph_funcs.C:
6028         * rowpainter.C:
6029         * text.C:
6030         * text2.C:
6031         * text3.C:
6032         * text_funcs.C: split LyXText::rowlist_ into individual
6033         Paragraph::rows_ chunks
6034
6035         * BufferView.[Ch]:
6036         * BufferView_pimpl.[Ch]:
6037         * lyxfind.C:
6038         * lyxtext.h:
6039         * text3.C: remove toggleSelection()
6040
6041 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6042
6043         * bufferlist.C: beautify two alerts (shorter text of buttons)
6044         * buffer.C: Remove redundant ' ' from message
6045         * tabular.h:
6046         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6047         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6048         rename VALIGN_CENTER to VALIGN_MIDDLE
6049
6050 2003-08-11  André Pönitz  <poenitz@gmx.net>
6051
6052         * lyxtext.h (getPar):
6053         * text.C: new function
6054
6055 2003-08-11  André Pönitz  <poenitz@gmx.net>
6056
6057         * Makefile.am:
6058         * tracer.[Ch]: remove unneeded files
6059
6060         * InsetList.[Ch]: remove resizeInsetsLyXText()
6061
6062         * lyxtext.h:
6063         * text.C:
6064         * text2.C:
6065         * text3.C: merge insertParagraphs() and appendParagraph()
6066         remove breakAgain(), update()
6067
6068         * BufferView_pimpl.[Ch]:
6069         * bufferview_funcs.[Ch]:
6070         * lyxfunc.C:
6071         * paragraph.[Ch]:
6072         * rowpainter.C:
6073         * tabular.C: adjust after text & InsetList changes.
6074
6075 2003-08-08  André Pönitz  <poenitz@gmx.net>
6076
6077         * text.C (insertChar, backspace): replace rowlist fiddling
6078         with rebreak of full par
6079
6080         * lyxtext.h:
6081         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6082         checkParagraph, updateInset): removed
6083
6084 2003-08-07  André Pönitz  <poenitz@gmx.net>
6085
6086         * paragraph.C:
6087         * text3.C: merge some LFUN handlers, remove dead code
6088
6089 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6090
6091         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6092
6093 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6094
6095         * text2.C (DEPM): fix part of bug 1255 and 1256
6096
6097 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6098
6099         * BufferView_pimpl.C (workAreaDispatch): change to use
6100         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6101         that are no mouse related.
6102
6103 2003-08-05  André Pönitz  <poenitz@gmx.net>
6104
6105         * BufferView.[Ch]:
6106         * BufferView_pimpl.[Ch]:
6107         * bufferview_funcs.C:
6108         * text2.C:
6109         * text3.C: rip out "deep update"
6110
6111         * textcursor.[Ch] (last_sel_cursor): remove unused member
6112
6113 2003-08-04  André Pönitz  <poenitz@gmx.net>
6114
6115         * BufferView.[Ch]:
6116         * BufferView_pimpl.[Ch]:
6117         * ParagraphParameters.C:
6118         * bufferview_funcs.C:
6119         * lyx_cb.C:
6120         * lyxfind.C:
6121         * lyxfunc.C:
6122         * text.C:
6123         * text2.C:
6124         * text3.C: replace "complicated" BufferView::update(...) calls with
6125         simpler ones.
6126
6127         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6128
6129 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6130
6131         * Makefile.am (lyx_SOURCES): add paper.h
6132
6133 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6134
6135         * Makefile.am: move things around so that both lyx-qt and
6136         lyx-xforms can be built (according to --with-frontend). Then lyx
6137         is a symbolic link to lyx-[firstfrontend]
6138
6139 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6140
6141         * Always use std::endl with lyxerr
6142
6143 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6144
6145         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6146
6147 2003-08-01  André Pönitz  <poenitz@gmx.net>
6148
6149         * BufferView.[Ch]:
6150         * BufferView_pimpl.[Ch]:
6151         * lyxfunc.C:
6152         * text3.C: merge BufferView::repaint() and BufferView::update()
6153
6154 2003-08-01  José Matos  <jamatos@lyx.org>
6155
6156         * buffer.[Ch]: file_format is no longer a buffer data element.
6157
6158 2003-08-01  André Pönitz  <poenitz@gmx.net>
6159
6160         * BufferView.C:
6161         * lyxtext.h:
6162         * text.C:
6163         * text2.C: make redoParagraph more independent of current cursor
6164
6165         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6166         * text.C:
6167         * text2.C: remove unneeded members
6168
6169 2003-07-30  André Pönitz  <poenitz@gmx.net>
6170
6171         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6172
6173         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6174           create a single function...
6175
6176         * paragraph_funcs.C (moveItem): ... here.
6177
6178         * text.C:
6179           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6180
6181 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6182
6183         * LColor.[Ch]: Add comment and greyedout logical colors.
6184
6185 2003-07-30  André Pönitz  <poenitz@gmx.net>
6186
6187         * tabular.C: don't use Assert too heavily. This crashes where it
6188           shouldn't
6189
6190 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6191
6192         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6193         is disabled (bug 1232)
6194
6195 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6196
6197         * factory.C: limited 'arg' scope
6198
6199 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6200
6201         * factory.C: fixed Note submenu issues
6202
6203 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6204
6205         * factory.C: submenu for Note/Comment/Greyedout
6206
6207 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6208
6209         * lyx_main.C (LyX):
6210         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6211
6212 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6213
6214         * LaTeXFeatures.C:
6215         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6216         greyedout. Patch provided by Jürgen Spitzmüller.
6217
6218 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6219
6220         * kbmap.C (read): fix error message when reading bind files
6221
6222 2003-07-29  Angus Leeming  <leeming@lyx.org>
6223
6224         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6225         certainly does not do what it purports to do. I am doing it, and
6226         us, a favour by killing it.
6227
6228 2003-07-28  José Matos  <jamatos@lyx.org>
6229
6230         * buffer.C (readBody, do_writeFile):
6231         * paragraph.C(readParagraph): \end_document replaces \the_end.
6232
6233 2003-07-29  André Pönitz  <poenitz@gmx.net>
6234
6235         * BufferView.[Ch]:
6236         * BufferView_pimpl.[Ch]:
6237         * lyxfunc.C:
6238         * text2.C:
6239         * text3.C:
6240         * textcursor.[Ch]: remove toggleToggle & Co
6241
6242 2003-07-28  José Matos  <jamatos@fep.up.pt>
6243
6244         * buffer.C (readParagraph):
6245         * params_func (readParToken, readParagraph):
6246         * paragraph.C (write): \layout -> \begin_layout.
6247
6248 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6249
6250         * lyxlex_pimpl.C (setFile): clean up slightly.
6251
6252         * bufferparams.h: add compressed var
6253
6254         * buffer_funcs.C (readFile): adjust for LyXLex change
6255         (newFile): ditto + simplify
6256
6257         * buffer.C (writeFile): handle writing of compressed files
6258
6259         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6260         Check if the file is compressed and set a bufferparm if so.
6261
6262         * Makefile.am (lyx_LDADD): remove explicit -lz
6263
6264 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6265
6266         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6267         makeDocBookFile): put the real LyX version in the first line of
6268         the file
6269
6270         * version.h:
6271         * version.C.in: remove lyx_docversion
6272
6273         * tabular.C (write_attribute): add a template-based version to
6274         write enums properly
6275
6276 2003-07-28  André Pönitz  <poenitz@gmx.net>
6277
6278         * lyxtext.h:
6279         * text.C:
6280         * text2.C:
6281         * text3.C: use doubles again for x-coordinates. They are needed.
6282
6283 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6284
6285         * messages.C (getLocaleDir): use lyx_localedir()
6286
6287         * lyxlex_pimpl.C (setFile): compress stuff
6288
6289         * buffer.C (writeFile): add some compression stuff
6290         (do_writeFile): new func, dont call expliti close... will this
6291         breake anything?
6292
6293         * Makefile.am (lyx_LDADD): add -lz
6294
6295 2003-07-28  José Matos  <jamatos@fep.up.pt>
6296
6297         * buffer.C: increment file format.
6298         * paragraph_funcs (readParagraph, readParToken):
6299         * paragraph.C (readParagraph): add \end_layout.
6300
6301 2003-07-27  Angus Leeming  <leeming@lyx.org>
6302
6303         * Makefile.am: remove special casing for configure-time setting of
6304         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6305
6306         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6307         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6308
6309 2003-07-26  André Pönitz  <poenitz@gmx.net>
6310
6311         * paragraph_func.[Ch]:
6312         * paragraph.C (realizeFont): inline it whereever it is used
6313
6314         * rowpainter.C:
6315         * text.C:
6316         * text2.C:
6317         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6318
6319
6320 2003-07-26  André Pönitz  <poenitz@gmx.net>
6321
6322         *       lyxtext.h:
6323         * text.C:
6324         * text2.C: get rid of LyXText::need_break_row
6325
6326 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6327
6328         * toc.[Ch]: put namespace toc inside namespace lyx
6329
6330         * MenuBackend.C (expandToc2): adjust for lyx::toc
6331         (expandToc): ditto
6332
6333         * lyxfunc.C (dispatch): adjust for lyx::find
6334
6335         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6336         lyx::find instead. Reorganize a bit.
6337         (LyXReplace): rename to replace
6338         (LyXFind): rename to find
6339
6340         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6341         (dispatch): ditto
6342
6343 2003-07-26  André Pönitz  <poenitz@gmx.net>
6344
6345         * text.C (setHeightOfRow): restrict scope of temporary variable
6346
6347         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6348           code (never has been used?)
6349
6350 2003-07-27  Asger Alstrup  <alstrup@local>
6351
6352         * text.C (fill): Optimise algorithm to exploit that we can reuse
6353         the LyXFont for many characters.
6354         (setHeightOfRow): Same thing.
6355         (rowBreakPoint): Same thing.
6356
6357 2003-07-26  Asger Alstrup  <alstrup@local>
6358
6359         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6360
6361         * text.C (singleWidth): Spurious font copying in hot-spot
6362         singleWidth avoided. Reorder tests for arabic for efficiency.
6363
6364         * text.C (fill): handle empty paragraphs better.
6365
6366 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6367
6368         * ispell.C:
6369         * encoding.h: add includes
6370
6371         * lyxrc.C: remove reading of bind files
6372
6373         * lyx_main.C (init): setup bindings and menus only if we have a
6374         gui.
6375
6376         * kbmap.C (read): new method. Do the actual reading of bind
6377         files.
6378
6379         * converter.C (dvipdfm_options):
6380         * bufferparams.C:
6381         * lyxrc.C (read):
6382         (output): adapt PAPER_* enums.
6383
6384         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6385
6386         * bufferparams.h: remove paper-related enums from there
6387
6388         * paper.h: New file. A trivial header file to hold paper-related
6389         enums. It should later expand to contain many paper-related
6390         horrors access.
6391
6392         * lyxrc.C: declare extern displayTranslator
6393
6394 2003-07-27  José Matos  <jamatos@fep.up.pt>
6395
6396         * tabular.[Ch] (linuxdoc): add support for tables and figures
6397         (linuxdoc).
6398
6399 2003-07-27  José Matos  <jamatos@fep.up.pt>
6400
6401         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6402         consistency in both functions.
6403         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6404
6405 2003-07-26  Asger Alstrup  <alstrup@local>
6406
6407         * rowpainter.C (paintRows): Change algorithm to work directly on
6408         the insets rather than asking every character in the document
6409         whether its an inset.
6410
6411 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6412
6413         * buffer.C (openFileWrite): factorize some code
6414
6415 2003-07-26  Angus Leeming  <leeming@lyx.org>
6416
6417         * lyx_cb.C:
6418         * lyx_main.[Ch]: replace occurances of system_tempdir with
6419         os::getTmpDir().
6420
6421 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6422
6423         * rename Inset to InsetOld
6424
6425 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6426
6427         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6428         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6429         which I think is a bit clearer. EDIT is gone, since it was
6430         premature optimisation, and broken for mathed anyway.
6431         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6432         with cursor positioning in insets as well (math insets still do not
6433         work, but that's a different story anyway.) It mysteriously
6434         crashes sometimes with undo in the first paragraph, but I'm fairly
6435         confident that this is a compiler bug.
6436
6437 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6438
6439         * paragraph.C (Paragraph): adjust for new clone return type
6440         (operator==): ditto
6441         (copyIntoMinibuffer): ditto
6442
6443 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6444
6445         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6446         by not having a special case, and always doing a full rebreak of
6447         the document after undo.
6448
6449 2003-07-23  Angus Leeming  <leeming@lyx.org>
6450
6451         * factory.C (createInset): InsetExternal::setParams now takes a
6452         Buffer const * arg.
6453
6454 2003-07-23  Angus Leeming  <leeming@lyx.org>
6455
6456         * factory.C (createInset): changed interface to the external and
6457         graphics mailers' string2params functions.
6458
6459 2003-07-23  Angus Leeming  <leeming@lyx.org>
6460
6461         * factory.C (createInset): pass a
6462         Buffer const * parameter to InsetExternalMailer's string2params.
6463
6464 2003-07-22  John Levon  <levon@movementarian.org>
6465
6466         * Thesaurus.h: include the right aiksaurus header
6467
6468 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6469
6470         * MenuBackend.C (expand): check menu shortcuts unconditionally
6471
6472 2003-07-21  Angus Leeming  <leeming@lyx.org>
6473
6474         * factory.C (createInset): pass a
6475         buffer_path parameter to InsetGraphicsMailer's string2params.
6476
6477 2003-07-21  Angus Leeming  <leeming@lyx.org>
6478
6479         * BufferView_pimpl.C (buffer):
6480         * buffer.C (d-tor):
6481         * lyx_main.C (LyX):
6482         * lyxfunc.C (dispatch):
6483         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6484         rather than the grfx shortcut.
6485
6486 2003-07-21  André Pönitz  <poenitz@gmx.net>
6487
6488         * rowpainter.C: remove unused variables
6489
6490         * tabular_funcs.C:
6491         * tabular_funcs.h: move to tabular.C
6492         * Makefile.am: adjust
6493
6494         * tabular.[Ch]: basic optical cleaning
6495
6496         * author.h: pass references, not values
6497
6498 2003-07-18  André Pönitz  <poenitz@gmx.net>
6499
6500         * lyxtext.h:
6501         * metricsinfo.C:
6502         * metricsinfo.h:
6503         * rowpainter.C:
6504         * text.C:
6505         * text2.C:
6506         * text3.C: two-phase drawing for InsetText and InsetTabular
6507         some float -> int changes.
6508
6509 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6510
6511         * lyx_main.C: fix the fix
6512
6513 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6514
6515         * lyx_main.C: fix a crash in batch mode if no files specified
6516         * converter.C: ws
6517
6518 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6519
6520         * format.[Ch] (papersize): moved to BufferParams
6521         * converter.[Ch] (dvips_options): moved to BufferParams
6522         (dvipdfm_options): moved to anon namespace
6523         * bufferparams.[Ch]: added above functions.
6524
6525 2003-07-17  André Pönitz  <poenitz@gmx.net>
6526
6527         * lyxtext.h:
6528         * rowpainter.C:
6529         * text2.C: don't call inset->update() anymore
6530
6531         * metricsinfo.[Ch]: add convenience constructor
6532
6533 2003-07-16  André Pönitz  <poenitz@gmx.net>
6534
6535         * lyxcursor.[Ch]:
6536         * lyxfunc.[Ch]:
6537         * text.C:
6538         * text2.C: replace the LyXCursor::irow_ member with
6539          on-demand computation of the value
6540
6541 2003-07-16  John Levon  <levon@movementarian.org>
6542
6543         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6544
6545 2003-07-15  André Pönitz  <poenitz@gmx.net>
6546
6547         * text.C:
6548         * text2.C: remove no more needed refresh_row
6549
6550 2003-07-15  André Pönitz  <poenitz@gmx.net>
6551
6552         * lyxtext.h:
6553         * rowpainter.C:
6554         * text2.C:
6555         * text3.C: refresh_status tristate -> need_update bool
6556
6557 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6558
6559         * lyxtext.h (init): remove reinit argument (act as if always true)
6560         * text2.C: adjust to that
6561
6562 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6563
6564         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6565         * text3.C: use it to delete selections in some cases
6566         (bugs 441, 673, 702, 954).
6567
6568 2003-07-14  André Pönitz  <poenitz@gmx.net>
6569
6570         * rowpainter.[Ch]: reduce interface
6571
6572 2003-07-14  André Pönitz  <poenitz@gmx.net>
6573
6574         * BufferView_pimpl.C:
6575         * text2.C: adjust after removing unused BufferView * argument
6576
6577 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6578
6579         * text2.C (init): fix a crash fired on resize
6580
6581 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6582
6583         * buffer.[Ch]: added new closing signal
6584         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6585         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6586         BufferView::Pimpl via the closing the signal
6587
6588 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6589
6590         * buffer.[Ch]: take out all bv-related from buffer
6591         * BufferView.C:
6592         * BufferView_pimpl.[Ch]: connect to new signals
6593         * CutAndPaste.C: removed useless asserts
6594         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6595         * lyxvc.[Ch]:
6596         * vc-backend.[Ch]:
6597         * lyxfunc.C: moved view-related funciontality from vc here
6598         * paragraph.C: removed outdated comments
6599         * text.C: ws
6600
6601 2003-07-10  André Pönitz  <poenitz@gmx.net>
6602
6603         * BufferView_pimpl.C:
6604         * tabular.h:
6605         * tabular_funcs.C:
6606         * text.C:
6607         * text2.C: remove InsetText::InnerCache, clean up consequences
6608
6609 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6610
6611         * ispell.C: fix two typos in error messages
6612
6613 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6614
6615         * Extend Note inset to other forms of annotation like Comment
6616         and Greyedout. Right button click gives dialog.
6617
6618         Files modified or added (+):
6619
6620         * insetnote.[Ch]
6621         * FormNote.[Ch]      +
6622         * ControlNote.[Ch]   +
6623         * form_note.fd       +
6624         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6625         frontends/controllers
6626         * xforms/Dialogs.C
6627         * factory.C
6628
6629 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6630
6631         * aspell.C: add missing namespace lyx::support
6632
6633 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6634
6635         * BufferView.[Ch] (newFile): Add
6636         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6637         * LaTeX.[Ch] (message): added this signal and use it
6638         * buffer.[Ch] (busy, message): added these signals and use them
6639         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6640         * converter.C:
6641         * exporter.C:
6642         * format.C:
6643         * importer.C: use buffer signals instead of direct bv calling
6644         * lyx_cb.[Ch] (ShowMessage): removed
6645         * lyx_main.C:
6646         * lyxfunc.C:
6647         * paragraph_funcs.C:
6648         * text2.C: use buffer signals
6649
6650 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6651
6652         * introduce namespace lyx::graphics
6653
6654 2003-07-02  André Pönitz  <poenitz@gmx.net>
6655
6656         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6657
6658 2003-07-01  André Pönitz  <poenitz@gmx.net>
6659
6660         * text.C:
6661         * text2.C:
6662         * text3.C:
6663         * text_funcs.[Ch]:
6664         * textcursor.h:
6665         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6666           text*.C to text_func.C
6667
6668 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6669
6670         * introduce namespace lyx::support
6671
6672 2003-06-30  André Pönitz  <poenitz@gmx.net>
6673
6674         * Chktex.C:
6675         * funcrequest.C:
6676         * lyxtext.h:
6677         * text.C: re-enable --with-included-string
6678
6679 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6680
6681         * textcursor.C: add <config.h>
6682
6683         * text.C (getWord): remove const from word_location arg
6684
6685         * lyxvc.C (getLogFile): fix const type order
6686
6687         * lyxtext.h: remove const from word_location arg, add arg name
6688
6689         * lyxlayout.h: currect type on labeltype.
6690
6691         * importer.C: correct \file
6692
6693         * converter.C (intToFormat): use std:: on ret val, ws changes
6694
6695         * bufferlist.h: correct \file
6696
6697         * buffer.C (makeLinuxDocFile): fix const type order
6698         (makeDocBookFile): ditto
6699         (fillWithBibKeys): use std:: on stdlib args.
6700
6701         * CutAndPaste.C: fix authors.
6702         (availableSelections): use std:: on return vector
6703
6704 2003-06-27  André Pönitz  <poenitz@gmx.net>
6705
6706         * BufferView_pimpl.C:
6707         * bufferview_funcs.C:
6708         * lyxcursor.C:
6709         * lyxcursor.h:
6710         * lyxfunc.C:
6711         * lyxtext.h:
6712         * rowpainter.C:
6713         * text.C:
6714         * text2.C:
6715         * text3.C: remove LyXCursor::row_ member
6716
6717         * lyxtext.h:
6718         * text.C: rename fullRebreak() to partialRebreak() and implement
6719           a fullRebreak() that really bereks fully
6720
6721         * textcursor.h: new struct for cursor-related data
6722
6723 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6724
6725         * lyx_main.C (LyX): get full path of document loaded on the
6726         command line
6727
6728 2003-06-26  André Pönitz  <poenitz@gmx.net>
6729
6730         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6731           remove unused/broken operator>,<,>=.
6732
6733         *       text.C: remove only use of broken operator<= in an Assert().
6734
6735 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6736
6737         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6738         moved errorlist_.clear to showErrorList
6739
6740 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6741
6742         * converter.C (scanLog, runLaTeX):
6743         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6744         move the bv->showErrorList call to the callers
6745         * lyxfunc.C: i.e. here...
6746         * text2.C: and here
6747         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6748         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6749         namespace, the second to...
6750         * buffer_funcs (BufferFormat, parseErrors): added
6751         * errorlist.C (ErrorList(TeXErrors const &)): removed
6752
6753 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6754
6755         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6756
6757 2003-06-24  "Garst R. Reese" <reese@isn.net>
6758
6759         * debug.C: fix typo
6760
6761 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6762
6763         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6764
6765         * version.C.in: change docversion to 1.4
6766
6767 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6768
6769         * buffer.C: fix a bug just introduced
6770
6771 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6772
6773         * buffer.[Ch]: added the parseError signal and use it, removed
6774         sgmlError
6775         * BufferView.[Ch] (addError): moved to ...
6776         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6777         to the Buffer::parseError signal to catch (guess what) parse errors
6778         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6779
6780 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6781
6782         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6783         ability to create a buffer and to return an existing one from
6784         the list. Moved these functions to...
6785         * buffer_funcs.[Ch]: added
6786         * BufferView.[Ch] (loadLyXFile): added
6787         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6788         job removed from bufferlist::loadLyXFile.
6789         * buffer.C (setReadOnly): make it work without view
6790         (i.e added an if (users))
6791
6792 2003-06-19  Angus Leeming  <leeming@lyx.org>
6793
6794         * lfuns.h:
6795         * LyXAction.C (init):
6796         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6797         with LFUN_DIALOG_SHOW <name> <data>.
6798
6799 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6800
6801         * CutAndPaste.C (availableSelections): small compilation fix for
6802         ancient (gcc 2.9x) compilers
6803
6804 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6805
6806         * text3.C (cursorNext): add tmp var
6807
6808         * text2.C (updateCounters): for function calling out of for clause
6809         (replaceSelectionWithString): ditto
6810         (insertStringAsParagraphs): ditto
6811         (getColumnNearX): add tmp var
6812         (setCursorFromCoordinates): add tmp var
6813         (cursorDownParagraph): add tmp var
6814         (deleteEmptyParagraphMechanism): add tmp var
6815
6816         * text.C (insertChar): add tmp var
6817
6818         * rowpainter.C (paintDepthBar): add tmp var
6819
6820         * CutAndPaste.C (availableSelections): potentially check all
6821         paragraphs in a cut to fill the shown strings.
6822
6823 2003-06-18  André Pönitz  <poenitz@gmx.net>
6824
6825         * kbmap.[Ch]: use vector<> instead of list<>
6826
6827 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6828
6829         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6830         pasteSelection with index
6831
6832         * text2.C (pasteSelection): modify, call pasteSelection with index
6833
6834         * paragraph.C (asString): reimplement version with no interval to
6835         call the one with interval.
6836
6837         * lyxtext.h: add index arg to pasteSelection
6838
6839         * MenuBackend.C (MenuItem): handle PasteRecent
6840         (Menu::read::Menutags): add md_pasterecent
6841         (read): handle it
6842         (expandPasteRecent): new function
6843         (expand): use it
6844
6845         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6846
6847         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6848         the limited stack
6849         (availableSelections): new function
6850
6851 2003-06-17  Angus Leeming  <leeming@lyx.org>
6852
6853         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6854
6855 2003-06-17  Angus Leeming  <leeming@lyx.org>
6856
6857         * lfuns.h:
6858         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6859
6860         * lyxfunc.C (dispatch): invoke it.
6861
6862 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6863
6864         * iterators.C (operator++, ParPosition): reintroduce some
6865         const_cast for the benefit of older compilers.
6866
6867 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6868
6869         * text3.C (dispatch): do not modify clipboard when doing
6870         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6871         LFUN_DELETE_SKIP on a selection selection
6872
6873 2003-06-16  André Pönitz  <poenitz@gmx.net>
6874
6875         * BufferView.C:
6876         * buffer.C:
6877         * buffer.h:
6878         * paragraph.C:
6879         * tabular.[Ch]: IU of clone() and getLabelList();
6880
6881 2003-06-13  André Pönitz  <poenitz@gmx.net>
6882
6883         * tabular.h: compactification
6884
6885 2003-06-12  André Pönitz  <poenitz@gmx.net>
6886
6887         * tabular.C:
6888         * tabular.h:
6889         * tabular_funcs.h: some renaming plus whitespace
6890
6891 2003-06-12  André Pönitz  <poenitz@gmx.net>
6892
6893         * BufferView.C:
6894         * BufferView_pimpl.C:
6895         * CutAndPaste.C:
6896         * buffer.C:
6897         * iterators.[Ch]:
6898         * lyxfunc.C:
6899         * text.C:
6900         * toc.C: Return a Paragraph & for ParIterator::operator*()
6901
6902 2003-06-11  John Levon  <levon@movementarian.org>
6903
6904         * lyx_main.C:
6905         * ToolbarBackend.h:
6906         * ToolbarBackend.C: add "Toolbars" section and
6907         put the flags there
6908
6909 2003-06-10  Angus Leeming  <leeming@lyx.org>
6910
6911         * lfuns.h:
6912         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6913
6914         * lyxfunc.C (dispatch): invoke it.
6915
6916 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6917
6918         * main.C: protect <ios> with HAVE_IOS
6919         (main): protect sync_with_stdio with HAVE_IOS
6920
6921 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6922
6923         * text2.C (cutSelection): adjust
6924         (pasteSelection): adjust
6925
6926         * messages.C: handle get of empty string
6927
6928         * main.C (main): use sync_with_stdio(false)
6929
6930         * lyxfunc.C (dispatch): adjust
6931
6932         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6933         (WriteAs): remove unneeded BufferView arg.
6934
6935         * bufferparams.h: use correct types on papersize, papersize2 and
6936         paperpackage.
6937
6938         * bufferparams.C (readToken): adjust for type
6939         (writeLaTeX): add missing cases to switch.
6940
6941         * bufferlist.C (quitWriteBuffer): adjust
6942         (close): adjust
6943
6944         * buffer.C (asciiParagraph): remove some commented code.
6945
6946         * CutAndPaste.C: remove current_view extern variable.
6947         (cutSelection): add BufferParams arg.
6948         (eraseSelection): add BufferParams arg.
6949         (pasteSelection): add Buffer const & arg
6950
6951 2003-06-07  John Levon  <levon@movementarian.org>
6952
6953         * buffer.C:
6954         * paragraph_funcs.C:
6955         * paragraph_pimpl.C:
6956         * text.C:
6957         * text2.C:
6958         * paragraph.h:
6959         * paragraph.C: allow InsetERT to freely space lines,
6960         and some consolidation of code
6961
6962 2003-06-06  José Matos  <jamatos@fep.up.pt>
6963
6964         * buffer.C (makeDocBookFile): fix bug #821
6965
6966 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6967
6968         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6969
6970 2003-06-04  Angus Leeming  <leeming@lyx.org>
6971
6972         * buffer.C: bump format to 224.
6973
6974 2003-06-05  André Pönitz  <poenitz@gmx.net>
6975
6976         * text2.C (redoParagraphs): remove two const_cast<>
6977
6978 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6979
6980         * ParagraphList.h: remove last remnants of NO_STD_LIST
6981
6982 2003-06-03  Angus Leeming  <leeming@lyx.org>
6983
6984         * factory.C (createInset): small change to the way InsetExternal's params
6985         are set.
6986
6987 2003-06-04  André Pönitz  <poenitz@gmx.net>
6988
6989         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6990
6991         * paragraph_pimpl.h:
6992         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6993
6994         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6995
6996         * undo_funcs.C: make some simple cases of undo work again
6997
6998 2003-06-03  John Levon  <levon@movementarian.org>
6999
7000         * ispell.C: HPUX doesn't have sys/select.h
7001         (from Albert Chin)
7002
7003 2003-06-03  John Levon  <levon@movementarian.org>
7004
7005         * CutAndPaste.C: update tabular and include inset
7006         buffer references
7007
7008         * buffer.h:
7009         * paragraph.h:
7010         * paragraph.C: remove owningBuffer(), don't pass Buffer
7011         to clone()
7012
7013         * factory.C: insetGraphicsParams changed
7014
7015 2003-06-02  John Levon  <levon@movementarian.org>
7016
7017         * LyXAction.C:
7018         * factory.C:
7019         * lfuns.h:
7020         * lyxfunc.C:
7021         * text3.C: remove insetparent
7022
7023 2003-06-02  John Levon  <levon@movementarian.org>
7024
7025         * buffer.h:
7026         * buffer.C: fix inset_iterator.end(), move out of line
7027         (bug 1149)
7028
7029 2003-06-01  John Levon  <levon@movementarian.org>
7030
7031         * text3.C: use a proper cut/paste when doing inset
7032         insert (from Jürgen Spitzmüller)
7033
7034 2003-06-01  John Levon  <levon@movementarian.org>
7035
7036         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7037
7038 2003-05-30  André Pönitz  <poenitz@gmx.net>
7039
7040         * rowpainter.C: unify second drawing phase
7041
7042 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7043
7044         * trans_mgr.C: remove one case of current_view
7045
7046         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7047
7048         * paragraph_funcs.h: remove paragraph.h include
7049
7050         * paragraph.h: delete NO_STD_LIST stuff
7051
7052         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7053
7054         * buffer.h: remove paragraph.h include
7055
7056         * ParagraphList.C: delete file
7057
7058         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7059
7060         * toc.C (getTocList): adjust
7061
7062         * paragraph_pimpl.C (validate): adjust
7063
7064         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7065
7066         * paragraph.C (Paragraph): adjust
7067         (getPositionOfInset): use const_iterator, adjust
7068         (bibitem): use const_iterator, adjust
7069         (setInsetOwner): adjust
7070
7071         * iterators.C (operator++): adjust
7072
7073         * InsetList.[Ch]: Replace selfmade iterator with standard
7074         vector::iterator also introduce const_iterator. Remove getPos,
7075         getInset and setInset from InsetTable. Adjust accordingly.
7076
7077         * BufferView.C (lockInset): adjust
7078         (ChangeInsets): adjust
7079
7080         * tabular.[Ch]: delete commented same_id functions
7081
7082 2003-05-28  John Levon  <levon@movementarian.org>
7083
7084         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7085
7086 2003-05-28  André Pönitz  <poenitz@gmx.net>
7087
7088         * metricsinfo.[Ch]: remove 'fullredraw' member
7089
7090 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7091
7092         * lyxtextclass.C (operator): remove caching.
7093
7094 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7095
7096         * text3.C: adjust
7097
7098         * text2.C (cursorBottom): adjust
7099         (setCounter): use ParagraphList::find, adjust
7100
7101         * text.C (workWidth): use ParagraphList::find, adjust
7102
7103         * lyxcursor.C (LyXCursor): adjust
7104
7105         * buffer.C (inset_iterator): adjust
7106
7107         * ParagraphList.h: make iterator(value_type) private, make
7108         ParagraphList a friend of iterator.
7109
7110         * ParagraphList.C (find): new function
7111
7112         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7113
7114 2003-05-27  André Pönitz  <poenitz@gmx.net>
7115
7116         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7117
7118 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7119
7120         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7121
7122 2003-05-26  John Levon  <levon@movementarian.org>
7123
7124         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7125
7126 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7127
7128         * remove same_id from function signatures, adjust.
7129
7130 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7131
7132         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7133
7134         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7135
7136         * paragraph.C (Paragraph): get rid of same_ids parameter
7137
7138         * ParagraphList.C (insert): adjust
7139         (push_back): adjust
7140
7141 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7142
7143         * paragraph_funcs.C (breakParagraph): adjust
7144         (breakParagraphConservative): adjust
7145
7146         * buffer.C (readParagraph): adjust
7147
7148         * ParagraphList.C (insert): take a reference instead of a pointer
7149         (insert): adjust
7150
7151         * paragraph.[Ch] (id): new function
7152
7153         * bufferlist.C (newFile): adjust
7154
7155         * ParagraphList.C (ParagraphList): adjust
7156         (assign): adjust
7157         (push_back): take a reference instead of a pointer.
7158
7159         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7160
7161         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7162         instead.
7163
7164         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7165         set else use old code.
7166
7167         * ParagraphList.C: remove all NO_NEXT code and only compile this
7168         code of NO_STD_LIST is set.
7169
7170 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7171
7172         * BufferView_pimpl.C:
7173         * TextCache.C:
7174         * TextCache.h:
7175         * bufferlist.C:
7176         * errorlist.h:
7177         * format.C:
7178         * format.h:
7179         * graph.C:
7180         * lyxfunc.C:
7181         * lyxrc.C:
7182         * graphics/GraphicsConverter.C:
7183         * graphics/PreviewLoader.C: header adjustment
7184
7185 2003-05-23  Angus Leeming  <leeming@lyx.org>
7186
7187         * LaTeXFeatures.[Ch] (useBabel): new method.
7188         * bufferparams.C (writeLaTeX): use it.
7189
7190 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * ParagraphList.h (set): remove unused function.
7193
7194 2003-05-23  André Pönitz  <poenitz@gmx.net>
7195
7196         * BufferView.C:
7197         * BufferView_pimpl.C:
7198         * buffer.C:
7199         * buffer.h:
7200         * lyxfunc.C:
7201         * undo_funcs.C: setUndo reworked
7202
7203         * iterators.[Ch]: add access to topmost ParagraphList
7204
7205         * lyxtext.[Ch] (workWidth): add a const
7206
7207 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7208
7209         * texrow.[Ch] (increasePos): remove function
7210         * exporter.C (export): removed unused var and outdated comment
7211
7212 2003-05-23  Angus Leeming  <leeming@lyx.org>
7213
7214         * latexrunparams.h: rename fragile as moving_arg.
7215         * paragraph.C (simpleTeXOnePar): ditto.
7216         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7217
7218 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7219
7220         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7221         (createUndo): ditto
7222         (textUndoOrRedo): comment out a currently unused var.
7223
7224         * paragraph.h (NO_NEXT): enable NO_NEXT
7225
7226         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7227
7228         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7229
7230         * exporter.C (Export): adjust for removeAutoInsets removal.
7231
7232         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7233
7234         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7235
7236         * BufferView.[Ch] (removeAutoInsets): delete function
7237
7238 2003-05-22  Angus Leeming  <leeming@lyx.org>
7239
7240         * latexrunparams.h: add a free_spacing variable.
7241
7242         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7243         to pass moving_arg, as the data is stored in runparams.fragile.
7244
7245         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7246         to Inset::latexOptional or to simpleTeXOnePar.
7247
7248         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7249         free_spacing arg to Inset::latexOptional.
7250
7251         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7252         free_spacing arg.
7253
7254 2003-05-22  Angus Leeming  <leeming@lyx.org>
7255
7256         * latexrunparams.h: add fragile and use_babel variables.
7257
7258         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7259         * buffer.C (makeLaTeXFile): store this returned value in
7260         runparams.use_babel, thus passing it to the inset::latex methods.
7261
7262         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7263         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7264
7265         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7266         longer has a fragile arg, as it is stored in runparams.fragile.
7267
7268         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7269         moving_arg parameter as the data is stored in runparams.fragile.
7270
7271         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7272         a fragile parameter as the data is stored in runparams.fragile.
7273
7274 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7275
7276         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7277
7278 2003-05-22  Angus Leeming  <leeming@lyx.org>
7279
7280         * latexrunparams.h: add a 'bool nice' which defaults to false.
7281
7282         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7283         now encapsulated within runparams.
7284
7285         * bufferlist.C (updateIncludedTeXfiles):
7286         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7287
7288 2003-05-22  Angus Leeming  <leeming@lyx.org>
7289
7290         * latexrunparams.h: new file containing struct LatexRunParams.
7291         * Makefile.am: add new file.
7292
7293         * LaTeX.[Ch] (c-tor, run):
7294         * buffer.[Ch] (makeLaTeXFile):
7295         * bufferlist.[Ch] (updateIncludedTeXfiles):
7296         * converter.C (convert, scanLog):
7297         * converter.[Ch] (runLaTeX):
7298         * exporter.C (Export):
7299         * paragraph.[Ch] (simpleTeXOnePar):
7300         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7301         * paragraph_funcs.[Ch] (latexParagraphs):
7302         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7303         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7304         pass around a LatexRunParams parameter.
7305
7306 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7307
7308         * paragraph.[Ch]: remove unused constructor
7309
7310         * ParagraphList.C (erase): new function, taking two iterators
7311
7312 2003-05-22  André Pönitz  <poenitz@gmx.net>
7313
7314         * undo_funcs.C: remove duplicated code
7315
7316         * iterator.[Ch]: operator=
7317
7318 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7319
7320         * tabular.C (SetMultiColumn): ws changes
7321
7322         * rowpainter.C (paintFirst): get rid of a ->previous
7323
7324         * lyx_cb.C (getPossibleLabel): parlist simplification
7325
7326         * BufferView.C (ChangeInsets): simplify slightly.
7327
7328 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7329
7330         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7331         * lfuns.h: new LFUN_SPACE
7332         * lyxfunc.C: protected space has a new lfun
7333         * paragraph_funcs.C: read new space insets
7334         * text3.C:
7335         * factory.C: handle new space insets
7336
7337 2003-05-22  André Pönitz  <poenitz@gmx.net>
7338
7339         * BufferView.C:
7340         * BufferView_pimpl.C:
7341         * buffer.[Ch]:
7342         * lyxfunc.C:
7343         * undo_funcs.C: return a ParIterator from getParFromID.
7344
7345         * iterators.[Ch]: add two const's
7346
7347 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * toc.C (getTocList): adjust
7350
7351         * iterators.[Ch]: rework for parlist
7352
7353         * buffer.C (par_iterator_begin): adjust
7354         (par_iterator_end): adjust
7355
7356         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7357
7358         * BufferView.C (removeAutoInsets): adjust
7359         (ChangeInsets): adjust
7360
7361 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7362
7363         * text.C (top_y): fix bug 1110
7364
7365 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7366
7367         * errorlist.[Ch]: added
7368         * buffer.C:
7369         * BufferView.[Ch]:
7370         * BufferView_pimpl.C:
7371         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7372         instead
7373
7374 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7375
7376         * Makefile.am: ensure that lyx is relinked upon changes to the
7377         various "convenience" libs.
7378
7379 2003-05-20  Angus Leeming  <leeming@lyx.org>
7380
7381         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7382         files are compiled in alphabetical order again.
7383
7384         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7385
7386 2003-05-19  Angus Leeming  <leeming@lyx.org>
7387
7388         * gettext.[Ch]: remove "char const * _(char const *)".
7389
7390 2003-05-19  André Pönitz  <poenitz@gmx.net>
7391
7392         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7393
7394         * Makefile.am:
7395         * BufferView.C:
7396         * DepTable.h:
7397         * LaTeXFeatures.C:
7398         * buffer.C:
7399         * lyxfont.C:
7400         * lyxlex.h:
7401         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7402
7403 2003-05-19  André Pönitz  <poenitz@gmx.net>
7404
7405         * buffer.C:
7406         * lyxlayout.[Ch]:
7407         * lyxtextclass.[Ch]:
7408         * paragraph.C:
7409         * paragraph_funcs.[Ch]:
7410         * text2.C:
7411         * text3.C: more insetenv work
7412
7413 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7414
7415         * ParagraphParameters.C (params2string): small bug fixed
7416
7417 2003-05-16  André Pönitz  <poenitz@gmx.net>
7418
7419         * debug.C:
7420         * bufferview_funcs.C: patch from Kornel Benko to prevent
7421           crash when _(...) is called twice in a statement
7422
7423 2003-05-16  André Pönitz  <poenitz@gmx.net>
7424
7425         * BufferView.C:
7426         * lyxfunc.C:
7427         * text.C:
7428         * text2.C:
7429         * text3.C:
7430         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7431
7432 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7433
7434         * lyx_main.C (init): remove spurious static_cast
7435
7436 2003-05-14  André Pönitz  <poenitz@gmx.net>
7437
7438         * BufferView.C: fix format string
7439
7440 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7441
7442         * BufferView.[Ch] (insertErrors): removed
7443         * BufferView.[Ch] (showErrorList): added
7444         * buffer.C (runChkTeX):
7445         * converter.C (scanLog): call showErrorList instead of inserterrors
7446
7447 2003-05-13  André Pönitz  <poenitz@gmx.net>
7448
7449         * BufferView_pimpl.C:
7450         * buffer.C:
7451         * bufferview_func.C:
7452         * MenuBackend.C:
7453         * lyxfunc.C:
7454         * lyxrc.C:
7455         * tex-accent.C:
7456         * text3.C:
7457         * toc.C:
7458         * tabular_funcs.h: tostr() from its own header
7459
7460         * ParagraphParameters.C:
7461         * ToolbarBackend.C:
7462         * bufferparams.C:
7463         * format.C:
7464         * lyxlex_pimpl.C:
7465         * text3.C: STRCONV()
7466
7467 2003-05-12  André Pönitz  <poenitz@gmx.net>
7468
7469         * BufferView.C:
7470         * BufferView_pimpl.C:
7471         * CutAndPaste.C:
7472         * LaTeX.C:
7473         * LaTeXFeatures.C:
7474         * ParagraphParameters.C:
7475         * buffer.C:
7476         * bufferlist.C:
7477         * bufferparams.C:
7478         * bufferview_funcs.C:
7479         * converter.C:
7480         * counters.C:
7481         * debug.C:
7482         * exporter.C:
7483         * format.C:
7484         * importer.C:
7485         * lyx_cb.C:
7486         * lyx_main.C:
7487         * lyxfont.C:
7488         * lyxfunc.C:
7489         * lyxvc.C:
7490         * paragraph.C:
7491         * paragraph_funcs.C:
7492         * tabular.C:
7493         * tabular_funcs.C:
7494         * text2.C:
7495         * text3.C:  boost::format -> bformat  all over the place
7496
7497
7498 2003-05-09  André Pönitz  <poenitz@gmx.net>
7499
7500         * LColor.[Ch]: Pimpl the #include <map> away
7501
7502 2003-05-09  John Levon  <levon@movementarian.org>
7503
7504         * bufferlist.C: never remove emergency saves
7505
7506 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7507
7508         * Makefile.am: better lib building
7509
7510 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7511
7512         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7513         instead.
7514         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7515         (simpleTeXSpecialChars): adjust
7516         (simpleTeXSpecialChars): adjust
7517         * paragraph.C (simpleTeXOnePar): adjust
7518         * buffer.C (makeLaTeXFile): adjust
7519
7520         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7521
7522         * text2.C (changeDepth): parlist cleanup
7523         (getColumnNearX): ditto
7524
7525         * rowpainter.C (getLabelFont): parlist cleanup
7526
7527         * bufferlist.C (newFile): parlist cleanup
7528
7529         * CutAndPaste.C (eraseSelection): parlist cleanup
7530
7531         * BufferView_pimpl.C (trackChanges): parlist cleanup
7532         (dispatch): ditto
7533
7534         * BufferView.C (lockInset): parlist cleanup.
7535         (ChangeInsets): ditto
7536
7537 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7538
7539         * CutAndPaste.h: Update file header.
7540
7541         * CutAndPaste.C: Update file header.
7542         Store the parts cut out of the Document in a limited_stack.
7543         (copySelection): adjust
7544         (pasteSelection): new function, takes the index in the limited stack.
7545         (nrOfParagraphs): adjust
7546         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7547         simplify error inset insertion.
7548         (checkPastePossible): adjust
7549
7550 2003-05-06  John Levon  <levon@movementarian.org>
7551
7552         * text2.C: don't cast wrap inset to float
7553
7554 2003-05-05  André Pönitz  <poenitz@gmx.net>
7555
7556         * iterator.C:
7557         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7558
7559         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7560           few naked Paragraph *.
7561
7562 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7563
7564         * bufferparams.C: Output warning if a document with missing
7565         TeX document class is loaded
7566         * exporter.C: Disable TeX exports if the document class is missing
7567         * lyxtextclass.C:
7568         * lyxtextclass.h:
7569         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7570         isTeXClassAvailable()
7571
7572 2003-05-03  John Levon  <levon@movementarian.org>
7573
7574         * BufferView.h:
7575         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7576         explicit cursor show/hide
7577
7578         * BufferView_pimpl.h:
7579         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7580         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7581
7582         * lyxfunc.C: hide cursor before dispatching.
7583
7584         * lyx_cb.C:
7585         * lyxfind.C:
7586         * text.C:
7587         * text3.C: remove explicit cursor hides
7588
7589 2003-05-02  André Pönitz  <poenitz@gmx.net>
7590
7591         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7592
7593         * undo_funcs.C:
7594         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7595           linked lists
7596
7597         * text2.C: tiny whitespace
7598
7599 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7600
7601         * undo_funcs.C: almost only ws changes.
7602
7603         * ParagraphList.C (splice): just return if pl is empty.
7604
7605 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7606
7607         * ParagraphList.C (splice): new function.
7608
7609         * CutAndPaste.C (pasteSelection): use it
7610
7611 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7612
7613         * CutAndPaste.C (pasteSelection): remove the last next and
7614         previous from this file.
7615
7616 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7617
7618         * CutAndPaste.C (pasteSelection): more clean up, user proper
7619         ParagraphList functions for pasteing.
7620
7621         * ParagraphList.C (insert): new function, three arg insert
7622
7623 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7624
7625         * ParagraphList.C (insert): new function, three arg insert
7626
7627         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7628         not on paragraphs.
7629
7630 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7631
7632         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7633
7634 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7635
7636         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7637
7638 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7639
7640         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7641         (copySelection): clean up a bit.
7642         (pasteSelection): use make_pair
7643
7644         * ParagraphList.C (ParagraphList): implement copy constructor
7645         (operator=): implement, base on copy constructor.
7646         (assign): new func
7647
7648         * paragraph.C (erase): return a bool
7649
7650         * paragraph_pimpl.C (erasePos): remove function, move contents...
7651         (erase): ... here. Return a bool.
7652         (erase): call erase instead of erasePos.
7653
7654 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7655
7656         * ParagraphList.h: define PitPosPair
7657         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7658         ParagraphList, fix a bug on pasting multiple pars
7659         * text2.C: change interface to C&P
7660
7661 2003-04-30  André Pönitz  <poenitz@gmx.net>
7662
7663         * undo_func.C: revert part of yesterday's patch 2
7664
7665 2003-04-30  John Levon  <levon@movementarian.org>
7666
7667         * LColor.C: s/tabular/table/
7668
7669 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7670
7671         * text3.C (dispatch): do not convert iterator -> pointer
7672         * undo_funcs.C (setCursorParUndo): ditto
7673         * text_funcs.C (transposeChars): ditto
7674
7675         * text2.C (setLayout): ws changes only
7676
7677         * text.C (breakParagraph): do not convert iterator -> pointer
7678         (insertChar): ditto
7679         (acceptChange): ditto
7680         (rejectChange): ditto
7681         (changeCase): ditto
7682         (Delete): ditto
7683         (backspace): ditto
7684
7685         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7686         pointer
7687
7688 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7689
7690         * text3.C (gotoInset): YABG (yet another bad getChar)
7691
7692 2003-04-29  André Pönitz  <poenitz@gmx.net>
7693
7694         * paragraph.h: make operator= private unimplemented as long as
7695           it is unusable
7696
7697         * ParagraphList.C: whitespace
7698
7699         * paragraph.[Ch]:
7700         * paragraph_pimpl.[Ch]:
7701         * paragraph_funcs.C:
7702         * CutAndPaste.C:
7703         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7704
7705         * text2.C:
7706           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7707
7708 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7709
7710         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7711         * paragraph.[Ch] (erase):
7712         * paragraph_pimpl.[Ch] (erase): change return type and value
7713         * text2.C (cutSelection): some rework
7714
7715 2003-04-28  John Levon  <levon@movementarian.org>
7716
7717         * bufferlist.C: changes for unsaved changes dialog
7718
7719 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7720
7721         * bufferlist.C (newFile): set language (messages_) for new
7722         documents also.
7723
7724         * buffer.C (readFile): ws changes only.
7725
7726 2003-04-28  André Pönitz  <poenitz@gmx.net>
7727
7728         * undo_funcs.C:
7729         * lyxfunc.C:
7730         * buffer.[Ch]:
7731         * BufferView_pimpl.C:
7732         * BufferView.C: getParFromID related ParagraphList::iterator changes
7733
7734 2003-04-28  André Pönitz  <poenitz@gmx.net>
7735
7736         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7737           Changes
7738
7739 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7740
7741         * messages.C: remove one more localedir class variable.
7742
7743 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7744
7745         * messages.C (getLocaleDir): singleton generation function
7746         (Pimpl): use it.
7747         (Messages): add a default constructor.
7748
7749         * main.C (main): do not setup localedir here, do not call
7750         gettext_init.
7751
7752         * gettext.C (_): use it.
7753         (gettext_init): delete funciton
7754
7755 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7756
7757         * gettext.C (getLyXMessages): new singleton generating function.
7758
7759         * buffer.C (updateDocLang): adjust
7760
7761         * Makefile.am (messages.o): add target
7762         (main.o): remove target
7763
7764 2003-04-27  John Levon  <levon@movementarian.org>
7765
7766         * bufferlist.C:
7767         * lyx_cb.C:
7768         * lyxfunc.C:
7769         * lyxvc.C: specify cancel button in Alert::prompt
7770
7771 2003-04-26  John Levon  <levon@movementarian.org>
7772
7773         * text3.C:
7774         * lyxfunc.C:
7775         * lfuns.h:
7776         * LyXAction.C: add LFUN_INSET_SETTINGS
7777
7778         * lyxfunc.C: don't enable tabular-feature when there's
7779         just any locking inset
7780
7781 2003-04-26  John Levon  <levon@movementarian.org>
7782
7783         * bufferlist.C: re-add Cancel to buffer close question
7784
7785         * lyxfunc.C: fix import UI a bit
7786
7787 2003-04-25  John Levon  <levon@movementarian.org>
7788
7789         * gettext.C: remove the broken asserts for now
7790
7791 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7792
7793         * messages.C: make case where setlocale cannot comply work better.
7794
7795         * buffer.C (updateDocLang): new function
7796         (changeLanguage): use it
7797         (readFile): use it
7798
7799         * text2.C (setCounter): use B_ a bit.
7800
7801         * lyxlayout.C (Read): be sure to trim the label strings.
7802
7803         * messages.C (Messages): fix typo in comment
7804
7805         * buffer.C (readFile): set message_ after file is loaded.
7806         (makeDocBookFile): remove double return
7807         (changeLanguage): reset message_ upon language change.
7808         (B_): new func, use this to get translated buffer strings.
7809
7810         * main.C: add myself and Jean Marc as authors.
7811
7812 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7813
7814         * messages.[hC]: pimplify Messages, and three different pimpls to be
7815         used in different circumstances.
7816
7817         * gettext.[Ch]: change for use with new message code.
7818
7819 2003-04-24 André Pönitz <poenitz@gmx.net>
7820
7821         * factory.C: support for eqref
7822
7823 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7824
7825         * messages.[Ch]: add missing char
7826
7827         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7828
7829         * messages.[Ch]: New files
7830
7831 2003-04-18  John Levon  <levon@movementarian.org>
7832
7833         * BufferView.h:
7834         * BufferView.C:
7835         * BufferView_pimpl.C:
7836         * lfuns.h:
7837         * LyXAction.C:
7838         * lyxtext.h:
7839         * text2.C: remove layout-copy/paste (bug 778)
7840
7841 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7842
7843         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7844
7845 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7846
7847         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7848         if they succeed. Act accordingly.
7849
7850 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7851
7852         * text2.C (setCharFont): adjust
7853         (setCounter): adjust
7854         (insertStringAsLines): adjust
7855
7856         * text.C (leftMargin): adjust
7857         (setHeightOfRow): adjust
7858
7859         * rowpainter.C (paintFirst): adjust
7860         (paintLast): adjust
7861
7862         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7863         (outerHook): ditto
7864         (isFirstInSequence): ditto
7865         (getEndLabel): ditto
7866         (outerFont): adjust
7867
7868         * paragraph.C (getParLanguage): comment out some hard stuff.
7869
7870         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7871         (sgmlError): ditto
7872         (simpleDocBookOnePar): ditto
7873         (makeDocBookFile): use ParagraphList::iterator
7874
7875         * CutAndPaste.C (pasteSelection): adjust
7876
7877 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7878
7879         * text2.C (getFont): adjust
7880         (getLayoutFont): adjust
7881         (getLabelFont): adjust
7882
7883         * paragraph_funcs.C (TeXOnePar): adjust
7884
7885         * buffer.C (simpleLinuxDocOnePar): adjust
7886         (simpleDocBookOnePar): adjust
7887
7888         * CutAndPaste.C (pasteSelection): adjust
7889
7890         * BufferView.C (getEncoding): adjust
7891
7892         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7893
7894 2003-04-16  John Levon  <levon@movementarian.org>
7895
7896         * lyxfind.C: use parlist stuff for search/changes
7897
7898 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7899
7900         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7901
7902         * text2.C (deleteEmptyParagraphMechanism): adjust
7903
7904         * text2.[Ch] (ownerParagraph): delete func (both of them
7905
7906 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7907
7908         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7909
7910 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7911
7912         * ParagraphList.C: prepare for NO_NEXT
7913
7914 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7915
7916         * text2.C (getFont): adjust
7917         (getLayoutFont): adjust
7918         (getLabelFont): adjust
7919
7920         * paragraph.C (getFont): adjust
7921         (getLabelFont): adjust
7922         (getLayoutFont): adjust
7923
7924         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7925
7926 2003-04-15  John Levon  <levon@movementarian.org>
7927
7928         From Angus Leeming
7929
7930         * lyx_main.C: handle Include in .ui files
7931
7932 2003-04-15  John Levon  <levon@movementarian.org>
7933
7934         * MenuBackend.C: make the doc files length shorter
7935
7936         * ToolbarBackend.h:
7937         * ToolbarBackend.C: handle toolbar placement flags,
7938         Minibuffer
7939
7940 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7941
7942         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7943         adjust
7944
7945         * paragraph_funcs.C (TeXOnePar): adjust
7946
7947         * paragraph.C (getLabelFont): add outerfont arg, adjust
7948         (getLayoutFont): ditto
7949         (simpleTeXOnePar): adjust
7950
7951         * paragraph_pimpl.C (realizeFont): delete func
7952
7953 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7954
7955         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7956         row argument, constify cur argument.
7957
7958 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7959
7960         * text2.C (getFont): adjust
7961         (getLayoutFont): adjust
7962         (getLabelFont): adjust
7963
7964         * paragraph_funcs.C (TeXOnePar): adjust
7965         (outerFont): new func...
7966         (realizeFont): ...moved out from here, changed this to facilitate
7967         transition
7968
7969         * paragraph.C (getFont): take outerfont as arg, adjust
7970         (simpleTeXOnePar): add outerfont arg, adjust
7971
7972         * buffer.C (simpleLinuxDocOnePar): adjust
7973         (simpleDocBookOnePar): adjust
7974
7975         * CutAndPaste.C (pasteSelection): adjust
7976
7977         * BufferView.C (getEncoding): adjust
7978
7979 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7980
7981         * text2.C (setCharFont): adjust
7982         (setCounter): adjust
7983
7984         * text.C (leftMargin): adjust
7985         (setHeightOfRow): adjust
7986
7987         * rowpainter.C (paintFirst): adjust
7988         (paintLast): adjust
7989
7990         * paragraph_pimpl.C (realizeFont): adjust
7991
7992         * paragraph.C (isFirstInSequence): move from here...
7993         * paragraph_funcs.C (isFirstInSequence): ...to here
7994
7995         * paragraph.C (outerHook): move from here...
7996         * paragraph_funcs.C (outerHook): ...to here
7997
7998         * paragraph.C (depthHook): move from here...
7999         * paragraph_funcs.C (depthHook): ...to here
8000
8001         * paragraph.C (getEndLabel): move from here...
8002         * paragraph_funcs.C (getEndLabel): ...to here
8003
8004         * text2.C (realizeFont): move from here...
8005         * paragraph_funcs.C (realizeFont): ...to here
8006
8007 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8008
8009         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8010
8011 2003-04-14  Angus Leeming  <leeming@lyx.org>
8012
8013         * LColor.[Ch]: scrap LColor mathcursor.
8014
8015 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8016
8017         * lyxlex.[Ch] (text): delete function
8018         * trans.C (Load): adjust
8019         * paragraph_funcs.C (readParToken): adjust
8020
8021 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8022
8023         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8024         vector<char> instead of a char[].
8025
8026         * lyxlex_pimpl.C (getString): adjust
8027         (next): adjust
8028         (lex): use getString
8029         (eatLine): adjust
8030         (nextToken): adjust
8031
8032         * lyxlex.C (text): use pimpl_->getString()
8033         (getBool): ditto
8034         (findToken): ditto
8035
8036 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8037
8038         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8039         (makeFontEntriesLayoutSpecific): temp var for par.size()
8040         (setLayout): temp var for ownerParagraphs().end()
8041         (fullRebreak): temp var for rows().end()
8042         (selectionAsString): temp var for boost::next(startpit), realize
8043         that the while really is a regular for loop.
8044         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8045         setCursor in one place.
8046         (setParagraph): temp vr for ownerParagraphs().end()
8047         (updateCounters): make the while loop a for loop
8048         (cutSelection): temp var for ownerParagraphs().end()
8049         (updateInset): make the do {} while() a regular for loop
8050         (getCursorX): use temp vars
8051         (setCurrentFont): use temp vars
8052         (getColumnNearX): use temp vars
8053
8054 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8055
8056         * text.C (transformChar): use temp var for getChar
8057         (computeBidiTables): use temp var for row->par()
8058         (fill): move temp vars for row->par() and pit->layout() earlier in
8059         the function.
8060         (labelFill): use temp var for row->par()
8061         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8062         asc and desc, realize that pit never changes and that firstpit is
8063         just a duplicate and not needed. Exchange rit->par() with pit in a
8064         lot of places.
8065         (breakAgain): use a temp var for boost::next(rit)
8066         (breakAgainOneRow): ditto
8067         (breakParagraph): use a temp var for rows().begin()
8068         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8069         (cursorRightOneWord): use temp var for cursor.par() and
8070         cursor.pos(), remove usage of tmpcursor.
8071         (cursorLeftOneWord): use temp var for cursor.par() and
8072         cursor.pos() only set cur at end of function.
8073
8074 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8075
8076         * text.C, text2.C: exchange all usage of Paragraph::next with
8077         boost::next(ParagraphList::iterator)
8078
8079         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8080
8081         * text2.C (cursorTop): simplify implementation
8082         (cursorBottom): ditto
8083         (setParagraph): use ParagraphList::iterator
8084         (setCurrentFont): adjust
8085         (getColumnNearX): adjust
8086         (cursorRight): adjust
8087         (cursorLeft): remove usage of Paragraph::previous
8088         (cursorUpParagraph): ditto
8089         (deleteEmptyParagraphMechanism): slight cleanup
8090
8091         * text.C (isBoundary): take a Paragraph const & instead of a
8092         pointer as arg.
8093         (addressBreakPoint): ditto
8094         (leftMargin): remove usage of Paragraph::previous.
8095         (setHeightOfRow): ditto
8096         (cursorLeftOneWord): ditto
8097         (selectNextWordToSpellcheck): ditto
8098         (Delete): ditto
8099         (backspace): ditto
8100         (breakParagraph): remove one usage of Paragraph::next
8101         (redoParagraph): ditto
8102         (acceptChange): ditto
8103         (insertChar): adjust
8104         (rowBreakPoint): adjust
8105
8106         * bufferview_funcs.C (toggleAndShow): adjust
8107
8108 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8109
8110         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8111         methods to access it.
8112         * lyxtext.h:
8113         * text.C: Added updateRowPositions to compute all row positions.
8114         Make top_y and getRowNearY() to use the cached y position
8115
8116 2003-04-11  John Levon  <levon@movementarian.org>
8117
8118         * text.C (rowBreakPoint): reintroduce the labelEnd
8119         checks, code copied from the row fill stuff. Deep voodoo.
8120
8121         * text.C (fill): add a comment and debugging for the
8122         next poor soul.
8123
8124 2003-04-11  John Levon  <levon@movementarian.org>
8125
8126         * text.C: make sure fullrow insets get wrapped to the next line,
8127         even when they're in a manual label
8128
8129 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8130
8131         * text2.C (insertParagraph): make it take ParagraphList::iterator
8132         as arg.
8133         (setLayout): make it return ParagraphList::iterator
8134         (redoParagraphs): ditto
8135         (setCounter): ditto
8136         (checkParagraph): ditto
8137
8138         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8139
8140         * text2.C: adjust several funcs.
8141         (realizeFont): take a ParagraphList::iterator as arg.
8142         (getLayoutFont): ditto
8143         (getLabelFont): ditto
8144         (setCharFont): ditto
8145
8146         * text.C: adjust several funcs.
8147
8148 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8149
8150         * text.C (selectNextWordToSpellcheck): don't accidentally
8151         skip insets
8152
8153 2003-04-10  John Levon  <levon@movementarian.org>
8154
8155         * ToolbarBackend.C (getIcon): special handling for
8156         LFUN_MATH_DELIM
8157
8158 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8159
8160         * text2.C (cursorRight): a getChar assert fixed
8161
8162 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8163
8164         * text2.C (getFont): change to take a ParagraphList::iterator
8165         instead of Paragraph*
8166         Adjust several functions.
8167
8168         * text.C (transformChar): change to take a ParagraphList::iterator
8169         instead of Paragraph*
8170         (singleWidth): ditto
8171         Adjust several functions.
8172
8173         * rowpainter.C: adjust several functions
8174         * rowpainter.h:store a ParagraphList::iterator and not a
8175         Paragraph&.
8176
8177
8178 2003-04-09  John Levon  <levon@movementarian.org>
8179
8180         * lyxfunc.C:
8181         * lfuns.h:
8182         * LyXAction.h:
8183         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8184         and the "help" bits as well
8185
8186 2003-04-09  John Levon  <levon@movementarian.org>
8187
8188         * ToolbarBackend.h:
8189         * ToolbarBackend.C: allow multiple toolbars
8190
8191 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8192
8193         * undo_funcs.C (setCursorParUndo): adjust
8194
8195         * text_funcs.C (transposeChars): adjust
8196
8197         * text3.C (gotoNextInset): adjust
8198         (dispatch): adjust
8199
8200         * text2.C (setLayout): adjust
8201         (changeDepth): adjust
8202         (setFont): adjust
8203         (redoParagraphs): adjust
8204         (selectionAsString): adjust
8205         (setParagraph): adjust
8206         (insertInset): adjust
8207         (cutSelection): adjust
8208         (copySelection): adjust
8209         (pasteSelection): adjust
8210         (insertStringAsLines): adjust
8211         (updateInset): adjust
8212         (setCursor): change to take a ParagraphList::iterator parameter
8213         (setCursorIntern): change to take a ParagraphList::iterator parameter
8214         (setCurrentFont): adjust
8215         (cursorLeft): adjust
8216         (cursorRight): adjust
8217         (deleteEmptyParagraphMechanism): adjust
8218
8219         * text.C (breakParagraph): adjust
8220         (insertChar): adjust
8221         (acceptChange): adjust
8222         (rejectChange): adjust
8223         (selectNextWordToSpellcheck): adjust
8224         (changeCase): adjust
8225         (Delete): adjust
8226         (backspace): adjust
8227
8228         * lyxfind.C (SearchForward): adjust
8229         (SearchBackward): adjust
8230         (nextChange): adjust
8231
8232         * lyxcursor.C (par): adjust
8233
8234         * lyxcursor.h: store a ParagraphList::iterator instead of a
8235         Paragraph*
8236
8237         * lyx_cb.C (getPossibleLabel): adjust
8238
8239         * bufferview_funcs.C (toggleAndShow): adjust
8240
8241         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8242         (dispatch): adjust
8243
8244         * BufferView.C (removeAutoInsets): adjust
8245         (lockedInsetStoreUndo): adjust
8246
8247 2003-04-09  John Levon  <levon@movementarian.org>
8248
8249         * ToolbarBackend.C: try icon without argument
8250         if with argument fails
8251
8252 2003-04-08  John Levon  <levon@movementarian.org>
8253
8254         * ToolbarBackend.h:
8255         * ToolbarBackend.C: add getIcon(), handle tooltip,
8256         and change from "Icon" to "Item".
8257
8258 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8259
8260         * BufferView.C (lockInset): another bad getchar crunched
8261
8262 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8263
8264         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8265         again)
8266
8267 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8268
8269         * lyxfind.C (searchForward, searchBackwards): bug 782
8270
8271 2003-04-07  John Levon  <levon@movementarian.org>
8272
8273         * paragraph.C: remove dead comment
8274
8275         * text.C: remove troublesome depth-fiddling code
8276         in leftMargin() and rightMargin() (bug 1017)
8277
8278         * text.C: fix breaking of rows in nested lists
8279         (bug 1004)
8280
8281         * text2.C (updateCounters): fix up depth values
8282         (bug 1013)
8283
8284 2003-04-07  John Levon  <levon@movementarian.org>
8285
8286         * BufferView_pimpl.C: clear message when doc finishes resizing,
8287         and after a mouse event
8288
8289         * lyxfunc.C: clear message after exiting inset
8290
8291 2003-04-07  John Levon  <levon@movementarian.org>
8292
8293         * bufferview_funcs.C: show math status not outside
8294         status in the statusbar
8295
8296 2003-04-07  John Levon  <levon@movementarian.org>
8297
8298         * lyxfunc.C: note status changed after a depth change
8299
8300 2003-04-04  Angus Leeming  <leeming@lyx.org>
8301
8302         * LaTeX.h: move AuxInfo operator==, != out of line.
8303         Remove LaTeX virtual destructor; nothing derives from it.
8304         Move operator()() out of public area and rename it startscript().
8305         Change protected for private.
8306
8307 2003-04-04  Angus Leeming  <leeming@lyx.org>
8308
8309         * lyxfunc.C:
8310         * text2.C: remove unneeded #includes.
8311
8312 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8313
8314         * text2.C (dEPM): fix the heigth of the next row
8315
8316 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8317
8318         * text.C: squashed an invalid getChar requester + some ws changes
8319
8320 2003-04-03  John Levon  <levon@movementarian.org>
8321
8322         * bufferview_funcs.h:
8323         * bufferview_funcs.C:
8324         * lyxfunc.C:
8325         * lyxtext.h:
8326         * text2.C: make getStatus work for the env depth lfuns
8327
8328 2003-04-03  John Levon  <levon@movementarian.org>
8329
8330         * bufferview_funcs.h:
8331         * bufferview_funcs.C:
8332         * lyxfunc.C:
8333         * lyxtext.h:
8334         * text2.C: parlistize decDepth(), by merging it with incDepth()
8335
8336 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8337
8338         * lyxrow.h: store a ParagraphList::iterator instead of a
8339         Paragraph* and adjust other class functions to suit.
8340
8341         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8342         above.
8343
8344 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8345
8346         * text2.C (setCursor): do not anchor to cursor row for the time being
8347
8348 2003-04-02  John Levon  <levon@movementarian.org>
8349
8350         * LyXAction.C:
8351         * lfuns.h:
8352         * lyx_main.C:
8353         * lyxtext.h:
8354         * text.C:
8355         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8356
8357 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8358
8359         * paragraph.h: make ParagraphList and ParagraphList::iterator
8360         friends of Paragraph.
8361
8362         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8363
8364         * ParagraphList.C: Use the private next_ and previous_ from
8365         Paragraph.
8366
8367 2003-04-01  John Levon  <levon@movementarian.org>
8368
8369         * ToolbarBackend.h:
8370         * ToolbarBackend.C:
8371         * Makefile.am: rename, remove defaults gunk
8372
8373         * MenuBackend.h:
8374         * MenuBackend.C: remove defaults gunk
8375
8376         * Languages.h:
8377         * Languages.C: remove defaults gunk
8378
8379         * lyx_main.h:
8380         * lyx_main.C: error out if files couldn't be found.
8381
8382 2003-04-02  John Levon  <levon@movementarian.org>
8383
8384         * text2.C: make incDepth() use parlist
8385
8386 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8387
8388         * undo_funcs.C (firstUndoParagraph): adjust
8389
8390         * text3.C (gotoInset): adjust
8391         (dispatch): adjust, and rewrite loop.
8392
8393         * text2.C (init): adjust, and rewrite loop.
8394         (redoParagraphs): adjust
8395         (updateInset): adjust, and rewrite loop.
8396         (deleteEmptyParagraphMechanism): adjust
8397
8398         * tabular.C (LyXTabular): adjust
8399         (SetMultiColumn): adjust
8400         (TeXRow): adjust
8401
8402         * lyxtext.[Ch] (ownerParagraph): delete function
8403         (ownerParagraphs): new function returns a ParagraphList.
8404
8405         * BufferView.C (removeAutoInsets): adjust
8406         (insertErrors): adjust
8407         (setCursorFromRow): adjust
8408
8409 2003-04-01  Angus Leeming  <leeming@lyx.org>
8410
8411         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8412         in the frontends.
8413
8414 2003-04-02  John Levon  <levon@movementarian.org>
8415
8416         * lyxtext.h:
8417         * text.C:
8418         * Makefile.am:
8419         * text_funcs.h:
8420         * text_funcs.C: make transposeChars a free function
8421
8422         * lyxrow_funcs.C: remove wrong comment
8423
8424 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8425
8426         * lyxtext.h: adjust
8427         * rowpainter.C: adjust
8428         * text.C: adjust
8429         * text2.C: adjust
8430         * text3.C: adjust
8431
8432         * lyxrow_funcs. [Ch]: new files
8433
8434         * lyxrow.[Ch]: remove next and previous pointers
8435         (next,previous): remove accessor functions
8436         (isParEnd): move to lyxrow_funcs
8437         (lastPos): move to lyxrow_funcs
8438         (nextRowIsAllInset): move to lyxrow_funcs
8439         (lastPrintablePos): move to lyxrow_funcs
8440         (numberOfSeparators): move to lyxrow_funcs
8441         (numberOfHfills): move to lyxrow_funcs
8442         (numberOfLabelHfills): move to lyxrow_funcs
8443         (hfillExpansion): move to lyxrow_funcs
8444
8445         * lyxfunc.C: adjust
8446
8447         * bufferview_funcs.C (toggleAndShow): adjust
8448
8449         * RowList.h: Remove class RowList from file leave just a
8450         std::list<Row>.
8451
8452         * RowList.C: delete file
8453
8454         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8455         and lyxrow_funcs.h
8456
8457 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8458
8459         * text3.C (cursorPrevious): adjust
8460         (cursorNext): adjust
8461         (dispatch): adjust
8462
8463         * text2.C (redoHeightOfParagraph): adjust
8464         (redoDrawingOfParagraph): adjust
8465         (setCursor): adjust
8466
8467         * text.C (breakParagraph): adjust
8468         (insertChar): adjust
8469         (backspace): adjust
8470
8471         * rowpainter.C (RowPainter): adjust
8472         (leftMargin): simplify and adjust
8473         (most rowpainter functions): adjust.
8474
8475         * rowpainter.h: store the row as RowList::iterator not as Row*
8476
8477         * lyxcursor.C (row): taka RowList::iterator as arg
8478         (irow): ditto
8479
8480         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8481         of Row*.
8482
8483 2003-04-01  Angus Leeming  <leeming@lyx.org>
8484
8485         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8486         stuff like bool Bool.
8487
8488 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8489
8490         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8491         rewrite a loop
8492
8493 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8494
8495         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8496         RowList::iterator.
8497
8498         * lyxtext.h (rows): drop one version and leve a const variant that
8499         returns a RowList::iterator.
8500
8501 2003-03-31  Angus Leeming  <leeming@lyx.org>
8502
8503         * text.C (fill): ensure that the signature is the same as that in the
8504         header file.
8505
8506 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8507
8508         * text2.C (redoParagraphs): adjust
8509         (updateCounters): adjust
8510         (checkParagraph): adjust
8511         (getColumnNearX): adjust and reformat a bit.
8512
8513         * text.C (top_y): adjust
8514         (workWidth): adjust
8515         (leftMargin): adjust
8516         (prepareToPrint): adjust
8517         (getRow): adjust
8518         (getRowNearY): adjust
8519
8520         * lyxtext.h: make rowlist_ mutable.
8521
8522         * RowList.h: add const_iterator
8523         * RowList.C: adjust for RowList::const_iterator.
8524
8525         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8526         adjust.
8527
8528 2003-03-31  John Levon  <levon@movementarian.org>
8529
8530         * lyxrc.h:
8531         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8532
8533         * lyx_main.C: set default fonts from using lyx_gui funcs
8534
8535         * exporter.C: pdf_mode moved from lyxrc
8536
8537         * lyx_cb.C:
8538         * lyxfunc.C: changes from above
8539
8540 2003-03-31  John Levon  <levon@movementarian.org>
8541
8542         * lyx_main.C: fix to the last fix
8543
8544 2003-03-31  John Levon  <levon@movementarian.org>
8545
8546         * bufferlist.C: "Load original" -> "Load Original"
8547
8548         * converter.C:
8549         * exporter.C:
8550         * importer.C:
8551         * lyx_main.C:
8552         * format.C: more Alert cleanups
8553
8554 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8555
8556         * text2.C (removeParagraph): make it take a RowList::iterator as
8557         arg, adjust.
8558         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8559         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8560
8561         * text.C (anchor_row): make it take a RowList::iterator as arg,
8562         adjust.
8563         (computeBidiTables): make it take a const reference to Row instead
8564         of Row pointer, adjust.
8565         (leftMargin): make it take a RowList::iterator as arg, adjust.
8566         (rowBreakPoint): adjust
8567         (breakAgainOneRow): make it take a RowList::iterator as arg,
8568         adjust.
8569         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8570
8571         * bufferview_funcs.C (toggleAndShow): adjust
8572
8573 2003-03-30  John Levon  <levon@movementarian.org>
8574
8575         * Makefile.am:
8576         * BoostFormat.h:
8577         * boost-inst.C: moved to support
8578
8579         * several files: changes as a result
8580
8581 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8582
8583         * text2.C (LyXText): adjust.
8584         (init): adjust
8585         (removeRow): make it take a RowList::iterator as arg, adjust.
8586         (fullRebreak): adjust
8587         (deleteEmptyParagraphMechanism): adjust
8588         (clearPaint): adjust
8589         (postPaint): adjust
8590
8591         * text.C (top_y): adjust
8592         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8593         (breakAgain): make it take a RowList::iterator as arg, adjust.
8594         (breakParagraph): adjust
8595         (insertChar): adjust
8596         (backspace): adjust
8597
8598         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8599         need_break_row, and refresh_row.
8600
8601         * text3.C (dispatch): adjust
8602
8603         * text2.C (checkParagraph): adjust
8604         (setCursor): adjust
8605         (setCursorFromCoordinates): adjust
8606
8607         * text.C (top_y): adjust
8608         (workWidth): adjust
8609         (getRow): make it return a RowList::iterator, adjust
8610         (getRowNearY): make it return a RowList::iterator, adjust
8611
8612         * text2.C (init): adjust
8613         (insertRow): remove function
8614         (insertParagraph): adjust
8615         (redoParagraphs): adjust
8616         (fullRebreak): adjust
8617         (updateCounters): adjust
8618
8619         * text.C (top_y): rewrite to use RowList iterators.
8620         (top_y): adjust
8621         (setHeightOfRow): rewrite to sue RowList iterators.
8622         (appendParagraph): adjust
8623         (breakAgain): adjust
8624         (breakAgainOneRow): adjust
8625         (breakParagraph): adjust
8626         (getRow): adjust
8627         (getRowNearY): adjust, and remove commented code.
8628
8629         * lyxtext.h (firstRow): delete function
8630         (lastRow): delete function
8631         (rows): new function (const and non-const versions.)
8632         (insertRow): delete function
8633
8634         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8635
8636 2003-03-29  John Levon  <levon@movementarian.org>
8637
8638         * BufferView_pimpl.C: always update scrollbar top
8639         because pasting text when we're anchored could mean we
8640         miss an update altogether
8641
8642 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8643
8644         * text2.C (init): use rowlist_.end() and not 0.
8645         (insertRow): change to take a RowList::iterator as arg, adjust
8646         for this.
8647         (insertParagraph): change to take a RowList::iterator as arg,
8648         adjust for this.
8649         (redoParagraphs): remove some debug msgs.
8650
8651         * text.C (appendParagraph): change to take a RowList::iterator
8652         arg, adjust for this.
8653         (breakAgain): add an assert
8654         (breakAgainOneRow): ditto
8655
8656 2003-03-29  John Levon  <levon@movementarian.org>
8657
8658         * text2.C: do not clear selection after inc/decDepth
8659         (bug 550)
8660
8661 2003-03-29  John Levon  <levon@movementarian.org>
8662
8663         * BufferView.C:
8664         * buffer.C: fix broken strerrors according to Lars
8665
8666 2003-03-29  John Levon  <levon@movementarian.org>
8667
8668         * converters.C: more Alert cleanups
8669
8670 2003-03-29  John Levon  <levon@movementarian.org>
8671
8672         * bufferview_funcs.C: remove pointless Alert
8673
8674         * buffer.C: fix confusing error message when
8675         a template is chmoded 000
8676
8677 2003-03-29  John Levon  <levon@movementarian.org>
8678
8679         * BufferView.C:
8680         * BufferView.h:
8681         * BufferView_pimpl.C: Alert fixes
8682
8683         * Makefile.am:
8684         * tabular.C:
8685         * tabular-old.C: remove unused table compat reading
8686
8687 2003-03-29  John Levon  <levon@movementarian.org>
8688
8689         * BufferView.C:
8690         * buffer.C:
8691         * lyx_cb.h:
8692         * lyx_cb.C: more Alert cleanups
8693
8694         * lyxfunc.C: don't allow chktex if not latex document
8695
8696 2003-03-29  John Levon  <levon@movementarian.org>
8697
8698         * lyx_cb.C:
8699         * BufferView.C:
8700         * buffer.C: warnings pushed down from support/,
8701         kill err_alert
8702
8703 2003-03-29  John Levon  <levon@movementarian.org>
8704
8705         * lyxfunc.C: safety check for C-r (revert)
8706
8707 2003-03-29  John Levon  <levon@movementarian.org>
8708
8709         * bufferlist.h:
8710         * bufferlist.C: several UI fixes using Alert::prompt.
8711         Fix the pointless looping quit code. Fix stupid revert
8712         behaviour (bug 938)
8713
8714         * lyxvc.h:
8715         * lyxvc.C:
8716         * lyx_cb.C: use Alert::prompt
8717
8718         * lyx_main.C: remove a silly question
8719
8720         * lyxfunc.C: remove a couple of silly questions,
8721         use Alert::prompt
8722
8723 2003-03-28  John Levon  <levon@movementarian.org>
8724
8725         * text2.C: fix bug 974 (End on empty par)
8726
8727 2003-03-28  John Levon  <levon@movementarian.org>
8728
8729         * BufferView_pimpl.C:
8730         * LyXAction.C:
8731         * lfuns.h: remove do-nothing math greek lfuns
8732
8733 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8734
8735         * lyxgluelength.h (isValidGlueLength): add default arg on
8736         parameter 2. Remove default arg from friend in class.
8737
8738         * lyxlength.h (isValidLength): add default arg on parameter 2.
8739         Remove default arg from friend in class.
8740
8741         * text2.C (LyXText): adjust, initialize refresh_row.
8742         (init): adjust
8743         (removeRow): adjust
8744         (insertRow): adjust
8745         (insertParagraph): adjst
8746         (redoParagraphs): adjust
8747         (fullRebreak): adjust
8748         (updateCounters): adjust
8749         (deleteEmptyParagraphMechanism): first attempt at fixing a
8750         crashing bug.
8751
8752         * text.C (top_y): adjust
8753         (setHeightOfRow): adjust
8754         (getRow): adjust
8755         (getRowNearY): adjust
8756
8757         * lyxtext.h: include RowList.h
8758         (~LyXText): not needed anymore, deleted.
8759         (firstRow): modify for RowList
8760         (lastRow): new function
8761         Delete firstrow and lastrow class variables, add a Rowlist
8762         rowlist_ class variable.
8763
8764         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8765         paragraph is empty.
8766
8767         * RowList.C (insert): fix case where it == begin().
8768
8769 2003-03-26  Angus Leeming  <leeming@lyx.org>
8770
8771         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8772         the thesaurus dialog.
8773
8774 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8775
8776         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8777
8778         * RowList.[Ch]: new files
8779
8780         * ParagraphList.C (erase): handle the case where it == begin
8781         correctly.
8782
8783 2003-03-25  John Levon  <levon@movementarian.org>
8784
8785         * Makefile.am:
8786         * aspell_local.h:
8787         * aspell.C: add new aspell support
8788
8789         * lyxrc.h:
8790         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8791         have it accessible.
8792
8793 2003-03-25  Angus Leeming  <leeming@lyx.org>
8794
8795         * lfuns.h:
8796         * LyXAction.C (init): new LFUN_INSET_INSERT.
8797
8798         * BufferView_pimpl.C (dispatch): split out part of the
8799         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8800
8801         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8802         LFUN_INSET_APPLY.
8803
8804 2003-03-25  Angus Leeming  <leeming@lyx.org>
8805
8806         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8807
8808 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8809
8810         * text2.C:
8811         * text3.C: remove useless row->height(0)
8812
8813 2003-03-25  John Levon  <levon@movementarian.org>
8814
8815         * lyxtext.h:
8816         * text2.C:
8817         * text3.C: rename the refreshing stuff to better names
8818
8819 2003-03-24  John Levon  <levon@movementarian.org>
8820
8821         * BufferView_pimpl.h:
8822         * BufferView_pimpl.C: update layout choice on a mouse
8823         press/release
8824
8825 2003-03-23  John Levon  <levon@movementarian.org>
8826
8827         * Makefile.am: fix commandtags.h reference
8828
8829 2003-03-22  John Levon  <levon@movementarian.org>
8830
8831         * BufferView_pimpl.C:
8832         * lyxtext.h:
8833         * rowpainter.C:
8834         * rowpainter.h:
8835         * text.C:
8836         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8837
8838 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8839
8840         * lyxtext.h:
8841         * text.C: take the rtl methods out of line
8842
8843 2003-03-21 André Pönitz <poenitz@gmx.net>
8844
8845         * metricsinfo.[Ch]: new files containing structures to be passed around
8846         during the two-phase-drawing...
8847
8848 2003-03-21 André Pönitz <poenitz@gmx.net>
8849
8850         * lyxtextclass.C: read 'environment' tag.
8851
8852 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8853
8854         * text2.C (removeRow): fix bug 964
8855
8856 2003-03-20  John Levon  <levon@movementarian.org>
8857
8858         * rowpainter.C:
8859         * text.C:
8860         * text2.C: paint cleanups. Inset::update() dropped font
8861         parameter
8862
8863 2003-03-19  John Levon  <levon@movementarian.org>
8864
8865         * lyxfunc.C: only fitcursor/markDirty if available()
8866
8867 2003-03-19  John Levon  <levon@movementarian.org>
8868
8869         * commandtags.h: rename to ...
8870
8871         * lfuns.h: ... this, and renumber / cleanup
8872
8873 2003-03-19  John Levon  <levon@movementarian.org>
8874
8875         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8876         fit the cursor after an lfun
8877
8878         * BufferView.h:
8879         * BufferView.C:
8880         * BufferView_pimpl.h:
8881         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8882
8883         * LyXAction.C: layout-character should have ReadOnly
8884
8885         * ParagraphParameters.C:
8886         * buffer.C:
8887         * bufferview_funcs.C:
8888         * lyx_cb.C:
8889         * lyxfind.C:
8890         * lyxtext.h:
8891         * text.C:
8892         * text2.C:
8893         * text3.C:
8894         * undo_funcs.C: changes from above
8895
8896 2003-03-18  John Levon  <levon@movementarian.org>
8897
8898         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8899         remove it from update()
8900
8901         * lyxfunc.C: update layout choice after an lfun
8902
8903         * text3.C: remove extra updateLayoutChoice()s
8904
8905 2003-03-18  John Levon  <levon@movementarian.org>
8906
8907         * text.C: top_y change means full repaint, fix
8908         a drawing bug with cursor movement
8909
8910 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8911
8912         * lyxtext.h:
8913         * text.C:
8914         * text2.C: anchor row on setCursor
8915
8916 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8917
8918         * lyxtext.h: remove almost all mutable keywords
8919         * text.C:
8920         * text2.C:
8921         * text3.C: remove const keywords accordingly
8922
8923 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8924
8925         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8926         anon namespace
8927         (TeXEnvironment): ditto
8928         (TeXOnePar): ditto
8929
8930 2003-03-17  John Levon  <levon@movementarian.org>
8931
8932         * text.C (rowBreakPoint): remove attempt to fix displayed
8933         math insets inside a manual label
8934
8935 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8936
8937         * lyxtext.h: remove BufferView* as first arg from almost all class
8938         functions.
8939         * other files: adjust.
8940
8941 2003-03-17  John Levon  <levon@movementarian.org>
8942
8943         * lyxtext.h:
8944         * undo_funcs.C:
8945         * text2.C: more paint cleanups
8946
8947         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8948
8949         * rowpainter.h:
8950         * rowpainter.C: remove "smart" background painting code
8951
8952 2003-03-16  John Levon  <levon@movementarian.org>
8953
8954         * lyxtext.h:
8955         * text.C:
8956         * text2.C:
8957         * text3.C: add helper functions for setting refresh_row/y
8958
8959 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8960
8961         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8962         newline inset which *can* get inserted in the pass_thru layouts.
8963         This is primarily for literate documents.
8964
8965 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8966
8967         * buffer.C: increment LYX_FORMAT to 223
8968
8969 2003-03-14 André Pönitz <poenitz@gmx.net>
8970
8971         * textclass.h: prepare for environment handling, ws changes
8972         * lyxlayout.C: read latexheader and latexfooter tags
8973
8974 2003-03-14  John Levon  <levon@movementarian.org>
8975
8976         * text2.C: rewrite ::status() a bit
8977
8978 2003-03-13  John Levon  <levon@movementarian.org>
8979
8980         * lyxtext.h: add some docs
8981
8982 2003-03-13  John Levon  <levon@movementarian.org>
8983
8984         * lyxtext.h:
8985         * text.C:
8986         * text2.C:
8987         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8988
8989 2003-03-13  John Levon  <levon@movementarian.org>
8990
8991         * text3.C: fix appendix redrawing
8992
8993 2003-03-13  John Levon  <levon@movementarian.org>
8994
8995         * text.C (setHeightOfRow):
8996         * rowpainter.h:
8997         * rowpainter.C: make appendix mark have the text
8998           "Appendix" so the user knows what it is
8999
9000         * LColor.h:
9001         * LColor.C: s/appendixline/appendix/ from above
9002
9003 2003-03-13  John Levon  <levon@movementarian.org>
9004
9005         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9006
9007         * text.C: fix a getChar(pos) bug properly
9008
9009 2003-03-13  Angus Leeming  <leeming@lyx.org>
9010
9011         * commandtags.h:
9012         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9013         Probably only temporary. Let's see how things pan out.
9014
9015         * BufferView.C (unlockInset):
9016         * BufferView_pimpl.C (fitCursor):
9017         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9018
9019         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9020         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9021
9022         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9023         new functions that convert ParagraphParameters to and from a string.
9024
9025         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9026         BufferView::Pimpl's dispatch.
9027         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9028
9029 2003-03-13 André Pönitz <poenitz@gmx.net>
9030
9031         * lyxfunc.C:
9032         * text3.C:
9033         * factory.C: make it aware of InsetEnv
9034
9035 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9036
9037         * text2.C (setCursor): never ask for one past last
9038         (setCursor): add some debugging messages.
9039
9040         * text.C (singleWidth): never ask for one past last
9041         (singleWidth): ditto
9042         (leftMargin): ditto
9043         (rightMargin): ditto
9044         (rowBreakPoint): ditto
9045         (setHeightOfRow): ditto
9046         (prepareToPrint): ditto
9047
9048         * rowpainter.C (paintBackground): never ask for one past last
9049         (paintText): never ask for one past last
9050
9051         * paragraph_pimpl.C (getChar): make the assert stricter, never
9052         allow the one past last pos to be taken
9053
9054         * paragraph.C (getChar): ws changes only
9055
9056         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9057         (numberOfSeparators): ditto
9058         (numberOfHfills): ditto
9059
9060 2003-03-12  John Levon  <levon@movementarian.org>
9061
9062         * author.h:
9063         * author.C:
9064         * bufferparams.h:
9065         * bufferparams.C:
9066         * paragraph_funcs.C: fix per-buffer authorlists
9067
9068 2003-03-12  John Levon  <levon@movementarian.org>
9069
9070         * text.C: fix newline in right address
9071
9072 2003-03-12  Angus Leeming  <leeming@lyx.org>
9073
9074         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9075         duplicate those in LyXFunc::dispatch.
9076
9077         * commandtags.h:
9078         * LyXAction.C:
9079         * ToolbarDefaults.C:
9080         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9081         Add LFUN_FONTFREE_UPDATE.
9082
9083         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9084         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9085
9086         * bufferview_func.[Ch]: several new functions to facilliate
9087         transfer of data to and from the character dialog.
9088
9089 2003-03-12  John Levon  <levon@movementarian.org>
9090
9091         * buffer.C:
9092         * paragraph.h:
9093         * paragraph.C:
9094         * paragraph_funcs.C:
9095         * paragraph_pimpl.C:
9096         * sgml.C:
9097         * tabular.C:
9098         * text.C:
9099         * text3.C: remove META_NEWLINE in favour of an inset
9100
9101         * rowpainter.h:
9102         * rowpainter.C: remove paintNewline (done by inset)
9103
9104 2003-03-12  John Levon  <levon@movementarian.org>
9105
9106         * paragraph_pimpl.C: complain about bad getChar()s
9107         for a while at least
9108
9109 2003-03-12  John Levon  <levon@movementarian.org>
9110
9111         * buffer.h:
9112         * buffer.C: move paragraph read into a separate function,
9113         a little renaming to reflect that.
9114
9115         * bufferparams.h:
9116         * bufferparams.C: remove the author_ids map, not necessary now
9117
9118         * factory.h:
9119         * factory.C: moved Buffer::readInset to here
9120
9121         * paragraph_funcs.h:
9122         * paragraph_funcs.C: readParagraph free function moved from
9123         buffer.C
9124
9125         * tabular.C: name change
9126
9127 2003-03-12  John Levon  <levon@movementarian.org>
9128
9129         * buffer.C:
9130         * ParagraphParameters.C: move par params input to
9131         a read() method
9132
9133         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9134         behave like a normal read from the stream wrt reading
9135         a line vs. a \\token
9136
9137 2003-03-12  John Levon  <levon@movementarian.org>
9138
9139         * paragraph.C:
9140         * ParagraphParameters.h:
9141         * ParagraphParameters.C: move output code to a
9142         ::write() method
9143
9144 2003-03-12  John Levon  <levon@movementarian.org>
9145
9146         * BufferView.C (insertLyXFile):
9147         * buffer.h:
9148         * buffer.C:
9149         * tabular.C: use a parlist iterator for creating the
9150           document.
9151
9152 2003-03-12  John Levon  <levon@movementarian.org>
9153
9154         * buffer.C: make current_change static local not
9155           static file-scope
9156
9157 2003-03-12  John Levon  <levon@movementarian.org>
9158
9159         * buffer.C: fix insertStringAsLines for change tracking
9160
9161 2003-03-12  John Levon  <levon@movementarian.org>
9162
9163         * BufferView.C:
9164         * tabular.C:
9165         * buffer.h:
9166         * buffer.C:
9167         * bufferparams.h:
9168         * bufferparams.C: move author list into params. Rename some
9169           functions. Move the header reading into a separate token
9170           loop. Move the header token reading into BufferParams.
9171
9172 2003-03-12  John Levon  <levon@movementarian.org>
9173
9174         * changes.C: put debug inside lyxerr.debugging() checks
9175
9176 2003-03-11 André Pönitz <poenitz@gmx.net>
9177
9178         * factory.C: make it aware of InsetHFill
9179
9180 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9181
9182         * buffer.C (latexParagraphs): move function from here...
9183         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9184         args.
9185
9186 2003-03-10  Angus Leeming  <leeming@lyx.org>
9187
9188         * LyXAction.C (init): fix bug in poplating array with multiple entries
9189         with the same LFUN (spotted by JMarc).
9190
9191 2003-03-10  John Levon  <levon@movementarian.org>
9192
9193         * text.C:
9194         * text2.C: move getColumnNearX() near its
9195         only call site
9196
9197 2003-03-10  John Levon  <levon@movementarian.org>
9198
9199         * text.C: fix break before a minipage
9200
9201 2003-03-10  John Levon  <levon@movementarian.org>
9202
9203         * text.C: fix the last commit
9204
9205 2003-03-09  John Levon  <levon@movementarian.org>
9206
9207         * lyxtext.h:
9208         * text.C:
9209         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9210         bug 365 (don't break before insets unless needed). Don't
9211         return a value > last under any circumstances.
9212
9213 2003-03-09  Angus Leeming  <leeming@lyx.org>
9214
9215         * BufferView_pimpl.C (trackChanges, dispatch): call
9216         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9217
9218 2003-03-09  Angus Leeming  <leeming@lyx.org>
9219
9220         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9221         than Dialogs::showAboutlyx().
9222
9223 2003-03-09  Angus Leeming  <leeming@lyx.org>
9224
9225         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9226         than Dialogs::showTabularCreate().
9227
9228 2003-03-09  John Levon  <levon@movementarian.org>
9229
9230         * lyxtext.h:
9231         * text.C:
9232         * text2.C: 3rd arg to nextBreakPoint was always the same.
9233           Use references.
9234
9235 2003-03-08  John Levon  <levon@movementarian.org>
9236
9237         * lyxrow.C:
9238         * paragraph.C:
9239         * paragraph.h:
9240         * rowpainter.C:
9241         * text.C:
9242         * text2.C: Remove the "main" bit from the "main body"
9243           notion.
9244
9245 2003-03-08  John Levon  <levon@movementarian.org>
9246
9247         * text.C (leftMargin): The left margin of an empty
9248         manual label paragraph should not include the label width
9249         string length.
9250
9251         * text.C (prepareToPrint): don't attempt to measure hfills
9252         for empty manual label paragraphs - the answer should be 0
9253
9254 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9255
9256         * CutAndPaste.C: remove commented code and reindent.
9257
9258 2003-03-08  John Levon  <levon@movementarian.org>
9259
9260         * lyxfunc.h:
9261         * lyxfunc.C: move reloadBuffer()
9262
9263         * BufferView.h:
9264         * BufferView.C: to here
9265
9266         * lyxvc.C: add comment
9267
9268         * vc-backend.h:
9269         * vc-backend.C: call bv->reload() to avoid
9270           getStatus() check on MENURELOAD
9271
9272 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9273
9274         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9275         to an old format .dep file.
9276
9277 2003-03-07  Angus Leeming  <leeming@lyx.org>
9278
9279         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9280         when the LFUN_MOUSE_RELEASE should have been handled by
9281         inset->localDispatch.
9282
9283 2003-03-07  Angus Leeming  <leeming@lyx.org>
9284
9285         * BufferView_pimpl.C (dispatch):
9286         * LyXAction.C (init):
9287         * ToolbarDefaults.C (init):
9288         * commandtags.h:
9289         * lyxfunc.C (getStatus):
9290         remove LFUN_INSET_GRAPHICS.
9291
9292         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9293
9294 2003-03-07  Angus Leeming  <leeming@lyx.org>
9295
9296         * commandtags.h:
9297         * LyXAction.C (init):
9298         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9299
9300         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9301
9302         * commandtags.h:
9303         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9304
9305         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9306         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9307
9308 2003-03-07  Angus Leeming  <leeming@lyx.org>
9309
9310         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9311         remove "ert".
9312
9313 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9314
9315         * ParagraphList.C (front): new function
9316         (back): implement
9317
9318 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9319
9320         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9321         and top_row_offset_. removed var first_y.
9322         * text.C (top_y):
9323         * text2.C (LyXText, removeRow):
9324         * text3.C:
9325         * BufferView_pimpl.C:
9326         use these methods instead of using first_y
9327
9328 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9329
9330         * text2.C (pasteSelection): adjust for checkPastePossible
9331
9332         * CutAndPaste.C: remove Paragraph * buf and replace with
9333         ParagraphList paragraphs.
9334         (DeleteBuffer): delete
9335         (cutSelection): change the tc type to textclass_type
9336         (copySelection): change the tc type to textclass_type
9337         (copySelection): adjust for ParagraphList
9338         (pasteSelection): change the tc type to textclass_type
9339         (pasteSelection): adjust for Paragraphlist
9340         (nrOfParagraphs): simplify for ParagraphList
9341         (checkPastePossible): simplify for ParagraphList
9342         (checkPastePossible): remove unused arg
9343
9344         * ParagraphList.C (insert): handle the case where there are no
9345         paragraphs yet.
9346
9347         * CutAndPaste.h: make CutAndPaste a namespace.
9348
9349         * text3.C (dispatch): adjust
9350
9351         * text.C (breakParagraph): add a ParagraphList as arg
9352
9353         * paragraph_funcs.C (breakParagraph): change to take a
9354         BufferParams and a ParagraphList as args.
9355         (breakParagraphConservative): ditto
9356         (mergeParagraph): ditto
9357         (TeXDeeper): add a ParagraphList arg
9358         (TeXEnvironment): ditto
9359         (TeXOnePar): ditto
9360
9361         * buffer.C (readLyXformat2): adjust
9362         (insertStringAsLines): adjust
9363         (latexParagraphs): adjust
9364
9365         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9366         (cutSelection): adjust
9367         (pasteSelection): adjust
9368
9369         * BufferView_pimpl.C (insertInset): adjust
9370
9371 2003-03-05  Angus Leeming  <leeming@lyx.org>
9372
9373         * commandtags.h:
9374         * LyXAction.C (init):
9375         * BufferView_pimpl.C (dispatch):
9376         * lyxfunc.C (getStatus):
9377         remove LFUN_CHILD_INSERT.
9378
9379         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9380
9381 2003-03-05  Angus Leeming  <leeming@lyx.org>
9382
9383         * commandtags.h:
9384         * LyXAction.C (init):
9385         * src/factory.C (createInset):
9386         * lyxfunc.C (getStatus):
9387         * text3.C (dispatch):
9388         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9389
9390         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9391
9392 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9393
9394         * ParagraphList.C (insert): handle insert right before end()
9395         (erase): fix cases where it can be first or last paragraph.
9396
9397 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9398
9399         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9400         Paragraph::next and Paragraph::previous
9401         (TeXOnePar): ditto
9402
9403         * text.C (breakParagraph): adjust
9404
9405         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9406         BufferParams& as arg.
9407         (breakParagraph): use ParagraphList::insert
9408         (breakParagraphConservative): take a Buffer* instead of a
9409         BufferParams& as arg.
9410         (breakParagraphConservative): use ParagraphList::insert.
9411
9412         * buffer.C (insertStringAsLines): un-const it
9413         (insertStringAsLines): adjust
9414
9415         * ParagraphList.C (insert): new function
9416
9417         * CutAndPaste.C (pasteSelection): adjust
9418
9419         * text.C (backspace): adjust
9420
9421         * tabular.C (SetMultiColumn): adjust
9422
9423         * CutAndPaste.C (cutSelection): adjust
9424         (pasteSelection): adjust
9425
9426         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9427         Buffer const * as arg
9428
9429         * ParagraphList.C (erase): new function
9430         * paragraph_funcs.C (mergeParagraph): use it
9431         (mergeParagraph): make it take a Buffer* instead of a
9432         BufferParams* as arg
9433
9434         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9435         as arg
9436         (breakParagraphConservative): ditto
9437
9438         * paragraph.h: remove the breakParagraph friend
9439
9440         * paragraph.C (eraseIntern): new function
9441         (setChange): new function
9442
9443         * paragraph_funcs.C (mergeParagraph): make it take a
9444         ParagraphList::iterator instead of a Paragraph *, adjust
9445         accordingly.
9446
9447         * paragraph.h: move an #endif so that the change tracking stuff
9448         also works in the NO_NEXT case.
9449
9450 2003-03-04  Angus Leeming  <leeming@lyx.org>
9451
9452         * commandtags.h:
9453         * LyXAction.C: new LFUN_INSET_MODIFY.
9454
9455         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9456         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9457
9458 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9459
9460         * several files: ws changes only
9461
9462         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9463         (TeXEnvironment): ditto
9464         (TeXDeeper): ditto
9465
9466         * buffer.C (makeLaTeXFile): adjust
9467         (latexParagraphs): make it take ParagraphList::iterator as args
9468
9469 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9470
9471         * buffer.C (latexParagraphs): adjust
9472
9473         * paragraph.C (TeXOnePar): move function...
9474         (optArgInset): move function...
9475         (TeXEnvironment): move function...
9476         * paragraph_pimpl.C (TeXDeeper): move function...
9477         * paragraph_funcs.C: ...here
9478
9479         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9480
9481 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9482
9483         * buffer.C (readInset): remove compability code for old Figure and
9484         InsetInfo insets
9485
9486 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9487
9488         * buffer.C: ws changes
9489         (readInset):
9490
9491         * BufferView_pimpl.C: ditto
9492         * author.C: ditto
9493         * buffer.h: ditto
9494         * bufferlist.h: ditto
9495         * changes.h: ditto
9496         * lyxfunc.C: ditto
9497
9498 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9499
9500         * converter.[Ch]: split into itself +
9501         * graph.[Ch]
9502         * format.[Ch]
9503         * Makefile.am: += graph.[Ch] + format.[Ch]
9504         * MenuBackend.C
9505         * buffer.C
9506         * exporter.C
9507         * importer.C
9508         * lyx_main.C
9509         * lyxfunc.C
9510         * lyxrc.C: added #include "format.h"
9511
9512 2003-02-27  Angus Leeming  <leeming@lyx.org>
9513
9514         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9515           a label.
9516
9517         * factory.C (createInset): add "label" to the factory.
9518
9519         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9520           string and do no more.
9521
9522 2003-02-27  Angus Leeming  <leeming@lyx.org>
9523
9524         * commandtags.h:
9525         * LyXAction.C (init):
9526         * factory.C (createInset):
9527         * BufferView_pimpl.C (dispatch):
9528           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9529
9530         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9531
9532         * lyxfunc.C (dispatch):
9533         * text3.C (dispatch): pass name to params2string.
9534
9535 2003-02-26  Angus Leeming  <leeming@lyx.org>
9536
9537         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9538           blocks together.
9539           Rearrange the ~includes. Strip out the unnecessary ones.
9540
9541         * factory.C (createInset): reformat.
9542           create new insets for the various LFUN_XYZ_APPLY lfuns.
9543
9544 2003-02-26  John Levon  <levon@movementarian.org>
9545
9546         * lyxrow.h:
9547         * lyxrow.C: add isParStart,isParEnd helpers
9548
9549         * paragraph.h: make isInserted/DeletedText take refs
9550
9551         * paragraph_funcs.h:
9552         * paragraph_funcs.C: remove #if 0'd code
9553
9554         * lyxtext.h:
9555         * text3.C:
9556         * text2.C:
9557         * text.C: use lyxrow helpers above.
9558           Move draw and paint routines to RowPainter.
9559           Make several methods use refs not pointers.
9560           Make backgroundColor() const.
9561           Add markChangeInDraw(), isInInset().
9562           Merge changeRegionCase into changeCase.
9563           Make workWidth() shouldn't-happen code into an Assert.
9564
9565         * rowpainter.h:
9566         * rowpainter.C: new class for painting a row.
9567
9568         * vspace.h:
9569         * vspace.C: make inPixels take a ref
9570
9571 2003-02-26  Angus Leeming  <leeming@lyx.org>
9572
9573         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9574         LFUN_REF_APPLY.
9575
9576 2003-02-25  John Levon  <levon@movementarian.org>
9577
9578         * ispell.C: give the forked command a more accurate name
9579
9580 2003-02-22  John Levon  <levon@movementarian.org>
9581
9582         * toc.h:
9583         * toc.C: make TocItem store an id not a Paragraph *
9584           (bug #913)
9585
9586 2003-02-21  Angus Leeming  <leeming@lyx.org>
9587
9588         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9589           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9590           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9591           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9592           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9593           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9594
9595         * BufferView_pimpl.C (dispatch):
9596         * LyXAction.C (init):
9597         * factory.C (createInset):
9598         * lyxfunc.C (getStatus, dispatch):
9599         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9600
9601 2003-02-21  Angus Leeming  <leeming@lyx.org>
9602
9603         * BufferView_pimpl.C (MenuInsertLyXFile):
9604         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9605         * lyxfunc.C (menuNew, open, doImport):
9606           no longer pass a LyXView & to fileDlg.
9607
9608 2003-02-21  Angus Leeming  <leeming@lyx.org>
9609
9610         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9611         * LyXAction.C: change, BIBKEY to BIBITEM.
9612         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9613         Change InsetBibKey to InsetBibitem.
9614         Change BIBKEY_CODE to BIBITEM_CODE.
9615         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9616         * factory.C: replace insetbib.h with insetbibitem.h.
9617         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9618         * paragraph.C: replace insetbib.h with insetbibitem.h.
9619         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9620         Change bibkey() to bibitem().
9621         * text.C: remove insetbib.h.
9622         * text2.C: replace insetbib.h with insetbibitem.h.
9623         change bibkey() to bibitem().
9624         * text3.C: remove insetbib.h.
9625         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9626
9627 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9628
9629         * lyxrc.C (output): enclose user email in quotes (in case there are
9630         several words)
9631
9632 2003-02-18  John Levon  <levon@movementarian.org>
9633
9634         * buffer.h: add std::
9635
9636 2003-02-17  John Levon  <levon@movementarian.org>
9637
9638         * SpellBase.h:
9639         * ispell.h:
9640         * ispell.C:
9641         * pspell.h:
9642         * pspell.C: reworking. Especially in ispell, a large
9643           number of clean ups and bug fixes.
9644
9645         * lyxfunc.C: fix revert to behave sensibly
9646
9647 2003-02-17 André Pönitz <poenitz@gmx.net>
9648
9649         * LyXAction.C:
9650         * commandtags.h: new LFUN_INSERT_BIBKEY
9651
9652         * layout.h:
9653         * lyxlayout.C:
9654         * buffer.C:
9655         * factory.C:
9656         * text.C:
9657         * text2.C:
9658         * text3.C:
9659         * paragraph.[Ch]:
9660         * paragraph_func.C: remove special bibkey handling
9661
9662 2003-02-17  John Levon  <levon@movementarian.org>
9663
9664         * text.C (Delete): fix case where delete at the end of
9665           the very first paragraph would not merge the pars
9666
9667 2003-02-17  John Levon  <levon@movementarian.org>
9668
9669         * lyxrow.C: fix lastPrintablePos()
9670
9671 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9672
9673         * bufferparams.C (writeLaTeX): add a std:here
9674
9675         * buffer.C: and remove a using directive there
9676
9677 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9678
9679         * buffer.C (makeLaTeXFile): move the code that generates the
9680           preamble...
9681
9682         * bufferparams.C (writeLaTeX): ... in this new method
9683
9684         * LaTeXFeatures.C (getEncodingSet): make const
9685           (getLanguages): make const
9686
9687         * MenuBackend.C (binding): returns the binding associated to this
9688           action
9689           (add): sets the status of each item by calling getStatus. Adds
9690           some intelligence.
9691           (read): add support for OptSubMenu
9692           (expand): remove extra separator at the end of expanded menu
9693
9694 2003-02-15  John Levon  <levon@movementarian.org>
9695
9696         * BufferView.C:
9697         * BufferView_pimpl.C:
9698         * bufferlist.h:
9699         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9700           inset code that had no actual effect. Remove unneeded status
9701           code.
9702
9703 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9704
9705         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9706           in preamble
9707
9708 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9709
9710         * text.C (drawLengthMarker): also draw an arrow marker for
9711           symbolic lengths (medskip...)
9712
9713 2003-02-14  John Levon  <levon@movementarian.org>
9714
9715         * tabular.h:
9716         * tabular.C: better method names
9717
9718 2003-02-14  John Levon  <levon@movementarian.org>
9719
9720         * BufferView_pimpl.C:
9721         * bufferlist.C:
9722         * buffer.C:
9723         * converter.C:
9724         * lyx_cb.C:
9725         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9726           it's a more accurate name. Remove some pointless uses.
9727
9728 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9729
9730         * text2.C (LyXText): change order of initilizers to shut off
9731           warnings
9732
9733 2003-02-14  John Levon  <levon@movementarian.org>
9734
9735         * buffer.C: use ParIterator for getParFromID()
9736
9737         * paragraph.h:
9738         * paragraph.C:
9739         * paragraph_pimpl.h:
9740         * paragraph_pimpl.C: remove unused getParFromID()
9741
9742 2003-02-14  John Levon  <levon@movementarian.org>
9743
9744         * buffer.C: remove some very old #if 0'd parse code
9745
9746 2003-02-13  John Levon  <levon@movementarian.org>
9747
9748         * text.h:
9749         * text.C:
9750         * text2.C: move hfillExpansion(), numberOfSeparators(),
9751           rowLast(), rowLastPrintable(), numberofHfills(),
9752           numberOfLabelHfills() ...
9753
9754         * lyxrow.h:
9755         * lyxrow.C: ... to member functions here.
9756
9757         * paragraph.h:
9758         * paragraph.C:
9759         * lyxtext.h:
9760         * text.C: remove LyXText::beginningOfMainBody(), and call
9761           p->beginningOfMainBody() directly. Move the check for
9762           LABEL_MANUAL into the latter.
9763
9764         * text.h:
9765         * text.C:
9766         * text2.C:
9767         * vspace.C:
9768         * BufferView.h:
9769         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9770
9771         * text.h:
9772         * text.C:
9773         * text2.C:
9774         * text3.C:
9775         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9776           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9777
9778 2003-02-13  John Levon  <levon@movementarian.org>
9779
9780         * CutAndPaste.C: remove debug
9781
9782 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9783
9784         * paragraph.C (asString): remove two unused variables
9785
9786         * lyxtextclass.C (readTitleType):
9787           (Read):
9788           (LyXTextClass): handle new members titletype_ and titlename_
9789
9790         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9791
9792 2003-02-09  John Levon  <levon@movementarian.org>
9793
9794         * buffer.h:
9795         * buffer.C: replace hand-coded list with a map for the dep clean
9796
9797 2003-02-08  John Levon  <levon@movementarian.org>
9798
9799         * LaTeX.C: consolidate code into showRunMessage() helper
9800
9801 2003-02-08  John Levon  <levon@movementarian.org>
9802
9803         * lyxfind.C:
9804         * lyxtext.h:
9805         * text2.C:
9806         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9807           and pass the size in explicitly
9808
9809         * BufferView_pimpl.h:
9810         * BufferView_pimpl.C:
9811         * BufferView.h:
9812         * BufferView.C: add getCurrentChange()
9813
9814         * BufferView_pimpl.h:
9815         * BufferView_pimpl.C: handle change lfuns
9816
9817         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9818           for changes. Mark pasted paragraphs as new.
9819
9820         * support/lyxtime.h:
9821         * support/lyxtime.C:
9822         * DepTable.C: abstract time_t as lyx::time_type
9823
9824         * LColor.h:
9825         * LColor.C: add colours for new text, deleted text, changebars
9826
9827         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9828           package use "usenames" option.
9829
9830         * commandtags.h:
9831         * lyxfunc.C:
9832         * LyXAction.C: add change lfuns
9833
9834         * Makefile.am:
9835         * author.h:
9836         * author.C: author handling
9837
9838         * buffer.h:
9839         * buffer.C: add a per-buffer author list, with first entry as
9840           current author. Handle new .lyx tokens for change tracking. Output
9841           author list to .lyx file. Output dvipost stuff to .tex preamble.
9842           Bump lyx format to 222.
9843
9844         * bufferlist.h:
9845         * bufferlist.C: add setCurrentAuthor() to reset current author details
9846           in all buffers.
9847
9848         * bufferparams.h:
9849         * bufferparams.C: add param for tracking
9850
9851         * bufferview_funcs.C: output change info in minibuffer
9852
9853         * Makefile.am:
9854         * changes.h:
9855         * changes.C: add change-tracking structure
9856
9857         * debug.h:
9858         * debug.C: add CHANGES debug flag
9859
9860         * lyxfind.h:
9861         * lyxfind.C: add code for finding the next change piece
9862
9863         * lyxrc.h:
9864         * lyxrc.C: add user_name and user_email
9865
9866         * lyxrow.h:
9867         * lyxrow.C: add a metric for the top of the text line
9868
9869         * lyxtext.h:
9870         * text.C: implement accept/rejectChange()
9871
9872         * lyxtext.h:
9873         * text.C: paint changebars. Paint new/deleted text in the chosen
9874         colours. Strike through deleted text.
9875
9876         * paragraph.h:
9877         * paragraph.C:
9878         * paragraph_pimpl.h:
9879         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9880           in the current change to the insert functions. Rework erase to
9881           mark text as deleted, adding an eraseIntern() and a range-based
9882           erase(). Implement per-paragraph change lookup and
9883           accept/reject.
9884
9885         * paragraph_funcs.C: Fixup paste for change tracking.
9886
9887         * tabular.C: mark added row/columns as new.
9888
9889         * text.C: fix rowLast() to never return -1. Don't allow
9890           spellchecking of deleted text. Track transpose changes. Don't
9891           allow paragraph break or merge where appropriate.
9892
9893         * text2.C: leave cursor at end of selection after a cut.
9894
9895 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9896
9897         * text.C (getLengthMarkerHeight):
9898         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9899         visible on screen too.
9900
9901 2003-02-07  John Levon  <levon@movementarian.org>
9902
9903         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9904
9905 2003-02-05  Angus Leeming  <leeming@lyx.org>
9906
9907         * lyxserver.C (read_ready): revert my patch of 11 September last year
9908         as it sends PC cpu through the roof. Presumably this means that
9909         the lyxserver will no longer run on an Alpha...
9910
9911 2003-01-30  Angus Leeming  <leeming@lyx.org>
9912
9913         * factory.C (createInset): create an InsetCommandParam of type "index"
9914         and use it to 'do the right thing'.
9915
9916         * text2.C (getStringToIndex): ensure that cursor position is always
9917         reset to the reset_cursor position.
9918
9919 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9920
9921         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9922         disabled.
9923
9924 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9925
9926         * bufferview.C:
9927         * lyxcb.C:
9928         * lyxfunc.C: Output messages with identical spelling, punctuation,
9929         and spaces
9930
9931 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9932
9933         * MenuBackend.C (expandFormats): List only viewable export formats
9934         in "View" menu
9935
9936         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9937         message
9938
9939         * lyxfunc.C (getStatus): Make sure that formats other than
9940         "fax" can also be disabled
9941
9942 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9943
9944         * text3.C (dispatch): put the lfuns that insert insets in 3
9945         groups, and call doInsertInset with appropriate arguments.
9946         (doInsertInset): new function, that creates an inset and inserts
9947         it according to some boolean parameters.
9948
9949 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9950
9951         * buffer.C (readFile): remember to pass on 'par' when calling
9952         readFile recursively.
9953
9954 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9955
9956         * MenuBackend.C (expandFormats): add "..." to import formats.
9957
9958 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9959
9960         * paragraph.C (asString): Remove XForms RTL hacks.
9961
9962 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9963         * buffer.C: fix typo
9964
9965 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9966
9967         * Makefile.am (LIBS): delete var
9968         (lyx_LDADD): add @LIBS@ here instead.
9969
9970 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9971
9972         * Clarify the meaning of "wheel mouse jump"
9973
9974 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9975
9976         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9977         tabular in a float
9978
9979 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9980
9981         * importer.C (Loaders): do not preallocate 3 elements in the
9982         vector, since one ends up with 6 elements otherwise
9983
9984 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9985
9986         * DepTable.C (write): write the file name as last element of the
9987         .dep file (because it may contain spaces)
9988         (read): read info in the right order
9989
9990 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9991
9992         * paragraph_pimpl.C (simpleTeXBlanks):
9993         (simpleTeXSpecialChars):
9994         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9995
9996         * tabular.C (latex): add some missing case statements. Reindent.
9997
9998         * MenuBackend.C (expandToc): remove unused variable.
9999
10000 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10001
10002         * LColor.C:
10003         * LaTeX.C:
10004         * LyXAction.C:
10005         * MenuBackend.C:
10006         * buffer.C:
10007         * exporter.C:
10008         * lyxfunc.C:
10009         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10010         and the like.
10011
10012 2003-01-05  John Levon  <levon@movementarian.org>
10013
10014         * BufferView.h:
10015         * BufferView.C: add getEncoding()
10016
10017         * kbsequence.h:
10018         * kbsequence.C: do not store last keypress
10019
10020         * lyxfunc.h:
10021         * lyxfunc.C: store last keypress here instead. Pass encoding
10022           to getISOEncoded()
10023
10024 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10025
10026         * lyx_main.C (init): remove annoying error message when following
10027         symbolic links (bug #780)
10028
10029 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10030
10031         * text.C (insertChar):
10032         * lyxrc.C (getDescription): remove extra spaces
10033
10034 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10035
10036         * lyxrc.C (getDescription): remove extra spaces
10037
10038 2002-12-20  John Levon  <levon@movementarian.org>
10039
10040         * text3.C: hack fix for page up/down across tall rows
10041
10042 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10043
10044         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10045         not been invoked
10046
10047 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10048
10049         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10050         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10051         thesaurus is not compiled in
10052
10053 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10054
10055         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10056
10057 2002-12-16  Angus Leeming  <leeming@lyx.org>
10058
10059         * lyxrc.[Ch]:
10060         * lyx_main.C (init): remove override_x_deadkeys stuff.
10061
10062 2002-12-12  John Levon  <levon@movementarian.org>
10063
10064         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10065           insert. Only remove shift modifier under strict
10066           circumstances.
10067
10068 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10069
10070         * MenuBackend.C (expandToc): fix crash.
10071
10072 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10073
10074         * MenuBackend.C (expandToc): gettext on float names.
10075
10076 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10077
10078         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10079         implement bool empty() [bug 490]
10080
10081 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10082
10083         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10084
10085 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10086
10087         * several files: ws changes
10088
10089 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10090
10091         * text2.C (setCounter): clean up a bit, use boost.format.
10092         (updateCounters): initialize par upon declaration.
10093
10094         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10095         if the layout exists. We do not just store the layout any more.
10096         (SwitchLayoutsBetweenClasses): use boost.format
10097
10098 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10099
10100         * converter.C (convert): if from and to files are the same, use a
10101         temporary files as intermediary
10102
10103 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10104
10105         * commandtags.h:
10106         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10107
10108 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10109
10110         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10111
10112 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10113
10114         * tabular.C (asciiPrintCell): use string(size, char) instead of
10115         explicit loop.
10116
10117         * sgml.C (openTag): fix order of arguments to string constructor
10118         (closeTag): ditto
10119
10120         * lyxfunc.C (dispatch): use boost.format
10121
10122         * lots of files: change "c" -> 'c'
10123
10124 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10125
10126         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10127
10128 2002-11-25  Angus Leeming  <leeming@lyx.org>
10129
10130         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10131
10132         * lyx_main.C (init): compile fix.
10133
10134 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10135
10136         * lyx_cb.C (start): boost.formatify
10137         do not include <iostream>
10138
10139         * lengthcommon.C: ws only
10140
10141         * boost-inst.C,BoostFormat.h: add more explict instantations
10142
10143 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10144
10145         * lots of files: handle USE_BOOST_FORMAT
10146
10147 2002-11-21  John Levon  <levon@movementarian.org>
10148
10149         * pspell.C: fix compile
10150
10151 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10152
10153         * lyxfunc.C (dispatch): use boost::format
10154         (open): ditto
10155         (doImport): ditto
10156
10157         * lyxfont.C (stateText): use boost::format
10158
10159         * lyx_main.C (LyX): use boost::format
10160         (init): ditto
10161         (queryUserLyXDir): ditto
10162         (readRcFile): ditto
10163         (parse_dbg): ditto
10164         (typedef boost::function): use the recommened syntax.
10165
10166         * importer.C (Import): use boost::format
10167
10168         * debug.C (showLevel): use boost::format
10169
10170         * converter.C (view): use boost::format
10171         (convert): ditto
10172         (move): ditto
10173         (scanLog): ditto
10174
10175         * bufferview_funcs.C (currentState): use boost::format
10176
10177         * bufferlist.C (emergencyWrite): use boost::format
10178
10179         * buffer.C (readLyXformat2): use boost::format
10180         (parseSingleLyXformat2Token): ditto
10181
10182         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10183
10184         * LaTeX.C (run): use boost::format
10185
10186         * Chktex.C (scanLogFile): use boost::format
10187
10188         * BufferView_pimpl.C (savePosition): use boost::format
10189         (restorePosition): ditto
10190         (MenuInsertLyXFile): ditto
10191
10192         * BoostFormat.h: help file for explicit instation.
10193
10194 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10195
10196         * tabular.C (latex): Support for block alignment in fixed width
10197         columns.
10198
10199 2002-11-17  John Levon  <levon@movementarian.org>
10200
10201         * BufferView_pimpl.C:
10202         * lyx_cb.C:
10203         * lyxfunc.C: split filedialog into open/save
10204
10205 2002-11-08  Juergen Vigna  <jug@sad.it>
10206
10207         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10208         by my last patch (hopefully).
10209
10210 2002-11-08  John Levon  <levon@movementarian.org>
10211
10212         * iterators.h:
10213         * iterators.C:
10214         * buffer.h:
10215         * buffer.C:
10216         * paragraph.h:
10217         * paragraph.C:
10218         * toc.h:
10219         * toc.C: ParConstIterator, and use it (from Lars)
10220
10221 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10222
10223         * lyxtextclass.[Ch]: revise and add doxygen comments
10224
10225 2002-11-07  John Levon  <levon@movementarian.org>
10226
10227         * text.C: fix progress value for spellchecker
10228
10229         * toc.C: fix navigate menu for insetwrap inside minipage
10230
10231         * paragraph_funcs.C: added FIXME for suspect code
10232
10233 2002-11-07  John Levon  <levon@movementarian.org>
10234
10235         * BufferView_pimpl.C: fix redrawing of insets
10236           on buffer switch
10237
10238 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10239
10240         * text2.C (updateCounters): fix bug 668
10241
10242 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10243
10244         * text3.C (dispatch): Do not make the buffer dirty when moving the
10245         cursor.
10246
10247 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10248
10249         * vc-backend.C: STRCONV
10250         (scanMaster): ditto
10251
10252         * text2.C (setCounter): STRCONV
10253
10254         * paragraph.C (asString): STRCONV
10255
10256         * lyxlength.C (asString): STRCONV
10257         (asLatexString): ditto
10258
10259         * lyxgluelength.C (asString): STRCONV
10260         (asLatexString): ditto
10261
10262         * lyxfunc.C (dispatch): STRCONV
10263         (open): ditto
10264
10265         * lyxfont.C (stateText): STRCONV
10266
10267         * importer.C (Import): STRCONV
10268
10269         * counters.C (labelItem): STRCONV
10270         (numberLabel): ditto
10271         (numberLabel): remove unused ostringstream o
10272
10273         * chset.C: STRCONV
10274         (loadFile): ditto
10275
10276         * bufferview_funcs.C (currentState): STRCONV
10277
10278         * buffer.C (readFile): STRCONV
10279         (asciiParagraph): ditto
10280         (makeLaTeXFile): ditto
10281
10282         * Spacing.C (writeEnvirBegin): STRCONV
10283
10284         * LaTeXFeatures.C (getLanguages): STRCONV
10285         (getPackages): ditto
10286         (getMacros): ditto
10287         (getBabelOptions): ditto
10288         (getTClassPreamble): ditto
10289         (getLyXSGMLEntities): ditto
10290         (getIncludedFiles): ditto
10291
10292         * LaTeX.C: STRCONV
10293         (run): ditto
10294         (scanAuxFile): ditto
10295         (deplog): ditto
10296
10297         * LString.h: add the STRCONV macros
10298
10299         * BufferView_pimpl.C (savePosition): STRCONV
10300         (restorePosition): ditto
10301         (MenuInsertLyXFile): ditto
10302
10303         * vc-backend.C (scanMaster): change from submatch[...] to
10304         submatch.str(...)
10305
10306         * funcrequest.C: include config.h
10307
10308         * factory.C: include config.h
10309
10310         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10311
10312         * box.C: include config.h
10313
10314         * LaTeX.C (scanAuxFile): change from submatch[...] to
10315         submatch.str(...)
10316         (deplog): ditto
10317
10318 2002-10-25  Angus Leeming  <leeming@lyx.org>
10319
10320         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10321
10322         * ispell.[Ch] (setError): new method.
10323         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10324         Use setError() insetead of goto END.
10325
10326         * lyx_cb.C (AutoSave): move out child process into new class
10327         AutoSaveBuffer.
10328
10329 2002-10-30  John Levon  <levon@movementarian.org>
10330
10331         * text3.C: make start appendix undoable
10332
10333 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10334
10335         * lyxlength.C (inPixels): Fix returned value.
10336
10337         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10338         environment.
10339
10340 2002-10-24  Angus Leeming  <leeming@lyx.org>
10341
10342         * lyxgluelength.h: no need to forward declare BufferParams
10343         or BufferView, so don't.
10344
10345 2002-10-21  John Levon  <levon@movementarian.org>
10346
10347         * BufferView.C: menuUndo ->undo, redo
10348
10349         * BufferView.h: document, remove dead, make some methods private
10350
10351         * paragraph_funcs.h:
10352         * paragraph_funcs.C:
10353         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10354
10355         * buffer.h:
10356         * buffer.C:
10357         * sgml.h:
10358         * sgml.C: move sgml open/close tag into sgml.C
10359
10360         * bufferview_funcs.h: unused prototype
10361
10362         * lyxfunc.h:
10363         * lyxfunc.C: remove unused
10364
10365         * lyxtext.h:
10366         * text.C: remove unused
10367
10368 2002-10-21  John Levon  <levon@movementarian.org>
10369
10370         * BufferView.h:
10371         * BufferView.C:
10372         * BufferView_pimpl.h:
10373         * BufferView_pimpl.C: fix mouse wheel handling based on
10374           patch from Darren Freeman
10375
10376 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10377
10378         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10379
10380 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10381
10382         * lyxlength.C (inPixels): Fix hanfling of negative length.
10383         Fix LyXLength::MU case.
10384
10385 2002-10-16  John Levon  <levon@movementarian.org>
10386
10387         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10388
10389 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10390
10391         * converter.C (view): add support for $$i (file name) and $$p
10392         (file path) for the viewer command. If $$i is not specified, then
10393         it is appended to the command (for compatibility with old syntax)
10394
10395 2002-10-14  Juergen Vigna  <jug@sad.it>
10396
10397         * undo_funcs.C (textHandleUndo): alter the order in which the
10398         new undopar is added to the LyXText, as we have to set first
10399         the right prev/next and then add it as otherwise the rebuild of
10400         LyXText is not correct. Also reset the cursor to the right paragraph,
10401         with this IMO we could remove the hack in "redoParagraphs()".
10402
10403 2002-10-09  Angus Leeming  <leeming@lyx.org>
10404
10405         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10406         to turn off an optimisation if a new inset is to be inserted.
10407
10408 2002-10-11 André Pönitz <poenitz@gmx.net>
10409
10410         * lyxtext.h: make some functions public to allow access
10411         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10412
10413 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10414
10415         * text3.C (dispatch): when changing layout, avoid an infinite loop
10416         [bug #652]
10417
10418 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10419
10420         * lyxrc.C (read): treat a viewer or converter command of "none" as
10421         if it were empty.
10422
10423         * MenuBackend.C (expandFormats): for an update, also allow the
10424         formats that are not viewable
10425
10426         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10427         script if it is newer than the lyxrc.defaults in user directory
10428
10429 2002-10-07 André Pönitz <poenitz@gmx.net>
10430
10431         * text.C: Vitaly Lipatov's small i18n fix
10432
10433 2002-09-25  Angus Leeming  <leeming@lyx.org>
10434
10435         * ispell.h: doxygen fix.
10436
10437 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10438
10439         * buffer.h (readFile): Add a new argument to the method, to allow
10440         reading of old-format templates.
10441
10442 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10443
10444         * toc.C (getTocList): Get TOC from InsetWrap.
10445
10446 2002-09-16  John Levon  <levon@movementarian.org>
10447
10448         * lyxfunc.C: check tabular for cut/copy too
10449
10450 2002-09-12  John Levon  <levon@movementarian.org>
10451
10452         * LyXAction.C: tidy
10453
10454         * factory.h:
10455         * factory.C: add header
10456
10457         * paragraph_funcs.h:
10458         * paragraph_funcs.C: cleanup
10459
10460 2002-09-11  John Levon  <levon@movementarian.org>
10461
10462         * PrinterParams.h: odd/even default to true
10463
10464 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10465
10466         * PrinterParams.h: update printer parameters for new xforms dialog
10467
10468 2002-09-11  Angus Leeming  <leeming@lyx.org>
10469
10470         * lyxserver.C (read_ready): re-write to make it more transparent
10471         and to make it work in coherent fashion under Tru64 Unix.
10472
10473 2002-09-11  André Pönitz <poenitz@gmx.net>
10474
10475         * commandtags.h:
10476         * LyXAction.C:
10477         * text3.C: implement LFUN_WORDSEL
10478
10479 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10480
10481         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10482         make floatlist_ a boost::shared_ptr<FloatList>
10483
10484         * lyxtextclass.C: include FloatList.h
10485         (LyXTextClass): initialize floatlist_
10486         (TextClassTags): add TC_NOFLOAT
10487         (Read): match "nofloat" to TC_NOFLOAT and use it.
10488         (readFloat): modify call to floatlist_
10489         (floats): ditto
10490         (floats): ditto
10491
10492         * FloatList.[Ch] (FloatList): remove commented out float
10493         initialization.
10494         (erase): new function
10495
10496 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10497
10498         * MenuBackend.C (expandToc): fix crash when there is no document
10499         open
10500
10501 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10502
10503         * many files: Add insetwrap.
10504
10505 2002-09-09  John Levon  <levon@movementarian.org>
10506
10507         * text2.C: remove confusing and awkward depth wraparound
10508
10509 2002-09-09  John Levon  <levon@movementarian.org>
10510
10511         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10512
10513         * buffer.h:
10514         * buffer.C: remove getIncludeonlyList()
10515
10516         * paragraph.C:
10517         * lyxfunc.C: remove headers
10518
10519 2002-09-09  Juergen Vigna  <jug@sad.it>
10520
10521         * text.C (getColumnNearX): fix form Michael this is most
10522         probably a cut&paste bug.
10523
10524 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10525
10526         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10527
10528         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10529         references, ws changes.
10530
10531         * text2.C (init): update counters after init
10532         (insertParagraph): no need to set counter on idividual paragraphs.
10533         (setCounter): access the counters object in the textclass object
10534         on in the buffer object.
10535         (updateCounters): ditto
10536
10537         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10538         shared_ptr<Counters> to avoid loading counters.h in all
10539         compilation units.
10540         (LyXTextClass): initialize ctrs_
10541         (TextClassTags): add TC_COUNTER, and ...
10542         (Read): use it here.
10543         (CounterTags): new tags
10544         (readCounter): new function
10545         (counters): new funtion
10546         (defaultLayoutName): return a const reference
10547
10548         * counters.C (Counters): remove contructor
10549         (newCounter): remove a couple of unneeded statements.
10550         (newCounter): simplify a bit.
10551         (numberLabel): some small formatting changes.
10552
10553         * buffer.[Ch]: remove all traces of counters, move the Counters
10554         object to the LyXTextClass.
10555
10556 2002-09-06  Alain Castera  <castera@in2p3.fr>
10557
10558         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10559         package to set the horizontal alignment on fixed width columns.
10560
10561         * lyx_sty.C:
10562         * lyx_sty.h: added tabularnewline macro def.
10563
10564         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10565
10566 2002-09-06  John Levon  <levon@movementarian.org>
10567
10568         * LyXAction.C: tooltips for sub/superscript
10569
10570         * MenuBackend.C: a bit more verbose
10571
10572         * lyxfunc.C: tiny clean
10573
10574         * undo_funcs.C: document undo_frozen
10575
10576 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10577
10578         * counters.C (Counters): add missing algorithm counter.
10579
10580         * text2.C (setCounter): lookup the counter with layouts latexname
10581         instead of by section number.
10582         (setCounter): use a hackish way to lookup the correct enum
10583         counter.
10584         a float name->type change
10585         reset enum couners with counter name directly instead of depth value.
10586
10587         * counters.C (Counters): remove the push_backs, change to use the
10588         float type not the float name.
10589         (labelItem): remove unused string, float name->type change
10590
10591         * counters.h: don't include vector, loose the enums and sects vectors
10592
10593 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10594
10595         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10596         (Read): add float->TC_FLOAT to textclassTags
10597         (Read): and handle it in the switch
10598         (readFloat): new function
10599
10600         * FloatList.C (FloatList): comment out the hardcoded float
10601         definitions.
10602
10603         * lyxlayout.h: ws change.
10604
10605 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10606
10607         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10608
10609 2002-09-03  Angus Leeming  <leeming@lyx.org>
10610
10611         * BufferView_pimpl.h: qualified name is not allowed in member
10612         declaration: WorkArea & Pimpl::workarea() const;
10613
10614         * factory.C: added using std::endl directive.
10615
10616         * text3.C: added using std::find and std::vector directives.
10617
10618 2002-08-29  André Pönitz <poenitz@gmx.net>
10619
10620         * lyxtext.h:
10621         * text2.C: remove unused member number_of_rows
10622
10623         * Makefile.am:
10624         * BufferView2.C: remove file, move contents to...
10625         * BufferView.C: ... here
10626
10627         * BufferView_pimpl.C:
10628         * factory.C: move more inset creation to factory
10629
10630         * vspace.C: avoid direct usage of LyXText, ws changes
10631
10632         * BufferView.[Ch]:
10633                 don't provide direct access to WorkArea, use two simple
10634                 acessors haveSelction() and workHeight() instead
10635
10636
10637 2002-08-29  John Levon  <levon@movementarian.org>
10638
10639         * BufferView_pimpl.C (dispatch): do not continue when
10640           no buffer
10641
10642 2002-08-28  André Pönitz <poenitz@gmx.net>
10643
10644         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10645
10646         * BufferView.h:
10647         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10648
10649 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10650
10651         * buffer.C: increment LYX_FORMAT to 221
10652
10653         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10654         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10655
10656         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10657
10658         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10659
10660 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10661
10662         * factory.C (createInset): use LyXTextClass::floats
10663
10664         * MenuBackend.C (expandFloatListInsert):
10665         (expandFloatInsert):
10666         (expandToc):
10667
10668         * text2.C (setCounter):
10669
10670         * LaTeXFeatures.C (useFloat):
10671         (getFloatDefinitions):
10672
10673         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10674
10675         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10676         floatlist_, with accessor floats().
10677
10678         * FloatList.h: remove global FloatList
10679
10680 2002-08-26  André Pönitz <poenitz@gmx.net>
10681
10682         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10683
10684         * BufferView.h:
10685         * BufferView2.C:
10686         * BufferView_pimpl.C:
10687         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10688
10689 2002-08-25  John Levon  <levon@movementarian.org>
10690
10691         * LyXAction.C: fix margin note description
10692
10693 2002-08-24  John Levon  <levon@movementarian.org>
10694
10695         * buffer.C:
10696         * bufferlist.C:
10697         * bufferview_funcs.C:
10698         * lyxfont.C:
10699         * undo_funcs.C: cleanups
10700
10701         * lyxfunc.C: disable CUT/COPY when no selection
10702
10703 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10704
10705         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10706         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10707
10708         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10709         Add backward compatibility to "mono", "gray" and "no".
10710
10711 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10712
10713         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10714         (and file_format >= 200).
10715
10716 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10717
10718         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10719
10720 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10721
10722         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10723
10724 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10725
10726         * BufferView_pimpl.C:
10727         * LyXAction.C:
10728         * buffer.C:
10729         * commandtags.h:
10730         * lyxfunc.C:
10731         * paragraph.[Ch]:
10732         * text2.C:
10733         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10734         inset and code to make it  work with the paragraph code. The inset
10735         can be anywhere in the paragraph, but will only do the expected
10736         thing in LaTeX if the layout file contains the parameter line
10737                         OptionalArgs    1
10738         (or more generally, a nonzero value) for that layout.
10739
10740 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10741
10742         * paragraph.h: remove the declaration of undefined counters class
10743         function.
10744
10745 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10746
10747         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10748         Dr. Richard Hawkins.
10749
10750 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10751
10752         * paragraph_funcs.h: remove some unneeded includes
10753
10754         * text.C (backspace): pasteParagraph now in global scipe
10755
10756         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10757         (pasteSelection): ditto
10758
10759         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10760         * paragraph_funcs.C (pasteParagraph): ... here
10761
10762 2002-08-20  André Pönitz <poenitz@gmx.net>
10763
10764         * commandtags.h: new LFUNs for swapping/copying table row/colums
10765
10766         * LyXAction.C:
10767         * lyxfunc.C: support for new lfuns
10768
10769 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10770
10771         * tabular.C:
10772         * buffer.[Ch]: remove NO_COMPABILITY stuff
10773
10774 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10775
10776         * boost.C (throw_exception): new file, with helper function for
10777         boost compiled without exceptions.
10778
10779         * paragraph.h:
10780         * lyxlength.C:
10781         * buffer.C:
10782         * ParameterStruct.h:
10783         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10784
10785         * bufferlist.C (emergencyWriteAll): use boost bind
10786
10787         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10788
10789         * text.C: include paragraph_funcs.h
10790         (breakParagraph): breakParagraph is now in global scope
10791
10792         * paragraph_funcs.[Ch]: new files
10793
10794         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10795         global scope
10796
10797         * buffer.C: include paragraph_funcs.h
10798         (insertStringAsLines): breakParagraph is now in global scope
10799
10800         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10801         paragraph_funcs.C
10802
10803         * CutAndPaste.C: include paragraph_funcs.h
10804         (cutSelection): breakParagraphConservative is now in global scope
10805         (pasteSelection): ditto
10806
10807         * buffer.h: declare oprator== and operator!= for
10808         Buffer::inset_iterator
10809
10810         * bufferlist.C (emergencyWrite): don't use fmt(...)
10811
10812         * text3.C: add using std::endl
10813
10814         * BufferView.C (moveCursorUpdate): remove default arg
10815
10816 2002-08-20  André Pönitz <poenitz@gmx.net>
10817
10818         * buffer.[Ch]: move inline functions to .C
10819
10820         * BufferView2.C:
10821         * BufferView_pimpl.C:
10822         * text.C:
10823         * buffer.[Ch]: use improved inset_iterator
10824
10825         * buffer.C:
10826         * paragraph.[Ch]: write one paragraph at a time
10827
10828 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10829
10830         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10831         style if style is not specified.
10832
10833 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10834
10835         * text2.C (setCounter): when searching for right label for a
10836         caption, make sure to recurse to parent insets (so that a caption
10837         in a minipage in a figure float works) (bug #568)
10838
10839 2002-08-20  André Pönitz <poenitz@gmx.net>
10840
10841         * text3.C: new file for LyXText::dispatch() and helpers
10842
10843         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10844
10845         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10846
10847 2002-08-19  André Pönitz <poenitz@gmx.net>
10848
10849         * lyxtext.h:
10850         * text.C: new LyXText::dispatch()
10851
10852         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10853
10854 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10855
10856         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10857
10858         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10859         Hebrew text.
10860
10861 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10862
10863         * Makefile.am: use $(variables) instead of @substitutions@
10864
10865 2002-08-15  André Pönitz <poenitz@gmx.net>
10866
10867         * lyxfunc.C:
10868         * BufferView_pimpl.C: streamlining mathed <-> outer world
10869         interaction
10870
10871         * commandtags.h:
10872         * LyXAction.C: remove unused LFUN_MATH
10873
10874 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10875
10876         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10877
10878 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10879
10880         * paragraph.C (Paragraph): reformat a bit
10881         (cutIntoMinibuffer): use builtin InsetList function instad of
10882         doing it manually.
10883         (getInset): ditto
10884
10885         * buffer.C: include boost/bind.hpp, add using std::for_each
10886         (writeFileAscii): use ParagraphList iterators
10887         (validate): use for_each for validate traversal of paragraphs
10888         (getBibkeyList): use ParagraphList iterators
10889         (resizeInsets): use for_each to resizeInsetsLyXText for all
10890         paragraphs.
10891         (getParFromID): use ParagraphList iterators
10892
10893         * BufferView2.C (lockInset): use paragraph list and iterators
10894
10895 2002-08-14  John Levon  <levon@movementarian.org>
10896
10897         * lyxserver.C: remove spurious xforms include
10898
10899 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10900
10901         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10902
10903 2002-08-13  André Pönitz <poenitz@gmx.net>
10904
10905         * LyXAction.[Ch]:
10906         * lyxfunc.C: further cleaning
10907
10908 2002-08-13  André Pönitz <poenitz@gmx.net>
10909
10910         * funcrequest.h: new constructor
10911
10912         * funcrequest.C: move stuff here from .h
10913
10914         * Makefile.am:
10915         * BufferView_pimpl.C:
10916         * LyXAction.C:
10917         * toc.C:
10918         * lyxfunc.C: subsequent changes
10919
10920         * lyxfunc.h: new view() member function
10921
10922         * lyxfunc.C: subsequent changes
10923
10924 2002-08-13  Angus Leeming  <leeming@lyx.org>
10925
10926         * BufferView2.C:
10927         * BufferView_pimpl.C:
10928         * buffer.C:
10929         * converter.C:
10930         * importer.C:
10931         * lyxfunc.C:
10932         * lyxvc.C:
10933         * toc.C:
10934         * vc-backend.C:
10935         changes due to the changed LyXView interface that now returns references
10936         to member variables not pointers.
10937
10938 2002-08-13  Angus Leeming  <leeming@lyx.org>
10939
10940         * WordLangTuple (word, lang_code): return references to strings,
10941         not strings.
10942
10943         * BufferView.h:
10944         * SpellBase.h:
10945         * lyxtext.h: forward-declare WordLangTuple.
10946
10947         * BufferView2.C:
10948         * ispell.C:
10949         * pspell.C:
10950         * text.C: #include "WordLangTuple.h".
10951
10952         * lyxtext.h:
10953         * text.C: (selectNextWordToSpellcheck): constify return type.
10954
10955 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10956
10957         * buffer.C:
10958         * buffer.h:
10959         * lyxtext.h:
10960         * paragraph.C:
10961         * paragraph_pimpl.h:
10962         * text.C:
10963         * text2.C:
10964         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10965         suggested by Angus.
10966         Made updateCounter always count from start of buffer, and removed
10967         second argument (par).
10968         Reverted floats number display to '#'. Perhaps I'll try again when the
10969         code base is sanitized a bit.
10970
10971 2002-08-12  Angus Leeming  <leeming@lyx.org>
10972
10973         * buffer.[Ch] (getLabelList): constify.
10974
10975 2002-08-07  André Pönitz <poenitz@gmx.net>
10976
10977         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10978
10979         * funcrequest.h: extension to keep mouse (x,y) position
10980
10981 2002-08-12  Juergen Vigna  <jug@sad.it>
10982
10983         * BufferView2.C (insertErrors): forbid undo when inserting error
10984         insets.
10985
10986         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10987
10988 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10989
10990         * ParagraphList.[Ch]: new files
10991
10992         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10993
10994         * BufferView2.C (lockInset): ParagraphList changes
10995         * toc.C: ditto
10996         * text2.C: ditto
10997         * bufferlist.C: ditto
10998         * buffer.h: ditto
10999         * buffer.C: ditto
11000
11001 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11002
11003         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11004         unused class variable counter_,
11005
11006         * paragraph.[Ch] (getFirstCounter): delete unused function
11007
11008         * counters.C: include LAssert.h
11009         (reset): add a new function with no arg, change other version to
11010         not have def. arg and to not allow empty arg.
11011
11012         * text2.C (setCounter): remove empty arg from call to Counters::reset
11013
11014 2002-08-11  John Levon  <levon@movementarian.org>
11015
11016         * Makefile.am: add WordLangTuple.h
11017
11018 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11019
11020         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11021         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11022
11023         * insets/insettext.C: InsetList changes
11024
11025         * graphics/GraphicsSupport.C (operator()): InsetList changes
11026
11027         * toc.C (getTocList): InsetList changes
11028
11029         * paragraph_pimpl.[Ch]: InsetList changes
11030
11031         * paragraph.[Ch]: InsetList changes
11032
11033         * buffer.C (inset_iterator): InsetList changes
11034         (setParagraph): ditto
11035         * buffer.h (inset_iterator): ditto
11036         * iterators.C (operator++): ditto
11037         * iterators.h: ditto
11038
11039         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11040
11041         * InsetList.[Ch]: new files, most InsetList handling moved out of
11042         paragraph.C.
11043
11044         * BufferView2.C (removeAutoInsets): InsetList changes
11045         (lockInset): ditto
11046         (ChangeInsets): ditto
11047
11048 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11049
11050         * paragraph_pimpl.h (empty): new function
11051
11052         * paragraph.[Ch] (empty): new function
11053
11054         * other files: use the new Paragraph::empty function
11055
11056 2002-08-09  John Levon  <levon@movementarian.org>
11057
11058         * lyxtext.h: remove unused refresh_height
11059
11060 2002-08-09  John Levon  <levon@movementarian.org>
11061
11062         * Makefile.am:
11063         * sgml.h:
11064         * sgml.C:
11065         * buffer.C:
11066         * paragraph.h:
11067         * paragraph.C: move sgml char escaping out of paragraph
11068
11069         * paragraph.h:
11070         * paragraph.C: remove id setter
11071
11072         * buffer.C:
11073         * paragraph.C:
11074         * paragraph_pimpl.C: remove dead tex_code_break_column
11075
11076         * bufferview_funcs.C: small cleanup
11077
11078         * lyxfunc.C: remove dead proto
11079
11080         * lyxtext.h: make some stuff private. Remove some dead stuff.
11081
11082         * lyxgluelength.C: make as[LyX]String() readable
11083
11084 2002-08-08  John Levon  <levon@movementarian.org>
11085
11086         * LyXAction.h:
11087         * LyXAction.C:
11088         * MenuBackend.C:
11089         * ToolbarDefaults.C:
11090         * lyxfunc.C:
11091         * lyxrc.C:
11092         * toc.C: lyxaction cleanup
11093
11094 2002-08-08  John Levon  <levon@movementarian.org>
11095
11096         * BufferView2.C: small cleanup
11097
11098         * lyxfind.h:
11099         * lyxfind.C: move unnecessary header into the .C
11100
11101 2002-08-08  John Levon  <levon@movementarian.org>
11102
11103         * funcrequest.h: just tedious nonsense
11104
11105         * lyx_main.h:
11106         * lyx_main.C: cleanups
11107
11108         * buffer.C:
11109         * vspace.C: remove dead header lyx_main.h
11110
11111 2002-08-07  Angus Leeming  <leeming@lyx.org>
11112
11113         * Paragraph.[Ch]:
11114         * paragraph_pimpl.h:
11115         Forward declare class Counters in paragraph.h by moving the ctrs member
11116         variable into Paragraph::Pimpl.
11117         (counters): new method, returning a reference to pimpl_->ctrs.
11118
11119         * text2.C: ensuing changes.
11120
11121 2002-08-07  John Levon  <levon@movementarian.org>
11122
11123         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11124
11125         * BufferView_pimpl.C: announce X selection on double/triple
11126           click
11127
11128         * lyx_main.C: use correct bool in batch dispatch
11129
11130         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11131
11132 2002-08-07  André Pönitz <poenitz@gmx.net>
11133
11134         * funcrequest.h: new class to wrap a kb_action and its argument
11135
11136         * BufferView.[Ch]:
11137         * BufferView_pimpl[Ch]:
11138         * LaTeX.C:
11139         * LyXAction.[Ch]:
11140         * lyxfunc.[Ch]:
11141         * lyxrc.C: subsequent changes
11142
11143
11144 2002-08-07  John Levon  <levon@movementarian.org>
11145
11146         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11147           document options change.
11148
11149 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11150
11151         * counters.[Ch]
11152         * text2.C
11153         * paragraph.[Ch]
11154         * makefile.am: move counters functionality over from
11155         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11156
11157 2002-08-06  John Levon  <levon@movementarian.org>
11158
11159         * WordLangTuple.h: new file for word + language code tuple
11160
11161         * SpellBase.h:
11162         * pspell.h:
11163         * pspell.C:
11164         * ispell.h:
11165         * ispell.C:
11166         * lyxtext.h:
11167         * text.C:
11168         * text2.C:
11169         * BufferView.h:
11170         * BufferView2.C: use WordLangTuple
11171
11172         * layout.h:
11173         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11174
11175 2002-08-06  John Levon  <levon@movementarian.org>
11176
11177         * lyx_main.C: fix cmdline batch handling
11178
11179 2002-08-06  André Pönitz <poenitz@gmx.net>
11180
11181         * lyxrc.C: set default for show_banner to true
11182
11183 2002-08-06  John Levon  <levon@movementarian.org>
11184
11185         * pspell.C: fix a crash, and allow new aspell to work
11186
11187 2002-08-06  John Levon  <levon@movementarian.org>
11188
11189         * lyxfunc.C:
11190         * kbmap.C: small cleanup
11191
11192         * vspace.h:
11193         * vspace.C: add const
11194
11195 2002-08-05  John Levon  <levon@movementarian.org>
11196
11197         * LyXAction.C: back to tabular-insert
11198
11199 2002-08-04  John Levon  <levon@movementarian.org>
11200
11201         * BufferView.h:
11202         * BufferView.C: cosmetic change
11203
11204         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11205
11206         * bufferlist.C:
11207         * buffer.h:
11208         * buffer.C:
11209         * lyxcb.h:
11210         * lyxcb.C:
11211         * lyxserver.C:
11212         * lyxvc.C:
11213         * vc-backend.C:
11214         * BufferView2.C: purge all "Lyx" not "LyX" strings
11215
11216         * lyxcursor.h:
11217         * lyxcursor.C: attempt to add some documentation
11218
11219         * lyxfunc.C:
11220         * commandtags.h:
11221         * LyXAction.C:
11222         * ToolbarDefaults.C:
11223         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11224           merge with LFUN_TABULAR_INSERT
11225
11226         * Makefile.am:
11227         * SpellBase.h:
11228         * ispell.h:
11229         * ispell.C:
11230         * pspell.h:
11231         * pspell.C: split up i/pspell implementations into separate
11232           files, many cleanups
11233
11234         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11235
11236         * text2.C: some cleanup
11237
11238         * lyxfunc.C: don't check for isp_command == "none" any more, it
11239           didn't make any sense
11240
11241 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11242
11243         * counters.[Ch]
11244         * text2.C
11245         * paragraph.[Ch]
11246         * makefile.am: move counters functionality over
11247         from text2.C/paragraph.[Ch] to counters.[Ch], and
11248         make proper C++.
11249 2002-08-02  John Levon  <levon@movementarian.org>
11250
11251         * buffer.C: s/lyxconvert/lyx2lyx/
11252
11253 2002-08-02  Angus Leeming  <leeming@lyx.org>
11254
11255         * lyxlex.C: revert John's change as it breaks reading of the user
11256         preamble.
11257
11258 2002-08-02  Angus Leeming  <leeming@lyx.org>
11259
11260         * importer.C (Import):
11261         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11262         changes due to LyXView::view() now returning a boost::shared_ptr.
11263
11264 2002-08-02  John Levon  <levon@movementarian.org>
11265
11266         * lyxlex.C: small cleanup
11267
11268 2002-08-02  John Levon  <levon@movementarian.org>
11269
11270         * text2.C (status): small cleanup, no logic change
11271
11272 2002-08-01  John Levon  <levon@movementarian.org>
11273
11274         * buffer.h:
11275         * buffer.C (writeFile): don't output alerts, caller
11276           handles this
11277
11278         * bufferlist.C:
11279         * lyx_cb.C: from above
11280
11281         * lyxfunc.C: allow to open non-existent files
11282
11283 2002-07-31  John Levon  <levon@movementarian.org>
11284
11285         * lyxserver.C: don't let incidental errors get
11286           in the way (errno)
11287
11288 2002-07-30  John Levon  <levon@movementarian.org>
11289
11290         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11291
11292 2002-07-30  John Levon  <levon@movementarian.org>
11293
11294         * lyxserver.h:
11295         * lyxserver.C: remove I/O callback too
11296
11297 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11298
11299         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11300         log.
11301
11302 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11303
11304         * many files: strip,frontStrip -> trim,ltrim,rtrim
11305
11306 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11307
11308         * PrinterParams.h: remove extern containsOnly, and include
11309         support/lstrings.h instead.
11310
11311         * LaTeX.C (scanAuxFile): modify because of strip changes
11312         (deplog): ditto
11313         * buffer.C (makeLaTeXFile): ditto
11314         * bufferparams.C (writeFile): ditt
11315         * lyxfont.C (stateText): ditto
11316         * lyxserver.C (read_ready): ditto
11317         * vc-backend.C (scanMaster): ditto
11318
11319         * BufferView_pimpl.h: ws changes
11320
11321         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11322
11323 2002-07-26  André Pönitz <poenitz@gmx.net>
11324
11325         * kb_sequence.C: remove unnedred usings
11326
11327 2002-07-26  Juergen Vigna  <jug@sad.it>
11328
11329         * lyxfind.C (LyXReplace): we have to check better if the returned
11330         text is not of theLockingInset()->getLockingInset().
11331
11332 2002-07-25  Juergen Vigna  <jug@sad.it>
11333
11334         * lyxfind.C (LyXReplace): don't replace if we don't get the
11335         right LyXText.
11336
11337         * undo_funcs.C (createUndo): remove debugging code.
11338
11339 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11340
11341         * buffer.C (parseSingleLyXformat2Token): Use default placement
11342         when reading old floats.
11343
11344         * FloatList.C (FloatList): Change the default placement of figure
11345         and tables to "tbp".
11346
11347 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11348
11349         * MenuBackend.C: using std::max
11350
11351 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11352
11353         * MenuBackend.C (expandToc):
11354         (expandToc2): code moved from xforms menu frontend. It is now
11355         generic and TOCs are transparent to menu frontends.
11356
11357 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11358
11359         * toc.C (getTocList): protect against buf=0
11360
11361         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11362         Menu as first parameter. Now, this calls itself recursively to
11363         expand a whole tree (this will be useful for TOC handling)
11364         (expandFloatInsert): remove 'wide' version of floats
11365
11366         * MenuBackend.h (submenuname): returns the name of the submenu.
11367         (submenu): returns the submenu itself, provided it has been
11368         created by MenuBackend::expand
11369
11370 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11371
11372         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11373         insets which have noFontChange == true. (bug #172)
11374
11375 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11376
11377         * BufferView_pimpl.C: add connection objects and use them...
11378         (Pimpl): here.
11379
11380 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11381
11382         * MenuBackend.C (expandLastfiles):
11383         (expandDocuments):
11384         (expandFormats):
11385         (expandFloatListInsert):
11386         (expandFloatInsert):
11387         (expand): split expand in parts
11388
11389 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11390
11391         * lyx_gui.C: use lyx_gui::exit()
11392
11393 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11394
11395         * LyXAction.C: show the failing pseudo action
11396
11397 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11398
11399         * buffer.C (readFile): Run the lyxconvert script in order to read
11400         old files.
11401
11402 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11403
11404         * LyXAction.C:
11405         * commandtags.h:
11406         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11407
11408 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11409
11410         * LyXAction.C:
11411         * commandtags.h:
11412         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11413
11414 2002-07-22  Herbert Voss  <voss@lyx.org>
11415
11416         * lengthcommon.C:
11417         * lyxlength.[Ch]: add support for the vertical lengths
11418
11419 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11420
11421         * toc.[Ch]: std:: fixes
11422
11423 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11424
11425         * lyxrc.C: do not include lyx_main.h
11426
11427         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11428         for layouts
11429
11430         * lyxrc.C:
11431         * encoding.C:
11432         * bufferlist.C:
11433         * BufferView2.C: include "lyxlex.h"
11434
11435         * tabular.h:
11436         * bufferparams.h: do not #include "lyxlex.h"
11437
11438         * lyxtextclasslist.C (Add): remove method
11439         (classlist): renamed to classlist_
11440
11441         * paragraph_pimpl.C:
11442         * paragraph.C:
11443         * text2.C:
11444         * CutAndPaste.C:
11445         * bufferview_funcs.C:
11446         * bufferlist.C:
11447         * text.C:
11448         * LaTeXFeatures.C:
11449         * buffer.C:
11450         * toc.C (getTocList): use BufferParams::getLyXTextClass
11451
11452         * toc.C (getTocList): use InsetFloat::addToToc
11453
11454         * toc.[Ch]: new files, containing helper functions to handle table
11455         of contents
11456
11457         * lyxfunc.C (dispatch): no need to remove spaces around command
11458         given as a string
11459         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11460         first command of the sequence; it is not very clever, but I do not
11461         have a better idea, actually
11462
11463         * LyXAction.C (LookupFunc): make sure to remove space at the
11464         beginning and end of the command
11465
11466 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11467
11468         * MenuBackend.C (getMenubar): new method: return the menubar of
11469         this menu set
11470         (read): treat differently reading of menu and menubar (in
11471         particular, the menubar has no name now)
11472         (Menu::menubar): remove
11473
11474         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11475         saving is finished
11476
11477 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11478
11479         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11480         a bibitem inset in a RTL paragraph.
11481
11482 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11483
11484         * paragraph_pimpl.C: constify
11485
11486         * BufferView_pimpl.C:
11487         * LaTeX.C:
11488         * lyxfunc.C: fix dispatch in a nicer way
11489
11490 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11491
11492         * lyxfunc.C (dispatch):
11493         * BufferView_pimpl.C:
11494         * BufferView_pimpl.h:
11495         * BufferView.C:
11496         * BufferView.h: rename Dispatch() to dispatch()
11497
11498         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11499
11500         * lyxlayout.C (Read): honor DependsOn tag
11501
11502         * lyxlayout.[Ch] (depends_on): new method
11503
11504         * version.C.in: update lyx_docversion
11505
11506         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11507
11508         * paragraph.C (validate): remove from here...
11509         * paragraph_pimpl.C (validate): ... and move here
11510         (isTextAt): make it const
11511
11512         * buffer.C (getLists): ws cleanup
11513
11514 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11515
11516         * language.C (read): Use iso8859-1 encoding in latex_lang
11517         (this prevents LyX from crashing when using iso10646-1 encoding).
11518
11519 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11520
11521         * text2.C (toggleInset): if cursor is inside an inset, close the
11522         inset and leave cursor _after_ it
11523
11524 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11525
11526         * lyxfunc.C: move minibuffer completion handling out of here
11527
11528 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11529
11530         * BufferView_pimpl.C:
11531         * LaTeX.C: fix dispatch calls
11532
11533 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11534
11535         * text.C (drawChars): Fix Arabic text rendering.
11536
11537 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11538
11539         * LyXAction.C:
11540         * commandtags.h:
11541         * lyxfunc.C: remove message-push/pop
11542
11543         * lyxserver.C:
11544         * lyxfunc.h:
11545         * lyxfunc.C: rationalise some code by removing verboseDispatch
11546           in favour of a bool argument to dispatch()
11547
11548 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11549
11550         * lyx_main.C (init): make sure to read symlinks as absolute paths
11551
11552 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11553
11554         * lyxfunc.h:
11555         * lyxfunc.C: no need for commandshortcut to be a member
11556
11557 2002-07-15  André Pönitz <poenitz@gmx.net>
11558
11559         * converter.C: add support for $$s (scripts from lib/scripts dir)
11560         * lyx_main.C: white space
11561
11562 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11563
11564         * bufferlist.C:
11565         * lyxrc.h:
11566         * lyxrc.C: remove second exit confirmation
11567
11568 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11569
11570         * BufferView.h:
11571         * BufferView.C:
11572         * BufferView2.C:
11573         * BufferView_pimpl.h:
11574         * BufferView_pimpl.C:
11575         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11576
11577 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11578
11579         * MenuBackend.C (expand): add numeric shortcuts to document menu
11580
11581         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11582
11583 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11584
11585         * lyxfont.C (setLyXFamily):
11586         (setLyXSeries):
11587         (setLyXShape):
11588         (setLyXSize):
11589         (setLyXMisc):
11590         (lyxRead):
11591         * debug.C (value):
11592         * buffer.C (asciiParagraph): use ascii_lowercase
11593
11594 2002-07-15  Mike Fabian  <mfabian@suse.de>
11595
11596         * lyxlex_pimpl.C (search_kw):
11597         * lyxlex.C (getLongString):
11598         * converter.h (operator<):
11599         * converter.C (operator<):
11600         * buffer.C (parseSingleLyXformat2Token):
11601         (asciiParagraph):
11602         * ToolbarDefaults.C (read):
11603         * MenuBackend.C (checkShortcuts):
11604         (read):
11605         * LColor.C (getFromGUIName):
11606         (getFromLyXName): use the compare_ascii_no_case instead of
11607         compare_no_case, because in turkish, 'i' is not the lowercase
11608         version of 'I', and thus turkish locale breaks parsing of tags.
11609
11610 2002-07-16  Angus Leeming  <leeming@lyx.org>
11611
11612         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11613         now takes a Buffer const & argument.
11614
11615 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11616
11617         * BufferView.C (resize): check there's a buffer to resize
11618
11619 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11620
11621         * lyxfunc.C: remove dead code
11622
11623         * lyxserver.h:
11624         * lyxserver.C: use lyx_guii::set_read_callback
11625
11626 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11627
11628         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11629         an inset in a RTL paragraph.
11630
11631 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11632
11633         * lyxfunc.C: repaint after a font size update
11634
11635 2002-07-15  André Pönitz <poenitz@gmx.net>
11636
11637         * lyxlength.C: inBP should be able to return negative values
11638
11639 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11640
11641         * lyxfunc.C: use lyx_gui::update_fonts()
11642
11643 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11644
11645         * lyxfunc.C: use lyx_gui::update_color()
11646
11647 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11648
11649         * bufferlist.C:
11650         * lyxfunc.h:
11651         * lyxfunc.C:
11652         * lyxrc.h:
11653         * lyxrc.C: remove file->new asks for name option, and let
11654           buffer-new take an argument
11655
11656 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11657
11658         * BufferView_pimpl.C: remove unneeded extra repaint()
11659
11660 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11661
11662         * LyXAction.C: allow command-sequence with NoBuffer
11663
11664         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11665
11666 2002-07-10  Angus Leeming  <leeming@lyx.org>
11667
11668         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11669
11670 2002-07-09  Angus Leeming  <leeming@lyx.org>
11671
11672         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11673
11674 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11675
11676         * lengthcommon.h: whitespace
11677
11678         * lyxfunc.C: update scrollbar after goto paragraph
11679
11680         * lyxtext.h: factor out page break drawing, and fix it so
11681           page break/added space paints as selected nicely
11682
11683 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11684
11685         * BufferView_pimpl.C: add FIXMEs, clean up a little
11686
11687 2002-07-09  André Pönitz <poenitz@gmx.net>
11688
11689         * lyxfont.[Ch]: support for wasy symbols
11690
11691 2002-07-08  André Pönitz <poenitz@gmx.net>
11692
11693         * BufferView_pimpl.C: apply John's patch for #93.
11694
11695 2002-07-05  Angus Leeming  <leeming@lyx.org>
11696
11697         * BufferView_pimpl.C (buffer): generate previews if desired.
11698
11699         * LColor.h: add "preview" to the color enum.
11700
11701         * LColor.C (LColor): add a corresponding entry to the items array.
11702
11703         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11704         with this buffer.
11705
11706 2002-07-05  Angus Leeming  <leeming@lyx.org>
11707
11708         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11709         The body of the code is now in the method that is passed an ostream &
11710         rather than a file name.
11711         Pass an additional only_preamble parameter, useful for the forthcoming
11712         preview stuff.
11713
11714 2002-07-03  André Pönitz <poenitz@gmx.net>
11715
11716         * lyxfunc.C: simplify getStatus() a bit for math stuff
11717
11718 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11719
11720         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11721
11722 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11723
11724         * text.C (changeRegionCase): do not change case of all the
11725         document when region ends at paragraph end (bug #461)
11726
11727 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11728
11729         * paragraph.C (startTeXParParams):
11730         (endTeXParParams): add \protect when necessary
11731
11732 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11733
11734         * BufferView_pimpl.C (workAreaExpose): remove warning
11735
11736 2002-06-27  Angus Leeming  <leeming@lyx.org>
11737
11738         * Makefile.am: add lyxlayout_ptr_fwd.h.
11739
11740 2002-06-26  André Pönitz <poenitz@gmx.net>
11741
11742         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11743
11744 2002-06-25  Angus Leeming  <leeming@lyx.org>
11745
11746         * lyxfunc.C (dispatch): Comment out the call to
11747         grfx::GCache::changeDisplay. The method no longer exists now that the
11748         pixmap generation part of the graphics loader has been moved into
11749         InsetGraphics.
11750
11751 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11752
11753         * text2.C: layout as layout
11754
11755         * text.C: layout as layout
11756
11757         * tabular.C (OldFormatRead): layout as layout
11758
11759         * paragraph_pimpl.C (TeXDeeper): layout as layout
11760         (realizeFont): layout as layout
11761
11762         * paragraph.C (writeFile): layout as layout
11763         (validate): layout as layout
11764         (getFont): layout as layout
11765         (getLabelFont): layout as layout
11766         (getLayoutFont): layout as layout
11767         (breakParagraph): layout as layout
11768         (stripLeadingSpaces): layout as layout
11769         (getEndLabel): layout as layout
11770         (getMaxDepthAfter): layout as layout
11771         (applyLayout): layout as layout
11772         (TeXOnePar): layout as layout
11773         (simpleTeXOnePar): layout as layout
11774         (TeXEnvironment): layout as layout
11775         (layout): layout as layout
11776         (layout): layout as layout
11777
11778         * lyxtextclass.C (compare_name): new functor to work with
11779         shared_ptr, layout as layout
11780         (Read): layout as layout
11781         (hasLayout): layout as layout
11782         (operator): layout as layout
11783         (delete_layout): layout as layout
11784         (defaultLayout): layout as layout
11785
11786         * lyxlayout_ptr_fwd.h: new file
11787
11788         * lyxlayout.C (Read): layout as layout
11789
11790         * lyx_cb.C (MenuInsertLabel): layout as layout
11791
11792         * bufferlist.C (newFile): layout as layout
11793
11794         * buffer.C (readLyXformat2): layout as layout
11795         (parseSingleLyXformat2Token): layout as layout
11796         (insertStringAsLines): layout as layout
11797         (asciiParagraph): layout as layout
11798         (latexParagraphs): layout as layout
11799         (makeLinuxDocFile): layout as layout
11800         (simpleLinuxDocOnePar): layout as layout
11801         (makeDocBookFile): layout as layout
11802         (simpleDocBookOnePar): layout as layout
11803         (getLists): layout as layout
11804
11805         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11806
11807         * CutAndPaste.C (cutSelection): layout as layout
11808         (pasteSelection): layout as layout
11809         (SwitchLayoutsBetweenClasses): layout as layout
11810
11811         * BufferView_pimpl.C (Dispatch): layout as layout
11812         (smartQuote): layout as layout
11813
11814         * BufferView2.C (unlockInset): layout as layout
11815
11816 2002-06-24  André Pönitz <poenitz@gmx.net>
11817
11818         * lyxfunc.C: fix #487
11819
11820 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11821
11822         * lyxrc.h:
11823         * lyxrc.C:
11824         * lyxfunc.C: remove display_shortcuts, show_banner
11825
11826 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * Buffer_pimpl.C: oops, update on resize
11829
11830 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11831
11832         * buffer.C:
11833         * converter.C:
11834         * exporter.C:
11835         * lyxfunc.C:
11836         * BufferView.h:
11837         * BufferView.C: use repaint()
11838
11839         * BufferView_pimpl.h:
11840         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11841           as it's a clearer description. Remove superfluous
11842           redraws.
11843
11844 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11845
11846         * text.C: fix bug 488. Not ideal, but getting
11847           getWord() to work properly for the insets that
11848           matter is more difficult ...
11849
11850 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11851
11852         * BufferView_pimpl.C:
11853         * LyXAction.C:
11854         * commandtags.h:
11855         * lyxfunc.C: remove the six million index lyxfuncs to just
11856           one, and DTRT (bug 458)
11857
11858 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11859
11860         * BufferView.h:
11861         * BufferView.C:
11862         * BufferView_pimpl.h:
11863         * BufferView_pimpl.C: clean up resize() stuff,
11864           and unnecessary updateScreen()s
11865
11866 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11867
11868         * BufferView.h:
11869         * BufferView.C:
11870         * BufferView_pimpl.h:
11871         * BufferView_pimpl.C:
11872         * lyxfind.h:
11873         * lyxfind.C:
11874         * minibuffer.C: remove focus management of workarea,
11875           not needed. Use screen's greyOut()
11876
11877 2002-06-17  Herbert Voss  <voss@lyx.org>
11878
11879         * converter.C: (convert) do not post a message, when converting
11880         fails, let the calling function decide what to do in this case
11881
11882 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11883
11884         * lyxfunc.C: tidy up a little
11885
11886 2002-06-16    <alstrup@diku.dk>
11887
11888         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11889         Got rid of FORMS_H_LOCATION include. Now we are
11890         GUII.
11891
11892 2002-06-15  LyX Development team  <lyx@rilke>
11893
11894         * buffer.[Ch] (sgmlOpenTag):
11895         (sgmlCloseTag): Added support for avoiding pernicious mixed
11896         content. Return number of lines written.
11897
11898         (makeLinuxDocFile):
11899         (makeDocBookFile): Fixed calls to sgml*Tag.
11900         Simple white space clean.
11901
11902         (simpleDocBookOnePar): Simple white space clean.
11903
11904         * tabular.[Ch] (docBook): Renamed to docbook and got another
11905         argument to related with the pernicious mixed content.
11906
11907         (docbookRow): Fixed calls for docbook inset method.
11908
11909 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11910
11911         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11912         so it's X11 independent.
11913
11914         * kb*.[Ch]: ditto.
11915
11916         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11917
11918 2002-06-15  Lyx Development team  <lyx@electronia>
11919
11920         * intl.h: Renamed getTrans to getTransManager.
11921
11922 2002-06-14  Angus Leeming  <leeming@lyx.org>
11923
11924         * Makefile.am: nuke forgotten stl_string_fwd.h.
11925
11926 2002-06-12  Angus Leeming  <leeming@lyx.org>
11927
11928         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11929
11930 2002-06-13  Angus Leeming  <leeming@lyx.org>
11931
11932         * LaTeX.C:
11933         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11934
11935 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11936
11937         * kbmap.C (getiso): add support for cyrillic and greek
11938
11939 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11940
11941         * BufferView.h:
11942         * BufferView.C:
11943         * BufferView_pimpl.h:
11944         * BufferView_pimpl.C: move bogus scrolling logic
11945           to xforms
11946
11947 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11948
11949         * lyxfunc.C:
11950         * BufferView_pimpl.C: view->resize() change
11951
11952 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11953
11954         * BufferView_pimpl.C: topCursorVisible
11955           prototype change
11956
11957 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11958
11959         * Makefile.am:
11960         * lyx_gui.h:
11961         * lyx_gui.C: move to frontends/
11962
11963         * main.C:
11964         * lyx_main.h:
11965         * lyx_main.C: changes from above
11966
11967 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11968
11969         * intl.C:
11970         * intl.h:
11971         * kbmap.C:
11972         * kbsequence.C:
11973         * lyx_cb.C:
11974         * lyx_main.C: minor tidy
11975
11976 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11977
11978         * BufferView_pimpl.h:
11979         * BufferView_pimpl.C:
11980         * BufferView.h:
11981         * BufferView.C: make painter() const,
11982           remove dead code
11983
11984         * BufferView2.C: use screen() accessor
11985
11986         * lyx_main.h:
11987         * lyx_main.C: some minor cleanup
11988
11989 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11990
11991         * BufferView_pimpl.h:
11992         * BufferView_pimpl.C: remove enter/leaveView,
11993           use workHeight()
11994
11995 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11996
11997         * BufferView.h:
11998         * BufferView.C:
11999         * BufferView2.C:
12000         * BufferView_pimpl.h:
12001         * BufferView_pimpl.C: only construct screen once,
12002           rename
12003
12004         * lyxrc.C: remove pointless comment
12005
12006 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12007
12008         * BufferView.h:
12009         * BufferView.C: remove active() and belowMouse()
12010
12011         * BufferView_pimpl.h:
12012         * BufferView_pimpl.C: use workarea() not workarea_,
12013           and make it use a scoped_ptr instead
12014
12015 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12016
12017         * lyx_gui.C: add debug message on BadWindow
12018
12019 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12020
12021         * sp_spell.C: fdopen is not part of the C++ standard.
12022
12023         * paragraph.C (InsetIterator): use >= instead of ==
12024
12025 2002-06-07  Angus Leeming  <leeming@lyx.org>
12026
12027         Fixes needed to compile with Compaq cxx 6.5.
12028         * BufferView_pimpl.C:
12029         * DepTable.C:
12030         * buffer.C:
12031         * converter.C:
12032         * encoding.C:
12033         * lyx_gui.C:
12034         * lyx_main.C:
12035         * lyxtextclasslist.C:
12036         * minibuffer.C:
12037         * sp_spell.C:
12038         * tabular_funcs.C:
12039         * vc-backend.C:
12040         all c-library variables have been moved into namespace std. Wrap
12041         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12042
12043         * lyxlength.C:
12044         * tabular-old.C:
12045         * tabular.C:
12046         Add a using std::abs declaration.
12047
12048         * kbmap.h (modifier_pair):
12049         * paragraph.h (InsetTable, InsetList):
12050         * lyxfont.h (FontBits):
12051         type definition made public.
12052
12053         * bufferlist.C (emergencyWriteAll): the compiler complains that
12054         there is more than one possible lyx::class_fun template to choose from.
12055         I re-named the void specialisation as lyx::void_class_fun.
12056
12057         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12058
12059         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12060         the compiler is is unable to find tostr in write_attribute.
12061
12062 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12063
12064         * buffer.C (sgmlError): hide #warning
12065
12066 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12067
12068         * xtl/*: get rid of xtl, which is not in use anyway
12069
12070         * LyXAction.C (init):
12071         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12072         were unimplemented xtl experimentation
12073
12074 2002-06-04  André Pönitz <poenitz@gmx.net>
12075
12076         * lyxfunc.C: disable array operation on simple formulae
12077
12078 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12079
12080         * converter.C: constify a bit
12081
12082 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12083
12084         * lyx_gui.C: check xforms version correctly
12085
12086 2002-04-30  Herbert Voss  <voss@lyx.org>
12087
12088         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12089         "keep" option
12090
12091 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12092
12093         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12094           attempt to register it with a VCS)
12095
12096 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12097
12098         * lyx_main.C (init): honor variables LYX_DIR_13x and
12099         LYX_USERDIR_13x
12100
12101 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12102
12103         * buffer.h:
12104         * buffer.C:
12105         * lyx_main.C: fix a crash on bad command line,
12106           and give a useful exit status on error
12107
12108         * lyxfunc.C (doImport): allow -i lyx to work
12109
12110 2002-03-30  André Pönitz <poenitz@gmx.net>
12111
12112         * lyxfunc.C: mathed font changes
12113
12114 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12115
12116         * LaTeX.C:
12117         * importer.h:
12118         * importer.C:
12119         * lyx_sty.h:
12120         * lyx_sty.C:
12121         * lyxlex.C:
12122         * lyxrow.h:
12123         * lyxtext.h:
12124         * paragraph.h:
12125         * paragraph.C:
12126         * texrow.h:
12127         * texrow.C:
12128         * text.C:
12129         * trans_mgr.h: srcdocs, and some minor cleanups
12130
12131 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12132
12133         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12134         call getFont all the time)
12135
12136 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12137
12138         * switch from SigC signals to boost::signals
12139
12140 2002-05-29  André Pönitz <poenitz@gmx.net>
12141
12142         * paragraph_pimpl.C (getChar): don't call size() too often...
12143
12144 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12145
12146         * paragraph_pimpl.C (insertChar): do not try to update tables when
12147         appending (pos == size())
12148
12149         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12150         in order to reduce drastically the number of comparisons needed to
12151         parse a large document
12152
12153 2002-05-29  André Pönitz <poenitz@gmx.net>
12154
12155         * text.C:
12156         * text2.C:
12157         * lyxtextclass.C:
12158         * sp_pspell.h:
12159         * textclasslist.[Ch]:
12160         * sp_ispell.h: whitespace change
12161
12162 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12163
12164         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12165         lyxaction directly now.
12166
12167 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12168
12169         * trans.C:
12170         * lyxfont.C:
12171         * lyxvc.C: remove unused headers
12172
12173 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12174
12175         * Makefile.am:
12176         * buffer.h:
12177         * undostack.h:
12178         * undostack.C:
12179         * undo_funcs.h:
12180         * undo_funcs.C: some cleanups. Use shared_ptr
12181           and a template for the undo stacks.
12182
12183 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12184
12185         * BufferView_pimpl.h:
12186         * BufferView_pimpl.C:
12187         * kbmap.h:
12188         * kbmap.C:
12189         * kbsequence.h:
12190         * kbsequence.C:
12191         * lyxfunc.h:
12192         * lyxfunc.C:
12193         * text2.C: use key_state/mouse_state
12194
12195 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12196
12197         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12198         and LSubstring
12199
12200         * chset.C: change include order
12201         (loadFile): use boost regex and get rid of LRegex and LSubstring
12202
12203         * Makefile.am (BOOST_LIBS): new variable
12204         (lyx_LDADD): use it
12205
12206         * LaTeX.C: change include order.
12207         (scanAuxFile): use boost regex and get rid of LRegex and
12208         LSubstring
12209         (deplog): ditto
12210
12211 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12212
12213         * ColorHandler.h:
12214         * ColorHandler.C:
12215         * FontInfo.h:
12216         * FontInfo.C: moved to frontends/xforms/
12217
12218         * FontLoader.h:
12219         * FontLoader.C: moved into frontends for GUIIzation
12220
12221         * Makefile.am:
12222         * lyx_gui.C:
12223         * lyxfont.C:
12224         * lyxfunc.C: changes from above
12225
12226 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12227
12228         * LColor.C: remove spurious X include
12229
12230         * BufferView_pimpl.C:
12231         * Makefile.am:
12232         * font.h:
12233         * font.C:
12234         * text.C:
12235         * text2.C: move font metrics to frontends/
12236
12237 2002-05-24  Juergen Vigna  <jug@sad.it>
12238
12239         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12240         setting the undo_cursor.
12241
12242         * ParagraphParameters.h: include local includes first.
12243
12244 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12245
12246         * BufferView_pimpl.C:
12247         * BufferView_pimpl.h:
12248         * Makefile.am:
12249         * WorkArea.h:
12250         * WorkArea.C:
12251         * screen.C: move WorkArea into frontends/
12252
12253         * lyxscreen.h:
12254         * screen.C:
12255         * text.C:
12256         * BufferView.C:
12257         * BufferView2.C: move LyXScreen into frontends/
12258
12259         * lyxlookup.h:
12260         * lyxlookup.C:
12261         * lyx_gui.C: move lyxlookup into frontends/xforms/
12262
12263 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12264
12265         * BufferView2.C:
12266         * BufferView_pimpl.C:
12267         * FontLoader.C:
12268         * LyXView.h:
12269         * LyXView.C:
12270         * Makefile.am:
12271         * WorkArea.C:
12272         * XFormsView.h:
12273         * XFormsView.C:
12274         * buffer.C:
12275         * bufferlist.C:
12276         * bufferview_funcs.C:
12277         * converter.C:
12278         * importer.C:
12279         * lyx_cb.C:
12280         * lyx_gui.C:
12281         * lyx_main.C:
12282         * lyx_find.C:
12283         * lyxfunc.C:
12284         * lyxvc.C:
12285         * minibuffer.C:
12286         * text.C:
12287         * text2.C:
12288         * trans.C:
12289         * vc-backend.C: move LyX/XFormsView into frontends/
12290
12291 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12292
12293         * Makefile.am:
12294         * PainterBase.C:
12295         * PainterBase.h:
12296         * Painter.C:
12297         * Painter.h:
12298         * WorkArea.C:
12299         * WorkArea.h:
12300         * screen.C:
12301         * tabular.C:
12302         * text.C:
12303         * text2.C: move Painter to frontends/
12304
12305 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12306
12307         * buffer.C: comment out some some code that depend upon lyx_format
12308         < 220
12309
12310         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12311         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12312
12313         * buffer.h (NO_COMPABILITY): turn off compability
12314
12315         * ColorHandler.C: include scoped_array.hpp
12316
12317         * font.C: Use more specific smart_ptr header.
12318         * Painter.C: ditto
12319         * gettext.C: ditto
12320         * ShareContainer.h: ditto
12321         * lyx_main.h: ditto
12322         * kbmap.h: ditto
12323         * FontInfo.h: ditto
12324         * BufferView_pimpl.h: ditto
12325         * ColorHandler.h: ditto
12326
12327         * kbmap.C (defkey): change call to shared_ptr::reset
12328
12329 2002-05-21  Juergen Vigna  <jug@sad.it>
12330
12331         * buffer.C (insertErtContents): fix to insert ert asis if it is
12332         non empty. Skip it completely if it contains only whitespaces.
12333
12334 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12335
12336         * BufferView_pimpl.C:
12337         * BufferView2.C: clear selection on paste (bug 393)
12338
12339 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12340
12341         * DepTable.C: include ctime
12342
12343 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12344
12345         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12346
12347 2002-05-14  Juergen Vigna  <jug@sad.it>
12348
12349         * text.C (breakParagraph): fixed function to honor the keepempty
12350         layout in the right maner and also to permit the right breaking
12351         algorithm on empty or non empyt keepempty paragraphs.
12352
12353         * paragraph.C (breakParagraph): we have to check also if the par
12354         is really empty (!size()) for isempty otherwise we do the wrong
12355         paragraph break.
12356
12357 2002-05-10  Juergen Vigna  <jug@sad.it>
12358
12359         * buffer.[Ch] : The following are only changes to the ert
12360         compatibility read reading old LaTeX layout and font stuff and
12361         convert it to ERTInsets.
12362
12363         * buffer.h: added isErtInset().
12364
12365         * buffer.C (struct ErtComp): add a fromlayout bool to check
12366         if we're inside a LaTeX layout.
12367         (isErtInset): new helper function.
12368         (insertErtContents): look for other ert insets before this one
12369         and insert the contents there, so that we don't have subsequent
12370         ERT insets with nothing between them. This way we create only one
12371         inset with multiple paragraphs. Also check if we don't insert only
12372         spaces ' ' as they are ignored anyway afterwards in the .tex file
12373         so if we have only spaces we will ignore this latex part in the
12374         new file.
12375         (parseSingleLyXformat2Token \\layout): better compatibility when
12376         reading layout-latex stuff.
12377         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12378         language tag.
12379         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12380         stuff after reading the inset only get the information back from
12381         the stack.
12382
12383 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12384
12385         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12386
12387         * LaTeXFeatures.C (getBabelOptions): New method.
12388
12389 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12390
12391         * BufferView_pimpl.C (Dispatch): work around missing argument for
12392         'layout'
12393
12394 2002-05-08  Juergen Vigna  <jug@sad.it>
12395
12396         * text.C (leftMargin): handle paragraph leftindent.
12397
12398         * paragraph.C (writeFile): write the new \\leftindent tag.
12399         (validate): handle leftindent code.
12400         (TeXEnvironment): handle paragraphleftindent code again.
12401
12402         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12403
12404         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12405         for paragrap_extra indent code and new token \\leftindent.
12406         (latexParagraphs): handle the leftindent as environment.
12407
12408         * ParameterStruct.h: added leftindent support.
12409
12410         * ParagraphParameters.C (leftIndent): added support functions for
12411         the paragraph left indent.
12412
12413         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12414         more appropriate.
12415
12416 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12417
12418         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12419         inside insetERT.
12420
12421         * text.C (computeBidiTables): No bidi in insetERT.
12422
12423         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12424         in RTL documents.
12425
12426 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12427
12428         * version.C.in: pre 5
12429
12430 2002-05-02  José Matos  <jamatos@fep.up.pt>
12431         * buffer.C (makeDocBookFile): white space changes, add newline to
12432         command styles.
12433         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12434
12435         * tabular.C (docBook): fix typo.
12436
12437 2002-05-03  Juergen Vigna  <jug@sad.it>
12438
12439         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12440         change in LyXText as we can not be sure it was not freed.
12441         (drawOneRow): remove unused code.
12442
12443         * text.C (drawInset): redo the calculation of the need_break_row as
12444         it could have a row which was already freed.
12445         (draw): look at the return value of drawInset and return false if
12446         it also returned false.
12447         (paintRowText): look at the return value of draw and return false if
12448         it also returned false.
12449
12450         * lyxtext.h: added bool return type to drawInset() and draw() so that
12451         if we have a change in the row so that the rowbreak has to be redone
12452         we abort drawing as it will be called again.
12453
12454 2002-05-02  Juergen Vigna  <jug@sad.it>
12455
12456         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12457         a change in the maintext also if we're inside an inset.
12458         (Dispatch): set the cursor again after a break line and after the
12459         screen has been updated as it could be we're in a different row.
12460
12461         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12462         to set the cursor behind the pargraph with > size().
12463         (setCursor): check also for the same paragraph when checking where
12464         to put the cursor if we have a NFR inset.
12465
12466         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12467         parts of layout read further up as it still was in the wrong
12468         position.
12469
12470 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12471
12472         * screen.C (drawFromTo): change sine fullRebreak always return
12473         true.
12474
12475         * buffer.C (parseSingleLyXformat2Token): reindent some
12476
12477         * BufferView_pimpl.C (update): change since fullRebreak always
12478         return true.
12479         (Dispatch): git rid of the last hardcoded "Standard"s.
12480
12481 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12482
12483         * text2.[Ch] (fullRebreak): make it return void now that we always
12484         returned true.
12485
12486 2002-04-30  Juergen Vigna  <jug@sad.it>
12487
12488         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12489         ert compatibility check for "latex" layout.
12490
12491 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12492
12493         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12494         minipages: use col% instead of p%, and also use the current font.
12495         (makeLaTeXFile): Fix use babel condition.
12496         (parseSingleLyXformat2Token): Correct font when reading old floats.
12497
12498 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12499
12500         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12501         inserting list of floats.
12502
12503 2002-04-25  Herbert Voss  <voss@lyx.org>
12504
12505         * MenuBackend.C (expand): don't add the graphics extensions to the
12506         export menu
12507
12508 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12509
12510         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12511         non-existing layout, do not complain if it was the default layout
12512         of the original class (bug #342)
12513
12514 2002-04-24  Juergen Vigna  <jug@sad.it>
12515
12516         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12517         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12518
12519 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12520
12521         * buffer.C (getBibkeyList): If using \bibliography, return the
12522         option field with the reference itself. Enables us to provide natbib
12523         support when using \bibliography.
12524
12525 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12526
12527         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12528
12529         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12530         natbib is provided by the LaTeX class.
12531
12532 2002-04-23  Juergen Vigna  <jug@sad.it>
12533
12534         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12535         Wakeup functions.
12536
12537         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12538
12539 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12540
12541         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12542
12543         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12544         ensuremath around textordmasculine, textordfeminine and
12545         textdegree.
12546
12547 2002-04-19  Juergen Vigna  <jug@sad.it>
12548
12549         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12550         reinitializing the buffer otherwise row-dimensions may be wrong.
12551         (update): reset also the selection cursors if they do exits otherwise
12552         their x/y positions may be wrong.
12553
12554         * text2.C (cursorDown): don't enter the inset if we came from a row
12555         above and are one row over the inset.
12556
12557         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12558         really leaving an inset.
12559
12560 2002-04-18  Juergen Vigna  <jug@sad.it>
12561
12562         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12563         of the selected paragraph does not have the selected layout also if
12564         the last one had!
12565
12566         * text2.C (setLayout): fixed bug which did not change last selected
12567         paragraph.
12568
12569         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12570         changed the read and substituted \\end_float with \\end_inset!
12571
12572         * BufferView_pimpl.C (cursorPrevious):
12573         (cursorNext): fixed to make it work with rows heigher than the work
12574         area without moving the cursor only the draw of the row.
12575         (workAreaMotionNotify): fix jumping over high rows.
12576
12577 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12578
12579         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12580         Ressler.
12581
12582 2002-04-16  Juergen Vigna  <jug@sad.it>
12583
12584         * text2.C (setCursor): set also the irow().
12585         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12586         (cursorUp):
12587         (cursorDown): support for locking an inset if the x_fix value goes
12588         inside it. That way I can transverse insets too with cursor up/down.
12589
12590         * lyxrow.h: added irow helper function same as other (i) functions.
12591
12592         * BufferView_pimpl.C (cursorPrevious):
12593         (cursorNext): fixed for insets!
12594
12595 2002-04-15  Juergen Vigna  <jug@sad.it>
12596
12597         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12598         position otherwise it is wrong in some cases.
12599
12600         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12601         inside the inset before the call.
12602
12603 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12604
12605         * buffer.[Ch] (getBibkeyList): make it const.
12606
12607 2002-04-12  Juergen Vigna  <jug@sad.it>
12608
12609         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12610
12611         * text2.C (getCursorX): new helper function
12612         (setCursor): compute also ix_
12613         (setCursorFromCoordinates): set also ix.
12614
12615         * lyxcursor.h: added ix_ and helper functions.
12616
12617         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12618
12619         * buffer.C (insertStringAsLines): dont break paragraph if the this
12620         paragraph is inside an inset which does not permit it!
12621
12622         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12623         also with no chars on this paragraph.
12624         (paintRowText): only paint stuff if it's inside the workarea!
12625
12626         * paragraph.C (breakParagraph): honor keepempty flag and break the
12627         paragraph always below not above.
12628
12629         * BufferView2.C (unlockInset): update the paragraph layout on inset
12630         unlock as we changed paragraph in such a case.
12631
12632         * lyxfind.C (LyXFind): clear the former selection if not found!
12633
12634         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12635         again called in insertChar().
12636
12637         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12638         an inset which uses the whole row!
12639         (rightMargin): ditto.
12640         (insertChar): force a rebreak if we inserted an inset!
12641
12642 2002-03-28  Herbert Voss  <voss@lyx.org>
12643
12644         * lyxlength.[Ch]: add inBP() to get the right PS-point
12645         units (BigPoint). With inPixels we have rounding errors
12646
12647 2002-04-11  Juergen Vigna  <jug@sad.it>
12648
12649         * text2.C (setCursorFromCoordinates): set iy to the right value.
12650         (setCursor): add check if row->previous exists!
12651
12652         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12653         an old float_type as this was the case in the old code!
12654
12655         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12656
12657         * BufferView2.C (showLockedInsetCursor): use iy
12658         (fitLockedInsetCursor): ditto
12659
12660         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12661         locked insets as there we have the right value now.
12662
12663         * lyxcursor.C: added iy_ variable and iy functions to set to the
12664         baseline of cursor-y of the locked inset.
12665
12666         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12667         (setCursor): fixed for insets which need a full row.
12668
12669         * text.C (rowLastPrintable): don't ignore the last space when before
12670         an inset which needs a full row.
12671         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12672         as last character of a row when before a inset which needs a full row.
12673
12674 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12675
12676         * version.C.in: update date
12677
12678         * text2.C (fullRebreak): try to always return true and see what
12679         happens...
12680
12681 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12682
12683         * MenuBackend.C (expand): use Floating::listName
12684
12685         * FloatList.C (FloatList): add listName argument to the built-in
12686         floats
12687
12688         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12689         text associated with the float.
12690
12691 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12692
12693         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12694
12695 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12696
12697         * ShareContainer.h: add a couple of missing typenames.
12698
12699 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12700
12701         * lyxrc.C (getDescription): use _() correctly rather than N_().
12702
12703 2002-03-28  Herbert Voss  <voss@lyx.org>
12704
12705         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12706         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12707
12708 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12709
12710         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12711         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12712
12713 2002-03-29  Juergen Vigna  <jug@sad.it>
12714
12715         * lyxfunc.C (dispatch): add a missing fitCursor call.
12716
12717         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12718         it was scrolled by a cursor move, so return the bool status.
12719
12720         * BufferView.C (fitCursor): return the bool flag also to the outside
12721         world as this is needed.
12722
12723         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12724
12725         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12726         call the edit() as it is not needed (and wrong) IMO.
12727         (workAreaButtonPress): set the screen_first variable before evt.
12728         unlock the inset as this may change screen_first and then we have
12729         a wrong y position for the click!
12730
12731 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12732
12733         * MenuBackend.C (expand): another translation that I missed
12734
12735 2002-03-28  Juergen Vigna  <jug@sad.it>
12736
12737         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12738
12739         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12740
12741 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12742
12743         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12744
12745         * MenuBackend.C (expand): fix export/view/update when there is no
12746         document open.
12747
12748 2002-03-27  Herbert Voss  <voss@lyx.org>
12749
12750         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12751         and text%
12752
12753 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12754
12755         * bufferview_funcs.C (currentState): only show paragraph number
12756         for is DEVEL_VERSION is set.
12757
12758         * lyxfunc.C (dispatch): put warning in INFO channel
12759
12760         * MenuBackend.C (expand): translate the name of floats
12761
12762         * FloatList.C (FloatList): mark the float names for translation
12763
12764         * converter.C (convert): use LibScriptSearch
12765
12766 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12767
12768         * MenuBackend.C (defaults): fix default menu (we might as well get
12769         rid of it...)
12770
12771 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12772
12773         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12774         directory.
12775
12776 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12777
12778         * lyxvc.C: reorder includes.
12779
12780 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12781
12782         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12783           properly
12784
12785 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12786
12787         * CutAndPaste.C: change layouts earlier on paste
12788           to avoid crashing when calling getFont()
12789
12790 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12791
12792         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12793         irritating #error.
12794
12795 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12796
12797         * WorkArea.C: remove 'Pending' debug message.
12798
12799         * most files: ws cleanup
12800
12801         * buffer.[Ch]: ws changes
12802
12803         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12804
12805 2002-03-21  Juergen Vigna  <jug@sad.it>
12806
12807         * tabular.C (SetMultiColumn): collapse also the contents of the
12808         cells and set the last border right. Added a Buffer const * param.
12809
12810 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12811
12812         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12813         linking or not.
12814
12815 2002-03-19  Juergen Vigna  <jug@sad.it>
12816
12817         * text2.C (clearSelection): reset also xsel_cache.
12818
12819         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12820         where it needs to be called (John tells us to do so too :)
12821         (selectionLost): reset sel_cache.
12822
12823         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12824
12825 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12826
12827         * text2.C (setCursorIntern): put debuging code in INSETS channel
12828
12829 2002-03-19  André Pönitz <poenitz@gmx.net>
12830
12831         * lyxfunc.C: tiny whitespace change
12832
12833 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12834
12835         * ToolbarDefaults.C (init):
12836         * LyXAction.C (init):
12837         * commandtags.h:
12838         * BufferView_pimpl.C (Dispatch):
12839         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12840
12841 2002-03-19  Allan Rae  <rae@lyx.org>
12842
12843         * exporter.C (Export): removeAutoInsets before doing anything else.
12844         While I've just introduced a dependency on BufferView this really is
12845         the best place to clean the buffer otherwise you need to cleanup in
12846         a dozen places before calling export or cleanup in a dozen functions
12847         that export calls.
12848
12849         * converter.C (runLaTeX):
12850         (scanLog): Better handling of removeAutoInsets and screen updates.
12851
12852         * lyxfunc.C (dispatch): small whitespace changes
12853
12854 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12855
12856         * WorkArea.C (C_WorkAreaEvent): return a value.
12857         (event_cb): return 1 if we handled the event, 0 otherwise.
12858
12859         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12860
12861 2002-03-18  Juergen Vigna  <jug@sad.it>
12862
12863         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12864         (GetAdditionalWidth): ditto.
12865         (RightLine): ditto.
12866         (LeftLine): ditto.
12867
12868         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12869         inset if we're there actually (probably not used right now but this
12870         is the direction to go for unifying code).
12871         (paste): disable code to clear the selection.
12872
12873         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12874         inside an InsetText and move the check further up as it is in the
12875         wrong place.
12876
12877         * text2.C (pasteSelection): set a selection over the pasted text.
12878
12879 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12880
12881         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12882         and libgraphics to build on Cygwin.
12883
12884 2002-03-15  Juergen Vigna  <jug@sad.it>
12885
12886         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12887         inserting an Inset into the paragraph. I know this is not the best
12888         fix but we already use current_view in CutAndPaste so we will remove
12889         all of it's using at the same time.
12890
12891         * buffer.C (sgmlError): deactivated function till it is rewritten in
12892         the right mode, now it can create problems.
12893
12894         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12895         before accessing it.
12896
12897 2002-03-14  Juergen Vigna  <jug@sad.it>
12898
12899         * undo_funcs.C (textHandleUndo): do the right thing when updating
12900         the inset after the undo/redo.
12901
12902         * text2.C (setCursor): just some testcode for #44 not ready yet.
12903
12904         * undo_funcs.C (textHandleUndo): set the next() and previous()
12905         pointers of the paragraph to 0 before deleting otherwise we have
12906         problems with the Paragraph::[destructor].
12907
12908         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12909         on a paragraph insertion.
12910
12911 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12912
12913         * buffer.C (asciiParagraph): use += operator for char append to
12914         string.
12915
12916         * paragraph.C (getFontSettings): compare >= not just >
12917         (highestFontInRange): ditto
12918         (setFont): ditto
12919
12920 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12921
12922         * paragraph.C: change several algorithm to be more appripriate for
12923         the problem domain. This is lookip in FontList and in the InsetList.
12924
12925 2002-03-13  André Pönitz <poenitz@gmx.net>
12926
12927         * commandtags.h:
12928         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12929
12930 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12931
12932         * commandtags.h:
12933         * LyXAction.C:
12934         * lyxfunc.C:
12935         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12936
12937 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12938
12939         * Painter.C (display): anon helper function, adjust code for this
12940         change.
12941         (pixmap): remove function.
12942
12943         * Painter.h: remove private display variable.
12944
12945         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12946
12947 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12948
12949         * WorkArea.[Ch]: remove figinset_canvas cruft.
12950
12951 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12952
12953         * lyxtextclass.C (operator): add one item cache optimization.
12954
12955         * bufferlist.h: doxy changes
12956
12957         * bufferlist.C: ws changes
12958
12959         * DepTable.[Ch] (ext_exist): place const in the right spot.
12960
12961         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12962         call resizeInsets.
12963         (workAreaExpose): call resizeInsets when the with BufferView changes.
12964         (Dispatch): adjust for protectedBlank removal
12965         (specialChar): call updateInset if the insert went ok.
12966
12967         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12968         specialChar instead.
12969
12970         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12971
12972         * BufferView.h: doxy change
12973
12974         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12975
12976         * lyxtextclass.C (operator[]): remove non-const version
12977         (defaultLayout): remove non-const version
12978
12979 2002-03-12  Juergen Vigna  <jug@sad.it>
12980
12981         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12982         did resize the LyXText too.
12983
12984         * buffer.C (readLyXformat2): set layout information on newly allocated
12985         paragraphs.
12986
12987         * tabular.C (OldFormatRead): set layout information on the paragraph.
12988
12989 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
12990
12991         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12992
12993 2002-03-11  Juergen Vigna  <jug@sad.it>
12994
12995         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12996         plainly wrong.
12997         (resizeCurrentBuffer): force also the insets to resize themselfes.
12998         (moveCursorUpdate): fixed up for InsetText.
12999
13000 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13001
13002         * commandtags.h:
13003         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13004         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13005         value of Dialogs::tooltipsEnabled().
13006         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13007
13008 2002-03-08  Juergen Vigna  <jug@sad.it>
13009
13010         * BufferView_pimpl.C (updateInset): update inset inside inset also
13011         if it isn't inside theLockingInset().
13012
13013 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13014
13015         * buffer.C (asciiParagraph): redo some of the word and line length
13016         handling.
13017         (getLists): look for Caption instead of caption.
13018
13019 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13020
13021         * buffer.C (Buffer): initialize niceFile to true
13022         (makeLaTeXFile):
13023         (makeLinuxDocFile):
13024         (makeDocBookFile): make sure niceFile is true on exit
13025
13026 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13027
13028         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13029
13030 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13031
13032         * LyXSendto.C: remove.
13033         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13034         * lyx_gui.C: remove now-redundant comment.
13035         * ColorHandler.h: remove forward declaration of class WorkArea.
13036         * lyxfunc.C: remove #include "WorkArea.h".
13037
13038 2002-03-07  Juergen Vigna  <jug@sad.it>
13039
13040         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13041         got moved away with the DEPM and also set the inset_owner always
13042         right which before could have been omitted.
13043
13044 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13045
13046         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13047         wanted layout is not found.
13048
13049 2002-03-07  Juergen Vigna  <jug@sad.it>
13050
13051         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13052
13053 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13054
13055         * paragraph.C (breakParagraph): use default layout not layout of
13056         prev paragraph.
13057         (Paragraph): clear ParagraphParameters.
13058
13059 2002-03-06  Juergen Vigna  <jug@sad.it>
13060
13061         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13062         otherwise it would not be a valid lenght. Fixed a special case in
13063         the minipage compatibility read where we end the document with a
13064         minipage.
13065
13066         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13067         was set as it could be 0 for InsetTexts first entry.
13068
13069 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13070
13071         * paragraph.C (writeFile): if layout is empty write out
13072         defaultLayoutName().
13073
13074         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13075         file without named layout we set layout to defaultLayoutName().
13076
13077 2002-03-06  Juergen Vigna  <jug@sad.it>
13078
13079         * CutAndPaste.C (copySelection): set layout for new paragraph.
13080
13081         * text.C (prepareToPrint): leave ERT inset left aligned
13082         (leftMargin): don't indent paragraphs inside ERT insets
13083
13084 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13085
13086         * paragraph.C (breakParagraph): dont call clear do the work manually
13087
13088         * paragraph.[Ch] (clear): remove function
13089
13090 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13091
13092         * paragraph.C (Paragraph): dont call clear, the work has already
13093         been done.
13094
13095         * lyxtextclass.C (operator): assert if n is empty
13096
13097         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13098         work manually instead.
13099
13100 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13101
13102         * BufferView_pimpl.C: protect selectionLost against text == 0
13103
13104 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13105
13106         * text.C (breakParagraph): fix a setting layout to '0' problem.
13107
13108 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13109
13110         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13111         final location of file, for the included files, and graphics.
13112
13113 2002-03-05  Juergen Vigna  <jug@sad.it>
13114
13115         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13116
13117 2002-03-04  Juergen Vigna  <jug@sad.it>
13118
13119         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13120
13121         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13122         last column of multicolumn cells.
13123         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13124
13125 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13126
13127         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13128         file if it doesn't go to a temporary file.
13129
13130         * buffer.C (sgmlOpenTag):
13131         (sgmlCloseTag):  remove extra newline insertion.
13132
13133 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13134
13135         * text.C (getRowNearY): comment out debug msg
13136
13137 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13138
13139         * text2.C: first -> first_y
13140
13141         * text.C (getRowNearY): add some attemts at a possible
13142         optimization, not working.
13143
13144         * tabular.[Ch]: add BufferParams to several function so that newly
13145         created paragraph can be initialized to he default layotu for the
13146         buffers textclass.
13147
13148         * tabular-old.C (ReadOld): add buf->params to call of Init
13149
13150         * screen.C: rename text->first to text->first_y
13151
13152         * paragraph.C (breakParagraph): always set layout in the broken
13153         paragraph
13154
13155         * lyxtextclass.C (Read): remove lowercase
13156         (hasLayout): ditto
13157         (operator): ditto
13158         (delete_layout): ditto
13159
13160         * lyxtext.h: rename first -> first_y
13161
13162         * lyxlayout.C (Read): remove lowercase
13163         (name): ditto
13164         (setName): ditto
13165         (obsoleted_by): ditto
13166
13167         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13168
13169         * buffer.C (insertErtContents): add params are to InsetERT
13170         (parseSingleLyXformat2Token): add code to check if a paragraphs
13171         layout really exist.
13172         (parseSingleLyXformat2Token): add params to several inset
13173         constructors
13174         (asciiParagraph): remove lowercase, do the layout comparisons with
13175         no_case
13176
13177         * BufferView_pimpl.C (cursorNext): first -> first_y
13178         (resizeCurrentBuffer): first -> first_y
13179         (updateScrollbar): first -> first_y
13180         (scrollCB): first -> first_y
13181         (workAreaMotionNotify): first -> first_y
13182         (workAreaButtonPress): first -> first_y
13183         (checkInsetHit): first -> first_y
13184         (cursorPrevious): first -> first_y
13185         (cursorNext): first -> first_y
13186         (Dispatch): add buffer_->params to severl inset contructors
13187
13188 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13189
13190         * lyxlayout.C (Read): remove some debug info that I forgot.
13191
13192         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13193         clean up the code slightly.
13194         (makeLinuxDocFile): ditto
13195         (makeDocBookFile): ditto
13196
13197         * text2.C: layout as string
13198
13199         * text.C: layout as string
13200
13201         * paragraph_pimpl.C: layout as string
13202
13203         * paragraph.[Ch]: layout as string
13204
13205         * lyxtextclasslist.[Ch]: layout as string
13206
13207         * lyxtextclass.[Ch]: layout as string
13208
13209         * lyxtext.h: layout as string
13210
13211         * lyxlayout.[Ch]: layout as string
13212
13213         * lyx_cb.C: layout as string
13214
13215         * bufferview_funcs.C: layout as string
13216
13217         * bufferparams.C: layout as string
13218
13219         * buffer.C: layout as string
13220
13221         * LyXView.[Ch]: layout as string
13222
13223         * LaTeXFeatures.[Ch]: layout as string
13224
13225         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13226
13227         * BufferView_pimpl.C: change current_layout to string, remove
13228         lyx::layout_type.
13229         (Dispatch):
13230         (smartQuote):
13231         (insertInset):
13232         (workAreaButtonRelease): layout as string
13233
13234         * BufferView2.C (unlockInset): adjust
13235
13236         * vspace.C (asLatexCommand): use an explict temp variable.
13237
13238 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13239
13240         * Makefile.am: use FRONTEND_*
13241
13242 2002-03-01  Juergen Vigna  <jug@sad.it>
13243
13244         * tabular.C (SetWidthOfMulticolCell): changed to something better
13245         I hope but still work in progress.
13246         (recalculateMulticolumnsOfColumn): renamed function from
13247         recalculateMulticolCells as it is more appropriate now.
13248         (SetWidthOfCell): calculate multicols better.
13249
13250 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13251
13252         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13253
13254         * lyxfunc.C (processKeySym): print sequence also if it is
13255         `deleted' (complete)
13256
13257         * kbsequence.C (print): print sequence even if it is deleted
13258         (complete would be a better word, actually).
13259
13260         * lyxfunc.C (dispatch): print complete options after a prefix key
13261
13262         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13263
13264 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13265
13266         * text2.C (setCharFont): eliminate setCharFont code duplication.
13267
13268 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13269
13270         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13271         LFUN_TABULAR_FEATURE (bug #177)
13272
13273 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13274
13275         * Makefile.am: remove figure.h
13276
13277 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13278
13279         * Bufferview_pimpl.C:
13280         * CutAndPasteC:
13281         * LaTeX.C:
13282         * LyXSendto.C:
13283         * buffer.C:
13284         * bufferlist.C:
13285         * converter.C:
13286         * language.C:
13287         * lyxfunc.C:
13288         * lyxvc.C:
13289         * paragraph.C:
13290         * text.C:
13291         * text2.C: remove #include "lyx_gui_misc.h".
13292
13293         * LaTeX.C: added #include <cstdio>
13294
13295 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13296
13297         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13298         that the paragraph following this one can have.
13299
13300         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13301
13302         * vspace.C (asLatexCommand): fix bogus gcc warning
13303
13304         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13305
13306 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13307
13308         * text2.C (setLayout): get rid of redundant code
13309
13310 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13311
13312         * text2.C (incDepth): make sure depth cannot be increased beyond
13313         reasonable values.
13314
13315 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13316
13317         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13318         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13319
13320         * PainterBase.h (image):
13321         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13322         a LyXImage const *.
13323
13324 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13325
13326         * BufferView.C:
13327         * BufferView.h:
13328         * BufferView_pimpl.C:
13329         * BufferView_pimpl.h:
13330         * LaTeXFeatures.C:
13331         * LyXAction.C:
13332         * LyXView.C:
13333         * Makefile.am:
13334         * UpdateList.h:
13335         * UpdateList.C:
13336         * buffer.C:
13337         * figure.h:
13338         * figureForm.C:
13339         * figureForm.h:
13340         * figure_form.C:
13341         * figure_form.h:
13342         * lyx_cb.C:
13343         * lyx_gui.C:
13344         * lyx_gui_misc.C:
13345         * lyxfunc.C:
13346         * sp_base.h:
13347         * sp_ispell.h:
13348         * sp_pspell.h:
13349         * sp_spell.C: remove fig inset, and the crap house of
13350           cards that follows it
13351
13352 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13353
13354         * Makefile.am:
13355         * lyxserver.C:
13356         * os2_defines.h:
13357         * os2_errortable.h:
13358         * nt_defines.h: move .h into support/
13359
13360         * vms_defines.h: remove
13361
13362         * WorkArea.C: add space in debug output
13363
13364         * text2.C:
13365         * paragraph.C:
13366         * buffer.C: add WITH_WARNINGS
13367
13368         * vc-backend.h:
13369         * vc-backend.C:
13370         * bufferlist.C: s/retrive/retrieve/, add docs
13371
13372         * vspace.h:
13373         * vspace.C:
13374         * kbmap.h:
13375         * lyxlength.h:
13376         * lyxgluelength.h:
13377         * length_common.h:
13378         * chset.h:
13379         * chset.C: add docs
13380
13381         * lyxgui.C: add ID to X error handler
13382
13383         * lyxtestclass.c: fix typo
13384
13385 2002-02-26  Juergen Vigna  <jug@sad.it>
13386
13387         * tabular_funcs.C (write_attribute): changed so that some default
13388         attributes are not written at all.
13389         (getTokenValue): set default values before trying to read the
13390         value so we have the return value always set as default if we don't
13391         find the token we search for.
13392
13393         * tabular.C (Write): write bools as bools not as strings!
13394
13395 2002-02-22  Juergen Vigna  <jug@sad.it>
13396
13397         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13398         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13399
13400         * text.C (leftMargin): don't add an indent for paragraphs inside
13401         tabular cells (fix #208).
13402
13403 2002-02-21  José Matos  <jamatos@fep.up.pt>
13404
13405         * tabular.C (docBook): fixed support for long tables.
13406
13407 2002-02-20  Juergen Vigna  <jug@sad.it>
13408
13409         * text2.C (getFont): get the drawing font of the Inset if this
13410         paragraph is inside an inset (only important for InsetERT for now).
13411
13412         * buffer.C (insertErtContents): use new lanugage params in ERT
13413         constructor.
13414
13415         * CutAndPaste.C: commenting out seemingly uneeded code.
13416
13417 2002-02-19  Allan Rae  <rae@lyx.org>
13418
13419         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13420         Iterators might be simple to use but they also get invalidated.
13421         (removeAutoInsets): renamed saved cursor tracking variables and added
13422         some comments to clarify what everything does.
13423
13424 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13425
13426         * Chktex.C:
13427         * LaTeX.C:
13428         * LyXSendto.C:
13429         * converter.C:
13430         * lyx_cb.C:
13431         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13432         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13433
13434         * lyxfunc.C:
13435         * vc-backend.h: remove #include "support/syscall.h"
13436
13437         * LaTeX.C:
13438         * LyXSendto.C:
13439         * converter.C: rearrange #includes in Lars' approved fashion.
13440
13441         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13442         forward declare class Timeout in the header file.
13443
13444         * XFormsView.C: changes due to the above.
13445
13446         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13447         similar to LyXView.
13448
13449         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13450         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13451
13452 2002-02-18  José Matos  <jamatos@fep.up.pt>
13453
13454         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13455         insets contents.
13456
13457 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13458
13459         * a lot of small ws changes
13460         * add a lot of using std::XXX
13461         * use std construcs some places where approp.
13462         * use some exisint stuff from lyxfunctional where approp.
13463         * Make file changes to use partial linking (lets test this now...)
13464
13465 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13466
13467         * Chktex.C:
13468         * buffer.C:
13469         remove #include "support/syscontr.h" as it's redundant. Always has been.
13470
13471         * Chktex.C:
13472         * LaTeX.C:
13473         * LyXSendto.C:
13474         * converter.C:
13475         * lyx_cb.C:
13476         * vc-backend.C:
13477         change Systemcalls::System to Systemcalls::Wait and
13478         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13479         No change of functionality, just reflects the stripped down Systemcalls
13480         class.
13481
13482 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13483
13484         * debug.[Ch]: add a GRAPHICS type to the enum.
13485
13486 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13487
13488         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13489
13490         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13491         there is an inset.
13492
13493 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13494
13495         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13496         match the changes below.
13497
13498         * text2.C (toggleInset): if there is not editable inset at cursor
13499         position, try to see if cursor is _inside_ a collapsable inset
13500         and close it.
13501
13502 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13503
13504         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13505         document menu has a nice checkbox
13506
13507 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13508
13509         * lyxlength.C (asLatexString): change PW to output as percent of
13510         \textwidth.
13511
13512         * lengthcommon.C: change '%' to 't%'
13513
13514         * lyxfunc.C (dispatch): a few comments from Martin
13515
13516 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13517
13518         * WorkArea.h:
13519         * WorkArea.C:
13520         * BufferView_pimpl.h:
13521         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13522           the X selection.
13523
13524 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13525
13526         * vspace.C (inPixels): fix compiler warning
13527
13528 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13529
13530         * lyxfunc.C (getStatus): fix status message for disabled commands.
13531
13532 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13533
13534         * BufferView_pimpl.C: fix crash on close buffer
13535         during selection (#227)
13536
13537 2002-01-27  Herbert Voss  <voss@lyx.org>
13538
13539         * buffer.C: link old Figure to new graphic inset
13540
13541 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13542
13543         * FontLoader.C (getFontinfo): Change the latex font names in order
13544         to match the names of type1inst.
13545
13546 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13547
13548         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13549
13550         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13551         (extchanged): ditto
13552         (ext_exist): ditto
13553         (remove_files_with_extension): ditto
13554         (remove_file): ditto
13555         (write): ditto
13556
13557         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13558         document is smaller than the work area height. Do not initialize
13559         static variables to 0.
13560
13561 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13562
13563         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13564
13565         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13566         LFUN_LAYOUT_PARAGRAPHS.
13567
13568         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13569         tabular. It is possible to provide a possible cell, which will
13570         typically be the actcell from the corresponding insettabular
13571
13572         * lyxfunc.C (getStatus): small cleanup; disable
13573         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13574         true
13575
13576 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13577
13578         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13579
13580         * paragraph.C (startTeXParParams):
13581         (endTeXParParams): new methods. The LaTeX code to
13582         start/end paragraph formatting
13583         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13584         empty (fixes bug #200)
13585
13586         * vspace.C (inPixels): adapt to the change below
13587         (inPixels): [later] more cleanups (remove unused variables)
13588
13589         * lyxlength.C (inPixels): change to use a width and a height as
13590         parameter.
13591
13592 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13593
13594         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13595         Replaced with \paperwidth
13596
13597         * DepTable.C (insert): add std:: qualifier
13598
13599 2002-01-18  Allan Rae  <rae@lyx.org>
13600
13601         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13602         updated also?
13603
13604         * text.C (drawInset): Turned out I didn't know enough about how
13605         rebreaking worked.  This fixes most of the redraw problems.  I see
13606         an occasional cursor trail when a line is broken now and the cursor
13607         placement can seem out by a few pixels also after a rebreak.
13608
13609 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13610
13611         * buffer.C (parseSingleLyXformat2Token): update because minipage
13612         width is now a LyXLength
13613
13614         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13615
13616         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13617         math insets
13618
13619 2002-01-17  Juergen Vigna  <jug@sad.it>
13620
13621         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13622
13623         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13624         is set correctly and the inset is updated correctly.
13625
13626 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13627
13628         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13629         the beginning of the loop.
13630
13631 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13632
13633         * lyxrc.C: improve help for use_scalable_fonts
13634
13635 2002-01-17  Allan Rae  <rae@lyx.org>
13636
13637         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13638
13639 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13640
13641         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13642         make sure to set their inset_owner to the right value (bug #171)
13643
13644 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13645
13646         * DepTable.h
13647         * DepTable.C: Implement mtime checking to reduce time spent doing
13648         CRCs.
13649
13650 2002-01-16  Juergen Vigna  <jug@sad.it>
13651
13652         * tabular.C (GetAdditionalHeight): one of error fixed.
13653
13654         * lyxrc.C (output): small fix in writing use_pspell.
13655
13656 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13657
13658         * sp_base.h: #include LString.h
13659
13660 2002-01-16  Allan Rae  <rae@lyx.org>
13661
13662         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13663         Can someone check this please?
13664
13665         * text.C (drawInset): It was possible that p.row would be removed by
13666         breakAgainOneRow upsetting a few other settings.  There may be another
13667         small tweak possible by setting need_break_row = 0 when p.row has been
13668         removed but I don't know enough about the logic here.
13669
13670 2002-01-15  Allan Rae  <rae@lyx.org>
13671
13672         * text.C (insertChar): removed conditional truism.
13673
13674         * BufferView2.C (removeAutoInsets): More tweaks.
13675         cur_par_prev could be a stray pointer.  Check for trailing empty line
13676         in case last line was cur_par and only had an error inset on it.
13677
13678 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13679
13680         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13681         absolute
13682
13683         * vc-backend.C (most methods):
13684         * exporter.C (Export):
13685         * converter.C (convert):
13686         (runLaTeX):
13687         * LyXSendto.C (SendtoApplyCB):
13688         * lyxfunc.C (dispatch):
13689         (menuNew):
13690         (open):
13691         (doImport):
13692         * lyx_cb.C (AutoSave):
13693         (InsertAsciiFile):
13694         * BufferView_pimpl.C (MenuInsertLyXFile):
13695         * buffer.C (runChktex): use Buffer::filePath().
13696
13697         * buffer.h: rename filename to filename_; rename filepath to
13698         filepath_ and make it private
13699         (filePath): new method
13700
13701         * buffer.C (writeFile): use fileName()
13702         (getLatexName):
13703
13704         * lyx_main.C (init): fix starting  of LyX when the binary is a
13705         link from so,ewhere else.
13706
13707         * minibuffer.C: include <cctype> for isprint
13708
13709 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13710
13711         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13712         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13713         name clash with InsetCollapsable's width function.
13714
13715 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13716
13717         * lastfiles.C: include <iterator>
13718
13719 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13720
13721         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13722         std::count.
13723
13724         * buffer.C (makeLaTeXFile): ditto.
13725         Also make loop operation more transparent.
13726
13727 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13728
13729         * ToolbarDefaults.C: remove trailing comma closing namespace.
13730
13731         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13732
13733         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13734         as in WorkArea.
13735
13736         * trans.C (Load): comment out unused variable, allowed.
13737
13738 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13739
13740         * minibuffer.[Ch] (append_char): new method to recieve input from the
13741         drop-down completion browser. If a key was pressed, then recieve this
13742         char and append it to the existing string.
13743         (peek_event): modify the positioning data passed to the completion
13744         browser so that it can be placed above the minibuffer rather than below.
13745 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13746
13747         * LyXAction.C (init): alloe error-next for readonly documents.
13748
13749         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13750         count.
13751
13752 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13753
13754         * bufferlist.C (readFile): create the buffer _after_ checking that
13755         the file exists.
13756
13757         * lyxfunc.C (verboseDispatch): fix handling of arguments
13758
13759         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13760
13761         * lyxrc.C: use string::erase() instead of initializing to "".
13762
13763
13764 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13765
13766         * BufferView_pimpl.h:
13767         * BufferView_pimpl.C:
13768         * WorkArea.h:
13769         * WorkArea.C:
13770         * text2.C: tell X when we have made a selection for copying
13771
13772 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13773
13774         * BufferView_pimpl.C (MenuInsertLyXFile):
13775         * lyxfunc.C (menuNew):
13776         (open):
13777         (doImport): add shortcuts to directory buttons
13778
13779         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13780         open a float)
13781
13782         * lyxfunc.C (setStatusMessage):
13783         (getStatusMessage): new methods
13784         (getStatus):use setStatusMessage instead of setErrorMessage
13785         (dispatch): when function is disabled, set error message here
13786         [instead of in getStatus previously]
13787
13788         * BufferView_pimpl.C (workAreaButtonRelease): update
13789         toolbar/menubar here too.
13790
13791 2002-01-13  Allan Rae  <rae@lyx.org>
13792
13793         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13794         Now seems indestructible.  Remaining task is to audit all other
13795         code affected by deleteEmptyParagraphMechanism.  One small quirk
13796         left is that an empty document with an error in the preamble can
13797         be made to report an error but no error box appears.  I don't know
13798         where it goes.
13799         (removeAutoInsets): Improved comments.
13800
13801 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13802
13803         * Thesaurus.h:
13804         * Thesaurus.C: update for Aiksaurus 0.14
13805
13806 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13807
13808         * text2.C (firstParagraph): removed member function, all uses
13809         replaces with ownerParagraph
13810         (redoParagraphs): here
13811         (updateInset): here
13812         (toggleAppendix): here
13813         * BufferView2.C (insertErrors): here
13814         (setCursorFromRow): here
13815
13816 2002-01-13  Allan Rae  <rae@lyx.org>
13817
13818         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13819         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13820         There is still a way to segfault this although you may have to do this
13821         multiple times: Have an InsetERT with an unknown command in it.
13822         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13823         <down-arrow>, <Enter> again, View->DVI, BANG!
13824
13825         * text2.C (setCursor):
13826         (deleteEmptyParagraphMechanism):
13827         * lyxtext.h (setCursor):
13828         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13829         Making use of the return value may help fix other bugs.
13830
13831 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13832
13833         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13834
13835         * LyXView.C (updateMenubar): call MenuBar::update here
13836         (updateToolbar): but not here
13837         (showState): do not update toolbar/menubar
13838
13839         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13840         should need to care about that.
13841
13842         * lyxfunc.C (verboseDispatch): simplify a bit
13843         (getStatus): have a version which takes a pseudoaction, and
13844         another which requires a (kb_action,string).
13845
13846         * LyXAction.C (retrieveActionArg): make it work also when action
13847         is not a pseudo-action.
13848         (getActionName): simplify a bit
13849         (helpText):
13850
13851 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13852
13853         * lyxfunc.C (verboseDispatch): new families of methods with
13854         several ways to specify a command and a bool to indicate whether
13855         the command name and shortcut should be displayed in minibuffer
13856         (eventually, we could extend that to a finer bitmask like
13857         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13858         (dispatch): the pristine dispatch command which just, well,
13859         dispatchs! Note it still sets its result to minibuffer; I'm not
13860         sure we want that.
13861
13862         * lyxfunc.h: remove setHintMessage
13863
13864         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13865
13866 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13867
13868         * BufferView_pimpl.C (specialChar): delete new inset if we have
13869         not been able to insert it.
13870
13871         * kbmap.C: revert to using int instead of kb_action, since all we
13872         are dealing with is pseudo-actions.
13873
13874         * LyXAction.C (searchActionArg): change to return int instead of
13875         kb_action, since the result is a pseudoaction.
13876
13877 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13878
13879         * buffer.C (insertErtContents): Fix (partially) the font bug.
13880
13881 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13882
13883         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13884         as the other one is broken on my machine!
13885
13886 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13887
13888         * commandtags.h:
13889         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13890
13891 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13892
13893         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13894         reflect their actual use. Provide compatibility code for older lyxrc
13895         files.
13896
13897         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13898         FL_NORMAL_STYLE.
13899         change names of popup font variables in line with the changes to lyxrc.C
13900
13901 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13902
13903         * buffer.C (asciiParagraph): avoid outputing a word twice after
13904         an inset.
13905
13906         * lyxrc.C (getDescription): document that document_path and
13907         template_path can be empty.
13908
13909 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13910
13911         * LaTeXFeatures.C (getMacros):
13912         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13913
13914         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13915
13916         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13917         getPackages.
13918         (getPackages): rename feature "floats" to "float". Use an array to
13919         iterate over 'simple' features (i.e. just a \usepackage). Add
13920         handling of "amsmath" (renamed from "amsstyle").
13921
13922 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13923
13924         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13925         features list.
13926
13927 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13928
13929         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13930         FuncStaus::FuncStatus & FuncStaus::some_method().
13931
13932 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13933
13934         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13935         of the func_satus stuff. Edited and massaged in various ways by
13936         JMarc.
13937
13938         * lyxfunc.C (getStatus): use FuncStatus
13939
13940 2002-01-08  Juergen Vigna  <jug@sad.it>
13941
13942         * text.C (nextBreakPoint): use function Inset::isChar().
13943
13944         * paragraph.C (TeXOnePar): use function
13945         Inset::forceDefaultParagraphs.
13946
13947         * buffer.C (latexParagraphs): use function
13948         Inset::forceDefaultParagraphs.
13949
13950 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13951
13952         * lyx_gui.C (init): set the style of the menu popups to
13953         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13954
13955 2002-01-07  Juergen Vigna  <jug@sad.it>
13956
13957         * text.C (setHeightOfRow): small fix
13958         (prepareToPrint): don't look at alignment if we don't have the place
13959         for doing it.
13960
13961 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13962
13963         * box.C: New file. Move the Box methods and functions out of box.h,
13964         following Lars' suggestion.
13965
13966 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13967
13968         * box.h: #include "support/LOstream.h", needed for inlined function.
13969
13970         * lyxtextclass.C:
13971         * lyxtextclasslist.C: added some using std declarations.
13972
13973 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13974
13975         * box.h: make signed dimensions to allow insets wider than
13976           the screen (bug #162)
13977
13978         * BufferView_pimpl.C: add some insetHit debug
13979
13980 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13981
13982         * vc-backend.C: add FIXME
13983
13984 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13985
13986         * lyxfunc.C (getStatus): enable code for showing math font status
13987         in toolbar/menu.
13988
13989 2002-01-07  Juergen Vigna  <jug@sad.it>
13990
13991         * text.C (nextBreakPoint): removed debug output not needed anymore.
13992
13993 2002-01-06  Juergen Vigna  <jug@sad.it>
13994
13995         * text.C (nextBreakPoint): fixed up this function we had this bug
13996         since ever but now hopefully we break row better.
13997         (insertChar): we have to check if an inset is the next char as it
13998         could now happen that a large inset is causing a break.
13999
14000 2002-01-05  Juergen Vigna  <jug@sad.it>
14001
14002         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14003         if it doesn't like to be drawed.
14004
14005 2002-01-04  Juergen Vigna  <jug@sad.it>
14006
14007         * BufferView2.C (lockInset): forgot to set a cursor.
14008
14009         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14010
14011 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14012
14013         * FormMathsPanel.C:
14014         * FormMathsPanel.h
14015         * MathsSymbols.C:
14016         * form_maths_panel.C:
14017         * form_maths_panel.h:
14018         * form_maths_panel.fd: implemented sub- and super- buttons in math
14019         panel.
14020
14021         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14022         (or ^ space) to be used as in TeX (req'd by Andr�.
14023
14024         * lyxfunc.C: Allow ^ and _ again to be used both as
14025         super/subscript (mathed) and as themselves (in text).
14026
14027 2002-01-03  Allan Rae  <rae@lyx.org>
14028
14029         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14030         "LyX" or the filename of the current buffer if it has one.  This is a
14031         modified form of John Levon's patch.
14032
14033         * XFormsView.C (setWindowTitle): also set icon title.
14034
14035         * LyXView.h (setWindowTitle): signature changed.
14036         * XFormsView.h (setWindowTitle): ditto.
14037
14038 2002-01-02  Juergen Vigna  <jug@sad.it>
14039
14040         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14041
14042 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14043
14044         * screen.C (topCursorVisible): introduce a temp var for
14045         text->cursor.row(), handle the case where this row is null. (kindo
14046         hachish)
14047
14048         * text2.C (setCursor): add a couple of asserts.
14049
14050         * paragraph.h (inset_iterator): add -> operator
14051
14052         * paragraph.[Ch] (autoDeleteInsets): remove member function
14053
14054         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14055         cursor pos correctly and handle inset deletion by itself.
14056         (insertErrors): move iterator declaration out of for expression
14057
14058         * lyxtextclass.C: add <algorithm>
14059
14060         * Makefile.am: added the new files to sources, removed layout.C
14061
14062         * layout.C: removed file
14063
14064         * layout.h: remove LYX_DUMMY_LAYOUT
14065
14066         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14067         layout.
14068
14069         * lyxlayout.[Ch]:
14070         * lyxtextclass.[Ch]:
14071         * lyxtextclasslist.[Ch]: new files
14072
14073         * include order changes to a lot of files, also changes because of
14074         the six new files.
14075
14076 2001-12-27  Juergen Vigna  <jug@sad.it>
14077
14078         * buffer.C (asciiParagraph): more fixes.
14079
14080         * tabular.C (ascii): make ascii export support export of only the
14081         data separated by a column-delimiter.
14082         (ascii): better support for ascii export.
14083
14084         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14085
14086 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14087
14088         * tabular_funcs.C: use a "using std::getline" instead of the
14089         previous fix from Angus (necessary for cxx + lyxstring)
14090
14091 2001-12-24  Juergen Vigna  <jug@sad.it>
14092
14093         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14094
14095         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14096         problems. First check a minipage also if we have some ert-contents
14097         (not only on par->size(), second set the right depth of the paragraph
14098         on the relink to the root-paragraph-list!
14099
14100         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14101         which then did not anymore update the main paragraphs on undo/redo!
14102
14103 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14104
14105         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14106         code. Support all font-changing funcs (even those which are not in
14107         menu currently). Support for reporting font settings in
14108         mathed (disabled until Andre provides a function on mathed's side).
14109
14110         * func_status.h (toggle): small helper function to set toggle
14111         state on a flag.
14112
14113 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14114
14115         * tabular_funcs.C: getline -> std::getline
14116
14117 2001-12-21  Juergen Vigna  <jug@sad.it>
14118
14119         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14120         accessed and could be 0 (I couldn't generate this but it seems
14121         Michael could!).
14122
14123 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14124
14125         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14126         * tabular_funcs.h: here and include iosfwd
14127
14128 2001-12-20  Juergen Vigna  <jug@sad.it>
14129
14130         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14131         inside inset but undo_par was.
14132
14133 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14134
14135         * Thesaurus.C: always include <config.h> in sources.
14136
14137         * Painter.h:
14138         * lyxlookup.h:
14139         * box.h: do not include <config.h> in header files
14140
14141         * text.C (paintLastRow): remove unused variable
14142
14143         * text.C (transformChar):
14144         (insertChar):
14145         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14146
14147         * Painter.C (text):
14148         * font.C (width): rewrite to use uppercase() instead of
14149         islower/toupper.
14150
14151         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14152
14153 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14154
14155         * lyxfind.C: clean up of find failure position change
14156
14157 2001-12-20  Juergen Vigna  <jug@sad.it>
14158
14159         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14160
14161         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14162         (TeXRow): added to LaTeX a single tabular row.
14163         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14164         (Latex): simplified and finally good LT-h/f support.
14165         (various_functions): just small adaptions for LT-h/f support.
14166
14167         * tabular_funcs.[hC]: added and moved here all not classfunctions
14168         of LyXTabular.
14169
14170 2001-12-19  Juergen Vigna  <jug@sad.it>
14171
14172         * tabular.[Ch]: better support for longtabular options (not finished
14173         yet!)
14174
14175 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14176
14177         * text.C (paintLastRow): use the label font instead of the font of
14178         the last character to compute the size of *_BOX. This makes more
14179         sense and avoids a crash with empty paragraphs.
14180         Use Painter::rectangle to draw EMPTY_BOX.
14181
14182 2001-12-19  Juergen Vigna  <jug@sad.it>
14183
14184         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14185         the paragraphs if the replaced paragraph is not the first one!
14186         Tried to delete not used paragraphs but does not work yet so for
14187         now it's inside #ifdef's and by default off!
14188
14189 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14190
14191         * MenuBackend.C: include "lyx_main.h" instead of declaring
14192         lastfiles (actually was declared as LastFiles* instead of a
14193         scoped_ptr).
14194
14195 2001-12-17  Juergen Vigna  <jug@sad.it>
14196
14197         * tabular.C (AppendColumn): applied John's fix
14198
14199 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14200
14201         * BufferView.h:
14202         * BufferView.C:
14203         * BufferView_pimpl.h:
14204         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14205
14206         * Makefile.am:
14207         * box.h: new start of class for above
14208
14209         * lyxfunc.C: ignore space-only minibuffer dispatches.
14210           Show the command name when it doesn't exist
14211
14212         * minibuffer.C: don't add empty lines to the history
14213
14214         * minibuffer.C: add a space on dropdown completion
14215
14216 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14217
14218         * text.C: fix line above/below drawing in insets
14219
14220 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14221
14222         * lyxlength.C (LyXLength): Initialize private variables.
14223
14224 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14225
14226         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14227         when inserting error insets.
14228
14229 2001-12-13  Juergen Vigna  <jug@sad.it>
14230
14231         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14232         actually sometimes the before-paragraph.
14233         (setUndo): don't clear the redostack if we're not actually undoing!
14234
14235 2001-12-06  Juergen Vigna  <jug@sad.it>
14236
14237         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14238         and fixed redoing of main paragraph, so we can use it now ;)
14239
14240         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14241
14242 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14243
14244         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14245         Juergen's request
14246
14247 2001-12-13  André Pönitz <poenitz@gmx.net>
14248
14249         * undostack.[Ch]:
14250         * undo_func.C: minor cleanup
14251
14252 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14253
14254         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14255         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14256         font in urw-fonts package which is marked as -urw-fontspecific and
14257         does not work (incidentally, changing the encoding in the
14258         fonts.dir of this package to -adobe-fontspecific fixes the
14259         problem).
14260
14261         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14262         is a crash when undoing first paragraph (Juergen, please take a
14263         look). THis does not mean the undo fix is wrong, just that it
14264         uncovers problems.
14265
14266         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14267         the (Paragraph*) version when needed instead of duplicating the
14268         code.
14269
14270         * text.C (workWidth): use Inset::parOwner to find out where the
14271         inset has been inserted. This is a huge performance gain for large
14272         documents with lots of insets. If Inset::parOwner is not set, fall
14273         back on the brute force method
14274
14275         * paragraph_pimpl.C (insertInset):
14276         * paragraph.C (Paragraph):
14277         (cutIntoMinibuffer): set parOwner of insets when
14278         inserting/removing them
14279
14280         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14281
14282 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14283
14284         * commandtags.h:
14285         * LyXAction.C:
14286         * lyx_main.C:
14287         * lyxfunc.C:
14288         * mathed/formulabase.C:
14289         * mathed/math_cursor.[Ch]:
14290         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14291
14292
14293 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14294
14295         * lyxlength.[Ch] (operator!=): new function
14296
14297 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14298
14299         * text.C (workWidth): use Inset::parOwner to find out where the
14300         inset has been inserted. This is a huge performance gain for large
14301         documents with lots of insets. If Inset::parOwner is not set, fall
14302         back on the brute force method
14303
14304         * paragraph_pimpl.C (insertInset):
14305         * paragraph.C (Paragraph):
14306         (cutIntoMinibuffer): set parOwner of insets when
14307         inserting/removing them
14308
14309         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14310
14311 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14312
14313         * tabular-old.C (getTokenValue):
14314         * tabular.C (getTokenValue):
14315         (write_attribute): new versions for LyXLength
14316         (everywhere): adjust the use of widths
14317
14318         * tabular.h: change the type of widths from string to LyXLength
14319
14320 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14321
14322         * paragraph.C: fixed missing line number count when exporting
14323         Environments to LaTeX file
14324
14325         * buffer.C: added informational message for checking line numbers.
14326
14327 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14328
14329         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14330         paragraph, do the 'double space' part, but not the 'empty
14331         paragraph' one.
14332
14333         * text.C (workWidth): small optimization
14334         (getLengthMarkerHeight): use minimal size for negative lengths.
14335
14336 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14337
14338         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14339
14340         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14341
14342 2001-12-11  André Pönitz <poenitz@gmx.net>
14343
14344         * FontLoader.C:
14345         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14346
14347 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14348
14349         * text2.C: keep selection on a setFont()
14350
14351 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14352
14353         * lyx_cb.C: another bv->text misuse, from insert label
14354
14355 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14356
14357         * kbsequence.h:
14358         * kbsequence.C: re-instate nmodifier mask
14359
14360 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14361
14362         * lyx_main.h: make lyxGUI private.
14363
14364 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14365
14366         * lyxfind.C: place the cursor correctly on failed search
14367
14368 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14369
14370         * text.C (getLengthMarkerHeight): for small heights, the arrows
14371         are not always on top/bottom of the text
14372         (drawLengthMarker): smaller arrows; take the left margin in
14373         account; draw also vfills.
14374         (paintFirstRow):
14375         (paintLastRow): remove special code for vfill and standard spaces,
14376         since everything is handled in drawLengthMarker now.
14377
14378 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14379
14380         * buffer.C (insertErtContents): try to handle font and language
14381         interaction a bit better.g
14382
14383         * ColorHandler.C (updateColor): change the hash to cover the whole
14384         LColor enum, ws cleanup
14385         (getGCLinepars): ditto
14386         (getGCLinepars): only lookup in the linecache once.
14387
14388 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14389
14390         * iterators.C (operator++): Make the iterator more robust
14391
14392         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14393         (John's patch)
14394         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14395
14396 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14397
14398         * lyxtext.h:
14399         * text.C: better added space drawing
14400
14401 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14402
14403         * LyXView.C:
14404         * BufferView2.C: fix layout combo update on inset unlock
14405
14406 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14407
14408         * Makefile.am: don't compile unused files
14409
14410 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14411
14412         * lyxfunc.C:
14413         * commandtags.h:
14414         * LyXAction.C: remove old LFUN_LAYOUTNO
14415
14416 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14417
14418         * paragraph_pimpl.h:
14419         * paragraph_pimpl.C: isTextAt() doesn't need font param
14420
14421 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14422
14423         * lyxlex.h:
14424         * lyxlex.C: little cleanup
14425
14426 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14427
14428         * BufferView_pimpl.C: fix insertAscii for insets
14429
14430 2001-12-05  Juergen Vigna  <jug@sad.it>
14431
14432         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14433         set the right font on the "multi" paragraph paste!
14434
14435 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14436
14437         * trans_decl.h:
14438         * trans_mgr.[Ch]:
14439         * trans.[Ch]:
14440         * lyxgluelength.C:
14441         * lyxlength.C: remove out-commented code.
14442
14443         * BufferView_pimpl:
14444         * CutAndPaste.C:
14445         * DepTable.C:
14446         * buffer.C:
14447         * chset.C:
14448         * lastfiles.C:
14449         * lyxlex.C:
14450         * lyxlex_pimpl.C:
14451         * lyxserver.C:
14452         * screen.C:
14453         * tabular-old.C:
14454         * tabular.C:
14455         * text.C:
14456         * trans_mgr.C:
14457         * vc-backend.C: change "while(" to "while ("
14458
14459         * lyxlength.[Ch]: add zero function to check if length is zero or
14460         not
14461         * lyxgluelength.C: use it
14462
14463 2001-12-05  Allan Rae  <rae@lyx.org>
14464
14465         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14466         Works for 2.95.3, from what I understand of Garst's reports this should
14467         work for other g++ versions.  We're screwed if the abs(int) definition
14468         changed between bugfix releases of gcc.
14469
14470 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14471
14472         * text.C: fix chapter label offset !
14473
14474 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14475
14476         * lyxtext.h:
14477         * text.C: fix hfill at end of line, clean up
14478
14479 2001-12-04  Juergen Vigna  <jug@sad.it>
14480
14481         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14482         that we force an update of the inset and it's owners if neccessary.
14483
14484 2001-12-03  Juergen Vigna  <jug@sad.it>
14485
14486         * text.C (rowLast): simplified code
14487
14488 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14489
14490         * lyxfunc.C: fix show options on timeout
14491
14492 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14493
14494         * screen.C (topCursorVisible): scroll half a page when the cursor
14495         reached top of bottom of screen
14496
14497 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14498
14499         * minibuffer.C: deactivate on loss of focus
14500
14501 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14502
14503         * vspace.[Ch] (operator!=): add operator.
14504
14505 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14506
14507         * BufferView_pimpl.C: refuse to open an inset when
14508         there's a selection.
14509
14510 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14511
14512         * BufferView_pimpl.C: allow to click on RHS of full row insets
14513
14514 2001-11-30  Juergen Vigna  <jug@sad.it>
14515
14516         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14517         insets for undo reasons.
14518
14519 2001-11-28  André Pönitz <poenitz@gmx.net>
14520
14521         * vspace.[Ch]: cosmetical changes
14522
14523 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14524
14525         * LyXAction.h:
14526         * LyXAction.C:
14527         * lyxfunc.h:
14528         * lyxfunc.C:
14529         * kbmap.h:
14530         * kbmap.C:
14531         * lyxrc.C:
14532         * kbsequence.h:
14533         * kbsequence.C: part re-write of old kb code
14534
14535         * Painter.C:
14536         * WorkArea.C: remove Lgb_bug_find_hack
14537
14538 2001-11-30  José Matos <jamatos@fep.up.pt>
14539
14540         * buffer.C (makeDocBookFile): add a comment to point a hack.
14541         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14542         Fixed a double write of labels.
14543
14544 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14545
14546         * LaTeX.C:
14547         * LaTeX.h Fixed bug in LaTeX class where it would not
14548         re-run latex if no depfiles were changed, but the .dvi was removed.
14549
14550 2001-11-28  André Pönitz <poenitz@gmx.net>
14551
14552         * all the files from the change on 2001/11/26:
14553         use lyx::layout_type instead of LyXTextClass::size_type
14554         use lyx::textclass_type instead of LyXTextClassList::size_type
14555
14556 2001-11-29  Juergen Vigna  <jug@sad.it>
14557
14558         * text.C: added support for paragraph::isFreeSpacing()
14559
14560         * buffer.C: same as above
14561
14562         * paragraph.h: inserted isFreeSpacing() function to enable
14563         FreeSpacing inside InsetERT.
14564
14565         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14566         of the paragraph's in the cut/copy buffer to 0!
14567
14568         * text2.C (removeRow): remove the assert as it can!
14569
14570         * lyxtext.h: added helper function firstRow returning firstrow and
14571         made firstrow private again.
14572
14573         * BufferView2.C (lockInset): don't relock if we're already locked!
14574
14575         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14576         the only paragraph.
14577         (removeRow): added Assert::(firstrow)
14578
14579         * debug.C: forgot to add INSETTEXT here.
14580
14581 2001-11-28  Juergen Vigna  <jug@sad.it>
14582
14583         * sp_spell.C (initialize): changed error text to more general
14584         spellchecker command use (not only ispell!)
14585
14586         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14587
14588         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14589
14590 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14591
14592         * vspace.C: initialise lyxgluelength on failure
14593
14594 2001-11-28  Allan Rae  <rae@lyx.org>
14595
14596         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14597         declaration & definition that looks like a function declaration.
14598
14599 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14600
14601         * BufferView2.C (copy):
14602         (copyEnvironment): do not clear the selection when doing a copy.
14603
14604         * text.C (paintFirstRow): compilation fix
14605
14606 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14607
14608         * tabular.C (Latex): correct line count when writing latex.
14609
14610 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14611
14612         * paragraph_pimpl.h:
14613         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14614           bug a bit
14615
14616 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14617
14618         * text.C:
14619         * LColor.h:
14620         * LColor.C: change vfillline->added_space
14621
14622         * text.C: add markers and text for added space
14623
14624         * vspace.C: fix comment
14625
14626 2001-11-28  André Pönitz <poenitz@gmx.net>
14627
14628         * paragraph.C: whitespace changes
14629         * all the other files from the change on 2001/11/26:
14630         change *::pos_type into lyx::pos_type
14631
14632 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14633
14634         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14635         language of the document when inserting error insets.
14636
14637 2001-11-26  André Pönitz <poenitz@gmx.net>
14638
14639         * BufferView_pimpl.[Ch]:
14640         *       CutAndPaste.C:
14641         * buffer.[Ch]:
14642         * lyxcursor.[Ch]:
14643         * lyxfind.C:
14644         * lyxfunc.C:
14645         * lyxrow.[Ch]:
14646         * paragraph.[Ch]:
14647         * paragraph_pimpl.[Ch]:
14648         * sp_spell.C:
14649         * text.C:
14650         * text2.C: reduce header dependencies, introduce type for positions
14651
14652 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14653
14654         * <various>: change to use Alert.h
14655
14656 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14657
14658         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14659         when encountering an unknown token.
14660         (readLyXformat2): Show an error message if there were unknown tokens.
14661
14662 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14663
14664         * BufferView2.C:
14665         * BufferView_pimpl.C:
14666         * buffer.C:
14667         * paragraph.h:
14668         * text.C:
14669         * text2.C: use par->isInset()
14670
14671 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14672
14673         * paragraph_pimpl.h:
14674         * paragraph_pimpl.C: cleanup
14675
14676 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14677
14678         * text2.C (removeRow):
14679         * text.C (setHeightOfRow): remove useless (and costly) call to
14680         getRow.
14681
14682 2001-11-20  Allan Rae  <rae@lyx.org>
14683
14684         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14685         Now need Inset*::checkInsertChar() to return true for appropriate
14686         cases so that the characters in the minibuffer will actually be
14687         inserted.
14688
14689 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14690
14691         * text.C: change the order of the includes.
14692         (workWidth): initialize it at once.
14693         (workWidth): make maxw unsigned
14694         (setHeightOfRow): remove unused variable (inset)
14695         (selectSelectedWord): remove unused variable (inset)
14696         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14697
14698 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14699
14700         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14701         server is not running.
14702         (openConnection):
14703         (closeConnection): add debug info when server is disabled.
14704
14705         * ColorHandler.C (getGCForeground): send debug message to GUI
14706         channel.
14707
14708         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14709
14710         * kbmap.C (bind): modify because return conventions of
14711         kb_sequence::parse have changed.
14712
14713         * kbsequence.C (parse): only ignore spaces and not any stupid
14714         control character. This avoids tests like s[i] <= ' ', which are
14715         guaranteed to fail with 8bit characters and signed chars.
14716         Change return code to string::npos when there have been no error
14717         (0 was a bad idea when error is at first character)
14718
14719 2001-11-14  José Matos  <jamatos@fep.up.pt>
14720
14721         * buffer.h:
14722         * buffer.C (simpleDocBookOnePar): removed unused argument.
14723
14724 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14725
14726         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14727         insets which are part of a word. Paragraph::isLetter takes care of
14728         that now. Use Paragraph::isInset to identify insets.
14729         (selectSelectedWord): do not test for hyphenation break.
14730
14731         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14732         that protected spaces are considered as spaces.
14733
14734         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14735         Inset::isLetter.
14736
14737 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14738
14739         * lyxserver.h:
14740         * lyxserver.C: fix it. and small cleanup.
14741
14742 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14743
14744         * BufferView_pimpl.C: use inline helpers
14745
14746         * LaTeXFeatures.h:
14747         * LaTeXFeatures.C: fix typos
14748
14749         * Spacing.h:
14750         * Spacing.C: move spacing_string into class
14751
14752         * ToolbarDefaults.C: move stuff into namespace anon
14753
14754         * layout.h: update enum
14755
14756         * lyxfunc.C: use better debug
14757
14758         * minibuffer.h: fix typo
14759
14760         * debug.h:
14761         * debug.C:
14762         * WorkArea.C: add and use Debug::WORKAREA
14763
14764         * lyxtext.h:
14765         * text.C:
14766         * text2.C: code re-organisation, inline helpers
14767
14768 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14769
14770         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14771         std::vector.empty().
14772
14773 2001-11-09  Allan Rae  <rae@lyx.org>
14774
14775         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14776         '\n's after tables.  Tabular and ERT inset work now makes this no
14777         longer necessary.
14778
14779 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14780
14781         * minibuffer.h:
14782         * minibuffer.C: fix crash, improve drop-down completion
14783
14784 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14785
14786         * lyxserver.h:
14787         * lyxserver.C: invalidate fd's when doing endPipe()
14788
14789 2001-11-08  José Matos  <jamatos@fep.up.pt>
14790
14791         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14792         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14793
14794         * paragraph.h:
14795         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14796
14797 2001-11-07  José Matos  <jamatos@fep.up.pt>
14798
14799         * buffer.h:
14800         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14801         const qualifier.
14802
14803         * buffer.C (sgmlOpenTag):
14804         * buffer.C (sgmlCloseTag): removed debug info.
14805
14806         * buffer.h (sgmlOpenTag):
14807         * buffer.h (sgmlCloseTag): made public.
14808
14809 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14810
14811         * buffer.C (saveParamsAsDefaults):
14812         * lyx_cb.C (MenuLayoutSave): remove
14813
14814         * LyXAction.C (init):
14815         * commandtags.h:
14816         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14817
14818 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14819
14820         * buffer.C (setPaperStuff): removed from here...
14821
14822         * bufferparams.C (setPaperStuff): ... and moved there.
14823
14824 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14825
14826         * minibuffer.h:
14827         * minibuffer.C:
14828         * XFormsView.C: add support for drop-down completion
14829
14830 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14831
14832         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14833         commands.
14834
14835 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14836
14837         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14838         disabled.
14839
14840 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14841
14842         * lyx_main.C: change ref to known bugs
14843
14844 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14845
14846         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14847         to work around older babel problems.
14848
14849 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14850
14851         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14852
14853 2001-10-24  Juergen Vigna  <jug@sad.it>
14854
14855         * tabular-old.C (ReadOld): below variable changes reflected.
14856
14857         * tabular.[Ch]: added ltType struct for longtable header/footer
14858         defines and changed all instances where they are used. Added
14859         future support for double top/bottom rows.
14860
14861 2001-10-24  José Matos  <jamatos@fep.up.pt>
14862
14863         * buffer.h (docbookHandleCaption):
14864         * buffer.C (docbookHandleCaption): removed unused function.
14865         (makeDocBookFile): moved docbook supported version to v4.1.
14866
14867 2001-10-24  José Matos  <jamatos@fep.up.pt>
14868
14869         * tabular.h:
14870         * tabular.C (docbookRow): new function to export docbook code of a row.
14871         (DocBook): now honors the longtable flags.
14872
14873 2001-10-23  José Matos  <jamatos@fep.up.pt>
14874
14875         * LaTeXFeatures.h:
14876         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14877         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14878
14879         * buffer.C (makeLinuxDocFile):
14880         (makeDocBookFile): reworked the preamble, more clean, and with
14881         support for lyx defined entities. Changed the document declaration
14882         to be more XML friendly.
14883
14884         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14885         if we need to output XML that should be done with a filter.
14886
14887 2001-10-22  Juergen Vigna  <jug@sad.it>
14888
14889         * sp_pspell.h (class PSpell): add alive function needed in the
14890         controller to see if the spellchecker could be started.
14891
14892 2001-10-22  Juergen Vigna  <jug@sad.it>
14893
14894         * buffer.C (insertStringAsLines): modify the font for inserting
14895         chars in certain conditions by calling checkInsertChar(font).
14896
14897 2001-10-19  Juergen Vigna  <jug@sad.it>
14898
14899         * text.C (workWidth): use getRow instead of wrong algorithm.
14900         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14901
14902 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14903
14904         * lyxserver.h:
14905         * lyxserver.C:
14906         * lyx_main.h:
14907         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14908
14909 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14910
14911         * text.C (workWidth): do not search for the exact row when
14912         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14913         optimization for big documents.
14914
14915 2001-10-18  Juergen Vigna  <jug@sad.it>
14916
14917         * text.C (workWidth): new function with added Inset * parameter.
14918
14919 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14920
14921         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14922
14923         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14924         change return type of getColumnNearX.
14925
14926
14927         * text.C (changeRegionCase): use uppercase/lowercase instead of
14928         toupper/tolower.
14929         (leftMargin):
14930         (rightMargin): simplify code by factoring out the uses of
14931         textclasslist.
14932         (labelFill):
14933         (numberOfHfills):
14934         (setHeightOfRow):
14935         (appendParagraph): use Paragraph::size_type
14936
14937 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14938
14939         * vspace.C (asLatexString): add a missing break
14940
14941 2001-10-15  Herbert Voss  <voss@perce.de>
14942
14943         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14944
14945 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14946
14947         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14948         is not available.
14949
14950 2001-10-10  André Pönitz <poenitz@gmx.net>
14951
14952         * lyxfunc.C: removed greek_kb_flag.
14953
14954 2001-10-10  Herbert Voss  <voss@perce.de>
14955
14956         * lyx_main.C: delete global string help_lyxdir.
14957
14958 2001-10-09  Herbert Voss  <voss@perce.de>
14959
14960         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14961
14962         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14963
14964         * lyx_main.C: added global string help_lyxdir.
14965
14966         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14967
14968 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14969
14970         * lyxrc.C (set_font_norm_type): support iso8859-4
14971
14972 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14973
14974         * LaTeX.C (deplog): add another regex for MikTeX
14975
14976 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14977
14978         * lyxrc.C (set_font_norm_type): support iso8859-3
14979
14980 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14981
14982         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14983
14984         * LaTeXFeatures.C: remove special case of french and index
14985
14986         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14987         before \begin{document}). This solves several incompatibilities.
14988
14989 2001-10-03  Garst Reese  <reese@isn.net>
14990
14991         * lyx_cb.C: change CheckTex error msg.
14992
14993 2001-10-03  José Matos  <jamatos@fep.up.pt>
14994
14995         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14996
14997 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14998
14999         * .cvsignore: update
15000
15001         * lyx_main.C (commandLineVersionInfo): use new style version info.
15002
15003         * buffer.C (writeFile):
15004         (makeLaTeXFile):
15005         (makeLinuxDocFile):
15006         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15007
15008         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15009
15010         * version.h: update to use stuff in version.C
15011
15012         * version.C.in: new file. Contains version information determined
15013         at compile time. This is a merging of version.h and
15014         version_info.h.in.
15015
15016 2001-10-03  Juergen Vigna  <jug@sad.it>
15017
15018         * BufferView_pimpl.C (update): don't change "dirty" status in
15019         updateInset call.
15020
15021 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15022
15023         * WorkArea.C (c-tor): re-position version string slightly.
15024
15025 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15026
15027         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15028         revert to previous code.
15029
15030         WorkArea.[Ch]: (show, destroySplash): methods removed.
15031
15032         WorkArea.C: rework code so that it's an amalgam of the codes before and
15033         after the splash screen was moved to WorkArea.
15034
15035 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15036
15037         * lyxrc.C (read):
15038         * vspace.C (inPixels):
15039         (lyx_advance):
15040         * kbmap.C (bind):
15041         * buffer.C (insertStringAsLines):
15042         (asciiParagraph): fix types to be large enough
15043
15044         * lyxlex_pimpl.h: change member status from short to int
15045
15046         * layout.h: fix type of endlabeltype
15047
15048         * kbmap.C (bind):
15049         * kbsequence.C (parse): change return type to string::size_type
15050
15051         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15052         variable
15053
15054         * Bullet.C (bulletSize):
15055         (bulletEntry): do not use short ints as parameters
15056
15057         * BufferView2.C (insertLyXFile): change a char to an int.
15058
15059         * WorkArea.C (WorkArea): remove unneeded floats in computation
15060
15061 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15062
15063         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15064
15065         * paragraph.C (asString): Do not ignore newline/hfill chars when
15066         copying to the clipboard.
15067
15068 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15069
15070         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15071         after a multi-line inset.
15072
15073 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15074
15075         * paragraph.C (validate): Set NeedLyXFootnoteCode
15076
15077 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15078
15079         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15080         and decrease-error to decrease.
15081
15082 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15083
15084         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15085         it more readable (should be equivalent)
15086
15087 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15088
15089         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15090
15091 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15092
15093         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15094         of a cursor (row, etc.) after a character has been deleted
15095         (deleteEmptyParagraphMechanism): call the method above on _all_
15096         cursors held by the LyXText when a double space has been
15097         detected/deleted.
15098
15099 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15100
15101         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15102         pixmap.
15103         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15104
15105         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15106         background. Use greyOut() and the new show() methods to toggle between
15107         the foreground and background. Add code to remove the splash after
15108         its initial showing.
15109
15110         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15111         (create_forms): no longer call Dialogs::showSplash.
15112
15113 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15114
15115         * .cvsignore: add version_info.h
15116
15117 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15118
15119         * version_info.h.in: new file
15120
15121         * Makefile.am: add version_info.h.in
15122
15123         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15124         version_info.h instead of VERSION_INFO
15125
15126 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15127
15128         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15129         The ERT inset now returns string().
15130
15131 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15132
15133         * lyxtext.h, text.C (selectNextWord): renamed as
15134         selectNextWordToSpellcheck.
15135
15136         * text.C (selectNextWordToSpellcheck): Modified to not select
15137         words inside an ERT inset.
15138
15139 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15140
15141         * lyx_cb.C (MenuLayoutSave): change a bit the question
15142
15143         * sp_base.h: include <sys/types.h>
15144
15145 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15146
15147         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15148
15149 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15150
15151         * several files: fix typos in user-visible strings
15152
15153 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15154
15155         * text2.C (pasteSelection): do not set the selection, since it
15156         will be cleared later. Actually, the intent was to fix the way the
15157         selection was set, but I figured rmoving the code was just as good.
15158
15159 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15160
15161         * FontLoader.C (available): Check if font is available without
15162         loading the font.
15163
15164 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15165
15166         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15167
15168 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15169
15170         * lyxrc.[Ch]: added display_graphics variable and associated code.
15171
15172 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15173
15174         * bufferparams.C (hasClassDefaults): new method. Returns true if
15175         the buffer parameters correspond to known class defaults
15176
15177 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15178
15179         * XFormsView.C (show): set minimum size to the main window.
15180
15181 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15182
15183         * text2.C (copySelection):
15184         (cutSelection):
15185         * lyxfind.C (LyXReplace):
15186         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15187         LyXText::selectionAsString.
15188
15189         * paragraph.C (asString): add "label" argument to the second form
15190
15191         * text2.C (selectionAsString): add "label" argument and pass it to
15192         Paragraph::asString.
15193
15194 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15195
15196         * lyx_main.C (commandLineHelp): remove version information
15197
15198 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15199
15200         * lyx_main.C: add -version commandline option
15201
15202 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15203
15204         * paragraph.h: make the optional constructor arg required instead.
15205         some modifications to other files because of this.
15206
15207         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15208
15209         * lyxserver.C (C_LyXComm_callback): make it static
15210
15211         * lyx_main.C (error_handler): make it static
15212
15213         * lyx_gui.C (LyX_XErrHandler): make it static
15214
15215         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15216
15217         * WorkArea.C: make the extern "C" methods static.
15218
15219         * Makefile.am (lyx_LDADD): simplify
15220
15221 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15222
15223         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15224         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15225
15226         * LyXAction.C (init):
15227         * lyxfunc.C (dispatch): associated code removal.
15228
15229 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15230
15231         * lyxfont.h (isSymbolFont): shut off warning
15232
15233         * text.C (setHeightOfRow):
15234         (getVisibleRow): fix crash with empty paragraphs which have a
15235         bottom line
15236
15237 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15238
15239         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15240         code.
15241
15242 2001-09-04  José Matos  <jamatos@fep.up.pt>
15243         * buffer.C
15244         * buffer.h
15245         * tabular.C (docbook): rename docBook method to docbook.
15246
15247 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15248
15249         * Makefile.am: add dependencies to main.o.
15250
15251 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15252
15253         * FontLoader.C (available): Return false if !lyxrc.use_gui
15254
15255 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15256
15257         * FontInfo.C (query):
15258         * converter.C (view):
15259         * importer.C (Import):
15260         * exporter.C (Export): Can not -> cannot.
15261
15262 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15263
15264         * BufferView_pimpl.C: allow to create index inset even if
15265           string is empty
15266
15267 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15268
15269         * buffer.C (getLists): replace boost::tie code with an explicit pair
15270         as boost::tie can break some compilers.
15271
15272         * iterators.h: Added a std:: declaration to the return type of
15273         ParIterator::size.
15274
15275 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15276
15277         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15278           case.
15279
15280 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15281
15282         * iterators.[Ch]: New files. Provide paragraph iterators.
15283
15284         * buffer.C (changeLanguage): Use paragraph iterators.
15285         (isMultiLingual): ditto
15286
15287         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15288
15289 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15290
15291         * FontLoader.C: Support for cmr font.
15292
15293 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15294
15295         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15296         (available): New method.
15297
15298         * FontInfo.C (getFontname): Use scalable fonts even when
15299         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15300         found.
15301
15302 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15303
15304         * converter.C (Formats::view): reverted! Incorrect fix.
15305
15306 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15307
15308         * converter.C (Formats::view): only output the -paper option
15309         if the dvi viewer is xdvi, thereby fixing bug #233429.
15310
15311 2001-08-23  Herbert Voss  <voss@perce>
15312
15313         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15314
15315 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15316
15317         * Spacing.h (Spacing): Set space to Default on in the default
15318         constructor.
15319
15320 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15321
15322         * vc-backend.h (RCS::versionString): add RCS to version
15323         (CVS::versionString): add CVS to version
15324
15325         * vc-backend.C (scanMaster): do not add CVS to version.
15326         (scanMaster): do not add RCS to version
15327
15328         * lyxvc.C (versionString): new method
15329
15330         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15331
15332 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15333
15334         * Spacing.C (set): initialize fval
15335
15336 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15337
15338         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15339         " or \.
15340
15341 2001-08-16  Juergen Vigna  <jug@sad.it>
15342
15343         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15344
15345 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15346
15347         * BufferView_pimpl.C:
15348         * figureForm.C:
15349         * lyxtext.h:
15350         * text2.C: setParagraph takes linespacing now
15351
15352 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15353
15354         * LyxAction.C: add internal LFUN_CITATION_INSERT
15355
15356         * LyXView.C: actually apply fix
15357
15358         * bufferlist.C: fix open non-existent file
15359
15360         * lyxfind.C: fix indentation
15361
15362         * lyxfunc.C: remove unneeded assert, fix typo
15363
15364 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15365
15366         * MenuBackend.C: use "Floatname List"
15367
15368 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15369
15370         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15371         when converting LaTeX layout to insetERT.
15372         Generate a non-collapsed float when reading old float
15373
15374 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15375
15376         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15377         ERT insets.
15378
15379 2001-08-13  Juergen Vigna  <jug@sad.it>
15380
15381         * text.C (fill): return 0 instead of 20 as this seems to be the more
15382         correct value.
15383
15384 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15385
15386         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15387         lyxrc.font_norm.
15388
15389 2001-08-13  Juergen Vigna  <jug@sad.it>
15390
15391         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15392         casesensitive off.
15393         (SearchBackward): comment out the unlocking of the inset_owner this
15394         should not be needed!
15395
15396 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15397
15398         * Many files: Remove inherit_language, and add latex_language
15399
15400         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15401         collapsible insets.
15402
15403 2001-08-10  Juergen Vigna  <jug@sad.it>
15404
15405         * text.C (prepareToPrint): fixed hfill-width in draw!
15406
15407         * BufferView2.C (selectLastWord): save the selection cursor as this
15408         now is cleared in the function LyXText::clearSelection!
15409
15410 2001-08-08  Juergen Vigna  <jug@sad.it>
15411
15412         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15413         BACKSPACE type functions.
15414
15415         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15416         is only cutted from the document but not put in the cut-buffer, where
15417         still the old stuff should be.
15418
15419         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15420
15421         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15422
15423         * tabular.C (SetWidthOfCell): fixed special case where the width
15424         was not updated!
15425         (LeftLine): handle '|' in align_special.
15426         (RightLine): ditto
15427         (LeftAlreadyDrawed): ditto
15428         (SetWidthOfCell): ditto
15429
15430 2001-08-07  Juergen Vigna  <jug@sad.it>
15431
15432         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15433
15434 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15435
15436         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15437         * lyxlex.[hC]: ditto
15438
15439 2001-08-06  Juergen Vigna  <jug@sad.it>
15440
15441         * text.C (getVisibleRow): fix up row clearing a bit.
15442
15443 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15444
15445         * minibuffer.C: make sure the X server sees the changes in the input.
15446
15447 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15448
15449         * paragraph.C (getFont): split into...
15450         (getLabelFont): this
15451         (getLayoutFont): and this
15452         * paragraph_pimpl.C (realizeFont): calling this
15453
15454         * text2.C (getFont): split into...
15455         (getLayoutFont): this
15456         (getLabelFont): and this
15457         (realizeFont): all three calling this
15458
15459         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15460         files where used.
15461
15462 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15463
15464         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15465
15466 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15467
15468         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15469         layouts from the Quote inset insertion.
15470
15471 2001-08-03  Juergen Vigna  <jug@sad.it>
15472
15473         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15474
15475         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15476         only if status not is already CHANGED_IN_DRAW (second level).
15477
15478         * text.C (draw): don't set the need_break_row when inside an
15479         InsetText LyXText.
15480
15481 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15482
15483         * buffer.C (parseSingleLyXformat2Token): handle more latex
15484         conversion cases.
15485
15486         * bufferview_funcs.[hC]: change function names to
15487         begin with small char, adjust other files.
15488
15489 2001-08-02  André Pönitz <poenitz@gmx.net>
15490
15491         * lyxfunc.C:
15492         BufferView_pimpl.C: remove broken special code for math-greek
15493
15494 2001-08-02  Juergen Vigna  <jug@sad.it>
15495
15496         * BufferView_pimpl.C (update): redone this function so that we
15497         update the text again if there was a CHANGE_IN_DRAW.
15498
15499         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15500         (drawFromTo): added a new internal bool which is used by draw() and
15501         redraw() function.
15502         (general): some cursor drawing problems fixed.
15503
15504 2001-08-01  Juergen Vigna  <jug@sad.it>
15505
15506         * lyxfind.C (LyXFind): fixed
15507         (SearchForward): ditto
15508         (SearchBackward): ditto
15509
15510         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15511         spurius drawing of the cursor in the main area.
15512
15513         * text2.C (status): small fix which could lead to a segfault!
15514         (clearSelection): remove unneeded BufferView param.
15515
15516 2001-08-01  André Pönitz <poenitz@gmx.net>
15517
15518         * lyxfunc.C: small change due to changed mathed interface
15519
15520 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15521
15522         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15523
15524 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15525
15526         * lyxfunc.c: fail gracefully if file doesn't exist
15527
15528         * LyXSendto.C:
15529         * buffer.C:
15530         * lyxfunc.C:
15531         * BufferView_pimpl.C: IsDirWriteable() proto changed
15532
15533         * LyXView.C: fix updateWindowTitle() to store the last title
15534
15535 2001-07-31  Juergen Vigna  <jug@sad.it>
15536
15537         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15538         the font (wrong since using of Paragraph::highestFontInRange).
15539
15540         * paragraph.C (highestFontInRange): added a default_size parameter.
15541
15542         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15543         (setHeightOfRow): reformat
15544
15545 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15546
15547         * converter.[hC] + affected files: move to (inital-char)lowercase
15548         function names.
15549
15550         * ParagraphParameters.C (ParagraphParameters): remove commented code
15551
15552         * PainterBase.[Ch]: remove commented code
15553
15554         * LaTeXFeatures.h: add "bool floats" for float.sty
15555
15556         * LaTeXFeatures.C (LaTeXFeatures): init floats
15557         (require): handle float
15558         (getPackages): do it with floats
15559
15560 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15561
15562         * BufferView_pimpl.C (Dispatch): improve handling of
15563         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15564
15565         * commandtags.h: #include lyxfont.h here temporarily to avoid
15566         keybinding bug.
15567
15568         * bufferlist.h: include LString.h here.
15569
15570 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15571
15572         * text2.C (getStringToIndex): new method.
15573
15574 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15575
15576         * *: Reduced header file dependencies all over.
15577
15578 2001-07-30  Baruch Even  <baruch@lyx.org>
15579
15580         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15581
15582 2001-07-29  Baruch Even  <baruch@lyx.org>
15583
15584         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15585
15586 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15587
15588         * ParameterStruct.h (endif): add a default constructor to make
15589         sure that all variables is initialized.
15590
15591         * ParagraphParameters.C (ParagraphParameters): adjust
15592
15593 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15594
15595         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15596         index; also, check that there is something to index, and that it
15597         does not span over several paragraphs.
15598         (doubleClick): use WHOLE_WORD_STRICT for double click.
15599
15600         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15601
15602         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15603         scheme.
15604
15605 2001-07-26  Baruch Even  <baruch@lyx.org>
15606
15607         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15608         an InsetFig figure, backwards compatible reading of old figure code.
15609
15610 2001-07-27  Juergen Vigna  <jug@sad.it>
15611
15612         * text2.C: font.realize function adaption.
15613
15614         * text.C (draw): add a warnings lyxerr text if needed.
15615
15616         * layout.C: font.realize function adaption.
15617
15618         * language.C: add inherit_language and implement it's handlings
15619
15620         * bufferview_funcs.C (StyleReset): remove language parameter from
15621         font creation (should be language_inherit now).
15622
15623         * bufferparams.C (writeFile): handle ignore_language.
15624
15625         * paragraph.C (getFontSettings): the language has to be resolved
15626         otherwise we have problems in LyXFont!
15627
15628         * lyxfont.C (lyxWriteChanges): added document_language parameter
15629         (update): removed unneeded language parameter
15630
15631         * paragraph.C (validate): fixed wrong output of color-package when
15632         using interface colors for certain fonts in certain environments,
15633         which should not seen as that on the final output.
15634
15635 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15636
15637         * BufferView_pimpl.C:
15638         * Thesaurus.h:
15639         * Thesaurus.C:
15640         * Makefile.am:
15641         * commandtags.h:
15642         * LyXAction.C: add thesaurus support
15643
15644         * lyxfind.h:
15645         * lyxfind.C: add "once" parameter, for thesaurus, to not
15646           move to the next match
15647
15648 2001-07-26  Juergen Vigna  <jug@sad.it>
15649
15650         * lyxfont.C (realize): honor ignore_language too!
15651         (resolved): ditto.
15652
15653         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15654
15655         * text.C (draw): one place more for ignore_language to not draw
15656         itself!
15657
15658 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15659
15660         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15661
15662 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15663
15664         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15665         the minipage conversion problem.
15666
15667 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15668
15669         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15670         insert an inset.
15671
15672 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15673
15674         * BufferView.h: don't forward declare WorkArea
15675
15676         * BufferView.C: don't include WorkArea.h
15677
15678 2001-07-25  André Pönitz <poenitz@gmx.net>
15679
15680         * commandtags.h:
15681         * LyXAction.C:
15682         * lyxfunc.C:  new LFUN 'math-space'
15683
15684         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15685
15686 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15687
15688         * text2.C (toggleInset): call open/close
15689
15690 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15691
15692         * lyxfunc.C (dispatch): add debug for the disabled case
15693
15694         * font.C (buttonText): make similar to rectText
15695
15696         * buffer.C (readInset): comment out parsing of insetlist and
15697         insttheorem
15698
15699         * PainterBase.C (rectText): small correction
15700
15701         * BufferView_pimpl.C: comment out insettheorem and insetlist
15702         * LyXAction.C: ditto
15703         * commandtags.h: ditto
15704
15705 2001-07-24  Juergen Vigna  <jug@sad.it>
15706
15707         * text.C (draw): honor the ignore_language.
15708
15709         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15710
15711 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15712
15713         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15714         char inset.
15715
15716 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15717
15718         * lyxtext.h: remove unused (and unimplemented) methods
15719
15720 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15721
15722         * text.C (getVisibleRow): honor background color
15723
15724         * PainterBase.h:
15725         * Painter.h: remove default color argument for fillRectangle
15726
15727         * text.C (backgroundColor): new method
15728
15729 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15730
15731         * text.C (getVisibleRow): adjust
15732
15733         * font.[Ch] (rectText): new method, metrics
15734         (buttonText): new method, metrics
15735
15736         * PainterBase.[hC]: make rectText and buttonText always draw and take
15737         fewer paramteres.
15738
15739 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15740
15741         * ToolbarDefaults.C (read):
15742         * MenuBackend.C (read): allow escaping in all strings
15743
15744         * BufferView_pimpl.C (insertAndEditInset): new method.
15745         (Dispatch): use insertAndEditInset whenever appropriate.
15746
15747         * BufferView_pimpl.C (insertNote): removed
15748
15749         * BufferView_pimpl.C (smartQuote): new method, moved from
15750         BufferView; if an insetquote cannot be inserted, insert a '"'
15751         character instead.
15752
15753         * BufferView2.C: remove insertCorrectQuote();
15754
15755         * lyxfunc.C (getStatus): Add support for all remaingin
15756         inset-insert lfuns.
15757
15758         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15759
15760         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15761         command (necessary to pass " as parameter of self-insert.
15762
15763         * text.C (selectWordWhenUnderCursor):
15764         (selectWord): add word_location parameter
15765         (selectWordWhenUnderCursor): same + remove special code for word
15766         boundary.
15767         (selectNextWord): use kind() to guess type of insetspecialchar,
15768         not latex().
15769
15770         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15771         (insertErtContents): create ert insets as collapsed.
15772         (readInset): better compatibility code for Info inset.
15773
15774 2001-07-20  Juergen Vigna  <jug@sad.it>
15775
15776         * lyxfunc.C (dispatch): use always LyXFind now!
15777
15778         * text2.C (init): add a reinit flag so that the LyXText can be
15779         reinited instead of deleted and reallocated (used in InsetText).
15780
15781         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15782
15783         * text.C: ditto
15784
15785         * text2.C: ditto
15786
15787 2001-07-18  Juergen Vigna  <jug@sad.it>
15788
15789         * text.C (selectNextWord): handle insets inside inset by calling
15790         always the bv->text functions so that we can go up the_locking_inset!
15791
15792         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15793         in strange locations when inside an inset!
15794
15795         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15796         handling to include insets.
15797
15798         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15799
15800 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15801
15802         * LyXAction.C (init):
15803         * commandtags.h:
15804         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15805         LIGATURE_BREAK, since the name is so stupid.
15806
15807 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15808
15809         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15810         InsetInfos.
15811
15812         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15813
15814         * sp_form.[Ch]: remove.
15815
15816         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15817
15818         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15819         InsetInfo.
15820
15821         * src/buffer.C (readInset): ditto.
15822
15823 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15824
15825         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15826         menuSeparator(), endOfSentenceDot(), ldots() and
15827         hyphenationPoint(), which are therefore removed.
15828         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15829
15830         * LyXAction.C (init):
15831         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15832
15833         * paragraph.C (getWord): removed.
15834
15835         * BufferView_pimpl.C (Dispatch): use last word or selection for
15836         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15837
15838         * lyx_main.C (queryUserLyXDir): do not ask before creating
15839         user_dir, except if it has been named explicitely.
15840
15841 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15842
15843         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15844         a document of zero size.
15845
15846 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15847
15848         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15849         approriately in the c-tor and in require().
15850         (getPackages): output the appropriate LaTeX for natbib support.
15851
15852         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15853         variables "use_natbib" and "use_numerical_citations" when reading the
15854         LyX file.
15855         (readInset): read the various natbib cite commands.
15856         (validate): white-space change.
15857
15858         * bufferparams.[Ch]: new variables "bool use_natbib" and
15859         "bool use_numerical_citations".
15860         (writeFile): output them in the LyX file.
15861
15862 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15863
15864         * lyxfunc.C (getStatus): add support for all the inset insertion
15865         commands.
15866
15867         * text2.C (insertInset):
15868         * paragraph.C (insetAllowed):
15869         * BufferView_pimpl.C (insertInset): update to take in account the
15870         renaming of insertInsetAllowed
15871
15872         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15873
15874         * text2.C (getInset): new method. returns inset at cursor position.
15875
15876         * BufferView_pimpl.C (Dispatch): changes because of this.
15877
15878         * LyXAction.C (init): rename open-stuff to inset-toggle.
15879
15880         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15881
15882         * text2.C (toggleInset): renamed from openStuff; use
15883         Inset::open().
15884
15885 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15886
15887         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15888
15889         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15890
15891 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15892
15893         * buffer.C (readLyXformat2): Add filename to the error dialog
15894
15895 2001-07-18  Juergen Vigna  <jug@sad.it>
15896
15897         * tabular.C (GetCellNumber): put an assert here instead of the check!
15898
15899 2001-07-17  Juergen Vigna  <jug@sad.it>
15900
15901         * BufferView_pimpl.C (toggleSelection): adapted too.
15902
15903         * text.C (selectNextWord): adapted for use with insets.
15904         (selectSelectedWord): ditto
15905
15906 2001-07-17  Juergen Vigna  <jug@sad.it>
15907
15908         * sp_spell.C (PSpell): fix initialitation order.
15909
15910 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15911
15912         * paragraph.C: spacing
15913
15914 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15915
15916         * sp_spell.C: repair language selection for pspell
15917
15918 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15919
15920         * lyxfunc.h: change more methods to begin with lower char.
15921
15922 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15923
15924         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15925         for unknown layouts.
15926
15927 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15928
15929         * buffer.C (readLyXformat2): Generate an error dialog if there are
15930         unknown layouts.
15931
15932 2001-07-16  Juergen Vigna  <jug@sad.it>
15933
15934         * sp_spell.C: always compile ISpell part.
15935
15936         * lyxrc.C: added use_pspell entry and it's handling.
15937
15938 2001-07-13  Juergen Vigna  <jug@sad.it>
15939
15940         * sp_spell.C: removed double includes.
15941
15942 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15943
15944         Consistent use of Lsstream.h:
15945         * Lsstream.h: added using std::stringstream for consistencies sake.
15946
15947         * buffer.C: removed using std::stringstream
15948
15949         * lyxfont.C (stateText):
15950         * paragraph.C (asString):
15951         * text.C (selectNextWord, selectSelectedWord):
15952         * text2.C (setCounter):
15953         * vspace.C (asString, asLatexString):
15954         std::ostringstream -> ostringstream.
15955
15956 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15957
15958         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15959         * commandtags.h: add LFUN_HELP_ABOUTLYX
15960         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15961
15962 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15963
15964         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15965         cursorToggle()
15966         * lyx_gui_misc.C: remove spellchecker
15967         * lyxfunc.C: showSpellchecker
15968         * sp_base.h: added
15969         * sp_ispell.h: added
15970         * sp_pspell.h: added
15971         * sp_spell.C: added
15972         * sp_form.[Ch]: removed
15973         * spellchecker.[Ch]: removed
15974
15975 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15976
15977         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15978         is set.
15979         (simpleTeXSpecialChars): Simply print the input character without
15980         any special translation if pass_thru is set.
15981
15982         * layout.h: Added bool pass_thru to layout class for being able to
15983         implement pass through of a paragraph for Literate Programming.
15984
15985         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15986         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15987         * layout.C (Read): add "passthru" to list of layout tags and add
15988         code to set the pass_thru boolean when it is read.
15989
15990 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15991
15992         * trans_decl.h: remove allowed from KmodInfo
15993
15994         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15995         remove allowed code
15996         (Load): adjust
15997
15998         * paragraph_pimpl.C (erase): use boost::prior
15999
16000         * Painter.C (text): use data() instead of c_str() when length is
16001         also provided.
16002         * WorkArea.C (putClipboard): ditto
16003         * font.h (width): ditto
16004
16005         * BufferView2.C: use it-> instead of (*it). for iterators
16006         * texrow.C: ditto
16007         * paragraph_pimpl.C: ditto
16008         * paragraph.C: ditto
16009         * minibuffer.C: ditto
16010         * language.C: ditto
16011         * kbmap.C: ditto
16012         * encoding.C: ditto
16013         * counters.C: ditto
16014         * converter.C: ditto
16015         * chset.C: ditto
16016         * Variables.C: ditto
16017         * TextCache.C: ditto
16018         * MenuBackend.C: ditto
16019         * LyXAction.C: ditto
16020         * LColor.C: ditto
16021         * FloatList.C: ditto
16022         * DepTable.C: ditto
16023         * ColorHandler.C (LyXColorHandler): ditto
16024
16025 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16026
16027         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16028
16029         * text2.C (openStuff): reintroduce this method (which had been
16030         nuked in NEW_INSETS frenzy).
16031
16032         * lyxfunc.C (Dispatch): when an action has not been handled, use
16033         its name in the error message, not its number.
16034
16035         * paragraph.C (inInset): change method name to begin with lowercase.
16036
16037         * undo_funcs.C:
16038         * text2.C: updates because of this.
16039
16040 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16041
16042         * ToolbarDefaults.C (add): add spaces in error message
16043
16044 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16045
16046         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16047         (readLyXformat2): rename return_par to first_par, use lyxlex's
16048         pushToken and remove the manual push handling.
16049         (parseSingleLyXformat2Token): add another ert comp. variable:
16050         in_tabular, rename return_par to first_par. handle newlines better
16051
16052 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16053
16054         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16055
16056 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16057
16058         * text2.C (getParFromID): removed
16059
16060         * buffer.C (getParFromID): new method moved form lyxtext.
16061         * BufferView2.C (insertErrors): adjust
16062         (setCursorFromRow): adjust
16063         * BufferView_pimpl.C (restorePosition): adjust
16064         * lyxfunc.C (Dispatch): adjust
16065         * undo_funcs.C (textUndo): adjust
16066         (textRedo): adjust
16067         (textHandleUndo): adjust
16068         (textHandleUndo): adjust
16069
16070 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16071
16072         * buffer.C: up' the LYX_FORMAT
16073
16074         * lyxfont.h: turn NO_LATEX on as default
16075
16076         * buffer.C (insertErtContents): new methods of tex style compability.
16077         (parseSingleLyXformat2Token): use it several places.
16078         * tabular.C (OldFormatRead): and here
16079
16080 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16081
16082         * text2.C: remove some commented code.
16083         reindent file.
16084
16085         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16086         * trans.C: changes because of the above.
16087
16088 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16089
16090         * text2.C (setCounter): Fix counters bug with bibliography layout.
16091
16092 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16093
16094         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16095         own member functions
16096         (simpleTeXSpecialChars): ditto
16097
16098 2001-07-06  Juergen Vigna  <jug@sad.it>
16099
16100         * a lot of files: changed the access to LyXText::status and the
16101         call of undo-functions.
16102
16103         * undo.[Ch]: added a inset_id to the undo informations.
16104
16105         * undo_funcs.[Ch]: added and moved here all undo functions.
16106
16107         * lyxtext.h: give the status enum a weight, made status_ a private
16108         variable and made accessor functions for it, removed the whole bunch
16109         of undo-functions as they are now in their own file, make some
16110         functions publically available. Added function ownerParagraph with
16111         int parameter.
16112
16113         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16114         made InInset() a const function, added getParFromID() function.
16115
16116         * buffer.[Ch]: added const version for inset_iterator functions,
16117         added getInsetFromID() function.
16118
16119         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16120         changed undo functions for new version.
16121
16122 2001-07-05  Juergen Vigna  <jug@sad.it>
16123
16124         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16125         unknow mechanism does not call the proper constructor but only this
16126         one also if I request the other!?
16127
16128 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16129
16130         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16131
16132         * text2.C (LyXText): use initialization lists.
16133
16134         * lyxtext.h (Selection): initialize set_ and mark_
16135         (init): remove method
16136
16137 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16138
16139         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16140
16141 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16142
16143         * screen.[Ch]: change method names to begin with lowercase
16144
16145         * BufferView_pimpl.C (updateScrollbar): simplify further and
16146         hopefully make it a bit faster.
16147
16148 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16149
16150         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16151         calling directly xforms functions.
16152
16153         * Painter.C (Painter):
16154         * lyx_cb.C (MenuWrite):
16155         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16156         fl_display.
16157
16158         * lyx_gui.C: remove bogus guiruntime extern declaration.
16159
16160 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16161
16162         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16163         in NEW_INSETS
16164         (redoDrawingOfParagraph): ditto
16165         (redoParagraphs): ditto
16166         (cutSelection): don't create a object for CutAndPaste use the
16167         static method directly
16168         (pasteSelection): ditto
16169
16170         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16171         LyXview (+ rename)
16172
16173 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16174
16175         * modifications to some other files because of this.
16176
16177         * Makefile.am (lyx_SOURCES): add XFormsView
16178
16179         * XFormsView.[Ch]: new files
16180
16181         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16182         the main window. Move the gui dependent stuff to XFormsView
16183
16184 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16185
16186         * tabular.C (GetCellInset): update cur_cell also in the row/col
16187         version of this function.
16188
16189         * lyxfunc.C: no need to include figure_form.h here.
16190
16191         * FontLoader.h:
16192         * lyxfunc.h:
16193         * lyxscreen.h:
16194         * text2.C:
16195         * lyxvc.C: no need to include forms.h here.
16196
16197 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16198
16199         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16200
16201         * lyxfunc.C (Dispatch):
16202         * Spacing.C (set):
16203         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16204         constructor argument.
16205
16206 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16207
16208         * paragraph.C (Paragraph): dont't clear, and just set layout.
16209         (makeSameLayout): use params's copy contructor.
16210
16211         * ParagraphParameters.[Ch] (makeSame): delete method
16212
16213 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16214
16215         * Variables.[Ch]: fix indentation, rename set to isSet
16216
16217 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16218
16219         * lyxfunc.C (Dispatch): fix typo
16220
16221 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16222
16223         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16224         upper_bound.
16225
16226         * bufferlist.C: include assert.h for emergencyWrite().
16227
16228 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16229
16230         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16231           give up at last (bug #425202) !
16232
16233 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16234
16235         * lyx_gui_misc.C:
16236         * sp_form.h:
16237         * sp_form.C:
16238         * spellchecker.h:
16239         * spellchecker.C: strip spellchecker options and bring up
16240           preferences tab instead
16241
16242 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16243
16244         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16245         the istringstream constructor
16246
16247 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16248
16249         * paragraph.C (getLayout): fix return value
16250
16251         * paragraph.h: do not declare getLayout as inline.
16252
16253         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16254
16255 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16256
16257         * lyxcursor.h (operator<): new func
16258         (operator>): new func
16259         (operator>=): new func
16260         (operator<=): new func
16261
16262         * text.C (changeCase): use selection.start and selection.end
16263         (changeRegionCase): require from to be <= to. Require par to be a
16264         valid paragraph.
16265
16266         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16267
16268 2001-06-27  Juergen Vigna  <jug@sad.it>
16269
16270         * text.C (cursorLeftOneWord): changed to return the cursor and added
16271         overlay with BufferView * parameter which calls this one.
16272         (getWord): added
16273         (selectWord): use new getWord function.
16274         (changeCase): renamed from changeWordCase as and extended to work
16275         also on selections.
16276
16277         * lyxtext.h: added enum word_location
16278
16279         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16280         changeCase as this operates now also on selections.
16281
16282 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16283
16284         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16285
16286         * many files: send debug output to Debug::INFO instead of
16287         Debug::ANY.
16288
16289         * converter.C (View):
16290         (Convert):
16291         (Move): send debug output to Debug::FILES instead of console.
16292
16293 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16294
16295         * lyxfunc.C (getStatus): use func_status
16296
16297         * func_status.h: new header, describing the results of
16298         LyXFunc::getStatus;
16299
16300         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16301         LFUN_MATH_HALIGN.
16302
16303 2001-06-25  The LyX Project  <jug@sad.it>
16304
16305         * buffer.C (sgmlOpenTag):
16306         (sgmlCloseTag):
16307         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16308
16309 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16310
16311         * text2.C: remove some dead code
16312
16313         * tabular.C (GetCellInset): store the last cell checked (gotten)
16314
16315         * tabular.h: add the helper for the speedup
16316
16317         * lyxtext.h: remove some dead code
16318
16319 2001-06-26  The LyX Project  <Asger>
16320
16321         * paragraph.C: Change export to LaTeX of alignment to
16322         \begin{center} and family for better roundtrip work with reLyX.
16323
16324         * Tune the math drawing a bit.
16325
16326 2001-06-25  The LyX Project  <Asger>
16327
16328         * LColor.C (LColor): New color for math background. New color
16329         for buttons.
16330
16331 2001-06-25  The LyX Project  <jug@sad.it>
16332
16333         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16334
16335         * lyxfunc.C (Open):
16336         * bufferlist.C (newFile): do not restrict to files ending with
16337         .lyx
16338
16339         * BufferView_pimpl.C (MenuInsertLyXFile):
16340
16341 2001-06-24  The LyX Project  <jug@sad.it>
16342
16343         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16344         of compare_no_case
16345
16346 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16347
16348         * lyxtext.h: rename most methods to begin with a small char.
16349         Lots of changes because of this.
16350
16351         * paragraph.C (Paragraph): do not call fitToSize
16352         (erase): call Pimpl::erase
16353         (insertChar): call Pimpl::insertChar
16354         (insertInset): call Pipl::insertInset
16355         (breakParagraph): do not call fitToSize
16356         (breakParagraphConservative): do not call fitToSize
16357         (fitToSize): remove method
16358
16359         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16360
16361 2001-06-24  The LyX Project  <Asger>
16362
16363         * Fix Qt compilation^2
16364
16365 2001-06-24  The LyX Project  <jug@sad.it>
16366
16367         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16368         depthHook(getDepth()-1).
16369
16370         * paragraph.h:
16371         * ParagraphParameters.h:
16372         * ParameterStruct.h: change type of depth to unsigned int ==
16373         depth_type. Many adaptations to other files before of that.
16374
16375 2001-06-24  The LyX Project  <Asger>
16376
16377         * Fix Qt compilation.
16378
16379 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16380
16381         * paragraph.h: renamed several methods to begin with small letter.
16382         several changes to many parts of the code because of this.
16383
16384 2001-06-23  The LyX Project  <jug@sad.it>
16385
16386         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16387         rewritten to discard all double spaces when KeepEmpty is off
16388         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16389         to only handle newlines but not fiddle with spaces and friends.
16390
16391         * lyxfunc.C (MenuNew): when doing 'new from template', use
16392         template_path as default directory
16393
16394 2001-06-23  The LyX Project  <Asger>
16395
16396         * Clean-up of header file includes all over
16397         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16398
16399 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16400
16401         * paragraph.h: renamed from lyxparagraph.h
16402
16403 2001-06-23  Asger  <lyx@violet.home.sad.it>
16404
16405         * Buffer.h: Removed Buffer::resize
16406         * BufferList.h: Removed BufferList::resize
16407         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16408         the document lazily when we change the width, or the font settings.
16409
16410 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16411
16412         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16413
16414 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16415
16416         * buffer.h: remove out of date comment
16417
16418 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16419
16420         * lyxscreen.h:
16421         * screen.C: fix "theoretical" GC leak
16422
16423 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16424
16425         * LaTeX.C (scanAuxFile):
16426         (deplog): remove trailing \r when reading stream (useful under
16427         win32)
16428
16429 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16430
16431         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16432         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16433         and BufferView::theLockingInset(Inset*), so should use them and not
16434         access bv_->text->the_locking_inset directly.
16435
16436         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16437
16438 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16439
16440         * Makefile.am:
16441         * tex-defs.h: remove old unused file
16442
16443 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16444
16445         * BufferView_pimpl.C: fix typo, remove minibuffer message
16446           when buffer has loaded
16447
16448 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16449
16450         * lyxfunc.C (Dispatch): use stringstream
16451         (MenuNew): use stringstream
16452         (Open): use stringstream
16453
16454         * importer.C (Import): use stringstream
16455
16456         * bufferview_funcs.C (CurrentState): use stringstream
16457
16458         * LaTeX.C (run): use stringstream
16459
16460         * BufferView_pimpl.C (savePosition): use stringstream
16461         (restorePosition): use stringstream
16462         (MenuInsertLyXFile): use stringstream
16463
16464 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16465
16466         * BufferView.C:
16467         * Bullet.C:
16468         * ColorHandler.C:
16469         * FontInfo.C:
16470         * FontLoader.C:
16471         * LColor.C:
16472         * LaTeXFeatures.C:
16473         * Painter.C:
16474         * gettext.C:
16475         * lyx_gui_misc.C:
16476         * lyxserver.C:
16477         * vspace.C: removed // -*- C++ -*- as first line.
16478
16479         * lyxfind.h:
16480         * version.h: added // -*- C++ -*- as first line.
16481
16482 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16483
16484         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16485
16486         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16487         of string
16488
16489 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16490
16491         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16492         of floats.
16493
16494 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16495
16496         * gettext.C: include LString.h even when --disable-nls is on.
16497
16498 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16499
16500         * converter.h (Get): changed argument type from int to
16501         FormatList::size_type to avoid unnecessary conversion.
16502
16503         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16504         before using it.
16505
16506 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16507
16508         * gettext.h: include LString.h even when --disable-nls is on.
16509
16510 2001-06-07  Juergen Vigna  <jug@sad.it>
16511
16512         * text.C (BreakAgain): subst spaces with tabs.
16513
16514         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16515         (resizeInsetsLyXText): set force on resizeLyXText.
16516
16517 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16518
16519         * gettext.h (gettext_init):
16520         (locale_init): use a real definition instead of a macro
16521
16522 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16523
16524         * Bufferview_pimpl.C:
16525         * LColor.h:
16526         * LColor.C: further lcolor tidies
16527
16528 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16529
16530         * BufferView_pimpl.C (updateScrollbar): simplify.
16531
16532         * BufferView2.C: don't include insets/insetinfo.h, change
16533         prototype for insertInset and call the Pimpl version. let
16534         updateInset call Pimpl version.
16535
16536         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16537         gotoInset to BufferView::Pimpl
16538
16539 2001-06-01  Juergen Vigna  <jug@sad.it>
16540
16541         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16542         inside a LockingInset (is the update needed at all?).
16543
16544 2001-05-31  Juergen Vigna  <jug@sad.it>
16545
16546         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16547         here not the old one otherwise how should we compare it afterwards
16548         if it's the same!
16549
16550 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16551
16552         * lyxfont.C:
16553         * tabular.C:
16554         * tabular-old.C:
16555         * FontInfo.C: bring C functions into global namespace when
16556         necessary
16557
16558 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16559
16560         * LString.h: make sure config.h has been loaded before LString.h.
16561
16562         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16563         (one for each char read by EatLine!).
16564
16565         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16566         variables.
16567
16568 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16569
16570         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16571         to the same as the par we break from
16572
16573 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16574
16575         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16576
16577         * MenuBackend.C (expand): also create menu entries for wide
16578         versions of the floats.
16579
16580         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16581
16582         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16583
16584         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16585         frontends/Makefile.am
16586
16587         * text2.C: adjust
16588         * text.C: adjust
16589
16590
16591         * tabular.C (getTokenValue): add std::
16592
16593         * tabular-old.C (getTokenValue): add std::
16594         (getTokenValue): ditto
16595         (getTokenValue): ditto
16596
16597         * screen.C (ToggleSelection): adjust
16598
16599         * lyxtext.h: put selection cursors inside a Selection struct.
16600
16601         * lyxfunc.C (moveCursorUpdate): adjust
16602
16603         * lyxfont.C (latexWriteStartChanges): add std::
16604
16605         * lyxfind.C: adjust
16606
16607         * font.h: delete with(char const *, LyXFont const &)
16608
16609         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16610
16611         * FontInfo.C (getFontname): add std::
16612
16613         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16614         (workAreaButtonPress): adjust
16615         (tripleClick): adjust
16616         (update): adjust
16617         (moveCursorUpdate): adjust
16618         (Dispatch): adjust
16619
16620         * BufferView2.C (gotoInset): adjust
16621
16622 2001-05-30  Juergen Vigna  <jug@sad.it>
16623
16624         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16625         to check pspell I add this as default as I now have new pspell
16626         libraries and they seem to use this.
16627
16628 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16629
16630         * text2.C (CutSelection): make the cursor valid before the call to
16631         ClearSelection.
16632
16633 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16634
16635         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16636         relied on 0 terminated strings and other horrors. Bug found due to
16637         the new assert in lyxstring!
16638
16639         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16640         KP_ keys.
16641
16642 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16643
16644         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16645         to latinkeys.bind.
16646
16647         * lyxfunc.C (processKeySym): change method of getting to the
16648         self-insert char.
16649
16650         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16651         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16652         * BufferView_pimpl.[Ch]: here as private methods.
16653
16654 2001-05-28  Juergen Vigna  <jug@sad.it>
16655
16656         * text.C (SetHeightOfRow): added the update() call again as it is
16657         needed to initialize inset dimensions!
16658
16659 2001-05-16  Juergen Vigna  <jug@sad.it>
16660
16661         * text2.C (SetCharFont): Add new function with BufferView * and
16662         bool toggleall parameters for setting insets internal fonts.
16663         (SetFont): Freeze the undo as we may change fonts in Insets and
16664         all this change should be inside only one Undo!
16665
16666         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16667         setting font's in insets as for them we have the SetFont function!
16668
16669 2001-05-15  Juergen Vigna  <jug@sad.it>
16670
16671         * text2.C (ClearSelection): to be sure we REALLY don't have any
16672         selection anymore!
16673
16674         * tabular.C (TeXCellPreamble): fixed the left border problem for
16675         multicolumn cells.
16676
16677 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16678
16679         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16680         dependancy file
16681
16682 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16683
16684         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16685         LFUN_BREAKPARAGRAPH.
16686
16687         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16688         help test to "internal only", similar for LFUN_INSERT_URL
16689
16690         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16691         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16692         auto_region_delete and deadkeys.
16693
16694 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16695
16696         * LColor.h:
16697         * LColor.C: remove some dead entries, tidy a little
16698
16699 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16700
16701         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16702         commented code.
16703         (Dispatch): implement LFUN_ESCAPE
16704
16705         * commandtags.h: add LFUN_ESCAPE
16706
16707         * LyXAction.C (init): add entry for LFUN_ESCAPE
16708
16709         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16710         Remove commented code.
16711         (insertNote): moved here
16712         (open_new_inset): moved here
16713
16714         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16715         BufferView_pimpl
16716
16717 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16718
16719         * kbmap.C (findbinding): clean it up and make it work correctly.
16720
16721         * lyx_main.C (init): do not pass argc and argv as parameters
16722
16723 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16724
16725         * buffer.C: fix path for OS/2 & Win32
16726
16727         * lyx_gui.C:
16728         * lyx_main:
16729         * lyx_main.C: Added os:: class.
16730
16731         * os2_defines.h: update
16732
16733 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16734
16735         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16736         better by trying again with reduced state.
16737
16738 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16739
16740         * lyxrc.C (read): print error about invalid key sequence only when
16741         debugging (because not all latinX keysyms are known to some X
16742         servers)
16743
16744         * kbsequence.C (getiso): add a few std:: qualifiers
16745         (getiso): comment out extra return statement.
16746
16747 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16748
16749         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16750         handling.
16751         (Dispatch): enhance the accent inset a bit. (not perfect)
16752
16753 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16754
16755         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16756
16757 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16758
16759         * bufferlist.C (emergencyWrite): fix assert() call
16760
16761 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16762
16763         * text.C (InsertChar): Added trivial patch to only send the "you
16764         can not do multiple spaces this way" message once during a
16765         session.
16766
16767 2001-05-08  Baruch Even  <baruch@lyx.org>
16768
16769         * Makefile.am: Changed order of libraries to get LyX to link properly
16770         with the gnome frontend.
16771
16772 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16773
16774         * LaTeXFeatures.h: add a std:: qualifier
16775
16776 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16777
16778         * paragraph.C (String): use stringstream
16779
16780 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16781
16782         * paragraph.C (writeFile): remove footflag arg
16783
16784         * buffer.C (makeLaTeXFile): use stringstream
16785         (latexParagraphs): remove footnot gurba
16786
16787         * LaTeXFeatures.C (getPackages): use stringstream
16788         (getMacros): likewise
16789         (getTClassPreamble): likewise
16790         (getFloatDefinitions): new method
16791
16792         * paragraph.C (writeFile): reindent
16793         (Erase): reindent
16794
16795         * WorkArea.h: revert the xpos + etc changes.
16796
16797         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16798
16799         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16800
16801         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16802         (pasteSelection): likewise
16803         * text2.C (CreateUndo): likewise
16804
16805 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16806
16807         * minibuffer.C (peek_event): temporarily reduce the functionality
16808         of the minibuffer (to allow args on lfuns)
16809
16810         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16811         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16812
16813         * buffer.C (readInset): add compability reading of old float
16814         lists, add reading of new style float list.
16815         (readInset): avoid reevaluation of inscmd.getCmdName()
16816         (getLists): reindent
16817
16818         * MenuBackend.C (MenuItem): implement parsing of
16819         md_floatlistinsert and md_floatinsert.
16820         (expand::LastFiles): move initalizaton of iterators out of loop,
16821         avoid reevaluation.
16822         (expand::Documents): introduce typdedef vector<string> Strings,
16823         and use it.
16824         (expand::ExportFormats): introduce typedef vector<Format const *>
16825         Formats, and use it.
16826         (expand): implement FloatListInsert and FloatInsert.
16827
16828         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16829         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16830         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16831
16832         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16833         handling.
16834         (Dispatch::LFUN_FLOAT_LIST): implement
16835
16836 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16837
16838         * LaTeX.C (run): Fix problem with --export code.
16839
16840 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16841
16842         * BufferView.[Ch] (workarea): removed.
16843         (getClipboard) new method; wrapper for workarea()->getClipboard()
16844
16845         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16846         bug.
16847
16848         * WorkArea.h (width, height, xpos, ypos): These methods all
16849         returned the dimensions of the work_area sub-area of WorkArea,
16850         resulting in a position error if the WorkArea were resized. Now
16851         return the dimensions of the entire WorkArea.
16852
16853         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16854
16855 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16856
16857         * LaTeX.C (deplog): correct the syntax of regex reg1
16858
16859 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16860
16861         * undo.C: remove !NEW_INSETS cruft
16862
16863 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16864
16865         * text2.C: remove !NEW_INSETS cruft
16866
16867         * text.C: remove !NEW_INSETS cruft
16868
16869         * tabular.C: remove !NEW_INSETS cruft
16870
16871         * spellchecker.C: remove !NEW_INSETS cruft
16872
16873         * lyxtext.h: remove !NEW_INSETS cruft
16874
16875         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16876
16877         * lyxfunc.C: remove !NEW_INSETS cruft
16878
16879         * lyxfind.C: remove !NEW_INSETS cruft
16880
16881         * lyx_cb.C: remove !NEW_INSETS cruft
16882
16883         * figureForm.C: remove  !NEW_INSETS cruft
16884
16885         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16886
16887         * buffer.[Ch]: remove !NEW_INSETS cruft
16888
16889         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16890
16891         * CutAndPaste.C: remove !NEW_INSETS cruft
16892
16893         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16894
16895         * BufferView2.C: remove !NEW_INSETS cruft
16896
16897         * BufferView.h: remove !NEW_INSETS cruft
16898
16899 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16900
16901         * Lsstream.h: include LString.h before the sstream headers to
16902         fix problem with gcc 2.95.3 and lyxstring
16903
16904 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16905
16906         * lyx_main.C: add using directives when needed for C functions
16907         declared in std:: namespace.
16908
16909 2001-04-27  Juergen Vigna  <jug@sad.it>
16910
16911         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16912         (SetHeightOfRow): comment out the update call should not be needed!
16913
16914 2001-04-13  Juergen Vigna  <jug@sad.it>
16915
16916         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16917         (LyXTabular): tried to minimize operator= operations (and realized
16918         hopfully Lars wish).
16919
16920 2001-04-27  Juergen Vigna  <jug@sad.it>
16921
16922         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16923
16924 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16925
16926         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16927
16928         * buffer.C (readInset): hack to make listof algorithm work
16929
16930         * BufferView_pimpl.C: hack to make listof algorithm work
16931
16932 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16933
16934         * LyXAction.C: removed all !NEW_INSETS cruft
16935         (init): moved lfun_item in method
16936
16937         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16938
16939 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16940
16941         * BufferView2.C (theLockingInset): white space.
16942
16943 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16944
16945         * minibuffer.C: include <iostream>
16946
16947         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16948
16949         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16950
16951         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16952
16953         * text.[Ch] (TransposeChars): new method
16954
16955 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16956
16957         * call message directly through LyXView instead of through LyXFunc
16958         * BufferView2.C: adjust
16959         * BufferView_pimpl.C: adjust
16960         * FontLoader.C: adjust
16961         * buffer.C: adjust
16962         * bufferview_funcs.C: adjust
16963         * converter.C: adjust
16964         * figureForm.C: adjust
16965         * importer.C: adjust
16966         * lyx_cb.C: adjust
16967         * lyx_gui_misc.C: adjust
16968         * lyxfunc.C: adjust
16969         * lyxvc.C: adjust
16970         * text2.C: adjust
16971         + more files in subdirs
16972
16973         * lyxparagraph.h (size): move up int file
16974         (GetLayout): ditto
16975
16976         * adjust all uses of Assert to lyx::Assert.
16977
16978         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16979         lyxfunctional in namespace lyx
16980         * layout.C (hasLayout): ditto
16981         (GetLayout): ditto
16982         (GetLayout): ditto
16983         (delete_layout): ditto
16984         (NumberOfClass): ditto
16985         * converter.C (GetFormat): ditto
16986         (GetNumber): ditto
16987         (Add): ditto
16988         (Delete): ditto
16989         (SetViewer): ditto
16990         * bufferlist.C (getFileNames): ditto
16991         (emergencyWriteAll): ditto
16992         (exists): ditto
16993         (getBuffer): ditto
16994         * MenuBackend.C (hasSubmenu): ditto
16995         (hasMenu): ditto
16996         (getMenu): ditto
16997         * BufferView_pimpl.C (getInsetByCode): ditto
16998
16999 2001-04-18  Juergen Vigna  <jug@sad.it>
17000
17001         * vspace.C (asLatexString): fixed the 100% problem.
17002
17003 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17004
17005         * lyxfunc.C (Dispatch):
17006         * minibuffer.C:
17007         * minibuffer.h: add a few std:: qualifiers
17008
17009 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17010
17011         * minibuffer.[Ch]: reimplement so that commands is initiated and
17012         run from lyxfunc, simplified som handling, and made the completion
17013         and history code for complete. wip.
17014
17015         * lyxfunc.C (processKeySym): call message
17016         (miniDispatch): new temporary method
17017         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17018         (LFUN_MESSAGE): implement
17019         (LFUN_MESSAGE_PUSH): implement
17020         (LFUN_MESSAGE_POP): implement
17021         (initMiniBuffer): the initial/defualt minibuffer message.
17022
17023         * lyxfont.[Ch]: inline some more getters
17024
17025         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17026
17027         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17028
17029         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17030         (AutoSave): use LFUN_MESSAGE
17031         (Reconfigure): ditto
17032
17033         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17034
17035         * figureForm.C: use LFUN_MESSAGE
17036
17037         * converter.C (runLaTeX): use LFUN_MESSAGE
17038
17039         * bufferview_funcs.C: use LFUN_MESSAGE
17040         (Melt): ditto
17041         (changeDepth): ditto
17042
17043         * bufferparams.h: use boost::
17044
17045         * bufferlist.h: inherit privately from noncopyable
17046
17047         * bufferlist.C (loadLyXFile): remove some commented code.
17048
17049         * buffer.C (runChktex): use LFUN_MESSAGE
17050
17051         * ShareContainer.h: inherit privately from noncopyable
17052
17053         * ParagraphParameters.[hC] (depth): inline it.
17054
17055         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17056         methods.
17057         (message): new method
17058         (messagePush): ditto
17059         (messagePop): ditto
17060         (show): init minibuffer
17061         (showState): direct call
17062
17063         * LaTeX.[Ch]: inherit privately from noncopyable
17064         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17065         instead of WriteStatus.
17066
17067         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17068
17069         * BufferView_pimpl.C (buffer): don't init minibuffer
17070         (workAreaButtonPress): use LFUN_MESSAGE
17071         (workAreaButtonRelease): ditto
17072         (savePosition): ditto
17073         (restorePosition): ditto
17074         (MenuInsertLyXFile): ditto
17075         (workAreaExpose): don't init minibuffer
17076         (update): remove commented code, simplify
17077
17078         * BufferView2.C (openStuff): use LFUN_MESSAGE
17079         (toggleFloat): ditto
17080         (menuUndo): ditto
17081         (menuRedo): ditto
17082         (copyEnvironment): ditto
17083         (pasteEnvironment): ditto
17084         (copy): ditto
17085         (cut): ditto
17086         (paste): ditto
17087         (gotoInset): ditto
17088         (updateInset): remove some commented code
17089
17090         * lastfiles.h: inherit privately from noncopyable
17091         * layout.h: ditto
17092         * lyx_gui.h: ditto
17093         * lyx_main.h: ditto
17094         * lyxlex.h: ditto
17095         * lyxlex_pimpl.h: ditto
17096
17097         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17098         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17099         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17100
17101         * LyXAction.h: inherit privately from noncopyable, add methods
17102         func_begin, func_end, returning iterators to the func map.
17103
17104         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17105         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17106         (func_begin): new method
17107         (func_end): new method
17108
17109         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17110         and not)
17111         (copySelection): ditto
17112         (pasteSelection): ditto
17113
17114         * BufferView.C: whitespace change
17115         * BufferView.h: inherit privately from noncopyable
17116
17117 2001-04-16  Allan Rae  <rae@lyx.org>
17118
17119         * tabular-old.C (l_getline):
17120         * spellchecker.C (sc_check_word):
17121         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17122         an unrecognised preprocessor directive.  So ensure they're wrapped.
17123
17124 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17125
17126         * src/exporter.C (Export): Give an error message when path to file
17127         contains spaces.
17128
17129 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17130
17131         * LaTeX.C (deplog): Always check that foundfile exists.
17132
17133 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17134
17135         * lyx_main.h:
17136         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17137
17138 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17139
17140         * tabular.[Ch] (getLabelList): implement new method
17141
17142         * minibuffer.h: comment ouf setTiimer
17143
17144         * minibuffer.C (ExecutingCB): constify res
17145         (peek_event): constify s
17146         (Set): constify ntext
17147         (Init): constify nicename
17148
17149         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17150
17151         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17152         (savePosition): use two params to Minibuffer::Set
17153         (restorePosition): ditto
17154
17155 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17156
17157         * lyx_main.C: include language.h
17158
17159         * Makefile.am (lyx_main.o): add language.h
17160
17161 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17162
17163         * exporter.C:
17164         * paragraph.C:
17165         * screen.C:
17166         * tabular.C:
17167         * CutAndPaste.C: include gettext.h
17168
17169         * lyxfont.h: remove old hack with ON and OFF.
17170
17171         * lyxparagraph.h:
17172         * lyxfont.h: do not include language.h...
17173
17174         * BufferView2.C:
17175         * LaTeXFeatures.C:
17176         * Painter.C:
17177         * bufferview_funcs.C:
17178         * font.C:
17179         * lyxfont.C:
17180         * text.C:
17181         * text2.C:
17182         * trans_mgr.C:
17183         * paragraph.C: ... but do it here instead
17184
17185 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17186
17187         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17188
17189         * tabular.C: small reformat
17190
17191         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17192         NEW_INSETS version
17193         (GetChar): ditto
17194         (BreakParagraph): ditto
17195         (SetOnlyLayout): ditto
17196         (SetLayout): ditto
17197
17198         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17199         with one arg less.
17200
17201         * lastfiles.C: removed most using decl, add std:: where needed
17202
17203         * buffer.C: ws changes
17204
17205         * MenuBackend.C (class compare_format): put into anon namespace
17206         (expand): constify label, names, action, action2
17207         (expand):
17208
17209         * text.C (SingleWidth): constify font
17210         (IsBoundary): constify rtl2
17211         (GetVisibleRow): constify ww
17212
17213         * LaTeX.C (deplog): constify logfile
17214
17215         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17216         start_x, end_x
17217         (workAreaExpose): constify widthChange, heightChange
17218
17219         * lyxrow.C (par): moved
17220         (height): moved
17221         (next): moved
17222         * lyxrow.h: as inlines here
17223
17224         * lyxfont.h (shape): moved from lyxfont.C
17225         (emph): moved from lyxfont.C
17226
17227         * lyxfont.C (LyXFont): use initialization list for all
17228         constructors
17229         (shape): move to lyxfont.h as inline
17230         (emph): move to lyxfont.h as inline
17231
17232
17233 2001-04-04  Juergen Vigna  <jug@sad.it>
17234
17235         * vspace.C: had to include stdio.h for use of sscanf
17236
17237 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17238
17239         * BufferView.h:
17240         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17241         independent of xforms.
17242
17243 2001-04-02  Juergen Vigna  <jug@sad.it>
17244
17245         * spellchecker.C: fixed namespace placing!
17246
17247 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17248
17249         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17250         the LyXParagraph * is 0.
17251
17252 2001-03-29  Juergen Vigna  <jug@sad.it>
17253
17254         * vspace.C: added support for %, c%, p%, l%.
17255         (stringFromUnit): added helper function.
17256         (asLatexString): changed to give right results for the %-values.
17257
17258         * buffer.C: convert the widthp in a width%.
17259
17260 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17261
17262         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17263         figureForm.[Ch].
17264
17265         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17266         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17267
17268         * lyx_cb.[Ch]: see above.
17269
17270         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17271         form1.[Ch].
17272
17273         * form1.[Ch]:
17274         * lyx.[Ch]: replaced by figure_form.[Ch].
17275
17276         * lyx_gui.C:
17277         * lyx_gui_misc.C:
17278         * lyxfunc.C: changed headers associated with above changes.
17279
17280 2001-03-27  Juergen Vigna  <jug@sad.it>
17281
17282         * BufferView_pimpl.C: set the temporary cursor right!
17283
17284 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17285
17286         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17287
17288 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17289
17290         * LString.h: removed "using std::getline"!
17291
17292         * BufferView_pimpl.C (Dispatch): changes due to changes in
17293         InsetInclude::Params.
17294
17295         * buffer.C (tag_name): removed redundant break statements as they were
17296         producing lots of warnings with my compiler.
17297
17298 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17299
17300         * LString.h: add "using std::getline" when using the real <string>.
17301
17302 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17303
17304         * buffer.C: removed bitset usage.
17305         PAR_TAG moved to an anonymous name space.
17306         (tag_name): new funtion, also in the anonymous namespace.
17307         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17308         (makeDocBookFile): clean code. Completed transition from string arrays
17309         to string vectors.
17310         (SimpleDocBookOnePar): code clean.
17311
17312 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17313
17314         * tabular.C: add some comments.
17315
17316 2001-03-22  Juergen Vigna  <jug@sad.it>
17317
17318         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17319         compatibility read a bit and fixed bug with minipage in different
17320         depth.
17321
17322 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17323
17324         * buffer.C (pop_tag): removed.
17325         (push_tag): removed.
17326         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17327         array replaced with vector. Added support for CDATA sections.
17328         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17329         at any nest level.
17330         (makeDocBookFile): XML conformant declaration of CDATA section,
17331         fixed bug related to <emphasis> in the first paragraph char.
17332         (sgmlOpenTag): exclude empty tags.
17333         (sgmlCloseTag): ditto.
17334
17335         * buffer.h (pop_tag): removed.
17336         (push_tag): removed.
17337
17338 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17339
17340         * language.h (Languages): added size_type and size().
17341
17342 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17343
17344         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17345         response on compability reading of minipages. One probliem is that
17346         the old usage of minipages was flertydig
17347
17348         * several files here and in subdirs: don't use static at file
17349         scope use anon namespaces instead.
17350
17351 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17352
17353         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17354         LaTeX output. This is necessary for Literate document
17355         processing.
17356
17357 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17358
17359         * buffer.C: insert hfill when needed.
17360
17361         * tabular.C (l_getline): use string::erase, small whitespace change.
17362
17363         * BufferView_pimpl.C: try the anon namespace.
17364         * WorkArea.C: ditto
17365
17366 2001-03-16  Juergen Vigna  <jug@sad.it>
17367
17368         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17369         otherwise it won't open options-dialogs.
17370
17371         * buffer.C: honor pextraWidth(p) on converting minipages.
17372
17373         * tabular.C (l_getline): changed the functions to strip trailing \r.
17374
17375 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17376
17377         * BufferView_pimpl.C:
17378         * minibuffer..C: added "using SigC::slot" declaration.
17379
17380 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17381
17382         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17383
17384         * text2.C: ditto
17385
17386         * text.C: ditto
17387
17388         * paragraph.C: ditto
17389
17390         * lyxtext.h: NO_PEXTRA
17391
17392         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17393
17394         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17395         * ParameterStruct.h: ditto
17396         * ParagraphParameters.h: ditto
17397         * lyxparagraph.h: ditto
17398
17399 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17400
17401         * buffer.C: add compability for minipage alignment.
17402         (latexParagraphs): remove unwanted pextra check.
17403
17404         * several files: remove CXX_WORKING_NAMESPACES
17405
17406         * buffer.C (pop_tag): tie is in namespace boost
17407
17408         * BufferView.h: noncopyable is in namespace boost
17409         * lyxlex.h: ditto
17410         * lyx_main.h: ditto
17411         * lyx_gui.h: ditto
17412         * layout.h: ditto
17413         * lastfiles.h: ditto
17414         * bufferlist.h: ditto
17415         * ShareContainer.h: ditto
17416         * LyXView.h: ditto
17417         * LyXAction.h: ditto
17418         * LaTeX.h: ditto
17419
17420 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17421
17422         * Merging changes from BRANCH_MVC back into HEAD.
17423
17424         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17425
17426 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17427
17428         * BufferView_pimpl.C: change from intl.C
17429
17430         * combox.h:
17431         * combox.C:
17432         * Makefile.am: move combox.*
17433
17434         * form1.h:
17435         * form1.C:
17436         * lyx_gui.C:
17437         * intl.h:
17438         * intl.C: remove dialog (covered by prefs)
17439
17440 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17441
17442         * lyxfunc.C (Dispatch): removed redundant break statement.
17443
17444 2001-03-14  Juergen Vigna  <jug@sad.it>
17445
17446         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17447
17448 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17449
17450         * buffer.C: add hack to fix compability reading of minipages.
17451
17452 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17453
17454         * buffer.C (getLists): Cleanup.
17455
17456 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17457
17458         * lyxfont.C (update): don't honor toggleall on font size.
17459
17460 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17461
17462         * bmtable.c:
17463         * bmtable.h:
17464         * Makefile.am: moved to frontends/xforms/
17465
17466         * lyx_gui_misc.C:
17467         * lyxfunc.C:
17468         * BufferView_pimpl.C: changes for moved mathpanel
17469
17470 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17471
17472         * gettext.h: fix gettext_init() in --disable-nls
17473
17474 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17475
17476         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17477
17478 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17479
17480         * lyx.C:
17481         * lyx.h: strip external form
17482
17483 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17484
17485         * BufferView_pimpl.C: add comment, destroySplash()
17486
17487 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17488
17489         * BufferView_pimpl.C:
17490         * LyXAction.C:
17491         * buffer.C:
17492         * commandtags.h:
17493         * lyxfunc.C: use re-worked insetinclude
17494
17495 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17496
17497         * buffer.C: add using std::stringstream.
17498
17499         * lyx_cb.C: readd using std::ios.
17500
17501         * buffer.C: add using std::map.
17502
17503         * BufferView_pimpl.C: add using std::vector.
17504
17505         * ShareContainer.h: add std:: to swap.
17506
17507         * buffer.h: add some typedefs
17508         * buffer.C (getLists): use them
17509         (getLists): renamed from getTocList.
17510         add a counter for the different float types and use it in the
17511         generated string.
17512         (getLists): use the same counter for the NEW_INSETS and the "non"
17513         NEW_INSETS
17514
17515         * lyx_cb.h: remove unused items, includes, using etc.
17516
17517         * ShareContainer.h: remove some commented code, add more comments
17518         and "documentation".
17519
17520 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17521
17522         * buffer.C (getTocList): make the list also when NEW_INSETS is
17523         defined.
17524
17525         * buffer.h: remove TocType
17526
17527         * buffer.C (getTocList): change to return a map<string,
17528         vector<TocItem> >, implement for dynamic number of list.
17529
17530         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17531         * text2.C (PasteSelection): adjust
17532         * CutAndPaste.C (pasteSelection): adjust
17533
17534         * FloatList.C (FloatList): update from the new_insets branch.
17535         * Floating.[Ch]: ditto
17536         * LaTeXFeatures.C: ditto
17537         * buffer.C: ditto
17538         * lyxlex_pimpl.C: ditto
17539
17540         * paragraph.C (Last): remove when NEW_INSETS is defined.
17541
17542         * other file: changes because of the above.
17543
17544 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17545
17546         * lyxparagraph.h: rename next to next_, previous to previous_,
17547         make them private for NEW_INSETS. Rename Next() to next(),
17548         Previous() to previous().
17549
17550         * other files: changes because of the above.
17551
17552 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17553
17554         * BufferView.h:
17555         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17556         problem.
17557
17558 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17559
17560         * main.C (main): pass lyx_localedir to gettext_init().
17561
17562         * gettext.h: remove locale_init and gettext_init macros
17563
17564         * gettext.C (locale_init): new function
17565         (gettext_init): new function
17566
17567         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17568         setlocale().
17569
17570 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17571
17572         * Moved credits to frontends:
17573         * credits.[Ch]: removed
17574         * credits_form.[Ch]: removed
17575         * lyx_gui_misc.C: remove credits stuff
17576         * Makefile.am:
17577
17578 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17579
17580         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17581
17582         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17583         unneeded destructor.
17584
17585         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17586         a standalone pointer again.
17587
17588         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17589
17590 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17591
17592         * Makefile.am:
17593         * filedlg.h:
17594         * filedlg.C:
17595         * LyXAction.C:
17596         * ToolbarDefaults.C:
17597         * bufferlist.C:
17598         * commandtags.h:
17599         * form1.C:
17600         * form1.h:
17601         * lyx_cb.C:
17602         * lyx_cb.h:
17603         * lyxfunc.h:
17604         * lyxfunc.C:
17605         * BufferView_pimpl.C: use new file dialog in GUII
17606
17607         * lyx_cb.h:
17608         * lyx_cb.C: remove LayoutsCB to Toolbar
17609
17610 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17611
17612         * ShareContainer.h (get): add std:: qualifier
17613
17614 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17615
17616         * ShareContainer.h: define a proper ShareContainer::value_type
17617         type (and use typename to please compaq cxx)
17618
17619 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17620
17621         * lyxparagraph.h: move serveral local vars to
17622         ParameterStruct/ParagraphParameters., use ShareContainer in
17623         FontTable., make vars in FontTable private and add getter and
17624         setter.
17625
17626         * paragraph.C: changes because of the above.
17627
17628         * lyxfont.h: remove copy constructor and copy assignment. (the
17629         default ones is ok), move number inside FontBits. move inlines to
17630         lyxfont.C
17631
17632         * lyxfont.C: add number to initializaton of statics, move several
17633         inlines here. constify several local vars. some whitespace
17634         cleanup. Dont hide outerscope variables.
17635
17636         * Spacing.h: add two new constructors to match the set methods.
17637
17638         * ShareContainer.h: new file, will perhaps be moved to support
17639
17640         * ParameterStruct.h: new file
17641
17642         * ParagraphParameters.h: new file
17643
17644         * ParagraphParameters.C: new file
17645
17646         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17647         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17648
17649         * BufferView_pimpl.C: ParagraphParameter changes.
17650         * buffer.C: Likewise.
17651         * bufferview_funcs.C: Likewise.
17652         * text.C: Likewise.
17653         * text2.C: Likewise.
17654
17655 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17656
17657         * lyxfind.C (LyXReplace): do not redefine default argument in
17658         implementation.
17659         (IsStringInText): ditto
17660         (SearchForward): ditto
17661         (SearchBackward): ditto
17662
17663 2001-03-06  Juergen Vigna  <jug@sad.it>
17664
17665         * lyxfind.C (IsStringInText): put parentes around expressions.
17666
17667 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17668
17669         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17670
17671 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17672
17673         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17674
17675         * stl_string_fwd.h: add comment
17676
17677         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17678
17679         * tabular.h:
17680         * tabular.C: remove unused DocBook methods
17681
17682         * intl.C:
17683         * language.C:
17684         * paragraph.C:
17685         * buffer.C:
17686         killed DO_USE_DEFAULT_LANGUAGE
17687
17688 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17689
17690         * lyx_gui.C: do not include language.h.
17691
17692         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17693         arguments in function implementation.
17694
17695 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17696
17697         * BufferView_pimpl.C: add <ctime>
17698
17699 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17700
17701         * BufferView_pimpl.C: add using std::find_if
17702
17703 2001-02-27  José Matos  <jamatos@fep.up.pt>
17704
17705         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17706         by OnlyPath.
17707
17708 2001-02-11  José Matos  <jamatos@fep.up.pt>
17709
17710         * buffer.C (makeDocBookFile): command styles now have a parameter as
17711         "title" by default.
17712
17713 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17714
17715         * layout_forms.[Ch]: removed
17716         * lyx_cb.[Ch]: out character
17717         * lyx_gui.C: out character
17718         * lyx_gui_misc.C: out character
17719         * bufferview_funcs.C: : out character,
17720         added toggleall as parameter in ToggleAndShow
17721
17722 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17723
17724         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17725
17726         * text2.C (SetCurrentFont): Disable number property at boundary.
17727
17728 2001-02-26  Juergen Vigna  <jug@sad.it>
17729
17730         * lyxfunc.C (getStatus): added a string argument override function so
17731         that this is correctly called from LyXFunc::Dispatch if it contains a
17732         do_not_use_argument which is used!
17733         (Dispatch): added check for "custom" export and call appropriate func.
17734
17735 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17736
17737         * lyxrc.C: Add language_command_local, language_use_babel and
17738         language_global_options.
17739
17740         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17741
17742         * buffer.C (makeLaTeXFile): Use language_use_babel and
17743         language_global_options.
17744
17745 2001-02-23  Juergen Vigna  <jug@sad.it>
17746
17747         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17748         which works with LyXText and putted it inside BufferView. Here now we
17749         only call for that part the BufferView::Dispatch() function.
17750
17751         * BufferView.C (Dispatch): added.
17752
17753         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17754         functions which needs to use a LyXText over from LyXFunc.
17755         (MenuInsertLyXFile): added
17756         (getInsetByCode): added
17757         (moveCursorUpdate): added
17758         (static TEXT): added
17759
17760 2001-02-22  Juergen Vigna  <jug@sad.it>
17761
17762         * BufferView_pimpl.C (update): call a status update to see if LyXText
17763         needs it.
17764
17765 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17766
17767         * vc-backend.C (revert): implement for CVS
17768         (getLog): implement for CVS
17769
17770 2001-02-20  Juergen Vigna  <jug@sad.it>
17771
17772         * text2.C (ClearSelection): added BufferView param for inset_owner call
17773
17774         * lyxfunc.C (TEXT): added this function and use it instead of
17775         directly owner->view()-text of getLyXText().
17776
17777 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17778
17779         * src/layout_forms.C: out preamble
17780         * src/layout_forms.h: out preamble
17781         * src/lyx_cb.C: out preamble
17782         * src/lyx_cb.h: out preamble
17783         * src/lyx_gui.C: out preamble
17784         * src/lyx_gui_misc.C: out preamble
17785         * src/lyxfunc.C: connect with guii preamble
17786
17787 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17788
17789         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17790
17791 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17792
17793         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17794         whether to run bibtex.
17795
17796 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17797
17798         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17799
17800 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17801
17802         * Makefile.am (lyx_SOURCES): removed bibforms.h
17803
17804         * vspace.h: doxygen
17805
17806         * text.C (GetVisibleRow): make several local vars const
17807
17808         * tabular.C: small cleanup.
17809
17810         * lyxserver.C (callback): use compare instead of strncmp
17811
17812         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17813         inlines to after class or to paragraph.C
17814
17815         * lyxfont.h: remove friend operator!=
17816
17817         * converter.h: move friend bool operator< to non friend and after
17818         class def.
17819
17820         * combox.h: small cleanup
17821
17822         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17823         to inlines after class def.
17824
17825         * buffer.C (pop_tag): use string operations instead of strcmp
17826
17827         * bmtable.c: doxygen, small cleanup
17828
17829         * LaTeX.h: remove friend operator==
17830
17831 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17832
17833         * screen.C:
17834         * lyxrc.[Ch]:
17835         * lyxfunc.C:
17836         * lyxfont.[Ch]:
17837         * lyx_cb.C:
17838         * intl.[Ch]:
17839         * commandtags.h:
17840         * buffer.C:
17841         * WorkArea.[Ch]:
17842         * LyXAction.C:
17843         * BufferView_pimpl.C:
17844         * BufferView.[Ch]: remove cruft
17845
17846 2001-02-14  Juergen Vigna  <jug@sad.it>
17847
17848         * lyxfunc.C: removed #if 0 unused code
17849
17850         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17851
17852         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17853
17854         * text2.C (SetSelection): added a BufferView * parameter
17855
17856 2001-02-13  Juergen Vigna  <jug@sad.it>
17857
17858         * lyxfunc.C (Dispatch): fixed protected blank problem.
17859         * BufferView2.C (protectedBlank): added LyxText * parameter.
17860
17861         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17862         (AppendColumn): same as above for column_info.
17863
17864         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17865         (moveCursorUpdate): use a LyXText param for support of InsetText.
17866
17867         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17868         (tripleClick): ditto
17869
17870         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17871
17872         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17873
17874         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17875
17876         * text2.C (SetSelection): set correct update status if inset_owner
17877         (ToggleFree): ditto
17878
17879 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17880
17881         * tabular.C: remove some commented code.
17882
17883 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17884
17885         * BufferView_pimpl.C: call hideSplash()
17886
17887         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17888
17889         * include_form.h:
17890         * bibforms.h: remove
17891
17892         * lyxfunc.C:
17893         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17894           add LFUN_CHILD_CREATE
17895
17896         * counters.h: fix tiny typo
17897
17898         * lyx_cb.C:
17899         * lyx.h:
17900         * lyx_gui.C:
17901         * lyx.C: move splash to frontends/xforms/
17902
17903         * lyx_gui_misc.C: move Include and Bibform to frontends
17904
17905         * lyxvc.h: clarify comment
17906
17907         * vspace.C: tiny housekeeping
17908
17909 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17910
17911         * text.C (PrepareToPrint): RTL Fix.
17912
17913         * paragraph.C (GetUChar): New method.
17914         (String):  Use GetUChar.
17915
17916         * buffer.C (asciiParagraph): Use GetUChar.
17917
17918 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17919
17920         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17921
17922 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17923
17924         * buffer.h:
17925         * buffer.C: rename to getLogName(), handle
17926           build log / latex log nicely
17927
17928 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17929
17930         * MenuBackend.C:
17931         * MenuBackend.h: remove support for reference menuitem type.
17932
17933 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17934
17935         * BufferView_pimpl.C: housekeeping
17936         * BufferView_pimpl.h:
17937         * LyXView.h:
17938         * Makefile.am:
17939         * Timeout.C:
17940         * Timeout.h:
17941         * minibuffer.h: move Timeout GUI-I
17942
17943 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17944
17945         * lyxrc.C (read): Update converters data-structures.
17946
17947 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17948
17949         * LaTeX.h (operator!=): add operator != for Aux_Info
17950
17951 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17952
17953         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17954
17955         * LaTeXLog.C: deleted, useful code moved to Buffer
17956
17957         * buffer.h:
17958         * buffer.C: new function getLatexLogName()
17959
17960         * lyx_gui_misc.C:
17961         * lyx_gui.C:
17962         * lyxvc.C:
17963         * lyxvc.h:
17964         * lyxfunc.C: use frontends for LaTeX and VC logs
17965
17966 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17967
17968         * LaTeX.h: yet another std:: that Allan forgot.
17969
17970         * Variables.C (set): renamed from isset(), because this clashes
17971         with some HP-UX macros (grr).
17972
17973 2001-02-06  Allan Rae  <rae@lyx.org>
17974
17975         * LaTeX.h: Another bug fix.  Missing std:: this time.
17976
17977 2001-02-04  Allan Rae  <rae@lyx.org>
17978
17979         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17980         floats problem. I've left it commented out because it's not quite
17981         correct.  It should also test that the current object is a table or
17982         figure inset.  But I haven't gotten around to figuring out how to do
17983         that.  I *think* it'll be something like: "table" == inset.type()
17984
17985         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17986         bool.
17987
17988 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17989
17990         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17991         all the citation/databases/styles in the auxilary file.
17992         (run): Rerun latex if there was a babel language error.
17993
17994 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17995
17996         * text.C (Backspace): Preserve the font when changing newline char
17997         with a space.
17998         (BreakParagraph): If the cursor is before a space, delete the space.
17999
18000         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18001
18002 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18003
18004         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18005         new argument (code).
18006         (ChangeCitationsIfUnique): New method.
18007
18008         * paragraph.C (GetPositionOfInset): Handle bibkey.
18009
18010 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18011
18012         * BufferView_pimpl.h: change type of Position::par_pos to
18013         LyXParagraph::size_type.
18014
18015 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18016
18017         * BufferView_pimpl.C (savePosition, restorePosition): Write
18018         messages to minibuffer.
18019
18020 2001-01-28  José Matos  <jamatos@fep.up.pt>
18021
18022         * buffer.C (makeDocBookFile): adds support for document language.
18023         A silly restriction on the name of LatexCommand types where removed.
18024         Added support for CDATA sections, allows to chars unescaped, used
18025         among others in code, to avoid escape < and >.
18026
18027 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18028
18029         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18030         saved positions instrad of a stack. Furthermore, a position is
18031         stored using paragraph id/paragraph position.
18032
18033         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18034         Remove LFUN_REF_BACK.
18035
18036 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18037
18038         * converter.C (dvipdfm_options): New method.
18039
18040 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18041
18042         * vspace.C (isValidLength): Fix for empty input string.
18043
18044 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18045
18046         * LyXAction.C (init): change description of LFUN_FIGURE to
18047         "Insert Graphics"
18048
18049 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18050
18051         * LaTeX.C: add using directive
18052
18053 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18054
18055         * MenuBackend.C (expand): Fix the sorting of the formats.
18056
18057 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18058
18059         * lyx_main.C: tiny error message fix
18060
18061 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18062
18063         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18064         calling fl_initialize(). This fixes the problem with ',' as
18065         decimal separator in text files.
18066
18067 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18068
18069         * trans.C (process): Fix the keymap bug.
18070
18071 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18072
18073         * LaTeX.C (scanAuxFiles): New method. Provides support for
18074         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18075         (scanLogFile) Scan for "run BibTeX" messages.
18076
18077         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18078         OT1 font encoding. Also, load the aecompl package if the ae
18079         package is loaded.
18080
18081         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18082
18083 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18084
18085         * texrow.C (increasePos): turn two error messages into debug
18086         messages.
18087
18088 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18089
18090         * LaTeX.C (scanAux): Handle the \@input macro.
18091         (runBibTeX): Use scanAux().
18092
18093         * language.C (latex_options_): New field.
18094
18095         * LaTeXFeatures.C (getMacros): Add language macros.
18096
18097         * buffer.C (makeLaTeXFile): Small fix.
18098
18099 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18100
18101         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18102
18103         * text2.C: add a using directive.
18104
18105 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18106
18107         * BufferView2.C:
18108         * lyx_gui_misc.h:
18109         * lyxfr1.C:
18110         * lyxfunc.C: kill LyXBell.
18111
18112 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18113
18114         * text.C (IsBoundary): Remove the error message
18115
18116         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18117
18118         * lyxrc.C (setDefaults): Correct initialization value for
18119         font_norm_type.
18120
18121 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18122
18123         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18124         gotoError().
18125
18126         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18127         and GotoNextNote().
18128
18129         * src/LyXAction.C: Added reference-next.
18130
18131         * text.C (InsertChar): Use contains instead of strchr.
18132
18133         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18134
18135 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18136
18137         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18138         alignment commands (when needed).
18139
18140         * text.C (InsertChar): Add ':' to number separator chars.