]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
remove assert
[lyx.git] / src / ChangeLog
1
2 2005-07-16  André Pönitz  <poenitz@gmx.net>
3
4         * paragraph.h (getChar): remove asserts as the same kind of security
5   can be achieved by using a suitable standard library implementation
6   and the function was in the critical path (25.9% in profiler)
7
8 2005-07-16  Juergen Vigna <jug@lyx.org>
9
10         * cursor.C (bruteFind2):
11         * bufferview_funcs.C (coordOffset): 
12         * text.C (cursorX,cursorY): Handle cursor position after last char
13         in row before a inset which uses a whole row.
14
15 2005-07-15  José Matos <jamatos@lyx.org>
16
17         * output_plaintext.[Ch] (writeFileAscii): control reference title
18         printing.
19         (asciiParagraph): noparbreak was already deal and was incorrectly
20         used.
21
22 2005-07-15  Juergen Vigna <jug@lyx.org>
23
24         * lyxfunc.C (dispatch): save and restore the cursor after a
25         textclass switch.
26
27 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
28
29         * text.C (backspace): bug 806 for empty keepempty paragraphs we
30         change the layout to default before letting DEPM do its thing.
31
32         * paragraph_funcs.C (breakParagraph): dont reset the layout on
33         keepEmpty paragraphs
34
35         * text.C (setCursorFromCoordinates): add a debug statement
36
37         * text2.C (getColumnNearX): bug 1825 make sure that we don't
38         return a pos that is not on the row
39
40         * output_latex.C (TeXDeeper): get rid of potential dereferencing
41         of past the end iterator
42
43 2005-07-14  André Pönitz  <poenitz@gmx.net>
44
45         * undo.C (recordUndoFullBuffer): implement undo for
46   textclass switches
47
48 2005-07-14  André Pönitz  <poenitz@gmx.net>
49
50         * cursor.C (setSelection): open insets when selection is set there
51   to avoid crashs with cold coord cache
52
53 2005-07-14  André Pönitz  <poenitz@gmx.net>
54
55         * trans_mgr.C (insert): move cursor to the right after inserting
56   a char.
57
58 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
59
60         * BufferView_pimpl.C (update): dampen some of the debug blabbering
61         * factory.C (readInset): ditto
62         * text.C, text2.C: ditto
63
64 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
65
66         * buffer.C: format incremented to 242. There is no file format per
67         se, but the "frenchb" language has been removed from lib/language
68         and has to be translated to "french" by lyx2lyx.
69
70 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
71
72         * cursor_slice.h, dociterator.h: add some documentation
73         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
74
75 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
76
77         * text.C (leftMargin): do not add identation to display() style
78         insets, because they are always centered (bug 1293).
79
80 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
81
82         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
83         formatted_time methods in support/lyxtime.
84
85 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
86
87         * toc.[Ch]: new method getGuiName, which is used by the frontends 
88         to set the toc combo (fixes bug 1870). Make TOC string translatable.
89
90 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
91
92         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
93         StableDocIterator const &)
94         * undo.C (recordUndo): use the above instead of cell.size() comparison
95         (fixes bug 1808; instructed by André).
96
97 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
98
99         * cursor_slice.h: 
100         * dociterator.h: Fix the assert when copying rows/cols in math
101
102 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
103
104         * BufferView_pimpl.C:
105         * LyXAction.C:
106         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
107
108         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
109         (findInset): new functions, refactored from goto Inset that return 
110         the position of a certain inset without setting the buffer's cursor
111         (by Jean-Marc); 
112         (gotoInset): rewrite to call findInset and then set the cursor
113         (by Jean-Marc).
114
115 2005-06-16  Angus Leeming  <leeming@lyx.org>
116
117         * lyxrc.C (output, read): wrap all input and output of paths with
118         calls to os::internal_path and os::external_path, respectively.
119         (output): wrap bind_file inside quotes.
120
121         * format.C (view): enable the viewer to use the '$$s' placeholder.
122
123 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
124
125         * LColor.[Ch] (getFromLaTeXName): new
126
127 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
128
129         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
130
131 2005-06-14  Angus Leeming  <leeming@lyx.org>
132
133         * lyx_main.C (init): ensure that the LyX binary dir is the first
134         element in the PATH on non-POSIX builds.
135
136 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
137
138         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
139
140 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
141
142         * rowpainter.C (paintInset, paintHebrewComposeChar)
143         (paintArabicComposeChar, paintChars): add a LyXFont argument.
144         (paintChars): use getFontSpan to reduce calls to getFont to a
145         minimum; use Paragraph::lookupChange instead of isXXXText.
146         (paintForeignMark): rename LyXFont argument.
147         (paintFromPos): pass a LyXFont object to the various paintXXX
148         methods.
149
150         * FontIterator.C (FontIterator, operator++): use
151         Paragraph::getFontSpan
152
153         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
154         version that returns the font span as a pair.
155
156 2005-06-09  Angus Leeming  <leeming@lyx.org>
157
158         * converter.C (convert): Don't forget "outfile = real_outfile" as
159         the final step in a conversion where the input and output file names
160         are the same. Otherwise, future conversion steps won't work...
161
162 2005-06-09  Angus Leeming  <leeming@lyx.org>
163
164         * lyxsocket.C: remove stub code as it isn't needed by
165         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
166
167 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
168
169         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
170         effectively disabled -x
171
172 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
173
174         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
175         when it actually makes sense.
176
177 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
178
179         * BufferView_pimpl.C: revert to showCursor in connection with
180         Lars's front-end stack
181
182 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
183
184         * text.C (redoParagraph): move cursor right after a bibitem
185         has been inserted.
186
187         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
188
189 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
190
191         * buffer_funcs.C (bufferErrors): fix computation of the end of an
192         error range.
193
194 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
195
196         * BufferView.[Ch] (update):
197         * BufferView_pimpl.[Ch] (update, metrics):
198         * dimension.h (operator==):
199         * lyxfunc.C (dispatch):
200         * metricsinfo.h (ViewMetricsInfo):
201         * rowpainter.C (paintText):
202         * lyxtext.h:
203         * text.C (redoParagraph):
204         * text3.C (dispatch): Make LyX only repaint current paragraph in
205         case of character insert --> speedup. Also fix cursor draw
206         artifacts
207
208 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
209
210         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
211         avoid a crash (bug 1891)
212
213 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
214
215         Fix bug 1892:
216
217         * text2.C (getStringToIndex): constify cur argument.
218
219         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
220         argument has been given
221         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
222         try to invoke LFUN_INSET_APPLY).
223
224         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
225         if no inset was created by doInsertInset
226         (doInsertInset): return true if an inset has been inserted.
227
228 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
229
230         * vspace.C (asGUIName): new method. A version of the space
231         suitable for showing on screen.
232
233 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
234
235         * MenuBackend.C:
236         * lyxrc.C: rename "ASCII" to "Plain Text"
237
238 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
239
240         * buffer_funcs.C (expandLabel): take a Buffer as argument;
241         translate the labelstring.
242         (setCounter): translate labelstring as needed.
243
244         * output_docbook.C (makeCommand): fix expandLabel invokation
245
246 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
247
248         * BufferView.C: fix dialog title
249
250 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
251
252         * lyx_main.C (priv_exec): fix logic error with help from Angus
253         * lyx_main.C (parse_execute): set is_gui = false and remove now
254         obsolete comment about a segfault
255
256 2005-05-18  Angus Leeming  <leeming@lyx.org>
257
258         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
259
260 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
261
262         * tabular.[hC]: added setCellInset to fix tabular paste.
263
264 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
265
266         * buffer.C (save): check if destination is writable before trying
267         to copy a file
268
269 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
270
271         * BufferView_pimpl.C (update): fix processEvents -caused update
272         recursion bug
273
274 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
275
276         * buffer_funcs.C (setCounter): fix test for numbering of
277         environments.
278
279         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
280         depth correctly; use optional argument when it exists
281
282         * lyxtextclass.C: remove unused MaxCounterTags enum
283         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
284         (max_toclevel, min_toclevel): new methods.
285
286         * MenuBackend.C (expandToc2): fix case where depth is smaller than
287         the smallest depth in toc.
288
289         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
290         layouts that should not appear in a table of contents.
291
292 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
293
294         * cursor.h (undispatched, noUpdate): add comments from André
295
296 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
297
298         * lfuns.h:
299         * LyXAction.C:
300         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
301
302 2005-05-07  André Pönitz  <poenitz@gmx.net>
303
304         * cursor.[Ch] (leaveInset): new function
305
306 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
307
308         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
309
310 2005-05-04  Angus Leeming  <leeming@lyx.org>
311
312         * lyxfunc.C (getStatus): disable the spell checker dialog if
313         none of USE_[AIP]SPELL are defined.
314
315 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
316
317         * tabular.C (setWidthOfCell): remove obsolete comment
318
319 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
320
321         * paragraph.C (bibitem):
322         * buffer_funcs.C (setCounter):
323         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
324
325 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
326
327         * text3.C (getStatus): immediately return after setOnOff
328
329         * rowpainter.C: fix drawing of appendix start
330
331 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
332
333         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
334         SwitchBetweenClasses and remove the unused return value.
335         Handle character styles, too
336
337 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
338
339         * factory.C (createInset): handle undefined character styles
340
341 2005-05-02  Angus Leeming  <leeming@lyx.org>
342
343         * buffer.C: protect the #include of utime.h with a preprocessor
344         guard.
345
346 2005-05-02  Angus Leeming  <leeming@lyx.org>
347
348         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
349         function so that auto-saving works, albeit in a blocking manner.
350
351         * Makefile.am: make compilation of the client sub directory, of
352         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
353         on conditionals set at configure time.
354
355         * SpellBase.[Ch]: no longer an abstract base class. Instead,
356         it can be compiled in its own right but has no-op functionality.
357
358         * aspell.C, pspell.C: remove preprocessor guards. The files should
359         be compiled only if the necessary functionality exists.
360
361         * lyxserver.C, lyxsocket.C: disable on Windows.
362
363 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
364
365         * text.C (leftMargin): Fix the parindent use bug (1764)
366         by dirty trick
367
368 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
369
370         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
371         argument.
372
373 2005-04-25  Angus Leeming  <leeming@lyx.org>
374
375         * Bidi.[Ch]:
376         * coordcache.[Ch]:
377         * ispell.C:
378         * lyxserver.C:
379         * mover.C:
380         * pch.h:
381         include <config.h> in .C files, not .h ones.
382         add licence blurb.
383         protect headers inside preprocessor guards.
384
385 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
386
387         * FuncStatus.h (StatusCodes): document
388
389 2005-04-21  André Pönitz  <poenitz@gmx.net>
390
391         * FuncStatus.h (enabled, onoff): document
392
393 2005-04-19  Angus Leeming  <leeming@lyx.org>
394
395         * BufferView_pimpl.C (cursorToggle): no longer test whether
396         any child processes have been reaped before calling
397         handleCompletedProcesses().
398
399 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
400
401         * text3.C (dispatch): fix, finally fix, the language problem in
402         new lyxtexts, without disabling on-the-fly font changes (Helge's
403         bug report)
404
405 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
406
407         * text3.C (dispatch): set cursor on double/triple click events
408         (bug 1811)
409
410 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
411
412         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
413         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
414
415         * rowpainter.C (paintFirst): simplify the code a little bit. In
416         particular, remove the test for secnumdepth.
417         * text.C (setHeightOfRow): only allocate space for chapter number
418         when updateCounters provided an actual label, instead of looking
419         at secnumdepth directly.
420
421         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
422
423         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
424         paragraphs when secnumdepth is large enough or, for environments,
425         when they are not the first in a sequence.
426
427 2005-04-17  Angus Leeming  <leeming@lyx.org>
428
429         * buffer.C (makeLaTeXFile): replace code to manipulate a path
430         containing space and '~' characters with a call to latex_path().
431
432 2005-04-17  Angus Leeming  <leeming@lyx.org>
433
434         * converter.C (convert): protect all args of convertDefault.sh
435         script with quotes.
436
437 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
438
439         * text3.C (dispatch): change the layout to "Caption" after inserting
440         a float.
441
442 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
443
444         * text3.C (dispatch): fix language problem in newly created
445         textinsets (and main text) in non-english docs
446
447 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
448
449         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
450         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
451         * text3.C (getStatus): disable LFUN_INSET_MODIFY
452
453 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
454
455         * lyxtext.h:
456         * text.C (metrics):
457         * text2.C (getFont):
458         * rowpainter.C (getFont): Fix metrics bug introduced by inset
459         fonts fix
460
461 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
462
463         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
464         output of \item arguments without trailing text.
465
466 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
467
468         * FontIterator.C (operator*): avoid a copy of the font.
469
470 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
471
472         * rowpainter.C (getFont): fix language bug from previous fix
473
474 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
475
476         * rowpainter.C (RowPainter, getFont): fix font inside inset
477         (bugs 1766, 1809)
478
479 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
480
481         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
482         preventing inserted font, deco, delim insets jumping to start of
483         surrounding inset.
484
485 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
486
487         * lyxfunc.C (dispatch): translate message before sending it to the
488         minibuffer.
489
490 2005-03-29  Angus Leeming  <leeming@lyx.org>
491
492         * lyx_main.C (priv_exec): call os::internal_path on each file passed
493         to LyX on the command line.
494
495 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
496
497         * vc-backend.C: use QuoteName to protect file names wherever
498         necessary.
499
500 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
501
502         * buffer.[Ch]:
503         * BranchList.h: fix bugs 1844,1845: document settings don't
504         stick
505
506 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
507
508         * lyxrc.C (setDefaults, read, output, getDescription): add support
509         for tex_allows_spaces.
510
511         * exporter.C (Export): allows files in directory containing spaces
512         if tex_allows_spaces is true.
513
514         * buffer.C (makeLaTeXFile): if the document path contains spaces,
515         output it in double quotes.
516
517 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
518
519         * rowpainter.C: use default text height for drawing change tracker
520         strikeout lines.
521
522 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
523
524         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
525
526 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
527
528         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
529         directory is missing.
530
531 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
532
533         * text2.C: fixed the fix, extended to other case.
534
535 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
536
537         * text2.C: fix for cursor up/down stuck in math [bug 1792]
538
539 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
540
541         * text2.C (cursorUp): get rid of a crash
542         * text.C (x2pos): add an assert
543
544 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
545
546         * lyxfunc.C (getStatus): fix warning when assertions are disabled
547
548         * text3.C:
549         * lyxfunc.C:
550         * dociterator.C: include <boost/current_function.hpp>, which is
551         needed when assertions are disabled.
552
553 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
554
555         * text2.C: fix for stuck cursor when traversing two
556         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
557
558 2005-02-25  Andreas Vox  <avox@arcor.de>
559
560         * output_docbook.C (makeParagraph): suppress trailing newline
561         after a run of paragraphs
562
563 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
564
565         * paragraph.C: fix for confused change tracker when pasting
566         text that begins with a lineseparator. [bug 1827]
567         (setChange(0, Change::INSERTED);)
568
569         * paragraph_funcs.C: fix for lost changes on triple-paste
570         in change tracking mode [bug 1827] (par.setChange()).
571
572 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
573
574         * text2.C (updateCounters, setCounter, expandLabel): move to
575         buffer_funcs.
576
577         * buffer_funcs.C (updateCounters): turn into a free standing
578         function and add a buffer parameter. Remove dead code for tracking
579         labelstring change.
580         (setCounter): change into a free-standing function which gets a
581         dociterator as argument. Use this iterator to fix captions in a
582         simple way. When no float is found above the caption, use the
583         labelstring of the caption layout as default.
584
585         * text.C (breakParagraph, backspace):
586         * text2.C (init, setLayout, changeDepth):
587         * text3.C (dispatch):
588         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
589         updateCounters.
590
591         * dociterator.C (forwardPar): make it much faster by calling
592         forwardPos() only when really necessary.
593
594         * output_docbook.C (makeCommand): adapt to expandLabel move.
595
596         * cursor.C: remove unused variable
597
598 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
599
600         * paragraph_funcs.C: fix crash when pasting insets in change
601         tracking mode [bug 1277] (honour change type in moveItem).
602
603 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
604
605         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
606
607 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
608
609         * BufferView.C (setCursor): change to use a DocIterator.
610         (gotoLabel): use BufferView::setCursor (other part of bug 781).
611         (putSelectionAt): adapt to BufferView::setCursor change.
612
613         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
614         moved here from LyXText and rewritten to use proper cursor
615         methods. Fixes bug 1787, 616 and 835.
616
617         * BufferView_pimpl.C (restorePosition): set the cursor correctly
618         when inside an inset (part of bug 781).
619         (dispatch): adapt to change of BufferView::setCursor.
620         (getStatus, dispatch): handle LFUN_GOTOERROR,
621         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
622
623         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
624         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
625         * text3.C (gotoNextInset, gotoInset): removed.
626
627 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
628
629         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
630
631 2005-02-15  Angus Leeming  <leeming@lyx.org>
632
633         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
634         can be used meaningfully in a comparison.
635
636 2005-02-13  André Pönitz  <poenitz@gmx.net>
637
638         * bufferview_funcs.C (coordOffset): improve cursor drawing
639
640 2005-02-13  André Pönitz  <poenitz@gmx.net>
641
642         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
643         * Cursor.C (dispatch): use fixIfBroken
644         * lyxfunc.C (getStatus): use fixIfBroken
645
646 2005-02-15  Angus Leeming  <leeming@lyx.org>
647
648         * lyx_main.C (error_handler):
649         * lyxfunc.C:
650         * lyxrc.C (setDefaults):
651         s/GetEnv/getEnv/.
652         #include "environment.h".
653
654         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
655
656 2005-02-15  Angus Leeming  <leeming@lyx.org>
657
658         * lyxserver.C (startPipe): squash MSVC warning "local variable
659         'fd' used without having been initialized".
660
661 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
662
663         * BufferView_pimpl.C: revert accidental commit.
664
665 2005-02-14  André Pönitz  <poenitz@gmx.net>
666
667         * dociterator.[Ch]: new member forwardPosNoDescent(),
668         which doesn't enter nested insets.
669         * text2.C (setFont): use forwardPosNoDescent() instead
670         of ForwardPos() (fixes crash on font change).
671
672 2005-02-13  Angus Leeming  <leeming@lyx.org>
673
674         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
675         only if lyxrc.path_prefix is not empty.
676
677 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
678
679         * bufferparams.C (readGraphicsDriver): prevent crash
680
681 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
682
683         * text2.C (setCounter): check for inInset() == 0
684
685 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
686
687         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
688         but use update() to get correct screen display; use convert
689         instead of istringstream.
690         (getStatus): handle LFUN_GOTO_PARAGRAPH
691
692         * lyxfunc.C (dispatch, getStatus): do not handle
693         LFUN_GOTO_PARAGRAPH here.
694
695 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
696
697         * text3.C (dispatch): size() -> depth()
698
699         * text2.C: remove some debug output
700
701         * paragraph.C: ws changes only
702
703         * lyxfunc.C (getStatus): size() -> depth()
704
705         * dociterator.h (clear, push_back, pop_back, internalData,
706         operator[], resize, empty): new functions
707         Make StableDocIterator and operator== be friends. Don't inherit
708         from std::vector use a privat class variable slices_ instead.
709         Modify to fit.
710
711         * dociterator.C: update because of not inheriting from std::vector
712         anymore. Call explictly to slices_ instead. Use depth() instead of
713         size() and top() instead of back()
714
715         * cursor.C: chagne size() -> depth and back() -> top(). Also
716         remove some direct operator[](i) calls in favour of foo[i]
717         (getFont): remove some dead code
718
719         * bufferview_funcs.C (coordOffset): size() -> depth()
720
721         * buffer.C: ws changes only
722
723         * CutAndPaste.C (eraseSelection): back() -> top()
724
725         * BufferView_pimpl.C (selectionRequested): back() -> top()
726
727         * BufferView.C (setCursor): size() -> depth()
728
729 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
730
731         * text3.C (cursorPrevious): return true if depm changed something
732         (cursorNext): ditto
733         (dispatch): rename sl to oldTopSlice, remove moving use the new
734         NoUpdate func attrib instead. Make sure that needsUpdate is set
735         for function that have NoUpdate, but where depm might have changed
736         the buffer anyway.
737
738         * text2.C (cursorLeft): make us return true if depm changed
739         something
740         (cursorRight): ditto
741         (cursorUpParagraph): ditto
742         (curosrDownParagraph): ditto
743         (cursorUp, cursorDown): ditto, make sure to read comments in code
744         (deleteEmptyParagraphMechanism): remove an assert, also return
745         true if just a single char was deleted.
746
747         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
748         cursor that we modify, to avoid modifying an active cursor before
749         we call setCursor. This allows depm to run. Also return true if
750         depm deleted something.
751
752         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
753         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
754         cursorDownParagraph, cursorPrevious and cursorNext, return true if
755         something was changed in the buffer because of them (ie. depm run)
756
757         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
758         debug messages. Make update by default be false. Make sure that
759         the result of update is retained throught several calls down to
760         dispatch.
761
762         * LyXAction.h: add a new func_attrib: NoUpdate
763
764         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
765         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
766         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
767         and LFUN_WORDLEFT
768         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
769
770 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
771
772         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
773         bv_->owner(), bv_->buffer() by direct references to the private
774         members.
775         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
776         (getStatus): isSavedPosition() is in BufferView::Pimpl.
777         (fitCursor): center() is in BufferView::Pimpl.
778         (getStatus, trackChanges, dispatch): no need for a temporary buf
779         variable
780         (fitCursor, workAreaDispatch): use workarea().workheight()
781
782 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
783
784         * CutAndPaste.C (pasteSelectionHelper): fix a crash
785
786 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
787
788         * buffer.C: format up to 241.
789         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
790         break if pasting into ERT
791         * lyxfunc.C (getStatus): suppress mathpanel and
792         LFUN_DIALOG_SHOW_NEW_INSET in ERT
793
794 2005-02-01  Angus Leeming  <leeming@lyx.org>
795
796         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
797
798 2005-02-01  Angus Leeming  <leeming@lyx.org>
799
800         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
801         calling fs::is_directory().
802
803 2005-01-31  Angus Leeming  <leeming@lyx.org>
804
805         * lyx_main.C (priv_exec): specify explicitly the relative location
806         of the top level build directory when run in-place.
807
808 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
809
810         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
811         LyXText containing the cursor, not the top-level one.
812
813         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
814         true.
815         (insertStringAsLines): rename par to pit; use temporary variable
816         par to hold a Paragraph; do not store par.layout() in a variable,
817         since the pointer may die when breaking paragraphs; pass pars to
818         breakParagraph() instead of Buffer::paragraphs().
819
820 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
821
822         * lyxlex_pimpl.h: #include <fstream>.
823
824         * BufferView.[Ch] (getLyXText): add a const version.
825
826         * BufferView_pimpl.C: add debug aids.
827
828         * RowList_fwd.h:
829         * buffer.h:
830         * lyxrow.h:
831         * paragraph_funcs.h: add commentary explaining what the class does.
832
833
834         * coordcache.[Ch]: add lots of commentary.
835         (startUpdating, doneUpdating): debug aids.
836         (arrays, insets, parPos, getParPos): accessors to private data.
837
838         * cursor_slice.[Ch] (text): add a const version.
839         * dociterator.[Ch] (text, innerText): add const versions.
840
841         * lyxtext.h (breakParagraph): change the keep_layout arg to a
842         bool.
843
844         * paragraph.C (getRow, pos2ros): add asserts.
845
846         * paragraph.h: add commentary. Lots of.
847
848         * paragraph.[Ch] (metrucs, draw): removed.
849
850         * cursor.C:
851         * rowpainter.[Ch]: const-correct changes.
852
853         * text.C: various obvious clean-ups. Removal of ancient cruft.
854         Bug fixes, even.
855
856 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
857
858         * vc-backend.C (find_file): rewrite to use boost.filesystem
859         (scanMaster): ditto
860
861         * main.C (main): set default name check for boost.filesystem to
862         no check
863
864         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
865         (open): ditto
866         (doImport): ditto
867         (actOnUpdatedPrefs): ditto
868
869         * lyx_main.C (init): rewrite to use boost.filesystem
870         (queryUserLyXDir): ditto
871
872         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
873         (getContentsOfAsciiFile): ditto
874
875         * lastfiles.C (readFile): rewrite to use boost.filesystem
876
877         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
878
879         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
880         (loadLyXFile): ditto
881
882         * buffer.C (Buffer): adjust for destroydir
883         (getLogName): rewrite to use boost.filesystem
884         (setFileName): ditto
885         (save): use fs::copy_file (from fs_extras)
886
887         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
888
889         * LaTeX.C (run): rewrite to use boost.filesystem
890         (scanAuxFiles): ditto
891         (handleFoundFile): ditto
892
893 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
894
895         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
896
897         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
898
899 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
900
901         * lyxlayout.[Ch]: change some vars from float to double
902
903         * buffer.C (readFile): make a local var const
904
905         * Several files: use convert<> instead of atoi,strToXXX and friends
906
907 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
908
909         * LaTeXFeatures.[Ch]: Add a static list packages_ that
910         holds the contents of packages.lst. New functions getAvailable
911         and isAvailable to parse and check that list, resp.
912
913         * LyXAction.C:
914         * lfuns.h:
915         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
916
917         * bufferparams.[Ch]: new param output_changes.
918
919         * Buffer.C: increase file format to 240.
920         Use output_changes and isVailable.
921
922         * changes.[Ch]:
923         * paragraph.C:
924         * paragraph_pimpl.C: Use output_changes and isVailable.
925
926 2005-01-23  Angus Leeming  <leeming@lyx.org>
927
928         * output_latex.C: #include "insetbibitem.h", rather than
929         forward declare function bibitemWidest.
930
931 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
932
933         * lyx_main.C (init): make it compile on the Mac.
934
935 2005-01-20  Angus Leeming  <leeming@lyx.org>
936
937         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
938         (setLyXMisc): (char string literal) != (char string literal) is
939         performing a comparison on the addresses. Convert one operand
940         explicitly to string to guarantee expected behaviour.
941         From MSVC warning.
942
943 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
944
945         * buffer.C:
946         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
947
948         * output_plaintext.C: remove unneeded #include gzstream.h.
949
950 2005-01-20  Angus Leeming  <leeming@lyx.org>
951
952         * SpellBase.h: rename some of the elements of the Result enum.
953
954         * aspell_local.h:
955         * ispell.h:
956         * pspell.h:
957         * aspell.C (check):
958         * ispell.C (check):
959         * pspell.C (check): ditto
960
961 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
962
963         * buffer.C: add #include <fstream>.
964
965         * lyx_main.C (init): Compile fix.
966
967         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
968
969 2005-01-20  Angus Leeming  <leeming@lyx.org>
970
971         * mover.h: change commentary to reflect the changed meaning of
972         the $$s placeholder.
973
974 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
975
976         * output_linuxdoc.C (linuxdocParagraphs): silence warning
977
978         * lyxfind.C (MatchString::operator()): remove bogus semicolon
979
980 2005-01-20  Angus Leeming  <leeming@lyx.org>
981
982         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
983         printing diagnostic data by not dereferecing an iterator past the
984         end.
985
986 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
987
988         * buffer.C (readHeader): use "&&" rather than "and".
989
990         * lyxserver.h (inPipeName, outPipeName): make these const.
991
992 2005-01-19  Angus Leeming  <leeming@lyx.org>
993
994         * lyx_main.C (error_handler, init): protect SIGHUP with
995         #ifdef SIGHUP guards.
996
997 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
998
999         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1000
1001 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1002
1003         * text.C (setHeightOfRow): add a margin at the top and bottom of
1004         the document (bug 1761)
1005
1006 2005-01-17  Angus Leeming  <leeming@lyx.org>
1007
1008         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1009         with "python ". Workaround for a brain-dead Windows.
1010
1011 2005-01-16  Angus Leeming  <leeming@lyx.org>
1012
1013         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1014         for MacOSX and Windows to use prependEnvPath.
1015         Strip out the hard-coded block to add elements to the PATH for
1016         MacOSX and replace it with a call to prependEnvPath using the
1017         contents of LyXRC::path_prefix.
1018         (queryUserLyXDir): strip out the code to run reconfigure, instead
1019         returning a boolean indicating the necessity to do so.
1020         (reconfigureUserLyXDir): contains the code to reconfigure the
1021         user support directory. Is now called after the various LyXRC data
1022         files have been read.
1023
1024         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1025
1026 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1027
1028         * converter.[Ch] (convert): take a new parameter try_default. Use
1029         a default converter (imagemagick) if try_default is true.
1030
1031 2005-01-13  Angus Leeming  <leeming@lyx.org>
1032
1033         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1034         os::cygwin_path_fix.
1035         (write): output LyXRC::cygwin_path_fix as necessary.
1036
1037 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1038
1039         * lyxrc.h:
1040         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1041
1042 2005-01-12  Angus Leeming  <leeming@lyx.org>
1043
1044         * lyx_main.C (init): set the PATH variable to include the
1045         directory containing the LyX binary when running on Mac or Windows.
1046
1047 2005-01-12  Angus Leeming  <leeming@lyx.org>
1048
1049         * lyx_main.C (init): remove cruft that purports to set the locale
1050         dir. It doesn't and is not needed anyway.
1051
1052 2005-01-10  Angus Leeming  <leeming@lyx.org>
1053
1054         * Makefile.am: remove the lyx_main.C special casing.
1055
1056         * BufferView_pimpl.C:
1057         * bufferlist.C:
1058         * exporter.C:
1059         * lyx_cb.C:
1060         * lyx_main.C:
1061         * lyxfunc.C:
1062         * messages.C: use support/package.h to provide the paths to the
1063         various directories used by LyX.
1064
1065 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1066
1067         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1068         layout if pasting into an empty paragraph)
1069
1070 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1071
1072         * tex-accent.C: add <string>
1073
1074 2005-01-06  José Matos  <jamatos@lyx.org>
1075
1076         * ParagraphParameters.C (write): put every parameter in its own line.
1077         * paragraph.C (write): reduce number of consecutive empty lines exported.
1078         * buffer.C (LYX_FORMAT): increase file format to 239.
1079
1080 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1081
1082         * everywhere: change support/tostr.h -> support/convert.h
1083
1084         * tabular.C: make all write_attributes templates, tostr -> convert
1085
1086         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1087         (emptyTag): and -> &&, and fix type for ret from getChar
1088         (getFirstWord): fix type for ret from getChar
1089         (onlyText): and -> &&
1090         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1091         getChar
1092
1093         * toc.C (goTo, action):
1094         * text3.C (dispatch):
1095         * text.C (currentState):
1096         * tex-accent.C (DoAccent):
1097         * sgml.C:
1098         * lyxrc.C:
1099         * lyxfunc.C (menuNew):
1100         * lyxfinc.C (replace):
1101         * counters.C (laberItem):
1102         * bufferview_funcs.C (font2string):
1103         * bufferparams.C (writeFile):
1104         * buffer.C (readFile):
1105         * Spacing.C (set):
1106         * MenuBackend.C: tostr -> convert
1107
1108         * LaTeX.C (runMessage): fix format
1109         (scanAuxFiles): tostr -> convert
1110
1111         * BufferView_pimpl.C (savePosition): fix format
1112         (restorePosition): ditto
1113         (dispatch): ditto
1114
1115 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1116
1117         * Spacing.[Ch]: New method getValueAsString().
1118
1119         * Spacing.[Ch]:
1120         * bufferparams.C:
1121         * ParagraphParameters.C:
1122         * lyxlayout.C:
1123         * text.C:
1124         * text3.C: store/read spacing value as string.
1125
1126         * rowpainter.C: change float value (spacing_val) to double.
1127
1128         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1129         broken custom document spacing).
1130
1131 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1132
1133         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1134         namespace, also more use of temp references and const
1135
1136         * cursor.[Ch] (getStatus): move to lyxfunc.C
1137
1138         * bufferparams.C: reformat slightly
1139
1140         * bufferview_funcs.C (font2string): constify arg
1141
1142         * changes.C:
1143         * converter.C:
1144         * counters.C:
1145         * bufferlist.C:
1146         * buffer_funcs.C: (many funcs): constify arg on function
1147         definitions, also make more local vars const, also add ASSERTS on
1148         pointer args.
1149
1150         * buffer.C (LYX_FORMAT): put const in correct place
1151         (many funcs): constify arg on function definitions, also make
1152         more local vars const
1153
1154         * aspell_local.h: remove "struct" from typdef setup
1155
1156         * aspell.C (check): make word_ok const
1157         (nextMiss): simplify slightly
1158         (error): ditto
1159
1160 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1161
1162         * lyxrc.[Ch]: store all float values as strings.
1163         use int (not float) for lyxrc.dpi.
1164
1165 2005-01-04  Angus Leeming  <leeming@lyx.org>
1166
1167         * lyx_cb.C (Reconfigure):
1168         * lyx_main.C (queryUserLyXDir):
1169         to run the <system_lyxdir>/configure correctly on Windows, prefix
1170         the path to the script with "sh " when generating the string that
1171         is passed to system().
1172
1173 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1174
1175         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1176
1177 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1178
1179         * lyxlength.C (asLatexString): get rid of setprecision
1180
1181 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1182
1183         * text2.C (setLayout): remove unused variable endpit.
1184         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1185
1186         * paragraph.C (onlyText): remove unused variable style.
1187
1188         * cursor.C (bruteFind): remove unused variables beg and end.
1189
1190         * Makefile.am (dist_noinset_DATA): not needed anymore
1191
1192         * cheaders/*: remove.
1193
1194 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1195
1196         * text3.C: fix LFUN_MATH_MODE.
1197
1198 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1199
1200         * buffer_funcs.C (countWords): new function. Counts words between
1201         two iterators.
1202
1203         * BufferView_pimpl.C (getStatus, dispatch): handle
1204         LFUN_WORDS_COUNT.
1205
1206         * LyXAction.C (init):
1207         * lfuns.h: add LFUN_WORDS_COUNT.
1208
1209 2004-12-19  Angus Leeming  <leeming@lyx.org>
1210
1211         * buffer.C (save): s/slashify_path/internal_path/.
1212
1213 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1214
1215         * lyxfind.C (findChange): do not search for end of pars, because
1216         the change tracker cannot handle this (fixes bug 1719).
1217
1218 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1219
1220         * paragraph.[Ch] (autoBreakRows): remove
1221
1222         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1223
1224         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1225         avoid using the paragraph one
1226
1227         * text2.C (LyXText, insertStringAsLines): adjust
1228
1229 2004-12-16  Angus Leeming  <leeming@lyx.org>
1230
1231         * bufferlist.C:
1232         * lyx_main.C:
1233         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1234
1235 2004-12-14  Angus Leeming  <leeming@lyx.org>
1236
1237         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1238
1239         * bufferlist.C (emergencyWrite):
1240         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1241         GetEnvPath("HOME").
1242
1243 2004-12-14  Angus Leeming  <leeming@lyx.org>
1244
1245         * main.C: (main): no longer pass pointers to os::init.
1246
1247 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1248
1249         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1250         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1251
1252 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1253
1254         * lyxfunc.C:
1255         * text3.C: remove selection_possible global flag
1256
1257 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1258
1259         * text2.C (getSelectionSpan): remove
1260         (changeDepth, changeDepthAllowed): adjust
1261
1262 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1263
1264         * Makefile.am (BOOST_LIBS): use boost variables
1265
1266 2004-12-03  José Matos  <jamatos@lyx.org>
1267
1268         * buffer.C: format up to 238.
1269
1270 2004-12-03  José Matos  <jamatos@lyx.org>
1271
1272         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1273
1274 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1275
1276         * cursor.C (goUpDown): remove call to idxUpDown2
1277
1278 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1279
1280         * tabular.[Ch]: use size_t-like types for cell, row and column
1281         indices
1282
1283 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1284
1285         * lyxfunc.C (getStatus): do not lose previous information when
1286         calling BufferView::getStatus; do not set a default "Command
1287         disabled" message at the beginning, but just before returning.
1288
1289 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1290
1291         * cursor.h (getStatus): add better comment from src/cursor.C
1292
1293 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1294
1295         * text3.C (getStatus): return false when the lfun is not handled
1296
1297 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1298
1299         * broken_headers.h: remove
1300
1301         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1302
1303 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1304
1305         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1306         offset_ref accessors
1307
1308         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1309         top_y_, merge fitcursor with update
1310         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1311         coord scheme
1312         (metrics): introduce
1313         (workAreaDispatch): adapt to new coord scheme
1314         (redoCurrentBuffer): remove
1315
1316         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1317
1318         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1319         CurStatus enum.
1320
1321         * coordcache.[Ch]: add paragraph cache and helpers
1322
1323         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1324         adjust everywhere
1325
1326         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1327         (targetX, setTargetX): introduce
1328
1329         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1330         baseline -> ascent, as the rest of lyx
1331
1332         * lyxtext.h: remove redoParagraphs, updateParPositions,
1333         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1334         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1335         have ascent/descent (ascent is ascent of first par)
1336
1337         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1338         step of BufferView
1339
1340         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1341
1342         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1343
1344         * pariterator.C: fix infinite loop introduced in par->pit renaming
1345
1346         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1347         in insets and LyXText, draw two off-screen paragraphs using
1348         NullPainter, and adapt to new coord scheme
1349
1350         * text.C:
1351         * text2.C:
1352         * text3.C: adapt lfun handlers to the new coord scheme, which
1353         means: there's only guaranteed coord information for onscreen pars
1354         plus one above and one below. This implies that one can do search
1355         from y coordinates in the range [-1,workHeight]
1356
1357 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1358
1359         * rename a lot of InsetOld to InsetBase
1360
1361 2004-11-25  Angus Leeming  <leeming@lyx.org>
1362
1363         * BufferView_pimpl.C:
1364         * lyx_cb.C:
1365         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1366
1367 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1368
1369         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1370         call BufferView::getStatus if LCursor::getStatus did nothing
1371         (setStatusMessage, getStatusMessage): removed.
1372
1373         * FuncStatus.C (message): new methods. Used to provide an error
1374         message indicating why a command is disabled.
1375         (clear, |=, FuncStatus): update for message.
1376
1377 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1378
1379         * lyxfunc.C (dispatch): always call sendDispatchMessage
1380
1381 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1382
1383         * BufferView.C:
1384         * BufferView_pimpl.C:
1385         * CutAndPaste.C:
1386         * FontIterator.C:
1387         * buffer.C:
1388         * cursor.C:
1389         * cursor_slice.[Ch]:
1390         * dociterator.[Ch]:
1391         * lyxfind.C:
1392         * paragraph_funcs.C:
1393         * pariterator.C:
1394         * rowpainter.C:
1395         * text.C:
1396         * text2.C:
1397         * text3.C:
1398         * undo.C: par->pit renaming
1399
1400 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1401
1402         * tabular.C (cellstruct): use initialization, store a shared_ptr
1403         to insettext instead of the insettext directly, adjust to fit.
1404         (operator=):  new function
1405         (swap): new function
1406         (rowstruct): use initialization
1407         (columnstruct): use initialization
1408         (ltType): use initialization
1409
1410
1411         * lyxlength.h (swap): new function
1412
1413         * LColor.[Ch] (operator=): use the common semantics
1414
1415 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1416
1417         * lyxfind.C (findNextChange): update the bufferview after setting
1418         the selection.
1419
1420 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1421
1422         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1423         number of InsetOptArgs has already been inserted.
1424
1425         * output_latex.C (latexOptArgInsets): new method. This outputs all
1426         the optarg insets, up to the limit defined in the layout file.
1427         (optArgInset): removed
1428         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1429
1430 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1431
1432         * paragraph.C (isLetter): remove special spellchecker-related
1433         code; return true also for digits
1434         (isWord, isKomma): remove
1435
1436         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1437         * lyxfind.C (MatchString()): use isLetter instead of isWord
1438
1439 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1440
1441         * pariterator.h (operatir=): comment out un-implemented member
1442         function.
1443
1444         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1445         static cast.
1446
1447 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1448
1449         * lyxfont.h: include LColor.h to satisfy concept checks.
1450
1451 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1452
1453         * pariterator.h: add typdefs for value_type, difference_type,
1454         pointer and reference to satisfy concept checks. Also add default
1455         constructor for same reason.
1456
1457         * pariterator.C (operator++): add post-increment operator to
1458         satisfy concept checks.
1459
1460         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1461         checks.
1462
1463         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1464
1465         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1466         checks. Also rename base_type to BaseType to follow naming
1467         standard better.
1468
1469         * FloatList.h: include Floating.h to satisfy concept checks.
1470
1471 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1472
1473         * lyxfunc.C (getStatus): when the origin of the request is menu or
1474         toolbar, and the LyXView does not have focus, do as if there was
1475         no buffer (bug 1720)
1476
1477         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1478         FuncRequest to individual entries of LFUN_SEQUENCE
1479
1480 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1481
1482         * output_latex.C (TeXOnePar): override runparams.moving_arg
1483         according to the needprotect value of the current paragraph (bug
1484         1739)
1485
1486         * paragraph.C (simpleTeXOnePar): no need to override
1487         runparams.moving_args here
1488
1489 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1490
1491         * vspace.C: fix off-by-one-error, related to fix #1682
1492
1493 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1494
1495         * lengthcommon.C: a more general fix for bug 1682
1496
1497 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1498
1499         * text.C (backspace): fix crash
1500
1501 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1502
1503         * format.[Ch] (getFormatFromFile): new method
1504         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1505
1506 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1507
1508         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1509
1510 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1511
1512         * lyxfunc.C (dispatch): remove the verbose argument
1513         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1514         instead
1515
1516         * kbmap.C (defkey): set the origin of func to KEYBOARD
1517
1518         * MenuBackend.C (MenuItem):
1519         * ToolbarBackend.C (add): set the origin of func to UI
1520
1521         * funcrequest.[Ch]: add origin member, which indicates which part
1522         of LyX requests an action
1523
1524 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1525
1526         * converter.C (move): don't lie in the error message
1527         * converter.h (isReachable, move): document
1528
1529 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1530
1531         * buffer.C: remove unused using lyx::support::atoi
1532         * paragraph_funcs.C: ditto
1533
1534 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1535
1536         * bufferlist.C (exists): use bind and equal_to instead of
1537         compare_memfun
1538         (getBuffer): ditto
1539         * lyxtextclasslist.C (NumberOfClass): ditto
1540
1541         * cursor.C (insert): use for_each instead of explicit for loop
1542
1543         * bufferlist.C (getFileNames): use std::transform and
1544         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1545
1546         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1547         for loop
1548
1549         * buffer.C (changeLanguage): use for_each instead of explicit for
1550         loop
1551         (hasParWithID): implement using getParFromID
1552
1553         * LaTeXFeatures.C: ws change only
1554
1555         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1556         to cleanup a bit.
1557
1558         * BufferView_pimpl.C (trackChanges): use for_each instead of
1559         expilicit for loop
1560
1561 2004-11-04  André Pönitz  <poenitz@gmx.net>
1562
1563         * undo.h:
1564         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1565
1566         * dociterator.C (asDocIterator): use hard assert again.
1567
1568 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1569
1570         * lyxlength.C (asLatexString): rewrite so that it does not use
1571         snprintf anymore
1572
1573 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1574
1575         * text3.C (specialChar, dispatch): make sure cursor moves to the
1576         right after inserting an inset
1577
1578 2004-11-02  José Matos  <jamatos@lyx.org>
1579
1580         * output_docbook.C (docbook):
1581         * paragraph.C (getID):
1582         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1583         garantee that the output is always legal.
1584
1585         * tabular.C (docbook):
1586         * outputprams.[Ch]: remove mixed contents.
1587
1588 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1589
1590         * text2.C (setCounter): prevent endless loop
1591
1592 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1593
1594         * exporter.C (copyFile): use the mover instead of support::copy()
1595         * exporter.C (Export): pass format and latex name to copyFile()
1596         * exporter.h (addExternalFile): document
1597         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1598
1599 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1600
1601         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1602
1603 2004-10-30  José Matos  <jamatos@lyx.org>
1604
1605         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1606         text and no inset or font change. This allows to use CDATA
1607         sections just for the whole paragraph.
1608
1609 2004-10-30  José Matos  <jamatos@lyx.org>
1610
1611         * paragraph.C (getFirstWord): remove unused variable.
1612
1613 2004-10-30  José Matos  <jamatos@lyx.org>
1614
1615         * paragraph.C (getFirstWord): the content should always be escaped
1616         there.
1617         (simpleDocBookOnePar):
1618         * output_docbook.C (makeEnvironment): replace reference to CDATA
1619         to style pass_thru.
1620
1621 2004-10-30  José Matos  <jamatos@lyx.org>
1622
1623         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1624
1625 2004-10-30  José Matos  <jamatos@lyx.org>
1626
1627         * output_docbook.C (makeParagraphs):
1628         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1629         standard paragraph has only a given type of content drop the wrapper.
1630
1631 2004-10-29  José Matos  <jamatos@lyx.org>
1632
1633         * output_docbook.C (makeEnvironment):
1634         * sgml.C (openTag):
1635         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1636
1637 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1638
1639         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1640         (cleanID): sanitize any id.
1641
1642 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1643
1644         * buffer.C, lyxlex_pimpl.C:
1645         * lyxlex_pimpl.C (setFile):
1646         s/getExtFromContents/getFormatFromContents/
1647
1648 2004-10-28  José Matos  <jamatos@lyx.org>
1649
1650         * output_docbook.C (makeEnvironment): move id to broadest possible
1651         scope.
1652
1653         * sgml.C (openTag): apply substitution of <> for all attributes.
1654
1655 2004-10-28  José Matos  <jamatos@lyx.org>
1656
1657         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1658         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1659         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1660
1661         * sgml.[Ch]: new version for open and closeTag for paragraph and
1662         for strings. Now they handle the ids of paragraphs.
1663
1664 2004-10-26  Angus Leeming  <leeming@lyx.org>
1665
1666         * Makefile.am: add mover.[Ch].
1667
1668         * converter.C (convert, move): use the new Movers to move external
1669         files to the temp directory.
1670
1671         * lyx_main.C (init): ensure that the global system_movers data
1672         is initialised.
1673
1674         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1675         preferences file.
1676
1677         * mover.[Ch]: new files, defining a Mover as a utility to move an
1678         external file between directories and, if necessary, manipulate this
1679         file using a helper script.
1680
1681 2004-10-25  José Matos  <jamatos@lyx.org>
1682
1683         * output_docbook.C (makeCommand): merge two if's that tested the
1684         same condition.
1685
1686 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1687
1688         * sgml.C (escapeString): fix warning in a better way
1689
1690 2004-10-25  José Matos  <jamatos@lyx.org>
1691
1692         * sgml.C (escapeString): import the require boosts header file for
1693         tie, and avoid a signed unsigned comparison.
1694
1695 2004-10-25  José Matos  <jamatos@lyx.org>
1696
1697         * sgml.h: add #include <string>
1698
1699 2004-10-25  José Matos  <jamatos@lyx.org>
1700
1701         * sgml.[Ch] (escapeString): new function to escape all the string.
1702
1703 2004-10-24  José Matos  <jamatos@lyx.org>
1704
1705         * paragraph.[Ch] (getFirstWord): new function to get the first
1706         word. Useful for description.
1707         (simpleDocBookOnePar): remove depth argument, add another that
1708         says where to start the paragraph.
1709
1710         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1711         use the new functions to fix cleanly the support for descriptions.
1712
1713 2004-10-24  José Matos  <jamatos@lyx.org>
1714
1715         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1716         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1717         * output_linuxdoc.C (linuxdocParagraphs):
1718         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1719         add buffer as argument.
1720
1721 2004-10-24  José Matos  <jamatos@lyx.org>
1722
1723         * output_docbook.C (makeEnvironment, searchEnvironment): place
1724         CDATA inside paragraphs and fix scope for listitems.
1725
1726 2004-10-24  José Matos  <jamatos@lyx.org>
1727
1728         * output_docbook.C: remove using statement for stack.
1729
1730 2004-10-23  José Matos  <jamatos@lyx.org>
1731
1732         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1733         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1734         docbook. The new scheme is recursive and makes use of iterators, the
1735         same as latex export works.
1736         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1737         directly with the paragraph contents. This code was moved up to
1738         output_docbook.C (docbookParagraphs).
1739         * sgml.C (openTag, closeTag): removed unneeded newlines.
1740         (closeEnvTags) removed.
1741
1742 2004-10-23  André Pönitz  <poenitz@gmx.net>
1743
1744         * undo.C (textUndoOrRedo):
1745         * dociterator.C (asDocIterator): work around crash
1746
1747         * cursor.C (getStatus): replace ASSERT by more verbose error message
1748           and manual correction of the problem. Should increase stability
1749           while providing more sensible information.
1750
1751 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1752
1753         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1754
1755         * bufferlist.C (previous, next): new methods
1756
1757         * lfuns.h:
1758         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1759
1760 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1761
1762         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1763         entities to preamble.
1764
1765 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1766
1767         * messages.C (Pimpl): strip off translation context information
1768
1769 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1770
1771         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1772         the cursor is correct (bug 1694)
1773
1774 2004-10-13  José Matos  <jamatos@lyx.org>
1775
1776         * output_docbook.C (docbookParagraphs): fix closing tags in the
1777         end of the document.
1778
1779 2004-10-09  José Matos  <jamatos@lyx.org>
1780
1781         * buffer.C: format up to 237.
1782         * bufferparams.C (write): use tostr to convert booleans to strings.
1783
1784 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1785
1786         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1787
1788 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1789
1790         * LaTeX.C: implement use of babel language in xindy.
1791
1792 2004-10-05  José Matos  <jamatos@lyx.org>
1793
1794         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1795         Add new translators to help reading and writing the lyx file.
1796
1797 2004-10-05  José Matos  <jamatos@lyx.org>
1798
1799         * ParagraphParameters.C (read):
1800         * text.C (readParToken): replace nexToken by more appropriate lex
1801         methods.
1802
1803 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1804
1805         * LaTeX.C (runMakeIndex):
1806         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1807         (usually 'makeindex') configurable.
1808
1809         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1810         with a variable rather than with a number.
1811
1812 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1813
1814         * output_latex.C (TeXOnePar): make sure font setting is the first
1815         thing that gets output (and the last at the end). Should fix bug
1816         1404.
1817
1818 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1819
1820         * pch.h: use proper signal include
1821
1822         * LaTeX.h: Use preferred calling of Boost.Signal
1823         * buffer.h: ditto
1824
1825 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1826
1827         * pch.h: dont include <boost/function/function0.hpp>
1828
1829         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1830
1831         * paragraph_pimpl.h: remove usage of ShareContainer
1832
1833         * paragraph_pimpl.C: remove initialization of ShareContainer.
1834
1835 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1836
1837         Fix bug #1666
1838
1839         * BufferView.C (putSelectionAt): change the semantics when
1840         backwards == true: now, this just swaps cursor and anchor wrt the
1841         forward case
1842
1843         * BufferView.h (putSelectionAt): add some documentation
1844
1845         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1846         make sure backwardChar is done at least once (to avoid getting
1847         stuck)
1848         (findNextChange): use putSelectionAt in the forward direction
1849         (operator()): use Paragraph::isWord
1850
1851 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1852
1853         * Spacing.C (set): c_str fix
1854
1855 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1856
1857         * lyx_cb.C (Reconfigure): quote the name of configure script in
1858         case it contains spaces
1859
1860 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1861
1862         * client: new dir
1863
1864         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1865         (BOOST_LIBS): use top_buildir when looking for the file
1866
1867 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1868
1869         * pch.h: do not use include boost/format.hpp, multiple symbols
1870                 will result (gcc bug)
1871
1872
1873 2004-08-23  José Matos  <jamatos@lyx.org>
1874
1875         * bufferparams.C (readToken): fix reading of the author field.
1876
1877 2004-08-20  José Matos  <jamatos@lyx.org>
1878
1879         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1880
1881 2004-08-20  José Matos  <jamatos@lyx.org>
1882
1883         * lyxlex.[Ch] (findToken): remove function.
1884
1885         * ParagraphParameters.C (findToken):
1886         * bufferparams.C (findToken): replace call for previous function
1887         with local copy. This local function has one more argument, the
1888         read string argument.
1889
1890 2004-08-16  José Matos  <jamatos@lyx.org>
1891
1892         * ParagraphParameters.C (write):
1893         * Spacing.C (writeFile):
1894         * bufferparams.C (writeLaTeX):
1895         * lyx_cb.C (Reconfigure):
1896         * paragraph.C (write):
1897         * tabular.C (write): remove unnecessary space at end of line.
1898
1899
1900 2004-08-16  José Matos  <jamatos@lyx.org>
1901
1902         * text.C (readParagraph): remove debug message.
1903
1904 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1905
1906         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1907         crash
1908
1909         * output_plaintext.C (asciiParagraph): set depth correctly
1910
1911         * outputparams.h: add member depth
1912
1913         * paragraph_funcs.C (ownerPar): remove.
1914
1915         * text2.C (setCounter): remove first_pit; comment out some
1916         non-working code that uses ownerPar
1917
1918         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1919         uses ownerPar
1920
1921 2004-08-16  José Matos  <jamatos@lyx.org>
1922
1923         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1924         For the same level of importance use the same chanel to report problems.
1925         (read): add code to deal with \begin_body and \end_body.
1926
1927
1928 2004-08-15  José Matos  <jamatos@lyx.org>
1929
1930         * lyxlex.C (getString): fix comment, buffer::readBody is now
1931         buffer:readDocument.
1932
1933         * tex-strings.C (string_papersize): Default -> default,
1934         Custom -> custom, for consistency with other options.
1935
1936 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1937
1938         * pch.h: new file
1939
1940         * Makefile.am: support pch
1941
1942 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1943
1944         * text.C (readParToken): remove the static LyXFont variable and
1945         pass it as a parameter instead. This fixes a nasty bug where an
1946         inset will be inserted with a bad font in some situations
1947         (readParagraph): adapt
1948
1949         * text2.C (setCounter): reduce number of calls to pars_[pit]
1950
1951         * text.C (singleWidth): add an assert, fix a test
1952
1953         * rowpainter.C (paintText): reduce number of calls to singleWidth
1954
1955         * paragraph.C (isHfill):
1956         (isNewline): ws only
1957
1958 2004-08-14  André Pönitz  <poenitz@gmx.net>
1959
1960         * text.C:
1961         * text2.C:
1962         * rowpainter.C:
1963         * lyxtext.h (several functions): use a Paragraph & argument
1964         instead of par_type
1965
1966 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1967
1968         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1969
1970         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1971
1972         * text.C (singleWidth): remove useless test
1973
1974 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1975
1976         * tabular.h: remove bogus comments
1977
1978         * tabular.C (getDescentOfRow):
1979         (isPartOfMultiColumn): add assertions
1980
1981         * lyxlength.C (inPixels): remove #warning
1982
1983 2004-08-14  André Pönitz  <poenitz@gmx.net>
1984
1985         * paragraph.h: inline getChar()
1986
1987         * BufferView.h: remove unused declarations
1988
1989 2004-08-14  José Matos  <jamatos@lyx.org>
1990
1991         * Buffer.[Ch] (readDocument): new name for old readBody.
1992         * Buffer.C: new file format, new keywords: \begin_document,
1993         \begin_header, \begin_body, \end_body.
1994
1995         * bufferparams.C (readToken): replace all calls to lex.nextToken
1996         by lex.next(). Do the same to eatLine except where really needed.
1997
1998         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1999         line when writing to the lyx file.
2000
2001         * output_plaintext.C (asciiParagraph): fix Bibliography style
2002         handling.
2003
2004         * text.C (read): fix end of file handling.
2005
2006 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2007
2008         * MenuBackend.C (Menu::operator[]): new method to access
2009         individual menu items
2010         (Menu::hasFunc): new method. search for an item that corresponds
2011         to a given func
2012         (MenuBackend::specialMenu): new method
2013         (MenuBackend::expand): if a special menu has been set, skip
2014         entries whose func() appears in this menu
2015
2016 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2017
2018         * text3.C: use Debug::DEBUG a bit more
2019
2020         * text.C (leftMargin): try to simplify a tiny bit change var x to
2021         l_margin. Dont output the wide margins always.
2022         (rightMargin): no margin in inner texts
2023
2024         * rowpainter.h (nestMargin): new func
2025         (changebarMargin): new func
2026         (rightMargin): new func
2027
2028         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2029         now functions.
2030         (paintLast): ditto
2031
2032         * factory.C (createInset): modify setDrawFrame
2033
2034         * cursor.C: use Debug::DEBUG a bit more
2035
2036 2004-08-14  André Pönitz  <poenitz@gmx.net>
2037
2038         * coordcache.[Ch]:
2039         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2040         cache for all insets in (at least partially) visible (top-level)
2041         paragraphs.
2042
2043         * BufferView_pimpl.C: reset external coord cache before every update.
2044         This means the coord cache only contains valid entries.
2045
2046 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2047
2048         bug 1096
2049         * BufferView_pimpl.C (getInsetByCode): move function out of class
2050         and change in to a template in anon namespace. Also fix to do what
2051         suits us better.
2052
2053 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2054
2055         bug 1305
2056         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2057         of char
2058         (breakParagraph): rename par to par_offset and use a local
2059         reference. Add code to keep the language over a rebreak.
2060         (breakParagraphConservative): rename par to par_offset, use a
2061         local reference
2062         (mergeParagraph): ditto
2063         (outerHook): ditto
2064         (isFirstInSequence): ditto
2065         (outerFont): rename pit to par_offset
2066
2067         * paragraph.C: ws change
2068         * paragraph.h: ditto
2069         * text3.C: ditto
2070         * text.C: ditto
2071
2072 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2073
2074         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2075         treatment for ']'
2076
2077         * paragraph.C (simpleTeXOnePar): when we have a \item with
2078         optional argument, enclose the argument with curly brackets (in
2079         case it contains a closing square bracket)
2080
2081         * text2.C (editXY):
2082         * text2.C (editXY):
2083         * text3.C (checkInsetHit): constify
2084
2085 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2086
2087         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2088         documents (bug 1629)
2089
2090 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2091
2092         Fix toggling of collapsable insets with the mouse (bug 1558)
2093
2094         * lyxfunc.C (dispatch): adapt to LCursor changes
2095
2096         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2097         make sure that dispatch is not invoked twice
2098
2099         * cursor.C (needsUpdate): new method
2100         (dispatch): return void
2101         (result): new method, to access the DispatchResult of the cursor.
2102
2103 2004-08-13  José Matos  <jamatos@lyx.org>
2104
2105         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2106
2107 2004-08-13  André Pönitz  <poenitz@gmx.net>
2108
2109         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2110
2111         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2112           multiple cells
2113
2114 2004-08-12  André Pönitz  <poenitz@gmx.net>
2115
2116         * text3.C: take out the 'cursor right' form insertInset and only
2117         do it in those places when it is really needed. Fixes crash on
2118         C-m...
2119
2120 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2121
2122         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2123
2124         * BufferView_pimpl.C (setBuffer): initialize the current font of
2125         the underlying LyXText
2126
2127 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2128
2129         * kbsequence.C (print): use UI native formatting for menu
2130         shortcuts
2131
2132         * text.C (insertChar): call Paragraph::insertChar with a font
2133         argument (cosmetic)
2134
2135         * paragraph.C (insertInset, insertChar): the version that takes a
2136         LyXFont argument is now a wrapper around the other one (the
2137         opposite used to be true).
2138
2139         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2140         argument. Font setting is done in Paragraph now.
2141
2142 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2143
2144         * outputparams.h: add new members intitle and lang.
2145
2146         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2147         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2148
2149 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2150
2151         * text3.C (dispatch): remove special handling of button 4 and 5,
2152         it is now taken care of in the frontend code.
2153
2154 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2155
2156         * Spacing.h: add <string> (STLPort compile fix)
2157
2158 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2159
2160         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2161
2162 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2163
2164         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2165         to bool.
2166
2167         * converter.C (showMessage): inherit from unary_function, make
2168         operator() const.
2169
2170         * buffer.C (writeFile): initialize retval
2171
2172         * InsetList.h: rename private variable list to list_
2173         * InsetList.[Ch]: adjust accordingly.
2174
2175 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2176
2177         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2178         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2179         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2180         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2181         * ParagraphParameters.C, LaTeXFeatures.C: replace
2182         "support/std_sstream.h" with <sstream>
2183
2184 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2185
2186         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2187         * lyxsocket.C (LyXServerSocket): ditto
2188         (serverCallback): ditto
2189
2190 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2191
2192         * LaTeXFeatures.C: check release date when loading jurabib.
2193
2194 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2195
2196         * lyxserver.C (startPipe): call register_socket_callback
2197         (endPipe): call unregister_socket_callback
2198
2199 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2200
2201         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2202         (LyXServerSocket): register the callback
2203         (LyXServerSocket): unregister the callback
2204         (fd): delete function
2205         (serverCallback): improve error checking and setup the callbacks.
2206         (dataCallback): change arg to fd.
2207         (writeln): new func (copied fro the client socket) used for server
2208         write to client.
2209         (LyXDataSocket): simplify
2210         (~LyXDataSocket): close ann unregiser callback
2211         (server): delete function
2212         (fd): delete function
2213         (readln): small changes, improve some std::string usage
2214         (writeln): constify a bit
2215
2216 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2217
2218         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2219         Qt frontend
2220
2221 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2222
2223         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2224         after it has been populated
2225
2226 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2227
2228         * text2.C (insertInset): move cursor when inserting inset.
2229
2230 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2231
2232         * kbmap.C (findbindings): a couple of new methods. returns a
2233         container of kb_sequence objects. The real work is done by the
2234         private recursive version
2235         (printbindings): uses findbindings to print out a bracketed list
2236         of bindings (renamed from findbinding).
2237
2238         * MenuBackend.C (binding): use kb_keymap::findbindings
2239
2240         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2241
2242 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2243
2244         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2245
2246 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2247
2248         * paragraph.C (isWord): return true on insets that report
2249         isLetter().
2250
2251         * text.C (getWord): use Paragraph::isWord to decide what is in a
2252         word and what is not; fix bug 1609.
2253
2254 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2255
2256         * tex-strings.C: add "none" to string_paperpackages[], fixes
2257         off-by-one-error in the paperpackage selection.
2258
2259         * lyxlex.[Ch]:
2260         * tex-strings.[Ch]: char const * string[n]
2261         -> char const * const string[]
2262
2263 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2264
2265         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2266         command, return early.
2267
2268 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2269
2270         * debug.h: add DEBUG to enum and fix size of ANY.
2271
2272         * debug.C: add support for Debug::DEBUG
2273         (showTags): cast errorTags.level to unsigned int
2274
2275         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2276         (redoCurrentBuffer): ditto
2277         (updateScrollbar): ditto
2278         * cursor.C (dispatch): ditto
2279         * text2.C (setLayout): ditto
2280         (setFont): ditto
2281         (updateCounters): ditto
2282         (editXY): ditto
2283         (deleteEmptyParagraphMechanism): ditto
2284
2285 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2286
2287         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2288         annotations to cleanup the Makefile slightly.
2289
2290 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2291
2292         * lyxrc.C: do not set user_email to a default value but use empty
2293         instead. The entry used to be translated, which does not work
2294         since at the point where lyxrc is constructed there is no
2295         translation service available
2296
2297         * messages.C (getLocaleDir): remove and use directly
2298         lyx_localedir() instead
2299
2300 2004-06-02  Angus Leeming  <leeming@lyx.org>
2301
2302         Fix crash caused by dereferencing null pointer 'exportdata' in
2303         OutputParams by creating a new ExportData variable on the heap,
2304         storing it in a boost::shared_ptr.
2305         The crash was triggered when generating an Instant Preview
2306         of an external inset.
2307
2308         * Makefile.am: add outputparams.C
2309
2310         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2311         (c-tor): allocate memory to it.
2312
2313         * exporter.C (c-tor): associated changes.
2314
2315 2004-06-01  Angus Leeming  <leeming@lyx.org>
2316
2317         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2318         contains data before calling isInset(0). (Bug 1513.)
2319
2320 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2321
2322         * exporter.C (checkOverwrite): new method
2323         * exporter.C (copyFile): new method
2324         * exporter.C (Export): copy referenced files to the document dir
2325         * exporter.[Ch]: new class ExportedFile
2326         * exporter.[Ch]: new class ExportData. Contains currently the
2327         names of referenced external files
2328         * outputparams.h: add exportdata member.
2329
2330 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2331
2332         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2333         version.C-tmp
2334
2335 2004-05-19  Angus Leeming  <leeming@lyx.org>
2336
2337         * LaTeXFeatures.C:
2338         * ToolbarBackend.C:
2339         * bufferparams.C:
2340         * lyxfunc.C: small changes due to the introduction of namespace
2341         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2342
2343 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2344
2345         * text3.C (dispatch): supress update when only moving the cursor
2346         * cursor.C (selHandle): remove commented code
2347
2348 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2349
2350         * paragraph.C (startTeXParParams): correct column count
2351         * CutAndPaste.C (pasteSelection): remove const_cast
2352         * output_docbook.C (docbookParagraphs): remove const_cast
2353         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2354         const_cast and return ParagraphList::const_iterator
2355         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2356         * output_plaintext.C (writeFileAscii): remove const_cast
2357         * paragraph.[Ch] (simpleTeXOnePar): make const
2358         * paragraph_funcs.C (outerPar): use const iterators
2359         * paragraph_pimpl.C (validate): use const iterators
2360         * text.C (setHeightOfRow): use const iterators
2361
2362 2004-05-17  Angus Leeming  <leeming@lyx.org>
2363
2364         * lfuns.h:
2365         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2366
2367         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2368         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2369         if the citation engine has changed.
2370
2371 2004-05-14  José Matos  <jamatos@lyx.org>
2372
2373         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2374         if the textclass does not provide it. Have it different for sgml and
2375         xml.
2376         support the language of document.
2377         * output_docbook.C (docbookParagraphs):
2378         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2379         first anchor as the id of the paragraph, remove special case code.
2380         * sgml.C (escapeChar): escape only < & >.
2381
2382 2004-05-14  Angus Leeming  <leeming@lyx.org>
2383
2384         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2385         dependencies on src/frontends/controllers/biblio.h. Define a
2386         CiteEngine_enum wrapper class to enable the enum to be forward
2387         declared.
2388
2389 2004-05-12  Angus Leeming  <leeming@lyx.org>
2390
2391         * buffer.C: up LYX_FORMAT to 234.
2392         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2393         use_numerical_citations with a single biblio::CiteEngine cite_engine
2394         variable.
2395         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2396
2397 2004-05-13  José Matos  <jamatos@lyx.org>
2398
2399         * converter.h:
2400         * converter.C (Converter, readFlags): add xml member.
2401         * outputparams.h: add XML flavor.
2402         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2403
2404 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2405
2406         * lyxfunc.C (dispatch):
2407         (getStatus): fix handling of LFUN_SEQUENCE
2408
2409 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2410
2411         * debug.C (showLevel): do not forget the end-of-line marker
2412
2413 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2414
2415         * kbmap.C (read): do not stop parsing a bind file when an error
2416         occurs (bug 1575)
2417
2418 2004-04-29  Angus Leeming  <leeming@lyx.org>
2419
2420         * cursor.C:
2421         * factory.C:
2422         * pariterator.C:
2423         * text2.C: wrap a bunch of #warning statements
2424         inside #ifdef WITH_WARNINGS blocks.
2425
2426 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2427
2428         * buffer.C: increment format to 233.
2429
2430 2004-04-28  Angus Leeming  <leeming@lyx.org>
2431
2432         * BufferView_pimpl.C:
2433         * lyxfunc.C:
2434         * text3.C:
2435         s/updateToolbar()/updateToolbars()/
2436         s/Toolbar.h/Toolbars.h/
2437
2438 2004-04-28  Angus Leeming  <leeming@lyx.org>
2439
2440         * BufferView.[Ch] (c-tor):
2441         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2442         No longer passes these data to the WorkArea generator.
2443
2444 2004-04-28  Angus Leeming  <leeming@lyx.org>
2445
2446         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2447
2448 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2449
2450         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2451
2452 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2453
2454         * output_latex.C (TeXEnvironment): make sure that there is a line
2455         break before \end{foo} for the last paragraph of a document
2456         (TeXOnePar): if the paragraph is at the end of the document (or
2457         inset) and the language has to be reset, then make sure that the
2458         line break is _before_ the language command, not after (fixes bug
2459         1225); also make sure that the language reset command is the first
2460         thing after the paragraph (to ensure proper nesting of
2461         environments and thus fix bug 1404)
2462
2463 2004-04-21  John Levon  <levon@movementarian.org>
2464
2465         * ToolbarBackend.h:
2466         * ToolbarBackend.C: make "name" be a programmatic name
2467         and a gui_name field.
2468
2469         * lyxfunc.C: display the minibuffer on M-x
2470
2471 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2472
2473         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2474         (bug 1526)
2475
2476 2004-04-19  Angus Leeming  <leeming@lyx.org>
2477
2478         * BufferView_pimpl.C (setBuffer): changed preview interface.
2479
2480         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2481         possible values.
2482
2483 2004-04-19  John Levon  <levon@movementarian.org>
2484
2485         * BufferView_pimpl.C:
2486         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2487
2488 2004-04-05  Angus Leeming  <leeming@lyx.org>
2489
2490         * text.C (redoParagraphs): add call to updateCounters(), thereby
2491         fixing the missing "Figure #:" label from the caption of a
2492         figure float.
2493
2494 2004-04-13  Angus Leeming  <leeming@lyx.org>
2495
2496         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2497         cursor is clicked out of an inset.
2498
2499 2004-04-13  Angus Leeming  <leeming@lyx.org>
2500
2501         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2502         than an InsetOld one.
2503
2504 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2505
2506         * format.[Ch]: add editor to Format
2507         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2508         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2509
2510 2004-04-08  André Pönitz  <poenitz@gmx.net>
2511
2512         * metricsinfo.h: remove PainterInfo::width member
2513
2514 2004-04-08  Angus Leeming  <leeming@lyx.org>
2515
2516         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2517         "\providecommand" rather than "\newcommand", thereby preventing
2518         clashes with packages that define "\boldsymbol" themselves.
2519         Eg, beamer.
2520
2521 2004-04-08  Angus Leeming  <leeming@lyx.org>
2522
2523         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2524         thereby squashing an unnecessary warning.
2525
2526 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2527
2528         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2529         setBuffer()
2530
2531 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2532
2533         * BufferView.C (setCursor): call redoParagraph (some insets could
2534         have been opened)
2535         (putSelectionAt): remove the 'double update' trick
2536
2537         * BufferView_pimpl.C (fitCursor): call refreshPar
2538         (workAreaDispatch): remove an uneeded update call
2539         (dispatch): remove some manual update calls
2540
2541         * cursor.[Ch]: remove cached_y_, updatePos
2542         (selHandle): set noUpdate when appropriate
2543
2544         * lyxfunc.C (dispatch): track if we need an update
2545
2546         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2547
2548         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2549         (paintSelection): cheap optimization, do not call cursorX when not
2550         needed
2551         (paintPars): change signature
2552         (refreshPar): add
2553         (paintText): adjust
2554         (paintTextInset): adjust
2555
2556         * text.C: adjust
2557
2558 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2559
2560         * lengthcommon.C: compilation fix: remove explicit array size from
2561         unit_name[] and friends
2562
2563 2004-04-05  Angus Leeming  <leeming@lyx.org>
2564
2565         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2566
2567         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2568         present only for the preferences dialog.
2569         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2570
2571 2004-04-05  Angus Leeming  <leeming@lyx.org>
2572
2573         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2574         to enable the frontends to export changes to lyxrc correctly.
2575
2576         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2577
2578 2004-04-07  André Pönitz  <poenitz@gmx.net>
2579
2580         * cursor.[Ch] (selClear, adjust): remove math
2581
2582         * cursor_slice.C: more agressive assert
2583
2584         * lyxfunc.C:
2585         * BufferView_pimpl.C: rework mouse event dispatch
2586
2587         * dociterator.C:
2588         * paragraph.C:
2589         * text2.C:
2590         * text3.C: adjust
2591
2592 2004-04-05  André Pönitz  <poenitz@gmx.net>
2593
2594         * cursor.[Ch] (valign, halign...): remove unneeded functions
2595
2596 2004-04-05  Angus Leeming  <leeming@lyx.org>
2597
2598         * lyxlength.[Ch] (unit_name et al.): const-correct.
2599
2600 2004-04-05  Angus Leeming  <leeming@lyx.org>
2601
2602         * BufferView_pimpl.C:
2603         * buffer.C:
2604         * counters.C:
2605         * cursor.C:
2606         * lyxfunc.C
2607         * paragraph.C:
2608         * pariterator.C:
2609         * text.C:
2610         * text2.C:
2611         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2612
2613 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2614
2615         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2616
2617 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2618
2619         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2620         * BufferView_pimpl.[Ch] (getStatus)
2621         * BufferView.[Ch] (getStatus): add
2622         * lyxfunc.C (getStatus): move lfuns handled in
2623         BufferView::dispatch to te function above
2624         * Cursor.C (setSelection): set selection() = true
2625
2626 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2627
2628         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2629
2630 2004-03-31  Angus Leeming  <leeming@lyx.org>
2631
2632         * lyxfunc.C (dispatch): Fall through to the generic
2633         Dialogs::show("preamble").
2634
2635 2004-03-31  Angus Leeming  <leeming@lyx.org>
2636
2637         * lyxfunc.C (dispatch): Fall through to the generic
2638         Dialogs::show("spellchecker").
2639
2640 2004-03-31  Angus Leeming  <leeming@lyx.org>
2641
2642         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2643         preferences dialog.
2644
2645 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2646
2647         * BufferView.C
2648         * cursor.[Ch]
2649         * dociterator.[Ch]:
2650         * insetiterator.[Ch]:
2651         * lyxfind.C:
2652         * lyxfunc.C:
2653         * pariterator.[Ch]:
2654         * text2.C:
2655         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2656
2657 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2658
2659         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2660         insets where we are putting the cursor.
2661
2662 2004-03-31  Angus Leeming  <leeming@lyx.org>
2663
2664         * lfuns.h:
2665         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2666
2667         * lyxrc.[Ch] (read, write): overloaded member functions taking
2668         a std::[io]stream arguments.
2669
2670         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2671
2672 2004-03-31  Angus Leeming  <leeming@lyx.org>
2673
2674         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2675         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2676
2677         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2678         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2679
2680 2004-03-31  Angus Leeming  <leeming@lyx.org>
2681
2682         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2683         the LFUN_ALL_INSETS_TOGGLE code.
2684
2685 2004-03-30  Angus Leeming  <leeming@lyx.org>
2686
2687         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2688         has died. Fall through to the generic Dialogs::show("document").
2689
2690 2004-03-30  Angus Leeming  <leeming@lyx.org>
2691
2692         * lfuns.h:
2693         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2694         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2695
2696         * lyxfunc.C (getStatus, dispatch): define the actions for these
2697         lfuns. Little more than a cut and pste job from ControlDocument.C
2698
2699         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2700
2701 2004-03-30  Angus Leeming  <leeming@lyx.org>
2702
2703         * lfuns.h:
2704         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2705         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2706
2707         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2708         open/closed state of ollapsable insets. Usage:
2709
2710         all-inset-toggle <state> <name>, where
2711         <state> == "open" || "closed" || "toggle" and
2712         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2713
2714         * lyxtext.h, text2.C (toggleInset): removed.
2715
2716         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2717         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2718         now passes LFUN_INSET_TOGGLE to the found inset.
2719
2720         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2721         is now invoked as "all-insets-toggle toggle branch".
2722
2723 2004-03-30  Angus Leeming  <leeming@lyx.org>
2724
2725         * dociterator.C:
2726         * insetiterator.C:
2727         * pariterator.[Ch]: added/corrected header blurb.
2728
2729 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2730
2731         * dociterator.[Ch]: add an inset_ member
2732         (backwardPos): implemented
2733         (backwardPos, forwardPos): use inset_ when the stack is empty.
2734         (doc_iterator_begin, doc_iterator_end): implemented
2735         * pariterator.[Ch]: adjust, add begin, end
2736         * insetiterator.[Ch]: adjust, add begin, end
2737         * cursor.C:
2738         * document.C:
2739         * BufferView.C:
2740         * BufferView_pimpl.C:
2741         * CutAndPaste.C: adjust
2742
2743 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2744
2745         * buffer.C: increment file format to 232.
2746         * LaTeXFeatures.C: add bibtopic package.
2747         * bufferparams.[Ch]: param \use_bibtopic.
2748
2749         * lyxrc.[Ch]: add lyxrc bibtex_command
2750         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2751
2752         * buffer.C: increment file format to 231.
2753
2754 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2755
2756         * dociterator.C: implement forwardPar
2757         * iterators.[Ch]: remove, replaced by
2758         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2759         * BufferView.C:
2760         * BufferView_pimpl.C:
2761         * CutAndPaste.C:
2762         * buffer.C:
2763         * bufferview_funcs.C:
2764         * cursor.C:
2765         * lyxfind.C
2766         * lyxfunc.C
2767         * paragraph_funcs.C
2768         * toc.C:
2769         * Makefile.am: adjust
2770
2771 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2772
2773         * CutAndPaste.C (pasteSelection): fix 2 crashes
2774         (eraseSelection): fix a crash
2775         * paragraph_funcs.C: remove a warning
2776
2777 2004-03-28  Angus Leeming  <leeming@lyx.org>
2778
2779         * lfuns.h:
2780         * LyXAction.C (init): new LFUN_PRINT.
2781
2782         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2783
2784 2004-03-27  Angus Leeming  <leeming@lyx.org>
2785
2786         * lfuns.h:
2787         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2788
2789         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2790
2791 2004-03-27  Angus Leeming  <leeming@lyx.org>
2792
2793         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2794         insetlist always contains non-null pointers to insets.
2795
2796 2004-03-26  Angus Leeming  <leeming@lyx.org>
2797
2798         * src/BufferView_pimpl.C:
2799         * src/CutAndPaste.C:
2800         * src/buffer.C:
2801         * src/iterators.C:
2802         * src/output_plaintext.C:
2803         * src/outputparams.h:
2804         * src/paragraph_funcs.C:
2805         * src/rowpainter.C:
2806         * src/text.C:
2807         * src/text2.C:
2808         * src/frontends/controllers/ControlErrorList.C:
2809         * src/frontends/gtk/FileDialogPrivate.C:
2810         * src/frontends/gtk/GPainter.C:
2811         * src/frontends/gtk/GToolbar.C:
2812         * src/frontends/qt2/QRef.C:
2813         * src/mathed/math_scriptinset.C: squash compiler warnings.
2814
2815 2004-03-26  Angus Leeming  <leeming@lyx.org>
2816
2817         * ispell.C (LaunchIspell::start):
2818         * lyx_cb.C (AutoSaveBuffer::start):
2819         invoke run(DontWait) rather than runNonBlocking().
2820
2821 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2822
2823         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2824
2825 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2826
2827         * kbsequence.C (print): adjust
2828
2829         * kbmap.C (printKeySym): rename and change signature
2830         (printKey): use LyXKeySym::print()
2831
2832 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2833
2834         * undo.C: add using std::advance to compile for stlport
2835
2836 2004-03-24  Angus Leeming  <leeming@lyx.org>
2837
2838         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2839         it leads to a crash when no buffer is present.
2840
2841 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2842             Martin Vermeer  <martin.vermeer@hut.fi>
2843
2844         * lyxfunc.C (dispatch):
2845         * bufferparams.C (readToken): use the new LColor::setColor
2846
2847         * LColor.[Ch] (setColor): new version that takes two strings as
2848         argument and creates a new color entry if necessary
2849
2850 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2851
2852         * buffer.C (makeLaTeXFile): if the main latex file that is
2853         processed is usually a subdocument of some master, then pretend
2854         for a while that it is actually the master
2855
2856 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2857
2858         * buffer.C (getLabelList):
2859         (getBibkeyList): use getMasterBuffer()
2860         (getMasterBuffer): new method. Returns the main document in the
2861         case where one is using included documents.
2862
2863 2004-03-25  André Pönitz  <poenitz@gmx.net>
2864
2865         * Makefile.am:
2866         * iterators.[Ch]:
2867         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2868
2869         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2870
2871         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2872         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2873
2874         * ParameterStruct.h: merge with ParagraphParameters
2875
2876         * lyxtext.h: remove LyXText::parOffset() and getPar()
2877
2878         * text3.C: Remove all 'manual' update calls. We do now one per user
2879         interaction which is completely sufficient.
2880
2881         * Bidi.C:
2882         * BufferView.[Ch]:
2883         * BufferView_pimpl.C:
2884         * FontIterator.[Ch]:
2885         * MenuBackend.C:
2886         * ParagraphParameters.[Ch]:
2887         * buffer.C:
2888         * buffer.h:
2889         * bufferlist.C:
2890         * cursor.[Ch]:
2891         * cursor_slice.[Ch]:
2892         * dociterator.[Ch]:
2893         * errorlist.[Ch]:
2894         * factory.C:
2895         * lfuns.h:
2896         * lyxfind.C:
2897         * lyxfunc.C:
2898         * output_docbook.[Ch]:
2899         * output_latex.[Ch]:
2900         * output_linuxdoc.[Ch]:
2901         * output_plaintext.[Ch]:
2902         * paragraph.[Ch]:
2903         * paragraph_funcs.[Ch]:
2904         * paragraph_pimpl.[Ch]:
2905         * rowpainter.C:
2906         * tabular.[Ch]:
2907         * text.C:
2908         * text2.C:
2909         * toc.C:
2910         * undo.[Ch]: adjust
2911
2912         * frontends/controllers/ControlDocument.C:
2913         * frontends/controllers/ControlErrorList.C:
2914         * frontends/controllers/ControlSpellchecker.C:
2915         * insets/inset.C:
2916         * insets/inset.h:
2917         * insets/insetbase.h:
2918         * insets/insetbibitem.C:
2919         * insets/insetbox.C:
2920         * insets/insetbranch.C:
2921         * insets/insetcaption.C:
2922         * insets/insetcharstyle.C:
2923         * insets/insetcharstyle.h:
2924         * insets/insetcollapsable.C:
2925         * insets/insetcollapsable.h:
2926         * insets/insetert.C:
2927         * insets/insetfloat.C:
2928         * insets/insetfoot.C:
2929         * insets/insetmarginal.C:
2930         * insets/insetnote.C:
2931         * insets/insetoptarg.C:
2932         * insets/insettabular.C:
2933         * insets/insettext.C:
2934         * insets/insettext.h:
2935         * insets/insetwrap.C:
2936         * mathed/math_mboxinset.C:
2937         * mathed/math_nestinset.C:
2938         * mathed/math_scriptinset.C:
2939         * mathed/math_scriptinset.h:
2940         * support/types.h:
2941
2942 2004-03-24  Angus Leeming  <leeming@lyx.org>
2943
2944         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2945         deal with any child processes that have finished but are waiting to
2946         communicate this fact to the rest of LyX.
2947
2948 2004-03-24  Angus Leeming  <leeming@lyx.org>
2949
2950         64-bit compile fixes.
2951
2952         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2953         (c-tor): pass lyx::pos_types rather than ints.
2954
2955         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2956         lyx::pos_type.
2957
2958         * text.C (Delete): compile fix.
2959         (getPar): ensure that function declaration is the same as that in
2960         the header file.
2961
2962 2004-03-23  Angus Leeming  <leeming@lyx.org>
2963
2964         * ispell.C (LaunchIspell):
2965         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2966         a boost::shred_ptr rather than a std::auto_ptr.
2967
2968 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2969
2970         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2971         handle LFUN_FILE_INSERT_*
2972
2973         * lyxrc.C (setDefaults, getDescription, output, read):
2974         * lyxrc.h: remove ps_command
2975
2976 2004-03-22  Angus Leeming  <leeming@lyx.org>
2977
2978         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2979         Ensure that error_handler is processed once only and that all data
2980         is saved before attempting to output any warning messages.
2981
2982         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2983
2984 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2985
2986         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2987
2988 2004-03-19  André Pönitz  <poenitz@gmx.net>
2989
2990         * cursor.[Ch] (reset): take main text inset as argument
2991
2992         * BufferView: adjust
2993         * BufferView_pimpl.C: adjust
2994
2995         * paragraph.[Ch]: fix completely broken operator=()
2996
2997 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2998
2999         * LColor.C (getFromLyXName): make sure that the color name is used
3000         as lowercase.
3001
3002 2004-03-17  Angus Leeming  <leeming@lyx.org>
3003
3004         * lfuns.h:
3005         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3006
3007         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3008         dialog and to kill a forked process.
3009
3010 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3011
3012         * text2.C (setCursorFromCoordinates): fix font problem
3013
3014 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3015
3016         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3017         bogus "rebuild cursor" code
3018
3019 2004-03-11  André Pönitz  <poenitz@gmx.net>
3020
3021         * buffer.[Ch]: use InsetText instead of LyXText as container for
3022         the main lyx text.
3023
3024         * dociterator.[Ch]: drop the BufferView * member which is not needed
3025         anymore after the change to buffer.C
3026
3027         * paragraph_funcs.C:
3028         * text.C:
3029         * text2.C:
3030         * BufferView.[Ch]:
3031         * BufferView_pimpl.[Ch]:
3032         * cursor.[Ch]:
3033         * cursor_slice.[Ch]: adjust
3034
3035         * text3.C: fix bug in mathDispatch
3036
3037 2004-03-08  André Pönitz  <poenitz@gmx.net>
3038
3039         * undo.[Ch]: use 'StableDocumentIterator' as base for
3040         the Undo struct.
3041
3042 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3043
3044         * LaTeXFeatures.C:
3045         * bufferparams.[Ch]: add jurabib support and param.
3046
3047         * LaTeX.C: add FIXME/comment.
3048
3049 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3050
3051         * buffer.C: increment file format to 230.
3052
3053 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3054
3055         * cursor.C (dispatch): avoid infinite loops
3056
3057 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3058
3059         * rowpainter.C (paintSelection): fix x coordinates
3060
3061 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3062
3063         * text.C (rowBreakPoint): fix breaking before displayed insets
3064
3065 2004-03-01  André Pönitz  <poenitz@gmx.net>
3066
3067         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3068
3069         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3070
3071         * Makefile.am:
3072         * BufferView.C:
3073         * BufferView_pimpl.C:
3074         * buffer.C:
3075         * lyxfind.C:
3076         * lyxfunc.C:
3077         * text.C:
3078         * text2.C:
3079         * text3.C: adjust
3080
3081 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3082
3083         * lyxtext.h:
3084         * text.C:
3085         * text2.C:
3086         * rowpainter.C:
3087         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3088         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3089
3090 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3091
3092         * Bidi.[Ch] (computeTables): const correctness
3093         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3094         fill_hfill, fill_label_hfill and x from Row
3095         * lyxtext.h: prepareToPrint returns a RowMetrics
3096         * rowPainter.C: adjust
3097         * text.C (prepareToPrint): use width, not textWidth. adjust
3098         (redoParagraphInternal, cursorX): adjust
3099         * text2.C (getColumnNearX): adjust
3100         (init): put a default value to the top LyXText::width
3101
3102 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3103
3104         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3105
3106 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3107
3108         * lyxtext.h: add FontIterator class
3109
3110         * text.C (FontIterator, operator*, operator->, operator++): add
3111         (rowBreakPoint, setRowWidth): adjust (fixing a
3112         rebreaking bug)
3113
3114 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3115
3116         * BufferView_pimpl.C (workAreaDispatch): allow also
3117         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3118
3119 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3120
3121         * text.C (rowBreakPoint): fix a bug showing with very large insets
3122
3123 2004-02-25  André Pönitz  <poenitz@gmx.net>
3124
3125         * text3.C:
3126         * cursor.[Ch]: move some mathed specific code to mathed
3127
3128 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3129
3130         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3131         use_tempdir in preferences
3132         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3133         tempfile creation
3134         * lyx_main.C: ensure that tempdir is valid
3135         * lyxlex.h: correct typo
3136         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3137         * paragraph.[Ch] (isMultiLingual): make const
3138         * cursor.[Ch] (openable): make const
3139
3140 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3141
3142         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3143
3144 2004-02-20  André Pönitz  <poenitz@gmx.net>
3145
3146         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3147
3148         * cursor.[Ch]: prepare for localized getStatus()
3149
3150         * lyxtext.h:
3151         * tabular.C:
3152         * text.C:
3153         * text2.C:
3154         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3155
3156 2004-02-20  André Pönitz  <poenitz@gmx.net>
3157
3158         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3159
3160 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3161
3162         * text2.C (setCursorFromCoordinates): switch to absolute coords
3163         (cursorUp): adjust
3164         (cursorDown): adjust
3165         * text3.C (dispatch): adjust
3166
3167 2004-02-16  André Pönitz  <poenitz@gmx.net>
3168
3169         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3170           insets/ChangeLog)
3171
3172         * cursor_slice.[Ch]: remove unneeded acessor function
3173
3174         * lyxtext.h: rename rtl() to isRTL()
3175
3176         * rowpainter.C:
3177         * tabular.C:
3178         * text.C:
3179         * text2.C:
3180         * text3.C: adjust
3181
3182 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3183
3184         * rowpainter.C (paintSelection): coord fix
3185
3186 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3187
3188         * Spacing.C: compile fix
3189
3190 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3191
3192         * cursor.C (dispatch): restore current_ before returning
3193
3194 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3195
3196         * text2.C (cursorUp, cursorDown): fix coords
3197         (moveUp): fix crash
3198
3199 2004-02-12  André Pönitz  <poenitz@gmx.net>
3200
3201         * lyxtext.h:
3202         * text.C:
3203         * text2.C:
3204         * text3.C: add LCursor & parameter to most cursor movement functions
3205           remove usage of LyXText::cursorRow() and cursorPar()
3206
3207         * cursor.[Ch]: add textRow() needed members
3208
3209         * BufferView.C:
3210         * BufferView_pimpl.C:
3211         * paragraph.[Ch]:
3212         * BufferView.C:
3213         * BufferView_pimpl.C: adjust
3214
3215 2004-02-11  André Pönitz  <poenitz@gmx.net>
3216
3217         * lyxfunc.C:
3218         * BufferView.[Ch]:
3219         * BufferView_pimpl.C: shift undo/redo handling
3220
3221         * cursor.[Ch]: fix mathed crash
3222
3223         * lyxfind.C:
3224         * lyxtext.h: move selectionAsText to LCursor
3225
3226         * output_latex.C:
3227         * paragraph.C:
3228         * text.C:
3229         * text2.C:
3230         * text3.C: adjust
3231
3232         * rowpainter.C: fix excessive drawing
3233
3234 2004-02-06  André Pönitz  <poenitz@gmx.net>
3235
3236         * BufferView.[Ch]:
3237         * BufferView_pimpl.[Ch]:
3238         * text3.C: move some text specific LFUN handling
3239
3240 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3241
3242         * text3.C (checkInsetHit): adjust coords
3243         * text2.C (getColumnNearX): adjust coords
3244         (edit): adjust coords
3245         * text.C (getRowNearY): add two asserts
3246
3247 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3248
3249         * converter.C:
3250         * format.C: add using std::distance to compile on gcc 2.95/stlport
3251
3252 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3253
3254         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3255
3256 2004-02-04  André Pönitz  <poenitz@gmx.net>
3257
3258         * BufferView.[Ch] (insertInset):
3259         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3260
3261         * text2.C:
3262         * text3.C: adjust
3263
3264 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3265
3266         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3267         on the default clause of the switch
3268         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3269         wasn't catched by LCursor::dispatch
3270
3271 2004-02-03  André Pönitz  <poenitz@gmx.net>
3272
3273         * BufferView.C:
3274         * cursor.[Ch]: some additional asserts
3275
3276         * undo.[Ch]: remove LyXText dependency in interface
3277
3278         * lyxfunc.C: adjust
3279
3280         * lyxtext.h (firstPar, lastPar): remove dead functions
3281
3282         * text.C:
3283         * text2.C:
3284         * text3.C:
3285         * paragraph.[Ch]: adjust
3286
3287 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3288
3289         * lyxfind.C (find): fix argument order in call to ::find
3290
3291 2004-02-02  André Pönitz  <poenitz@gmx.net>
3292
3293         * cursor.[Ch]: remove direct access to anchor
3294
3295         * text.C: remove findText() hack
3296
3297 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3298
3299         * iterators.[Ch] (lockPath): remove in favour of...
3300         * BufferView.[Ch] (setCursor): this addition
3301         * BufferView.C (putSelectionAt): adjust
3302         * undo.C (performUndoOrRedo): adjust
3303         * lyxfunc.C (dispatch): adjust
3304
3305 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3306
3307         * iterators.C (lockPath): add a missing slice
3308         * undo.C (performUndoOrRedo): remove redundant positioning code
3309
3310 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3311
3312         * vc-backend.C (scanMaster): ";" -> ';'
3313
3314 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3315
3316         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3317         std::binary_function
3318
3319         * lyxtextclass.C (compare_name): rename to...
3320         (LayoutNamesEqual): ...this
3321
3322         * lyxlex_pimpl.C (compare_tags): inherit from
3323         std::binary_function, put back into anon namespace
3324
3325         * lyxfind.C (MatchString): inherig from std::binary_function
3326         (findChange): use empty() istead of !size()
3327
3328         * format.C (FormatNamesEqual): new functor
3329         (getFormat): use it
3330         (getNumber): use it
3331         (add): use it
3332         (erase): use it
3333         (setViewer): use it
3334
3335         * converter.C (compare_Converter): rename to...
3336         (ConverterEqual): ...this, and fixup a bit.
3337         (getConverter): use it, and make function const
3338         (getNumber): use it, and make function const
3339         (add): use it
3340         (erase): use it:
3341
3342         * bufferlist.C: add using boost::bind
3343
3344         * MenuBackend.C (MenuNamesEqual): new functor
3345         (hasMenu): use it, and make function const
3346         (hasSubmenu): use nested bind to get rid of compare_memfun.
3347
3348 2004-01-30  André Pönitz  <poenitz@gmx.net>
3349
3350         * BufferView_pimpl.C:
3351         * cursor.C:
3352         * cursor.h:
3353         * cursor_slice.[Ch]:
3354         * lyxfunc.C:
3355         * lyxtext.h:
3356         * paragraph_funcs.C:
3357         * paragraph_funcs.h:
3358         * rowpainter.C:
3359         * text.C:
3360         * text2.C:
3361         * text3.C: move some of the edit(x,y) handling to the insets
3362         some coordinate changes.
3363
3364 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3365
3366         * text.C: add using statements for std::advance and std::distance
3367
3368         * paragraph.C: add using statement for std::distance
3369
3370         * lyxfind.C: add using statement for std::advance
3371
3372         * cursor.C (region): remove std:: from swap
3373         (openable): use nucleus in stead of operator->
3374
3375         * BufferView.C: add using statements for std::distance and std::swap
3376
3377 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3378
3379         * iterators.C: Remove the pimple, move the needed structures to
3380         the header file. Create accessor for the positions stack.
3381         (asPosIterator): remove function
3382
3383         * PosIterator.C (PosIterator): move constructors to top of file
3384         (PosIterator): reimplement the constructor taking a ParIterator in
3385         terms of setFrom.
3386         (setFrom): new function
3387         (operator!=): inline it
3388
3389 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3390
3391         * lyxfind.C (replaceAll): use std::advance
3392
3393         * iterators.h: inherit from std::iterator.
3394
3395         * PosIterator.C (advance, distance): remove
3396         * PosIterator.h: interit from std::iterator.
3397
3398 2004-01-26  André Pönitz  <poenitz@gmx.net>
3399
3400         * BufferView.[Ch]:
3401         * BufferView_pimpl.[Ch]:
3402         * InsetList.[Ch]:
3403         * PosIterator.[Ch]:
3404         * buffer.h:
3405         * bufferview_funcs.C:
3406         * cursor.[Ch]:
3407         * cursor_slice.h:
3408         * factory.[Ch]:
3409         * iterators.[Ch]:
3410         * lyxfind.C:
3411         * lyxfunc.C:
3412         * lyxtext.h:
3413         * output_docbook.C:
3414         * output_latex.C:
3415         * output_linuxdoc.C:
3416         * output_plaintext.C:
3417         * paragraph.[Ch]:
3418         * paragraph_funcs.[Ch]:
3419         * paragraph_pimpl.[Ch]:
3420         * rowpainter.C:
3421         * tabular.C:
3422         * tabular.h:
3423         * text.C:
3424         * text2.C:
3425         * text3.C: more IU:  dumps most of the rest of the mathcursor
3426     implementation into cursor.[Ch]; "globalize" a bit of it.
3427
3428 2004-01-25  Angus Leeming  <leeming@lyx.org>
3429
3430         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3431
3432 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3433
3434         * LaTeXFeatures.h: add nice_ and nice() const
3435         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3436
3437 2004-01-20  André Pönitz  <poenitz@gmx.net>
3438
3439         * BufferView.[Ch]:
3440         * BufferView_pimpl.C:
3441         * PosIterator.C:
3442         * bufferview_funcs.C:
3443         * cursor.[Ch]:
3444         * cursor_slice.[Ch]:
3445         * factory.C:
3446         * iterators.C:
3447         * lyx_cb.C:
3448         * lyxfind.C:
3449         * lyxfunc.C:
3450         * lyxtext.h:
3451         * rowpainter.C:
3452         * text.C:
3453         * text2.C:
3454         * text3.C:
3455         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3456           LCursor and mathcursor parts to LCursor and InsetBase.
3457
3458 2004-01-15  André Pönitz  <poenitz@gmx.net>
3459
3460         * cursor_slice.[Ch]: add a few covienience functions
3461
3462         * funcrequest.[Ch]: remove BufferView * member
3463
3464         * BufferView_pimpl.C:
3465         * cursor.C:
3466         * factory.[Ch]:
3467         * lyxfind.[Ch]:
3468         * lyxfunc.C:
3469         * lyxtext.h:
3470         * text3.C:
3471         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3472
3473 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3474
3475         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3476         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3477
3478 2004-01-13  André Pönitz  <poenitz@gmx.net>
3479
3480         * textcursor.[Ch]:
3481         * lyxtext.h: hide cursor and selection anchor behind accessor function
3482
3483         * BufferView.C:
3484         * BufferView_pimpl.[Ch]:
3485         * PosIterator.C:
3486         * bufferview_funcs.C:
3487         * cursor.h:
3488         * lyxfind.C:
3489         * lyxfunc.C:
3490         * text.C:
3491         * text2.C:
3492         * text3.C:
3493         * undo.C: adjust
3494
3495         * cursor.h:
3496         * cursor_slice.[Ch]: some integer type changes for inset unification
3497
3498         * lyxcursor.[hC]: remove, it's CursorSlice now.
3499
3500         * Makefile.am:
3501         * BufferView_pimpl.[Ch]:
3502         * bufferview_funcs.C:
3503         * cursor_slice.C:
3504         * lyxtext.h:
3505         * text.C:
3506         * text2.C:
3507         * text3.C:
3508         * textcursor.[Ch]: adjust
3509
3510 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3511
3512         * text2.C (undoSpan): add and use
3513         * text.C (breakParagraph): use undoSpan (fix bug 578)
3514         * lyxtext.h: adjust
3515
3516 2004-01-08  Angus Leeming  <leeming@lyx.org>
3517
3518         * BufferView_pimpl.C (MenuInsertLyXFile):
3519         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3520         * lyxfunc.C (menuNew, open, doImport):
3521         FileFilterList change to the FileDialog open and save functions.
3522
3523 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3524
3525         * ShareContainer.h: make isEqual and isUnique adaptable
3526
3527         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3528
3529 2004-01-07  Angus Leeming  <leeming@lyx.org>
3530
3531         * LyXAction.C:
3532         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3533
3534         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3535
3536         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3537         functions replacing find, replace and replaceAll.
3538
3539         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3540         LFUN_WORDFIND(FORWARD|BACKWARD).
3541
3542 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3543
3544         * text.C (breakParagraph): remove an outdated #warning
3545
3546 2004-01-07  André Pönitz  <poenitz@gmx.net>
3547
3548         * lyxfind.C: somewhat clearer logic
3549
3550         * text.C: prevent crash in cursorX on unitialized row cache
3551
3552 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3553
3554         * lyxcursor.[Ch] (operator>): add
3555         * textcursor.C (selStart, selEnd): use std::min and std::max
3556
3557 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3558
3559         * Chktex.C: include boost/format.hpp
3560
3561 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3562
3563         * InsetList.C: replace functor MathcIt with adaptable functor
3564         InsetTablePosLess
3565         (insetIterator): modify accordingly
3566
3567         * BranchList.h: move the BranchNamesEqual functor here from...
3568         * BranchList.C: ... to here
3569
3570         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3571         SameName and match.
3572         (add): replace a finding loop with std::find_if.
3573
3574 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3575
3576         * output_docbook.C: moving LatexParam functionality into
3577         .layout files
3578
3579 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3580
3581         * buffer.C: increment format to 229.
3582
3583 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3584
3585         * LaTeXFeatures.C:
3586         * lyx_sty.[Ch]: remove minipageindent_def
3587
3588         * LyXAction.C:
3589         * factory.C:
3590         * lfuns.h:
3591         * lyxfunc.C:
3592         * text3.C: remove LFUN_INSET_MINIPAGE
3593
3594 2003-12-28  Angus Leeming  <leeming@lyx.org>
3595
3596         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3597
3598 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3599
3600         * text2.C (setParagraph): fix off-by-one crash
3601
3602 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3603
3604         * output_docbook.C: header stuff for AGU
3605
3606 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3607
3608         * text2.C (redoCursor): remove
3609         * text.C:
3610         * text3.C:
3611         * BufferView_pimpl.C: remove calls to redoCursor and
3612         setCursor(cursor.par(), cursor.pos()) all around
3613
3614 2003-12-15  Angus Leeming  <leeming@lyx.org>
3615
3616         * buffer.C: up the format to 228.
3617
3618 2003-12-15  André Pönitz  <poenitz@gmx.net>
3619
3620         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3621         slices
3622
3623         * Makefile.am:
3624
3625         * BufferView_pimpl.C:
3626         * cursor.[Ch]:
3627         * lyxcursor.[Ch]:
3628         * rowpainter.[Ch]:
3629         * lyxtext.h:
3630         * text.C:
3631         * text2.C:
3632         * text3.C: adjust
3633
3634 2003-12-15  Angus Leeming  <leeming@lyx.org>
3635
3636         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3637         than getFromGUIName to manipulate the color.
3638
3639 2003-12-14  Angus Leeming  <leeming@lyx.org>
3640
3641         * BranchList.[Ch]: minimize the API.
3642         (Branch::getBranch, getColor): now return a 'const &'.
3643         (Branch::setSelected) now returns a bool set to true if the
3644         selection status changes.
3645         (BranchList::clear, size, getColor, setColor, setSelected,
3646         allBranches, allSelected, separator): removed.
3647         (BranchList::find): new functions, returning the Branch with
3648         the given name.
3649         (BranchList::add, remove): return a bool indicating that
3650         the operation was successful.
3651
3652         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3653         new InsetBranch::isBranchSlected member function.
3654
3655         * LColor.[Ch]: mimimize the API.
3656         (fill): renamed as addColor and made private.
3657         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3658         versions of these functions taking a string arg have been removed.
3659
3660         * bufferparams.C (readToken):
3661         * lyxfunc.C (dispatch):
3662         * lyxrc.C (read): changes due to the altered BranchList and
3663         LColor APIs.
3664
3665         * factory.C (createInset, readInset): changes due to altered
3666         InsetBranch c-tor.
3667
3668 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3669
3670         * factory.C:
3671         * lyxfunc.C: remove insetminipage. "minipage-insert"
3672         now produces a frameless minipage box inset.
3673
3674 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3675
3676         * textcursor.[Ch] (selStart,selEnd): add new methods
3677         remove selection::start, end, use LyXCursor::operator<
3678         * lyxcursor.[Ch] (operator<): add
3679         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3680         * BufferView.[Ch] (unsetXSel): add
3681         * text2.C (clearSelection): use unsetXSel,adjust
3682         * text.C: adjust
3683         * text3.C: adjust
3684         * rowpainter.C: adjust
3685         * bufferview_funcs.C (put_selection_at): adjust
3686
3687 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3688
3689         * BufferView_pimpl.C: small coord. correction
3690
3691 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3692
3693         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3694         dragging over the splash screen.
3695
3696 2003-12-11  Angus Leeming  <leeming@lyx.org>
3697
3698         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3699         as it is now handled in LyXText::dispatch.
3700
3701         * text3.C (doInsertInset): remove a level of nesting.
3702
3703 2003-12-11  Angus Leeming  <leeming@lyx.org>
3704
3705         * factory.C (createInset): changes due to the changed interface to
3706         InsetCommandMailer::string2params.
3707
3708 2003-12-10  Angus Leeming  <leeming@lyx.org>
3709
3710         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3711         'dialog-show-new-inset <inset name>'
3712
3713 2003-12-10  Angus Leeming  <leeming@lyx.org>
3714
3715         * buffer.C: up the format to 227.
3716
3717         * factory.C: the box inset is now identified simply by 'Box'.
3718
3719 2003-12-10  Angus Leeming  <leeming@lyx.org>
3720
3721         * buffer.C: up the format to 226.
3722
3723         * factory.C: the note inset is now identified simply by 'Note'.
3724
3725 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3726
3727         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3728         when a pit is enough. Standarize a couple of loops.
3729
3730 2003-12-05  Angus Leeming  <leeming@lyx.org>
3731
3732         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3733         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3734         data to the re-worked "log" dialog.
3735
3736 2003-12-03  André Pönitz  <poenitz@gmx.net>
3737
3738         * PosIterator.C:
3739         * iterators.C:
3740         * lyxtext.h:
3741         * output_latex.C:
3742         * paragraph_funcs.C:
3743         * text.C:
3744         * text2.C: use Inset::getText instead of Inset::getParagraph
3745
3746 2003-12-03  André Pönitz  <poenitz@gmx.net>
3747
3748         * buffer.[Ch]:
3749         * lyxtext.h:
3750         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3751         InsetText::read() as LyXText::read()
3752
3753 2003-12-02  Angus Leeming  <leeming@lyx.org>
3754
3755         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3756         type. Add a comment in the implementation that the function uses
3757         the stream's bad() function rather than fail() as the std::streams
3758         would do.
3759
3760 2003-12-02  André Pönitz  <poenitz@gmx.net>
3761
3762         * lyxlex.[Ch]: make interface more similar to std::stream
3763
3764         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3765
3766 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3767
3768         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3769
3770 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3771
3772         * vspace.[Ch]: remove VSpace::NONE
3773
3774 2003-12-01  André Pönitz  <poenitz@gmx.net>
3775
3776         * buffer.[Ch]:
3777         * lyxtext.h: move ParagraphList member to LyXText
3778         rename LyXText::ownerParagraphs to LyXText::paragraph
3779
3780         * CutAndPaste.C:
3781         * bufferview_funcs.C:
3782         * iterators.[Ch]:
3783         * lyx_cb.C:
3784         * paragraph.C:
3785         * rowpainter.C:
3786         * tabular.C:
3787         * text.C:
3788         * text2.C:
3789         * text3.C: adjust
3790
3791         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3792
3793         * undo.C: fix cursor positioning
3794
3795 2003-12-01  John Levon  <levon@movementarian.org>
3796
3797         * BufferView_pimpl.C: fix a crash on exit with
3798         a buffer open
3799
3800 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3801
3802         * BranchList.C: fix setSelected() method.
3803
3804 2003-11-28  André Pönitz  <poenitz@gmx.net>
3805
3806         * ParagraphParameters.[Ch]:
3807         * ParameterStruct.h: remove space above/below from Paragraph to
3808          InsetVSpace
3809
3810         * BufferView_pimpl.C:
3811         * factory.C:
3812         * lyxfunc.C:
3813         * lyxtext.h:
3814         * output_latex.C:
3815         * paragraph.C:
3816         * paragraph_funcs.C:
3817         * rowpainter.[Ch]:
3818         * text.C:
3819         * text2.C:
3820         * text3.C: adjust
3821
3822 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3823
3824         * factory.C: Syntax change for CharStyles
3825
3826 2003-11-28  André Pönitz  <poenitz@gmx.net>
3827
3828         * BufferView.[Ch]:
3829         * BufferView.[Ch]:
3830         * buffer.[Ch]:
3831         * buffer.[Ch]: move LyXText member
3832
3833 2003-11-28  André Pönitz  <poenitz@gmx.net>
3834
3835         * BufferView.[Ch]: make LyXText * text a private member
3836
3837         * BufferView_pimpl.C:
3838         * cursor.C:
3839         * iterators.C:
3840         * lyx_cb.C:
3841         * lyxfind.C:
3842         * lyxtext.h:
3843         * rowpainter.[Ch]:
3844         * text.C:
3845         * text2.C:
3846         * undo.C: adjust
3847
3848         * output_plaintext.C: cleanup
3849
3850 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3851
3852         * buffer.C:
3853         * lyxtextclass.[Ch]: parametrize SGML document header
3854
3855 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3856
3857         * converter.[Ch]:
3858         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3859         getFlavor().
3860
3861 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3862
3863         * text2.C (setFont): rework using PosIterator (no more recursive)
3864         (setCharFont): no more needed
3865         (setLayout): no more selection cursors fiddling (done by redoCursor)
3866         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3867         destroy remaining ones)
3868
3869 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3870
3871         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3872         * lyxtext.h: ditto
3873         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3874         selection cursors
3875         * lyxfunc.C: adjust
3876         * text3.C: adjust + re-allow multi par depth changes
3877         * textcursor.C: simplify a bit
3878
3879 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3880
3881         * src/buffer.C:
3882         * src/lyxlayout.C:
3883         * src/lyxlayout.h:
3884         * src/lyxtext.h:
3885         * src/output_docbook.C:
3886         * src/output_latex.C:
3887         * src/paragraph.C:
3888         * src/paragraph.h:
3889         * src/sgml.C:
3890         * src/sgml.h:
3891         * src/text2.C: Introducing a number of tags parametrizing various
3892         XML formats that we may want to support
3893
3894 2003-11-25  André Pönitz  <poenitz@gmx.net>
3895
3896         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3897
3898         * lyxtext.h (leftMargin/rightMargin): simplify interface
3899
3900         * rowpainter.C:
3901         * text.C:
3902         * text2.C:
3903         * text3.C: adjust
3904
3905 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3906
3907         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3908         master file to any child files. Fixes bug 546.
3909
3910 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3911
3912         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3913
3914 2003-11-24  André Pönitz  <poenitz@gmx.net>
3915
3916         * rowpainter.C: simplification
3917
3918         * text2.C (updateCounters): remove call to redoParagraph on
3919         changed labels as this is far too expensive.
3920
3921 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3922
3923         * converter.C (convert): fix a crash: this function gets
3924         called with buffer == 0 from importer code.
3925
3926 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3927
3928         * text3.C (cursorPrevious): make sure that we do not compare
3929         iterators form different containers.
3930         (cursorNext): ditto
3931
3932         * rowpainter.C (paintSelection): make sure that we do not compare
3933         iterators from different containers.
3934
3935         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3936         iterators from different ParagraphList containers.
3937         [NEXT] ditto
3938
3939         * text2.C (LyXText): change order of initialization slightly
3940         (operator=): new function. copy all variables except cache_par_
3941         (moveUp): make sure that we do not compare iterators from
3942         different ParagraphList constainers.
3943         (moveDown): ditto
3944
3945         * text.C (firstPar): new function
3946         (lastPar): new function
3947         (endPar): new function
3948
3949         * lyxtext.h: move things around and group public functions, public
3950         variables, private functions, private variables
3951
3952 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3953
3954         * factory.C: change call to InsetERT constructor to avoid
3955         additional invocation of method status
3956         * text2.C (toggleInset): remove redundant update() call
3957         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3958         instead of a Bufferview pointer
3959
3960 2003-11-21  André Pönitz  <poenitz@gmx.net>
3961
3962         * rowpainter.C: simplification
3963
3964 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3965
3966         * text3.C (dispatch): make possible to extend a word/row selection
3967         with the mouse
3968
3969 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3970
3971         * lyxtext.h: x0_,y0_ -> xo_,yo_
3972         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3973         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3974         * rowpainter.C (paintRows): paint full paragraphs
3975
3976 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3977
3978         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3979         screen coordinates)
3980
3981 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3982
3983         * lyxtext.h: add x0_, y0_
3984         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3985         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3986
3987 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3988
3989         * text2.C (setCursorIntern): move the x_target update here *
3990         * text3.C: change some bv() to true/false in calls to
3991         cursorUp/Down/Right/Left
3992         * cursor.C: use helper function.
3993
3994 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3995
3996         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3997         * paragraph_funcs.[Ch]: correct comment
3998         * rowpainter.C: do not paint selections away from bv->cursor()
3999         Fix a long standing selection painting bug.
4000         * text3.C: generalize mouse-selection code to LyXTexts other that
4001         top one
4002         * textcursor.C: do not use y coords if we can use par offsets
4003
4004 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4005
4006         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4007         cursor position after e.g. inset insert)
4008
4009 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4010
4011         * lyxfind.C (replace): adjust to locking removal + some
4012         code simplification
4013
4014 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4015
4016         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4017         of the path
4018
4019 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4020
4021         * lyxlayout.[Ch]:
4022         * output_docbook.C: XML sanitation: new layout
4023         parameters InnerTag and CommandDepth
4024
4025 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4026
4027         * BufferView_pimpl.C:
4028         * factory.C:
4029         * text3.C: Fix the insertion and modification of button-style
4030         insets
4031
4032 2003-11-13  André Pönitz  <poenitz@gmx.net>
4033
4034         * InsetList.[Ch]: remove deleteLyXText
4035
4036         * paragraph.[Ch]: cache beginOfBody position
4037
4038         * Bidi.C:
4039         * text.C:
4040         * text2.C:
4041         * text3.C: remove superfluous update() calls
4042
4043         * vspace.C: cleanup
4044
4045 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4046
4047         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4048         * BufferView.C (fitLockedInsetCursor): remove
4049         * cursor.[Ch] (getDim): add
4050         * text.C (getRowNearY): add faster version
4051         * text3.C: remove some update calls
4052
4053 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4054
4055         * LaTeXFeatures.C:
4056         * LyXAction.C:
4057         * MenuBackend.C:
4058         * MenuBackend.h:
4059         * dispatchresult.h:
4060         * factory.C:
4061         * lfuns.h:
4062         * lyxfunc.C:
4063         * lyxtextclass.C:
4064         * lyxtextclass.h:
4065         * text3.C: The Character Style /XML short element patch.
4066
4067 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4068
4069         * text3.C:
4070         * factory.C: Small step to solving 'unable to insert some insets'
4071         problem
4072
4073 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4074
4075         * cursor.[Ch] (updatePos): new function for updating the y
4076         position of the tip inset
4077         * bufferview_funcs.C (put_selection_at):
4078         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4079
4080 2003-11-11  André Pönitz  <poenitz@gmx.net>
4081
4082         * text.C: remove big comment on invalid Paragraph pointers as it is
4083         not valid anymore
4084
4085 2003-11-11  André Pönitz  <poenitz@gmx.net>
4086
4087         * text_funcs.[Ch]: merge with ...
4088
4089         * text.C: ... this
4090
4091         * lyxtext.h:
4092         * text2.C:
4093         * text3.C: adjust
4094
4095         * Makefile.am: remove text_funcs.[Ch]
4096
4097 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4098
4099         * cursor.C (getPos): return absolute cached y coord
4100
4101         * BufferView_pimpl.C (fitCursor): new simplistic code
4102         (workAreaDispatch): add a fitCursor call
4103
4104 2003-11-10  André Pönitz  <poenitz@gmx.net>
4105
4106         * BufferView.[Ch]:
4107         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4108
4109 2003-11-10  André Pönitz  <poenitz@gmx.net>
4110
4111         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4112         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4113         indicate that the cursor needs to leave an inset
4114
4115         * lyxtext.h: remove inset locking
4116
4117         * cursor.[Ch]: re-implement functionality provided by inset locking
4118
4119         * BufferView.[Ch]:
4120         * BufferView_pimpl.[Ch]:
4121         * LyXAction.C:
4122         * bufferview_funcs.[Ch]:
4123         * factory.C:
4124         * funcrequest.[Ch]:
4125         * iterators.C:
4126         * lyx_cb.C:
4127         * lyxfind.C:
4128         * lyxfunc.C:
4129         * text.C:
4130         * text2.C:
4131         * text3.C:
4132         * undo.C: adjust
4133
4134 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4135
4136         * PosIterator.[Ch]: replace the stack with a vector, add inset
4137         accesor
4138         * iterators.[C]: adjust
4139
4140 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4141
4142         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4143         replaced
4144         * paragraph_funcs.C (readParToken): put the correct id in the
4145         error item, not the id of the top paragraph
4146
4147 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4148
4149         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4150         * bufferview_funcs.C (put_selection_at): use the above
4151
4152 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4153
4154         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4155
4156 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4157
4158         * output_linuxdoc.h:
4159         * output_plaintext.h:
4160         * output.h:
4161         * output_docbook.h: add #include statements
4162
4163 2003-11-05  José Matos  <jamatos@lyx.org>
4164
4165         * output_docbook.[Ch]:
4166         * output_latex.[Ch]:
4167         * output_linuxdoc.[Ch]:
4168         * output_plaintext.[Ch]: New files for output formats.
4169         * output.[Ch]: New file for helper functions.
4170
4171         * buffer.[Ch]:
4172         * paragraph_funcs.[Ch]: output functions moved to new files.
4173
4174         * outputparams.h: rename of latexrunparams.h
4175
4176         * LaTeX.[Ch]:
4177         * buffer.[Ch]:
4178         * bufferlist.[Ch]:
4179         * converter.[Ch]:
4180         * exporter.C:
4181         * paragraph.[Ch]:
4182         * paragraph_funcs.[Ch]:
4183         * paragraph_pimpl.[Ch]:
4184         * tabular.[Ch]: rename ascii to plaintext
4185         and LatexRunParams to OutputParams.
4186
4187 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4188
4189         * iterators.[Ch] (text): require bv argument
4190         * undo.C (recordUndo):
4191         * lyxfunc.C (dispatch):
4192         * bufferview_funcs.C (put_selection_at): adjust
4193
4194 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4195
4196         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4197
4198 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4199
4200         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4201         nestings
4202
4203 2003-11-04  André Pönitz  <poenitz@gmx.net>
4204
4205         * cursor.[Ch]: restructure
4206
4207         * BufferView.[Ch]:
4208         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4209
4210         * iterators.[Ch] (asCursor): remove
4211
4212         * lfuns.h: remove LFUN_INSET_EDIT
4213
4214         * lyxfunc.C:
4215         * tabular.C:
4216         * text.C:
4217         * text2.C:
4218         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4219
4220 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4221
4222         * lyxfind.[Ch]: complete overhaul
4223         * BufferView_pimpl.C:
4224         * lyxfunc.C: adjust
4225         * paragraph.[Ch] (insert): add
4226
4227 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4228
4229         * BufferView.[Ch]:
4230         * lyxtext.h:
4231         * text.C: remove dead spellcheck code
4232
4233 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4234
4235         * dispatchresult.h: add a val setter
4236
4237         * cursor.C (dispatch): use a tempvar for data_[i]
4238
4239 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4240
4241         * PosIterator.[Ch]: compile fix
4242
4243 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4244
4245         * text.C (cursorPar): deactivate the cursor cache
4246
4247 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4248
4249         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4250
4251 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4252
4253         * text3.C (dispatch): adjust for new DisptchResult semantics.
4254
4255         * lyxfunc.C (dispatch): handle update when return from
4256         Cursor::dispatch, adjust for new DispatchResult semantics.
4257
4258         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4259         DispatchResult(true) mean to not update. Add class functions for
4260         setting dispatched and update, as well as reading.
4261
4262         * cursor.C (dispatch): don't handle update here
4263
4264 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4265
4266         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4267         * trans_mgr.C: adjust
4268
4269         * paragraph_funcs.C (readParToken): exception safety
4270
4271         * lyxvc.h: store the vcs pointer in a scoped_ptr
4272         * lyxvc.C: adjust
4273
4274         * lyxsocket.C (serverCallback): exception safety
4275
4276         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4277
4278         * ispell.C (clone): make it return a auto_ptr
4279
4280         * factory.C (createInset): exception safety
4281         (readInset): exception safety
4282
4283         * bufferlist.C (newBuffer): exception safety
4284
4285         * Thesaurus.C (Thesaurus): use initialization for aik_
4286
4287         * MenuBackend.C (expandToc): exception safety.
4288
4289 2003-11-03  André Pönitz  <poenitz@gmx.net>
4290
4291         * buffer.C:
4292         * buffer.h:
4293         * bufferview_funcs.C: remove getInsetFromId()
4294
4295         * lyxcursor.[Ch]:
4296         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4297
4298         * lyxfunc.C:
4299         * text2.C:
4300         * text3.C: adjust
4301
4302 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4303
4304         * PosIterator.C (distance, advance): new
4305         * bufferview_funcs.[Ch] (put_selection_at): new
4306         * iterators.[Ch] (lockPath): new
4307
4308 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4309
4310         * iterators.[Ch] (asPosIterator): added
4311         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4312         * PosIterator.[Ch]: added
4313
4314 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4315
4316         * text3.C:
4317         * lyxfunc.C:
4318         * cursor.C (dispatch):
4319         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4320
4321         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4322         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4323         contructor, add a class function dispatched. Remove operator>=
4324
4325 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4326
4327         * debug.C: only use the default constructor for debugstream
4328         (lyxerr) here.
4329
4330         * main.C (main): include debug.h and setup the lyxerr streambuf
4331         here.
4332
4333 2003-10-31  José Matos  <jamatos@lyx.org>
4334
4335         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4336
4337         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4338         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4339         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4340         * paragraph_pimpl.C (simpleTeXSpecialC):
4341         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4342         add LatexRunParams argument.
4343
4344         * exporter.C (Export): change call accordingly.
4345
4346         * latexrunparams.h: add new member to take care of the other backends.
4347 2003-10-30  José Matos  <jamatos@lyx.org>
4348
4349         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4350         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4351         factorise code for paragraph output.
4352         * buffer.[Ch]:
4353         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4354         move functions.
4355
4356 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4357
4358         * text3.C (dispatch):
4359         * lyxfunc.C (dispatch):
4360         * cursor.C (dispatch):
4361         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4362
4363         * dispatchresult.h: make the dispatch_result_t ctor explicit
4364
4365 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4366
4367         * sgml.[Ch]:
4368         * buffer.C: small refactoring of docbook stuff
4369
4370 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4371
4372         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4373         meaning.
4374
4375 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4376
4377         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4378         operator dispatch_result_t, and operators for == != and >=
4379
4380         * cursor.C (dispatch): adjust for operator dispatch_result_t
4381         removal. comment out call to update
4382
4383         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4384
4385 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4386
4387         * text3.C:
4388         * text2.C:
4389         * text.C:
4390         * lyxtext.h:
4391         * lyxfunc.C:
4392         * cursor.C:
4393         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4394         (dispatch):
4395
4396         * dispatchresult.h: new file, DispatchResult broken out of
4397         insets/insetbase.h
4398
4399         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4400
4401 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4402
4403         * text.C (rowBreakPoint): put a hack inside #if 0
4404
4405 2003-10-28  André Pönitz  <poenitz@gmx.net>
4406
4407         * lyxtext.h:
4408         * metricsinfo.C:
4409         * paragraph_funcs.C:
4410         * rowpainter.C:
4411         * text.C:
4412         * text2.C: general cleanup (lots of small stuff)
4413
4414 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4415
4416         * text2.C (cursorEnd): simple fix to the "end key goes to one
4417         before the end on last row" bug
4418
4419 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4420
4421         * text.C (backspace): fix the "zombie characters"
4422
4423 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4424
4425         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4426
4427 2003-10-27  André Pönitz  <poenitz@gmx.net>
4428
4429         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4430
4431         * factory.C: handle new InsetPagebreak, InsetLine
4432
4433         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4434         and move handling into new InsetPagebreak, InsetLine
4435
4436         * BufferView_pimpl.C:
4437         * LyXAction.C:
4438         * ParagraphParameters.C:
4439         * ParameterStruct.h:
4440         * lyxfunc.C:
4441         * lyxtext.h:
4442         * paragraph.C:
4443         * paragraph.h:
4444         * paragraph_funcs.C:
4445         * paragraph_pimpl.C:
4446         * rowpainter.C:
4447         * text.C:
4448         * text2.C:
4449         * text3.C: adjust
4450
4451 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4452
4453         * text.C:
4454         * lyxrow_funcs.[Ch]:
4455         * Bidi.C:
4456         * paragraph.C:
4457         * lyxtext.h:
4458         * rowpainter.C:
4459         * text2.C:
4460         * text3.C: remove lastPos uses in favour of Row::endpos
4461
4462 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4463
4464         * undo.C (performUndoOrRedo): fix two crashes by setting a
4465         cursor by hand and reordering some calls. Use bv->lockInset instead
4466         of inset->edit because the latter loses cursor information
4467
4468 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4469
4470         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4471         by Martin
4472         (rowBreakPoint): fix width. change point to point + 1.
4473         Add a missing check.
4474
4475 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4476
4477         * MenuBackend.C:
4478         * lyxfunc.C: fix (at least partly) the problems
4479         with the Nav menu and headers inside branch insets
4480         reported by Kayvan
4481
4482 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4483
4484         * paragraph.C (getChar): add strong asserts
4485
4486         * lyxrow_funcs.C (lastPos): remove hideous hack
4487
4488         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4489         (fill): adjust to that (avoid an infinite loop)
4490
4491 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4492
4493         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4494
4495 2003-10-23  André Pönitz  <poenitz@gmx.net>
4496
4497         * RowList_fwd.h: change list<> to vector<> to gain speed
4498         after suggestion from Alfredo
4499
4500 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4501
4502         * lyxtext.h: move the bidi stuff from here...
4503         * text.C: and here
4504         * text2.C: and here
4505         * Bidi.[Ch]: ... to here
4506
4507 2003-10-23  André Pönitz  <poenitz@gmx.net>
4508
4509         * lyxtext.h:
4510         * text.C (isLastRow, isFirstRow): new functions
4511
4512         * paragraph.h: new width cache member
4513
4514         * rowpainter.C: replace RowList::iterator with Row & where possible
4515
4516         * lyxfunc.C: replace several view()->text with a single call
4517
4518         * toc.C: fix 'unused' warning
4519
4520 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4521
4522         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4523         when woring with stream::pos_type
4524         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4525
4526 2003-10-22  André Pönitz  <poenitz@gmx.net>
4527
4528         * lyxtext.h:
4529         * text.C: use Row & instead of RowList::iterator
4530
4531         * lyxrow.h: rename end() to endpos()
4532
4533         * rowpainter.C:
4534         * text.C:
4535         * text2.C: adjust
4536
4537 2003-10-22  Angus Leeming  <leeming@lyx.org>
4538
4539         * buffer.[Ch] (fully_loaded): new member function, returning true
4540         only when the file has been loaded fully.
4541         Used to prevent the premature generation of previews and by the
4542         citation inset to prevent computation of the natbib-style label.
4543
4544         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4545         templates are all set up.
4546
4547         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4548
4549 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4550
4551         * text.C: fixed an "oops" in the "is a bit silly"
4552         bug fix
4553
4554 2003-10-21  André Pönitz  <poenitz@gmx.net>
4555
4556         * FuncStatus.[Ch]: small stuff, whitespace
4557
4558         * lyxfont.[Ch]: operator<<() for debug reasons
4559
4560         * lyxfunc.C:
4561         * lyxrow_funcs.C:
4562         * lyxtext.h: whitespace, spelling
4563
4564         * paragraph.C: naming of variables
4565
4566         * text.C:
4567         * text2.C: small stuff
4568
4569
4570 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4571
4572         * text.C: (1) finish off the inset display() work;
4573         (2) fix the "is a bit silly" bug (accessing char
4574         past end of par).
4575
4576 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4577
4578         * text.C: re-introduce display() for insets, fixing the
4579         various bugs (stretch of line above, math inset
4580         positioning, ...)
4581
4582 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4583
4584         * text.C (rightMargin): remove spurious semicolon
4585
4586         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4587         1415)
4588
4589 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4590
4591         * text3.C: fix one crash due to wrong cursor def
4592
4593 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4594
4595         * vc-backend.C (scanMaster): make the regex static
4596
4597         * LaTeX.C (scanAuxFile): make the regexs static
4598
4599         * text3.C (doInsertInset, dispatch, dispatch):
4600         * text2.C (cursorUp, cursorDown):
4601         * text.C (selectNextWordToSpellcheck):
4602         * BufferView_pimpl.C (dispatch):
4603         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4604
4605 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4606
4607         * lyxsocket.C: include <cerrno>
4608
4609 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4610
4611         * lyxfunc.C (dispatch): remove textcache stuff
4612
4613         * bufferlist.C (release): remove textcache stuff
4614         (closeAll): ditto
4615
4616         * TextCache.C: delete file
4617         * TextCache.h: delete file
4618
4619         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4620
4621         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4622         delete of the bv_->text.
4623         (resizeCurrentBuffer): remove texcache stuff
4624         (workAreaResize): ditto
4625
4626 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4627
4628         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4629         action.
4630
4631 2003-10-16  André Pönitz  <poenitz@gmx.net>
4632
4633         * lyxrow.[Ch]:
4634         * paragraph.h:
4635         * rowpainter.C:
4636         * text.C:
4637         * text2.C:
4638         * text3.C: speed up by storing y positions per paragraph plus per-row
4639         offset instead of having a 'full' y position in the row.
4640
4641 2003-10-15  André Pönitz  <poenitz@gmx.net>
4642
4643         * iterators.[Ch]:
4644         * iterators.[Ch]:
4645         * undo.[Ch]: make undo aware of inner insets
4646
4647 2003-10-14  Angus Leeming  <leeming@lyx.org>
4648
4649         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4650         static member functions LyX::ref() and LyX::cref.
4651         (lastfiles): new accessor functions for the new lastfiles_ member var.
4652         (addLyXView, views_): add a new LyXView to the list of views_.
4653         (updateInset): loop over all LyXViews to call their own updateInset
4654         member function, returning a pointer to the Buffer owning the inset.
4655
4656         * BufferView_pimpl.C (loadLyXFile):
4657         * MenuBackend.C (expandLastfiles):
4658         * bufferlist.C (MenuWrite, QuitLyX):
4659         lastfiles is no longer a global variable.
4660         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4661
4662         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4663         static function. Access through LyX::cref().emergencyCleanup().
4664
4665 2003-10-14  André Pönitz  <poenitz@gmx.net>
4666
4667         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4668
4669         * undo.[Ch]: restoring part of 'undo in insets'
4670
4671         * Makefile.am:
4672         * undo_funcs.[Ch]: merge with undo.[Ch]
4673
4674         * tabular.C: small cleansing stuff
4675
4676 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4677
4678         * paragraph_funcs.C (readParToken): report unknown insets as error
4679         boxes. Use the outer paragraph as location (also for unknown
4680         tokens).
4681
4682         * factory.C (readInset): do not abort on reading an unknown inset.
4683         Eat it and return 0.
4684
4685 2003-10-13  Angus Leeming  <leeming@lyx.org>
4686
4687         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4688
4689         * lyxrc.C: displayTranslator is now a function,
4690         declared in GraphicsTypes.h.
4691
4692 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4693
4694         * format.C: new placeholder $$a to pass the socket address.
4695
4696         * bufferlist.[Ch]: new function getBufferFromTmp.
4697
4698         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4699           files in the temporary dir.
4700
4701 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4702
4703         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4704
4705         * Makefile.am: add lyxsocket.[Ch].
4706
4707         * lyx_main.C (error_handler): handle SIGPIPE.
4708
4709 2003-10-13  André Pönitz  <poenitz@gmx.net>
4710
4711         * BufferView_pimpl.C:
4712         * lyxtext.h:
4713         * text.C:
4714         * text2.C:
4715         * text3.C:
4716         * undo_funcs.[Ch]: use paroffset_type instead of
4717           ParagraphList::iterators to prevent multiple conversion
4718           (and get a more robust interface)
4719
4720 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4721
4722         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4723         * lyxtext.h: ditto
4724         * text3.C (dispatch): ditto
4725
4726 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4727
4728         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4729         move the onlyfile, use onlyfile instead of foundfile in a couple
4730         of places.
4731
4732         * DepTable.C (update): flush the error stream a bit more
4733
4734 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4735
4736         * lyxserver.C (callback): adjust
4737
4738         * lyxfunc.C (getStatus): add a missing brace in commented code
4739         (ensureBufferClean): reindent
4740         (dispatch): delete version taking a string
4741
4742 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4743
4744         * LaTeX.C (deplog): move found file handlig from here...
4745         (handleFoundFile): .. to new function here.
4746         (deplog): make sure to discover several files mentioned on the
4747         same log line.
4748
4749 2003-10-10  André Pönitz  <poenitz@gmx.net>
4750
4751         * lyxfunc.C:
4752         * lyxtext.h:
4753         * tabular.C:
4754         * text.C:
4755         * text2.C:
4756         * text3.C: fix some of the tabular crashes
4757
4758 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4759
4760         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4761
4762         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4763
4764 2003-10-09  André Pönitz  <poenitz@gmx.net>
4765
4766         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4767
4768         * BufferView.C:
4769         * BufferView_pimpl.C:
4770         * bufferview_funcs.C:
4771         * lyx_cb.C:
4772         * lyxcursor.C:
4773         * lyxfind.C:
4774         * lyxfunc.C:
4775         * lyxtext.h:
4776         * text.C:
4777         * text2.C:
4778         * text3.C:
4779         * text_funcs.[Ch]:
4780         * textcursor.[Ch]:
4781         * undo_funcs.C: adjust
4782
4783 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4784
4785         * text2.C (incrementItemDepth): new function, use a backtracking
4786         algorithm to discover the correct item depth.
4787         (resetEnumCounterIfNeeded): new function, use a backtracking
4788         algorithm to discover if counter reset is needed.
4789         (setCounter): use them. Simplify a bit. Add different labels for
4790         different item depths for itemize.
4791
4792         * paragraph.C (Paragraph): remove initialization of enumdepth
4793         (operator=): ditto
4794
4795         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4796         enumerate and itemize. Change the type of itemdepth to signed char.
4797
4798 2003-10-08  André Pönitz  <poenitz@gmx.net>
4799
4800         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4801           thing assignable.
4802         * text.C:
4803         * text2.C: adjust
4804
4805         * tabular.[Ch]: fix crash after 'row-insert'
4806
4807 2003-10-08  Angus Leeming  <leeming@lyx.org>
4808
4809         Fix doxygen warnings.
4810
4811         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4812         Remove CutAndPaste:: prefix from header file declaration.
4813
4814         * LColor.h (fill): remove LColor:: prefix from declaration.
4815
4816         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4817         use lyx::depth_type rather than Paragraph::depth_type so that
4818         header file and .C file match.
4819
4820         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4821
4822         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4823         * aspell.C: \file aspell_local.C -> \file aspell.C
4824         * gettext.C: \file gettext.C -> \file src/gettext.C
4825         * gettext.h: \file gettext.h -> \file src/gettext.h
4826         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4827         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4828         * text.C: \file text.C -> \file src/text.C
4829
4830         * toc.C: move comment so that doxygen is not confused.
4831
4832 2003-10-07  Angus Leeming  <leeming@lyx.org>
4833
4834         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4835
4836 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4837
4838         * aspell.C:
4839         * aspell_local.h: add forgotten std::string's.
4840
4841 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4842
4843         * LaTeXFeatures.C:
4844         * LyXAction.C:
4845         * factory.C:
4846         * lfuns.h:
4847         * lyxfunc.C:
4848         * text3.C: The Box patch. Fancybox support, minipage, parbox
4849
4850 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4851
4852         * CutAndPaste.h:
4853         * DepTable.h:
4854         * FloatList.h:
4855         * LaTeXFeatures.h:
4856         * ParagraphParameters.h:
4857         * TextCache.h:
4858         * Thesaurus.h:
4859         * bufferlist.h:
4860         * exporter.h:
4861         * importer.h:
4862         * lastfiles.h:
4863         * lyxfind.h:
4864         * lyxfont.h:
4865         * lyxlex.h:
4866         * lyxtextclasslist.h:
4867         * messages.h:
4868         * paragraph.h:
4869         * paragraph_pimpl.C:
4870         * textcursor.h: add <string> and other small fixes to make Lars'
4871         std::string patch compile with STLport.
4872
4873 2003-10-06  Angus Leeming  <leeming@lyx.org>
4874
4875         * LColor.h: Add missing #include <string>.
4876
4877 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4878
4879         * All most all file in all subdirs: Make <string> be the prefered
4880         way of getting to std::string, add using declarations.
4881
4882 2003-10-06  André Pönitz  <poenitz@gmx.net>
4883
4884         * metricsinfo.C: initialize LyXFont before changing attribute.
4885         (fixes the 'math in \emph is upright' bug)
4886
4887 2003-10-06  André Pönitz  <poenitz@gmx.net>
4888
4889         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4890
4891 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4892
4893         * graph.C:
4894         * paragraph_pimpl.C: Small fixes to build using STLport
4895
4896 2003-10-02  André Pönitz  <poenitz@gmx.net>
4897
4898         * lyxfunc.C:
4899         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4900
4901 2003-10-01  André Pönitz  <poenitz@gmx.net>
4902
4903         * factory.C: assert early
4904
4905 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4906
4907         * lyx_main.C: remove the global debug object
4908
4909         * debug.h: adjust for new debugstream
4910
4911         * debug.C: adjust for new debugstream and keep the global debug
4912         object here.
4913
4914 2003-09-22  Angus Leeming  <leeming@lyx.org>
4915
4916         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4917         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4918         an incomplete class LyXFont.
4919
4920 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4921
4922         * factory.C: bug fix in branches
4923
4924 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4925
4926         * lyxfunc.C (processKeySym): adjust
4927         (dispatch): adjust
4928         (dispatch): change arg name from ev to func, adjust
4929         (sendDispatchMessage): ditto
4930
4931         * lyx_main.C (defaultKeyBindings): adjust keybindings
4932         (deadKeyBindings): ditto
4933
4934         * kbsequence.C (addkey): return a FuncRequest
4935
4936         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4937
4938         * kbmap.C (bind): take a FuncRequest as arg, adjust
4939         (read): adjust
4940         (lookup): adjust
4941         (defkey): change to take a FuncRequest as arg, adjust
4942         (findbinding): take a FuncRequest as arg, adjust.
4943
4944         * funcrequest.h (operator=): added
4945
4946         * funcrequest.C (FuncRequest): default kb_action changed from
4947         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4948
4949         * buffer.C (dispatch): simplify
4950         (dispatch): adjust to take a FuncRequest as arg, adjust
4951
4952         * boost.C (assertion_failed): change assertion message slightly
4953
4954         * ToolbarBackend.C (read): simplify
4955
4956         * MenuBackend.C (binding): adjust call to findbinding, add a
4957         message if no binding is found.
4958         (read): simplify
4959         (expandToc): correct by adding a empty FuncRequest
4960
4961         * LyXAction.C: include <boost/assert.hpp>
4962         (isPseudoAction): delete function
4963         (LookupFunc): change name to...
4964         (lookupFunc): this. change return type to FuncRequest.
4965         (getActionName): take kb_action as arg, simplify
4966         (funcHasFlag): add an assert, simplify.
4967
4968 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4969
4970         * toc.C (action): return a FuncRequest, simplify
4971
4972         * lyxfunc.C (processKeySym): adjust
4973         (getStatus): delete version that takes an int.
4974         (getStatus): adjust
4975         (dispatch): delete version that takes action as int
4976         (dispatch): adjust
4977         (sendDispatchMessage): simplify and adjust
4978
4979         * funcrequest.C (getArg): take unsigned int as arg
4980
4981         * ToolbarBackend.C (read): adjust
4982         (add): delete version that takes func as a string.
4983         (getIton): take a FuncRequest as arg
4984
4985         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4986         action.
4987
4988         * MenuBackend.C (MenuItem): add a new construct that only takes a
4989         Kind, simplify the constructor use for submenus.
4990         (add): adjust
4991         (expandLastfiles): adjust
4992         (expandDocuments): adjust
4993         (expandFormats): adjust
4994         (expandFloatListInsert): adjust
4995         (expandFloatInsert): adjust
4996         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4997
4998         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4999         Remove class variables lyx_pseudo_map and lyx_arg_map
5000
5001         * LyXAction.C (searchActionArg): delete function
5002         (getPseudoAction): delete function
5003         (retrieveActionArg): delete function
5004         (LookupFunc): make it return kb_action, simplify.
5005         (getActionName): simplify
5006
5007         * factory.C (createInset): fix new bug
5008
5009 2003-09-19  Angus Leeming  <leeming@lyx.org>
5010
5011         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5012         masterFilename_ parameter in the include inset.
5013
5014         * factory.C (createInset): changes due to the changes to InsetInclude.
5015
5016 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5017
5018         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5019
5020 2003-09-18  Angus Leeming  <leeming@lyx.org>
5021
5022         * buffer.C:
5023         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5024         Inset::fillWithBibKeys.
5025         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5026
5027 2003-09-18  Angus Leeming  <leeming@lyx.org>
5028
5029         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5030         variables.
5031         (ctor): pass and store a 'Buffer const &'
5032         (buffer): new member function.
5033
5034         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5035         '*this' to the LaTeXFeatures ctor.
5036
5037 2003-09-18  Angus Leeming  <leeming@lyx.org>
5038
5039         * LColor.h:
5040         * lyxfont.C:
5041         * lyxfont.h:
5042         * lyxtext.h:
5043         * text.C: rename EnumLColor as LColor_color.
5044
5045 2003-09-18  Angus Leeming  <leeming@lyx.org>
5046
5047         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5048         remove #include "insets/insetbase.h" from cursor.h.
5049
5050 2003-09-18  Angus Leeming  <leeming@lyx.org>
5051
5052         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5053         InsetOld_code to remove #include "inset.h".
5054
5055         * iterators.C: add #include "insets/inset.h"
5056
5057 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5058
5059         * BufferView.C: remove more locking stuff that apparently doesn't
5060         do anything sensible.
5061
5062 2003-09-16  André Pönitz  <poenitz@gmx.net>
5063
5064         * paragraph.[Ch]:
5065         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5066           performance boost.
5067
5068 2003-09-16  Angus Leeming  <leeming@lyx.org>
5069
5070         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5071
5072         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5073         arg/return type.
5074
5075         * paragraph.h: remove #include "lyxfont.h". Forward declare
5076         LyXFont_size.
5077
5078 2003-09-16  Angus Leeming  <leeming@lyx.org>
5079
5080         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5081         of support/textutils.h.
5082         (isWord): move the contents of support/textutils.h's IsWordChar here.
5083
5084         * buffer.C:
5085         * lyxfind.C:
5086         * rowpainter.C:
5087         * text.C:
5088         * text2.C: add #include "paragraph.h".
5089
5090         * rowpainter.C:
5091         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5092
5093 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5094
5095         * main.C:
5096         * lyx_main.C:
5097         * lyx_cb.C:
5098         * buffer.C:
5099         * LaTeX.C: use namespace alias for lyx::support::os
5100
5101 2003-09-16  Angus Leeming  <leeming@lyx.org>
5102
5103         * bufferparams.C:
5104         * bufferview_funcs.C:
5105         * factory.C:
5106         * lyxfunc.C:
5107         * paragraph_pimpl.C:
5108         * rowpainter.C:
5109         * text.C: add #include "LColor.h".
5110
5111 2003-09-16  Angus Leeming  <leeming@lyx.org>
5112
5113         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5114         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5115         return LyXFont &.
5116         Store the FontBits::color variable as an int rather than as an
5117         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5118         file.
5119
5120         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5121         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5122         string calls together.
5123
5124         * lyxrc.C: add #include "LColor.h".
5125
5126 2003-09-15  Angus Leeming  <leeming@lyx.org>
5127
5128         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5129         a cow_ptr.
5130
5131 2003-09-15  Angus Leeming  <leeming@lyx.org>
5132
5133         * LColor.h: add an EnumLColor wrapper for LColor::color.
5134
5135         * lyxfont.[Ch] (color, setColor, realColor):
5136         * lyxtext.h, text.C (backgroundColor):
5137         pass EnumLColor args to/from the functions, rather than LColor::color
5138         ones.
5139
5140         * lyxfont.h:
5141         * lyxtext.h: forward declare EnumLColor.
5142
5143         * lyx_main.C: add #include "LColor.h".
5144
5145 2003-09-15  Angus Leeming  <leeming@lyx.org>
5146
5147         * .cvsignore: add lyx-gtk.
5148
5149 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5150
5151         * Chktex.C
5152         * LaTeX.C
5153         * LaTeXFeatures.C
5154         * ParagraphParameters.C
5155         * Spacing.C
5156         * buffer.C
5157         * bufferparams.C
5158         * bufferview_funcs.C
5159         * chset.C
5160         * counters.C
5161         * funcrequest.C
5162         * lyxfont.C
5163         * lyxgluelength.C
5164         * lyxlength.C
5165         * paragraph.C
5166         * paragraph_funcs.C
5167         * text3.C
5168         * vc-backend.C: remove usage of STRCONV
5169
5170 2003-09-15  Angus Leeming  <leeming@lyx.org>
5171
5172         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5173         explicitly define the color passed to the painter.
5174
5175 2003-09-15  Angus Leeming  <leeming@lyx.org>
5176
5177         * bufferparams.C (BufferParams): reorder member initializers to avoid
5178         compiler warning.
5179
5180 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5181
5182         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5183         * text.C (updateRowPositions): remove an unusual nop
5184
5185 2003-09-12  André Pönitz  <poenitz@gmx.net>
5186
5187         * BufferView_pimpl.C:
5188         * Bullet.C:
5189         * layout.h:
5190         * lyxfunc.C:
5191         * lyxlayout.[Ch]:
5192         * lyxtextclass.C:
5193         * rowpainter.C:
5194         * text.C:
5195         * text2.C:
5196         * Counters.[Ch]: finish the 'automatic counters' job
5197
5198 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5199
5200         * aspell.C: include <boost/assert.cpp> (compile fix)
5201
5202 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5203
5204         * boost.C (assertion_failed): use lyx::support::abort instead of
5205         assert.
5206
5207 2003-09-10  Angus Leeming  <leeming@lyx.org>
5208
5209         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5210         with their _fwd progeny.
5211
5212 2003-09-09  Angus Leeming  <leeming@lyx.org>
5213
5214         134 files throughtout the source tree: replace 'using namespace abc;'
5215         directives with the appropriate 'using abc::xyz;' declarations.
5216
5217 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5218
5219         * boost.C (emergencyCleanup): moved here from LAssert.c
5220         (assertion_failed): new function, called by BOOST_ASSERT
5221
5222         * several files: change Assert to BOOST_ASSERT
5223
5224 2003-09-09  Angus Leeming  <leeming@lyx.org>
5225
5226         * buffer.[Ch]: Add an Impl class and move Buffer's member
5227         variables into it. As a result move several header files out of
5228         buffer.h.
5229
5230         Add header files to lots of .C files all over the tree as a result.
5231
5232 2003-09-09  Angus Leeming  <leeming@lyx.org>
5233
5234         * buffer.[Ch]: make Buffer's member variables private. Add
5235         accessor functions.
5236
5237         Lots of changes all over the tree as a result.
5238
5239 2003-09-08  Angus Leeming  <leeming@lyx.org>
5240
5241         * graph.C: #include <config.h>.
5242
5243 2003-09-08  Angus Leeming  <leeming@lyx.org>
5244
5245         * BranchList.C:
5246         * BufferView.C:
5247         * BufferView_pimpl.C:
5248         * CutAndPaste.C:
5249         * DepTable.C:
5250         * LaTeX.C:
5251         * LaTeXFeatures.C:
5252         * LyXAction.C:
5253         * MenuBackend.C:
5254         * TextCache.C:
5255         * aspell.C:
5256         * buffer.C:
5257         * bufferlist.C:
5258         * changes.C:
5259         * chset.C:
5260         * converter.C:
5261         * counters.C:
5262         * debug.C:
5263         * graph.C:
5264         * ispell.C:
5265         * lyx_cb.C:
5266         * lyxfind.C:
5267         * lyxfunc.C:
5268         * lyxlex_pimpl.C:
5269         * lyxrc.C:
5270         * lyxrow.C:
5271         * paragraph.C:
5272         * rowpainter.C:
5273         * texrow.C:
5274         * text.C:
5275         * text2.C:
5276         * toc.C: remove redundant using directives.
5277
5278 2003-09-07  Angus Leeming  <leeming@lyx.org>
5279
5280         * LaTeXFeatures.h: remove #include "support/types.h".
5281         * ToolbarBackend.h: remove #include <algorithm>.
5282         * changes.h: remove #include <ctime>.
5283         * debug.h: remove #include <iosfwd>.
5284         * graph.h: remove #include "support/std_string.h".
5285         * lyx_main.h: remove #include <csignal>.
5286         * lyxlex_pimpl.h: remove #include <fstream>.
5287         * sgml.h: remove #include <algorithm>, <utility>.
5288         * toc.h: remove #include "support/std_ostream.h".
5289         Add #include <iosfwd>.
5290
5291 2003-09-07  Angus Leeming  <leeming@lyx.org>
5292
5293         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5294
5295         * converter.h: forward declare LatexRunParams.
5296         * encoding.h: remove #include "lyxrc.h".
5297         * lyxtext.h: remove #include "LColor.h".
5298         * lyxtextclass.h: remove #include "support/types.h".
5299         * trans.h: remove #include "tex-accent.h".
5300         * trans_mgr.h: remove #include "tex-accent.h".
5301         * insets/inset.h: remove #include "support/types.h", <vector>.
5302         * insets/insetcollapsable.h: remove #include "LColor.h".
5303         * insets/insetinclude.h: remove #include "dimension.h".
5304         * insets/insetlatexaccent.h: remove #include "dimension.h".
5305         * insets/insetoptarg.h:: remove #include "insettext.h".
5306         * insets/insettext.h: remove #include "dimension.h",
5307         <boost/shared_ptr.hpp>
5308
5309         * insets/renderers.h: add #include "dimension.h".
5310         * insets/updatableinset.h: add #include "support/types.h".
5311
5312         * many .C files: Associated changes.
5313
5314 2003-09-06  Angus Leeming  <leeming@lyx.org>
5315
5316         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5317         one, inside testInvariant.
5318
5319         * PrinterParams.C: new file.
5320         * PrinterParams.[Ch]: move the function bodies out of line.
5321
5322 2003-09-06  Angus Leeming  <leeming@lyx.org>
5323
5324         * ParagraphParameters.h: forward declare ParameterStruct rather than
5325         including its header file.
5326         (depth): moved out-of-line.
5327
5328 2003-09-06  Angus Leeming  <leeming@lyx.org>
5329
5330         * BufferView_pimpl.h:
5331         * kbmap.h:
5332         * kbsequence.h:
5333         * lyxfunc.h: forward declare LyXKeySym rather than
5334         #include "frontends/LyXKeySym.h".
5335
5336         * BufferView_pimpl.C:
5337         * kbmap.C:
5338         * kbsequence.C:
5339         * lyxfunc.C: associated changes.
5340
5341 2003-09-06  Angus Leeming  <leeming@lyx.org>
5342
5343         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5344         As a result, can remove the #include "insets/inset.h" from BufferView.h
5345
5346 2003-09-06  Angus Leeming  <leeming@lyx.org>
5347
5348         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5349         As a result, can remove the #include "insets/inset.h" from BufferView.h
5350
5351 2003-09-06  Angus Leeming  <leeming@lyx.org>
5352
5353         * buffer_funcs.C:
5354         * buffer.h:
5355         * bufferlist.C:
5356         * BufferView.C:
5357         * bufferview_funcs.C:
5358         * BufferView_pimpl.C:
5359         * CutAndPaste.C:
5360         * lyx_cb.C:
5361         * lyxfunc.C:
5362         * paragraph.h:
5363         * ParagraphParameters.C:
5364         * tabular.C:
5365         * text3.C:
5366         * toc.C:
5367         * undo_funcs.C:
5368         * frontends/controllers/ControlDocument.C:
5369         * insets/insetcaption.C: rearrange the #includes into some sort of
5370         coherent order.
5371
5372         * buffer.h: remove #includes ErrorList.h, undo.h
5373
5374 2003-09-06  Angus Leeming  <leeming@lyx.org>
5375
5376         * support/types.h: add a 'depth_type' typedef, used to store the
5377         nesting depth of a paragraph.
5378
5379         * paragraph.h:
5380         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5381         defining explicitly.
5382
5383         * buffer.h:
5384         * paragraph_funcs.h:
5385         * ParagraphParameters.h:
5386         * sgml.h: use lyx::depth_type rather than Paragraph or
5387         ParameterStruct's depth_type.
5388
5389         * buffer.h
5390         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5391
5392         * BufferView.C:
5393         * BufferView_pimpl.C:
5394         * CutAndPaste.C:
5395         * ParagraphParameters.C:
5396         * buffer_funcs.C:
5397         * bufferlist.C:
5398         * bufferview_funcs.C:
5399         * lyx_cb.C:
5400         * lyxfunc.C:
5401         * tabular.C:
5402         * text3.C:
5403         * toc.C:
5404         * undo_funcs.C:
5405         * frontends/LyXView.C:
5406         * frontends/controllers/ControlDocument.C:
5407         * frontends/controllers/ControlErrorList.C:
5408         * insets/insetbibitem.C:
5409         * insets/insetbranch.C:
5410         * insets/insetcaption.C:
5411         * insets/insetcollapsable.C:
5412         * insets/insetenv.C:
5413         * insets/insetert.C:
5414         * insets/insetfloat.C:
5415         * insets/insetfoot.C:
5416         * insets/insetfootlike.C:
5417         * insets/insetnewline.C:
5418         * insets/insetquotes.C:
5419         * insets/insettabular.C:
5420         * insets/insettext.C:
5421         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5422
5423         * frontends/controllers/ControlChanges.C: #include "changes.h".
5424
5425 2003-09-06  Angus Leeming  <leeming@lyx.org>
5426
5427         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5428         than #including paragraph.h.
5429
5430         * ParagraphList.h:
5431         * RowList.h: deleted. Superfluous.
5432
5433         * CutAndPaste.h:
5434         * iterators.h:
5435         * lyxcursor.h:
5436         * lyxtext.h:
5437         * text_funcs.h:
5438         * undo.h:
5439         * undo_funcs.h:
5440         * insets/inset.h:
5441         * insets/insettext.h: use ParagraphList_fwd.h rather than
5442         ParagraphList.h.
5443
5444         * paragraph.h: don't forward declare ParagraphList.
5445
5446         * buffer.h:
5447         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5448         rather than ParagraphList.h. paragraph.h is still needed for the
5449         Paragraph::depth_type parameters.
5450
5451         * textcursor.h: enable it to compile stand-alone in light of the
5452         above changes.
5453
5454         * bufferview_funcs.C:
5455         * iterators.C:
5456         * lyxfunc.C:
5457         * lyxrow_funcs.C:
5458         * paragraph.C:
5459         * rowpainter.C:
5460         * text.C:
5461         * text2.C:
5462         * text3.C:
5463         * text_funcs.C:
5464         * textcursor.C:
5465         * undo.C:
5466         * frontends/controllers/ControlParagraph.C:
5467         * frontends/controllers/ControlTabular.C:
5468         * insets/insetmarginal.C:
5469         * insets/insetminipage.C:
5470         * insets/insetnote.C:
5471         * insets/insetoptarg.C: add header files needed to compile again.
5472
5473 2003-09-06  Angus Leeming  <leeming@lyx.org>
5474
5475         * RowList_fwd.h: new file, forward-declaring Row rather than
5476         #including lyxrow.h.
5477
5478         * lyxrow_funcs.h:
5479         * lyxtext.h:
5480         * paragraph.h:
5481         * insets/insettext.h: use it instead of RowList.h
5482
5483         * bufferview_funcs.C:
5484         * lyxfunc.C:
5485         * lyxrow_funcs.C:
5486         * paragraph.C:
5487         * rowpainter.C:
5488         * text.C:
5489         * text2.C:
5490         * text3.C: #include "RowList.h".
5491
5492 2003-09-05  Angus Leeming  <leeming@lyx.org>
5493
5494         * factory.C (createInset):
5495         * vspace.C (c-tor): replace sscanf call with an istringstream.
5496         * ispell.C: re-add missing HP/UX headers.
5497         * lyxserver.C: re-add missing  os2 headers.
5498
5499 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5500
5501         * BranchList.C:
5502         * graph.C:
5503         * ispell.C:
5504         * lastfiles.C:
5505         * lyx_cb.C:
5506         * lyxserver.C:
5507         * texrow.C:
5508         * text3.C: re-add missing system headers, needed for 2.95.2.
5509
5510 2003-09-05  Angus Leeming  <leeming@lyx.org>
5511
5512         Changes most place everywhere due to the removal of using directives
5513         from support/std_sstream.h.
5514
5515 2003-09-05  Angus Leeming  <leeming@lyx.org>
5516
5517         Replace LString.h with support/std_string.h,
5518         Lsstream.h with support/std_sstream.h,
5519         support/LIstream.h with support/std_istream.h,
5520         support/LOstream.h with support/std_ostream.h.
5521
5522         Changes resulting throughout the tree.
5523
5524 2003-09-05  Angus Leeming  <leeming@lyx.org>
5525
5526         * sgml.h: ensure that the header file can be compiled stand-alone.
5527         * *.C: strip out redundant #includes. (320 in total.)
5528
5529 2003-09-04  Angus Leeming  <leeming@lyx.org>
5530
5531         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5532         here (from getPackages).
5533
5534         * debug.[Ch]: add a new EXTERNAL tag.
5535
5536 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5537
5538         * text2.C (cursorEnd): simplify
5539         (setCursor): adjust
5540         (getColumnNearX): adjust
5541
5542         * text.C (computeBidiTables): adjust
5543         (fill): adjust
5544
5545         * rowpainter.C (paintChars): adjust
5546         (paintSelection): adjust
5547         (paintChangeBar): adjust
5548         (paintText): adjust
5549
5550         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5551         lastPos instead.
5552         (numberOfSeparators): adjust
5553
5554 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5555
5556         * LyXAction.C:
5557         * box.[Ch]:
5558         * lfuns.h:
5559         * lyxfunc.C:
5560         * text3.C: Restricts the mouse click functionality
5561         of insets like bibtex, include, toc and floatlist to the visible
5562         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5563         up the dialogs. Cursor has to be in front of the inset (i.e.
5564         start of row) for this to function.
5565
5566 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5567
5568         * bufferview_funcs.C (currentState): output row information
5569
5570 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5571
5572         * bufferview_funcs.C (currentState): output paragraph position
5573
5574 2003-09-04  Angus Leeming  <leeming@lyx.org>
5575
5576         * FloatList.h: move out #include "Floating.h".
5577         * LaTeX.h: move out #include "DepTable.h".
5578         * LyXAction.h: move out #include "funcrequest.h".
5579         * buffer.h: move out #include "author.h", "iterators.h".
5580         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5581         * lyx_main.h: move out #include "errorlist.h".
5582         * lyxfunc.h: move out #include "FuncStatus.h".
5583         * lyxtext: move out #include "lyxcursor.h".
5584         * paragraph_pimpl.h: move out #include "counters.h".
5585
5586 2003-09-03  Angus Leeming  <leeming@lyx.org>
5587
5588         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5589         preamble_snippets list, enabling us to add snippets to the preamble
5590         only if the snippet was not there already.
5591
5592 2003-09-04  Angus Leeming  <leeming@lyx.org>
5593
5594         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5595
5596 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5597
5598         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5599         update
5600
5601 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5602
5603         * BranchList.C: point fix, earlier forgotten
5604
5605 2003-09-02  Angus Leeming  <leeming@lyx.org>
5606
5607         * box.C (contains): renamed from 'contained' after a fantastic
5608         amount of hot air.
5609
5610 2003-09-02  John Levon  <levon@movementarian.org>
5611
5612         * BufferView.C:
5613         * lyxcursor.h:
5614         * lyxcursor.C:
5615         * lyxfunc.C:
5616         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5617
5618 2003-09-02  John Levon  <levon@movementarian.org>
5619
5620         * text2.C: simplification of cursorEnd(), including partial
5621         fix for bug 1376
5622
5623 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5624
5625         * buffer.C (readFile): add a space
5626
5627 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5628
5629         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5630
5631 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5632
5633         * buffer.C (readFile): new function, take a filename and a
5634         ParagraphList::iterator
5635         (readFile): adjust
5636         (readFile): adjust, make it private. don't use setStream, make
5637         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5638         always contain the filename.
5639
5640         * BufferView.C (insertLyXFile): simplify and make it work for
5641         gzipped files.
5642
5643 2003-08-30  John Levon  <levon@movementarian.org>
5644
5645         * Makefile.am: fix dist (from Kayvan)
5646
5647 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5648
5649         * most files: change to use const Buffer refs
5650
5651 2003-08-27  André Pönitz  <poenitz@gmx.net>
5652
5653         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5654         on top of ownerPar().
5655
5656 2003-08-27  John Levon  <levon@movementarian.org>
5657
5658         * funcrequest.C: properly initialise POD members
5659
5660 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5661
5662         * lyxtext.h (top_y): move top_y from here
5663         * text.C:
5664         * text2.C:
5665         * text3.C:
5666         * BufferView.[Ch]:
5667         * BufferView_pimpl.[Ch]: to here
5668         * frontends/screen.C:
5669         * insets/insettabular.C:
5670         * insets/insettext.C: adjust
5671         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5672
5673 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5674
5675         * BufferView.[Ch]:
5676         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5677
5678 2003-08-26  André Pönitz  <poenitz@gmx.net>
5679
5680         * paragraph_func.[Ch] (outerPar): new function
5681
5682         * paragraph.C:
5683         * paragraph_funcs.C:
5684         * paragraph_funcs.h:
5685         * paragraph_pimpl.C:
5686         * text2.C: remove Inset::par_owner
5687
5688 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5689
5690         * lyxrow_funcs.C:
5691         * lyxtext.h:
5692         * text.C:
5693         * text2.C: eliminates the needFullRow/display() stuff
5694         altogether, putting the logic in metrics/draw in the insets.
5695
5696 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5697
5698         * text2.C (redoParagraphInternal, redoParagraphs):
5699         * text.C (redoParagraph): add a call to updateRowPositions at the
5700         end of each 'metrics-like' call. Remove all others.
5701         (getRow): remove the 'y-computing' version.
5702         (getRowNearY): do not compute nor return the real y. Solve the
5703         'y < 0' problem and simplify.
5704
5705 2003-08-22  Angus Leeming  <leeming@lyx.org>
5706
5707         * *.[Ch]: clean-up of licence and author blurbs.
5708         Also move config.h out of a few .h files and into a few .C files.
5709
5710 2003-08-22  André Pönitz  <poenitz@gmx.net>
5711
5712         * lyxrow.[Ch]: add x_ and *fill_ members
5713
5714         * lyxtext.h:
5715         * text.C:
5716         * rowpainter.C:
5717         * text2.C: adjust/remove prepareToPrint() calls
5718
5719 2003-08-22  André Pönitz  <poenitz@gmx.net>
5720
5721         * lyxrow.[Ch]: add  end_ member
5722
5723         * lyxrow_funcs.C: use LyXRow::end_
5724
5725         * lyxtext.h (singleWidth): add LyXFont parameter
5726
5727         * rowpainter.C:
5728         * text2.C: adjust LyXText::singleWidth() calls
5729
5730         * text.C (redoParagraph): simplify row breaking logic
5731
5732
5733 2003-08-19  André Pönitz  <poenitz@gmx.net>
5734
5735         * funcrequest.C: initialize button_ member
5736
5737         * text3.C:
5738         * rowpainter.[Ch]: interface consolidation
5739
5740 2003-08-18  André Pönitz  <poenitz@gmx.net>
5741
5742         * BufferView.C:
5743         * BufferView_pimpl.C:
5744         * lyxfind.C:
5745         * paragraph_funcs.C:
5746         * rowpainter.C:
5747         * text3.C: remove LyXScreen::draw() and fitCursor calls
5748
5749         * BranchList.h: remove spurious semicolons
5750
5751         * MenuBackend.C: fix branchlist related crash
5752
5753 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5754
5755         * BranchList.[Ch]:
5756         * InsetList.[Ch]:
5757         * LColor.[Ch]:
5758         * LyXAction.C:
5759         * Makefile.am:
5760         * MenuBackend.[Ch]:
5761         * bufferparams.[Ch]:
5762         * factory.C:
5763         * lfuns.h:
5764         * lyxfunc.C:
5765         * text3.C: implements the 'branch inset'
5766         idea. This allows the output of various versions of a document
5767         from a single source version, selectively outputing or suppressing
5768         output of parts of the text.
5769         This implementation contains a 'branch list editor' in a separate
5770         tab of the document settings dialog. Branches are user definable
5771         and have a "display colour" to distinguish them on-screen.
5772
5773         ColorHandler was somewhat cleaned up.
5774         (1) make possible a dynamically growing LColor list by allowing
5775         the graphic context cache to grow along (vector);
5776         (2) eliminate an IMHO unnecessary step in colour allocation.
5777
5778 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5779
5780         * BufferView_pimpl.C: compile fix
5781
5782 2003-08-15  André Pönitz  <poenitz@gmx.net>
5783
5784         * rowpainter.C: remove extra metrics calls
5785
5786         * lyxtext.h: merge the two constructors into a single one,
5787           pass reference to owner's par list
5788
5789         * BufferView_pimpl.C:
5790         * text.C:
5791         * text2.C: adjust
5792
5793 2003-08-15  André Pönitz  <poenitz@gmx.net>
5794
5795         * lyxrow_funcs.[Ch]:
5796         * lyxtext.h:
5797         * paragraph.h:
5798         * paragraph_funcs.C:
5799         * rowpainter.C:
5800         * text.C:
5801         * text2.C:
5802         * text3.C:
5803         * text_funcs.C: split LyXText::rowlist_ into individual
5804         Paragraph::rows_ chunks
5805
5806         * BufferView.[Ch]:
5807         * BufferView_pimpl.[Ch]:
5808         * lyxfind.C:
5809         * lyxtext.h:
5810         * text3.C: remove toggleSelection()
5811
5812 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5813
5814         * bufferlist.C: beautify two alerts (shorter text of buttons)
5815         * buffer.C: Remove redundant ' ' from message
5816         * tabular.h:
5817         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5818         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5819         rename VALIGN_CENTER to VALIGN_MIDDLE
5820
5821 2003-08-11  André Pönitz  <poenitz@gmx.net>
5822
5823         * lyxtext.h (getPar):
5824         * text.C: new function
5825
5826 2003-08-11  André Pönitz  <poenitz@gmx.net>
5827
5828         * Makefile.am:
5829         * tracer.[Ch]: remove unneeded files
5830
5831         * InsetList.[Ch]: remove resizeInsetsLyXText()
5832
5833         * lyxtext.h:
5834         * text.C:
5835         * text2.C:
5836         * text3.C: merge insertParagraphs() and appendParagraph()
5837         remove breakAgain(), update()
5838
5839         * BufferView_pimpl.[Ch]:
5840         * bufferview_funcs.[Ch]:
5841         * lyxfunc.C:
5842         * paragraph.[Ch]:
5843         * rowpainter.C:
5844         * tabular.C: adjust after text & InsetList changes.
5845
5846 2003-08-08  André Pönitz  <poenitz@gmx.net>
5847
5848         * text.C (insertChar, backspace): replace rowlist fiddling
5849         with rebreak of full par
5850
5851         * lyxtext.h:
5852         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5853         checkParagraph, updateInset): removed
5854
5855 2003-08-07  André Pönitz  <poenitz@gmx.net>
5856
5857         * paragraph.C:
5858         * text3.C: merge some LFUN handlers, remove dead code
5859
5860 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5861
5862         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5863
5864 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5865
5866         * text2.C (DEPM): fix part of bug 1255 and 1256
5867
5868 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5869
5870         * BufferView_pimpl.C (workAreaDispatch): change to use
5871         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5872         that are no mouse related.
5873
5874 2003-08-05  André Pönitz  <poenitz@gmx.net>
5875
5876         * BufferView.[Ch]:
5877         * BufferView_pimpl.[Ch]:
5878         * bufferview_funcs.C:
5879         * text2.C:
5880         * text3.C: rip out "deep update"
5881
5882         * textcursor.[Ch] (last_sel_cursor): remove unused member
5883
5884 2003-08-04  André Pönitz  <poenitz@gmx.net>
5885
5886         * BufferView.[Ch]:
5887         * BufferView_pimpl.[Ch]:
5888         * ParagraphParameters.C:
5889         * bufferview_funcs.C:
5890         * lyx_cb.C:
5891         * lyxfind.C:
5892         * lyxfunc.C:
5893         * text.C:
5894         * text2.C:
5895         * text3.C: replace "complicated" BufferView::update(...) calls with
5896         simpler ones.
5897
5898         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5899
5900 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5901
5902         * Makefile.am (lyx_SOURCES): add paper.h
5903
5904 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5905
5906         * Makefile.am: move things around so that both lyx-qt and
5907         lyx-xforms can be built (according to --with-frontend). Then lyx
5908         is a symbolic link to lyx-[firstfrontend]
5909
5910 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5911
5912         * Always use std::endl with lyxerr
5913
5914 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5915
5916         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5917
5918 2003-08-01  André Pönitz  <poenitz@gmx.net>
5919
5920         * BufferView.[Ch]:
5921         * BufferView_pimpl.[Ch]:
5922         * lyxfunc.C:
5923         * text3.C: merge BufferView::repaint() and BufferView::update()
5924
5925 2003-08-01  José Matos  <jamatos@lyx.org>
5926
5927         * buffer.[Ch]: file_format is no longer a buffer data element.
5928
5929 2003-08-01  André Pönitz  <poenitz@gmx.net>
5930
5931         * BufferView.C:
5932         * lyxtext.h:
5933         * text.C:
5934         * text2.C: make redoParagraph more independent of current cursor
5935
5936         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5937         * text.C:
5938         * text2.C: remove unneeded members
5939
5940 2003-07-30  André Pönitz  <poenitz@gmx.net>
5941
5942         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5943
5944         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5945           create a single function...
5946
5947         * paragraph_funcs.C (moveItem): ... here.
5948
5949         * text.C:
5950           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5951
5952 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5953
5954         * LColor.[Ch]: Add comment and greyedout logical colors.
5955
5956 2003-07-30  André Pönitz  <poenitz@gmx.net>
5957
5958         * tabular.C: don't use Assert too heavily. This crashes where it
5959           shouldn't
5960
5961 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5962
5963         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5964         is disabled (bug 1232)
5965
5966 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5967
5968         * factory.C: limited 'arg' scope
5969
5970 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5971
5972         * factory.C: fixed Note submenu issues
5973
5974 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5975
5976         * factory.C: submenu for Note/Comment/Greyedout
5977
5978 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5979
5980         * lyx_main.C (LyX):
5981         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5982
5983 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5984
5985         * LaTeXFeatures.C:
5986         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5987         greyedout. Patch provided by Jürgen Spitzmüller.
5988
5989 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5990
5991         * kbmap.C (read): fix error message when reading bind files
5992
5993 2003-07-29  Angus Leeming  <leeming@lyx.org>
5994
5995         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5996         certainly does not do what it purports to do. I am doing it, and
5997         us, a favour by killing it.
5998
5999 2003-07-28  José Matos  <jamatos@lyx.org>
6000
6001         * buffer.C (readBody, do_writeFile):
6002         * paragraph.C(readParagraph): \end_document replaces \the_end.
6003
6004 2003-07-29  André Pönitz  <poenitz@gmx.net>
6005
6006         * BufferView.[Ch]:
6007         * BufferView_pimpl.[Ch]:
6008         * lyxfunc.C:
6009         * text2.C:
6010         * text3.C:
6011         * textcursor.[Ch]: remove toggleToggle & Co
6012
6013 2003-07-28  José Matos  <jamatos@fep.up.pt>
6014
6015         * buffer.C (readParagraph):
6016         * params_func (readParToken, readParagraph):
6017         * paragraph.C (write): \layout -> \begin_layout.
6018
6019 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6020
6021         * lyxlex_pimpl.C (setFile): clean up slightly.
6022
6023         * bufferparams.h: add compressed var
6024
6025         * buffer_funcs.C (readFile): adjust for LyXLex change
6026         (newFile): ditto + simplify
6027
6028         * buffer.C (writeFile): handle writing of compressed files
6029
6030         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6031         Check if the file is compressed and set a bufferparm if so.
6032
6033         * Makefile.am (lyx_LDADD): remove explicit -lz
6034
6035 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6036
6037         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6038         makeDocBookFile): put the real LyX version in the first line of
6039         the file
6040
6041         * version.h:
6042         * version.C.in: remove lyx_docversion
6043
6044         * tabular.C (write_attribute): add a template-based version to
6045         write enums properly
6046
6047 2003-07-28  André Pönitz  <poenitz@gmx.net>
6048
6049         * lyxtext.h:
6050         * text.C:
6051         * text2.C:
6052         * text3.C: use doubles again for x-coordinates. They are needed.
6053
6054 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6055
6056         * messages.C (getLocaleDir): use lyx_localedir()
6057
6058         * lyxlex_pimpl.C (setFile): compress stuff
6059
6060         * buffer.C (writeFile): add some compression stuff
6061         (do_writeFile): new func, dont call expliti close... will this
6062         breake anything?
6063
6064         * Makefile.am (lyx_LDADD): add -lz
6065
6066 2003-07-28  José Matos  <jamatos@fep.up.pt>
6067
6068         * buffer.C: increment file format.
6069         * paragraph_funcs (readParagraph, readParToken):
6070         * paragraph.C (readParagraph): add \end_layout.
6071
6072 2003-07-27  Angus Leeming  <leeming@lyx.org>
6073
6074         * Makefile.am: remove special casing for configure-time setting of
6075         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6076
6077         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6078         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6079
6080 2003-07-26  André Pönitz  <poenitz@gmx.net>
6081
6082         * paragraph_func.[Ch]:
6083         * paragraph.C (realizeFont): inline it whereever it is used
6084
6085         * rowpainter.C:
6086         * text.C:
6087         * text2.C:
6088         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6089
6090
6091 2003-07-26  André Pönitz  <poenitz@gmx.net>
6092
6093         *       lyxtext.h:
6094         * text.C:
6095         * text2.C: get rid of LyXText::need_break_row
6096
6097 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * toc.[Ch]: put namespace toc inside namespace lyx
6100
6101         * MenuBackend.C (expandToc2): adjust for lyx::toc
6102         (expandToc): ditto
6103
6104         * lyxfunc.C (dispatch): adjust for lyx::find
6105
6106         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6107         lyx::find instead. Reorganize a bit.
6108         (LyXReplace): rename to replace
6109         (LyXFind): rename to find
6110
6111         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6112         (dispatch): ditto
6113
6114 2003-07-26  André Pönitz  <poenitz@gmx.net>
6115
6116         * text.C (setHeightOfRow): restrict scope of temporary variable
6117
6118         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6119           code (never has been used?)
6120
6121 2003-07-27  Asger Alstrup  <alstrup@local>
6122
6123         * text.C (fill): Optimise algorithm to exploit that we can reuse
6124         the LyXFont for many characters.
6125         (setHeightOfRow): Same thing.
6126         (rowBreakPoint): Same thing.
6127
6128 2003-07-26  Asger Alstrup  <alstrup@local>
6129
6130         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6131
6132         * text.C (singleWidth): Spurious font copying in hot-spot
6133         singleWidth avoided. Reorder tests for arabic for efficiency.
6134
6135         * text.C (fill): handle empty paragraphs better.
6136
6137 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6138
6139         * ispell.C:
6140         * encoding.h: add includes
6141
6142         * lyxrc.C: remove reading of bind files
6143
6144         * lyx_main.C (init): setup bindings and menus only if we have a
6145         gui.
6146
6147         * kbmap.C (read): new method. Do the actual reading of bind
6148         files.
6149
6150         * converter.C (dvipdfm_options):
6151         * bufferparams.C:
6152         * lyxrc.C (read):
6153         (output): adapt PAPER_* enums.
6154
6155         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6156
6157         * bufferparams.h: remove paper-related enums from there
6158
6159         * paper.h: New file. A trivial header file to hold paper-related
6160         enums. It should later expand to contain many paper-related
6161         horrors access.
6162
6163         * lyxrc.C: declare extern displayTranslator
6164
6165 2003-07-27  José Matos  <jamatos@fep.up.pt>
6166
6167         * tabular.[Ch] (linuxdoc): add support for tables and figures
6168         (linuxdoc).
6169
6170 2003-07-27  José Matos  <jamatos@fep.up.pt>
6171
6172         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6173         consistency in both functions.
6174         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6175
6176 2003-07-26  Asger Alstrup  <alstrup@local>
6177
6178         * rowpainter.C (paintRows): Change algorithm to work directly on
6179         the insets rather than asking every character in the document
6180         whether its an inset.
6181
6182 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6183
6184         * buffer.C (openFileWrite): factorize some code
6185
6186 2003-07-26  Angus Leeming  <leeming@lyx.org>
6187
6188         * lyx_cb.C:
6189         * lyx_main.[Ch]: replace occurances of system_tempdir with
6190         os::getTmpDir().
6191
6192 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6193
6194         * rename Inset to InsetOld
6195
6196 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6197
6198         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6199         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6200         which I think is a bit clearer. EDIT is gone, since it was
6201         premature optimisation, and broken for mathed anyway.
6202         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6203         with cursor positioning in insets as well (math insets still do not
6204         work, but that's a different story anyway.) It mysteriously
6205         crashes sometimes with undo in the first paragraph, but I'm fairly
6206         confident that this is a compiler bug.
6207
6208 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6209
6210         * paragraph.C (Paragraph): adjust for new clone return type
6211         (operator==): ditto
6212         (copyIntoMinibuffer): ditto
6213
6214 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6215
6216         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6217         by not having a special case, and always doing a full rebreak of
6218         the document after undo.
6219
6220 2003-07-23  Angus Leeming  <leeming@lyx.org>
6221
6222         * factory.C (createInset): InsetExternal::setParams now takes a
6223         Buffer const * arg.
6224
6225 2003-07-23  Angus Leeming  <leeming@lyx.org>
6226
6227         * factory.C (createInset): changed interface to the external and
6228         graphics mailers' string2params functions.
6229
6230 2003-07-23  Angus Leeming  <leeming@lyx.org>
6231
6232         * factory.C (createInset): pass a
6233         Buffer const * parameter to InsetExternalMailer's string2params.
6234
6235 2003-07-22  John Levon  <levon@movementarian.org>
6236
6237         * Thesaurus.h: include the right aiksaurus header
6238
6239 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6240
6241         * MenuBackend.C (expand): check menu shortcuts unconditionally
6242
6243 2003-07-21  Angus Leeming  <leeming@lyx.org>
6244
6245         * factory.C (createInset): pass a
6246         buffer_path parameter to InsetGraphicsMailer's string2params.
6247
6248 2003-07-21  Angus Leeming  <leeming@lyx.org>
6249
6250         * BufferView_pimpl.C (buffer):
6251         * buffer.C (d-tor):
6252         * lyx_main.C (LyX):
6253         * lyxfunc.C (dispatch):
6254         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6255         rather than the grfx shortcut.
6256
6257 2003-07-21  André Pönitz  <poenitz@gmx.net>
6258
6259         * rowpainter.C: remove unused variables
6260
6261         * tabular_funcs.C:
6262         * tabular_funcs.h: move to tabular.C
6263         * Makefile.am: adjust
6264
6265         * tabular.[Ch]: basic optical cleaning
6266
6267         * author.h: pass references, not values
6268
6269 2003-07-18  André Pönitz  <poenitz@gmx.net>
6270
6271         * lyxtext.h:
6272         * metricsinfo.C:
6273         * metricsinfo.h:
6274         * rowpainter.C:
6275         * text.C:
6276         * text2.C:
6277         * text3.C: two-phase drawing for InsetText and InsetTabular
6278         some float -> int changes.
6279
6280 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6281
6282         * lyx_main.C: fix the fix
6283
6284 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6285
6286         * lyx_main.C: fix a crash in batch mode if no files specified
6287         * converter.C: ws
6288
6289 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6290
6291         * format.[Ch] (papersize): moved to BufferParams
6292         * converter.[Ch] (dvips_options): moved to BufferParams
6293         (dvipdfm_options): moved to anon namespace
6294         * bufferparams.[Ch]: added above functions.
6295
6296 2003-07-17  André Pönitz  <poenitz@gmx.net>
6297
6298         * lyxtext.h:
6299         * rowpainter.C:
6300         * text2.C: don't call inset->update() anymore
6301
6302         * metricsinfo.[Ch]: add convenience constructor
6303
6304 2003-07-16  André Pönitz  <poenitz@gmx.net>
6305
6306         * lyxcursor.[Ch]:
6307         * lyxfunc.[Ch]:
6308         * text.C:
6309         * text2.C: replace the LyXCursor::irow_ member with
6310          on-demand computation of the value
6311
6312 2003-07-16  John Levon  <levon@movementarian.org>
6313
6314         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6315
6316 2003-07-15  André Pönitz  <poenitz@gmx.net>
6317
6318         * text.C:
6319         * text2.C: remove no more needed refresh_row
6320
6321 2003-07-15  André Pönitz  <poenitz@gmx.net>
6322
6323         * lyxtext.h:
6324         * rowpainter.C:
6325         * text2.C:
6326         * text3.C: refresh_status tristate -> need_update bool
6327
6328 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6329
6330         * lyxtext.h (init): remove reinit argument (act as if always true)
6331         * text2.C: adjust to that
6332
6333 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6334
6335         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6336         * text3.C: use it to delete selections in some cases
6337         (bugs 441, 673, 702, 954).
6338
6339 2003-07-14  André Pönitz  <poenitz@gmx.net>
6340
6341         * rowpainter.[Ch]: reduce interface
6342
6343 2003-07-14  André Pönitz  <poenitz@gmx.net>
6344
6345         * BufferView_pimpl.C:
6346         * text2.C: adjust after removing unused BufferView * argument
6347
6348 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6349
6350         * text2.C (init): fix a crash fired on resize
6351
6352 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6353
6354         * buffer.[Ch]: added new closing signal
6355         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6356         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6357         BufferView::Pimpl via the closing the signal
6358
6359 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6360
6361         * buffer.[Ch]: take out all bv-related from buffer
6362         * BufferView.C:
6363         * BufferView_pimpl.[Ch]: connect to new signals
6364         * CutAndPaste.C: removed useless asserts
6365         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6366         * lyxvc.[Ch]:
6367         * vc-backend.[Ch]:
6368         * lyxfunc.C: moved view-related funciontality from vc here
6369         * paragraph.C: removed outdated comments
6370         * text.C: ws
6371
6372 2003-07-10  André Pönitz  <poenitz@gmx.net>
6373
6374         * BufferView_pimpl.C:
6375         * tabular.h:
6376         * tabular_funcs.C:
6377         * text.C:
6378         * text2.C: remove InsetText::InnerCache, clean up consequences
6379
6380 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6381
6382         * ispell.C: fix two typos in error messages
6383
6384 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6385
6386         * Extend Note inset to other forms of annotation like Comment
6387         and Greyedout. Right button click gives dialog.
6388
6389         Files modified or added (+):
6390
6391         * insetnote.[Ch]
6392         * FormNote.[Ch]      +
6393         * ControlNote.[Ch]   +
6394         * form_note.fd       +
6395         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6396         frontends/controllers
6397         * xforms/Dialogs.C
6398         * factory.C
6399
6400 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6401
6402         * aspell.C: add missing namespace lyx::support
6403
6404 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6405
6406         * BufferView.[Ch] (newFile): Add
6407         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6408         * LaTeX.[Ch] (message): added this signal and use it
6409         * buffer.[Ch] (busy, message): added these signals and use them
6410         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6411         * converter.C:
6412         * exporter.C:
6413         * format.C:
6414         * importer.C: use buffer signals instead of direct bv calling
6415         * lyx_cb.[Ch] (ShowMessage): removed
6416         * lyx_main.C:
6417         * lyxfunc.C:
6418         * paragraph_funcs.C:
6419         * text2.C: use buffer signals
6420
6421 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6422
6423         * introduce namespace lyx::graphics
6424
6425 2003-07-02  André Pönitz  <poenitz@gmx.net>
6426
6427         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6428
6429 2003-07-01  André Pönitz  <poenitz@gmx.net>
6430
6431         * text.C:
6432         * text2.C:
6433         * text3.C:
6434         * text_funcs.[Ch]:
6435         * textcursor.h:
6436         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6437           text*.C to text_func.C
6438
6439 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6440
6441         * introduce namespace lyx::support
6442
6443 2003-06-30  André Pönitz  <poenitz@gmx.net>
6444
6445         * Chktex.C:
6446         * funcrequest.C:
6447         * lyxtext.h:
6448         * text.C: re-enable --with-included-string
6449
6450 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6451
6452         * textcursor.C: add <config.h>
6453
6454         * text.C (getWord): remove const from word_location arg
6455
6456         * lyxvc.C (getLogFile): fix const type order
6457
6458         * lyxtext.h: remove const from word_location arg, add arg name
6459
6460         * lyxlayout.h: currect type on labeltype.
6461
6462         * importer.C: correct \file
6463
6464         * converter.C (intToFormat): use std:: on ret val, ws changes
6465
6466         * bufferlist.h: correct \file
6467
6468         * buffer.C (makeLinuxDocFile): fix const type order
6469         (makeDocBookFile): ditto
6470         (fillWithBibKeys): use std:: on stdlib args.
6471
6472         * CutAndPaste.C: fix authors.
6473         (availableSelections): use std:: on return vector
6474
6475 2003-06-27  André Pönitz  <poenitz@gmx.net>
6476
6477         * BufferView_pimpl.C:
6478         * bufferview_funcs.C:
6479         * lyxcursor.C:
6480         * lyxcursor.h:
6481         * lyxfunc.C:
6482         * lyxtext.h:
6483         * rowpainter.C:
6484         * text.C:
6485         * text2.C:
6486         * text3.C: remove LyXCursor::row_ member
6487
6488         * lyxtext.h:
6489         * text.C: rename fullRebreak() to partialRebreak() and implement
6490           a fullRebreak() that really bereks fully
6491
6492         * textcursor.h: new struct for cursor-related data
6493
6494 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6495
6496         * lyx_main.C (LyX): get full path of document loaded on the
6497         command line
6498
6499 2003-06-26  André Pönitz  <poenitz@gmx.net>
6500
6501         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6502           remove unused/broken operator>,<,>=.
6503
6504         *       text.C: remove only use of broken operator<= in an Assert().
6505
6506 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6507
6508         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6509         moved errorlist_.clear to showErrorList
6510
6511 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6512
6513         * converter.C (scanLog, runLaTeX):
6514         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6515         move the bv->showErrorList call to the callers
6516         * lyxfunc.C: i.e. here...
6517         * text2.C: and here
6518         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6519         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6520         namespace, the second to...
6521         * buffer_funcs (BufferFormat, parseErrors): added
6522         * errorlist.C (ErrorList(TeXErrors const &)): removed
6523
6524 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6525
6526         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6527
6528 2003-06-24  "Garst R. Reese" <reese@isn.net>
6529
6530         * debug.C: fix typo
6531
6532 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6533
6534         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6535
6536         * version.C.in: change docversion to 1.4
6537
6538 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6539
6540         * buffer.C: fix a bug just introduced
6541
6542 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6543
6544         * buffer.[Ch]: added the parseError signal and use it, removed
6545         sgmlError
6546         * BufferView.[Ch] (addError): moved to ...
6547         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6548         to the Buffer::parseError signal to catch (guess what) parse errors
6549         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6550
6551 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6552
6553         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6554         ability to create a buffer and to return an existing one from
6555         the list. Moved these functions to...
6556         * buffer_funcs.[Ch]: added
6557         * BufferView.[Ch] (loadLyXFile): added
6558         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6559         job removed from bufferlist::loadLyXFile.
6560         * buffer.C (setReadOnly): make it work without view
6561         (i.e added an if (users))
6562
6563 2003-06-19  Angus Leeming  <leeming@lyx.org>
6564
6565         * lfuns.h:
6566         * LyXAction.C (init):
6567         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6568         with LFUN_DIALOG_SHOW <name> <data>.
6569
6570 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6571
6572         * CutAndPaste.C (availableSelections): small compilation fix for
6573         ancient (gcc 2.9x) compilers
6574
6575 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6576
6577         * text3.C (cursorNext): add tmp var
6578
6579         * text2.C (updateCounters): for function calling out of for clause
6580         (replaceSelectionWithString): ditto
6581         (insertStringAsParagraphs): ditto
6582         (getColumnNearX): add tmp var
6583         (setCursorFromCoordinates): add tmp var
6584         (cursorDownParagraph): add tmp var
6585         (deleteEmptyParagraphMechanism): add tmp var
6586
6587         * text.C (insertChar): add tmp var
6588
6589         * rowpainter.C (paintDepthBar): add tmp var
6590
6591         * CutAndPaste.C (availableSelections): potentially check all
6592         paragraphs in a cut to fill the shown strings.
6593
6594 2003-06-18  André Pönitz  <poenitz@gmx.net>
6595
6596         * kbmap.[Ch]: use vector<> instead of list<>
6597
6598 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6599
6600         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6601         pasteSelection with index
6602
6603         * text2.C (pasteSelection): modify, call pasteSelection with index
6604
6605         * paragraph.C (asString): reimplement version with no interval to
6606         call the one with interval.
6607
6608         * lyxtext.h: add index arg to pasteSelection
6609
6610         * MenuBackend.C (MenuItem): handle PasteRecent
6611         (Menu::read::Menutags): add md_pasterecent
6612         (read): handle it
6613         (expandPasteRecent): new function
6614         (expand): use it
6615
6616         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6617
6618         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6619         the limited stack
6620         (availableSelections): new function
6621
6622 2003-06-17  Angus Leeming  <leeming@lyx.org>
6623
6624         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6625
6626 2003-06-17  Angus Leeming  <leeming@lyx.org>
6627
6628         * lfuns.h:
6629         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6630
6631         * lyxfunc.C (dispatch): invoke it.
6632
6633 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6634
6635         * iterators.C (operator++, ParPosition): reintroduce some
6636         const_cast for the benefit of older compilers.
6637
6638 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6639
6640         * text3.C (dispatch): do not modify clipboard when doing
6641         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6642         LFUN_DELETE_SKIP on a selection selection
6643
6644 2003-06-16  André Pönitz  <poenitz@gmx.net>
6645
6646         * BufferView.C:
6647         * buffer.C:
6648         * buffer.h:
6649         * paragraph.C:
6650         * tabular.[Ch]: IU of clone() and getLabelList();
6651
6652 2003-06-13  André Pönitz  <poenitz@gmx.net>
6653
6654         * tabular.h: compactification
6655
6656 2003-06-12  André Pönitz  <poenitz@gmx.net>
6657
6658         * tabular.C:
6659         * tabular.h:
6660         * tabular_funcs.h: some renaming plus whitespace
6661
6662 2003-06-12  André Pönitz  <poenitz@gmx.net>
6663
6664         * BufferView.C:
6665         * BufferView_pimpl.C:
6666         * CutAndPaste.C:
6667         * buffer.C:
6668         * iterators.[Ch]:
6669         * lyxfunc.C:
6670         * text.C:
6671         * toc.C: Return a Paragraph & for ParIterator::operator*()
6672
6673 2003-06-11  John Levon  <levon@movementarian.org>
6674
6675         * lyx_main.C:
6676         * ToolbarBackend.h:
6677         * ToolbarBackend.C: add "Toolbars" section and
6678         put the flags there
6679
6680 2003-06-10  Angus Leeming  <leeming@lyx.org>
6681
6682         * lfuns.h:
6683         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6684
6685         * lyxfunc.C (dispatch): invoke it.
6686
6687 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6688
6689         * main.C: protect <ios> with HAVE_IOS
6690         (main): protect sync_with_stdio with HAVE_IOS
6691
6692 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6693
6694         * text2.C (cutSelection): adjust
6695         (pasteSelection): adjust
6696
6697         * messages.C: handle get of empty string
6698
6699         * main.C (main): use sync_with_stdio(false)
6700
6701         * lyxfunc.C (dispatch): adjust
6702
6703         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6704         (WriteAs): remove unneeded BufferView arg.
6705
6706         * bufferparams.h: use correct types on papersize, papersize2 and
6707         paperpackage.
6708
6709         * bufferparams.C (readToken): adjust for type
6710         (writeLaTeX): add missing cases to switch.
6711
6712         * bufferlist.C (quitWriteBuffer): adjust
6713         (close): adjust
6714
6715         * buffer.C (asciiParagraph): remove some commented code.
6716
6717         * CutAndPaste.C: remove current_view extern variable.
6718         (cutSelection): add BufferParams arg.
6719         (eraseSelection): add BufferParams arg.
6720         (pasteSelection): add Buffer const & arg
6721
6722 2003-06-07  John Levon  <levon@movementarian.org>
6723
6724         * buffer.C:
6725         * paragraph_funcs.C:
6726         * paragraph_pimpl.C:
6727         * text.C:
6728         * text2.C:
6729         * paragraph.h:
6730         * paragraph.C: allow InsetERT to freely space lines,
6731         and some consolidation of code
6732
6733 2003-06-06  José Matos  <jamatos@fep.up.pt>
6734
6735         * buffer.C (makeDocBookFile): fix bug #821
6736
6737 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6738
6739         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6740
6741 2003-06-04  Angus Leeming  <leeming@lyx.org>
6742
6743         * buffer.C: bump format to 224.
6744
6745 2003-06-05  André Pönitz  <poenitz@gmx.net>
6746
6747         * text2.C (redoParagraphs): remove two const_cast<>
6748
6749 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6750
6751         * ParagraphList.h: remove last remnants of NO_STD_LIST
6752
6753 2003-06-03  Angus Leeming  <leeming@lyx.org>
6754
6755         * factory.C (createInset): small change to the way InsetExternal's params
6756         are set.
6757
6758 2003-06-04  André Pönitz  <poenitz@gmx.net>
6759
6760         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6761
6762         * paragraph_pimpl.h:
6763         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6764
6765         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6766
6767         * undo_funcs.C: make some simple cases of undo work again
6768
6769 2003-06-03  John Levon  <levon@movementarian.org>
6770
6771         * ispell.C: HPUX doesn't have sys/select.h
6772         (from Albert Chin)
6773
6774 2003-06-03  John Levon  <levon@movementarian.org>
6775
6776         * CutAndPaste.C: update tabular and include inset
6777         buffer references
6778
6779         * buffer.h:
6780         * paragraph.h:
6781         * paragraph.C: remove owningBuffer(), don't pass Buffer
6782         to clone()
6783
6784         * factory.C: insetGraphicsParams changed
6785
6786 2003-06-02  John Levon  <levon@movementarian.org>
6787
6788         * LyXAction.C:
6789         * factory.C:
6790         * lfuns.h:
6791         * lyxfunc.C:
6792         * text3.C: remove insetparent
6793
6794 2003-06-02  John Levon  <levon@movementarian.org>
6795
6796         * buffer.h:
6797         * buffer.C: fix inset_iterator.end(), move out of line
6798         (bug 1149)
6799
6800 2003-06-01  John Levon  <levon@movementarian.org>
6801
6802         * text3.C: use a proper cut/paste when doing inset
6803         insert (from Jürgen Spitzmüller)
6804
6805 2003-06-01  John Levon  <levon@movementarian.org>
6806
6807         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6808
6809 2003-05-30  André Pönitz  <poenitz@gmx.net>
6810
6811         * rowpainter.C: unify second drawing phase
6812
6813 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6814
6815         * trans_mgr.C: remove one case of current_view
6816
6817         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6818
6819         * paragraph_funcs.h: remove paragraph.h include
6820
6821         * paragraph.h: delete NO_STD_LIST stuff
6822
6823         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6824
6825         * buffer.h: remove paragraph.h include
6826
6827         * ParagraphList.C: delete file
6828
6829         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6830
6831         * toc.C (getTocList): adjust
6832
6833         * paragraph_pimpl.C (validate): adjust
6834
6835         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6836
6837         * paragraph.C (Paragraph): adjust
6838         (getPositionOfInset): use const_iterator, adjust
6839         (bibitem): use const_iterator, adjust
6840         (setInsetOwner): adjust
6841
6842         * iterators.C (operator++): adjust
6843
6844         * InsetList.[Ch]: Replace selfmade iterator with standard
6845         vector::iterator also introduce const_iterator. Remove getPos,
6846         getInset and setInset from InsetTable. Adjust accordingly.
6847
6848         * BufferView.C (lockInset): adjust
6849         (ChangeInsets): adjust
6850
6851         * tabular.[Ch]: delete commented same_id functions
6852
6853 2003-05-28  John Levon  <levon@movementarian.org>
6854
6855         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6856
6857 2003-05-28  André Pönitz  <poenitz@gmx.net>
6858
6859         * metricsinfo.[Ch]: remove 'fullredraw' member
6860
6861 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6862
6863         * lyxtextclass.C (operator): remove caching.
6864
6865 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6866
6867         * text3.C: adjust
6868
6869         * text2.C (cursorBottom): adjust
6870         (setCounter): use ParagraphList::find, adjust
6871
6872         * text.C (workWidth): use ParagraphList::find, adjust
6873
6874         * lyxcursor.C (LyXCursor): adjust
6875
6876         * buffer.C (inset_iterator): adjust
6877
6878         * ParagraphList.h: make iterator(value_type) private, make
6879         ParagraphList a friend of iterator.
6880
6881         * ParagraphList.C (find): new function
6882
6883         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6884
6885 2003-05-27  André Pönitz  <poenitz@gmx.net>
6886
6887         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6888
6889 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6890
6891         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6892
6893 2003-05-26  John Levon  <levon@movementarian.org>
6894
6895         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6896
6897 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6898
6899         * remove same_id from function signatures, adjust.
6900
6901 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6902
6903         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6904
6905         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6906
6907         * paragraph.C (Paragraph): get rid of same_ids parameter
6908
6909         * ParagraphList.C (insert): adjust
6910         (push_back): adjust
6911
6912 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6913
6914         * paragraph_funcs.C (breakParagraph): adjust
6915         (breakParagraphConservative): adjust
6916
6917         * buffer.C (readParagraph): adjust
6918
6919         * ParagraphList.C (insert): take a reference instead of a pointer
6920         (insert): adjust
6921
6922         * paragraph.[Ch] (id): new function
6923
6924         * bufferlist.C (newFile): adjust
6925
6926         * ParagraphList.C (ParagraphList): adjust
6927         (assign): adjust
6928         (push_back): take a reference instead of a pointer.
6929
6930         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6931
6932         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6933         instead.
6934
6935         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6936         set else use old code.
6937
6938         * ParagraphList.C: remove all NO_NEXT code and only compile this
6939         code of NO_STD_LIST is set.
6940
6941 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6942
6943         * BufferView_pimpl.C:
6944         * TextCache.C:
6945         * TextCache.h:
6946         * bufferlist.C:
6947         * errorlist.h:
6948         * format.C:
6949         * format.h:
6950         * graph.C:
6951         * lyxfunc.C:
6952         * lyxrc.C:
6953         * graphics/GraphicsConverter.C:
6954         * graphics/PreviewLoader.C: header adjustment
6955
6956 2003-05-23  Angus Leeming  <leeming@lyx.org>
6957
6958         * LaTeXFeatures.[Ch] (useBabel): new method.
6959         * bufferparams.C (writeLaTeX): use it.
6960
6961 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6962
6963         * ParagraphList.h (set): remove unused function.
6964
6965 2003-05-23  André Pönitz  <poenitz@gmx.net>
6966
6967         * BufferView.C:
6968         * BufferView_pimpl.C:
6969         * buffer.C:
6970         * buffer.h:
6971         * lyxfunc.C:
6972         * undo_funcs.C: setUndo reworked
6973
6974         * iterators.[Ch]: add access to topmost ParagraphList
6975
6976         * lyxtext.[Ch] (workWidth): add a const
6977
6978 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6979
6980         * texrow.[Ch] (increasePos): remove function
6981         * exporter.C (export): removed unused var and outdated comment
6982
6983 2003-05-23  Angus Leeming  <leeming@lyx.org>
6984
6985         * latexrunparams.h: rename fragile as moving_arg.
6986         * paragraph.C (simpleTeXOnePar): ditto.
6987         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6988
6989 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6990
6991         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6992         (createUndo): ditto
6993         (textUndoOrRedo): comment out a currently unused var.
6994
6995         * paragraph.h (NO_NEXT): enable NO_NEXT
6996
6997         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6998
6999         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7000
7001         * exporter.C (Export): adjust for removeAutoInsets removal.
7002
7003         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7004
7005         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7006
7007         * BufferView.[Ch] (removeAutoInsets): delete function
7008
7009 2003-05-22  Angus Leeming  <leeming@lyx.org>
7010
7011         * latexrunparams.h: add a free_spacing variable.
7012
7013         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7014         to pass moving_arg, as the data is stored in runparams.fragile.
7015
7016         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7017         to Inset::latexOptional or to simpleTeXOnePar.
7018
7019         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7020         free_spacing arg to Inset::latexOptional.
7021
7022         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7023         free_spacing arg.
7024
7025 2003-05-22  Angus Leeming  <leeming@lyx.org>
7026
7027         * latexrunparams.h: add fragile and use_babel variables.
7028
7029         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7030         * buffer.C (makeLaTeXFile): store this returned value in
7031         runparams.use_babel, thus passing it to the inset::latex methods.
7032
7033         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7034         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7035
7036         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7037         longer has a fragile arg, as it is stored in runparams.fragile.
7038
7039         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7040         moving_arg parameter as the data is stored in runparams.fragile.
7041
7042         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7043         a fragile parameter as the data is stored in runparams.fragile.
7044
7045 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7046
7047         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7048
7049 2003-05-22  Angus Leeming  <leeming@lyx.org>
7050
7051         * latexrunparams.h: add a 'bool nice' which defaults to false.
7052
7053         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7054         now encapsulated within runparams.
7055
7056         * bufferlist.C (updateIncludedTeXfiles):
7057         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7058
7059 2003-05-22  Angus Leeming  <leeming@lyx.org>
7060
7061         * latexrunparams.h: new file containing struct LatexRunParams.
7062         * Makefile.am: add new file.
7063
7064         * LaTeX.[Ch] (c-tor, run):
7065         * buffer.[Ch] (makeLaTeXFile):
7066         * bufferlist.[Ch] (updateIncludedTeXfiles):
7067         * converter.C (convert, scanLog):
7068         * converter.[Ch] (runLaTeX):
7069         * exporter.C (Export):
7070         * paragraph.[Ch] (simpleTeXOnePar):
7071         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7072         * paragraph_funcs.[Ch] (latexParagraphs):
7073         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7074         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7075         pass around a LatexRunParams parameter.
7076
7077 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7078
7079         * paragraph.[Ch]: remove unused constructor
7080
7081         * ParagraphList.C (erase): new function, taking two iterators
7082
7083 2003-05-22  André Pönitz  <poenitz@gmx.net>
7084
7085         * undo_funcs.C: remove duplicated code
7086
7087         * iterator.[Ch]: operator=
7088
7089 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7090
7091         * tabular.C (SetMultiColumn): ws changes
7092
7093         * rowpainter.C (paintFirst): get rid of a ->previous
7094
7095         * lyx_cb.C (getPossibleLabel): parlist simplification
7096
7097         * BufferView.C (ChangeInsets): simplify slightly.
7098
7099 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7100
7101         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7102         * lfuns.h: new LFUN_SPACE
7103         * lyxfunc.C: protected space has a new lfun
7104         * paragraph_funcs.C: read new space insets
7105         * text3.C:
7106         * factory.C: handle new space insets
7107
7108 2003-05-22  André Pönitz  <poenitz@gmx.net>
7109
7110         * BufferView.C:
7111         * BufferView_pimpl.C:
7112         * buffer.[Ch]:
7113         * lyxfunc.C:
7114         * undo_funcs.C: return a ParIterator from getParFromID.
7115
7116         * iterators.[Ch]: add two const's
7117
7118 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7119
7120         * toc.C (getTocList): adjust
7121
7122         * iterators.[Ch]: rework for parlist
7123
7124         * buffer.C (par_iterator_begin): adjust
7125         (par_iterator_end): adjust
7126
7127         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7128
7129         * BufferView.C (removeAutoInsets): adjust
7130         (ChangeInsets): adjust
7131
7132 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7133
7134         * text.C (top_y): fix bug 1110
7135
7136 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7137
7138         * errorlist.[Ch]: added
7139         * buffer.C:
7140         * BufferView.[Ch]:
7141         * BufferView_pimpl.C:
7142         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7143         instead
7144
7145 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7146
7147         * Makefile.am: ensure that lyx is relinked upon changes to the
7148         various "convenience" libs.
7149
7150 2003-05-20  Angus Leeming  <leeming@lyx.org>
7151
7152         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7153         files are compiled in alphabetical order again.
7154
7155         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7156
7157 2003-05-19  Angus Leeming  <leeming@lyx.org>
7158
7159         * gettext.[Ch]: remove "char const * _(char const *)".
7160
7161 2003-05-19  André Pönitz  <poenitz@gmx.net>
7162
7163         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7164
7165         * Makefile.am:
7166         * BufferView.C:
7167         * DepTable.h:
7168         * LaTeXFeatures.C:
7169         * buffer.C:
7170         * lyxfont.C:
7171         * lyxlex.h:
7172         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7173
7174 2003-05-19  André Pönitz  <poenitz@gmx.net>
7175
7176         * buffer.C:
7177         * lyxlayout.[Ch]:
7178         * lyxtextclass.[Ch]:
7179         * paragraph.C:
7180         * paragraph_funcs.[Ch]:
7181         * text2.C:
7182         * text3.C: more insetenv work
7183
7184 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7185
7186         * ParagraphParameters.C (params2string): small bug fixed
7187
7188 2003-05-16  André Pönitz  <poenitz@gmx.net>
7189
7190         * debug.C:
7191         * bufferview_funcs.C: patch from Kornel Benko to prevent
7192           crash when _(...) is called twice in a statement
7193
7194 2003-05-16  André Pönitz  <poenitz@gmx.net>
7195
7196         * BufferView.C:
7197         * lyxfunc.C:
7198         * text.C:
7199         * text2.C:
7200         * text3.C:
7201         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7202
7203 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7204
7205         * lyx_main.C (init): remove spurious static_cast
7206
7207 2003-05-14  André Pönitz  <poenitz@gmx.net>
7208
7209         * BufferView.C: fix format string
7210
7211 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7212
7213         * BufferView.[Ch] (insertErrors): removed
7214         * BufferView.[Ch] (showErrorList): added
7215         * buffer.C (runChkTeX):
7216         * converter.C (scanLog): call showErrorList instead of inserterrors
7217
7218 2003-05-13  André Pönitz  <poenitz@gmx.net>
7219
7220         * BufferView_pimpl.C:
7221         * buffer.C:
7222         * bufferview_func.C:
7223         * MenuBackend.C:
7224         * lyxfunc.C:
7225         * lyxrc.C:
7226         * tex-accent.C:
7227         * text3.C:
7228         * toc.C:
7229         * tabular_funcs.h: tostr() from its own header
7230
7231         * ParagraphParameters.C:
7232         * ToolbarBackend.C:
7233         * bufferparams.C:
7234         * format.C:
7235         * lyxlex_pimpl.C:
7236         * text3.C: STRCONV()
7237
7238 2003-05-12  André Pönitz  <poenitz@gmx.net>
7239
7240         * BufferView.C:
7241         * BufferView_pimpl.C:
7242         * CutAndPaste.C:
7243         * LaTeX.C:
7244         * LaTeXFeatures.C:
7245         * ParagraphParameters.C:
7246         * buffer.C:
7247         * bufferlist.C:
7248         * bufferparams.C:
7249         * bufferview_funcs.C:
7250         * converter.C:
7251         * counters.C:
7252         * debug.C:
7253         * exporter.C:
7254         * format.C:
7255         * importer.C:
7256         * lyx_cb.C:
7257         * lyx_main.C:
7258         * lyxfont.C:
7259         * lyxfunc.C:
7260         * lyxvc.C:
7261         * paragraph.C:
7262         * paragraph_funcs.C:
7263         * tabular.C:
7264         * tabular_funcs.C:
7265         * text2.C:
7266         * text3.C:  boost::format -> bformat  all over the place
7267
7268
7269 2003-05-09  André Pönitz  <poenitz@gmx.net>
7270
7271         * LColor.[Ch]: Pimpl the #include <map> away
7272
7273 2003-05-09  John Levon  <levon@movementarian.org>
7274
7275         * bufferlist.C: never remove emergency saves
7276
7277 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7278
7279         * Makefile.am: better lib building
7280
7281 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7282
7283         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7284         instead.
7285         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7286         (simpleTeXSpecialChars): adjust
7287         (simpleTeXSpecialChars): adjust
7288         * paragraph.C (simpleTeXOnePar): adjust
7289         * buffer.C (makeLaTeXFile): adjust
7290
7291         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7292
7293         * text2.C (changeDepth): parlist cleanup
7294         (getColumnNearX): ditto
7295
7296         * rowpainter.C (getLabelFont): parlist cleanup
7297
7298         * bufferlist.C (newFile): parlist cleanup
7299
7300         * CutAndPaste.C (eraseSelection): parlist cleanup
7301
7302         * BufferView_pimpl.C (trackChanges): parlist cleanup
7303         (dispatch): ditto
7304
7305         * BufferView.C (lockInset): parlist cleanup.
7306         (ChangeInsets): ditto
7307
7308 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7309
7310         * CutAndPaste.h: Update file header.
7311
7312         * CutAndPaste.C: Update file header.
7313         Store the parts cut out of the Document in a limited_stack.
7314         (copySelection): adjust
7315         (pasteSelection): new function, takes the index in the limited stack.
7316         (nrOfParagraphs): adjust
7317         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7318         simplify error inset insertion.
7319         (checkPastePossible): adjust
7320
7321 2003-05-06  John Levon  <levon@movementarian.org>
7322
7323         * text2.C: don't cast wrap inset to float
7324
7325 2003-05-05  André Pönitz  <poenitz@gmx.net>
7326
7327         * iterator.C:
7328         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7329
7330         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7331           few naked Paragraph *.
7332
7333 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7334
7335         * bufferparams.C: Output warning if a document with missing
7336         TeX document class is loaded
7337         * exporter.C: Disable TeX exports if the document class is missing
7338         * lyxtextclass.C:
7339         * lyxtextclass.h:
7340         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7341         isTeXClassAvailable()
7342
7343 2003-05-03  John Levon  <levon@movementarian.org>
7344
7345         * BufferView.h:
7346         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7347         explicit cursor show/hide
7348
7349         * BufferView_pimpl.h:
7350         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7351         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7352
7353         * lyxfunc.C: hide cursor before dispatching.
7354
7355         * lyx_cb.C:
7356         * lyxfind.C:
7357         * text.C:
7358         * text3.C: remove explicit cursor hides
7359
7360 2003-05-02  André Pönitz  <poenitz@gmx.net>
7361
7362         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7363
7364         * undo_funcs.C:
7365         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7366           linked lists
7367
7368         * text2.C: tiny whitespace
7369
7370 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7371
7372         * undo_funcs.C: almost only ws changes.
7373
7374         * ParagraphList.C (splice): just return if pl is empty.
7375
7376 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7377
7378         * ParagraphList.C (splice): new function.
7379
7380         * CutAndPaste.C (pasteSelection): use it
7381
7382 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7383
7384         * CutAndPaste.C (pasteSelection): remove the last next and
7385         previous from this file.
7386
7387 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7388
7389         * CutAndPaste.C (pasteSelection): more clean up, user proper
7390         ParagraphList functions for pasteing.
7391
7392         * ParagraphList.C (insert): new function, three arg insert
7393
7394 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7395
7396         * ParagraphList.C (insert): new function, three arg insert
7397
7398         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7399         not on paragraphs.
7400
7401 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7402
7403         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7404
7405 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7406
7407         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7408
7409 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7410
7411         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7412         (copySelection): clean up a bit.
7413         (pasteSelection): use make_pair
7414
7415         * ParagraphList.C (ParagraphList): implement copy constructor
7416         (operator=): implement, base on copy constructor.
7417         (assign): new func
7418
7419         * paragraph.C (erase): return a bool
7420
7421         * paragraph_pimpl.C (erasePos): remove function, move contents...
7422         (erase): ... here. Return a bool.
7423         (erase): call erase instead of erasePos.
7424
7425 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7426
7427         * ParagraphList.h: define PitPosPair
7428         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7429         ParagraphList, fix a bug on pasting multiple pars
7430         * text2.C: change interface to C&P
7431
7432 2003-04-30  André Pönitz  <poenitz@gmx.net>
7433
7434         * undo_func.C: revert part of yesterday's patch 2
7435
7436 2003-04-30  John Levon  <levon@movementarian.org>
7437
7438         * LColor.C: s/tabular/table/
7439
7440 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7441
7442         * text3.C (dispatch): do not convert iterator -> pointer
7443         * undo_funcs.C (setCursorParUndo): ditto
7444         * text_funcs.C (transposeChars): ditto
7445
7446         * text2.C (setLayout): ws changes only
7447
7448         * text.C (breakParagraph): do not convert iterator -> pointer
7449         (insertChar): ditto
7450         (acceptChange): ditto
7451         (rejectChange): ditto
7452         (changeCase): ditto
7453         (Delete): ditto
7454         (backspace): ditto
7455
7456         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7457         pointer
7458
7459 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7460
7461         * text3.C (gotoInset): YABG (yet another bad getChar)
7462
7463 2003-04-29  André Pönitz  <poenitz@gmx.net>
7464
7465         * paragraph.h: make operator= private unimplemented as long as
7466           it is unusable
7467
7468         * ParagraphList.C: whitespace
7469
7470         * paragraph.[Ch]:
7471         * paragraph_pimpl.[Ch]:
7472         * paragraph_funcs.C:
7473         * CutAndPaste.C:
7474         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7475
7476         * text2.C:
7477           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7478
7479 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7480
7481         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7482         * paragraph.[Ch] (erase):
7483         * paragraph_pimpl.[Ch] (erase): change return type and value
7484         * text2.C (cutSelection): some rework
7485
7486 2003-04-28  John Levon  <levon@movementarian.org>
7487
7488         * bufferlist.C: changes for unsaved changes dialog
7489
7490 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7491
7492         * bufferlist.C (newFile): set language (messages_) for new
7493         documents also.
7494
7495         * buffer.C (readFile): ws changes only.
7496
7497 2003-04-28  André Pönitz  <poenitz@gmx.net>
7498
7499         * undo_funcs.C:
7500         * lyxfunc.C:
7501         * buffer.[Ch]:
7502         * BufferView_pimpl.C:
7503         * BufferView.C: getParFromID related ParagraphList::iterator changes
7504
7505 2003-04-28  André Pönitz  <poenitz@gmx.net>
7506
7507         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7508           Changes
7509
7510 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7511
7512         * messages.C: remove one more localedir class variable.
7513
7514 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7515
7516         * messages.C (getLocaleDir): singleton generation function
7517         (Pimpl): use it.
7518         (Messages): add a default constructor.
7519
7520         * main.C (main): do not setup localedir here, do not call
7521         gettext_init.
7522
7523         * gettext.C (_): use it.
7524         (gettext_init): delete funciton
7525
7526 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7527
7528         * gettext.C (getLyXMessages): new singleton generating function.
7529
7530         * buffer.C (updateDocLang): adjust
7531
7532         * Makefile.am (messages.o): add target
7533         (main.o): remove target
7534
7535 2003-04-27  John Levon  <levon@movementarian.org>
7536
7537         * bufferlist.C:
7538         * lyx_cb.C:
7539         * lyxfunc.C:
7540         * lyxvc.C: specify cancel button in Alert::prompt
7541
7542 2003-04-26  John Levon  <levon@movementarian.org>
7543
7544         * text3.C:
7545         * lyxfunc.C:
7546         * lfuns.h:
7547         * LyXAction.C: add LFUN_INSET_SETTINGS
7548
7549         * lyxfunc.C: don't enable tabular-feature when there's
7550         just any locking inset
7551
7552 2003-04-26  John Levon  <levon@movementarian.org>
7553
7554         * bufferlist.C: re-add Cancel to buffer close question
7555
7556         * lyxfunc.C: fix import UI a bit
7557
7558 2003-04-25  John Levon  <levon@movementarian.org>
7559
7560         * gettext.C: remove the broken asserts for now
7561
7562 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7563
7564         * messages.C: make case where setlocale cannot comply work better.
7565
7566         * buffer.C (updateDocLang): new function
7567         (changeLanguage): use it
7568         (readFile): use it
7569
7570         * text2.C (setCounter): use B_ a bit.
7571
7572         * lyxlayout.C (Read): be sure to trim the label strings.
7573
7574         * messages.C (Messages): fix typo in comment
7575
7576         * buffer.C (readFile): set message_ after file is loaded.
7577         (makeDocBookFile): remove double return
7578         (changeLanguage): reset message_ upon language change.
7579         (B_): new func, use this to get translated buffer strings.
7580
7581         * main.C: add myself and Jean Marc as authors.
7582
7583 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7584
7585         * messages.[hC]: pimplify Messages, and three different pimpls to be
7586         used in different circumstances.
7587
7588         * gettext.[Ch]: change for use with new message code.
7589
7590 2003-04-24 André Pönitz <poenitz@gmx.net>
7591
7592         * factory.C: support for eqref
7593
7594 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7595
7596         * messages.[Ch]: add missing char
7597
7598         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7599
7600         * messages.[Ch]: New files
7601
7602 2003-04-18  John Levon  <levon@movementarian.org>
7603
7604         * BufferView.h:
7605         * BufferView.C:
7606         * BufferView_pimpl.C:
7607         * lfuns.h:
7608         * LyXAction.C:
7609         * lyxtext.h:
7610         * text2.C: remove layout-copy/paste (bug 778)
7611
7612 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7613
7614         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7615
7616 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7617
7618         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7619         if they succeed. Act accordingly.
7620
7621 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7622
7623         * text2.C (setCharFont): adjust
7624         (setCounter): adjust
7625         (insertStringAsLines): adjust
7626
7627         * text.C (leftMargin): adjust
7628         (setHeightOfRow): adjust
7629
7630         * rowpainter.C (paintFirst): adjust
7631         (paintLast): adjust
7632
7633         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7634         (outerHook): ditto
7635         (isFirstInSequence): ditto
7636         (getEndLabel): ditto
7637         (outerFont): adjust
7638
7639         * paragraph.C (getParLanguage): comment out some hard stuff.
7640
7641         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7642         (sgmlError): ditto
7643         (simpleDocBookOnePar): ditto
7644         (makeDocBookFile): use ParagraphList::iterator
7645
7646         * CutAndPaste.C (pasteSelection): adjust
7647
7648 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7649
7650         * text2.C (getFont): adjust
7651         (getLayoutFont): adjust
7652         (getLabelFont): adjust
7653
7654         * paragraph_funcs.C (TeXOnePar): adjust
7655
7656         * buffer.C (simpleLinuxDocOnePar): adjust
7657         (simpleDocBookOnePar): adjust
7658
7659         * CutAndPaste.C (pasteSelection): adjust
7660
7661         * BufferView.C (getEncoding): adjust
7662
7663         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7664
7665 2003-04-16  John Levon  <levon@movementarian.org>
7666
7667         * lyxfind.C: use parlist stuff for search/changes
7668
7669 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7670
7671         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7672
7673         * text2.C (deleteEmptyParagraphMechanism): adjust
7674
7675         * text2.[Ch] (ownerParagraph): delete func (both of them
7676
7677 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7678
7679         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7680
7681 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7682
7683         * ParagraphList.C: prepare for NO_NEXT
7684
7685 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7686
7687         * text2.C (getFont): adjust
7688         (getLayoutFont): adjust
7689         (getLabelFont): adjust
7690
7691         * paragraph.C (getFont): adjust
7692         (getLabelFont): adjust
7693         (getLayoutFont): adjust
7694
7695         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7696
7697 2003-04-15  John Levon  <levon@movementarian.org>
7698
7699         From Angus Leeming
7700
7701         * lyx_main.C: handle Include in .ui files
7702
7703 2003-04-15  John Levon  <levon@movementarian.org>
7704
7705         * MenuBackend.C: make the doc files length shorter
7706
7707         * ToolbarBackend.h:
7708         * ToolbarBackend.C: handle toolbar placement flags,
7709         Minibuffer
7710
7711 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7712
7713         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7714         adjust
7715
7716         * paragraph_funcs.C (TeXOnePar): adjust
7717
7718         * paragraph.C (getLabelFont): add outerfont arg, adjust
7719         (getLayoutFont): ditto
7720         (simpleTeXOnePar): adjust
7721
7722         * paragraph_pimpl.C (realizeFont): delete func
7723
7724 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7725
7726         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7727         row argument, constify cur argument.
7728
7729 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7730
7731         * text2.C (getFont): adjust
7732         (getLayoutFont): adjust
7733         (getLabelFont): adjust
7734
7735         * paragraph_funcs.C (TeXOnePar): adjust
7736         (outerFont): new func...
7737         (realizeFont): ...moved out from here, changed this to facilitate
7738         transition
7739
7740         * paragraph.C (getFont): take outerfont as arg, adjust
7741         (simpleTeXOnePar): add outerfont arg, adjust
7742
7743         * buffer.C (simpleLinuxDocOnePar): adjust
7744         (simpleDocBookOnePar): adjust
7745
7746         * CutAndPaste.C (pasteSelection): adjust
7747
7748         * BufferView.C (getEncoding): adjust
7749
7750 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7751
7752         * text2.C (setCharFont): adjust
7753         (setCounter): adjust
7754
7755         * text.C (leftMargin): adjust
7756         (setHeightOfRow): adjust
7757
7758         * rowpainter.C (paintFirst): adjust
7759         (paintLast): adjust
7760
7761         * paragraph_pimpl.C (realizeFont): adjust
7762
7763         * paragraph.C (isFirstInSequence): move from here...
7764         * paragraph_funcs.C (isFirstInSequence): ...to here
7765
7766         * paragraph.C (outerHook): move from here...
7767         * paragraph_funcs.C (outerHook): ...to here
7768
7769         * paragraph.C (depthHook): move from here...
7770         * paragraph_funcs.C (depthHook): ...to here
7771
7772         * paragraph.C (getEndLabel): move from here...
7773         * paragraph_funcs.C (getEndLabel): ...to here
7774
7775         * text2.C (realizeFont): move from here...
7776         * paragraph_funcs.C (realizeFont): ...to here
7777
7778 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7779
7780         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7781
7782 2003-04-14  Angus Leeming  <leeming@lyx.org>
7783
7784         * LColor.[Ch]: scrap LColor mathcursor.
7785
7786 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7787
7788         * lyxlex.[Ch] (text): delete function
7789         * trans.C (Load): adjust
7790         * paragraph_funcs.C (readParToken): adjust
7791
7792 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7793
7794         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7795         vector<char> instead of a char[].
7796
7797         * lyxlex_pimpl.C (getString): adjust
7798         (next): adjust
7799         (lex): use getString
7800         (eatLine): adjust
7801         (nextToken): adjust
7802
7803         * lyxlex.C (text): use pimpl_->getString()
7804         (getBool): ditto
7805         (findToken): ditto
7806
7807 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7808
7809         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7810         (makeFontEntriesLayoutSpecific): temp var for par.size()
7811         (setLayout): temp var for ownerParagraphs().end()
7812         (fullRebreak): temp var for rows().end()
7813         (selectionAsString): temp var for boost::next(startpit), realize
7814         that the while really is a regular for loop.
7815         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7816         setCursor in one place.
7817         (setParagraph): temp vr for ownerParagraphs().end()
7818         (updateCounters): make the while loop a for loop
7819         (cutSelection): temp var for ownerParagraphs().end()
7820         (updateInset): make the do {} while() a regular for loop
7821         (getCursorX): use temp vars
7822         (setCurrentFont): use temp vars
7823         (getColumnNearX): use temp vars
7824
7825 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7826
7827         * text.C (transformChar): use temp var for getChar
7828         (computeBidiTables): use temp var for row->par()
7829         (fill): move temp vars for row->par() and pit->layout() earlier in
7830         the function.
7831         (labelFill): use temp var for row->par()
7832         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7833         asc and desc, realize that pit never changes and that firstpit is
7834         just a duplicate and not needed. Exchange rit->par() with pit in a
7835         lot of places.
7836         (breakAgain): use a temp var for boost::next(rit)
7837         (breakAgainOneRow): ditto
7838         (breakParagraph): use a temp var for rows().begin()
7839         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7840         (cursorRightOneWord): use temp var for cursor.par() and
7841         cursor.pos(), remove usage of tmpcursor.
7842         (cursorLeftOneWord): use temp var for cursor.par() and
7843         cursor.pos() only set cur at end of function.
7844
7845 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7846
7847         * text.C, text2.C: exchange all usage of Paragraph::next with
7848         boost::next(ParagraphList::iterator)
7849
7850         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7851
7852         * text2.C (cursorTop): simplify implementation
7853         (cursorBottom): ditto
7854         (setParagraph): use ParagraphList::iterator
7855         (setCurrentFont): adjust
7856         (getColumnNearX): adjust
7857         (cursorRight): adjust
7858         (cursorLeft): remove usage of Paragraph::previous
7859         (cursorUpParagraph): ditto
7860         (deleteEmptyParagraphMechanism): slight cleanup
7861
7862         * text.C (isBoundary): take a Paragraph const & instead of a
7863         pointer as arg.
7864         (addressBreakPoint): ditto
7865         (leftMargin): remove usage of Paragraph::previous.
7866         (setHeightOfRow): ditto
7867         (cursorLeftOneWord): ditto
7868         (selectNextWordToSpellcheck): ditto
7869         (Delete): ditto
7870         (backspace): ditto
7871         (breakParagraph): remove one usage of Paragraph::next
7872         (redoParagraph): ditto
7873         (acceptChange): ditto
7874         (insertChar): adjust
7875         (rowBreakPoint): adjust
7876
7877         * bufferview_funcs.C (toggleAndShow): adjust
7878
7879 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7880
7881         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7882         methods to access it.
7883         * lyxtext.h:
7884         * text.C: Added updateRowPositions to compute all row positions.
7885         Make top_y and getRowNearY() to use the cached y position
7886
7887 2003-04-11  John Levon  <levon@movementarian.org>
7888
7889         * text.C (rowBreakPoint): reintroduce the labelEnd
7890         checks, code copied from the row fill stuff. Deep voodoo.
7891
7892         * text.C (fill): add a comment and debugging for the
7893         next poor soul.
7894
7895 2003-04-11  John Levon  <levon@movementarian.org>
7896
7897         * text.C: make sure fullrow insets get wrapped to the next line,
7898         even when they're in a manual label
7899
7900 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7901
7902         * text2.C (insertParagraph): make it take ParagraphList::iterator
7903         as arg.
7904         (setLayout): make it return ParagraphList::iterator
7905         (redoParagraphs): ditto
7906         (setCounter): ditto
7907         (checkParagraph): ditto
7908
7909         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7910
7911         * text2.C: adjust several funcs.
7912         (realizeFont): take a ParagraphList::iterator as arg.
7913         (getLayoutFont): ditto
7914         (getLabelFont): ditto
7915         (setCharFont): ditto
7916
7917         * text.C: adjust several funcs.
7918
7919 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7920
7921         * text.C (selectNextWordToSpellcheck): don't accidentally
7922         skip insets
7923
7924 2003-04-10  John Levon  <levon@movementarian.org>
7925
7926         * ToolbarBackend.C (getIcon): special handling for
7927         LFUN_MATH_DELIM
7928
7929 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7930
7931         * text2.C (cursorRight): a getChar assert fixed
7932
7933 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7934
7935         * text2.C (getFont): change to take a ParagraphList::iterator
7936         instead of Paragraph*
7937         Adjust several functions.
7938
7939         * text.C (transformChar): change to take a ParagraphList::iterator
7940         instead of Paragraph*
7941         (singleWidth): ditto
7942         Adjust several functions.
7943
7944         * rowpainter.C: adjust several functions
7945         * rowpainter.h:store a ParagraphList::iterator and not a
7946         Paragraph&.
7947
7948
7949 2003-04-09  John Levon  <levon@movementarian.org>
7950
7951         * lyxfunc.C:
7952         * lfuns.h:
7953         * LyXAction.h:
7954         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7955         and the "help" bits as well
7956
7957 2003-04-09  John Levon  <levon@movementarian.org>
7958
7959         * ToolbarBackend.h:
7960         * ToolbarBackend.C: allow multiple toolbars
7961
7962 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7963
7964         * undo_funcs.C (setCursorParUndo): adjust
7965
7966         * text_funcs.C (transposeChars): adjust
7967
7968         * text3.C (gotoNextInset): adjust
7969         (dispatch): adjust
7970
7971         * text2.C (setLayout): adjust
7972         (changeDepth): adjust
7973         (setFont): adjust
7974         (redoParagraphs): adjust
7975         (selectionAsString): adjust
7976         (setParagraph): adjust
7977         (insertInset): adjust
7978         (cutSelection): adjust
7979         (copySelection): adjust
7980         (pasteSelection): adjust
7981         (insertStringAsLines): adjust
7982         (updateInset): adjust
7983         (setCursor): change to take a ParagraphList::iterator parameter
7984         (setCursorIntern): change to take a ParagraphList::iterator parameter
7985         (setCurrentFont): adjust
7986         (cursorLeft): adjust
7987         (cursorRight): adjust
7988         (deleteEmptyParagraphMechanism): adjust
7989
7990         * text.C (breakParagraph): adjust
7991         (insertChar): adjust
7992         (acceptChange): adjust
7993         (rejectChange): adjust
7994         (selectNextWordToSpellcheck): adjust
7995         (changeCase): adjust
7996         (Delete): adjust
7997         (backspace): adjust
7998
7999         * lyxfind.C (SearchForward): adjust
8000         (SearchBackward): adjust
8001         (nextChange): adjust
8002
8003         * lyxcursor.C (par): adjust
8004
8005         * lyxcursor.h: store a ParagraphList::iterator instead of a
8006         Paragraph*
8007
8008         * lyx_cb.C (getPossibleLabel): adjust
8009
8010         * bufferview_funcs.C (toggleAndShow): adjust
8011
8012         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8013         (dispatch): adjust
8014
8015         * BufferView.C (removeAutoInsets): adjust
8016         (lockedInsetStoreUndo): adjust
8017
8018 2003-04-09  John Levon  <levon@movementarian.org>
8019
8020         * ToolbarBackend.C: try icon without argument
8021         if with argument fails
8022
8023 2003-04-08  John Levon  <levon@movementarian.org>
8024
8025         * ToolbarBackend.h:
8026         * ToolbarBackend.C: add getIcon(), handle tooltip,
8027         and change from "Icon" to "Item".
8028
8029 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8030
8031         * BufferView.C (lockInset): another bad getchar crunched
8032
8033 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8034
8035         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8036         again)
8037
8038 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8039
8040         * lyxfind.C (searchForward, searchBackwards): bug 782
8041
8042 2003-04-07  John Levon  <levon@movementarian.org>
8043
8044         * paragraph.C: remove dead comment
8045
8046         * text.C: remove troublesome depth-fiddling code
8047         in leftMargin() and rightMargin() (bug 1017)
8048
8049         * text.C: fix breaking of rows in nested lists
8050         (bug 1004)
8051
8052         * text2.C (updateCounters): fix up depth values
8053         (bug 1013)
8054
8055 2003-04-07  John Levon  <levon@movementarian.org>
8056
8057         * BufferView_pimpl.C: clear message when doc finishes resizing,
8058         and after a mouse event
8059
8060         * lyxfunc.C: clear message after exiting inset
8061
8062 2003-04-07  John Levon  <levon@movementarian.org>
8063
8064         * bufferview_funcs.C: show math status not outside
8065         status in the statusbar
8066
8067 2003-04-07  John Levon  <levon@movementarian.org>
8068
8069         * lyxfunc.C: note status changed after a depth change
8070
8071 2003-04-04  Angus Leeming  <leeming@lyx.org>
8072
8073         * LaTeX.h: move AuxInfo operator==, != out of line.
8074         Remove LaTeX virtual destructor; nothing derives from it.
8075         Move operator()() out of public area and rename it startscript().
8076         Change protected for private.
8077
8078 2003-04-04  Angus Leeming  <leeming@lyx.org>
8079
8080         * lyxfunc.C:
8081         * text2.C: remove unneeded #includes.
8082
8083 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8084
8085         * text2.C (dEPM): fix the heigth of the next row
8086
8087 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8088
8089         * text.C: squashed an invalid getChar requester + some ws changes
8090
8091 2003-04-03  John Levon  <levon@movementarian.org>
8092
8093         * bufferview_funcs.h:
8094         * bufferview_funcs.C:
8095         * lyxfunc.C:
8096         * lyxtext.h:
8097         * text2.C: make getStatus work for the env depth lfuns
8098
8099 2003-04-03  John Levon  <levon@movementarian.org>
8100
8101         * bufferview_funcs.h:
8102         * bufferview_funcs.C:
8103         * lyxfunc.C:
8104         * lyxtext.h:
8105         * text2.C: parlistize decDepth(), by merging it with incDepth()
8106
8107 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8108
8109         * lyxrow.h: store a ParagraphList::iterator instead of a
8110         Paragraph* and adjust other class functions to suit.
8111
8112         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8113         above.
8114
8115 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8116
8117         * text2.C (setCursor): do not anchor to cursor row for the time being
8118
8119 2003-04-02  John Levon  <levon@movementarian.org>
8120
8121         * LyXAction.C:
8122         * lfuns.h:
8123         * lyx_main.C:
8124         * lyxtext.h:
8125         * text.C:
8126         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8127
8128 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8129
8130         * paragraph.h: make ParagraphList and ParagraphList::iterator
8131         friends of Paragraph.
8132
8133         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8134
8135         * ParagraphList.C: Use the private next_ and previous_ from
8136         Paragraph.
8137
8138 2003-04-01  John Levon  <levon@movementarian.org>
8139
8140         * ToolbarBackend.h:
8141         * ToolbarBackend.C:
8142         * Makefile.am: rename, remove defaults gunk
8143
8144         * MenuBackend.h:
8145         * MenuBackend.C: remove defaults gunk
8146
8147         * Languages.h:
8148         * Languages.C: remove defaults gunk
8149
8150         * lyx_main.h:
8151         * lyx_main.C: error out if files couldn't be found.
8152
8153 2003-04-02  John Levon  <levon@movementarian.org>
8154
8155         * text2.C: make incDepth() use parlist
8156
8157 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8158
8159         * undo_funcs.C (firstUndoParagraph): adjust
8160
8161         * text3.C (gotoInset): adjust
8162         (dispatch): adjust, and rewrite loop.
8163
8164         * text2.C (init): adjust, and rewrite loop.
8165         (redoParagraphs): adjust
8166         (updateInset): adjust, and rewrite loop.
8167         (deleteEmptyParagraphMechanism): adjust
8168
8169         * tabular.C (LyXTabular): adjust
8170         (SetMultiColumn): adjust
8171         (TeXRow): adjust
8172
8173         * lyxtext.[Ch] (ownerParagraph): delete function
8174         (ownerParagraphs): new function returns a ParagraphList.
8175
8176         * BufferView.C (removeAutoInsets): adjust
8177         (insertErrors): adjust
8178         (setCursorFromRow): adjust
8179
8180 2003-04-01  Angus Leeming  <leeming@lyx.org>
8181
8182         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8183         in the frontends.
8184
8185 2003-04-02  John Levon  <levon@movementarian.org>
8186
8187         * lyxtext.h:
8188         * text.C:
8189         * Makefile.am:
8190         * text_funcs.h:
8191         * text_funcs.C: make transposeChars a free function
8192
8193         * lyxrow_funcs.C: remove wrong comment
8194
8195 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8196
8197         * lyxtext.h: adjust
8198         * rowpainter.C: adjust
8199         * text.C: adjust
8200         * text2.C: adjust
8201         * text3.C: adjust
8202
8203         * lyxrow_funcs. [Ch]: new files
8204
8205         * lyxrow.[Ch]: remove next and previous pointers
8206         (next,previous): remove accessor functions
8207         (isParEnd): move to lyxrow_funcs
8208         (lastPos): move to lyxrow_funcs
8209         (nextRowIsAllInset): move to lyxrow_funcs
8210         (lastPrintablePos): move to lyxrow_funcs
8211         (numberOfSeparators): move to lyxrow_funcs
8212         (numberOfHfills): move to lyxrow_funcs
8213         (numberOfLabelHfills): move to lyxrow_funcs
8214         (hfillExpansion): move to lyxrow_funcs
8215
8216         * lyxfunc.C: adjust
8217
8218         * bufferview_funcs.C (toggleAndShow): adjust
8219
8220         * RowList.h: Remove class RowList from file leave just a
8221         std::list<Row>.
8222
8223         * RowList.C: delete file
8224
8225         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8226         and lyxrow_funcs.h
8227
8228 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8229
8230         * text3.C (cursorPrevious): adjust
8231         (cursorNext): adjust
8232         (dispatch): adjust
8233
8234         * text2.C (redoHeightOfParagraph): adjust
8235         (redoDrawingOfParagraph): adjust
8236         (setCursor): adjust
8237
8238         * text.C (breakParagraph): adjust
8239         (insertChar): adjust
8240         (backspace): adjust
8241
8242         * rowpainter.C (RowPainter): adjust
8243         (leftMargin): simplify and adjust
8244         (most rowpainter functions): adjust.
8245
8246         * rowpainter.h: store the row as RowList::iterator not as Row*
8247
8248         * lyxcursor.C (row): taka RowList::iterator as arg
8249         (irow): ditto
8250
8251         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8252         of Row*.
8253
8254 2003-04-01  Angus Leeming  <leeming@lyx.org>
8255
8256         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8257         stuff like bool Bool.
8258
8259 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8260
8261         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8262         rewrite a loop
8263
8264 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8265
8266         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8267         RowList::iterator.
8268
8269         * lyxtext.h (rows): drop one version and leve a const variant that
8270         returns a RowList::iterator.
8271
8272 2003-03-31  Angus Leeming  <leeming@lyx.org>
8273
8274         * text.C (fill): ensure that the signature is the same as that in the
8275         header file.
8276
8277 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8278
8279         * text2.C (redoParagraphs): adjust
8280         (updateCounters): adjust
8281         (checkParagraph): adjust
8282         (getColumnNearX): adjust and reformat a bit.
8283
8284         * text.C (top_y): adjust
8285         (workWidth): adjust
8286         (leftMargin): adjust
8287         (prepareToPrint): adjust
8288         (getRow): adjust
8289         (getRowNearY): adjust
8290
8291         * lyxtext.h: make rowlist_ mutable.
8292
8293         * RowList.h: add const_iterator
8294         * RowList.C: adjust for RowList::const_iterator.
8295
8296         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8297         adjust.
8298
8299 2003-03-31  John Levon  <levon@movementarian.org>
8300
8301         * lyxrc.h:
8302         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8303
8304         * lyx_main.C: set default fonts from using lyx_gui funcs
8305
8306         * exporter.C: pdf_mode moved from lyxrc
8307
8308         * lyx_cb.C:
8309         * lyxfunc.C: changes from above
8310
8311 2003-03-31  John Levon  <levon@movementarian.org>
8312
8313         * lyx_main.C: fix to the last fix
8314
8315 2003-03-31  John Levon  <levon@movementarian.org>
8316
8317         * bufferlist.C: "Load original" -> "Load Original"
8318
8319         * converter.C:
8320         * exporter.C:
8321         * importer.C:
8322         * lyx_main.C:
8323         * format.C: more Alert cleanups
8324
8325 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8326
8327         * text2.C (removeParagraph): make it take a RowList::iterator as
8328         arg, adjust.
8329         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8330         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8331
8332         * text.C (anchor_row): make it take a RowList::iterator as arg,
8333         adjust.
8334         (computeBidiTables): make it take a const reference to Row instead
8335         of Row pointer, adjust.
8336         (leftMargin): make it take a RowList::iterator as arg, adjust.
8337         (rowBreakPoint): adjust
8338         (breakAgainOneRow): make it take a RowList::iterator as arg,
8339         adjust.
8340         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8341
8342         * bufferview_funcs.C (toggleAndShow): adjust
8343
8344 2003-03-30  John Levon  <levon@movementarian.org>
8345
8346         * Makefile.am:
8347         * BoostFormat.h:
8348         * boost-inst.C: moved to support
8349
8350         * several files: changes as a result
8351
8352 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8353
8354         * text2.C (LyXText): adjust.
8355         (init): adjust
8356         (removeRow): make it take a RowList::iterator as arg, adjust.
8357         (fullRebreak): adjust
8358         (deleteEmptyParagraphMechanism): adjust
8359         (clearPaint): adjust
8360         (postPaint): adjust
8361
8362         * text.C (top_y): adjust
8363         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8364         (breakAgain): make it take a RowList::iterator as arg, adjust.
8365         (breakParagraph): adjust
8366         (insertChar): adjust
8367         (backspace): adjust
8368
8369         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8370         need_break_row, and refresh_row.
8371
8372         * text3.C (dispatch): adjust
8373
8374         * text2.C (checkParagraph): adjust
8375         (setCursor): adjust
8376         (setCursorFromCoordinates): adjust
8377
8378         * text.C (top_y): adjust
8379         (workWidth): adjust
8380         (getRow): make it return a RowList::iterator, adjust
8381         (getRowNearY): make it return a RowList::iterator, adjust
8382
8383         * text2.C (init): adjust
8384         (insertRow): remove function
8385         (insertParagraph): adjust
8386         (redoParagraphs): adjust
8387         (fullRebreak): adjust
8388         (updateCounters): adjust
8389
8390         * text.C (top_y): rewrite to use RowList iterators.
8391         (top_y): adjust
8392         (setHeightOfRow): rewrite to sue RowList iterators.
8393         (appendParagraph): adjust
8394         (breakAgain): adjust
8395         (breakAgainOneRow): adjust
8396         (breakParagraph): adjust
8397         (getRow): adjust
8398         (getRowNearY): adjust, and remove commented code.
8399
8400         * lyxtext.h (firstRow): delete function
8401         (lastRow): delete function
8402         (rows): new function (const and non-const versions.)
8403         (insertRow): delete function
8404
8405         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8406
8407 2003-03-29  John Levon  <levon@movementarian.org>
8408
8409         * BufferView_pimpl.C: always update scrollbar top
8410         because pasting text when we're anchored could mean we
8411         miss an update altogether
8412
8413 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8414
8415         * text2.C (init): use rowlist_.end() and not 0.
8416         (insertRow): change to take a RowList::iterator as arg, adjust
8417         for this.
8418         (insertParagraph): change to take a RowList::iterator as arg,
8419         adjust for this.
8420         (redoParagraphs): remove some debug msgs.
8421
8422         * text.C (appendParagraph): change to take a RowList::iterator
8423         arg, adjust for this.
8424         (breakAgain): add an assert
8425         (breakAgainOneRow): ditto
8426
8427 2003-03-29  John Levon  <levon@movementarian.org>
8428
8429         * text2.C: do not clear selection after inc/decDepth
8430         (bug 550)
8431
8432 2003-03-29  John Levon  <levon@movementarian.org>
8433
8434         * BufferView.C:
8435         * buffer.C: fix broken strerrors according to Lars
8436
8437 2003-03-29  John Levon  <levon@movementarian.org>
8438
8439         * converters.C: more Alert cleanups
8440
8441 2003-03-29  John Levon  <levon@movementarian.org>
8442
8443         * bufferview_funcs.C: remove pointless Alert
8444
8445         * buffer.C: fix confusing error message when
8446         a template is chmoded 000
8447
8448 2003-03-29  John Levon  <levon@movementarian.org>
8449
8450         * BufferView.C:
8451         * BufferView.h:
8452         * BufferView_pimpl.C: Alert fixes
8453
8454         * Makefile.am:
8455         * tabular.C:
8456         * tabular-old.C: remove unused table compat reading
8457
8458 2003-03-29  John Levon  <levon@movementarian.org>
8459
8460         * BufferView.C:
8461         * buffer.C:
8462         * lyx_cb.h:
8463         * lyx_cb.C: more Alert cleanups
8464
8465         * lyxfunc.C: don't allow chktex if not latex document
8466
8467 2003-03-29  John Levon  <levon@movementarian.org>
8468
8469         * lyx_cb.C:
8470         * BufferView.C:
8471         * buffer.C: warnings pushed down from support/,
8472         kill err_alert
8473
8474 2003-03-29  John Levon  <levon@movementarian.org>
8475
8476         * lyxfunc.C: safety check for C-r (revert)
8477
8478 2003-03-29  John Levon  <levon@movementarian.org>
8479
8480         * bufferlist.h:
8481         * bufferlist.C: several UI fixes using Alert::prompt.
8482         Fix the pointless looping quit code. Fix stupid revert
8483         behaviour (bug 938)
8484
8485         * lyxvc.h:
8486         * lyxvc.C:
8487         * lyx_cb.C: use Alert::prompt
8488
8489         * lyx_main.C: remove a silly question
8490
8491         * lyxfunc.C: remove a couple of silly questions,
8492         use Alert::prompt
8493
8494 2003-03-28  John Levon  <levon@movementarian.org>
8495
8496         * text2.C: fix bug 974 (End on empty par)
8497
8498 2003-03-28  John Levon  <levon@movementarian.org>
8499
8500         * BufferView_pimpl.C:
8501         * LyXAction.C:
8502         * lfuns.h: remove do-nothing math greek lfuns
8503
8504 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8505
8506         * lyxgluelength.h (isValidGlueLength): add default arg on
8507         parameter 2. Remove default arg from friend in class.
8508
8509         * lyxlength.h (isValidLength): add default arg on parameter 2.
8510         Remove default arg from friend in class.
8511
8512         * text2.C (LyXText): adjust, initialize refresh_row.
8513         (init): adjust
8514         (removeRow): adjust
8515         (insertRow): adjust
8516         (insertParagraph): adjst
8517         (redoParagraphs): adjust
8518         (fullRebreak): adjust
8519         (updateCounters): adjust
8520         (deleteEmptyParagraphMechanism): first attempt at fixing a
8521         crashing bug.
8522
8523         * text.C (top_y): adjust
8524         (setHeightOfRow): adjust
8525         (getRow): adjust
8526         (getRowNearY): adjust
8527
8528         * lyxtext.h: include RowList.h
8529         (~LyXText): not needed anymore, deleted.
8530         (firstRow): modify for RowList
8531         (lastRow): new function
8532         Delete firstrow and lastrow class variables, add a Rowlist
8533         rowlist_ class variable.
8534
8535         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8536         paragraph is empty.
8537
8538         * RowList.C (insert): fix case where it == begin().
8539
8540 2003-03-26  Angus Leeming  <leeming@lyx.org>
8541
8542         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8543         the thesaurus dialog.
8544
8545 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8546
8547         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8548
8549         * RowList.[Ch]: new files
8550
8551         * ParagraphList.C (erase): handle the case where it == begin
8552         correctly.
8553
8554 2003-03-25  John Levon  <levon@movementarian.org>
8555
8556         * Makefile.am:
8557         * aspell_local.h:
8558         * aspell.C: add new aspell support
8559
8560         * lyxrc.h:
8561         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8562         have it accessible.
8563
8564 2003-03-25  Angus Leeming  <leeming@lyx.org>
8565
8566         * lfuns.h:
8567         * LyXAction.C (init): new LFUN_INSET_INSERT.
8568
8569         * BufferView_pimpl.C (dispatch): split out part of the
8570         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8571
8572         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8573         LFUN_INSET_APPLY.
8574
8575 2003-03-25  Angus Leeming  <leeming@lyx.org>
8576
8577         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8578
8579 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8580
8581         * text2.C:
8582         * text3.C: remove useless row->height(0)
8583
8584 2003-03-25  John Levon  <levon@movementarian.org>
8585
8586         * lyxtext.h:
8587         * text2.C:
8588         * text3.C: rename the refreshing stuff to better names
8589
8590 2003-03-24  John Levon  <levon@movementarian.org>
8591
8592         * BufferView_pimpl.h:
8593         * BufferView_pimpl.C: update layout choice on a mouse
8594         press/release
8595
8596 2003-03-23  John Levon  <levon@movementarian.org>
8597
8598         * Makefile.am: fix commandtags.h reference
8599
8600 2003-03-22  John Levon  <levon@movementarian.org>
8601
8602         * BufferView_pimpl.C:
8603         * lyxtext.h:
8604         * rowpainter.C:
8605         * rowpainter.h:
8606         * text.C:
8607         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8608
8609 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8610
8611         * lyxtext.h:
8612         * text.C: take the rtl methods out of line
8613
8614 2003-03-21 André Pönitz <poenitz@gmx.net>
8615
8616         * metricsinfo.[Ch]: new files containing structures to be passed around
8617         during the two-phase-drawing...
8618
8619 2003-03-21 André Pönitz <poenitz@gmx.net>
8620
8621         * lyxtextclass.C: read 'environment' tag.
8622
8623 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8624
8625         * text2.C (removeRow): fix bug 964
8626
8627 2003-03-20  John Levon  <levon@movementarian.org>
8628
8629         * rowpainter.C:
8630         * text.C:
8631         * text2.C: paint cleanups. Inset::update() dropped font
8632         parameter
8633
8634 2003-03-19  John Levon  <levon@movementarian.org>
8635
8636         * lyxfunc.C: only fitcursor/markDirty if available()
8637
8638 2003-03-19  John Levon  <levon@movementarian.org>
8639
8640         * commandtags.h: rename to ...
8641
8642         * lfuns.h: ... this, and renumber / cleanup
8643
8644 2003-03-19  John Levon  <levon@movementarian.org>
8645
8646         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8647         fit the cursor after an lfun
8648
8649         * BufferView.h:
8650         * BufferView.C:
8651         * BufferView_pimpl.h:
8652         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8653
8654         * LyXAction.C: layout-character should have ReadOnly
8655
8656         * ParagraphParameters.C:
8657         * buffer.C:
8658         * bufferview_funcs.C:
8659         * lyx_cb.C:
8660         * lyxfind.C:
8661         * lyxtext.h:
8662         * text.C:
8663         * text2.C:
8664         * text3.C:
8665         * undo_funcs.C: changes from above
8666
8667 2003-03-18  John Levon  <levon@movementarian.org>
8668
8669         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8670         remove it from update()
8671
8672         * lyxfunc.C: update layout choice after an lfun
8673
8674         * text3.C: remove extra updateLayoutChoice()s
8675
8676 2003-03-18  John Levon  <levon@movementarian.org>
8677
8678         * text.C: top_y change means full repaint, fix
8679         a drawing bug with cursor movement
8680
8681 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8682
8683         * lyxtext.h:
8684         * text.C:
8685         * text2.C: anchor row on setCursor
8686
8687 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8688
8689         * lyxtext.h: remove almost all mutable keywords
8690         * text.C:
8691         * text2.C:
8692         * text3.C: remove const keywords accordingly
8693
8694 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8695
8696         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8697         anon namespace
8698         (TeXEnvironment): ditto
8699         (TeXOnePar): ditto
8700
8701 2003-03-17  John Levon  <levon@movementarian.org>
8702
8703         * text.C (rowBreakPoint): remove attempt to fix displayed
8704         math insets inside a manual label
8705
8706 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8707
8708         * lyxtext.h: remove BufferView* as first arg from almost all class
8709         functions.
8710         * other files: adjust.
8711
8712 2003-03-17  John Levon  <levon@movementarian.org>
8713
8714         * lyxtext.h:
8715         * undo_funcs.C:
8716         * text2.C: more paint cleanups
8717
8718         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8719
8720         * rowpainter.h:
8721         * rowpainter.C: remove "smart" background painting code
8722
8723 2003-03-16  John Levon  <levon@movementarian.org>
8724
8725         * lyxtext.h:
8726         * text.C:
8727         * text2.C:
8728         * text3.C: add helper functions for setting refresh_row/y
8729
8730 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8731
8732         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8733         newline inset which *can* get inserted in the pass_thru layouts.
8734         This is primarily for literate documents.
8735
8736 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8737
8738         * buffer.C: increment LYX_FORMAT to 223
8739
8740 2003-03-14 André Pönitz <poenitz@gmx.net>
8741
8742         * textclass.h: prepare for environment handling, ws changes
8743         * lyxlayout.C: read latexheader and latexfooter tags
8744
8745 2003-03-14  John Levon  <levon@movementarian.org>
8746
8747         * text2.C: rewrite ::status() a bit
8748
8749 2003-03-13  John Levon  <levon@movementarian.org>
8750
8751         * lyxtext.h: add some docs
8752
8753 2003-03-13  John Levon  <levon@movementarian.org>
8754
8755         * lyxtext.h:
8756         * text.C:
8757         * text2.C:
8758         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8759
8760 2003-03-13  John Levon  <levon@movementarian.org>
8761
8762         * text3.C: fix appendix redrawing
8763
8764 2003-03-13  John Levon  <levon@movementarian.org>
8765
8766         * text.C (setHeightOfRow):
8767         * rowpainter.h:
8768         * rowpainter.C: make appendix mark have the text
8769           "Appendix" so the user knows what it is
8770
8771         * LColor.h:
8772         * LColor.C: s/appendixline/appendix/ from above
8773
8774 2003-03-13  John Levon  <levon@movementarian.org>
8775
8776         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8777
8778         * text.C: fix a getChar(pos) bug properly
8779
8780 2003-03-13  Angus Leeming  <leeming@lyx.org>
8781
8782         * commandtags.h:
8783         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8784         Probably only temporary. Let's see how things pan out.
8785
8786         * BufferView.C (unlockInset):
8787         * BufferView_pimpl.C (fitCursor):
8788         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8789
8790         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8791         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8792
8793         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8794         new functions that convert ParagraphParameters to and from a string.
8795
8796         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8797         BufferView::Pimpl's dispatch.
8798         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8799
8800 2003-03-13 André Pönitz <poenitz@gmx.net>
8801
8802         * lyxfunc.C:
8803         * text3.C:
8804         * factory.C: make it aware of InsetEnv
8805
8806 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8807
8808         * text2.C (setCursor): never ask for one past last
8809         (setCursor): add some debugging messages.
8810
8811         * text.C (singleWidth): never ask for one past last
8812         (singleWidth): ditto
8813         (leftMargin): ditto
8814         (rightMargin): ditto
8815         (rowBreakPoint): ditto
8816         (setHeightOfRow): ditto
8817         (prepareToPrint): ditto
8818
8819         * rowpainter.C (paintBackground): never ask for one past last
8820         (paintText): never ask for one past last
8821
8822         * paragraph_pimpl.C (getChar): make the assert stricter, never
8823         allow the one past last pos to be taken
8824
8825         * paragraph.C (getChar): ws changes only
8826
8827         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8828         (numberOfSeparators): ditto
8829         (numberOfHfills): ditto
8830
8831 2003-03-12  John Levon  <levon@movementarian.org>
8832
8833         * author.h:
8834         * author.C:
8835         * bufferparams.h:
8836         * bufferparams.C:
8837         * paragraph_funcs.C: fix per-buffer authorlists
8838
8839 2003-03-12  John Levon  <levon@movementarian.org>
8840
8841         * text.C: fix newline in right address
8842
8843 2003-03-12  Angus Leeming  <leeming@lyx.org>
8844
8845         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8846         duplicate those in LyXFunc::dispatch.
8847
8848         * commandtags.h:
8849         * LyXAction.C:
8850         * ToolbarDefaults.C:
8851         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8852         Add LFUN_FONTFREE_UPDATE.
8853
8854         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8855         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8856
8857         * bufferview_func.[Ch]: several new functions to facilliate
8858         transfer of data to and from the character dialog.
8859
8860 2003-03-12  John Levon  <levon@movementarian.org>
8861
8862         * buffer.C:
8863         * paragraph.h:
8864         * paragraph.C:
8865         * paragraph_funcs.C:
8866         * paragraph_pimpl.C:
8867         * sgml.C:
8868         * tabular.C:
8869         * text.C:
8870         * text3.C: remove META_NEWLINE in favour of an inset
8871
8872         * rowpainter.h:
8873         * rowpainter.C: remove paintNewline (done by inset)
8874
8875 2003-03-12  John Levon  <levon@movementarian.org>
8876
8877         * paragraph_pimpl.C: complain about bad getChar()s
8878         for a while at least
8879
8880 2003-03-12  John Levon  <levon@movementarian.org>
8881
8882         * buffer.h:
8883         * buffer.C: move paragraph read into a separate function,
8884         a little renaming to reflect that.
8885
8886         * bufferparams.h:
8887         * bufferparams.C: remove the author_ids map, not necessary now
8888
8889         * factory.h:
8890         * factory.C: moved Buffer::readInset to here
8891
8892         * paragraph_funcs.h:
8893         * paragraph_funcs.C: readParagraph free function moved from
8894         buffer.C
8895
8896         * tabular.C: name change
8897
8898 2003-03-12  John Levon  <levon@movementarian.org>
8899
8900         * buffer.C:
8901         * ParagraphParameters.C: move par params input to
8902         a read() method
8903
8904         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8905         behave like a normal read from the stream wrt reading
8906         a line vs. a \\token
8907
8908 2003-03-12  John Levon  <levon@movementarian.org>
8909
8910         * paragraph.C:
8911         * ParagraphParameters.h:
8912         * ParagraphParameters.C: move output code to a
8913         ::write() method
8914
8915 2003-03-12  John Levon  <levon@movementarian.org>
8916
8917         * BufferView.C (insertLyXFile):
8918         * buffer.h:
8919         * buffer.C:
8920         * tabular.C: use a parlist iterator for creating the
8921           document.
8922
8923 2003-03-12  John Levon  <levon@movementarian.org>
8924
8925         * buffer.C: make current_change static local not
8926           static file-scope
8927
8928 2003-03-12  John Levon  <levon@movementarian.org>
8929
8930         * buffer.C: fix insertStringAsLines for change tracking
8931
8932 2003-03-12  John Levon  <levon@movementarian.org>
8933
8934         * BufferView.C:
8935         * tabular.C:
8936         * buffer.h:
8937         * buffer.C:
8938         * bufferparams.h:
8939         * bufferparams.C: move author list into params. Rename some
8940           functions. Move the header reading into a separate token
8941           loop. Move the header token reading into BufferParams.
8942
8943 2003-03-12  John Levon  <levon@movementarian.org>
8944
8945         * changes.C: put debug inside lyxerr.debugging() checks
8946
8947 2003-03-11 André Pönitz <poenitz@gmx.net>
8948
8949         * factory.C: make it aware of InsetHFill
8950
8951 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8952
8953         * buffer.C (latexParagraphs): move function from here...
8954         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8955         args.
8956
8957 2003-03-10  Angus Leeming  <leeming@lyx.org>
8958
8959         * LyXAction.C (init): fix bug in poplating array with multiple entries
8960         with the same LFUN (spotted by JMarc).
8961
8962 2003-03-10  John Levon  <levon@movementarian.org>
8963
8964         * text.C:
8965         * text2.C: move getColumnNearX() near its
8966         only call site
8967
8968 2003-03-10  John Levon  <levon@movementarian.org>
8969
8970         * text.C: fix break before a minipage
8971
8972 2003-03-10  John Levon  <levon@movementarian.org>
8973
8974         * text.C: fix the last commit
8975
8976 2003-03-09  John Levon  <levon@movementarian.org>
8977
8978         * lyxtext.h:
8979         * text.C:
8980         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8981         bug 365 (don't break before insets unless needed). Don't
8982         return a value > last under any circumstances.
8983
8984 2003-03-09  Angus Leeming  <leeming@lyx.org>
8985
8986         * BufferView_pimpl.C (trackChanges, dispatch): call
8987         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8988
8989 2003-03-09  Angus Leeming  <leeming@lyx.org>
8990
8991         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8992         than Dialogs::showAboutlyx().
8993
8994 2003-03-09  Angus Leeming  <leeming@lyx.org>
8995
8996         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8997         than Dialogs::showTabularCreate().
8998
8999 2003-03-09  John Levon  <levon@movementarian.org>
9000
9001         * lyxtext.h:
9002         * text.C:
9003         * text2.C: 3rd arg to nextBreakPoint was always the same.
9004           Use references.
9005
9006 2003-03-08  John Levon  <levon@movementarian.org>
9007
9008         * lyxrow.C:
9009         * paragraph.C:
9010         * paragraph.h:
9011         * rowpainter.C:
9012         * text.C:
9013         * text2.C: Remove the "main" bit from the "main body"
9014           notion.
9015
9016 2003-03-08  John Levon  <levon@movementarian.org>
9017
9018         * text.C (leftMargin): The left margin of an empty
9019         manual label paragraph should not include the label width
9020         string length.
9021
9022         * text.C (prepareToPrint): don't attempt to measure hfills
9023         for empty manual label paragraphs - the answer should be 0
9024
9025 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9026
9027         * CutAndPaste.C: remove commented code and reindent.
9028
9029 2003-03-08  John Levon  <levon@movementarian.org>
9030
9031         * lyxfunc.h:
9032         * lyxfunc.C: move reloadBuffer()
9033
9034         * BufferView.h:
9035         * BufferView.C: to here
9036
9037         * lyxvc.C: add comment
9038
9039         * vc-backend.h:
9040         * vc-backend.C: call bv->reload() to avoid
9041           getStatus() check on MENURELOAD
9042
9043 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9044
9045         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9046         to an old format .dep file.
9047
9048 2003-03-07  Angus Leeming  <leeming@lyx.org>
9049
9050         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9051         when the LFUN_MOUSE_RELEASE should have been handled by
9052         inset->localDispatch.
9053
9054 2003-03-07  Angus Leeming  <leeming@lyx.org>
9055
9056         * BufferView_pimpl.C (dispatch):
9057         * LyXAction.C (init):
9058         * ToolbarDefaults.C (init):
9059         * commandtags.h:
9060         * lyxfunc.C (getStatus):
9061         remove LFUN_INSET_GRAPHICS.
9062
9063         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9064
9065 2003-03-07  Angus Leeming  <leeming@lyx.org>
9066
9067         * commandtags.h:
9068         * LyXAction.C (init):
9069         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9070
9071         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9072
9073         * commandtags.h:
9074         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9075
9076         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9077         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9078
9079 2003-03-07  Angus Leeming  <leeming@lyx.org>
9080
9081         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9082         remove "ert".
9083
9084 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9085
9086         * ParagraphList.C (front): new function
9087         (back): implement
9088
9089 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9090
9091         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9092         and top_row_offset_. removed var first_y.
9093         * text.C (top_y):
9094         * text2.C (LyXText, removeRow):
9095         * text3.C:
9096         * BufferView_pimpl.C:
9097         use these methods instead of using first_y
9098
9099 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9100
9101         * text2.C (pasteSelection): adjust for checkPastePossible
9102
9103         * CutAndPaste.C: remove Paragraph * buf and replace with
9104         ParagraphList paragraphs.
9105         (DeleteBuffer): delete
9106         (cutSelection): change the tc type to textclass_type
9107         (copySelection): change the tc type to textclass_type
9108         (copySelection): adjust for ParagraphList
9109         (pasteSelection): change the tc type to textclass_type
9110         (pasteSelection): adjust for Paragraphlist
9111         (nrOfParagraphs): simplify for ParagraphList
9112         (checkPastePossible): simplify for ParagraphList
9113         (checkPastePossible): remove unused arg
9114
9115         * ParagraphList.C (insert): handle the case where there are no
9116         paragraphs yet.
9117
9118         * CutAndPaste.h: make CutAndPaste a namespace.
9119
9120         * text3.C (dispatch): adjust
9121
9122         * text.C (breakParagraph): add a ParagraphList as arg
9123
9124         * paragraph_funcs.C (breakParagraph): change to take a
9125         BufferParams and a ParagraphList as args.
9126         (breakParagraphConservative): ditto
9127         (mergeParagraph): ditto
9128         (TeXDeeper): add a ParagraphList arg
9129         (TeXEnvironment): ditto
9130         (TeXOnePar): ditto
9131
9132         * buffer.C (readLyXformat2): adjust
9133         (insertStringAsLines): adjust
9134         (latexParagraphs): adjust
9135
9136         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9137         (cutSelection): adjust
9138         (pasteSelection): adjust
9139
9140         * BufferView_pimpl.C (insertInset): adjust
9141
9142 2003-03-05  Angus Leeming  <leeming@lyx.org>
9143
9144         * commandtags.h:
9145         * LyXAction.C (init):
9146         * BufferView_pimpl.C (dispatch):
9147         * lyxfunc.C (getStatus):
9148         remove LFUN_CHILD_INSERT.
9149
9150         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9151
9152 2003-03-05  Angus Leeming  <leeming@lyx.org>
9153
9154         * commandtags.h:
9155         * LyXAction.C (init):
9156         * src/factory.C (createInset):
9157         * lyxfunc.C (getStatus):
9158         * text3.C (dispatch):
9159         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9160
9161         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9162
9163 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9164
9165         * ParagraphList.C (insert): handle insert right before end()
9166         (erase): fix cases where it can be first or last paragraph.
9167
9168 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9169
9170         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9171         Paragraph::next and Paragraph::previous
9172         (TeXOnePar): ditto
9173
9174         * text.C (breakParagraph): adjust
9175
9176         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9177         BufferParams& as arg.
9178         (breakParagraph): use ParagraphList::insert
9179         (breakParagraphConservative): take a Buffer* instead of a
9180         BufferParams& as arg.
9181         (breakParagraphConservative): use ParagraphList::insert.
9182
9183         * buffer.C (insertStringAsLines): un-const it
9184         (insertStringAsLines): adjust
9185
9186         * ParagraphList.C (insert): new function
9187
9188         * CutAndPaste.C (pasteSelection): adjust
9189
9190         * text.C (backspace): adjust
9191
9192         * tabular.C (SetMultiColumn): adjust
9193
9194         * CutAndPaste.C (cutSelection): adjust
9195         (pasteSelection): adjust
9196
9197         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9198         Buffer const * as arg
9199
9200         * ParagraphList.C (erase): new function
9201         * paragraph_funcs.C (mergeParagraph): use it
9202         (mergeParagraph): make it take a Buffer* instead of a
9203         BufferParams* as arg
9204
9205         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9206         as arg
9207         (breakParagraphConservative): ditto
9208
9209         * paragraph.h: remove the breakParagraph friend
9210
9211         * paragraph.C (eraseIntern): new function
9212         (setChange): new function
9213
9214         * paragraph_funcs.C (mergeParagraph): make it take a
9215         ParagraphList::iterator instead of a Paragraph *, adjust
9216         accordingly.
9217
9218         * paragraph.h: move an #endif so that the change tracking stuff
9219         also works in the NO_NEXT case.
9220
9221 2003-03-04  Angus Leeming  <leeming@lyx.org>
9222
9223         * commandtags.h:
9224         * LyXAction.C: new LFUN_INSET_MODIFY.
9225
9226         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9227         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9228
9229 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9230
9231         * several files: ws changes only
9232
9233         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9234         (TeXEnvironment): ditto
9235         (TeXDeeper): ditto
9236
9237         * buffer.C (makeLaTeXFile): adjust
9238         (latexParagraphs): make it take ParagraphList::iterator as args
9239
9240 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9241
9242         * buffer.C (latexParagraphs): adjust
9243
9244         * paragraph.C (TeXOnePar): move function...
9245         (optArgInset): move function...
9246         (TeXEnvironment): move function...
9247         * paragraph_pimpl.C (TeXDeeper): move function...
9248         * paragraph_funcs.C: ...here
9249
9250         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9251
9252 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9253
9254         * buffer.C (readInset): remove compability code for old Figure and
9255         InsetInfo insets
9256
9257 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9258
9259         * buffer.C: ws changes
9260         (readInset):
9261
9262         * BufferView_pimpl.C: ditto
9263         * author.C: ditto
9264         * buffer.h: ditto
9265         * bufferlist.h: ditto
9266         * changes.h: ditto
9267         * lyxfunc.C: ditto
9268
9269 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9270
9271         * converter.[Ch]: split into itself +
9272         * graph.[Ch]
9273         * format.[Ch]
9274         * Makefile.am: += graph.[Ch] + format.[Ch]
9275         * MenuBackend.C
9276         * buffer.C
9277         * exporter.C
9278         * importer.C
9279         * lyx_main.C
9280         * lyxfunc.C
9281         * lyxrc.C: added #include "format.h"
9282
9283 2003-02-27  Angus Leeming  <leeming@lyx.org>
9284
9285         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9286           a label.
9287
9288         * factory.C (createInset): add "label" to the factory.
9289
9290         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9291           string and do no more.
9292
9293 2003-02-27  Angus Leeming  <leeming@lyx.org>
9294
9295         * commandtags.h:
9296         * LyXAction.C (init):
9297         * factory.C (createInset):
9298         * BufferView_pimpl.C (dispatch):
9299           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9300
9301         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9302
9303         * lyxfunc.C (dispatch):
9304         * text3.C (dispatch): pass name to params2string.
9305
9306 2003-02-26  Angus Leeming  <leeming@lyx.org>
9307
9308         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9309           blocks together.
9310           Rearrange the ~includes. Strip out the unnecessary ones.
9311
9312         * factory.C (createInset): reformat.
9313           create new insets for the various LFUN_XYZ_APPLY lfuns.
9314
9315 2003-02-26  John Levon  <levon@movementarian.org>
9316
9317         * lyxrow.h:
9318         * lyxrow.C: add isParStart,isParEnd helpers
9319
9320         * paragraph.h: make isInserted/DeletedText take refs
9321
9322         * paragraph_funcs.h:
9323         * paragraph_funcs.C: remove #if 0'd code
9324
9325         * lyxtext.h:
9326         * text3.C:
9327         * text2.C:
9328         * text.C: use lyxrow helpers above.
9329           Move draw and paint routines to RowPainter.
9330           Make several methods use refs not pointers.
9331           Make backgroundColor() const.
9332           Add markChangeInDraw(), isInInset().
9333           Merge changeRegionCase into changeCase.
9334           Make workWidth() shouldn't-happen code into an Assert.
9335
9336         * rowpainter.h:
9337         * rowpainter.C: new class for painting a row.
9338
9339         * vspace.h:
9340         * vspace.C: make inPixels take a ref
9341
9342 2003-02-26  Angus Leeming  <leeming@lyx.org>
9343
9344         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9345         LFUN_REF_APPLY.
9346
9347 2003-02-25  John Levon  <levon@movementarian.org>
9348
9349         * ispell.C: give the forked command a more accurate name
9350
9351 2003-02-22  John Levon  <levon@movementarian.org>
9352
9353         * toc.h:
9354         * toc.C: make TocItem store an id not a Paragraph *
9355           (bug #913)
9356
9357 2003-02-21  Angus Leeming  <leeming@lyx.org>
9358
9359         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9360           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9361           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9362           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9363           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9364           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9365
9366         * BufferView_pimpl.C (dispatch):
9367         * LyXAction.C (init):
9368         * factory.C (createInset):
9369         * lyxfunc.C (getStatus, dispatch):
9370         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9371
9372 2003-02-21  Angus Leeming  <leeming@lyx.org>
9373
9374         * BufferView_pimpl.C (MenuInsertLyXFile):
9375         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9376         * lyxfunc.C (menuNew, open, doImport):
9377           no longer pass a LyXView & to fileDlg.
9378
9379 2003-02-21  Angus Leeming  <leeming@lyx.org>
9380
9381         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9382         * LyXAction.C: change, BIBKEY to BIBITEM.
9383         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9384         Change InsetBibKey to InsetBibitem.
9385         Change BIBKEY_CODE to BIBITEM_CODE.
9386         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9387         * factory.C: replace insetbib.h with insetbibitem.h.
9388         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9389         * paragraph.C: replace insetbib.h with insetbibitem.h.
9390         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9391         Change bibkey() to bibitem().
9392         * text.C: remove insetbib.h.
9393         * text2.C: replace insetbib.h with insetbibitem.h.
9394         change bibkey() to bibitem().
9395         * text3.C: remove insetbib.h.
9396         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9397
9398 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9399
9400         * lyxrc.C (output): enclose user email in quotes (in case there are
9401         several words)
9402
9403 2003-02-18  John Levon  <levon@movementarian.org>
9404
9405         * buffer.h: add std::
9406
9407 2003-02-17  John Levon  <levon@movementarian.org>
9408
9409         * SpellBase.h:
9410         * ispell.h:
9411         * ispell.C:
9412         * pspell.h:
9413         * pspell.C: reworking. Especially in ispell, a large
9414           number of clean ups and bug fixes.
9415
9416         * lyxfunc.C: fix revert to behave sensibly
9417
9418 2003-02-17 André Pönitz <poenitz@gmx.net>
9419
9420         * LyXAction.C:
9421         * commandtags.h: new LFUN_INSERT_BIBKEY
9422
9423         * layout.h:
9424         * lyxlayout.C:
9425         * buffer.C:
9426         * factory.C:
9427         * text.C:
9428         * text2.C:
9429         * text3.C:
9430         * paragraph.[Ch]:
9431         * paragraph_func.C: remove special bibkey handling
9432
9433 2003-02-17  John Levon  <levon@movementarian.org>
9434
9435         * text.C (Delete): fix case where delete at the end of
9436           the very first paragraph would not merge the pars
9437
9438 2003-02-17  John Levon  <levon@movementarian.org>
9439
9440         * lyxrow.C: fix lastPrintablePos()
9441
9442 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9443
9444         * bufferparams.C (writeLaTeX): add a std:here
9445
9446         * buffer.C: and remove a using directive there
9447
9448 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9449
9450         * buffer.C (makeLaTeXFile): move the code that generates the
9451           preamble...
9452
9453         * bufferparams.C (writeLaTeX): ... in this new method
9454
9455         * LaTeXFeatures.C (getEncodingSet): make const
9456           (getLanguages): make const
9457
9458         * MenuBackend.C (binding): returns the binding associated to this
9459           action
9460           (add): sets the status of each item by calling getStatus. Adds
9461           some intelligence.
9462           (read): add support for OptSubMenu
9463           (expand): remove extra separator at the end of expanded menu
9464
9465 2003-02-15  John Levon  <levon@movementarian.org>
9466
9467         * BufferView.C:
9468         * BufferView_pimpl.C:
9469         * bufferlist.h:
9470         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9471           inset code that had no actual effect. Remove unneeded status
9472           code.
9473
9474 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9475
9476         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9477           in preamble
9478
9479 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9480
9481         * text.C (drawLengthMarker): also draw an arrow marker for
9482           symbolic lengths (medskip...)
9483
9484 2003-02-14  John Levon  <levon@movementarian.org>
9485
9486         * tabular.h:
9487         * tabular.C: better method names
9488
9489 2003-02-14  John Levon  <levon@movementarian.org>
9490
9491         * BufferView_pimpl.C:
9492         * bufferlist.C:
9493         * buffer.C:
9494         * converter.C:
9495         * lyx_cb.C:
9496         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9497           it's a more accurate name. Remove some pointless uses.
9498
9499 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9500
9501         * text2.C (LyXText): change order of initilizers to shut off
9502           warnings
9503
9504 2003-02-14  John Levon  <levon@movementarian.org>
9505
9506         * buffer.C: use ParIterator for getParFromID()
9507
9508         * paragraph.h:
9509         * paragraph.C:
9510         * paragraph_pimpl.h:
9511         * paragraph_pimpl.C: remove unused getParFromID()
9512
9513 2003-02-14  John Levon  <levon@movementarian.org>
9514
9515         * buffer.C: remove some very old #if 0'd parse code
9516
9517 2003-02-13  John Levon  <levon@movementarian.org>
9518
9519         * text.h:
9520         * text.C:
9521         * text2.C: move hfillExpansion(), numberOfSeparators(),
9522           rowLast(), rowLastPrintable(), numberofHfills(),
9523           numberOfLabelHfills() ...
9524
9525         * lyxrow.h:
9526         * lyxrow.C: ... to member functions here.
9527
9528         * paragraph.h:
9529         * paragraph.C:
9530         * lyxtext.h:
9531         * text.C: remove LyXText::beginningOfMainBody(), and call
9532           p->beginningOfMainBody() directly. Move the check for
9533           LABEL_MANUAL into the latter.
9534
9535         * text.h:
9536         * text.C:
9537         * text2.C:
9538         * vspace.C:
9539         * BufferView.h:
9540         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9541
9542         * text.h:
9543         * text.C:
9544         * text2.C:
9545         * text3.C:
9546         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9547           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9548
9549 2003-02-13  John Levon  <levon@movementarian.org>
9550
9551         * CutAndPaste.C: remove debug
9552
9553 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9554
9555         * paragraph.C (asString): remove two unused variables
9556
9557         * lyxtextclass.C (readTitleType):
9558           (Read):
9559           (LyXTextClass): handle new members titletype_ and titlename_
9560
9561         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9562
9563 2003-02-09  John Levon  <levon@movementarian.org>
9564
9565         * buffer.h:
9566         * buffer.C: replace hand-coded list with a map for the dep clean
9567
9568 2003-02-08  John Levon  <levon@movementarian.org>
9569
9570         * LaTeX.C: consolidate code into showRunMessage() helper
9571
9572 2003-02-08  John Levon  <levon@movementarian.org>
9573
9574         * lyxfind.C:
9575         * lyxtext.h:
9576         * text2.C:
9577         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9578           and pass the size in explicitly
9579
9580         * BufferView_pimpl.h:
9581         * BufferView_pimpl.C:
9582         * BufferView.h:
9583         * BufferView.C: add getCurrentChange()
9584
9585         * BufferView_pimpl.h:
9586         * BufferView_pimpl.C: handle change lfuns
9587
9588         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9589           for changes. Mark pasted paragraphs as new.
9590
9591         * support/lyxtime.h:
9592         * support/lyxtime.C:
9593         * DepTable.C: abstract time_t as lyx::time_type
9594
9595         * LColor.h:
9596         * LColor.C: add colours for new text, deleted text, changebars
9597
9598         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9599           package use "usenames" option.
9600
9601         * commandtags.h:
9602         * lyxfunc.C:
9603         * LyXAction.C: add change lfuns
9604
9605         * Makefile.am:
9606         * author.h:
9607         * author.C: author handling
9608
9609         * buffer.h:
9610         * buffer.C: add a per-buffer author list, with first entry as
9611           current author. Handle new .lyx tokens for change tracking. Output
9612           author list to .lyx file. Output dvipost stuff to .tex preamble.
9613           Bump lyx format to 222.
9614
9615         * bufferlist.h:
9616         * bufferlist.C: add setCurrentAuthor() to reset current author details
9617           in all buffers.
9618
9619         * bufferparams.h:
9620         * bufferparams.C: add param for tracking
9621
9622         * bufferview_funcs.C: output change info in minibuffer
9623
9624         * Makefile.am:
9625         * changes.h:
9626         * changes.C: add change-tracking structure
9627
9628         * debug.h:
9629         * debug.C: add CHANGES debug flag
9630
9631         * lyxfind.h:
9632         * lyxfind.C: add code for finding the next change piece
9633
9634         * lyxrc.h:
9635         * lyxrc.C: add user_name and user_email
9636
9637         * lyxrow.h:
9638         * lyxrow.C: add a metric for the top of the text line
9639
9640         * lyxtext.h:
9641         * text.C: implement accept/rejectChange()
9642
9643         * lyxtext.h:
9644         * text.C: paint changebars. Paint new/deleted text in the chosen
9645         colours. Strike through deleted text.
9646
9647         * paragraph.h:
9648         * paragraph.C:
9649         * paragraph_pimpl.h:
9650         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9651           in the current change to the insert functions. Rework erase to
9652           mark text as deleted, adding an eraseIntern() and a range-based
9653           erase(). Implement per-paragraph change lookup and
9654           accept/reject.
9655
9656         * paragraph_funcs.C: Fixup paste for change tracking.
9657
9658         * tabular.C: mark added row/columns as new.
9659
9660         * text.C: fix rowLast() to never return -1. Don't allow
9661           spellchecking of deleted text. Track transpose changes. Don't
9662           allow paragraph break or merge where appropriate.
9663
9664         * text2.C: leave cursor at end of selection after a cut.
9665
9666 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9667
9668         * text.C (getLengthMarkerHeight):
9669         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9670         visible on screen too.
9671
9672 2003-02-07  John Levon  <levon@movementarian.org>
9673
9674         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9675
9676 2003-02-05  Angus Leeming  <leeming@lyx.org>
9677
9678         * lyxserver.C (read_ready): revert my patch of 11 September last year
9679         as it sends PC cpu through the roof. Presumably this means that
9680         the lyxserver will no longer run on an Alpha...
9681
9682 2003-01-30  Angus Leeming  <leeming@lyx.org>
9683
9684         * factory.C (createInset): create an InsetCommandParam of type "index"
9685         and use it to 'do the right thing'.
9686
9687         * text2.C (getStringToIndex): ensure that cursor position is always
9688         reset to the reset_cursor position.
9689
9690 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9691
9692         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9693         disabled.
9694
9695 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9696
9697         * bufferview.C:
9698         * lyxcb.C:
9699         * lyxfunc.C: Output messages with identical spelling, punctuation,
9700         and spaces
9701
9702 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9703
9704         * MenuBackend.C (expandFormats): List only viewable export formats
9705         in "View" menu
9706
9707         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9708         message
9709
9710         * lyxfunc.C (getStatus): Make sure that formats other than
9711         "fax" can also be disabled
9712
9713 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9714
9715         * text3.C (dispatch): put the lfuns that insert insets in 3
9716         groups, and call doInsertInset with appropriate arguments.
9717         (doInsertInset): new function, that creates an inset and inserts
9718         it according to some boolean parameters.
9719
9720 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9721
9722         * buffer.C (readFile): remember to pass on 'par' when calling
9723         readFile recursively.
9724
9725 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9726
9727         * MenuBackend.C (expandFormats): add "..." to import formats.
9728
9729 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9730
9731         * paragraph.C (asString): Remove XForms RTL hacks.
9732
9733 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9734         * buffer.C: fix typo
9735
9736 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9737
9738         * Makefile.am (LIBS): delete var
9739         (lyx_LDADD): add @LIBS@ here instead.
9740
9741 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9742
9743         * Clarify the meaning of "wheel mouse jump"
9744
9745 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9746
9747         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9748         tabular in a float
9749
9750 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9751
9752         * importer.C (Loaders): do not preallocate 3 elements in the
9753         vector, since one ends up with 6 elements otherwise
9754
9755 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9756
9757         * DepTable.C (write): write the file name as last element of the
9758         .dep file (because it may contain spaces)
9759         (read): read info in the right order
9760
9761 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9762
9763         * paragraph_pimpl.C (simpleTeXBlanks):
9764         (simpleTeXSpecialChars):
9765         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9766
9767         * tabular.C (latex): add some missing case statements. Reindent.
9768
9769         * MenuBackend.C (expandToc): remove unused variable.
9770
9771 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9772
9773         * LColor.C:
9774         * LaTeX.C:
9775         * LyXAction.C:
9776         * MenuBackend.C:
9777         * buffer.C:
9778         * exporter.C:
9779         * lyxfunc.C:
9780         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9781         and the like.
9782
9783 2003-01-05  John Levon  <levon@movementarian.org>
9784
9785         * BufferView.h:
9786         * BufferView.C: add getEncoding()
9787
9788         * kbsequence.h:
9789         * kbsequence.C: do not store last keypress
9790
9791         * lyxfunc.h:
9792         * lyxfunc.C: store last keypress here instead. Pass encoding
9793           to getISOEncoded()
9794
9795 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9796
9797         * lyx_main.C (init): remove annoying error message when following
9798         symbolic links (bug #780)
9799
9800 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9801
9802         * text.C (insertChar):
9803         * lyxrc.C (getDescription): remove extra spaces
9804
9805 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9806
9807         * lyxrc.C (getDescription): remove extra spaces
9808
9809 2002-12-20  John Levon  <levon@movementarian.org>
9810
9811         * text3.C: hack fix for page up/down across tall rows
9812
9813 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9814
9815         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9816         not been invoked
9817
9818 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9819
9820         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9821         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9822         thesaurus is not compiled in
9823
9824 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9825
9826         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9827
9828 2002-12-16  Angus Leeming  <leeming@lyx.org>
9829
9830         * lyxrc.[Ch]:
9831         * lyx_main.C (init): remove override_x_deadkeys stuff.
9832
9833 2002-12-12  John Levon  <levon@movementarian.org>
9834
9835         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9836           insert. Only remove shift modifier under strict
9837           circumstances.
9838
9839 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9840
9841         * MenuBackend.C (expandToc): fix crash.
9842
9843 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9844
9845         * MenuBackend.C (expandToc): gettext on float names.
9846
9847 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9848
9849         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9850         implement bool empty() [bug 490]
9851
9852 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9853
9854         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9855
9856 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9857
9858         * several files: ws changes
9859
9860 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9861
9862         * text2.C (setCounter): clean up a bit, use boost.format.
9863         (updateCounters): initialize par upon declaration.
9864
9865         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9866         if the layout exists. We do not just store the layout any more.
9867         (SwitchLayoutsBetweenClasses): use boost.format
9868
9869 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9870
9871         * converter.C (convert): if from and to files are the same, use a
9872         temporary files as intermediary
9873
9874 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9875
9876         * commandtags.h:
9877         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9878
9879 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9880
9881         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9882
9883 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9884
9885         * tabular.C (asciiPrintCell): use string(size, char) instead of
9886         explicit loop.
9887
9888         * sgml.C (openTag): fix order of arguments to string constructor
9889         (closeTag): ditto
9890
9891         * lyxfunc.C (dispatch): use boost.format
9892
9893         * lots of files: change "c" -> 'c'
9894
9895 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9896
9897         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9898
9899 2002-11-25  Angus Leeming  <leeming@lyx.org>
9900
9901         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9902
9903         * lyx_main.C (init): compile fix.
9904
9905 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9906
9907         * lyx_cb.C (start): boost.formatify
9908         do not include <iostream>
9909
9910         * lengthcommon.C: ws only
9911
9912         * boost-inst.C,BoostFormat.h: add more explict instantations
9913
9914 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9915
9916         * lots of files: handle USE_BOOST_FORMAT
9917
9918 2002-11-21  John Levon  <levon@movementarian.org>
9919
9920         * pspell.C: fix compile
9921
9922 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9923
9924         * lyxfunc.C (dispatch): use boost::format
9925         (open): ditto
9926         (doImport): ditto
9927
9928         * lyxfont.C (stateText): use boost::format
9929
9930         * lyx_main.C (LyX): use boost::format
9931         (init): ditto
9932         (queryUserLyXDir): ditto
9933         (readRcFile): ditto
9934         (parse_dbg): ditto
9935         (typedef boost::function): use the recommened syntax.
9936
9937         * importer.C (Import): use boost::format
9938
9939         * debug.C (showLevel): use boost::format
9940
9941         * converter.C (view): use boost::format
9942         (convert): ditto
9943         (move): ditto
9944         (scanLog): ditto
9945
9946         * bufferview_funcs.C (currentState): use boost::format
9947
9948         * bufferlist.C (emergencyWrite): use boost::format
9949
9950         * buffer.C (readLyXformat2): use boost::format
9951         (parseSingleLyXformat2Token): ditto
9952
9953         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9954
9955         * LaTeX.C (run): use boost::format
9956
9957         * Chktex.C (scanLogFile): use boost::format
9958
9959         * BufferView_pimpl.C (savePosition): use boost::format
9960         (restorePosition): ditto
9961         (MenuInsertLyXFile): ditto
9962
9963         * BoostFormat.h: help file for explicit instation.
9964
9965 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9966
9967         * tabular.C (latex): Support for block alignment in fixed width
9968         columns.
9969
9970 2002-11-17  John Levon  <levon@movementarian.org>
9971
9972         * BufferView_pimpl.C:
9973         * lyx_cb.C:
9974         * lyxfunc.C: split filedialog into open/save
9975
9976 2002-11-08  Juergen Vigna  <jug@sad.it>
9977
9978         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9979         by my last patch (hopefully).
9980
9981 2002-11-08  John Levon  <levon@movementarian.org>
9982
9983         * iterators.h:
9984         * iterators.C:
9985         * buffer.h:
9986         * buffer.C:
9987         * paragraph.h:
9988         * paragraph.C:
9989         * toc.h:
9990         * toc.C: ParConstIterator, and use it (from Lars)
9991
9992 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9993
9994         * lyxtextclass.[Ch]: revise and add doxygen comments
9995
9996 2002-11-07  John Levon  <levon@movementarian.org>
9997
9998         * text.C: fix progress value for spellchecker
9999
10000         * toc.C: fix navigate menu for insetwrap inside minipage
10001
10002         * paragraph_funcs.C: added FIXME for suspect code
10003
10004 2002-11-07  John Levon  <levon@movementarian.org>
10005
10006         * BufferView_pimpl.C: fix redrawing of insets
10007           on buffer switch
10008
10009 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10010
10011         * text2.C (updateCounters): fix bug 668
10012
10013 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10014
10015         * text3.C (dispatch): Do not make the buffer dirty when moving the
10016         cursor.
10017
10018 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10019
10020         * vc-backend.C: STRCONV
10021         (scanMaster): ditto
10022
10023         * text2.C (setCounter): STRCONV
10024
10025         * paragraph.C (asString): STRCONV
10026
10027         * lyxlength.C (asString): STRCONV
10028         (asLatexString): ditto
10029
10030         * lyxgluelength.C (asString): STRCONV
10031         (asLatexString): ditto
10032
10033         * lyxfunc.C (dispatch): STRCONV
10034         (open): ditto
10035
10036         * lyxfont.C (stateText): STRCONV
10037
10038         * importer.C (Import): STRCONV
10039
10040         * counters.C (labelItem): STRCONV
10041         (numberLabel): ditto
10042         (numberLabel): remove unused ostringstream o
10043
10044         * chset.C: STRCONV
10045         (loadFile): ditto
10046
10047         * bufferview_funcs.C (currentState): STRCONV
10048
10049         * buffer.C (readFile): STRCONV
10050         (asciiParagraph): ditto
10051         (makeLaTeXFile): ditto
10052
10053         * Spacing.C (writeEnvirBegin): STRCONV
10054
10055         * LaTeXFeatures.C (getLanguages): STRCONV
10056         (getPackages): ditto
10057         (getMacros): ditto
10058         (getBabelOptions): ditto
10059         (getTClassPreamble): ditto
10060         (getLyXSGMLEntities): ditto
10061         (getIncludedFiles): ditto
10062
10063         * LaTeX.C: STRCONV
10064         (run): ditto
10065         (scanAuxFile): ditto
10066         (deplog): ditto
10067
10068         * LString.h: add the STRCONV macros
10069
10070         * BufferView_pimpl.C (savePosition): STRCONV
10071         (restorePosition): ditto
10072         (MenuInsertLyXFile): ditto
10073
10074         * vc-backend.C (scanMaster): change from submatch[...] to
10075         submatch.str(...)
10076
10077         * funcrequest.C: include config.h
10078
10079         * factory.C: include config.h
10080
10081         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10082
10083         * box.C: include config.h
10084
10085         * LaTeX.C (scanAuxFile): change from submatch[...] to
10086         submatch.str(...)
10087         (deplog): ditto
10088
10089 2002-10-25  Angus Leeming  <leeming@lyx.org>
10090
10091         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10092
10093         * ispell.[Ch] (setError): new method.
10094         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10095         Use setError() insetead of goto END.
10096
10097         * lyx_cb.C (AutoSave): move out child process into new class
10098         AutoSaveBuffer.
10099
10100 2002-10-30  John Levon  <levon@movementarian.org>
10101
10102         * text3.C: make start appendix undoable
10103
10104 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10105
10106         * lyxlength.C (inPixels): Fix returned value.
10107
10108         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10109         environment.
10110
10111 2002-10-24  Angus Leeming  <leeming@lyx.org>
10112
10113         * lyxgluelength.h: no need to forward declare BufferParams
10114         or BufferView, so don't.
10115
10116 2002-10-21  John Levon  <levon@movementarian.org>
10117
10118         * BufferView.C: menuUndo ->undo, redo
10119
10120         * BufferView.h: document, remove dead, make some methods private
10121
10122         * paragraph_funcs.h:
10123         * paragraph_funcs.C:
10124         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10125
10126         * buffer.h:
10127         * buffer.C:
10128         * sgml.h:
10129         * sgml.C: move sgml open/close tag into sgml.C
10130
10131         * bufferview_funcs.h: unused prototype
10132
10133         * lyxfunc.h:
10134         * lyxfunc.C: remove unused
10135
10136         * lyxtext.h:
10137         * text.C: remove unused
10138
10139 2002-10-21  John Levon  <levon@movementarian.org>
10140
10141         * BufferView.h:
10142         * BufferView.C:
10143         * BufferView_pimpl.h:
10144         * BufferView_pimpl.C: fix mouse wheel handling based on
10145           patch from Darren Freeman
10146
10147 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10148
10149         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10150
10151 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10152
10153         * lyxlength.C (inPixels): Fix hanfling of negative length.
10154         Fix LyXLength::MU case.
10155
10156 2002-10-16  John Levon  <levon@movementarian.org>
10157
10158         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10159
10160 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10161
10162         * converter.C (view): add support for $$i (file name) and $$p
10163         (file path) for the viewer command. If $$i is not specified, then
10164         it is appended to the command (for compatibility with old syntax)
10165
10166 2002-10-14  Juergen Vigna  <jug@sad.it>
10167
10168         * undo_funcs.C (textHandleUndo): alter the order in which the
10169         new undopar is added to the LyXText, as we have to set first
10170         the right prev/next and then add it as otherwise the rebuild of
10171         LyXText is not correct. Also reset the cursor to the right paragraph,
10172         with this IMO we could remove the hack in "redoParagraphs()".
10173
10174 2002-10-09  Angus Leeming  <leeming@lyx.org>
10175
10176         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10177         to turn off an optimisation if a new inset is to be inserted.
10178
10179 2002-10-11 André Pönitz <poenitz@gmx.net>
10180
10181         * lyxtext.h: make some functions public to allow access
10182         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10183
10184 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10185
10186         * text3.C (dispatch): when changing layout, avoid an infinite loop
10187         [bug #652]
10188
10189 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10190
10191         * lyxrc.C (read): treat a viewer or converter command of "none" as
10192         if it were empty.
10193
10194         * MenuBackend.C (expandFormats): for an update, also allow the
10195         formats that are not viewable
10196
10197         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10198         script if it is newer than the lyxrc.defaults in user directory
10199
10200 2002-10-07 André Pönitz <poenitz@gmx.net>
10201
10202         * text.C: Vitaly Lipatov's small i18n fix
10203
10204 2002-09-25  Angus Leeming  <leeming@lyx.org>
10205
10206         * ispell.h: doxygen fix.
10207
10208 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10209
10210         * buffer.h (readFile): Add a new argument to the method, to allow
10211         reading of old-format templates.
10212
10213 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10214
10215         * toc.C (getTocList): Get TOC from InsetWrap.
10216
10217 2002-09-16  John Levon  <levon@movementarian.org>
10218
10219         * lyxfunc.C: check tabular for cut/copy too
10220
10221 2002-09-12  John Levon  <levon@movementarian.org>
10222
10223         * LyXAction.C: tidy
10224
10225         * factory.h:
10226         * factory.C: add header
10227
10228         * paragraph_funcs.h:
10229         * paragraph_funcs.C: cleanup
10230
10231 2002-09-11  John Levon  <levon@movementarian.org>
10232
10233         * PrinterParams.h: odd/even default to true
10234
10235 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10236
10237         * PrinterParams.h: update printer parameters for new xforms dialog
10238
10239 2002-09-11  Angus Leeming  <leeming@lyx.org>
10240
10241         * lyxserver.C (read_ready): re-write to make it more transparent
10242         and to make it work in coherent fashion under Tru64 Unix.
10243
10244 2002-09-11  André Pönitz <poenitz@gmx.net>
10245
10246         * commandtags.h:
10247         * LyXAction.C:
10248         * text3.C: implement LFUN_WORDSEL
10249
10250 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10251
10252         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10253         make floatlist_ a boost::shared_ptr<FloatList>
10254
10255         * lyxtextclass.C: include FloatList.h
10256         (LyXTextClass): initialize floatlist_
10257         (TextClassTags): add TC_NOFLOAT
10258         (Read): match "nofloat" to TC_NOFLOAT and use it.
10259         (readFloat): modify call to floatlist_
10260         (floats): ditto
10261         (floats): ditto
10262
10263         * FloatList.[Ch] (FloatList): remove commented out float
10264         initialization.
10265         (erase): new function
10266
10267 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10268
10269         * MenuBackend.C (expandToc): fix crash when there is no document
10270         open
10271
10272 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10273
10274         * many files: Add insetwrap.
10275
10276 2002-09-09  John Levon  <levon@movementarian.org>
10277
10278         * text2.C: remove confusing and awkward depth wraparound
10279
10280 2002-09-09  John Levon  <levon@movementarian.org>
10281
10282         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10283
10284         * buffer.h:
10285         * buffer.C: remove getIncludeonlyList()
10286
10287         * paragraph.C:
10288         * lyxfunc.C: remove headers
10289
10290 2002-09-09  Juergen Vigna  <jug@sad.it>
10291
10292         * text.C (getColumnNearX): fix form Michael this is most
10293         probably a cut&paste bug.
10294
10295 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10296
10297         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10298
10299         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10300         references, ws changes.
10301
10302         * text2.C (init): update counters after init
10303         (insertParagraph): no need to set counter on idividual paragraphs.
10304         (setCounter): access the counters object in the textclass object
10305         on in the buffer object.
10306         (updateCounters): ditto
10307
10308         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10309         shared_ptr<Counters> to avoid loading counters.h in all
10310         compilation units.
10311         (LyXTextClass): initialize ctrs_
10312         (TextClassTags): add TC_COUNTER, and ...
10313         (Read): use it here.
10314         (CounterTags): new tags
10315         (readCounter): new function
10316         (counters): new funtion
10317         (defaultLayoutName): return a const reference
10318
10319         * counters.C (Counters): remove contructor
10320         (newCounter): remove a couple of unneeded statements.
10321         (newCounter): simplify a bit.
10322         (numberLabel): some small formatting changes.
10323
10324         * buffer.[Ch]: remove all traces of counters, move the Counters
10325         object to the LyXTextClass.
10326
10327 2002-09-06  Alain Castera  <castera@in2p3.fr>
10328
10329         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10330         package to set the horizontal alignment on fixed width columns.
10331
10332         * lyx_sty.C:
10333         * lyx_sty.h: added tabularnewline macro def.
10334
10335         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10336
10337 2002-09-06  John Levon  <levon@movementarian.org>
10338
10339         * LyXAction.C: tooltips for sub/superscript
10340
10341         * MenuBackend.C: a bit more verbose
10342
10343         * lyxfunc.C: tiny clean
10344
10345         * undo_funcs.C: document undo_frozen
10346
10347 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10348
10349         * counters.C (Counters): add missing algorithm counter.
10350
10351         * text2.C (setCounter): lookup the counter with layouts latexname
10352         instead of by section number.
10353         (setCounter): use a hackish way to lookup the correct enum
10354         counter.
10355         a float name->type change
10356         reset enum couners with counter name directly instead of depth value.
10357
10358         * counters.C (Counters): remove the push_backs, change to use the
10359         float type not the float name.
10360         (labelItem): remove unused string, float name->type change
10361
10362         * counters.h: don't include vector, loose the enums and sects vectors
10363
10364 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10365
10366         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10367         (Read): add float->TC_FLOAT to textclassTags
10368         (Read): and handle it in the switch
10369         (readFloat): new function
10370
10371         * FloatList.C (FloatList): comment out the hardcoded float
10372         definitions.
10373
10374         * lyxlayout.h: ws change.
10375
10376 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10377
10378         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10379
10380 2002-09-03  Angus Leeming  <leeming@lyx.org>
10381
10382         * BufferView_pimpl.h: qualified name is not allowed in member
10383         declaration: WorkArea & Pimpl::workarea() const;
10384
10385         * factory.C: added using std::endl directive.
10386
10387         * text3.C: added using std::find and std::vector directives.
10388
10389 2002-08-29  André Pönitz <poenitz@gmx.net>
10390
10391         * lyxtext.h:
10392         * text2.C: remove unused member number_of_rows
10393
10394         * Makefile.am:
10395         * BufferView2.C: remove file, move contents to...
10396         * BufferView.C: ... here
10397
10398         * BufferView_pimpl.C:
10399         * factory.C: move more inset creation to factory
10400
10401         * vspace.C: avoid direct usage of LyXText, ws changes
10402
10403         * BufferView.[Ch]:
10404                 don't provide direct access to WorkArea, use two simple
10405                 acessors haveSelction() and workHeight() instead
10406
10407
10408 2002-08-29  John Levon  <levon@movementarian.org>
10409
10410         * BufferView_pimpl.C (dispatch): do not continue when
10411           no buffer
10412
10413 2002-08-28  André Pönitz <poenitz@gmx.net>
10414
10415         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10416
10417         * BufferView.h:
10418         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10419
10420 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10421
10422         * buffer.C: increment LYX_FORMAT to 221
10423
10424         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10425         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10426
10427         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10428
10429         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10430
10431 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10432
10433         * factory.C (createInset): use LyXTextClass::floats
10434
10435         * MenuBackend.C (expandFloatListInsert):
10436         (expandFloatInsert):
10437         (expandToc):
10438
10439         * text2.C (setCounter):
10440
10441         * LaTeXFeatures.C (useFloat):
10442         (getFloatDefinitions):
10443
10444         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10445
10446         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10447         floatlist_, with accessor floats().
10448
10449         * FloatList.h: remove global FloatList
10450
10451 2002-08-26  André Pönitz <poenitz@gmx.net>
10452
10453         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10454
10455         * BufferView.h:
10456         * BufferView2.C:
10457         * BufferView_pimpl.C:
10458         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10459
10460 2002-08-25  John Levon  <levon@movementarian.org>
10461
10462         * LyXAction.C: fix margin note description
10463
10464 2002-08-24  John Levon  <levon@movementarian.org>
10465
10466         * buffer.C:
10467         * bufferlist.C:
10468         * bufferview_funcs.C:
10469         * lyxfont.C:
10470         * undo_funcs.C: cleanups
10471
10472         * lyxfunc.C: disable CUT/COPY when no selection
10473
10474 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10475
10476         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10477         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10478
10479         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10480         Add backward compatibility to "mono", "gray" and "no".
10481
10482 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10483
10484         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10485         (and file_format >= 200).
10486
10487 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10488
10489         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10490
10491 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10492
10493         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10494
10495 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10496
10497         * BufferView_pimpl.C:
10498         * LyXAction.C:
10499         * buffer.C:
10500         * commandtags.h:
10501         * lyxfunc.C:
10502         * paragraph.[Ch]:
10503         * text2.C:
10504         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10505         inset and code to make it  work with the paragraph code. The inset
10506         can be anywhere in the paragraph, but will only do the expected
10507         thing in LaTeX if the layout file contains the parameter line
10508                         OptionalArgs    1
10509         (or more generally, a nonzero value) for that layout.
10510
10511 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10512
10513         * paragraph.h: remove the declaration of undefined counters class
10514         function.
10515
10516 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10517
10518         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10519         Dr. Richard Hawkins.
10520
10521 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10522
10523         * paragraph_funcs.h: remove some unneeded includes
10524
10525         * text.C (backspace): pasteParagraph now in global scipe
10526
10527         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10528         (pasteSelection): ditto
10529
10530         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10531         * paragraph_funcs.C (pasteParagraph): ... here
10532
10533 2002-08-20  André Pönitz <poenitz@gmx.net>
10534
10535         * commandtags.h: new LFUNs for swapping/copying table row/colums
10536
10537         * LyXAction.C:
10538         * lyxfunc.C: support for new lfuns
10539
10540 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10541
10542         * tabular.C:
10543         * buffer.[Ch]: remove NO_COMPABILITY stuff
10544
10545 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10546
10547         * boost.C (throw_exception): new file, with helper function for
10548         boost compiled without exceptions.
10549
10550         * paragraph.h:
10551         * lyxlength.C:
10552         * buffer.C:
10553         * ParameterStruct.h:
10554         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10555
10556         * bufferlist.C (emergencyWriteAll): use boost bind
10557
10558         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10559
10560         * text.C: include paragraph_funcs.h
10561         (breakParagraph): breakParagraph is now in global scope
10562
10563         * paragraph_funcs.[Ch]: new files
10564
10565         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10566         global scope
10567
10568         * buffer.C: include paragraph_funcs.h
10569         (insertStringAsLines): breakParagraph is now in global scope
10570
10571         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10572         paragraph_funcs.C
10573
10574         * CutAndPaste.C: include paragraph_funcs.h
10575         (cutSelection): breakParagraphConservative is now in global scope
10576         (pasteSelection): ditto
10577
10578         * buffer.h: declare oprator== and operator!= for
10579         Buffer::inset_iterator
10580
10581         * bufferlist.C (emergencyWrite): don't use fmt(...)
10582
10583         * text3.C: add using std::endl
10584
10585         * BufferView.C (moveCursorUpdate): remove default arg
10586
10587 2002-08-20  André Pönitz <poenitz@gmx.net>
10588
10589         * buffer.[Ch]: move inline functions to .C
10590
10591         * BufferView2.C:
10592         * BufferView_pimpl.C:
10593         * text.C:
10594         * buffer.[Ch]: use improved inset_iterator
10595
10596         * buffer.C:
10597         * paragraph.[Ch]: write one paragraph at a time
10598
10599 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10600
10601         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10602         style if style is not specified.
10603
10604 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10605
10606         * text2.C (setCounter): when searching for right label for a
10607         caption, make sure to recurse to parent insets (so that a caption
10608         in a minipage in a figure float works) (bug #568)
10609
10610 2002-08-20  André Pönitz <poenitz@gmx.net>
10611
10612         * text3.C: new file for LyXText::dispatch() and helpers
10613
10614         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10615
10616         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10617
10618 2002-08-19  André Pönitz <poenitz@gmx.net>
10619
10620         * lyxtext.h:
10621         * text.C: new LyXText::dispatch()
10622
10623         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10624
10625 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10626
10627         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10628
10629         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10630         Hebrew text.
10631
10632 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10633
10634         * Makefile.am: use $(variables) instead of @substitutions@
10635
10636 2002-08-15  André Pönitz <poenitz@gmx.net>
10637
10638         * lyxfunc.C:
10639         * BufferView_pimpl.C: streamlining mathed <-> outer world
10640         interaction
10641
10642         * commandtags.h:
10643         * LyXAction.C: remove unused LFUN_MATH
10644
10645 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10646
10647         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10648
10649 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10650
10651         * paragraph.C (Paragraph): reformat a bit
10652         (cutIntoMinibuffer): use builtin InsetList function instad of
10653         doing it manually.
10654         (getInset): ditto
10655
10656         * buffer.C: include boost/bind.hpp, add using std::for_each
10657         (writeFileAscii): use ParagraphList iterators
10658         (validate): use for_each for validate traversal of paragraphs
10659         (getBibkeyList): use ParagraphList iterators
10660         (resizeInsets): use for_each to resizeInsetsLyXText for all
10661         paragraphs.
10662         (getParFromID): use ParagraphList iterators
10663
10664         * BufferView2.C (lockInset): use paragraph list and iterators
10665
10666 2002-08-14  John Levon  <levon@movementarian.org>
10667
10668         * lyxserver.C: remove spurious xforms include
10669
10670 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10671
10672         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10673
10674 2002-08-13  André Pönitz <poenitz@gmx.net>
10675
10676         * LyXAction.[Ch]:
10677         * lyxfunc.C: further cleaning
10678
10679 2002-08-13  André Pönitz <poenitz@gmx.net>
10680
10681         * funcrequest.h: new constructor
10682
10683         * funcrequest.C: move stuff here from .h
10684
10685         * Makefile.am:
10686         * BufferView_pimpl.C:
10687         * LyXAction.C:
10688         * toc.C:
10689         * lyxfunc.C: subsequent changes
10690
10691         * lyxfunc.h: new view() member function
10692
10693         * lyxfunc.C: subsequent changes
10694
10695 2002-08-13  Angus Leeming  <leeming@lyx.org>
10696
10697         * BufferView2.C:
10698         * BufferView_pimpl.C:
10699         * buffer.C:
10700         * converter.C:
10701         * importer.C:
10702         * lyxfunc.C:
10703         * lyxvc.C:
10704         * toc.C:
10705         * vc-backend.C:
10706         changes due to the changed LyXView interface that now returns references
10707         to member variables not pointers.
10708
10709 2002-08-13  Angus Leeming  <leeming@lyx.org>
10710
10711         * WordLangTuple (word, lang_code): return references to strings,
10712         not strings.
10713
10714         * BufferView.h:
10715         * SpellBase.h:
10716         * lyxtext.h: forward-declare WordLangTuple.
10717
10718         * BufferView2.C:
10719         * ispell.C:
10720         * pspell.C:
10721         * text.C: #include "WordLangTuple.h".
10722
10723         * lyxtext.h:
10724         * text.C: (selectNextWordToSpellcheck): constify return type.
10725
10726 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10727
10728         * buffer.C:
10729         * buffer.h:
10730         * lyxtext.h:
10731         * paragraph.C:
10732         * paragraph_pimpl.h:
10733         * text.C:
10734         * text2.C:
10735         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10736         suggested by Angus.
10737         Made updateCounter always count from start of buffer, and removed
10738         second argument (par).
10739         Reverted floats number display to '#'. Perhaps I'll try again when the
10740         code base is sanitized a bit.
10741
10742 2002-08-12  Angus Leeming  <leeming@lyx.org>
10743
10744         * buffer.[Ch] (getLabelList): constify.
10745
10746 2002-08-07  André Pönitz <poenitz@gmx.net>
10747
10748         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10749
10750         * funcrequest.h: extension to keep mouse (x,y) position
10751
10752 2002-08-12  Juergen Vigna  <jug@sad.it>
10753
10754         * BufferView2.C (insertErrors): forbid undo when inserting error
10755         insets.
10756
10757         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10758
10759 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10760
10761         * ParagraphList.[Ch]: new files
10762
10763         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10764
10765         * BufferView2.C (lockInset): ParagraphList changes
10766         * toc.C: ditto
10767         * text2.C: ditto
10768         * bufferlist.C: ditto
10769         * buffer.h: ditto
10770         * buffer.C: ditto
10771
10772 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10773
10774         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10775         unused class variable counter_,
10776
10777         * paragraph.[Ch] (getFirstCounter): delete unused function
10778
10779         * counters.C: include LAssert.h
10780         (reset): add a new function with no arg, change other version to
10781         not have def. arg and to not allow empty arg.
10782
10783         * text2.C (setCounter): remove empty arg from call to Counters::reset
10784
10785 2002-08-11  John Levon  <levon@movementarian.org>
10786
10787         * Makefile.am: add WordLangTuple.h
10788
10789 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10790
10791         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10792         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10793
10794         * insets/insettext.C: InsetList changes
10795
10796         * graphics/GraphicsSupport.C (operator()): InsetList changes
10797
10798         * toc.C (getTocList): InsetList changes
10799
10800         * paragraph_pimpl.[Ch]: InsetList changes
10801
10802         * paragraph.[Ch]: InsetList changes
10803
10804         * buffer.C (inset_iterator): InsetList changes
10805         (setParagraph): ditto
10806         * buffer.h (inset_iterator): ditto
10807         * iterators.C (operator++): ditto
10808         * iterators.h: ditto
10809
10810         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10811
10812         * InsetList.[Ch]: new files, most InsetList handling moved out of
10813         paragraph.C.
10814
10815         * BufferView2.C (removeAutoInsets): InsetList changes
10816         (lockInset): ditto
10817         (ChangeInsets): ditto
10818
10819 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10820
10821         * paragraph_pimpl.h (empty): new function
10822
10823         * paragraph.[Ch] (empty): new function
10824
10825         * other files: use the new Paragraph::empty function
10826
10827 2002-08-09  John Levon  <levon@movementarian.org>
10828
10829         * lyxtext.h: remove unused refresh_height
10830
10831 2002-08-09  John Levon  <levon@movementarian.org>
10832
10833         * Makefile.am:
10834         * sgml.h:
10835         * sgml.C:
10836         * buffer.C:
10837         * paragraph.h:
10838         * paragraph.C: move sgml char escaping out of paragraph
10839
10840         * paragraph.h:
10841         * paragraph.C: remove id setter
10842
10843         * buffer.C:
10844         * paragraph.C:
10845         * paragraph_pimpl.C: remove dead tex_code_break_column
10846
10847         * bufferview_funcs.C: small cleanup
10848
10849         * lyxfunc.C: remove dead proto
10850
10851         * lyxtext.h: make some stuff private. Remove some dead stuff.
10852
10853         * lyxgluelength.C: make as[LyX]String() readable
10854
10855 2002-08-08  John Levon  <levon@movementarian.org>
10856
10857         * LyXAction.h:
10858         * LyXAction.C:
10859         * MenuBackend.C:
10860         * ToolbarDefaults.C:
10861         * lyxfunc.C:
10862         * lyxrc.C:
10863         * toc.C: lyxaction cleanup
10864
10865 2002-08-08  John Levon  <levon@movementarian.org>
10866
10867         * BufferView2.C: small cleanup
10868
10869         * lyxfind.h:
10870         * lyxfind.C: move unnecessary header into the .C
10871
10872 2002-08-08  John Levon  <levon@movementarian.org>
10873
10874         * funcrequest.h: just tedious nonsense
10875
10876         * lyx_main.h:
10877         * lyx_main.C: cleanups
10878
10879         * buffer.C:
10880         * vspace.C: remove dead header lyx_main.h
10881
10882 2002-08-07  Angus Leeming  <leeming@lyx.org>
10883
10884         * Paragraph.[Ch]:
10885         * paragraph_pimpl.h:
10886         Forward declare class Counters in paragraph.h by moving the ctrs member
10887         variable into Paragraph::Pimpl.
10888         (counters): new method, returning a reference to pimpl_->ctrs.
10889
10890         * text2.C: ensuing changes.
10891
10892 2002-08-07  John Levon  <levon@movementarian.org>
10893
10894         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10895
10896         * BufferView_pimpl.C: announce X selection on double/triple
10897           click
10898
10899         * lyx_main.C: use correct bool in batch dispatch
10900
10901         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10902
10903 2002-08-07  André Pönitz <poenitz@gmx.net>
10904
10905         * funcrequest.h: new class to wrap a kb_action and its argument
10906
10907         * BufferView.[Ch]:
10908         * BufferView_pimpl[Ch]:
10909         * LaTeX.C:
10910         * LyXAction.[Ch]:
10911         * lyxfunc.[Ch]:
10912         * lyxrc.C: subsequent changes
10913
10914
10915 2002-08-07  John Levon  <levon@movementarian.org>
10916
10917         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10918           document options change.
10919
10920 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10921
10922         * counters.[Ch]
10923         * text2.C
10924         * paragraph.[Ch]
10925         * makefile.am: move counters functionality over from
10926         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10927
10928 2002-08-06  John Levon  <levon@movementarian.org>
10929
10930         * WordLangTuple.h: new file for word + language code tuple
10931
10932         * SpellBase.h:
10933         * pspell.h:
10934         * pspell.C:
10935         * ispell.h:
10936         * ispell.C:
10937         * lyxtext.h:
10938         * text.C:
10939         * text2.C:
10940         * BufferView.h:
10941         * BufferView2.C: use WordLangTuple
10942
10943         * layout.h:
10944         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10945
10946 2002-08-06  John Levon  <levon@movementarian.org>
10947
10948         * lyx_main.C: fix cmdline batch handling
10949
10950 2002-08-06  André Pönitz <poenitz@gmx.net>
10951
10952         * lyxrc.C: set default for show_banner to true
10953
10954 2002-08-06  John Levon  <levon@movementarian.org>
10955
10956         * pspell.C: fix a crash, and allow new aspell to work
10957
10958 2002-08-06  John Levon  <levon@movementarian.org>
10959
10960         * lyxfunc.C:
10961         * kbmap.C: small cleanup
10962
10963         * vspace.h:
10964         * vspace.C: add const
10965
10966 2002-08-05  John Levon  <levon@movementarian.org>
10967
10968         * LyXAction.C: back to tabular-insert
10969
10970 2002-08-04  John Levon  <levon@movementarian.org>
10971
10972         * BufferView.h:
10973         * BufferView.C: cosmetic change
10974
10975         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10976
10977         * bufferlist.C:
10978         * buffer.h:
10979         * buffer.C:
10980         * lyxcb.h:
10981         * lyxcb.C:
10982         * lyxserver.C:
10983         * lyxvc.C:
10984         * vc-backend.C:
10985         * BufferView2.C: purge all "Lyx" not "LyX" strings
10986
10987         * lyxcursor.h:
10988         * lyxcursor.C: attempt to add some documentation
10989
10990         * lyxfunc.C:
10991         * commandtags.h:
10992         * LyXAction.C:
10993         * ToolbarDefaults.C:
10994         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10995           merge with LFUN_TABULAR_INSERT
10996
10997         * Makefile.am:
10998         * SpellBase.h:
10999         * ispell.h:
11000         * ispell.C:
11001         * pspell.h:
11002         * pspell.C: split up i/pspell implementations into separate
11003           files, many cleanups
11004
11005         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11006
11007         * text2.C: some cleanup
11008
11009         * lyxfunc.C: don't check for isp_command == "none" any more, it
11010           didn't make any sense
11011
11012 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11013
11014         * counters.[Ch]
11015         * text2.C
11016         * paragraph.[Ch]
11017         * makefile.am: move counters functionality over
11018         from text2.C/paragraph.[Ch] to counters.[Ch], and
11019         make proper C++.
11020 2002-08-02  John Levon  <levon@movementarian.org>
11021
11022         * buffer.C: s/lyxconvert/lyx2lyx/
11023
11024 2002-08-02  Angus Leeming  <leeming@lyx.org>
11025
11026         * lyxlex.C: revert John's change as it breaks reading of the user
11027         preamble.
11028
11029 2002-08-02  Angus Leeming  <leeming@lyx.org>
11030
11031         * importer.C (Import):
11032         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11033         changes due to LyXView::view() now returning a boost::shared_ptr.
11034
11035 2002-08-02  John Levon  <levon@movementarian.org>
11036
11037         * lyxlex.C: small cleanup
11038
11039 2002-08-02  John Levon  <levon@movementarian.org>
11040
11041         * text2.C (status): small cleanup, no logic change
11042
11043 2002-08-01  John Levon  <levon@movementarian.org>
11044
11045         * buffer.h:
11046         * buffer.C (writeFile): don't output alerts, caller
11047           handles this
11048
11049         * bufferlist.C:
11050         * lyx_cb.C: from above
11051
11052         * lyxfunc.C: allow to open non-existent files
11053
11054 2002-07-31  John Levon  <levon@movementarian.org>
11055
11056         * lyxserver.C: don't let incidental errors get
11057           in the way (errno)
11058
11059 2002-07-30  John Levon  <levon@movementarian.org>
11060
11061         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11062
11063 2002-07-30  John Levon  <levon@movementarian.org>
11064
11065         * lyxserver.h:
11066         * lyxserver.C: remove I/O callback too
11067
11068 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11069
11070         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11071         log.
11072
11073 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11074
11075         * many files: strip,frontStrip -> trim,ltrim,rtrim
11076
11077 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11078
11079         * PrinterParams.h: remove extern containsOnly, and include
11080         support/lstrings.h instead.
11081
11082         * LaTeX.C (scanAuxFile): modify because of strip changes
11083         (deplog): ditto
11084         * buffer.C (makeLaTeXFile): ditto
11085         * bufferparams.C (writeFile): ditt
11086         * lyxfont.C (stateText): ditto
11087         * lyxserver.C (read_ready): ditto
11088         * vc-backend.C (scanMaster): ditto
11089
11090         * BufferView_pimpl.h: ws changes
11091
11092         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11093
11094 2002-07-26  André Pönitz <poenitz@gmx.net>
11095
11096         * kb_sequence.C: remove unnedred usings
11097
11098 2002-07-26  Juergen Vigna  <jug@sad.it>
11099
11100         * lyxfind.C (LyXReplace): we have to check better if the returned
11101         text is not of theLockingInset()->getLockingInset().
11102
11103 2002-07-25  Juergen Vigna  <jug@sad.it>
11104
11105         * lyxfind.C (LyXReplace): don't replace if we don't get the
11106         right LyXText.
11107
11108         * undo_funcs.C (createUndo): remove debugging code.
11109
11110 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11111
11112         * buffer.C (parseSingleLyXformat2Token): Use default placement
11113         when reading old floats.
11114
11115         * FloatList.C (FloatList): Change the default placement of figure
11116         and tables to "tbp".
11117
11118 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11119
11120         * MenuBackend.C: using std::max
11121
11122 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11123
11124         * MenuBackend.C (expandToc):
11125         (expandToc2): code moved from xforms menu frontend. It is now
11126         generic and TOCs are transparent to menu frontends.
11127
11128 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11129
11130         * toc.C (getTocList): protect against buf=0
11131
11132         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11133         Menu as first parameter. Now, this calls itself recursively to
11134         expand a whole tree (this will be useful for TOC handling)
11135         (expandFloatInsert): remove 'wide' version of floats
11136
11137         * MenuBackend.h (submenuname): returns the name of the submenu.
11138         (submenu): returns the submenu itself, provided it has been
11139         created by MenuBackend::expand
11140
11141 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11142
11143         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11144         insets which have noFontChange == true. (bug #172)
11145
11146 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11147
11148         * BufferView_pimpl.C: add connection objects and use them...
11149         (Pimpl): here.
11150
11151 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11152
11153         * MenuBackend.C (expandLastfiles):
11154         (expandDocuments):
11155         (expandFormats):
11156         (expandFloatListInsert):
11157         (expandFloatInsert):
11158         (expand): split expand in parts
11159
11160 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11161
11162         * lyx_gui.C: use lyx_gui::exit()
11163
11164 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11165
11166         * LyXAction.C: show the failing pseudo action
11167
11168 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11169
11170         * buffer.C (readFile): Run the lyxconvert script in order to read
11171         old files.
11172
11173 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11174
11175         * LyXAction.C:
11176         * commandtags.h:
11177         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11178
11179 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11180
11181         * LyXAction.C:
11182         * commandtags.h:
11183         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11184
11185 2002-07-22  Herbert Voss  <voss@lyx.org>
11186
11187         * lengthcommon.C:
11188         * lyxlength.[Ch]: add support for the vertical lengths
11189
11190 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11191
11192         * toc.[Ch]: std:: fixes
11193
11194 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11195
11196         * lyxrc.C: do not include lyx_main.h
11197
11198         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11199         for layouts
11200
11201         * lyxrc.C:
11202         * encoding.C:
11203         * bufferlist.C:
11204         * BufferView2.C: include "lyxlex.h"
11205
11206         * tabular.h:
11207         * bufferparams.h: do not #include "lyxlex.h"
11208
11209         * lyxtextclasslist.C (Add): remove method
11210         (classlist): renamed to classlist_
11211
11212         * paragraph_pimpl.C:
11213         * paragraph.C:
11214         * text2.C:
11215         * CutAndPaste.C:
11216         * bufferview_funcs.C:
11217         * bufferlist.C:
11218         * text.C:
11219         * LaTeXFeatures.C:
11220         * buffer.C:
11221         * toc.C (getTocList): use BufferParams::getLyXTextClass
11222
11223         * toc.C (getTocList): use InsetFloat::addToToc
11224
11225         * toc.[Ch]: new files, containing helper functions to handle table
11226         of contents
11227
11228         * lyxfunc.C (dispatch): no need to remove spaces around command
11229         given as a string
11230         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11231         first command of the sequence; it is not very clever, but I do not
11232         have a better idea, actually
11233
11234         * LyXAction.C (LookupFunc): make sure to remove space at the
11235         beginning and end of the command
11236
11237 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11238
11239         * MenuBackend.C (getMenubar): new method: return the menubar of
11240         this menu set
11241         (read): treat differently reading of menu and menubar (in
11242         particular, the menubar has no name now)
11243         (Menu::menubar): remove
11244
11245         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11246         saving is finished
11247
11248 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11249
11250         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11251         a bibitem inset in a RTL paragraph.
11252
11253 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11254
11255         * paragraph_pimpl.C: constify
11256
11257         * BufferView_pimpl.C:
11258         * LaTeX.C:
11259         * lyxfunc.C: fix dispatch in a nicer way
11260
11261 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11262
11263         * lyxfunc.C (dispatch):
11264         * BufferView_pimpl.C:
11265         * BufferView_pimpl.h:
11266         * BufferView.C:
11267         * BufferView.h: rename Dispatch() to dispatch()
11268
11269         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11270
11271         * lyxlayout.C (Read): honor DependsOn tag
11272
11273         * lyxlayout.[Ch] (depends_on): new method
11274
11275         * version.C.in: update lyx_docversion
11276
11277         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11278
11279         * paragraph.C (validate): remove from here...
11280         * paragraph_pimpl.C (validate): ... and move here
11281         (isTextAt): make it const
11282
11283         * buffer.C (getLists): ws cleanup
11284
11285 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11286
11287         * language.C (read): Use iso8859-1 encoding in latex_lang
11288         (this prevents LyX from crashing when using iso10646-1 encoding).
11289
11290 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11291
11292         * text2.C (toggleInset): if cursor is inside an inset, close the
11293         inset and leave cursor _after_ it
11294
11295 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11296
11297         * lyxfunc.C: move minibuffer completion handling out of here
11298
11299 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11300
11301         * BufferView_pimpl.C:
11302         * LaTeX.C: fix dispatch calls
11303
11304 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11305
11306         * text.C (drawChars): Fix Arabic text rendering.
11307
11308 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11309
11310         * LyXAction.C:
11311         * commandtags.h:
11312         * lyxfunc.C: remove message-push/pop
11313
11314         * lyxserver.C:
11315         * lyxfunc.h:
11316         * lyxfunc.C: rationalise some code by removing verboseDispatch
11317           in favour of a bool argument to dispatch()
11318
11319 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11320
11321         * lyx_main.C (init): make sure to read symlinks as absolute paths
11322
11323 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11324
11325         * lyxfunc.h:
11326         * lyxfunc.C: no need for commandshortcut to be a member
11327
11328 2002-07-15  André Pönitz <poenitz@gmx.net>
11329
11330         * converter.C: add support for $$s (scripts from lib/scripts dir)
11331         * lyx_main.C: white space
11332
11333 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11334
11335         * bufferlist.C:
11336         * lyxrc.h:
11337         * lyxrc.C: remove second exit confirmation
11338
11339 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11340
11341         * BufferView.h:
11342         * BufferView.C:
11343         * BufferView2.C:
11344         * BufferView_pimpl.h:
11345         * BufferView_pimpl.C:
11346         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11347
11348 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11349
11350         * MenuBackend.C (expand): add numeric shortcuts to document menu
11351
11352         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11353
11354 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11355
11356         * lyxfont.C (setLyXFamily):
11357         (setLyXSeries):
11358         (setLyXShape):
11359         (setLyXSize):
11360         (setLyXMisc):
11361         (lyxRead):
11362         * debug.C (value):
11363         * buffer.C (asciiParagraph): use ascii_lowercase
11364
11365 2002-07-15  Mike Fabian  <mfabian@suse.de>
11366
11367         * lyxlex_pimpl.C (search_kw):
11368         * lyxlex.C (getLongString):
11369         * converter.h (operator<):
11370         * converter.C (operator<):
11371         * buffer.C (parseSingleLyXformat2Token):
11372         (asciiParagraph):
11373         * ToolbarDefaults.C (read):
11374         * MenuBackend.C (checkShortcuts):
11375         (read):
11376         * LColor.C (getFromGUIName):
11377         (getFromLyXName): use the compare_ascii_no_case instead of
11378         compare_no_case, because in turkish, 'i' is not the lowercase
11379         version of 'I', and thus turkish locale breaks parsing of tags.
11380
11381 2002-07-16  Angus Leeming  <leeming@lyx.org>
11382
11383         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11384         now takes a Buffer const & argument.
11385
11386 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11387
11388         * BufferView.C (resize): check there's a buffer to resize
11389
11390 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11391
11392         * lyxfunc.C: remove dead code
11393
11394         * lyxserver.h:
11395         * lyxserver.C: use lyx_guii::set_read_callback
11396
11397 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11398
11399         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11400         an inset in a RTL paragraph.
11401
11402 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11403
11404         * lyxfunc.C: repaint after a font size update
11405
11406 2002-07-15  André Pönitz <poenitz@gmx.net>
11407
11408         * lyxlength.C: inBP should be able to return negative values
11409
11410 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11411
11412         * lyxfunc.C: use lyx_gui::update_fonts()
11413
11414 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11415
11416         * lyxfunc.C: use lyx_gui::update_color()
11417
11418 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11419
11420         * bufferlist.C:
11421         * lyxfunc.h:
11422         * lyxfunc.C:
11423         * lyxrc.h:
11424         * lyxrc.C: remove file->new asks for name option, and let
11425           buffer-new take an argument
11426
11427 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11428
11429         * BufferView_pimpl.C: remove unneeded extra repaint()
11430
11431 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11432
11433         * LyXAction.C: allow command-sequence with NoBuffer
11434
11435         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11436
11437 2002-07-10  Angus Leeming  <leeming@lyx.org>
11438
11439         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11440
11441 2002-07-09  Angus Leeming  <leeming@lyx.org>
11442
11443         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11444
11445 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * lengthcommon.h: whitespace
11448
11449         * lyxfunc.C: update scrollbar after goto paragraph
11450
11451         * lyxtext.h: factor out page break drawing, and fix it so
11452           page break/added space paints as selected nicely
11453
11454 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11455
11456         * BufferView_pimpl.C: add FIXMEs, clean up a little
11457
11458 2002-07-09  André Pönitz <poenitz@gmx.net>
11459
11460         * lyxfont.[Ch]: support for wasy symbols
11461
11462 2002-07-08  André Pönitz <poenitz@gmx.net>
11463
11464         * BufferView_pimpl.C: apply John's patch for #93.
11465
11466 2002-07-05  Angus Leeming  <leeming@lyx.org>
11467
11468         * BufferView_pimpl.C (buffer): generate previews if desired.
11469
11470         * LColor.h: add "preview" to the color enum.
11471
11472         * LColor.C (LColor): add a corresponding entry to the items array.
11473
11474         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11475         with this buffer.
11476
11477 2002-07-05  Angus Leeming  <leeming@lyx.org>
11478
11479         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11480         The body of the code is now in the method that is passed an ostream &
11481         rather than a file name.
11482         Pass an additional only_preamble parameter, useful for the forthcoming
11483         preview stuff.
11484
11485 2002-07-03  André Pönitz <poenitz@gmx.net>
11486
11487         * lyxfunc.C: simplify getStatus() a bit for math stuff
11488
11489 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11490
11491         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11492
11493 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11494
11495         * text.C (changeRegionCase): do not change case of all the
11496         document when region ends at paragraph end (bug #461)
11497
11498 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11499
11500         * paragraph.C (startTeXParParams):
11501         (endTeXParParams): add \protect when necessary
11502
11503 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11504
11505         * BufferView_pimpl.C (workAreaExpose): remove warning
11506
11507 2002-06-27  Angus Leeming  <leeming@lyx.org>
11508
11509         * Makefile.am: add lyxlayout_ptr_fwd.h.
11510
11511 2002-06-26  André Pönitz <poenitz@gmx.net>
11512
11513         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11514
11515 2002-06-25  Angus Leeming  <leeming@lyx.org>
11516
11517         * lyxfunc.C (dispatch): Comment out the call to
11518         grfx::GCache::changeDisplay. The method no longer exists now that the
11519         pixmap generation part of the graphics loader has been moved into
11520         InsetGraphics.
11521
11522 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11523
11524         * text2.C: layout as layout
11525
11526         * text.C: layout as layout
11527
11528         * tabular.C (OldFormatRead): layout as layout
11529
11530         * paragraph_pimpl.C (TeXDeeper): layout as layout
11531         (realizeFont): layout as layout
11532
11533         * paragraph.C (writeFile): layout as layout
11534         (validate): layout as layout
11535         (getFont): layout as layout
11536         (getLabelFont): layout as layout
11537         (getLayoutFont): layout as layout
11538         (breakParagraph): layout as layout
11539         (stripLeadingSpaces): layout as layout
11540         (getEndLabel): layout as layout
11541         (getMaxDepthAfter): layout as layout
11542         (applyLayout): layout as layout
11543         (TeXOnePar): layout as layout
11544         (simpleTeXOnePar): layout as layout
11545         (TeXEnvironment): layout as layout
11546         (layout): layout as layout
11547         (layout): layout as layout
11548
11549         * lyxtextclass.C (compare_name): new functor to work with
11550         shared_ptr, layout as layout
11551         (Read): layout as layout
11552         (hasLayout): layout as layout
11553         (operator): layout as layout
11554         (delete_layout): layout as layout
11555         (defaultLayout): layout as layout
11556
11557         * lyxlayout_ptr_fwd.h: new file
11558
11559         * lyxlayout.C (Read): layout as layout
11560
11561         * lyx_cb.C (MenuInsertLabel): layout as layout
11562
11563         * bufferlist.C (newFile): layout as layout
11564
11565         * buffer.C (readLyXformat2): layout as layout
11566         (parseSingleLyXformat2Token): layout as layout
11567         (insertStringAsLines): layout as layout
11568         (asciiParagraph): layout as layout
11569         (latexParagraphs): layout as layout
11570         (makeLinuxDocFile): layout as layout
11571         (simpleLinuxDocOnePar): layout as layout
11572         (makeDocBookFile): layout as layout
11573         (simpleDocBookOnePar): layout as layout
11574         (getLists): layout as layout
11575
11576         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11577
11578         * CutAndPaste.C (cutSelection): layout as layout
11579         (pasteSelection): layout as layout
11580         (SwitchLayoutsBetweenClasses): layout as layout
11581
11582         * BufferView_pimpl.C (Dispatch): layout as layout
11583         (smartQuote): layout as layout
11584
11585         * BufferView2.C (unlockInset): layout as layout
11586
11587 2002-06-24  André Pönitz <poenitz@gmx.net>
11588
11589         * lyxfunc.C: fix #487
11590
11591 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11592
11593         * lyxrc.h:
11594         * lyxrc.C:
11595         * lyxfunc.C: remove display_shortcuts, show_banner
11596
11597 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11598
11599         * Buffer_pimpl.C: oops, update on resize
11600
11601 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11602
11603         * buffer.C:
11604         * converter.C:
11605         * exporter.C:
11606         * lyxfunc.C:
11607         * BufferView.h:
11608         * BufferView.C: use repaint()
11609
11610         * BufferView_pimpl.h:
11611         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11612           as it's a clearer description. Remove superfluous
11613           redraws.
11614
11615 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11616
11617         * text.C: fix bug 488. Not ideal, but getting
11618           getWord() to work properly for the insets that
11619           matter is more difficult ...
11620
11621 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11622
11623         * BufferView_pimpl.C:
11624         * LyXAction.C:
11625         * commandtags.h:
11626         * lyxfunc.C: remove the six million index lyxfuncs to just
11627           one, and DTRT (bug 458)
11628
11629 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11630
11631         * BufferView.h:
11632         * BufferView.C:
11633         * BufferView_pimpl.h:
11634         * BufferView_pimpl.C: clean up resize() stuff,
11635           and unnecessary updateScreen()s
11636
11637 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11638
11639         * BufferView.h:
11640         * BufferView.C:
11641         * BufferView_pimpl.h:
11642         * BufferView_pimpl.C:
11643         * lyxfind.h:
11644         * lyxfind.C:
11645         * minibuffer.C: remove focus management of workarea,
11646           not needed. Use screen's greyOut()
11647
11648 2002-06-17  Herbert Voss  <voss@lyx.org>
11649
11650         * converter.C: (convert) do not post a message, when converting
11651         fails, let the calling function decide what to do in this case
11652
11653 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11654
11655         * lyxfunc.C: tidy up a little
11656
11657 2002-06-16    <alstrup@diku.dk>
11658
11659         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11660         Got rid of FORMS_H_LOCATION include. Now we are
11661         GUII.
11662
11663 2002-06-15  LyX Development team  <lyx@rilke>
11664
11665         * buffer.[Ch] (sgmlOpenTag):
11666         (sgmlCloseTag): Added support for avoiding pernicious mixed
11667         content. Return number of lines written.
11668
11669         (makeLinuxDocFile):
11670         (makeDocBookFile): Fixed calls to sgml*Tag.
11671         Simple white space clean.
11672
11673         (simpleDocBookOnePar): Simple white space clean.
11674
11675         * tabular.[Ch] (docBook): Renamed to docbook and got another
11676         argument to related with the pernicious mixed content.
11677
11678         (docbookRow): Fixed calls for docbook inset method.
11679
11680 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11681
11682         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11683         so it's X11 independent.
11684
11685         * kb*.[Ch]: ditto.
11686
11687         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11688
11689 2002-06-15  Lyx Development team  <lyx@electronia>
11690
11691         * intl.h: Renamed getTrans to getTransManager.
11692
11693 2002-06-14  Angus Leeming  <leeming@lyx.org>
11694
11695         * Makefile.am: nuke forgotten stl_string_fwd.h.
11696
11697 2002-06-12  Angus Leeming  <leeming@lyx.org>
11698
11699         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11700
11701 2002-06-13  Angus Leeming  <leeming@lyx.org>
11702
11703         * LaTeX.C:
11704         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11705
11706 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11707
11708         * kbmap.C (getiso): add support for cyrillic and greek
11709
11710 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11711
11712         * BufferView.h:
11713         * BufferView.C:
11714         * BufferView_pimpl.h:
11715         * BufferView_pimpl.C: move bogus scrolling logic
11716           to xforms
11717
11718 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11719
11720         * lyxfunc.C:
11721         * BufferView_pimpl.C: view->resize() change
11722
11723 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11724
11725         * BufferView_pimpl.C: topCursorVisible
11726           prototype change
11727
11728 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11729
11730         * Makefile.am:
11731         * lyx_gui.h:
11732         * lyx_gui.C: move to frontends/
11733
11734         * main.C:
11735         * lyx_main.h:
11736         * lyx_main.C: changes from above
11737
11738 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11739
11740         * intl.C:
11741         * intl.h:
11742         * kbmap.C:
11743         * kbsequence.C:
11744         * lyx_cb.C:
11745         * lyx_main.C: minor tidy
11746
11747 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11748
11749         * BufferView_pimpl.h:
11750         * BufferView_pimpl.C:
11751         * BufferView.h:
11752         * BufferView.C: make painter() const,
11753           remove dead code
11754
11755         * BufferView2.C: use screen() accessor
11756
11757         * lyx_main.h:
11758         * lyx_main.C: some minor cleanup
11759
11760 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11761
11762         * BufferView_pimpl.h:
11763         * BufferView_pimpl.C: remove enter/leaveView,
11764           use workHeight()
11765
11766 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11767
11768         * BufferView.h:
11769         * BufferView.C:
11770         * BufferView2.C:
11771         * BufferView_pimpl.h:
11772         * BufferView_pimpl.C: only construct screen once,
11773           rename
11774
11775         * lyxrc.C: remove pointless comment
11776
11777 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11778
11779         * BufferView.h:
11780         * BufferView.C: remove active() and belowMouse()
11781
11782         * BufferView_pimpl.h:
11783         * BufferView_pimpl.C: use workarea() not workarea_,
11784           and make it use a scoped_ptr instead
11785
11786 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11787
11788         * lyx_gui.C: add debug message on BadWindow
11789
11790 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11791
11792         * sp_spell.C: fdopen is not part of the C++ standard.
11793
11794         * paragraph.C (InsetIterator): use >= instead of ==
11795
11796 2002-06-07  Angus Leeming  <leeming@lyx.org>
11797
11798         Fixes needed to compile with Compaq cxx 6.5.
11799         * BufferView_pimpl.C:
11800         * DepTable.C:
11801         * buffer.C:
11802         * converter.C:
11803         * encoding.C:
11804         * lyx_gui.C:
11805         * lyx_main.C:
11806         * lyxtextclasslist.C:
11807         * minibuffer.C:
11808         * sp_spell.C:
11809         * tabular_funcs.C:
11810         * vc-backend.C:
11811         all c-library variables have been moved into namespace std. Wrap
11812         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11813
11814         * lyxlength.C:
11815         * tabular-old.C:
11816         * tabular.C:
11817         Add a using std::abs declaration.
11818
11819         * kbmap.h (modifier_pair):
11820         * paragraph.h (InsetTable, InsetList):
11821         * lyxfont.h (FontBits):
11822         type definition made public.
11823
11824         * bufferlist.C (emergencyWriteAll): the compiler complains that
11825         there is more than one possible lyx::class_fun template to choose from.
11826         I re-named the void specialisation as lyx::void_class_fun.
11827
11828         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11829
11830         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11831         the compiler is is unable to find tostr in write_attribute.
11832
11833 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11834
11835         * buffer.C (sgmlError): hide #warning
11836
11837 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11838
11839         * xtl/*: get rid of xtl, which is not in use anyway
11840
11841         * LyXAction.C (init):
11842         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11843         were unimplemented xtl experimentation
11844
11845 2002-06-04  André Pönitz <poenitz@gmx.net>
11846
11847         * lyxfunc.C: disable array operation on simple formulae
11848
11849 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11850
11851         * converter.C: constify a bit
11852
11853 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11854
11855         * lyx_gui.C: check xforms version correctly
11856
11857 2002-04-30  Herbert Voss  <voss@lyx.org>
11858
11859         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11860         "keep" option
11861
11862 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11863
11864         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11865           attempt to register it with a VCS)
11866
11867 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11868
11869         * lyx_main.C (init): honor variables LYX_DIR_13x and
11870         LYX_USERDIR_13x
11871
11872 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11873
11874         * buffer.h:
11875         * buffer.C:
11876         * lyx_main.C: fix a crash on bad command line,
11877           and give a useful exit status on error
11878
11879         * lyxfunc.C (doImport): allow -i lyx to work
11880
11881 2002-03-30  André Pönitz <poenitz@gmx.net>
11882
11883         * lyxfunc.C: mathed font changes
11884
11885 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11886
11887         * LaTeX.C:
11888         * importer.h:
11889         * importer.C:
11890         * lyx_sty.h:
11891         * lyx_sty.C:
11892         * lyxlex.C:
11893         * lyxrow.h:
11894         * lyxtext.h:
11895         * paragraph.h:
11896         * paragraph.C:
11897         * texrow.h:
11898         * texrow.C:
11899         * text.C:
11900         * trans_mgr.h: srcdocs, and some minor cleanups
11901
11902 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11903
11904         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11905         call getFont all the time)
11906
11907 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11908
11909         * switch from SigC signals to boost::signals
11910
11911 2002-05-29  André Pönitz <poenitz@gmx.net>
11912
11913         * paragraph_pimpl.C (getChar): don't call size() too often...
11914
11915 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11916
11917         * paragraph_pimpl.C (insertChar): do not try to update tables when
11918         appending (pos == size())
11919
11920         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11921         in order to reduce drastically the number of comparisons needed to
11922         parse a large document
11923
11924 2002-05-29  André Pönitz <poenitz@gmx.net>
11925
11926         * text.C:
11927         * text2.C:
11928         * lyxtextclass.C:
11929         * sp_pspell.h:
11930         * textclasslist.[Ch]:
11931         * sp_ispell.h: whitespace change
11932
11933 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11934
11935         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11936         lyxaction directly now.
11937
11938 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11939
11940         * trans.C:
11941         * lyxfont.C:
11942         * lyxvc.C: remove unused headers
11943
11944 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11945
11946         * Makefile.am:
11947         * buffer.h:
11948         * undostack.h:
11949         * undostack.C:
11950         * undo_funcs.h:
11951         * undo_funcs.C: some cleanups. Use shared_ptr
11952           and a template for the undo stacks.
11953
11954 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11955
11956         * BufferView_pimpl.h:
11957         * BufferView_pimpl.C:
11958         * kbmap.h:
11959         * kbmap.C:
11960         * kbsequence.h:
11961         * kbsequence.C:
11962         * lyxfunc.h:
11963         * lyxfunc.C:
11964         * text2.C: use key_state/mouse_state
11965
11966 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11967
11968         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11969         and LSubstring
11970
11971         * chset.C: change include order
11972         (loadFile): use boost regex and get rid of LRegex and LSubstring
11973
11974         * Makefile.am (BOOST_LIBS): new variable
11975         (lyx_LDADD): use it
11976
11977         * LaTeX.C: change include order.
11978         (scanAuxFile): use boost regex and get rid of LRegex and
11979         LSubstring
11980         (deplog): ditto
11981
11982 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11983
11984         * ColorHandler.h:
11985         * ColorHandler.C:
11986         * FontInfo.h:
11987         * FontInfo.C: moved to frontends/xforms/
11988
11989         * FontLoader.h:
11990         * FontLoader.C: moved into frontends for GUIIzation
11991
11992         * Makefile.am:
11993         * lyx_gui.C:
11994         * lyxfont.C:
11995         * lyxfunc.C: changes from above
11996
11997 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11998
11999         * LColor.C: remove spurious X include
12000
12001         * BufferView_pimpl.C:
12002         * Makefile.am:
12003         * font.h:
12004         * font.C:
12005         * text.C:
12006         * text2.C: move font metrics to frontends/
12007
12008 2002-05-24  Juergen Vigna  <jug@sad.it>
12009
12010         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12011         setting the undo_cursor.
12012
12013         * ParagraphParameters.h: include local includes first.
12014
12015 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12016
12017         * BufferView_pimpl.C:
12018         * BufferView_pimpl.h:
12019         * Makefile.am:
12020         * WorkArea.h:
12021         * WorkArea.C:
12022         * screen.C: move WorkArea into frontends/
12023
12024         * lyxscreen.h:
12025         * screen.C:
12026         * text.C:
12027         * BufferView.C:
12028         * BufferView2.C: move LyXScreen into frontends/
12029
12030         * lyxlookup.h:
12031         * lyxlookup.C:
12032         * lyx_gui.C: move lyxlookup into frontends/xforms/
12033
12034 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12035
12036         * BufferView2.C:
12037         * BufferView_pimpl.C:
12038         * FontLoader.C:
12039         * LyXView.h:
12040         * LyXView.C:
12041         * Makefile.am:
12042         * WorkArea.C:
12043         * XFormsView.h:
12044         * XFormsView.C:
12045         * buffer.C:
12046         * bufferlist.C:
12047         * bufferview_funcs.C:
12048         * converter.C:
12049         * importer.C:
12050         * lyx_cb.C:
12051         * lyx_gui.C:
12052         * lyx_main.C:
12053         * lyx_find.C:
12054         * lyxfunc.C:
12055         * lyxvc.C:
12056         * minibuffer.C:
12057         * text.C:
12058         * text2.C:
12059         * trans.C:
12060         * vc-backend.C: move LyX/XFormsView into frontends/
12061
12062 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * Makefile.am:
12065         * PainterBase.C:
12066         * PainterBase.h:
12067         * Painter.C:
12068         * Painter.h:
12069         * WorkArea.C:
12070         * WorkArea.h:
12071         * screen.C:
12072         * tabular.C:
12073         * text.C:
12074         * text2.C: move Painter to frontends/
12075
12076 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12077
12078         * buffer.C: comment out some some code that depend upon lyx_format
12079         < 220
12080
12081         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12082         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12083
12084         * buffer.h (NO_COMPABILITY): turn off compability
12085
12086         * ColorHandler.C: include scoped_array.hpp
12087
12088         * font.C: Use more specific smart_ptr header.
12089         * Painter.C: ditto
12090         * gettext.C: ditto
12091         * ShareContainer.h: ditto
12092         * lyx_main.h: ditto
12093         * kbmap.h: ditto
12094         * FontInfo.h: ditto
12095         * BufferView_pimpl.h: ditto
12096         * ColorHandler.h: ditto
12097
12098         * kbmap.C (defkey): change call to shared_ptr::reset
12099
12100 2002-05-21  Juergen Vigna  <jug@sad.it>
12101
12102         * buffer.C (insertErtContents): fix to insert ert asis if it is
12103         non empty. Skip it completely if it contains only whitespaces.
12104
12105 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12106
12107         * BufferView_pimpl.C:
12108         * BufferView2.C: clear selection on paste (bug 393)
12109
12110 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12111
12112         * DepTable.C: include ctime
12113
12114 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12115
12116         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12117
12118 2002-05-14  Juergen Vigna  <jug@sad.it>
12119
12120         * text.C (breakParagraph): fixed function to honor the keepempty
12121         layout in the right maner and also to permit the right breaking
12122         algorithm on empty or non empyt keepempty paragraphs.
12123
12124         * paragraph.C (breakParagraph): we have to check also if the par
12125         is really empty (!size()) for isempty otherwise we do the wrong
12126         paragraph break.
12127
12128 2002-05-10  Juergen Vigna  <jug@sad.it>
12129
12130         * buffer.[Ch] : The following are only changes to the ert
12131         compatibility read reading old LaTeX layout and font stuff and
12132         convert it to ERTInsets.
12133
12134         * buffer.h: added isErtInset().
12135
12136         * buffer.C (struct ErtComp): add a fromlayout bool to check
12137         if we're inside a LaTeX layout.
12138         (isErtInset): new helper function.
12139         (insertErtContents): look for other ert insets before this one
12140         and insert the contents there, so that we don't have subsequent
12141         ERT insets with nothing between them. This way we create only one
12142         inset with multiple paragraphs. Also check if we don't insert only
12143         spaces ' ' as they are ignored anyway afterwards in the .tex file
12144         so if we have only spaces we will ignore this latex part in the
12145         new file.
12146         (parseSingleLyXformat2Token \\layout): better compatibility when
12147         reading layout-latex stuff.
12148         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12149         language tag.
12150         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12151         stuff after reading the inset only get the information back from
12152         the stack.
12153
12154 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12155
12156         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12157
12158         * LaTeXFeatures.C (getBabelOptions): New method.
12159
12160 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12161
12162         * BufferView_pimpl.C (Dispatch): work around missing argument for
12163         'layout'
12164
12165 2002-05-08  Juergen Vigna  <jug@sad.it>
12166
12167         * text.C (leftMargin): handle paragraph leftindent.
12168
12169         * paragraph.C (writeFile): write the new \\leftindent tag.
12170         (validate): handle leftindent code.
12171         (TeXEnvironment): handle paragraphleftindent code again.
12172
12173         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12174
12175         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12176         for paragrap_extra indent code and new token \\leftindent.
12177         (latexParagraphs): handle the leftindent as environment.
12178
12179         * ParameterStruct.h: added leftindent support.
12180
12181         * ParagraphParameters.C (leftIndent): added support functions for
12182         the paragraph left indent.
12183
12184         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12185         more appropriate.
12186
12187 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12188
12189         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12190         inside insetERT.
12191
12192         * text.C (computeBidiTables): No bidi in insetERT.
12193
12194         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12195         in RTL documents.
12196
12197 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12198
12199         * version.C.in: pre 5
12200
12201 2002-05-02  José Matos  <jamatos@fep.up.pt>
12202         * buffer.C (makeDocBookFile): white space changes, add newline to
12203         command styles.
12204         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12205
12206         * tabular.C (docBook): fix typo.
12207
12208 2002-05-03  Juergen Vigna  <jug@sad.it>
12209
12210         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12211         change in LyXText as we can not be sure it was not freed.
12212         (drawOneRow): remove unused code.
12213
12214         * text.C (drawInset): redo the calculation of the need_break_row as
12215         it could have a row which was already freed.
12216         (draw): look at the return value of drawInset and return false if
12217         it also returned false.
12218         (paintRowText): look at the return value of draw and return false if
12219         it also returned false.
12220
12221         * lyxtext.h: added bool return type to drawInset() and draw() so that
12222         if we have a change in the row so that the rowbreak has to be redone
12223         we abort drawing as it will be called again.
12224
12225 2002-05-02  Juergen Vigna  <jug@sad.it>
12226
12227         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12228         a change in the maintext also if we're inside an inset.
12229         (Dispatch): set the cursor again after a break line and after the
12230         screen has been updated as it could be we're in a different row.
12231
12232         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12233         to set the cursor behind the pargraph with > size().
12234         (setCursor): check also for the same paragraph when checking where
12235         to put the cursor if we have a NFR inset.
12236
12237         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12238         parts of layout read further up as it still was in the wrong
12239         position.
12240
12241 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12242
12243         * screen.C (drawFromTo): change sine fullRebreak always return
12244         true.
12245
12246         * buffer.C (parseSingleLyXformat2Token): reindent some
12247
12248         * BufferView_pimpl.C (update): change since fullRebreak always
12249         return true.
12250         (Dispatch): git rid of the last hardcoded "Standard"s.
12251
12252 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12253
12254         * text2.[Ch] (fullRebreak): make it return void now that we always
12255         returned true.
12256
12257 2002-04-30  Juergen Vigna  <jug@sad.it>
12258
12259         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12260         ert compatibility check for "latex" layout.
12261
12262 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12263
12264         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12265         minipages: use col% instead of p%, and also use the current font.
12266         (makeLaTeXFile): Fix use babel condition.
12267         (parseSingleLyXformat2Token): Correct font when reading old floats.
12268
12269 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12270
12271         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12272         inserting list of floats.
12273
12274 2002-04-25  Herbert Voss  <voss@lyx.org>
12275
12276         * MenuBackend.C (expand): don't add the graphics extensions to the
12277         export menu
12278
12279 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12280
12281         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12282         non-existing layout, do not complain if it was the default layout
12283         of the original class (bug #342)
12284
12285 2002-04-24  Juergen Vigna  <jug@sad.it>
12286
12287         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12288         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12289
12290 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12291
12292         * buffer.C (getBibkeyList): If using \bibliography, return the
12293         option field with the reference itself. Enables us to provide natbib
12294         support when using \bibliography.
12295
12296 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12297
12298         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12299
12300         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12301         natbib is provided by the LaTeX class.
12302
12303 2002-04-23  Juergen Vigna  <jug@sad.it>
12304
12305         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12306         Wakeup functions.
12307
12308         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12309
12310 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12311
12312         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12313
12314         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12315         ensuremath around textordmasculine, textordfeminine and
12316         textdegree.
12317
12318 2002-04-19  Juergen Vigna  <jug@sad.it>
12319
12320         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12321         reinitializing the buffer otherwise row-dimensions may be wrong.
12322         (update): reset also the selection cursors if they do exits otherwise
12323         their x/y positions may be wrong.
12324
12325         * text2.C (cursorDown): don't enter the inset if we came from a row
12326         above and are one row over the inset.
12327
12328         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12329         really leaving an inset.
12330
12331 2002-04-18  Juergen Vigna  <jug@sad.it>
12332
12333         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12334         of the selected paragraph does not have the selected layout also if
12335         the last one had!
12336
12337         * text2.C (setLayout): fixed bug which did not change last selected
12338         paragraph.
12339
12340         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12341         changed the read and substituted \\end_float with \\end_inset!
12342
12343         * BufferView_pimpl.C (cursorPrevious):
12344         (cursorNext): fixed to make it work with rows heigher than the work
12345         area without moving the cursor only the draw of the row.
12346         (workAreaMotionNotify): fix jumping over high rows.
12347
12348 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12349
12350         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12351         Ressler.
12352
12353 2002-04-16  Juergen Vigna  <jug@sad.it>
12354
12355         * text2.C (setCursor): set also the irow().
12356         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12357         (cursorUp):
12358         (cursorDown): support for locking an inset if the x_fix value goes
12359         inside it. That way I can transverse insets too with cursor up/down.
12360
12361         * lyxrow.h: added irow helper function same as other (i) functions.
12362
12363         * BufferView_pimpl.C (cursorPrevious):
12364         (cursorNext): fixed for insets!
12365
12366 2002-04-15  Juergen Vigna  <jug@sad.it>
12367
12368         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12369         position otherwise it is wrong in some cases.
12370
12371         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12372         inside the inset before the call.
12373
12374 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12375
12376         * buffer.[Ch] (getBibkeyList): make it const.
12377
12378 2002-04-12  Juergen Vigna  <jug@sad.it>
12379
12380         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12381
12382         * text2.C (getCursorX): new helper function
12383         (setCursor): compute also ix_
12384         (setCursorFromCoordinates): set also ix.
12385
12386         * lyxcursor.h: added ix_ and helper functions.
12387
12388         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12389
12390         * buffer.C (insertStringAsLines): dont break paragraph if the this
12391         paragraph is inside an inset which does not permit it!
12392
12393         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12394         also with no chars on this paragraph.
12395         (paintRowText): only paint stuff if it's inside the workarea!
12396
12397         * paragraph.C (breakParagraph): honor keepempty flag and break the
12398         paragraph always below not above.
12399
12400         * BufferView2.C (unlockInset): update the paragraph layout on inset
12401         unlock as we changed paragraph in such a case.
12402
12403         * lyxfind.C (LyXFind): clear the former selection if not found!
12404
12405         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12406         again called in insertChar().
12407
12408         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12409         an inset which uses the whole row!
12410         (rightMargin): ditto.
12411         (insertChar): force a rebreak if we inserted an inset!
12412
12413 2002-03-28  Herbert Voss  <voss@lyx.org>
12414
12415         * lyxlength.[Ch]: add inBP() to get the right PS-point
12416         units (BigPoint). With inPixels we have rounding errors
12417
12418 2002-04-11  Juergen Vigna  <jug@sad.it>
12419
12420         * text2.C (setCursorFromCoordinates): set iy to the right value.
12421         (setCursor): add check if row->previous exists!
12422
12423         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12424         an old float_type as this was the case in the old code!
12425
12426         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12427
12428         * BufferView2.C (showLockedInsetCursor): use iy
12429         (fitLockedInsetCursor): ditto
12430
12431         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12432         locked insets as there we have the right value now.
12433
12434         * lyxcursor.C: added iy_ variable and iy functions to set to the
12435         baseline of cursor-y of the locked inset.
12436
12437         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12438         (setCursor): fixed for insets which need a full row.
12439
12440         * text.C (rowLastPrintable): don't ignore the last space when before
12441         an inset which needs a full row.
12442         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12443         as last character of a row when before a inset which needs a full row.
12444
12445 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12446
12447         * version.C.in: update date
12448
12449         * text2.C (fullRebreak): try to always return true and see what
12450         happens...
12451
12452 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12453
12454         * MenuBackend.C (expand): use Floating::listName
12455
12456         * FloatList.C (FloatList): add listName argument to the built-in
12457         floats
12458
12459         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12460         text associated with the float.
12461
12462 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12463
12464         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12465
12466 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12467
12468         * ShareContainer.h: add a couple of missing typenames.
12469
12470 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12471
12472         * lyxrc.C (getDescription): use _() correctly rather than N_().
12473
12474 2002-03-28  Herbert Voss  <voss@lyx.org>
12475
12476         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12477         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12478
12479 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12480
12481         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12482         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12483
12484 2002-03-29  Juergen Vigna  <jug@sad.it>
12485
12486         * lyxfunc.C (dispatch): add a missing fitCursor call.
12487
12488         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12489         it was scrolled by a cursor move, so return the bool status.
12490
12491         * BufferView.C (fitCursor): return the bool flag also to the outside
12492         world as this is needed.
12493
12494         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12495
12496         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12497         call the edit() as it is not needed (and wrong) IMO.
12498         (workAreaButtonPress): set the screen_first variable before evt.
12499         unlock the inset as this may change screen_first and then we have
12500         a wrong y position for the click!
12501
12502 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12503
12504         * MenuBackend.C (expand): another translation that I missed
12505
12506 2002-03-28  Juergen Vigna  <jug@sad.it>
12507
12508         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12509
12510         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12511
12512 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12513
12514         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12515
12516         * MenuBackend.C (expand): fix export/view/update when there is no
12517         document open.
12518
12519 2002-03-27  Herbert Voss  <voss@lyx.org>
12520
12521         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12522         and text%
12523
12524 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12525
12526         * bufferview_funcs.C (currentState): only show paragraph number
12527         for is DEVEL_VERSION is set.
12528
12529         * lyxfunc.C (dispatch): put warning in INFO channel
12530
12531         * MenuBackend.C (expand): translate the name of floats
12532
12533         * FloatList.C (FloatList): mark the float names for translation
12534
12535         * converter.C (convert): use LibScriptSearch
12536
12537 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12538
12539         * MenuBackend.C (defaults): fix default menu (we might as well get
12540         rid of it...)
12541
12542 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12543
12544         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12545         directory.
12546
12547 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12548
12549         * lyxvc.C: reorder includes.
12550
12551 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12552
12553         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12554           properly
12555
12556 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12557
12558         * CutAndPaste.C: change layouts earlier on paste
12559           to avoid crashing when calling getFont()
12560
12561 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12562
12563         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12564         irritating #error.
12565
12566 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12567
12568         * WorkArea.C: remove 'Pending' debug message.
12569
12570         * most files: ws cleanup
12571
12572         * buffer.[Ch]: ws changes
12573
12574         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12575
12576 2002-03-21  Juergen Vigna  <jug@sad.it>
12577
12578         * tabular.C (SetMultiColumn): collapse also the contents of the
12579         cells and set the last border right. Added a Buffer const * param.
12580
12581 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12582
12583         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12584         linking or not.
12585
12586 2002-03-19  Juergen Vigna  <jug@sad.it>
12587
12588         * text2.C (clearSelection): reset also xsel_cache.
12589
12590         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12591         where it needs to be called (John tells us to do so too :)
12592         (selectionLost): reset sel_cache.
12593
12594         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12595
12596 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12597
12598         * text2.C (setCursorIntern): put debuging code in INSETS channel
12599
12600 2002-03-19  André Pönitz <poenitz@gmx.net>
12601
12602         * lyxfunc.C: tiny whitespace change
12603
12604 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12605
12606         * ToolbarDefaults.C (init):
12607         * LyXAction.C (init):
12608         * commandtags.h:
12609         * BufferView_pimpl.C (Dispatch):
12610         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12611
12612 2002-03-19  Allan Rae  <rae@lyx.org>
12613
12614         * exporter.C (Export): removeAutoInsets before doing anything else.
12615         While I've just introduced a dependency on BufferView this really is
12616         the best place to clean the buffer otherwise you need to cleanup in
12617         a dozen places before calling export or cleanup in a dozen functions
12618         that export calls.
12619
12620         * converter.C (runLaTeX):
12621         (scanLog): Better handling of removeAutoInsets and screen updates.
12622
12623         * lyxfunc.C (dispatch): small whitespace changes
12624
12625 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12626
12627         * WorkArea.C (C_WorkAreaEvent): return a value.
12628         (event_cb): return 1 if we handled the event, 0 otherwise.
12629
12630         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12631
12632 2002-03-18  Juergen Vigna  <jug@sad.it>
12633
12634         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12635         (GetAdditionalWidth): ditto.
12636         (RightLine): ditto.
12637         (LeftLine): ditto.
12638
12639         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12640         inset if we're there actually (probably not used right now but this
12641         is the direction to go for unifying code).
12642         (paste): disable code to clear the selection.
12643
12644         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12645         inside an InsetText and move the check further up as it is in the
12646         wrong place.
12647
12648         * text2.C (pasteSelection): set a selection over the pasted text.
12649
12650 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12651
12652         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12653         and libgraphics to build on Cygwin.
12654
12655 2002-03-15  Juergen Vigna  <jug@sad.it>
12656
12657         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12658         inserting an Inset into the paragraph. I know this is not the best
12659         fix but we already use current_view in CutAndPaste so we will remove
12660         all of it's using at the same time.
12661
12662         * buffer.C (sgmlError): deactivated function till it is rewritten in
12663         the right mode, now it can create problems.
12664
12665         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12666         before accessing it.
12667
12668 2002-03-14  Juergen Vigna  <jug@sad.it>
12669
12670         * undo_funcs.C (textHandleUndo): do the right thing when updating
12671         the inset after the undo/redo.
12672
12673         * text2.C (setCursor): just some testcode for #44 not ready yet.
12674
12675         * undo_funcs.C (textHandleUndo): set the next() and previous()
12676         pointers of the paragraph to 0 before deleting otherwise we have
12677         problems with the Paragraph::[destructor].
12678
12679         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12680         on a paragraph insertion.
12681
12682 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12683
12684         * buffer.C (asciiParagraph): use += operator for char append to
12685         string.
12686
12687         * paragraph.C (getFontSettings): compare >= not just >
12688         (highestFontInRange): ditto
12689         (setFont): ditto
12690
12691 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12692
12693         * paragraph.C: change several algorithm to be more appripriate for
12694         the problem domain. This is lookip in FontList and in the InsetList.
12695
12696 2002-03-13  André Pönitz <poenitz@gmx.net>
12697
12698         * commandtags.h:
12699         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12700
12701 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12702
12703         * commandtags.h:
12704         * LyXAction.C:
12705         * lyxfunc.C:
12706         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12707
12708 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12709
12710         * Painter.C (display): anon helper function, adjust code for this
12711         change.
12712         (pixmap): remove function.
12713
12714         * Painter.h: remove private display variable.
12715
12716         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12717
12718 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12719
12720         * WorkArea.[Ch]: remove figinset_canvas cruft.
12721
12722 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12723
12724         * lyxtextclass.C (operator): add one item cache optimization.
12725
12726         * bufferlist.h: doxy changes
12727
12728         * bufferlist.C: ws changes
12729
12730         * DepTable.[Ch] (ext_exist): place const in the right spot.
12731
12732         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12733         call resizeInsets.
12734         (workAreaExpose): call resizeInsets when the with BufferView changes.
12735         (Dispatch): adjust for protectedBlank removal
12736         (specialChar): call updateInset if the insert went ok.
12737
12738         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12739         specialChar instead.
12740
12741         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12742
12743         * BufferView.h: doxy change
12744
12745         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12746
12747         * lyxtextclass.C (operator[]): remove non-const version
12748         (defaultLayout): remove non-const version
12749
12750 2002-03-12  Juergen Vigna  <jug@sad.it>
12751
12752         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12753         did resize the LyXText too.
12754
12755         * buffer.C (readLyXformat2): set layout information on newly allocated
12756         paragraphs.
12757
12758         * tabular.C (OldFormatRead): set layout information on the paragraph.
12759
12760 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12761
12762         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12763
12764 2002-03-11  Juergen Vigna  <jug@sad.it>
12765
12766         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12767         plainly wrong.
12768         (resizeCurrentBuffer): force also the insets to resize themselfes.
12769         (moveCursorUpdate): fixed up for InsetText.
12770
12771 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12772
12773         * commandtags.h:
12774         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12775         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12776         value of Dialogs::tooltipsEnabled().
12777         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12778
12779 2002-03-08  Juergen Vigna  <jug@sad.it>
12780
12781         * BufferView_pimpl.C (updateInset): update inset inside inset also
12782         if it isn't inside theLockingInset().
12783
12784 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12785
12786         * buffer.C (asciiParagraph): redo some of the word and line length
12787         handling.
12788         (getLists): look for Caption instead of caption.
12789
12790 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12791
12792         * buffer.C (Buffer): initialize niceFile to true
12793         (makeLaTeXFile):
12794         (makeLinuxDocFile):
12795         (makeDocBookFile): make sure niceFile is true on exit
12796
12797 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12798
12799         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12800
12801 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12802
12803         * LyXSendto.C: remove.
12804         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12805         * lyx_gui.C: remove now-redundant comment.
12806         * ColorHandler.h: remove forward declaration of class WorkArea.
12807         * lyxfunc.C: remove #include "WorkArea.h".
12808
12809 2002-03-07  Juergen Vigna  <jug@sad.it>
12810
12811         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12812         got moved away with the DEPM and also set the inset_owner always
12813         right which before could have been omitted.
12814
12815 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12816
12817         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12818         wanted layout is not found.
12819
12820 2002-03-07  Juergen Vigna  <jug@sad.it>
12821
12822         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12823
12824 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12825
12826         * paragraph.C (breakParagraph): use default layout not layout of
12827         prev paragraph.
12828         (Paragraph): clear ParagraphParameters.
12829
12830 2002-03-06  Juergen Vigna  <jug@sad.it>
12831
12832         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12833         otherwise it would not be a valid lenght. Fixed a special case in
12834         the minipage compatibility read where we end the document with a
12835         minipage.
12836
12837         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12838         was set as it could be 0 for InsetTexts first entry.
12839
12840 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12841
12842         * paragraph.C (writeFile): if layout is empty write out
12843         defaultLayoutName().
12844
12845         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12846         file without named layout we set layout to defaultLayoutName().
12847
12848 2002-03-06  Juergen Vigna  <jug@sad.it>
12849
12850         * CutAndPaste.C (copySelection): set layout for new paragraph.
12851
12852         * text.C (prepareToPrint): leave ERT inset left aligned
12853         (leftMargin): don't indent paragraphs inside ERT insets
12854
12855 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12856
12857         * paragraph.C (breakParagraph): dont call clear do the work manually
12858
12859         * paragraph.[Ch] (clear): remove function
12860
12861 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12862
12863         * paragraph.C (Paragraph): dont call clear, the work has already
12864         been done.
12865
12866         * lyxtextclass.C (operator): assert if n is empty
12867
12868         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12869         work manually instead.
12870
12871 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12872
12873         * BufferView_pimpl.C: protect selectionLost against text == 0
12874
12875 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12876
12877         * text.C (breakParagraph): fix a setting layout to '0' problem.
12878
12879 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12880
12881         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12882         final location of file, for the included files, and graphics.
12883
12884 2002-03-05  Juergen Vigna  <jug@sad.it>
12885
12886         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12887
12888 2002-03-04  Juergen Vigna  <jug@sad.it>
12889
12890         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12891
12892         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12893         last column of multicolumn cells.
12894         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12895
12896 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12897
12898         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12899         file if it doesn't go to a temporary file.
12900
12901         * buffer.C (sgmlOpenTag):
12902         (sgmlCloseTag):  remove extra newline insertion.
12903
12904 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12905
12906         * text.C (getRowNearY): comment out debug msg
12907
12908 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12909
12910         * text2.C: first -> first_y
12911
12912         * text.C (getRowNearY): add some attemts at a possible
12913         optimization, not working.
12914
12915         * tabular.[Ch]: add BufferParams to several function so that newly
12916         created paragraph can be initialized to he default layotu for the
12917         buffers textclass.
12918
12919         * tabular-old.C (ReadOld): add buf->params to call of Init
12920
12921         * screen.C: rename text->first to text->first_y
12922
12923         * paragraph.C (breakParagraph): always set layout in the broken
12924         paragraph
12925
12926         * lyxtextclass.C (Read): remove lowercase
12927         (hasLayout): ditto
12928         (operator): ditto
12929         (delete_layout): ditto
12930
12931         * lyxtext.h: rename first -> first_y
12932
12933         * lyxlayout.C (Read): remove lowercase
12934         (name): ditto
12935         (setName): ditto
12936         (obsoleted_by): ditto
12937
12938         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12939
12940         * buffer.C (insertErtContents): add params are to InsetERT
12941         (parseSingleLyXformat2Token): add code to check if a paragraphs
12942         layout really exist.
12943         (parseSingleLyXformat2Token): add params to several inset
12944         constructors
12945         (asciiParagraph): remove lowercase, do the layout comparisons with
12946         no_case
12947
12948         * BufferView_pimpl.C (cursorNext): first -> first_y
12949         (resizeCurrentBuffer): first -> first_y
12950         (updateScrollbar): first -> first_y
12951         (scrollCB): first -> first_y
12952         (workAreaMotionNotify): first -> first_y
12953         (workAreaButtonPress): first -> first_y
12954         (checkInsetHit): first -> first_y
12955         (cursorPrevious): first -> first_y
12956         (cursorNext): first -> first_y
12957         (Dispatch): add buffer_->params to severl inset contructors
12958
12959 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12960
12961         * lyxlayout.C (Read): remove some debug info that I forgot.
12962
12963         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12964         clean up the code slightly.
12965         (makeLinuxDocFile): ditto
12966         (makeDocBookFile): ditto
12967
12968         * text2.C: layout as string
12969
12970         * text.C: layout as string
12971
12972         * paragraph_pimpl.C: layout as string
12973
12974         * paragraph.[Ch]: layout as string
12975
12976         * lyxtextclasslist.[Ch]: layout as string
12977
12978         * lyxtextclass.[Ch]: layout as string
12979
12980         * lyxtext.h: layout as string
12981
12982         * lyxlayout.[Ch]: layout as string
12983
12984         * lyx_cb.C: layout as string
12985
12986         * bufferview_funcs.C: layout as string
12987
12988         * bufferparams.C: layout as string
12989
12990         * buffer.C: layout as string
12991
12992         * LyXView.[Ch]: layout as string
12993
12994         * LaTeXFeatures.[Ch]: layout as string
12995
12996         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12997
12998         * BufferView_pimpl.C: change current_layout to string, remove
12999         lyx::layout_type.
13000         (Dispatch):
13001         (smartQuote):
13002         (insertInset):
13003         (workAreaButtonRelease): layout as string
13004
13005         * BufferView2.C (unlockInset): adjust
13006
13007         * vspace.C (asLatexCommand): use an explict temp variable.
13008
13009 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13010
13011         * Makefile.am: use FRONTEND_*
13012
13013 2002-03-01  Juergen Vigna  <jug@sad.it>
13014
13015         * tabular.C (SetWidthOfMulticolCell): changed to something better
13016         I hope but still work in progress.
13017         (recalculateMulticolumnsOfColumn): renamed function from
13018         recalculateMulticolCells as it is more appropriate now.
13019         (SetWidthOfCell): calculate multicols better.
13020
13021 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13022
13023         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13024
13025         * lyxfunc.C (processKeySym): print sequence also if it is
13026         `deleted' (complete)
13027
13028         * kbsequence.C (print): print sequence even if it is deleted
13029         (complete would be a better word, actually).
13030
13031         * lyxfunc.C (dispatch): print complete options after a prefix key
13032
13033         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13034
13035 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13036
13037         * text2.C (setCharFont): eliminate setCharFont code duplication.
13038
13039 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13040
13041         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13042         LFUN_TABULAR_FEATURE (bug #177)
13043
13044 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13045
13046         * Makefile.am: remove figure.h
13047
13048 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13049
13050         * Bufferview_pimpl.C:
13051         * CutAndPasteC:
13052         * LaTeX.C:
13053         * LyXSendto.C:
13054         * buffer.C:
13055         * bufferlist.C:
13056         * converter.C:
13057         * language.C:
13058         * lyxfunc.C:
13059         * lyxvc.C:
13060         * paragraph.C:
13061         * text.C:
13062         * text2.C: remove #include "lyx_gui_misc.h".
13063
13064         * LaTeX.C: added #include <cstdio>
13065
13066 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13067
13068         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13069         that the paragraph following this one can have.
13070
13071         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13072
13073         * vspace.C (asLatexCommand): fix bogus gcc warning
13074
13075         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13076
13077 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13078
13079         * text2.C (setLayout): get rid of redundant code
13080
13081 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13082
13083         * text2.C (incDepth): make sure depth cannot be increased beyond
13084         reasonable values.
13085
13086 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13087
13088         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13089         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13090
13091         * PainterBase.h (image):
13092         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13093         a LyXImage const *.
13094
13095 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13096
13097         * BufferView.C:
13098         * BufferView.h:
13099         * BufferView_pimpl.C:
13100         * BufferView_pimpl.h:
13101         * LaTeXFeatures.C:
13102         * LyXAction.C:
13103         * LyXView.C:
13104         * Makefile.am:
13105         * UpdateList.h:
13106         * UpdateList.C:
13107         * buffer.C:
13108         * figure.h:
13109         * figureForm.C:
13110         * figureForm.h:
13111         * figure_form.C:
13112         * figure_form.h:
13113         * lyx_cb.C:
13114         * lyx_gui.C:
13115         * lyx_gui_misc.C:
13116         * lyxfunc.C:
13117         * sp_base.h:
13118         * sp_ispell.h:
13119         * sp_pspell.h:
13120         * sp_spell.C: remove fig inset, and the crap house of
13121           cards that follows it
13122
13123 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13124
13125         * Makefile.am:
13126         * lyxserver.C:
13127         * os2_defines.h:
13128         * os2_errortable.h:
13129         * nt_defines.h: move .h into support/
13130
13131         * vms_defines.h: remove
13132
13133         * WorkArea.C: add space in debug output
13134
13135         * text2.C:
13136         * paragraph.C:
13137         * buffer.C: add WITH_WARNINGS
13138
13139         * vc-backend.h:
13140         * vc-backend.C:
13141         * bufferlist.C: s/retrive/retrieve/, add docs
13142
13143         * vspace.h:
13144         * vspace.C:
13145         * kbmap.h:
13146         * lyxlength.h:
13147         * lyxgluelength.h:
13148         * length_common.h:
13149         * chset.h:
13150         * chset.C: add docs
13151
13152         * lyxgui.C: add ID to X error handler
13153
13154         * lyxtestclass.c: fix typo
13155
13156 2002-02-26  Juergen Vigna  <jug@sad.it>
13157
13158         * tabular_funcs.C (write_attribute): changed so that some default
13159         attributes are not written at all.
13160         (getTokenValue): set default values before trying to read the
13161         value so we have the return value always set as default if we don't
13162         find the token we search for.
13163
13164         * tabular.C (Write): write bools as bools not as strings!
13165
13166 2002-02-22  Juergen Vigna  <jug@sad.it>
13167
13168         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13169         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13170
13171         * text.C (leftMargin): don't add an indent for paragraphs inside
13172         tabular cells (fix #208).
13173
13174 2002-02-21  José Matos  <jamatos@fep.up.pt>
13175
13176         * tabular.C (docBook): fixed support for long tables.
13177
13178 2002-02-20  Juergen Vigna  <jug@sad.it>
13179
13180         * text2.C (getFont): get the drawing font of the Inset if this
13181         paragraph is inside an inset (only important for InsetERT for now).
13182
13183         * buffer.C (insertErtContents): use new lanugage params in ERT
13184         constructor.
13185
13186         * CutAndPaste.C: commenting out seemingly uneeded code.
13187
13188 2002-02-19  Allan Rae  <rae@lyx.org>
13189
13190         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13191         Iterators might be simple to use but they also get invalidated.
13192         (removeAutoInsets): renamed saved cursor tracking variables and added
13193         some comments to clarify what everything does.
13194
13195 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13196
13197         * Chktex.C:
13198         * LaTeX.C:
13199         * LyXSendto.C:
13200         * converter.C:
13201         * lyx_cb.C:
13202         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13203         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13204
13205         * lyxfunc.C:
13206         * vc-backend.h: remove #include "support/syscall.h"
13207
13208         * LaTeX.C:
13209         * LyXSendto.C:
13210         * converter.C: rearrange #includes in Lars' approved fashion.
13211
13212         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13213         forward declare class Timeout in the header file.
13214
13215         * XFormsView.C: changes due to the above.
13216
13217         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13218         similar to LyXView.
13219
13220         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13221         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13222
13223 2002-02-18  José Matos  <jamatos@fep.up.pt>
13224
13225         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13226         insets contents.
13227
13228 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13229
13230         * a lot of small ws changes
13231         * add a lot of using std::XXX
13232         * use std construcs some places where approp.
13233         * use some exisint stuff from lyxfunctional where approp.
13234         * Make file changes to use partial linking (lets test this now...)
13235
13236 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13237
13238         * Chktex.C:
13239         * buffer.C:
13240         remove #include "support/syscontr.h" as it's redundant. Always has been.
13241
13242         * Chktex.C:
13243         * LaTeX.C:
13244         * LyXSendto.C:
13245         * converter.C:
13246         * lyx_cb.C:
13247         * vc-backend.C:
13248         change Systemcalls::System to Systemcalls::Wait and
13249         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13250         No change of functionality, just reflects the stripped down Systemcalls
13251         class.
13252
13253 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13254
13255         * debug.[Ch]: add a GRAPHICS type to the enum.
13256
13257 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13258
13259         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13260
13261         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13262         there is an inset.
13263
13264 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13265
13266         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13267         match the changes below.
13268
13269         * text2.C (toggleInset): if there is not editable inset at cursor
13270         position, try to see if cursor is _inside_ a collapsable inset
13271         and close it.
13272
13273 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13274
13275         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13276         document menu has a nice checkbox
13277
13278 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13279
13280         * lyxlength.C (asLatexString): change PW to output as percent of
13281         \textwidth.
13282
13283         * lengthcommon.C: change '%' to 't%'
13284
13285         * lyxfunc.C (dispatch): a few comments from Martin
13286
13287 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13288
13289         * WorkArea.h:
13290         * WorkArea.C:
13291         * BufferView_pimpl.h:
13292         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13293           the X selection.
13294
13295 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13296
13297         * vspace.C (inPixels): fix compiler warning
13298
13299 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13300
13301         * lyxfunc.C (getStatus): fix status message for disabled commands.
13302
13303 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13304
13305         * BufferView_pimpl.C: fix crash on close buffer
13306         during selection (#227)
13307
13308 2002-01-27  Herbert Voss  <voss@lyx.org>
13309
13310         * buffer.C: link old Figure to new graphic inset
13311
13312 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13313
13314         * FontLoader.C (getFontinfo): Change the latex font names in order
13315         to match the names of type1inst.
13316
13317 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13318
13319         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13320
13321         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13322         (extchanged): ditto
13323         (ext_exist): ditto
13324         (remove_files_with_extension): ditto
13325         (remove_file): ditto
13326         (write): ditto
13327
13328         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13329         document is smaller than the work area height. Do not initialize
13330         static variables to 0.
13331
13332 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13333
13334         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13335
13336         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13337         LFUN_LAYOUT_PARAGRAPHS.
13338
13339         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13340         tabular. It is possible to provide a possible cell, which will
13341         typically be the actcell from the corresponding insettabular
13342
13343         * lyxfunc.C (getStatus): small cleanup; disable
13344         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13345         true
13346
13347 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13348
13349         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13350
13351         * paragraph.C (startTeXParParams):
13352         (endTeXParParams): new methods. The LaTeX code to
13353         start/end paragraph formatting
13354         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13355         empty (fixes bug #200)
13356
13357         * vspace.C (inPixels): adapt to the change below
13358         (inPixels): [later] more cleanups (remove unused variables)
13359
13360         * lyxlength.C (inPixels): change to use a width and a height as
13361         parameter.
13362
13363 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13364
13365         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13366         Replaced with \paperwidth
13367
13368         * DepTable.C (insert): add std:: qualifier
13369
13370 2002-01-18  Allan Rae  <rae@lyx.org>
13371
13372         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13373         updated also?
13374
13375         * text.C (drawInset): Turned out I didn't know enough about how
13376         rebreaking worked.  This fixes most of the redraw problems.  I see
13377         an occasional cursor trail when a line is broken now and the cursor
13378         placement can seem out by a few pixels also after a rebreak.
13379
13380 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13381
13382         * buffer.C (parseSingleLyXformat2Token): update because minipage
13383         width is now a LyXLength
13384
13385         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13386
13387         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13388         math insets
13389
13390 2002-01-17  Juergen Vigna  <jug@sad.it>
13391
13392         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13393
13394         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13395         is set correctly and the inset is updated correctly.
13396
13397 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13398
13399         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13400         the beginning of the loop.
13401
13402 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13403
13404         * lyxrc.C: improve help for use_scalable_fonts
13405
13406 2002-01-17  Allan Rae  <rae@lyx.org>
13407
13408         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13409
13410 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13411
13412         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13413         make sure to set their inset_owner to the right value (bug #171)
13414
13415 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13416
13417         * DepTable.h
13418         * DepTable.C: Implement mtime checking to reduce time spent doing
13419         CRCs.
13420
13421 2002-01-16  Juergen Vigna  <jug@sad.it>
13422
13423         * tabular.C (GetAdditionalHeight): one of error fixed.
13424
13425         * lyxrc.C (output): small fix in writing use_pspell.
13426
13427 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13428
13429         * sp_base.h: #include LString.h
13430
13431 2002-01-16  Allan Rae  <rae@lyx.org>
13432
13433         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13434         Can someone check this please?
13435
13436         * text.C (drawInset): It was possible that p.row would be removed by
13437         breakAgainOneRow upsetting a few other settings.  There may be another
13438         small tweak possible by setting need_break_row = 0 when p.row has been
13439         removed but I don't know enough about the logic here.
13440
13441 2002-01-15  Allan Rae  <rae@lyx.org>
13442
13443         * text.C (insertChar): removed conditional truism.
13444
13445         * BufferView2.C (removeAutoInsets): More tweaks.
13446         cur_par_prev could be a stray pointer.  Check for trailing empty line
13447         in case last line was cur_par and only had an error inset on it.
13448
13449 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13450
13451         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13452         absolute
13453
13454         * vc-backend.C (most methods):
13455         * exporter.C (Export):
13456         * converter.C (convert):
13457         (runLaTeX):
13458         * LyXSendto.C (SendtoApplyCB):
13459         * lyxfunc.C (dispatch):
13460         (menuNew):
13461         (open):
13462         (doImport):
13463         * lyx_cb.C (AutoSave):
13464         (InsertAsciiFile):
13465         * BufferView_pimpl.C (MenuInsertLyXFile):
13466         * buffer.C (runChktex): use Buffer::filePath().
13467
13468         * buffer.h: rename filename to filename_; rename filepath to
13469         filepath_ and make it private
13470         (filePath): new method
13471
13472         * buffer.C (writeFile): use fileName()
13473         (getLatexName):
13474
13475         * lyx_main.C (init): fix starting  of LyX when the binary is a
13476         link from so,ewhere else.
13477
13478         * minibuffer.C: include <cctype> for isprint
13479
13480 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13481
13482         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13483         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13484         name clash with InsetCollapsable's width function.
13485
13486 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13487
13488         * lastfiles.C: include <iterator>
13489
13490 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13491
13492         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13493         std::count.
13494
13495         * buffer.C (makeLaTeXFile): ditto.
13496         Also make loop operation more transparent.
13497
13498 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13499
13500         * ToolbarDefaults.C: remove trailing comma closing namespace.
13501
13502         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13503
13504         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13505         as in WorkArea.
13506
13507         * trans.C (Load): comment out unused variable, allowed.
13508
13509 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13510
13511         * minibuffer.[Ch] (append_char): new method to recieve input from the
13512         drop-down completion browser. If a key was pressed, then recieve this
13513         char and append it to the existing string.
13514         (peek_event): modify the positioning data passed to the completion
13515         browser so that it can be placed above the minibuffer rather than below.
13516 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13517
13518         * LyXAction.C (init): alloe error-next for readonly documents.
13519
13520         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13521         count.
13522
13523 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13524
13525         * bufferlist.C (readFile): create the buffer _after_ checking that
13526         the file exists.
13527
13528         * lyxfunc.C (verboseDispatch): fix handling of arguments
13529
13530         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13531
13532         * lyxrc.C: use string::erase() instead of initializing to "".
13533
13534
13535 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13536
13537         * BufferView_pimpl.h:
13538         * BufferView_pimpl.C:
13539         * WorkArea.h:
13540         * WorkArea.C:
13541         * text2.C: tell X when we have made a selection for copying
13542
13543 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13544
13545         * BufferView_pimpl.C (MenuInsertLyXFile):
13546         * lyxfunc.C (menuNew):
13547         (open):
13548         (doImport): add shortcuts to directory buttons
13549
13550         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13551         open a float)
13552
13553         * lyxfunc.C (setStatusMessage):
13554         (getStatusMessage): new methods
13555         (getStatus):use setStatusMessage instead of setErrorMessage
13556         (dispatch): when function is disabled, set error message here
13557         [instead of in getStatus previously]
13558
13559         * BufferView_pimpl.C (workAreaButtonRelease): update
13560         toolbar/menubar here too.
13561
13562 2002-01-13  Allan Rae  <rae@lyx.org>
13563
13564         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13565         Now seems indestructible.  Remaining task is to audit all other
13566         code affected by deleteEmptyParagraphMechanism.  One small quirk
13567         left is that an empty document with an error in the preamble can
13568         be made to report an error but no error box appears.  I don't know
13569         where it goes.
13570         (removeAutoInsets): Improved comments.
13571
13572 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13573
13574         * Thesaurus.h:
13575         * Thesaurus.C: update for Aiksaurus 0.14
13576
13577 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13578
13579         * text2.C (firstParagraph): removed member function, all uses
13580         replaces with ownerParagraph
13581         (redoParagraphs): here
13582         (updateInset): here
13583         (toggleAppendix): here
13584         * BufferView2.C (insertErrors): here
13585         (setCursorFromRow): here
13586
13587 2002-01-13  Allan Rae  <rae@lyx.org>
13588
13589         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13590         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13591         There is still a way to segfault this although you may have to do this
13592         multiple times: Have an InsetERT with an unknown command in it.
13593         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13594         <down-arrow>, <Enter> again, View->DVI, BANG!
13595
13596         * text2.C (setCursor):
13597         (deleteEmptyParagraphMechanism):
13598         * lyxtext.h (setCursor):
13599         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13600         Making use of the return value may help fix other bugs.
13601
13602 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13603
13604         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13605
13606         * LyXView.C (updateMenubar): call MenuBar::update here
13607         (updateToolbar): but not here
13608         (showState): do not update toolbar/menubar
13609
13610         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13611         should need to care about that.
13612
13613         * lyxfunc.C (verboseDispatch): simplify a bit
13614         (getStatus): have a version which takes a pseudoaction, and
13615         another which requires a (kb_action,string).
13616
13617         * LyXAction.C (retrieveActionArg): make it work also when action
13618         is not a pseudo-action.
13619         (getActionName): simplify a bit
13620         (helpText):
13621
13622 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13623
13624         * lyxfunc.C (verboseDispatch): new families of methods with
13625         several ways to specify a command and a bool to indicate whether
13626         the command name and shortcut should be displayed in minibuffer
13627         (eventually, we could extend that to a finer bitmask like
13628         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13629         (dispatch): the pristine dispatch command which just, well,
13630         dispatchs! Note it still sets its result to minibuffer; I'm not
13631         sure we want that.
13632
13633         * lyxfunc.h: remove setHintMessage
13634
13635         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13636
13637 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13638
13639         * BufferView_pimpl.C (specialChar): delete new inset if we have
13640         not been able to insert it.
13641
13642         * kbmap.C: revert to using int instead of kb_action, since all we
13643         are dealing with is pseudo-actions.
13644
13645         * LyXAction.C (searchActionArg): change to return int instead of
13646         kb_action, since the result is a pseudoaction.
13647
13648 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13649
13650         * buffer.C (insertErtContents): Fix (partially) the font bug.
13651
13652 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13653
13654         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13655         as the other one is broken on my machine!
13656
13657 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13658
13659         * commandtags.h:
13660         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13661
13662 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13663
13664         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13665         reflect their actual use. Provide compatibility code for older lyxrc
13666         files.
13667
13668         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13669         FL_NORMAL_STYLE.
13670         change names of popup font variables in line with the changes to lyxrc.C
13671
13672 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13673
13674         * buffer.C (asciiParagraph): avoid outputing a word twice after
13675         an inset.
13676
13677         * lyxrc.C (getDescription): document that document_path and
13678         template_path can be empty.
13679
13680 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13681
13682         * LaTeXFeatures.C (getMacros):
13683         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13684
13685         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13686
13687         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13688         getPackages.
13689         (getPackages): rename feature "floats" to "float". Use an array to
13690         iterate over 'simple' features (i.e. just a \usepackage). Add
13691         handling of "amsmath" (renamed from "amsstyle").
13692
13693 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13694
13695         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13696         features list.
13697
13698 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13699
13700         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13701         FuncStaus::FuncStatus & FuncStaus::some_method().
13702
13703 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13704
13705         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13706         of the func_satus stuff. Edited and massaged in various ways by
13707         JMarc.
13708
13709         * lyxfunc.C (getStatus): use FuncStatus
13710
13711 2002-01-08  Juergen Vigna  <jug@sad.it>
13712
13713         * text.C (nextBreakPoint): use function Inset::isChar().
13714
13715         * paragraph.C (TeXOnePar): use function
13716         Inset::forceDefaultParagraphs.
13717
13718         * buffer.C (latexParagraphs): use function
13719         Inset::forceDefaultParagraphs.
13720
13721 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13722
13723         * lyx_gui.C (init): set the style of the menu popups to
13724         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13725
13726 2002-01-07  Juergen Vigna  <jug@sad.it>
13727
13728         * text.C (setHeightOfRow): small fix
13729         (prepareToPrint): don't look at alignment if we don't have the place
13730         for doing it.
13731
13732 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13733
13734         * box.C: New file. Move the Box methods and functions out of box.h,
13735         following Lars' suggestion.
13736
13737 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13738
13739         * box.h: #include "support/LOstream.h", needed for inlined function.
13740
13741         * lyxtextclass.C:
13742         * lyxtextclasslist.C: added some using std declarations.
13743
13744 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13745
13746         * box.h: make signed dimensions to allow insets wider than
13747           the screen (bug #162)
13748
13749         * BufferView_pimpl.C: add some insetHit debug
13750
13751 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13752
13753         * vc-backend.C: add FIXME
13754
13755 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13756
13757         * lyxfunc.C (getStatus): enable code for showing math font status
13758         in toolbar/menu.
13759
13760 2002-01-07  Juergen Vigna  <jug@sad.it>
13761
13762         * text.C (nextBreakPoint): removed debug output not needed anymore.
13763
13764 2002-01-06  Juergen Vigna  <jug@sad.it>
13765
13766         * text.C (nextBreakPoint): fixed up this function we had this bug
13767         since ever but now hopefully we break row better.
13768         (insertChar): we have to check if an inset is the next char as it
13769         could now happen that a large inset is causing a break.
13770
13771 2002-01-05  Juergen Vigna  <jug@sad.it>
13772
13773         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13774         if it doesn't like to be drawed.
13775
13776 2002-01-04  Juergen Vigna  <jug@sad.it>
13777
13778         * BufferView2.C (lockInset): forgot to set a cursor.
13779
13780         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13781
13782 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13783
13784         * FormMathsPanel.C:
13785         * FormMathsPanel.h
13786         * MathsSymbols.C:
13787         * form_maths_panel.C:
13788         * form_maths_panel.h:
13789         * form_maths_panel.fd: implemented sub- and super- buttons in math
13790         panel.
13791
13792         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13793         (or ^ space) to be used as in TeX (req'd by André).
13794
13795         * lyxfunc.C: Allow ^ and _ again to be used both as
13796         super/subscript (mathed) and as themselves (in text).
13797
13798 2002-01-03  Allan Rae  <rae@lyx.org>
13799
13800         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13801         "LyX" or the filename of the current buffer if it has one.  This is a
13802         modified form of John Levon's patch.
13803
13804         * XFormsView.C (setWindowTitle): also set icon title.
13805
13806         * LyXView.h (setWindowTitle): signature changed.
13807         * XFormsView.h (setWindowTitle): ditto.
13808
13809 2002-01-02  Juergen Vigna  <jug@sad.it>
13810
13811         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13812
13813 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13814
13815         * screen.C (topCursorVisible): introduce a temp var for
13816         text->cursor.row(), handle the case where this row is null. (kindo
13817         hachish)
13818
13819         * text2.C (setCursor): add a couple of asserts.
13820
13821         * paragraph.h (inset_iterator): add -> operator
13822
13823         * paragraph.[Ch] (autoDeleteInsets): remove member function
13824
13825         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13826         cursor pos correctly and handle inset deletion by itself.
13827         (insertErrors): move iterator declaration out of for expression
13828
13829         * lyxtextclass.C: add <algorithm>
13830
13831         * Makefile.am: added the new files to sources, removed layout.C
13832
13833         * layout.C: removed file
13834
13835         * layout.h: remove LYX_DUMMY_LAYOUT
13836
13837         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13838         layout.
13839
13840         * lyxlayout.[Ch]:
13841         * lyxtextclass.[Ch]:
13842         * lyxtextclasslist.[Ch]: new files
13843
13844         * include order changes to a lot of files, also changes because of
13845         the six new files.
13846
13847 2001-12-27  Juergen Vigna  <jug@sad.it>
13848
13849         * buffer.C (asciiParagraph): more fixes.
13850
13851         * tabular.C (ascii): make ascii export support export of only the
13852         data separated by a column-delimiter.
13853         (ascii): better support for ascii export.
13854
13855         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13856
13857 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13858
13859         * tabular_funcs.C: use a "using std::getline" instead of the
13860         previous fix from Angus (necessary for cxx + lyxstring)
13861
13862 2001-12-24  Juergen Vigna  <jug@sad.it>
13863
13864         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13865
13866         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13867         problems. First check a minipage also if we have some ert-contents
13868         (not only on par->size(), second set the right depth of the paragraph
13869         on the relink to the root-paragraph-list!
13870
13871         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13872         which then did not anymore update the main paragraphs on undo/redo!
13873
13874 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13875
13876         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13877         code. Support all font-changing funcs (even those which are not in
13878         menu currently). Support for reporting font settings in
13879         mathed (disabled until Andre provides a function on mathed's side).
13880
13881         * func_status.h (toggle): small helper function to set toggle
13882         state on a flag.
13883
13884 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13885
13886         * tabular_funcs.C: getline -> std::getline
13887
13888 2001-12-21  Juergen Vigna  <jug@sad.it>
13889
13890         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13891         accessed and could be 0 (I couldn't generate this but it seems
13892         Michael could!).
13893
13894 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13895
13896         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13897         * tabular_funcs.h: here and include iosfwd
13898
13899 2001-12-20  Juergen Vigna  <jug@sad.it>
13900
13901         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13902         inside inset but undo_par was.
13903
13904 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13905
13906         * Thesaurus.C: always include <config.h> in sources.
13907
13908         * Painter.h:
13909         * lyxlookup.h:
13910         * box.h: do not include <config.h> in header files
13911
13912         * text.C (paintLastRow): remove unused variable
13913
13914         * text.C (transformChar):
13915         (insertChar):
13916         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13917
13918         * Painter.C (text):
13919         * font.C (width): rewrite to use uppercase() instead of
13920         islower/toupper.
13921
13922         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13923
13924 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13925
13926         * lyxfind.C: clean up of find failure position change
13927
13928 2001-12-20  Juergen Vigna  <jug@sad.it>
13929
13930         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13931
13932         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13933         (TeXRow): added to LaTeX a single tabular row.
13934         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13935         (Latex): simplified and finally good LT-h/f support.
13936         (various_functions): just small adaptions for LT-h/f support.
13937
13938         * tabular_funcs.[hC]: added and moved here all not classfunctions
13939         of LyXTabular.
13940
13941 2001-12-19  Juergen Vigna  <jug@sad.it>
13942
13943         * tabular.[Ch]: better support for longtabular options (not finished
13944         yet!)
13945
13946 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13947
13948         * text.C (paintLastRow): use the label font instead of the font of
13949         the last character to compute the size of *_BOX. This makes more
13950         sense and avoids a crash with empty paragraphs.
13951         Use Painter::rectangle to draw EMPTY_BOX.
13952
13953 2001-12-19  Juergen Vigna  <jug@sad.it>
13954
13955         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13956         the paragraphs if the replaced paragraph is not the first one!
13957         Tried to delete not used paragraphs but does not work yet so for
13958         now it's inside #ifdef's and by default off!
13959
13960 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13961
13962         * MenuBackend.C: include "lyx_main.h" instead of declaring
13963         lastfiles (actually was declared as LastFiles* instead of a
13964         scoped_ptr).
13965
13966 2001-12-17  Juergen Vigna  <jug@sad.it>
13967
13968         * tabular.C (AppendColumn): applied John's fix
13969
13970 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13971
13972         * BufferView.h:
13973         * BufferView.C:
13974         * BufferView_pimpl.h:
13975         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13976
13977         * Makefile.am:
13978         * box.h: new start of class for above
13979
13980         * lyxfunc.C: ignore space-only minibuffer dispatches.
13981           Show the command name when it doesn't exist
13982
13983         * minibuffer.C: don't add empty lines to the history
13984
13985         * minibuffer.C: add a space on dropdown completion
13986
13987 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13988
13989         * text.C: fix line above/below drawing in insets
13990
13991 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13992
13993         * lyxlength.C (LyXLength): Initialize private variables.
13994
13995 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13996
13997         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13998         when inserting error insets.
13999
14000 2001-12-13  Juergen Vigna  <jug@sad.it>
14001
14002         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14003         actually sometimes the before-paragraph.
14004         (setUndo): don't clear the redostack if we're not actually undoing!
14005
14006 2001-12-06  Juergen Vigna  <jug@sad.it>
14007
14008         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14009         and fixed redoing of main paragraph, so we can use it now ;)
14010
14011         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14012
14013 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14014
14015         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14016         Juergen's request
14017
14018 2001-12-13  André Pönitz <poenitz@gmx.net>
14019
14020         * undostack.[Ch]:
14021         * undo_func.C: minor cleanup
14022
14023 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14024
14025         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14026         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14027         font in urw-fonts package which is marked as -urw-fontspecific and
14028         does not work (incidentally, changing the encoding in the
14029         fonts.dir of this package to -adobe-fontspecific fixes the
14030         problem).
14031
14032         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14033         is a crash when undoing first paragraph (Juergen, please take a
14034         look). THis does not mean the undo fix is wrong, just that it
14035         uncovers problems.
14036
14037         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14038         the (Paragraph*) version when needed instead of duplicating the
14039         code.
14040
14041         * text.C (workWidth): use Inset::parOwner to find out where the
14042         inset has been inserted. This is a huge performance gain for large
14043         documents with lots of insets. If Inset::parOwner is not set, fall
14044         back on the brute force method
14045
14046         * paragraph_pimpl.C (insertInset):
14047         * paragraph.C (Paragraph):
14048         (cutIntoMinibuffer): set parOwner of insets when
14049         inserting/removing them
14050
14051         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14052
14053 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14054
14055         * commandtags.h:
14056         * LyXAction.C:
14057         * lyx_main.C:
14058         * lyxfunc.C:
14059         * mathed/formulabase.C:
14060         * mathed/math_cursor.[Ch]:
14061         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14062
14063
14064 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14065
14066         * lyxlength.[Ch] (operator!=): new function
14067
14068 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14069
14070         * text.C (workWidth): use Inset::parOwner to find out where the
14071         inset has been inserted. This is a huge performance gain for large
14072         documents with lots of insets. If Inset::parOwner is not set, fall
14073         back on the brute force method
14074
14075         * paragraph_pimpl.C (insertInset):
14076         * paragraph.C (Paragraph):
14077         (cutIntoMinibuffer): set parOwner of insets when
14078         inserting/removing them
14079
14080         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14081
14082 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14083
14084         * tabular-old.C (getTokenValue):
14085         * tabular.C (getTokenValue):
14086         (write_attribute): new versions for LyXLength
14087         (everywhere): adjust the use of widths
14088
14089         * tabular.h: change the type of widths from string to LyXLength
14090
14091 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14092
14093         * paragraph.C: fixed missing line number count when exporting
14094         Environments to LaTeX file
14095
14096         * buffer.C: added informational message for checking line numbers.
14097
14098 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14099
14100         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14101         paragraph, do the 'double space' part, but not the 'empty
14102         paragraph' one.
14103
14104         * text.C (workWidth): small optimization
14105         (getLengthMarkerHeight): use minimal size for negative lengths.
14106
14107 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14108
14109         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14110
14111         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14112
14113 2001-12-11  André Pönitz <poenitz@gmx.net>
14114
14115         * FontLoader.C:
14116         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14117
14118 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14119
14120         * text2.C: keep selection on a setFont()
14121
14122 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14123
14124         * lyx_cb.C: another bv->text misuse, from insert label
14125
14126 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14127
14128         * kbsequence.h:
14129         * kbsequence.C: re-instate nmodifier mask
14130
14131 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14132
14133         * lyx_main.h: make lyxGUI private.
14134
14135 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14136
14137         * lyxfind.C: place the cursor correctly on failed search
14138
14139 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14140
14141         * text.C (getLengthMarkerHeight): for small heights, the arrows
14142         are not always on top/bottom of the text
14143         (drawLengthMarker): smaller arrows; take the left margin in
14144         account; draw also vfills.
14145         (paintFirstRow):
14146         (paintLastRow): remove special code for vfill and standard spaces,
14147         since everything is handled in drawLengthMarker now.
14148
14149 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14150
14151         * buffer.C (insertErtContents): try to handle font and language
14152         interaction a bit better.g
14153
14154         * ColorHandler.C (updateColor): change the hash to cover the whole
14155         LColor enum, ws cleanup
14156         (getGCLinepars): ditto
14157         (getGCLinepars): only lookup in the linecache once.
14158
14159 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14160
14161         * iterators.C (operator++): Make the iterator more robust
14162
14163         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14164         (John's patch)
14165         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14166
14167 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14168
14169         * lyxtext.h:
14170         * text.C: better added space drawing
14171
14172 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14173
14174         * LyXView.C:
14175         * BufferView2.C: fix layout combo update on inset unlock
14176
14177 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14178
14179         * Makefile.am: don't compile unused files
14180
14181 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14182
14183         * lyxfunc.C:
14184         * commandtags.h:
14185         * LyXAction.C: remove old LFUN_LAYOUTNO
14186
14187 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14188
14189         * paragraph_pimpl.h:
14190         * paragraph_pimpl.C: isTextAt() doesn't need font param
14191
14192 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14193
14194         * lyxlex.h:
14195         * lyxlex.C: little cleanup
14196
14197 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14198
14199         * BufferView_pimpl.C: fix insertAscii for insets
14200
14201 2001-12-05  Juergen Vigna  <jug@sad.it>
14202
14203         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14204         set the right font on the "multi" paragraph paste!
14205
14206 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14207
14208         * trans_decl.h:
14209         * trans_mgr.[Ch]:
14210         * trans.[Ch]:
14211         * lyxgluelength.C:
14212         * lyxlength.C: remove out-commented code.
14213
14214         * BufferView_pimpl:
14215         * CutAndPaste.C:
14216         * DepTable.C:
14217         * buffer.C:
14218         * chset.C:
14219         * lastfiles.C:
14220         * lyxlex.C:
14221         * lyxlex_pimpl.C:
14222         * lyxserver.C:
14223         * screen.C:
14224         * tabular-old.C:
14225         * tabular.C:
14226         * text.C:
14227         * trans_mgr.C:
14228         * vc-backend.C: change "while(" to "while ("
14229
14230         * lyxlength.[Ch]: add zero function to check if length is zero or
14231         not
14232         * lyxgluelength.C: use it
14233
14234 2001-12-05  Allan Rae  <rae@lyx.org>
14235
14236         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14237         Works for 2.95.3, from what I understand of Garst's reports this should
14238         work for other g++ versions.  We're screwed if the abs(int) definition
14239         changed between bugfix releases of gcc.
14240
14241 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14242
14243         * text.C: fix chapter label offset !
14244
14245 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14246
14247         * lyxtext.h:
14248         * text.C: fix hfill at end of line, clean up
14249
14250 2001-12-04  Juergen Vigna  <jug@sad.it>
14251
14252         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14253         that we force an update of the inset and it's owners if neccessary.
14254
14255 2001-12-03  Juergen Vigna  <jug@sad.it>
14256
14257         * text.C (rowLast): simplified code
14258
14259 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14260
14261         * lyxfunc.C: fix show options on timeout
14262
14263 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14264
14265         * screen.C (topCursorVisible): scroll half a page when the cursor
14266         reached top of bottom of screen
14267
14268 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14269
14270         * minibuffer.C: deactivate on loss of focus
14271
14272 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14273
14274         * vspace.[Ch] (operator!=): add operator.
14275
14276 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14277
14278         * BufferView_pimpl.C: refuse to open an inset when
14279         there's a selection.
14280
14281 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14282
14283         * BufferView_pimpl.C: allow to click on RHS of full row insets
14284
14285 2001-11-30  Juergen Vigna  <jug@sad.it>
14286
14287         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14288         insets for undo reasons.
14289
14290 2001-11-28  André Pönitz <poenitz@gmx.net>
14291
14292         * vspace.[Ch]: cosmetical changes
14293
14294 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14295
14296         * LyXAction.h:
14297         * LyXAction.C:
14298         * lyxfunc.h:
14299         * lyxfunc.C:
14300         * kbmap.h:
14301         * kbmap.C:
14302         * lyxrc.C:
14303         * kbsequence.h:
14304         * kbsequence.C: part re-write of old kb code
14305
14306         * Painter.C:
14307         * WorkArea.C: remove Lgb_bug_find_hack
14308
14309 2001-11-30  José Matos <jamatos@fep.up.pt>
14310
14311         * buffer.C (makeDocBookFile): add a comment to point a hack.
14312         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14313         Fixed a double write of labels.
14314
14315 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14316
14317         * LaTeX.C:
14318         * LaTeX.h Fixed bug in LaTeX class where it would not
14319         re-run latex if no depfiles were changed, but the .dvi was removed.
14320
14321 2001-11-28  André Pönitz <poenitz@gmx.net>
14322
14323         * all the files from the change on 2001/11/26:
14324         use lyx::layout_type instead of LyXTextClass::size_type
14325         use lyx::textclass_type instead of LyXTextClassList::size_type
14326
14327 2001-11-29  Juergen Vigna  <jug@sad.it>
14328
14329         * text.C: added support for paragraph::isFreeSpacing()
14330
14331         * buffer.C: same as above
14332
14333         * paragraph.h: inserted isFreeSpacing() function to enable
14334         FreeSpacing inside InsetERT.
14335
14336         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14337         of the paragraph's in the cut/copy buffer to 0!
14338
14339         * text2.C (removeRow): remove the assert as it can!
14340
14341         * lyxtext.h: added helper function firstRow returning firstrow and
14342         made firstrow private again.
14343
14344         * BufferView2.C (lockInset): don't relock if we're already locked!
14345
14346         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14347         the only paragraph.
14348         (removeRow): added Assert::(firstrow)
14349
14350         * debug.C: forgot to add INSETTEXT here.
14351
14352 2001-11-28  Juergen Vigna  <jug@sad.it>
14353
14354         * sp_spell.C (initialize): changed error text to more general
14355         spellchecker command use (not only ispell!)
14356
14357         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14358
14359         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14360
14361 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14362
14363         * vspace.C: initialise lyxgluelength on failure
14364
14365 2001-11-28  Allan Rae  <rae@lyx.org>
14366
14367         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14368         declaration & definition that looks like a function declaration.
14369
14370 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14371
14372         * BufferView2.C (copy):
14373         (copyEnvironment): do not clear the selection when doing a copy.
14374
14375         * text.C (paintFirstRow): compilation fix
14376
14377 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14378
14379         * tabular.C (Latex): correct line count when writing latex.
14380
14381 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14382
14383         * paragraph_pimpl.h:
14384         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14385           bug a bit
14386
14387 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14388
14389         * text.C:
14390         * LColor.h:
14391         * LColor.C: change vfillline->added_space
14392
14393         * text.C: add markers and text for added space
14394
14395         * vspace.C: fix comment
14396
14397 2001-11-28  André Pönitz <poenitz@gmx.net>
14398
14399         * paragraph.C: whitespace changes
14400         * all the other files from the change on 2001/11/26:
14401         change *::pos_type into lyx::pos_type
14402
14403 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14404
14405         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14406         language of the document when inserting error insets.
14407
14408 2001-11-26  André Pönitz <poenitz@gmx.net>
14409
14410         * BufferView_pimpl.[Ch]:
14411         *       CutAndPaste.C:
14412         * buffer.[Ch]:
14413         * lyxcursor.[Ch]:
14414         * lyxfind.C:
14415         * lyxfunc.C:
14416         * lyxrow.[Ch]:
14417         * paragraph.[Ch]:
14418         * paragraph_pimpl.[Ch]:
14419         * sp_spell.C:
14420         * text.C:
14421         * text2.C: reduce header dependencies, introduce type for positions
14422
14423 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14424
14425         * <various>: change to use Alert.h
14426
14427 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14428
14429         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14430         when encountering an unknown token.
14431         (readLyXformat2): Show an error message if there were unknown tokens.
14432
14433 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14434
14435         * BufferView2.C:
14436         * BufferView_pimpl.C:
14437         * buffer.C:
14438         * paragraph.h:
14439         * text.C:
14440         * text2.C: use par->isInset()
14441
14442 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14443
14444         * paragraph_pimpl.h:
14445         * paragraph_pimpl.C: cleanup
14446
14447 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14448
14449         * text2.C (removeRow):
14450         * text.C (setHeightOfRow): remove useless (and costly) call to
14451         getRow.
14452
14453 2001-11-20  Allan Rae  <rae@lyx.org>
14454
14455         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14456         Now need Inset*::checkInsertChar() to return true for appropriate
14457         cases so that the characters in the minibuffer will actually be
14458         inserted.
14459
14460 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14461
14462         * text.C: change the order of the includes.
14463         (workWidth): initialize it at once.
14464         (workWidth): make maxw unsigned
14465         (setHeightOfRow): remove unused variable (inset)
14466         (selectSelectedWord): remove unused variable (inset)
14467         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14468
14469 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14470
14471         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14472         server is not running.
14473         (openConnection):
14474         (closeConnection): add debug info when server is disabled.
14475
14476         * ColorHandler.C (getGCForeground): send debug message to GUI
14477         channel.
14478
14479         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14480
14481         * kbmap.C (bind): modify because return conventions of
14482         kb_sequence::parse have changed.
14483
14484         * kbsequence.C (parse): only ignore spaces and not any stupid
14485         control character. This avoids tests like s[i] <= ' ', which are
14486         guaranteed to fail with 8bit characters and signed chars.
14487         Change return code to string::npos when there have been no error
14488         (0 was a bad idea when error is at first character)
14489
14490 2001-11-14  José Matos  <jamatos@fep.up.pt>
14491
14492         * buffer.h:
14493         * buffer.C (simpleDocBookOnePar): removed unused argument.
14494
14495 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14496
14497         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14498         insets which are part of a word. Paragraph::isLetter takes care of
14499         that now. Use Paragraph::isInset to identify insets.
14500         (selectSelectedWord): do not test for hyphenation break.
14501
14502         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14503         that protected spaces are considered as spaces.
14504
14505         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14506         Inset::isLetter.
14507
14508 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14509
14510         * lyxserver.h:
14511         * lyxserver.C: fix it. and small cleanup.
14512
14513 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14514
14515         * BufferView_pimpl.C: use inline helpers
14516
14517         * LaTeXFeatures.h:
14518         * LaTeXFeatures.C: fix typos
14519
14520         * Spacing.h:
14521         * Spacing.C: move spacing_string into class
14522
14523         * ToolbarDefaults.C: move stuff into namespace anon
14524
14525         * layout.h: update enum
14526
14527         * lyxfunc.C: use better debug
14528
14529         * minibuffer.h: fix typo
14530
14531         * debug.h:
14532         * debug.C:
14533         * WorkArea.C: add and use Debug::WORKAREA
14534
14535         * lyxtext.h:
14536         * text.C:
14537         * text2.C: code re-organisation, inline helpers
14538
14539 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14540
14541         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14542         std::vector.empty().
14543
14544 2001-11-09  Allan Rae  <rae@lyx.org>
14545
14546         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14547         '\n's after tables.  Tabular and ERT inset work now makes this no
14548         longer necessary.
14549
14550 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14551
14552         * minibuffer.h:
14553         * minibuffer.C: fix crash, improve drop-down completion
14554
14555 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14556
14557         * lyxserver.h:
14558         * lyxserver.C: invalidate fd's when doing endPipe()
14559
14560 2001-11-08  José Matos  <jamatos@fep.up.pt>
14561
14562         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14563         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14564
14565         * paragraph.h:
14566         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14567
14568 2001-11-07  José Matos  <jamatos@fep.up.pt>
14569
14570         * buffer.h:
14571         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14572         const qualifier.
14573
14574         * buffer.C (sgmlOpenTag):
14575         * buffer.C (sgmlCloseTag): removed debug info.
14576
14577         * buffer.h (sgmlOpenTag):
14578         * buffer.h (sgmlCloseTag): made public.
14579
14580 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14581
14582         * buffer.C (saveParamsAsDefaults):
14583         * lyx_cb.C (MenuLayoutSave): remove
14584
14585         * LyXAction.C (init):
14586         * commandtags.h:
14587         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14588
14589 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14590
14591         * buffer.C (setPaperStuff): removed from here...
14592
14593         * bufferparams.C (setPaperStuff): ... and moved there.
14594
14595 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14596
14597         * minibuffer.h:
14598         * minibuffer.C:
14599         * XFormsView.C: add support for drop-down completion
14600
14601 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14602
14603         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14604         commands.
14605
14606 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14607
14608         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14609         disabled.
14610
14611 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14612
14613         * lyx_main.C: change ref to known bugs
14614
14615 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14616
14617         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14618         to work around older babel problems.
14619
14620 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14621
14622         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14623
14624 2001-10-24  Juergen Vigna  <jug@sad.it>
14625
14626         * tabular-old.C (ReadOld): below variable changes reflected.
14627
14628         * tabular.[Ch]: added ltType struct for longtable header/footer
14629         defines and changed all instances where they are used. Added
14630         future support for double top/bottom rows.
14631
14632 2001-10-24  José Matos  <jamatos@fep.up.pt>
14633
14634         * buffer.h (docbookHandleCaption):
14635         * buffer.C (docbookHandleCaption): removed unused function.
14636         (makeDocBookFile): moved docbook supported version to v4.1.
14637
14638 2001-10-24  José Matos  <jamatos@fep.up.pt>
14639
14640         * tabular.h:
14641         * tabular.C (docbookRow): new function to export docbook code of a row.
14642         (DocBook): now honors the longtable flags.
14643
14644 2001-10-23  José Matos  <jamatos@fep.up.pt>
14645
14646         * LaTeXFeatures.h:
14647         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14648         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14649
14650         * buffer.C (makeLinuxDocFile):
14651         (makeDocBookFile): reworked the preamble, more clean, and with
14652         support for lyx defined entities. Changed the document declaration
14653         to be more XML friendly.
14654
14655         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14656         if we need to output XML that should be done with a filter.
14657
14658 2001-10-22  Juergen Vigna  <jug@sad.it>
14659
14660         * sp_pspell.h (class PSpell): add alive function needed in the
14661         controller to see if the spellchecker could be started.
14662
14663 2001-10-22  Juergen Vigna  <jug@sad.it>
14664
14665         * buffer.C (insertStringAsLines): modify the font for inserting
14666         chars in certain conditions by calling checkInsertChar(font).
14667
14668 2001-10-19  Juergen Vigna  <jug@sad.it>
14669
14670         * text.C (workWidth): use getRow instead of wrong algorithm.
14671         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14672
14673 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14674
14675         * lyxserver.h:
14676         * lyxserver.C:
14677         * lyx_main.h:
14678         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14679
14680 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14681
14682         * text.C (workWidth): do not search for the exact row when
14683         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14684         optimization for big documents.
14685
14686 2001-10-18  Juergen Vigna  <jug@sad.it>
14687
14688         * text.C (workWidth): new function with added Inset * parameter.
14689
14690 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14691
14692         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14693
14694         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14695         change return type of getColumnNearX.
14696
14697
14698         * text.C (changeRegionCase): use uppercase/lowercase instead of
14699         toupper/tolower.
14700         (leftMargin):
14701         (rightMargin): simplify code by factoring out the uses of
14702         textclasslist.
14703         (labelFill):
14704         (numberOfHfills):
14705         (setHeightOfRow):
14706         (appendParagraph): use Paragraph::size_type
14707
14708 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14709
14710         * vspace.C (asLatexString): add a missing break
14711
14712 2001-10-15  Herbert Voss  <voss@perce.de>
14713
14714         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14715
14716 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14717
14718         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14719         is not available.
14720
14721 2001-10-10  André Pönitz <poenitz@gmx.net>
14722
14723         * lyxfunc.C: removed greek_kb_flag.
14724
14725 2001-10-10  Herbert Voss  <voss@perce.de>
14726
14727         * lyx_main.C: delete global string help_lyxdir.
14728
14729 2001-10-09  Herbert Voss  <voss@perce.de>
14730
14731         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14732
14733         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14734
14735         * lyx_main.C: added global string help_lyxdir.
14736
14737         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14738
14739 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14740
14741         * lyxrc.C (set_font_norm_type): support iso8859-4
14742
14743 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14744
14745         * LaTeX.C (deplog): add another regex for MikTeX
14746
14747 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14748
14749         * lyxrc.C (set_font_norm_type): support iso8859-3
14750
14751 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14752
14753         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14754
14755         * LaTeXFeatures.C: remove special case of french and index
14756
14757         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14758         before \begin{document}). This solves several incompatibilities.
14759
14760 2001-10-03  Garst Reese  <reese@isn.net>
14761
14762         * lyx_cb.C: change CheckTex error msg.
14763
14764 2001-10-03  José Matos  <jamatos@fep.up.pt>
14765
14766         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14767
14768 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14769
14770         * .cvsignore: update
14771
14772         * lyx_main.C (commandLineVersionInfo): use new style version info.
14773
14774         * buffer.C (writeFile):
14775         (makeLaTeXFile):
14776         (makeLinuxDocFile):
14777         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14778
14779         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14780
14781         * version.h: update to use stuff in version.C
14782
14783         * version.C.in: new file. Contains version information determined
14784         at compile time. This is a merging of version.h and
14785         version_info.h.in.
14786
14787 2001-10-03  Juergen Vigna  <jug@sad.it>
14788
14789         * BufferView_pimpl.C (update): don't change "dirty" status in
14790         updateInset call.
14791
14792 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14793
14794         * WorkArea.C (c-tor): re-position version string slightly.
14795
14796 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14797
14798         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14799         revert to previous code.
14800
14801         WorkArea.[Ch]: (show, destroySplash): methods removed.
14802
14803         WorkArea.C: rework code so that it's an amalgam of the codes before and
14804         after the splash screen was moved to WorkArea.
14805
14806 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14807
14808         * lyxrc.C (read):
14809         * vspace.C (inPixels):
14810         (lyx_advance):
14811         * kbmap.C (bind):
14812         * buffer.C (insertStringAsLines):
14813         (asciiParagraph): fix types to be large enough
14814
14815         * lyxlex_pimpl.h: change member status from short to int
14816
14817         * layout.h: fix type of endlabeltype
14818
14819         * kbmap.C (bind):
14820         * kbsequence.C (parse): change return type to string::size_type
14821
14822         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14823         variable
14824
14825         * Bullet.C (bulletSize):
14826         (bulletEntry): do not use short ints as parameters
14827
14828         * BufferView2.C (insertLyXFile): change a char to an int.
14829
14830         * WorkArea.C (WorkArea): remove unneeded floats in computation
14831
14832 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14833
14834         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14835
14836         * paragraph.C (asString): Do not ignore newline/hfill chars when
14837         copying to the clipboard.
14838
14839 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14840
14841         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14842         after a multi-line inset.
14843
14844 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14845
14846         * paragraph.C (validate): Set NeedLyXFootnoteCode
14847
14848 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14849
14850         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14851         and decrease-error to decrease.
14852
14853 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14854
14855         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14856         it more readable (should be equivalent)
14857
14858 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14859
14860         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14861
14862 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14863
14864         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14865         of a cursor (row, etc.) after a character has been deleted
14866         (deleteEmptyParagraphMechanism): call the method above on _all_
14867         cursors held by the LyXText when a double space has been
14868         detected/deleted.
14869
14870 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14871
14872         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14873         pixmap.
14874         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14875
14876         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14877         background. Use greyOut() and the new show() methods to toggle between
14878         the foreground and background. Add code to remove the splash after
14879         its initial showing.
14880
14881         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14882         (create_forms): no longer call Dialogs::showSplash.
14883
14884 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14885
14886         * .cvsignore: add version_info.h
14887
14888 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14889
14890         * version_info.h.in: new file
14891
14892         * Makefile.am: add version_info.h.in
14893
14894         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14895         version_info.h instead of VERSION_INFO
14896
14897 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14898
14899         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14900         The ERT inset now returns string().
14901
14902 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14903
14904         * lyxtext.h, text.C (selectNextWord): renamed as
14905         selectNextWordToSpellcheck.
14906
14907         * text.C (selectNextWordToSpellcheck): Modified to not select
14908         words inside an ERT inset.
14909
14910 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14911
14912         * lyx_cb.C (MenuLayoutSave): change a bit the question
14913
14914         * sp_base.h: include <sys/types.h>
14915
14916 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14917
14918         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14919
14920 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14921
14922         * several files: fix typos in user-visible strings
14923
14924 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14925
14926         * text2.C (pasteSelection): do not set the selection, since it
14927         will be cleared later. Actually, the intent was to fix the way the
14928         selection was set, but I figured rmoving the code was just as good.
14929
14930 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14931
14932         * FontLoader.C (available): Check if font is available without
14933         loading the font.
14934
14935 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14936
14937         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14938
14939 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14940
14941         * lyxrc.[Ch]: added display_graphics variable and associated code.
14942
14943 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14944
14945         * bufferparams.C (hasClassDefaults): new method. Returns true if
14946         the buffer parameters correspond to known class defaults
14947
14948 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14949
14950         * XFormsView.C (show): set minimum size to the main window.
14951
14952 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14953
14954         * text2.C (copySelection):
14955         (cutSelection):
14956         * lyxfind.C (LyXReplace):
14957         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14958         LyXText::selectionAsString.
14959
14960         * paragraph.C (asString): add "label" argument to the second form
14961
14962         * text2.C (selectionAsString): add "label" argument and pass it to
14963         Paragraph::asString.
14964
14965 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14966
14967         * lyx_main.C (commandLineHelp): remove version information
14968
14969 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14970
14971         * lyx_main.C: add -version commandline option
14972
14973 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14974
14975         * paragraph.h: make the optional constructor arg required instead.
14976         some modifications to other files because of this.
14977
14978         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14979
14980         * lyxserver.C (C_LyXComm_callback): make it static
14981
14982         * lyx_main.C (error_handler): make it static
14983
14984         * lyx_gui.C (LyX_XErrHandler): make it static
14985
14986         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14987
14988         * WorkArea.C: make the extern "C" methods static.
14989
14990         * Makefile.am (lyx_LDADD): simplify
14991
14992 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14993
14994         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14995         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14996
14997         * LyXAction.C (init):
14998         * lyxfunc.C (dispatch): associated code removal.
14999
15000 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15001
15002         * lyxfont.h (isSymbolFont): shut off warning
15003
15004         * text.C (setHeightOfRow):
15005         (getVisibleRow): fix crash with empty paragraphs which have a
15006         bottom line
15007
15008 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15009
15010         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15011         code.
15012
15013 2001-09-04  José Matos  <jamatos@fep.up.pt>
15014         * buffer.C
15015         * buffer.h
15016         * tabular.C (docbook): rename docBook method to docbook.
15017
15018 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15019
15020         * Makefile.am: add dependencies to main.o.
15021
15022 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15023
15024         * FontLoader.C (available): Return false if !lyxrc.use_gui
15025
15026 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15027
15028         * FontInfo.C (query):
15029         * converter.C (view):
15030         * importer.C (Import):
15031         * exporter.C (Export): Can not -> cannot.
15032
15033 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15034
15035         * BufferView_pimpl.C: allow to create index inset even if
15036           string is empty
15037
15038 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15039
15040         * buffer.C (getLists): replace boost::tie code with an explicit pair
15041         as boost::tie can break some compilers.
15042
15043         * iterators.h: Added a std:: declaration to the return type of
15044         ParIterator::size.
15045
15046 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15047
15048         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15049           case.
15050
15051 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15052
15053         * iterators.[Ch]: New files. Provide paragraph iterators.
15054
15055         * buffer.C (changeLanguage): Use paragraph iterators.
15056         (isMultiLingual): ditto
15057
15058         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15059
15060 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15061
15062         * FontLoader.C: Support for cmr font.
15063
15064 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15065
15066         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15067         (available): New method.
15068
15069         * FontInfo.C (getFontname): Use scalable fonts even when
15070         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15071         found.
15072
15073 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15074
15075         * converter.C (Formats::view): reverted! Incorrect fix.
15076
15077 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15078
15079         * converter.C (Formats::view): only output the -paper option
15080         if the dvi viewer is xdvi, thereby fixing bug #233429.
15081
15082 2001-08-23  Herbert Voss  <voss@perce>
15083
15084         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15085
15086 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15087
15088         * Spacing.h (Spacing): Set space to Default on in the default
15089         constructor.
15090
15091 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15092
15093         * vc-backend.h (RCS::versionString): add RCS to version
15094         (CVS::versionString): add CVS to version
15095
15096         * vc-backend.C (scanMaster): do not add CVS to version.
15097         (scanMaster): do not add RCS to version
15098
15099         * lyxvc.C (versionString): new method
15100
15101         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15102
15103 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15104
15105         * Spacing.C (set): initialize fval
15106
15107 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15108
15109         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15110         " or \.
15111
15112 2001-08-16  Juergen Vigna  <jug@sad.it>
15113
15114         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15115
15116 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15117
15118         * BufferView_pimpl.C:
15119         * figureForm.C:
15120         * lyxtext.h:
15121         * text2.C: setParagraph takes linespacing now
15122
15123 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15124
15125         * LyxAction.C: add internal LFUN_CITATION_INSERT
15126
15127         * LyXView.C: actually apply fix
15128
15129         * bufferlist.C: fix open non-existent file
15130
15131         * lyxfind.C: fix indentation
15132
15133         * lyxfunc.C: remove unneeded assert, fix typo
15134
15135 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15136
15137         * MenuBackend.C: use "Floatname List"
15138
15139 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15140
15141         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15142         when converting LaTeX layout to insetERT.
15143         Generate a non-collapsed float when reading old float
15144
15145 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15146
15147         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15148         ERT insets.
15149
15150 2001-08-13  Juergen Vigna  <jug@sad.it>
15151
15152         * text.C (fill): return 0 instead of 20 as this seems to be the more
15153         correct value.
15154
15155 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15156
15157         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15158         lyxrc.font_norm.
15159
15160 2001-08-13  Juergen Vigna  <jug@sad.it>
15161
15162         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15163         casesensitive off.
15164         (SearchBackward): comment out the unlocking of the inset_owner this
15165         should not be needed!
15166
15167 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15168
15169         * Many files: Remove inherit_language, and add latex_language
15170
15171         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15172         collapsible insets.
15173
15174 2001-08-10  Juergen Vigna  <jug@sad.it>
15175
15176         * text.C (prepareToPrint): fixed hfill-width in draw!
15177
15178         * BufferView2.C (selectLastWord): save the selection cursor as this
15179         now is cleared in the function LyXText::clearSelection!
15180
15181 2001-08-08  Juergen Vigna  <jug@sad.it>
15182
15183         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15184         BACKSPACE type functions.
15185
15186         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15187         is only cutted from the document but not put in the cut-buffer, where
15188         still the old stuff should be.
15189
15190         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15191
15192         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15193
15194         * tabular.C (SetWidthOfCell): fixed special case where the width
15195         was not updated!
15196         (LeftLine): handle '|' in align_special.
15197         (RightLine): ditto
15198         (LeftAlreadyDrawed): ditto
15199         (SetWidthOfCell): ditto
15200
15201 2001-08-07  Juergen Vigna  <jug@sad.it>
15202
15203         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15204
15205 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15206
15207         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15208         * lyxlex.[hC]: ditto
15209
15210 2001-08-06  Juergen Vigna  <jug@sad.it>
15211
15212         * text.C (getVisibleRow): fix up row clearing a bit.
15213
15214 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15215
15216         * minibuffer.C: make sure the X server sees the changes in the input.
15217
15218 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15219
15220         * paragraph.C (getFont): split into...
15221         (getLabelFont): this
15222         (getLayoutFont): and this
15223         * paragraph_pimpl.C (realizeFont): calling this
15224
15225         * text2.C (getFont): split into...
15226         (getLayoutFont): this
15227         (getLabelFont): and this
15228         (realizeFont): all three calling this
15229
15230         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15231         files where used.
15232
15233 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15234
15235         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15236
15237 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15238
15239         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15240         layouts from the Quote inset insertion.
15241
15242 2001-08-03  Juergen Vigna  <jug@sad.it>
15243
15244         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15245
15246         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15247         only if status not is already CHANGED_IN_DRAW (second level).
15248
15249         * text.C (draw): don't set the need_break_row when inside an
15250         InsetText LyXText.
15251
15252 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15253
15254         * buffer.C (parseSingleLyXformat2Token): handle more latex
15255         conversion cases.
15256
15257         * bufferview_funcs.[hC]: change function names to
15258         begin with small char, adjust other files.
15259
15260 2001-08-02  André Pönitz <poenitz@gmx.net>
15261
15262         * lyxfunc.C:
15263         BufferView_pimpl.C: remove broken special code for math-greek
15264
15265 2001-08-02  Juergen Vigna  <jug@sad.it>
15266
15267         * BufferView_pimpl.C (update): redone this function so that we
15268         update the text again if there was a CHANGE_IN_DRAW.
15269
15270         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15271         (drawFromTo): added a new internal bool which is used by draw() and
15272         redraw() function.
15273         (general): some cursor drawing problems fixed.
15274
15275 2001-08-01  Juergen Vigna  <jug@sad.it>
15276
15277         * lyxfind.C (LyXFind): fixed
15278         (SearchForward): ditto
15279         (SearchBackward): ditto
15280
15281         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15282         spurius drawing of the cursor in the main area.
15283
15284         * text2.C (status): small fix which could lead to a segfault!
15285         (clearSelection): remove unneeded BufferView param.
15286
15287 2001-08-01  André Pönitz <poenitz@gmx.net>
15288
15289         * lyxfunc.C: small change due to changed mathed interface
15290
15291 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15292
15293         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15294
15295 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15296
15297         * lyxfunc.c: fail gracefully if file doesn't exist
15298
15299         * LyXSendto.C:
15300         * buffer.C:
15301         * lyxfunc.C:
15302         * BufferView_pimpl.C: IsDirWriteable() proto changed
15303
15304         * LyXView.C: fix updateWindowTitle() to store the last title
15305
15306 2001-07-31  Juergen Vigna  <jug@sad.it>
15307
15308         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15309         the font (wrong since using of Paragraph::highestFontInRange).
15310
15311         * paragraph.C (highestFontInRange): added a default_size parameter.
15312
15313         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15314         (setHeightOfRow): reformat
15315
15316 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15317
15318         * converter.[hC] + affected files: move to (inital-char)lowercase
15319         function names.
15320
15321         * ParagraphParameters.C (ParagraphParameters): remove commented code
15322
15323         * PainterBase.[Ch]: remove commented code
15324
15325         * LaTeXFeatures.h: add "bool floats" for float.sty
15326
15327         * LaTeXFeatures.C (LaTeXFeatures): init floats
15328         (require): handle float
15329         (getPackages): do it with floats
15330
15331 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15332
15333         * BufferView_pimpl.C (Dispatch): improve handling of
15334         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15335
15336         * commandtags.h: #include lyxfont.h here temporarily to avoid
15337         keybinding bug.
15338
15339         * bufferlist.h: include LString.h here.
15340
15341 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15342
15343         * text2.C (getStringToIndex): new method.
15344
15345 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15346
15347         * *: Reduced header file dependencies all over.
15348
15349 2001-07-30  Baruch Even  <baruch@lyx.org>
15350
15351         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15352
15353 2001-07-29  Baruch Even  <baruch@lyx.org>
15354
15355         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15356
15357 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15358
15359         * ParameterStruct.h (endif): add a default constructor to make
15360         sure that all variables is initialized.
15361
15362         * ParagraphParameters.C (ParagraphParameters): adjust
15363
15364 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15365
15366         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15367         index; also, check that there is something to index, and that it
15368         does not span over several paragraphs.
15369         (doubleClick): use WHOLE_WORD_STRICT for double click.
15370
15371         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15372
15373         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15374         scheme.
15375
15376 2001-07-26  Baruch Even  <baruch@lyx.org>
15377
15378         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15379         an InsetFig figure, backwards compatible reading of old figure code.
15380
15381 2001-07-27  Juergen Vigna  <jug@sad.it>
15382
15383         * text2.C: font.realize function adaption.
15384
15385         * text.C (draw): add a warnings lyxerr text if needed.
15386
15387         * layout.C: font.realize function adaption.
15388
15389         * language.C: add inherit_language and implement it's handlings
15390
15391         * bufferview_funcs.C (StyleReset): remove language parameter from
15392         font creation (should be language_inherit now).
15393
15394         * bufferparams.C (writeFile): handle ignore_language.
15395
15396         * paragraph.C (getFontSettings): the language has to be resolved
15397         otherwise we have problems in LyXFont!
15398
15399         * lyxfont.C (lyxWriteChanges): added document_language parameter
15400         (update): removed unneeded language parameter
15401
15402         * paragraph.C (validate): fixed wrong output of color-package when
15403         using interface colors for certain fonts in certain environments,
15404         which should not seen as that on the final output.
15405
15406 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15407
15408         * BufferView_pimpl.C:
15409         * Thesaurus.h:
15410         * Thesaurus.C:
15411         * Makefile.am:
15412         * commandtags.h:
15413         * LyXAction.C: add thesaurus support
15414
15415         * lyxfind.h:
15416         * lyxfind.C: add "once" parameter, for thesaurus, to not
15417           move to the next match
15418
15419 2001-07-26  Juergen Vigna  <jug@sad.it>
15420
15421         * lyxfont.C (realize): honor ignore_language too!
15422         (resolved): ditto.
15423
15424         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15425
15426         * text.C (draw): one place more for ignore_language to not draw
15427         itself!
15428
15429 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15430
15431         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15432
15433 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15434
15435         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15436         the minipage conversion problem.
15437
15438 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15439
15440         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15441         insert an inset.
15442
15443 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15444
15445         * BufferView.h: don't forward declare WorkArea
15446
15447         * BufferView.C: don't include WorkArea.h
15448
15449 2001-07-25  André Pönitz <poenitz@gmx.net>
15450
15451         * commandtags.h:
15452         * LyXAction.C:
15453         * lyxfunc.C:  new LFUN 'math-space'
15454
15455         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15456
15457 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15458
15459         * text2.C (toggleInset): call open/close
15460
15461 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15462
15463         * lyxfunc.C (dispatch): add debug for the disabled case
15464
15465         * font.C (buttonText): make similar to rectText
15466
15467         * buffer.C (readInset): comment out parsing of insetlist and
15468         insttheorem
15469
15470         * PainterBase.C (rectText): small correction
15471
15472         * BufferView_pimpl.C: comment out insettheorem and insetlist
15473         * LyXAction.C: ditto
15474         * commandtags.h: ditto
15475
15476 2001-07-24  Juergen Vigna  <jug@sad.it>
15477
15478         * text.C (draw): honor the ignore_language.
15479
15480         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15481
15482 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15483
15484         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15485         char inset.
15486
15487 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15488
15489         * lyxtext.h: remove unused (and unimplemented) methods
15490
15491 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15492
15493         * text.C (getVisibleRow): honor background color
15494
15495         * PainterBase.h:
15496         * Painter.h: remove default color argument for fillRectangle
15497
15498         * text.C (backgroundColor): new method
15499
15500 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15501
15502         * text.C (getVisibleRow): adjust
15503
15504         * font.[Ch] (rectText): new method, metrics
15505         (buttonText): new method, metrics
15506
15507         * PainterBase.[hC]: make rectText and buttonText always draw and take
15508         fewer paramteres.
15509
15510 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15511
15512         * ToolbarDefaults.C (read):
15513         * MenuBackend.C (read): allow escaping in all strings
15514
15515         * BufferView_pimpl.C (insertAndEditInset): new method.
15516         (Dispatch): use insertAndEditInset whenever appropriate.
15517
15518         * BufferView_pimpl.C (insertNote): removed
15519
15520         * BufferView_pimpl.C (smartQuote): new method, moved from
15521         BufferView; if an insetquote cannot be inserted, insert a '"'
15522         character instead.
15523
15524         * BufferView2.C: remove insertCorrectQuote();
15525
15526         * lyxfunc.C (getStatus): Add support for all remaingin
15527         inset-insert lfuns.
15528
15529         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15530
15531         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15532         command (necessary to pass " as parameter of self-insert.
15533
15534         * text.C (selectWordWhenUnderCursor):
15535         (selectWord): add word_location parameter
15536         (selectWordWhenUnderCursor): same + remove special code for word
15537         boundary.
15538         (selectNextWord): use kind() to guess type of insetspecialchar,
15539         not latex().
15540
15541         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15542         (insertErtContents): create ert insets as collapsed.
15543         (readInset): better compatibility code for Info inset.
15544
15545 2001-07-20  Juergen Vigna  <jug@sad.it>
15546
15547         * lyxfunc.C (dispatch): use always LyXFind now!
15548
15549         * text2.C (init): add a reinit flag so that the LyXText can be
15550         reinited instead of deleted and reallocated (used in InsetText).
15551
15552         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15553
15554         * text.C: ditto
15555
15556         * text2.C: ditto
15557
15558 2001-07-18  Juergen Vigna  <jug@sad.it>
15559
15560         * text.C (selectNextWord): handle insets inside inset by calling
15561         always the bv->text functions so that we can go up the_locking_inset!
15562
15563         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15564         in strange locations when inside an inset!
15565
15566         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15567         handling to include insets.
15568
15569         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15570
15571 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15572
15573         * LyXAction.C (init):
15574         * commandtags.h:
15575         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15576         LIGATURE_BREAK, since the name is so stupid.
15577
15578 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15579
15580         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15581         InsetInfos.
15582
15583         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15584
15585         * sp_form.[Ch]: remove.
15586
15587         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15588
15589         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15590         InsetInfo.
15591
15592         * src/buffer.C (readInset): ditto.
15593
15594 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15595
15596         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15597         menuSeparator(), endOfSentenceDot(), ldots() and
15598         hyphenationPoint(), which are therefore removed.
15599         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15600
15601         * LyXAction.C (init):
15602         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15603
15604         * paragraph.C (getWord): removed.
15605
15606         * BufferView_pimpl.C (Dispatch): use last word or selection for
15607         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15608
15609         * lyx_main.C (queryUserLyXDir): do not ask before creating
15610         user_dir, except if it has been named explicitely.
15611
15612 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15613
15614         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15615         a document of zero size.
15616
15617 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15618
15619         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15620         approriately in the c-tor and in require().
15621         (getPackages): output the appropriate LaTeX for natbib support.
15622
15623         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15624         variables "use_natbib" and "use_numerical_citations" when reading the
15625         LyX file.
15626         (readInset): read the various natbib cite commands.
15627         (validate): white-space change.
15628
15629         * bufferparams.[Ch]: new variables "bool use_natbib" and
15630         "bool use_numerical_citations".
15631         (writeFile): output them in the LyX file.
15632
15633 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15634
15635         * lyxfunc.C (getStatus): add support for all the inset insertion
15636         commands.
15637
15638         * text2.C (insertInset):
15639         * paragraph.C (insetAllowed):
15640         * BufferView_pimpl.C (insertInset): update to take in account the
15641         renaming of insertInsetAllowed
15642
15643         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15644
15645         * text2.C (getInset): new method. returns inset at cursor position.
15646
15647         * BufferView_pimpl.C (Dispatch): changes because of this.
15648
15649         * LyXAction.C (init): rename open-stuff to inset-toggle.
15650
15651         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15652
15653         * text2.C (toggleInset): renamed from openStuff; use
15654         Inset::open().
15655
15656 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15657
15658         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15659
15660         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15661
15662 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15663
15664         * buffer.C (readLyXformat2): Add filename to the error dialog
15665
15666 2001-07-18  Juergen Vigna  <jug@sad.it>
15667
15668         * tabular.C (GetCellNumber): put an assert here instead of the check!
15669
15670 2001-07-17  Juergen Vigna  <jug@sad.it>
15671
15672         * BufferView_pimpl.C (toggleSelection): adapted too.
15673
15674         * text.C (selectNextWord): adapted for use with insets.
15675         (selectSelectedWord): ditto
15676
15677 2001-07-17  Juergen Vigna  <jug@sad.it>
15678
15679         * sp_spell.C (PSpell): fix initialitation order.
15680
15681 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15682
15683         * paragraph.C: spacing
15684
15685 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15686
15687         * sp_spell.C: repair language selection for pspell
15688
15689 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15690
15691         * lyxfunc.h: change more methods to begin with lower char.
15692
15693 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15694
15695         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15696         for unknown layouts.
15697
15698 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15699
15700         * buffer.C (readLyXformat2): Generate an error dialog if there are
15701         unknown layouts.
15702
15703 2001-07-16  Juergen Vigna  <jug@sad.it>
15704
15705         * sp_spell.C: always compile ISpell part.
15706
15707         * lyxrc.C: added use_pspell entry and it's handling.
15708
15709 2001-07-13  Juergen Vigna  <jug@sad.it>
15710
15711         * sp_spell.C: removed double includes.
15712
15713 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15714
15715         Consistent use of Lsstream.h:
15716         * Lsstream.h: added using std::stringstream for consistencies sake.
15717
15718         * buffer.C: removed using std::stringstream
15719
15720         * lyxfont.C (stateText):
15721         * paragraph.C (asString):
15722         * text.C (selectNextWord, selectSelectedWord):
15723         * text2.C (setCounter):
15724         * vspace.C (asString, asLatexString):
15725         std::ostringstream -> ostringstream.
15726
15727 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15728
15729         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15730         * commandtags.h: add LFUN_HELP_ABOUTLYX
15731         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15732
15733 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15734
15735         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15736         cursorToggle()
15737         * lyx_gui_misc.C: remove spellchecker
15738         * lyxfunc.C: showSpellchecker
15739         * sp_base.h: added
15740         * sp_ispell.h: added
15741         * sp_pspell.h: added
15742         * sp_spell.C: added
15743         * sp_form.[Ch]: removed
15744         * spellchecker.[Ch]: removed
15745
15746 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15747
15748         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15749         is set.
15750         (simpleTeXSpecialChars): Simply print the input character without
15751         any special translation if pass_thru is set.
15752
15753         * layout.h: Added bool pass_thru to layout class for being able to
15754         implement pass through of a paragraph for Literate Programming.
15755
15756         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15757         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15758         * layout.C (Read): add "passthru" to list of layout tags and add
15759         code to set the pass_thru boolean when it is read.
15760
15761 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15762
15763         * trans_decl.h: remove allowed from KmodInfo
15764
15765         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15766         remove allowed code
15767         (Load): adjust
15768
15769         * paragraph_pimpl.C (erase): use boost::prior
15770
15771         * Painter.C (text): use data() instead of c_str() when length is
15772         also provided.
15773         * WorkArea.C (putClipboard): ditto
15774         * font.h (width): ditto
15775
15776         * BufferView2.C: use it-> instead of (*it). for iterators
15777         * texrow.C: ditto
15778         * paragraph_pimpl.C: ditto
15779         * paragraph.C: ditto
15780         * minibuffer.C: ditto
15781         * language.C: ditto
15782         * kbmap.C: ditto
15783         * encoding.C: ditto
15784         * counters.C: ditto
15785         * converter.C: ditto
15786         * chset.C: ditto
15787         * Variables.C: ditto
15788         * TextCache.C: ditto
15789         * MenuBackend.C: ditto
15790         * LyXAction.C: ditto
15791         * LColor.C: ditto
15792         * FloatList.C: ditto
15793         * DepTable.C: ditto
15794         * ColorHandler.C (LyXColorHandler): ditto
15795
15796 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15797
15798         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15799
15800         * text2.C (openStuff): reintroduce this method (which had been
15801         nuked in NEW_INSETS frenzy).
15802
15803         * lyxfunc.C (Dispatch): when an action has not been handled, use
15804         its name in the error message, not its number.
15805
15806         * paragraph.C (inInset): change method name to begin with lowercase.
15807
15808         * undo_funcs.C:
15809         * text2.C: updates because of this.
15810
15811 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15812
15813         * ToolbarDefaults.C (add): add spaces in error message
15814
15815 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15816
15817         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15818         (readLyXformat2): rename return_par to first_par, use lyxlex's
15819         pushToken and remove the manual push handling.
15820         (parseSingleLyXformat2Token): add another ert comp. variable:
15821         in_tabular, rename return_par to first_par. handle newlines better
15822
15823 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15824
15825         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15826
15827 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15828
15829         * text2.C (getParFromID): removed
15830
15831         * buffer.C (getParFromID): new method moved form lyxtext.
15832         * BufferView2.C (insertErrors): adjust
15833         (setCursorFromRow): adjust
15834         * BufferView_pimpl.C (restorePosition): adjust
15835         * lyxfunc.C (Dispatch): adjust
15836         * undo_funcs.C (textUndo): adjust
15837         (textRedo): adjust
15838         (textHandleUndo): adjust
15839         (textHandleUndo): adjust
15840
15841 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15842
15843         * buffer.C: up' the LYX_FORMAT
15844
15845         * lyxfont.h: turn NO_LATEX on as default
15846
15847         * buffer.C (insertErtContents): new methods of tex style compability.
15848         (parseSingleLyXformat2Token): use it several places.
15849         * tabular.C (OldFormatRead): and here
15850
15851 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15852
15853         * text2.C: remove some commented code.
15854         reindent file.
15855
15856         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15857         * trans.C: changes because of the above.
15858
15859 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15860
15861         * text2.C (setCounter): Fix counters bug with bibliography layout.
15862
15863 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15864
15865         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15866         own member functions
15867         (simpleTeXSpecialChars): ditto
15868
15869 2001-07-06  Juergen Vigna  <jug@sad.it>
15870
15871         * a lot of files: changed the access to LyXText::status and the
15872         call of undo-functions.
15873
15874         * undo.[Ch]: added a inset_id to the undo informations.
15875
15876         * undo_funcs.[Ch]: added and moved here all undo functions.
15877
15878         * lyxtext.h: give the status enum a weight, made status_ a private
15879         variable and made accessor functions for it, removed the whole bunch
15880         of undo-functions as they are now in their own file, make some
15881         functions publically available. Added function ownerParagraph with
15882         int parameter.
15883
15884         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15885         made InInset() a const function, added getParFromID() function.
15886
15887         * buffer.[Ch]: added const version for inset_iterator functions,
15888         added getInsetFromID() function.
15889
15890         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15891         changed undo functions for new version.
15892
15893 2001-07-05  Juergen Vigna  <jug@sad.it>
15894
15895         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15896         unknow mechanism does not call the proper constructor but only this
15897         one also if I request the other!?
15898
15899 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15900
15901         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15902
15903         * text2.C (LyXText): use initialization lists.
15904
15905         * lyxtext.h (Selection): initialize set_ and mark_
15906         (init): remove method
15907
15908 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15909
15910         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15911
15912 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15913
15914         * screen.[Ch]: change method names to begin with lowercase
15915
15916         * BufferView_pimpl.C (updateScrollbar): simplify further and
15917         hopefully make it a bit faster.
15918
15919 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15920
15921         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15922         calling directly xforms functions.
15923
15924         * Painter.C (Painter):
15925         * lyx_cb.C (MenuWrite):
15926         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15927         fl_display.
15928
15929         * lyx_gui.C: remove bogus guiruntime extern declaration.
15930
15931 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15932
15933         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15934         in NEW_INSETS
15935         (redoDrawingOfParagraph): ditto
15936         (redoParagraphs): ditto
15937         (cutSelection): don't create a object for CutAndPaste use the
15938         static method directly
15939         (pasteSelection): ditto
15940
15941         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15942         LyXview (+ rename)
15943
15944 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15945
15946         * modifications to some other files because of this.
15947
15948         * Makefile.am (lyx_SOURCES): add XFormsView
15949
15950         * XFormsView.[Ch]: new files
15951
15952         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15953         the main window. Move the gui dependent stuff to XFormsView
15954
15955 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15956
15957         * tabular.C (GetCellInset): update cur_cell also in the row/col
15958         version of this function.
15959
15960         * lyxfunc.C: no need to include figure_form.h here.
15961
15962         * FontLoader.h:
15963         * lyxfunc.h:
15964         * lyxscreen.h:
15965         * text2.C:
15966         * lyxvc.C: no need to include forms.h here.
15967
15968 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15969
15970         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15971
15972         * lyxfunc.C (Dispatch):
15973         * Spacing.C (set):
15974         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15975         constructor argument.
15976
15977 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15978
15979         * paragraph.C (Paragraph): dont't clear, and just set layout.
15980         (makeSameLayout): use params's copy contructor.
15981
15982         * ParagraphParameters.[Ch] (makeSame): delete method
15983
15984 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15985
15986         * Variables.[Ch]: fix indentation, rename set to isSet
15987
15988 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15989
15990         * lyxfunc.C (Dispatch): fix typo
15991
15992 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15993
15994         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15995         upper_bound.
15996
15997         * bufferlist.C: include assert.h for emergencyWrite().
15998
15999 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16000
16001         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16002           give up at last (bug #425202) !
16003
16004 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16005
16006         * lyx_gui_misc.C:
16007         * sp_form.h:
16008         * sp_form.C:
16009         * spellchecker.h:
16010         * spellchecker.C: strip spellchecker options and bring up
16011           preferences tab instead
16012
16013 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16014
16015         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16016         the istringstream constructor
16017
16018 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16019
16020         * paragraph.C (getLayout): fix return value
16021
16022         * paragraph.h: do not declare getLayout as inline.
16023
16024         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16025
16026 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16027
16028         * lyxcursor.h (operator<): new func
16029         (operator>): new func
16030         (operator>=): new func
16031         (operator<=): new func
16032
16033         * text.C (changeCase): use selection.start and selection.end
16034         (changeRegionCase): require from to be <= to. Require par to be a
16035         valid paragraph.
16036
16037         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16038
16039 2001-06-27  Juergen Vigna  <jug@sad.it>
16040
16041         * text.C (cursorLeftOneWord): changed to return the cursor and added
16042         overlay with BufferView * parameter which calls this one.
16043         (getWord): added
16044         (selectWord): use new getWord function.
16045         (changeCase): renamed from changeWordCase as and extended to work
16046         also on selections.
16047
16048         * lyxtext.h: added enum word_location
16049
16050         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16051         changeCase as this operates now also on selections.
16052
16053 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16054
16055         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16056
16057         * many files: send debug output to Debug::INFO instead of
16058         Debug::ANY.
16059
16060         * converter.C (View):
16061         (Convert):
16062         (Move): send debug output to Debug::FILES instead of console.
16063
16064 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16065
16066         * lyxfunc.C (getStatus): use func_status
16067
16068         * func_status.h: new header, describing the results of
16069         LyXFunc::getStatus;
16070
16071         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16072         LFUN_MATH_HALIGN.
16073
16074 2001-06-25  The LyX Project  <jug@sad.it>
16075
16076         * buffer.C (sgmlOpenTag):
16077         (sgmlCloseTag):
16078         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16079
16080 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16081
16082         * text2.C: remove some dead code
16083
16084         * tabular.C (GetCellInset): store the last cell checked (gotten)
16085
16086         * tabular.h: add the helper for the speedup
16087
16088         * lyxtext.h: remove some dead code
16089
16090 2001-06-26  The LyX Project  <Asger>
16091
16092         * paragraph.C: Change export to LaTeX of alignment to
16093         \begin{center} and family for better roundtrip work with reLyX.
16094
16095         * Tune the math drawing a bit.
16096
16097 2001-06-25  The LyX Project  <Asger>
16098
16099         * LColor.C (LColor): New color for math background. New color
16100         for buttons.
16101
16102 2001-06-25  The LyX Project  <jug@sad.it>
16103
16104         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16105
16106         * lyxfunc.C (Open):
16107         * bufferlist.C (newFile): do not restrict to files ending with
16108         .lyx
16109
16110         * BufferView_pimpl.C (MenuInsertLyXFile):
16111
16112 2001-06-24  The LyX Project  <jug@sad.it>
16113
16114         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16115         of compare_no_case
16116
16117 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16118
16119         * lyxtext.h: rename most methods to begin with a small char.
16120         Lots of changes because of this.
16121
16122         * paragraph.C (Paragraph): do not call fitToSize
16123         (erase): call Pimpl::erase
16124         (insertChar): call Pimpl::insertChar
16125         (insertInset): call Pipl::insertInset
16126         (breakParagraph): do not call fitToSize
16127         (breakParagraphConservative): do not call fitToSize
16128         (fitToSize): remove method
16129
16130         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16131
16132 2001-06-24  The LyX Project  <Asger>
16133
16134         * Fix Qt compilation^2
16135
16136 2001-06-24  The LyX Project  <jug@sad.it>
16137
16138         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16139         depthHook(getDepth()-1).
16140
16141         * paragraph.h:
16142         * ParagraphParameters.h:
16143         * ParameterStruct.h: change type of depth to unsigned int ==
16144         depth_type. Many adaptations to other files before of that.
16145
16146 2001-06-24  The LyX Project  <Asger>
16147
16148         * Fix Qt compilation.
16149
16150 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16151
16152         * paragraph.h: renamed several methods to begin with small letter.
16153         several changes to many parts of the code because of this.
16154
16155 2001-06-23  The LyX Project  <jug@sad.it>
16156
16157         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16158         rewritten to discard all double spaces when KeepEmpty is off
16159         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16160         to only handle newlines but not fiddle with spaces and friends.
16161
16162         * lyxfunc.C (MenuNew): when doing 'new from template', use
16163         template_path as default directory
16164
16165 2001-06-23  The LyX Project  <Asger>
16166
16167         * Clean-up of header file includes all over
16168         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16169
16170 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16171
16172         * paragraph.h: renamed from lyxparagraph.h
16173
16174 2001-06-23  Asger  <lyx@violet.home.sad.it>
16175
16176         * Buffer.h: Removed Buffer::resize
16177         * BufferList.h: Removed BufferList::resize
16178         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16179         the document lazily when we change the width, or the font settings.
16180
16181 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16182
16183         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16184
16185 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16186
16187         * buffer.h: remove out of date comment
16188
16189 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16190
16191         * lyxscreen.h:
16192         * screen.C: fix "theoretical" GC leak
16193
16194 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16195
16196         * LaTeX.C (scanAuxFile):
16197         (deplog): remove trailing \r when reading stream (useful under
16198         win32)
16199
16200 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16201
16202         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16203         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16204         and BufferView::theLockingInset(Inset*), so should use them and not
16205         access bv_->text->the_locking_inset directly.
16206
16207         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16208
16209 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16210
16211         * Makefile.am:
16212         * tex-defs.h: remove old unused file
16213
16214 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16215
16216         * BufferView_pimpl.C: fix typo, remove minibuffer message
16217           when buffer has loaded
16218
16219 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16220
16221         * lyxfunc.C (Dispatch): use stringstream
16222         (MenuNew): use stringstream
16223         (Open): use stringstream
16224
16225         * importer.C (Import): use stringstream
16226
16227         * bufferview_funcs.C (CurrentState): use stringstream
16228
16229         * LaTeX.C (run): use stringstream
16230
16231         * BufferView_pimpl.C (savePosition): use stringstream
16232         (restorePosition): use stringstream
16233         (MenuInsertLyXFile): use stringstream
16234
16235 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16236
16237         * BufferView.C:
16238         * Bullet.C:
16239         * ColorHandler.C:
16240         * FontInfo.C:
16241         * FontLoader.C:
16242         * LColor.C:
16243         * LaTeXFeatures.C:
16244         * Painter.C:
16245         * gettext.C:
16246         * lyx_gui_misc.C:
16247         * lyxserver.C:
16248         * vspace.C: removed // -*- C++ -*- as first line.
16249
16250         * lyxfind.h:
16251         * version.h: added // -*- C++ -*- as first line.
16252
16253 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16254
16255         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16256
16257         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16258         of string
16259
16260 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16261
16262         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16263         of floats.
16264
16265 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16266
16267         * gettext.C: include LString.h even when --disable-nls is on.
16268
16269 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16270
16271         * converter.h (Get): changed argument type from int to
16272         FormatList::size_type to avoid unnecessary conversion.
16273
16274         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16275         before using it.
16276
16277 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16278
16279         * gettext.h: include LString.h even when --disable-nls is on.
16280
16281 2001-06-07  Juergen Vigna  <jug@sad.it>
16282
16283         * text.C (BreakAgain): subst spaces with tabs.
16284
16285         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16286         (resizeInsetsLyXText): set force on resizeLyXText.
16287
16288 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16289
16290         * gettext.h (gettext_init):
16291         (locale_init): use a real definition instead of a macro
16292
16293 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16294
16295         * Bufferview_pimpl.C:
16296         * LColor.h:
16297         * LColor.C: further lcolor tidies
16298
16299 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16300
16301         * BufferView_pimpl.C (updateScrollbar): simplify.
16302
16303         * BufferView2.C: don't include insets/insetinfo.h, change
16304         prototype for insertInset and call the Pimpl version. let
16305         updateInset call Pimpl version.
16306
16307         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16308         gotoInset to BufferView::Pimpl
16309
16310 2001-06-01  Juergen Vigna  <jug@sad.it>
16311
16312         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16313         inside a LockingInset (is the update needed at all?).
16314
16315 2001-05-31  Juergen Vigna  <jug@sad.it>
16316
16317         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16318         here not the old one otherwise how should we compare it afterwards
16319         if it's the same!
16320
16321 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16322
16323         * lyxfont.C:
16324         * tabular.C:
16325         * tabular-old.C:
16326         * FontInfo.C: bring C functions into global namespace when
16327         necessary
16328
16329 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16330
16331         * LString.h: make sure config.h has been loaded before LString.h.
16332
16333         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16334         (one for each char read by EatLine!).
16335
16336         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16337         variables.
16338
16339 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16340
16341         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16342         to the same as the par we break from
16343
16344 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16345
16346         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16347
16348         * MenuBackend.C (expand): also create menu entries for wide
16349         versions of the floats.
16350
16351         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16352
16353         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16354
16355         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16356         frontends/Makefile.am
16357
16358         * text2.C: adjust
16359         * text.C: adjust
16360
16361
16362         * tabular.C (getTokenValue): add std::
16363
16364         * tabular-old.C (getTokenValue): add std::
16365         (getTokenValue): ditto
16366         (getTokenValue): ditto
16367
16368         * screen.C (ToggleSelection): adjust
16369
16370         * lyxtext.h: put selection cursors inside a Selection struct.
16371
16372         * lyxfunc.C (moveCursorUpdate): adjust
16373
16374         * lyxfont.C (latexWriteStartChanges): add std::
16375
16376         * lyxfind.C: adjust
16377
16378         * font.h: delete with(char const *, LyXFont const &)
16379
16380         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16381
16382         * FontInfo.C (getFontname): add std::
16383
16384         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16385         (workAreaButtonPress): adjust
16386         (tripleClick): adjust
16387         (update): adjust
16388         (moveCursorUpdate): adjust
16389         (Dispatch): adjust
16390
16391         * BufferView2.C (gotoInset): adjust
16392
16393 2001-05-30  Juergen Vigna  <jug@sad.it>
16394
16395         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16396         to check pspell I add this as default as I now have new pspell
16397         libraries and they seem to use this.
16398
16399 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16400
16401         * text2.C (CutSelection): make the cursor valid before the call to
16402         ClearSelection.
16403
16404 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16405
16406         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16407         relied on 0 terminated strings and other horrors. Bug found due to
16408         the new assert in lyxstring!
16409
16410         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16411         KP_ keys.
16412
16413 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16414
16415         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16416         to latinkeys.bind.
16417
16418         * lyxfunc.C (processKeySym): change method of getting to the
16419         self-insert char.
16420
16421         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16422         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16423         * BufferView_pimpl.[Ch]: here as private methods.
16424
16425 2001-05-28  Juergen Vigna  <jug@sad.it>
16426
16427         * text.C (SetHeightOfRow): added the update() call again as it is
16428         needed to initialize inset dimensions!
16429
16430 2001-05-16  Juergen Vigna  <jug@sad.it>
16431
16432         * text2.C (SetCharFont): Add new function with BufferView * and
16433         bool toggleall parameters for setting insets internal fonts.
16434         (SetFont): Freeze the undo as we may change fonts in Insets and
16435         all this change should be inside only one Undo!
16436
16437         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16438         setting font's in insets as for them we have the SetFont function!
16439
16440 2001-05-15  Juergen Vigna  <jug@sad.it>
16441
16442         * text2.C (ClearSelection): to be sure we REALLY don't have any
16443         selection anymore!
16444
16445         * tabular.C (TeXCellPreamble): fixed the left border problem for
16446         multicolumn cells.
16447
16448 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16449
16450         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16451         dependancy file
16452
16453 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16454
16455         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16456         LFUN_BREAKPARAGRAPH.
16457
16458         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16459         help test to "internal only", similar for LFUN_INSERT_URL
16460
16461         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16462         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16463         auto_region_delete and deadkeys.
16464
16465 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16466
16467         * LColor.h:
16468         * LColor.C: remove some dead entries, tidy a little
16469
16470 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16471
16472         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16473         commented code.
16474         (Dispatch): implement LFUN_ESCAPE
16475
16476         * commandtags.h: add LFUN_ESCAPE
16477
16478         * LyXAction.C (init): add entry for LFUN_ESCAPE
16479
16480         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16481         Remove commented code.
16482         (insertNote): moved here
16483         (open_new_inset): moved here
16484
16485         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16486         BufferView_pimpl
16487
16488 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16489
16490         * kbmap.C (findbinding): clean it up and make it work correctly.
16491
16492         * lyx_main.C (init): do not pass argc and argv as parameters
16493
16494 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16495
16496         * buffer.C: fix path for OS/2 & Win32
16497
16498         * lyx_gui.C:
16499         * lyx_main:
16500         * lyx_main.C: Added os:: class.
16501
16502         * os2_defines.h: update
16503
16504 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16505
16506         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16507         better by trying again with reduced state.
16508
16509 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16510
16511         * lyxrc.C (read): print error about invalid key sequence only when
16512         debugging (because not all latinX keysyms are known to some X
16513         servers)
16514
16515         * kbsequence.C (getiso): add a few std:: qualifiers
16516         (getiso): comment out extra return statement.
16517
16518 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16519
16520         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16521         handling.
16522         (Dispatch): enhance the accent inset a bit. (not perfect)
16523
16524 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16525
16526         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16527
16528 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16529
16530         * bufferlist.C (emergencyWrite): fix assert() call
16531
16532 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16533
16534         * text.C (InsertChar): Added trivial patch to only send the "you
16535         can not do multiple spaces this way" message once during a
16536         session.
16537
16538 2001-05-08  Baruch Even  <baruch@lyx.org>
16539
16540         * Makefile.am: Changed order of libraries to get LyX to link properly
16541         with the gnome frontend.
16542
16543 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16544
16545         * LaTeXFeatures.h: add a std:: qualifier
16546
16547 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16548
16549         * paragraph.C (String): use stringstream
16550
16551 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16552
16553         * paragraph.C (writeFile): remove footflag arg
16554
16555         * buffer.C (makeLaTeXFile): use stringstream
16556         (latexParagraphs): remove footnot gurba
16557
16558         * LaTeXFeatures.C (getPackages): use stringstream
16559         (getMacros): likewise
16560         (getTClassPreamble): likewise
16561         (getFloatDefinitions): new method
16562
16563         * paragraph.C (writeFile): reindent
16564         (Erase): reindent
16565
16566         * WorkArea.h: revert the xpos + etc changes.
16567
16568         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16569
16570         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16571
16572         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16573         (pasteSelection): likewise
16574         * text2.C (CreateUndo): likewise
16575
16576 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16577
16578         * minibuffer.C (peek_event): temporarily reduce the functionality
16579         of the minibuffer (to allow args on lfuns)
16580
16581         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16582         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16583
16584         * buffer.C (readInset): add compability reading of old float
16585         lists, add reading of new style float list.
16586         (readInset): avoid reevaluation of inscmd.getCmdName()
16587         (getLists): reindent
16588
16589         * MenuBackend.C (MenuItem): implement parsing of
16590         md_floatlistinsert and md_floatinsert.
16591         (expand::LastFiles): move initalizaton of iterators out of loop,
16592         avoid reevaluation.
16593         (expand::Documents): introduce typdedef vector<string> Strings,
16594         and use it.
16595         (expand::ExportFormats): introduce typedef vector<Format const *>
16596         Formats, and use it.
16597         (expand): implement FloatListInsert and FloatInsert.
16598
16599         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16600         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16601         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16602
16603         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16604         handling.
16605         (Dispatch::LFUN_FLOAT_LIST): implement
16606
16607 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16608
16609         * LaTeX.C (run): Fix problem with --export code.
16610
16611 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16612
16613         * BufferView.[Ch] (workarea): removed.
16614         (getClipboard) new method; wrapper for workarea()->getClipboard()
16615
16616         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16617         bug.
16618
16619         * WorkArea.h (width, height, xpos, ypos): These methods all
16620         returned the dimensions of the work_area sub-area of WorkArea,
16621         resulting in a position error if the WorkArea were resized. Now
16622         return the dimensions of the entire WorkArea.
16623
16624         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16625
16626 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16627
16628         * LaTeX.C (deplog): correct the syntax of regex reg1
16629
16630 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16631
16632         * undo.C: remove !NEW_INSETS cruft
16633
16634 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16635
16636         * text2.C: remove !NEW_INSETS cruft
16637
16638         * text.C: remove !NEW_INSETS cruft
16639
16640         * tabular.C: remove !NEW_INSETS cruft
16641
16642         * spellchecker.C: remove !NEW_INSETS cruft
16643
16644         * lyxtext.h: remove !NEW_INSETS cruft
16645
16646         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16647
16648         * lyxfunc.C: remove !NEW_INSETS cruft
16649
16650         * lyxfind.C: remove !NEW_INSETS cruft
16651
16652         * lyx_cb.C: remove !NEW_INSETS cruft
16653
16654         * figureForm.C: remove  !NEW_INSETS cruft
16655
16656         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16657
16658         * buffer.[Ch]: remove !NEW_INSETS cruft
16659
16660         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16661
16662         * CutAndPaste.C: remove !NEW_INSETS cruft
16663
16664         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16665
16666         * BufferView2.C: remove !NEW_INSETS cruft
16667
16668         * BufferView.h: remove !NEW_INSETS cruft
16669
16670 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16671
16672         * Lsstream.h: include LString.h before the sstream headers to
16673         fix problem with gcc 2.95.3 and lyxstring
16674
16675 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16676
16677         * lyx_main.C: add using directives when needed for C functions
16678         declared in std:: namespace.
16679
16680 2001-04-27  Juergen Vigna  <jug@sad.it>
16681
16682         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16683         (SetHeightOfRow): comment out the update call should not be needed!
16684
16685 2001-04-13  Juergen Vigna  <jug@sad.it>
16686
16687         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16688         (LyXTabular): tried to minimize operator= operations (and realized
16689         hopfully Lars wish).
16690
16691 2001-04-27  Juergen Vigna  <jug@sad.it>
16692
16693         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16694
16695 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16696
16697         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16698
16699         * buffer.C (readInset): hack to make listof algorithm work
16700
16701         * BufferView_pimpl.C: hack to make listof algorithm work
16702
16703 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16704
16705         * LyXAction.C: removed all !NEW_INSETS cruft
16706         (init): moved lfun_item in method
16707
16708         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16709
16710 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16711
16712         * BufferView2.C (theLockingInset): white space.
16713
16714 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16715
16716         * minibuffer.C: include <iostream>
16717
16718         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16719
16720         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16721
16722         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16723
16724         * text.[Ch] (TransposeChars): new method
16725
16726 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16727
16728         * call message directly through LyXView instead of through LyXFunc
16729         * BufferView2.C: adjust
16730         * BufferView_pimpl.C: adjust
16731         * FontLoader.C: adjust
16732         * buffer.C: adjust
16733         * bufferview_funcs.C: adjust
16734         * converter.C: adjust
16735         * figureForm.C: adjust
16736         * importer.C: adjust
16737         * lyx_cb.C: adjust
16738         * lyx_gui_misc.C: adjust
16739         * lyxfunc.C: adjust
16740         * lyxvc.C: adjust
16741         * text2.C: adjust
16742         + more files in subdirs
16743
16744         * lyxparagraph.h (size): move up int file
16745         (GetLayout): ditto
16746
16747         * adjust all uses of Assert to lyx::Assert.
16748
16749         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16750         lyxfunctional in namespace lyx
16751         * layout.C (hasLayout): ditto
16752         (GetLayout): ditto
16753         (GetLayout): ditto
16754         (delete_layout): ditto
16755         (NumberOfClass): ditto
16756         * converter.C (GetFormat): ditto
16757         (GetNumber): ditto
16758         (Add): ditto
16759         (Delete): ditto
16760         (SetViewer): ditto
16761         * bufferlist.C (getFileNames): ditto
16762         (emergencyWriteAll): ditto
16763         (exists): ditto
16764         (getBuffer): ditto
16765         * MenuBackend.C (hasSubmenu): ditto
16766         (hasMenu): ditto
16767         (getMenu): ditto
16768         * BufferView_pimpl.C (getInsetByCode): ditto
16769
16770 2001-04-18  Juergen Vigna  <jug@sad.it>
16771
16772         * vspace.C (asLatexString): fixed the 100% problem.
16773
16774 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16775
16776         * lyxfunc.C (Dispatch):
16777         * minibuffer.C:
16778         * minibuffer.h: add a few std:: qualifiers
16779
16780 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16781
16782         * minibuffer.[Ch]: reimplement so that commands is initiated and
16783         run from lyxfunc, simplified som handling, and made the completion
16784         and history code for complete. wip.
16785
16786         * lyxfunc.C (processKeySym): call message
16787         (miniDispatch): new temporary method
16788         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16789         (LFUN_MESSAGE): implement
16790         (LFUN_MESSAGE_PUSH): implement
16791         (LFUN_MESSAGE_POP): implement
16792         (initMiniBuffer): the initial/defualt minibuffer message.
16793
16794         * lyxfont.[Ch]: inline some more getters
16795
16796         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16797
16798         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16799
16800         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16801         (AutoSave): use LFUN_MESSAGE
16802         (Reconfigure): ditto
16803
16804         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16805
16806         * figureForm.C: use LFUN_MESSAGE
16807
16808         * converter.C (runLaTeX): use LFUN_MESSAGE
16809
16810         * bufferview_funcs.C: use LFUN_MESSAGE
16811         (Melt): ditto
16812         (changeDepth): ditto
16813
16814         * bufferparams.h: use boost::
16815
16816         * bufferlist.h: inherit privately from noncopyable
16817
16818         * bufferlist.C (loadLyXFile): remove some commented code.
16819
16820         * buffer.C (runChktex): use LFUN_MESSAGE
16821
16822         * ShareContainer.h: inherit privately from noncopyable
16823
16824         * ParagraphParameters.[hC] (depth): inline it.
16825
16826         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16827         methods.
16828         (message): new method
16829         (messagePush): ditto
16830         (messagePop): ditto
16831         (show): init minibuffer
16832         (showState): direct call
16833
16834         * LaTeX.[Ch]: inherit privately from noncopyable
16835         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16836         instead of WriteStatus.
16837
16838         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16839
16840         * BufferView_pimpl.C (buffer): don't init minibuffer
16841         (workAreaButtonPress): use LFUN_MESSAGE
16842         (workAreaButtonRelease): ditto
16843         (savePosition): ditto
16844         (restorePosition): ditto
16845         (MenuInsertLyXFile): ditto
16846         (workAreaExpose): don't init minibuffer
16847         (update): remove commented code, simplify
16848
16849         * BufferView2.C (openStuff): use LFUN_MESSAGE
16850         (toggleFloat): ditto
16851         (menuUndo): ditto
16852         (menuRedo): ditto
16853         (copyEnvironment): ditto
16854         (pasteEnvironment): ditto
16855         (copy): ditto
16856         (cut): ditto
16857         (paste): ditto
16858         (gotoInset): ditto
16859         (updateInset): remove some commented code
16860
16861         * lastfiles.h: inherit privately from noncopyable
16862         * layout.h: ditto
16863         * lyx_gui.h: ditto
16864         * lyx_main.h: ditto
16865         * lyxlex.h: ditto
16866         * lyxlex_pimpl.h: ditto
16867
16868         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16869         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16870         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16871
16872         * LyXAction.h: inherit privately from noncopyable, add methods
16873         func_begin, func_end, returning iterators to the func map.
16874
16875         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16876         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16877         (func_begin): new method
16878         (func_end): new method
16879
16880         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16881         and not)
16882         (copySelection): ditto
16883         (pasteSelection): ditto
16884
16885         * BufferView.C: whitespace change
16886         * BufferView.h: inherit privately from noncopyable
16887
16888 2001-04-16  Allan Rae  <rae@lyx.org>
16889
16890         * tabular-old.C (l_getline):
16891         * spellchecker.C (sc_check_word):
16892         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16893         an unrecognised preprocessor directive.  So ensure they're wrapped.
16894
16895 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16896
16897         * src/exporter.C (Export): Give an error message when path to file
16898         contains spaces.
16899
16900 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16901
16902         * LaTeX.C (deplog): Always check that foundfile exists.
16903
16904 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16905
16906         * lyx_main.h:
16907         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16908
16909 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16910
16911         * tabular.[Ch] (getLabelList): implement new method
16912
16913         * minibuffer.h: comment ouf setTiimer
16914
16915         * minibuffer.C (ExecutingCB): constify res
16916         (peek_event): constify s
16917         (Set): constify ntext
16918         (Init): constify nicename
16919
16920         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16921
16922         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16923         (savePosition): use two params to Minibuffer::Set
16924         (restorePosition): ditto
16925
16926 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16927
16928         * lyx_main.C: include language.h
16929
16930         * Makefile.am (lyx_main.o): add language.h
16931
16932 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16933
16934         * exporter.C:
16935         * paragraph.C:
16936         * screen.C:
16937         * tabular.C:
16938         * CutAndPaste.C: include gettext.h
16939
16940         * lyxfont.h: remove old hack with ON and OFF.
16941
16942         * lyxparagraph.h:
16943         * lyxfont.h: do not include language.h...
16944
16945         * BufferView2.C:
16946         * LaTeXFeatures.C:
16947         * Painter.C:
16948         * bufferview_funcs.C:
16949         * font.C:
16950         * lyxfont.C:
16951         * text.C:
16952         * text2.C:
16953         * trans_mgr.C:
16954         * paragraph.C: ... but do it here instead
16955
16956 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16957
16958         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16959
16960         * tabular.C: small reformat
16961
16962         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16963         NEW_INSETS version
16964         (GetChar): ditto
16965         (BreakParagraph): ditto
16966         (SetOnlyLayout): ditto
16967         (SetLayout): ditto
16968
16969         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16970         with one arg less.
16971
16972         * lastfiles.C: removed most using decl, add std:: where needed
16973
16974         * buffer.C: ws changes
16975
16976         * MenuBackend.C (class compare_format): put into anon namespace
16977         (expand): constify label, names, action, action2
16978         (expand):
16979
16980         * text.C (SingleWidth): constify font
16981         (IsBoundary): constify rtl2
16982         (GetVisibleRow): constify ww
16983
16984         * LaTeX.C (deplog): constify logfile
16985
16986         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16987         start_x, end_x
16988         (workAreaExpose): constify widthChange, heightChange
16989
16990         * lyxrow.C (par): moved
16991         (height): moved
16992         (next): moved
16993         * lyxrow.h: as inlines here
16994
16995         * lyxfont.h (shape): moved from lyxfont.C
16996         (emph): moved from lyxfont.C
16997
16998         * lyxfont.C (LyXFont): use initialization list for all
16999         constructors
17000         (shape): move to lyxfont.h as inline
17001         (emph): move to lyxfont.h as inline
17002
17003
17004 2001-04-04  Juergen Vigna  <jug@sad.it>
17005
17006         * vspace.C: had to include stdio.h for use of sscanf
17007
17008 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17009
17010         * BufferView.h:
17011         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17012         independent of xforms.
17013
17014 2001-04-02  Juergen Vigna  <jug@sad.it>
17015
17016         * spellchecker.C: fixed namespace placing!
17017
17018 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17019
17020         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17021         the LyXParagraph * is 0.
17022
17023 2001-03-29  Juergen Vigna  <jug@sad.it>
17024
17025         * vspace.C: added support for %, c%, p%, l%.
17026         (stringFromUnit): added helper function.
17027         (asLatexString): changed to give right results for the %-values.
17028
17029         * buffer.C: convert the widthp in a width%.
17030
17031 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17032
17033         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17034         figureForm.[Ch].
17035
17036         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17037         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17038
17039         * lyx_cb.[Ch]: see above.
17040
17041         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17042         form1.[Ch].
17043
17044         * form1.[Ch]:
17045         * lyx.[Ch]: replaced by figure_form.[Ch].
17046
17047         * lyx_gui.C:
17048         * lyx_gui_misc.C:
17049         * lyxfunc.C: changed headers associated with above changes.
17050
17051 2001-03-27  Juergen Vigna  <jug@sad.it>
17052
17053         * BufferView_pimpl.C: set the temporary cursor right!
17054
17055 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17056
17057         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17058
17059 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17060
17061         * LString.h: removed "using std::getline"!
17062
17063         * BufferView_pimpl.C (Dispatch): changes due to changes in
17064         InsetInclude::Params.
17065
17066         * buffer.C (tag_name): removed redundant break statements as they were
17067         producing lots of warnings with my compiler.
17068
17069 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17070
17071         * LString.h: add "using std::getline" when using the real <string>.
17072
17073 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17074
17075         * buffer.C: removed bitset usage.
17076         PAR_TAG moved to an anonymous name space.
17077         (tag_name): new funtion, also in the anonymous namespace.
17078         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17079         (makeDocBookFile): clean code. Completed transition from string arrays
17080         to string vectors.
17081         (SimpleDocBookOnePar): code clean.
17082
17083 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17084
17085         * tabular.C: add some comments.
17086
17087 2001-03-22  Juergen Vigna  <jug@sad.it>
17088
17089         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17090         compatibility read a bit and fixed bug with minipage in different
17091         depth.
17092
17093 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17094
17095         * buffer.C (pop_tag): removed.
17096         (push_tag): removed.
17097         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17098         array replaced with vector. Added support for CDATA sections.
17099         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17100         at any nest level.
17101         (makeDocBookFile): XML conformant declaration of CDATA section,
17102         fixed bug related to <emphasis> in the first paragraph char.
17103         (sgmlOpenTag): exclude empty tags.
17104         (sgmlCloseTag): ditto.
17105
17106         * buffer.h (pop_tag): removed.
17107         (push_tag): removed.
17108
17109 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17110
17111         * language.h (Languages): added size_type and size().
17112
17113 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17114
17115         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17116         response on compability reading of minipages. One probliem is that
17117         the old usage of minipages was «flertydig»
17118
17119         * several files here and in subdirs: don't use static at file
17120         scope use anon namespaces instead.
17121
17122 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17123
17124         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17125         LaTeX output. This is necessary for Literate document
17126         processing.
17127
17128 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17129
17130         * buffer.C: insert hfill when needed.
17131
17132         * tabular.C (l_getline): use string::erase, small whitespace change.
17133
17134         * BufferView_pimpl.C: try the anon namespace.
17135         * WorkArea.C: ditto
17136
17137 2001-03-16  Juergen Vigna  <jug@sad.it>
17138
17139         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17140         otherwise it won't open options-dialogs.
17141
17142         * buffer.C: honor pextraWidth(p) on converting minipages.
17143
17144         * tabular.C (l_getline): changed the functions to strip trailing \r.
17145
17146 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17147
17148         * BufferView_pimpl.C:
17149         * minibuffer..C: added "using SigC::slot" declaration.
17150
17151 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17152
17153         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17154
17155         * text2.C: ditto
17156
17157         * text.C: ditto
17158
17159         * paragraph.C: ditto
17160
17161         * lyxtext.h: NO_PEXTRA
17162
17163         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17164
17165         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17166         * ParameterStruct.h: ditto
17167         * ParagraphParameters.h: ditto
17168         * lyxparagraph.h: ditto
17169
17170 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17171
17172         * buffer.C: add compability for minipage alignment.
17173         (latexParagraphs): remove unwanted pextra check.
17174
17175         * several files: remove CXX_WORKING_NAMESPACES
17176
17177         * buffer.C (pop_tag): tie is in namespace boost
17178
17179         * BufferView.h: noncopyable is in namespace boost
17180         * lyxlex.h: ditto
17181         * lyx_main.h: ditto
17182         * lyx_gui.h: ditto
17183         * layout.h: ditto
17184         * lastfiles.h: ditto
17185         * bufferlist.h: ditto
17186         * ShareContainer.h: ditto
17187         * LyXView.h: ditto
17188         * LyXAction.h: ditto
17189         * LaTeX.h: ditto
17190
17191 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17192
17193         * Merging changes from BRANCH_MVC back into HEAD.
17194
17195         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17196
17197 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17198
17199         * BufferView_pimpl.C: change from intl.C
17200
17201         * combox.h:
17202         * combox.C:
17203         * Makefile.am: move combox.*
17204
17205         * form1.h:
17206         * form1.C:
17207         * lyx_gui.C:
17208         * intl.h:
17209         * intl.C: remove dialog (covered by prefs)
17210
17211 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17212
17213         * lyxfunc.C (Dispatch): removed redundant break statement.
17214
17215 2001-03-14  Juergen Vigna  <jug@sad.it>
17216
17217         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17218
17219 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17220
17221         * buffer.C: add hack to fix compability reading of minipages.
17222
17223 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17224
17225         * buffer.C (getLists): Cleanup.
17226
17227 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17228
17229         * lyxfont.C (update): don't honor toggleall on font size.
17230
17231 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17232
17233         * bmtable.c:
17234         * bmtable.h:
17235         * Makefile.am: moved to frontends/xforms/
17236
17237         * lyx_gui_misc.C:
17238         * lyxfunc.C:
17239         * BufferView_pimpl.C: changes for moved mathpanel
17240
17241 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17242
17243         * gettext.h: fix gettext_init() in --disable-nls
17244
17245 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17246
17247         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17248
17249 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17250
17251         * lyx.C:
17252         * lyx.h: strip external form
17253
17254 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17255
17256         * BufferView_pimpl.C: add comment, destroySplash()
17257
17258 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17259
17260         * BufferView_pimpl.C:
17261         * LyXAction.C:
17262         * buffer.C:
17263         * commandtags.h:
17264         * lyxfunc.C: use re-worked insetinclude
17265
17266 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17267
17268         * buffer.C: add using std::stringstream.
17269
17270         * lyx_cb.C: readd using std::ios.
17271
17272         * buffer.C: add using std::map.
17273
17274         * BufferView_pimpl.C: add using std::vector.
17275
17276         * ShareContainer.h: add std:: to swap.
17277
17278         * buffer.h: add some typedefs
17279         * buffer.C (getLists): use them
17280         (getLists): renamed from getTocList.
17281         add a counter for the different float types and use it in the
17282         generated string.
17283         (getLists): use the same counter for the NEW_INSETS and the "non"
17284         NEW_INSETS
17285
17286         * lyx_cb.h: remove unused items, includes, using etc.
17287
17288         * ShareContainer.h: remove some commented code, add more comments
17289         and "documentation".
17290
17291 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17292
17293         * buffer.C (getTocList): make the list also when NEW_INSETS is
17294         defined.
17295
17296         * buffer.h: remove TocType
17297
17298         * buffer.C (getTocList): change to return a map<string,
17299         vector<TocItem> >, implement for dynamic number of list.
17300
17301         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17302         * text2.C (PasteSelection): adjust
17303         * CutAndPaste.C (pasteSelection): adjust
17304
17305         * FloatList.C (FloatList): update from the new_insets branch.
17306         * Floating.[Ch]: ditto
17307         * LaTeXFeatures.C: ditto
17308         * buffer.C: ditto
17309         * lyxlex_pimpl.C: ditto
17310
17311         * paragraph.C (Last): remove when NEW_INSETS is defined.
17312
17313         * other file: changes because of the above.
17314
17315 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17316
17317         * lyxparagraph.h: rename next to next_, previous to previous_,
17318         make them private for NEW_INSETS. Rename Next() to next(),
17319         Previous() to previous().
17320
17321         * other files: changes because of the above.
17322
17323 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17324
17325         * BufferView.h:
17326         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17327         problem.
17328
17329 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17330
17331         * main.C (main): pass lyx_localedir to gettext_init().
17332
17333         * gettext.h: remove locale_init and gettext_init macros
17334
17335         * gettext.C (locale_init): new function
17336         (gettext_init): new function
17337
17338         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17339         setlocale().
17340
17341 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17342
17343         * Moved credits to frontends:
17344         * credits.[Ch]: removed
17345         * credits_form.[Ch]: removed
17346         * lyx_gui_misc.C: remove credits stuff
17347         * Makefile.am:
17348
17349 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17350
17351         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17352
17353         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17354         unneeded destructor.
17355
17356         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17357         a standalone pointer again.
17358
17359         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17360
17361 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17362
17363         * Makefile.am:
17364         * filedlg.h:
17365         * filedlg.C:
17366         * LyXAction.C:
17367         * ToolbarDefaults.C:
17368         * bufferlist.C:
17369         * commandtags.h:
17370         * form1.C:
17371         * form1.h:
17372         * lyx_cb.C:
17373         * lyx_cb.h:
17374         * lyxfunc.h:
17375         * lyxfunc.C:
17376         * BufferView_pimpl.C: use new file dialog in GUII
17377
17378         * lyx_cb.h:
17379         * lyx_cb.C: remove LayoutsCB to Toolbar
17380
17381 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17382
17383         * ShareContainer.h (get): add std:: qualifier
17384
17385 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17386
17387         * ShareContainer.h: define a proper ShareContainer::value_type
17388         type (and use typename to please compaq cxx)
17389
17390 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17391
17392         * lyxparagraph.h: move serveral local vars to
17393         ParameterStruct/ParagraphParameters., use ShareContainer in
17394         FontTable., make vars in FontTable private and add getter and
17395         setter.
17396
17397         * paragraph.C: changes because of the above.
17398
17399         * lyxfont.h: remove copy constructor and copy assignment. (the
17400         default ones is ok), move number inside FontBits. move inlines to
17401         lyxfont.C
17402
17403         * lyxfont.C: add number to initializaton of statics, move several
17404         inlines here. constify several local vars. some whitespace
17405         cleanup. Dont hide outerscope variables.
17406
17407         * Spacing.h: add two new constructors to match the set methods.
17408
17409         * ShareContainer.h: new file, will perhaps be moved to support
17410
17411         * ParameterStruct.h: new file
17412
17413         * ParagraphParameters.h: new file
17414
17415         * ParagraphParameters.C: new file
17416
17417         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17418         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17419
17420         * BufferView_pimpl.C: ParagraphParameter changes.
17421         * buffer.C: Likewise.
17422         * bufferview_funcs.C: Likewise.
17423         * text.C: Likewise.
17424         * text2.C: Likewise.
17425
17426 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17427
17428         * lyxfind.C (LyXReplace): do not redefine default argument in
17429         implementation.
17430         (IsStringInText): ditto
17431         (SearchForward): ditto
17432         (SearchBackward): ditto
17433
17434 2001-03-06  Juergen Vigna  <jug@sad.it>
17435
17436         * lyxfind.C (IsStringInText): put parentes around expressions.
17437
17438 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17439
17440         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17441
17442 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17443
17444         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17445
17446         * stl_string_fwd.h: add comment
17447
17448         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17449
17450         * tabular.h:
17451         * tabular.C: remove unused DocBook methods
17452
17453         * intl.C:
17454         * language.C:
17455         * paragraph.C:
17456         * buffer.C:
17457         killed DO_USE_DEFAULT_LANGUAGE
17458
17459 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17460
17461         * lyx_gui.C: do not include language.h.
17462
17463         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17464         arguments in function implementation.
17465
17466 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17467
17468         * BufferView_pimpl.C: add <ctime>
17469
17470 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17471
17472         * BufferView_pimpl.C: add using std::find_if
17473
17474 2001-02-27  José Matos  <jamatos@fep.up.pt>
17475
17476         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17477         by OnlyPath.
17478
17479 2001-02-11  José Matos  <jamatos@fep.up.pt>
17480
17481         * buffer.C (makeDocBookFile): command styles now have a parameter as
17482         "title" by default.
17483
17484 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17485
17486         * layout_forms.[Ch]: removed
17487         * lyx_cb.[Ch]: out character
17488         * lyx_gui.C: out character
17489         * lyx_gui_misc.C: out character
17490         * bufferview_funcs.C: : out character,
17491         added toggleall as parameter in ToggleAndShow
17492
17493 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17494
17495         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17496
17497         * text2.C (SetCurrentFont): Disable number property at boundary.
17498
17499 2001-02-26  Juergen Vigna  <jug@sad.it>
17500
17501         * lyxfunc.C (getStatus): added a string argument override function so
17502         that this is correctly called from LyXFunc::Dispatch if it contains a
17503         do_not_use_argument which is used!
17504         (Dispatch): added check for "custom" export and call appropriate func.
17505
17506 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17507
17508         * lyxrc.C: Add language_command_local, language_use_babel and
17509         language_global_options.
17510
17511         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17512
17513         * buffer.C (makeLaTeXFile): Use language_use_babel and
17514         language_global_options.
17515
17516 2001-02-23  Juergen Vigna  <jug@sad.it>
17517
17518         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17519         which works with LyXText and putted it inside BufferView. Here now we
17520         only call for that part the BufferView::Dispatch() function.
17521
17522         * BufferView.C (Dispatch): added.
17523
17524         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17525         functions which needs to use a LyXText over from LyXFunc.
17526         (MenuInsertLyXFile): added
17527         (getInsetByCode): added
17528         (moveCursorUpdate): added
17529         (static TEXT): added
17530
17531 2001-02-22  Juergen Vigna  <jug@sad.it>
17532
17533         * BufferView_pimpl.C (update): call a status update to see if LyXText
17534         needs it.
17535
17536 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17537
17538         * vc-backend.C (revert): implement for CVS
17539         (getLog): implement for CVS
17540
17541 2001-02-20  Juergen Vigna  <jug@sad.it>
17542
17543         * text2.C (ClearSelection): added BufferView param for inset_owner call
17544
17545         * lyxfunc.C (TEXT): added this function and use it instead of
17546         directly owner->view()-text of getLyXText().
17547
17548 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17549
17550         * src/layout_forms.C: out preamble
17551         * src/layout_forms.h: out preamble
17552         * src/lyx_cb.C: out preamble
17553         * src/lyx_cb.h: out preamble
17554         * src/lyx_gui.C: out preamble
17555         * src/lyx_gui_misc.C: out preamble
17556         * src/lyxfunc.C: connect with guii preamble
17557
17558 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17559
17560         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17561
17562 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17563
17564         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17565         whether to run bibtex.
17566
17567 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17568
17569         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17570
17571 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17572
17573         * Makefile.am (lyx_SOURCES): removed bibforms.h
17574
17575         * vspace.h: doxygen
17576
17577         * text.C (GetVisibleRow): make several local vars const
17578
17579         * tabular.C: small cleanup.
17580
17581         * lyxserver.C (callback): use compare instead of strncmp
17582
17583         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17584         inlines to after class or to paragraph.C
17585
17586         * lyxfont.h: remove friend operator!=
17587
17588         * converter.h: move friend bool operator< to non friend and after
17589         class def.
17590
17591         * combox.h: small cleanup
17592
17593         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17594         to inlines after class def.
17595
17596         * buffer.C (pop_tag): use string operations instead of strcmp
17597
17598         * bmtable.c: doxygen, small cleanup
17599
17600         * LaTeX.h: remove friend operator==
17601
17602 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17603
17604         * screen.C:
17605         * lyxrc.[Ch]:
17606         * lyxfunc.C:
17607         * lyxfont.[Ch]:
17608         * lyx_cb.C:
17609         * intl.[Ch]:
17610         * commandtags.h:
17611         * buffer.C:
17612         * WorkArea.[Ch]:
17613         * LyXAction.C:
17614         * BufferView_pimpl.C:
17615         * BufferView.[Ch]: remove cruft
17616
17617 2001-02-14  Juergen Vigna  <jug@sad.it>
17618
17619         * lyxfunc.C: removed #if 0 unused code
17620
17621         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17622
17623         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17624
17625         * text2.C (SetSelection): added a BufferView * parameter
17626
17627 2001-02-13  Juergen Vigna  <jug@sad.it>
17628
17629         * lyxfunc.C (Dispatch): fixed protected blank problem.
17630         * BufferView2.C (protectedBlank): added LyxText * parameter.
17631
17632         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17633         (AppendColumn): same as above for column_info.
17634
17635         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17636         (moveCursorUpdate): use a LyXText param for support of InsetText.
17637
17638         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17639         (tripleClick): ditto
17640
17641         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17642
17643         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17644
17645         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17646
17647         * text2.C (SetSelection): set correct update status if inset_owner
17648         (ToggleFree): ditto
17649
17650 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17651
17652         * tabular.C: remove some commented code.
17653
17654 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17655
17656         * BufferView_pimpl.C: call hideSplash()
17657
17658         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17659
17660         * include_form.h:
17661         * bibforms.h: remove
17662
17663         * lyxfunc.C:
17664         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17665           add LFUN_CHILD_CREATE
17666
17667         * counters.h: fix tiny typo
17668
17669         * lyx_cb.C:
17670         * lyx.h:
17671         * lyx_gui.C:
17672         * lyx.C: move splash to frontends/xforms/
17673
17674         * lyx_gui_misc.C: move Include and Bibform to frontends
17675
17676         * lyxvc.h: clarify comment
17677
17678         * vspace.C: tiny housekeeping
17679
17680 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17681
17682         * text.C (PrepareToPrint): RTL Fix.
17683
17684         * paragraph.C (GetUChar): New method.
17685         (String):  Use GetUChar.
17686
17687         * buffer.C (asciiParagraph): Use GetUChar.
17688
17689 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17690
17691         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17692
17693 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17694
17695         * buffer.h:
17696         * buffer.C: rename to getLogName(), handle
17697           build log / latex log nicely
17698
17699 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17700
17701         * MenuBackend.C:
17702         * MenuBackend.h: remove support for reference menuitem type.
17703
17704 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17705
17706         * BufferView_pimpl.C: housekeeping
17707         * BufferView_pimpl.h:
17708         * LyXView.h:
17709         * Makefile.am:
17710         * Timeout.C:
17711         * Timeout.h:
17712         * minibuffer.h: move Timeout GUI-I
17713
17714 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17715
17716         * lyxrc.C (read): Update converters data-structures.
17717
17718 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17719
17720         * LaTeX.h (operator!=): add operator != for Aux_Info
17721
17722 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17723
17724         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17725
17726         * LaTeXLog.C: deleted, useful code moved to Buffer
17727
17728         * buffer.h:
17729         * buffer.C: new function getLatexLogName()
17730
17731         * lyx_gui_misc.C:
17732         * lyx_gui.C:
17733         * lyxvc.C:
17734         * lyxvc.h:
17735         * lyxfunc.C: use frontends for LaTeX and VC logs
17736
17737 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17738
17739         * LaTeX.h: yet another std:: that Allan forgot.
17740
17741         * Variables.C (set): renamed from isset(), because this clashes
17742         with some HP-UX macros (grr).
17743
17744 2001-02-06  Allan Rae  <rae@lyx.org>
17745
17746         * LaTeX.h: Another bug fix.  Missing std:: this time.
17747
17748 2001-02-04  Allan Rae  <rae@lyx.org>
17749
17750         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17751         floats problem. I've left it commented out because it's not quite
17752         correct.  It should also test that the current object is a table or
17753         figure inset.  But I haven't gotten around to figuring out how to do
17754         that.  I *think* it'll be something like: "table" == inset.type()
17755
17756         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17757         bool.
17758
17759 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17760
17761         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17762         all the citation/databases/styles in the auxilary file.
17763         (run): Rerun latex if there was a babel language error.
17764
17765 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17766
17767         * text.C (Backspace): Preserve the font when changing newline char
17768         with a space.
17769         (BreakParagraph): If the cursor is before a space, delete the space.
17770
17771         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17772
17773 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17774
17775         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17776         new argument (code).
17777         (ChangeCitationsIfUnique): New method.
17778
17779         * paragraph.C (GetPositionOfInset): Handle bibkey.
17780
17781 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17782
17783         * BufferView_pimpl.h: change type of Position::par_pos to
17784         LyXParagraph::size_type.
17785
17786 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17787
17788         * BufferView_pimpl.C (savePosition, restorePosition): Write
17789         messages to minibuffer.
17790
17791 2001-01-28  José Matos  <jamatos@fep.up.pt>
17792
17793         * buffer.C (makeDocBookFile): adds support for document language.
17794         A silly restriction on the name of LatexCommand types where removed.
17795         Added support for CDATA sections, allows to chars unescaped, used
17796         among others in code, to avoid escape < and >.
17797
17798 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17799
17800         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17801         saved positions instrad of a stack. Furthermore, a position is
17802         stored using paragraph id/paragraph position.
17803
17804         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17805         Remove LFUN_REF_BACK.
17806
17807 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17808
17809         * converter.C (dvipdfm_options): New method.
17810
17811 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17812
17813         * vspace.C (isValidLength): Fix for empty input string.
17814
17815 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17816
17817         * LyXAction.C (init): change description of LFUN_FIGURE to
17818         "Insert Graphics"
17819
17820 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17821
17822         * LaTeX.C: add using directive
17823
17824 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17825
17826         * MenuBackend.C (expand): Fix the sorting of the formats.
17827
17828 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17829
17830         * lyx_main.C: tiny error message fix
17831
17832 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17833
17834         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17835         calling fl_initialize(). This fixes the problem with ',' as
17836         decimal separator in text files.
17837
17838 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17839
17840         * trans.C (process): Fix the keymap bug.
17841
17842 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17843
17844         * LaTeX.C (scanAuxFiles): New method. Provides support for
17845         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17846         (scanLogFile) Scan for "run BibTeX" messages.
17847
17848         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17849         OT1 font encoding. Also, load the aecompl package if the ae
17850         package is loaded.
17851
17852         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17853
17854 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17855
17856         * texrow.C (increasePos): turn two error messages into debug
17857         messages.
17858
17859 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17860
17861         * LaTeX.C (scanAux): Handle the \@input macro.
17862         (runBibTeX): Use scanAux().
17863
17864         * language.C (latex_options_): New field.
17865
17866         * LaTeXFeatures.C (getMacros): Add language macros.
17867
17868         * buffer.C (makeLaTeXFile): Small fix.
17869
17870 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17871
17872         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17873
17874         * text2.C: add a using directive.
17875
17876 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17877
17878         * BufferView2.C:
17879         * lyx_gui_misc.h:
17880         * lyxfr1.C:
17881         * lyxfunc.C: kill LyXBell.
17882
17883 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17884
17885         * text.C (IsBoundary): Remove the error message
17886
17887         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17888
17889         * lyxrc.C (setDefaults): Correct initialization value for
17890         font_norm_type.
17891
17892 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17893
17894         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17895         gotoError().
17896
17897         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17898         and GotoNextNote().
17899
17900         * src/LyXAction.C: Added reference-next.
17901
17902         * text.C (InsertChar): Use contains instead of strchr.
17903
17904         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17905
17906 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17907
17908         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17909         alignment commands (when needed).
17910
17911         * text.C (InsertChar): Add ':' to number separator chars.