]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
262e49ad7430ebc56da1df48e9847a6a241f4cc0
[lyx.git] / src / ChangeLog
1 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
4         use old deleteion algorithm when changetracking is on.
5
6 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
7
8         * messages.C (get): add debug output.
9
10 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
11
12         * text.C (cursorX): fix bug 1965: cursor movement at
13         line end broken in RtL.
14         (drawSelection): fix bug 1970: drawing of single-line 
15         selection broken for RtL.
16
17 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
18
19         bug 465.
20
21         * dociterator.h (clear, push_back, pop_back): change from
22         protected to public.
23
24         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
25         and changed to just return the value of the item depth; take a
26         ParIterator as argument; take the itemdepth at outer nesting level
27         in account if necessary; cleanup and comment the code.
28         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
29         and changed to just return true if reset is needed; take a
30         ParIterator as argument; cleanup and comment the code.
31         (setCounter): adapt to above changes.
32
33 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         * text3.C (dispatch): make debug message optional
36
37 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
38
39         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
40         inset. (bug 1963)
41
42 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
43
44         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
45
46 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
47
48         * text.C (insertChar):
49         * text2.C (deleteEmptyParagraphMechanism): take care whether 
50         a blank has been deleted (in change tracking mode) (bug 1254).
51
52 2005-07-20  John Levon  <levon@movementarian.org>
53
54         * text2.C (insertStringAsLines): remove old dubious code,
55         fixing bug 1939.
56
57 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
58
59         * MenuBackend.C (expandToc): use Floating::listName() as title of
60         the floats submenus.
61
62 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
63
64         * toc.[Ch]: Do not use translatable strings (bug 1870).
65
66 2005-07-20  John Levon  <levon@movementarian.org>
67
68         * tabular.C: fix 1748 - setting multicolumn adds
69           left line to the first cell
70
71 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
72
73         bug 1920
74         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
75         pars in one go.
76
77 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
78
79         * messages.C: supress some lyxerr messages
80
81 2005-07-18  Juergen Vigna  <jug@lyx.org>
82
83         * text.C (drawSelection): honor boundary when asking for cursorX.
84
85 2005-07-17  José Matos  <jamatos@fc.up.pt>
86
87         * tabular.C (recalculateMulticolumns): fix handling of one column
88         tables.
89
90 2005-07-17  Juergen Vigna  <jug@lyx.org>
91
92         * text.C (Delete, backspace): fixed so that paragraph with the
93         same layout can be merged by Delete/Backspace.
94
95 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
96
97         * text.C (readParToken): fix spelling.
98
99 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
100
101         * text2.C: fix counter update for DEPM problem reported by
102         Georg Baum
103
104 2005-07-17  Juergen Vigna  <jug@lyx.org>
105
106         * BufferView_pimpl.C (setBuffer): save/restore the
107         cursor/selection when switching buffers
108
109         * buffer.h: 
110         * buffer.C (saveCursor): add saveDocumentIterators to save the
111         cursor when switching buffer.
112
113 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
114
115         * debug.C: fix typo
116         * buffer.C: clarify message
117         
118 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
119
120         * dociterator.C (DocIterator): fix initialization order
121
122 2005-07-17  Juergen Vigna  <jug@lyx.org>
123
124         * text2.C (cursorHome): 
125         * text.C (drawSelection, cursorX): 
126         * dociterator.C (textRow): add boundary to getRow() call
127
128         * paragraph.C (getRow): implementation of below
129
130         * paragraph.h: add parameter boundary for getRow() function
131
132 2005-07-17  José Matos  <jamatos@fc.up.pt>
133
134         * buffer.C:
135         * bufferparams.[Ch]:
136         * tex-strings.[Ch]: new file format, remove support for a4.sty,
137         a4wide.sty and a4widemargins.
138
139 2005-07-17  Juergen Vigna  <jug@lyx.org>
140
141         * text2.C (cursorLeft): fix one of error
142
143 2005-07-17  Juergen Vigna  <jug@lyx.org>
144
145         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
146                    cursorEnd):
147         more fixes for boundary handling
148
149         * text3.C (dispatch): don't reset cursor if boundary has changed
150         on cursor movement.
151
152 2005-07-16  Juergen Vigna  <jug@lyx.org>
153
154         * text2.C (getColumnNearX): hopefully got it right now,
155         check if we are on column 0 for special case.
156
157 2005-07-16  Juergen Vigna  <jug@lyx.org>
158
159         * text2.C (getColumnNearX): handle special case Newline Inset
160
161         * text.C (singleWidth): Just remove bogus check
162
163 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
164
165         * funcrequest.C (split): avoid reading uninitialized char c
166
167 2005-07-16  José Matos  <jamatos@fc.up.pt>
168
169         * buffer.C:
170         * converter.C:
171         * lyxrc.C:
172         * paper.h:
173         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
174         single papersize variable.
175
176 2005-07-16  Juergen Vigna  <jug@lyx.org>
177
178         * text3.C (dispatch): honor boundary when checking if a cursor
179         movement has been done
180
181         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
182         (setCursor, setCursorIntern): fix cursor movement with boundary
183
184 2005-07-16  Juergen Vigna  <jug@lyx.org>
185
186         * text.C (currentState): output the actual Boundary
187
188 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
189
190         * factory.C (createInset): fix bad logic for tabular creation
191
192 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
193
194         * lyx_main.C (init): change some reLyX reference to tex2lyx
195
196 2005-07-16  Juergen Vigna  <jug@lyx.org>
197
198         * dociterator.C (DocIterator): initialize boundary
199
200 2005-07-16  Juergen Vigna  <jug@lyx.org>
201
202         * text2.C (getColumnNearX): Consider rows without trailing blank.  
203
204 2005-07-16  André Pönitz  <poenitz@gmx.net>
205
206         * lyxfont.h: Change order of declarations to give the compiler
207         a better chance to inline things
208
209         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
210         questions on unsaved docs for better scritability
211
212 2005-07-16  André Pönitz  <poenitz@gmx.net>
213
214         * paragraph.h (getChar): remove asserts as the same kind of security
215         can be achieved by using a suitable standard library implementation
216         and the function was in the critical path (25.9% in profiler)
217
218 2005-07-16  Juergen Vigna  <jug@lyx.org>
219
220         * cursor.C (bruteFind2):
221         * bufferview_funcs.C (coordOffset): 
222         * text.C (cursorX,cursorY): Handle cursor position after last char
223         in row before a inset which uses a whole row.
224
225 2005-07-15  José Matos <jamatos@lyx.org>
226
227         * output_plaintext.[Ch] (writeFileAscii): control reference title
228         printing.
229         (asciiParagraph): noparbreak was already deal and was incorrectly
230         used.
231
232 2005-07-15  Juergen Vigna <jug@lyx.org>
233
234         * lyxfunc.C (dispatch): save and restore the cursor after a
235         textclass switch.
236
237 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
238
239         * text.C (backspace): bug 806 for empty keepempty paragraphs we
240         change the layout to default before letting DEPM do its thing.
241
242         * paragraph_funcs.C (breakParagraph): dont reset the layout on
243         keepEmpty paragraphs
244
245         * text.C (setCursorFromCoordinates): add a debug statement
246
247         * text2.C (getColumnNearX): bug 1825 make sure that we don't
248         return a pos that is not on the row
249
250         * output_latex.C (TeXDeeper): get rid of potential dereferencing
251         of past the end iterator
252
253 2005-07-14  André Pönitz  <poenitz@gmx.net>
254
255         * undo.C (recordUndoFullBuffer): implement undo for
256         textclass switches
257
258 2005-07-14  André Pönitz  <poenitz@gmx.net>
259
260         * cursor.C (setSelection): open insets when selection is set there
261         to avoid crashs with cold coord cache
262
263 2005-07-14  André Pönitz  <poenitz@gmx.net>
264
265         * trans_mgr.C (insert): move cursor to the right after inserting
266         a char.
267
268 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
269
270         * BufferView_pimpl.C (update): dampen some of the debug blabbering
271         * factory.C (readInset): ditto
272         * text.C, text2.C: ditto
273
274 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
275
276         * buffer.C: format incremented to 242. There is no file format per
277         se, but the "frenchb" language has been removed from lib/language
278         and has to be translated to "french" by lyx2lyx.
279
280 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
281
282         * cursor_slice.h, dociterator.h: add some documentation
283         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
284
285 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
286
287         * text.C (leftMargin): do not add identation to display() style
288         insets, because they are always centered (bug 1293).
289
290 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
291
292         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
293         formatted_time methods in support/lyxtime.
294
295 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
296
297         * toc.[Ch]: new method getGuiName, which is used by the frontends 
298         to set the toc combo (fixes bug 1870). Make TOC string translatable.
299
300 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
301
302         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
303         StableDocIterator const &)
304         * undo.C (recordUndo): use the above instead of cell.size() comparison
305         (fixes bug 1808; instructed by Andr�.
306
307 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
308
309         * cursor_slice.h: 
310         * dociterator.h: Fix the assert when copying rows/cols in math
311
312 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
313
314         * BufferView_pimpl.C:
315         * LyXAction.C:
316         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
317
318         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
319         (findInset): new functions, refactored from goto Inset that return 
320         the position of a certain inset without setting the buffer's cursor
321         (by Jean-Marc); 
322         (gotoInset): rewrite to call findInset and then set the cursor
323         (by Jean-Marc).
324
325 2005-06-16  Angus Leeming  <leeming@lyx.org>
326
327         * lyxrc.C (output, read): wrap all input and output of paths with
328         calls to os::internal_path and os::external_path, respectively.
329         (output): wrap bind_file inside quotes.
330
331         * format.C (view): enable the viewer to use the '$$s' placeholder.
332
333 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
334
335         * LColor.[Ch] (getFromLaTeXName): new
336
337 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
338
339         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
340
341 2005-06-14  Angus Leeming  <leeming@lyx.org>
342
343         * lyx_main.C (init): ensure that the LyX binary dir is the first
344         element in the PATH on non-POSIX builds.
345
346 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
347
348         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
349
350 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
351
352         * rowpainter.C (paintInset, paintHebrewComposeChar)
353         (paintArabicComposeChar, paintChars): add a LyXFont argument.
354         (paintChars): use getFontSpan to reduce calls to getFont to a
355         minimum; use Paragraph::lookupChange instead of isXXXText.
356         (paintForeignMark): rename LyXFont argument.
357         (paintFromPos): pass a LyXFont object to the various paintXXX
358         methods.
359
360         * FontIterator.C (FontIterator, operator++): use
361         Paragraph::getFontSpan
362
363         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
364         version that returns the font span as a pair.
365
366 2005-06-09  Angus Leeming  <leeming@lyx.org>
367
368         * converter.C (convert): Don't forget "outfile = real_outfile" as
369         the final step in a conversion where the input and output file names
370         are the same. Otherwise, future conversion steps won't work...
371
372 2005-06-09  Angus Leeming  <leeming@lyx.org>
373
374         * lyxsocket.C: remove stub code as it isn't needed by
375         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
376
377 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
378
379         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
380         effectively disabled -x
381
382 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
383
384         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
385         when it actually makes sense.
386
387 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
388
389         * BufferView_pimpl.C: revert to showCursor in connection with
390         Lars's front-end stack
391
392 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
393
394         * text.C (redoParagraph): move cursor right after a bibitem
395         has been inserted.
396
397         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
398
399 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
400
401         * buffer_funcs.C (bufferErrors): fix computation of the end of an
402         error range.
403
404 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
405
406         * BufferView.[Ch] (update):
407         * BufferView_pimpl.[Ch] (update, metrics):
408         * dimension.h (operator==):
409         * lyxfunc.C (dispatch):
410         * metricsinfo.h (ViewMetricsInfo):
411         * rowpainter.C (paintText):
412         * lyxtext.h:
413         * text.C (redoParagraph):
414         * text3.C (dispatch): Make LyX only repaint current paragraph in
415         case of character insert --> speedup. Also fix cursor draw
416         artifacts
417
418 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
419
420         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
421         avoid a crash (bug 1891)
422
423 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
424
425         Fix bug 1892:
426
427         * text2.C (getStringToIndex): constify cur argument.
428
429         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
430         argument has been given
431         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
432         try to invoke LFUN_INSET_APPLY).
433
434         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
435         if no inset was created by doInsertInset
436         (doInsertInset): return true if an inset has been inserted.
437
438 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
439
440         * vspace.C (asGUIName): new method. A version of the space
441         suitable for showing on screen.
442
443 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
444
445         * MenuBackend.C:
446         * lyxrc.C: rename "ASCII" to "Plain Text"
447
448 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
449
450         * buffer_funcs.C (expandLabel): take a Buffer as argument;
451         translate the labelstring.
452         (setCounter): translate labelstring as needed.
453
454         * output_docbook.C (makeCommand): fix expandLabel invokation
455
456 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
457
458         * BufferView.C: fix dialog title
459
460 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
461
462         * lyx_main.C (priv_exec): fix logic error with help from Angus
463         * lyx_main.C (parse_execute): set is_gui = false and remove now
464         obsolete comment about a segfault
465
466 2005-05-18  Angus Leeming  <leeming@lyx.org>
467
468         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
469
470 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
471
472         * tabular.[hC]: added setCellInset to fix tabular paste.
473
474 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
475
476         * buffer.C (save): check if destination is writable before trying
477         to copy a file
478
479 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
480
481         * BufferView_pimpl.C (update): fix processEvents -caused update
482         recursion bug
483
484 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
485
486         * buffer_funcs.C (setCounter): fix test for numbering of
487         environments.
488
489         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
490         depth correctly; use optional argument when it exists
491
492         * lyxtextclass.C: remove unused MaxCounterTags enum
493         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
494         (max_toclevel, min_toclevel): new methods.
495
496         * MenuBackend.C (expandToc2): fix case where depth is smaller than
497         the smallest depth in toc.
498
499         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
500         layouts that should not appear in a table of contents.
501
502 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
503
504         * cursor.h (undispatched, noUpdate): add comments from Andr�
505 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
506
507         * lfuns.h:
508         * LyXAction.C:
509         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
510
511 2005-05-07  André Pönitz  <poenitz@gmx.net>
512
513         * cursor.[Ch] (leaveInset): new function
514
515 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
516
517         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
518
519 2005-05-04  Angus Leeming  <leeming@lyx.org>
520
521         * lyxfunc.C (getStatus): disable the spell checker dialog if
522         none of USE_[AIP]SPELL are defined.
523
524 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
525
526         * tabular.C (setWidthOfCell): remove obsolete comment
527
528 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
529
530         * paragraph.C (bibitem):
531         * buffer_funcs.C (setCounter):
532         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
533
534 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
535
536         * text3.C (getStatus): immediately return after setOnOff
537
538         * rowpainter.C: fix drawing of appendix start
539
540 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
541
542         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
543         SwitchBetweenClasses and remove the unused return value.
544         Handle character styles, too
545
546 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
547
548         * factory.C (createInset): handle undefined character styles
549
550 2005-05-02  Angus Leeming  <leeming@lyx.org>
551
552         * buffer.C: protect the #include of utime.h with a preprocessor
553         guard.
554
555 2005-05-02  Angus Leeming  <leeming@lyx.org>
556
557         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
558         function so that auto-saving works, albeit in a blocking manner.
559
560         * Makefile.am: make compilation of the client sub directory, of
561         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
562         on conditionals set at configure time.
563
564         * SpellBase.[Ch]: no longer an abstract base class. Instead,
565         it can be compiled in its own right but has no-op functionality.
566
567         * aspell.C, pspell.C: remove preprocessor guards. The files should
568         be compiled only if the necessary functionality exists.
569
570         * lyxserver.C, lyxsocket.C: disable on Windows.
571
572 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
573
574         * text.C (leftMargin): Fix the parindent use bug (1764)
575         by dirty trick
576
577 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
578
579         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
580         argument.
581
582 2005-04-25  Angus Leeming  <leeming@lyx.org>
583
584         * Bidi.[Ch]:
585         * coordcache.[Ch]:
586         * ispell.C:
587         * lyxserver.C:
588         * mover.C:
589         * pch.h:
590         include <config.h> in .C files, not .h ones.
591         add licence blurb.
592         protect headers inside preprocessor guards.
593
594 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
595
596         * FuncStatus.h (StatusCodes): document
597
598 2005-04-21  André Pönitz  <poenitz@gmx.net>
599
600         * FuncStatus.h (enabled, onoff): document
601
602 2005-04-19  Angus Leeming  <leeming@lyx.org>
603
604         * BufferView_pimpl.C (cursorToggle): no longer test whether
605         any child processes have been reaped before calling
606         handleCompletedProcesses().
607
608 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
609
610         * text3.C (dispatch): fix, finally fix, the language problem in
611         new lyxtexts, without disabling on-the-fly font changes (Helge's
612         bug report)
613
614 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
615
616         * text3.C (dispatch): set cursor on double/triple click events
617         (bug 1811)
618
619 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
620
621         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
622         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
623
624         * rowpainter.C (paintFirst): simplify the code a little bit. In
625         particular, remove the test for secnumdepth.
626         * text.C (setHeightOfRow): only allocate space for chapter number
627         when updateCounters provided an actual label, instead of looking
628         at secnumdepth directly.
629
630         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
631
632         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
633         paragraphs when secnumdepth is large enough or, for environments,
634         when they are not the first in a sequence.
635
636 2005-04-17  Angus Leeming  <leeming@lyx.org>
637
638         * buffer.C (makeLaTeXFile): replace code to manipulate a path
639         containing space and '~' characters with a call to latex_path().
640
641 2005-04-17  Angus Leeming  <leeming@lyx.org>
642
643         * converter.C (convert): protect all args of convertDefault.sh
644         script with quotes.
645
646 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
647
648         * text3.C (dispatch): change the layout to "Caption" after inserting
649         a float.
650
651 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
652
653         * text3.C (dispatch): fix language problem in newly created
654         textinsets (and main text) in non-english docs
655
656 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
657
658         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
659         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
660         * text3.C (getStatus): disable LFUN_INSET_MODIFY
661
662 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
663
664         * lyxtext.h:
665         * text.C (metrics):
666         * text2.C (getFont):
667         * rowpainter.C (getFont): Fix metrics bug introduced by inset
668         fonts fix
669
670 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
671
672         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
673         output of \item arguments without trailing text.
674
675 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
676
677         * FontIterator.C (operator*): avoid a copy of the font.
678
679 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
680
681         * rowpainter.C (getFont): fix language bug from previous fix
682
683 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
684
685         * rowpainter.C (RowPainter, getFont): fix font inside inset
686         (bugs 1766, 1809)
687
688 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
689
690         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
691         preventing inserted font, deco, delim insets jumping to start of
692         surrounding inset.
693
694 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
695
696         * lyxfunc.C (dispatch): translate message before sending it to the
697         minibuffer.
698
699 2005-03-29  Angus Leeming  <leeming@lyx.org>
700
701         * lyx_main.C (priv_exec): call os::internal_path on each file passed
702         to LyX on the command line.
703
704 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
705
706         * vc-backend.C: use QuoteName to protect file names wherever
707         necessary.
708
709 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
710
711         * buffer.[Ch]:
712         * BranchList.h: fix bugs 1844,1845: document settings don't
713         stick
714
715 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
716
717         * lyxrc.C (setDefaults, read, output, getDescription): add support
718         for tex_allows_spaces.
719
720         * exporter.C (Export): allows files in directory containing spaces
721         if tex_allows_spaces is true.
722
723         * buffer.C (makeLaTeXFile): if the document path contains spaces,
724         output it in double quotes.
725
726 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
727
728         * rowpainter.C: use default text height for drawing change tracker
729         strikeout lines.
730
731 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
732
733         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
734
735 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
736
737         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
738         directory is missing.
739
740 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
741
742         * text2.C: fixed the fix, extended to other case.
743
744 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
745
746         * text2.C: fix for cursor up/down stuck in math [bug 1792]
747
748 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
749
750         * text2.C (cursorUp): get rid of a crash
751         * text.C (x2pos): add an assert
752
753 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
754
755         * lyxfunc.C (getStatus): fix warning when assertions are disabled
756
757         * text3.C:
758         * lyxfunc.C:
759         * dociterator.C: include <boost/current_function.hpp>, which is
760         needed when assertions are disabled.
761
762 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
763
764         * text2.C: fix for stuck cursor when traversing two
765         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
766
767 2005-02-25  Andreas Vox  <avox@arcor.de>
768
769         * output_docbook.C (makeParagraph): suppress trailing newline
770         after a run of paragraphs
771
772 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
773
774         * paragraph.C: fix for confused change tracker when pasting
775         text that begins with a lineseparator. [bug 1827]
776         (setChange(0, Change::INSERTED);)
777
778         * paragraph_funcs.C: fix for lost changes on triple-paste
779         in change tracking mode [bug 1827] (par.setChange()).
780
781 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
782
783         * text2.C (updateCounters, setCounter, expandLabel): move to
784         buffer_funcs.
785
786         * buffer_funcs.C (updateCounters): turn into a free standing
787         function and add a buffer parameter. Remove dead code for tracking
788         labelstring change.
789         (setCounter): change into a free-standing function which gets a
790         dociterator as argument. Use this iterator to fix captions in a
791         simple way. When no float is found above the caption, use the
792         labelstring of the caption layout as default.
793
794         * text.C (breakParagraph, backspace):
795         * text2.C (init, setLayout, changeDepth):
796         * text3.C (dispatch):
797         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
798         updateCounters.
799
800         * dociterator.C (forwardPar): make it much faster by calling
801         forwardPos() only when really necessary.
802
803         * output_docbook.C (makeCommand): adapt to expandLabel move.
804
805         * cursor.C: remove unused variable
806
807 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
808
809         * paragraph_funcs.C: fix crash when pasting insets in change
810         tracking mode [bug 1277] (honour change type in moveItem).
811
812 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
813
814         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
815
816 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
817
818         * BufferView.C (setCursor): change to use a DocIterator.
819         (gotoLabel): use BufferView::setCursor (other part of bug 781).
820         (putSelectionAt): adapt to BufferView::setCursor change.
821
822         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
823         moved here from LyXText and rewritten to use proper cursor
824         methods. Fixes bug 1787, 616 and 835.
825
826         * BufferView_pimpl.C (restorePosition): set the cursor correctly
827         when inside an inset (part of bug 781).
828         (dispatch): adapt to change of BufferView::setCursor.
829         (getStatus, dispatch): handle LFUN_GOTOERROR,
830         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
831
832         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
833         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
834         * text3.C (gotoNextInset, gotoInset): removed.
835
836 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
837
838         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
839
840 2005-02-15  Angus Leeming  <leeming@lyx.org>
841
842         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
843         can be used meaningfully in a comparison.
844
845 2005-02-13  André Pönitz  <poenitz@gmx.net>
846
847         * bufferview_funcs.C (coordOffset): improve cursor drawing
848
849 2005-02-13  André Pönitz  <poenitz@gmx.net>
850
851         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
852         * Cursor.C (dispatch): use fixIfBroken
853         * lyxfunc.C (getStatus): use fixIfBroken
854
855 2005-02-15  Angus Leeming  <leeming@lyx.org>
856
857         * lyx_main.C (error_handler):
858         * lyxfunc.C:
859         * lyxrc.C (setDefaults):
860         s/GetEnv/getEnv/.
861         #include "environment.h".
862
863         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
864
865 2005-02-15  Angus Leeming  <leeming@lyx.org>
866
867         * lyxserver.C (startPipe): squash MSVC warning "local variable
868         'fd' used without having been initialized".
869
870 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
871
872         * BufferView_pimpl.C: revert accidental commit.
873
874 2005-02-14  André Pönitz  <poenitz@gmx.net>
875
876         * dociterator.[Ch]: new member forwardPosNoDescent(),
877         which doesn't enter nested insets.
878         * text2.C (setFont): use forwardPosNoDescent() instead
879         of ForwardPos() (fixes crash on font change).
880
881 2005-02-13  Angus Leeming  <leeming@lyx.org>
882
883         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
884         only if lyxrc.path_prefix is not empty.
885
886 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
887
888         * bufferparams.C (readGraphicsDriver): prevent crash
889
890 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
891
892         * text2.C (setCounter): check for inInset() == 0
893
894 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
895
896         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
897         but use update() to get correct screen display; use convert
898         instead of istringstream.
899         (getStatus): handle LFUN_GOTO_PARAGRAPH
900
901         * lyxfunc.C (dispatch, getStatus): do not handle
902         LFUN_GOTO_PARAGRAPH here.
903
904 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
905
906         * text3.C (dispatch): size() -> depth()
907
908         * text2.C: remove some debug output
909
910         * paragraph.C: ws changes only
911
912         * lyxfunc.C (getStatus): size() -> depth()
913
914         * dociterator.h (clear, push_back, pop_back, internalData,
915         operator[], resize, empty): new functions
916         Make StableDocIterator and operator== be friends. Don't inherit
917         from std::vector use a privat class variable slices_ instead.
918         Modify to fit.
919
920         * dociterator.C: update because of not inheriting from std::vector
921         anymore. Call explictly to slices_ instead. Use depth() instead of
922         size() and top() instead of back()
923
924         * cursor.C: chagne size() -> depth and back() -> top(). Also
925         remove some direct operator[](i) calls in favour of foo[i]
926         (getFont): remove some dead code
927
928         * bufferview_funcs.C (coordOffset): size() -> depth()
929
930         * buffer.C: ws changes only
931
932         * CutAndPaste.C (eraseSelection): back() -> top()
933
934         * BufferView_pimpl.C (selectionRequested): back() -> top()
935
936         * BufferView.C (setCursor): size() -> depth()
937
938 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
939
940         * text3.C (cursorPrevious): return true if depm changed something
941         (cursorNext): ditto
942         (dispatch): rename sl to oldTopSlice, remove moving use the new
943         NoUpdate func attrib instead. Make sure that needsUpdate is set
944         for function that have NoUpdate, but where depm might have changed
945         the buffer anyway.
946
947         * text2.C (cursorLeft): make us return true if depm changed
948         something
949         (cursorRight): ditto
950         (cursorUpParagraph): ditto
951         (curosrDownParagraph): ditto
952         (cursorUp, cursorDown): ditto, make sure to read comments in code
953         (deleteEmptyParagraphMechanism): remove an assert, also return
954         true if just a single char was deleted.
955
956         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
957         cursor that we modify, to avoid modifying an active cursor before
958         we call setCursor. This allows depm to run. Also return true if
959         depm deleted something.
960
961         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
962         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
963         cursorDownParagraph, cursorPrevious and cursorNext, return true if
964         something was changed in the buffer because of them (ie. depm run)
965
966         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
967         debug messages. Make update by default be false. Make sure that
968         the result of update is retained throught several calls down to
969         dispatch.
970
971         * LyXAction.h: add a new func_attrib: NoUpdate
972
973         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
974         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
975         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
976         and LFUN_WORDLEFT
977         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
978
979 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
980
981         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
982         bv_->owner(), bv_->buffer() by direct references to the private
983         members.
984         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
985         (getStatus): isSavedPosition() is in BufferView::Pimpl.
986         (fitCursor): center() is in BufferView::Pimpl.
987         (getStatus, trackChanges, dispatch): no need for a temporary buf
988         variable
989         (fitCursor, workAreaDispatch): use workarea().workheight()
990
991 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
992
993         * CutAndPaste.C (pasteSelectionHelper): fix a crash
994
995 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
996
997         * buffer.C: format up to 241.
998         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
999         break if pasting into ERT
1000         * lyxfunc.C (getStatus): suppress mathpanel and
1001         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1002
1003 2005-02-01  Angus Leeming  <leeming@lyx.org>
1004
1005         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1006
1007 2005-02-01  Angus Leeming  <leeming@lyx.org>
1008
1009         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1010         calling fs::is_directory().
1011
1012 2005-01-31  Angus Leeming  <leeming@lyx.org>
1013
1014         * lyx_main.C (priv_exec): specify explicitly the relative location
1015         of the top level build directory when run in-place.
1016
1017 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1018
1019         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1020         LyXText containing the cursor, not the top-level one.
1021
1022         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1023         true.
1024         (insertStringAsLines): rename par to pit; use temporary variable
1025         par to hold a Paragraph; do not store par.layout() in a variable,
1026         since the pointer may die when breaking paragraphs; pass pars to
1027         breakParagraph() instead of Buffer::paragraphs().
1028
1029 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1030
1031         * lyxlex_pimpl.h: #include <fstream>.
1032
1033         * BufferView.[Ch] (getLyXText): add a const version.
1034
1035         * BufferView_pimpl.C: add debug aids.
1036
1037         * RowList_fwd.h:
1038         * buffer.h:
1039         * lyxrow.h:
1040         * paragraph_funcs.h: add commentary explaining what the class does.
1041
1042
1043         * coordcache.[Ch]: add lots of commentary.
1044         (startUpdating, doneUpdating): debug aids.
1045         (arrays, insets, parPos, getParPos): accessors to private data.
1046
1047         * cursor_slice.[Ch] (text): add a const version.
1048         * dociterator.[Ch] (text, innerText): add const versions.
1049
1050         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1051         bool.
1052
1053         * paragraph.C (getRow, pos2ros): add asserts.
1054
1055         * paragraph.h: add commentary. Lots of.
1056
1057         * paragraph.[Ch] (metrucs, draw): removed.
1058
1059         * cursor.C:
1060         * rowpainter.[Ch]: const-correct changes.
1061
1062         * text.C: various obvious clean-ups. Removal of ancient cruft.
1063         Bug fixes, even.
1064
1065 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1066
1067         * vc-backend.C (find_file): rewrite to use boost.filesystem
1068         (scanMaster): ditto
1069
1070         * main.C (main): set default name check for boost.filesystem to
1071         no check
1072
1073         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1074         (open): ditto
1075         (doImport): ditto
1076         (actOnUpdatedPrefs): ditto
1077
1078         * lyx_main.C (init): rewrite to use boost.filesystem
1079         (queryUserLyXDir): ditto
1080
1081         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1082         (getContentsOfAsciiFile): ditto
1083
1084         * lastfiles.C (readFile): rewrite to use boost.filesystem
1085
1086         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1087
1088         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1089         (loadLyXFile): ditto
1090
1091         * buffer.C (Buffer): adjust for destroydir
1092         (getLogName): rewrite to use boost.filesystem
1093         (setFileName): ditto
1094         (save): use fs::copy_file (from fs_extras)
1095
1096         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1097
1098         * LaTeX.C (run): rewrite to use boost.filesystem
1099         (scanAuxFiles): ditto
1100         (handleFoundFile): ditto
1101
1102 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1103
1104         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1105
1106         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1107
1108 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1109
1110         * lyxlayout.[Ch]: change some vars from float to double
1111
1112         * buffer.C (readFile): make a local var const
1113
1114         * Several files: use convert<> instead of atoi,strToXXX and friends
1115
1116 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1117
1118         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1119         holds the contents of packages.lst. New functions getAvailable
1120         and isAvailable to parse and check that list, resp.
1121
1122         * LyXAction.C:
1123         * lfuns.h:
1124         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1125
1126         * bufferparams.[Ch]: new param output_changes.
1127
1128         * Buffer.C: increase file format to 240.
1129         Use output_changes and isVailable.
1130
1131         * changes.[Ch]:
1132         * paragraph.C:
1133         * paragraph_pimpl.C: Use output_changes and isVailable.
1134
1135 2005-01-23  Angus Leeming  <leeming@lyx.org>
1136
1137         * output_latex.C: #include "insetbibitem.h", rather than
1138         forward declare function bibitemWidest.
1139
1140 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1141
1142         * lyx_main.C (init): make it compile on the Mac.
1143
1144 2005-01-20  Angus Leeming  <leeming@lyx.org>
1145
1146         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1147         (setLyXMisc): (char string literal) != (char string literal) is
1148         performing a comparison on the addresses. Convert one operand
1149         explicitly to string to guarantee expected behaviour.
1150         From MSVC warning.
1151
1152 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1153
1154         * buffer.C:
1155         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1156
1157         * output_plaintext.C: remove unneeded #include gzstream.h.
1158
1159 2005-01-20  Angus Leeming  <leeming@lyx.org>
1160
1161         * SpellBase.h: rename some of the elements of the Result enum.
1162
1163         * aspell_local.h:
1164         * ispell.h:
1165         * pspell.h:
1166         * aspell.C (check):
1167         * ispell.C (check):
1168         * pspell.C (check): ditto
1169
1170 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1171
1172         * buffer.C: add #include <fstream>.
1173
1174         * lyx_main.C (init): Compile fix.
1175
1176         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1177
1178 2005-01-20  Angus Leeming  <leeming@lyx.org>
1179
1180         * mover.h: change commentary to reflect the changed meaning of
1181         the $$s placeholder.
1182
1183 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1184
1185         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1186
1187         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1188
1189 2005-01-20  Angus Leeming  <leeming@lyx.org>
1190
1191         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1192         printing diagnostic data by not dereferecing an iterator past the
1193         end.
1194
1195 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1196
1197         * buffer.C (readHeader): use "&&" rather than "and".
1198
1199         * lyxserver.h (inPipeName, outPipeName): make these const.
1200
1201 2005-01-19  Angus Leeming  <leeming@lyx.org>
1202
1203         * lyx_main.C (error_handler, init): protect SIGHUP with
1204         #ifdef SIGHUP guards.
1205
1206 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1207
1208         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1209
1210 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1211
1212         * text.C (setHeightOfRow): add a margin at the top and bottom of
1213         the document (bug 1761)
1214
1215 2005-01-17  Angus Leeming  <leeming@lyx.org>
1216
1217         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1218         with "python ". Workaround for a brain-dead Windows.
1219
1220 2005-01-16  Angus Leeming  <leeming@lyx.org>
1221
1222         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1223         for MacOSX and Windows to use prependEnvPath.
1224         Strip out the hard-coded block to add elements to the PATH for
1225         MacOSX and replace it with a call to prependEnvPath using the
1226         contents of LyXRC::path_prefix.
1227         (queryUserLyXDir): strip out the code to run reconfigure, instead
1228         returning a boolean indicating the necessity to do so.
1229         (reconfigureUserLyXDir): contains the code to reconfigure the
1230         user support directory. Is now called after the various LyXRC data
1231         files have been read.
1232
1233         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1234
1235 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1236
1237         * converter.[Ch] (convert): take a new parameter try_default. Use
1238         a default converter (imagemagick) if try_default is true.
1239
1240 2005-01-13  Angus Leeming  <leeming@lyx.org>
1241
1242         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1243         os::cygwin_path_fix.
1244         (write): output LyXRC::cygwin_path_fix as necessary.
1245
1246 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1247
1248         * lyxrc.h:
1249         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1250
1251 2005-01-12  Angus Leeming  <leeming@lyx.org>
1252
1253         * lyx_main.C (init): set the PATH variable to include the
1254         directory containing the LyX binary when running on Mac or Windows.
1255
1256 2005-01-12  Angus Leeming  <leeming@lyx.org>
1257
1258         * lyx_main.C (init): remove cruft that purports to set the locale
1259         dir. It doesn't and is not needed anyway.
1260
1261 2005-01-10  Angus Leeming  <leeming@lyx.org>
1262
1263         * Makefile.am: remove the lyx_main.C special casing.
1264
1265         * BufferView_pimpl.C:
1266         * bufferlist.C:
1267         * exporter.C:
1268         * lyx_cb.C:
1269         * lyx_main.C:
1270         * lyxfunc.C:
1271         * messages.C: use support/package.h to provide the paths to the
1272         various directories used by LyX.
1273
1274 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1275
1276         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1277         layout if pasting into an empty paragraph)
1278
1279 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1280
1281         * tex-accent.C: add <string>
1282
1283 2005-01-06  José Matos  <jamatos@lyx.org>
1284
1285         * ParagraphParameters.C (write): put every parameter in its own line.
1286         * paragraph.C (write): reduce number of consecutive empty lines exported.
1287         * buffer.C (LYX_FORMAT): increase file format to 239.
1288
1289 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1290
1291         * everywhere: change support/tostr.h -> support/convert.h
1292
1293         * tabular.C: make all write_attributes templates, tostr -> convert
1294
1295         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1296         (emptyTag): and -> &&, and fix type for ret from getChar
1297         (getFirstWord): fix type for ret from getChar
1298         (onlyText): and -> &&
1299         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1300         getChar
1301
1302         * toc.C (goTo, action):
1303         * text3.C (dispatch):
1304         * text.C (currentState):
1305         * tex-accent.C (DoAccent):
1306         * sgml.C:
1307         * lyxrc.C:
1308         * lyxfunc.C (menuNew):
1309         * lyxfinc.C (replace):
1310         * counters.C (laberItem):
1311         * bufferview_funcs.C (font2string):
1312         * bufferparams.C (writeFile):
1313         * buffer.C (readFile):
1314         * Spacing.C (set):
1315         * MenuBackend.C: tostr -> convert
1316
1317         * LaTeX.C (runMessage): fix format
1318         (scanAuxFiles): tostr -> convert
1319
1320         * BufferView_pimpl.C (savePosition): fix format
1321         (restorePosition): ditto
1322         (dispatch): ditto
1323
1324 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1325
1326         * Spacing.[Ch]: New method getValueAsString().
1327
1328         * Spacing.[Ch]:
1329         * bufferparams.C:
1330         * ParagraphParameters.C:
1331         * lyxlayout.C:
1332         * text.C:
1333         * text3.C: store/read spacing value as string.
1334
1335         * rowpainter.C: change float value (spacing_val) to double.
1336
1337         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1338         broken custom document spacing).
1339
1340 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1341
1342         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1343         namespace, also more use of temp references and const
1344
1345         * cursor.[Ch] (getStatus): move to lyxfunc.C
1346
1347         * bufferparams.C: reformat slightly
1348
1349         * bufferview_funcs.C (font2string): constify arg
1350
1351         * changes.C:
1352         * converter.C:
1353         * counters.C:
1354         * bufferlist.C:
1355         * buffer_funcs.C: (many funcs): constify arg on function
1356         definitions, also make more local vars const, also add ASSERTS on
1357         pointer args.
1358
1359         * buffer.C (LYX_FORMAT): put const in correct place
1360         (many funcs): constify arg on function definitions, also make
1361         more local vars const
1362
1363         * aspell_local.h: remove "struct" from typdef setup
1364
1365         * aspell.C (check): make word_ok const
1366         (nextMiss): simplify slightly
1367         (error): ditto
1368
1369 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1370
1371         * lyxrc.[Ch]: store all float values as strings.
1372         use int (not float) for lyxrc.dpi.
1373
1374 2005-01-04  Angus Leeming  <leeming@lyx.org>
1375
1376         * lyx_cb.C (Reconfigure):
1377         * lyx_main.C (queryUserLyXDir):
1378         to run the <system_lyxdir>/configure correctly on Windows, prefix
1379         the path to the script with "sh " when generating the string that
1380         is passed to system().
1381
1382 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1383
1384         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1385
1386 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1387
1388         * lyxlength.C (asLatexString): get rid of setprecision
1389
1390 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1391
1392         * text2.C (setLayout): remove unused variable endpit.
1393         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1394
1395         * paragraph.C (onlyText): remove unused variable style.
1396
1397         * cursor.C (bruteFind): remove unused variables beg and end.
1398
1399         * Makefile.am (dist_noinset_DATA): not needed anymore
1400
1401         * cheaders/*: remove.
1402
1403 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1404
1405         * text3.C: fix LFUN_MATH_MODE.
1406
1407 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1408
1409         * buffer_funcs.C (countWords): new function. Counts words between
1410         two iterators.
1411
1412         * BufferView_pimpl.C (getStatus, dispatch): handle
1413         LFUN_WORDS_COUNT.
1414
1415         * LyXAction.C (init):
1416         * lfuns.h: add LFUN_WORDS_COUNT.
1417
1418 2004-12-19  Angus Leeming  <leeming@lyx.org>
1419
1420         * buffer.C (save): s/slashify_path/internal_path/.
1421
1422 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1423
1424         * lyxfind.C (findChange): do not search for end of pars, because
1425         the change tracker cannot handle this (fixes bug 1719).
1426
1427 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1428
1429         * paragraph.[Ch] (autoBreakRows): remove
1430
1431         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1432
1433         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1434         avoid using the paragraph one
1435
1436         * text2.C (LyXText, insertStringAsLines): adjust
1437
1438 2004-12-16  Angus Leeming  <leeming@lyx.org>
1439
1440         * bufferlist.C:
1441         * lyx_main.C:
1442         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1443
1444 2004-12-14  Angus Leeming  <leeming@lyx.org>
1445
1446         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1447
1448         * bufferlist.C (emergencyWrite):
1449         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1450         GetEnvPath("HOME").
1451
1452 2004-12-14  Angus Leeming  <leeming@lyx.org>
1453
1454         * main.C: (main): no longer pass pointers to os::init.
1455
1456 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1457
1458         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1459         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1460
1461 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1462
1463         * lyxfunc.C:
1464         * text3.C: remove selection_possible global flag
1465
1466 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1467
1468         * text2.C (getSelectionSpan): remove
1469         (changeDepth, changeDepthAllowed): adjust
1470
1471 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1472
1473         * Makefile.am (BOOST_LIBS): use boost variables
1474
1475 2004-12-03  José Matos  <jamatos@lyx.org>
1476
1477         * buffer.C: format up to 238.
1478
1479 2004-12-03  José Matos  <jamatos@lyx.org>
1480
1481         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1482
1483 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1484
1485         * cursor.C (goUpDown): remove call to idxUpDown2
1486
1487 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1488
1489         * tabular.[Ch]: use size_t-like types for cell, row and column
1490         indices
1491
1492 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1493
1494         * lyxfunc.C (getStatus): do not lose previous information when
1495         calling BufferView::getStatus; do not set a default "Command
1496         disabled" message at the beginning, but just before returning.
1497
1498 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1499
1500         * cursor.h (getStatus): add better comment from src/cursor.C
1501
1502 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1503
1504         * text3.C (getStatus): return false when the lfun is not handled
1505
1506 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1507
1508         * broken_headers.h: remove
1509
1510         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1511
1512 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1513
1514         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1515         offset_ref accessors
1516
1517         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1518         top_y_, merge fitcursor with update
1519         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1520         coord scheme
1521         (metrics): introduce
1522         (workAreaDispatch): adapt to new coord scheme
1523         (redoCurrentBuffer): remove
1524
1525         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1526
1527         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1528         CurStatus enum.
1529
1530         * coordcache.[Ch]: add paragraph cache and helpers
1531
1532         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1533         adjust everywhere
1534
1535         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1536         (targetX, setTargetX): introduce
1537
1538         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1539         baseline -> ascent, as the rest of lyx
1540
1541         * lyxtext.h: remove redoParagraphs, updateParPositions,
1542         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1543         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1544         have ascent/descent (ascent is ascent of first par)
1545
1546         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1547         step of BufferView
1548
1549         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1550
1551         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1552
1553         * pariterator.C: fix infinite loop introduced in par->pit renaming
1554
1555         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1556         in insets and LyXText, draw two off-screen paragraphs using
1557         NullPainter, and adapt to new coord scheme
1558
1559         * text.C:
1560         * text2.C:
1561         * text3.C: adapt lfun handlers to the new coord scheme, which
1562         means: there's only guaranteed coord information for onscreen pars
1563         plus one above and one below. This implies that one can do search
1564         from y coordinates in the range [-1,workHeight]
1565
1566 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1567
1568         * rename a lot of InsetOld to InsetBase
1569
1570 2004-11-25  Angus Leeming  <leeming@lyx.org>
1571
1572         * BufferView_pimpl.C:
1573         * lyx_cb.C:
1574         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1575
1576 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1577
1578         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1579         call BufferView::getStatus if LCursor::getStatus did nothing
1580         (setStatusMessage, getStatusMessage): removed.
1581
1582         * FuncStatus.C (message): new methods. Used to provide an error
1583         message indicating why a command is disabled.
1584         (clear, |=, FuncStatus): update for message.
1585
1586 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1587
1588         * lyxfunc.C (dispatch): always call sendDispatchMessage
1589
1590 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1591
1592         * BufferView.C:
1593         * BufferView_pimpl.C:
1594         * CutAndPaste.C:
1595         * FontIterator.C:
1596         * buffer.C:
1597         * cursor.C:
1598         * cursor_slice.[Ch]:
1599         * dociterator.[Ch]:
1600         * lyxfind.C:
1601         * paragraph_funcs.C:
1602         * pariterator.C:
1603         * rowpainter.C:
1604         * text.C:
1605         * text2.C:
1606         * text3.C:
1607         * undo.C: par->pit renaming
1608
1609 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1610
1611         * tabular.C (cellstruct): use initialization, store a shared_ptr
1612         to insettext instead of the insettext directly, adjust to fit.
1613         (operator=):  new function
1614         (swap): new function
1615         (rowstruct): use initialization
1616         (columnstruct): use initialization
1617         (ltType): use initialization
1618
1619
1620         * lyxlength.h (swap): new function
1621
1622         * LColor.[Ch] (operator=): use the common semantics
1623
1624 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1625
1626         * lyxfind.C (findNextChange): update the bufferview after setting
1627         the selection.
1628
1629 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1630
1631         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1632         number of InsetOptArgs has already been inserted.
1633
1634         * output_latex.C (latexOptArgInsets): new method. This outputs all
1635         the optarg insets, up to the limit defined in the layout file.
1636         (optArgInset): removed
1637         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1638
1639 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1640
1641         * paragraph.C (isLetter): remove special spellchecker-related
1642         code; return true also for digits
1643         (isWord, isKomma): remove
1644
1645         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1646         * lyxfind.C (MatchString()): use isLetter instead of isWord
1647
1648 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1649
1650         * pariterator.h (operatir=): comment out un-implemented member
1651         function.
1652
1653         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1654         static cast.
1655
1656 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
1657
1658         * lyxfont.h: include LColor.h to satisfy concept checks.
1659
1660 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1661
1662         * pariterator.h: add typdefs for value_type, difference_type,
1663         pointer and reference to satisfy concept checks. Also add default
1664         constructor for same reason.
1665
1666         * pariterator.C (operator++): add post-increment operator to
1667         satisfy concept checks.
1668
1669         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1670         checks.
1671
1672         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1673
1674         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1675         checks. Also rename base_type to BaseType to follow naming
1676         standard better.
1677
1678         * FloatList.h: include Floating.h to satisfy concept checks.
1679
1680 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1681
1682         * lyxfunc.C (getStatus): when the origin of the request is menu or
1683         toolbar, and the LyXView does not have focus, do as if there was
1684         no buffer (bug 1720)
1685
1686         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1687         FuncRequest to individual entries of LFUN_SEQUENCE
1688
1689 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1690
1691         * output_latex.C (TeXOnePar): override runparams.moving_arg
1692         according to the needprotect value of the current paragraph (bug
1693         1739)
1694
1695         * paragraph.C (simpleTeXOnePar): no need to override
1696         runparams.moving_args here
1697
1698 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1699
1700         * vspace.C: fix off-by-one-error, related to fix #1682
1701
1702 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1703
1704         * lengthcommon.C: a more general fix for bug 1682
1705
1706 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1707
1708         * text.C (backspace): fix crash
1709
1710 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1711
1712         * format.[Ch] (getFormatFromFile): new method
1713         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1714
1715 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1716
1717         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1718
1719 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1720
1721         * lyxfunc.C (dispatch): remove the verbose argument
1722         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1723         instead
1724
1725         * kbmap.C (defkey): set the origin of func to KEYBOARD
1726
1727         * MenuBackend.C (MenuItem):
1728         * ToolbarBackend.C (add): set the origin of func to UI
1729
1730         * funcrequest.[Ch]: add origin member, which indicates which part
1731         of LyX requests an action
1732
1733 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1734
1735         * converter.C (move): don't lie in the error message
1736         * converter.h (isReachable, move): document
1737
1738 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1739
1740         * buffer.C: remove unused using lyx::support::atoi
1741         * paragraph_funcs.C: ditto
1742
1743 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1744
1745         * bufferlist.C (exists): use bind and equal_to instead of
1746         compare_memfun
1747         (getBuffer): ditto
1748         * lyxtextclasslist.C (NumberOfClass): ditto
1749
1750         * cursor.C (insert): use for_each instead of explicit for loop
1751
1752         * bufferlist.C (getFileNames): use std::transform and
1753         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1754
1755         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1756         for loop
1757
1758         * buffer.C (changeLanguage): use for_each instead of explicit for
1759         loop
1760         (hasParWithID): implement using getParFromID
1761
1762         * LaTeXFeatures.C: ws change only
1763
1764         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1765         to cleanup a bit.
1766
1767         * BufferView_pimpl.C (trackChanges): use for_each instead of
1768         expilicit for loop
1769
1770 2004-11-04  André Pönitz  <poenitz@gmx.net>
1771
1772         * undo.h:
1773         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1774
1775         * dociterator.C (asDocIterator): use hard assert again.
1776
1777 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1778
1779         * lyxlength.C (asLatexString): rewrite so that it does not use
1780         snprintf anymore
1781
1782 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1783
1784         * text3.C (specialChar, dispatch): make sure cursor moves to the
1785         right after inserting an inset
1786
1787 2004-11-02  José Matos  <jamatos@lyx.org>
1788
1789         * output_docbook.C (docbook):
1790         * paragraph.C (getID):
1791         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1792         garantee that the output is always legal.
1793
1794         * tabular.C (docbook):
1795         * outputprams.[Ch]: remove mixed contents.
1796
1797 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1798
1799         * text2.C (setCounter): prevent endless loop
1800
1801 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1802
1803         * exporter.C (copyFile): use the mover instead of support::copy()
1804         * exporter.C (Export): pass format and latex name to copyFile()
1805         * exporter.h (addExternalFile): document
1806         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1807
1808 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1809
1810         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1811
1812 2004-10-30  José Matos  <jamatos@lyx.org>
1813
1814         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1815         text and no inset or font change. This allows to use CDATA
1816         sections just for the whole paragraph.
1817
1818 2004-10-30  José Matos  <jamatos@lyx.org>
1819
1820         * paragraph.C (getFirstWord): remove unused variable.
1821
1822 2004-10-30  José Matos  <jamatos@lyx.org>
1823
1824         * paragraph.C (getFirstWord): the content should always be escaped
1825         there.
1826         (simpleDocBookOnePar):
1827         * output_docbook.C (makeEnvironment): replace reference to CDATA
1828         to style pass_thru.
1829
1830 2004-10-30  José Matos  <jamatos@lyx.org>
1831
1832         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1833
1834 2004-10-30  José Matos  <jamatos@lyx.org>
1835
1836         * output_docbook.C (makeParagraphs):
1837         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1838         standard paragraph has only a given type of content drop the wrapper.
1839
1840 2004-10-29  José Matos  <jamatos@lyx.org>
1841
1842         * output_docbook.C (makeEnvironment):
1843         * sgml.C (openTag):
1844         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1845
1846 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1847
1848         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1849         (cleanID): sanitize any id.
1850
1851 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1852
1853         * buffer.C, lyxlex_pimpl.C:
1854         * lyxlex_pimpl.C (setFile):
1855         s/getExtFromContents/getFormatFromContents/
1856
1857 2004-10-28  José Matos  <jamatos@lyx.org>
1858
1859         * output_docbook.C (makeEnvironment): move id to broadest possible
1860         scope.
1861
1862         * sgml.C (openTag): apply substitution of <> for all attributes.
1863
1864 2004-10-28  José Matos  <jamatos@lyx.org>
1865
1866         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1867         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1868         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1869
1870         * sgml.[Ch]: new version for open and closeTag for paragraph and
1871         for strings. Now they handle the ids of paragraphs.
1872
1873 2004-10-26  Angus Leeming  <leeming@lyx.org>
1874
1875         * Makefile.am: add mover.[Ch].
1876
1877         * converter.C (convert, move): use the new Movers to move external
1878         files to the temp directory.
1879
1880         * lyx_main.C (init): ensure that the global system_movers data
1881         is initialised.
1882
1883         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1884         preferences file.
1885
1886         * mover.[Ch]: new files, defining a Mover as a utility to move an
1887         external file between directories and, if necessary, manipulate this
1888         file using a helper script.
1889
1890 2004-10-25  José Matos  <jamatos@lyx.org>
1891
1892         * output_docbook.C (makeCommand): merge two if's that tested the
1893         same condition.
1894
1895 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1896
1897         * sgml.C (escapeString): fix warning in a better way
1898
1899 2004-10-25  José Matos  <jamatos@lyx.org>
1900
1901         * sgml.C (escapeString): import the require boosts header file for
1902         tie, and avoid a signed unsigned comparison.
1903
1904 2004-10-25  José Matos  <jamatos@lyx.org>
1905
1906         * sgml.h: add #include <string>
1907
1908 2004-10-25  José Matos  <jamatos@lyx.org>
1909
1910         * sgml.[Ch] (escapeString): new function to escape all the string.
1911
1912 2004-10-24  José Matos  <jamatos@lyx.org>
1913
1914         * paragraph.[Ch] (getFirstWord): new function to get the first
1915         word. Useful for description.
1916         (simpleDocBookOnePar): remove depth argument, add another that
1917         says where to start the paragraph.
1918
1919         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1920         use the new functions to fix cleanly the support for descriptions.
1921
1922 2004-10-24  José Matos  <jamatos@lyx.org>
1923
1924         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1925         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1926         * output_linuxdoc.C (linuxdocParagraphs):
1927         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1928         add buffer as argument.
1929
1930 2004-10-24  José Matos  <jamatos@lyx.org>
1931
1932         * output_docbook.C (makeEnvironment, searchEnvironment): place
1933         CDATA inside paragraphs and fix scope for listitems.
1934
1935 2004-10-24  José Matos  <jamatos@lyx.org>
1936
1937         * output_docbook.C: remove using statement for stack.
1938
1939 2004-10-23  José Matos  <jamatos@lyx.org>
1940
1941         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1942         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1943         docbook. The new scheme is recursive and makes use of iterators, the
1944         same as latex export works.
1945         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1946         directly with the paragraph contents. This code was moved up to
1947         output_docbook.C (docbookParagraphs).
1948         * sgml.C (openTag, closeTag): removed unneeded newlines.
1949         (closeEnvTags) removed.
1950
1951 2004-10-23  André Pönitz  <poenitz@gmx.net>
1952
1953         * undo.C (textUndoOrRedo):
1954         * dociterator.C (asDocIterator): work around crash
1955
1956         * cursor.C (getStatus): replace ASSERT by more verbose error message
1957           and manual correction of the problem. Should increase stability
1958           while providing more sensible information.
1959
1960 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1961
1962         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1963
1964         * bufferlist.C (previous, next): new methods
1965
1966         * lfuns.h:
1967         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1968
1969 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1970
1971         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1972         entities to preamble.
1973
1974 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1975
1976         * messages.C (Pimpl): strip off translation context information
1977
1978 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1979
1980         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1981         the cursor is correct (bug 1694)
1982
1983 2004-10-13  José Matos  <jamatos@lyx.org>
1984
1985         * output_docbook.C (docbookParagraphs): fix closing tags in the
1986         end of the document.
1987
1988 2004-10-09  José Matos  <jamatos@lyx.org>
1989
1990         * buffer.C: format up to 237.
1991         * bufferparams.C (write): use tostr to convert booleans to strings.
1992
1993 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1994
1995         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1996
1997 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1998
1999         * LaTeX.C: implement use of babel language in xindy.
2000
2001 2004-10-05  José Matos  <jamatos@lyx.org>
2002
2003         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2004         Add new translators to help reading and writing the lyx file.
2005
2006 2004-10-05  José Matos  <jamatos@lyx.org>
2007
2008         * ParagraphParameters.C (read):
2009         * text.C (readParToken): replace nexToken by more appropriate lex
2010         methods.
2011
2012 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2013
2014         * LaTeX.C (runMakeIndex):
2015         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2016         (usually 'makeindex') configurable.
2017
2018         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2019         with a variable rather than with a number.
2020
2021 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2022
2023         * output_latex.C (TeXOnePar): make sure font setting is the first
2024         thing that gets output (and the last at the end). Should fix bug
2025         1404.
2026
2027 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2028
2029         * pch.h: use proper signal include
2030
2031         * LaTeX.h: Use preferred calling of Boost.Signal
2032         * buffer.h: ditto
2033
2034 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2035
2036         * pch.h: dont include <boost/function/function0.hpp>
2037
2038         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2039
2040         * paragraph_pimpl.h: remove usage of ShareContainer
2041
2042         * paragraph_pimpl.C: remove initialization of ShareContainer.
2043
2044 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2045
2046         Fix bug #1666
2047
2048         * BufferView.C (putSelectionAt): change the semantics when
2049         backwards == true: now, this just swaps cursor and anchor wrt the
2050         forward case
2051
2052         * BufferView.h (putSelectionAt): add some documentation
2053
2054         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2055         make sure backwardChar is done at least once (to avoid getting
2056         stuck)
2057         (findNextChange): use putSelectionAt in the forward direction
2058         (operator()): use Paragraph::isWord
2059
2060 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2061
2062         * Spacing.C (set): c_str fix
2063
2064 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2065
2066         * lyx_cb.C (Reconfigure): quote the name of configure script in
2067         case it contains spaces
2068
2069 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2070
2071         * client: new dir
2072
2073         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2074         (BOOST_LIBS): use top_buildir when looking for the file
2075
2076 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2077
2078         * pch.h: do not use include boost/format.hpp, multiple symbols
2079                 will result (gcc bug)
2080
2081
2082 2004-08-23  José Matos  <jamatos@lyx.org>
2083
2084         * bufferparams.C (readToken): fix reading of the author field.
2085
2086 2004-08-20  José Matos  <jamatos@lyx.org>
2087
2088         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2089
2090 2004-08-20  José Matos  <jamatos@lyx.org>
2091
2092         * lyxlex.[Ch] (findToken): remove function.
2093
2094         * ParagraphParameters.C (findToken):
2095         * bufferparams.C (findToken): replace call for previous function
2096         with local copy. This local function has one more argument, the
2097         read string argument.
2098
2099 2004-08-16  José Matos  <jamatos@lyx.org>
2100
2101         * ParagraphParameters.C (write):
2102         * Spacing.C (writeFile):
2103         * bufferparams.C (writeLaTeX):
2104         * lyx_cb.C (Reconfigure):
2105         * paragraph.C (write):
2106         * tabular.C (write): remove unnecessary space at end of line.
2107
2108
2109 2004-08-16  José Matos  <jamatos@lyx.org>
2110
2111         * text.C (readParagraph): remove debug message.
2112
2113 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2114
2115         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2116         crash
2117
2118         * output_plaintext.C (asciiParagraph): set depth correctly
2119
2120         * outputparams.h: add member depth
2121
2122         * paragraph_funcs.C (ownerPar): remove.
2123
2124         * text2.C (setCounter): remove first_pit; comment out some
2125         non-working code that uses ownerPar
2126
2127         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2128         uses ownerPar
2129
2130 2004-08-16  José Matos  <jamatos@lyx.org>
2131
2132         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2133         For the same level of importance use the same chanel to report problems.
2134         (read): add code to deal with \begin_body and \end_body.
2135
2136
2137 2004-08-15  José Matos  <jamatos@lyx.org>
2138
2139         * lyxlex.C (getString): fix comment, buffer::readBody is now
2140         buffer:readDocument.
2141
2142         * tex-strings.C (string_papersize): Default -> default,
2143         Custom -> custom, for consistency with other options.
2144
2145 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2146
2147         * pch.h: new file
2148
2149         * Makefile.am: support pch
2150
2151 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2152
2153         * text.C (readParToken): remove the static LyXFont variable and
2154         pass it as a parameter instead. This fixes a nasty bug where an
2155         inset will be inserted with a bad font in some situations
2156         (readParagraph): adapt
2157
2158         * text2.C (setCounter): reduce number of calls to pars_[pit]
2159
2160         * text.C (singleWidth): add an assert, fix a test
2161
2162         * rowpainter.C (paintText): reduce number of calls to singleWidth
2163
2164         * paragraph.C (isHfill):
2165         (isNewline): ws only
2166
2167 2004-08-14  André Pönitz  <poenitz@gmx.net>
2168
2169         * text.C:
2170         * text2.C:
2171         * rowpainter.C:
2172         * lyxtext.h (several functions): use a Paragraph & argument
2173         instead of par_type
2174
2175 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2176
2177         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2178
2179         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2180
2181         * text.C (singleWidth): remove useless test
2182
2183 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2184
2185         * tabular.h: remove bogus comments
2186
2187         * tabular.C (getDescentOfRow):
2188         (isPartOfMultiColumn): add assertions
2189
2190         * lyxlength.C (inPixels): remove #warning
2191
2192 2004-08-14  André Pönitz  <poenitz@gmx.net>
2193
2194         * paragraph.h: inline getChar()
2195
2196         * BufferView.h: remove unused declarations
2197
2198 2004-08-14  José Matos  <jamatos@lyx.org>
2199
2200         * Buffer.[Ch] (readDocument): new name for old readBody.
2201         * Buffer.C: new file format, new keywords: \begin_document,
2202         \begin_header, \begin_body, \end_body.
2203
2204         * bufferparams.C (readToken): replace all calls to lex.nextToken
2205         by lex.next(). Do the same to eatLine except where really needed.
2206
2207         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2208         line when writing to the lyx file.
2209
2210         * output_plaintext.C (asciiParagraph): fix Bibliography style
2211         handling.
2212
2213         * text.C (read): fix end of file handling.
2214
2215 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2216
2217         * MenuBackend.C (Menu::operator[]): new method to access
2218         individual menu items
2219         (Menu::hasFunc): new method. search for an item that corresponds
2220         to a given func
2221         (MenuBackend::specialMenu): new method
2222         (MenuBackend::expand): if a special menu has been set, skip
2223         entries whose func() appears in this menu
2224
2225 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2226
2227         * text3.C: use Debug::DEBUG a bit more
2228
2229         * text.C (leftMargin): try to simplify a tiny bit change var x to
2230         l_margin. Dont output the wide margins always.
2231         (rightMargin): no margin in inner texts
2232
2233         * rowpainter.h (nestMargin): new func
2234         (changebarMargin): new func
2235         (rightMargin): new func
2236
2237         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2238         now functions.
2239         (paintLast): ditto
2240
2241         * factory.C (createInset): modify setDrawFrame
2242
2243         * cursor.C: use Debug::DEBUG a bit more
2244
2245 2004-08-14  André Pönitz  <poenitz@gmx.net>
2246
2247         * coordcache.[Ch]:
2248         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2249         cache for all insets in (at least partially) visible (top-level)
2250         paragraphs.
2251
2252         * BufferView_pimpl.C: reset external coord cache before every update.
2253         This means the coord cache only contains valid entries.
2254
2255 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2256
2257         bug 1096
2258         * BufferView_pimpl.C (getInsetByCode): move function out of class
2259         and change in to a template in anon namespace. Also fix to do what
2260         suits us better.
2261
2262 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2263
2264         bug 1305
2265         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2266         of char
2267         (breakParagraph): rename par to par_offset and use a local
2268         reference. Add code to keep the language over a rebreak.
2269         (breakParagraphConservative): rename par to par_offset, use a
2270         local reference
2271         (mergeParagraph): ditto
2272         (outerHook): ditto
2273         (isFirstInSequence): ditto
2274         (outerFont): rename pit to par_offset
2275
2276         * paragraph.C: ws change
2277         * paragraph.h: ditto
2278         * text3.C: ditto
2279         * text.C: ditto
2280
2281 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2282
2283         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2284         treatment for ']'
2285
2286         * paragraph.C (simpleTeXOnePar): when we have a \item with
2287         optional argument, enclose the argument with curly brackets (in
2288         case it contains a closing square bracket)
2289
2290         * text2.C (editXY):
2291         * text2.C (editXY):
2292         * text3.C (checkInsetHit): constify
2293
2294 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2295
2296         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2297         documents (bug 1629)
2298
2299 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2300
2301         Fix toggling of collapsable insets with the mouse (bug 1558)
2302
2303         * lyxfunc.C (dispatch): adapt to LCursor changes
2304
2305         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2306         make sure that dispatch is not invoked twice
2307
2308         * cursor.C (needsUpdate): new method
2309         (dispatch): return void
2310         (result): new method, to access the DispatchResult of the cursor.
2311
2312 2004-08-13  José Matos  <jamatos@lyx.org>
2313
2314         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2315
2316 2004-08-13  André Pönitz  <poenitz@gmx.net>
2317
2318         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2319
2320         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2321           multiple cells
2322
2323 2004-08-12  André Pönitz  <poenitz@gmx.net>
2324
2325         * text3.C: take out the 'cursor right' form insertInset and only
2326         do it in those places when it is really needed. Fixes crash on
2327         C-m...
2328
2329 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2330
2331         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2332
2333         * BufferView_pimpl.C (setBuffer): initialize the current font of
2334         the underlying LyXText
2335
2336 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2337
2338         * kbsequence.C (print): use UI native formatting for menu
2339         shortcuts
2340
2341         * text.C (insertChar): call Paragraph::insertChar with a font
2342         argument (cosmetic)
2343
2344         * paragraph.C (insertInset, insertChar): the version that takes a
2345         LyXFont argument is now a wrapper around the other one (the
2346         opposite used to be true).
2347
2348         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2349         argument. Font setting is done in Paragraph now.
2350
2351 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2352
2353         * outputparams.h: add new members intitle and lang.
2354
2355         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2356         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2357
2358 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2359
2360         * text3.C (dispatch): remove special handling of button 4 and 5,
2361         it is now taken care of in the frontend code.
2362
2363 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2364
2365         * Spacing.h: add <string> (STLPort compile fix)
2366
2367 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2368
2369         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2370
2371 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2372
2373         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2374         to bool.
2375
2376         * converter.C (showMessage): inherit from unary_function, make
2377         operator() const.
2378
2379         * buffer.C (writeFile): initialize retval
2380
2381         * InsetList.h: rename private variable list to list_
2382         * InsetList.[Ch]: adjust accordingly.
2383
2384 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2385
2386         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2387         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2388         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2389         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2390         * ParagraphParameters.C, LaTeXFeatures.C: replace
2391         "support/std_sstream.h" with <sstream>
2392
2393 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2394
2395         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2396         * lyxsocket.C (LyXServerSocket): ditto
2397         (serverCallback): ditto
2398
2399 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2400
2401         * LaTeXFeatures.C: check release date when loading jurabib.
2402
2403 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2404
2405         * lyxserver.C (startPipe): call register_socket_callback
2406         (endPipe): call unregister_socket_callback
2407
2408 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2409
2410         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2411         (LyXServerSocket): register the callback
2412         (LyXServerSocket): unregister the callback
2413         (fd): delete function
2414         (serverCallback): improve error checking and setup the callbacks.
2415         (dataCallback): change arg to fd.
2416         (writeln): new func (copied fro the client socket) used for server
2417         write to client.
2418         (LyXDataSocket): simplify
2419         (~LyXDataSocket): close ann unregiser callback
2420         (server): delete function
2421         (fd): delete function
2422         (readln): small changes, improve some std::string usage
2423         (writeln): constify a bit
2424
2425 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2426
2427         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2428         Qt frontend
2429
2430 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2431
2432         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2433         after it has been populated
2434
2435 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2436
2437         * text2.C (insertInset): move cursor when inserting inset.
2438
2439 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2440
2441         * kbmap.C (findbindings): a couple of new methods. returns a
2442         container of kb_sequence objects. The real work is done by the
2443         private recursive version
2444         (printbindings): uses findbindings to print out a bracketed list
2445         of bindings (renamed from findbinding).
2446
2447         * MenuBackend.C (binding): use kb_keymap::findbindings
2448
2449         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2450
2451 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2452
2453         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2454
2455 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2456
2457         * paragraph.C (isWord): return true on insets that report
2458         isLetter().
2459
2460         * text.C (getWord): use Paragraph::isWord to decide what is in a
2461         word and what is not; fix bug 1609.
2462
2463 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2464
2465         * tex-strings.C: add "none" to string_paperpackages[], fixes
2466         off-by-one-error in the paperpackage selection.
2467
2468         * lyxlex.[Ch]:
2469         * tex-strings.[Ch]: char const * string[n]
2470         -> char const * const string[]
2471
2472 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2473
2474         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2475         command, return early.
2476
2477 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2478
2479         * debug.h: add DEBUG to enum and fix size of ANY.
2480
2481         * debug.C: add support for Debug::DEBUG
2482         (showTags): cast errorTags.level to unsigned int
2483
2484         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2485         (redoCurrentBuffer): ditto
2486         (updateScrollbar): ditto
2487         * cursor.C (dispatch): ditto
2488         * text2.C (setLayout): ditto
2489         (setFont): ditto
2490         (updateCounters): ditto
2491         (editXY): ditto
2492         (deleteEmptyParagraphMechanism): ditto
2493
2494 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2495
2496         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2497         annotations to cleanup the Makefile slightly.
2498
2499 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2500
2501         * lyxrc.C: do not set user_email to a default value but use empty
2502         instead. The entry used to be translated, which does not work
2503         since at the point where lyxrc is constructed there is no
2504         translation service available
2505
2506         * messages.C (getLocaleDir): remove and use directly
2507         lyx_localedir() instead
2508
2509 2004-06-02  Angus Leeming  <leeming@lyx.org>
2510
2511         Fix crash caused by dereferencing null pointer 'exportdata' in
2512         OutputParams by creating a new ExportData variable on the heap,
2513         storing it in a boost::shared_ptr.
2514         The crash was triggered when generating an Instant Preview
2515         of an external inset.
2516
2517         * Makefile.am: add outputparams.C
2518
2519         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2520         (c-tor): allocate memory to it.
2521
2522         * exporter.C (c-tor): associated changes.
2523
2524 2004-06-01  Angus Leeming  <leeming@lyx.org>
2525
2526         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2527         contains data before calling isInset(0). (Bug 1513.)
2528
2529 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2530
2531         * exporter.C (checkOverwrite): new method
2532         * exporter.C (copyFile): new method
2533         * exporter.C (Export): copy referenced files to the document dir
2534         * exporter.[Ch]: new class ExportedFile
2535         * exporter.[Ch]: new class ExportData. Contains currently the
2536         names of referenced external files
2537         * outputparams.h: add exportdata member.
2538
2539 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2540
2541         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2542         version.C-tmp
2543
2544 2004-05-19  Angus Leeming  <leeming@lyx.org>
2545
2546         * LaTeXFeatures.C:
2547         * ToolbarBackend.C:
2548         * bufferparams.C:
2549         * lyxfunc.C: small changes due to the introduction of namespace
2550         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2551
2552 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2553
2554         * text3.C (dispatch): supress update when only moving the cursor
2555         * cursor.C (selHandle): remove commented code
2556
2557 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2558
2559         * paragraph.C (startTeXParParams): correct column count
2560         * CutAndPaste.C (pasteSelection): remove const_cast
2561         * output_docbook.C (docbookParagraphs): remove const_cast
2562         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2563         const_cast and return ParagraphList::const_iterator
2564         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2565         * output_plaintext.C (writeFileAscii): remove const_cast
2566         * paragraph.[Ch] (simpleTeXOnePar): make const
2567         * paragraph_funcs.C (outerPar): use const iterators
2568         * paragraph_pimpl.C (validate): use const iterators
2569         * text.C (setHeightOfRow): use const iterators
2570
2571 2004-05-17  Angus Leeming  <leeming@lyx.org>
2572
2573         * lfuns.h:
2574         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2575
2576         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2577         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2578         if the citation engine has changed.
2579
2580 2004-05-14  José Matos  <jamatos@lyx.org>
2581
2582         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2583         if the textclass does not provide it. Have it different for sgml and
2584         xml.
2585         support the language of document.
2586         * output_docbook.C (docbookParagraphs):
2587         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2588         first anchor as the id of the paragraph, remove special case code.
2589         * sgml.C (escapeChar): escape only < & >.
2590
2591 2004-05-14  Angus Leeming  <leeming@lyx.org>
2592
2593         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2594         dependencies on src/frontends/controllers/biblio.h. Define a
2595         CiteEngine_enum wrapper class to enable the enum to be forward
2596         declared.
2597
2598 2004-05-12  Angus Leeming  <leeming@lyx.org>
2599
2600         * buffer.C: up LYX_FORMAT to 234.
2601         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2602         use_numerical_citations with a single biblio::CiteEngine cite_engine
2603         variable.
2604         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2605
2606 2004-05-13  José Matos  <jamatos@lyx.org>
2607
2608         * converter.h:
2609         * converter.C (Converter, readFlags): add xml member.
2610         * outputparams.h: add XML flavor.
2611         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2612
2613 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2614
2615         * lyxfunc.C (dispatch):
2616         (getStatus): fix handling of LFUN_SEQUENCE
2617
2618 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2619
2620         * debug.C (showLevel): do not forget the end-of-line marker
2621
2622 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2623
2624         * kbmap.C (read): do not stop parsing a bind file when an error
2625         occurs (bug 1575)
2626
2627 2004-04-29  Angus Leeming  <leeming@lyx.org>
2628
2629         * cursor.C:
2630         * factory.C:
2631         * pariterator.C:
2632         * text2.C: wrap a bunch of #warning statements
2633         inside #ifdef WITH_WARNINGS blocks.
2634
2635 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2636
2637         * buffer.C: increment format to 233.
2638
2639 2004-04-28  Angus Leeming  <leeming@lyx.org>
2640
2641         * BufferView_pimpl.C:
2642         * lyxfunc.C:
2643         * text3.C:
2644         s/updateToolbar()/updateToolbars()/
2645         s/Toolbar.h/Toolbars.h/
2646
2647 2004-04-28  Angus Leeming  <leeming@lyx.org>
2648
2649         * BufferView.[Ch] (c-tor):
2650         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2651         No longer passes these data to the WorkArea generator.
2652
2653 2004-04-28  Angus Leeming  <leeming@lyx.org>
2654
2655         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2656
2657 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2658
2659         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2660
2661 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2662
2663         * output_latex.C (TeXEnvironment): make sure that there is a line
2664         break before \end{foo} for the last paragraph of a document
2665         (TeXOnePar): if the paragraph is at the end of the document (or
2666         inset) and the language has to be reset, then make sure that the
2667         line break is _before_ the language command, not after (fixes bug
2668         1225); also make sure that the language reset command is the first
2669         thing after the paragraph (to ensure proper nesting of
2670         environments and thus fix bug 1404)
2671
2672 2004-04-21  John Levon  <levon@movementarian.org>
2673
2674         * ToolbarBackend.h:
2675         * ToolbarBackend.C: make "name" be a programmatic name
2676         and a gui_name field.
2677
2678         * lyxfunc.C: display the minibuffer on M-x
2679
2680 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2681
2682         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2683         (bug 1526)
2684
2685 2004-04-19  Angus Leeming  <leeming@lyx.org>
2686
2687         * BufferView_pimpl.C (setBuffer): changed preview interface.
2688
2689         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2690         possible values.
2691
2692 2004-04-19  John Levon  <levon@movementarian.org>
2693
2694         * BufferView_pimpl.C:
2695         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2696
2697 2004-04-05  Angus Leeming  <leeming@lyx.org>
2698
2699         * text.C (redoParagraphs): add call to updateCounters(), thereby
2700         fixing the missing "Figure #:" label from the caption of a
2701         figure float.
2702
2703 2004-04-13  Angus Leeming  <leeming@lyx.org>
2704
2705         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2706         cursor is clicked out of an inset.
2707
2708 2004-04-13  Angus Leeming  <leeming@lyx.org>
2709
2710         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2711         than an InsetOld one.
2712
2713 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2714
2715         * format.[Ch]: add editor to Format
2716         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2717         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2718
2719 2004-04-08  André Pönitz  <poenitz@gmx.net>
2720
2721         * metricsinfo.h: remove PainterInfo::width member
2722
2723 2004-04-08  Angus Leeming  <leeming@lyx.org>
2724
2725         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2726         "\providecommand" rather than "\newcommand", thereby preventing
2727         clashes with packages that define "\boldsymbol" themselves.
2728         Eg, beamer.
2729
2730 2004-04-08  Angus Leeming  <leeming@lyx.org>
2731
2732         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2733         thereby squashing an unnecessary warning.
2734
2735 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2736
2737         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2738         setBuffer()
2739
2740 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2741
2742         * BufferView.C (setCursor): call redoParagraph (some insets could
2743         have been opened)
2744         (putSelectionAt): remove the 'double update' trick
2745
2746         * BufferView_pimpl.C (fitCursor): call refreshPar
2747         (workAreaDispatch): remove an uneeded update call
2748         (dispatch): remove some manual update calls
2749
2750         * cursor.[Ch]: remove cached_y_, updatePos
2751         (selHandle): set noUpdate when appropriate
2752
2753         * lyxfunc.C (dispatch): track if we need an update
2754
2755         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2756
2757         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2758         (paintSelection): cheap optimization, do not call cursorX when not
2759         needed
2760         (paintPars): change signature
2761         (refreshPar): add
2762         (paintText): adjust
2763         (paintTextInset): adjust
2764
2765         * text.C: adjust
2766
2767 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2768
2769         * lengthcommon.C: compilation fix: remove explicit array size from
2770         unit_name[] and friends
2771
2772 2004-04-05  Angus Leeming  <leeming@lyx.org>
2773
2774         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2775
2776         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2777         present only for the preferences dialog.
2778         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2779
2780 2004-04-05  Angus Leeming  <leeming@lyx.org>
2781
2782         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2783         to enable the frontends to export changes to lyxrc correctly.
2784
2785         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2786
2787 2004-04-07  André Pönitz  <poenitz@gmx.net>
2788
2789         * cursor.[Ch] (selClear, adjust): remove math
2790
2791         * cursor_slice.C: more agressive assert
2792
2793         * lyxfunc.C:
2794         * BufferView_pimpl.C: rework mouse event dispatch
2795
2796         * dociterator.C:
2797         * paragraph.C:
2798         * text2.C:
2799         * text3.C: adjust
2800
2801 2004-04-05  André Pönitz  <poenitz@gmx.net>
2802
2803         * cursor.[Ch] (valign, halign...): remove unneeded functions
2804
2805 2004-04-05  Angus Leeming  <leeming@lyx.org>
2806
2807         * lyxlength.[Ch] (unit_name et al.): const-correct.
2808
2809 2004-04-05  Angus Leeming  <leeming@lyx.org>
2810
2811         * BufferView_pimpl.C:
2812         * buffer.C:
2813         * counters.C:
2814         * cursor.C:
2815         * lyxfunc.C
2816         * paragraph.C:
2817         * pariterator.C:
2818         * text.C:
2819         * text2.C:
2820         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2821
2822 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2823
2824         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2825
2826 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2827
2828         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2829         * BufferView_pimpl.[Ch] (getStatus)
2830         * BufferView.[Ch] (getStatus): add
2831         * lyxfunc.C (getStatus): move lfuns handled in
2832         BufferView::dispatch to te function above
2833         * Cursor.C (setSelection): set selection() = true
2834
2835 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2836
2837         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2838
2839 2004-03-31  Angus Leeming  <leeming@lyx.org>
2840
2841         * lyxfunc.C (dispatch): Fall through to the generic
2842         Dialogs::show("preamble").
2843
2844 2004-03-31  Angus Leeming  <leeming@lyx.org>
2845
2846         * lyxfunc.C (dispatch): Fall through to the generic
2847         Dialogs::show("spellchecker").
2848
2849 2004-03-31  Angus Leeming  <leeming@lyx.org>
2850
2851         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2852         preferences dialog.
2853
2854 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2855
2856         * BufferView.C
2857         * cursor.[Ch]
2858         * dociterator.[Ch]:
2859         * insetiterator.[Ch]:
2860         * lyxfind.C:
2861         * lyxfunc.C:
2862         * pariterator.[Ch]:
2863         * text2.C:
2864         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2865
2866 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2867
2868         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2869         insets where we are putting the cursor.
2870
2871 2004-03-31  Angus Leeming  <leeming@lyx.org>
2872
2873         * lfuns.h:
2874         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2875
2876         * lyxrc.[Ch] (read, write): overloaded member functions taking
2877         a std::[io]stream arguments.
2878
2879         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2880
2881 2004-03-31  Angus Leeming  <leeming@lyx.org>
2882
2883         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2884         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2885
2886         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2887         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2888
2889 2004-03-31  Angus Leeming  <leeming@lyx.org>
2890
2891         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2892         the LFUN_ALL_INSETS_TOGGLE code.
2893
2894 2004-03-30  Angus Leeming  <leeming@lyx.org>
2895
2896         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2897         has died. Fall through to the generic Dialogs::show("document").
2898
2899 2004-03-30  Angus Leeming  <leeming@lyx.org>
2900
2901         * lfuns.h:
2902         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2903         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2904
2905         * lyxfunc.C (getStatus, dispatch): define the actions for these
2906         lfuns. Little more than a cut and pste job from ControlDocument.C
2907
2908         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2909
2910 2004-03-30  Angus Leeming  <leeming@lyx.org>
2911
2912         * lfuns.h:
2913         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2914         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2915
2916         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2917         open/closed state of ollapsable insets. Usage:
2918
2919         all-inset-toggle <state> <name>, where
2920         <state> == "open" || "closed" || "toggle" and
2921         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2922
2923         * lyxtext.h, text2.C (toggleInset): removed.
2924
2925         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2926         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2927         now passes LFUN_INSET_TOGGLE to the found inset.
2928
2929         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2930         is now invoked as "all-insets-toggle toggle branch".
2931
2932 2004-03-30  Angus Leeming  <leeming@lyx.org>
2933
2934         * dociterator.C:
2935         * insetiterator.C:
2936         * pariterator.[Ch]: added/corrected header blurb.
2937
2938 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2939
2940         * dociterator.[Ch]: add an inset_ member
2941         (backwardPos): implemented
2942         (backwardPos, forwardPos): use inset_ when the stack is empty.
2943         (doc_iterator_begin, doc_iterator_end): implemented
2944         * pariterator.[Ch]: adjust, add begin, end
2945         * insetiterator.[Ch]: adjust, add begin, end
2946         * cursor.C:
2947         * document.C:
2948         * BufferView.C:
2949         * BufferView_pimpl.C:
2950         * CutAndPaste.C: adjust
2951
2952 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2953
2954         * buffer.C: increment file format to 232.
2955         * LaTeXFeatures.C: add bibtopic package.
2956         * bufferparams.[Ch]: param \use_bibtopic.
2957
2958         * lyxrc.[Ch]: add lyxrc bibtex_command
2959         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2960
2961         * buffer.C: increment file format to 231.
2962
2963 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2964
2965         * dociterator.C: implement forwardPar
2966         * iterators.[Ch]: remove, replaced by
2967         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2968         * BufferView.C:
2969         * BufferView_pimpl.C:
2970         * CutAndPaste.C:
2971         * buffer.C:
2972         * bufferview_funcs.C:
2973         * cursor.C:
2974         * lyxfind.C
2975         * lyxfunc.C
2976         * paragraph_funcs.C
2977         * toc.C:
2978         * Makefile.am: adjust
2979
2980 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2981
2982         * CutAndPaste.C (pasteSelection): fix 2 crashes
2983         (eraseSelection): fix a crash
2984         * paragraph_funcs.C: remove a warning
2985
2986 2004-03-28  Angus Leeming  <leeming@lyx.org>
2987
2988         * lfuns.h:
2989         * LyXAction.C (init): new LFUN_PRINT.
2990
2991         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2992
2993 2004-03-27  Angus Leeming  <leeming@lyx.org>
2994
2995         * lfuns.h:
2996         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2997
2998         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2999
3000 2004-03-27  Angus Leeming  <leeming@lyx.org>
3001
3002         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3003         insetlist always contains non-null pointers to insets.
3004
3005 2004-03-26  Angus Leeming  <leeming@lyx.org>
3006
3007         * src/BufferView_pimpl.C:
3008         * src/CutAndPaste.C:
3009         * src/buffer.C:
3010         * src/iterators.C:
3011         * src/output_plaintext.C:
3012         * src/outputparams.h:
3013         * src/paragraph_funcs.C:
3014         * src/rowpainter.C:
3015         * src/text.C:
3016         * src/text2.C:
3017         * src/frontends/controllers/ControlErrorList.C:
3018         * src/frontends/gtk/FileDialogPrivate.C:
3019         * src/frontends/gtk/GPainter.C:
3020         * src/frontends/gtk/GToolbar.C:
3021         * src/frontends/qt2/QRef.C:
3022         * src/mathed/math_scriptinset.C: squash compiler warnings.
3023
3024 2004-03-26  Angus Leeming  <leeming@lyx.org>
3025
3026         * ispell.C (LaunchIspell::start):
3027         * lyx_cb.C (AutoSaveBuffer::start):
3028         invoke run(DontWait) rather than runNonBlocking().
3029
3030 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3031
3032         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3033
3034 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3035
3036         * kbsequence.C (print): adjust
3037
3038         * kbmap.C (printKeySym): rename and change signature
3039         (printKey): use LyXKeySym::print()
3040
3041 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3042
3043         * undo.C: add using std::advance to compile for stlport
3044
3045 2004-03-24  Angus Leeming  <leeming@lyx.org>
3046
3047         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3048         it leads to a crash when no buffer is present.
3049
3050 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3051             Martin Vermeer  <martin.vermeer@hut.fi>
3052
3053         * lyxfunc.C (dispatch):
3054         * bufferparams.C (readToken): use the new LColor::setColor
3055
3056         * LColor.[Ch] (setColor): new version that takes two strings as
3057         argument and creates a new color entry if necessary
3058
3059 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3060
3061         * buffer.C (makeLaTeXFile): if the main latex file that is
3062         processed is usually a subdocument of some master, then pretend
3063         for a while that it is actually the master
3064
3065 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3066
3067         * buffer.C (getLabelList):
3068         (getBibkeyList): use getMasterBuffer()
3069         (getMasterBuffer): new method. Returns the main document in the
3070         case where one is using included documents.
3071
3072 2004-03-25  André Pönitz  <poenitz@gmx.net>
3073
3074         * Makefile.am:
3075         * iterators.[Ch]:
3076         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3077
3078         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3079
3080         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3081         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3082
3083         * ParameterStruct.h: merge with ParagraphParameters
3084
3085         * lyxtext.h: remove LyXText::parOffset() and getPar()
3086
3087         * text3.C: Remove all 'manual' update calls. We do now one per user
3088         interaction which is completely sufficient.
3089
3090         * Bidi.C:
3091         * BufferView.[Ch]:
3092         * BufferView_pimpl.C:
3093         * FontIterator.[Ch]:
3094         * MenuBackend.C:
3095         * ParagraphParameters.[Ch]:
3096         * buffer.C:
3097         * buffer.h:
3098         * bufferlist.C:
3099         * cursor.[Ch]:
3100         * cursor_slice.[Ch]:
3101         * dociterator.[Ch]:
3102         * errorlist.[Ch]:
3103         * factory.C:
3104         * lfuns.h:
3105         * lyxfind.C:
3106         * lyxfunc.C:
3107         * output_docbook.[Ch]:
3108         * output_latex.[Ch]:
3109         * output_linuxdoc.[Ch]:
3110         * output_plaintext.[Ch]:
3111         * paragraph.[Ch]:
3112         * paragraph_funcs.[Ch]:
3113         * paragraph_pimpl.[Ch]:
3114         * rowpainter.C:
3115         * tabular.[Ch]:
3116         * text.C:
3117         * text2.C:
3118         * toc.C:
3119         * undo.[Ch]: adjust
3120
3121         * frontends/controllers/ControlDocument.C:
3122         * frontends/controllers/ControlErrorList.C:
3123         * frontends/controllers/ControlSpellchecker.C:
3124         * insets/inset.C:
3125         * insets/inset.h:
3126         * insets/insetbase.h:
3127         * insets/insetbibitem.C:
3128         * insets/insetbox.C:
3129         * insets/insetbranch.C:
3130         * insets/insetcaption.C:
3131         * insets/insetcharstyle.C:
3132         * insets/insetcharstyle.h:
3133         * insets/insetcollapsable.C:
3134         * insets/insetcollapsable.h:
3135         * insets/insetert.C:
3136         * insets/insetfloat.C:
3137         * insets/insetfoot.C:
3138         * insets/insetmarginal.C:
3139         * insets/insetnote.C:
3140         * insets/insetoptarg.C:
3141         * insets/insettabular.C:
3142         * insets/insettext.C:
3143         * insets/insettext.h:
3144         * insets/insetwrap.C:
3145         * mathed/math_mboxinset.C:
3146         * mathed/math_nestinset.C:
3147         * mathed/math_scriptinset.C:
3148         * mathed/math_scriptinset.h:
3149         * support/types.h:
3150
3151 2004-03-24  Angus Leeming  <leeming@lyx.org>
3152
3153         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3154         deal with any child processes that have finished but are waiting to
3155         communicate this fact to the rest of LyX.
3156
3157 2004-03-24  Angus Leeming  <leeming@lyx.org>
3158
3159         64-bit compile fixes.
3160
3161         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3162         (c-tor): pass lyx::pos_types rather than ints.
3163
3164         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3165         lyx::pos_type.
3166
3167         * text.C (Delete): compile fix.
3168         (getPar): ensure that function declaration is the same as that in
3169         the header file.
3170
3171 2004-03-23  Angus Leeming  <leeming@lyx.org>
3172
3173         * ispell.C (LaunchIspell):
3174         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3175         a boost::shred_ptr rather than a std::auto_ptr.
3176
3177 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3178
3179         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3180         handle LFUN_FILE_INSERT_*
3181
3182         * lyxrc.C (setDefaults, getDescription, output, read):
3183         * lyxrc.h: remove ps_command
3184
3185 2004-03-22  Angus Leeming  <leeming@lyx.org>
3186
3187         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3188         Ensure that error_handler is processed once only and that all data
3189         is saved before attempting to output any warning messages.
3190
3191         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3192
3193 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3194
3195         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3196
3197 2004-03-19  André Pönitz  <poenitz@gmx.net>
3198
3199         * cursor.[Ch] (reset): take main text inset as argument
3200
3201         * BufferView: adjust
3202         * BufferView_pimpl.C: adjust
3203
3204         * paragraph.[Ch]: fix completely broken operator=()
3205
3206 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3207
3208         * LColor.C (getFromLyXName): make sure that the color name is used
3209         as lowercase.
3210
3211 2004-03-17  Angus Leeming  <leeming@lyx.org>
3212
3213         * lfuns.h:
3214         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3215
3216         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3217         dialog and to kill a forked process.
3218
3219 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3220
3221         * text2.C (setCursorFromCoordinates): fix font problem
3222
3223 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3224
3225         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3226         bogus "rebuild cursor" code
3227
3228 2004-03-11  André Pönitz  <poenitz@gmx.net>
3229
3230         * buffer.[Ch]: use InsetText instead of LyXText as container for
3231         the main lyx text.
3232
3233         * dociterator.[Ch]: drop the BufferView * member which is not needed
3234         anymore after the change to buffer.C
3235
3236         * paragraph_funcs.C:
3237         * text.C:
3238         * text2.C:
3239         * BufferView.[Ch]:
3240         * BufferView_pimpl.[Ch]:
3241         * cursor.[Ch]:
3242         * cursor_slice.[Ch]: adjust
3243
3244         * text3.C: fix bug in mathDispatch
3245
3246 2004-03-08  André Pönitz  <poenitz@gmx.net>
3247
3248         * undo.[Ch]: use 'StableDocumentIterator' as base for
3249         the Undo struct.
3250
3251 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3252
3253         * LaTeXFeatures.C:
3254         * bufferparams.[Ch]: add jurabib support and param.
3255
3256         * LaTeX.C: add FIXME/comment.
3257
3258 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3259
3260         * buffer.C: increment file format to 230.
3261
3262 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3263
3264         * cursor.C (dispatch): avoid infinite loops
3265
3266 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3267
3268         * rowpainter.C (paintSelection): fix x coordinates
3269
3270 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3271
3272         * text.C (rowBreakPoint): fix breaking before displayed insets
3273
3274 2004-03-01  André Pönitz  <poenitz@gmx.net>
3275
3276         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3277
3278         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3279
3280         * Makefile.am:
3281         * BufferView.C:
3282         * BufferView_pimpl.C:
3283         * buffer.C:
3284         * lyxfind.C:
3285         * lyxfunc.C:
3286         * text.C:
3287         * text2.C:
3288         * text3.C: adjust
3289
3290 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3291
3292         * lyxtext.h:
3293         * text.C:
3294         * text2.C:
3295         * rowpainter.C:
3296         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3297         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3298
3299 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3300
3301         * Bidi.[Ch] (computeTables): const correctness
3302         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3303         fill_hfill, fill_label_hfill and x from Row
3304         * lyxtext.h: prepareToPrint returns a RowMetrics
3305         * rowPainter.C: adjust
3306         * text.C (prepareToPrint): use width, not textWidth. adjust
3307         (redoParagraphInternal, cursorX): adjust
3308         * text2.C (getColumnNearX): adjust
3309         (init): put a default value to the top LyXText::width
3310
3311 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3312
3313         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3314
3315 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3316
3317         * lyxtext.h: add FontIterator class
3318
3319         * text.C (FontIterator, operator*, operator->, operator++): add
3320         (rowBreakPoint, setRowWidth): adjust (fixing a
3321         rebreaking bug)
3322
3323 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3324
3325         * BufferView_pimpl.C (workAreaDispatch): allow also
3326         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3327
3328 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3329
3330         * text.C (rowBreakPoint): fix a bug showing with very large insets
3331
3332 2004-02-25  André Pönitz  <poenitz@gmx.net>
3333
3334         * text3.C:
3335         * cursor.[Ch]: move some mathed specific code to mathed
3336
3337 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3338
3339         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3340         use_tempdir in preferences
3341         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3342         tempfile creation
3343         * lyx_main.C: ensure that tempdir is valid
3344         * lyxlex.h: correct typo
3345         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3346         * paragraph.[Ch] (isMultiLingual): make const
3347         * cursor.[Ch] (openable): make const
3348
3349 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3350
3351         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3352
3353 2004-02-20  André Pönitz  <poenitz@gmx.net>
3354
3355         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3356
3357         * cursor.[Ch]: prepare for localized getStatus()
3358
3359         * lyxtext.h:
3360         * tabular.C:
3361         * text.C:
3362         * text2.C:
3363         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3364
3365 2004-02-20  André Pönitz  <poenitz@gmx.net>
3366
3367         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3368
3369 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3370
3371         * text2.C (setCursorFromCoordinates): switch to absolute coords
3372         (cursorUp): adjust
3373         (cursorDown): adjust
3374         * text3.C (dispatch): adjust
3375
3376 2004-02-16  André Pönitz  <poenitz@gmx.net>
3377
3378         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3379           insets/ChangeLog)
3380
3381         * cursor_slice.[Ch]: remove unneeded acessor function
3382
3383         * lyxtext.h: rename rtl() to isRTL()
3384
3385         * rowpainter.C:
3386         * tabular.C:
3387         * text.C:
3388         * text2.C:
3389         * text3.C: adjust
3390
3391 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3392
3393         * rowpainter.C (paintSelection): coord fix
3394
3395 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3396
3397         * Spacing.C: compile fix
3398
3399 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3400
3401         * cursor.C (dispatch): restore current_ before returning
3402
3403 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3404
3405         * text2.C (cursorUp, cursorDown): fix coords
3406         (moveUp): fix crash
3407
3408 2004-02-12  André Pönitz  <poenitz@gmx.net>
3409
3410         * lyxtext.h:
3411         * text.C:
3412         * text2.C:
3413         * text3.C: add LCursor & parameter to most cursor movement functions
3414           remove usage of LyXText::cursorRow() and cursorPar()
3415
3416         * cursor.[Ch]: add textRow() needed members
3417
3418         * BufferView.C:
3419         * BufferView_pimpl.C:
3420         * paragraph.[Ch]:
3421         * BufferView.C:
3422         * BufferView_pimpl.C: adjust
3423
3424 2004-02-11  André Pönitz  <poenitz@gmx.net>
3425
3426         * lyxfunc.C:
3427         * BufferView.[Ch]:
3428         * BufferView_pimpl.C: shift undo/redo handling
3429
3430         * cursor.[Ch]: fix mathed crash
3431
3432         * lyxfind.C:
3433         * lyxtext.h: move selectionAsText to LCursor
3434
3435         * output_latex.C:
3436         * paragraph.C:
3437         * text.C:
3438         * text2.C:
3439         * text3.C: adjust
3440
3441         * rowpainter.C: fix excessive drawing
3442
3443 2004-02-06  André Pönitz  <poenitz@gmx.net>
3444
3445         * BufferView.[Ch]:
3446         * BufferView_pimpl.[Ch]:
3447         * text3.C: move some text specific LFUN handling
3448
3449 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3450
3451         * text3.C (checkInsetHit): adjust coords
3452         * text2.C (getColumnNearX): adjust coords
3453         (edit): adjust coords
3454         * text.C (getRowNearY): add two asserts
3455
3456 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3457
3458         * converter.C:
3459         * format.C: add using std::distance to compile on gcc 2.95/stlport
3460
3461 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3462
3463         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3464
3465 2004-02-04  André Pönitz  <poenitz@gmx.net>
3466
3467         * BufferView.[Ch] (insertInset):
3468         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3469
3470         * text2.C:
3471         * text3.C: adjust
3472
3473 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3474
3475         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3476         on the default clause of the switch
3477         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3478         wasn't catched by LCursor::dispatch
3479
3480 2004-02-03  André Pönitz  <poenitz@gmx.net>
3481
3482         * BufferView.C:
3483         * cursor.[Ch]: some additional asserts
3484
3485         * undo.[Ch]: remove LyXText dependency in interface
3486
3487         * lyxfunc.C: adjust
3488
3489         * lyxtext.h (firstPar, lastPar): remove dead functions
3490
3491         * text.C:
3492         * text2.C:
3493         * text3.C:
3494         * paragraph.[Ch]: adjust
3495
3496 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3497
3498         * lyxfind.C (find): fix argument order in call to ::find
3499
3500 2004-02-02  André Pönitz  <poenitz@gmx.net>
3501
3502         * cursor.[Ch]: remove direct access to anchor
3503
3504         * text.C: remove findText() hack
3505
3506 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3507
3508         * iterators.[Ch] (lockPath): remove in favour of...
3509         * BufferView.[Ch] (setCursor): this addition
3510         * BufferView.C (putSelectionAt): adjust
3511         * undo.C (performUndoOrRedo): adjust
3512         * lyxfunc.C (dispatch): adjust
3513
3514 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3515
3516         * iterators.C (lockPath): add a missing slice
3517         * undo.C (performUndoOrRedo): remove redundant positioning code
3518
3519 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3520
3521         * vc-backend.C (scanMaster): ";" -> ';'
3522
3523 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3524
3525         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3526         std::binary_function
3527
3528         * lyxtextclass.C (compare_name): rename to...
3529         (LayoutNamesEqual): ...this
3530
3531         * lyxlex_pimpl.C (compare_tags): inherit from
3532         std::binary_function, put back into anon namespace
3533
3534         * lyxfind.C (MatchString): inherig from std::binary_function
3535         (findChange): use empty() istead of !size()
3536
3537         * format.C (FormatNamesEqual): new functor
3538         (getFormat): use it
3539         (getNumber): use it
3540         (add): use it
3541         (erase): use it
3542         (setViewer): use it
3543
3544         * converter.C (compare_Converter): rename to...
3545         (ConverterEqual): ...this, and fixup a bit.
3546         (getConverter): use it, and make function const
3547         (getNumber): use it, and make function const
3548         (add): use it
3549         (erase): use it:
3550
3551         * bufferlist.C: add using boost::bind
3552
3553         * MenuBackend.C (MenuNamesEqual): new functor
3554         (hasMenu): use it, and make function const
3555         (hasSubmenu): use nested bind to get rid of compare_memfun.
3556
3557 2004-01-30  André Pönitz  <poenitz@gmx.net>
3558
3559         * BufferView_pimpl.C:
3560         * cursor.C:
3561         * cursor.h:
3562         * cursor_slice.[Ch]:
3563         * lyxfunc.C:
3564         * lyxtext.h:
3565         * paragraph_funcs.C:
3566         * paragraph_funcs.h:
3567         * rowpainter.C:
3568         * text.C:
3569         * text2.C:
3570         * text3.C: move some of the edit(x,y) handling to the insets
3571         some coordinate changes.
3572
3573 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3574
3575         * text.C: add using statements for std::advance and std::distance
3576
3577         * paragraph.C: add using statement for std::distance
3578
3579         * lyxfind.C: add using statement for std::advance
3580
3581         * cursor.C (region): remove std:: from swap
3582         (openable): use nucleus in stead of operator->
3583
3584         * BufferView.C: add using statements for std::distance and std::swap
3585
3586 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3587
3588         * iterators.C: Remove the pimple, move the needed structures to
3589         the header file. Create accessor for the positions stack.
3590         (asPosIterator): remove function
3591
3592         * PosIterator.C (PosIterator): move constructors to top of file
3593         (PosIterator): reimplement the constructor taking a ParIterator in
3594         terms of setFrom.
3595         (setFrom): new function
3596         (operator!=): inline it
3597
3598 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3599
3600         * lyxfind.C (replaceAll): use std::advance
3601
3602         * iterators.h: inherit from std::iterator.
3603
3604         * PosIterator.C (advance, distance): remove
3605         * PosIterator.h: interit from std::iterator.
3606
3607 2004-01-26  André Pönitz  <poenitz@gmx.net>
3608
3609         * BufferView.[Ch]:
3610         * BufferView_pimpl.[Ch]:
3611         * InsetList.[Ch]:
3612         * PosIterator.[Ch]:
3613         * buffer.h:
3614         * bufferview_funcs.C:
3615         * cursor.[Ch]:
3616         * cursor_slice.h:
3617         * factory.[Ch]:
3618         * iterators.[Ch]:
3619         * lyxfind.C:
3620         * lyxfunc.C:
3621         * lyxtext.h:
3622         * output_docbook.C:
3623         * output_latex.C:
3624         * output_linuxdoc.C:
3625         * output_plaintext.C:
3626         * paragraph.[Ch]:
3627         * paragraph_funcs.[Ch]:
3628         * paragraph_pimpl.[Ch]:
3629         * rowpainter.C:
3630         * tabular.C:
3631         * tabular.h:
3632         * text.C:
3633         * text2.C:
3634         * text3.C: more IU:  dumps most of the rest of the mathcursor
3635     implementation into cursor.[Ch]; "globalize" a bit of it.
3636
3637 2004-01-25  Angus Leeming  <leeming@lyx.org>
3638
3639         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3640
3641 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3642
3643         * LaTeXFeatures.h: add nice_ and nice() const
3644         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3645
3646 2004-01-20  André Pönitz  <poenitz@gmx.net>
3647
3648         * BufferView.[Ch]:
3649         * BufferView_pimpl.C:
3650         * PosIterator.C:
3651         * bufferview_funcs.C:
3652         * cursor.[Ch]:
3653         * cursor_slice.[Ch]:
3654         * factory.C:
3655         * iterators.C:
3656         * lyx_cb.C:
3657         * lyxfind.C:
3658         * lyxfunc.C:
3659         * lyxtext.h:
3660         * rowpainter.C:
3661         * text.C:
3662         * text2.C:
3663         * text3.C:
3664         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3665           LCursor and mathcursor parts to LCursor and InsetBase.
3666
3667 2004-01-15  André Pönitz  <poenitz@gmx.net>
3668
3669         * cursor_slice.[Ch]: add a few covienience functions
3670
3671         * funcrequest.[Ch]: remove BufferView * member
3672
3673         * BufferView_pimpl.C:
3674         * cursor.C:
3675         * factory.[Ch]:
3676         * lyxfind.[Ch]:
3677         * lyxfunc.C:
3678         * lyxtext.h:
3679         * text3.C:
3680         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3681
3682 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3683
3684         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3685         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3686
3687 2004-01-13  André Pönitz  <poenitz@gmx.net>
3688
3689         * textcursor.[Ch]:
3690         * lyxtext.h: hide cursor and selection anchor behind accessor function
3691
3692         * BufferView.C:
3693         * BufferView_pimpl.[Ch]:
3694         * PosIterator.C:
3695         * bufferview_funcs.C:
3696         * cursor.h:
3697         * lyxfind.C:
3698         * lyxfunc.C:
3699         * text.C:
3700         * text2.C:
3701         * text3.C:
3702         * undo.C: adjust
3703
3704         * cursor.h:
3705         * cursor_slice.[Ch]: some integer type changes for inset unification
3706
3707         * lyxcursor.[hC]: remove, it's CursorSlice now.
3708
3709         * Makefile.am:
3710         * BufferView_pimpl.[Ch]:
3711         * bufferview_funcs.C:
3712         * cursor_slice.C:
3713         * lyxtext.h:
3714         * text.C:
3715         * text2.C:
3716         * text3.C:
3717         * textcursor.[Ch]: adjust
3718
3719 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3720
3721         * text2.C (undoSpan): add and use
3722         * text.C (breakParagraph): use undoSpan (fix bug 578)
3723         * lyxtext.h: adjust
3724
3725 2004-01-08  Angus Leeming  <leeming@lyx.org>
3726
3727         * BufferView_pimpl.C (MenuInsertLyXFile):
3728         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3729         * lyxfunc.C (menuNew, open, doImport):
3730         FileFilterList change to the FileDialog open and save functions.
3731
3732 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
3733
3734         * ShareContainer.h: make isEqual and isUnique adaptable
3735
3736         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3737
3738 2004-01-07  Angus Leeming  <leeming@lyx.org>
3739
3740         * LyXAction.C:
3741         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3742
3743         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3744
3745         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3746         functions replacing find, replace and replaceAll.
3747
3748         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3749         LFUN_WORDFIND(FORWARD|BACKWARD).
3750
3751 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3752
3753         * text.C (breakParagraph): remove an outdated #warning
3754
3755 2004-01-07  André Pönitz  <poenitz@gmx.net>
3756
3757         * lyxfind.C: somewhat clearer logic
3758
3759         * text.C: prevent crash in cursorX on unitialized row cache
3760
3761 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3762
3763         * lyxcursor.[Ch] (operator>): add
3764         * textcursor.C (selStart, selEnd): use std::min and std::max
3765
3766 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3767
3768         * Chktex.C: include boost/format.hpp
3769
3770 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3771
3772         * InsetList.C: replace functor MathcIt with adaptable functor
3773         InsetTablePosLess
3774         (insetIterator): modify accordingly
3775
3776         * BranchList.h: move the BranchNamesEqual functor here from...
3777         * BranchList.C: ... to here
3778
3779         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3780         SameName and match.
3781         (add): replace a finding loop with std::find_if.
3782
3783 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3784
3785         * output_docbook.C: moving LatexParam functionality into
3786         .layout files
3787
3788 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3789
3790         * buffer.C: increment format to 229.
3791
3792 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3793
3794         * LaTeXFeatures.C:
3795         * lyx_sty.[Ch]: remove minipageindent_def
3796
3797         * LyXAction.C:
3798         * factory.C:
3799         * lfuns.h:
3800         * lyxfunc.C:
3801         * text3.C: remove LFUN_INSET_MINIPAGE
3802
3803 2003-12-28  Angus Leeming  <leeming@lyx.org>
3804
3805         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3806
3807 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3808
3809         * text2.C (setParagraph): fix off-by-one crash
3810
3811 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3812
3813         * output_docbook.C: header stuff for AGU
3814
3815 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3816
3817         * text2.C (redoCursor): remove
3818         * text.C:
3819         * text3.C:
3820         * BufferView_pimpl.C: remove calls to redoCursor and
3821         setCursor(cursor.par(), cursor.pos()) all around
3822
3823 2003-12-15  Angus Leeming  <leeming@lyx.org>
3824
3825         * buffer.C: up the format to 228.
3826
3827 2003-12-15  André Pönitz  <poenitz@gmx.net>
3828
3829         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3830         slices
3831
3832         * Makefile.am:
3833
3834         * BufferView_pimpl.C:
3835         * cursor.[Ch]:
3836         * lyxcursor.[Ch]:
3837         * rowpainter.[Ch]:
3838         * lyxtext.h:
3839         * text.C:
3840         * text2.C:
3841         * text3.C: adjust
3842
3843 2003-12-15  Angus Leeming  <leeming@lyx.org>
3844
3845         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3846         than getFromGUIName to manipulate the color.
3847
3848 2003-12-14  Angus Leeming  <leeming@lyx.org>
3849
3850         * BranchList.[Ch]: minimize the API.
3851         (Branch::getBranch, getColor): now return a 'const &'.
3852         (Branch::setSelected) now returns a bool set to true if the
3853         selection status changes.
3854         (BranchList::clear, size, getColor, setColor, setSelected,
3855         allBranches, allSelected, separator): removed.
3856         (BranchList::find): new functions, returning the Branch with
3857         the given name.
3858         (BranchList::add, remove): return a bool indicating that
3859         the operation was successful.
3860
3861         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3862         new InsetBranch::isBranchSlected member function.
3863
3864         * LColor.[Ch]: mimimize the API.
3865         (fill): renamed as addColor and made private.
3866         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3867         versions of these functions taking a string arg have been removed.
3868
3869         * bufferparams.C (readToken):
3870         * lyxfunc.C (dispatch):
3871         * lyxrc.C (read): changes due to the altered BranchList and
3872         LColor APIs.
3873
3874         * factory.C (createInset, readInset): changes due to altered
3875         InsetBranch c-tor.
3876
3877 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3878
3879         * factory.C:
3880         * lyxfunc.C: remove insetminipage. "minipage-insert"
3881         now produces a frameless minipage box inset.
3882
3883 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3884
3885         * textcursor.[Ch] (selStart,selEnd): add new methods
3886         remove selection::start, end, use LyXCursor::operator<
3887         * lyxcursor.[Ch] (operator<): add
3888         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3889         * BufferView.[Ch] (unsetXSel): add
3890         * text2.C (clearSelection): use unsetXSel,adjust
3891         * text.C: adjust
3892         * text3.C: adjust
3893         * rowpainter.C: adjust
3894         * bufferview_funcs.C (put_selection_at): adjust
3895
3896 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3897
3898         * BufferView_pimpl.C: small coord. correction
3899
3900 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3901
3902         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3903         dragging over the splash screen.
3904
3905 2003-12-11  Angus Leeming  <leeming@lyx.org>
3906
3907         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3908         as it is now handled in LyXText::dispatch.
3909
3910         * text3.C (doInsertInset): remove a level of nesting.
3911
3912 2003-12-11  Angus Leeming  <leeming@lyx.org>
3913
3914         * factory.C (createInset): changes due to the changed interface to
3915         InsetCommandMailer::string2params.
3916
3917 2003-12-10  Angus Leeming  <leeming@lyx.org>
3918
3919         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3920         'dialog-show-new-inset <inset name>'
3921
3922 2003-12-10  Angus Leeming  <leeming@lyx.org>
3923
3924         * buffer.C: up the format to 227.
3925
3926         * factory.C: the box inset is now identified simply by 'Box'.
3927
3928 2003-12-10  Angus Leeming  <leeming@lyx.org>
3929
3930         * buffer.C: up the format to 226.
3931
3932         * factory.C: the note inset is now identified simply by 'Note'.
3933
3934 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3935
3936         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3937         when a pit is enough. Standarize a couple of loops.
3938
3939 2003-12-05  Angus Leeming  <leeming@lyx.org>
3940
3941         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3942         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3943         data to the re-worked "log" dialog.
3944
3945 2003-12-03  André Pönitz  <poenitz@gmx.net>
3946
3947         * PosIterator.C:
3948         * iterators.C:
3949         * lyxtext.h:
3950         * output_latex.C:
3951         * paragraph_funcs.C:
3952         * text.C:
3953         * text2.C: use Inset::getText instead of Inset::getParagraph
3954
3955 2003-12-03  André Pönitz  <poenitz@gmx.net>
3956
3957         * buffer.[Ch]:
3958         * lyxtext.h:
3959         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3960         InsetText::read() as LyXText::read()
3961
3962 2003-12-02  Angus Leeming  <leeming@lyx.org>
3963
3964         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3965         type. Add a comment in the implementation that the function uses
3966         the stream's bad() function rather than fail() as the std::streams
3967         would do.
3968
3969 2003-12-02  André Pönitz  <poenitz@gmx.net>
3970
3971         * lyxlex.[Ch]: make interface more similar to std::stream
3972
3973         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3974
3975 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3976
3977         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3978
3979 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3980
3981         * vspace.[Ch]: remove VSpace::NONE
3982
3983 2003-12-01  André Pönitz  <poenitz@gmx.net>
3984
3985         * buffer.[Ch]:
3986         * lyxtext.h: move ParagraphList member to LyXText
3987         rename LyXText::ownerParagraphs to LyXText::paragraph
3988
3989         * CutAndPaste.C:
3990         * bufferview_funcs.C:
3991         * iterators.[Ch]:
3992         * lyx_cb.C:
3993         * paragraph.C:
3994         * rowpainter.C:
3995         * tabular.C:
3996         * text.C:
3997         * text2.C:
3998         * text3.C: adjust
3999
4000         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4001
4002         * undo.C: fix cursor positioning
4003
4004 2003-12-01  John Levon  <levon@movementarian.org>
4005
4006         * BufferView_pimpl.C: fix a crash on exit with
4007         a buffer open
4008
4009 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4010
4011         * BranchList.C: fix setSelected() method.
4012
4013 2003-11-28  André Pönitz  <poenitz@gmx.net>
4014
4015         * ParagraphParameters.[Ch]:
4016         * ParameterStruct.h: remove space above/below from Paragraph to
4017          InsetVSpace
4018
4019         * BufferView_pimpl.C:
4020         * factory.C:
4021         * lyxfunc.C:
4022         * lyxtext.h:
4023         * output_latex.C:
4024         * paragraph.C:
4025         * paragraph_funcs.C:
4026         * rowpainter.[Ch]:
4027         * text.C:
4028         * text2.C:
4029         * text3.C: adjust
4030
4031 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4032
4033         * factory.C: Syntax change for CharStyles
4034
4035 2003-11-28  André Pönitz  <poenitz@gmx.net>
4036
4037         * BufferView.[Ch]:
4038         * BufferView.[Ch]:
4039         * buffer.[Ch]:
4040         * buffer.[Ch]: move LyXText member
4041
4042 2003-11-28  André Pönitz  <poenitz@gmx.net>
4043
4044         * BufferView.[Ch]: make LyXText * text a private member
4045
4046         * BufferView_pimpl.C:
4047         * cursor.C:
4048         * iterators.C:
4049         * lyx_cb.C:
4050         * lyxfind.C:
4051         * lyxtext.h:
4052         * rowpainter.[Ch]:
4053         * text.C:
4054         * text2.C:
4055         * undo.C: adjust
4056
4057         * output_plaintext.C: cleanup
4058
4059 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4060
4061         * buffer.C:
4062         * lyxtextclass.[Ch]: parametrize SGML document header
4063
4064 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4065
4066         * converter.[Ch]:
4067         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4068         getFlavor().
4069
4070 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4071
4072         * text2.C (setFont): rework using PosIterator (no more recursive)
4073         (setCharFont): no more needed
4074         (setLayout): no more selection cursors fiddling (done by redoCursor)
4075         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4076         destroy remaining ones)
4077
4078 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4079
4080         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4081         * lyxtext.h: ditto
4082         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4083         selection cursors
4084         * lyxfunc.C: adjust
4085         * text3.C: adjust + re-allow multi par depth changes
4086         * textcursor.C: simplify a bit
4087
4088 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4089
4090         * src/buffer.C:
4091         * src/lyxlayout.C:
4092         * src/lyxlayout.h:
4093         * src/lyxtext.h:
4094         * src/output_docbook.C:
4095         * src/output_latex.C:
4096         * src/paragraph.C:
4097         * src/paragraph.h:
4098         * src/sgml.C:
4099         * src/sgml.h:
4100         * src/text2.C: Introducing a number of tags parametrizing various
4101         XML formats that we may want to support
4102
4103 2003-11-25  André Pönitz  <poenitz@gmx.net>
4104
4105         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4106
4107         * lyxtext.h (leftMargin/rightMargin): simplify interface
4108
4109         * rowpainter.C:
4110         * text.C:
4111         * text2.C:
4112         * text3.C: adjust
4113
4114 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4115
4116         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4117         master file to any child files. Fixes bug 546.
4118
4119 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4120
4121         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4122
4123 2003-11-24  André Pönitz  <poenitz@gmx.net>
4124
4125         * rowpainter.C: simplification
4126
4127         * text2.C (updateCounters): remove call to redoParagraph on
4128         changed labels as this is far too expensive.
4129
4130 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4131
4132         * converter.C (convert): fix a crash: this function gets
4133         called with buffer == 0 from importer code.
4134
4135 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4136
4137         * text3.C (cursorPrevious): make sure that we do not compare
4138         iterators form different containers.
4139         (cursorNext): ditto
4140
4141         * rowpainter.C (paintSelection): make sure that we do not compare
4142         iterators from different containers.
4143
4144         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4145         iterators from different ParagraphList containers.
4146         [NEXT] ditto
4147
4148         * text2.C (LyXText): change order of initialization slightly
4149         (operator=): new function. copy all variables except cache_par_
4150         (moveUp): make sure that we do not compare iterators from
4151         different ParagraphList constainers.
4152         (moveDown): ditto
4153
4154         * text.C (firstPar): new function
4155         (lastPar): new function
4156         (endPar): new function
4157
4158         * lyxtext.h: move things around and group public functions, public
4159         variables, private functions, private variables
4160
4161 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4162
4163         * factory.C: change call to InsetERT constructor to avoid
4164         additional invocation of method status
4165         * text2.C (toggleInset): remove redundant update() call
4166         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4167         instead of a Bufferview pointer
4168
4169 2003-11-21  André Pönitz  <poenitz@gmx.net>
4170
4171         * rowpainter.C: simplification
4172
4173 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4174
4175         * text3.C (dispatch): make possible to extend a word/row selection
4176         with the mouse
4177
4178 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4179
4180         * lyxtext.h: x0_,y0_ -> xo_,yo_
4181         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4182         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4183         * rowpainter.C (paintRows): paint full paragraphs
4184
4185 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4186
4187         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4188         screen coordinates)
4189
4190 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4191
4192         * lyxtext.h: add x0_, y0_
4193         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4194         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4195
4196 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4197
4198         * text2.C (setCursorIntern): move the x_target update here *
4199         * text3.C: change some bv() to true/false in calls to
4200         cursorUp/Down/Right/Left
4201         * cursor.C: use helper function.
4202
4203 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4204
4205         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4206         * paragraph_funcs.[Ch]: correct comment
4207         * rowpainter.C: do not paint selections away from bv->cursor()
4208         Fix a long standing selection painting bug.
4209         * text3.C: generalize mouse-selection code to LyXTexts other that
4210         top one
4211         * textcursor.C: do not use y coords if we can use par offsets
4212
4213 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4214
4215         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4216         cursor position after e.g. inset insert)
4217
4218 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4219
4220         * lyxfind.C (replace): adjust to locking removal + some
4221         code simplification
4222
4223 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4224
4225         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4226         of the path
4227
4228 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4229
4230         * lyxlayout.[Ch]:
4231         * output_docbook.C: XML sanitation: new layout
4232         parameters InnerTag and CommandDepth
4233
4234 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4235
4236         * BufferView_pimpl.C:
4237         * factory.C:
4238         * text3.C: Fix the insertion and modification of button-style
4239         insets
4240
4241 2003-11-13  André Pönitz  <poenitz@gmx.net>
4242
4243         * InsetList.[Ch]: remove deleteLyXText
4244
4245         * paragraph.[Ch]: cache beginOfBody position
4246
4247         * Bidi.C:
4248         * text.C:
4249         * text2.C:
4250         * text3.C: remove superfluous update() calls
4251
4252         * vspace.C: cleanup
4253
4254 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4255
4256         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4257         * BufferView.C (fitLockedInsetCursor): remove
4258         * cursor.[Ch] (getDim): add
4259         * text.C (getRowNearY): add faster version
4260         * text3.C: remove some update calls
4261
4262 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4263
4264         * LaTeXFeatures.C:
4265         * LyXAction.C:
4266         * MenuBackend.C:
4267         * MenuBackend.h:
4268         * dispatchresult.h:
4269         * factory.C:
4270         * lfuns.h:
4271         * lyxfunc.C:
4272         * lyxtextclass.C:
4273         * lyxtextclass.h:
4274         * text3.C: The Character Style /XML short element patch.
4275
4276 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4277
4278         * text3.C:
4279         * factory.C: Small step to solving 'unable to insert some insets'
4280         problem
4281
4282 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4283
4284         * cursor.[Ch] (updatePos): new function for updating the y
4285         position of the tip inset
4286         * bufferview_funcs.C (put_selection_at):
4287         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4288
4289 2003-11-11  André Pönitz  <poenitz@gmx.net>
4290
4291         * text.C: remove big comment on invalid Paragraph pointers as it is
4292         not valid anymore
4293
4294 2003-11-11  André Pönitz  <poenitz@gmx.net>
4295
4296         * text_funcs.[Ch]: merge with ...
4297
4298         * text.C: ... this
4299
4300         * lyxtext.h:
4301         * text2.C:
4302         * text3.C: adjust
4303
4304         * Makefile.am: remove text_funcs.[Ch]
4305
4306 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4307
4308         * cursor.C (getPos): return absolute cached y coord
4309
4310         * BufferView_pimpl.C (fitCursor): new simplistic code
4311         (workAreaDispatch): add a fitCursor call
4312
4313 2003-11-10  André Pönitz  <poenitz@gmx.net>
4314
4315         * BufferView.[Ch]:
4316         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4317
4318 2003-11-10  André Pönitz  <poenitz@gmx.net>
4319
4320         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4321         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4322         indicate that the cursor needs to leave an inset
4323
4324         * lyxtext.h: remove inset locking
4325
4326         * cursor.[Ch]: re-implement functionality provided by inset locking
4327
4328         * BufferView.[Ch]:
4329         * BufferView_pimpl.[Ch]:
4330         * LyXAction.C:
4331         * bufferview_funcs.[Ch]:
4332         * factory.C:
4333         * funcrequest.[Ch]:
4334         * iterators.C:
4335         * lyx_cb.C:
4336         * lyxfind.C:
4337         * lyxfunc.C:
4338         * text.C:
4339         * text2.C:
4340         * text3.C:
4341         * undo.C: adjust
4342
4343 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4344
4345         * PosIterator.[Ch]: replace the stack with a vector, add inset
4346         accesor
4347         * iterators.[C]: adjust
4348
4349 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4350
4351         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4352         replaced
4353         * paragraph_funcs.C (readParToken): put the correct id in the
4354         error item, not the id of the top paragraph
4355
4356 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4357
4358         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4359         * bufferview_funcs.C (put_selection_at): use the above
4360
4361 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4362
4363         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4364
4365 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4366
4367         * output_linuxdoc.h:
4368         * output_plaintext.h:
4369         * output.h:
4370         * output_docbook.h: add #include statements
4371
4372 2003-11-05  José Matos  <jamatos@lyx.org>
4373
4374         * output_docbook.[Ch]:
4375         * output_latex.[Ch]:
4376         * output_linuxdoc.[Ch]:
4377         * output_plaintext.[Ch]: New files for output formats.
4378         * output.[Ch]: New file for helper functions.
4379
4380         * buffer.[Ch]:
4381         * paragraph_funcs.[Ch]: output functions moved to new files.
4382
4383         * outputparams.h: rename of latexrunparams.h
4384
4385         * LaTeX.[Ch]:
4386         * buffer.[Ch]:
4387         * bufferlist.[Ch]:
4388         * converter.[Ch]:
4389         * exporter.C:
4390         * paragraph.[Ch]:
4391         * paragraph_funcs.[Ch]:
4392         * paragraph_pimpl.[Ch]:
4393         * tabular.[Ch]: rename ascii to plaintext
4394         and LatexRunParams to OutputParams.
4395
4396 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4397
4398         * iterators.[Ch] (text): require bv argument
4399         * undo.C (recordUndo):
4400         * lyxfunc.C (dispatch):
4401         * bufferview_funcs.C (put_selection_at): adjust
4402
4403 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4404
4405         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4406
4407 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4408
4409         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4410         nestings
4411
4412 2003-11-04  André Pönitz  <poenitz@gmx.net>
4413
4414         * cursor.[Ch]: restructure
4415
4416         * BufferView.[Ch]:
4417         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4418
4419         * iterators.[Ch] (asCursor): remove
4420
4421         * lfuns.h: remove LFUN_INSET_EDIT
4422
4423         * lyxfunc.C:
4424         * tabular.C:
4425         * text.C:
4426         * text2.C:
4427         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4428
4429 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4430
4431         * lyxfind.[Ch]: complete overhaul
4432         * BufferView_pimpl.C:
4433         * lyxfunc.C: adjust
4434         * paragraph.[Ch] (insert): add
4435
4436 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4437
4438         * BufferView.[Ch]:
4439         * lyxtext.h:
4440         * text.C: remove dead spellcheck code
4441
4442 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4443
4444         * dispatchresult.h: add a val setter
4445
4446         * cursor.C (dispatch): use a tempvar for data_[i]
4447
4448 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4449
4450         * PosIterator.[Ch]: compile fix
4451
4452 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4453
4454         * text.C (cursorPar): deactivate the cursor cache
4455
4456 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4457
4458         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4459
4460 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4461
4462         * text3.C (dispatch): adjust for new DisptchResult semantics.
4463
4464         * lyxfunc.C (dispatch): handle update when return from
4465         Cursor::dispatch, adjust for new DispatchResult semantics.
4466
4467         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4468         DispatchResult(true) mean to not update. Add class functions for
4469         setting dispatched and update, as well as reading.
4470
4471         * cursor.C (dispatch): don't handle update here
4472
4473 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4474
4475         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4476         * trans_mgr.C: adjust
4477
4478         * paragraph_funcs.C (readParToken): exception safety
4479
4480         * lyxvc.h: store the vcs pointer in a scoped_ptr
4481         * lyxvc.C: adjust
4482
4483         * lyxsocket.C (serverCallback): exception safety
4484
4485         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4486
4487         * ispell.C (clone): make it return a auto_ptr
4488
4489         * factory.C (createInset): exception safety
4490         (readInset): exception safety
4491
4492         * bufferlist.C (newBuffer): exception safety
4493
4494         * Thesaurus.C (Thesaurus): use initialization for aik_
4495
4496         * MenuBackend.C (expandToc): exception safety.
4497
4498 2003-11-03  André Pönitz  <poenitz@gmx.net>
4499
4500         * buffer.C:
4501         * buffer.h:
4502         * bufferview_funcs.C: remove getInsetFromId()
4503
4504         * lyxcursor.[Ch]:
4505         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4506
4507         * lyxfunc.C:
4508         * text2.C:
4509         * text3.C: adjust
4510
4511 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4512
4513         * PosIterator.C (distance, advance): new
4514         * bufferview_funcs.[Ch] (put_selection_at): new
4515         * iterators.[Ch] (lockPath): new
4516
4517 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4518
4519         * iterators.[Ch] (asPosIterator): added
4520         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4521         * PosIterator.[Ch]: added
4522
4523 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4524
4525         * text3.C:
4526         * lyxfunc.C:
4527         * cursor.C (dispatch):
4528         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4529
4530         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4531         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4532         contructor, add a class function dispatched. Remove operator>=
4533
4534 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4535
4536         * debug.C: only use the default constructor for debugstream
4537         (lyxerr) here.
4538
4539         * main.C (main): include debug.h and setup the lyxerr streambuf
4540         here.
4541
4542 2003-10-31  José Matos  <jamatos@lyx.org>
4543
4544         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4545
4546         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4547         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4548         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4549         * paragraph_pimpl.C (simpleTeXSpecialC):
4550         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4551         add LatexRunParams argument.
4552
4553         * exporter.C (Export): change call accordingly.
4554
4555         * latexrunparams.h: add new member to take care of the other backends.
4556 2003-10-30  José Matos  <jamatos@lyx.org>
4557
4558         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4559         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4560         factorise code for paragraph output.
4561         * buffer.[Ch]:
4562         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4563         move functions.
4564
4565 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * text3.C (dispatch):
4568         * lyxfunc.C (dispatch):
4569         * cursor.C (dispatch):
4570         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4571
4572         * dispatchresult.h: make the dispatch_result_t ctor explicit
4573
4574 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4575
4576         * sgml.[Ch]:
4577         * buffer.C: small refactoring of docbook stuff
4578
4579 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4580
4581         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4582         meaning.
4583
4584 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4585
4586         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4587         operator dispatch_result_t, and operators for == != and >=
4588
4589         * cursor.C (dispatch): adjust for operator dispatch_result_t
4590         removal. comment out call to update
4591
4592         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4593
4594 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4595
4596         * text3.C:
4597         * text2.C:
4598         * text.C:
4599         * lyxtext.h:
4600         * lyxfunc.C:
4601         * cursor.C:
4602         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4603         (dispatch):
4604
4605         * dispatchresult.h: new file, DispatchResult broken out of
4606         insets/insetbase.h
4607
4608         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4609
4610 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4611
4612         * text.C (rowBreakPoint): put a hack inside #if 0
4613
4614 2003-10-28  André Pönitz  <poenitz@gmx.net>
4615
4616         * lyxtext.h:
4617         * metricsinfo.C:
4618         * paragraph_funcs.C:
4619         * rowpainter.C:
4620         * text.C:
4621         * text2.C: general cleanup (lots of small stuff)
4622
4623 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4624
4625         * text2.C (cursorEnd): simple fix to the "end key goes to one
4626         before the end on last row" bug
4627
4628 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4629
4630         * text.C (backspace): fix the "zombie characters"
4631
4632 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4633
4634         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4635
4636 2003-10-27  André Pönitz  <poenitz@gmx.net>
4637
4638         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4639
4640         * factory.C: handle new InsetPagebreak, InsetLine
4641
4642         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4643         and move handling into new InsetPagebreak, InsetLine
4644
4645         * BufferView_pimpl.C:
4646         * LyXAction.C:
4647         * ParagraphParameters.C:
4648         * ParameterStruct.h:
4649         * lyxfunc.C:
4650         * lyxtext.h:
4651         * paragraph.C:
4652         * paragraph.h:
4653         * paragraph_funcs.C:
4654         * paragraph_pimpl.C:
4655         * rowpainter.C:
4656         * text.C:
4657         * text2.C:
4658         * text3.C: adjust
4659
4660 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4661
4662         * text.C:
4663         * lyxrow_funcs.[Ch]:
4664         * Bidi.C:
4665         * paragraph.C:
4666         * lyxtext.h:
4667         * rowpainter.C:
4668         * text2.C:
4669         * text3.C: remove lastPos uses in favour of Row::endpos
4670
4671 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4672
4673         * undo.C (performUndoOrRedo): fix two crashes by setting a
4674         cursor by hand and reordering some calls. Use bv->lockInset instead
4675         of inset->edit because the latter loses cursor information
4676
4677 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4678
4679         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4680         by Martin
4681         (rowBreakPoint): fix width. change point to point + 1.
4682         Add a missing check.
4683
4684 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4685
4686         * MenuBackend.C:
4687         * lyxfunc.C: fix (at least partly) the problems
4688         with the Nav menu and headers inside branch insets
4689         reported by Kayvan
4690
4691 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4692
4693         * paragraph.C (getChar): add strong asserts
4694
4695         * lyxrow_funcs.C (lastPos): remove hideous hack
4696
4697         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4698         (fill): adjust to that (avoid an infinite loop)
4699
4700 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4701
4702         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4703
4704 2003-10-23  André Pönitz  <poenitz@gmx.net>
4705
4706         * RowList_fwd.h: change list<> to vector<> to gain speed
4707         after suggestion from Alfredo
4708
4709 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4710
4711         * lyxtext.h: move the bidi stuff from here...
4712         * text.C: and here
4713         * text2.C: and here
4714         * Bidi.[Ch]: ... to here
4715
4716 2003-10-23  André Pönitz  <poenitz@gmx.net>
4717
4718         * lyxtext.h:
4719         * text.C (isLastRow, isFirstRow): new functions
4720
4721         * paragraph.h: new width cache member
4722
4723         * rowpainter.C: replace RowList::iterator with Row & where possible
4724
4725         * lyxfunc.C: replace several view()->text with a single call
4726
4727         * toc.C: fix 'unused' warning
4728
4729 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4730
4731         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4732         when woring with stream::pos_type
4733         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4734
4735 2003-10-22  André Pönitz  <poenitz@gmx.net>
4736
4737         * lyxtext.h:
4738         * text.C: use Row & instead of RowList::iterator
4739
4740         * lyxrow.h: rename end() to endpos()
4741
4742         * rowpainter.C:
4743         * text.C:
4744         * text2.C: adjust
4745
4746 2003-10-22  Angus Leeming  <leeming@lyx.org>
4747
4748         * buffer.[Ch] (fully_loaded): new member function, returning true
4749         only when the file has been loaded fully.
4750         Used to prevent the premature generation of previews and by the
4751         citation inset to prevent computation of the natbib-style label.
4752
4753         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4754         templates are all set up.
4755
4756         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4757
4758 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4759
4760         * text.C: fixed an "oops" in the "is a bit silly"
4761         bug fix
4762
4763 2003-10-21  André Pönitz  <poenitz@gmx.net>
4764
4765         * FuncStatus.[Ch]: small stuff, whitespace
4766
4767         * lyxfont.[Ch]: operator<<() for debug reasons
4768
4769         * lyxfunc.C:
4770         * lyxrow_funcs.C:
4771         * lyxtext.h: whitespace, spelling
4772
4773         * paragraph.C: naming of variables
4774
4775         * text.C:
4776         * text2.C: small stuff
4777
4778
4779 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4780
4781         * text.C: (1) finish off the inset display() work;
4782         (2) fix the "is a bit silly" bug (accessing char
4783         past end of par).
4784
4785 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4786
4787         * text.C: re-introduce display() for insets, fixing the
4788         various bugs (stretch of line above, math inset
4789         positioning, ...)
4790
4791 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4792
4793         * text.C (rightMargin): remove spurious semicolon
4794
4795         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4796         1415)
4797
4798 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4799
4800         * text3.C: fix one crash due to wrong cursor def
4801
4802 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4803
4804         * vc-backend.C (scanMaster): make the regex static
4805
4806         * LaTeX.C (scanAuxFile): make the regexs static
4807
4808         * text3.C (doInsertInset, dispatch, dispatch):
4809         * text2.C (cursorUp, cursorDown):
4810         * text.C (selectNextWordToSpellcheck):
4811         * BufferView_pimpl.C (dispatch):
4812         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4813
4814 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4815
4816         * lyxsocket.C: include <cerrno>
4817
4818 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4819
4820         * lyxfunc.C (dispatch): remove textcache stuff
4821
4822         * bufferlist.C (release): remove textcache stuff
4823         (closeAll): ditto
4824
4825         * TextCache.C: delete file
4826         * TextCache.h: delete file
4827
4828         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4829
4830         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4831         delete of the bv_->text.
4832         (resizeCurrentBuffer): remove texcache stuff
4833         (workAreaResize): ditto
4834
4835 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4836
4837         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4838         action.
4839
4840 2003-10-16  André Pönitz  <poenitz@gmx.net>
4841
4842         * lyxrow.[Ch]:
4843         * paragraph.h:
4844         * rowpainter.C:
4845         * text.C:
4846         * text2.C:
4847         * text3.C: speed up by storing y positions per paragraph plus per-row
4848         offset instead of having a 'full' y position in the row.
4849
4850 2003-10-15  André Pönitz  <poenitz@gmx.net>
4851
4852         * iterators.[Ch]:
4853         * iterators.[Ch]:
4854         * undo.[Ch]: make undo aware of inner insets
4855
4856 2003-10-14  Angus Leeming  <leeming@lyx.org>
4857
4858         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4859         static member functions LyX::ref() and LyX::cref.
4860         (lastfiles): new accessor functions for the new lastfiles_ member var.
4861         (addLyXView, views_): add a new LyXView to the list of views_.
4862         (updateInset): loop over all LyXViews to call their own updateInset
4863         member function, returning a pointer to the Buffer owning the inset.
4864
4865         * BufferView_pimpl.C (loadLyXFile):
4866         * MenuBackend.C (expandLastfiles):
4867         * bufferlist.C (MenuWrite, QuitLyX):
4868         lastfiles is no longer a global variable.
4869         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4870
4871         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4872         static function. Access through LyX::cref().emergencyCleanup().
4873
4874 2003-10-14  André Pönitz  <poenitz@gmx.net>
4875
4876         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4877
4878         * undo.[Ch]: restoring part of 'undo in insets'
4879
4880         * Makefile.am:
4881         * undo_funcs.[Ch]: merge with undo.[Ch]
4882
4883         * tabular.C: small cleansing stuff
4884
4885 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4886
4887         * paragraph_funcs.C (readParToken): report unknown insets as error
4888         boxes. Use the outer paragraph as location (also for unknown
4889         tokens).
4890
4891         * factory.C (readInset): do not abort on reading an unknown inset.
4892         Eat it and return 0.
4893
4894 2003-10-13  Angus Leeming  <leeming@lyx.org>
4895
4896         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4897
4898         * lyxrc.C: displayTranslator is now a function,
4899         declared in GraphicsTypes.h.
4900
4901 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4902
4903         * format.C: new placeholder $$a to pass the socket address.
4904
4905         * bufferlist.[Ch]: new function getBufferFromTmp.
4906
4907         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4908           files in the temporary dir.
4909
4910 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4911
4912         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4913
4914         * Makefile.am: add lyxsocket.[Ch].
4915
4916         * lyx_main.C (error_handler): handle SIGPIPE.
4917
4918 2003-10-13  André Pönitz  <poenitz@gmx.net>
4919
4920         * BufferView_pimpl.C:
4921         * lyxtext.h:
4922         * text.C:
4923         * text2.C:
4924         * text3.C:
4925         * undo_funcs.[Ch]: use paroffset_type instead of
4926           ParagraphList::iterators to prevent multiple conversion
4927           (and get a more robust interface)
4928
4929 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4930
4931         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4932         * lyxtext.h: ditto
4933         * text3.C (dispatch): ditto
4934
4935 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4936
4937         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4938         move the onlyfile, use onlyfile instead of foundfile in a couple
4939         of places.
4940
4941         * DepTable.C (update): flush the error stream a bit more
4942
4943 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4944
4945         * lyxserver.C (callback): adjust
4946
4947         * lyxfunc.C (getStatus): add a missing brace in commented code
4948         (ensureBufferClean): reindent
4949         (dispatch): delete version taking a string
4950
4951 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4952
4953         * LaTeX.C (deplog): move found file handlig from here...
4954         (handleFoundFile): .. to new function here.
4955         (deplog): make sure to discover several files mentioned on the
4956         same log line.
4957
4958 2003-10-10  André Pönitz  <poenitz@gmx.net>
4959
4960         * lyxfunc.C:
4961         * lyxtext.h:
4962         * tabular.C:
4963         * text.C:
4964         * text2.C:
4965         * text3.C: fix some of the tabular crashes
4966
4967 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4968
4969         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4970
4971         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4972
4973 2003-10-09  André Pönitz  <poenitz@gmx.net>
4974
4975         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4976
4977         * BufferView.C:
4978         * BufferView_pimpl.C:
4979         * bufferview_funcs.C:
4980         * lyx_cb.C:
4981         * lyxcursor.C:
4982         * lyxfind.C:
4983         * lyxfunc.C:
4984         * lyxtext.h:
4985         * text.C:
4986         * text2.C:
4987         * text3.C:
4988         * text_funcs.[Ch]:
4989         * textcursor.[Ch]:
4990         * undo_funcs.C: adjust
4991
4992 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4993
4994         * text2.C (incrementItemDepth): new function, use a backtracking
4995         algorithm to discover the correct item depth.
4996         (resetEnumCounterIfNeeded): new function, use a backtracking
4997         algorithm to discover if counter reset is needed.
4998         (setCounter): use them. Simplify a bit. Add different labels for
4999         different item depths for itemize.
5000
5001         * paragraph.C (Paragraph): remove initialization of enumdepth
5002         (operator=): ditto
5003
5004         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5005         enumerate and itemize. Change the type of itemdepth to signed char.
5006
5007 2003-10-08  André Pönitz  <poenitz@gmx.net>
5008
5009         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5010           thing assignable.
5011         * text.C:
5012         * text2.C: adjust
5013
5014         * tabular.[Ch]: fix crash after 'row-insert'
5015
5016 2003-10-08  Angus Leeming  <leeming@lyx.org>
5017
5018         Fix doxygen warnings.
5019
5020         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5021         Remove CutAndPaste:: prefix from header file declaration.
5022
5023         * LColor.h (fill): remove LColor:: prefix from declaration.
5024
5025         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5026         use lyx::depth_type rather than Paragraph::depth_type so that
5027         header file and .C file match.
5028
5029         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5030
5031         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5032         * aspell.C: \file aspell_local.C -> \file aspell.C
5033         * gettext.C: \file gettext.C -> \file src/gettext.C
5034         * gettext.h: \file gettext.h -> \file src/gettext.h
5035         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5036         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5037         * text.C: \file text.C -> \file src/text.C
5038
5039         * toc.C: move comment so that doxygen is not confused.
5040
5041 2003-10-07  Angus Leeming  <leeming@lyx.org>
5042
5043         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5044
5045 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5046
5047         * aspell.C:
5048         * aspell_local.h: add forgotten std::string's.
5049
5050 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5051
5052         * LaTeXFeatures.C:
5053         * LyXAction.C:
5054         * factory.C:
5055         * lfuns.h:
5056         * lyxfunc.C:
5057         * text3.C: The Box patch. Fancybox support, minipage, parbox
5058
5059 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5060
5061         * CutAndPaste.h:
5062         * DepTable.h:
5063         * FloatList.h:
5064         * LaTeXFeatures.h:
5065         * ParagraphParameters.h:
5066         * TextCache.h:
5067         * Thesaurus.h:
5068         * bufferlist.h:
5069         * exporter.h:
5070         * importer.h:
5071         * lastfiles.h:
5072         * lyxfind.h:
5073         * lyxfont.h:
5074         * lyxlex.h:
5075         * lyxtextclasslist.h:
5076         * messages.h:
5077         * paragraph.h:
5078         * paragraph_pimpl.C:
5079         * textcursor.h: add <string> and other small fixes to make Lars'
5080         std::string patch compile with STLport.
5081
5082 2003-10-06  Angus Leeming  <leeming@lyx.org>
5083
5084         * LColor.h: Add missing #include <string>.
5085
5086 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5087
5088         * All most all file in all subdirs: Make <string> be the prefered
5089         way of getting to std::string, add using declarations.
5090
5091 2003-10-06  André Pönitz  <poenitz@gmx.net>
5092
5093         * metricsinfo.C: initialize LyXFont before changing attribute.
5094         (fixes the 'math in \emph is upright' bug)
5095
5096 2003-10-06  André Pönitz  <poenitz@gmx.net>
5097
5098         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5099
5100 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5101
5102         * graph.C:
5103         * paragraph_pimpl.C: Small fixes to build using STLport
5104
5105 2003-10-02  André Pönitz  <poenitz@gmx.net>
5106
5107         * lyxfunc.C:
5108         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5109
5110 2003-10-01  André Pönitz  <poenitz@gmx.net>
5111
5112         * factory.C: assert early
5113
5114 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5115
5116         * lyx_main.C: remove the global debug object
5117
5118         * debug.h: adjust for new debugstream
5119
5120         * debug.C: adjust for new debugstream and keep the global debug
5121         object here.
5122
5123 2003-09-22  Angus Leeming  <leeming@lyx.org>
5124
5125         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5126         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5127         an incomplete class LyXFont.
5128
5129 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5130
5131         * factory.C: bug fix in branches
5132
5133 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5134
5135         * lyxfunc.C (processKeySym): adjust
5136         (dispatch): adjust
5137         (dispatch): change arg name from ev to func, adjust
5138         (sendDispatchMessage): ditto
5139
5140         * lyx_main.C (defaultKeyBindings): adjust keybindings
5141         (deadKeyBindings): ditto
5142
5143         * kbsequence.C (addkey): return a FuncRequest
5144
5145         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5146
5147         * kbmap.C (bind): take a FuncRequest as arg, adjust
5148         (read): adjust
5149         (lookup): adjust
5150         (defkey): change to take a FuncRequest as arg, adjust
5151         (findbinding): take a FuncRequest as arg, adjust.
5152
5153         * funcrequest.h (operator=): added
5154
5155         * funcrequest.C (FuncRequest): default kb_action changed from
5156         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5157
5158         * buffer.C (dispatch): simplify
5159         (dispatch): adjust to take a FuncRequest as arg, adjust
5160
5161         * boost.C (assertion_failed): change assertion message slightly
5162
5163         * ToolbarBackend.C (read): simplify
5164
5165         * MenuBackend.C (binding): adjust call to findbinding, add a
5166         message if no binding is found.
5167         (read): simplify
5168         (expandToc): correct by adding a empty FuncRequest
5169
5170         * LyXAction.C: include <boost/assert.hpp>
5171         (isPseudoAction): delete function
5172         (LookupFunc): change name to...
5173         (lookupFunc): this. change return type to FuncRequest.
5174         (getActionName): take kb_action as arg, simplify
5175         (funcHasFlag): add an assert, simplify.
5176
5177 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5178
5179         * toc.C (action): return a FuncRequest, simplify
5180
5181         * lyxfunc.C (processKeySym): adjust
5182         (getStatus): delete version that takes an int.
5183         (getStatus): adjust
5184         (dispatch): delete version that takes action as int
5185         (dispatch): adjust
5186         (sendDispatchMessage): simplify and adjust
5187
5188         * funcrequest.C (getArg): take unsigned int as arg
5189
5190         * ToolbarBackend.C (read): adjust
5191         (add): delete version that takes func as a string.
5192         (getIton): take a FuncRequest as arg
5193
5194         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5195         action.
5196
5197         * MenuBackend.C (MenuItem): add a new construct that only takes a
5198         Kind, simplify the constructor use for submenus.
5199         (add): adjust
5200         (expandLastfiles): adjust
5201         (expandDocuments): adjust
5202         (expandFormats): adjust
5203         (expandFloatListInsert): adjust
5204         (expandFloatInsert): adjust
5205         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5206
5207         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5208         Remove class variables lyx_pseudo_map and lyx_arg_map
5209
5210         * LyXAction.C (searchActionArg): delete function
5211         (getPseudoAction): delete function
5212         (retrieveActionArg): delete function
5213         (LookupFunc): make it return kb_action, simplify.
5214         (getActionName): simplify
5215
5216         * factory.C (createInset): fix new bug
5217
5218 2003-09-19  Angus Leeming  <leeming@lyx.org>
5219
5220         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5221         masterFilename_ parameter in the include inset.
5222
5223         * factory.C (createInset): changes due to the changes to InsetInclude.
5224
5225 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5226
5227         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5228
5229 2003-09-18  Angus Leeming  <leeming@lyx.org>
5230
5231         * buffer.C:
5232         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5233         Inset::fillWithBibKeys.
5234         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5235
5236 2003-09-18  Angus Leeming  <leeming@lyx.org>
5237
5238         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5239         variables.
5240         (ctor): pass and store a 'Buffer const &'
5241         (buffer): new member function.
5242
5243         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5244         '*this' to the LaTeXFeatures ctor.
5245
5246 2003-09-18  Angus Leeming  <leeming@lyx.org>
5247
5248         * LColor.h:
5249         * lyxfont.C:
5250         * lyxfont.h:
5251         * lyxtext.h:
5252         * text.C: rename EnumLColor as LColor_color.
5253
5254 2003-09-18  Angus Leeming  <leeming@lyx.org>
5255
5256         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5257         remove #include "insets/insetbase.h" from cursor.h.
5258
5259 2003-09-18  Angus Leeming  <leeming@lyx.org>
5260
5261         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5262         InsetOld_code to remove #include "inset.h".
5263
5264         * iterators.C: add #include "insets/inset.h"
5265
5266 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5267
5268         * BufferView.C: remove more locking stuff that apparently doesn't
5269         do anything sensible.
5270
5271 2003-09-16  André Pönitz  <poenitz@gmx.net>
5272
5273         * paragraph.[Ch]:
5274         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5275           performance boost.
5276
5277 2003-09-16  Angus Leeming  <leeming@lyx.org>
5278
5279         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5280
5281         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5282         arg/return type.
5283
5284         * paragraph.h: remove #include "lyxfont.h". Forward declare
5285         LyXFont_size.
5286
5287 2003-09-16  Angus Leeming  <leeming@lyx.org>
5288
5289         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5290         of support/textutils.h.
5291         (isWord): move the contents of support/textutils.h's IsWordChar here.
5292
5293         * buffer.C:
5294         * lyxfind.C:
5295         * rowpainter.C:
5296         * text.C:
5297         * text2.C: add #include "paragraph.h".
5298
5299         * rowpainter.C:
5300         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5301
5302 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5303
5304         * main.C:
5305         * lyx_main.C:
5306         * lyx_cb.C:
5307         * buffer.C:
5308         * LaTeX.C: use namespace alias for lyx::support::os
5309
5310 2003-09-16  Angus Leeming  <leeming@lyx.org>
5311
5312         * bufferparams.C:
5313         * bufferview_funcs.C:
5314         * factory.C:
5315         * lyxfunc.C:
5316         * paragraph_pimpl.C:
5317         * rowpainter.C:
5318         * text.C: add #include "LColor.h".
5319
5320 2003-09-16  Angus Leeming  <leeming@lyx.org>
5321
5322         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5323         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5324         return LyXFont &.
5325         Store the FontBits::color variable as an int rather than as an
5326         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5327         file.
5328
5329         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5330         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5331         string calls together.
5332
5333         * lyxrc.C: add #include "LColor.h".
5334
5335 2003-09-15  Angus Leeming  <leeming@lyx.org>
5336
5337         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5338         a cow_ptr.
5339
5340 2003-09-15  Angus Leeming  <leeming@lyx.org>
5341
5342         * LColor.h: add an EnumLColor wrapper for LColor::color.
5343
5344         * lyxfont.[Ch] (color, setColor, realColor):
5345         * lyxtext.h, text.C (backgroundColor):
5346         pass EnumLColor args to/from the functions, rather than LColor::color
5347         ones.
5348
5349         * lyxfont.h:
5350         * lyxtext.h: forward declare EnumLColor.
5351
5352         * lyx_main.C: add #include "LColor.h".
5353
5354 2003-09-15  Angus Leeming  <leeming@lyx.org>
5355
5356         * .cvsignore: add lyx-gtk.
5357
5358 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5359
5360         * Chktex.C
5361         * LaTeX.C
5362         * LaTeXFeatures.C
5363         * ParagraphParameters.C
5364         * Spacing.C
5365         * buffer.C
5366         * bufferparams.C
5367         * bufferview_funcs.C
5368         * chset.C
5369         * counters.C
5370         * funcrequest.C
5371         * lyxfont.C
5372         * lyxgluelength.C
5373         * lyxlength.C
5374         * paragraph.C
5375         * paragraph_funcs.C
5376         * text3.C
5377         * vc-backend.C: remove usage of STRCONV
5378
5379 2003-09-15  Angus Leeming  <leeming@lyx.org>
5380
5381         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5382         explicitly define the color passed to the painter.
5383
5384 2003-09-15  Angus Leeming  <leeming@lyx.org>
5385
5386         * bufferparams.C (BufferParams): reorder member initializers to avoid
5387         compiler warning.
5388
5389 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5390
5391         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5392         * text.C (updateRowPositions): remove an unusual nop
5393
5394 2003-09-12  André Pönitz  <poenitz@gmx.net>
5395
5396         * BufferView_pimpl.C:
5397         * Bullet.C:
5398         * layout.h:
5399         * lyxfunc.C:
5400         * lyxlayout.[Ch]:
5401         * lyxtextclass.C:
5402         * rowpainter.C:
5403         * text.C:
5404         * text2.C:
5405         * Counters.[Ch]: finish the 'automatic counters' job
5406
5407 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5408
5409         * aspell.C: include <boost/assert.cpp> (compile fix)
5410
5411 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5412
5413         * boost.C (assertion_failed): use lyx::support::abort instead of
5414         assert.
5415
5416 2003-09-10  Angus Leeming  <leeming@lyx.org>
5417
5418         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5419         with their _fwd progeny.
5420
5421 2003-09-09  Angus Leeming  <leeming@lyx.org>
5422
5423         134 files throughtout the source tree: replace 'using namespace abc;'
5424         directives with the appropriate 'using abc::xyz;' declarations.
5425
5426 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5427
5428         * boost.C (emergencyCleanup): moved here from LAssert.c
5429         (assertion_failed): new function, called by BOOST_ASSERT
5430
5431         * several files: change Assert to BOOST_ASSERT
5432
5433 2003-09-09  Angus Leeming  <leeming@lyx.org>
5434
5435         * buffer.[Ch]: Add an Impl class and move Buffer's member
5436         variables into it. As a result move several header files out of
5437         buffer.h.
5438
5439         Add header files to lots of .C files all over the tree as a result.
5440
5441 2003-09-09  Angus Leeming  <leeming@lyx.org>
5442
5443         * buffer.[Ch]: make Buffer's member variables private. Add
5444         accessor functions.
5445
5446         Lots of changes all over the tree as a result.
5447
5448 2003-09-08  Angus Leeming  <leeming@lyx.org>
5449
5450         * graph.C: #include <config.h>.
5451
5452 2003-09-08  Angus Leeming  <leeming@lyx.org>
5453
5454         * BranchList.C:
5455         * BufferView.C:
5456         * BufferView_pimpl.C:
5457         * CutAndPaste.C:
5458         * DepTable.C:
5459         * LaTeX.C:
5460         * LaTeXFeatures.C:
5461         * LyXAction.C:
5462         * MenuBackend.C:
5463         * TextCache.C:
5464         * aspell.C:
5465         * buffer.C:
5466         * bufferlist.C:
5467         * changes.C:
5468         * chset.C:
5469         * converter.C:
5470         * counters.C:
5471         * debug.C:
5472         * graph.C:
5473         * ispell.C:
5474         * lyx_cb.C:
5475         * lyxfind.C:
5476         * lyxfunc.C:
5477         * lyxlex_pimpl.C:
5478         * lyxrc.C:
5479         * lyxrow.C:
5480         * paragraph.C:
5481         * rowpainter.C:
5482         * texrow.C:
5483         * text.C:
5484         * text2.C:
5485         * toc.C: remove redundant using directives.
5486
5487 2003-09-07  Angus Leeming  <leeming@lyx.org>
5488
5489         * LaTeXFeatures.h: remove #include "support/types.h".
5490         * ToolbarBackend.h: remove #include <algorithm>.
5491         * changes.h: remove #include <ctime>.
5492         * debug.h: remove #include <iosfwd>.
5493         * graph.h: remove #include "support/std_string.h".
5494         * lyx_main.h: remove #include <csignal>.
5495         * lyxlex_pimpl.h: remove #include <fstream>.
5496         * sgml.h: remove #include <algorithm>, <utility>.
5497         * toc.h: remove #include "support/std_ostream.h".
5498         Add #include <iosfwd>.
5499
5500 2003-09-07  Angus Leeming  <leeming@lyx.org>
5501
5502         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5503
5504         * converter.h: forward declare LatexRunParams.
5505         * encoding.h: remove #include "lyxrc.h".
5506         * lyxtext.h: remove #include "LColor.h".
5507         * lyxtextclass.h: remove #include "support/types.h".
5508         * trans.h: remove #include "tex-accent.h".
5509         * trans_mgr.h: remove #include "tex-accent.h".
5510         * insets/inset.h: remove #include "support/types.h", <vector>.
5511         * insets/insetcollapsable.h: remove #include "LColor.h".
5512         * insets/insetinclude.h: remove #include "dimension.h".
5513         * insets/insetlatexaccent.h: remove #include "dimension.h".
5514         * insets/insetoptarg.h:: remove #include "insettext.h".
5515         * insets/insettext.h: remove #include "dimension.h",
5516         <boost/shared_ptr.hpp>
5517
5518         * insets/renderers.h: add #include "dimension.h".
5519         * insets/updatableinset.h: add #include "support/types.h".
5520
5521         * many .C files: Associated changes.
5522
5523 2003-09-06  Angus Leeming  <leeming@lyx.org>
5524
5525         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5526         one, inside testInvariant.
5527
5528         * PrinterParams.C: new file.
5529         * PrinterParams.[Ch]: move the function bodies out of line.
5530
5531 2003-09-06  Angus Leeming  <leeming@lyx.org>
5532
5533         * ParagraphParameters.h: forward declare ParameterStruct rather than
5534         including its header file.
5535         (depth): moved out-of-line.
5536
5537 2003-09-06  Angus Leeming  <leeming@lyx.org>
5538
5539         * BufferView_pimpl.h:
5540         * kbmap.h:
5541         * kbsequence.h:
5542         * lyxfunc.h: forward declare LyXKeySym rather than
5543         #include "frontends/LyXKeySym.h".
5544
5545         * BufferView_pimpl.C:
5546         * kbmap.C:
5547         * kbsequence.C:
5548         * lyxfunc.C: associated changes.
5549
5550 2003-09-06  Angus Leeming  <leeming@lyx.org>
5551
5552         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5553         As a result, can remove the #include "insets/inset.h" from BufferView.h
5554
5555 2003-09-06  Angus Leeming  <leeming@lyx.org>
5556
5557         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5558         As a result, can remove the #include "insets/inset.h" from BufferView.h
5559
5560 2003-09-06  Angus Leeming  <leeming@lyx.org>
5561
5562         * buffer_funcs.C:
5563         * buffer.h:
5564         * bufferlist.C:
5565         * BufferView.C:
5566         * bufferview_funcs.C:
5567         * BufferView_pimpl.C:
5568         * CutAndPaste.C:
5569         * lyx_cb.C:
5570         * lyxfunc.C:
5571         * paragraph.h:
5572         * ParagraphParameters.C:
5573         * tabular.C:
5574         * text3.C:
5575         * toc.C:
5576         * undo_funcs.C:
5577         * frontends/controllers/ControlDocument.C:
5578         * insets/insetcaption.C: rearrange the #includes into some sort of
5579         coherent order.
5580
5581         * buffer.h: remove #includes ErrorList.h, undo.h
5582
5583 2003-09-06  Angus Leeming  <leeming@lyx.org>
5584
5585         * support/types.h: add a 'depth_type' typedef, used to store the
5586         nesting depth of a paragraph.
5587
5588         * paragraph.h:
5589         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5590         defining explicitly.
5591
5592         * buffer.h:
5593         * paragraph_funcs.h:
5594         * ParagraphParameters.h:
5595         * sgml.h: use lyx::depth_type rather than Paragraph or
5596         ParameterStruct's depth_type.
5597
5598         * buffer.h
5599         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5600
5601         * BufferView.C:
5602         * BufferView_pimpl.C:
5603         * CutAndPaste.C:
5604         * ParagraphParameters.C:
5605         * buffer_funcs.C:
5606         * bufferlist.C:
5607         * bufferview_funcs.C:
5608         * lyx_cb.C:
5609         * lyxfunc.C:
5610         * tabular.C:
5611         * text3.C:
5612         * toc.C:
5613         * undo_funcs.C:
5614         * frontends/LyXView.C:
5615         * frontends/controllers/ControlDocument.C:
5616         * frontends/controllers/ControlErrorList.C:
5617         * insets/insetbibitem.C:
5618         * insets/insetbranch.C:
5619         * insets/insetcaption.C:
5620         * insets/insetcollapsable.C:
5621         * insets/insetenv.C:
5622         * insets/insetert.C:
5623         * insets/insetfloat.C:
5624         * insets/insetfoot.C:
5625         * insets/insetfootlike.C:
5626         * insets/insetnewline.C:
5627         * insets/insetquotes.C:
5628         * insets/insettabular.C:
5629         * insets/insettext.C:
5630         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5631
5632         * frontends/controllers/ControlChanges.C: #include "changes.h".
5633
5634 2003-09-06  Angus Leeming  <leeming@lyx.org>
5635
5636         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5637         than #including paragraph.h.
5638
5639         * ParagraphList.h:
5640         * RowList.h: deleted. Superfluous.
5641
5642         * CutAndPaste.h:
5643         * iterators.h:
5644         * lyxcursor.h:
5645         * lyxtext.h:
5646         * text_funcs.h:
5647         * undo.h:
5648         * undo_funcs.h:
5649         * insets/inset.h:
5650         * insets/insettext.h: use ParagraphList_fwd.h rather than
5651         ParagraphList.h.
5652
5653         * paragraph.h: don't forward declare ParagraphList.
5654
5655         * buffer.h:
5656         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5657         rather than ParagraphList.h. paragraph.h is still needed for the
5658         Paragraph::depth_type parameters.
5659
5660         * textcursor.h: enable it to compile stand-alone in light of the
5661         above changes.
5662
5663         * bufferview_funcs.C:
5664         * iterators.C:
5665         * lyxfunc.C:
5666         * lyxrow_funcs.C:
5667         * paragraph.C:
5668         * rowpainter.C:
5669         * text.C:
5670         * text2.C:
5671         * text3.C:
5672         * text_funcs.C:
5673         * textcursor.C:
5674         * undo.C:
5675         * frontends/controllers/ControlParagraph.C:
5676         * frontends/controllers/ControlTabular.C:
5677         * insets/insetmarginal.C:
5678         * insets/insetminipage.C:
5679         * insets/insetnote.C:
5680         * insets/insetoptarg.C: add header files needed to compile again.
5681
5682 2003-09-06  Angus Leeming  <leeming@lyx.org>
5683
5684         * RowList_fwd.h: new file, forward-declaring Row rather than
5685         #including lyxrow.h.
5686
5687         * lyxrow_funcs.h:
5688         * lyxtext.h:
5689         * paragraph.h:
5690         * insets/insettext.h: use it instead of RowList.h
5691
5692         * bufferview_funcs.C:
5693         * lyxfunc.C:
5694         * lyxrow_funcs.C:
5695         * paragraph.C:
5696         * rowpainter.C:
5697         * text.C:
5698         * text2.C:
5699         * text3.C: #include "RowList.h".
5700
5701 2003-09-05  Angus Leeming  <leeming@lyx.org>
5702
5703         * factory.C (createInset):
5704         * vspace.C (c-tor): replace sscanf call with an istringstream.
5705         * ispell.C: re-add missing HP/UX headers.
5706         * lyxserver.C: re-add missing  os2 headers.
5707
5708 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5709
5710         * BranchList.C:
5711         * graph.C:
5712         * ispell.C:
5713         * lastfiles.C:
5714         * lyx_cb.C:
5715         * lyxserver.C:
5716         * texrow.C:
5717         * text3.C: re-add missing system headers, needed for 2.95.2.
5718
5719 2003-09-05  Angus Leeming  <leeming@lyx.org>
5720
5721         Changes most place everywhere due to the removal of using directives
5722         from support/std_sstream.h.
5723
5724 2003-09-05  Angus Leeming  <leeming@lyx.org>
5725
5726         Replace LString.h with support/std_string.h,
5727         Lsstream.h with support/std_sstream.h,
5728         support/LIstream.h with support/std_istream.h,
5729         support/LOstream.h with support/std_ostream.h.
5730
5731         Changes resulting throughout the tree.
5732
5733 2003-09-05  Angus Leeming  <leeming@lyx.org>
5734
5735         * sgml.h: ensure that the header file can be compiled stand-alone.
5736         * *.C: strip out redundant #includes. (320 in total.)
5737
5738 2003-09-04  Angus Leeming  <leeming@lyx.org>
5739
5740         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5741         here (from getPackages).
5742
5743         * debug.[Ch]: add a new EXTERNAL tag.
5744
5745 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5746
5747         * text2.C (cursorEnd): simplify
5748         (setCursor): adjust
5749         (getColumnNearX): adjust
5750
5751         * text.C (computeBidiTables): adjust
5752         (fill): adjust
5753
5754         * rowpainter.C (paintChars): adjust
5755         (paintSelection): adjust
5756         (paintChangeBar): adjust
5757         (paintText): adjust
5758
5759         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5760         lastPos instead.
5761         (numberOfSeparators): adjust
5762
5763 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5764
5765         * LyXAction.C:
5766         * box.[Ch]:
5767         * lfuns.h:
5768         * lyxfunc.C:
5769         * text3.C: Restricts the mouse click functionality
5770         of insets like bibtex, include, toc and floatlist to the visible
5771         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5772         up the dialogs. Cursor has to be in front of the inset (i.e.
5773         start of row) for this to function.
5774
5775 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5776
5777         * bufferview_funcs.C (currentState): output row information
5778
5779 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5780
5781         * bufferview_funcs.C (currentState): output paragraph position
5782
5783 2003-09-04  Angus Leeming  <leeming@lyx.org>
5784
5785         * FloatList.h: move out #include "Floating.h".
5786         * LaTeX.h: move out #include "DepTable.h".
5787         * LyXAction.h: move out #include "funcrequest.h".
5788         * buffer.h: move out #include "author.h", "iterators.h".
5789         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5790         * lyx_main.h: move out #include "errorlist.h".
5791         * lyxfunc.h: move out #include "FuncStatus.h".
5792         * lyxtext: move out #include "lyxcursor.h".
5793         * paragraph_pimpl.h: move out #include "counters.h".
5794
5795 2003-09-03  Angus Leeming  <leeming@lyx.org>
5796
5797         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5798         preamble_snippets list, enabling us to add snippets to the preamble
5799         only if the snippet was not there already.
5800
5801 2003-09-04  Angus Leeming  <leeming@lyx.org>
5802
5803         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5804
5805 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5806
5807         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5808         update
5809
5810 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5811
5812         * BranchList.C: point fix, earlier forgotten
5813
5814 2003-09-02  Angus Leeming  <leeming@lyx.org>
5815
5816         * box.C (contains): renamed from 'contained' after a fantastic
5817         amount of hot air.
5818
5819 2003-09-02  John Levon  <levon@movementarian.org>
5820
5821         * BufferView.C:
5822         * lyxcursor.h:
5823         * lyxcursor.C:
5824         * lyxfunc.C:
5825         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5826
5827 2003-09-02  John Levon  <levon@movementarian.org>
5828
5829         * text2.C: simplification of cursorEnd(), including partial
5830         fix for bug 1376
5831
5832 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5833
5834         * buffer.C (readFile): add a space
5835
5836 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5837
5838         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5839
5840 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5841
5842         * buffer.C (readFile): new function, take a filename and a
5843         ParagraphList::iterator
5844         (readFile): adjust
5845         (readFile): adjust, make it private. don't use setStream, make
5846         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5847         always contain the filename.
5848
5849         * BufferView.C (insertLyXFile): simplify and make it work for
5850         gzipped files.
5851
5852 2003-08-30  John Levon  <levon@movementarian.org>
5853
5854         * Makefile.am: fix dist (from Kayvan)
5855
5856 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5857
5858         * most files: change to use const Buffer refs
5859
5860 2003-08-27  André Pönitz  <poenitz@gmx.net>
5861
5862         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5863         on top of ownerPar().
5864
5865 2003-08-27  John Levon  <levon@movementarian.org>
5866
5867         * funcrequest.C: properly initialise POD members
5868
5869 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5870
5871         * lyxtext.h (top_y): move top_y from here
5872         * text.C:
5873         * text2.C:
5874         * text3.C:
5875         * BufferView.[Ch]:
5876         * BufferView_pimpl.[Ch]: to here
5877         * frontends/screen.C:
5878         * insets/insettabular.C:
5879         * insets/insettext.C: adjust
5880         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5881
5882 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5883
5884         * BufferView.[Ch]:
5885         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5886
5887 2003-08-26  André Pönitz  <poenitz@gmx.net>
5888
5889         * paragraph_func.[Ch] (outerPar): new function
5890
5891         * paragraph.C:
5892         * paragraph_funcs.C:
5893         * paragraph_funcs.h:
5894         * paragraph_pimpl.C:
5895         * text2.C: remove Inset::par_owner
5896
5897 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5898
5899         * lyxrow_funcs.C:
5900         * lyxtext.h:
5901         * text.C:
5902         * text2.C: eliminates the needFullRow/display() stuff
5903         altogether, putting the logic in metrics/draw in the insets.
5904
5905 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5906
5907         * text2.C (redoParagraphInternal, redoParagraphs):
5908         * text.C (redoParagraph): add a call to updateRowPositions at the
5909         end of each 'metrics-like' call. Remove all others.
5910         (getRow): remove the 'y-computing' version.
5911         (getRowNearY): do not compute nor return the real y. Solve the
5912         'y < 0' problem and simplify.
5913
5914 2003-08-22  Angus Leeming  <leeming@lyx.org>
5915
5916         * *.[Ch]: clean-up of licence and author blurbs.
5917         Also move config.h out of a few .h files and into a few .C files.
5918
5919 2003-08-22  André Pönitz  <poenitz@gmx.net>
5920
5921         * lyxrow.[Ch]: add x_ and *fill_ members
5922
5923         * lyxtext.h:
5924         * text.C:
5925         * rowpainter.C:
5926         * text2.C: adjust/remove prepareToPrint() calls
5927
5928 2003-08-22  André Pönitz  <poenitz@gmx.net>
5929
5930         * lyxrow.[Ch]: add  end_ member
5931
5932         * lyxrow_funcs.C: use LyXRow::end_
5933
5934         * lyxtext.h (singleWidth): add LyXFont parameter
5935
5936         * rowpainter.C:
5937         * text2.C: adjust LyXText::singleWidth() calls
5938
5939         * text.C (redoParagraph): simplify row breaking logic
5940
5941
5942 2003-08-19  André Pönitz  <poenitz@gmx.net>
5943
5944         * funcrequest.C: initialize button_ member
5945
5946         * text3.C:
5947         * rowpainter.[Ch]: interface consolidation
5948
5949 2003-08-18  André Pönitz  <poenitz@gmx.net>
5950
5951         * BufferView.C:
5952         * BufferView_pimpl.C:
5953         * lyxfind.C:
5954         * paragraph_funcs.C:
5955         * rowpainter.C:
5956         * text3.C: remove LyXScreen::draw() and fitCursor calls
5957
5958         * BranchList.h: remove spurious semicolons
5959
5960         * MenuBackend.C: fix branchlist related crash
5961
5962 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5963
5964         * BranchList.[Ch]:
5965         * InsetList.[Ch]:
5966         * LColor.[Ch]:
5967         * LyXAction.C:
5968         * Makefile.am:
5969         * MenuBackend.[Ch]:
5970         * bufferparams.[Ch]:
5971         * factory.C:
5972         * lfuns.h:
5973         * lyxfunc.C:
5974         * text3.C: implements the 'branch inset'
5975         idea. This allows the output of various versions of a document
5976         from a single source version, selectively outputing or suppressing
5977         output of parts of the text.
5978         This implementation contains a 'branch list editor' in a separate
5979         tab of the document settings dialog. Branches are user definable
5980         and have a "display colour" to distinguish them on-screen.
5981
5982         ColorHandler was somewhat cleaned up.
5983         (1) make possible a dynamically growing LColor list by allowing
5984         the graphic context cache to grow along (vector);
5985         (2) eliminate an IMHO unnecessary step in colour allocation.
5986
5987 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5988
5989         * BufferView_pimpl.C: compile fix
5990
5991 2003-08-15  André Pönitz  <poenitz@gmx.net>
5992
5993         * rowpainter.C: remove extra metrics calls
5994
5995         * lyxtext.h: merge the two constructors into a single one,
5996           pass reference to owner's par list
5997
5998         * BufferView_pimpl.C:
5999         * text.C:
6000         * text2.C: adjust
6001
6002 2003-08-15  André Pönitz  <poenitz@gmx.net>
6003
6004         * lyxrow_funcs.[Ch]:
6005         * lyxtext.h:
6006         * paragraph.h:
6007         * paragraph_funcs.C:
6008         * rowpainter.C:
6009         * text.C:
6010         * text2.C:
6011         * text3.C:
6012         * text_funcs.C: split LyXText::rowlist_ into individual
6013         Paragraph::rows_ chunks
6014
6015         * BufferView.[Ch]:
6016         * BufferView_pimpl.[Ch]:
6017         * lyxfind.C:
6018         * lyxtext.h:
6019         * text3.C: remove toggleSelection()
6020
6021 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6022
6023         * bufferlist.C: beautify two alerts (shorter text of buttons)
6024         * buffer.C: Remove redundant ' ' from message
6025         * tabular.h:
6026         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6027         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6028         rename VALIGN_CENTER to VALIGN_MIDDLE
6029
6030 2003-08-11  André Pönitz  <poenitz@gmx.net>
6031
6032         * lyxtext.h (getPar):
6033         * text.C: new function
6034
6035 2003-08-11  André Pönitz  <poenitz@gmx.net>
6036
6037         * Makefile.am:
6038         * tracer.[Ch]: remove unneeded files
6039
6040         * InsetList.[Ch]: remove resizeInsetsLyXText()
6041
6042         * lyxtext.h:
6043         * text.C:
6044         * text2.C:
6045         * text3.C: merge insertParagraphs() and appendParagraph()
6046         remove breakAgain(), update()
6047
6048         * BufferView_pimpl.[Ch]:
6049         * bufferview_funcs.[Ch]:
6050         * lyxfunc.C:
6051         * paragraph.[Ch]:
6052         * rowpainter.C:
6053         * tabular.C: adjust after text & InsetList changes.
6054
6055 2003-08-08  André Pönitz  <poenitz@gmx.net>
6056
6057         * text.C (insertChar, backspace): replace rowlist fiddling
6058         with rebreak of full par
6059
6060         * lyxtext.h:
6061         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6062         checkParagraph, updateInset): removed
6063
6064 2003-08-07  André Pönitz  <poenitz@gmx.net>
6065
6066         * paragraph.C:
6067         * text3.C: merge some LFUN handlers, remove dead code
6068
6069 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6070
6071         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6072
6073 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6074
6075         * text2.C (DEPM): fix part of bug 1255 and 1256
6076
6077 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6078
6079         * BufferView_pimpl.C (workAreaDispatch): change to use
6080         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6081         that are no mouse related.
6082
6083 2003-08-05  André Pönitz  <poenitz@gmx.net>
6084
6085         * BufferView.[Ch]:
6086         * BufferView_pimpl.[Ch]:
6087         * bufferview_funcs.C:
6088         * text2.C:
6089         * text3.C: rip out "deep update"
6090
6091         * textcursor.[Ch] (last_sel_cursor): remove unused member
6092
6093 2003-08-04  André Pönitz  <poenitz@gmx.net>
6094
6095         * BufferView.[Ch]:
6096         * BufferView_pimpl.[Ch]:
6097         * ParagraphParameters.C:
6098         * bufferview_funcs.C:
6099         * lyx_cb.C:
6100         * lyxfind.C:
6101         * lyxfunc.C:
6102         * text.C:
6103         * text2.C:
6104         * text3.C: replace "complicated" BufferView::update(...) calls with
6105         simpler ones.
6106
6107         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6108
6109 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6110
6111         * Makefile.am (lyx_SOURCES): add paper.h
6112
6113 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6114
6115         * Makefile.am: move things around so that both lyx-qt and
6116         lyx-xforms can be built (according to --with-frontend). Then lyx
6117         is a symbolic link to lyx-[firstfrontend]
6118
6119 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6120
6121         * Always use std::endl with lyxerr
6122
6123 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6124
6125         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6126
6127 2003-08-01  André Pönitz  <poenitz@gmx.net>
6128
6129         * BufferView.[Ch]:
6130         * BufferView_pimpl.[Ch]:
6131         * lyxfunc.C:
6132         * text3.C: merge BufferView::repaint() and BufferView::update()
6133
6134 2003-08-01  José Matos  <jamatos@lyx.org>
6135
6136         * buffer.[Ch]: file_format is no longer a buffer data element.
6137
6138 2003-08-01  André Pönitz  <poenitz@gmx.net>
6139
6140         * BufferView.C:
6141         * lyxtext.h:
6142         * text.C:
6143         * text2.C: make redoParagraph more independent of current cursor
6144
6145         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6146         * text.C:
6147         * text2.C: remove unneeded members
6148
6149 2003-07-30  André Pönitz  <poenitz@gmx.net>
6150
6151         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6152
6153         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6154           create a single function...
6155
6156         * paragraph_funcs.C (moveItem): ... here.
6157
6158         * text.C:
6159           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6160
6161 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6162
6163         * LColor.[Ch]: Add comment and greyedout logical colors.
6164
6165 2003-07-30  André Pönitz  <poenitz@gmx.net>
6166
6167         * tabular.C: don't use Assert too heavily. This crashes where it
6168           shouldn't
6169
6170 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6171
6172         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6173         is disabled (bug 1232)
6174
6175 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6176
6177         * factory.C: limited 'arg' scope
6178
6179 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6180
6181         * factory.C: fixed Note submenu issues
6182
6183 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6184
6185         * factory.C: submenu for Note/Comment/Greyedout
6186
6187 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6188
6189         * lyx_main.C (LyX):
6190         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6191
6192 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6193
6194         * LaTeXFeatures.C:
6195         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6196         greyedout. Patch provided by Jürgen Spitzmüller.
6197
6198 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6199
6200         * kbmap.C (read): fix error message when reading bind files
6201
6202 2003-07-29  Angus Leeming  <leeming@lyx.org>
6203
6204         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6205         certainly does not do what it purports to do. I am doing it, and
6206         us, a favour by killing it.
6207
6208 2003-07-28  José Matos  <jamatos@lyx.org>
6209
6210         * buffer.C (readBody, do_writeFile):
6211         * paragraph.C(readParagraph): \end_document replaces \the_end.
6212
6213 2003-07-29  André Pönitz  <poenitz@gmx.net>
6214
6215         * BufferView.[Ch]:
6216         * BufferView_pimpl.[Ch]:
6217         * lyxfunc.C:
6218         * text2.C:
6219         * text3.C:
6220         * textcursor.[Ch]: remove toggleToggle & Co
6221
6222 2003-07-28  José Matos  <jamatos@fep.up.pt>
6223
6224         * buffer.C (readParagraph):
6225         * params_func (readParToken, readParagraph):
6226         * paragraph.C (write): \layout -> \begin_layout.
6227
6228 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6229
6230         * lyxlex_pimpl.C (setFile): clean up slightly.
6231
6232         * bufferparams.h: add compressed var
6233
6234         * buffer_funcs.C (readFile): adjust for LyXLex change
6235         (newFile): ditto + simplify
6236
6237         * buffer.C (writeFile): handle writing of compressed files
6238
6239         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6240         Check if the file is compressed and set a bufferparm if so.
6241
6242         * Makefile.am (lyx_LDADD): remove explicit -lz
6243
6244 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6245
6246         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6247         makeDocBookFile): put the real LyX version in the first line of
6248         the file
6249
6250         * version.h:
6251         * version.C.in: remove lyx_docversion
6252
6253         * tabular.C (write_attribute): add a template-based version to
6254         write enums properly
6255
6256 2003-07-28  André Pönitz  <poenitz@gmx.net>
6257
6258         * lyxtext.h:
6259         * text.C:
6260         * text2.C:
6261         * text3.C: use doubles again for x-coordinates. They are needed.
6262
6263 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6264
6265         * messages.C (getLocaleDir): use lyx_localedir()
6266
6267         * lyxlex_pimpl.C (setFile): compress stuff
6268
6269         * buffer.C (writeFile): add some compression stuff
6270         (do_writeFile): new func, dont call expliti close... will this
6271         breake anything?
6272
6273         * Makefile.am (lyx_LDADD): add -lz
6274
6275 2003-07-28  José Matos  <jamatos@fep.up.pt>
6276
6277         * buffer.C: increment file format.
6278         * paragraph_funcs (readParagraph, readParToken):
6279         * paragraph.C (readParagraph): add \end_layout.
6280
6281 2003-07-27  Angus Leeming  <leeming@lyx.org>
6282
6283         * Makefile.am: remove special casing for configure-time setting of
6284         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6285
6286         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6287         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6288
6289 2003-07-26  André Pönitz  <poenitz@gmx.net>
6290
6291         * paragraph_func.[Ch]:
6292         * paragraph.C (realizeFont): inline it whereever it is used
6293
6294         * rowpainter.C:
6295         * text.C:
6296         * text2.C:
6297         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6298
6299
6300 2003-07-26  André Pönitz  <poenitz@gmx.net>
6301
6302         *       lyxtext.h:
6303         * text.C:
6304         * text2.C: get rid of LyXText::need_break_row
6305
6306 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6307
6308         * toc.[Ch]: put namespace toc inside namespace lyx
6309
6310         * MenuBackend.C (expandToc2): adjust for lyx::toc
6311         (expandToc): ditto
6312
6313         * lyxfunc.C (dispatch): adjust for lyx::find
6314
6315         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6316         lyx::find instead. Reorganize a bit.
6317         (LyXReplace): rename to replace
6318         (LyXFind): rename to find
6319
6320         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6321         (dispatch): ditto
6322
6323 2003-07-26  André Pönitz  <poenitz@gmx.net>
6324
6325         * text.C (setHeightOfRow): restrict scope of temporary variable
6326
6327         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6328           code (never has been used?)
6329
6330 2003-07-27  Asger Alstrup  <alstrup@local>
6331
6332         * text.C (fill): Optimise algorithm to exploit that we can reuse
6333         the LyXFont for many characters.
6334         (setHeightOfRow): Same thing.
6335         (rowBreakPoint): Same thing.
6336
6337 2003-07-26  Asger Alstrup  <alstrup@local>
6338
6339         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6340
6341         * text.C (singleWidth): Spurious font copying in hot-spot
6342         singleWidth avoided. Reorder tests for arabic for efficiency.
6343
6344         * text.C (fill): handle empty paragraphs better.
6345
6346 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6347
6348         * ispell.C:
6349         * encoding.h: add includes
6350
6351         * lyxrc.C: remove reading of bind files
6352
6353         * lyx_main.C (init): setup bindings and menus only if we have a
6354         gui.
6355
6356         * kbmap.C (read): new method. Do the actual reading of bind
6357         files.
6358
6359         * converter.C (dvipdfm_options):
6360         * bufferparams.C:
6361         * lyxrc.C (read):
6362         (output): adapt PAPER_* enums.
6363
6364         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6365
6366         * bufferparams.h: remove paper-related enums from there
6367
6368         * paper.h: New file. A trivial header file to hold paper-related
6369         enums. It should later expand to contain many paper-related
6370         horrors access.
6371
6372         * lyxrc.C: declare extern displayTranslator
6373
6374 2003-07-27  José Matos  <jamatos@fep.up.pt>
6375
6376         * tabular.[Ch] (linuxdoc): add support for tables and figures
6377         (linuxdoc).
6378
6379 2003-07-27  José Matos  <jamatos@fep.up.pt>
6380
6381         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6382         consistency in both functions.
6383         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6384
6385 2003-07-26  Asger Alstrup  <alstrup@local>
6386
6387         * rowpainter.C (paintRows): Change algorithm to work directly on
6388         the insets rather than asking every character in the document
6389         whether its an inset.
6390
6391 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6392
6393         * buffer.C (openFileWrite): factorize some code
6394
6395 2003-07-26  Angus Leeming  <leeming@lyx.org>
6396
6397         * lyx_cb.C:
6398         * lyx_main.[Ch]: replace occurances of system_tempdir with
6399         os::getTmpDir().
6400
6401 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6402
6403         * rename Inset to InsetOld
6404
6405 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6406
6407         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6408         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6409         which I think is a bit clearer. EDIT is gone, since it was
6410         premature optimisation, and broken for mathed anyway.
6411         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6412         with cursor positioning in insets as well (math insets still do not
6413         work, but that's a different story anyway.) It mysteriously
6414         crashes sometimes with undo in the first paragraph, but I'm fairly
6415         confident that this is a compiler bug.
6416
6417 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6418
6419         * paragraph.C (Paragraph): adjust for new clone return type
6420         (operator==): ditto
6421         (copyIntoMinibuffer): ditto
6422
6423 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6424
6425         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6426         by not having a special case, and always doing a full rebreak of
6427         the document after undo.
6428
6429 2003-07-23  Angus Leeming  <leeming@lyx.org>
6430
6431         * factory.C (createInset): InsetExternal::setParams now takes a
6432         Buffer const * arg.
6433
6434 2003-07-23  Angus Leeming  <leeming@lyx.org>
6435
6436         * factory.C (createInset): changed interface to the external and
6437         graphics mailers' string2params functions.
6438
6439 2003-07-23  Angus Leeming  <leeming@lyx.org>
6440
6441         * factory.C (createInset): pass a
6442         Buffer const * parameter to InsetExternalMailer's string2params.
6443
6444 2003-07-22  John Levon  <levon@movementarian.org>
6445
6446         * Thesaurus.h: include the right aiksaurus header
6447
6448 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6449
6450         * MenuBackend.C (expand): check menu shortcuts unconditionally
6451
6452 2003-07-21  Angus Leeming  <leeming@lyx.org>
6453
6454         * factory.C (createInset): pass a
6455         buffer_path parameter to InsetGraphicsMailer's string2params.
6456
6457 2003-07-21  Angus Leeming  <leeming@lyx.org>
6458
6459         * BufferView_pimpl.C (buffer):
6460         * buffer.C (d-tor):
6461         * lyx_main.C (LyX):
6462         * lyxfunc.C (dispatch):
6463         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6464         rather than the grfx shortcut.
6465
6466 2003-07-21  André Pönitz  <poenitz@gmx.net>
6467
6468         * rowpainter.C: remove unused variables
6469
6470         * tabular_funcs.C:
6471         * tabular_funcs.h: move to tabular.C
6472         * Makefile.am: adjust
6473
6474         * tabular.[Ch]: basic optical cleaning
6475
6476         * author.h: pass references, not values
6477
6478 2003-07-18  André Pönitz  <poenitz@gmx.net>
6479
6480         * lyxtext.h:
6481         * metricsinfo.C:
6482         * metricsinfo.h:
6483         * rowpainter.C:
6484         * text.C:
6485         * text2.C:
6486         * text3.C: two-phase drawing for InsetText and InsetTabular
6487         some float -> int changes.
6488
6489 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6490
6491         * lyx_main.C: fix the fix
6492
6493 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6494
6495         * lyx_main.C: fix a crash in batch mode if no files specified
6496         * converter.C: ws
6497
6498 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6499
6500         * format.[Ch] (papersize): moved to BufferParams
6501         * converter.[Ch] (dvips_options): moved to BufferParams
6502         (dvipdfm_options): moved to anon namespace
6503         * bufferparams.[Ch]: added above functions.
6504
6505 2003-07-17  André Pönitz  <poenitz@gmx.net>
6506
6507         * lyxtext.h:
6508         * rowpainter.C:
6509         * text2.C: don't call inset->update() anymore
6510
6511         * metricsinfo.[Ch]: add convenience constructor
6512
6513 2003-07-16  André Pönitz  <poenitz@gmx.net>
6514
6515         * lyxcursor.[Ch]:
6516         * lyxfunc.[Ch]:
6517         * text.C:
6518         * text2.C: replace the LyXCursor::irow_ member with
6519          on-demand computation of the value
6520
6521 2003-07-16  John Levon  <levon@movementarian.org>
6522
6523         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6524
6525 2003-07-15  André Pönitz  <poenitz@gmx.net>
6526
6527         * text.C:
6528         * text2.C: remove no more needed refresh_row
6529
6530 2003-07-15  André Pönitz  <poenitz@gmx.net>
6531
6532         * lyxtext.h:
6533         * rowpainter.C:
6534         * text2.C:
6535         * text3.C: refresh_status tristate -> need_update bool
6536
6537 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6538
6539         * lyxtext.h (init): remove reinit argument (act as if always true)
6540         * text2.C: adjust to that
6541
6542 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6543
6544         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6545         * text3.C: use it to delete selections in some cases
6546         (bugs 441, 673, 702, 954).
6547
6548 2003-07-14  André Pönitz  <poenitz@gmx.net>
6549
6550         * rowpainter.[Ch]: reduce interface
6551
6552 2003-07-14  André Pönitz  <poenitz@gmx.net>
6553
6554         * BufferView_pimpl.C:
6555         * text2.C: adjust after removing unused BufferView * argument
6556
6557 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6558
6559         * text2.C (init): fix a crash fired on resize
6560
6561 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6562
6563         * buffer.[Ch]: added new closing signal
6564         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6565         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6566         BufferView::Pimpl via the closing the signal
6567
6568 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6569
6570         * buffer.[Ch]: take out all bv-related from buffer
6571         * BufferView.C:
6572         * BufferView_pimpl.[Ch]: connect to new signals
6573         * CutAndPaste.C: removed useless asserts
6574         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6575         * lyxvc.[Ch]:
6576         * vc-backend.[Ch]:
6577         * lyxfunc.C: moved view-related funciontality from vc here
6578         * paragraph.C: removed outdated comments
6579         * text.C: ws
6580
6581 2003-07-10  André Pönitz  <poenitz@gmx.net>
6582
6583         * BufferView_pimpl.C:
6584         * tabular.h:
6585         * tabular_funcs.C:
6586         * text.C:
6587         * text2.C: remove InsetText::InnerCache, clean up consequences
6588
6589 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6590
6591         * ispell.C: fix two typos in error messages
6592
6593 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6594
6595         * Extend Note inset to other forms of annotation like Comment
6596         and Greyedout. Right button click gives dialog.
6597
6598         Files modified or added (+):
6599
6600         * insetnote.[Ch]
6601         * FormNote.[Ch]      +
6602         * ControlNote.[Ch]   +
6603         * form_note.fd       +
6604         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6605         frontends/controllers
6606         * xforms/Dialogs.C
6607         * factory.C
6608
6609 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6610
6611         * aspell.C: add missing namespace lyx::support
6612
6613 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6614
6615         * BufferView.[Ch] (newFile): Add
6616         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6617         * LaTeX.[Ch] (message): added this signal and use it
6618         * buffer.[Ch] (busy, message): added these signals and use them
6619         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6620         * converter.C:
6621         * exporter.C:
6622         * format.C:
6623         * importer.C: use buffer signals instead of direct bv calling
6624         * lyx_cb.[Ch] (ShowMessage): removed
6625         * lyx_main.C:
6626         * lyxfunc.C:
6627         * paragraph_funcs.C:
6628         * text2.C: use buffer signals
6629
6630 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6631
6632         * introduce namespace lyx::graphics
6633
6634 2003-07-02  André Pönitz  <poenitz@gmx.net>
6635
6636         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6637
6638 2003-07-01  André Pönitz  <poenitz@gmx.net>
6639
6640         * text.C:
6641         * text2.C:
6642         * text3.C:
6643         * text_funcs.[Ch]:
6644         * textcursor.h:
6645         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6646           text*.C to text_func.C
6647
6648 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6649
6650         * introduce namespace lyx::support
6651
6652 2003-06-30  André Pönitz  <poenitz@gmx.net>
6653
6654         * Chktex.C:
6655         * funcrequest.C:
6656         * lyxtext.h:
6657         * text.C: re-enable --with-included-string
6658
6659 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6660
6661         * textcursor.C: add <config.h>
6662
6663         * text.C (getWord): remove const from word_location arg
6664
6665         * lyxvc.C (getLogFile): fix const type order
6666
6667         * lyxtext.h: remove const from word_location arg, add arg name
6668
6669         * lyxlayout.h: currect type on labeltype.
6670
6671         * importer.C: correct \file
6672
6673         * converter.C (intToFormat): use std:: on ret val, ws changes
6674
6675         * bufferlist.h: correct \file
6676
6677         * buffer.C (makeLinuxDocFile): fix const type order
6678         (makeDocBookFile): ditto
6679         (fillWithBibKeys): use std:: on stdlib args.
6680
6681         * CutAndPaste.C: fix authors.
6682         (availableSelections): use std:: on return vector
6683
6684 2003-06-27  André Pönitz  <poenitz@gmx.net>
6685
6686         * BufferView_pimpl.C:
6687         * bufferview_funcs.C:
6688         * lyxcursor.C:
6689         * lyxcursor.h:
6690         * lyxfunc.C:
6691         * lyxtext.h:
6692         * rowpainter.C:
6693         * text.C:
6694         * text2.C:
6695         * text3.C: remove LyXCursor::row_ member
6696
6697         * lyxtext.h:
6698         * text.C: rename fullRebreak() to partialRebreak() and implement
6699           a fullRebreak() that really bereks fully
6700
6701         * textcursor.h: new struct for cursor-related data
6702
6703 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6704
6705         * lyx_main.C (LyX): get full path of document loaded on the
6706         command line
6707
6708 2003-06-26  André Pönitz  <poenitz@gmx.net>
6709
6710         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6711           remove unused/broken operator>,<,>=.
6712
6713         *       text.C: remove only use of broken operator<= in an Assert().
6714
6715 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6716
6717         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6718         moved errorlist_.clear to showErrorList
6719
6720 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6721
6722         * converter.C (scanLog, runLaTeX):
6723         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6724         move the bv->showErrorList call to the callers
6725         * lyxfunc.C: i.e. here...
6726         * text2.C: and here
6727         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6728         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6729         namespace, the second to...
6730         * buffer_funcs (BufferFormat, parseErrors): added
6731         * errorlist.C (ErrorList(TeXErrors const &)): removed
6732
6733 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6734
6735         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6736
6737 2003-06-24  "Garst R. Reese" <reese@isn.net>
6738
6739         * debug.C: fix typo
6740
6741 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6742
6743         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6744
6745         * version.C.in: change docversion to 1.4
6746
6747 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6748
6749         * buffer.C: fix a bug just introduced
6750
6751 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6752
6753         * buffer.[Ch]: added the parseError signal and use it, removed
6754         sgmlError
6755         * BufferView.[Ch] (addError): moved to ...
6756         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6757         to the Buffer::parseError signal to catch (guess what) parse errors
6758         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6759
6760 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6761
6762         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6763         ability to create a buffer and to return an existing one from
6764         the list. Moved these functions to...
6765         * buffer_funcs.[Ch]: added
6766         * BufferView.[Ch] (loadLyXFile): added
6767         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6768         job removed from bufferlist::loadLyXFile.
6769         * buffer.C (setReadOnly): make it work without view
6770         (i.e added an if (users))
6771
6772 2003-06-19  Angus Leeming  <leeming@lyx.org>
6773
6774         * lfuns.h:
6775         * LyXAction.C (init):
6776         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6777         with LFUN_DIALOG_SHOW <name> <data>.
6778
6779 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6780
6781         * CutAndPaste.C (availableSelections): small compilation fix for
6782         ancient (gcc 2.9x) compilers
6783
6784 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6785
6786         * text3.C (cursorNext): add tmp var
6787
6788         * text2.C (updateCounters): for function calling out of for clause
6789         (replaceSelectionWithString): ditto
6790         (insertStringAsParagraphs): ditto
6791         (getColumnNearX): add tmp var
6792         (setCursorFromCoordinates): add tmp var
6793         (cursorDownParagraph): add tmp var
6794         (deleteEmptyParagraphMechanism): add tmp var
6795
6796         * text.C (insertChar): add tmp var
6797
6798         * rowpainter.C (paintDepthBar): add tmp var
6799
6800         * CutAndPaste.C (availableSelections): potentially check all
6801         paragraphs in a cut to fill the shown strings.
6802
6803 2003-06-18  André Pönitz  <poenitz@gmx.net>
6804
6805         * kbmap.[Ch]: use vector<> instead of list<>
6806
6807 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6808
6809         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6810         pasteSelection with index
6811
6812         * text2.C (pasteSelection): modify, call pasteSelection with index
6813
6814         * paragraph.C (asString): reimplement version with no interval to
6815         call the one with interval.
6816
6817         * lyxtext.h: add index arg to pasteSelection
6818
6819         * MenuBackend.C (MenuItem): handle PasteRecent
6820         (Menu::read::Menutags): add md_pasterecent
6821         (read): handle it
6822         (expandPasteRecent): new function
6823         (expand): use it
6824
6825         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6826
6827         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6828         the limited stack
6829         (availableSelections): new function
6830
6831 2003-06-17  Angus Leeming  <leeming@lyx.org>
6832
6833         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6834
6835 2003-06-17  Angus Leeming  <leeming@lyx.org>
6836
6837         * lfuns.h:
6838         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6839
6840         * lyxfunc.C (dispatch): invoke it.
6841
6842 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6843
6844         * iterators.C (operator++, ParPosition): reintroduce some
6845         const_cast for the benefit of older compilers.
6846
6847 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6848
6849         * text3.C (dispatch): do not modify clipboard when doing
6850         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6851         LFUN_DELETE_SKIP on a selection selection
6852
6853 2003-06-16  André Pönitz  <poenitz@gmx.net>
6854
6855         * BufferView.C:
6856         * buffer.C:
6857         * buffer.h:
6858         * paragraph.C:
6859         * tabular.[Ch]: IU of clone() and getLabelList();
6860
6861 2003-06-13  André Pönitz  <poenitz@gmx.net>
6862
6863         * tabular.h: compactification
6864
6865 2003-06-12  André Pönitz  <poenitz@gmx.net>
6866
6867         * tabular.C:
6868         * tabular.h:
6869         * tabular_funcs.h: some renaming plus whitespace
6870
6871 2003-06-12  André Pönitz  <poenitz@gmx.net>
6872
6873         * BufferView.C:
6874         * BufferView_pimpl.C:
6875         * CutAndPaste.C:
6876         * buffer.C:
6877         * iterators.[Ch]:
6878         * lyxfunc.C:
6879         * text.C:
6880         * toc.C: Return a Paragraph & for ParIterator::operator*()
6881
6882 2003-06-11  John Levon  <levon@movementarian.org>
6883
6884         * lyx_main.C:
6885         * ToolbarBackend.h:
6886         * ToolbarBackend.C: add "Toolbars" section and
6887         put the flags there
6888
6889 2003-06-10  Angus Leeming  <leeming@lyx.org>
6890
6891         * lfuns.h:
6892         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6893
6894         * lyxfunc.C (dispatch): invoke it.
6895
6896 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6897
6898         * main.C: protect <ios> with HAVE_IOS
6899         (main): protect sync_with_stdio with HAVE_IOS
6900
6901 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6902
6903         * text2.C (cutSelection): adjust
6904         (pasteSelection): adjust
6905
6906         * messages.C: handle get of empty string
6907
6908         * main.C (main): use sync_with_stdio(false)
6909
6910         * lyxfunc.C (dispatch): adjust
6911
6912         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6913         (WriteAs): remove unneeded BufferView arg.
6914
6915         * bufferparams.h: use correct types on papersize, papersize2 and
6916         paperpackage.
6917
6918         * bufferparams.C (readToken): adjust for type
6919         (writeLaTeX): add missing cases to switch.
6920
6921         * bufferlist.C (quitWriteBuffer): adjust
6922         (close): adjust
6923
6924         * buffer.C (asciiParagraph): remove some commented code.
6925
6926         * CutAndPaste.C: remove current_view extern variable.
6927         (cutSelection): add BufferParams arg.
6928         (eraseSelection): add BufferParams arg.
6929         (pasteSelection): add Buffer const & arg
6930
6931 2003-06-07  John Levon  <levon@movementarian.org>
6932
6933         * buffer.C:
6934         * paragraph_funcs.C:
6935         * paragraph_pimpl.C:
6936         * text.C:
6937         * text2.C:
6938         * paragraph.h:
6939         * paragraph.C: allow InsetERT to freely space lines,
6940         and some consolidation of code
6941
6942 2003-06-06  José Matos  <jamatos@fep.up.pt>
6943
6944         * buffer.C (makeDocBookFile): fix bug #821
6945
6946 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6947
6948         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6949
6950 2003-06-04  Angus Leeming  <leeming@lyx.org>
6951
6952         * buffer.C: bump format to 224.
6953
6954 2003-06-05  André Pönitz  <poenitz@gmx.net>
6955
6956         * text2.C (redoParagraphs): remove two const_cast<>
6957
6958 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6959
6960         * ParagraphList.h: remove last remnants of NO_STD_LIST
6961
6962 2003-06-03  Angus Leeming  <leeming@lyx.org>
6963
6964         * factory.C (createInset): small change to the way InsetExternal's params
6965         are set.
6966
6967 2003-06-04  André Pönitz  <poenitz@gmx.net>
6968
6969         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6970
6971         * paragraph_pimpl.h:
6972         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6973
6974         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6975
6976         * undo_funcs.C: make some simple cases of undo work again
6977
6978 2003-06-03  John Levon  <levon@movementarian.org>
6979
6980         * ispell.C: HPUX doesn't have sys/select.h
6981         (from Albert Chin)
6982
6983 2003-06-03  John Levon  <levon@movementarian.org>
6984
6985         * CutAndPaste.C: update tabular and include inset
6986         buffer references
6987
6988         * buffer.h:
6989         * paragraph.h:
6990         * paragraph.C: remove owningBuffer(), don't pass Buffer
6991         to clone()
6992
6993         * factory.C: insetGraphicsParams changed
6994
6995 2003-06-02  John Levon  <levon@movementarian.org>
6996
6997         * LyXAction.C:
6998         * factory.C:
6999         * lfuns.h:
7000         * lyxfunc.C:
7001         * text3.C: remove insetparent
7002
7003 2003-06-02  John Levon  <levon@movementarian.org>
7004
7005         * buffer.h:
7006         * buffer.C: fix inset_iterator.end(), move out of line
7007         (bug 1149)
7008
7009 2003-06-01  John Levon  <levon@movementarian.org>
7010
7011         * text3.C: use a proper cut/paste when doing inset
7012         insert (from Jürgen Spitzmüller)
7013
7014 2003-06-01  John Levon  <levon@movementarian.org>
7015
7016         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7017
7018 2003-05-30  André Pönitz  <poenitz@gmx.net>
7019
7020         * rowpainter.C: unify second drawing phase
7021
7022 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7023
7024         * trans_mgr.C: remove one case of current_view
7025
7026         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7027
7028         * paragraph_funcs.h: remove paragraph.h include
7029
7030         * paragraph.h: delete NO_STD_LIST stuff
7031
7032         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7033
7034         * buffer.h: remove paragraph.h include
7035
7036         * ParagraphList.C: delete file
7037
7038         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7039
7040         * toc.C (getTocList): adjust
7041
7042         * paragraph_pimpl.C (validate): adjust
7043
7044         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7045
7046         * paragraph.C (Paragraph): adjust
7047         (getPositionOfInset): use const_iterator, adjust
7048         (bibitem): use const_iterator, adjust
7049         (setInsetOwner): adjust
7050
7051         * iterators.C (operator++): adjust
7052
7053         * InsetList.[Ch]: Replace selfmade iterator with standard
7054         vector::iterator also introduce const_iterator. Remove getPos,
7055         getInset and setInset from InsetTable. Adjust accordingly.
7056
7057         * BufferView.C (lockInset): adjust
7058         (ChangeInsets): adjust
7059
7060         * tabular.[Ch]: delete commented same_id functions
7061
7062 2003-05-28  John Levon  <levon@movementarian.org>
7063
7064         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7065
7066 2003-05-28  André Pönitz  <poenitz@gmx.net>
7067
7068         * metricsinfo.[Ch]: remove 'fullredraw' member
7069
7070 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7071
7072         * lyxtextclass.C (operator): remove caching.
7073
7074 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7075
7076         * text3.C: adjust
7077
7078         * text2.C (cursorBottom): adjust
7079         (setCounter): use ParagraphList::find, adjust
7080
7081         * text.C (workWidth): use ParagraphList::find, adjust
7082
7083         * lyxcursor.C (LyXCursor): adjust
7084
7085         * buffer.C (inset_iterator): adjust
7086
7087         * ParagraphList.h: make iterator(value_type) private, make
7088         ParagraphList a friend of iterator.
7089
7090         * ParagraphList.C (find): new function
7091
7092         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7093
7094 2003-05-27  André Pönitz  <poenitz@gmx.net>
7095
7096         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7097
7098 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7099
7100         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7101
7102 2003-05-26  John Levon  <levon@movementarian.org>
7103
7104         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7105
7106 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7107
7108         * remove same_id from function signatures, adjust.
7109
7110 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7113
7114         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7115
7116         * paragraph.C (Paragraph): get rid of same_ids parameter
7117
7118         * ParagraphList.C (insert): adjust
7119         (push_back): adjust
7120
7121 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7122
7123         * paragraph_funcs.C (breakParagraph): adjust
7124         (breakParagraphConservative): adjust
7125
7126         * buffer.C (readParagraph): adjust
7127
7128         * ParagraphList.C (insert): take a reference instead of a pointer
7129         (insert): adjust
7130
7131         * paragraph.[Ch] (id): new function
7132
7133         * bufferlist.C (newFile): adjust
7134
7135         * ParagraphList.C (ParagraphList): adjust
7136         (assign): adjust
7137         (push_back): take a reference instead of a pointer.
7138
7139         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7140
7141         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7142         instead.
7143
7144         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7145         set else use old code.
7146
7147         * ParagraphList.C: remove all NO_NEXT code and only compile this
7148         code of NO_STD_LIST is set.
7149
7150 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7151
7152         * BufferView_pimpl.C:
7153         * TextCache.C:
7154         * TextCache.h:
7155         * bufferlist.C:
7156         * errorlist.h:
7157         * format.C:
7158         * format.h:
7159         * graph.C:
7160         * lyxfunc.C:
7161         * lyxrc.C:
7162         * graphics/GraphicsConverter.C:
7163         * graphics/PreviewLoader.C: header adjustment
7164
7165 2003-05-23  Angus Leeming  <leeming@lyx.org>
7166
7167         * LaTeXFeatures.[Ch] (useBabel): new method.
7168         * bufferparams.C (writeLaTeX): use it.
7169
7170 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7171
7172         * ParagraphList.h (set): remove unused function.
7173
7174 2003-05-23  André Pönitz  <poenitz@gmx.net>
7175
7176         * BufferView.C:
7177         * BufferView_pimpl.C:
7178         * buffer.C:
7179         * buffer.h:
7180         * lyxfunc.C:
7181         * undo_funcs.C: setUndo reworked
7182
7183         * iterators.[Ch]: add access to topmost ParagraphList
7184
7185         * lyxtext.[Ch] (workWidth): add a const
7186
7187 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7188
7189         * texrow.[Ch] (increasePos): remove function
7190         * exporter.C (export): removed unused var and outdated comment
7191
7192 2003-05-23  Angus Leeming  <leeming@lyx.org>
7193
7194         * latexrunparams.h: rename fragile as moving_arg.
7195         * paragraph.C (simpleTeXOnePar): ditto.
7196         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7197
7198 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7199
7200         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7201         (createUndo): ditto
7202         (textUndoOrRedo): comment out a currently unused var.
7203
7204         * paragraph.h (NO_NEXT): enable NO_NEXT
7205
7206         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7207
7208         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7209
7210         * exporter.C (Export): adjust for removeAutoInsets removal.
7211
7212         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7213
7214         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7215
7216         * BufferView.[Ch] (removeAutoInsets): delete function
7217
7218 2003-05-22  Angus Leeming  <leeming@lyx.org>
7219
7220         * latexrunparams.h: add a free_spacing variable.
7221
7222         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7223         to pass moving_arg, as the data is stored in runparams.fragile.
7224
7225         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7226         to Inset::latexOptional or to simpleTeXOnePar.
7227
7228         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7229         free_spacing arg to Inset::latexOptional.
7230
7231         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7232         free_spacing arg.
7233
7234 2003-05-22  Angus Leeming  <leeming@lyx.org>
7235
7236         * latexrunparams.h: add fragile and use_babel variables.
7237
7238         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7239         * buffer.C (makeLaTeXFile): store this returned value in
7240         runparams.use_babel, thus passing it to the inset::latex methods.
7241
7242         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7243         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7244
7245         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7246         longer has a fragile arg, as it is stored in runparams.fragile.
7247
7248         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7249         moving_arg parameter as the data is stored in runparams.fragile.
7250
7251         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7252         a fragile parameter as the data is stored in runparams.fragile.
7253
7254 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7255
7256         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7257
7258 2003-05-22  Angus Leeming  <leeming@lyx.org>
7259
7260         * latexrunparams.h: add a 'bool nice' which defaults to false.
7261
7262         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7263         now encapsulated within runparams.
7264
7265         * bufferlist.C (updateIncludedTeXfiles):
7266         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7267
7268 2003-05-22  Angus Leeming  <leeming@lyx.org>
7269
7270         * latexrunparams.h: new file containing struct LatexRunParams.
7271         * Makefile.am: add new file.
7272
7273         * LaTeX.[Ch] (c-tor, run):
7274         * buffer.[Ch] (makeLaTeXFile):
7275         * bufferlist.[Ch] (updateIncludedTeXfiles):
7276         * converter.C (convert, scanLog):
7277         * converter.[Ch] (runLaTeX):
7278         * exporter.C (Export):
7279         * paragraph.[Ch] (simpleTeXOnePar):
7280         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7281         * paragraph_funcs.[Ch] (latexParagraphs):
7282         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7283         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7284         pass around a LatexRunParams parameter.
7285
7286 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7287
7288         * paragraph.[Ch]: remove unused constructor
7289
7290         * ParagraphList.C (erase): new function, taking two iterators
7291
7292 2003-05-22  André Pönitz  <poenitz@gmx.net>
7293
7294         * undo_funcs.C: remove duplicated code
7295
7296         * iterator.[Ch]: operator=
7297
7298 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7299
7300         * tabular.C (SetMultiColumn): ws changes
7301
7302         * rowpainter.C (paintFirst): get rid of a ->previous
7303
7304         * lyx_cb.C (getPossibleLabel): parlist simplification
7305
7306         * BufferView.C (ChangeInsets): simplify slightly.
7307
7308 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7309
7310         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7311         * lfuns.h: new LFUN_SPACE
7312         * lyxfunc.C: protected space has a new lfun
7313         * paragraph_funcs.C: read new space insets
7314         * text3.C:
7315         * factory.C: handle new space insets
7316
7317 2003-05-22  André Pönitz  <poenitz@gmx.net>
7318
7319         * BufferView.C:
7320         * BufferView_pimpl.C:
7321         * buffer.[Ch]:
7322         * lyxfunc.C:
7323         * undo_funcs.C: return a ParIterator from getParFromID.
7324
7325         * iterators.[Ch]: add two const's
7326
7327 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7328
7329         * toc.C (getTocList): adjust
7330
7331         * iterators.[Ch]: rework for parlist
7332
7333         * buffer.C (par_iterator_begin): adjust
7334         (par_iterator_end): adjust
7335
7336         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7337
7338         * BufferView.C (removeAutoInsets): adjust
7339         (ChangeInsets): adjust
7340
7341 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7342
7343         * text.C (top_y): fix bug 1110
7344
7345 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7346
7347         * errorlist.[Ch]: added
7348         * buffer.C:
7349         * BufferView.[Ch]:
7350         * BufferView_pimpl.C:
7351         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7352         instead
7353
7354 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7355
7356         * Makefile.am: ensure that lyx is relinked upon changes to the
7357         various "convenience" libs.
7358
7359 2003-05-20  Angus Leeming  <leeming@lyx.org>
7360
7361         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7362         files are compiled in alphabetical order again.
7363
7364         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7365
7366 2003-05-19  Angus Leeming  <leeming@lyx.org>
7367
7368         * gettext.[Ch]: remove "char const * _(char const *)".
7369
7370 2003-05-19  André Pönitz  <poenitz@gmx.net>
7371
7372         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7373
7374         * Makefile.am:
7375         * BufferView.C:
7376         * DepTable.h:
7377         * LaTeXFeatures.C:
7378         * buffer.C:
7379         * lyxfont.C:
7380         * lyxlex.h:
7381         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7382
7383 2003-05-19  André Pönitz  <poenitz@gmx.net>
7384
7385         * buffer.C:
7386         * lyxlayout.[Ch]:
7387         * lyxtextclass.[Ch]:
7388         * paragraph.C:
7389         * paragraph_funcs.[Ch]:
7390         * text2.C:
7391         * text3.C: more insetenv work
7392
7393 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7394
7395         * ParagraphParameters.C (params2string): small bug fixed
7396
7397 2003-05-16  André Pönitz  <poenitz@gmx.net>
7398
7399         * debug.C:
7400         * bufferview_funcs.C: patch from Kornel Benko to prevent
7401           crash when _(...) is called twice in a statement
7402
7403 2003-05-16  André Pönitz  <poenitz@gmx.net>
7404
7405         * BufferView.C:
7406         * lyxfunc.C:
7407         * text.C:
7408         * text2.C:
7409         * text3.C:
7410         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7411
7412 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7413
7414         * lyx_main.C (init): remove spurious static_cast
7415
7416 2003-05-14  André Pönitz  <poenitz@gmx.net>
7417
7418         * BufferView.C: fix format string
7419
7420 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7421
7422         * BufferView.[Ch] (insertErrors): removed
7423         * BufferView.[Ch] (showErrorList): added
7424         * buffer.C (runChkTeX):
7425         * converter.C (scanLog): call showErrorList instead of inserterrors
7426
7427 2003-05-13  André Pönitz  <poenitz@gmx.net>
7428
7429         * BufferView_pimpl.C:
7430         * buffer.C:
7431         * bufferview_func.C:
7432         * MenuBackend.C:
7433         * lyxfunc.C:
7434         * lyxrc.C:
7435         * tex-accent.C:
7436         * text3.C:
7437         * toc.C:
7438         * tabular_funcs.h: tostr() from its own header
7439
7440         * ParagraphParameters.C:
7441         * ToolbarBackend.C:
7442         * bufferparams.C:
7443         * format.C:
7444         * lyxlex_pimpl.C:
7445         * text3.C: STRCONV()
7446
7447 2003-05-12  André Pönitz  <poenitz@gmx.net>
7448
7449         * BufferView.C:
7450         * BufferView_pimpl.C:
7451         * CutAndPaste.C:
7452         * LaTeX.C:
7453         * LaTeXFeatures.C:
7454         * ParagraphParameters.C:
7455         * buffer.C:
7456         * bufferlist.C:
7457         * bufferparams.C:
7458         * bufferview_funcs.C:
7459         * converter.C:
7460         * counters.C:
7461         * debug.C:
7462         * exporter.C:
7463         * format.C:
7464         * importer.C:
7465         * lyx_cb.C:
7466         * lyx_main.C:
7467         * lyxfont.C:
7468         * lyxfunc.C:
7469         * lyxvc.C:
7470         * paragraph.C:
7471         * paragraph_funcs.C:
7472         * tabular.C:
7473         * tabular_funcs.C:
7474         * text2.C:
7475         * text3.C:  boost::format -> bformat  all over the place
7476
7477
7478 2003-05-09  André Pönitz  <poenitz@gmx.net>
7479
7480         * LColor.[Ch]: Pimpl the #include <map> away
7481
7482 2003-05-09  John Levon  <levon@movementarian.org>
7483
7484         * bufferlist.C: never remove emergency saves
7485
7486 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7487
7488         * Makefile.am: better lib building
7489
7490 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7491
7492         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7493         instead.
7494         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7495         (simpleTeXSpecialChars): adjust
7496         (simpleTeXSpecialChars): adjust
7497         * paragraph.C (simpleTeXOnePar): adjust
7498         * buffer.C (makeLaTeXFile): adjust
7499
7500         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7501
7502         * text2.C (changeDepth): parlist cleanup
7503         (getColumnNearX): ditto
7504
7505         * rowpainter.C (getLabelFont): parlist cleanup
7506
7507         * bufferlist.C (newFile): parlist cleanup
7508
7509         * CutAndPaste.C (eraseSelection): parlist cleanup
7510
7511         * BufferView_pimpl.C (trackChanges): parlist cleanup
7512         (dispatch): ditto
7513
7514         * BufferView.C (lockInset): parlist cleanup.
7515         (ChangeInsets): ditto
7516
7517 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7518
7519         * CutAndPaste.h: Update file header.
7520
7521         * CutAndPaste.C: Update file header.
7522         Store the parts cut out of the Document in a limited_stack.
7523         (copySelection): adjust
7524         (pasteSelection): new function, takes the index in the limited stack.
7525         (nrOfParagraphs): adjust
7526         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7527         simplify error inset insertion.
7528         (checkPastePossible): adjust
7529
7530 2003-05-06  John Levon  <levon@movementarian.org>
7531
7532         * text2.C: don't cast wrap inset to float
7533
7534 2003-05-05  André Pönitz  <poenitz@gmx.net>
7535
7536         * iterator.C:
7537         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7538
7539         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7540           few naked Paragraph *.
7541
7542 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7543
7544         * bufferparams.C: Output warning if a document with missing
7545         TeX document class is loaded
7546         * exporter.C: Disable TeX exports if the document class is missing
7547         * lyxtextclass.C:
7548         * lyxtextclass.h:
7549         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7550         isTeXClassAvailable()
7551
7552 2003-05-03  John Levon  <levon@movementarian.org>
7553
7554         * BufferView.h:
7555         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7556         explicit cursor show/hide
7557
7558         * BufferView_pimpl.h:
7559         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7560         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7561
7562         * lyxfunc.C: hide cursor before dispatching.
7563
7564         * lyx_cb.C:
7565         * lyxfind.C:
7566         * text.C:
7567         * text3.C: remove explicit cursor hides
7568
7569 2003-05-02  André Pönitz  <poenitz@gmx.net>
7570
7571         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7572
7573         * undo_funcs.C:
7574         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7575           linked lists
7576
7577         * text2.C: tiny whitespace
7578
7579 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7580
7581         * undo_funcs.C: almost only ws changes.
7582
7583         * ParagraphList.C (splice): just return if pl is empty.
7584
7585 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7586
7587         * ParagraphList.C (splice): new function.
7588
7589         * CutAndPaste.C (pasteSelection): use it
7590
7591 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7592
7593         * CutAndPaste.C (pasteSelection): remove the last next and
7594         previous from this file.
7595
7596 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7597
7598         * CutAndPaste.C (pasteSelection): more clean up, user proper
7599         ParagraphList functions for pasteing.
7600
7601         * ParagraphList.C (insert): new function, three arg insert
7602
7603 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7604
7605         * ParagraphList.C (insert): new function, three arg insert
7606
7607         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7608         not on paragraphs.
7609
7610 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7611
7612         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7613
7614 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7615
7616         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7617
7618 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7619
7620         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7621         (copySelection): clean up a bit.
7622         (pasteSelection): use make_pair
7623
7624         * ParagraphList.C (ParagraphList): implement copy constructor
7625         (operator=): implement, base on copy constructor.
7626         (assign): new func
7627
7628         * paragraph.C (erase): return a bool
7629
7630         * paragraph_pimpl.C (erasePos): remove function, move contents...
7631         (erase): ... here. Return a bool.
7632         (erase): call erase instead of erasePos.
7633
7634 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7635
7636         * ParagraphList.h: define PitPosPair
7637         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7638         ParagraphList, fix a bug on pasting multiple pars
7639         * text2.C: change interface to C&P
7640
7641 2003-04-30  André Pönitz  <poenitz@gmx.net>
7642
7643         * undo_func.C: revert part of yesterday's patch 2
7644
7645 2003-04-30  John Levon  <levon@movementarian.org>
7646
7647         * LColor.C: s/tabular/table/
7648
7649 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7650
7651         * text3.C (dispatch): do not convert iterator -> pointer
7652         * undo_funcs.C (setCursorParUndo): ditto
7653         * text_funcs.C (transposeChars): ditto
7654
7655         * text2.C (setLayout): ws changes only
7656
7657         * text.C (breakParagraph): do not convert iterator -> pointer
7658         (insertChar): ditto
7659         (acceptChange): ditto
7660         (rejectChange): ditto
7661         (changeCase): ditto
7662         (Delete): ditto
7663         (backspace): ditto
7664
7665         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7666         pointer
7667
7668 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7669
7670         * text3.C (gotoInset): YABG (yet another bad getChar)
7671
7672 2003-04-29  André Pönitz  <poenitz@gmx.net>
7673
7674         * paragraph.h: make operator= private unimplemented as long as
7675           it is unusable
7676
7677         * ParagraphList.C: whitespace
7678
7679         * paragraph.[Ch]:
7680         * paragraph_pimpl.[Ch]:
7681         * paragraph_funcs.C:
7682         * CutAndPaste.C:
7683         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7684
7685         * text2.C:
7686           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7687
7688 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7689
7690         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7691         * paragraph.[Ch] (erase):
7692         * paragraph_pimpl.[Ch] (erase): change return type and value
7693         * text2.C (cutSelection): some rework
7694
7695 2003-04-28  John Levon  <levon@movementarian.org>
7696
7697         * bufferlist.C: changes for unsaved changes dialog
7698
7699 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7700
7701         * bufferlist.C (newFile): set language (messages_) for new
7702         documents also.
7703
7704         * buffer.C (readFile): ws changes only.
7705
7706 2003-04-28  André Pönitz  <poenitz@gmx.net>
7707
7708         * undo_funcs.C:
7709         * lyxfunc.C:
7710         * buffer.[Ch]:
7711         * BufferView_pimpl.C:
7712         * BufferView.C: getParFromID related ParagraphList::iterator changes
7713
7714 2003-04-28  André Pönitz  <poenitz@gmx.net>
7715
7716         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7717           Changes
7718
7719 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7720
7721         * messages.C: remove one more localedir class variable.
7722
7723 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7724
7725         * messages.C (getLocaleDir): singleton generation function
7726         (Pimpl): use it.
7727         (Messages): add a default constructor.
7728
7729         * main.C (main): do not setup localedir here, do not call
7730         gettext_init.
7731
7732         * gettext.C (_): use it.
7733         (gettext_init): delete funciton
7734
7735 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7736
7737         * gettext.C (getLyXMessages): new singleton generating function.
7738
7739         * buffer.C (updateDocLang): adjust
7740
7741         * Makefile.am (messages.o): add target
7742         (main.o): remove target
7743
7744 2003-04-27  John Levon  <levon@movementarian.org>
7745
7746         * bufferlist.C:
7747         * lyx_cb.C:
7748         * lyxfunc.C:
7749         * lyxvc.C: specify cancel button in Alert::prompt
7750
7751 2003-04-26  John Levon  <levon@movementarian.org>
7752
7753         * text3.C:
7754         * lyxfunc.C:
7755         * lfuns.h:
7756         * LyXAction.C: add LFUN_INSET_SETTINGS
7757
7758         * lyxfunc.C: don't enable tabular-feature when there's
7759         just any locking inset
7760
7761 2003-04-26  John Levon  <levon@movementarian.org>
7762
7763         * bufferlist.C: re-add Cancel to buffer close question
7764
7765         * lyxfunc.C: fix import UI a bit
7766
7767 2003-04-25  John Levon  <levon@movementarian.org>
7768
7769         * gettext.C: remove the broken asserts for now
7770
7771 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7772
7773         * messages.C: make case where setlocale cannot comply work better.
7774
7775         * buffer.C (updateDocLang): new function
7776         (changeLanguage): use it
7777         (readFile): use it
7778
7779         * text2.C (setCounter): use B_ a bit.
7780
7781         * lyxlayout.C (Read): be sure to trim the label strings.
7782
7783         * messages.C (Messages): fix typo in comment
7784
7785         * buffer.C (readFile): set message_ after file is loaded.
7786         (makeDocBookFile): remove double return
7787         (changeLanguage): reset message_ upon language change.
7788         (B_): new func, use this to get translated buffer strings.
7789
7790         * main.C: add myself and Jean Marc as authors.
7791
7792 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7793
7794         * messages.[hC]: pimplify Messages, and three different pimpls to be
7795         used in different circumstances.
7796
7797         * gettext.[Ch]: change for use with new message code.
7798
7799 2003-04-24 André Pönitz <poenitz@gmx.net>
7800
7801         * factory.C: support for eqref
7802
7803 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7804
7805         * messages.[Ch]: add missing char
7806
7807         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7808
7809         * messages.[Ch]: New files
7810
7811 2003-04-18  John Levon  <levon@movementarian.org>
7812
7813         * BufferView.h:
7814         * BufferView.C:
7815         * BufferView_pimpl.C:
7816         * lfuns.h:
7817         * LyXAction.C:
7818         * lyxtext.h:
7819         * text2.C: remove layout-copy/paste (bug 778)
7820
7821 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7822
7823         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7824
7825 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7826
7827         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7828         if they succeed. Act accordingly.
7829
7830 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7831
7832         * text2.C (setCharFont): adjust
7833         (setCounter): adjust
7834         (insertStringAsLines): adjust
7835
7836         * text.C (leftMargin): adjust
7837         (setHeightOfRow): adjust
7838
7839         * rowpainter.C (paintFirst): adjust
7840         (paintLast): adjust
7841
7842         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7843         (outerHook): ditto
7844         (isFirstInSequence): ditto
7845         (getEndLabel): ditto
7846         (outerFont): adjust
7847
7848         * paragraph.C (getParLanguage): comment out some hard stuff.
7849
7850         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7851         (sgmlError): ditto
7852         (simpleDocBookOnePar): ditto
7853         (makeDocBookFile): use ParagraphList::iterator
7854
7855         * CutAndPaste.C (pasteSelection): adjust
7856
7857 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7858
7859         * text2.C (getFont): adjust
7860         (getLayoutFont): adjust
7861         (getLabelFont): adjust
7862
7863         * paragraph_funcs.C (TeXOnePar): adjust
7864
7865         * buffer.C (simpleLinuxDocOnePar): adjust
7866         (simpleDocBookOnePar): adjust
7867
7868         * CutAndPaste.C (pasteSelection): adjust
7869
7870         * BufferView.C (getEncoding): adjust
7871
7872         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7873
7874 2003-04-16  John Levon  <levon@movementarian.org>
7875
7876         * lyxfind.C: use parlist stuff for search/changes
7877
7878 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7879
7880         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7881
7882         * text2.C (deleteEmptyParagraphMechanism): adjust
7883
7884         * text2.[Ch] (ownerParagraph): delete func (both of them
7885
7886 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7887
7888         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7889
7890 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7891
7892         * ParagraphList.C: prepare for NO_NEXT
7893
7894 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7895
7896         * text2.C (getFont): adjust
7897         (getLayoutFont): adjust
7898         (getLabelFont): adjust
7899
7900         * paragraph.C (getFont): adjust
7901         (getLabelFont): adjust
7902         (getLayoutFont): adjust
7903
7904         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7905
7906 2003-04-15  John Levon  <levon@movementarian.org>
7907
7908         From Angus Leeming
7909
7910         * lyx_main.C: handle Include in .ui files
7911
7912 2003-04-15  John Levon  <levon@movementarian.org>
7913
7914         * MenuBackend.C: make the doc files length shorter
7915
7916         * ToolbarBackend.h:
7917         * ToolbarBackend.C: handle toolbar placement flags,
7918         Minibuffer
7919
7920 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7921
7922         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7923         adjust
7924
7925         * paragraph_funcs.C (TeXOnePar): adjust
7926
7927         * paragraph.C (getLabelFont): add outerfont arg, adjust
7928         (getLayoutFont): ditto
7929         (simpleTeXOnePar): adjust
7930
7931         * paragraph_pimpl.C (realizeFont): delete func
7932
7933 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7934
7935         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7936         row argument, constify cur argument.
7937
7938 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7939
7940         * text2.C (getFont): adjust
7941         (getLayoutFont): adjust
7942         (getLabelFont): adjust
7943
7944         * paragraph_funcs.C (TeXOnePar): adjust
7945         (outerFont): new func...
7946         (realizeFont): ...moved out from here, changed this to facilitate
7947         transition
7948
7949         * paragraph.C (getFont): take outerfont as arg, adjust
7950         (simpleTeXOnePar): add outerfont arg, adjust
7951
7952         * buffer.C (simpleLinuxDocOnePar): adjust
7953         (simpleDocBookOnePar): adjust
7954
7955         * CutAndPaste.C (pasteSelection): adjust
7956
7957         * BufferView.C (getEncoding): adjust
7958
7959 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7960
7961         * text2.C (setCharFont): adjust
7962         (setCounter): adjust
7963
7964         * text.C (leftMargin): adjust
7965         (setHeightOfRow): adjust
7966
7967         * rowpainter.C (paintFirst): adjust
7968         (paintLast): adjust
7969
7970         * paragraph_pimpl.C (realizeFont): adjust
7971
7972         * paragraph.C (isFirstInSequence): move from here...
7973         * paragraph_funcs.C (isFirstInSequence): ...to here
7974
7975         * paragraph.C (outerHook): move from here...
7976         * paragraph_funcs.C (outerHook): ...to here
7977
7978         * paragraph.C (depthHook): move from here...
7979         * paragraph_funcs.C (depthHook): ...to here
7980
7981         * paragraph.C (getEndLabel): move from here...
7982         * paragraph_funcs.C (getEndLabel): ...to here
7983
7984         * text2.C (realizeFont): move from here...
7985         * paragraph_funcs.C (realizeFont): ...to here
7986
7987 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7988
7989         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7990
7991 2003-04-14  Angus Leeming  <leeming@lyx.org>
7992
7993         * LColor.[Ch]: scrap LColor mathcursor.
7994
7995 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7996
7997         * lyxlex.[Ch] (text): delete function
7998         * trans.C (Load): adjust
7999         * paragraph_funcs.C (readParToken): adjust
8000
8001 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8002
8003         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8004         vector<char> instead of a char[].
8005
8006         * lyxlex_pimpl.C (getString): adjust
8007         (next): adjust
8008         (lex): use getString
8009         (eatLine): adjust
8010         (nextToken): adjust
8011
8012         * lyxlex.C (text): use pimpl_->getString()
8013         (getBool): ditto
8014         (findToken): ditto
8015
8016 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8017
8018         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8019         (makeFontEntriesLayoutSpecific): temp var for par.size()
8020         (setLayout): temp var for ownerParagraphs().end()
8021         (fullRebreak): temp var for rows().end()
8022         (selectionAsString): temp var for boost::next(startpit), realize
8023         that the while really is a regular for loop.
8024         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8025         setCursor in one place.
8026         (setParagraph): temp vr for ownerParagraphs().end()
8027         (updateCounters): make the while loop a for loop
8028         (cutSelection): temp var for ownerParagraphs().end()
8029         (updateInset): make the do {} while() a regular for loop
8030         (getCursorX): use temp vars
8031         (setCurrentFont): use temp vars
8032         (getColumnNearX): use temp vars
8033
8034 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8035
8036         * text.C (transformChar): use temp var for getChar
8037         (computeBidiTables): use temp var for row->par()
8038         (fill): move temp vars for row->par() and pit->layout() earlier in
8039         the function.
8040         (labelFill): use temp var for row->par()
8041         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8042         asc and desc, realize that pit never changes and that firstpit is
8043         just a duplicate and not needed. Exchange rit->par() with pit in a
8044         lot of places.
8045         (breakAgain): use a temp var for boost::next(rit)
8046         (breakAgainOneRow): ditto
8047         (breakParagraph): use a temp var for rows().begin()
8048         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8049         (cursorRightOneWord): use temp var for cursor.par() and
8050         cursor.pos(), remove usage of tmpcursor.
8051         (cursorLeftOneWord): use temp var for cursor.par() and
8052         cursor.pos() only set cur at end of function.
8053
8054 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8055
8056         * text.C, text2.C: exchange all usage of Paragraph::next with
8057         boost::next(ParagraphList::iterator)
8058
8059         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8060
8061         * text2.C (cursorTop): simplify implementation
8062         (cursorBottom): ditto
8063         (setParagraph): use ParagraphList::iterator
8064         (setCurrentFont): adjust
8065         (getColumnNearX): adjust
8066         (cursorRight): adjust
8067         (cursorLeft): remove usage of Paragraph::previous
8068         (cursorUpParagraph): ditto
8069         (deleteEmptyParagraphMechanism): slight cleanup
8070
8071         * text.C (isBoundary): take a Paragraph const & instead of a
8072         pointer as arg.
8073         (addressBreakPoint): ditto
8074         (leftMargin): remove usage of Paragraph::previous.
8075         (setHeightOfRow): ditto
8076         (cursorLeftOneWord): ditto
8077         (selectNextWordToSpellcheck): ditto
8078         (Delete): ditto
8079         (backspace): ditto
8080         (breakParagraph): remove one usage of Paragraph::next
8081         (redoParagraph): ditto
8082         (acceptChange): ditto
8083         (insertChar): adjust
8084         (rowBreakPoint): adjust
8085
8086         * bufferview_funcs.C (toggleAndShow): adjust
8087
8088 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8089
8090         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8091         methods to access it.
8092         * lyxtext.h:
8093         * text.C: Added updateRowPositions to compute all row positions.
8094         Make top_y and getRowNearY() to use the cached y position
8095
8096 2003-04-11  John Levon  <levon@movementarian.org>
8097
8098         * text.C (rowBreakPoint): reintroduce the labelEnd
8099         checks, code copied from the row fill stuff. Deep voodoo.
8100
8101         * text.C (fill): add a comment and debugging for the
8102         next poor soul.
8103
8104 2003-04-11  John Levon  <levon@movementarian.org>
8105
8106         * text.C: make sure fullrow insets get wrapped to the next line,
8107         even when they're in a manual label
8108
8109 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8110
8111         * text2.C (insertParagraph): make it take ParagraphList::iterator
8112         as arg.
8113         (setLayout): make it return ParagraphList::iterator
8114         (redoParagraphs): ditto
8115         (setCounter): ditto
8116         (checkParagraph): ditto
8117
8118         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8119
8120         * text2.C: adjust several funcs.
8121         (realizeFont): take a ParagraphList::iterator as arg.
8122         (getLayoutFont): ditto
8123         (getLabelFont): ditto
8124         (setCharFont): ditto
8125
8126         * text.C: adjust several funcs.
8127
8128 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8129
8130         * text.C (selectNextWordToSpellcheck): don't accidentally
8131         skip insets
8132
8133 2003-04-10  John Levon  <levon@movementarian.org>
8134
8135         * ToolbarBackend.C (getIcon): special handling for
8136         LFUN_MATH_DELIM
8137
8138 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8139
8140         * text2.C (cursorRight): a getChar assert fixed
8141
8142 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8143
8144         * text2.C (getFont): change to take a ParagraphList::iterator
8145         instead of Paragraph*
8146         Adjust several functions.
8147
8148         * text.C (transformChar): change to take a ParagraphList::iterator
8149         instead of Paragraph*
8150         (singleWidth): ditto
8151         Adjust several functions.
8152
8153         * rowpainter.C: adjust several functions
8154         * rowpainter.h:store a ParagraphList::iterator and not a
8155         Paragraph&.
8156
8157
8158 2003-04-09  John Levon  <levon@movementarian.org>
8159
8160         * lyxfunc.C:
8161         * lfuns.h:
8162         * LyXAction.h:
8163         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8164         and the "help" bits as well
8165
8166 2003-04-09  John Levon  <levon@movementarian.org>
8167
8168         * ToolbarBackend.h:
8169         * ToolbarBackend.C: allow multiple toolbars
8170
8171 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8172
8173         * undo_funcs.C (setCursorParUndo): adjust
8174
8175         * text_funcs.C (transposeChars): adjust
8176
8177         * text3.C (gotoNextInset): adjust
8178         (dispatch): adjust
8179
8180         * text2.C (setLayout): adjust
8181         (changeDepth): adjust
8182         (setFont): adjust
8183         (redoParagraphs): adjust
8184         (selectionAsString): adjust
8185         (setParagraph): adjust
8186         (insertInset): adjust
8187         (cutSelection): adjust
8188         (copySelection): adjust
8189         (pasteSelection): adjust
8190         (insertStringAsLines): adjust
8191         (updateInset): adjust
8192         (setCursor): change to take a ParagraphList::iterator parameter
8193         (setCursorIntern): change to take a ParagraphList::iterator parameter
8194         (setCurrentFont): adjust
8195         (cursorLeft): adjust
8196         (cursorRight): adjust
8197         (deleteEmptyParagraphMechanism): adjust
8198
8199         * text.C (breakParagraph): adjust
8200         (insertChar): adjust
8201         (acceptChange): adjust
8202         (rejectChange): adjust
8203         (selectNextWordToSpellcheck): adjust
8204         (changeCase): adjust
8205         (Delete): adjust
8206         (backspace): adjust
8207
8208         * lyxfind.C (SearchForward): adjust
8209         (SearchBackward): adjust
8210         (nextChange): adjust
8211
8212         * lyxcursor.C (par): adjust
8213
8214         * lyxcursor.h: store a ParagraphList::iterator instead of a
8215         Paragraph*
8216
8217         * lyx_cb.C (getPossibleLabel): adjust
8218
8219         * bufferview_funcs.C (toggleAndShow): adjust
8220
8221         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8222         (dispatch): adjust
8223
8224         * BufferView.C (removeAutoInsets): adjust
8225         (lockedInsetStoreUndo): adjust
8226
8227 2003-04-09  John Levon  <levon@movementarian.org>
8228
8229         * ToolbarBackend.C: try icon without argument
8230         if with argument fails
8231
8232 2003-04-08  John Levon  <levon@movementarian.org>
8233
8234         * ToolbarBackend.h:
8235         * ToolbarBackend.C: add getIcon(), handle tooltip,
8236         and change from "Icon" to "Item".
8237
8238 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8239
8240         * BufferView.C (lockInset): another bad getchar crunched
8241
8242 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8243
8244         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8245         again)
8246
8247 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8248
8249         * lyxfind.C (searchForward, searchBackwards): bug 782
8250
8251 2003-04-07  John Levon  <levon@movementarian.org>
8252
8253         * paragraph.C: remove dead comment
8254
8255         * text.C: remove troublesome depth-fiddling code
8256         in leftMargin() and rightMargin() (bug 1017)
8257
8258         * text.C: fix breaking of rows in nested lists
8259         (bug 1004)
8260
8261         * text2.C (updateCounters): fix up depth values
8262         (bug 1013)
8263
8264 2003-04-07  John Levon  <levon@movementarian.org>
8265
8266         * BufferView_pimpl.C: clear message when doc finishes resizing,
8267         and after a mouse event
8268
8269         * lyxfunc.C: clear message after exiting inset
8270
8271 2003-04-07  John Levon  <levon@movementarian.org>
8272
8273         * bufferview_funcs.C: show math status not outside
8274         status in the statusbar
8275
8276 2003-04-07  John Levon  <levon@movementarian.org>
8277
8278         * lyxfunc.C: note status changed after a depth change
8279
8280 2003-04-04  Angus Leeming  <leeming@lyx.org>
8281
8282         * LaTeX.h: move AuxInfo operator==, != out of line.
8283         Remove LaTeX virtual destructor; nothing derives from it.
8284         Move operator()() out of public area and rename it startscript().
8285         Change protected for private.
8286
8287 2003-04-04  Angus Leeming  <leeming@lyx.org>
8288
8289         * lyxfunc.C:
8290         * text2.C: remove unneeded #includes.
8291
8292 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8293
8294         * text2.C (dEPM): fix the heigth of the next row
8295
8296 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8297
8298         * text.C: squashed an invalid getChar requester + some ws changes
8299
8300 2003-04-03  John Levon  <levon@movementarian.org>
8301
8302         * bufferview_funcs.h:
8303         * bufferview_funcs.C:
8304         * lyxfunc.C:
8305         * lyxtext.h:
8306         * text2.C: make getStatus work for the env depth lfuns
8307
8308 2003-04-03  John Levon  <levon@movementarian.org>
8309
8310         * bufferview_funcs.h:
8311         * bufferview_funcs.C:
8312         * lyxfunc.C:
8313         * lyxtext.h:
8314         * text2.C: parlistize decDepth(), by merging it with incDepth()
8315
8316 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8317
8318         * lyxrow.h: store a ParagraphList::iterator instead of a
8319         Paragraph* and adjust other class functions to suit.
8320
8321         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8322         above.
8323
8324 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8325
8326         * text2.C (setCursor): do not anchor to cursor row for the time being
8327
8328 2003-04-02  John Levon  <levon@movementarian.org>
8329
8330         * LyXAction.C:
8331         * lfuns.h:
8332         * lyx_main.C:
8333         * lyxtext.h:
8334         * text.C:
8335         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8336
8337 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8338
8339         * paragraph.h: make ParagraphList and ParagraphList::iterator
8340         friends of Paragraph.
8341
8342         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8343
8344         * ParagraphList.C: Use the private next_ and previous_ from
8345         Paragraph.
8346
8347 2003-04-01  John Levon  <levon@movementarian.org>
8348
8349         * ToolbarBackend.h:
8350         * ToolbarBackend.C:
8351         * Makefile.am: rename, remove defaults gunk
8352
8353         * MenuBackend.h:
8354         * MenuBackend.C: remove defaults gunk
8355
8356         * Languages.h:
8357         * Languages.C: remove defaults gunk
8358
8359         * lyx_main.h:
8360         * lyx_main.C: error out if files couldn't be found.
8361
8362 2003-04-02  John Levon  <levon@movementarian.org>
8363
8364         * text2.C: make incDepth() use parlist
8365
8366 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8367
8368         * undo_funcs.C (firstUndoParagraph): adjust
8369
8370         * text3.C (gotoInset): adjust
8371         (dispatch): adjust, and rewrite loop.
8372
8373         * text2.C (init): adjust, and rewrite loop.
8374         (redoParagraphs): adjust
8375         (updateInset): adjust, and rewrite loop.
8376         (deleteEmptyParagraphMechanism): adjust
8377
8378         * tabular.C (LyXTabular): adjust
8379         (SetMultiColumn): adjust
8380         (TeXRow): adjust
8381
8382         * lyxtext.[Ch] (ownerParagraph): delete function
8383         (ownerParagraphs): new function returns a ParagraphList.
8384
8385         * BufferView.C (removeAutoInsets): adjust
8386         (insertErrors): adjust
8387         (setCursorFromRow): adjust
8388
8389 2003-04-01  Angus Leeming  <leeming@lyx.org>
8390
8391         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8392         in the frontends.
8393
8394 2003-04-02  John Levon  <levon@movementarian.org>
8395
8396         * lyxtext.h:
8397         * text.C:
8398         * Makefile.am:
8399         * text_funcs.h:
8400         * text_funcs.C: make transposeChars a free function
8401
8402         * lyxrow_funcs.C: remove wrong comment
8403
8404 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8405
8406         * lyxtext.h: adjust
8407         * rowpainter.C: adjust
8408         * text.C: adjust
8409         * text2.C: adjust
8410         * text3.C: adjust
8411
8412         * lyxrow_funcs. [Ch]: new files
8413
8414         * lyxrow.[Ch]: remove next and previous pointers
8415         (next,previous): remove accessor functions
8416         (isParEnd): move to lyxrow_funcs
8417         (lastPos): move to lyxrow_funcs
8418         (nextRowIsAllInset): move to lyxrow_funcs
8419         (lastPrintablePos): move to lyxrow_funcs
8420         (numberOfSeparators): move to lyxrow_funcs
8421         (numberOfHfills): move to lyxrow_funcs
8422         (numberOfLabelHfills): move to lyxrow_funcs
8423         (hfillExpansion): move to lyxrow_funcs
8424
8425         * lyxfunc.C: adjust
8426
8427         * bufferview_funcs.C (toggleAndShow): adjust
8428
8429         * RowList.h: Remove class RowList from file leave just a
8430         std::list<Row>.
8431
8432         * RowList.C: delete file
8433
8434         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8435         and lyxrow_funcs.h
8436
8437 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8438
8439         * text3.C (cursorPrevious): adjust
8440         (cursorNext): adjust
8441         (dispatch): adjust
8442
8443         * text2.C (redoHeightOfParagraph): adjust
8444         (redoDrawingOfParagraph): adjust
8445         (setCursor): adjust
8446
8447         * text.C (breakParagraph): adjust
8448         (insertChar): adjust
8449         (backspace): adjust
8450
8451         * rowpainter.C (RowPainter): adjust
8452         (leftMargin): simplify and adjust
8453         (most rowpainter functions): adjust.
8454
8455         * rowpainter.h: store the row as RowList::iterator not as Row*
8456
8457         * lyxcursor.C (row): taka RowList::iterator as arg
8458         (irow): ditto
8459
8460         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8461         of Row*.
8462
8463 2003-04-01  Angus Leeming  <leeming@lyx.org>
8464
8465         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8466         stuff like bool Bool.
8467
8468 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8469
8470         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8471         rewrite a loop
8472
8473 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8474
8475         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8476         RowList::iterator.
8477
8478         * lyxtext.h (rows): drop one version and leve a const variant that
8479         returns a RowList::iterator.
8480
8481 2003-03-31  Angus Leeming  <leeming@lyx.org>
8482
8483         * text.C (fill): ensure that the signature is the same as that in the
8484         header file.
8485
8486 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8487
8488         * text2.C (redoParagraphs): adjust
8489         (updateCounters): adjust
8490         (checkParagraph): adjust
8491         (getColumnNearX): adjust and reformat a bit.
8492
8493         * text.C (top_y): adjust
8494         (workWidth): adjust
8495         (leftMargin): adjust
8496         (prepareToPrint): adjust
8497         (getRow): adjust
8498         (getRowNearY): adjust
8499
8500         * lyxtext.h: make rowlist_ mutable.
8501
8502         * RowList.h: add const_iterator
8503         * RowList.C: adjust for RowList::const_iterator.
8504
8505         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8506         adjust.
8507
8508 2003-03-31  John Levon  <levon@movementarian.org>
8509
8510         * lyxrc.h:
8511         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8512
8513         * lyx_main.C: set default fonts from using lyx_gui funcs
8514
8515         * exporter.C: pdf_mode moved from lyxrc
8516
8517         * lyx_cb.C:
8518         * lyxfunc.C: changes from above
8519
8520 2003-03-31  John Levon  <levon@movementarian.org>
8521
8522         * lyx_main.C: fix to the last fix
8523
8524 2003-03-31  John Levon  <levon@movementarian.org>
8525
8526         * bufferlist.C: "Load original" -> "Load Original"
8527
8528         * converter.C:
8529         * exporter.C:
8530         * importer.C:
8531         * lyx_main.C:
8532         * format.C: more Alert cleanups
8533
8534 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8535
8536         * text2.C (removeParagraph): make it take a RowList::iterator as
8537         arg, adjust.
8538         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8539         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8540
8541         * text.C (anchor_row): make it take a RowList::iterator as arg,
8542         adjust.
8543         (computeBidiTables): make it take a const reference to Row instead
8544         of Row pointer, adjust.
8545         (leftMargin): make it take a RowList::iterator as arg, adjust.
8546         (rowBreakPoint): adjust
8547         (breakAgainOneRow): make it take a RowList::iterator as arg,
8548         adjust.
8549         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8550
8551         * bufferview_funcs.C (toggleAndShow): adjust
8552
8553 2003-03-30  John Levon  <levon@movementarian.org>
8554
8555         * Makefile.am:
8556         * BoostFormat.h:
8557         * boost-inst.C: moved to support
8558
8559         * several files: changes as a result
8560
8561 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8562
8563         * text2.C (LyXText): adjust.
8564         (init): adjust
8565         (removeRow): make it take a RowList::iterator as arg, adjust.
8566         (fullRebreak): adjust
8567         (deleteEmptyParagraphMechanism): adjust
8568         (clearPaint): adjust
8569         (postPaint): adjust
8570
8571         * text.C (top_y): adjust
8572         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8573         (breakAgain): make it take a RowList::iterator as arg, adjust.
8574         (breakParagraph): adjust
8575         (insertChar): adjust
8576         (backspace): adjust
8577
8578         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8579         need_break_row, and refresh_row.
8580
8581         * text3.C (dispatch): adjust
8582
8583         * text2.C (checkParagraph): adjust
8584         (setCursor): adjust
8585         (setCursorFromCoordinates): adjust
8586
8587         * text.C (top_y): adjust
8588         (workWidth): adjust
8589         (getRow): make it return a RowList::iterator, adjust
8590         (getRowNearY): make it return a RowList::iterator, adjust
8591
8592         * text2.C (init): adjust
8593         (insertRow): remove function
8594         (insertParagraph): adjust
8595         (redoParagraphs): adjust
8596         (fullRebreak): adjust
8597         (updateCounters): adjust
8598
8599         * text.C (top_y): rewrite to use RowList iterators.
8600         (top_y): adjust
8601         (setHeightOfRow): rewrite to sue RowList iterators.
8602         (appendParagraph): adjust
8603         (breakAgain): adjust
8604         (breakAgainOneRow): adjust
8605         (breakParagraph): adjust
8606         (getRow): adjust
8607         (getRowNearY): adjust, and remove commented code.
8608
8609         * lyxtext.h (firstRow): delete function
8610         (lastRow): delete function
8611         (rows): new function (const and non-const versions.)
8612         (insertRow): delete function
8613
8614         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8615
8616 2003-03-29  John Levon  <levon@movementarian.org>
8617
8618         * BufferView_pimpl.C: always update scrollbar top
8619         because pasting text when we're anchored could mean we
8620         miss an update altogether
8621
8622 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8623
8624         * text2.C (init): use rowlist_.end() and not 0.
8625         (insertRow): change to take a RowList::iterator as arg, adjust
8626         for this.
8627         (insertParagraph): change to take a RowList::iterator as arg,
8628         adjust for this.
8629         (redoParagraphs): remove some debug msgs.
8630
8631         * text.C (appendParagraph): change to take a RowList::iterator
8632         arg, adjust for this.
8633         (breakAgain): add an assert
8634         (breakAgainOneRow): ditto
8635
8636 2003-03-29  John Levon  <levon@movementarian.org>
8637
8638         * text2.C: do not clear selection after inc/decDepth
8639         (bug 550)
8640
8641 2003-03-29  John Levon  <levon@movementarian.org>
8642
8643         * BufferView.C:
8644         * buffer.C: fix broken strerrors according to Lars
8645
8646 2003-03-29  John Levon  <levon@movementarian.org>
8647
8648         * converters.C: more Alert cleanups
8649
8650 2003-03-29  John Levon  <levon@movementarian.org>
8651
8652         * bufferview_funcs.C: remove pointless Alert
8653
8654         * buffer.C: fix confusing error message when
8655         a template is chmoded 000
8656
8657 2003-03-29  John Levon  <levon@movementarian.org>
8658
8659         * BufferView.C:
8660         * BufferView.h:
8661         * BufferView_pimpl.C: Alert fixes
8662
8663         * Makefile.am:
8664         * tabular.C:
8665         * tabular-old.C: remove unused table compat reading
8666
8667 2003-03-29  John Levon  <levon@movementarian.org>
8668
8669         * BufferView.C:
8670         * buffer.C:
8671         * lyx_cb.h:
8672         * lyx_cb.C: more Alert cleanups
8673
8674         * lyxfunc.C: don't allow chktex if not latex document
8675
8676 2003-03-29  John Levon  <levon@movementarian.org>
8677
8678         * lyx_cb.C:
8679         * BufferView.C:
8680         * buffer.C: warnings pushed down from support/,
8681         kill err_alert
8682
8683 2003-03-29  John Levon  <levon@movementarian.org>
8684
8685         * lyxfunc.C: safety check for C-r (revert)
8686
8687 2003-03-29  John Levon  <levon@movementarian.org>
8688
8689         * bufferlist.h:
8690         * bufferlist.C: several UI fixes using Alert::prompt.
8691         Fix the pointless looping quit code. Fix stupid revert
8692         behaviour (bug 938)
8693
8694         * lyxvc.h:
8695         * lyxvc.C:
8696         * lyx_cb.C: use Alert::prompt
8697
8698         * lyx_main.C: remove a silly question
8699
8700         * lyxfunc.C: remove a couple of silly questions,
8701         use Alert::prompt
8702
8703 2003-03-28  John Levon  <levon@movementarian.org>
8704
8705         * text2.C: fix bug 974 (End on empty par)
8706
8707 2003-03-28  John Levon  <levon@movementarian.org>
8708
8709         * BufferView_pimpl.C:
8710         * LyXAction.C:
8711         * lfuns.h: remove do-nothing math greek lfuns
8712
8713 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8714
8715         * lyxgluelength.h (isValidGlueLength): add default arg on
8716         parameter 2. Remove default arg from friend in class.
8717
8718         * lyxlength.h (isValidLength): add default arg on parameter 2.
8719         Remove default arg from friend in class.
8720
8721         * text2.C (LyXText): adjust, initialize refresh_row.
8722         (init): adjust
8723         (removeRow): adjust
8724         (insertRow): adjust
8725         (insertParagraph): adjst
8726         (redoParagraphs): adjust
8727         (fullRebreak): adjust
8728         (updateCounters): adjust
8729         (deleteEmptyParagraphMechanism): first attempt at fixing a
8730         crashing bug.
8731
8732         * text.C (top_y): adjust
8733         (setHeightOfRow): adjust
8734         (getRow): adjust
8735         (getRowNearY): adjust
8736
8737         * lyxtext.h: include RowList.h
8738         (~LyXText): not needed anymore, deleted.
8739         (firstRow): modify for RowList
8740         (lastRow): new function
8741         Delete firstrow and lastrow class variables, add a Rowlist
8742         rowlist_ class variable.
8743
8744         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8745         paragraph is empty.
8746
8747         * RowList.C (insert): fix case where it == begin().
8748
8749 2003-03-26  Angus Leeming  <leeming@lyx.org>
8750
8751         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8752         the thesaurus dialog.
8753
8754 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8755
8756         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8757
8758         * RowList.[Ch]: new files
8759
8760         * ParagraphList.C (erase): handle the case where it == begin
8761         correctly.
8762
8763 2003-03-25  John Levon  <levon@movementarian.org>
8764
8765         * Makefile.am:
8766         * aspell_local.h:
8767         * aspell.C: add new aspell support
8768
8769         * lyxrc.h:
8770         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8771         have it accessible.
8772
8773 2003-03-25  Angus Leeming  <leeming@lyx.org>
8774
8775         * lfuns.h:
8776         * LyXAction.C (init): new LFUN_INSET_INSERT.
8777
8778         * BufferView_pimpl.C (dispatch): split out part of the
8779         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8780
8781         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8782         LFUN_INSET_APPLY.
8783
8784 2003-03-25  Angus Leeming  <leeming@lyx.org>
8785
8786         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8787
8788 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8789
8790         * text2.C:
8791         * text3.C: remove useless row->height(0)
8792
8793 2003-03-25  John Levon  <levon@movementarian.org>
8794
8795         * lyxtext.h:
8796         * text2.C:
8797         * text3.C: rename the refreshing stuff to better names
8798
8799 2003-03-24  John Levon  <levon@movementarian.org>
8800
8801         * BufferView_pimpl.h:
8802         * BufferView_pimpl.C: update layout choice on a mouse
8803         press/release
8804
8805 2003-03-23  John Levon  <levon@movementarian.org>
8806
8807         * Makefile.am: fix commandtags.h reference
8808
8809 2003-03-22  John Levon  <levon@movementarian.org>
8810
8811         * BufferView_pimpl.C:
8812         * lyxtext.h:
8813         * rowpainter.C:
8814         * rowpainter.h:
8815         * text.C:
8816         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8817
8818 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8819
8820         * lyxtext.h:
8821         * text.C: take the rtl methods out of line
8822
8823 2003-03-21 André Pönitz <poenitz@gmx.net>
8824
8825         * metricsinfo.[Ch]: new files containing structures to be passed around
8826         during the two-phase-drawing...
8827
8828 2003-03-21 André Pönitz <poenitz@gmx.net>
8829
8830         * lyxtextclass.C: read 'environment' tag.
8831
8832 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8833
8834         * text2.C (removeRow): fix bug 964
8835
8836 2003-03-20  John Levon  <levon@movementarian.org>
8837
8838         * rowpainter.C:
8839         * text.C:
8840         * text2.C: paint cleanups. Inset::update() dropped font
8841         parameter
8842
8843 2003-03-19  John Levon  <levon@movementarian.org>
8844
8845         * lyxfunc.C: only fitcursor/markDirty if available()
8846
8847 2003-03-19  John Levon  <levon@movementarian.org>
8848
8849         * commandtags.h: rename to ...
8850
8851         * lfuns.h: ... this, and renumber / cleanup
8852
8853 2003-03-19  John Levon  <levon@movementarian.org>
8854
8855         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8856         fit the cursor after an lfun
8857
8858         * BufferView.h:
8859         * BufferView.C:
8860         * BufferView_pimpl.h:
8861         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8862
8863         * LyXAction.C: layout-character should have ReadOnly
8864
8865         * ParagraphParameters.C:
8866         * buffer.C:
8867         * bufferview_funcs.C:
8868         * lyx_cb.C:
8869         * lyxfind.C:
8870         * lyxtext.h:
8871         * text.C:
8872         * text2.C:
8873         * text3.C:
8874         * undo_funcs.C: changes from above
8875
8876 2003-03-18  John Levon  <levon@movementarian.org>
8877
8878         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8879         remove it from update()
8880
8881         * lyxfunc.C: update layout choice after an lfun
8882
8883         * text3.C: remove extra updateLayoutChoice()s
8884
8885 2003-03-18  John Levon  <levon@movementarian.org>
8886
8887         * text.C: top_y change means full repaint, fix
8888         a drawing bug with cursor movement
8889
8890 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8891
8892         * lyxtext.h:
8893         * text.C:
8894         * text2.C: anchor row on setCursor
8895
8896 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8897
8898         * lyxtext.h: remove almost all mutable keywords
8899         * text.C:
8900         * text2.C:
8901         * text3.C: remove const keywords accordingly
8902
8903 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8904
8905         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8906         anon namespace
8907         (TeXEnvironment): ditto
8908         (TeXOnePar): ditto
8909
8910 2003-03-17  John Levon  <levon@movementarian.org>
8911
8912         * text.C (rowBreakPoint): remove attempt to fix displayed
8913         math insets inside a manual label
8914
8915 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8916
8917         * lyxtext.h: remove BufferView* as first arg from almost all class
8918         functions.
8919         * other files: adjust.
8920
8921 2003-03-17  John Levon  <levon@movementarian.org>
8922
8923         * lyxtext.h:
8924         * undo_funcs.C:
8925         * text2.C: more paint cleanups
8926
8927         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8928
8929         * rowpainter.h:
8930         * rowpainter.C: remove "smart" background painting code
8931
8932 2003-03-16  John Levon  <levon@movementarian.org>
8933
8934         * lyxtext.h:
8935         * text.C:
8936         * text2.C:
8937         * text3.C: add helper functions for setting refresh_row/y
8938
8939 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8940
8941         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8942         newline inset which *can* get inserted in the pass_thru layouts.
8943         This is primarily for literate documents.
8944
8945 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8946
8947         * buffer.C: increment LYX_FORMAT to 223
8948
8949 2003-03-14 André Pönitz <poenitz@gmx.net>
8950
8951         * textclass.h: prepare for environment handling, ws changes
8952         * lyxlayout.C: read latexheader and latexfooter tags
8953
8954 2003-03-14  John Levon  <levon@movementarian.org>
8955
8956         * text2.C: rewrite ::status() a bit
8957
8958 2003-03-13  John Levon  <levon@movementarian.org>
8959
8960         * lyxtext.h: add some docs
8961
8962 2003-03-13  John Levon  <levon@movementarian.org>
8963
8964         * lyxtext.h:
8965         * text.C:
8966         * text2.C:
8967         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8968
8969 2003-03-13  John Levon  <levon@movementarian.org>
8970
8971         * text3.C: fix appendix redrawing
8972
8973 2003-03-13  John Levon  <levon@movementarian.org>
8974
8975         * text.C (setHeightOfRow):
8976         * rowpainter.h:
8977         * rowpainter.C: make appendix mark have the text
8978           "Appendix" so the user knows what it is
8979
8980         * LColor.h:
8981         * LColor.C: s/appendixline/appendix/ from above
8982
8983 2003-03-13  John Levon  <levon@movementarian.org>
8984
8985         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8986
8987         * text.C: fix a getChar(pos) bug properly
8988
8989 2003-03-13  Angus Leeming  <leeming@lyx.org>
8990
8991         * commandtags.h:
8992         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8993         Probably only temporary. Let's see how things pan out.
8994
8995         * BufferView.C (unlockInset):
8996         * BufferView_pimpl.C (fitCursor):
8997         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8998
8999         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9000         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9001
9002         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9003         new functions that convert ParagraphParameters to and from a string.
9004
9005         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9006         BufferView::Pimpl's dispatch.
9007         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9008
9009 2003-03-13 André Pönitz <poenitz@gmx.net>
9010
9011         * lyxfunc.C:
9012         * text3.C:
9013         * factory.C: make it aware of InsetEnv
9014
9015 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9016
9017         * text2.C (setCursor): never ask for one past last
9018         (setCursor): add some debugging messages.
9019
9020         * text.C (singleWidth): never ask for one past last
9021         (singleWidth): ditto
9022         (leftMargin): ditto
9023         (rightMargin): ditto
9024         (rowBreakPoint): ditto
9025         (setHeightOfRow): ditto
9026         (prepareToPrint): ditto
9027
9028         * rowpainter.C (paintBackground): never ask for one past last
9029         (paintText): never ask for one past last
9030
9031         * paragraph_pimpl.C (getChar): make the assert stricter, never
9032         allow the one past last pos to be taken
9033
9034         * paragraph.C (getChar): ws changes only
9035
9036         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9037         (numberOfSeparators): ditto
9038         (numberOfHfills): ditto
9039
9040 2003-03-12  John Levon  <levon@movementarian.org>
9041
9042         * author.h:
9043         * author.C:
9044         * bufferparams.h:
9045         * bufferparams.C:
9046         * paragraph_funcs.C: fix per-buffer authorlists
9047
9048 2003-03-12  John Levon  <levon@movementarian.org>
9049
9050         * text.C: fix newline in right address
9051
9052 2003-03-12  Angus Leeming  <leeming@lyx.org>
9053
9054         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9055         duplicate those in LyXFunc::dispatch.
9056
9057         * commandtags.h:
9058         * LyXAction.C:
9059         * ToolbarDefaults.C:
9060         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9061         Add LFUN_FONTFREE_UPDATE.
9062
9063         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9064         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9065
9066         * bufferview_func.[Ch]: several new functions to facilliate
9067         transfer of data to and from the character dialog.
9068
9069 2003-03-12  John Levon  <levon@movementarian.org>
9070
9071         * buffer.C:
9072         * paragraph.h:
9073         * paragraph.C:
9074         * paragraph_funcs.C:
9075         * paragraph_pimpl.C:
9076         * sgml.C:
9077         * tabular.C:
9078         * text.C:
9079         * text3.C: remove META_NEWLINE in favour of an inset
9080
9081         * rowpainter.h:
9082         * rowpainter.C: remove paintNewline (done by inset)
9083
9084 2003-03-12  John Levon  <levon@movementarian.org>
9085
9086         * paragraph_pimpl.C: complain about bad getChar()s
9087         for a while at least
9088
9089 2003-03-12  John Levon  <levon@movementarian.org>
9090
9091         * buffer.h:
9092         * buffer.C: move paragraph read into a separate function,
9093         a little renaming to reflect that.
9094
9095         * bufferparams.h:
9096         * bufferparams.C: remove the author_ids map, not necessary now
9097
9098         * factory.h:
9099         * factory.C: moved Buffer::readInset to here
9100
9101         * paragraph_funcs.h:
9102         * paragraph_funcs.C: readParagraph free function moved from
9103         buffer.C
9104
9105         * tabular.C: name change
9106
9107 2003-03-12  John Levon  <levon@movementarian.org>
9108
9109         * buffer.C:
9110         * ParagraphParameters.C: move par params input to
9111         a read() method
9112
9113         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9114         behave like a normal read from the stream wrt reading
9115         a line vs. a \\token
9116
9117 2003-03-12  John Levon  <levon@movementarian.org>
9118
9119         * paragraph.C:
9120         * ParagraphParameters.h:
9121         * ParagraphParameters.C: move output code to a
9122         ::write() method
9123
9124 2003-03-12  John Levon  <levon@movementarian.org>
9125
9126         * BufferView.C (insertLyXFile):
9127         * buffer.h:
9128         * buffer.C:
9129         * tabular.C: use a parlist iterator for creating the
9130           document.
9131
9132 2003-03-12  John Levon  <levon@movementarian.org>
9133
9134         * buffer.C: make current_change static local not
9135           static file-scope
9136
9137 2003-03-12  John Levon  <levon@movementarian.org>
9138
9139         * buffer.C: fix insertStringAsLines for change tracking
9140
9141 2003-03-12  John Levon  <levon@movementarian.org>
9142
9143         * BufferView.C:
9144         * tabular.C:
9145         * buffer.h:
9146         * buffer.C:
9147         * bufferparams.h:
9148         * bufferparams.C: move author list into params. Rename some
9149           functions. Move the header reading into a separate token
9150           loop. Move the header token reading into BufferParams.
9151
9152 2003-03-12  John Levon  <levon@movementarian.org>
9153
9154         * changes.C: put debug inside lyxerr.debugging() checks
9155
9156 2003-03-11 André Pönitz <poenitz@gmx.net>
9157
9158         * factory.C: make it aware of InsetHFill
9159
9160 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9161
9162         * buffer.C (latexParagraphs): move function from here...
9163         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9164         args.
9165
9166 2003-03-10  Angus Leeming  <leeming@lyx.org>
9167
9168         * LyXAction.C (init): fix bug in poplating array with multiple entries
9169         with the same LFUN (spotted by JMarc).
9170
9171 2003-03-10  John Levon  <levon@movementarian.org>
9172
9173         * text.C:
9174         * text2.C: move getColumnNearX() near its
9175         only call site
9176
9177 2003-03-10  John Levon  <levon@movementarian.org>
9178
9179         * text.C: fix break before a minipage
9180
9181 2003-03-10  John Levon  <levon@movementarian.org>
9182
9183         * text.C: fix the last commit
9184
9185 2003-03-09  John Levon  <levon@movementarian.org>
9186
9187         * lyxtext.h:
9188         * text.C:
9189         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9190         bug 365 (don't break before insets unless needed). Don't
9191         return a value > last under any circumstances.
9192
9193 2003-03-09  Angus Leeming  <leeming@lyx.org>
9194
9195         * BufferView_pimpl.C (trackChanges, dispatch): call
9196         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9197
9198 2003-03-09  Angus Leeming  <leeming@lyx.org>
9199
9200         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9201         than Dialogs::showAboutlyx().
9202
9203 2003-03-09  Angus Leeming  <leeming@lyx.org>
9204
9205         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9206         than Dialogs::showTabularCreate().
9207
9208 2003-03-09  John Levon  <levon@movementarian.org>
9209
9210         * lyxtext.h:
9211         * text.C:
9212         * text2.C: 3rd arg to nextBreakPoint was always the same.
9213           Use references.
9214
9215 2003-03-08  John Levon  <levon@movementarian.org>
9216
9217         * lyxrow.C:
9218         * paragraph.C:
9219         * paragraph.h:
9220         * rowpainter.C:
9221         * text.C:
9222         * text2.C: Remove the "main" bit from the "main body"
9223           notion.
9224
9225 2003-03-08  John Levon  <levon@movementarian.org>
9226
9227         * text.C (leftMargin): The left margin of an empty
9228         manual label paragraph should not include the label width
9229         string length.
9230
9231         * text.C (prepareToPrint): don't attempt to measure hfills
9232         for empty manual label paragraphs - the answer should be 0
9233
9234 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9235
9236         * CutAndPaste.C: remove commented code and reindent.
9237
9238 2003-03-08  John Levon  <levon@movementarian.org>
9239
9240         * lyxfunc.h:
9241         * lyxfunc.C: move reloadBuffer()
9242
9243         * BufferView.h:
9244         * BufferView.C: to here
9245
9246         * lyxvc.C: add comment
9247
9248         * vc-backend.h:
9249         * vc-backend.C: call bv->reload() to avoid
9250           getStatus() check on MENURELOAD
9251
9252 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9253
9254         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9255         to an old format .dep file.
9256
9257 2003-03-07  Angus Leeming  <leeming@lyx.org>
9258
9259         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9260         when the LFUN_MOUSE_RELEASE should have been handled by
9261         inset->localDispatch.
9262
9263 2003-03-07  Angus Leeming  <leeming@lyx.org>
9264
9265         * BufferView_pimpl.C (dispatch):
9266         * LyXAction.C (init):
9267         * ToolbarDefaults.C (init):
9268         * commandtags.h:
9269         * lyxfunc.C (getStatus):
9270         remove LFUN_INSET_GRAPHICS.
9271
9272         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9273
9274 2003-03-07  Angus Leeming  <leeming@lyx.org>
9275
9276         * commandtags.h:
9277         * LyXAction.C (init):
9278         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9279
9280         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9281
9282         * commandtags.h:
9283         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9284
9285         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9286         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9287
9288 2003-03-07  Angus Leeming  <leeming@lyx.org>
9289
9290         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9291         remove "ert".
9292
9293 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9294
9295         * ParagraphList.C (front): new function
9296         (back): implement
9297
9298 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9299
9300         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9301         and top_row_offset_. removed var first_y.
9302         * text.C (top_y):
9303         * text2.C (LyXText, removeRow):
9304         * text3.C:
9305         * BufferView_pimpl.C:
9306         use these methods instead of using first_y
9307
9308 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9309
9310         * text2.C (pasteSelection): adjust for checkPastePossible
9311
9312         * CutAndPaste.C: remove Paragraph * buf and replace with
9313         ParagraphList paragraphs.
9314         (DeleteBuffer): delete
9315         (cutSelection): change the tc type to textclass_type
9316         (copySelection): change the tc type to textclass_type
9317         (copySelection): adjust for ParagraphList
9318         (pasteSelection): change the tc type to textclass_type
9319         (pasteSelection): adjust for Paragraphlist
9320         (nrOfParagraphs): simplify for ParagraphList
9321         (checkPastePossible): simplify for ParagraphList
9322         (checkPastePossible): remove unused arg
9323
9324         * ParagraphList.C (insert): handle the case where there are no
9325         paragraphs yet.
9326
9327         * CutAndPaste.h: make CutAndPaste a namespace.
9328
9329         * text3.C (dispatch): adjust
9330
9331         * text.C (breakParagraph): add a ParagraphList as arg
9332
9333         * paragraph_funcs.C (breakParagraph): change to take a
9334         BufferParams and a ParagraphList as args.
9335         (breakParagraphConservative): ditto
9336         (mergeParagraph): ditto
9337         (TeXDeeper): add a ParagraphList arg
9338         (TeXEnvironment): ditto
9339         (TeXOnePar): ditto
9340
9341         * buffer.C (readLyXformat2): adjust
9342         (insertStringAsLines): adjust
9343         (latexParagraphs): adjust
9344
9345         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9346         (cutSelection): adjust
9347         (pasteSelection): adjust
9348
9349         * BufferView_pimpl.C (insertInset): adjust
9350
9351 2003-03-05  Angus Leeming  <leeming@lyx.org>
9352
9353         * commandtags.h:
9354         * LyXAction.C (init):
9355         * BufferView_pimpl.C (dispatch):
9356         * lyxfunc.C (getStatus):
9357         remove LFUN_CHILD_INSERT.
9358
9359         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9360
9361 2003-03-05  Angus Leeming  <leeming@lyx.org>
9362
9363         * commandtags.h:
9364         * LyXAction.C (init):
9365         * src/factory.C (createInset):
9366         * lyxfunc.C (getStatus):
9367         * text3.C (dispatch):
9368         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9369
9370         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9371
9372 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9373
9374         * ParagraphList.C (insert): handle insert right before end()
9375         (erase): fix cases where it can be first or last paragraph.
9376
9377 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9378
9379         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9380         Paragraph::next and Paragraph::previous
9381         (TeXOnePar): ditto
9382
9383         * text.C (breakParagraph): adjust
9384
9385         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9386         BufferParams& as arg.
9387         (breakParagraph): use ParagraphList::insert
9388         (breakParagraphConservative): take a Buffer* instead of a
9389         BufferParams& as arg.
9390         (breakParagraphConservative): use ParagraphList::insert.
9391
9392         * buffer.C (insertStringAsLines): un-const it
9393         (insertStringAsLines): adjust
9394
9395         * ParagraphList.C (insert): new function
9396
9397         * CutAndPaste.C (pasteSelection): adjust
9398
9399         * text.C (backspace): adjust
9400
9401         * tabular.C (SetMultiColumn): adjust
9402
9403         * CutAndPaste.C (cutSelection): adjust
9404         (pasteSelection): adjust
9405
9406         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9407         Buffer const * as arg
9408
9409         * ParagraphList.C (erase): new function
9410         * paragraph_funcs.C (mergeParagraph): use it
9411         (mergeParagraph): make it take a Buffer* instead of a
9412         BufferParams* as arg
9413
9414         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9415         as arg
9416         (breakParagraphConservative): ditto
9417
9418         * paragraph.h: remove the breakParagraph friend
9419
9420         * paragraph.C (eraseIntern): new function
9421         (setChange): new function
9422
9423         * paragraph_funcs.C (mergeParagraph): make it take a
9424         ParagraphList::iterator instead of a Paragraph *, adjust
9425         accordingly.
9426
9427         * paragraph.h: move an #endif so that the change tracking stuff
9428         also works in the NO_NEXT case.
9429
9430 2003-03-04  Angus Leeming  <leeming@lyx.org>
9431
9432         * commandtags.h:
9433         * LyXAction.C: new LFUN_INSET_MODIFY.
9434
9435         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9436         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9437
9438 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9439
9440         * several files: ws changes only
9441
9442         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9443         (TeXEnvironment): ditto
9444         (TeXDeeper): ditto
9445
9446         * buffer.C (makeLaTeXFile): adjust
9447         (latexParagraphs): make it take ParagraphList::iterator as args
9448
9449 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9450
9451         * buffer.C (latexParagraphs): adjust
9452
9453         * paragraph.C (TeXOnePar): move function...
9454         (optArgInset): move function...
9455         (TeXEnvironment): move function...
9456         * paragraph_pimpl.C (TeXDeeper): move function...
9457         * paragraph_funcs.C: ...here
9458
9459         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9460
9461 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9462
9463         * buffer.C (readInset): remove compability code for old Figure and
9464         InsetInfo insets
9465
9466 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9467
9468         * buffer.C: ws changes
9469         (readInset):
9470
9471         * BufferView_pimpl.C: ditto
9472         * author.C: ditto
9473         * buffer.h: ditto
9474         * bufferlist.h: ditto
9475         * changes.h: ditto
9476         * lyxfunc.C: ditto
9477
9478 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9479
9480         * converter.[Ch]: split into itself +
9481         * graph.[Ch]
9482         * format.[Ch]
9483         * Makefile.am: += graph.[Ch] + format.[Ch]
9484         * MenuBackend.C
9485         * buffer.C
9486         * exporter.C
9487         * importer.C
9488         * lyx_main.C
9489         * lyxfunc.C
9490         * lyxrc.C: added #include "format.h"
9491
9492 2003-02-27  Angus Leeming  <leeming@lyx.org>
9493
9494         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9495           a label.
9496
9497         * factory.C (createInset): add "label" to the factory.
9498
9499         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9500           string and do no more.
9501
9502 2003-02-27  Angus Leeming  <leeming@lyx.org>
9503
9504         * commandtags.h:
9505         * LyXAction.C (init):
9506         * factory.C (createInset):
9507         * BufferView_pimpl.C (dispatch):
9508           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9509
9510         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9511
9512         * lyxfunc.C (dispatch):
9513         * text3.C (dispatch): pass name to params2string.
9514
9515 2003-02-26  Angus Leeming  <leeming@lyx.org>
9516
9517         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9518           blocks together.
9519           Rearrange the ~includes. Strip out the unnecessary ones.
9520
9521         * factory.C (createInset): reformat.
9522           create new insets for the various LFUN_XYZ_APPLY lfuns.
9523
9524 2003-02-26  John Levon  <levon@movementarian.org>
9525
9526         * lyxrow.h:
9527         * lyxrow.C: add isParStart,isParEnd helpers
9528
9529         * paragraph.h: make isInserted/DeletedText take refs
9530
9531         * paragraph_funcs.h:
9532         * paragraph_funcs.C: remove #if 0'd code
9533
9534         * lyxtext.h:
9535         * text3.C:
9536         * text2.C:
9537         * text.C: use lyxrow helpers above.
9538           Move draw and paint routines to RowPainter.
9539           Make several methods use refs not pointers.
9540           Make backgroundColor() const.
9541           Add markChangeInDraw(), isInInset().
9542           Merge changeRegionCase into changeCase.
9543           Make workWidth() shouldn't-happen code into an Assert.
9544
9545         * rowpainter.h:
9546         * rowpainter.C: new class for painting a row.
9547
9548         * vspace.h:
9549         * vspace.C: make inPixels take a ref
9550
9551 2003-02-26  Angus Leeming  <leeming@lyx.org>
9552
9553         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9554         LFUN_REF_APPLY.
9555
9556 2003-02-25  John Levon  <levon@movementarian.org>
9557
9558         * ispell.C: give the forked command a more accurate name
9559
9560 2003-02-22  John Levon  <levon@movementarian.org>
9561
9562         * toc.h:
9563         * toc.C: make TocItem store an id not a Paragraph *
9564           (bug #913)
9565
9566 2003-02-21  Angus Leeming  <leeming@lyx.org>
9567
9568         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9569           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9570           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9571           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9572           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9573           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9574
9575         * BufferView_pimpl.C (dispatch):
9576         * LyXAction.C (init):
9577         * factory.C (createInset):
9578         * lyxfunc.C (getStatus, dispatch):
9579         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9580
9581 2003-02-21  Angus Leeming  <leeming@lyx.org>
9582
9583         * BufferView_pimpl.C (MenuInsertLyXFile):
9584         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9585         * lyxfunc.C (menuNew, open, doImport):
9586           no longer pass a LyXView & to fileDlg.
9587
9588 2003-02-21  Angus Leeming  <leeming@lyx.org>
9589
9590         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9591         * LyXAction.C: change, BIBKEY to BIBITEM.
9592         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9593         Change InsetBibKey to InsetBibitem.
9594         Change BIBKEY_CODE to BIBITEM_CODE.
9595         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9596         * factory.C: replace insetbib.h with insetbibitem.h.
9597         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9598         * paragraph.C: replace insetbib.h with insetbibitem.h.
9599         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9600         Change bibkey() to bibitem().
9601         * text.C: remove insetbib.h.
9602         * text2.C: replace insetbib.h with insetbibitem.h.
9603         change bibkey() to bibitem().
9604         * text3.C: remove insetbib.h.
9605         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9606
9607 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9608
9609         * lyxrc.C (output): enclose user email in quotes (in case there are
9610         several words)
9611
9612 2003-02-18  John Levon  <levon@movementarian.org>
9613
9614         * buffer.h: add std::
9615
9616 2003-02-17  John Levon  <levon@movementarian.org>
9617
9618         * SpellBase.h:
9619         * ispell.h:
9620         * ispell.C:
9621         * pspell.h:
9622         * pspell.C: reworking. Especially in ispell, a large
9623           number of clean ups and bug fixes.
9624
9625         * lyxfunc.C: fix revert to behave sensibly
9626
9627 2003-02-17 André Pönitz <poenitz@gmx.net>
9628
9629         * LyXAction.C:
9630         * commandtags.h: new LFUN_INSERT_BIBKEY
9631
9632         * layout.h:
9633         * lyxlayout.C:
9634         * buffer.C:
9635         * factory.C:
9636         * text.C:
9637         * text2.C:
9638         * text3.C:
9639         * paragraph.[Ch]:
9640         * paragraph_func.C: remove special bibkey handling
9641
9642 2003-02-17  John Levon  <levon@movementarian.org>
9643
9644         * text.C (Delete): fix case where delete at the end of
9645           the very first paragraph would not merge the pars
9646
9647 2003-02-17  John Levon  <levon@movementarian.org>
9648
9649         * lyxrow.C: fix lastPrintablePos()
9650
9651 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9652
9653         * bufferparams.C (writeLaTeX): add a std:here
9654
9655         * buffer.C: and remove a using directive there
9656
9657 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9658
9659         * buffer.C (makeLaTeXFile): move the code that generates the
9660           preamble...
9661
9662         * bufferparams.C (writeLaTeX): ... in this new method
9663
9664         * LaTeXFeatures.C (getEncodingSet): make const
9665           (getLanguages): make const
9666
9667         * MenuBackend.C (binding): returns the binding associated to this
9668           action
9669           (add): sets the status of each item by calling getStatus. Adds
9670           some intelligence.
9671           (read): add support for OptSubMenu
9672           (expand): remove extra separator at the end of expanded menu
9673
9674 2003-02-15  John Levon  <levon@movementarian.org>
9675
9676         * BufferView.C:
9677         * BufferView_pimpl.C:
9678         * bufferlist.h:
9679         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9680           inset code that had no actual effect. Remove unneeded status
9681           code.
9682
9683 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9684
9685         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9686           in preamble
9687
9688 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9689
9690         * text.C (drawLengthMarker): also draw an arrow marker for
9691           symbolic lengths (medskip...)
9692
9693 2003-02-14  John Levon  <levon@movementarian.org>
9694
9695         * tabular.h:
9696         * tabular.C: better method names
9697
9698 2003-02-14  John Levon  <levon@movementarian.org>
9699
9700         * BufferView_pimpl.C:
9701         * bufferlist.C:
9702         * buffer.C:
9703         * converter.C:
9704         * lyx_cb.C:
9705         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9706           it's a more accurate name. Remove some pointless uses.
9707
9708 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9709
9710         * text2.C (LyXText): change order of initilizers to shut off
9711           warnings
9712
9713 2003-02-14  John Levon  <levon@movementarian.org>
9714
9715         * buffer.C: use ParIterator for getParFromID()
9716
9717         * paragraph.h:
9718         * paragraph.C:
9719         * paragraph_pimpl.h:
9720         * paragraph_pimpl.C: remove unused getParFromID()
9721
9722 2003-02-14  John Levon  <levon@movementarian.org>
9723
9724         * buffer.C: remove some very old #if 0'd parse code
9725
9726 2003-02-13  John Levon  <levon@movementarian.org>
9727
9728         * text.h:
9729         * text.C:
9730         * text2.C: move hfillExpansion(), numberOfSeparators(),
9731           rowLast(), rowLastPrintable(), numberofHfills(),
9732           numberOfLabelHfills() ...
9733
9734         * lyxrow.h:
9735         * lyxrow.C: ... to member functions here.
9736
9737         * paragraph.h:
9738         * paragraph.C:
9739         * lyxtext.h:
9740         * text.C: remove LyXText::beginningOfMainBody(), and call
9741           p->beginningOfMainBody() directly. Move the check for
9742           LABEL_MANUAL into the latter.
9743
9744         * text.h:
9745         * text.C:
9746         * text2.C:
9747         * vspace.C:
9748         * BufferView.h:
9749         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9750
9751         * text.h:
9752         * text.C:
9753         * text2.C:
9754         * text3.C:
9755         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9756           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9757
9758 2003-02-13  John Levon  <levon@movementarian.org>
9759
9760         * CutAndPaste.C: remove debug
9761
9762 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9763
9764         * paragraph.C (asString): remove two unused variables
9765
9766         * lyxtextclass.C (readTitleType):
9767           (Read):
9768           (LyXTextClass): handle new members titletype_ and titlename_
9769
9770         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9771
9772 2003-02-09  John Levon  <levon@movementarian.org>
9773
9774         * buffer.h:
9775         * buffer.C: replace hand-coded list with a map for the dep clean
9776
9777 2003-02-08  John Levon  <levon@movementarian.org>
9778
9779         * LaTeX.C: consolidate code into showRunMessage() helper
9780
9781 2003-02-08  John Levon  <levon@movementarian.org>
9782
9783         * lyxfind.C:
9784         * lyxtext.h:
9785         * text2.C:
9786         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9787           and pass the size in explicitly
9788
9789         * BufferView_pimpl.h:
9790         * BufferView_pimpl.C:
9791         * BufferView.h:
9792         * BufferView.C: add getCurrentChange()
9793
9794         * BufferView_pimpl.h:
9795         * BufferView_pimpl.C: handle change lfuns
9796
9797         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9798           for changes. Mark pasted paragraphs as new.
9799
9800         * support/lyxtime.h:
9801         * support/lyxtime.C:
9802         * DepTable.C: abstract time_t as lyx::time_type
9803
9804         * LColor.h:
9805         * LColor.C: add colours for new text, deleted text, changebars
9806
9807         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9808           package use "usenames" option.
9809
9810         * commandtags.h:
9811         * lyxfunc.C:
9812         * LyXAction.C: add change lfuns
9813
9814         * Makefile.am:
9815         * author.h:
9816         * author.C: author handling
9817
9818         * buffer.h:
9819         * buffer.C: add a per-buffer author list, with first entry as
9820           current author. Handle new .lyx tokens for change tracking. Output
9821           author list to .lyx file. Output dvipost stuff to .tex preamble.
9822           Bump lyx format to 222.
9823
9824         * bufferlist.h:
9825         * bufferlist.C: add setCurrentAuthor() to reset current author details
9826           in all buffers.
9827
9828         * bufferparams.h:
9829         * bufferparams.C: add param for tracking
9830
9831         * bufferview_funcs.C: output change info in minibuffer
9832
9833         * Makefile.am:
9834         * changes.h:
9835         * changes.C: add change-tracking structure
9836
9837         * debug.h:
9838         * debug.C: add CHANGES debug flag
9839
9840         * lyxfind.h:
9841         * lyxfind.C: add code for finding the next change piece
9842
9843         * lyxrc.h:
9844         * lyxrc.C: add user_name and user_email
9845
9846         * lyxrow.h:
9847         * lyxrow.C: add a metric for the top of the text line
9848
9849         * lyxtext.h:
9850         * text.C: implement accept/rejectChange()
9851
9852         * lyxtext.h:
9853         * text.C: paint changebars. Paint new/deleted text in the chosen
9854         colours. Strike through deleted text.
9855
9856         * paragraph.h:
9857         * paragraph.C:
9858         * paragraph_pimpl.h:
9859         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9860           in the current change to the insert functions. Rework erase to
9861           mark text as deleted, adding an eraseIntern() and a range-based
9862           erase(). Implement per-paragraph change lookup and
9863           accept/reject.
9864
9865         * paragraph_funcs.C: Fixup paste for change tracking.
9866
9867         * tabular.C: mark added row/columns as new.
9868
9869         * text.C: fix rowLast() to never return -1. Don't allow
9870           spellchecking of deleted text. Track transpose changes. Don't
9871           allow paragraph break or merge where appropriate.
9872
9873         * text2.C: leave cursor at end of selection after a cut.
9874
9875 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9876
9877         * text.C (getLengthMarkerHeight):
9878         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9879         visible on screen too.
9880
9881 2003-02-07  John Levon  <levon@movementarian.org>
9882
9883         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9884
9885 2003-02-05  Angus Leeming  <leeming@lyx.org>
9886
9887         * lyxserver.C (read_ready): revert my patch of 11 September last year
9888         as it sends PC cpu through the roof. Presumably this means that
9889         the lyxserver will no longer run on an Alpha...
9890
9891 2003-01-30  Angus Leeming  <leeming@lyx.org>
9892
9893         * factory.C (createInset): create an InsetCommandParam of type "index"
9894         and use it to 'do the right thing'.
9895
9896         * text2.C (getStringToIndex): ensure that cursor position is always
9897         reset to the reset_cursor position.
9898
9899 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9900
9901         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9902         disabled.
9903
9904 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9905
9906         * bufferview.C:
9907         * lyxcb.C:
9908         * lyxfunc.C: Output messages with identical spelling, punctuation,
9909         and spaces
9910
9911 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9912
9913         * MenuBackend.C (expandFormats): List only viewable export formats
9914         in "View" menu
9915
9916         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9917         message
9918
9919         * lyxfunc.C (getStatus): Make sure that formats other than
9920         "fax" can also be disabled
9921
9922 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9923
9924         * text3.C (dispatch): put the lfuns that insert insets in 3
9925         groups, and call doInsertInset with appropriate arguments.
9926         (doInsertInset): new function, that creates an inset and inserts
9927         it according to some boolean parameters.
9928
9929 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9930
9931         * buffer.C (readFile): remember to pass on 'par' when calling
9932         readFile recursively.
9933
9934 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9935
9936         * MenuBackend.C (expandFormats): add "..." to import formats.
9937
9938 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9939
9940         * paragraph.C (asString): Remove XForms RTL hacks.
9941
9942 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9943         * buffer.C: fix typo
9944
9945 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9946
9947         * Makefile.am (LIBS): delete var
9948         (lyx_LDADD): add @LIBS@ here instead.
9949
9950 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9951
9952         * Clarify the meaning of "wheel mouse jump"
9953
9954 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9955
9956         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9957         tabular in a float
9958
9959 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9960
9961         * importer.C (Loaders): do not preallocate 3 elements in the
9962         vector, since one ends up with 6 elements otherwise
9963
9964 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9965
9966         * DepTable.C (write): write the file name as last element of the
9967         .dep file (because it may contain spaces)
9968         (read): read info in the right order
9969
9970 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9971
9972         * paragraph_pimpl.C (simpleTeXBlanks):
9973         (simpleTeXSpecialChars):
9974         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9975
9976         * tabular.C (latex): add some missing case statements. Reindent.
9977
9978         * MenuBackend.C (expandToc): remove unused variable.
9979
9980 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9981
9982         * LColor.C:
9983         * LaTeX.C:
9984         * LyXAction.C:
9985         * MenuBackend.C:
9986         * buffer.C:
9987         * exporter.C:
9988         * lyxfunc.C:
9989         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9990         and the like.
9991
9992 2003-01-05  John Levon  <levon@movementarian.org>
9993
9994         * BufferView.h:
9995         * BufferView.C: add getEncoding()
9996
9997         * kbsequence.h:
9998         * kbsequence.C: do not store last keypress
9999
10000         * lyxfunc.h:
10001         * lyxfunc.C: store last keypress here instead. Pass encoding
10002           to getISOEncoded()
10003
10004 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10005
10006         * lyx_main.C (init): remove annoying error message when following
10007         symbolic links (bug #780)
10008
10009 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10010
10011         * text.C (insertChar):
10012         * lyxrc.C (getDescription): remove extra spaces
10013
10014 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10015
10016         * lyxrc.C (getDescription): remove extra spaces
10017
10018 2002-12-20  John Levon  <levon@movementarian.org>
10019
10020         * text3.C: hack fix for page up/down across tall rows
10021
10022 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10023
10024         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10025         not been invoked
10026
10027 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10028
10029         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10030         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10031         thesaurus is not compiled in
10032
10033 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10034
10035         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10036
10037 2002-12-16  Angus Leeming  <leeming@lyx.org>
10038
10039         * lyxrc.[Ch]:
10040         * lyx_main.C (init): remove override_x_deadkeys stuff.
10041
10042 2002-12-12  John Levon  <levon@movementarian.org>
10043
10044         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10045           insert. Only remove shift modifier under strict
10046           circumstances.
10047
10048 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10049
10050         * MenuBackend.C (expandToc): fix crash.
10051
10052 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10053
10054         * MenuBackend.C (expandToc): gettext on float names.
10055
10056 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10057
10058         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10059         implement bool empty() [bug 490]
10060
10061 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10062
10063         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10064
10065 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10066
10067         * several files: ws changes
10068
10069 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10070
10071         * text2.C (setCounter): clean up a bit, use boost.format.
10072         (updateCounters): initialize par upon declaration.
10073
10074         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10075         if the layout exists. We do not just store the layout any more.
10076         (SwitchLayoutsBetweenClasses): use boost.format
10077
10078 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10079
10080         * converter.C (convert): if from and to files are the same, use a
10081         temporary files as intermediary
10082
10083 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10084
10085         * commandtags.h:
10086         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10087
10088 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10089
10090         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10091
10092 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10093
10094         * tabular.C (asciiPrintCell): use string(size, char) instead of
10095         explicit loop.
10096
10097         * sgml.C (openTag): fix order of arguments to string constructor
10098         (closeTag): ditto
10099
10100         * lyxfunc.C (dispatch): use boost.format
10101
10102         * lots of files: change "c" -> 'c'
10103
10104 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10105
10106         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10107
10108 2002-11-25  Angus Leeming  <leeming@lyx.org>
10109
10110         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10111
10112         * lyx_main.C (init): compile fix.
10113
10114 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10115
10116         * lyx_cb.C (start): boost.formatify
10117         do not include <iostream>
10118
10119         * lengthcommon.C: ws only
10120
10121         * boost-inst.C,BoostFormat.h: add more explict instantations
10122
10123 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10124
10125         * lots of files: handle USE_BOOST_FORMAT
10126
10127 2002-11-21  John Levon  <levon@movementarian.org>
10128
10129         * pspell.C: fix compile
10130
10131 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10132
10133         * lyxfunc.C (dispatch): use boost::format
10134         (open): ditto
10135         (doImport): ditto
10136
10137         * lyxfont.C (stateText): use boost::format
10138
10139         * lyx_main.C (LyX): use boost::format
10140         (init): ditto
10141         (queryUserLyXDir): ditto
10142         (readRcFile): ditto
10143         (parse_dbg): ditto
10144         (typedef boost::function): use the recommened syntax.
10145
10146         * importer.C (Import): use boost::format
10147
10148         * debug.C (showLevel): use boost::format
10149
10150         * converter.C (view): use boost::format
10151         (convert): ditto
10152         (move): ditto
10153         (scanLog): ditto
10154
10155         * bufferview_funcs.C (currentState): use boost::format
10156
10157         * bufferlist.C (emergencyWrite): use boost::format
10158
10159         * buffer.C (readLyXformat2): use boost::format
10160         (parseSingleLyXformat2Token): ditto
10161
10162         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10163
10164         * LaTeX.C (run): use boost::format
10165
10166         * Chktex.C (scanLogFile): use boost::format
10167
10168         * BufferView_pimpl.C (savePosition): use boost::format
10169         (restorePosition): ditto
10170         (MenuInsertLyXFile): ditto
10171
10172         * BoostFormat.h: help file for explicit instation.
10173
10174 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10175
10176         * tabular.C (latex): Support for block alignment in fixed width
10177         columns.
10178
10179 2002-11-17  John Levon  <levon@movementarian.org>
10180
10181         * BufferView_pimpl.C:
10182         * lyx_cb.C:
10183         * lyxfunc.C: split filedialog into open/save
10184
10185 2002-11-08  Juergen Vigna  <jug@sad.it>
10186
10187         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10188         by my last patch (hopefully).
10189
10190 2002-11-08  John Levon  <levon@movementarian.org>
10191
10192         * iterators.h:
10193         * iterators.C:
10194         * buffer.h:
10195         * buffer.C:
10196         * paragraph.h:
10197         * paragraph.C:
10198         * toc.h:
10199         * toc.C: ParConstIterator, and use it (from Lars)
10200
10201 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10202
10203         * lyxtextclass.[Ch]: revise and add doxygen comments
10204
10205 2002-11-07  John Levon  <levon@movementarian.org>
10206
10207         * text.C: fix progress value for spellchecker
10208
10209         * toc.C: fix navigate menu for insetwrap inside minipage
10210
10211         * paragraph_funcs.C: added FIXME for suspect code
10212
10213 2002-11-07  John Levon  <levon@movementarian.org>
10214
10215         * BufferView_pimpl.C: fix redrawing of insets
10216           on buffer switch
10217
10218 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10219
10220         * text2.C (updateCounters): fix bug 668
10221
10222 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10223
10224         * text3.C (dispatch): Do not make the buffer dirty when moving the
10225         cursor.
10226
10227 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10228
10229         * vc-backend.C: STRCONV
10230         (scanMaster): ditto
10231
10232         * text2.C (setCounter): STRCONV
10233
10234         * paragraph.C (asString): STRCONV
10235
10236         * lyxlength.C (asString): STRCONV
10237         (asLatexString): ditto
10238
10239         * lyxgluelength.C (asString): STRCONV
10240         (asLatexString): ditto
10241
10242         * lyxfunc.C (dispatch): STRCONV
10243         (open): ditto
10244
10245         * lyxfont.C (stateText): STRCONV
10246
10247         * importer.C (Import): STRCONV
10248
10249         * counters.C (labelItem): STRCONV
10250         (numberLabel): ditto
10251         (numberLabel): remove unused ostringstream o
10252
10253         * chset.C: STRCONV
10254         (loadFile): ditto
10255
10256         * bufferview_funcs.C (currentState): STRCONV
10257
10258         * buffer.C (readFile): STRCONV
10259         (asciiParagraph): ditto
10260         (makeLaTeXFile): ditto
10261
10262         * Spacing.C (writeEnvirBegin): STRCONV
10263
10264         * LaTeXFeatures.C (getLanguages): STRCONV
10265         (getPackages): ditto
10266         (getMacros): ditto
10267         (getBabelOptions): ditto
10268         (getTClassPreamble): ditto
10269         (getLyXSGMLEntities): ditto
10270         (getIncludedFiles): ditto
10271
10272         * LaTeX.C: STRCONV
10273         (run): ditto
10274         (scanAuxFile): ditto
10275         (deplog): ditto
10276
10277         * LString.h: add the STRCONV macros
10278
10279         * BufferView_pimpl.C (savePosition): STRCONV
10280         (restorePosition): ditto
10281         (MenuInsertLyXFile): ditto
10282
10283         * vc-backend.C (scanMaster): change from submatch[...] to
10284         submatch.str(...)
10285
10286         * funcrequest.C: include config.h
10287
10288         * factory.C: include config.h
10289
10290         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10291
10292         * box.C: include config.h
10293
10294         * LaTeX.C (scanAuxFile): change from submatch[...] to
10295         submatch.str(...)
10296         (deplog): ditto
10297
10298 2002-10-25  Angus Leeming  <leeming@lyx.org>
10299
10300         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10301
10302         * ispell.[Ch] (setError): new method.
10303         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10304         Use setError() insetead of goto END.
10305
10306         * lyx_cb.C (AutoSave): move out child process into new class
10307         AutoSaveBuffer.
10308
10309 2002-10-30  John Levon  <levon@movementarian.org>
10310
10311         * text3.C: make start appendix undoable
10312
10313 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10314
10315         * lyxlength.C (inPixels): Fix returned value.
10316
10317         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10318         environment.
10319
10320 2002-10-24  Angus Leeming  <leeming@lyx.org>
10321
10322         * lyxgluelength.h: no need to forward declare BufferParams
10323         or BufferView, so don't.
10324
10325 2002-10-21  John Levon  <levon@movementarian.org>
10326
10327         * BufferView.C: menuUndo ->undo, redo
10328
10329         * BufferView.h: document, remove dead, make some methods private
10330
10331         * paragraph_funcs.h:
10332         * paragraph_funcs.C:
10333         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10334
10335         * buffer.h:
10336         * buffer.C:
10337         * sgml.h:
10338         * sgml.C: move sgml open/close tag into sgml.C
10339
10340         * bufferview_funcs.h: unused prototype
10341
10342         * lyxfunc.h:
10343         * lyxfunc.C: remove unused
10344
10345         * lyxtext.h:
10346         * text.C: remove unused
10347
10348 2002-10-21  John Levon  <levon@movementarian.org>
10349
10350         * BufferView.h:
10351         * BufferView.C:
10352         * BufferView_pimpl.h:
10353         * BufferView_pimpl.C: fix mouse wheel handling based on
10354           patch from Darren Freeman
10355
10356 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10357
10358         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10359
10360 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10361
10362         * lyxlength.C (inPixels): Fix hanfling of negative length.
10363         Fix LyXLength::MU case.
10364
10365 2002-10-16  John Levon  <levon@movementarian.org>
10366
10367         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10368
10369 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10370
10371         * converter.C (view): add support for $$i (file name) and $$p
10372         (file path) for the viewer command. If $$i is not specified, then
10373         it is appended to the command (for compatibility with old syntax)
10374
10375 2002-10-14  Juergen Vigna  <jug@sad.it>
10376
10377         * undo_funcs.C (textHandleUndo): alter the order in which the
10378         new undopar is added to the LyXText, as we have to set first
10379         the right prev/next and then add it as otherwise the rebuild of
10380         LyXText is not correct. Also reset the cursor to the right paragraph,
10381         with this IMO we could remove the hack in "redoParagraphs()".
10382
10383 2002-10-09  Angus Leeming  <leeming@lyx.org>
10384
10385         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10386         to turn off an optimisation if a new inset is to be inserted.
10387
10388 2002-10-11 André Pönitz <poenitz@gmx.net>
10389
10390         * lyxtext.h: make some functions public to allow access
10391         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10392
10393 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10394
10395         * text3.C (dispatch): when changing layout, avoid an infinite loop
10396         [bug #652]
10397
10398 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10399
10400         * lyxrc.C (read): treat a viewer or converter command of "none" as
10401         if it were empty.
10402
10403         * MenuBackend.C (expandFormats): for an update, also allow the
10404         formats that are not viewable
10405
10406         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10407         script if it is newer than the lyxrc.defaults in user directory
10408
10409 2002-10-07 André Pönitz <poenitz@gmx.net>
10410
10411         * text.C: Vitaly Lipatov's small i18n fix
10412
10413 2002-09-25  Angus Leeming  <leeming@lyx.org>
10414
10415         * ispell.h: doxygen fix.
10416
10417 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10418
10419         * buffer.h (readFile): Add a new argument to the method, to allow
10420         reading of old-format templates.
10421
10422 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10423
10424         * toc.C (getTocList): Get TOC from InsetWrap.
10425
10426 2002-09-16  John Levon  <levon@movementarian.org>
10427
10428         * lyxfunc.C: check tabular for cut/copy too
10429
10430 2002-09-12  John Levon  <levon@movementarian.org>
10431
10432         * LyXAction.C: tidy
10433
10434         * factory.h:
10435         * factory.C: add header
10436
10437         * paragraph_funcs.h:
10438         * paragraph_funcs.C: cleanup
10439
10440 2002-09-11  John Levon  <levon@movementarian.org>
10441
10442         * PrinterParams.h: odd/even default to true
10443
10444 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10445
10446         * PrinterParams.h: update printer parameters for new xforms dialog
10447
10448 2002-09-11  Angus Leeming  <leeming@lyx.org>
10449
10450         * lyxserver.C (read_ready): re-write to make it more transparent
10451         and to make it work in coherent fashion under Tru64 Unix.
10452
10453 2002-09-11  André Pönitz <poenitz@gmx.net>
10454
10455         * commandtags.h:
10456         * LyXAction.C:
10457         * text3.C: implement LFUN_WORDSEL
10458
10459 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10460
10461         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10462         make floatlist_ a boost::shared_ptr<FloatList>
10463
10464         * lyxtextclass.C: include FloatList.h
10465         (LyXTextClass): initialize floatlist_
10466         (TextClassTags): add TC_NOFLOAT
10467         (Read): match "nofloat" to TC_NOFLOAT and use it.
10468         (readFloat): modify call to floatlist_
10469         (floats): ditto
10470         (floats): ditto
10471
10472         * FloatList.[Ch] (FloatList): remove commented out float
10473         initialization.
10474         (erase): new function
10475
10476 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10477
10478         * MenuBackend.C (expandToc): fix crash when there is no document
10479         open
10480
10481 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10482
10483         * many files: Add insetwrap.
10484
10485 2002-09-09  John Levon  <levon@movementarian.org>
10486
10487         * text2.C: remove confusing and awkward depth wraparound
10488
10489 2002-09-09  John Levon  <levon@movementarian.org>
10490
10491         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10492
10493         * buffer.h:
10494         * buffer.C: remove getIncludeonlyList()
10495
10496         * paragraph.C:
10497         * lyxfunc.C: remove headers
10498
10499 2002-09-09  Juergen Vigna  <jug@sad.it>
10500
10501         * text.C (getColumnNearX): fix form Michael this is most
10502         probably a cut&paste bug.
10503
10504 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10505
10506         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10507
10508         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10509         references, ws changes.
10510
10511         * text2.C (init): update counters after init
10512         (insertParagraph): no need to set counter on idividual paragraphs.
10513         (setCounter): access the counters object in the textclass object
10514         on in the buffer object.
10515         (updateCounters): ditto
10516
10517         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10518         shared_ptr<Counters> to avoid loading counters.h in all
10519         compilation units.
10520         (LyXTextClass): initialize ctrs_
10521         (TextClassTags): add TC_COUNTER, and ...
10522         (Read): use it here.
10523         (CounterTags): new tags
10524         (readCounter): new function
10525         (counters): new funtion
10526         (defaultLayoutName): return a const reference
10527
10528         * counters.C (Counters): remove contructor
10529         (newCounter): remove a couple of unneeded statements.
10530         (newCounter): simplify a bit.
10531         (numberLabel): some small formatting changes.
10532
10533         * buffer.[Ch]: remove all traces of counters, move the Counters
10534         object to the LyXTextClass.
10535
10536 2002-09-06  Alain Castera  <castera@in2p3.fr>
10537
10538         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10539         package to set the horizontal alignment on fixed width columns.
10540
10541         * lyx_sty.C:
10542         * lyx_sty.h: added tabularnewline macro def.
10543
10544         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10545
10546 2002-09-06  John Levon  <levon@movementarian.org>
10547
10548         * LyXAction.C: tooltips for sub/superscript
10549
10550         * MenuBackend.C: a bit more verbose
10551
10552         * lyxfunc.C: tiny clean
10553
10554         * undo_funcs.C: document undo_frozen
10555
10556 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10557
10558         * counters.C (Counters): add missing algorithm counter.
10559
10560         * text2.C (setCounter): lookup the counter with layouts latexname
10561         instead of by section number.
10562         (setCounter): use a hackish way to lookup the correct enum
10563         counter.
10564         a float name->type change
10565         reset enum couners with counter name directly instead of depth value.
10566
10567         * counters.C (Counters): remove the push_backs, change to use the
10568         float type not the float name.
10569         (labelItem): remove unused string, float name->type change
10570
10571         * counters.h: don't include vector, loose the enums and sects vectors
10572
10573 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10574
10575         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10576         (Read): add float->TC_FLOAT to textclassTags
10577         (Read): and handle it in the switch
10578         (readFloat): new function
10579
10580         * FloatList.C (FloatList): comment out the hardcoded float
10581         definitions.
10582
10583         * lyxlayout.h: ws change.
10584
10585 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10586
10587         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10588
10589 2002-09-03  Angus Leeming  <leeming@lyx.org>
10590
10591         * BufferView_pimpl.h: qualified name is not allowed in member
10592         declaration: WorkArea & Pimpl::workarea() const;
10593
10594         * factory.C: added using std::endl directive.
10595
10596         * text3.C: added using std::find and std::vector directives.
10597
10598 2002-08-29  André Pönitz <poenitz@gmx.net>
10599
10600         * lyxtext.h:
10601         * text2.C: remove unused member number_of_rows
10602
10603         * Makefile.am:
10604         * BufferView2.C: remove file, move contents to...
10605         * BufferView.C: ... here
10606
10607         * BufferView_pimpl.C:
10608         * factory.C: move more inset creation to factory
10609
10610         * vspace.C: avoid direct usage of LyXText, ws changes
10611
10612         * BufferView.[Ch]:
10613                 don't provide direct access to WorkArea, use two simple
10614                 acessors haveSelction() and workHeight() instead
10615
10616
10617 2002-08-29  John Levon  <levon@movementarian.org>
10618
10619         * BufferView_pimpl.C (dispatch): do not continue when
10620           no buffer
10621
10622 2002-08-28  André Pönitz <poenitz@gmx.net>
10623
10624         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10625
10626         * BufferView.h:
10627         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10628
10629 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10630
10631         * buffer.C: increment LYX_FORMAT to 221
10632
10633         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10634         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10635
10636         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10637
10638         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10639
10640 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10641
10642         * factory.C (createInset): use LyXTextClass::floats
10643
10644         * MenuBackend.C (expandFloatListInsert):
10645         (expandFloatInsert):
10646         (expandToc):
10647
10648         * text2.C (setCounter):
10649
10650         * LaTeXFeatures.C (useFloat):
10651         (getFloatDefinitions):
10652
10653         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10654
10655         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10656         floatlist_, with accessor floats().
10657
10658         * FloatList.h: remove global FloatList
10659
10660 2002-08-26  André Pönitz <poenitz@gmx.net>
10661
10662         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10663
10664         * BufferView.h:
10665         * BufferView2.C:
10666         * BufferView_pimpl.C:
10667         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10668
10669 2002-08-25  John Levon  <levon@movementarian.org>
10670
10671         * LyXAction.C: fix margin note description
10672
10673 2002-08-24  John Levon  <levon@movementarian.org>
10674
10675         * buffer.C:
10676         * bufferlist.C:
10677         * bufferview_funcs.C:
10678         * lyxfont.C:
10679         * undo_funcs.C: cleanups
10680
10681         * lyxfunc.C: disable CUT/COPY when no selection
10682
10683 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10684
10685         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10686         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10687
10688         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10689         Add backward compatibility to "mono", "gray" and "no".
10690
10691 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10692
10693         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10694         (and file_format >= 200).
10695
10696 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10697
10698         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10699
10700 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10701
10702         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10703
10704 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10705
10706         * BufferView_pimpl.C:
10707         * LyXAction.C:
10708         * buffer.C:
10709         * commandtags.h:
10710         * lyxfunc.C:
10711         * paragraph.[Ch]:
10712         * text2.C:
10713         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10714         inset and code to make it  work with the paragraph code. The inset
10715         can be anywhere in the paragraph, but will only do the expected
10716         thing in LaTeX if the layout file contains the parameter line
10717                         OptionalArgs    1
10718         (or more generally, a nonzero value) for that layout.
10719
10720 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10721
10722         * paragraph.h: remove the declaration of undefined counters class
10723         function.
10724
10725 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10726
10727         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10728         Dr. Richard Hawkins.
10729
10730 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10731
10732         * paragraph_funcs.h: remove some unneeded includes
10733
10734         * text.C (backspace): pasteParagraph now in global scipe
10735
10736         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10737         (pasteSelection): ditto
10738
10739         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10740         * paragraph_funcs.C (pasteParagraph): ... here
10741
10742 2002-08-20  André Pönitz <poenitz@gmx.net>
10743
10744         * commandtags.h: new LFUNs for swapping/copying table row/colums
10745
10746         * LyXAction.C:
10747         * lyxfunc.C: support for new lfuns
10748
10749 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10750
10751         * tabular.C:
10752         * buffer.[Ch]: remove NO_COMPABILITY stuff
10753
10754 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10755
10756         * boost.C (throw_exception): new file, with helper function for
10757         boost compiled without exceptions.
10758
10759         * paragraph.h:
10760         * lyxlength.C:
10761         * buffer.C:
10762         * ParameterStruct.h:
10763         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10764
10765         * bufferlist.C (emergencyWriteAll): use boost bind
10766
10767         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10768
10769         * text.C: include paragraph_funcs.h
10770         (breakParagraph): breakParagraph is now in global scope
10771
10772         * paragraph_funcs.[Ch]: new files
10773
10774         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10775         global scope
10776
10777         * buffer.C: include paragraph_funcs.h
10778         (insertStringAsLines): breakParagraph is now in global scope
10779
10780         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10781         paragraph_funcs.C
10782
10783         * CutAndPaste.C: include paragraph_funcs.h
10784         (cutSelection): breakParagraphConservative is now in global scope
10785         (pasteSelection): ditto
10786
10787         * buffer.h: declare oprator== and operator!= for
10788         Buffer::inset_iterator
10789
10790         * bufferlist.C (emergencyWrite): don't use fmt(...)
10791
10792         * text3.C: add using std::endl
10793
10794         * BufferView.C (moveCursorUpdate): remove default arg
10795
10796 2002-08-20  André Pönitz <poenitz@gmx.net>
10797
10798         * buffer.[Ch]: move inline functions to .C
10799
10800         * BufferView2.C:
10801         * BufferView_pimpl.C:
10802         * text.C:
10803         * buffer.[Ch]: use improved inset_iterator
10804
10805         * buffer.C:
10806         * paragraph.[Ch]: write one paragraph at a time
10807
10808 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10809
10810         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10811         style if style is not specified.
10812
10813 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10814
10815         * text2.C (setCounter): when searching for right label for a
10816         caption, make sure to recurse to parent insets (so that a caption
10817         in a minipage in a figure float works) (bug #568)
10818
10819 2002-08-20  André Pönitz <poenitz@gmx.net>
10820
10821         * text3.C: new file for LyXText::dispatch() and helpers
10822
10823         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10824
10825         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10826
10827 2002-08-19  André Pönitz <poenitz@gmx.net>
10828
10829         * lyxtext.h:
10830         * text.C: new LyXText::dispatch()
10831
10832         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10833
10834 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10835
10836         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10837
10838         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10839         Hebrew text.
10840
10841 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10842
10843         * Makefile.am: use $(variables) instead of @substitutions@
10844
10845 2002-08-15  André Pönitz <poenitz@gmx.net>
10846
10847         * lyxfunc.C:
10848         * BufferView_pimpl.C: streamlining mathed <-> outer world
10849         interaction
10850
10851         * commandtags.h:
10852         * LyXAction.C: remove unused LFUN_MATH
10853
10854 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10855
10856         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10857
10858 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10859
10860         * paragraph.C (Paragraph): reformat a bit
10861         (cutIntoMinibuffer): use builtin InsetList function instad of
10862         doing it manually.
10863         (getInset): ditto
10864
10865         * buffer.C: include boost/bind.hpp, add using std::for_each
10866         (writeFileAscii): use ParagraphList iterators
10867         (validate): use for_each for validate traversal of paragraphs
10868         (getBibkeyList): use ParagraphList iterators
10869         (resizeInsets): use for_each to resizeInsetsLyXText for all
10870         paragraphs.
10871         (getParFromID): use ParagraphList iterators
10872
10873         * BufferView2.C (lockInset): use paragraph list and iterators
10874
10875 2002-08-14  John Levon  <levon@movementarian.org>
10876
10877         * lyxserver.C: remove spurious xforms include
10878
10879 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10880
10881         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10882
10883 2002-08-13  André Pönitz <poenitz@gmx.net>
10884
10885         * LyXAction.[Ch]:
10886         * lyxfunc.C: further cleaning
10887
10888 2002-08-13  André Pönitz <poenitz@gmx.net>
10889
10890         * funcrequest.h: new constructor
10891
10892         * funcrequest.C: move stuff here from .h
10893
10894         * Makefile.am:
10895         * BufferView_pimpl.C:
10896         * LyXAction.C:
10897         * toc.C:
10898         * lyxfunc.C: subsequent changes
10899
10900         * lyxfunc.h: new view() member function
10901
10902         * lyxfunc.C: subsequent changes
10903
10904 2002-08-13  Angus Leeming  <leeming@lyx.org>
10905
10906         * BufferView2.C:
10907         * BufferView_pimpl.C:
10908         * buffer.C:
10909         * converter.C:
10910         * importer.C:
10911         * lyxfunc.C:
10912         * lyxvc.C:
10913         * toc.C:
10914         * vc-backend.C:
10915         changes due to the changed LyXView interface that now returns references
10916         to member variables not pointers.
10917
10918 2002-08-13  Angus Leeming  <leeming@lyx.org>
10919
10920         * WordLangTuple (word, lang_code): return references to strings,
10921         not strings.
10922
10923         * BufferView.h:
10924         * SpellBase.h:
10925         * lyxtext.h: forward-declare WordLangTuple.
10926
10927         * BufferView2.C:
10928         * ispell.C:
10929         * pspell.C:
10930         * text.C: #include "WordLangTuple.h".
10931
10932         * lyxtext.h:
10933         * text.C: (selectNextWordToSpellcheck): constify return type.
10934
10935 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10936
10937         * buffer.C:
10938         * buffer.h:
10939         * lyxtext.h:
10940         * paragraph.C:
10941         * paragraph_pimpl.h:
10942         * text.C:
10943         * text2.C:
10944         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10945         suggested by Angus.
10946         Made updateCounter always count from start of buffer, and removed
10947         second argument (par).
10948         Reverted floats number display to '#'. Perhaps I'll try again when the
10949         code base is sanitized a bit.
10950
10951 2002-08-12  Angus Leeming  <leeming@lyx.org>
10952
10953         * buffer.[Ch] (getLabelList): constify.
10954
10955 2002-08-07  André Pönitz <poenitz@gmx.net>
10956
10957         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10958
10959         * funcrequest.h: extension to keep mouse (x,y) position
10960
10961 2002-08-12  Juergen Vigna  <jug@sad.it>
10962
10963         * BufferView2.C (insertErrors): forbid undo when inserting error
10964         insets.
10965
10966         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10967
10968 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10969
10970         * ParagraphList.[Ch]: new files
10971
10972         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10973
10974         * BufferView2.C (lockInset): ParagraphList changes
10975         * toc.C: ditto
10976         * text2.C: ditto
10977         * bufferlist.C: ditto
10978         * buffer.h: ditto
10979         * buffer.C: ditto
10980
10981 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10982
10983         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10984         unused class variable counter_,
10985
10986         * paragraph.[Ch] (getFirstCounter): delete unused function
10987
10988         * counters.C: include LAssert.h
10989         (reset): add a new function with no arg, change other version to
10990         not have def. arg and to not allow empty arg.
10991
10992         * text2.C (setCounter): remove empty arg from call to Counters::reset
10993
10994 2002-08-11  John Levon  <levon@movementarian.org>
10995
10996         * Makefile.am: add WordLangTuple.h
10997
10998 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10999
11000         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11001         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11002
11003         * insets/insettext.C: InsetList changes
11004
11005         * graphics/GraphicsSupport.C (operator()): InsetList changes
11006
11007         * toc.C (getTocList): InsetList changes
11008
11009         * paragraph_pimpl.[Ch]: InsetList changes
11010
11011         * paragraph.[Ch]: InsetList changes
11012
11013         * buffer.C (inset_iterator): InsetList changes
11014         (setParagraph): ditto
11015         * buffer.h (inset_iterator): ditto
11016         * iterators.C (operator++): ditto
11017         * iterators.h: ditto
11018
11019         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11020
11021         * InsetList.[Ch]: new files, most InsetList handling moved out of
11022         paragraph.C.
11023
11024         * BufferView2.C (removeAutoInsets): InsetList changes
11025         (lockInset): ditto
11026         (ChangeInsets): ditto
11027
11028 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11029
11030         * paragraph_pimpl.h (empty): new function
11031
11032         * paragraph.[Ch] (empty): new function
11033
11034         * other files: use the new Paragraph::empty function
11035
11036 2002-08-09  John Levon  <levon@movementarian.org>
11037
11038         * lyxtext.h: remove unused refresh_height
11039
11040 2002-08-09  John Levon  <levon@movementarian.org>
11041
11042         * Makefile.am:
11043         * sgml.h:
11044         * sgml.C:
11045         * buffer.C:
11046         * paragraph.h:
11047         * paragraph.C: move sgml char escaping out of paragraph
11048
11049         * paragraph.h:
11050         * paragraph.C: remove id setter
11051
11052         * buffer.C:
11053         * paragraph.C:
11054         * paragraph_pimpl.C: remove dead tex_code_break_column
11055
11056         * bufferview_funcs.C: small cleanup
11057
11058         * lyxfunc.C: remove dead proto
11059
11060         * lyxtext.h: make some stuff private. Remove some dead stuff.
11061
11062         * lyxgluelength.C: make as[LyX]String() readable
11063
11064 2002-08-08  John Levon  <levon@movementarian.org>
11065
11066         * LyXAction.h:
11067         * LyXAction.C:
11068         * MenuBackend.C:
11069         * ToolbarDefaults.C:
11070         * lyxfunc.C:
11071         * lyxrc.C:
11072         * toc.C: lyxaction cleanup
11073
11074 2002-08-08  John Levon  <levon@movementarian.org>
11075
11076         * BufferView2.C: small cleanup
11077
11078         * lyxfind.h:
11079         * lyxfind.C: move unnecessary header into the .C
11080
11081 2002-08-08  John Levon  <levon@movementarian.org>
11082
11083         * funcrequest.h: just tedious nonsense
11084
11085         * lyx_main.h:
11086         * lyx_main.C: cleanups
11087
11088         * buffer.C:
11089         * vspace.C: remove dead header lyx_main.h
11090
11091 2002-08-07  Angus Leeming  <leeming@lyx.org>
11092
11093         * Paragraph.[Ch]:
11094         * paragraph_pimpl.h:
11095         Forward declare class Counters in paragraph.h by moving the ctrs member
11096         variable into Paragraph::Pimpl.
11097         (counters): new method, returning a reference to pimpl_->ctrs.
11098
11099         * text2.C: ensuing changes.
11100
11101 2002-08-07  John Levon  <levon@movementarian.org>
11102
11103         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11104
11105         * BufferView_pimpl.C: announce X selection on double/triple
11106           click
11107
11108         * lyx_main.C: use correct bool in batch dispatch
11109
11110         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11111
11112 2002-08-07  André Pönitz <poenitz@gmx.net>
11113
11114         * funcrequest.h: new class to wrap a kb_action and its argument
11115
11116         * BufferView.[Ch]:
11117         * BufferView_pimpl[Ch]:
11118         * LaTeX.C:
11119         * LyXAction.[Ch]:
11120         * lyxfunc.[Ch]:
11121         * lyxrc.C: subsequent changes
11122
11123
11124 2002-08-07  John Levon  <levon@movementarian.org>
11125
11126         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11127           document options change.
11128
11129 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11130
11131         * counters.[Ch]
11132         * text2.C
11133         * paragraph.[Ch]
11134         * makefile.am: move counters functionality over from
11135         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11136
11137 2002-08-06  John Levon  <levon@movementarian.org>
11138
11139         * WordLangTuple.h: new file for word + language code tuple
11140
11141         * SpellBase.h:
11142         * pspell.h:
11143         * pspell.C:
11144         * ispell.h:
11145         * ispell.C:
11146         * lyxtext.h:
11147         * text.C:
11148         * text2.C:
11149         * BufferView.h:
11150         * BufferView2.C: use WordLangTuple
11151
11152         * layout.h:
11153         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11154
11155 2002-08-06  John Levon  <levon@movementarian.org>
11156
11157         * lyx_main.C: fix cmdline batch handling
11158
11159 2002-08-06  André Pönitz <poenitz@gmx.net>
11160
11161         * lyxrc.C: set default for show_banner to true
11162
11163 2002-08-06  John Levon  <levon@movementarian.org>
11164
11165         * pspell.C: fix a crash, and allow new aspell to work
11166
11167 2002-08-06  John Levon  <levon@movementarian.org>
11168
11169         * lyxfunc.C:
11170         * kbmap.C: small cleanup
11171
11172         * vspace.h:
11173         * vspace.C: add const
11174
11175 2002-08-05  John Levon  <levon@movementarian.org>
11176
11177         * LyXAction.C: back to tabular-insert
11178
11179 2002-08-04  John Levon  <levon@movementarian.org>
11180
11181         * BufferView.h:
11182         * BufferView.C: cosmetic change
11183
11184         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11185
11186         * bufferlist.C:
11187         * buffer.h:
11188         * buffer.C:
11189         * lyxcb.h:
11190         * lyxcb.C:
11191         * lyxserver.C:
11192         * lyxvc.C:
11193         * vc-backend.C:
11194         * BufferView2.C: purge all "Lyx" not "LyX" strings
11195
11196         * lyxcursor.h:
11197         * lyxcursor.C: attempt to add some documentation
11198
11199         * lyxfunc.C:
11200         * commandtags.h:
11201         * LyXAction.C:
11202         * ToolbarDefaults.C:
11203         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11204           merge with LFUN_TABULAR_INSERT
11205
11206         * Makefile.am:
11207         * SpellBase.h:
11208         * ispell.h:
11209         * ispell.C:
11210         * pspell.h:
11211         * pspell.C: split up i/pspell implementations into separate
11212           files, many cleanups
11213
11214         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11215
11216         * text2.C: some cleanup
11217
11218         * lyxfunc.C: don't check for isp_command == "none" any more, it
11219           didn't make any sense
11220
11221 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11222
11223         * counters.[Ch]
11224         * text2.C
11225         * paragraph.[Ch]
11226         * makefile.am: move counters functionality over
11227         from text2.C/paragraph.[Ch] to counters.[Ch], and
11228         make proper C++.
11229 2002-08-02  John Levon  <levon@movementarian.org>
11230
11231         * buffer.C: s/lyxconvert/lyx2lyx/
11232
11233 2002-08-02  Angus Leeming  <leeming@lyx.org>
11234
11235         * lyxlex.C: revert John's change as it breaks reading of the user
11236         preamble.
11237
11238 2002-08-02  Angus Leeming  <leeming@lyx.org>
11239
11240         * importer.C (Import):
11241         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11242         changes due to LyXView::view() now returning a boost::shared_ptr.
11243
11244 2002-08-02  John Levon  <levon@movementarian.org>
11245
11246         * lyxlex.C: small cleanup
11247
11248 2002-08-02  John Levon  <levon@movementarian.org>
11249
11250         * text2.C (status): small cleanup, no logic change
11251
11252 2002-08-01  John Levon  <levon@movementarian.org>
11253
11254         * buffer.h:
11255         * buffer.C (writeFile): don't output alerts, caller
11256           handles this
11257
11258         * bufferlist.C:
11259         * lyx_cb.C: from above
11260
11261         * lyxfunc.C: allow to open non-existent files
11262
11263 2002-07-31  John Levon  <levon@movementarian.org>
11264
11265         * lyxserver.C: don't let incidental errors get
11266           in the way (errno)
11267
11268 2002-07-30  John Levon  <levon@movementarian.org>
11269
11270         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11271
11272 2002-07-30  John Levon  <levon@movementarian.org>
11273
11274         * lyxserver.h:
11275         * lyxserver.C: remove I/O callback too
11276
11277 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11278
11279         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11280         log.
11281
11282 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11283
11284         * many files: strip,frontStrip -> trim,ltrim,rtrim
11285
11286 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11287
11288         * PrinterParams.h: remove extern containsOnly, and include
11289         support/lstrings.h instead.
11290
11291         * LaTeX.C (scanAuxFile): modify because of strip changes
11292         (deplog): ditto
11293         * buffer.C (makeLaTeXFile): ditto
11294         * bufferparams.C (writeFile): ditt
11295         * lyxfont.C (stateText): ditto
11296         * lyxserver.C (read_ready): ditto
11297         * vc-backend.C (scanMaster): ditto
11298
11299         * BufferView_pimpl.h: ws changes
11300
11301         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11302
11303 2002-07-26  André Pönitz <poenitz@gmx.net>
11304
11305         * kb_sequence.C: remove unnedred usings
11306
11307 2002-07-26  Juergen Vigna  <jug@sad.it>
11308
11309         * lyxfind.C (LyXReplace): we have to check better if the returned
11310         text is not of theLockingInset()->getLockingInset().
11311
11312 2002-07-25  Juergen Vigna  <jug@sad.it>
11313
11314         * lyxfind.C (LyXReplace): don't replace if we don't get the
11315         right LyXText.
11316
11317         * undo_funcs.C (createUndo): remove debugging code.
11318
11319 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11320
11321         * buffer.C (parseSingleLyXformat2Token): Use default placement
11322         when reading old floats.
11323
11324         * FloatList.C (FloatList): Change the default placement of figure
11325         and tables to "tbp".
11326
11327 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11328
11329         * MenuBackend.C: using std::max
11330
11331 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11332
11333         * MenuBackend.C (expandToc):
11334         (expandToc2): code moved from xforms menu frontend. It is now
11335         generic and TOCs are transparent to menu frontends.
11336
11337 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11338
11339         * toc.C (getTocList): protect against buf=0
11340
11341         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11342         Menu as first parameter. Now, this calls itself recursively to
11343         expand a whole tree (this will be useful for TOC handling)
11344         (expandFloatInsert): remove 'wide' version of floats
11345
11346         * MenuBackend.h (submenuname): returns the name of the submenu.
11347         (submenu): returns the submenu itself, provided it has been
11348         created by MenuBackend::expand
11349
11350 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11351
11352         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11353         insets which have noFontChange == true. (bug #172)
11354
11355 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11356
11357         * BufferView_pimpl.C: add connection objects and use them...
11358         (Pimpl): here.
11359
11360 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11361
11362         * MenuBackend.C (expandLastfiles):
11363         (expandDocuments):
11364         (expandFormats):
11365         (expandFloatListInsert):
11366         (expandFloatInsert):
11367         (expand): split expand in parts
11368
11369 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11370
11371         * lyx_gui.C: use lyx_gui::exit()
11372
11373 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11374
11375         * LyXAction.C: show the failing pseudo action
11376
11377 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11378
11379         * buffer.C (readFile): Run the lyxconvert script in order to read
11380         old files.
11381
11382 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11383
11384         * LyXAction.C:
11385         * commandtags.h:
11386         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11387
11388 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11389
11390         * LyXAction.C:
11391         * commandtags.h:
11392         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11393
11394 2002-07-22  Herbert Voss  <voss@lyx.org>
11395
11396         * lengthcommon.C:
11397         * lyxlength.[Ch]: add support for the vertical lengths
11398
11399 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11400
11401         * toc.[Ch]: std:: fixes
11402
11403 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11404
11405         * lyxrc.C: do not include lyx_main.h
11406
11407         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11408         for layouts
11409
11410         * lyxrc.C:
11411         * encoding.C:
11412         * bufferlist.C:
11413         * BufferView2.C: include "lyxlex.h"
11414
11415         * tabular.h:
11416         * bufferparams.h: do not #include "lyxlex.h"
11417
11418         * lyxtextclasslist.C (Add): remove method
11419         (classlist): renamed to classlist_
11420
11421         * paragraph_pimpl.C:
11422         * paragraph.C:
11423         * text2.C:
11424         * CutAndPaste.C:
11425         * bufferview_funcs.C:
11426         * bufferlist.C:
11427         * text.C:
11428         * LaTeXFeatures.C:
11429         * buffer.C:
11430         * toc.C (getTocList): use BufferParams::getLyXTextClass
11431
11432         * toc.C (getTocList): use InsetFloat::addToToc
11433
11434         * toc.[Ch]: new files, containing helper functions to handle table
11435         of contents
11436
11437         * lyxfunc.C (dispatch): no need to remove spaces around command
11438         given as a string
11439         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11440         first command of the sequence; it is not very clever, but I do not
11441         have a better idea, actually
11442
11443         * LyXAction.C (LookupFunc): make sure to remove space at the
11444         beginning and end of the command
11445
11446 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11447
11448         * MenuBackend.C (getMenubar): new method: return the menubar of
11449         this menu set
11450         (read): treat differently reading of menu and menubar (in
11451         particular, the menubar has no name now)
11452         (Menu::menubar): remove
11453
11454         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11455         saving is finished
11456
11457 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11458
11459         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11460         a bibitem inset in a RTL paragraph.
11461
11462 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11463
11464         * paragraph_pimpl.C: constify
11465
11466         * BufferView_pimpl.C:
11467         * LaTeX.C:
11468         * lyxfunc.C: fix dispatch in a nicer way
11469
11470 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11471
11472         * lyxfunc.C (dispatch):
11473         * BufferView_pimpl.C:
11474         * BufferView_pimpl.h:
11475         * BufferView.C:
11476         * BufferView.h: rename Dispatch() to dispatch()
11477
11478         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11479
11480         * lyxlayout.C (Read): honor DependsOn tag
11481
11482         * lyxlayout.[Ch] (depends_on): new method
11483
11484         * version.C.in: update lyx_docversion
11485
11486         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11487
11488         * paragraph.C (validate): remove from here...
11489         * paragraph_pimpl.C (validate): ... and move here
11490         (isTextAt): make it const
11491
11492         * buffer.C (getLists): ws cleanup
11493
11494 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11495
11496         * language.C (read): Use iso8859-1 encoding in latex_lang
11497         (this prevents LyX from crashing when using iso10646-1 encoding).
11498
11499 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11500
11501         * text2.C (toggleInset): if cursor is inside an inset, close the
11502         inset and leave cursor _after_ it
11503
11504 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11505
11506         * lyxfunc.C: move minibuffer completion handling out of here
11507
11508 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11509
11510         * BufferView_pimpl.C:
11511         * LaTeX.C: fix dispatch calls
11512
11513 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11514
11515         * text.C (drawChars): Fix Arabic text rendering.
11516
11517 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11518
11519         * LyXAction.C:
11520         * commandtags.h:
11521         * lyxfunc.C: remove message-push/pop
11522
11523         * lyxserver.C:
11524         * lyxfunc.h:
11525         * lyxfunc.C: rationalise some code by removing verboseDispatch
11526           in favour of a bool argument to dispatch()
11527
11528 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11529
11530         * lyx_main.C (init): make sure to read symlinks as absolute paths
11531
11532 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11533
11534         * lyxfunc.h:
11535         * lyxfunc.C: no need for commandshortcut to be a member
11536
11537 2002-07-15  André Pönitz <poenitz@gmx.net>
11538
11539         * converter.C: add support for $$s (scripts from lib/scripts dir)
11540         * lyx_main.C: white space
11541
11542 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11543
11544         * bufferlist.C:
11545         * lyxrc.h:
11546         * lyxrc.C: remove second exit confirmation
11547
11548 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11549
11550         * BufferView.h:
11551         * BufferView.C:
11552         * BufferView2.C:
11553         * BufferView_pimpl.h:
11554         * BufferView_pimpl.C:
11555         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11556
11557 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11558
11559         * MenuBackend.C (expand): add numeric shortcuts to document menu
11560
11561         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11562
11563 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11564
11565         * lyxfont.C (setLyXFamily):
11566         (setLyXSeries):
11567         (setLyXShape):
11568         (setLyXSize):
11569         (setLyXMisc):
11570         (lyxRead):
11571         * debug.C (value):
11572         * buffer.C (asciiParagraph): use ascii_lowercase
11573
11574 2002-07-15  Mike Fabian  <mfabian@suse.de>
11575
11576         * lyxlex_pimpl.C (search_kw):
11577         * lyxlex.C (getLongString):
11578         * converter.h (operator<):
11579         * converter.C (operator<):
11580         * buffer.C (parseSingleLyXformat2Token):
11581         (asciiParagraph):
11582         * ToolbarDefaults.C (read):
11583         * MenuBackend.C (checkShortcuts):
11584         (read):
11585         * LColor.C (getFromGUIName):
11586         (getFromLyXName): use the compare_ascii_no_case instead of
11587         compare_no_case, because in turkish, 'i' is not the lowercase
11588         version of 'I', and thus turkish locale breaks parsing of tags.
11589
11590 2002-07-16  Angus Leeming  <leeming@lyx.org>
11591
11592         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11593         now takes a Buffer const & argument.
11594
11595 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11596
11597         * BufferView.C (resize): check there's a buffer to resize
11598
11599 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11600
11601         * lyxfunc.C: remove dead code
11602
11603         * lyxserver.h:
11604         * lyxserver.C: use lyx_guii::set_read_callback
11605
11606 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11607
11608         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11609         an inset in a RTL paragraph.
11610
11611 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11612
11613         * lyxfunc.C: repaint after a font size update
11614
11615 2002-07-15  André Pönitz <poenitz@gmx.net>
11616
11617         * lyxlength.C: inBP should be able to return negative values
11618
11619 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11620
11621         * lyxfunc.C: use lyx_gui::update_fonts()
11622
11623 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11624
11625         * lyxfunc.C: use lyx_gui::update_color()
11626
11627 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11628
11629         * bufferlist.C:
11630         * lyxfunc.h:
11631         * lyxfunc.C:
11632         * lyxrc.h:
11633         * lyxrc.C: remove file->new asks for name option, and let
11634           buffer-new take an argument
11635
11636 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11637
11638         * BufferView_pimpl.C: remove unneeded extra repaint()
11639
11640 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11641
11642         * LyXAction.C: allow command-sequence with NoBuffer
11643
11644         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11645
11646 2002-07-10  Angus Leeming  <leeming@lyx.org>
11647
11648         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11649
11650 2002-07-09  Angus Leeming  <leeming@lyx.org>
11651
11652         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11653
11654 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11655
11656         * lengthcommon.h: whitespace
11657
11658         * lyxfunc.C: update scrollbar after goto paragraph
11659
11660         * lyxtext.h: factor out page break drawing, and fix it so
11661           page break/added space paints as selected nicely
11662
11663 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11664
11665         * BufferView_pimpl.C: add FIXMEs, clean up a little
11666
11667 2002-07-09  André Pönitz <poenitz@gmx.net>
11668
11669         * lyxfont.[Ch]: support for wasy symbols
11670
11671 2002-07-08  André Pönitz <poenitz@gmx.net>
11672
11673         * BufferView_pimpl.C: apply John's patch for #93.
11674
11675 2002-07-05  Angus Leeming  <leeming@lyx.org>
11676
11677         * BufferView_pimpl.C (buffer): generate previews if desired.
11678
11679         * LColor.h: add "preview" to the color enum.
11680
11681         * LColor.C (LColor): add a corresponding entry to the items array.
11682
11683         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11684         with this buffer.
11685
11686 2002-07-05  Angus Leeming  <leeming@lyx.org>
11687
11688         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11689         The body of the code is now in the method that is passed an ostream &
11690         rather than a file name.
11691         Pass an additional only_preamble parameter, useful for the forthcoming
11692         preview stuff.
11693
11694 2002-07-03  André Pönitz <poenitz@gmx.net>
11695
11696         * lyxfunc.C: simplify getStatus() a bit for math stuff
11697
11698 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11699
11700         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11701
11702 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11703
11704         * text.C (changeRegionCase): do not change case of all the
11705         document when region ends at paragraph end (bug #461)
11706
11707 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11708
11709         * paragraph.C (startTeXParParams):
11710         (endTeXParParams): add \protect when necessary
11711
11712 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11713
11714         * BufferView_pimpl.C (workAreaExpose): remove warning
11715
11716 2002-06-27  Angus Leeming  <leeming@lyx.org>
11717
11718         * Makefile.am: add lyxlayout_ptr_fwd.h.
11719
11720 2002-06-26  André Pönitz <poenitz@gmx.net>
11721
11722         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11723
11724 2002-06-25  Angus Leeming  <leeming@lyx.org>
11725
11726         * lyxfunc.C (dispatch): Comment out the call to
11727         grfx::GCache::changeDisplay. The method no longer exists now that the
11728         pixmap generation part of the graphics loader has been moved into
11729         InsetGraphics.
11730
11731 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11732
11733         * text2.C: layout as layout
11734
11735         * text.C: layout as layout
11736
11737         * tabular.C (OldFormatRead): layout as layout
11738
11739         * paragraph_pimpl.C (TeXDeeper): layout as layout
11740         (realizeFont): layout as layout
11741
11742         * paragraph.C (writeFile): layout as layout
11743         (validate): layout as layout
11744         (getFont): layout as layout
11745         (getLabelFont): layout as layout
11746         (getLayoutFont): layout as layout
11747         (breakParagraph): layout as layout
11748         (stripLeadingSpaces): layout as layout
11749         (getEndLabel): layout as layout
11750         (getMaxDepthAfter): layout as layout
11751         (applyLayout): layout as layout
11752         (TeXOnePar): layout as layout
11753         (simpleTeXOnePar): layout as layout
11754         (TeXEnvironment): layout as layout
11755         (layout): layout as layout
11756         (layout): layout as layout
11757
11758         * lyxtextclass.C (compare_name): new functor to work with
11759         shared_ptr, layout as layout
11760         (Read): layout as layout
11761         (hasLayout): layout as layout
11762         (operator): layout as layout
11763         (delete_layout): layout as layout
11764         (defaultLayout): layout as layout
11765
11766         * lyxlayout_ptr_fwd.h: new file
11767
11768         * lyxlayout.C (Read): layout as layout
11769
11770         * lyx_cb.C (MenuInsertLabel): layout as layout
11771
11772         * bufferlist.C (newFile): layout as layout
11773
11774         * buffer.C (readLyXformat2): layout as layout
11775         (parseSingleLyXformat2Token): layout as layout
11776         (insertStringAsLines): layout as layout
11777         (asciiParagraph): layout as layout
11778         (latexParagraphs): layout as layout
11779         (makeLinuxDocFile): layout as layout
11780         (simpleLinuxDocOnePar): layout as layout
11781         (makeDocBookFile): layout as layout
11782         (simpleDocBookOnePar): layout as layout
11783         (getLists): layout as layout
11784
11785         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11786
11787         * CutAndPaste.C (cutSelection): layout as layout
11788         (pasteSelection): layout as layout
11789         (SwitchLayoutsBetweenClasses): layout as layout
11790
11791         * BufferView_pimpl.C (Dispatch): layout as layout
11792         (smartQuote): layout as layout
11793
11794         * BufferView2.C (unlockInset): layout as layout
11795
11796 2002-06-24  André Pönitz <poenitz@gmx.net>
11797
11798         * lyxfunc.C: fix #487
11799
11800 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11801
11802         * lyxrc.h:
11803         * lyxrc.C:
11804         * lyxfunc.C: remove display_shortcuts, show_banner
11805
11806 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11807
11808         * Buffer_pimpl.C: oops, update on resize
11809
11810 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11811
11812         * buffer.C:
11813         * converter.C:
11814         * exporter.C:
11815         * lyxfunc.C:
11816         * BufferView.h:
11817         * BufferView.C: use repaint()
11818
11819         * BufferView_pimpl.h:
11820         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11821           as it's a clearer description. Remove superfluous
11822           redraws.
11823
11824 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11825
11826         * text.C: fix bug 488. Not ideal, but getting
11827           getWord() to work properly for the insets that
11828           matter is more difficult ...
11829
11830 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11831
11832         * BufferView_pimpl.C:
11833         * LyXAction.C:
11834         * commandtags.h:
11835         * lyxfunc.C: remove the six million index lyxfuncs to just
11836           one, and DTRT (bug 458)
11837
11838 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11839
11840         * BufferView.h:
11841         * BufferView.C:
11842         * BufferView_pimpl.h:
11843         * BufferView_pimpl.C: clean up resize() stuff,
11844           and unnecessary updateScreen()s
11845
11846 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11847
11848         * BufferView.h:
11849         * BufferView.C:
11850         * BufferView_pimpl.h:
11851         * BufferView_pimpl.C:
11852         * lyxfind.h:
11853         * lyxfind.C:
11854         * minibuffer.C: remove focus management of workarea,
11855           not needed. Use screen's greyOut()
11856
11857 2002-06-17  Herbert Voss  <voss@lyx.org>
11858
11859         * converter.C: (convert) do not post a message, when converting
11860         fails, let the calling function decide what to do in this case
11861
11862 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11863
11864         * lyxfunc.C: tidy up a little
11865
11866 2002-06-16    <alstrup@diku.dk>
11867
11868         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11869         Got rid of FORMS_H_LOCATION include. Now we are
11870         GUII.
11871
11872 2002-06-15  LyX Development team  <lyx@rilke>
11873
11874         * buffer.[Ch] (sgmlOpenTag):
11875         (sgmlCloseTag): Added support for avoiding pernicious mixed
11876         content. Return number of lines written.
11877
11878         (makeLinuxDocFile):
11879         (makeDocBookFile): Fixed calls to sgml*Tag.
11880         Simple white space clean.
11881
11882         (simpleDocBookOnePar): Simple white space clean.
11883
11884         * tabular.[Ch] (docBook): Renamed to docbook and got another
11885         argument to related with the pernicious mixed content.
11886
11887         (docbookRow): Fixed calls for docbook inset method.
11888
11889 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11890
11891         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11892         so it's X11 independent.
11893
11894         * kb*.[Ch]: ditto.
11895
11896         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11897
11898 2002-06-15  Lyx Development team  <lyx@electronia>
11899
11900         * intl.h: Renamed getTrans to getTransManager.
11901
11902 2002-06-14  Angus Leeming  <leeming@lyx.org>
11903
11904         * Makefile.am: nuke forgotten stl_string_fwd.h.
11905
11906 2002-06-12  Angus Leeming  <leeming@lyx.org>
11907
11908         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11909
11910 2002-06-13  Angus Leeming  <leeming@lyx.org>
11911
11912         * LaTeX.C:
11913         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11914
11915 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11916
11917         * kbmap.C (getiso): add support for cyrillic and greek
11918
11919 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11920
11921         * BufferView.h:
11922         * BufferView.C:
11923         * BufferView_pimpl.h:
11924         * BufferView_pimpl.C: move bogus scrolling logic
11925           to xforms
11926
11927 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11928
11929         * lyxfunc.C:
11930         * BufferView_pimpl.C: view->resize() change
11931
11932 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11933
11934         * BufferView_pimpl.C: topCursorVisible
11935           prototype change
11936
11937 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11938
11939         * Makefile.am:
11940         * lyx_gui.h:
11941         * lyx_gui.C: move to frontends/
11942
11943         * main.C:
11944         * lyx_main.h:
11945         * lyx_main.C: changes from above
11946
11947 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11948
11949         * intl.C:
11950         * intl.h:
11951         * kbmap.C:
11952         * kbsequence.C:
11953         * lyx_cb.C:
11954         * lyx_main.C: minor tidy
11955
11956 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11957
11958         * BufferView_pimpl.h:
11959         * BufferView_pimpl.C:
11960         * BufferView.h:
11961         * BufferView.C: make painter() const,
11962           remove dead code
11963
11964         * BufferView2.C: use screen() accessor
11965
11966         * lyx_main.h:
11967         * lyx_main.C: some minor cleanup
11968
11969 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11970
11971         * BufferView_pimpl.h:
11972         * BufferView_pimpl.C: remove enter/leaveView,
11973           use workHeight()
11974
11975 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11976
11977         * BufferView.h:
11978         * BufferView.C:
11979         * BufferView2.C:
11980         * BufferView_pimpl.h:
11981         * BufferView_pimpl.C: only construct screen once,
11982           rename
11983
11984         * lyxrc.C: remove pointless comment
11985
11986 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11987
11988         * BufferView.h:
11989         * BufferView.C: remove active() and belowMouse()
11990
11991         * BufferView_pimpl.h:
11992         * BufferView_pimpl.C: use workarea() not workarea_,
11993           and make it use a scoped_ptr instead
11994
11995 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11996
11997         * lyx_gui.C: add debug message on BadWindow
11998
11999 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12000
12001         * sp_spell.C: fdopen is not part of the C++ standard.
12002
12003         * paragraph.C (InsetIterator): use >= instead of ==
12004
12005 2002-06-07  Angus Leeming  <leeming@lyx.org>
12006
12007         Fixes needed to compile with Compaq cxx 6.5.
12008         * BufferView_pimpl.C:
12009         * DepTable.C:
12010         * buffer.C:
12011         * converter.C:
12012         * encoding.C:
12013         * lyx_gui.C:
12014         * lyx_main.C:
12015         * lyxtextclasslist.C:
12016         * minibuffer.C:
12017         * sp_spell.C:
12018         * tabular_funcs.C:
12019         * vc-backend.C:
12020         all c-library variables have been moved into namespace std. Wrap
12021         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12022
12023         * lyxlength.C:
12024         * tabular-old.C:
12025         * tabular.C:
12026         Add a using std::abs declaration.
12027
12028         * kbmap.h (modifier_pair):
12029         * paragraph.h (InsetTable, InsetList):
12030         * lyxfont.h (FontBits):
12031         type definition made public.
12032
12033         * bufferlist.C (emergencyWriteAll): the compiler complains that
12034         there is more than one possible lyx::class_fun template to choose from.
12035         I re-named the void specialisation as lyx::void_class_fun.
12036
12037         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12038
12039         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12040         the compiler is is unable to find tostr in write_attribute.
12041
12042 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12043
12044         * buffer.C (sgmlError): hide #warning
12045
12046 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12047
12048         * xtl/*: get rid of xtl, which is not in use anyway
12049
12050         * LyXAction.C (init):
12051         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12052         were unimplemented xtl experimentation
12053
12054 2002-06-04  André Pönitz <poenitz@gmx.net>
12055
12056         * lyxfunc.C: disable array operation on simple formulae
12057
12058 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12059
12060         * converter.C: constify a bit
12061
12062 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * lyx_gui.C: check xforms version correctly
12065
12066 2002-04-30  Herbert Voss  <voss@lyx.org>
12067
12068         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12069         "keep" option
12070
12071 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12072
12073         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12074           attempt to register it with a VCS)
12075
12076 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12077
12078         * lyx_main.C (init): honor variables LYX_DIR_13x and
12079         LYX_USERDIR_13x
12080
12081 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12082
12083         * buffer.h:
12084         * buffer.C:
12085         * lyx_main.C: fix a crash on bad command line,
12086           and give a useful exit status on error
12087
12088         * lyxfunc.C (doImport): allow -i lyx to work
12089
12090 2002-03-30  André Pönitz <poenitz@gmx.net>
12091
12092         * lyxfunc.C: mathed font changes
12093
12094 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12095
12096         * LaTeX.C:
12097         * importer.h:
12098         * importer.C:
12099         * lyx_sty.h:
12100         * lyx_sty.C:
12101         * lyxlex.C:
12102         * lyxrow.h:
12103         * lyxtext.h:
12104         * paragraph.h:
12105         * paragraph.C:
12106         * texrow.h:
12107         * texrow.C:
12108         * text.C:
12109         * trans_mgr.h: srcdocs, and some minor cleanups
12110
12111 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12112
12113         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12114         call getFont all the time)
12115
12116 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12117
12118         * switch from SigC signals to boost::signals
12119
12120 2002-05-29  André Pönitz <poenitz@gmx.net>
12121
12122         * paragraph_pimpl.C (getChar): don't call size() too often...
12123
12124 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12125
12126         * paragraph_pimpl.C (insertChar): do not try to update tables when
12127         appending (pos == size())
12128
12129         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12130         in order to reduce drastically the number of comparisons needed to
12131         parse a large document
12132
12133 2002-05-29  André Pönitz <poenitz@gmx.net>
12134
12135         * text.C:
12136         * text2.C:
12137         * lyxtextclass.C:
12138         * sp_pspell.h:
12139         * textclasslist.[Ch]:
12140         * sp_ispell.h: whitespace change
12141
12142 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12143
12144         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12145         lyxaction directly now.
12146
12147 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12148
12149         * trans.C:
12150         * lyxfont.C:
12151         * lyxvc.C: remove unused headers
12152
12153 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12154
12155         * Makefile.am:
12156         * buffer.h:
12157         * undostack.h:
12158         * undostack.C:
12159         * undo_funcs.h:
12160         * undo_funcs.C: some cleanups. Use shared_ptr
12161           and a template for the undo stacks.
12162
12163 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12164
12165         * BufferView_pimpl.h:
12166         * BufferView_pimpl.C:
12167         * kbmap.h:
12168         * kbmap.C:
12169         * kbsequence.h:
12170         * kbsequence.C:
12171         * lyxfunc.h:
12172         * lyxfunc.C:
12173         * text2.C: use key_state/mouse_state
12174
12175 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12176
12177         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12178         and LSubstring
12179
12180         * chset.C: change include order
12181         (loadFile): use boost regex and get rid of LRegex and LSubstring
12182
12183         * Makefile.am (BOOST_LIBS): new variable
12184         (lyx_LDADD): use it
12185
12186         * LaTeX.C: change include order.
12187         (scanAuxFile): use boost regex and get rid of LRegex and
12188         LSubstring
12189         (deplog): ditto
12190
12191 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12192
12193         * ColorHandler.h:
12194         * ColorHandler.C:
12195         * FontInfo.h:
12196         * FontInfo.C: moved to frontends/xforms/
12197
12198         * FontLoader.h:
12199         * FontLoader.C: moved into frontends for GUIIzation
12200
12201         * Makefile.am:
12202         * lyx_gui.C:
12203         * lyxfont.C:
12204         * lyxfunc.C: changes from above
12205
12206 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12207
12208         * LColor.C: remove spurious X include
12209
12210         * BufferView_pimpl.C:
12211         * Makefile.am:
12212         * font.h:
12213         * font.C:
12214         * text.C:
12215         * text2.C: move font metrics to frontends/
12216
12217 2002-05-24  Juergen Vigna  <jug@sad.it>
12218
12219         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12220         setting the undo_cursor.
12221
12222         * ParagraphParameters.h: include local includes first.
12223
12224 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12225
12226         * BufferView_pimpl.C:
12227         * BufferView_pimpl.h:
12228         * Makefile.am:
12229         * WorkArea.h:
12230         * WorkArea.C:
12231         * screen.C: move WorkArea into frontends/
12232
12233         * lyxscreen.h:
12234         * screen.C:
12235         * text.C:
12236         * BufferView.C:
12237         * BufferView2.C: move LyXScreen into frontends/
12238
12239         * lyxlookup.h:
12240         * lyxlookup.C:
12241         * lyx_gui.C: move lyxlookup into frontends/xforms/
12242
12243 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12244
12245         * BufferView2.C:
12246         * BufferView_pimpl.C:
12247         * FontLoader.C:
12248         * LyXView.h:
12249         * LyXView.C:
12250         * Makefile.am:
12251         * WorkArea.C:
12252         * XFormsView.h:
12253         * XFormsView.C:
12254         * buffer.C:
12255         * bufferlist.C:
12256         * bufferview_funcs.C:
12257         * converter.C:
12258         * importer.C:
12259         * lyx_cb.C:
12260         * lyx_gui.C:
12261         * lyx_main.C:
12262         * lyx_find.C:
12263         * lyxfunc.C:
12264         * lyxvc.C:
12265         * minibuffer.C:
12266         * text.C:
12267         * text2.C:
12268         * trans.C:
12269         * vc-backend.C: move LyX/XFormsView into frontends/
12270
12271 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12272
12273         * Makefile.am:
12274         * PainterBase.C:
12275         * PainterBase.h:
12276         * Painter.C:
12277         * Painter.h:
12278         * WorkArea.C:
12279         * WorkArea.h:
12280         * screen.C:
12281         * tabular.C:
12282         * text.C:
12283         * text2.C: move Painter to frontends/
12284
12285 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12286
12287         * buffer.C: comment out some some code that depend upon lyx_format
12288         < 220
12289
12290         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12291         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12292
12293         * buffer.h (NO_COMPABILITY): turn off compability
12294
12295         * ColorHandler.C: include scoped_array.hpp
12296
12297         * font.C: Use more specific smart_ptr header.
12298         * Painter.C: ditto
12299         * gettext.C: ditto
12300         * ShareContainer.h: ditto
12301         * lyx_main.h: ditto
12302         * kbmap.h: ditto
12303         * FontInfo.h: ditto
12304         * BufferView_pimpl.h: ditto
12305         * ColorHandler.h: ditto
12306
12307         * kbmap.C (defkey): change call to shared_ptr::reset
12308
12309 2002-05-21  Juergen Vigna  <jug@sad.it>
12310
12311         * buffer.C (insertErtContents): fix to insert ert asis if it is
12312         non empty. Skip it completely if it contains only whitespaces.
12313
12314 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12315
12316         * BufferView_pimpl.C:
12317         * BufferView2.C: clear selection on paste (bug 393)
12318
12319 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12320
12321         * DepTable.C: include ctime
12322
12323 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12324
12325         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12326
12327 2002-05-14  Juergen Vigna  <jug@sad.it>
12328
12329         * text.C (breakParagraph): fixed function to honor the keepempty
12330         layout in the right maner and also to permit the right breaking
12331         algorithm on empty or non empyt keepempty paragraphs.
12332
12333         * paragraph.C (breakParagraph): we have to check also if the par
12334         is really empty (!size()) for isempty otherwise we do the wrong
12335         paragraph break.
12336
12337 2002-05-10  Juergen Vigna  <jug@sad.it>
12338
12339         * buffer.[Ch] : The following are only changes to the ert
12340         compatibility read reading old LaTeX layout and font stuff and
12341         convert it to ERTInsets.
12342
12343         * buffer.h: added isErtInset().
12344
12345         * buffer.C (struct ErtComp): add a fromlayout bool to check
12346         if we're inside a LaTeX layout.
12347         (isErtInset): new helper function.
12348         (insertErtContents): look for other ert insets before this one
12349         and insert the contents there, so that we don't have subsequent
12350         ERT insets with nothing between them. This way we create only one
12351         inset with multiple paragraphs. Also check if we don't insert only
12352         spaces ' ' as they are ignored anyway afterwards in the .tex file
12353         so if we have only spaces we will ignore this latex part in the
12354         new file.
12355         (parseSingleLyXformat2Token \\layout): better compatibility when
12356         reading layout-latex stuff.
12357         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12358         language tag.
12359         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12360         stuff after reading the inset only get the information back from
12361         the stack.
12362
12363 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12364
12365         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12366
12367         * LaTeXFeatures.C (getBabelOptions): New method.
12368
12369 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12370
12371         * BufferView_pimpl.C (Dispatch): work around missing argument for
12372         'layout'
12373
12374 2002-05-08  Juergen Vigna  <jug@sad.it>
12375
12376         * text.C (leftMargin): handle paragraph leftindent.
12377
12378         * paragraph.C (writeFile): write the new \\leftindent tag.
12379         (validate): handle leftindent code.
12380         (TeXEnvironment): handle paragraphleftindent code again.
12381
12382         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12383
12384         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12385         for paragrap_extra indent code and new token \\leftindent.
12386         (latexParagraphs): handle the leftindent as environment.
12387
12388         * ParameterStruct.h: added leftindent support.
12389
12390         * ParagraphParameters.C (leftIndent): added support functions for
12391         the paragraph left indent.
12392
12393         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12394         more appropriate.
12395
12396 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12397
12398         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12399         inside insetERT.
12400
12401         * text.C (computeBidiTables): No bidi in insetERT.
12402
12403         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12404         in RTL documents.
12405
12406 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12407
12408         * version.C.in: pre 5
12409
12410 2002-05-02  José Matos  <jamatos@fep.up.pt>
12411         * buffer.C (makeDocBookFile): white space changes, add newline to
12412         command styles.
12413         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12414
12415         * tabular.C (docBook): fix typo.
12416
12417 2002-05-03  Juergen Vigna  <jug@sad.it>
12418
12419         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12420         change in LyXText as we can not be sure it was not freed.
12421         (drawOneRow): remove unused code.
12422
12423         * text.C (drawInset): redo the calculation of the need_break_row as
12424         it could have a row which was already freed.
12425         (draw): look at the return value of drawInset and return false if
12426         it also returned false.
12427         (paintRowText): look at the return value of draw and return false if
12428         it also returned false.
12429
12430         * lyxtext.h: added bool return type to drawInset() and draw() so that
12431         if we have a change in the row so that the rowbreak has to be redone
12432         we abort drawing as it will be called again.
12433
12434 2002-05-02  Juergen Vigna  <jug@sad.it>
12435
12436         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12437         a change in the maintext also if we're inside an inset.
12438         (Dispatch): set the cursor again after a break line and after the
12439         screen has been updated as it could be we're in a different row.
12440
12441         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12442         to set the cursor behind the pargraph with > size().
12443         (setCursor): check also for the same paragraph when checking where
12444         to put the cursor if we have a NFR inset.
12445
12446         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12447         parts of layout read further up as it still was in the wrong
12448         position.
12449
12450 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12451
12452         * screen.C (drawFromTo): change sine fullRebreak always return
12453         true.
12454
12455         * buffer.C (parseSingleLyXformat2Token): reindent some
12456
12457         * BufferView_pimpl.C (update): change since fullRebreak always
12458         return true.
12459         (Dispatch): git rid of the last hardcoded "Standard"s.
12460
12461 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12462
12463         * text2.[Ch] (fullRebreak): make it return void now that we always
12464         returned true.
12465
12466 2002-04-30  Juergen Vigna  <jug@sad.it>
12467
12468         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12469         ert compatibility check for "latex" layout.
12470
12471 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12472
12473         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12474         minipages: use col% instead of p%, and also use the current font.
12475         (makeLaTeXFile): Fix use babel condition.
12476         (parseSingleLyXformat2Token): Correct font when reading old floats.
12477
12478 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12479
12480         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12481         inserting list of floats.
12482
12483 2002-04-25  Herbert Voss  <voss@lyx.org>
12484
12485         * MenuBackend.C (expand): don't add the graphics extensions to the
12486         export menu
12487
12488 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12489
12490         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12491         non-existing layout, do not complain if it was the default layout
12492         of the original class (bug #342)
12493
12494 2002-04-24  Juergen Vigna  <jug@sad.it>
12495
12496         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12497         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12498
12499 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12500
12501         * buffer.C (getBibkeyList): If using \bibliography, return the
12502         option field with the reference itself. Enables us to provide natbib
12503         support when using \bibliography.
12504
12505 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12506
12507         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12508
12509         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12510         natbib is provided by the LaTeX class.
12511
12512 2002-04-23  Juergen Vigna  <jug@sad.it>
12513
12514         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12515         Wakeup functions.
12516
12517         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12518
12519 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12520
12521         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12522
12523         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12524         ensuremath around textordmasculine, textordfeminine and
12525         textdegree.
12526
12527 2002-04-19  Juergen Vigna  <jug@sad.it>
12528
12529         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12530         reinitializing the buffer otherwise row-dimensions may be wrong.
12531         (update): reset also the selection cursors if they do exits otherwise
12532         their x/y positions may be wrong.
12533
12534         * text2.C (cursorDown): don't enter the inset if we came from a row
12535         above and are one row over the inset.
12536
12537         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12538         really leaving an inset.
12539
12540 2002-04-18  Juergen Vigna  <jug@sad.it>
12541
12542         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12543         of the selected paragraph does not have the selected layout also if
12544         the last one had!
12545
12546         * text2.C (setLayout): fixed bug which did not change last selected
12547         paragraph.
12548
12549         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12550         changed the read and substituted \\end_float with \\end_inset!
12551
12552         * BufferView_pimpl.C (cursorPrevious):
12553         (cursorNext): fixed to make it work with rows heigher than the work
12554         area without moving the cursor only the draw of the row.
12555         (workAreaMotionNotify): fix jumping over high rows.
12556
12557 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12558
12559         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12560         Ressler.
12561
12562 2002-04-16  Juergen Vigna  <jug@sad.it>
12563
12564         * text2.C (setCursor): set also the irow().
12565         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12566         (cursorUp):
12567         (cursorDown): support for locking an inset if the x_fix value goes
12568         inside it. That way I can transverse insets too with cursor up/down.
12569
12570         * lyxrow.h: added irow helper function same as other (i) functions.
12571
12572         * BufferView_pimpl.C (cursorPrevious):
12573         (cursorNext): fixed for insets!
12574
12575 2002-04-15  Juergen Vigna  <jug@sad.it>
12576
12577         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12578         position otherwise it is wrong in some cases.
12579
12580         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12581         inside the inset before the call.
12582
12583 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12584
12585         * buffer.[Ch] (getBibkeyList): make it const.
12586
12587 2002-04-12  Juergen Vigna  <jug@sad.it>
12588
12589         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12590
12591         * text2.C (getCursorX): new helper function
12592         (setCursor): compute also ix_
12593         (setCursorFromCoordinates): set also ix.
12594
12595         * lyxcursor.h: added ix_ and helper functions.
12596
12597         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12598
12599         * buffer.C (insertStringAsLines): dont break paragraph if the this
12600         paragraph is inside an inset which does not permit it!
12601
12602         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12603         also with no chars on this paragraph.
12604         (paintRowText): only paint stuff if it's inside the workarea!
12605
12606         * paragraph.C (breakParagraph): honor keepempty flag and break the
12607         paragraph always below not above.
12608
12609         * BufferView2.C (unlockInset): update the paragraph layout on inset
12610         unlock as we changed paragraph in such a case.
12611
12612         * lyxfind.C (LyXFind): clear the former selection if not found!
12613
12614         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12615         again called in insertChar().
12616
12617         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12618         an inset which uses the whole row!
12619         (rightMargin): ditto.
12620         (insertChar): force a rebreak if we inserted an inset!
12621
12622 2002-03-28  Herbert Voss  <voss@lyx.org>
12623
12624         * lyxlength.[Ch]: add inBP() to get the right PS-point
12625         units (BigPoint). With inPixels we have rounding errors
12626
12627 2002-04-11  Juergen Vigna  <jug@sad.it>
12628
12629         * text2.C (setCursorFromCoordinates): set iy to the right value.
12630         (setCursor): add check if row->previous exists!
12631
12632         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12633         an old float_type as this was the case in the old code!
12634
12635         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12636
12637         * BufferView2.C (showLockedInsetCursor): use iy
12638         (fitLockedInsetCursor): ditto
12639
12640         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12641         locked insets as there we have the right value now.
12642
12643         * lyxcursor.C: added iy_ variable and iy functions to set to the
12644         baseline of cursor-y of the locked inset.
12645
12646         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12647         (setCursor): fixed for insets which need a full row.
12648
12649         * text.C (rowLastPrintable): don't ignore the last space when before
12650         an inset which needs a full row.
12651         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12652         as last character of a row when before a inset which needs a full row.
12653
12654 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12655
12656         * version.C.in: update date
12657
12658         * text2.C (fullRebreak): try to always return true and see what
12659         happens...
12660
12661 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12662
12663         * MenuBackend.C (expand): use Floating::listName
12664
12665         * FloatList.C (FloatList): add listName argument to the built-in
12666         floats
12667
12668         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12669         text associated with the float.
12670
12671 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12672
12673         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12674
12675 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12676
12677         * ShareContainer.h: add a couple of missing typenames.
12678
12679 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12680
12681         * lyxrc.C (getDescription): use _() correctly rather than N_().
12682
12683 2002-03-28  Herbert Voss  <voss@lyx.org>
12684
12685         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12686         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12687
12688 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12689
12690         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12691         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12692
12693 2002-03-29  Juergen Vigna  <jug@sad.it>
12694
12695         * lyxfunc.C (dispatch): add a missing fitCursor call.
12696
12697         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12698         it was scrolled by a cursor move, so return the bool status.
12699
12700         * BufferView.C (fitCursor): return the bool flag also to the outside
12701         world as this is needed.
12702
12703         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12704
12705         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12706         call the edit() as it is not needed (and wrong) IMO.
12707         (workAreaButtonPress): set the screen_first variable before evt.
12708         unlock the inset as this may change screen_first and then we have
12709         a wrong y position for the click!
12710
12711 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12712
12713         * MenuBackend.C (expand): another translation that I missed
12714
12715 2002-03-28  Juergen Vigna  <jug@sad.it>
12716
12717         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12718
12719         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12720
12721 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12722
12723         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12724
12725         * MenuBackend.C (expand): fix export/view/update when there is no
12726         document open.
12727
12728 2002-03-27  Herbert Voss  <voss@lyx.org>
12729
12730         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12731         and text%
12732
12733 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12734
12735         * bufferview_funcs.C (currentState): only show paragraph number
12736         for is DEVEL_VERSION is set.
12737
12738         * lyxfunc.C (dispatch): put warning in INFO channel
12739
12740         * MenuBackend.C (expand): translate the name of floats
12741
12742         * FloatList.C (FloatList): mark the float names for translation
12743
12744         * converter.C (convert): use LibScriptSearch
12745
12746 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12747
12748         * MenuBackend.C (defaults): fix default menu (we might as well get
12749         rid of it...)
12750
12751 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12752
12753         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12754         directory.
12755
12756 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12757
12758         * lyxvc.C: reorder includes.
12759
12760 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12761
12762         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12763           properly
12764
12765 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12766
12767         * CutAndPaste.C: change layouts earlier on paste
12768           to avoid crashing when calling getFont()
12769
12770 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12771
12772         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12773         irritating #error.
12774
12775 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12776
12777         * WorkArea.C: remove 'Pending' debug message.
12778
12779         * most files: ws cleanup
12780
12781         * buffer.[Ch]: ws changes
12782
12783         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12784
12785 2002-03-21  Juergen Vigna  <jug@sad.it>
12786
12787         * tabular.C (SetMultiColumn): collapse also the contents of the
12788         cells and set the last border right. Added a Buffer const * param.
12789
12790 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12791
12792         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12793         linking or not.
12794
12795 2002-03-19  Juergen Vigna  <jug@sad.it>
12796
12797         * text2.C (clearSelection): reset also xsel_cache.
12798
12799         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12800         where it needs to be called (John tells us to do so too :)
12801         (selectionLost): reset sel_cache.
12802
12803         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12804
12805 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12806
12807         * text2.C (setCursorIntern): put debuging code in INSETS channel
12808
12809 2002-03-19  André Pönitz <poenitz@gmx.net>
12810
12811         * lyxfunc.C: tiny whitespace change
12812
12813 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12814
12815         * ToolbarDefaults.C (init):
12816         * LyXAction.C (init):
12817         * commandtags.h:
12818         * BufferView_pimpl.C (Dispatch):
12819         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12820
12821 2002-03-19  Allan Rae  <rae@lyx.org>
12822
12823         * exporter.C (Export): removeAutoInsets before doing anything else.
12824         While I've just introduced a dependency on BufferView this really is
12825         the best place to clean the buffer otherwise you need to cleanup in
12826         a dozen places before calling export or cleanup in a dozen functions
12827         that export calls.
12828
12829         * converter.C (runLaTeX):
12830         (scanLog): Better handling of removeAutoInsets and screen updates.
12831
12832         * lyxfunc.C (dispatch): small whitespace changes
12833
12834 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12835
12836         * WorkArea.C (C_WorkAreaEvent): return a value.
12837         (event_cb): return 1 if we handled the event, 0 otherwise.
12838
12839         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12840
12841 2002-03-18  Juergen Vigna  <jug@sad.it>
12842
12843         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12844         (GetAdditionalWidth): ditto.
12845         (RightLine): ditto.
12846         (LeftLine): ditto.
12847
12848         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12849         inset if we're there actually (probably not used right now but this
12850         is the direction to go for unifying code).
12851         (paste): disable code to clear the selection.
12852
12853         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12854         inside an InsetText and move the check further up as it is in the
12855         wrong place.
12856
12857         * text2.C (pasteSelection): set a selection over the pasted text.
12858
12859 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12860
12861         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12862         and libgraphics to build on Cygwin.
12863
12864 2002-03-15  Juergen Vigna  <jug@sad.it>
12865
12866         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12867         inserting an Inset into the paragraph. I know this is not the best
12868         fix but we already use current_view in CutAndPaste so we will remove
12869         all of it's using at the same time.
12870
12871         * buffer.C (sgmlError): deactivated function till it is rewritten in
12872         the right mode, now it can create problems.
12873
12874         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12875         before accessing it.
12876
12877 2002-03-14  Juergen Vigna  <jug@sad.it>
12878
12879         * undo_funcs.C (textHandleUndo): do the right thing when updating
12880         the inset after the undo/redo.
12881
12882         * text2.C (setCursor): just some testcode for #44 not ready yet.
12883
12884         * undo_funcs.C (textHandleUndo): set the next() and previous()
12885         pointers of the paragraph to 0 before deleting otherwise we have
12886         problems with the Paragraph::[destructor].
12887
12888         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12889         on a paragraph insertion.
12890
12891 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12892
12893         * buffer.C (asciiParagraph): use += operator for char append to
12894         string.
12895
12896         * paragraph.C (getFontSettings): compare >= not just >
12897         (highestFontInRange): ditto
12898         (setFont): ditto
12899
12900 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12901
12902         * paragraph.C: change several algorithm to be more appripriate for
12903         the problem domain. This is lookip in FontList and in the InsetList.
12904
12905 2002-03-13  André Pönitz <poenitz@gmx.net>
12906
12907         * commandtags.h:
12908         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12909
12910 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12911
12912         * commandtags.h:
12913         * LyXAction.C:
12914         * lyxfunc.C:
12915         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12916
12917 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12918
12919         * Painter.C (display): anon helper function, adjust code for this
12920         change.
12921         (pixmap): remove function.
12922
12923         * Painter.h: remove private display variable.
12924
12925         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12926
12927 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12928
12929         * WorkArea.[Ch]: remove figinset_canvas cruft.
12930
12931 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12932
12933         * lyxtextclass.C (operator): add one item cache optimization.
12934
12935         * bufferlist.h: doxy changes
12936
12937         * bufferlist.C: ws changes
12938
12939         * DepTable.[Ch] (ext_exist): place const in the right spot.
12940
12941         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12942         call resizeInsets.
12943         (workAreaExpose): call resizeInsets when the with BufferView changes.
12944         (Dispatch): adjust for protectedBlank removal
12945         (specialChar): call updateInset if the insert went ok.
12946
12947         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12948         specialChar instead.
12949
12950         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12951
12952         * BufferView.h: doxy change
12953
12954         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12955
12956         * lyxtextclass.C (operator[]): remove non-const version
12957         (defaultLayout): remove non-const version
12958
12959 2002-03-12  Juergen Vigna  <jug@sad.it>
12960
12961         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12962         did resize the LyXText too.
12963
12964         * buffer.C (readLyXformat2): set layout information on newly allocated
12965         paragraphs.
12966
12967         * tabular.C (OldFormatRead): set layout information on the paragraph.
12968
12969 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
12970
12971         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12972
12973 2002-03-11  Juergen Vigna  <jug@sad.it>
12974
12975         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12976         plainly wrong.
12977         (resizeCurrentBuffer): force also the insets to resize themselfes.
12978         (moveCursorUpdate): fixed up for InsetText.
12979
12980 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12981
12982         * commandtags.h:
12983         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12984         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12985         value of Dialogs::tooltipsEnabled().
12986         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12987
12988 2002-03-08  Juergen Vigna  <jug@sad.it>
12989
12990         * BufferView_pimpl.C (updateInset): update inset inside inset also
12991         if it isn't inside theLockingInset().
12992
12993 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12994
12995         * buffer.C (asciiParagraph): redo some of the word and line length
12996         handling.
12997         (getLists): look for Caption instead of caption.
12998
12999 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13000
13001         * buffer.C (Buffer): initialize niceFile to true
13002         (makeLaTeXFile):
13003         (makeLinuxDocFile):
13004         (makeDocBookFile): make sure niceFile is true on exit
13005
13006 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13007
13008         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13009
13010 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13011
13012         * LyXSendto.C: remove.
13013         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13014         * lyx_gui.C: remove now-redundant comment.
13015         * ColorHandler.h: remove forward declaration of class WorkArea.
13016         * lyxfunc.C: remove #include "WorkArea.h".
13017
13018 2002-03-07  Juergen Vigna  <jug@sad.it>
13019
13020         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13021         got moved away with the DEPM and also set the inset_owner always
13022         right which before could have been omitted.
13023
13024 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13025
13026         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13027         wanted layout is not found.
13028
13029 2002-03-07  Juergen Vigna  <jug@sad.it>
13030
13031         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13032
13033 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13034
13035         * paragraph.C (breakParagraph): use default layout not layout of
13036         prev paragraph.
13037         (Paragraph): clear ParagraphParameters.
13038
13039 2002-03-06  Juergen Vigna  <jug@sad.it>
13040
13041         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13042         otherwise it would not be a valid lenght. Fixed a special case in
13043         the minipage compatibility read where we end the document with a
13044         minipage.
13045
13046         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13047         was set as it could be 0 for InsetTexts first entry.
13048
13049 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13050
13051         * paragraph.C (writeFile): if layout is empty write out
13052         defaultLayoutName().
13053
13054         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13055         file without named layout we set layout to defaultLayoutName().
13056
13057 2002-03-06  Juergen Vigna  <jug@sad.it>
13058
13059         * CutAndPaste.C (copySelection): set layout for new paragraph.
13060
13061         * text.C (prepareToPrint): leave ERT inset left aligned
13062         (leftMargin): don't indent paragraphs inside ERT insets
13063
13064 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13065
13066         * paragraph.C (breakParagraph): dont call clear do the work manually
13067
13068         * paragraph.[Ch] (clear): remove function
13069
13070 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13071
13072         * paragraph.C (Paragraph): dont call clear, the work has already
13073         been done.
13074
13075         * lyxtextclass.C (operator): assert if n is empty
13076
13077         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13078         work manually instead.
13079
13080 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13081
13082         * BufferView_pimpl.C: protect selectionLost against text == 0
13083
13084 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13085
13086         * text.C (breakParagraph): fix a setting layout to '0' problem.
13087
13088 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13089
13090         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13091         final location of file, for the included files, and graphics.
13092
13093 2002-03-05  Juergen Vigna  <jug@sad.it>
13094
13095         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13096
13097 2002-03-04  Juergen Vigna  <jug@sad.it>
13098
13099         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13100
13101         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13102         last column of multicolumn cells.
13103         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13104
13105 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13106
13107         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13108         file if it doesn't go to a temporary file.
13109
13110         * buffer.C (sgmlOpenTag):
13111         (sgmlCloseTag):  remove extra newline insertion.
13112
13113 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13114
13115         * text.C (getRowNearY): comment out debug msg
13116
13117 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13118
13119         * text2.C: first -> first_y
13120
13121         * text.C (getRowNearY): add some attemts at a possible
13122         optimization, not working.
13123
13124         * tabular.[Ch]: add BufferParams to several function so that newly
13125         created paragraph can be initialized to he default layotu for the
13126         buffers textclass.
13127
13128         * tabular-old.C (ReadOld): add buf->params to call of Init
13129
13130         * screen.C: rename text->first to text->first_y
13131
13132         * paragraph.C (breakParagraph): always set layout in the broken
13133         paragraph
13134
13135         * lyxtextclass.C (Read): remove lowercase
13136         (hasLayout): ditto
13137         (operator): ditto
13138         (delete_layout): ditto
13139
13140         * lyxtext.h: rename first -> first_y
13141
13142         * lyxlayout.C (Read): remove lowercase
13143         (name): ditto
13144         (setName): ditto
13145         (obsoleted_by): ditto
13146
13147         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13148
13149         * buffer.C (insertErtContents): add params are to InsetERT
13150         (parseSingleLyXformat2Token): add code to check if a paragraphs
13151         layout really exist.
13152         (parseSingleLyXformat2Token): add params to several inset
13153         constructors
13154         (asciiParagraph): remove lowercase, do the layout comparisons with
13155         no_case
13156
13157         * BufferView_pimpl.C (cursorNext): first -> first_y
13158         (resizeCurrentBuffer): first -> first_y
13159         (updateScrollbar): first -> first_y
13160         (scrollCB): first -> first_y
13161         (workAreaMotionNotify): first -> first_y
13162         (workAreaButtonPress): first -> first_y
13163         (checkInsetHit): first -> first_y
13164         (cursorPrevious): first -> first_y
13165         (cursorNext): first -> first_y
13166         (Dispatch): add buffer_->params to severl inset contructors
13167
13168 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13169
13170         * lyxlayout.C (Read): remove some debug info that I forgot.
13171
13172         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13173         clean up the code slightly.
13174         (makeLinuxDocFile): ditto
13175         (makeDocBookFile): ditto
13176
13177         * text2.C: layout as string
13178
13179         * text.C: layout as string
13180
13181         * paragraph_pimpl.C: layout as string
13182
13183         * paragraph.[Ch]: layout as string
13184
13185         * lyxtextclasslist.[Ch]: layout as string
13186
13187         * lyxtextclass.[Ch]: layout as string
13188
13189         * lyxtext.h: layout as string
13190
13191         * lyxlayout.[Ch]: layout as string
13192
13193         * lyx_cb.C: layout as string
13194
13195         * bufferview_funcs.C: layout as string
13196
13197         * bufferparams.C: layout as string
13198
13199         * buffer.C: layout as string
13200
13201         * LyXView.[Ch]: layout as string
13202
13203         * LaTeXFeatures.[Ch]: layout as string
13204
13205         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13206
13207         * BufferView_pimpl.C: change current_layout to string, remove
13208         lyx::layout_type.
13209         (Dispatch):
13210         (smartQuote):
13211         (insertInset):
13212         (workAreaButtonRelease): layout as string
13213
13214         * BufferView2.C (unlockInset): adjust
13215
13216         * vspace.C (asLatexCommand): use an explict temp variable.
13217
13218 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13219
13220         * Makefile.am: use FRONTEND_*
13221
13222 2002-03-01  Juergen Vigna  <jug@sad.it>
13223
13224         * tabular.C (SetWidthOfMulticolCell): changed to something better
13225         I hope but still work in progress.
13226         (recalculateMulticolumnsOfColumn): renamed function from
13227         recalculateMulticolCells as it is more appropriate now.
13228         (SetWidthOfCell): calculate multicols better.
13229
13230 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13231
13232         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13233
13234         * lyxfunc.C (processKeySym): print sequence also if it is
13235         `deleted' (complete)
13236
13237         * kbsequence.C (print): print sequence even if it is deleted
13238         (complete would be a better word, actually).
13239
13240         * lyxfunc.C (dispatch): print complete options after a prefix key
13241
13242         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13243
13244 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13245
13246         * text2.C (setCharFont): eliminate setCharFont code duplication.
13247
13248 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13249
13250         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13251         LFUN_TABULAR_FEATURE (bug #177)
13252
13253 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13254
13255         * Makefile.am: remove figure.h
13256
13257 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13258
13259         * Bufferview_pimpl.C:
13260         * CutAndPasteC:
13261         * LaTeX.C:
13262         * LyXSendto.C:
13263         * buffer.C:
13264         * bufferlist.C:
13265         * converter.C:
13266         * language.C:
13267         * lyxfunc.C:
13268         * lyxvc.C:
13269         * paragraph.C:
13270         * text.C:
13271         * text2.C: remove #include "lyx_gui_misc.h".
13272
13273         * LaTeX.C: added #include <cstdio>
13274
13275 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13276
13277         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13278         that the paragraph following this one can have.
13279
13280         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13281
13282         * vspace.C (asLatexCommand): fix bogus gcc warning
13283
13284         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13285
13286 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13287
13288         * text2.C (setLayout): get rid of redundant code
13289
13290 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13291
13292         * text2.C (incDepth): make sure depth cannot be increased beyond
13293         reasonable values.
13294
13295 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13296
13297         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13298         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13299
13300         * PainterBase.h (image):
13301         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13302         a LyXImage const *.
13303
13304 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13305
13306         * BufferView.C:
13307         * BufferView.h:
13308         * BufferView_pimpl.C:
13309         * BufferView_pimpl.h:
13310         * LaTeXFeatures.C:
13311         * LyXAction.C:
13312         * LyXView.C:
13313         * Makefile.am:
13314         * UpdateList.h:
13315         * UpdateList.C:
13316         * buffer.C:
13317         * figure.h:
13318         * figureForm.C:
13319         * figureForm.h:
13320         * figure_form.C:
13321         * figure_form.h:
13322         * lyx_cb.C:
13323         * lyx_gui.C:
13324         * lyx_gui_misc.C:
13325         * lyxfunc.C:
13326         * sp_base.h:
13327         * sp_ispell.h:
13328         * sp_pspell.h:
13329         * sp_spell.C: remove fig inset, and the crap house of
13330           cards that follows it
13331
13332 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13333
13334         * Makefile.am:
13335         * lyxserver.C:
13336         * os2_defines.h:
13337         * os2_errortable.h:
13338         * nt_defines.h: move .h into support/
13339
13340         * vms_defines.h: remove
13341
13342         * WorkArea.C: add space in debug output
13343
13344         * text2.C:
13345         * paragraph.C:
13346         * buffer.C: add WITH_WARNINGS
13347
13348         * vc-backend.h:
13349         * vc-backend.C:
13350         * bufferlist.C: s/retrive/retrieve/, add docs
13351
13352         * vspace.h:
13353         * vspace.C:
13354         * kbmap.h:
13355         * lyxlength.h:
13356         * lyxgluelength.h:
13357         * length_common.h:
13358         * chset.h:
13359         * chset.C: add docs
13360
13361         * lyxgui.C: add ID to X error handler
13362
13363         * lyxtestclass.c: fix typo
13364
13365 2002-02-26  Juergen Vigna  <jug@sad.it>
13366
13367         * tabular_funcs.C (write_attribute): changed so that some default
13368         attributes are not written at all.
13369         (getTokenValue): set default values before trying to read the
13370         value so we have the return value always set as default if we don't
13371         find the token we search for.
13372
13373         * tabular.C (Write): write bools as bools not as strings!
13374
13375 2002-02-22  Juergen Vigna  <jug@sad.it>
13376
13377         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13378         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13379
13380         * text.C (leftMargin): don't add an indent for paragraphs inside
13381         tabular cells (fix #208).
13382
13383 2002-02-21  José Matos  <jamatos@fep.up.pt>
13384
13385         * tabular.C (docBook): fixed support for long tables.
13386
13387 2002-02-20  Juergen Vigna  <jug@sad.it>
13388
13389         * text2.C (getFont): get the drawing font of the Inset if this
13390         paragraph is inside an inset (only important for InsetERT for now).
13391
13392         * buffer.C (insertErtContents): use new lanugage params in ERT
13393         constructor.
13394
13395         * CutAndPaste.C: commenting out seemingly uneeded code.
13396
13397 2002-02-19  Allan Rae  <rae@lyx.org>
13398
13399         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13400         Iterators might be simple to use but they also get invalidated.
13401         (removeAutoInsets): renamed saved cursor tracking variables and added
13402         some comments to clarify what everything does.
13403
13404 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13405
13406         * Chktex.C:
13407         * LaTeX.C:
13408         * LyXSendto.C:
13409         * converter.C:
13410         * lyx_cb.C:
13411         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13412         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13413
13414         * lyxfunc.C:
13415         * vc-backend.h: remove #include "support/syscall.h"
13416
13417         * LaTeX.C:
13418         * LyXSendto.C:
13419         * converter.C: rearrange #includes in Lars' approved fashion.
13420
13421         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13422         forward declare class Timeout in the header file.
13423
13424         * XFormsView.C: changes due to the above.
13425
13426         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13427         similar to LyXView.
13428
13429         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13430         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13431
13432 2002-02-18  José Matos  <jamatos@fep.up.pt>
13433
13434         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13435         insets contents.
13436
13437 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13438
13439         * a lot of small ws changes
13440         * add a lot of using std::XXX
13441         * use std construcs some places where approp.
13442         * use some exisint stuff from lyxfunctional where approp.
13443         * Make file changes to use partial linking (lets test this now...)
13444
13445 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13446
13447         * Chktex.C:
13448         * buffer.C:
13449         remove #include "support/syscontr.h" as it's redundant. Always has been.
13450
13451         * Chktex.C:
13452         * LaTeX.C:
13453         * LyXSendto.C:
13454         * converter.C:
13455         * lyx_cb.C:
13456         * vc-backend.C:
13457         change Systemcalls::System to Systemcalls::Wait and
13458         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13459         No change of functionality, just reflects the stripped down Systemcalls
13460         class.
13461
13462 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13463
13464         * debug.[Ch]: add a GRAPHICS type to the enum.
13465
13466 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13467
13468         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13469
13470         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13471         there is an inset.
13472
13473 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13474
13475         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13476         match the changes below.
13477
13478         * text2.C (toggleInset): if there is not editable inset at cursor
13479         position, try to see if cursor is _inside_ a collapsable inset
13480         and close it.
13481
13482 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13483
13484         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13485         document menu has a nice checkbox
13486
13487 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13488
13489         * lyxlength.C (asLatexString): change PW to output as percent of
13490         \textwidth.
13491
13492         * lengthcommon.C: change '%' to 't%'
13493
13494         * lyxfunc.C (dispatch): a few comments from Martin
13495
13496 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13497
13498         * WorkArea.h:
13499         * WorkArea.C:
13500         * BufferView_pimpl.h:
13501         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13502           the X selection.
13503
13504 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13505
13506         * vspace.C (inPixels): fix compiler warning
13507
13508 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13509
13510         * lyxfunc.C (getStatus): fix status message for disabled commands.
13511
13512 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13513
13514         * BufferView_pimpl.C: fix crash on close buffer
13515         during selection (#227)
13516
13517 2002-01-27  Herbert Voss  <voss@lyx.org>
13518
13519         * buffer.C: link old Figure to new graphic inset
13520
13521 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13522
13523         * FontLoader.C (getFontinfo): Change the latex font names in order
13524         to match the names of type1inst.
13525
13526 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13527
13528         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13529
13530         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13531         (extchanged): ditto
13532         (ext_exist): ditto
13533         (remove_files_with_extension): ditto
13534         (remove_file): ditto
13535         (write): ditto
13536
13537         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13538         document is smaller than the work area height. Do not initialize
13539         static variables to 0.
13540
13541 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13542
13543         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13544
13545         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13546         LFUN_LAYOUT_PARAGRAPHS.
13547
13548         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13549         tabular. It is possible to provide a possible cell, which will
13550         typically be the actcell from the corresponding insettabular
13551
13552         * lyxfunc.C (getStatus): small cleanup; disable
13553         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13554         true
13555
13556 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13557
13558         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13559
13560         * paragraph.C (startTeXParParams):
13561         (endTeXParParams): new methods. The LaTeX code to
13562         start/end paragraph formatting
13563         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13564         empty (fixes bug #200)
13565
13566         * vspace.C (inPixels): adapt to the change below
13567         (inPixels): [later] more cleanups (remove unused variables)
13568
13569         * lyxlength.C (inPixels): change to use a width and a height as
13570         parameter.
13571
13572 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13573
13574         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13575         Replaced with \paperwidth
13576
13577         * DepTable.C (insert): add std:: qualifier
13578
13579 2002-01-18  Allan Rae  <rae@lyx.org>
13580
13581         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13582         updated also?
13583
13584         * text.C (drawInset): Turned out I didn't know enough about how
13585         rebreaking worked.  This fixes most of the redraw problems.  I see
13586         an occasional cursor trail when a line is broken now and the cursor
13587         placement can seem out by a few pixels also after a rebreak.
13588
13589 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13590
13591         * buffer.C (parseSingleLyXformat2Token): update because minipage
13592         width is now a LyXLength
13593
13594         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13595
13596         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13597         math insets
13598
13599 2002-01-17  Juergen Vigna  <jug@sad.it>
13600
13601         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13602
13603         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13604         is set correctly and the inset is updated correctly.
13605
13606 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13607
13608         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13609         the beginning of the loop.
13610
13611 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13612
13613         * lyxrc.C: improve help for use_scalable_fonts
13614
13615 2002-01-17  Allan Rae  <rae@lyx.org>
13616
13617         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13618
13619 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13620
13621         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13622         make sure to set their inset_owner to the right value (bug #171)
13623
13624 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13625
13626         * DepTable.h
13627         * DepTable.C: Implement mtime checking to reduce time spent doing
13628         CRCs.
13629
13630 2002-01-16  Juergen Vigna  <jug@sad.it>
13631
13632         * tabular.C (GetAdditionalHeight): one of error fixed.
13633
13634         * lyxrc.C (output): small fix in writing use_pspell.
13635
13636 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13637
13638         * sp_base.h: #include LString.h
13639
13640 2002-01-16  Allan Rae  <rae@lyx.org>
13641
13642         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13643         Can someone check this please?
13644
13645         * text.C (drawInset): It was possible that p.row would be removed by
13646         breakAgainOneRow upsetting a few other settings.  There may be another
13647         small tweak possible by setting need_break_row = 0 when p.row has been
13648         removed but I don't know enough about the logic here.
13649
13650 2002-01-15  Allan Rae  <rae@lyx.org>
13651
13652         * text.C (insertChar): removed conditional truism.
13653
13654         * BufferView2.C (removeAutoInsets): More tweaks.
13655         cur_par_prev could be a stray pointer.  Check for trailing empty line
13656         in case last line was cur_par and only had an error inset on it.
13657
13658 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13659
13660         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13661         absolute
13662
13663         * vc-backend.C (most methods):
13664         * exporter.C (Export):
13665         * converter.C (convert):
13666         (runLaTeX):
13667         * LyXSendto.C (SendtoApplyCB):
13668         * lyxfunc.C (dispatch):
13669         (menuNew):
13670         (open):
13671         (doImport):
13672         * lyx_cb.C (AutoSave):
13673         (InsertAsciiFile):
13674         * BufferView_pimpl.C (MenuInsertLyXFile):
13675         * buffer.C (runChktex): use Buffer::filePath().
13676
13677         * buffer.h: rename filename to filename_; rename filepath to
13678         filepath_ and make it private
13679         (filePath): new method
13680
13681         * buffer.C (writeFile): use fileName()
13682         (getLatexName):
13683
13684         * lyx_main.C (init): fix starting  of LyX when the binary is a
13685         link from so,ewhere else.
13686
13687         * minibuffer.C: include <cctype> for isprint
13688
13689 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13690
13691         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13692         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13693         name clash with InsetCollapsable's width function.
13694
13695 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13696
13697         * lastfiles.C: include <iterator>
13698
13699 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13700
13701         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13702         std::count.
13703
13704         * buffer.C (makeLaTeXFile): ditto.
13705         Also make loop operation more transparent.
13706
13707 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13708
13709         * ToolbarDefaults.C: remove trailing comma closing namespace.
13710
13711         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13712
13713         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13714         as in WorkArea.
13715
13716         * trans.C (Load): comment out unused variable, allowed.
13717
13718 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13719
13720         * minibuffer.[Ch] (append_char): new method to recieve input from the
13721         drop-down completion browser. If a key was pressed, then recieve this
13722         char and append it to the existing string.
13723         (peek_event): modify the positioning data passed to the completion
13724         browser so that it can be placed above the minibuffer rather than below.
13725 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13726
13727         * LyXAction.C (init): alloe error-next for readonly documents.
13728
13729         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13730         count.
13731
13732 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13733
13734         * bufferlist.C (readFile): create the buffer _after_ checking that
13735         the file exists.
13736
13737         * lyxfunc.C (verboseDispatch): fix handling of arguments
13738
13739         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13740
13741         * lyxrc.C: use string::erase() instead of initializing to "".
13742
13743
13744 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13745
13746         * BufferView_pimpl.h:
13747         * BufferView_pimpl.C:
13748         * WorkArea.h:
13749         * WorkArea.C:
13750         * text2.C: tell X when we have made a selection for copying
13751
13752 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13753
13754         * BufferView_pimpl.C (MenuInsertLyXFile):
13755         * lyxfunc.C (menuNew):
13756         (open):
13757         (doImport): add shortcuts to directory buttons
13758
13759         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13760         open a float)
13761
13762         * lyxfunc.C (setStatusMessage):
13763         (getStatusMessage): new methods
13764         (getStatus):use setStatusMessage instead of setErrorMessage
13765         (dispatch): when function is disabled, set error message here
13766         [instead of in getStatus previously]
13767
13768         * BufferView_pimpl.C (workAreaButtonRelease): update
13769         toolbar/menubar here too.
13770
13771 2002-01-13  Allan Rae  <rae@lyx.org>
13772
13773         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13774         Now seems indestructible.  Remaining task is to audit all other
13775         code affected by deleteEmptyParagraphMechanism.  One small quirk
13776         left is that an empty document with an error in the preamble can
13777         be made to report an error but no error box appears.  I don't know
13778         where it goes.
13779         (removeAutoInsets): Improved comments.
13780
13781 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13782
13783         * Thesaurus.h:
13784         * Thesaurus.C: update for Aiksaurus 0.14
13785
13786 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13787
13788         * text2.C (firstParagraph): removed member function, all uses
13789         replaces with ownerParagraph
13790         (redoParagraphs): here
13791         (updateInset): here
13792         (toggleAppendix): here
13793         * BufferView2.C (insertErrors): here
13794         (setCursorFromRow): here
13795
13796 2002-01-13  Allan Rae  <rae@lyx.org>
13797
13798         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13799         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13800         There is still a way to segfault this although you may have to do this
13801         multiple times: Have an InsetERT with an unknown command in it.
13802         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13803         <down-arrow>, <Enter> again, View->DVI, BANG!
13804
13805         * text2.C (setCursor):
13806         (deleteEmptyParagraphMechanism):
13807         * lyxtext.h (setCursor):
13808         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13809         Making use of the return value may help fix other bugs.
13810
13811 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13812
13813         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13814
13815         * LyXView.C (updateMenubar): call MenuBar::update here
13816         (updateToolbar): but not here
13817         (showState): do not update toolbar/menubar
13818
13819         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13820         should need to care about that.
13821
13822         * lyxfunc.C (verboseDispatch): simplify a bit
13823         (getStatus): have a version which takes a pseudoaction, and
13824         another which requires a (kb_action,string).
13825
13826         * LyXAction.C (retrieveActionArg): make it work also when action
13827         is not a pseudo-action.
13828         (getActionName): simplify a bit
13829         (helpText):
13830
13831 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13832
13833         * lyxfunc.C (verboseDispatch): new families of methods with
13834         several ways to specify a command and a bool to indicate whether
13835         the command name and shortcut should be displayed in minibuffer
13836         (eventually, we could extend that to a finer bitmask like
13837         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13838         (dispatch): the pristine dispatch command which just, well,
13839         dispatchs! Note it still sets its result to minibuffer; I'm not
13840         sure we want that.
13841
13842         * lyxfunc.h: remove setHintMessage
13843
13844         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13845
13846 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13847
13848         * BufferView_pimpl.C (specialChar): delete new inset if we have
13849         not been able to insert it.
13850
13851         * kbmap.C: revert to using int instead of kb_action, since all we
13852         are dealing with is pseudo-actions.
13853
13854         * LyXAction.C (searchActionArg): change to return int instead of
13855         kb_action, since the result is a pseudoaction.
13856
13857 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13858
13859         * buffer.C (insertErtContents): Fix (partially) the font bug.
13860
13861 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13862
13863         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13864         as the other one is broken on my machine!
13865
13866 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13867
13868         * commandtags.h:
13869         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13870
13871 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13872
13873         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13874         reflect their actual use. Provide compatibility code for older lyxrc
13875         files.
13876
13877         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13878         FL_NORMAL_STYLE.
13879         change names of popup font variables in line with the changes to lyxrc.C
13880
13881 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13882
13883         * buffer.C (asciiParagraph): avoid outputing a word twice after
13884         an inset.
13885
13886         * lyxrc.C (getDescription): document that document_path and
13887         template_path can be empty.
13888
13889 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13890
13891         * LaTeXFeatures.C (getMacros):
13892         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13893
13894         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13895
13896         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13897         getPackages.
13898         (getPackages): rename feature "floats" to "float". Use an array to
13899         iterate over 'simple' features (i.e. just a \usepackage). Add
13900         handling of "amsmath" (renamed from "amsstyle").
13901
13902 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13903
13904         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13905         features list.
13906
13907 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13908
13909         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13910         FuncStaus::FuncStatus & FuncStaus::some_method().
13911
13912 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13913
13914         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13915         of the func_satus stuff. Edited and massaged in various ways by
13916         JMarc.
13917
13918         * lyxfunc.C (getStatus): use FuncStatus
13919
13920 2002-01-08  Juergen Vigna  <jug@sad.it>
13921
13922         * text.C (nextBreakPoint): use function Inset::isChar().
13923
13924         * paragraph.C (TeXOnePar): use function
13925         Inset::forceDefaultParagraphs.
13926
13927         * buffer.C (latexParagraphs): use function
13928         Inset::forceDefaultParagraphs.
13929
13930 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13931
13932         * lyx_gui.C (init): set the style of the menu popups to
13933         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13934
13935 2002-01-07  Juergen Vigna  <jug@sad.it>
13936
13937         * text.C (setHeightOfRow): small fix
13938         (prepareToPrint): don't look at alignment if we don't have the place
13939         for doing it.
13940
13941 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13942
13943         * box.C: New file. Move the Box methods and functions out of box.h,
13944         following Lars' suggestion.
13945
13946 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13947
13948         * box.h: #include "support/LOstream.h", needed for inlined function.
13949
13950         * lyxtextclass.C:
13951         * lyxtextclasslist.C: added some using std declarations.
13952
13953 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13954
13955         * box.h: make signed dimensions to allow insets wider than
13956           the screen (bug #162)
13957
13958         * BufferView_pimpl.C: add some insetHit debug
13959
13960 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13961
13962         * vc-backend.C: add FIXME
13963
13964 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13965
13966         * lyxfunc.C (getStatus): enable code for showing math font status
13967         in toolbar/menu.
13968
13969 2002-01-07  Juergen Vigna  <jug@sad.it>
13970
13971         * text.C (nextBreakPoint): removed debug output not needed anymore.
13972
13973 2002-01-06  Juergen Vigna  <jug@sad.it>
13974
13975         * text.C (nextBreakPoint): fixed up this function we had this bug
13976         since ever but now hopefully we break row better.
13977         (insertChar): we have to check if an inset is the next char as it
13978         could now happen that a large inset is causing a break.
13979
13980 2002-01-05  Juergen Vigna  <jug@sad.it>
13981
13982         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13983         if it doesn't like to be drawed.
13984
13985 2002-01-04  Juergen Vigna  <jug@sad.it>
13986
13987         * BufferView2.C (lockInset): forgot to set a cursor.
13988
13989         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13990
13991 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13992
13993         * FormMathsPanel.C:
13994         * FormMathsPanel.h
13995         * MathsSymbols.C:
13996         * form_maths_panel.C:
13997         * form_maths_panel.h:
13998         * form_maths_panel.fd: implemented sub- and super- buttons in math
13999         panel.
14000
14001         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14002         (or ^ space) to be used as in TeX (req'd by Andr�.
14003
14004         * lyxfunc.C: Allow ^ and _ again to be used both as
14005         super/subscript (mathed) and as themselves (in text).
14006
14007 2002-01-03  Allan Rae  <rae@lyx.org>
14008
14009         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14010         "LyX" or the filename of the current buffer if it has one.  This is a
14011         modified form of John Levon's patch.
14012
14013         * XFormsView.C (setWindowTitle): also set icon title.
14014
14015         * LyXView.h (setWindowTitle): signature changed.
14016         * XFormsView.h (setWindowTitle): ditto.
14017
14018 2002-01-02  Juergen Vigna  <jug@sad.it>
14019
14020         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14021
14022 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14023
14024         * screen.C (topCursorVisible): introduce a temp var for
14025         text->cursor.row(), handle the case where this row is null. (kindo
14026         hachish)
14027
14028         * text2.C (setCursor): add a couple of asserts.
14029
14030         * paragraph.h (inset_iterator): add -> operator
14031
14032         * paragraph.[Ch] (autoDeleteInsets): remove member function
14033
14034         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14035         cursor pos correctly and handle inset deletion by itself.
14036         (insertErrors): move iterator declaration out of for expression
14037
14038         * lyxtextclass.C: add <algorithm>
14039
14040         * Makefile.am: added the new files to sources, removed layout.C
14041
14042         * layout.C: removed file
14043
14044         * layout.h: remove LYX_DUMMY_LAYOUT
14045
14046         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14047         layout.
14048
14049         * lyxlayout.[Ch]:
14050         * lyxtextclass.[Ch]:
14051         * lyxtextclasslist.[Ch]: new files
14052
14053         * include order changes to a lot of files, also changes because of
14054         the six new files.
14055
14056 2001-12-27  Juergen Vigna  <jug@sad.it>
14057
14058         * buffer.C (asciiParagraph): more fixes.
14059
14060         * tabular.C (ascii): make ascii export support export of only the
14061         data separated by a column-delimiter.
14062         (ascii): better support for ascii export.
14063
14064         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14065
14066 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14067
14068         * tabular_funcs.C: use a "using std::getline" instead of the
14069         previous fix from Angus (necessary for cxx + lyxstring)
14070
14071 2001-12-24  Juergen Vigna  <jug@sad.it>
14072
14073         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14074
14075         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14076         problems. First check a minipage also if we have some ert-contents
14077         (not only on par->size(), second set the right depth of the paragraph
14078         on the relink to the root-paragraph-list!
14079
14080         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14081         which then did not anymore update the main paragraphs on undo/redo!
14082
14083 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14084
14085         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14086         code. Support all font-changing funcs (even those which are not in
14087         menu currently). Support for reporting font settings in
14088         mathed (disabled until Andre provides a function on mathed's side).
14089
14090         * func_status.h (toggle): small helper function to set toggle
14091         state on a flag.
14092
14093 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14094
14095         * tabular_funcs.C: getline -> std::getline
14096
14097 2001-12-21  Juergen Vigna  <jug@sad.it>
14098
14099         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14100         accessed and could be 0 (I couldn't generate this but it seems
14101         Michael could!).
14102
14103 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14104
14105         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14106         * tabular_funcs.h: here and include iosfwd
14107
14108 2001-12-20  Juergen Vigna  <jug@sad.it>
14109
14110         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14111         inside inset but undo_par was.
14112
14113 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14114
14115         * Thesaurus.C: always include <config.h> in sources.
14116
14117         * Painter.h:
14118         * lyxlookup.h:
14119         * box.h: do not include <config.h> in header files
14120
14121         * text.C (paintLastRow): remove unused variable
14122
14123         * text.C (transformChar):
14124         (insertChar):
14125         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14126
14127         * Painter.C (text):
14128         * font.C (width): rewrite to use uppercase() instead of
14129         islower/toupper.
14130
14131         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14132
14133 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14134
14135         * lyxfind.C: clean up of find failure position change
14136
14137 2001-12-20  Juergen Vigna  <jug@sad.it>
14138
14139         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14140
14141         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14142         (TeXRow): added to LaTeX a single tabular row.
14143         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14144         (Latex): simplified and finally good LT-h/f support.
14145         (various_functions): just small adaptions for LT-h/f support.
14146
14147         * tabular_funcs.[hC]: added and moved here all not classfunctions
14148         of LyXTabular.
14149
14150 2001-12-19  Juergen Vigna  <jug@sad.it>
14151
14152         * tabular.[Ch]: better support for longtabular options (not finished
14153         yet!)
14154
14155 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14156
14157         * text.C (paintLastRow): use the label font instead of the font of
14158         the last character to compute the size of *_BOX. This makes more
14159         sense and avoids a crash with empty paragraphs.
14160         Use Painter::rectangle to draw EMPTY_BOX.
14161
14162 2001-12-19  Juergen Vigna  <jug@sad.it>
14163
14164         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14165         the paragraphs if the replaced paragraph is not the first one!
14166         Tried to delete not used paragraphs but does not work yet so for
14167         now it's inside #ifdef's and by default off!
14168
14169 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14170
14171         * MenuBackend.C: include "lyx_main.h" instead of declaring
14172         lastfiles (actually was declared as LastFiles* instead of a
14173         scoped_ptr).
14174
14175 2001-12-17  Juergen Vigna  <jug@sad.it>
14176
14177         * tabular.C (AppendColumn): applied John's fix
14178
14179 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14180
14181         * BufferView.h:
14182         * BufferView.C:
14183         * BufferView_pimpl.h:
14184         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14185
14186         * Makefile.am:
14187         * box.h: new start of class for above
14188
14189         * lyxfunc.C: ignore space-only minibuffer dispatches.
14190           Show the command name when it doesn't exist
14191
14192         * minibuffer.C: don't add empty lines to the history
14193
14194         * minibuffer.C: add a space on dropdown completion
14195
14196 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14197
14198         * text.C: fix line above/below drawing in insets
14199
14200 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14201
14202         * lyxlength.C (LyXLength): Initialize private variables.
14203
14204 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14205
14206         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14207         when inserting error insets.
14208
14209 2001-12-13  Juergen Vigna  <jug@sad.it>
14210
14211         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14212         actually sometimes the before-paragraph.
14213         (setUndo): don't clear the redostack if we're not actually undoing!
14214
14215 2001-12-06  Juergen Vigna  <jug@sad.it>
14216
14217         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14218         and fixed redoing of main paragraph, so we can use it now ;)
14219
14220         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14221
14222 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14223
14224         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14225         Juergen's request
14226
14227 2001-12-13  André Pönitz <poenitz@gmx.net>
14228
14229         * undostack.[Ch]:
14230         * undo_func.C: minor cleanup
14231
14232 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14233
14234         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14235         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14236         font in urw-fonts package which is marked as -urw-fontspecific and
14237         does not work (incidentally, changing the encoding in the
14238         fonts.dir of this package to -adobe-fontspecific fixes the
14239         problem).
14240
14241         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14242         is a crash when undoing first paragraph (Juergen, please take a
14243         look). THis does not mean the undo fix is wrong, just that it
14244         uncovers problems.
14245
14246         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14247         the (Paragraph*) version when needed instead of duplicating the
14248         code.
14249
14250         * text.C (workWidth): use Inset::parOwner to find out where the
14251         inset has been inserted. This is a huge performance gain for large
14252         documents with lots of insets. If Inset::parOwner is not set, fall
14253         back on the brute force method
14254
14255         * paragraph_pimpl.C (insertInset):
14256         * paragraph.C (Paragraph):
14257         (cutIntoMinibuffer): set parOwner of insets when
14258         inserting/removing them
14259
14260         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14261
14262 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14263
14264         * commandtags.h:
14265         * LyXAction.C:
14266         * lyx_main.C:
14267         * lyxfunc.C:
14268         * mathed/formulabase.C:
14269         * mathed/math_cursor.[Ch]:
14270         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14271
14272
14273 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14274
14275         * lyxlength.[Ch] (operator!=): new function
14276
14277 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14278
14279         * text.C (workWidth): use Inset::parOwner to find out where the
14280         inset has been inserted. This is a huge performance gain for large
14281         documents with lots of insets. If Inset::parOwner is not set, fall
14282         back on the brute force method
14283
14284         * paragraph_pimpl.C (insertInset):
14285         * paragraph.C (Paragraph):
14286         (cutIntoMinibuffer): set parOwner of insets when
14287         inserting/removing them
14288
14289         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14290
14291 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14292
14293         * tabular-old.C (getTokenValue):
14294         * tabular.C (getTokenValue):
14295         (write_attribute): new versions for LyXLength
14296         (everywhere): adjust the use of widths
14297
14298         * tabular.h: change the type of widths from string to LyXLength
14299
14300 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14301
14302         * paragraph.C: fixed missing line number count when exporting
14303         Environments to LaTeX file
14304
14305         * buffer.C: added informational message for checking line numbers.
14306
14307 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14308
14309         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14310         paragraph, do the 'double space' part, but not the 'empty
14311         paragraph' one.
14312
14313         * text.C (workWidth): small optimization
14314         (getLengthMarkerHeight): use minimal size for negative lengths.
14315
14316 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14317
14318         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14319
14320         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14321
14322 2001-12-11  André Pönitz <poenitz@gmx.net>
14323
14324         * FontLoader.C:
14325         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14326
14327 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14328
14329         * text2.C: keep selection on a setFont()
14330
14331 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14332
14333         * lyx_cb.C: another bv->text misuse, from insert label
14334
14335 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14336
14337         * kbsequence.h:
14338         * kbsequence.C: re-instate nmodifier mask
14339
14340 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14341
14342         * lyx_main.h: make lyxGUI private.
14343
14344 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14345
14346         * lyxfind.C: place the cursor correctly on failed search
14347
14348 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14349
14350         * text.C (getLengthMarkerHeight): for small heights, the arrows
14351         are not always on top/bottom of the text
14352         (drawLengthMarker): smaller arrows; take the left margin in
14353         account; draw also vfills.
14354         (paintFirstRow):
14355         (paintLastRow): remove special code for vfill and standard spaces,
14356         since everything is handled in drawLengthMarker now.
14357
14358 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14359
14360         * buffer.C (insertErtContents): try to handle font and language
14361         interaction a bit better.g
14362
14363         * ColorHandler.C (updateColor): change the hash to cover the whole
14364         LColor enum, ws cleanup
14365         (getGCLinepars): ditto
14366         (getGCLinepars): only lookup in the linecache once.
14367
14368 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14369
14370         * iterators.C (operator++): Make the iterator more robust
14371
14372         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14373         (John's patch)
14374         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14375
14376 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14377
14378         * lyxtext.h:
14379         * text.C: better added space drawing
14380
14381 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14382
14383         * LyXView.C:
14384         * BufferView2.C: fix layout combo update on inset unlock
14385
14386 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14387
14388         * Makefile.am: don't compile unused files
14389
14390 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14391
14392         * lyxfunc.C:
14393         * commandtags.h:
14394         * LyXAction.C: remove old LFUN_LAYOUTNO
14395
14396 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14397
14398         * paragraph_pimpl.h:
14399         * paragraph_pimpl.C: isTextAt() doesn't need font param
14400
14401 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14402
14403         * lyxlex.h:
14404         * lyxlex.C: little cleanup
14405
14406 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14407
14408         * BufferView_pimpl.C: fix insertAscii for insets
14409
14410 2001-12-05  Juergen Vigna  <jug@sad.it>
14411
14412         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14413         set the right font on the "multi" paragraph paste!
14414
14415 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14416
14417         * trans_decl.h:
14418         * trans_mgr.[Ch]:
14419         * trans.[Ch]:
14420         * lyxgluelength.C:
14421         * lyxlength.C: remove out-commented code.
14422
14423         * BufferView_pimpl:
14424         * CutAndPaste.C:
14425         * DepTable.C:
14426         * buffer.C:
14427         * chset.C:
14428         * lastfiles.C:
14429         * lyxlex.C:
14430         * lyxlex_pimpl.C:
14431         * lyxserver.C:
14432         * screen.C:
14433         * tabular-old.C:
14434         * tabular.C:
14435         * text.C:
14436         * trans_mgr.C:
14437         * vc-backend.C: change "while(" to "while ("
14438
14439         * lyxlength.[Ch]: add zero function to check if length is zero or
14440         not
14441         * lyxgluelength.C: use it
14442
14443 2001-12-05  Allan Rae  <rae@lyx.org>
14444
14445         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14446         Works for 2.95.3, from what I understand of Garst's reports this should
14447         work for other g++ versions.  We're screwed if the abs(int) definition
14448         changed between bugfix releases of gcc.
14449
14450 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14451
14452         * text.C: fix chapter label offset !
14453
14454 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14455
14456         * lyxtext.h:
14457         * text.C: fix hfill at end of line, clean up
14458
14459 2001-12-04  Juergen Vigna  <jug@sad.it>
14460
14461         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14462         that we force an update of the inset and it's owners if neccessary.
14463
14464 2001-12-03  Juergen Vigna  <jug@sad.it>
14465
14466         * text.C (rowLast): simplified code
14467
14468 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14469
14470         * lyxfunc.C: fix show options on timeout
14471
14472 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14473
14474         * screen.C (topCursorVisible): scroll half a page when the cursor
14475         reached top of bottom of screen
14476
14477 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14478
14479         * minibuffer.C: deactivate on loss of focus
14480
14481 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14482
14483         * vspace.[Ch] (operator!=): add operator.
14484
14485 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14486
14487         * BufferView_pimpl.C: refuse to open an inset when
14488         there's a selection.
14489
14490 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14491
14492         * BufferView_pimpl.C: allow to click on RHS of full row insets
14493
14494 2001-11-30  Juergen Vigna  <jug@sad.it>
14495
14496         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14497         insets for undo reasons.
14498
14499 2001-11-28  André Pönitz <poenitz@gmx.net>
14500
14501         * vspace.[Ch]: cosmetical changes
14502
14503 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14504
14505         * LyXAction.h:
14506         * LyXAction.C:
14507         * lyxfunc.h:
14508         * lyxfunc.C:
14509         * kbmap.h:
14510         * kbmap.C:
14511         * lyxrc.C:
14512         * kbsequence.h:
14513         * kbsequence.C: part re-write of old kb code
14514
14515         * Painter.C:
14516         * WorkArea.C: remove Lgb_bug_find_hack
14517
14518 2001-11-30  José Matos <jamatos@fep.up.pt>
14519
14520         * buffer.C (makeDocBookFile): add a comment to point a hack.
14521         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14522         Fixed a double write of labels.
14523
14524 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14525
14526         * LaTeX.C:
14527         * LaTeX.h Fixed bug in LaTeX class where it would not
14528         re-run latex if no depfiles were changed, but the .dvi was removed.
14529
14530 2001-11-28  André Pönitz <poenitz@gmx.net>
14531
14532         * all the files from the change on 2001/11/26:
14533         use lyx::layout_type instead of LyXTextClass::size_type
14534         use lyx::textclass_type instead of LyXTextClassList::size_type
14535
14536 2001-11-29  Juergen Vigna  <jug@sad.it>
14537
14538         * text.C: added support for paragraph::isFreeSpacing()
14539
14540         * buffer.C: same as above
14541
14542         * paragraph.h: inserted isFreeSpacing() function to enable
14543         FreeSpacing inside InsetERT.
14544
14545         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14546         of the paragraph's in the cut/copy buffer to 0!
14547
14548         * text2.C (removeRow): remove the assert as it can!
14549
14550         * lyxtext.h: added helper function firstRow returning firstrow and
14551         made firstrow private again.
14552
14553         * BufferView2.C (lockInset): don't relock if we're already locked!
14554
14555         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14556         the only paragraph.
14557         (removeRow): added Assert::(firstrow)
14558
14559         * debug.C: forgot to add INSETTEXT here.
14560
14561 2001-11-28  Juergen Vigna  <jug@sad.it>
14562
14563         * sp_spell.C (initialize): changed error text to more general
14564         spellchecker command use (not only ispell!)
14565
14566         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14567
14568         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14569
14570 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14571
14572         * vspace.C: initialise lyxgluelength on failure
14573
14574 2001-11-28  Allan Rae  <rae@lyx.org>
14575
14576         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14577         declaration & definition that looks like a function declaration.
14578
14579 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14580
14581         * BufferView2.C (copy):
14582         (copyEnvironment): do not clear the selection when doing a copy.
14583
14584         * text.C (paintFirstRow): compilation fix
14585
14586 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14587
14588         * tabular.C (Latex): correct line count when writing latex.
14589
14590 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14591
14592         * paragraph_pimpl.h:
14593         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14594           bug a bit
14595
14596 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14597
14598         * text.C:
14599         * LColor.h:
14600         * LColor.C: change vfillline->added_space
14601
14602         * text.C: add markers and text for added space
14603
14604         * vspace.C: fix comment
14605
14606 2001-11-28  André Pönitz <poenitz@gmx.net>
14607
14608         * paragraph.C: whitespace changes
14609         * all the other files from the change on 2001/11/26:
14610         change *::pos_type into lyx::pos_type
14611
14612 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14613
14614         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14615         language of the document when inserting error insets.
14616
14617 2001-11-26  André Pönitz <poenitz@gmx.net>
14618
14619         * BufferView_pimpl.[Ch]:
14620         *       CutAndPaste.C:
14621         * buffer.[Ch]:
14622         * lyxcursor.[Ch]:
14623         * lyxfind.C:
14624         * lyxfunc.C:
14625         * lyxrow.[Ch]:
14626         * paragraph.[Ch]:
14627         * paragraph_pimpl.[Ch]:
14628         * sp_spell.C:
14629         * text.C:
14630         * text2.C: reduce header dependencies, introduce type for positions
14631
14632 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14633
14634         * <various>: change to use Alert.h
14635
14636 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14637
14638         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14639         when encountering an unknown token.
14640         (readLyXformat2): Show an error message if there were unknown tokens.
14641
14642 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14643
14644         * BufferView2.C:
14645         * BufferView_pimpl.C:
14646         * buffer.C:
14647         * paragraph.h:
14648         * text.C:
14649         * text2.C: use par->isInset()
14650
14651 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14652
14653         * paragraph_pimpl.h:
14654         * paragraph_pimpl.C: cleanup
14655
14656 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14657
14658         * text2.C (removeRow):
14659         * text.C (setHeightOfRow): remove useless (and costly) call to
14660         getRow.
14661
14662 2001-11-20  Allan Rae  <rae@lyx.org>
14663
14664         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14665         Now need Inset*::checkInsertChar() to return true for appropriate
14666         cases so that the characters in the minibuffer will actually be
14667         inserted.
14668
14669 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14670
14671         * text.C: change the order of the includes.
14672         (workWidth): initialize it at once.
14673         (workWidth): make maxw unsigned
14674         (setHeightOfRow): remove unused variable (inset)
14675         (selectSelectedWord): remove unused variable (inset)
14676         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14677
14678 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14679
14680         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14681         server is not running.
14682         (openConnection):
14683         (closeConnection): add debug info when server is disabled.
14684
14685         * ColorHandler.C (getGCForeground): send debug message to GUI
14686         channel.
14687
14688         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14689
14690         * kbmap.C (bind): modify because return conventions of
14691         kb_sequence::parse have changed.
14692
14693         * kbsequence.C (parse): only ignore spaces and not any stupid
14694         control character. This avoids tests like s[i] <= ' ', which are
14695         guaranteed to fail with 8bit characters and signed chars.
14696         Change return code to string::npos when there have been no error
14697         (0 was a bad idea when error is at first character)
14698
14699 2001-11-14  José Matos  <jamatos@fep.up.pt>
14700
14701         * buffer.h:
14702         * buffer.C (simpleDocBookOnePar): removed unused argument.
14703
14704 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14705
14706         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14707         insets which are part of a word. Paragraph::isLetter takes care of
14708         that now. Use Paragraph::isInset to identify insets.
14709         (selectSelectedWord): do not test for hyphenation break.
14710
14711         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14712         that protected spaces are considered as spaces.
14713
14714         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14715         Inset::isLetter.
14716
14717 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14718
14719         * lyxserver.h:
14720         * lyxserver.C: fix it. and small cleanup.
14721
14722 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14723
14724         * BufferView_pimpl.C: use inline helpers
14725
14726         * LaTeXFeatures.h:
14727         * LaTeXFeatures.C: fix typos
14728
14729         * Spacing.h:
14730         * Spacing.C: move spacing_string into class
14731
14732         * ToolbarDefaults.C: move stuff into namespace anon
14733
14734         * layout.h: update enum
14735
14736         * lyxfunc.C: use better debug
14737
14738         * minibuffer.h: fix typo
14739
14740         * debug.h:
14741         * debug.C:
14742         * WorkArea.C: add and use Debug::WORKAREA
14743
14744         * lyxtext.h:
14745         * text.C:
14746         * text2.C: code re-organisation, inline helpers
14747
14748 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14749
14750         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14751         std::vector.empty().
14752
14753 2001-11-09  Allan Rae  <rae@lyx.org>
14754
14755         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14756         '\n's after tables.  Tabular and ERT inset work now makes this no
14757         longer necessary.
14758
14759 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14760
14761         * minibuffer.h:
14762         * minibuffer.C: fix crash, improve drop-down completion
14763
14764 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14765
14766         * lyxserver.h:
14767         * lyxserver.C: invalidate fd's when doing endPipe()
14768
14769 2001-11-08  José Matos  <jamatos@fep.up.pt>
14770
14771         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14772         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14773
14774         * paragraph.h:
14775         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14776
14777 2001-11-07  José Matos  <jamatos@fep.up.pt>
14778
14779         * buffer.h:
14780         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14781         const qualifier.
14782
14783         * buffer.C (sgmlOpenTag):
14784         * buffer.C (sgmlCloseTag): removed debug info.
14785
14786         * buffer.h (sgmlOpenTag):
14787         * buffer.h (sgmlCloseTag): made public.
14788
14789 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14790
14791         * buffer.C (saveParamsAsDefaults):
14792         * lyx_cb.C (MenuLayoutSave): remove
14793
14794         * LyXAction.C (init):
14795         * commandtags.h:
14796         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14797
14798 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14799
14800         * buffer.C (setPaperStuff): removed from here...
14801
14802         * bufferparams.C (setPaperStuff): ... and moved there.
14803
14804 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14805
14806         * minibuffer.h:
14807         * minibuffer.C:
14808         * XFormsView.C: add support for drop-down completion
14809
14810 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14811
14812         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14813         commands.
14814
14815 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14816
14817         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14818         disabled.
14819
14820 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14821
14822         * lyx_main.C: change ref to known bugs
14823
14824 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14825
14826         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14827         to work around older babel problems.
14828
14829 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14830
14831         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14832
14833 2001-10-24  Juergen Vigna  <jug@sad.it>
14834
14835         * tabular-old.C (ReadOld): below variable changes reflected.
14836
14837         * tabular.[Ch]: added ltType struct for longtable header/footer
14838         defines and changed all instances where they are used. Added
14839         future support for double top/bottom rows.
14840
14841 2001-10-24  José Matos  <jamatos@fep.up.pt>
14842
14843         * buffer.h (docbookHandleCaption):
14844         * buffer.C (docbookHandleCaption): removed unused function.
14845         (makeDocBookFile): moved docbook supported version to v4.1.
14846
14847 2001-10-24  José Matos  <jamatos@fep.up.pt>
14848
14849         * tabular.h:
14850         * tabular.C (docbookRow): new function to export docbook code of a row.
14851         (DocBook): now honors the longtable flags.
14852
14853 2001-10-23  José Matos  <jamatos@fep.up.pt>
14854
14855         * LaTeXFeatures.h:
14856         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14857         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14858
14859         * buffer.C (makeLinuxDocFile):
14860         (makeDocBookFile): reworked the preamble, more clean, and with
14861         support for lyx defined entities. Changed the document declaration
14862         to be more XML friendly.
14863
14864         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14865         if we need to output XML that should be done with a filter.
14866
14867 2001-10-22  Juergen Vigna  <jug@sad.it>
14868
14869         * sp_pspell.h (class PSpell): add alive function needed in the
14870         controller to see if the spellchecker could be started.
14871
14872 2001-10-22  Juergen Vigna  <jug@sad.it>
14873
14874         * buffer.C (insertStringAsLines): modify the font for inserting
14875         chars in certain conditions by calling checkInsertChar(font).
14876
14877 2001-10-19  Juergen Vigna  <jug@sad.it>
14878
14879         * text.C (workWidth): use getRow instead of wrong algorithm.
14880         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14881
14882 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14883
14884         * lyxserver.h:
14885         * lyxserver.C:
14886         * lyx_main.h:
14887         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14888
14889 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14890
14891         * text.C (workWidth): do not search for the exact row when
14892         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14893         optimization for big documents.
14894
14895 2001-10-18  Juergen Vigna  <jug@sad.it>
14896
14897         * text.C (workWidth): new function with added Inset * parameter.
14898
14899 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14900
14901         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14902
14903         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14904         change return type of getColumnNearX.
14905
14906
14907         * text.C (changeRegionCase): use uppercase/lowercase instead of
14908         toupper/tolower.
14909         (leftMargin):
14910         (rightMargin): simplify code by factoring out the uses of
14911         textclasslist.
14912         (labelFill):
14913         (numberOfHfills):
14914         (setHeightOfRow):
14915         (appendParagraph): use Paragraph::size_type
14916
14917 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14918
14919         * vspace.C (asLatexString): add a missing break
14920
14921 2001-10-15  Herbert Voss  <voss@perce.de>
14922
14923         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14924
14925 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14926
14927         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14928         is not available.
14929
14930 2001-10-10  André Pönitz <poenitz@gmx.net>
14931
14932         * lyxfunc.C: removed greek_kb_flag.
14933
14934 2001-10-10  Herbert Voss  <voss@perce.de>
14935
14936         * lyx_main.C: delete global string help_lyxdir.
14937
14938 2001-10-09  Herbert Voss  <voss@perce.de>
14939
14940         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14941
14942         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14943
14944         * lyx_main.C: added global string help_lyxdir.
14945
14946         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14947
14948 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14949
14950         * lyxrc.C (set_font_norm_type): support iso8859-4
14951
14952 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14953
14954         * LaTeX.C (deplog): add another regex for MikTeX
14955
14956 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14957
14958         * lyxrc.C (set_font_norm_type): support iso8859-3
14959
14960 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14961
14962         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14963
14964         * LaTeXFeatures.C: remove special case of french and index
14965
14966         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14967         before \begin{document}). This solves several incompatibilities.
14968
14969 2001-10-03  Garst Reese  <reese@isn.net>
14970
14971         * lyx_cb.C: change CheckTex error msg.
14972
14973 2001-10-03  José Matos  <jamatos@fep.up.pt>
14974
14975         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14976
14977 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14978
14979         * .cvsignore: update
14980
14981         * lyx_main.C (commandLineVersionInfo): use new style version info.
14982
14983         * buffer.C (writeFile):
14984         (makeLaTeXFile):
14985         (makeLinuxDocFile):
14986         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14987
14988         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14989
14990         * version.h: update to use stuff in version.C
14991
14992         * version.C.in: new file. Contains version information determined
14993         at compile time. This is a merging of version.h and
14994         version_info.h.in.
14995
14996 2001-10-03  Juergen Vigna  <jug@sad.it>
14997
14998         * BufferView_pimpl.C (update): don't change "dirty" status in
14999         updateInset call.
15000
15001 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15002
15003         * WorkArea.C (c-tor): re-position version string slightly.
15004
15005 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15006
15007         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15008         revert to previous code.
15009
15010         WorkArea.[Ch]: (show, destroySplash): methods removed.
15011
15012         WorkArea.C: rework code so that it's an amalgam of the codes before and
15013         after the splash screen was moved to WorkArea.
15014
15015 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15016
15017         * lyxrc.C (read):
15018         * vspace.C (inPixels):
15019         (lyx_advance):
15020         * kbmap.C (bind):
15021         * buffer.C (insertStringAsLines):
15022         (asciiParagraph): fix types to be large enough
15023
15024         * lyxlex_pimpl.h: change member status from short to int
15025
15026         * layout.h: fix type of endlabeltype
15027
15028         * kbmap.C (bind):
15029         * kbsequence.C (parse): change return type to string::size_type
15030
15031         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15032         variable
15033
15034         * Bullet.C (bulletSize):
15035         (bulletEntry): do not use short ints as parameters
15036
15037         * BufferView2.C (insertLyXFile): change a char to an int.
15038
15039         * WorkArea.C (WorkArea): remove unneeded floats in computation
15040
15041 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15042
15043         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15044
15045         * paragraph.C (asString): Do not ignore newline/hfill chars when
15046         copying to the clipboard.
15047
15048 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15049
15050         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15051         after a multi-line inset.
15052
15053 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15054
15055         * paragraph.C (validate): Set NeedLyXFootnoteCode
15056
15057 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15058
15059         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15060         and decrease-error to decrease.
15061
15062 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15063
15064         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15065         it more readable (should be equivalent)
15066
15067 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15068
15069         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15070
15071 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15072
15073         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15074         of a cursor (row, etc.) after a character has been deleted
15075         (deleteEmptyParagraphMechanism): call the method above on _all_
15076         cursors held by the LyXText when a double space has been
15077         detected/deleted.
15078
15079 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15080
15081         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15082         pixmap.
15083         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15084
15085         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15086         background. Use greyOut() and the new show() methods to toggle between
15087         the foreground and background. Add code to remove the splash after
15088         its initial showing.
15089
15090         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15091         (create_forms): no longer call Dialogs::showSplash.
15092
15093 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15094
15095         * .cvsignore: add version_info.h
15096
15097 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15098
15099         * version_info.h.in: new file
15100
15101         * Makefile.am: add version_info.h.in
15102
15103         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15104         version_info.h instead of VERSION_INFO
15105
15106 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15107
15108         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15109         The ERT inset now returns string().
15110
15111 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15112
15113         * lyxtext.h, text.C (selectNextWord): renamed as
15114         selectNextWordToSpellcheck.
15115
15116         * text.C (selectNextWordToSpellcheck): Modified to not select
15117         words inside an ERT inset.
15118
15119 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15120
15121         * lyx_cb.C (MenuLayoutSave): change a bit the question
15122
15123         * sp_base.h: include <sys/types.h>
15124
15125 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15126
15127         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15128
15129 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15130
15131         * several files: fix typos in user-visible strings
15132
15133 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15134
15135         * text2.C (pasteSelection): do not set the selection, since it
15136         will be cleared later. Actually, the intent was to fix the way the
15137         selection was set, but I figured rmoving the code was just as good.
15138
15139 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15140
15141         * FontLoader.C (available): Check if font is available without
15142         loading the font.
15143
15144 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15145
15146         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15147
15148 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15149
15150         * lyxrc.[Ch]: added display_graphics variable and associated code.
15151
15152 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15153
15154         * bufferparams.C (hasClassDefaults): new method. Returns true if
15155         the buffer parameters correspond to known class defaults
15156
15157 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15158
15159         * XFormsView.C (show): set minimum size to the main window.
15160
15161 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15162
15163         * text2.C (copySelection):
15164         (cutSelection):
15165         * lyxfind.C (LyXReplace):
15166         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15167         LyXText::selectionAsString.
15168
15169         * paragraph.C (asString): add "label" argument to the second form
15170
15171         * text2.C (selectionAsString): add "label" argument and pass it to
15172         Paragraph::asString.
15173
15174 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15175
15176         * lyx_main.C (commandLineHelp): remove version information
15177
15178 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15179
15180         * lyx_main.C: add -version commandline option
15181
15182 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15183
15184         * paragraph.h: make the optional constructor arg required instead.
15185         some modifications to other files because of this.
15186
15187         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15188
15189         * lyxserver.C (C_LyXComm_callback): make it static
15190
15191         * lyx_main.C (error_handler): make it static
15192
15193         * lyx_gui.C (LyX_XErrHandler): make it static
15194
15195         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15196
15197         * WorkArea.C: make the extern "C" methods static.
15198
15199         * Makefile.am (lyx_LDADD): simplify
15200
15201 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15202
15203         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15204         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15205
15206         * LyXAction.C (init):
15207         * lyxfunc.C (dispatch): associated code removal.
15208
15209 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15210
15211         * lyxfont.h (isSymbolFont): shut off warning
15212
15213         * text.C (setHeightOfRow):
15214         (getVisibleRow): fix crash with empty paragraphs which have a
15215         bottom line
15216
15217 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15218
15219         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15220         code.
15221
15222 2001-09-04  José Matos  <jamatos@fep.up.pt>
15223         * buffer.C
15224         * buffer.h
15225         * tabular.C (docbook): rename docBook method to docbook.
15226
15227 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15228
15229         * Makefile.am: add dependencies to main.o.
15230
15231 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15232
15233         * FontLoader.C (available): Return false if !lyxrc.use_gui
15234
15235 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15236
15237         * FontInfo.C (query):
15238         * converter.C (view):
15239         * importer.C (Import):
15240         * exporter.C (Export): Can not -> cannot.
15241
15242 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15243
15244         * BufferView_pimpl.C: allow to create index inset even if
15245           string is empty
15246
15247 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15248
15249         * buffer.C (getLists): replace boost::tie code with an explicit pair
15250         as boost::tie can break some compilers.
15251
15252         * iterators.h: Added a std:: declaration to the return type of
15253         ParIterator::size.
15254
15255 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15256
15257         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15258           case.
15259
15260 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15261
15262         * iterators.[Ch]: New files. Provide paragraph iterators.
15263
15264         * buffer.C (changeLanguage): Use paragraph iterators.
15265         (isMultiLingual): ditto
15266
15267         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15268
15269 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15270
15271         * FontLoader.C: Support for cmr font.
15272
15273 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15274
15275         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15276         (available): New method.
15277
15278         * FontInfo.C (getFontname): Use scalable fonts even when
15279         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15280         found.
15281
15282 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15283
15284         * converter.C (Formats::view): reverted! Incorrect fix.
15285
15286 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15287
15288         * converter.C (Formats::view): only output the -paper option
15289         if the dvi viewer is xdvi, thereby fixing bug #233429.
15290
15291 2001-08-23  Herbert Voss  <voss@perce>
15292
15293         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15294
15295 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15296
15297         * Spacing.h (Spacing): Set space to Default on in the default
15298         constructor.
15299
15300 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15301
15302         * vc-backend.h (RCS::versionString): add RCS to version
15303         (CVS::versionString): add CVS to version
15304
15305         * vc-backend.C (scanMaster): do not add CVS to version.
15306         (scanMaster): do not add RCS to version
15307
15308         * lyxvc.C (versionString): new method
15309
15310         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15311
15312 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15313
15314         * Spacing.C (set): initialize fval
15315
15316 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15317
15318         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15319         " or \.
15320
15321 2001-08-16  Juergen Vigna  <jug@sad.it>
15322
15323         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15324
15325 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15326
15327         * BufferView_pimpl.C:
15328         * figureForm.C:
15329         * lyxtext.h:
15330         * text2.C: setParagraph takes linespacing now
15331
15332 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15333
15334         * LyxAction.C: add internal LFUN_CITATION_INSERT
15335
15336         * LyXView.C: actually apply fix
15337
15338         * bufferlist.C: fix open non-existent file
15339
15340         * lyxfind.C: fix indentation
15341
15342         * lyxfunc.C: remove unneeded assert, fix typo
15343
15344 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15345
15346         * MenuBackend.C: use "Floatname List"
15347
15348 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15349
15350         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15351         when converting LaTeX layout to insetERT.
15352         Generate a non-collapsed float when reading old float
15353
15354 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15355
15356         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15357         ERT insets.
15358
15359 2001-08-13  Juergen Vigna  <jug@sad.it>
15360
15361         * text.C (fill): return 0 instead of 20 as this seems to be the more
15362         correct value.
15363
15364 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15365
15366         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15367         lyxrc.font_norm.
15368
15369 2001-08-13  Juergen Vigna  <jug@sad.it>
15370
15371         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15372         casesensitive off.
15373         (SearchBackward): comment out the unlocking of the inset_owner this
15374         should not be needed!
15375
15376 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15377
15378         * Many files: Remove inherit_language, and add latex_language
15379
15380         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15381         collapsible insets.
15382
15383 2001-08-10  Juergen Vigna  <jug@sad.it>
15384
15385         * text.C (prepareToPrint): fixed hfill-width in draw!
15386
15387         * BufferView2.C (selectLastWord): save the selection cursor as this
15388         now is cleared in the function LyXText::clearSelection!
15389
15390 2001-08-08  Juergen Vigna  <jug@sad.it>
15391
15392         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15393         BACKSPACE type functions.
15394
15395         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15396         is only cutted from the document but not put in the cut-buffer, where
15397         still the old stuff should be.
15398
15399         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15400
15401         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15402
15403         * tabular.C (SetWidthOfCell): fixed special case where the width
15404         was not updated!
15405         (LeftLine): handle '|' in align_special.
15406         (RightLine): ditto
15407         (LeftAlreadyDrawed): ditto
15408         (SetWidthOfCell): ditto
15409
15410 2001-08-07  Juergen Vigna  <jug@sad.it>
15411
15412         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15413
15414 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15415
15416         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15417         * lyxlex.[hC]: ditto
15418
15419 2001-08-06  Juergen Vigna  <jug@sad.it>
15420
15421         * text.C (getVisibleRow): fix up row clearing a bit.
15422
15423 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15424
15425         * minibuffer.C: make sure the X server sees the changes in the input.
15426
15427 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15428
15429         * paragraph.C (getFont): split into...
15430         (getLabelFont): this
15431         (getLayoutFont): and this
15432         * paragraph_pimpl.C (realizeFont): calling this
15433
15434         * text2.C (getFont): split into...
15435         (getLayoutFont): this
15436         (getLabelFont): and this
15437         (realizeFont): all three calling this
15438
15439         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15440         files where used.
15441
15442 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15443
15444         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15445
15446 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15447
15448         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15449         layouts from the Quote inset insertion.
15450
15451 2001-08-03  Juergen Vigna  <jug@sad.it>
15452
15453         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15454
15455         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15456         only if status not is already CHANGED_IN_DRAW (second level).
15457
15458         * text.C (draw): don't set the need_break_row when inside an
15459         InsetText LyXText.
15460
15461 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15462
15463         * buffer.C (parseSingleLyXformat2Token): handle more latex
15464         conversion cases.
15465
15466         * bufferview_funcs.[hC]: change function names to
15467         begin with small char, adjust other files.
15468
15469 2001-08-02  André Pönitz <poenitz@gmx.net>
15470
15471         * lyxfunc.C:
15472         BufferView_pimpl.C: remove broken special code for math-greek
15473
15474 2001-08-02  Juergen Vigna  <jug@sad.it>
15475
15476         * BufferView_pimpl.C (update): redone this function so that we
15477         update the text again if there was a CHANGE_IN_DRAW.
15478
15479         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15480         (drawFromTo): added a new internal bool which is used by draw() and
15481         redraw() function.
15482         (general): some cursor drawing problems fixed.
15483
15484 2001-08-01  Juergen Vigna  <jug@sad.it>
15485
15486         * lyxfind.C (LyXFind): fixed
15487         (SearchForward): ditto
15488         (SearchBackward): ditto
15489
15490         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15491         spurius drawing of the cursor in the main area.
15492
15493         * text2.C (status): small fix which could lead to a segfault!
15494         (clearSelection): remove unneeded BufferView param.
15495
15496 2001-08-01  André Pönitz <poenitz@gmx.net>
15497
15498         * lyxfunc.C: small change due to changed mathed interface
15499
15500 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15501
15502         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15503
15504 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15505
15506         * lyxfunc.c: fail gracefully if file doesn't exist
15507
15508         * LyXSendto.C:
15509         * buffer.C:
15510         * lyxfunc.C:
15511         * BufferView_pimpl.C: IsDirWriteable() proto changed
15512
15513         * LyXView.C: fix updateWindowTitle() to store the last title
15514
15515 2001-07-31  Juergen Vigna  <jug@sad.it>
15516
15517         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15518         the font (wrong since using of Paragraph::highestFontInRange).
15519
15520         * paragraph.C (highestFontInRange): added a default_size parameter.
15521
15522         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15523         (setHeightOfRow): reformat
15524
15525 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15526
15527         * converter.[hC] + affected files: move to (inital-char)lowercase
15528         function names.
15529
15530         * ParagraphParameters.C (ParagraphParameters): remove commented code
15531
15532         * PainterBase.[Ch]: remove commented code
15533
15534         * LaTeXFeatures.h: add "bool floats" for float.sty
15535
15536         * LaTeXFeatures.C (LaTeXFeatures): init floats
15537         (require): handle float
15538         (getPackages): do it with floats
15539
15540 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15541
15542         * BufferView_pimpl.C (Dispatch): improve handling of
15543         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15544
15545         * commandtags.h: #include lyxfont.h here temporarily to avoid
15546         keybinding bug.
15547
15548         * bufferlist.h: include LString.h here.
15549
15550 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15551
15552         * text2.C (getStringToIndex): new method.
15553
15554 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15555
15556         * *: Reduced header file dependencies all over.
15557
15558 2001-07-30  Baruch Even  <baruch@lyx.org>
15559
15560         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15561
15562 2001-07-29  Baruch Even  <baruch@lyx.org>
15563
15564         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15565
15566 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15567
15568         * ParameterStruct.h (endif): add a default constructor to make
15569         sure that all variables is initialized.
15570
15571         * ParagraphParameters.C (ParagraphParameters): adjust
15572
15573 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15574
15575         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15576         index; also, check that there is something to index, and that it
15577         does not span over several paragraphs.
15578         (doubleClick): use WHOLE_WORD_STRICT for double click.
15579
15580         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15581
15582         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15583         scheme.
15584
15585 2001-07-26  Baruch Even  <baruch@lyx.org>
15586
15587         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15588         an InsetFig figure, backwards compatible reading of old figure code.
15589
15590 2001-07-27  Juergen Vigna  <jug@sad.it>
15591
15592         * text2.C: font.realize function adaption.
15593
15594         * text.C (draw): add a warnings lyxerr text if needed.
15595
15596         * layout.C: font.realize function adaption.
15597
15598         * language.C: add inherit_language and implement it's handlings
15599
15600         * bufferview_funcs.C (StyleReset): remove language parameter from
15601         font creation (should be language_inherit now).
15602
15603         * bufferparams.C (writeFile): handle ignore_language.
15604
15605         * paragraph.C (getFontSettings): the language has to be resolved
15606         otherwise we have problems in LyXFont!
15607
15608         * lyxfont.C (lyxWriteChanges): added document_language parameter
15609         (update): removed unneeded language parameter
15610
15611         * paragraph.C (validate): fixed wrong output of color-package when
15612         using interface colors for certain fonts in certain environments,
15613         which should not seen as that on the final output.
15614
15615 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15616
15617         * BufferView_pimpl.C:
15618         * Thesaurus.h:
15619         * Thesaurus.C:
15620         * Makefile.am:
15621         * commandtags.h:
15622         * LyXAction.C: add thesaurus support
15623
15624         * lyxfind.h:
15625         * lyxfind.C: add "once" parameter, for thesaurus, to not
15626           move to the next match
15627
15628 2001-07-26  Juergen Vigna  <jug@sad.it>
15629
15630         * lyxfont.C (realize): honor ignore_language too!
15631         (resolved): ditto.
15632
15633         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15634
15635         * text.C (draw): one place more for ignore_language to not draw
15636         itself!
15637
15638 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15639
15640         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15641
15642 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15643
15644         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15645         the minipage conversion problem.
15646
15647 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15648
15649         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15650         insert an inset.
15651
15652 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15653
15654         * BufferView.h: don't forward declare WorkArea
15655
15656         * BufferView.C: don't include WorkArea.h
15657
15658 2001-07-25  André Pönitz <poenitz@gmx.net>
15659
15660         * commandtags.h:
15661         * LyXAction.C:
15662         * lyxfunc.C:  new LFUN 'math-space'
15663
15664         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15665
15666 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15667
15668         * text2.C (toggleInset): call open/close
15669
15670 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15671
15672         * lyxfunc.C (dispatch): add debug for the disabled case
15673
15674         * font.C (buttonText): make similar to rectText
15675
15676         * buffer.C (readInset): comment out parsing of insetlist and
15677         insttheorem
15678
15679         * PainterBase.C (rectText): small correction
15680
15681         * BufferView_pimpl.C: comment out insettheorem and insetlist
15682         * LyXAction.C: ditto
15683         * commandtags.h: ditto
15684
15685 2001-07-24  Juergen Vigna  <jug@sad.it>
15686
15687         * text.C (draw): honor the ignore_language.
15688
15689         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15690
15691 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15692
15693         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15694         char inset.
15695
15696 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15697
15698         * lyxtext.h: remove unused (and unimplemented) methods
15699
15700 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15701
15702         * text.C (getVisibleRow): honor background color
15703
15704         * PainterBase.h:
15705         * Painter.h: remove default color argument for fillRectangle
15706
15707         * text.C (backgroundColor): new method
15708
15709 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15710
15711         * text.C (getVisibleRow): adjust
15712
15713         * font.[Ch] (rectText): new method, metrics
15714         (buttonText): new method, metrics
15715
15716         * PainterBase.[hC]: make rectText and buttonText always draw and take
15717         fewer paramteres.
15718
15719 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15720
15721         * ToolbarDefaults.C (read):
15722         * MenuBackend.C (read): allow escaping in all strings
15723
15724         * BufferView_pimpl.C (insertAndEditInset): new method.
15725         (Dispatch): use insertAndEditInset whenever appropriate.
15726
15727         * BufferView_pimpl.C (insertNote): removed
15728
15729         * BufferView_pimpl.C (smartQuote): new method, moved from
15730         BufferView; if an insetquote cannot be inserted, insert a '"'
15731         character instead.
15732
15733         * BufferView2.C: remove insertCorrectQuote();
15734
15735         * lyxfunc.C (getStatus): Add support for all remaingin
15736         inset-insert lfuns.
15737
15738         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15739
15740         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15741         command (necessary to pass " as parameter of self-insert.
15742
15743         * text.C (selectWordWhenUnderCursor):
15744         (selectWord): add word_location parameter
15745         (selectWordWhenUnderCursor): same + remove special code for word
15746         boundary.
15747         (selectNextWord): use kind() to guess type of insetspecialchar,
15748         not latex().
15749
15750         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15751         (insertErtContents): create ert insets as collapsed.
15752         (readInset): better compatibility code for Info inset.
15753
15754 2001-07-20  Juergen Vigna  <jug@sad.it>
15755
15756         * lyxfunc.C (dispatch): use always LyXFind now!
15757
15758         * text2.C (init): add a reinit flag so that the LyXText can be
15759         reinited instead of deleted and reallocated (used in InsetText).
15760
15761         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15762
15763         * text.C: ditto
15764
15765         * text2.C: ditto
15766
15767 2001-07-18  Juergen Vigna  <jug@sad.it>
15768
15769         * text.C (selectNextWord): handle insets inside inset by calling
15770         always the bv->text functions so that we can go up the_locking_inset!
15771
15772         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15773         in strange locations when inside an inset!
15774
15775         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15776         handling to include insets.
15777
15778         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15779
15780 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15781
15782         * LyXAction.C (init):
15783         * commandtags.h:
15784         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15785         LIGATURE_BREAK, since the name is so stupid.
15786
15787 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15788
15789         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15790         InsetInfos.
15791
15792         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15793
15794         * sp_form.[Ch]: remove.
15795
15796         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15797
15798         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15799         InsetInfo.
15800
15801         * src/buffer.C (readInset): ditto.
15802
15803 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15804
15805         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15806         menuSeparator(), endOfSentenceDot(), ldots() and
15807         hyphenationPoint(), which are therefore removed.
15808         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15809
15810         * LyXAction.C (init):
15811         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15812
15813         * paragraph.C (getWord): removed.
15814
15815         * BufferView_pimpl.C (Dispatch): use last word or selection for
15816         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15817
15818         * lyx_main.C (queryUserLyXDir): do not ask before creating
15819         user_dir, except if it has been named explicitely.
15820
15821 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15822
15823         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15824         a document of zero size.
15825
15826 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15827
15828         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15829         approriately in the c-tor and in require().
15830         (getPackages): output the appropriate LaTeX for natbib support.
15831
15832         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15833         variables "use_natbib" and "use_numerical_citations" when reading the
15834         LyX file.
15835         (readInset): read the various natbib cite commands.
15836         (validate): white-space change.
15837
15838         * bufferparams.[Ch]: new variables "bool use_natbib" and
15839         "bool use_numerical_citations".
15840         (writeFile): output them in the LyX file.
15841
15842 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15843
15844         * lyxfunc.C (getStatus): add support for all the inset insertion
15845         commands.
15846
15847         * text2.C (insertInset):
15848         * paragraph.C (insetAllowed):
15849         * BufferView_pimpl.C (insertInset): update to take in account the
15850         renaming of insertInsetAllowed
15851
15852         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15853
15854         * text2.C (getInset): new method. returns inset at cursor position.
15855
15856         * BufferView_pimpl.C (Dispatch): changes because of this.
15857
15858         * LyXAction.C (init): rename open-stuff to inset-toggle.
15859
15860         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15861
15862         * text2.C (toggleInset): renamed from openStuff; use
15863         Inset::open().
15864
15865 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15866
15867         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15868
15869         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15870
15871 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15872
15873         * buffer.C (readLyXformat2): Add filename to the error dialog
15874
15875 2001-07-18  Juergen Vigna  <jug@sad.it>
15876
15877         * tabular.C (GetCellNumber): put an assert here instead of the check!
15878
15879 2001-07-17  Juergen Vigna  <jug@sad.it>
15880
15881         * BufferView_pimpl.C (toggleSelection): adapted too.
15882
15883         * text.C (selectNextWord): adapted for use with insets.
15884         (selectSelectedWord): ditto
15885
15886 2001-07-17  Juergen Vigna  <jug@sad.it>
15887
15888         * sp_spell.C (PSpell): fix initialitation order.
15889
15890 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15891
15892         * paragraph.C: spacing
15893
15894 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15895
15896         * sp_spell.C: repair language selection for pspell
15897
15898 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15899
15900         * lyxfunc.h: change more methods to begin with lower char.
15901
15902 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15903
15904         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15905         for unknown layouts.
15906
15907 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15908
15909         * buffer.C (readLyXformat2): Generate an error dialog if there are
15910         unknown layouts.
15911
15912 2001-07-16  Juergen Vigna  <jug@sad.it>
15913
15914         * sp_spell.C: always compile ISpell part.
15915
15916         * lyxrc.C: added use_pspell entry and it's handling.
15917
15918 2001-07-13  Juergen Vigna  <jug@sad.it>
15919
15920         * sp_spell.C: removed double includes.
15921
15922 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15923
15924         Consistent use of Lsstream.h:
15925         * Lsstream.h: added using std::stringstream for consistencies sake.
15926
15927         * buffer.C: removed using std::stringstream
15928
15929         * lyxfont.C (stateText):
15930         * paragraph.C (asString):
15931         * text.C (selectNextWord, selectSelectedWord):
15932         * text2.C (setCounter):
15933         * vspace.C (asString, asLatexString):
15934         std::ostringstream -> ostringstream.
15935
15936 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15937
15938         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15939         * commandtags.h: add LFUN_HELP_ABOUTLYX
15940         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15941
15942 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15943
15944         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15945         cursorToggle()
15946         * lyx_gui_misc.C: remove spellchecker
15947         * lyxfunc.C: showSpellchecker
15948         * sp_base.h: added
15949         * sp_ispell.h: added
15950         * sp_pspell.h: added
15951         * sp_spell.C: added
15952         * sp_form.[Ch]: removed
15953         * spellchecker.[Ch]: removed
15954
15955 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15956
15957         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15958         is set.
15959         (simpleTeXSpecialChars): Simply print the input character without
15960         any special translation if pass_thru is set.
15961
15962         * layout.h: Added bool pass_thru to layout class for being able to
15963         implement pass through of a paragraph for Literate Programming.
15964
15965         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15966         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15967         * layout.C (Read): add "passthru" to list of layout tags and add
15968         code to set the pass_thru boolean when it is read.
15969
15970 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15971
15972         * trans_decl.h: remove allowed from KmodInfo
15973
15974         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15975         remove allowed code
15976         (Load): adjust
15977
15978         * paragraph_pimpl.C (erase): use boost::prior
15979
15980         * Painter.C (text): use data() instead of c_str() when length is
15981         also provided.
15982         * WorkArea.C (putClipboard): ditto
15983         * font.h (width): ditto
15984
15985         * BufferView2.C: use it-> instead of (*it). for iterators
15986         * texrow.C: ditto
15987         * paragraph_pimpl.C: ditto
15988         * paragraph.C: ditto
15989         * minibuffer.C: ditto
15990         * language.C: ditto
15991         * kbmap.C: ditto
15992         * encoding.C: ditto
15993         * counters.C: ditto
15994         * converter.C: ditto
15995         * chset.C: ditto
15996         * Variables.C: ditto
15997         * TextCache.C: ditto
15998         * MenuBackend.C: ditto
15999         * LyXAction.C: ditto
16000         * LColor.C: ditto
16001         * FloatList.C: ditto
16002         * DepTable.C: ditto
16003         * ColorHandler.C (LyXColorHandler): ditto
16004
16005 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16006
16007         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16008
16009         * text2.C (openStuff): reintroduce this method (which had been
16010         nuked in NEW_INSETS frenzy).
16011
16012         * lyxfunc.C (Dispatch): when an action has not been handled, use
16013         its name in the error message, not its number.
16014
16015         * paragraph.C (inInset): change method name to begin with lowercase.
16016
16017         * undo_funcs.C:
16018         * text2.C: updates because of this.
16019
16020 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16021
16022         * ToolbarDefaults.C (add): add spaces in error message
16023
16024 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16025
16026         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16027         (readLyXformat2): rename return_par to first_par, use lyxlex's
16028         pushToken and remove the manual push handling.
16029         (parseSingleLyXformat2Token): add another ert comp. variable:
16030         in_tabular, rename return_par to first_par. handle newlines better
16031
16032 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16033
16034         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16035
16036 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16037
16038         * text2.C (getParFromID): removed
16039
16040         * buffer.C (getParFromID): new method moved form lyxtext.
16041         * BufferView2.C (insertErrors): adjust
16042         (setCursorFromRow): adjust
16043         * BufferView_pimpl.C (restorePosition): adjust
16044         * lyxfunc.C (Dispatch): adjust
16045         * undo_funcs.C (textUndo): adjust
16046         (textRedo): adjust
16047         (textHandleUndo): adjust
16048         (textHandleUndo): adjust
16049
16050 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16051
16052         * buffer.C: up' the LYX_FORMAT
16053
16054         * lyxfont.h: turn NO_LATEX on as default
16055
16056         * buffer.C (insertErtContents): new methods of tex style compability.
16057         (parseSingleLyXformat2Token): use it several places.
16058         * tabular.C (OldFormatRead): and here
16059
16060 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16061
16062         * text2.C: remove some commented code.
16063         reindent file.
16064
16065         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16066         * trans.C: changes because of the above.
16067
16068 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16069
16070         * text2.C (setCounter): Fix counters bug with bibliography layout.
16071
16072 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16073
16074         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16075         own member functions
16076         (simpleTeXSpecialChars): ditto
16077
16078 2001-07-06  Juergen Vigna  <jug@sad.it>
16079
16080         * a lot of files: changed the access to LyXText::status and the
16081         call of undo-functions.
16082
16083         * undo.[Ch]: added a inset_id to the undo informations.
16084
16085         * undo_funcs.[Ch]: added and moved here all undo functions.
16086
16087         * lyxtext.h: give the status enum a weight, made status_ a private
16088         variable and made accessor functions for it, removed the whole bunch
16089         of undo-functions as they are now in their own file, make some
16090         functions publically available. Added function ownerParagraph with
16091         int parameter.
16092
16093         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16094         made InInset() a const function, added getParFromID() function.
16095
16096         * buffer.[Ch]: added const version for inset_iterator functions,
16097         added getInsetFromID() function.
16098
16099         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16100         changed undo functions for new version.
16101
16102 2001-07-05  Juergen Vigna  <jug@sad.it>
16103
16104         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16105         unknow mechanism does not call the proper constructor but only this
16106         one also if I request the other!?
16107
16108 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16109
16110         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16111
16112         * text2.C (LyXText): use initialization lists.
16113
16114         * lyxtext.h (Selection): initialize set_ and mark_
16115         (init): remove method
16116
16117 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16118
16119         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16120
16121 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16122
16123         * screen.[Ch]: change method names to begin with lowercase
16124
16125         * BufferView_pimpl.C (updateScrollbar): simplify further and
16126         hopefully make it a bit faster.
16127
16128 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16129
16130         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16131         calling directly xforms functions.
16132
16133         * Painter.C (Painter):
16134         * lyx_cb.C (MenuWrite):
16135         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16136         fl_display.
16137
16138         * lyx_gui.C: remove bogus guiruntime extern declaration.
16139
16140 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16141
16142         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16143         in NEW_INSETS
16144         (redoDrawingOfParagraph): ditto
16145         (redoParagraphs): ditto
16146         (cutSelection): don't create a object for CutAndPaste use the
16147         static method directly
16148         (pasteSelection): ditto
16149
16150         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16151         LyXview (+ rename)
16152
16153 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16154
16155         * modifications to some other files because of this.
16156
16157         * Makefile.am (lyx_SOURCES): add XFormsView
16158
16159         * XFormsView.[Ch]: new files
16160
16161         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16162         the main window. Move the gui dependent stuff to XFormsView
16163
16164 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16165
16166         * tabular.C (GetCellInset): update cur_cell also in the row/col
16167         version of this function.
16168
16169         * lyxfunc.C: no need to include figure_form.h here.
16170
16171         * FontLoader.h:
16172         * lyxfunc.h:
16173         * lyxscreen.h:
16174         * text2.C:
16175         * lyxvc.C: no need to include forms.h here.
16176
16177 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16178
16179         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16180
16181         * lyxfunc.C (Dispatch):
16182         * Spacing.C (set):
16183         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16184         constructor argument.
16185
16186 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16187
16188         * paragraph.C (Paragraph): dont't clear, and just set layout.
16189         (makeSameLayout): use params's copy contructor.
16190
16191         * ParagraphParameters.[Ch] (makeSame): delete method
16192
16193 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16194
16195         * Variables.[Ch]: fix indentation, rename set to isSet
16196
16197 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16198
16199         * lyxfunc.C (Dispatch): fix typo
16200
16201 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16202
16203         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16204         upper_bound.
16205
16206         * bufferlist.C: include assert.h for emergencyWrite().
16207
16208 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16209
16210         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16211           give up at last (bug #425202) !
16212
16213 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16214
16215         * lyx_gui_misc.C:
16216         * sp_form.h:
16217         * sp_form.C:
16218         * spellchecker.h:
16219         * spellchecker.C: strip spellchecker options and bring up
16220           preferences tab instead
16221
16222 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16223
16224         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16225         the istringstream constructor
16226
16227 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16228
16229         * paragraph.C (getLayout): fix return value
16230
16231         * paragraph.h: do not declare getLayout as inline.
16232
16233         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16234
16235 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16236
16237         * lyxcursor.h (operator<): new func
16238         (operator>): new func
16239         (operator>=): new func
16240         (operator<=): new func
16241
16242         * text.C (changeCase): use selection.start and selection.end
16243         (changeRegionCase): require from to be <= to. Require par to be a
16244         valid paragraph.
16245
16246         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16247
16248 2001-06-27  Juergen Vigna  <jug@sad.it>
16249
16250         * text.C (cursorLeftOneWord): changed to return the cursor and added
16251         overlay with BufferView * parameter which calls this one.
16252         (getWord): added
16253         (selectWord): use new getWord function.
16254         (changeCase): renamed from changeWordCase as and extended to work
16255         also on selections.
16256
16257         * lyxtext.h: added enum word_location
16258
16259         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16260         changeCase as this operates now also on selections.
16261
16262 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16263
16264         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16265
16266         * many files: send debug output to Debug::INFO instead of
16267         Debug::ANY.
16268
16269         * converter.C (View):
16270         (Convert):
16271         (Move): send debug output to Debug::FILES instead of console.
16272
16273 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16274
16275         * lyxfunc.C (getStatus): use func_status
16276
16277         * func_status.h: new header, describing the results of
16278         LyXFunc::getStatus;
16279
16280         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16281         LFUN_MATH_HALIGN.
16282
16283 2001-06-25  The LyX Project  <jug@sad.it>
16284
16285         * buffer.C (sgmlOpenTag):
16286         (sgmlCloseTag):
16287         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16288
16289 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16290
16291         * text2.C: remove some dead code
16292
16293         * tabular.C (GetCellInset): store the last cell checked (gotten)
16294
16295         * tabular.h: add the helper for the speedup
16296
16297         * lyxtext.h: remove some dead code
16298
16299 2001-06-26  The LyX Project  <Asger>
16300
16301         * paragraph.C: Change export to LaTeX of alignment to
16302         \begin{center} and family for better roundtrip work with reLyX.
16303
16304         * Tune the math drawing a bit.
16305
16306 2001-06-25  The LyX Project  <Asger>
16307
16308         * LColor.C (LColor): New color for math background. New color
16309         for buttons.
16310
16311 2001-06-25  The LyX Project  <jug@sad.it>
16312
16313         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16314
16315         * lyxfunc.C (Open):
16316         * bufferlist.C (newFile): do not restrict to files ending with
16317         .lyx
16318
16319         * BufferView_pimpl.C (MenuInsertLyXFile):
16320
16321 2001-06-24  The LyX Project  <jug@sad.it>
16322
16323         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16324         of compare_no_case
16325
16326 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16327
16328         * lyxtext.h: rename most methods to begin with a small char.
16329         Lots of changes because of this.
16330
16331         * paragraph.C (Paragraph): do not call fitToSize
16332         (erase): call Pimpl::erase
16333         (insertChar): call Pimpl::insertChar
16334         (insertInset): call Pipl::insertInset
16335         (breakParagraph): do not call fitToSize
16336         (breakParagraphConservative): do not call fitToSize
16337         (fitToSize): remove method
16338
16339         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16340
16341 2001-06-24  The LyX Project  <Asger>
16342
16343         * Fix Qt compilation^2
16344
16345 2001-06-24  The LyX Project  <jug@sad.it>
16346
16347         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16348         depthHook(getDepth()-1).
16349
16350         * paragraph.h:
16351         * ParagraphParameters.h:
16352         * ParameterStruct.h: change type of depth to unsigned int ==
16353         depth_type. Many adaptations to other files before of that.
16354
16355 2001-06-24  The LyX Project  <Asger>
16356
16357         * Fix Qt compilation.
16358
16359 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16360
16361         * paragraph.h: renamed several methods to begin with small letter.
16362         several changes to many parts of the code because of this.
16363
16364 2001-06-23  The LyX Project  <jug@sad.it>
16365
16366         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16367         rewritten to discard all double spaces when KeepEmpty is off
16368         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16369         to only handle newlines but not fiddle with spaces and friends.
16370
16371         * lyxfunc.C (MenuNew): when doing 'new from template', use
16372         template_path as default directory
16373
16374 2001-06-23  The LyX Project  <Asger>
16375
16376         * Clean-up of header file includes all over
16377         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16378
16379 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16380
16381         * paragraph.h: renamed from lyxparagraph.h
16382
16383 2001-06-23  Asger  <lyx@violet.home.sad.it>
16384
16385         * Buffer.h: Removed Buffer::resize
16386         * BufferList.h: Removed BufferList::resize
16387         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16388         the document lazily when we change the width, or the font settings.
16389
16390 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16391
16392         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16393
16394 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16395
16396         * buffer.h: remove out of date comment
16397
16398 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16399
16400         * lyxscreen.h:
16401         * screen.C: fix "theoretical" GC leak
16402
16403 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16404
16405         * LaTeX.C (scanAuxFile):
16406         (deplog): remove trailing \r when reading stream (useful under
16407         win32)
16408
16409 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16410
16411         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16412         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16413         and BufferView::theLockingInset(Inset*), so should use them and not
16414         access bv_->text->the_locking_inset directly.
16415
16416         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16417
16418 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16419
16420         * Makefile.am:
16421         * tex-defs.h: remove old unused file
16422
16423 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16424
16425         * BufferView_pimpl.C: fix typo, remove minibuffer message
16426           when buffer has loaded
16427
16428 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16429
16430         * lyxfunc.C (Dispatch): use stringstream
16431         (MenuNew): use stringstream
16432         (Open): use stringstream
16433
16434         * importer.C (Import): use stringstream
16435
16436         * bufferview_funcs.C (CurrentState): use stringstream
16437
16438         * LaTeX.C (run): use stringstream
16439
16440         * BufferView_pimpl.C (savePosition): use stringstream
16441         (restorePosition): use stringstream
16442         (MenuInsertLyXFile): use stringstream
16443
16444 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16445
16446         * BufferView.C:
16447         * Bullet.C:
16448         * ColorHandler.C:
16449         * FontInfo.C:
16450         * FontLoader.C:
16451         * LColor.C:
16452         * LaTeXFeatures.C:
16453         * Painter.C:
16454         * gettext.C:
16455         * lyx_gui_misc.C:
16456         * lyxserver.C:
16457         * vspace.C: removed // -*- C++ -*- as first line.
16458
16459         * lyxfind.h:
16460         * version.h: added // -*- C++ -*- as first line.
16461
16462 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16463
16464         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16465
16466         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16467         of string
16468
16469 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16470
16471         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16472         of floats.
16473
16474 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16475
16476         * gettext.C: include LString.h even when --disable-nls is on.
16477
16478 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16479
16480         * converter.h (Get): changed argument type from int to
16481         FormatList::size_type to avoid unnecessary conversion.
16482
16483         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16484         before using it.
16485
16486 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16487
16488         * gettext.h: include LString.h even when --disable-nls is on.
16489
16490 2001-06-07  Juergen Vigna  <jug@sad.it>
16491
16492         * text.C (BreakAgain): subst spaces with tabs.
16493
16494         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16495         (resizeInsetsLyXText): set force on resizeLyXText.
16496
16497 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16498
16499         * gettext.h (gettext_init):
16500         (locale_init): use a real definition instead of a macro
16501
16502 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16503
16504         * Bufferview_pimpl.C:
16505         * LColor.h:
16506         * LColor.C: further lcolor tidies
16507
16508 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16509
16510         * BufferView_pimpl.C (updateScrollbar): simplify.
16511
16512         * BufferView2.C: don't include insets/insetinfo.h, change
16513         prototype for insertInset and call the Pimpl version. let
16514         updateInset call Pimpl version.
16515
16516         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16517         gotoInset to BufferView::Pimpl
16518
16519 2001-06-01  Juergen Vigna  <jug@sad.it>
16520
16521         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16522         inside a LockingInset (is the update needed at all?).
16523
16524 2001-05-31  Juergen Vigna  <jug@sad.it>
16525
16526         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16527         here not the old one otherwise how should we compare it afterwards
16528         if it's the same!
16529
16530 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16531
16532         * lyxfont.C:
16533         * tabular.C:
16534         * tabular-old.C:
16535         * FontInfo.C: bring C functions into global namespace when
16536         necessary
16537
16538 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16539
16540         * LString.h: make sure config.h has been loaded before LString.h.
16541
16542         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16543         (one for each char read by EatLine!).
16544
16545         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16546         variables.
16547
16548 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16549
16550         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16551         to the same as the par we break from
16552
16553 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16554
16555         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16556
16557         * MenuBackend.C (expand): also create menu entries for wide
16558         versions of the floats.
16559
16560         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16561
16562         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16563
16564         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16565         frontends/Makefile.am
16566
16567         * text2.C: adjust
16568         * text.C: adjust
16569
16570
16571         * tabular.C (getTokenValue): add std::
16572
16573         * tabular-old.C (getTokenValue): add std::
16574         (getTokenValue): ditto
16575         (getTokenValue): ditto
16576
16577         * screen.C (ToggleSelection): adjust
16578
16579         * lyxtext.h: put selection cursors inside a Selection struct.
16580
16581         * lyxfunc.C (moveCursorUpdate): adjust
16582
16583         * lyxfont.C (latexWriteStartChanges): add std::
16584
16585         * lyxfind.C: adjust
16586
16587         * font.h: delete with(char const *, LyXFont const &)
16588
16589         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16590
16591         * FontInfo.C (getFontname): add std::
16592
16593         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16594         (workAreaButtonPress): adjust
16595         (tripleClick): adjust
16596         (update): adjust
16597         (moveCursorUpdate): adjust
16598         (Dispatch): adjust
16599
16600         * BufferView2.C (gotoInset): adjust
16601
16602 2001-05-30  Juergen Vigna  <jug@sad.it>
16603
16604         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16605         to check pspell I add this as default as I now have new pspell
16606         libraries and they seem to use this.
16607
16608 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16609
16610         * text2.C (CutSelection): make the cursor valid before the call to
16611         ClearSelection.
16612
16613 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16614
16615         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16616         relied on 0 terminated strings and other horrors. Bug found due to
16617         the new assert in lyxstring!
16618
16619         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16620         KP_ keys.
16621
16622 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16623
16624         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16625         to latinkeys.bind.
16626
16627         * lyxfunc.C (processKeySym): change method of getting to the
16628         self-insert char.
16629
16630         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16631         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16632         * BufferView_pimpl.[Ch]: here as private methods.
16633
16634 2001-05-28  Juergen Vigna  <jug@sad.it>
16635
16636         * text.C (SetHeightOfRow): added the update() call again as it is
16637         needed to initialize inset dimensions!
16638
16639 2001-05-16  Juergen Vigna  <jug@sad.it>
16640
16641         * text2.C (SetCharFont): Add new function with BufferView * and
16642         bool toggleall parameters for setting insets internal fonts.
16643         (SetFont): Freeze the undo as we may change fonts in Insets and
16644         all this change should be inside only one Undo!
16645
16646         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16647         setting font's in insets as for them we have the SetFont function!
16648
16649 2001-05-15  Juergen Vigna  <jug@sad.it>
16650
16651         * text2.C (ClearSelection): to be sure we REALLY don't have any
16652         selection anymore!
16653
16654         * tabular.C (TeXCellPreamble): fixed the left border problem for
16655         multicolumn cells.
16656
16657 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16658
16659         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16660         dependancy file
16661
16662 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16663
16664         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16665         LFUN_BREAKPARAGRAPH.
16666
16667         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16668         help test to "internal only", similar for LFUN_INSERT_URL
16669
16670         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16671         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16672         auto_region_delete and deadkeys.
16673
16674 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16675
16676         * LColor.h:
16677         * LColor.C: remove some dead entries, tidy a little
16678
16679 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16680
16681         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16682         commented code.
16683         (Dispatch): implement LFUN_ESCAPE
16684
16685         * commandtags.h: add LFUN_ESCAPE
16686
16687         * LyXAction.C (init): add entry for LFUN_ESCAPE
16688
16689         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16690         Remove commented code.
16691         (insertNote): moved here
16692         (open_new_inset): moved here
16693
16694         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16695         BufferView_pimpl
16696
16697 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16698
16699         * kbmap.C (findbinding): clean it up and make it work correctly.
16700
16701         * lyx_main.C (init): do not pass argc and argv as parameters
16702
16703 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16704
16705         * buffer.C: fix path for OS/2 & Win32
16706
16707         * lyx_gui.C:
16708         * lyx_main:
16709         * lyx_main.C: Added os:: class.
16710
16711         * os2_defines.h: update
16712
16713 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16714
16715         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16716         better by trying again with reduced state.
16717
16718 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16719
16720         * lyxrc.C (read): print error about invalid key sequence only when
16721         debugging (because not all latinX keysyms are known to some X
16722         servers)
16723
16724         * kbsequence.C (getiso): add a few std:: qualifiers
16725         (getiso): comment out extra return statement.
16726
16727 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16728
16729         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16730         handling.
16731         (Dispatch): enhance the accent inset a bit. (not perfect)
16732
16733 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16734
16735         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16736
16737 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16738
16739         * bufferlist.C (emergencyWrite): fix assert() call
16740
16741 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16742
16743         * text.C (InsertChar): Added trivial patch to only send the "you
16744         can not do multiple spaces this way" message once during a
16745         session.
16746
16747 2001-05-08  Baruch Even  <baruch@lyx.org>
16748
16749         * Makefile.am: Changed order of libraries to get LyX to link properly
16750         with the gnome frontend.
16751
16752 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16753
16754         * LaTeXFeatures.h: add a std:: qualifier
16755
16756 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16757
16758         * paragraph.C (String): use stringstream
16759
16760 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16761
16762         * paragraph.C (writeFile): remove footflag arg
16763
16764         * buffer.C (makeLaTeXFile): use stringstream
16765         (latexParagraphs): remove footnot gurba
16766
16767         * LaTeXFeatures.C (getPackages): use stringstream
16768         (getMacros): likewise
16769         (getTClassPreamble): likewise
16770         (getFloatDefinitions): new method
16771
16772         * paragraph.C (writeFile): reindent
16773         (Erase): reindent
16774
16775         * WorkArea.h: revert the xpos + etc changes.
16776
16777         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16778
16779         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16780
16781         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16782         (pasteSelection): likewise
16783         * text2.C (CreateUndo): likewise
16784
16785 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16786
16787         * minibuffer.C (peek_event): temporarily reduce the functionality
16788         of the minibuffer (to allow args on lfuns)
16789
16790         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16791         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16792
16793         * buffer.C (readInset): add compability reading of old float
16794         lists, add reading of new style float list.
16795         (readInset): avoid reevaluation of inscmd.getCmdName()
16796         (getLists): reindent
16797
16798         * MenuBackend.C (MenuItem): implement parsing of
16799         md_floatlistinsert and md_floatinsert.
16800         (expand::LastFiles): move initalizaton of iterators out of loop,
16801         avoid reevaluation.
16802         (expand::Documents): introduce typdedef vector<string> Strings,
16803         and use it.
16804         (expand::ExportFormats): introduce typedef vector<Format const *>
16805         Formats, and use it.
16806         (expand): implement FloatListInsert and FloatInsert.
16807
16808         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16809         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16810         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16811
16812         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16813         handling.
16814         (Dispatch::LFUN_FLOAT_LIST): implement
16815
16816 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16817
16818         * LaTeX.C (run): Fix problem with --export code.
16819
16820 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16821
16822         * BufferView.[Ch] (workarea): removed.
16823         (getClipboard) new method; wrapper for workarea()->getClipboard()
16824
16825         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16826         bug.
16827
16828         * WorkArea.h (width, height, xpos, ypos): These methods all
16829         returned the dimensions of the work_area sub-area of WorkArea,
16830         resulting in a position error if the WorkArea were resized. Now
16831         return the dimensions of the entire WorkArea.
16832
16833         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16834
16835 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16836
16837         * LaTeX.C (deplog): correct the syntax of regex reg1
16838
16839 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16840
16841         * undo.C: remove !NEW_INSETS cruft
16842
16843 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16844
16845         * text2.C: remove !NEW_INSETS cruft
16846
16847         * text.C: remove !NEW_INSETS cruft
16848
16849         * tabular.C: remove !NEW_INSETS cruft
16850
16851         * spellchecker.C: remove !NEW_INSETS cruft
16852
16853         * lyxtext.h: remove !NEW_INSETS cruft
16854
16855         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16856
16857         * lyxfunc.C: remove !NEW_INSETS cruft
16858
16859         * lyxfind.C: remove !NEW_INSETS cruft
16860
16861         * lyx_cb.C: remove !NEW_INSETS cruft
16862
16863         * figureForm.C: remove  !NEW_INSETS cruft
16864
16865         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16866
16867         * buffer.[Ch]: remove !NEW_INSETS cruft
16868
16869         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16870
16871         * CutAndPaste.C: remove !NEW_INSETS cruft
16872
16873         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16874
16875         * BufferView2.C: remove !NEW_INSETS cruft
16876
16877         * BufferView.h: remove !NEW_INSETS cruft
16878
16879 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16880
16881         * Lsstream.h: include LString.h before the sstream headers to
16882         fix problem with gcc 2.95.3 and lyxstring
16883
16884 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16885
16886         * lyx_main.C: add using directives when needed for C functions
16887         declared in std:: namespace.
16888
16889 2001-04-27  Juergen Vigna  <jug@sad.it>
16890
16891         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16892         (SetHeightOfRow): comment out the update call should not be needed!
16893
16894 2001-04-13  Juergen Vigna  <jug@sad.it>
16895
16896         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16897         (LyXTabular): tried to minimize operator= operations (and realized
16898         hopfully Lars wish).
16899
16900 2001-04-27  Juergen Vigna  <jug@sad.it>
16901
16902         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16903
16904 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16905
16906         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16907
16908         * buffer.C (readInset): hack to make listof algorithm work
16909
16910         * BufferView_pimpl.C: hack to make listof algorithm work
16911
16912 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16913
16914         * LyXAction.C: removed all !NEW_INSETS cruft
16915         (init): moved lfun_item in method
16916
16917         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16918
16919 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16920
16921         * BufferView2.C (theLockingInset): white space.
16922
16923 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16924
16925         * minibuffer.C: include <iostream>
16926
16927         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16928
16929         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16930
16931         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16932
16933         * text.[Ch] (TransposeChars): new method
16934
16935 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16936
16937         * call message directly through LyXView instead of through LyXFunc
16938         * BufferView2.C: adjust
16939         * BufferView_pimpl.C: adjust
16940         * FontLoader.C: adjust
16941         * buffer.C: adjust
16942         * bufferview_funcs.C: adjust
16943         * converter.C: adjust
16944         * figureForm.C: adjust
16945         * importer.C: adjust
16946         * lyx_cb.C: adjust
16947         * lyx_gui_misc.C: adjust
16948         * lyxfunc.C: adjust
16949         * lyxvc.C: adjust
16950         * text2.C: adjust
16951         + more files in subdirs
16952
16953         * lyxparagraph.h (size): move up int file
16954         (GetLayout): ditto
16955
16956         * adjust all uses of Assert to lyx::Assert.
16957
16958         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16959         lyxfunctional in namespace lyx
16960         * layout.C (hasLayout): ditto
16961         (GetLayout): ditto
16962         (GetLayout): ditto
16963         (delete_layout): ditto
16964         (NumberOfClass): ditto
16965         * converter.C (GetFormat): ditto
16966         (GetNumber): ditto
16967         (Add): ditto
16968         (Delete): ditto
16969         (SetViewer): ditto
16970         * bufferlist.C (getFileNames): ditto
16971         (emergencyWriteAll): ditto
16972         (exists): ditto
16973         (getBuffer): ditto
16974         * MenuBackend.C (hasSubmenu): ditto
16975         (hasMenu): ditto
16976         (getMenu): ditto
16977         * BufferView_pimpl.C (getInsetByCode): ditto
16978
16979 2001-04-18  Juergen Vigna  <jug@sad.it>
16980
16981         * vspace.C (asLatexString): fixed the 100% problem.
16982
16983 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16984
16985         * lyxfunc.C (Dispatch):
16986         * minibuffer.C:
16987         * minibuffer.h: add a few std:: qualifiers
16988
16989 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16990
16991         * minibuffer.[Ch]: reimplement so that commands is initiated and
16992         run from lyxfunc, simplified som handling, and made the completion
16993         and history code for complete. wip.
16994
16995         * lyxfunc.C (processKeySym): call message
16996         (miniDispatch): new temporary method
16997         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16998         (LFUN_MESSAGE): implement
16999         (LFUN_MESSAGE_PUSH): implement
17000         (LFUN_MESSAGE_POP): implement
17001         (initMiniBuffer): the initial/defualt minibuffer message.
17002
17003         * lyxfont.[Ch]: inline some more getters
17004
17005         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17006
17007         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17008
17009         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17010         (AutoSave): use LFUN_MESSAGE
17011         (Reconfigure): ditto
17012
17013         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17014
17015         * figureForm.C: use LFUN_MESSAGE
17016
17017         * converter.C (runLaTeX): use LFUN_MESSAGE
17018
17019         * bufferview_funcs.C: use LFUN_MESSAGE
17020         (Melt): ditto
17021         (changeDepth): ditto
17022
17023         * bufferparams.h: use boost::
17024
17025         * bufferlist.h: inherit privately from noncopyable
17026
17027         * bufferlist.C (loadLyXFile): remove some commented code.
17028
17029         * buffer.C (runChktex): use LFUN_MESSAGE
17030
17031         * ShareContainer.h: inherit privately from noncopyable
17032
17033         * ParagraphParameters.[hC] (depth): inline it.
17034
17035         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17036         methods.
17037         (message): new method
17038         (messagePush): ditto
17039         (messagePop): ditto
17040         (show): init minibuffer
17041         (showState): direct call
17042
17043         * LaTeX.[Ch]: inherit privately from noncopyable
17044         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17045         instead of WriteStatus.
17046
17047         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17048
17049         * BufferView_pimpl.C (buffer): don't init minibuffer
17050         (workAreaButtonPress): use LFUN_MESSAGE
17051         (workAreaButtonRelease): ditto
17052         (savePosition): ditto
17053         (restorePosition): ditto
17054         (MenuInsertLyXFile): ditto
17055         (workAreaExpose): don't init minibuffer
17056         (update): remove commented code, simplify
17057
17058         * BufferView2.C (openStuff): use LFUN_MESSAGE
17059         (toggleFloat): ditto
17060         (menuUndo): ditto
17061         (menuRedo): ditto
17062         (copyEnvironment): ditto
17063         (pasteEnvironment): ditto
17064         (copy): ditto
17065         (cut): ditto
17066         (paste): ditto
17067         (gotoInset): ditto
17068         (updateInset): remove some commented code
17069
17070         * lastfiles.h: inherit privately from noncopyable
17071         * layout.h: ditto
17072         * lyx_gui.h: ditto
17073         * lyx_main.h: ditto
17074         * lyxlex.h: ditto
17075         * lyxlex_pimpl.h: ditto
17076
17077         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17078         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17079         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17080
17081         * LyXAction.h: inherit privately from noncopyable, add methods
17082         func_begin, func_end, returning iterators to the func map.
17083
17084         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17085         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17086         (func_begin): new method
17087         (func_end): new method
17088
17089         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17090         and not)
17091         (copySelection): ditto
17092         (pasteSelection): ditto
17093
17094         * BufferView.C: whitespace change
17095         * BufferView.h: inherit privately from noncopyable
17096
17097 2001-04-16  Allan Rae  <rae@lyx.org>
17098
17099         * tabular-old.C (l_getline):
17100         * spellchecker.C (sc_check_word):
17101         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17102         an unrecognised preprocessor directive.  So ensure they're wrapped.
17103
17104 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17105
17106         * src/exporter.C (Export): Give an error message when path to file
17107         contains spaces.
17108
17109 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17110
17111         * LaTeX.C (deplog): Always check that foundfile exists.
17112
17113 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17114
17115         * lyx_main.h:
17116         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17117
17118 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17119
17120         * tabular.[Ch] (getLabelList): implement new method
17121
17122         * minibuffer.h: comment ouf setTiimer
17123
17124         * minibuffer.C (ExecutingCB): constify res
17125         (peek_event): constify s
17126         (Set): constify ntext
17127         (Init): constify nicename
17128
17129         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17130
17131         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17132         (savePosition): use two params to Minibuffer::Set
17133         (restorePosition): ditto
17134
17135 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17136
17137         * lyx_main.C: include language.h
17138
17139         * Makefile.am (lyx_main.o): add language.h
17140
17141 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17142
17143         * exporter.C:
17144         * paragraph.C:
17145         * screen.C:
17146         * tabular.C:
17147         * CutAndPaste.C: include gettext.h
17148
17149         * lyxfont.h: remove old hack with ON and OFF.
17150
17151         * lyxparagraph.h:
17152         * lyxfont.h: do not include language.h...
17153
17154         * BufferView2.C:
17155         * LaTeXFeatures.C:
17156         * Painter.C:
17157         * bufferview_funcs.C:
17158         * font.C:
17159         * lyxfont.C:
17160         * text.C:
17161         * text2.C:
17162         * trans_mgr.C:
17163         * paragraph.C: ... but do it here instead
17164
17165 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17166
17167         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17168
17169         * tabular.C: small reformat
17170
17171         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17172         NEW_INSETS version
17173         (GetChar): ditto
17174         (BreakParagraph): ditto
17175         (SetOnlyLayout): ditto
17176         (SetLayout): ditto
17177
17178         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17179         with one arg less.
17180
17181         * lastfiles.C: removed most using decl, add std:: where needed
17182
17183         * buffer.C: ws changes
17184
17185         * MenuBackend.C (class compare_format): put into anon namespace
17186         (expand): constify label, names, action, action2
17187         (expand):
17188
17189         * text.C (SingleWidth): constify font
17190         (IsBoundary): constify rtl2
17191         (GetVisibleRow): constify ww
17192
17193         * LaTeX.C (deplog): constify logfile
17194
17195         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17196         start_x, end_x
17197         (workAreaExpose): constify widthChange, heightChange
17198
17199         * lyxrow.C (par): moved
17200         (height): moved
17201         (next): moved
17202         * lyxrow.h: as inlines here
17203
17204         * lyxfont.h (shape): moved from lyxfont.C
17205         (emph): moved from lyxfont.C
17206
17207         * lyxfont.C (LyXFont): use initialization list for all
17208         constructors
17209         (shape): move to lyxfont.h as inline
17210         (emph): move to lyxfont.h as inline
17211
17212
17213 2001-04-04  Juergen Vigna  <jug@sad.it>
17214
17215         * vspace.C: had to include stdio.h for use of sscanf
17216
17217 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17218
17219         * BufferView.h:
17220         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17221         independent of xforms.
17222
17223 2001-04-02  Juergen Vigna  <jug@sad.it>
17224
17225         * spellchecker.C: fixed namespace placing!
17226
17227 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17228
17229         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17230         the LyXParagraph * is 0.
17231
17232 2001-03-29  Juergen Vigna  <jug@sad.it>
17233
17234         * vspace.C: added support for %, c%, p%, l%.
17235         (stringFromUnit): added helper function.
17236         (asLatexString): changed to give right results for the %-values.
17237
17238         * buffer.C: convert the widthp in a width%.
17239
17240 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17241
17242         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17243         figureForm.[Ch].
17244
17245         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17246         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17247
17248         * lyx_cb.[Ch]: see above.
17249
17250         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17251         form1.[Ch].
17252
17253         * form1.[Ch]:
17254         * lyx.[Ch]: replaced by figure_form.[Ch].
17255
17256         * lyx_gui.C:
17257         * lyx_gui_misc.C:
17258         * lyxfunc.C: changed headers associated with above changes.
17259
17260 2001-03-27  Juergen Vigna  <jug@sad.it>
17261
17262         * BufferView_pimpl.C: set the temporary cursor right!
17263
17264 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17265
17266         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17267
17268 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17269
17270         * LString.h: removed "using std::getline"!
17271
17272         * BufferView_pimpl.C (Dispatch): changes due to changes in
17273         InsetInclude::Params.
17274
17275         * buffer.C (tag_name): removed redundant break statements as they were
17276         producing lots of warnings with my compiler.
17277
17278 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17279
17280         * LString.h: add "using std::getline" when using the real <string>.
17281
17282 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17283
17284         * buffer.C: removed bitset usage.
17285         PAR_TAG moved to an anonymous name space.
17286         (tag_name): new funtion, also in the anonymous namespace.
17287         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17288         (makeDocBookFile): clean code. Completed transition from string arrays
17289         to string vectors.
17290         (SimpleDocBookOnePar): code clean.
17291
17292 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17293
17294         * tabular.C: add some comments.
17295
17296 2001-03-22  Juergen Vigna  <jug@sad.it>
17297
17298         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17299         compatibility read a bit and fixed bug with minipage in different
17300         depth.
17301
17302 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17303
17304         * buffer.C (pop_tag): removed.
17305         (push_tag): removed.
17306         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17307         array replaced with vector. Added support for CDATA sections.
17308         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17309         at any nest level.
17310         (makeDocBookFile): XML conformant declaration of CDATA section,
17311         fixed bug related to <emphasis> in the first paragraph char.
17312         (sgmlOpenTag): exclude empty tags.
17313         (sgmlCloseTag): ditto.
17314
17315         * buffer.h (pop_tag): removed.
17316         (push_tag): removed.
17317
17318 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17319
17320         * language.h (Languages): added size_type and size().
17321
17322 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17323
17324         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17325         response on compability reading of minipages. One probliem is that
17326         the old usage of minipages was flertydig
17327
17328         * several files here and in subdirs: don't use static at file
17329         scope use anon namespaces instead.
17330
17331 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17332
17333         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17334         LaTeX output. This is necessary for Literate document
17335         processing.
17336
17337 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17338
17339         * buffer.C: insert hfill when needed.
17340
17341         * tabular.C (l_getline): use string::erase, small whitespace change.
17342
17343         * BufferView_pimpl.C: try the anon namespace.
17344         * WorkArea.C: ditto
17345
17346 2001-03-16  Juergen Vigna  <jug@sad.it>
17347
17348         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17349         otherwise it won't open options-dialogs.
17350
17351         * buffer.C: honor pextraWidth(p) on converting minipages.
17352
17353         * tabular.C (l_getline): changed the functions to strip trailing \r.
17354
17355 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17356
17357         * BufferView_pimpl.C:
17358         * minibuffer..C: added "using SigC::slot" declaration.
17359
17360 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17361
17362         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17363
17364         * text2.C: ditto
17365
17366         * text.C: ditto
17367
17368         * paragraph.C: ditto
17369
17370         * lyxtext.h: NO_PEXTRA
17371
17372         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17373
17374         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17375         * ParameterStruct.h: ditto
17376         * ParagraphParameters.h: ditto
17377         * lyxparagraph.h: ditto
17378
17379 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17380
17381         * buffer.C: add compability for minipage alignment.
17382         (latexParagraphs): remove unwanted pextra check.
17383
17384         * several files: remove CXX_WORKING_NAMESPACES
17385
17386         * buffer.C (pop_tag): tie is in namespace boost
17387
17388         * BufferView.h: noncopyable is in namespace boost
17389         * lyxlex.h: ditto
17390         * lyx_main.h: ditto
17391         * lyx_gui.h: ditto
17392         * layout.h: ditto
17393         * lastfiles.h: ditto
17394         * bufferlist.h: ditto
17395         * ShareContainer.h: ditto
17396         * LyXView.h: ditto
17397         * LyXAction.h: ditto
17398         * LaTeX.h: ditto
17399
17400 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17401
17402         * Merging changes from BRANCH_MVC back into HEAD.
17403
17404         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17405
17406 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17407
17408         * BufferView_pimpl.C: change from intl.C
17409
17410         * combox.h:
17411         * combox.C:
17412         * Makefile.am: move combox.*
17413
17414         * form1.h:
17415         * form1.C:
17416         * lyx_gui.C:
17417         * intl.h:
17418         * intl.C: remove dialog (covered by prefs)
17419
17420 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17421
17422         * lyxfunc.C (Dispatch): removed redundant break statement.
17423
17424 2001-03-14  Juergen Vigna  <jug@sad.it>
17425
17426         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17427
17428 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17429
17430         * buffer.C: add hack to fix compability reading of minipages.
17431
17432 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17433
17434         * buffer.C (getLists): Cleanup.
17435
17436 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17437
17438         * lyxfont.C (update): don't honor toggleall on font size.
17439
17440 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17441
17442         * bmtable.c:
17443         * bmtable.h:
17444         * Makefile.am: moved to frontends/xforms/
17445
17446         * lyx_gui_misc.C:
17447         * lyxfunc.C:
17448         * BufferView_pimpl.C: changes for moved mathpanel
17449
17450 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17451
17452         * gettext.h: fix gettext_init() in --disable-nls
17453
17454 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17455
17456         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17457
17458 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17459
17460         * lyx.C:
17461         * lyx.h: strip external form
17462
17463 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17464
17465         * BufferView_pimpl.C: add comment, destroySplash()
17466
17467 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17468
17469         * BufferView_pimpl.C:
17470         * LyXAction.C:
17471         * buffer.C:
17472         * commandtags.h:
17473         * lyxfunc.C: use re-worked insetinclude
17474
17475 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17476
17477         * buffer.C: add using std::stringstream.
17478
17479         * lyx_cb.C: readd using std::ios.
17480
17481         * buffer.C: add using std::map.
17482
17483         * BufferView_pimpl.C: add using std::vector.
17484
17485         * ShareContainer.h: add std:: to swap.
17486
17487         * buffer.h: add some typedefs
17488         * buffer.C (getLists): use them
17489         (getLists): renamed from getTocList.
17490         add a counter for the different float types and use it in the
17491         generated string.
17492         (getLists): use the same counter for the NEW_INSETS and the "non"
17493         NEW_INSETS
17494
17495         * lyx_cb.h: remove unused items, includes, using etc.
17496
17497         * ShareContainer.h: remove some commented code, add more comments
17498         and "documentation".
17499
17500 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17501
17502         * buffer.C (getTocList): make the list also when NEW_INSETS is
17503         defined.
17504
17505         * buffer.h: remove TocType
17506
17507         * buffer.C (getTocList): change to return a map<string,
17508         vector<TocItem> >, implement for dynamic number of list.
17509
17510         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17511         * text2.C (PasteSelection): adjust
17512         * CutAndPaste.C (pasteSelection): adjust
17513
17514         * FloatList.C (FloatList): update from the new_insets branch.
17515         * Floating.[Ch]: ditto
17516         * LaTeXFeatures.C: ditto
17517         * buffer.C: ditto
17518         * lyxlex_pimpl.C: ditto
17519
17520         * paragraph.C (Last): remove when NEW_INSETS is defined.
17521
17522         * other file: changes because of the above.
17523
17524 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17525
17526         * lyxparagraph.h: rename next to next_, previous to previous_,
17527         make them private for NEW_INSETS. Rename Next() to next(),
17528         Previous() to previous().
17529
17530         * other files: changes because of the above.
17531
17532 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17533
17534         * BufferView.h:
17535         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17536         problem.
17537
17538 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17539
17540         * main.C (main): pass lyx_localedir to gettext_init().
17541
17542         * gettext.h: remove locale_init and gettext_init macros
17543
17544         * gettext.C (locale_init): new function
17545         (gettext_init): new function
17546
17547         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17548         setlocale().
17549
17550 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17551
17552         * Moved credits to frontends:
17553         * credits.[Ch]: removed
17554         * credits_form.[Ch]: removed
17555         * lyx_gui_misc.C: remove credits stuff
17556         * Makefile.am:
17557
17558 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17559
17560         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17561
17562         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17563         unneeded destructor.
17564
17565         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17566         a standalone pointer again.
17567
17568         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17569
17570 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17571
17572         * Makefile.am:
17573         * filedlg.h:
17574         * filedlg.C:
17575         * LyXAction.C:
17576         * ToolbarDefaults.C:
17577         * bufferlist.C:
17578         * commandtags.h:
17579         * form1.C:
17580         * form1.h:
17581         * lyx_cb.C:
17582         * lyx_cb.h:
17583         * lyxfunc.h:
17584         * lyxfunc.C:
17585         * BufferView_pimpl.C: use new file dialog in GUII
17586
17587         * lyx_cb.h:
17588         * lyx_cb.C: remove LayoutsCB to Toolbar
17589
17590 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17591
17592         * ShareContainer.h (get): add std:: qualifier
17593
17594 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17595
17596         * ShareContainer.h: define a proper ShareContainer::value_type
17597         type (and use typename to please compaq cxx)
17598
17599 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17600
17601         * lyxparagraph.h: move serveral local vars to
17602         ParameterStruct/ParagraphParameters., use ShareContainer in
17603         FontTable., make vars in FontTable private and add getter and
17604         setter.
17605
17606         * paragraph.C: changes because of the above.
17607
17608         * lyxfont.h: remove copy constructor and copy assignment. (the
17609         default ones is ok), move number inside FontBits. move inlines to
17610         lyxfont.C
17611
17612         * lyxfont.C: add number to initializaton of statics, move several
17613         inlines here. constify several local vars. some whitespace
17614         cleanup. Dont hide outerscope variables.
17615
17616         * Spacing.h: add two new constructors to match the set methods.
17617
17618         * ShareContainer.h: new file, will perhaps be moved to support
17619
17620         * ParameterStruct.h: new file
17621
17622         * ParagraphParameters.h: new file
17623
17624         * ParagraphParameters.C: new file
17625
17626         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17627         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17628
17629         * BufferView_pimpl.C: ParagraphParameter changes.
17630         * buffer.C: Likewise.
17631         * bufferview_funcs.C: Likewise.
17632         * text.C: Likewise.
17633         * text2.C: Likewise.
17634
17635 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17636
17637         * lyxfind.C (LyXReplace): do not redefine default argument in
17638         implementation.
17639         (IsStringInText): ditto
17640         (SearchForward): ditto
17641         (SearchBackward): ditto
17642
17643 2001-03-06  Juergen Vigna  <jug@sad.it>
17644
17645         * lyxfind.C (IsStringInText): put parentes around expressions.
17646
17647 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17648
17649         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17650
17651 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17652
17653         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17654
17655         * stl_string_fwd.h: add comment
17656
17657         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17658
17659         * tabular.h:
17660         * tabular.C: remove unused DocBook methods
17661
17662         * intl.C:
17663         * language.C:
17664         * paragraph.C:
17665         * buffer.C:
17666         killed DO_USE_DEFAULT_LANGUAGE
17667
17668 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17669
17670         * lyx_gui.C: do not include language.h.
17671
17672         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17673         arguments in function implementation.
17674
17675 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17676
17677         * BufferView_pimpl.C: add <ctime>
17678
17679 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17680
17681         * BufferView_pimpl.C: add using std::find_if
17682
17683 2001-02-27  José Matos  <jamatos@fep.up.pt>
17684
17685         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17686         by OnlyPath.
17687
17688 2001-02-11  José Matos  <jamatos@fep.up.pt>
17689
17690         * buffer.C (makeDocBookFile): command styles now have a parameter as
17691         "title" by default.
17692
17693 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17694
17695         * layout_forms.[Ch]: removed
17696         * lyx_cb.[Ch]: out character
17697         * lyx_gui.C: out character
17698         * lyx_gui_misc.C: out character
17699         * bufferview_funcs.C: : out character,
17700         added toggleall as parameter in ToggleAndShow
17701
17702 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17703
17704         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17705
17706         * text2.C (SetCurrentFont): Disable number property at boundary.
17707
17708 2001-02-26  Juergen Vigna  <jug@sad.it>
17709
17710         * lyxfunc.C (getStatus): added a string argument override function so
17711         that this is correctly called from LyXFunc::Dispatch if it contains a
17712         do_not_use_argument which is used!
17713         (Dispatch): added check for "custom" export and call appropriate func.
17714
17715 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17716
17717         * lyxrc.C: Add language_command_local, language_use_babel and
17718         language_global_options.
17719
17720         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17721
17722         * buffer.C (makeLaTeXFile): Use language_use_babel and
17723         language_global_options.
17724
17725 2001-02-23  Juergen Vigna  <jug@sad.it>
17726
17727         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17728         which works with LyXText and putted it inside BufferView. Here now we
17729         only call for that part the BufferView::Dispatch() function.
17730
17731         * BufferView.C (Dispatch): added.
17732
17733         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17734         functions which needs to use a LyXText over from LyXFunc.
17735         (MenuInsertLyXFile): added
17736         (getInsetByCode): added
17737         (moveCursorUpdate): added
17738         (static TEXT): added
17739
17740 2001-02-22  Juergen Vigna  <jug@sad.it>
17741
17742         * BufferView_pimpl.C (update): call a status update to see if LyXText
17743         needs it.
17744
17745 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17746
17747         * vc-backend.C (revert): implement for CVS
17748         (getLog): implement for CVS
17749
17750 2001-02-20  Juergen Vigna  <jug@sad.it>
17751
17752         * text2.C (ClearSelection): added BufferView param for inset_owner call
17753
17754         * lyxfunc.C (TEXT): added this function and use it instead of
17755         directly owner->view()-text of getLyXText().
17756
17757 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17758
17759         * src/layout_forms.C: out preamble
17760         * src/layout_forms.h: out preamble
17761         * src/lyx_cb.C: out preamble
17762         * src/lyx_cb.h: out preamble
17763         * src/lyx_gui.C: out preamble
17764         * src/lyx_gui_misc.C: out preamble
17765         * src/lyxfunc.C: connect with guii preamble
17766
17767 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17768
17769         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17770
17771 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17772
17773         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17774         whether to run bibtex.
17775
17776 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17777
17778         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17779
17780 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17781
17782         * Makefile.am (lyx_SOURCES): removed bibforms.h
17783
17784         * vspace.h: doxygen
17785
17786         * text.C (GetVisibleRow): make several local vars const
17787
17788         * tabular.C: small cleanup.
17789
17790         * lyxserver.C (callback): use compare instead of strncmp
17791
17792         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17793         inlines to after class or to paragraph.C
17794
17795         * lyxfont.h: remove friend operator!=
17796
17797         * converter.h: move friend bool operator< to non friend and after
17798         class def.
17799
17800         * combox.h: small cleanup
17801
17802         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17803         to inlines after class def.
17804
17805         * buffer.C (pop_tag): use string operations instead of strcmp
17806
17807         * bmtable.c: doxygen, small cleanup
17808
17809         * LaTeX.h: remove friend operator==
17810
17811 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17812
17813         * screen.C:
17814         * lyxrc.[Ch]:
17815         * lyxfunc.C:
17816         * lyxfont.[Ch]:
17817         * lyx_cb.C:
17818         * intl.[Ch]:
17819         * commandtags.h:
17820         * buffer.C:
17821         * WorkArea.[Ch]:
17822         * LyXAction.C:
17823         * BufferView_pimpl.C:
17824         * BufferView.[Ch]: remove cruft
17825
17826 2001-02-14  Juergen Vigna  <jug@sad.it>
17827
17828         * lyxfunc.C: removed #if 0 unused code
17829
17830         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17831
17832         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17833
17834         * text2.C (SetSelection): added a BufferView * parameter
17835
17836 2001-02-13  Juergen Vigna  <jug@sad.it>
17837
17838         * lyxfunc.C (Dispatch): fixed protected blank problem.
17839         * BufferView2.C (protectedBlank): added LyxText * parameter.
17840
17841         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17842         (AppendColumn): same as above for column_info.
17843
17844         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17845         (moveCursorUpdate): use a LyXText param for support of InsetText.
17846
17847         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17848         (tripleClick): ditto
17849
17850         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17851
17852         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17853
17854         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17855
17856         * text2.C (SetSelection): set correct update status if inset_owner
17857         (ToggleFree): ditto
17858
17859 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17860
17861         * tabular.C: remove some commented code.
17862
17863 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17864
17865         * BufferView_pimpl.C: call hideSplash()
17866
17867         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17868
17869         * include_form.h:
17870         * bibforms.h: remove
17871
17872         * lyxfunc.C:
17873         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17874           add LFUN_CHILD_CREATE
17875
17876         * counters.h: fix tiny typo
17877
17878         * lyx_cb.C:
17879         * lyx.h:
17880         * lyx_gui.C:
17881         * lyx.C: move splash to frontends/xforms/
17882
17883         * lyx_gui_misc.C: move Include and Bibform to frontends
17884
17885         * lyxvc.h: clarify comment
17886
17887         * vspace.C: tiny housekeeping
17888
17889 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17890
17891         * text.C (PrepareToPrint): RTL Fix.
17892
17893         * paragraph.C (GetUChar): New method.
17894         (String):  Use GetUChar.
17895
17896         * buffer.C (asciiParagraph): Use GetUChar.
17897
17898 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17899
17900         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17901
17902 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17903
17904         * buffer.h:
17905         * buffer.C: rename to getLogName(), handle
17906           build log / latex log nicely
17907
17908 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17909
17910         * MenuBackend.C:
17911         * MenuBackend.h: remove support for reference menuitem type.
17912
17913 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17914
17915         * BufferView_pimpl.C: housekeeping
17916         * BufferView_pimpl.h:
17917         * LyXView.h:
17918         * Makefile.am:
17919         * Timeout.C:
17920         * Timeout.h:
17921         * minibuffer.h: move Timeout GUI-I
17922
17923 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17924
17925         * lyxrc.C (read): Update converters data-structures.
17926
17927 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17928
17929         * LaTeX.h (operator!=): add operator != for Aux_Info
17930
17931 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17932
17933         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17934
17935         * LaTeXLog.C: deleted, useful code moved to Buffer
17936
17937         * buffer.h:
17938         * buffer.C: new function getLatexLogName()
17939
17940         * lyx_gui_misc.C:
17941         * lyx_gui.C:
17942         * lyxvc.C:
17943         * lyxvc.h:
17944         * lyxfunc.C: use frontends for LaTeX and VC logs
17945
17946 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17947
17948         * LaTeX.h: yet another std:: that Allan forgot.
17949
17950         * Variables.C (set): renamed from isset(), because this clashes
17951         with some HP-UX macros (grr).
17952
17953 2001-02-06  Allan Rae  <rae@lyx.org>
17954
17955         * LaTeX.h: Another bug fix.  Missing std:: this time.
17956
17957 2001-02-04  Allan Rae  <rae@lyx.org>
17958
17959         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17960         floats problem. I've left it commented out because it's not quite
17961         correct.  It should also test that the current object is a table or
17962         figure inset.  But I haven't gotten around to figuring out how to do
17963         that.  I *think* it'll be something like: "table" == inset.type()
17964
17965         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17966         bool.
17967
17968 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17969
17970         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17971         all the citation/databases/styles in the auxilary file.
17972         (run): Rerun latex if there was a babel language error.
17973
17974 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17975
17976         * text.C (Backspace): Preserve the font when changing newline char
17977         with a space.
17978         (BreakParagraph): If the cursor is before a space, delete the space.
17979
17980         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17981
17982 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17983
17984         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17985         new argument (code).
17986         (ChangeCitationsIfUnique): New method.
17987
17988         * paragraph.C (GetPositionOfInset): Handle bibkey.
17989
17990 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17991
17992         * BufferView_pimpl.h: change type of Position::par_pos to
17993         LyXParagraph::size_type.
17994
17995 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17996
17997         * BufferView_pimpl.C (savePosition, restorePosition): Write
17998         messages to minibuffer.
17999
18000 2001-01-28  José Matos  <jamatos@fep.up.pt>
18001
18002         * buffer.C (makeDocBookFile): adds support for document language.
18003         A silly restriction on the name of LatexCommand types where removed.
18004         Added support for CDATA sections, allows to chars unescaped, used
18005         among others in code, to avoid escape < and >.
18006
18007 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18008
18009         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18010         saved positions instrad of a stack. Furthermore, a position is
18011         stored using paragraph id/paragraph position.
18012
18013         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18014         Remove LFUN_REF_BACK.
18015
18016 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18017
18018         * converter.C (dvipdfm_options): New method.
18019
18020 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18021
18022         * vspace.C (isValidLength): Fix for empty input string.
18023
18024 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18025
18026         * LyXAction.C (init): change description of LFUN_FIGURE to
18027         "Insert Graphics"
18028
18029 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18030
18031         * LaTeX.C: add using directive
18032
18033 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18034
18035         * MenuBackend.C (expand): Fix the sorting of the formats.
18036
18037 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18038
18039         * lyx_main.C: tiny error message fix
18040
18041 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18042
18043         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18044         calling fl_initialize(). This fixes the problem with ',' as
18045         decimal separator in text files.
18046
18047 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18048
18049         * trans.C (process): Fix the keymap bug.
18050
18051 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18052
18053         * LaTeX.C (scanAuxFiles): New method. Provides support for
18054         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18055         (scanLogFile) Scan for "run BibTeX" messages.
18056
18057         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18058         OT1 font encoding. Also, load the aecompl package if the ae
18059         package is loaded.
18060
18061         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18062
18063 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18064
18065         * texrow.C (increasePos): turn two error messages into debug
18066         messages.
18067
18068 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18069
18070         * LaTeX.C (scanAux): Handle the \@input macro.
18071         (runBibTeX): Use scanAux().
18072
18073         * language.C (latex_options_): New field.
18074
18075         * LaTeXFeatures.C (getMacros): Add language macros.
18076
18077         * buffer.C (makeLaTeXFile): Small fix.
18078
18079 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18080
18081         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18082
18083         * text2.C: add a using directive.
18084
18085 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18086
18087         * BufferView2.C:
18088         * lyx_gui_misc.h:
18089         * lyxfr1.C:
18090         * lyxfunc.C: kill LyXBell.
18091
18092 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18093
18094         * text.C (IsBoundary): Remove the error message
18095
18096         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18097
18098         * lyxrc.C (setDefaults): Correct initialization value for
18099         font_norm_type.
18100
18101 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18102
18103         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18104         gotoError().
18105
18106         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18107         and GotoNextNote().
18108
18109         * src/LyXAction.C: Added reference-next.
18110
18111         * text.C (InsertChar): Use contains instead of strchr.
18112
18113         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18114
18115 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18116
18117         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18118         alignment commands (when needed).
18119
18120         * text.C (InsertChar): Add ':' to number separator chars.