]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
partial fix for bug 622, cosmetic rest remains open
[lyx.git] / src / ChangeLog
1
2 2005-07-14  André Pönitz  <poenitz@gmx.net>
3
4         * undo.C (recordUndoFullBuffer): implement undo for
5   textclass switches
6
7 2005-07-14  André Pönitz  <poenitz@gmx.net>
8
9         * cursor.C (setSelection): open insets when selection is set there
10   to avoid crashs with cold coord cache
11
12 2005-07-14  André Pönitz  <poenitz@gmx.net>
13
14         * trans_mgr.C (insert): move cursor to the right after inserting
15   a char.
16
17 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18
19         * BufferView_pimpl.C (update): dampen some of the debug blabbering
20         * factory.C (readInset): ditto
21         * text.C, text2.C: ditto
22
23 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
24
25         * buffer.C: format incremented to 242. There is no file format per
26         se, but the "frenchb" language has been removed from lib/language
27         and has to be translated to "french" by lyx2lyx.
28
29 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
30
31         * cursor_slice.h, dociterator.h: add some documentation
32         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
33
34 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
35
36         * text.C (leftMargin): do not add identation to display() style
37         insets, because they are always centered (bug 1293).
38
39 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
40
41         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
42         formatted_time methods in support/lyxtime.
43
44 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
45
46         * toc.[Ch]: new method getGuiName, which is used by the frontends 
47         to set the toc combo (fixes bug 1870). Make TOC string translatable.
48
49 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
50
51         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
52         StableDocIterator const &)
53         * undo.C (recordUndo): use the above instead of cell.size() comparison
54         (fixes bug 1808; instructed by André).
55
56 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
57
58         * cursor_slice.h: 
59         * dociterator.h: Fix the assert when copying rows/cols in math
60
61 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
62
63         * BufferView_pimpl.C:
64         * LyXAction.C:
65         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
66
67         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
68         (findInset): new functions, refactored from goto Inset that return 
69         the position of a certain inset without setting the buffer's cursor
70         (by Jean-Marc); 
71         (gotoInset): rewrite to call findInset and then set the cursor
72         (by Jean-Marc).
73
74 2005-06-16  Angus Leeming  <leeming@lyx.org>
75
76         * lyxrc.C (output, read): wrap all input and output of paths with
77         calls to os::internal_path and os::external_path, respectively.
78         (output): wrap bind_file inside quotes.
79
80         * format.C (view): enable the viewer to use the '$$s' placeholder.
81
82 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
83
84         * LColor.[Ch] (getFromLaTeXName): new
85
86 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
87
88         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
89
90 2005-06-14  Angus Leeming  <leeming@lyx.org>
91
92         * lyx_main.C (init): ensure that the LyX binary dir is the first
93         element in the PATH on non-POSIX builds.
94
95 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
96
97         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
98
99 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
100
101         * rowpainter.C (paintInset, paintHebrewComposeChar)
102         (paintArabicComposeChar, paintChars): add a LyXFont argument.
103         (paintChars): use getFontSpan to reduce calls to getFont to a
104         minimum; use Paragraph::lookupChange instead of isXXXText.
105         (paintForeignMark): rename LyXFont argument.
106         (paintFromPos): pass a LyXFont object to the various paintXXX
107         methods.
108
109         * FontIterator.C (FontIterator, operator++): use
110         Paragraph::getFontSpan
111
112         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
113         version that returns the font span as a pair.
114
115 2005-06-09  Angus Leeming  <leeming@lyx.org>
116
117         * converter.C (convert): Don't forget "outfile = real_outfile" as
118         the final step in a conversion where the input and output file names
119         are the same. Otherwise, future conversion steps won't work...
120
121 2005-06-09  Angus Leeming  <leeming@lyx.org>
122
123         * lyxsocket.C: remove stub code as it isn't needed by
124         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
125
126 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
127
128         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
129         effectively disabled -x
130
131 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
132
133         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
134         when it actually makes sense.
135
136 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
137
138         * BufferView_pimpl.C: revert to showCursor in connection with
139         Lars's front-end stack
140
141 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
142
143         * text.C (redoParagraph): move cursor right after a bibitem
144         has been inserted.
145
146         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
147
148 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
149
150         * buffer_funcs.C (bufferErrors): fix computation of the end of an
151         error range.
152
153 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
154
155         * BufferView.[Ch] (update):
156         * BufferView_pimpl.[Ch] (update, metrics):
157         * dimension.h (operator==):
158         * lyxfunc.C (dispatch):
159         * metricsinfo.h (ViewMetricsInfo):
160         * rowpainter.C (paintText):
161         * lyxtext.h:
162         * text.C (redoParagraph):
163         * text3.C (dispatch): Make LyX only repaint current paragraph in
164         case of character insert --> speedup. Also fix cursor draw
165         artifacts
166
167 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
168
169         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
170         avoid a crash (bug 1891)
171
172 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
173
174         Fix bug 1892:
175
176         * text2.C (getStringToIndex): constify cur argument.
177
178         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
179         argument has been given
180         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
181         try to invoke LFUN_INSET_APPLY).
182
183         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
184         if no inset was created by doInsertInset
185         (doInsertInset): return true if an inset has been inserted.
186
187 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
188
189         * vspace.C (asGUIName): new method. A version of the space
190         suitable for showing on screen.
191
192 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
193
194         * MenuBackend.C:
195         * lyxrc.C: rename "ASCII" to "Plain Text"
196
197 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
198
199         * buffer_funcs.C (expandLabel): take a Buffer as argument;
200         translate the labelstring.
201         (setCounter): translate labelstring as needed.
202
203         * output_docbook.C (makeCommand): fix expandLabel invokation
204
205 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
206
207         * BufferView.C: fix dialog title
208
209 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
210
211         * lyx_main.C (priv_exec): fix logic error with help from Angus
212         * lyx_main.C (parse_execute): set is_gui = false and remove now
213         obsolete comment about a segfault
214
215 2005-05-18  Angus Leeming  <leeming@lyx.org>
216
217         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
218
219 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
220
221         * tabular.[hC]: added setCellInset to fix tabular paste.
222
223 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
224
225         * buffer.C (save): check if destination is writable before trying
226         to copy a file
227
228 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
229
230         * BufferView_pimpl.C (update): fix processEvents -caused update
231         recursion bug
232
233 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
234
235         * buffer_funcs.C (setCounter): fix test for numbering of
236         environments.
237
238         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
239         depth correctly; use optional argument when it exists
240
241         * lyxtextclass.C: remove unused MaxCounterTags enum
242         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
243         (max_toclevel, min_toclevel): new methods.
244
245         * MenuBackend.C (expandToc2): fix case where depth is smaller than
246         the smallest depth in toc.
247
248         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
249         layouts that should not appear in a table of contents.
250
251 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
252
253         * cursor.h (undispatched, noUpdate): add comments from André
254
255 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
256
257         * lfuns.h:
258         * LyXAction.C:
259         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
260
261 2005-05-07  André Pönitz  <poenitz@gmx.net>
262
263         * cursor.[Ch] (leaveInset): new function
264
265 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
266
267         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
268
269 2005-05-04  Angus Leeming  <leeming@lyx.org>
270
271         * lyxfunc.C (getStatus): disable the spell checker dialog if
272         none of USE_[AIP]SPELL are defined.
273
274 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
275
276         * tabular.C (setWidthOfCell): remove obsolete comment
277
278 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
279
280         * paragraph.C (bibitem):
281         * buffer_funcs.C (setCounter):
282         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
283
284 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
285
286         * text3.C (getStatus): immediately return after setOnOff
287
288         * rowpainter.C: fix drawing of appendix start
289
290 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
291
292         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
293         SwitchBetweenClasses and remove the unused return value.
294         Handle character styles, too
295
296 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
297
298         * factory.C (createInset): handle undefined character styles
299
300 2005-05-02  Angus Leeming  <leeming@lyx.org>
301
302         * buffer.C: protect the #include of utime.h with a preprocessor
303         guard.
304
305 2005-05-02  Angus Leeming  <leeming@lyx.org>
306
307         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
308         function so that auto-saving works, albeit in a blocking manner.
309
310         * Makefile.am: make compilation of the client sub directory, of
311         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
312         on conditionals set at configure time.
313
314         * SpellBase.[Ch]: no longer an abstract base class. Instead,
315         it can be compiled in its own right but has no-op functionality.
316
317         * aspell.C, pspell.C: remove preprocessor guards. The files should
318         be compiled only if the necessary functionality exists.
319
320         * lyxserver.C, lyxsocket.C: disable on Windows.
321
322 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
323
324         * text.C (leftMargin): Fix the parindent use bug (1764)
325         by dirty trick
326
327 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
328
329         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
330         argument.
331
332 2005-04-25  Angus Leeming  <leeming@lyx.org>
333
334         * Bidi.[Ch]:
335         * coordcache.[Ch]:
336         * ispell.C:
337         * lyxserver.C:
338         * mover.C:
339         * pch.h:
340         include <config.h> in .C files, not .h ones.
341         add licence blurb.
342         protect headers inside preprocessor guards.
343
344 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
345
346         * FuncStatus.h (StatusCodes): document
347
348 2005-04-21  André Pönitz  <poenitz@gmx.net>
349
350         * FuncStatus.h (enabled, onoff): document
351
352 2005-04-19  Angus Leeming  <leeming@lyx.org>
353
354         * BufferView_pimpl.C (cursorToggle): no longer test whether
355         any child processes have been reaped before calling
356         handleCompletedProcesses().
357
358 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
359
360         * text3.C (dispatch): fix, finally fix, the language problem in
361         new lyxtexts, without disabling on-the-fly font changes (Helge's
362         bug report)
363
364 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
365
366         * text3.C (dispatch): set cursor on double/triple click events
367         (bug 1811)
368
369 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
370
371         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
372         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
373
374         * rowpainter.C (paintFirst): simplify the code a little bit. In
375         particular, remove the test for secnumdepth.
376         * text.C (setHeightOfRow): only allocate space for chapter number
377         when updateCounters provided an actual label, instead of looking
378         at secnumdepth directly.
379
380         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
381
382         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
383         paragraphs when secnumdepth is large enough or, for environments,
384         when they are not the first in a sequence.
385
386 2005-04-17  Angus Leeming  <leeming@lyx.org>
387
388         * buffer.C (makeLaTeXFile): replace code to manipulate a path
389         containing space and '~' characters with a call to latex_path().
390
391 2005-04-17  Angus Leeming  <leeming@lyx.org>
392
393         * converter.C (convert): protect all args of convertDefault.sh
394         script with quotes.
395
396 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
397
398         * text3.C (dispatch): change the layout to "Caption" after inserting
399         a float.
400
401 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
402
403         * text3.C (dispatch): fix language problem in newly created
404         textinsets (and main text) in non-english docs
405
406 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
407
408         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
409         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
410         * text3.C (getStatus): disable LFUN_INSET_MODIFY
411
412 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
413
414         * lyxtext.h:
415         * text.C (metrics):
416         * text2.C (getFont):
417         * rowpainter.C (getFont): Fix metrics bug introduced by inset
418         fonts fix
419
420 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
421
422         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
423         output of \item arguments without trailing text.
424
425 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
426
427         * FontIterator.C (operator*): avoid a copy of the font.
428
429 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
430
431         * rowpainter.C (getFont): fix language bug from previous fix
432
433 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
434
435         * rowpainter.C (RowPainter, getFont): fix font inside inset
436         (bugs 1766, 1809)
437
438 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
439
440         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
441         preventing inserted font, deco, delim insets jumping to start of
442         surrounding inset.
443
444 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
445
446         * lyxfunc.C (dispatch): translate message before sending it to the
447         minibuffer.
448
449 2005-03-29  Angus Leeming  <leeming@lyx.org>
450
451         * lyx_main.C (priv_exec): call os::internal_path on each file passed
452         to LyX on the command line.
453
454 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
455
456         * vc-backend.C: use QuoteName to protect file names wherever
457         necessary.
458
459 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
460
461         * buffer.[Ch]:
462         * BranchList.h: fix bugs 1844,1845: document settings don't
463         stick
464
465 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
466
467         * lyxrc.C (setDefaults, read, output, getDescription): add support
468         for tex_allows_spaces.
469
470         * exporter.C (Export): allows files in directory containing spaces
471         if tex_allows_spaces is true.
472
473         * buffer.C (makeLaTeXFile): if the document path contains spaces,
474         output it in double quotes.
475
476 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
477
478         * rowpainter.C: use default text height for drawing change tracker
479         strikeout lines.
480
481 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
482
483         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
484
485 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
486
487         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
488         directory is missing.
489
490 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
491
492         * text2.C: fixed the fix, extended to other case.
493
494 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
495
496         * text2.C: fix for cursor up/down stuck in math [bug 1792]
497
498 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
499
500         * text2.C (cursorUp): get rid of a crash
501         * text.C (x2pos): add an assert
502
503 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
504
505         * lyxfunc.C (getStatus): fix warning when assertions are disabled
506
507         * text3.C:
508         * lyxfunc.C:
509         * dociterator.C: include <boost/current_function.hpp>, which is
510         needed when assertions are disabled.
511
512 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
513
514         * text2.C: fix for stuck cursor when traversing two
515         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
516
517 2005-02-25  Andreas Vox  <avox@arcor.de>
518
519         * output_docbook.C (makeParagraph): suppress trailing newline
520         after a run of paragraphs
521
522 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
523
524         * paragraph.C: fix for confused change tracker when pasting
525         text that begins with a lineseparator. [bug 1827]
526         (setChange(0, Change::INSERTED);)
527
528         * paragraph_funcs.C: fix for lost changes on triple-paste
529         in change tracking mode [bug 1827] (par.setChange()).
530
531 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
532
533         * text2.C (updateCounters, setCounter, expandLabel): move to
534         buffer_funcs.
535
536         * buffer_funcs.C (updateCounters): turn into a free standing
537         function and add a buffer parameter. Remove dead code for tracking
538         labelstring change.
539         (setCounter): change into a free-standing function which gets a
540         dociterator as argument. Use this iterator to fix captions in a
541         simple way. When no float is found above the caption, use the
542         labelstring of the caption layout as default.
543
544         * text.C (breakParagraph, backspace):
545         * text2.C (init, setLayout, changeDepth):
546         * text3.C (dispatch):
547         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
548         updateCounters.
549
550         * dociterator.C (forwardPar): make it much faster by calling
551         forwardPos() only when really necessary.
552
553         * output_docbook.C (makeCommand): adapt to expandLabel move.
554
555         * cursor.C: remove unused variable
556
557 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
558
559         * paragraph_funcs.C: fix crash when pasting insets in change
560         tracking mode [bug 1277] (honour change type in moveItem).
561
562 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
563
564         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
565
566 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
567
568         * BufferView.C (setCursor): change to use a DocIterator.
569         (gotoLabel): use BufferView::setCursor (other part of bug 781).
570         (putSelectionAt): adapt to BufferView::setCursor change.
571
572         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
573         moved here from LyXText and rewritten to use proper cursor
574         methods. Fixes bug 1787, 616 and 835.
575
576         * BufferView_pimpl.C (restorePosition): set the cursor correctly
577         when inside an inset (part of bug 781).
578         (dispatch): adapt to change of BufferView::setCursor.
579         (getStatus, dispatch): handle LFUN_GOTOERROR,
580         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
581
582         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
583         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
584         * text3.C (gotoNextInset, gotoInset): removed.
585
586 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
587
588         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
589
590 2005-02-15  Angus Leeming  <leeming@lyx.org>
591
592         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
593         can be used meaningfully in a comparison.
594
595 2005-02-13  André Pönitz  <poenitz@gmx.net>
596
597         * bufferview_funcs.C (coordOffset): improve cursor drawing
598
599 2005-02-13  André Pönitz  <poenitz@gmx.net>
600
601         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
602         * Cursor.C (dispatch): use fixIfBroken
603         * lyxfunc.C (getStatus): use fixIfBroken
604
605 2005-02-15  Angus Leeming  <leeming@lyx.org>
606
607         * lyx_main.C (error_handler):
608         * lyxfunc.C:
609         * lyxrc.C (setDefaults):
610         s/GetEnv/getEnv/.
611         #include "environment.h".
612
613         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
614
615 2005-02-15  Angus Leeming  <leeming@lyx.org>
616
617         * lyxserver.C (startPipe): squash MSVC warning "local variable
618         'fd' used without having been initialized".
619
620 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
621
622         * BufferView_pimpl.C: revert accidental commit.
623
624 2005-02-14  André Pönitz  <poenitz@gmx.net>
625
626         * dociterator.[Ch]: new member forwardPosNoDescent(),
627         which doesn't enter nested insets.
628         * text2.C (setFont): use forwardPosNoDescent() instead
629         of ForwardPos() (fixes crash on font change).
630
631 2005-02-13  Angus Leeming  <leeming@lyx.org>
632
633         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
634         only if lyxrc.path_prefix is not empty.
635
636 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
637
638         * bufferparams.C (readGraphicsDriver): prevent crash
639
640 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
641
642         * text2.C (setCounter): check for inInset() == 0
643
644 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
645
646         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
647         but use update() to get correct screen display; use convert
648         instead of istringstream.
649         (getStatus): handle LFUN_GOTO_PARAGRAPH
650
651         * lyxfunc.C (dispatch, getStatus): do not handle
652         LFUN_GOTO_PARAGRAPH here.
653
654 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
655
656         * text3.C (dispatch): size() -> depth()
657
658         * text2.C: remove some debug output
659
660         * paragraph.C: ws changes only
661
662         * lyxfunc.C (getStatus): size() -> depth()
663
664         * dociterator.h (clear, push_back, pop_back, internalData,
665         operator[], resize, empty): new functions
666         Make StableDocIterator and operator== be friends. Don't inherit
667         from std::vector use a privat class variable slices_ instead.
668         Modify to fit.
669
670         * dociterator.C: update because of not inheriting from std::vector
671         anymore. Call explictly to slices_ instead. Use depth() instead of
672         size() and top() instead of back()
673
674         * cursor.C: chagne size() -> depth and back() -> top(). Also
675         remove some direct operator[](i) calls in favour of foo[i]
676         (getFont): remove some dead code
677
678         * bufferview_funcs.C (coordOffset): size() -> depth()
679
680         * buffer.C: ws changes only
681
682         * CutAndPaste.C (eraseSelection): back() -> top()
683
684         * BufferView_pimpl.C (selectionRequested): back() -> top()
685
686         * BufferView.C (setCursor): size() -> depth()
687
688 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
689
690         * text3.C (cursorPrevious): return true if depm changed something
691         (cursorNext): ditto
692         (dispatch): rename sl to oldTopSlice, remove moving use the new
693         NoUpdate func attrib instead. Make sure that needsUpdate is set
694         for function that have NoUpdate, but where depm might have changed
695         the buffer anyway.
696
697         * text2.C (cursorLeft): make us return true if depm changed
698         something
699         (cursorRight): ditto
700         (cursorUpParagraph): ditto
701         (curosrDownParagraph): ditto
702         (cursorUp, cursorDown): ditto, make sure to read comments in code
703         (deleteEmptyParagraphMechanism): remove an assert, also return
704         true if just a single char was deleted.
705
706         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
707         cursor that we modify, to avoid modifying an active cursor before
708         we call setCursor. This allows depm to run. Also return true if
709         depm deleted something.
710
711         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
712         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
713         cursorDownParagraph, cursorPrevious and cursorNext, return true if
714         something was changed in the buffer because of them (ie. depm run)
715
716         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
717         debug messages. Make update by default be false. Make sure that
718         the result of update is retained throught several calls down to
719         dispatch.
720
721         * LyXAction.h: add a new func_attrib: NoUpdate
722
723         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
724         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
725         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
726         and LFUN_WORDLEFT
727         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
728
729 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
730
731         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
732         bv_->owner(), bv_->buffer() by direct references to the private
733         members.
734         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
735         (getStatus): isSavedPosition() is in BufferView::Pimpl.
736         (fitCursor): center() is in BufferView::Pimpl.
737         (getStatus, trackChanges, dispatch): no need for a temporary buf
738         variable
739         (fitCursor, workAreaDispatch): use workarea().workheight()
740
741 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
742
743         * CutAndPaste.C (pasteSelectionHelper): fix a crash
744
745 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
746
747         * buffer.C: format up to 241.
748         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
749         break if pasting into ERT
750         * lyxfunc.C (getStatus): suppress mathpanel and
751         LFUN_DIALOG_SHOW_NEW_INSET in ERT
752
753 2005-02-01  Angus Leeming  <leeming@lyx.org>
754
755         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
756
757 2005-02-01  Angus Leeming  <leeming@lyx.org>
758
759         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
760         calling fs::is_directory().
761
762 2005-01-31  Angus Leeming  <leeming@lyx.org>
763
764         * lyx_main.C (priv_exec): specify explicitly the relative location
765         of the top level build directory when run in-place.
766
767 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
768
769         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
770         LyXText containing the cursor, not the top-level one.
771
772         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
773         true.
774         (insertStringAsLines): rename par to pit; use temporary variable
775         par to hold a Paragraph; do not store par.layout() in a variable,
776         since the pointer may die when breaking paragraphs; pass pars to
777         breakParagraph() instead of Buffer::paragraphs().
778
779 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
780
781         * lyxlex_pimpl.h: #include <fstream>.
782
783         * BufferView.[Ch] (getLyXText): add a const version.
784
785         * BufferView_pimpl.C: add debug aids.
786
787         * RowList_fwd.h:
788         * buffer.h:
789         * lyxrow.h:
790         * paragraph_funcs.h: add commentary explaining what the class does.
791
792
793         * coordcache.[Ch]: add lots of commentary.
794         (startUpdating, doneUpdating): debug aids.
795         (arrays, insets, parPos, getParPos): accessors to private data.
796
797         * cursor_slice.[Ch] (text): add a const version.
798         * dociterator.[Ch] (text, innerText): add const versions.
799
800         * lyxtext.h (breakParagraph): change the keep_layout arg to a
801         bool.
802
803         * paragraph.C (getRow, pos2ros): add asserts.
804
805         * paragraph.h: add commentary. Lots of.
806
807         * paragraph.[Ch] (metrucs, draw): removed.
808
809         * cursor.C:
810         * rowpainter.[Ch]: const-correct changes.
811
812         * text.C: various obvious clean-ups. Removal of ancient cruft.
813         Bug fixes, even.
814
815 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
816
817         * vc-backend.C (find_file): rewrite to use boost.filesystem
818         (scanMaster): ditto
819
820         * main.C (main): set default name check for boost.filesystem to
821         no check
822
823         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
824         (open): ditto
825         (doImport): ditto
826         (actOnUpdatedPrefs): ditto
827
828         * lyx_main.C (init): rewrite to use boost.filesystem
829         (queryUserLyXDir): ditto
830
831         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
832         (getContentsOfAsciiFile): ditto
833
834         * lastfiles.C (readFile): rewrite to use boost.filesystem
835
836         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
837
838         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
839         (loadLyXFile): ditto
840
841         * buffer.C (Buffer): adjust for destroydir
842         (getLogName): rewrite to use boost.filesystem
843         (setFileName): ditto
844         (save): use fs::copy_file (from fs_extras)
845
846         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
847
848         * LaTeX.C (run): rewrite to use boost.filesystem
849         (scanAuxFiles): ditto
850         (handleFoundFile): ditto
851
852 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
853
854         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
855
856         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
857
858 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
859
860         * lyxlayout.[Ch]: change some vars from float to double
861
862         * buffer.C (readFile): make a local var const
863
864         * Several files: use convert<> instead of atoi,strToXXX and friends
865
866 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
867
868         * LaTeXFeatures.[Ch]: Add a static list packages_ that
869         holds the contents of packages.lst. New functions getAvailable
870         and isAvailable to parse and check that list, resp.
871
872         * LyXAction.C:
873         * lfuns.h:
874         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
875
876         * bufferparams.[Ch]: new param output_changes.
877
878         * Buffer.C: increase file format to 240.
879         Use output_changes and isVailable.
880
881         * changes.[Ch]:
882         * paragraph.C:
883         * paragraph_pimpl.C: Use output_changes and isVailable.
884
885 2005-01-23  Angus Leeming  <leeming@lyx.org>
886
887         * output_latex.C: #include "insetbibitem.h", rather than
888         forward declare function bibitemWidest.
889
890 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
891
892         * lyx_main.C (init): make it compile on the Mac.
893
894 2005-01-20  Angus Leeming  <leeming@lyx.org>
895
896         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
897         (setLyXMisc): (char string literal) != (char string literal) is
898         performing a comparison on the addresses. Convert one operand
899         explicitly to string to guarantee expected behaviour.
900         From MSVC warning.
901
902 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
903
904         * buffer.C:
905         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
906
907         * output_plaintext.C: remove unneeded #include gzstream.h.
908
909 2005-01-20  Angus Leeming  <leeming@lyx.org>
910
911         * SpellBase.h: rename some of the elements of the Result enum.
912
913         * aspell_local.h:
914         * ispell.h:
915         * pspell.h:
916         * aspell.C (check):
917         * ispell.C (check):
918         * pspell.C (check): ditto
919
920 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
921
922         * buffer.C: add #include <fstream>.
923
924         * lyx_main.C (init): Compile fix.
925
926         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
927
928 2005-01-20  Angus Leeming  <leeming@lyx.org>
929
930         * mover.h: change commentary to reflect the changed meaning of
931         the $$s placeholder.
932
933 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
934
935         * output_linuxdoc.C (linuxdocParagraphs): silence warning
936
937         * lyxfind.C (MatchString::operator()): remove bogus semicolon
938
939 2005-01-20  Angus Leeming  <leeming@lyx.org>
940
941         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
942         printing diagnostic data by not dereferecing an iterator past the
943         end.
944
945 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
946
947         * buffer.C (readHeader): use "&&" rather than "and".
948
949         * lyxserver.h (inPipeName, outPipeName): make these const.
950
951 2005-01-19  Angus Leeming  <leeming@lyx.org>
952
953         * lyx_main.C (error_handler, init): protect SIGHUP with
954         #ifdef SIGHUP guards.
955
956 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
957
958         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
959
960 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
961
962         * text.C (setHeightOfRow): add a margin at the top and bottom of
963         the document (bug 1761)
964
965 2005-01-17  Angus Leeming  <leeming@lyx.org>
966
967         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
968         with "python ". Workaround for a brain-dead Windows.
969
970 2005-01-16  Angus Leeming  <leeming@lyx.org>
971
972         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
973         for MacOSX and Windows to use prependEnvPath.
974         Strip out the hard-coded block to add elements to the PATH for
975         MacOSX and replace it with a call to prependEnvPath using the
976         contents of LyXRC::path_prefix.
977         (queryUserLyXDir): strip out the code to run reconfigure, instead
978         returning a boolean indicating the necessity to do so.
979         (reconfigureUserLyXDir): contains the code to reconfigure the
980         user support directory. Is now called after the various LyXRC data
981         files have been read.
982
983         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
984
985 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
986
987         * converter.[Ch] (convert): take a new parameter try_default. Use
988         a default converter (imagemagick) if try_default is true.
989
990 2005-01-13  Angus Leeming  <leeming@lyx.org>
991
992         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
993         os::cygwin_path_fix.
994         (write): output LyXRC::cygwin_path_fix as necessary.
995
996 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
997
998         * lyxrc.h:
999         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1000
1001 2005-01-12  Angus Leeming  <leeming@lyx.org>
1002
1003         * lyx_main.C (init): set the PATH variable to include the
1004         directory containing the LyX binary when running on Mac or Windows.
1005
1006 2005-01-12  Angus Leeming  <leeming@lyx.org>
1007
1008         * lyx_main.C (init): remove cruft that purports to set the locale
1009         dir. It doesn't and is not needed anyway.
1010
1011 2005-01-10  Angus Leeming  <leeming@lyx.org>
1012
1013         * Makefile.am: remove the lyx_main.C special casing.
1014
1015         * BufferView_pimpl.C:
1016         * bufferlist.C:
1017         * exporter.C:
1018         * lyx_cb.C:
1019         * lyx_main.C:
1020         * lyxfunc.C:
1021         * messages.C: use support/package.h to provide the paths to the
1022         various directories used by LyX.
1023
1024 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1025
1026         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1027         layout if pasting into an empty paragraph)
1028
1029 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1030
1031         * tex-accent.C: add <string>
1032
1033 2005-01-06  José Matos  <jamatos@lyx.org>
1034
1035         * ParagraphParameters.C (write): put every parameter in its own line.
1036         * paragraph.C (write): reduce number of consecutive empty lines exported.
1037         * buffer.C (LYX_FORMAT): increase file format to 239.
1038
1039 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1040
1041         * everywhere: change support/tostr.h -> support/convert.h
1042
1043         * tabular.C: make all write_attributes templates, tostr -> convert
1044
1045         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1046         (emptyTag): and -> &&, and fix type for ret from getChar
1047         (getFirstWord): fix type for ret from getChar
1048         (onlyText): and -> &&
1049         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1050         getChar
1051
1052         * toc.C (goTo, action):
1053         * text3.C (dispatch):
1054         * text.C (currentState):
1055         * tex-accent.C (DoAccent):
1056         * sgml.C:
1057         * lyxrc.C:
1058         * lyxfunc.C (menuNew):
1059         * lyxfinc.C (replace):
1060         * counters.C (laberItem):
1061         * bufferview_funcs.C (font2string):
1062         * bufferparams.C (writeFile):
1063         * buffer.C (readFile):
1064         * Spacing.C (set):
1065         * MenuBackend.C: tostr -> convert
1066
1067         * LaTeX.C (runMessage): fix format
1068         (scanAuxFiles): tostr -> convert
1069
1070         * BufferView_pimpl.C (savePosition): fix format
1071         (restorePosition): ditto
1072         (dispatch): ditto
1073
1074 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1075
1076         * Spacing.[Ch]: New method getValueAsString().
1077
1078         * Spacing.[Ch]:
1079         * bufferparams.C:
1080         * ParagraphParameters.C:
1081         * lyxlayout.C:
1082         * text.C:
1083         * text3.C: store/read spacing value as string.
1084
1085         * rowpainter.C: change float value (spacing_val) to double.
1086
1087         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1088         broken custom document spacing).
1089
1090 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1091
1092         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1093         namespace, also more use of temp references and const
1094
1095         * cursor.[Ch] (getStatus): move to lyxfunc.C
1096
1097         * bufferparams.C: reformat slightly
1098
1099         * bufferview_funcs.C (font2string): constify arg
1100
1101         * changes.C:
1102         * converter.C:
1103         * counters.C:
1104         * bufferlist.C:
1105         * buffer_funcs.C: (many funcs): constify arg on function
1106         definitions, also make more local vars const, also add ASSERTS on
1107         pointer args.
1108
1109         * buffer.C (LYX_FORMAT): put const in correct place
1110         (many funcs): constify arg on function definitions, also make
1111         more local vars const
1112
1113         * aspell_local.h: remove "struct" from typdef setup
1114
1115         * aspell.C (check): make word_ok const
1116         (nextMiss): simplify slightly
1117         (error): ditto
1118
1119 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1120
1121         * lyxrc.[Ch]: store all float values as strings.
1122         use int (not float) for lyxrc.dpi.
1123
1124 2005-01-04  Angus Leeming  <leeming@lyx.org>
1125
1126         * lyx_cb.C (Reconfigure):
1127         * lyx_main.C (queryUserLyXDir):
1128         to run the <system_lyxdir>/configure correctly on Windows, prefix
1129         the path to the script with "sh " when generating the string that
1130         is passed to system().
1131
1132 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1133
1134         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1135
1136 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1137
1138         * lyxlength.C (asLatexString): get rid of setprecision
1139
1140 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1141
1142         * text2.C (setLayout): remove unused variable endpit.
1143         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1144
1145         * paragraph.C (onlyText): remove unused variable style.
1146
1147         * cursor.C (bruteFind): remove unused variables beg and end.
1148
1149         * Makefile.am (dist_noinset_DATA): not needed anymore
1150
1151         * cheaders/*: remove.
1152
1153 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1154
1155         * text3.C: fix LFUN_MATH_MODE.
1156
1157 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1158
1159         * buffer_funcs.C (countWords): new function. Counts words between
1160         two iterators.
1161
1162         * BufferView_pimpl.C (getStatus, dispatch): handle
1163         LFUN_WORDS_COUNT.
1164
1165         * LyXAction.C (init):
1166         * lfuns.h: add LFUN_WORDS_COUNT.
1167
1168 2004-12-19  Angus Leeming  <leeming@lyx.org>
1169
1170         * buffer.C (save): s/slashify_path/internal_path/.
1171
1172 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1173
1174         * lyxfind.C (findChange): do not search for end of pars, because
1175         the change tracker cannot handle this (fixes bug 1719).
1176
1177 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1178
1179         * paragraph.[Ch] (autoBreakRows): remove
1180
1181         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1182
1183         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1184         avoid using the paragraph one
1185
1186         * text2.C (LyXText, insertStringAsLines): adjust
1187
1188 2004-12-16  Angus Leeming  <leeming@lyx.org>
1189
1190         * bufferlist.C:
1191         * lyx_main.C:
1192         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1193
1194 2004-12-14  Angus Leeming  <leeming@lyx.org>
1195
1196         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1197
1198         * bufferlist.C (emergencyWrite):
1199         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1200         GetEnvPath("HOME").
1201
1202 2004-12-14  Angus Leeming  <leeming@lyx.org>
1203
1204         * main.C: (main): no longer pass pointers to os::init.
1205
1206 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1207
1208         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1209         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1210
1211 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1212
1213         * lyxfunc.C:
1214         * text3.C: remove selection_possible global flag
1215
1216 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1217
1218         * text2.C (getSelectionSpan): remove
1219         (changeDepth, changeDepthAllowed): adjust
1220
1221 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1222
1223         * Makefile.am (BOOST_LIBS): use boost variables
1224
1225 2004-12-03  José Matos  <jamatos@lyx.org>
1226
1227         * buffer.C: format up to 238.
1228
1229 2004-12-03  José Matos  <jamatos@lyx.org>
1230
1231         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1232
1233 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1234
1235         * cursor.C (goUpDown): remove call to idxUpDown2
1236
1237 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1238
1239         * tabular.[Ch]: use size_t-like types for cell, row and column
1240         indices
1241
1242 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1243
1244         * lyxfunc.C (getStatus): do not lose previous information when
1245         calling BufferView::getStatus; do not set a default "Command
1246         disabled" message at the beginning, but just before returning.
1247
1248 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1249
1250         * cursor.h (getStatus): add better comment from src/cursor.C
1251
1252 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1253
1254         * text3.C (getStatus): return false when the lfun is not handled
1255
1256 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1257
1258         * broken_headers.h: remove
1259
1260         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1261
1262 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1263
1264         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1265         offset_ref accessors
1266
1267         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1268         top_y_, merge fitcursor with update
1269         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1270         coord scheme
1271         (metrics): introduce
1272         (workAreaDispatch): adapt to new coord scheme
1273         (redoCurrentBuffer): remove
1274
1275         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1276
1277         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1278         CurStatus enum.
1279
1280         * coordcache.[Ch]: add paragraph cache and helpers
1281
1282         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1283         adjust everywhere
1284
1285         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1286         (targetX, setTargetX): introduce
1287
1288         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1289         baseline -> ascent, as the rest of lyx
1290
1291         * lyxtext.h: remove redoParagraphs, updateParPositions,
1292         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1293         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1294         have ascent/descent (ascent is ascent of first par)
1295
1296         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1297         step of BufferView
1298
1299         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1300
1301         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1302
1303         * pariterator.C: fix infinite loop introduced in par->pit renaming
1304
1305         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1306         in insets and LyXText, draw two off-screen paragraphs using
1307         NullPainter, and adapt to new coord scheme
1308
1309         * text.C:
1310         * text2.C:
1311         * text3.C: adapt lfun handlers to the new coord scheme, which
1312         means: there's only guaranteed coord information for onscreen pars
1313         plus one above and one below. This implies that one can do search
1314         from y coordinates in the range [-1,workHeight]
1315
1316 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1317
1318         * rename a lot of InsetOld to InsetBase
1319
1320 2004-11-25  Angus Leeming  <leeming@lyx.org>
1321
1322         * BufferView_pimpl.C:
1323         * lyx_cb.C:
1324         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1325
1326 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1327
1328         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1329         call BufferView::getStatus if LCursor::getStatus did nothing
1330         (setStatusMessage, getStatusMessage): removed.
1331
1332         * FuncStatus.C (message): new methods. Used to provide an error
1333         message indicating why a command is disabled.
1334         (clear, |=, FuncStatus): update for message.
1335
1336 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1337
1338         * lyxfunc.C (dispatch): always call sendDispatchMessage
1339
1340 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1341
1342         * BufferView.C:
1343         * BufferView_pimpl.C:
1344         * CutAndPaste.C:
1345         * FontIterator.C:
1346         * buffer.C:
1347         * cursor.C:
1348         * cursor_slice.[Ch]:
1349         * dociterator.[Ch]:
1350         * lyxfind.C:
1351         * paragraph_funcs.C:
1352         * pariterator.C:
1353         * rowpainter.C:
1354         * text.C:
1355         * text2.C:
1356         * text3.C:
1357         * undo.C: par->pit renaming
1358
1359 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1360
1361         * tabular.C (cellstruct): use initialization, store a shared_ptr
1362         to insettext instead of the insettext directly, adjust to fit.
1363         (operator=):  new function
1364         (swap): new function
1365         (rowstruct): use initialization
1366         (columnstruct): use initialization
1367         (ltType): use initialization
1368
1369
1370         * lyxlength.h (swap): new function
1371
1372         * LColor.[Ch] (operator=): use the common semantics
1373
1374 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1375
1376         * lyxfind.C (findNextChange): update the bufferview after setting
1377         the selection.
1378
1379 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1380
1381         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1382         number of InsetOptArgs has already been inserted.
1383
1384         * output_latex.C (latexOptArgInsets): new method. This outputs all
1385         the optarg insets, up to the limit defined in the layout file.
1386         (optArgInset): removed
1387         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1388
1389 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1390
1391         * paragraph.C (isLetter): remove special spellchecker-related
1392         code; return true also for digits
1393         (isWord, isKomma): remove
1394
1395         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1396         * lyxfind.C (MatchString()): use isLetter instead of isWord
1397
1398 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1399
1400         * pariterator.h (operatir=): comment out un-implemented member
1401         function.
1402
1403         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1404         static cast.
1405
1406 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1407
1408         * lyxfont.h: include LColor.h to satisfy concept checks.
1409
1410 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1411
1412         * pariterator.h: add typdefs for value_type, difference_type,
1413         pointer and reference to satisfy concept checks. Also add default
1414         constructor for same reason.
1415
1416         * pariterator.C (operator++): add post-increment operator to
1417         satisfy concept checks.
1418
1419         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1420         checks.
1421
1422         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1423
1424         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1425         checks. Also rename base_type to BaseType to follow naming
1426         standard better.
1427
1428         * FloatList.h: include Floating.h to satisfy concept checks.
1429
1430 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1431
1432         * lyxfunc.C (getStatus): when the origin of the request is menu or
1433         toolbar, and the LyXView does not have focus, do as if there was
1434         no buffer (bug 1720)
1435
1436         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1437         FuncRequest to individual entries of LFUN_SEQUENCE
1438
1439 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1440
1441         * output_latex.C (TeXOnePar): override runparams.moving_arg
1442         according to the needprotect value of the current paragraph (bug
1443         1739)
1444
1445         * paragraph.C (simpleTeXOnePar): no need to override
1446         runparams.moving_args here
1447
1448 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1449
1450         * vspace.C: fix off-by-one-error, related to fix #1682
1451
1452 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1453
1454         * lengthcommon.C: a more general fix for bug 1682
1455
1456 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1457
1458         * text.C (backspace): fix crash
1459
1460 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1461
1462         * format.[Ch] (getFormatFromFile): new method
1463         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1464
1465 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1466
1467         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1468
1469 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1470
1471         * lyxfunc.C (dispatch): remove the verbose argument
1472         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1473         instead
1474
1475         * kbmap.C (defkey): set the origin of func to KEYBOARD
1476
1477         * MenuBackend.C (MenuItem):
1478         * ToolbarBackend.C (add): set the origin of func to UI
1479
1480         * funcrequest.[Ch]: add origin member, which indicates which part
1481         of LyX requests an action
1482
1483 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1484
1485         * converter.C (move): don't lie in the error message
1486         * converter.h (isReachable, move): document
1487
1488 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1489
1490         * buffer.C: remove unused using lyx::support::atoi
1491         * paragraph_funcs.C: ditto
1492
1493 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1494
1495         * bufferlist.C (exists): use bind and equal_to instead of
1496         compare_memfun
1497         (getBuffer): ditto
1498         * lyxtextclasslist.C (NumberOfClass): ditto
1499
1500         * cursor.C (insert): use for_each instead of explicit for loop
1501
1502         * bufferlist.C (getFileNames): use std::transform and
1503         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1504
1505         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1506         for loop
1507
1508         * buffer.C (changeLanguage): use for_each instead of explicit for
1509         loop
1510         (hasParWithID): implement using getParFromID
1511
1512         * LaTeXFeatures.C: ws change only
1513
1514         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1515         to cleanup a bit.
1516
1517         * BufferView_pimpl.C (trackChanges): use for_each instead of
1518         expilicit for loop
1519
1520 2004-11-04  André Pönitz  <poenitz@gmx.net>
1521
1522         * undo.h:
1523         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1524
1525         * dociterator.C (asDocIterator): use hard assert again.
1526
1527 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1528
1529         * lyxlength.C (asLatexString): rewrite so that it does not use
1530         snprintf anymore
1531
1532 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1533
1534         * text3.C (specialChar, dispatch): make sure cursor moves to the
1535         right after inserting an inset
1536
1537 2004-11-02  José Matos  <jamatos@lyx.org>
1538
1539         * output_docbook.C (docbook):
1540         * paragraph.C (getID):
1541         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1542         garantee that the output is always legal.
1543
1544         * tabular.C (docbook):
1545         * outputprams.[Ch]: remove mixed contents.
1546
1547 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1548
1549         * text2.C (setCounter): prevent endless loop
1550
1551 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1552
1553         * exporter.C (copyFile): use the mover instead of support::copy()
1554         * exporter.C (Export): pass format and latex name to copyFile()
1555         * exporter.h (addExternalFile): document
1556         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1557
1558 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1559
1560         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1561
1562 2004-10-30  José Matos  <jamatos@lyx.org>
1563
1564         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1565         text and no inset or font change. This allows to use CDATA
1566         sections just for the whole paragraph.
1567
1568 2004-10-30  José Matos  <jamatos@lyx.org>
1569
1570         * paragraph.C (getFirstWord): remove unused variable.
1571
1572 2004-10-30  José Matos  <jamatos@lyx.org>
1573
1574         * paragraph.C (getFirstWord): the content should always be escaped
1575         there.
1576         (simpleDocBookOnePar):
1577         * output_docbook.C (makeEnvironment): replace reference to CDATA
1578         to style pass_thru.
1579
1580 2004-10-30  José Matos  <jamatos@lyx.org>
1581
1582         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1583
1584 2004-10-30  José Matos  <jamatos@lyx.org>
1585
1586         * output_docbook.C (makeParagraphs):
1587         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1588         standard paragraph has only a given type of content drop the wrapper.
1589
1590 2004-10-29  José Matos  <jamatos@lyx.org>
1591
1592         * output_docbook.C (makeEnvironment):
1593         * sgml.C (openTag):
1594         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1595
1596 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1597
1598         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1599         (cleanID): sanitize any id.
1600
1601 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1602
1603         * buffer.C, lyxlex_pimpl.C:
1604         * lyxlex_pimpl.C (setFile):
1605         s/getExtFromContents/getFormatFromContents/
1606
1607 2004-10-28  José Matos  <jamatos@lyx.org>
1608
1609         * output_docbook.C (makeEnvironment): move id to broadest possible
1610         scope.
1611
1612         * sgml.C (openTag): apply substitution of <> for all attributes.
1613
1614 2004-10-28  José Matos  <jamatos@lyx.org>
1615
1616         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1617         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1618         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1619
1620         * sgml.[Ch]: new version for open and closeTag for paragraph and
1621         for strings. Now they handle the ids of paragraphs.
1622
1623 2004-10-26  Angus Leeming  <leeming@lyx.org>
1624
1625         * Makefile.am: add mover.[Ch].
1626
1627         * converter.C (convert, move): use the new Movers to move external
1628         files to the temp directory.
1629
1630         * lyx_main.C (init): ensure that the global system_movers data
1631         is initialised.
1632
1633         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1634         preferences file.
1635
1636         * mover.[Ch]: new files, defining a Mover as a utility to move an
1637         external file between directories and, if necessary, manipulate this
1638         file using a helper script.
1639
1640 2004-10-25  José Matos  <jamatos@lyx.org>
1641
1642         * output_docbook.C (makeCommand): merge two if's that tested the
1643         same condition.
1644
1645 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1646
1647         * sgml.C (escapeString): fix warning in a better way
1648
1649 2004-10-25  José Matos  <jamatos@lyx.org>
1650
1651         * sgml.C (escapeString): import the require boosts header file for
1652         tie, and avoid a signed unsigned comparison.
1653
1654 2004-10-25  José Matos  <jamatos@lyx.org>
1655
1656         * sgml.h: add #include <string>
1657
1658 2004-10-25  José Matos  <jamatos@lyx.org>
1659
1660         * sgml.[Ch] (escapeString): new function to escape all the string.
1661
1662 2004-10-24  José Matos  <jamatos@lyx.org>
1663
1664         * paragraph.[Ch] (getFirstWord): new function to get the first
1665         word. Useful for description.
1666         (simpleDocBookOnePar): remove depth argument, add another that
1667         says where to start the paragraph.
1668
1669         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1670         use the new functions to fix cleanly the support for descriptions.
1671
1672 2004-10-24  José Matos  <jamatos@lyx.org>
1673
1674         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1675         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1676         * output_linuxdoc.C (linuxdocParagraphs):
1677         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1678         add buffer as argument.
1679
1680 2004-10-24  José Matos  <jamatos@lyx.org>
1681
1682         * output_docbook.C (makeEnvironment, searchEnvironment): place
1683         CDATA inside paragraphs and fix scope for listitems.
1684
1685 2004-10-24  José Matos  <jamatos@lyx.org>
1686
1687         * output_docbook.C: remove using statement for stack.
1688
1689 2004-10-23  José Matos  <jamatos@lyx.org>
1690
1691         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1692         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1693         docbook. The new scheme is recursive and makes use of iterators, the
1694         same as latex export works.
1695         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1696         directly with the paragraph contents. This code was moved up to
1697         output_docbook.C (docbookParagraphs).
1698         * sgml.C (openTag, closeTag): removed unneeded newlines.
1699         (closeEnvTags) removed.
1700
1701 2004-10-23  André Pönitz  <poenitz@gmx.net>
1702
1703         * undo.C (textUndoOrRedo):
1704         * dociterator.C (asDocIterator): work around crash
1705
1706         * cursor.C (getStatus): replace ASSERT by more verbose error message
1707           and manual correction of the problem. Should increase stability
1708           while providing more sensible information.
1709
1710 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1711
1712         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1713
1714         * bufferlist.C (previous, next): new methods
1715
1716         * lfuns.h:
1717         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1718
1719 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1720
1721         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1722         entities to preamble.
1723
1724 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1725
1726         * messages.C (Pimpl): strip off translation context information
1727
1728 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1729
1730         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1731         the cursor is correct (bug 1694)
1732
1733 2004-10-13  José Matos  <jamatos@lyx.org>
1734
1735         * output_docbook.C (docbookParagraphs): fix closing tags in the
1736         end of the document.
1737
1738 2004-10-09  José Matos  <jamatos@lyx.org>
1739
1740         * buffer.C: format up to 237.
1741         * bufferparams.C (write): use tostr to convert booleans to strings.
1742
1743 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1744
1745         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1746
1747 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1748
1749         * LaTeX.C: implement use of babel language in xindy.
1750
1751 2004-10-05  José Matos  <jamatos@lyx.org>
1752
1753         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1754         Add new translators to help reading and writing the lyx file.
1755
1756 2004-10-05  José Matos  <jamatos@lyx.org>
1757
1758         * ParagraphParameters.C (read):
1759         * text.C (readParToken): replace nexToken by more appropriate lex
1760         methods.
1761
1762 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1763
1764         * LaTeX.C (runMakeIndex):
1765         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1766         (usually 'makeindex') configurable.
1767
1768         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1769         with a variable rather than with a number.
1770
1771 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1772
1773         * output_latex.C (TeXOnePar): make sure font setting is the first
1774         thing that gets output (and the last at the end). Should fix bug
1775         1404.
1776
1777 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1778
1779         * pch.h: use proper signal include
1780
1781         * LaTeX.h: Use preferred calling of Boost.Signal
1782         * buffer.h: ditto
1783
1784 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1785
1786         * pch.h: dont include <boost/function/function0.hpp>
1787
1788         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1789
1790         * paragraph_pimpl.h: remove usage of ShareContainer
1791
1792         * paragraph_pimpl.C: remove initialization of ShareContainer.
1793
1794 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1795
1796         Fix bug #1666
1797
1798         * BufferView.C (putSelectionAt): change the semantics when
1799         backwards == true: now, this just swaps cursor and anchor wrt the
1800         forward case
1801
1802         * BufferView.h (putSelectionAt): add some documentation
1803
1804         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1805         make sure backwardChar is done at least once (to avoid getting
1806         stuck)
1807         (findNextChange): use putSelectionAt in the forward direction
1808         (operator()): use Paragraph::isWord
1809
1810 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1811
1812         * Spacing.C (set): c_str fix
1813
1814 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1815
1816         * lyx_cb.C (Reconfigure): quote the name of configure script in
1817         case it contains spaces
1818
1819 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1820
1821         * client: new dir
1822
1823         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1824         (BOOST_LIBS): use top_buildir when looking for the file
1825
1826 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1827
1828         * pch.h: do not use include boost/format.hpp, multiple symbols
1829                 will result (gcc bug)
1830
1831
1832 2004-08-23  José Matos  <jamatos@lyx.org>
1833
1834         * bufferparams.C (readToken): fix reading of the author field.
1835
1836 2004-08-20  José Matos  <jamatos@lyx.org>
1837
1838         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1839
1840 2004-08-20  José Matos  <jamatos@lyx.org>
1841
1842         * lyxlex.[Ch] (findToken): remove function.
1843
1844         * ParagraphParameters.C (findToken):
1845         * bufferparams.C (findToken): replace call for previous function
1846         with local copy. This local function has one more argument, the
1847         read string argument.
1848
1849 2004-08-16  José Matos  <jamatos@lyx.org>
1850
1851         * ParagraphParameters.C (write):
1852         * Spacing.C (writeFile):
1853         * bufferparams.C (writeLaTeX):
1854         * lyx_cb.C (Reconfigure):
1855         * paragraph.C (write):
1856         * tabular.C (write): remove unnecessary space at end of line.
1857
1858
1859 2004-08-16  José Matos  <jamatos@lyx.org>
1860
1861         * text.C (readParagraph): remove debug message.
1862
1863 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1864
1865         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1866         crash
1867
1868         * output_plaintext.C (asciiParagraph): set depth correctly
1869
1870         * outputparams.h: add member depth
1871
1872         * paragraph_funcs.C (ownerPar): remove.
1873
1874         * text2.C (setCounter): remove first_pit; comment out some
1875         non-working code that uses ownerPar
1876
1877         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1878         uses ownerPar
1879
1880 2004-08-16  José Matos  <jamatos@lyx.org>
1881
1882         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1883         For the same level of importance use the same chanel to report problems.
1884         (read): add code to deal with \begin_body and \end_body.
1885
1886
1887 2004-08-15  José Matos  <jamatos@lyx.org>
1888
1889         * lyxlex.C (getString): fix comment, buffer::readBody is now
1890         buffer:readDocument.
1891
1892         * tex-strings.C (string_papersize): Default -> default,
1893         Custom -> custom, for consistency with other options.
1894
1895 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1896
1897         * pch.h: new file
1898
1899         * Makefile.am: support pch
1900
1901 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1902
1903         * text.C (readParToken): remove the static LyXFont variable and
1904         pass it as a parameter instead. This fixes a nasty bug where an
1905         inset will be inserted with a bad font in some situations
1906         (readParagraph): adapt
1907
1908         * text2.C (setCounter): reduce number of calls to pars_[pit]
1909
1910         * text.C (singleWidth): add an assert, fix a test
1911
1912         * rowpainter.C (paintText): reduce number of calls to singleWidth
1913
1914         * paragraph.C (isHfill):
1915         (isNewline): ws only
1916
1917 2004-08-14  André Pönitz  <poenitz@gmx.net>
1918
1919         * text.C:
1920         * text2.C:
1921         * rowpainter.C:
1922         * lyxtext.h (several functions): use a Paragraph & argument
1923         instead of par_type
1924
1925 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1926
1927         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1928
1929         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1930
1931         * text.C (singleWidth): remove useless test
1932
1933 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1934
1935         * tabular.h: remove bogus comments
1936
1937         * tabular.C (getDescentOfRow):
1938         (isPartOfMultiColumn): add assertions
1939
1940         * lyxlength.C (inPixels): remove #warning
1941
1942 2004-08-14  André Pönitz  <poenitz@gmx.net>
1943
1944         * paragraph.h: inline getChar()
1945
1946         * BufferView.h: remove unused declarations
1947
1948 2004-08-14  José Matos  <jamatos@lyx.org>
1949
1950         * Buffer.[Ch] (readDocument): new name for old readBody.
1951         * Buffer.C: new file format, new keywords: \begin_document,
1952         \begin_header, \begin_body, \end_body.
1953
1954         * bufferparams.C (readToken): replace all calls to lex.nextToken
1955         by lex.next(). Do the same to eatLine except where really needed.
1956
1957         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1958         line when writing to the lyx file.
1959
1960         * output_plaintext.C (asciiParagraph): fix Bibliography style
1961         handling.
1962
1963         * text.C (read): fix end of file handling.
1964
1965 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1966
1967         * MenuBackend.C (Menu::operator[]): new method to access
1968         individual menu items
1969         (Menu::hasFunc): new method. search for an item that corresponds
1970         to a given func
1971         (MenuBackend::specialMenu): new method
1972         (MenuBackend::expand): if a special menu has been set, skip
1973         entries whose func() appears in this menu
1974
1975 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1976
1977         * text3.C: use Debug::DEBUG a bit more
1978
1979         * text.C (leftMargin): try to simplify a tiny bit change var x to
1980         l_margin. Dont output the wide margins always.
1981         (rightMargin): no margin in inner texts
1982
1983         * rowpainter.h (nestMargin): new func
1984         (changebarMargin): new func
1985         (rightMargin): new func
1986
1987         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1988         now functions.
1989         (paintLast): ditto
1990
1991         * factory.C (createInset): modify setDrawFrame
1992
1993         * cursor.C: use Debug::DEBUG a bit more
1994
1995 2004-08-14  André Pönitz  <poenitz@gmx.net>
1996
1997         * coordcache.[Ch]:
1998         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1999         cache for all insets in (at least partially) visible (top-level)
2000         paragraphs.
2001
2002         * BufferView_pimpl.C: reset external coord cache before every update.
2003         This means the coord cache only contains valid entries.
2004
2005 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2006
2007         bug 1096
2008         * BufferView_pimpl.C (getInsetByCode): move function out of class
2009         and change in to a template in anon namespace. Also fix to do what
2010         suits us better.
2011
2012 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2013
2014         bug 1305
2015         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2016         of char
2017         (breakParagraph): rename par to par_offset and use a local
2018         reference. Add code to keep the language over a rebreak.
2019         (breakParagraphConservative): rename par to par_offset, use a
2020         local reference
2021         (mergeParagraph): ditto
2022         (outerHook): ditto
2023         (isFirstInSequence): ditto
2024         (outerFont): rename pit to par_offset
2025
2026         * paragraph.C: ws change
2027         * paragraph.h: ditto
2028         * text3.C: ditto
2029         * text.C: ditto
2030
2031 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2032
2033         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2034         treatment for ']'
2035
2036         * paragraph.C (simpleTeXOnePar): when we have a \item with
2037         optional argument, enclose the argument with curly brackets (in
2038         case it contains a closing square bracket)
2039
2040         * text2.C (editXY):
2041         * text2.C (editXY):
2042         * text3.C (checkInsetHit): constify
2043
2044 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2045
2046         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2047         documents (bug 1629)
2048
2049 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2050
2051         Fix toggling of collapsable insets with the mouse (bug 1558)
2052
2053         * lyxfunc.C (dispatch): adapt to LCursor changes
2054
2055         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2056         make sure that dispatch is not invoked twice
2057
2058         * cursor.C (needsUpdate): new method
2059         (dispatch): return void
2060         (result): new method, to access the DispatchResult of the cursor.
2061
2062 2004-08-13  José Matos  <jamatos@lyx.org>
2063
2064         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2065
2066 2004-08-13  André Pönitz  <poenitz@gmx.net>
2067
2068         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2069
2070         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2071           multiple cells
2072
2073 2004-08-12  André Pönitz  <poenitz@gmx.net>
2074
2075         * text3.C: take out the 'cursor right' form insertInset and only
2076         do it in those places when it is really needed. Fixes crash on
2077         C-m...
2078
2079 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2080
2081         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2082
2083         * BufferView_pimpl.C (setBuffer): initialize the current font of
2084         the underlying LyXText
2085
2086 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2087
2088         * kbsequence.C (print): use UI native formatting for menu
2089         shortcuts
2090
2091         * text.C (insertChar): call Paragraph::insertChar with a font
2092         argument (cosmetic)
2093
2094         * paragraph.C (insertInset, insertChar): the version that takes a
2095         LyXFont argument is now a wrapper around the other one (the
2096         opposite used to be true).
2097
2098         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2099         argument. Font setting is done in Paragraph now.
2100
2101 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2102
2103         * outputparams.h: add new members intitle and lang.
2104
2105         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2106         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2107
2108 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2109
2110         * text3.C (dispatch): remove special handling of button 4 and 5,
2111         it is now taken care of in the frontend code.
2112
2113 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2114
2115         * Spacing.h: add <string> (STLPort compile fix)
2116
2117 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2118
2119         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2120
2121 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2122
2123         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2124         to bool.
2125
2126         * converter.C (showMessage): inherit from unary_function, make
2127         operator() const.
2128
2129         * buffer.C (writeFile): initialize retval
2130
2131         * InsetList.h: rename private variable list to list_
2132         * InsetList.[Ch]: adjust accordingly.
2133
2134 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2135
2136         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2137         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2138         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2139         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2140         * ParagraphParameters.C, LaTeXFeatures.C: replace
2141         "support/std_sstream.h" with <sstream>
2142
2143 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2144
2145         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2146         * lyxsocket.C (LyXServerSocket): ditto
2147         (serverCallback): ditto
2148
2149 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2150
2151         * LaTeXFeatures.C: check release date when loading jurabib.
2152
2153 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2154
2155         * lyxserver.C (startPipe): call register_socket_callback
2156         (endPipe): call unregister_socket_callback
2157
2158 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2159
2160         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2161         (LyXServerSocket): register the callback
2162         (LyXServerSocket): unregister the callback
2163         (fd): delete function
2164         (serverCallback): improve error checking and setup the callbacks.
2165         (dataCallback): change arg to fd.
2166         (writeln): new func (copied fro the client socket) used for server
2167         write to client.
2168         (LyXDataSocket): simplify
2169         (~LyXDataSocket): close ann unregiser callback
2170         (server): delete function
2171         (fd): delete function
2172         (readln): small changes, improve some std::string usage
2173         (writeln): constify a bit
2174
2175 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2176
2177         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2178         Qt frontend
2179
2180 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2181
2182         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2183         after it has been populated
2184
2185 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2186
2187         * text2.C (insertInset): move cursor when inserting inset.
2188
2189 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2190
2191         * kbmap.C (findbindings): a couple of new methods. returns a
2192         container of kb_sequence objects. The real work is done by the
2193         private recursive version
2194         (printbindings): uses findbindings to print out a bracketed list
2195         of bindings (renamed from findbinding).
2196
2197         * MenuBackend.C (binding): use kb_keymap::findbindings
2198
2199         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2200
2201 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2202
2203         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2204
2205 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2206
2207         * paragraph.C (isWord): return true on insets that report
2208         isLetter().
2209
2210         * text.C (getWord): use Paragraph::isWord to decide what is in a
2211         word and what is not; fix bug 1609.
2212
2213 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2214
2215         * tex-strings.C: add "none" to string_paperpackages[], fixes
2216         off-by-one-error in the paperpackage selection.
2217
2218         * lyxlex.[Ch]:
2219         * tex-strings.[Ch]: char const * string[n]
2220         -> char const * const string[]
2221
2222 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2223
2224         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2225         command, return early.
2226
2227 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2228
2229         * debug.h: add DEBUG to enum and fix size of ANY.
2230
2231         * debug.C: add support for Debug::DEBUG
2232         (showTags): cast errorTags.level to unsigned int
2233
2234         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2235         (redoCurrentBuffer): ditto
2236         (updateScrollbar): ditto
2237         * cursor.C (dispatch): ditto
2238         * text2.C (setLayout): ditto
2239         (setFont): ditto
2240         (updateCounters): ditto
2241         (editXY): ditto
2242         (deleteEmptyParagraphMechanism): ditto
2243
2244 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2245
2246         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2247         annotations to cleanup the Makefile slightly.
2248
2249 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2250
2251         * lyxrc.C: do not set user_email to a default value but use empty
2252         instead. The entry used to be translated, which does not work
2253         since at the point where lyxrc is constructed there is no
2254         translation service available
2255
2256         * messages.C (getLocaleDir): remove and use directly
2257         lyx_localedir() instead
2258
2259 2004-06-02  Angus Leeming  <leeming@lyx.org>
2260
2261         Fix crash caused by dereferencing null pointer 'exportdata' in
2262         OutputParams by creating a new ExportData variable on the heap,
2263         storing it in a boost::shared_ptr.
2264         The crash was triggered when generating an Instant Preview
2265         of an external inset.
2266
2267         * Makefile.am: add outputparams.C
2268
2269         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2270         (c-tor): allocate memory to it.
2271
2272         * exporter.C (c-tor): associated changes.
2273
2274 2004-06-01  Angus Leeming  <leeming@lyx.org>
2275
2276         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2277         contains data before calling isInset(0). (Bug 1513.)
2278
2279 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2280
2281         * exporter.C (checkOverwrite): new method
2282         * exporter.C (copyFile): new method
2283         * exporter.C (Export): copy referenced files to the document dir
2284         * exporter.[Ch]: new class ExportedFile
2285         * exporter.[Ch]: new class ExportData. Contains currently the
2286         names of referenced external files
2287         * outputparams.h: add exportdata member.
2288
2289 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2290
2291         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2292         version.C-tmp
2293
2294 2004-05-19  Angus Leeming  <leeming@lyx.org>
2295
2296         * LaTeXFeatures.C:
2297         * ToolbarBackend.C:
2298         * bufferparams.C:
2299         * lyxfunc.C: small changes due to the introduction of namespace
2300         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2301
2302 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2303
2304         * text3.C (dispatch): supress update when only moving the cursor
2305         * cursor.C (selHandle): remove commented code
2306
2307 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2308
2309         * paragraph.C (startTeXParParams): correct column count
2310         * CutAndPaste.C (pasteSelection): remove const_cast
2311         * output_docbook.C (docbookParagraphs): remove const_cast
2312         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2313         const_cast and return ParagraphList::const_iterator
2314         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2315         * output_plaintext.C (writeFileAscii): remove const_cast
2316         * paragraph.[Ch] (simpleTeXOnePar): make const
2317         * paragraph_funcs.C (outerPar): use const iterators
2318         * paragraph_pimpl.C (validate): use const iterators
2319         * text.C (setHeightOfRow): use const iterators
2320
2321 2004-05-17  Angus Leeming  <leeming@lyx.org>
2322
2323         * lfuns.h:
2324         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2325
2326         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2327         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2328         if the citation engine has changed.
2329
2330 2004-05-14  José Matos  <jamatos@lyx.org>
2331
2332         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2333         if the textclass does not provide it. Have it different for sgml and
2334         xml.
2335         support the language of document.
2336         * output_docbook.C (docbookParagraphs):
2337         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2338         first anchor as the id of the paragraph, remove special case code.
2339         * sgml.C (escapeChar): escape only < & >.
2340
2341 2004-05-14  Angus Leeming  <leeming@lyx.org>
2342
2343         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2344         dependencies on src/frontends/controllers/biblio.h. Define a
2345         CiteEngine_enum wrapper class to enable the enum to be forward
2346         declared.
2347
2348 2004-05-12  Angus Leeming  <leeming@lyx.org>
2349
2350         * buffer.C: up LYX_FORMAT to 234.
2351         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2352         use_numerical_citations with a single biblio::CiteEngine cite_engine
2353         variable.
2354         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2355
2356 2004-05-13  José Matos  <jamatos@lyx.org>
2357
2358         * converter.h:
2359         * converter.C (Converter, readFlags): add xml member.
2360         * outputparams.h: add XML flavor.
2361         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2362
2363 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2364
2365         * lyxfunc.C (dispatch):
2366         (getStatus): fix handling of LFUN_SEQUENCE
2367
2368 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2369
2370         * debug.C (showLevel): do not forget the end-of-line marker
2371
2372 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2373
2374         * kbmap.C (read): do not stop parsing a bind file when an error
2375         occurs (bug 1575)
2376
2377 2004-04-29  Angus Leeming  <leeming@lyx.org>
2378
2379         * cursor.C:
2380         * factory.C:
2381         * pariterator.C:
2382         * text2.C: wrap a bunch of #warning statements
2383         inside #ifdef WITH_WARNINGS blocks.
2384
2385 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2386
2387         * buffer.C: increment format to 233.
2388
2389 2004-04-28  Angus Leeming  <leeming@lyx.org>
2390
2391         * BufferView_pimpl.C:
2392         * lyxfunc.C:
2393         * text3.C:
2394         s/updateToolbar()/updateToolbars()/
2395         s/Toolbar.h/Toolbars.h/
2396
2397 2004-04-28  Angus Leeming  <leeming@lyx.org>
2398
2399         * BufferView.[Ch] (c-tor):
2400         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2401         No longer passes these data to the WorkArea generator.
2402
2403 2004-04-28  Angus Leeming  <leeming@lyx.org>
2404
2405         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2406
2407 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2408
2409         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2410
2411 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2412
2413         * output_latex.C (TeXEnvironment): make sure that there is a line
2414         break before \end{foo} for the last paragraph of a document
2415         (TeXOnePar): if the paragraph is at the end of the document (or
2416         inset) and the language has to be reset, then make sure that the
2417         line break is _before_ the language command, not after (fixes bug
2418         1225); also make sure that the language reset command is the first
2419         thing after the paragraph (to ensure proper nesting of
2420         environments and thus fix bug 1404)
2421
2422 2004-04-21  John Levon  <levon@movementarian.org>
2423
2424         * ToolbarBackend.h:
2425         * ToolbarBackend.C: make "name" be a programmatic name
2426         and a gui_name field.
2427
2428         * lyxfunc.C: display the minibuffer on M-x
2429
2430 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2431
2432         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2433         (bug 1526)
2434
2435 2004-04-19  Angus Leeming  <leeming@lyx.org>
2436
2437         * BufferView_pimpl.C (setBuffer): changed preview interface.
2438
2439         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2440         possible values.
2441
2442 2004-04-19  John Levon  <levon@movementarian.org>
2443
2444         * BufferView_pimpl.C:
2445         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2446
2447 2004-04-05  Angus Leeming  <leeming@lyx.org>
2448
2449         * text.C (redoParagraphs): add call to updateCounters(), thereby
2450         fixing the missing "Figure #:" label from the caption of a
2451         figure float.
2452
2453 2004-04-13  Angus Leeming  <leeming@lyx.org>
2454
2455         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2456         cursor is clicked out of an inset.
2457
2458 2004-04-13  Angus Leeming  <leeming@lyx.org>
2459
2460         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2461         than an InsetOld one.
2462
2463 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2464
2465         * format.[Ch]: add editor to Format
2466         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2467         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2468
2469 2004-04-08  André Pönitz  <poenitz@gmx.net>
2470
2471         * metricsinfo.h: remove PainterInfo::width member
2472
2473 2004-04-08  Angus Leeming  <leeming@lyx.org>
2474
2475         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2476         "\providecommand" rather than "\newcommand", thereby preventing
2477         clashes with packages that define "\boldsymbol" themselves.
2478         Eg, beamer.
2479
2480 2004-04-08  Angus Leeming  <leeming@lyx.org>
2481
2482         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2483         thereby squashing an unnecessary warning.
2484
2485 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2486
2487         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2488         setBuffer()
2489
2490 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2491
2492         * BufferView.C (setCursor): call redoParagraph (some insets could
2493         have been opened)
2494         (putSelectionAt): remove the 'double update' trick
2495
2496         * BufferView_pimpl.C (fitCursor): call refreshPar
2497         (workAreaDispatch): remove an uneeded update call
2498         (dispatch): remove some manual update calls
2499
2500         * cursor.[Ch]: remove cached_y_, updatePos
2501         (selHandle): set noUpdate when appropriate
2502
2503         * lyxfunc.C (dispatch): track if we need an update
2504
2505         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2506
2507         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2508         (paintSelection): cheap optimization, do not call cursorX when not
2509         needed
2510         (paintPars): change signature
2511         (refreshPar): add
2512         (paintText): adjust
2513         (paintTextInset): adjust
2514
2515         * text.C: adjust
2516
2517 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2518
2519         * lengthcommon.C: compilation fix: remove explicit array size from
2520         unit_name[] and friends
2521
2522 2004-04-05  Angus Leeming  <leeming@lyx.org>
2523
2524         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2525
2526         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2527         present only for the preferences dialog.
2528         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2529
2530 2004-04-05  Angus Leeming  <leeming@lyx.org>
2531
2532         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2533         to enable the frontends to export changes to lyxrc correctly.
2534
2535         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2536
2537 2004-04-07  André Pönitz  <poenitz@gmx.net>
2538
2539         * cursor.[Ch] (selClear, adjust): remove math
2540
2541         * cursor_slice.C: more agressive assert
2542
2543         * lyxfunc.C:
2544         * BufferView_pimpl.C: rework mouse event dispatch
2545
2546         * dociterator.C:
2547         * paragraph.C:
2548         * text2.C:
2549         * text3.C: adjust
2550
2551 2004-04-05  André Pönitz  <poenitz@gmx.net>
2552
2553         * cursor.[Ch] (valign, halign...): remove unneeded functions
2554
2555 2004-04-05  Angus Leeming  <leeming@lyx.org>
2556
2557         * lyxlength.[Ch] (unit_name et al.): const-correct.
2558
2559 2004-04-05  Angus Leeming  <leeming@lyx.org>
2560
2561         * BufferView_pimpl.C:
2562         * buffer.C:
2563         * counters.C:
2564         * cursor.C:
2565         * lyxfunc.C
2566         * paragraph.C:
2567         * pariterator.C:
2568         * text.C:
2569         * text2.C:
2570         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2571
2572 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2573
2574         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2575
2576 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2577
2578         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2579         * BufferView_pimpl.[Ch] (getStatus)
2580         * BufferView.[Ch] (getStatus): add
2581         * lyxfunc.C (getStatus): move lfuns handled in
2582         BufferView::dispatch to te function above
2583         * Cursor.C (setSelection): set selection() = true
2584
2585 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2586
2587         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2588
2589 2004-03-31  Angus Leeming  <leeming@lyx.org>
2590
2591         * lyxfunc.C (dispatch): Fall through to the generic
2592         Dialogs::show("preamble").
2593
2594 2004-03-31  Angus Leeming  <leeming@lyx.org>
2595
2596         * lyxfunc.C (dispatch): Fall through to the generic
2597         Dialogs::show("spellchecker").
2598
2599 2004-03-31  Angus Leeming  <leeming@lyx.org>
2600
2601         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2602         preferences dialog.
2603
2604 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2605
2606         * BufferView.C
2607         * cursor.[Ch]
2608         * dociterator.[Ch]:
2609         * insetiterator.[Ch]:
2610         * lyxfind.C:
2611         * lyxfunc.C:
2612         * pariterator.[Ch]:
2613         * text2.C:
2614         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2615
2616 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2617
2618         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2619         insets where we are putting the cursor.
2620
2621 2004-03-31  Angus Leeming  <leeming@lyx.org>
2622
2623         * lfuns.h:
2624         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2625
2626         * lyxrc.[Ch] (read, write): overloaded member functions taking
2627         a std::[io]stream arguments.
2628
2629         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2630
2631 2004-03-31  Angus Leeming  <leeming@lyx.org>
2632
2633         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2634         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2635
2636         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2637         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2638
2639 2004-03-31  Angus Leeming  <leeming@lyx.org>
2640
2641         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2642         the LFUN_ALL_INSETS_TOGGLE code.
2643
2644 2004-03-30  Angus Leeming  <leeming@lyx.org>
2645
2646         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2647         has died. Fall through to the generic Dialogs::show("document").
2648
2649 2004-03-30  Angus Leeming  <leeming@lyx.org>
2650
2651         * lfuns.h:
2652         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2653         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2654
2655         * lyxfunc.C (getStatus, dispatch): define the actions for these
2656         lfuns. Little more than a cut and pste job from ControlDocument.C
2657
2658         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2659
2660 2004-03-30  Angus Leeming  <leeming@lyx.org>
2661
2662         * lfuns.h:
2663         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2664         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2665
2666         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2667         open/closed state of ollapsable insets. Usage:
2668
2669         all-inset-toggle <state> <name>, where
2670         <state> == "open" || "closed" || "toggle" and
2671         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2672
2673         * lyxtext.h, text2.C (toggleInset): removed.
2674
2675         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2676         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2677         now passes LFUN_INSET_TOGGLE to the found inset.
2678
2679         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2680         is now invoked as "all-insets-toggle toggle branch".
2681
2682 2004-03-30  Angus Leeming  <leeming@lyx.org>
2683
2684         * dociterator.C:
2685         * insetiterator.C:
2686         * pariterator.[Ch]: added/corrected header blurb.
2687
2688 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2689
2690         * dociterator.[Ch]: add an inset_ member
2691         (backwardPos): implemented
2692         (backwardPos, forwardPos): use inset_ when the stack is empty.
2693         (doc_iterator_begin, doc_iterator_end): implemented
2694         * pariterator.[Ch]: adjust, add begin, end
2695         * insetiterator.[Ch]: adjust, add begin, end
2696         * cursor.C:
2697         * document.C:
2698         * BufferView.C:
2699         * BufferView_pimpl.C:
2700         * CutAndPaste.C: adjust
2701
2702 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2703
2704         * buffer.C: increment file format to 232.
2705         * LaTeXFeatures.C: add bibtopic package.
2706         * bufferparams.[Ch]: param \use_bibtopic.
2707
2708         * lyxrc.[Ch]: add lyxrc bibtex_command
2709         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2710
2711         * buffer.C: increment file format to 231.
2712
2713 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2714
2715         * dociterator.C: implement forwardPar
2716         * iterators.[Ch]: remove, replaced by
2717         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2718         * BufferView.C:
2719         * BufferView_pimpl.C:
2720         * CutAndPaste.C:
2721         * buffer.C:
2722         * bufferview_funcs.C:
2723         * cursor.C:
2724         * lyxfind.C
2725         * lyxfunc.C
2726         * paragraph_funcs.C
2727         * toc.C:
2728         * Makefile.am: adjust
2729
2730 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2731
2732         * CutAndPaste.C (pasteSelection): fix 2 crashes
2733         (eraseSelection): fix a crash
2734         * paragraph_funcs.C: remove a warning
2735
2736 2004-03-28  Angus Leeming  <leeming@lyx.org>
2737
2738         * lfuns.h:
2739         * LyXAction.C (init): new LFUN_PRINT.
2740
2741         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2742
2743 2004-03-27  Angus Leeming  <leeming@lyx.org>
2744
2745         * lfuns.h:
2746         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2747
2748         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2749
2750 2004-03-27  Angus Leeming  <leeming@lyx.org>
2751
2752         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2753         insetlist always contains non-null pointers to insets.
2754
2755 2004-03-26  Angus Leeming  <leeming@lyx.org>
2756
2757         * src/BufferView_pimpl.C:
2758         * src/CutAndPaste.C:
2759         * src/buffer.C:
2760         * src/iterators.C:
2761         * src/output_plaintext.C:
2762         * src/outputparams.h:
2763         * src/paragraph_funcs.C:
2764         * src/rowpainter.C:
2765         * src/text.C:
2766         * src/text2.C:
2767         * src/frontends/controllers/ControlErrorList.C:
2768         * src/frontends/gtk/FileDialogPrivate.C:
2769         * src/frontends/gtk/GPainter.C:
2770         * src/frontends/gtk/GToolbar.C:
2771         * src/frontends/qt2/QRef.C:
2772         * src/mathed/math_scriptinset.C: squash compiler warnings.
2773
2774 2004-03-26  Angus Leeming  <leeming@lyx.org>
2775
2776         * ispell.C (LaunchIspell::start):
2777         * lyx_cb.C (AutoSaveBuffer::start):
2778         invoke run(DontWait) rather than runNonBlocking().
2779
2780 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2781
2782         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2783
2784 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2785
2786         * kbsequence.C (print): adjust
2787
2788         * kbmap.C (printKeySym): rename and change signature
2789         (printKey): use LyXKeySym::print()
2790
2791 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2792
2793         * undo.C: add using std::advance to compile for stlport
2794
2795 2004-03-24  Angus Leeming  <leeming@lyx.org>
2796
2797         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2798         it leads to a crash when no buffer is present.
2799
2800 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2801             Martin Vermeer  <martin.vermeer@hut.fi>
2802
2803         * lyxfunc.C (dispatch):
2804         * bufferparams.C (readToken): use the new LColor::setColor
2805
2806         * LColor.[Ch] (setColor): new version that takes two strings as
2807         argument and creates a new color entry if necessary
2808
2809 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2810
2811         * buffer.C (makeLaTeXFile): if the main latex file that is
2812         processed is usually a subdocument of some master, then pretend
2813         for a while that it is actually the master
2814
2815 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2816
2817         * buffer.C (getLabelList):
2818         (getBibkeyList): use getMasterBuffer()
2819         (getMasterBuffer): new method. Returns the main document in the
2820         case where one is using included documents.
2821
2822 2004-03-25  André Pönitz  <poenitz@gmx.net>
2823
2824         * Makefile.am:
2825         * iterators.[Ch]:
2826         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2827
2828         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2829
2830         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2831         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2832
2833         * ParameterStruct.h: merge with ParagraphParameters
2834
2835         * lyxtext.h: remove LyXText::parOffset() and getPar()
2836
2837         * text3.C: Remove all 'manual' update calls. We do now one per user
2838         interaction which is completely sufficient.
2839
2840         * Bidi.C:
2841         * BufferView.[Ch]:
2842         * BufferView_pimpl.C:
2843         * FontIterator.[Ch]:
2844         * MenuBackend.C:
2845         * ParagraphParameters.[Ch]:
2846         * buffer.C:
2847         * buffer.h:
2848         * bufferlist.C:
2849         * cursor.[Ch]:
2850         * cursor_slice.[Ch]:
2851         * dociterator.[Ch]:
2852         * errorlist.[Ch]:
2853         * factory.C:
2854         * lfuns.h:
2855         * lyxfind.C:
2856         * lyxfunc.C:
2857         * output_docbook.[Ch]:
2858         * output_latex.[Ch]:
2859         * output_linuxdoc.[Ch]:
2860         * output_plaintext.[Ch]:
2861         * paragraph.[Ch]:
2862         * paragraph_funcs.[Ch]:
2863         * paragraph_pimpl.[Ch]:
2864         * rowpainter.C:
2865         * tabular.[Ch]:
2866         * text.C:
2867         * text2.C:
2868         * toc.C:
2869         * undo.[Ch]: adjust
2870
2871         * frontends/controllers/ControlDocument.C:
2872         * frontends/controllers/ControlErrorList.C:
2873         * frontends/controllers/ControlSpellchecker.C:
2874         * insets/inset.C:
2875         * insets/inset.h:
2876         * insets/insetbase.h:
2877         * insets/insetbibitem.C:
2878         * insets/insetbox.C:
2879         * insets/insetbranch.C:
2880         * insets/insetcaption.C:
2881         * insets/insetcharstyle.C:
2882         * insets/insetcharstyle.h:
2883         * insets/insetcollapsable.C:
2884         * insets/insetcollapsable.h:
2885         * insets/insetert.C:
2886         * insets/insetfloat.C:
2887         * insets/insetfoot.C:
2888         * insets/insetmarginal.C:
2889         * insets/insetnote.C:
2890         * insets/insetoptarg.C:
2891         * insets/insettabular.C:
2892         * insets/insettext.C:
2893         * insets/insettext.h:
2894         * insets/insetwrap.C:
2895         * mathed/math_mboxinset.C:
2896         * mathed/math_nestinset.C:
2897         * mathed/math_scriptinset.C:
2898         * mathed/math_scriptinset.h:
2899         * support/types.h:
2900
2901 2004-03-24  Angus Leeming  <leeming@lyx.org>
2902
2903         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2904         deal with any child processes that have finished but are waiting to
2905         communicate this fact to the rest of LyX.
2906
2907 2004-03-24  Angus Leeming  <leeming@lyx.org>
2908
2909         64-bit compile fixes.
2910
2911         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2912         (c-tor): pass lyx::pos_types rather than ints.
2913
2914         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2915         lyx::pos_type.
2916
2917         * text.C (Delete): compile fix.
2918         (getPar): ensure that function declaration is the same as that in
2919         the header file.
2920
2921 2004-03-23  Angus Leeming  <leeming@lyx.org>
2922
2923         * ispell.C (LaunchIspell):
2924         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2925         a boost::shred_ptr rather than a std::auto_ptr.
2926
2927 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2928
2929         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2930         handle LFUN_FILE_INSERT_*
2931
2932         * lyxrc.C (setDefaults, getDescription, output, read):
2933         * lyxrc.h: remove ps_command
2934
2935 2004-03-22  Angus Leeming  <leeming@lyx.org>
2936
2937         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2938         Ensure that error_handler is processed once only and that all data
2939         is saved before attempting to output any warning messages.
2940
2941         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2942
2943 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2944
2945         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2946
2947 2004-03-19  André Pönitz  <poenitz@gmx.net>
2948
2949         * cursor.[Ch] (reset): take main text inset as argument
2950
2951         * BufferView: adjust
2952         * BufferView_pimpl.C: adjust
2953
2954         * paragraph.[Ch]: fix completely broken operator=()
2955
2956 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2957
2958         * LColor.C (getFromLyXName): make sure that the color name is used
2959         as lowercase.
2960
2961 2004-03-17  Angus Leeming  <leeming@lyx.org>
2962
2963         * lfuns.h:
2964         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2965
2966         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2967         dialog and to kill a forked process.
2968
2969 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2970
2971         * text2.C (setCursorFromCoordinates): fix font problem
2972
2973 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2974
2975         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2976         bogus "rebuild cursor" code
2977
2978 2004-03-11  André Pönitz  <poenitz@gmx.net>
2979
2980         * buffer.[Ch]: use InsetText instead of LyXText as container for
2981         the main lyx text.
2982
2983         * dociterator.[Ch]: drop the BufferView * member which is not needed
2984         anymore after the change to buffer.C
2985
2986         * paragraph_funcs.C:
2987         * text.C:
2988         * text2.C:
2989         * BufferView.[Ch]:
2990         * BufferView_pimpl.[Ch]:
2991         * cursor.[Ch]:
2992         * cursor_slice.[Ch]: adjust
2993
2994         * text3.C: fix bug in mathDispatch
2995
2996 2004-03-08  André Pönitz  <poenitz@gmx.net>
2997
2998         * undo.[Ch]: use 'StableDocumentIterator' as base for
2999         the Undo struct.
3000
3001 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3002
3003         * LaTeXFeatures.C:
3004         * bufferparams.[Ch]: add jurabib support and param.
3005
3006         * LaTeX.C: add FIXME/comment.
3007
3008 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3009
3010         * buffer.C: increment file format to 230.
3011
3012 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3013
3014         * cursor.C (dispatch): avoid infinite loops
3015
3016 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3017
3018         * rowpainter.C (paintSelection): fix x coordinates
3019
3020 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3021
3022         * text.C (rowBreakPoint): fix breaking before displayed insets
3023
3024 2004-03-01  André Pönitz  <poenitz@gmx.net>
3025
3026         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3027
3028         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3029
3030         * Makefile.am:
3031         * BufferView.C:
3032         * BufferView_pimpl.C:
3033         * buffer.C:
3034         * lyxfind.C:
3035         * lyxfunc.C:
3036         * text.C:
3037         * text2.C:
3038         * text3.C: adjust
3039
3040 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3041
3042         * lyxtext.h:
3043         * text.C:
3044         * text2.C:
3045         * rowpainter.C:
3046         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3047         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3048
3049 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3050
3051         * Bidi.[Ch] (computeTables): const correctness
3052         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3053         fill_hfill, fill_label_hfill and x from Row
3054         * lyxtext.h: prepareToPrint returns a RowMetrics
3055         * rowPainter.C: adjust
3056         * text.C (prepareToPrint): use width, not textWidth. adjust
3057         (redoParagraphInternal, cursorX): adjust
3058         * text2.C (getColumnNearX): adjust
3059         (init): put a default value to the top LyXText::width
3060
3061 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3062
3063         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3064
3065 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3066
3067         * lyxtext.h: add FontIterator class
3068
3069         * text.C (FontIterator, operator*, operator->, operator++): add
3070         (rowBreakPoint, setRowWidth): adjust (fixing a
3071         rebreaking bug)
3072
3073 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3074
3075         * BufferView_pimpl.C (workAreaDispatch): allow also
3076         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3077
3078 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3079
3080         * text.C (rowBreakPoint): fix a bug showing with very large insets
3081
3082 2004-02-25  André Pönitz  <poenitz@gmx.net>
3083
3084         * text3.C:
3085         * cursor.[Ch]: move some mathed specific code to mathed
3086
3087 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3088
3089         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3090         use_tempdir in preferences
3091         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3092         tempfile creation
3093         * lyx_main.C: ensure that tempdir is valid
3094         * lyxlex.h: correct typo
3095         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3096         * paragraph.[Ch] (isMultiLingual): make const
3097         * cursor.[Ch] (openable): make const
3098
3099 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3100
3101         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3102
3103 2004-02-20  André Pönitz  <poenitz@gmx.net>
3104
3105         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3106
3107         * cursor.[Ch]: prepare for localized getStatus()
3108
3109         * lyxtext.h:
3110         * tabular.C:
3111         * text.C:
3112         * text2.C:
3113         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3114
3115 2004-02-20  André Pönitz  <poenitz@gmx.net>
3116
3117         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3118
3119 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3120
3121         * text2.C (setCursorFromCoordinates): switch to absolute coords
3122         (cursorUp): adjust
3123         (cursorDown): adjust
3124         * text3.C (dispatch): adjust
3125
3126 2004-02-16  André Pönitz  <poenitz@gmx.net>
3127
3128         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3129           insets/ChangeLog)
3130
3131         * cursor_slice.[Ch]: remove unneeded acessor function
3132
3133         * lyxtext.h: rename rtl() to isRTL()
3134
3135         * rowpainter.C:
3136         * tabular.C:
3137         * text.C:
3138         * text2.C:
3139         * text3.C: adjust
3140
3141 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3142
3143         * rowpainter.C (paintSelection): coord fix
3144
3145 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3146
3147         * Spacing.C: compile fix
3148
3149 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3150
3151         * cursor.C (dispatch): restore current_ before returning
3152
3153 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3154
3155         * text2.C (cursorUp, cursorDown): fix coords
3156         (moveUp): fix crash
3157
3158 2004-02-12  André Pönitz  <poenitz@gmx.net>
3159
3160         * lyxtext.h:
3161         * text.C:
3162         * text2.C:
3163         * text3.C: add LCursor & parameter to most cursor movement functions
3164           remove usage of LyXText::cursorRow() and cursorPar()
3165
3166         * cursor.[Ch]: add textRow() needed members
3167
3168         * BufferView.C:
3169         * BufferView_pimpl.C:
3170         * paragraph.[Ch]:
3171         * BufferView.C:
3172         * BufferView_pimpl.C: adjust
3173
3174 2004-02-11  André Pönitz  <poenitz@gmx.net>
3175
3176         * lyxfunc.C:
3177         * BufferView.[Ch]:
3178         * BufferView_pimpl.C: shift undo/redo handling
3179
3180         * cursor.[Ch]: fix mathed crash
3181
3182         * lyxfind.C:
3183         * lyxtext.h: move selectionAsText to LCursor
3184
3185         * output_latex.C:
3186         * paragraph.C:
3187         * text.C:
3188         * text2.C:
3189         * text3.C: adjust
3190
3191         * rowpainter.C: fix excessive drawing
3192
3193 2004-02-06  André Pönitz  <poenitz@gmx.net>
3194
3195         * BufferView.[Ch]:
3196         * BufferView_pimpl.[Ch]:
3197         * text3.C: move some text specific LFUN handling
3198
3199 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3200
3201         * text3.C (checkInsetHit): adjust coords
3202         * text2.C (getColumnNearX): adjust coords
3203         (edit): adjust coords
3204         * text.C (getRowNearY): add two asserts
3205
3206 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3207
3208         * converter.C:
3209         * format.C: add using std::distance to compile on gcc 2.95/stlport
3210
3211 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3212
3213         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3214
3215 2004-02-04  André Pönitz  <poenitz@gmx.net>
3216
3217         * BufferView.[Ch] (insertInset):
3218         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3219
3220         * text2.C:
3221         * text3.C: adjust
3222
3223 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3224
3225         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3226         on the default clause of the switch
3227         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3228         wasn't catched by LCursor::dispatch
3229
3230 2004-02-03  André Pönitz  <poenitz@gmx.net>
3231
3232         * BufferView.C:
3233         * cursor.[Ch]: some additional asserts
3234
3235         * undo.[Ch]: remove LyXText dependency in interface
3236
3237         * lyxfunc.C: adjust
3238
3239         * lyxtext.h (firstPar, lastPar): remove dead functions
3240
3241         * text.C:
3242         * text2.C:
3243         * text3.C:
3244         * paragraph.[Ch]: adjust
3245
3246 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3247
3248         * lyxfind.C (find): fix argument order in call to ::find
3249
3250 2004-02-02  André Pönitz  <poenitz@gmx.net>
3251
3252         * cursor.[Ch]: remove direct access to anchor
3253
3254         * text.C: remove findText() hack
3255
3256 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3257
3258         * iterators.[Ch] (lockPath): remove in favour of...
3259         * BufferView.[Ch] (setCursor): this addition
3260         * BufferView.C (putSelectionAt): adjust
3261         * undo.C (performUndoOrRedo): adjust
3262         * lyxfunc.C (dispatch): adjust
3263
3264 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3265
3266         * iterators.C (lockPath): add a missing slice
3267         * undo.C (performUndoOrRedo): remove redundant positioning code
3268
3269 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3270
3271         * vc-backend.C (scanMaster): ";" -> ';'
3272
3273 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3274
3275         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3276         std::binary_function
3277
3278         * lyxtextclass.C (compare_name): rename to...
3279         (LayoutNamesEqual): ...this
3280
3281         * lyxlex_pimpl.C (compare_tags): inherit from
3282         std::binary_function, put back into anon namespace
3283
3284         * lyxfind.C (MatchString): inherig from std::binary_function
3285         (findChange): use empty() istead of !size()
3286
3287         * format.C (FormatNamesEqual): new functor
3288         (getFormat): use it
3289         (getNumber): use it
3290         (add): use it
3291         (erase): use it
3292         (setViewer): use it
3293
3294         * converter.C (compare_Converter): rename to...
3295         (ConverterEqual): ...this, and fixup a bit.
3296         (getConverter): use it, and make function const
3297         (getNumber): use it, and make function const
3298         (add): use it
3299         (erase): use it:
3300
3301         * bufferlist.C: add using boost::bind
3302
3303         * MenuBackend.C (MenuNamesEqual): new functor
3304         (hasMenu): use it, and make function const
3305         (hasSubmenu): use nested bind to get rid of compare_memfun.
3306
3307 2004-01-30  André Pönitz  <poenitz@gmx.net>
3308
3309         * BufferView_pimpl.C:
3310         * cursor.C:
3311         * cursor.h:
3312         * cursor_slice.[Ch]:
3313         * lyxfunc.C:
3314         * lyxtext.h:
3315         * paragraph_funcs.C:
3316         * paragraph_funcs.h:
3317         * rowpainter.C:
3318         * text.C:
3319         * text2.C:
3320         * text3.C: move some of the edit(x,y) handling to the insets
3321         some coordinate changes.
3322
3323 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3324
3325         * text.C: add using statements for std::advance and std::distance
3326
3327         * paragraph.C: add using statement for std::distance
3328
3329         * lyxfind.C: add using statement for std::advance
3330
3331         * cursor.C (region): remove std:: from swap
3332         (openable): use nucleus in stead of operator->
3333
3334         * BufferView.C: add using statements for std::distance and std::swap
3335
3336 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3337
3338         * iterators.C: Remove the pimple, move the needed structures to
3339         the header file. Create accessor for the positions stack.
3340         (asPosIterator): remove function
3341
3342         * PosIterator.C (PosIterator): move constructors to top of file
3343         (PosIterator): reimplement the constructor taking a ParIterator in
3344         terms of setFrom.
3345         (setFrom): new function
3346         (operator!=): inline it
3347
3348 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3349
3350         * lyxfind.C (replaceAll): use std::advance
3351
3352         * iterators.h: inherit from std::iterator.
3353
3354         * PosIterator.C (advance, distance): remove
3355         * PosIterator.h: interit from std::iterator.
3356
3357 2004-01-26  André Pönitz  <poenitz@gmx.net>
3358
3359         * BufferView.[Ch]:
3360         * BufferView_pimpl.[Ch]:
3361         * InsetList.[Ch]:
3362         * PosIterator.[Ch]:
3363         * buffer.h:
3364         * bufferview_funcs.C:
3365         * cursor.[Ch]:
3366         * cursor_slice.h:
3367         * factory.[Ch]:
3368         * iterators.[Ch]:
3369         * lyxfind.C:
3370         * lyxfunc.C:
3371         * lyxtext.h:
3372         * output_docbook.C:
3373         * output_latex.C:
3374         * output_linuxdoc.C:
3375         * output_plaintext.C:
3376         * paragraph.[Ch]:
3377         * paragraph_funcs.[Ch]:
3378         * paragraph_pimpl.[Ch]:
3379         * rowpainter.C:
3380         * tabular.C:
3381         * tabular.h:
3382         * text.C:
3383         * text2.C:
3384         * text3.C: more IU:  dumps most of the rest of the mathcursor
3385     implementation into cursor.[Ch]; "globalize" a bit of it.
3386
3387 2004-01-25  Angus Leeming  <leeming@lyx.org>
3388
3389         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3390
3391 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3392
3393         * LaTeXFeatures.h: add nice_ and nice() const
3394         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3395
3396 2004-01-20  André Pönitz  <poenitz@gmx.net>
3397
3398         * BufferView.[Ch]:
3399         * BufferView_pimpl.C:
3400         * PosIterator.C:
3401         * bufferview_funcs.C:
3402         * cursor.[Ch]:
3403         * cursor_slice.[Ch]:
3404         * factory.C:
3405         * iterators.C:
3406         * lyx_cb.C:
3407         * lyxfind.C:
3408         * lyxfunc.C:
3409         * lyxtext.h:
3410         * rowpainter.C:
3411         * text.C:
3412         * text2.C:
3413         * text3.C:
3414         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3415           LCursor and mathcursor parts to LCursor and InsetBase.
3416
3417 2004-01-15  André Pönitz  <poenitz@gmx.net>
3418
3419         * cursor_slice.[Ch]: add a few covienience functions
3420
3421         * funcrequest.[Ch]: remove BufferView * member
3422
3423         * BufferView_pimpl.C:
3424         * cursor.C:
3425         * factory.[Ch]:
3426         * lyxfind.[Ch]:
3427         * lyxfunc.C:
3428         * lyxtext.h:
3429         * text3.C:
3430         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3431
3432 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3433
3434         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3435         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3436
3437 2004-01-13  André Pönitz  <poenitz@gmx.net>
3438
3439         * textcursor.[Ch]:
3440         * lyxtext.h: hide cursor and selection anchor behind accessor function
3441
3442         * BufferView.C:
3443         * BufferView_pimpl.[Ch]:
3444         * PosIterator.C:
3445         * bufferview_funcs.C:
3446         * cursor.h:
3447         * lyxfind.C:
3448         * lyxfunc.C:
3449         * text.C:
3450         * text2.C:
3451         * text3.C:
3452         * undo.C: adjust
3453
3454         * cursor.h:
3455         * cursor_slice.[Ch]: some integer type changes for inset unification
3456
3457         * lyxcursor.[hC]: remove, it's CursorSlice now.
3458
3459         * Makefile.am:
3460         * BufferView_pimpl.[Ch]:
3461         * bufferview_funcs.C:
3462         * cursor_slice.C:
3463         * lyxtext.h:
3464         * text.C:
3465         * text2.C:
3466         * text3.C:
3467         * textcursor.[Ch]: adjust
3468
3469 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3470
3471         * text2.C (undoSpan): add and use
3472         * text.C (breakParagraph): use undoSpan (fix bug 578)
3473         * lyxtext.h: adjust
3474
3475 2004-01-08  Angus Leeming  <leeming@lyx.org>
3476
3477         * BufferView_pimpl.C (MenuInsertLyXFile):
3478         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3479         * lyxfunc.C (menuNew, open, doImport):
3480         FileFilterList change to the FileDialog open and save functions.
3481
3482 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3483
3484         * ShareContainer.h: make isEqual and isUnique adaptable
3485
3486         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3487
3488 2004-01-07  Angus Leeming  <leeming@lyx.org>
3489
3490         * LyXAction.C:
3491         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3492
3493         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3494
3495         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3496         functions replacing find, replace and replaceAll.
3497
3498         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3499         LFUN_WORDFIND(FORWARD|BACKWARD).
3500
3501 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3502
3503         * text.C (breakParagraph): remove an outdated #warning
3504
3505 2004-01-07  André Pönitz  <poenitz@gmx.net>
3506
3507         * lyxfind.C: somewhat clearer logic
3508
3509         * text.C: prevent crash in cursorX on unitialized row cache
3510
3511 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3512
3513         * lyxcursor.[Ch] (operator>): add
3514         * textcursor.C (selStart, selEnd): use std::min and std::max
3515
3516 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3517
3518         * Chktex.C: include boost/format.hpp
3519
3520 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3521
3522         * InsetList.C: replace functor MathcIt with adaptable functor
3523         InsetTablePosLess
3524         (insetIterator): modify accordingly
3525
3526         * BranchList.h: move the BranchNamesEqual functor here from...
3527         * BranchList.C: ... to here
3528
3529         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3530         SameName and match.
3531         (add): replace a finding loop with std::find_if.
3532
3533 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3534
3535         * output_docbook.C: moving LatexParam functionality into
3536         .layout files
3537
3538 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3539
3540         * buffer.C: increment format to 229.
3541
3542 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3543
3544         * LaTeXFeatures.C:
3545         * lyx_sty.[Ch]: remove minipageindent_def
3546
3547         * LyXAction.C:
3548         * factory.C:
3549         * lfuns.h:
3550         * lyxfunc.C:
3551         * text3.C: remove LFUN_INSET_MINIPAGE
3552
3553 2003-12-28  Angus Leeming  <leeming@lyx.org>
3554
3555         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3556
3557 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3558
3559         * text2.C (setParagraph): fix off-by-one crash
3560
3561 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3562
3563         * output_docbook.C: header stuff for AGU
3564
3565 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3566
3567         * text2.C (redoCursor): remove
3568         * text.C:
3569         * text3.C:
3570         * BufferView_pimpl.C: remove calls to redoCursor and
3571         setCursor(cursor.par(), cursor.pos()) all around
3572
3573 2003-12-15  Angus Leeming  <leeming@lyx.org>
3574
3575         * buffer.C: up the format to 228.
3576
3577 2003-12-15  André Pönitz  <poenitz@gmx.net>
3578
3579         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3580         slices
3581
3582         * Makefile.am:
3583
3584         * BufferView_pimpl.C:
3585         * cursor.[Ch]:
3586         * lyxcursor.[Ch]:
3587         * rowpainter.[Ch]:
3588         * lyxtext.h:
3589         * text.C:
3590         * text2.C:
3591         * text3.C: adjust
3592
3593 2003-12-15  Angus Leeming  <leeming@lyx.org>
3594
3595         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3596         than getFromGUIName to manipulate the color.
3597
3598 2003-12-14  Angus Leeming  <leeming@lyx.org>
3599
3600         * BranchList.[Ch]: minimize the API.
3601         (Branch::getBranch, getColor): now return a 'const &'.
3602         (Branch::setSelected) now returns a bool set to true if the
3603         selection status changes.
3604         (BranchList::clear, size, getColor, setColor, setSelected,
3605         allBranches, allSelected, separator): removed.
3606         (BranchList::find): new functions, returning the Branch with
3607         the given name.
3608         (BranchList::add, remove): return a bool indicating that
3609         the operation was successful.
3610
3611         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3612         new InsetBranch::isBranchSlected member function.
3613
3614         * LColor.[Ch]: mimimize the API.
3615         (fill): renamed as addColor and made private.
3616         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3617         versions of these functions taking a string arg have been removed.
3618
3619         * bufferparams.C (readToken):
3620         * lyxfunc.C (dispatch):
3621         * lyxrc.C (read): changes due to the altered BranchList and
3622         LColor APIs.
3623
3624         * factory.C (createInset, readInset): changes due to altered
3625         InsetBranch c-tor.
3626
3627 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3628
3629         * factory.C:
3630         * lyxfunc.C: remove insetminipage. "minipage-insert"
3631         now produces a frameless minipage box inset.
3632
3633 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3634
3635         * textcursor.[Ch] (selStart,selEnd): add new methods
3636         remove selection::start, end, use LyXCursor::operator<
3637         * lyxcursor.[Ch] (operator<): add
3638         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3639         * BufferView.[Ch] (unsetXSel): add
3640         * text2.C (clearSelection): use unsetXSel,adjust
3641         * text.C: adjust
3642         * text3.C: adjust
3643         * rowpainter.C: adjust
3644         * bufferview_funcs.C (put_selection_at): adjust
3645
3646 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3647
3648         * BufferView_pimpl.C: small coord. correction
3649
3650 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3651
3652         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3653         dragging over the splash screen.
3654
3655 2003-12-11  Angus Leeming  <leeming@lyx.org>
3656
3657         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3658         as it is now handled in LyXText::dispatch.
3659
3660         * text3.C (doInsertInset): remove a level of nesting.
3661
3662 2003-12-11  Angus Leeming  <leeming@lyx.org>
3663
3664         * factory.C (createInset): changes due to the changed interface to
3665         InsetCommandMailer::string2params.
3666
3667 2003-12-10  Angus Leeming  <leeming@lyx.org>
3668
3669         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3670         'dialog-show-new-inset <inset name>'
3671
3672 2003-12-10  Angus Leeming  <leeming@lyx.org>
3673
3674         * buffer.C: up the format to 227.
3675
3676         * factory.C: the box inset is now identified simply by 'Box'.
3677
3678 2003-12-10  Angus Leeming  <leeming@lyx.org>
3679
3680         * buffer.C: up the format to 226.
3681
3682         * factory.C: the note inset is now identified simply by 'Note'.
3683
3684 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3685
3686         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3687         when a pit is enough. Standarize a couple of loops.
3688
3689 2003-12-05  Angus Leeming  <leeming@lyx.org>
3690
3691         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3692         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3693         data to the re-worked "log" dialog.
3694
3695 2003-12-03  André Pönitz  <poenitz@gmx.net>
3696
3697         * PosIterator.C:
3698         * iterators.C:
3699         * lyxtext.h:
3700         * output_latex.C:
3701         * paragraph_funcs.C:
3702         * text.C:
3703         * text2.C: use Inset::getText instead of Inset::getParagraph
3704
3705 2003-12-03  André Pönitz  <poenitz@gmx.net>
3706
3707         * buffer.[Ch]:
3708         * lyxtext.h:
3709         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3710         InsetText::read() as LyXText::read()
3711
3712 2003-12-02  Angus Leeming  <leeming@lyx.org>
3713
3714         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3715         type. Add a comment in the implementation that the function uses
3716         the stream's bad() function rather than fail() as the std::streams
3717         would do.
3718
3719 2003-12-02  André Pönitz  <poenitz@gmx.net>
3720
3721         * lyxlex.[Ch]: make interface more similar to std::stream
3722
3723         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3724
3725 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3726
3727         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3728
3729 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3730
3731         * vspace.[Ch]: remove VSpace::NONE
3732
3733 2003-12-01  André Pönitz  <poenitz@gmx.net>
3734
3735         * buffer.[Ch]:
3736         * lyxtext.h: move ParagraphList member to LyXText
3737         rename LyXText::ownerParagraphs to LyXText::paragraph
3738
3739         * CutAndPaste.C:
3740         * bufferview_funcs.C:
3741         * iterators.[Ch]:
3742         * lyx_cb.C:
3743         * paragraph.C:
3744         * rowpainter.C:
3745         * tabular.C:
3746         * text.C:
3747         * text2.C:
3748         * text3.C: adjust
3749
3750         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3751
3752         * undo.C: fix cursor positioning
3753
3754 2003-12-01  John Levon  <levon@movementarian.org>
3755
3756         * BufferView_pimpl.C: fix a crash on exit with
3757         a buffer open
3758
3759 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3760
3761         * BranchList.C: fix setSelected() method.
3762
3763 2003-11-28  André Pönitz  <poenitz@gmx.net>
3764
3765         * ParagraphParameters.[Ch]:
3766         * ParameterStruct.h: remove space above/below from Paragraph to
3767          InsetVSpace
3768
3769         * BufferView_pimpl.C:
3770         * factory.C:
3771         * lyxfunc.C:
3772         * lyxtext.h:
3773         * output_latex.C:
3774         * paragraph.C:
3775         * paragraph_funcs.C:
3776         * rowpainter.[Ch]:
3777         * text.C:
3778         * text2.C:
3779         * text3.C: adjust
3780
3781 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3782
3783         * factory.C: Syntax change for CharStyles
3784
3785 2003-11-28  André Pönitz  <poenitz@gmx.net>
3786
3787         * BufferView.[Ch]:
3788         * BufferView.[Ch]:
3789         * buffer.[Ch]:
3790         * buffer.[Ch]: move LyXText member
3791
3792 2003-11-28  André Pönitz  <poenitz@gmx.net>
3793
3794         * BufferView.[Ch]: make LyXText * text a private member
3795
3796         * BufferView_pimpl.C:
3797         * cursor.C:
3798         * iterators.C:
3799         * lyx_cb.C:
3800         * lyxfind.C:
3801         * lyxtext.h:
3802         * rowpainter.[Ch]:
3803         * text.C:
3804         * text2.C:
3805         * undo.C: adjust
3806
3807         * output_plaintext.C: cleanup
3808
3809 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3810
3811         * buffer.C:
3812         * lyxtextclass.[Ch]: parametrize SGML document header
3813
3814 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3815
3816         * converter.[Ch]:
3817         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3818         getFlavor().
3819
3820 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3821
3822         * text2.C (setFont): rework using PosIterator (no more recursive)
3823         (setCharFont): no more needed
3824         (setLayout): no more selection cursors fiddling (done by redoCursor)
3825         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3826         destroy remaining ones)
3827
3828 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3829
3830         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3831         * lyxtext.h: ditto
3832         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3833         selection cursors
3834         * lyxfunc.C: adjust
3835         * text3.C: adjust + re-allow multi par depth changes
3836         * textcursor.C: simplify a bit
3837
3838 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3839
3840         * src/buffer.C:
3841         * src/lyxlayout.C:
3842         * src/lyxlayout.h:
3843         * src/lyxtext.h:
3844         * src/output_docbook.C:
3845         * src/output_latex.C:
3846         * src/paragraph.C:
3847         * src/paragraph.h:
3848         * src/sgml.C:
3849         * src/sgml.h:
3850         * src/text2.C: Introducing a number of tags parametrizing various
3851         XML formats that we may want to support
3852
3853 2003-11-25  André Pönitz  <poenitz@gmx.net>
3854
3855         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3856
3857         * lyxtext.h (leftMargin/rightMargin): simplify interface
3858
3859         * rowpainter.C:
3860         * text.C:
3861         * text2.C:
3862         * text3.C: adjust
3863
3864 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3865
3866         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3867         master file to any child files. Fixes bug 546.
3868
3869 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3870
3871         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3872
3873 2003-11-24  André Pönitz  <poenitz@gmx.net>
3874
3875         * rowpainter.C: simplification
3876
3877         * text2.C (updateCounters): remove call to redoParagraph on
3878         changed labels as this is far too expensive.
3879
3880 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3881
3882         * converter.C (convert): fix a crash: this function gets
3883         called with buffer == 0 from importer code.
3884
3885 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3886
3887         * text3.C (cursorPrevious): make sure that we do not compare
3888         iterators form different containers.
3889         (cursorNext): ditto
3890
3891         * rowpainter.C (paintSelection): make sure that we do not compare
3892         iterators from different containers.
3893
3894         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3895         iterators from different ParagraphList containers.
3896         [NEXT] ditto
3897
3898         * text2.C (LyXText): change order of initialization slightly
3899         (operator=): new function. copy all variables except cache_par_
3900         (moveUp): make sure that we do not compare iterators from
3901         different ParagraphList constainers.
3902         (moveDown): ditto
3903
3904         * text.C (firstPar): new function
3905         (lastPar): new function
3906         (endPar): new function
3907
3908         * lyxtext.h: move things around and group public functions, public
3909         variables, private functions, private variables
3910
3911 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3912
3913         * factory.C: change call to InsetERT constructor to avoid
3914         additional invocation of method status
3915         * text2.C (toggleInset): remove redundant update() call
3916         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3917         instead of a Bufferview pointer
3918
3919 2003-11-21  André Pönitz  <poenitz@gmx.net>
3920
3921         * rowpainter.C: simplification
3922
3923 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3924
3925         * text3.C (dispatch): make possible to extend a word/row selection
3926         with the mouse
3927
3928 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3929
3930         * lyxtext.h: x0_,y0_ -> xo_,yo_
3931         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3932         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3933         * rowpainter.C (paintRows): paint full paragraphs
3934
3935 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3936
3937         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3938         screen coordinates)
3939
3940 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3941
3942         * lyxtext.h: add x0_, y0_
3943         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3944         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3945
3946 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3947
3948         * text2.C (setCursorIntern): move the x_target update here *
3949         * text3.C: change some bv() to true/false in calls to
3950         cursorUp/Down/Right/Left
3951         * cursor.C: use helper function.
3952
3953 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3954
3955         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3956         * paragraph_funcs.[Ch]: correct comment
3957         * rowpainter.C: do not paint selections away from bv->cursor()
3958         Fix a long standing selection painting bug.
3959         * text3.C: generalize mouse-selection code to LyXTexts other that
3960         top one
3961         * textcursor.C: do not use y coords if we can use par offsets
3962
3963 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3964
3965         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3966         cursor position after e.g. inset insert)
3967
3968 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3969
3970         * lyxfind.C (replace): adjust to locking removal + some
3971         code simplification
3972
3973 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3974
3975         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3976         of the path
3977
3978 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3979
3980         * lyxlayout.[Ch]:
3981         * output_docbook.C: XML sanitation: new layout
3982         parameters InnerTag and CommandDepth
3983
3984 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3985
3986         * BufferView_pimpl.C:
3987         * factory.C:
3988         * text3.C: Fix the insertion and modification of button-style
3989         insets
3990
3991 2003-11-13  André Pönitz  <poenitz@gmx.net>
3992
3993         * InsetList.[Ch]: remove deleteLyXText
3994
3995         * paragraph.[Ch]: cache beginOfBody position
3996
3997         * Bidi.C:
3998         * text.C:
3999         * text2.C:
4000         * text3.C: remove superfluous update() calls
4001
4002         * vspace.C: cleanup
4003
4004 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4005
4006         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4007         * BufferView.C (fitLockedInsetCursor): remove
4008         * cursor.[Ch] (getDim): add
4009         * text.C (getRowNearY): add faster version
4010         * text3.C: remove some update calls
4011
4012 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4013
4014         * LaTeXFeatures.C:
4015         * LyXAction.C:
4016         * MenuBackend.C:
4017         * MenuBackend.h:
4018         * dispatchresult.h:
4019         * factory.C:
4020         * lfuns.h:
4021         * lyxfunc.C:
4022         * lyxtextclass.C:
4023         * lyxtextclass.h:
4024         * text3.C: The Character Style /XML short element patch.
4025
4026 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4027
4028         * text3.C:
4029         * factory.C: Small step to solving 'unable to insert some insets'
4030         problem
4031
4032 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4033
4034         * cursor.[Ch] (updatePos): new function for updating the y
4035         position of the tip inset
4036         * bufferview_funcs.C (put_selection_at):
4037         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4038
4039 2003-11-11  André Pönitz  <poenitz@gmx.net>
4040
4041         * text.C: remove big comment on invalid Paragraph pointers as it is
4042         not valid anymore
4043
4044 2003-11-11  André Pönitz  <poenitz@gmx.net>
4045
4046         * text_funcs.[Ch]: merge with ...
4047
4048         * text.C: ... this
4049
4050         * lyxtext.h:
4051         * text2.C:
4052         * text3.C: adjust
4053
4054         * Makefile.am: remove text_funcs.[Ch]
4055
4056 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4057
4058         * cursor.C (getPos): return absolute cached y coord
4059
4060         * BufferView_pimpl.C (fitCursor): new simplistic code
4061         (workAreaDispatch): add a fitCursor call
4062
4063 2003-11-10  André Pönitz  <poenitz@gmx.net>
4064
4065         * BufferView.[Ch]:
4066         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4067
4068 2003-11-10  André Pönitz  <poenitz@gmx.net>
4069
4070         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4071         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4072         indicate that the cursor needs to leave an inset
4073
4074         * lyxtext.h: remove inset locking
4075
4076         * cursor.[Ch]: re-implement functionality provided by inset locking
4077
4078         * BufferView.[Ch]:
4079         * BufferView_pimpl.[Ch]:
4080         * LyXAction.C:
4081         * bufferview_funcs.[Ch]:
4082         * factory.C:
4083         * funcrequest.[Ch]:
4084         * iterators.C:
4085         * lyx_cb.C:
4086         * lyxfind.C:
4087         * lyxfunc.C:
4088         * text.C:
4089         * text2.C:
4090         * text3.C:
4091         * undo.C: adjust
4092
4093 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4094
4095         * PosIterator.[Ch]: replace the stack with a vector, add inset
4096         accesor
4097         * iterators.[C]: adjust
4098
4099 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4100
4101         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4102         replaced
4103         * paragraph_funcs.C (readParToken): put the correct id in the
4104         error item, not the id of the top paragraph
4105
4106 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4107
4108         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4109         * bufferview_funcs.C (put_selection_at): use the above
4110
4111 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4112
4113         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4114
4115 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4116
4117         * output_linuxdoc.h:
4118         * output_plaintext.h:
4119         * output.h:
4120         * output_docbook.h: add #include statements
4121
4122 2003-11-05  José Matos  <jamatos@lyx.org>
4123
4124         * output_docbook.[Ch]:
4125         * output_latex.[Ch]:
4126         * output_linuxdoc.[Ch]:
4127         * output_plaintext.[Ch]: New files for output formats.
4128         * output.[Ch]: New file for helper functions.
4129
4130         * buffer.[Ch]:
4131         * paragraph_funcs.[Ch]: output functions moved to new files.
4132
4133         * outputparams.h: rename of latexrunparams.h
4134
4135         * LaTeX.[Ch]:
4136         * buffer.[Ch]:
4137         * bufferlist.[Ch]:
4138         * converter.[Ch]:
4139         * exporter.C:
4140         * paragraph.[Ch]:
4141         * paragraph_funcs.[Ch]:
4142         * paragraph_pimpl.[Ch]:
4143         * tabular.[Ch]: rename ascii to plaintext
4144         and LatexRunParams to OutputParams.
4145
4146 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4147
4148         * iterators.[Ch] (text): require bv argument
4149         * undo.C (recordUndo):
4150         * lyxfunc.C (dispatch):
4151         * bufferview_funcs.C (put_selection_at): adjust
4152
4153 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4154
4155         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4156
4157 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4158
4159         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4160         nestings
4161
4162 2003-11-04  André Pönitz  <poenitz@gmx.net>
4163
4164         * cursor.[Ch]: restructure
4165
4166         * BufferView.[Ch]:
4167         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4168
4169         * iterators.[Ch] (asCursor): remove
4170
4171         * lfuns.h: remove LFUN_INSET_EDIT
4172
4173         * lyxfunc.C:
4174         * tabular.C:
4175         * text.C:
4176         * text2.C:
4177         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4178
4179 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4180
4181         * lyxfind.[Ch]: complete overhaul
4182         * BufferView_pimpl.C:
4183         * lyxfunc.C: adjust
4184         * paragraph.[Ch] (insert): add
4185
4186 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4187
4188         * BufferView.[Ch]:
4189         * lyxtext.h:
4190         * text.C: remove dead spellcheck code
4191
4192 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4193
4194         * dispatchresult.h: add a val setter
4195
4196         * cursor.C (dispatch): use a tempvar for data_[i]
4197
4198 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4199
4200         * PosIterator.[Ch]: compile fix
4201
4202 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4203
4204         * text.C (cursorPar): deactivate the cursor cache
4205
4206 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4207
4208         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4209
4210 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4211
4212         * text3.C (dispatch): adjust for new DisptchResult semantics.
4213
4214         * lyxfunc.C (dispatch): handle update when return from
4215         Cursor::dispatch, adjust for new DispatchResult semantics.
4216
4217         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4218         DispatchResult(true) mean to not update. Add class functions for
4219         setting dispatched and update, as well as reading.
4220
4221         * cursor.C (dispatch): don't handle update here
4222
4223 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4224
4225         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4226         * trans_mgr.C: adjust
4227
4228         * paragraph_funcs.C (readParToken): exception safety
4229
4230         * lyxvc.h: store the vcs pointer in a scoped_ptr
4231         * lyxvc.C: adjust
4232
4233         * lyxsocket.C (serverCallback): exception safety
4234
4235         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4236
4237         * ispell.C (clone): make it return a auto_ptr
4238
4239         * factory.C (createInset): exception safety
4240         (readInset): exception safety
4241
4242         * bufferlist.C (newBuffer): exception safety
4243
4244         * Thesaurus.C (Thesaurus): use initialization for aik_
4245
4246         * MenuBackend.C (expandToc): exception safety.
4247
4248 2003-11-03  André Pönitz  <poenitz@gmx.net>
4249
4250         * buffer.C:
4251         * buffer.h:
4252         * bufferview_funcs.C: remove getInsetFromId()
4253
4254         * lyxcursor.[Ch]:
4255         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4256
4257         * lyxfunc.C:
4258         * text2.C:
4259         * text3.C: adjust
4260
4261 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4262
4263         * PosIterator.C (distance, advance): new
4264         * bufferview_funcs.[Ch] (put_selection_at): new
4265         * iterators.[Ch] (lockPath): new
4266
4267 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4268
4269         * iterators.[Ch] (asPosIterator): added
4270         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4271         * PosIterator.[Ch]: added
4272
4273 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4274
4275         * text3.C:
4276         * lyxfunc.C:
4277         * cursor.C (dispatch):
4278         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4279
4280         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4281         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4282         contructor, add a class function dispatched. Remove operator>=
4283
4284 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4285
4286         * debug.C: only use the default constructor for debugstream
4287         (lyxerr) here.
4288
4289         * main.C (main): include debug.h and setup the lyxerr streambuf
4290         here.
4291
4292 2003-10-31  José Matos  <jamatos@lyx.org>
4293
4294         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4295
4296         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4297         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4298         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4299         * paragraph_pimpl.C (simpleTeXSpecialC):
4300         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4301         add LatexRunParams argument.
4302
4303         * exporter.C (Export): change call accordingly.
4304
4305         * latexrunparams.h: add new member to take care of the other backends.
4306 2003-10-30  José Matos  <jamatos@lyx.org>
4307
4308         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4309         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4310         factorise code for paragraph output.
4311         * buffer.[Ch]:
4312         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4313         move functions.
4314
4315 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4316
4317         * text3.C (dispatch):
4318         * lyxfunc.C (dispatch):
4319         * cursor.C (dispatch):
4320         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4321
4322         * dispatchresult.h: make the dispatch_result_t ctor explicit
4323
4324 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4325
4326         * sgml.[Ch]:
4327         * buffer.C: small refactoring of docbook stuff
4328
4329 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4330
4331         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4332         meaning.
4333
4334 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4335
4336         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4337         operator dispatch_result_t, and operators for == != and >=
4338
4339         * cursor.C (dispatch): adjust for operator dispatch_result_t
4340         removal. comment out call to update
4341
4342         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4343
4344 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4345
4346         * text3.C:
4347         * text2.C:
4348         * text.C:
4349         * lyxtext.h:
4350         * lyxfunc.C:
4351         * cursor.C:
4352         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4353         (dispatch):
4354
4355         * dispatchresult.h: new file, DispatchResult broken out of
4356         insets/insetbase.h
4357
4358         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4359
4360 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4361
4362         * text.C (rowBreakPoint): put a hack inside #if 0
4363
4364 2003-10-28  André Pönitz  <poenitz@gmx.net>
4365
4366         * lyxtext.h:
4367         * metricsinfo.C:
4368         * paragraph_funcs.C:
4369         * rowpainter.C:
4370         * text.C:
4371         * text2.C: general cleanup (lots of small stuff)
4372
4373 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4374
4375         * text2.C (cursorEnd): simple fix to the "end key goes to one
4376         before the end on last row" bug
4377
4378 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4379
4380         * text.C (backspace): fix the "zombie characters"
4381
4382 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4383
4384         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4385
4386 2003-10-27  André Pönitz  <poenitz@gmx.net>
4387
4388         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4389
4390         * factory.C: handle new InsetPagebreak, InsetLine
4391
4392         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4393         and move handling into new InsetPagebreak, InsetLine
4394
4395         * BufferView_pimpl.C:
4396         * LyXAction.C:
4397         * ParagraphParameters.C:
4398         * ParameterStruct.h:
4399         * lyxfunc.C:
4400         * lyxtext.h:
4401         * paragraph.C:
4402         * paragraph.h:
4403         * paragraph_funcs.C:
4404         * paragraph_pimpl.C:
4405         * rowpainter.C:
4406         * text.C:
4407         * text2.C:
4408         * text3.C: adjust
4409
4410 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4411
4412         * text.C:
4413         * lyxrow_funcs.[Ch]:
4414         * Bidi.C:
4415         * paragraph.C:
4416         * lyxtext.h:
4417         * rowpainter.C:
4418         * text2.C:
4419         * text3.C: remove lastPos uses in favour of Row::endpos
4420
4421 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4422
4423         * undo.C (performUndoOrRedo): fix two crashes by setting a
4424         cursor by hand and reordering some calls. Use bv->lockInset instead
4425         of inset->edit because the latter loses cursor information
4426
4427 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4428
4429         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4430         by Martin
4431         (rowBreakPoint): fix width. change point to point + 1.
4432         Add a missing check.
4433
4434 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4435
4436         * MenuBackend.C:
4437         * lyxfunc.C: fix (at least partly) the problems
4438         with the Nav menu and headers inside branch insets
4439         reported by Kayvan
4440
4441 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4442
4443         * paragraph.C (getChar): add strong asserts
4444
4445         * lyxrow_funcs.C (lastPos): remove hideous hack
4446
4447         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4448         (fill): adjust to that (avoid an infinite loop)
4449
4450 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4451
4452         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4453
4454 2003-10-23  André Pönitz  <poenitz@gmx.net>
4455
4456         * RowList_fwd.h: change list<> to vector<> to gain speed
4457         after suggestion from Alfredo
4458
4459 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4460
4461         * lyxtext.h: move the bidi stuff from here...
4462         * text.C: and here
4463         * text2.C: and here
4464         * Bidi.[Ch]: ... to here
4465
4466 2003-10-23  André Pönitz  <poenitz@gmx.net>
4467
4468         * lyxtext.h:
4469         * text.C (isLastRow, isFirstRow): new functions
4470
4471         * paragraph.h: new width cache member
4472
4473         * rowpainter.C: replace RowList::iterator with Row & where possible
4474
4475         * lyxfunc.C: replace several view()->text with a single call
4476
4477         * toc.C: fix 'unused' warning
4478
4479 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4480
4481         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4482         when woring with stream::pos_type
4483         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4484
4485 2003-10-22  André Pönitz  <poenitz@gmx.net>
4486
4487         * lyxtext.h:
4488         * text.C: use Row & instead of RowList::iterator
4489
4490         * lyxrow.h: rename end() to endpos()
4491
4492         * rowpainter.C:
4493         * text.C:
4494         * text2.C: adjust
4495
4496 2003-10-22  Angus Leeming  <leeming@lyx.org>
4497
4498         * buffer.[Ch] (fully_loaded): new member function, returning true
4499         only when the file has been loaded fully.
4500         Used to prevent the premature generation of previews and by the
4501         citation inset to prevent computation of the natbib-style label.
4502
4503         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4504         templates are all set up.
4505
4506         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4507
4508 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4509
4510         * text.C: fixed an "oops" in the "is a bit silly"
4511         bug fix
4512
4513 2003-10-21  André Pönitz  <poenitz@gmx.net>
4514
4515         * FuncStatus.[Ch]: small stuff, whitespace
4516
4517         * lyxfont.[Ch]: operator<<() for debug reasons
4518
4519         * lyxfunc.C:
4520         * lyxrow_funcs.C:
4521         * lyxtext.h: whitespace, spelling
4522
4523         * paragraph.C: naming of variables
4524
4525         * text.C:
4526         * text2.C: small stuff
4527
4528
4529 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4530
4531         * text.C: (1) finish off the inset display() work;
4532         (2) fix the "is a bit silly" bug (accessing char
4533         past end of par).
4534
4535 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4536
4537         * text.C: re-introduce display() for insets, fixing the
4538         various bugs (stretch of line above, math inset
4539         positioning, ...)
4540
4541 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4542
4543         * text.C (rightMargin): remove spurious semicolon
4544
4545         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4546         1415)
4547
4548 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4549
4550         * text3.C: fix one crash due to wrong cursor def
4551
4552 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4553
4554         * vc-backend.C (scanMaster): make the regex static
4555
4556         * LaTeX.C (scanAuxFile): make the regexs static
4557
4558         * text3.C (doInsertInset, dispatch, dispatch):
4559         * text2.C (cursorUp, cursorDown):
4560         * text.C (selectNextWordToSpellcheck):
4561         * BufferView_pimpl.C (dispatch):
4562         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4563
4564 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4565
4566         * lyxsocket.C: include <cerrno>
4567
4568 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4569
4570         * lyxfunc.C (dispatch): remove textcache stuff
4571
4572         * bufferlist.C (release): remove textcache stuff
4573         (closeAll): ditto
4574
4575         * TextCache.C: delete file
4576         * TextCache.h: delete file
4577
4578         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4579
4580         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4581         delete of the bv_->text.
4582         (resizeCurrentBuffer): remove texcache stuff
4583         (workAreaResize): ditto
4584
4585 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4586
4587         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4588         action.
4589
4590 2003-10-16  André Pönitz  <poenitz@gmx.net>
4591
4592         * lyxrow.[Ch]:
4593         * paragraph.h:
4594         * rowpainter.C:
4595         * text.C:
4596         * text2.C:
4597         * text3.C: speed up by storing y positions per paragraph plus per-row
4598         offset instead of having a 'full' y position in the row.
4599
4600 2003-10-15  André Pönitz  <poenitz@gmx.net>
4601
4602         * iterators.[Ch]:
4603         * iterators.[Ch]:
4604         * undo.[Ch]: make undo aware of inner insets
4605
4606 2003-10-14  Angus Leeming  <leeming@lyx.org>
4607
4608         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4609         static member functions LyX::ref() and LyX::cref.
4610         (lastfiles): new accessor functions for the new lastfiles_ member var.
4611         (addLyXView, views_): add a new LyXView to the list of views_.
4612         (updateInset): loop over all LyXViews to call their own updateInset
4613         member function, returning a pointer to the Buffer owning the inset.
4614
4615         * BufferView_pimpl.C (loadLyXFile):
4616         * MenuBackend.C (expandLastfiles):
4617         * bufferlist.C (MenuWrite, QuitLyX):
4618         lastfiles is no longer a global variable.
4619         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4620
4621         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4622         static function. Access through LyX::cref().emergencyCleanup().
4623
4624 2003-10-14  André Pönitz  <poenitz@gmx.net>
4625
4626         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4627
4628         * undo.[Ch]: restoring part of 'undo in insets'
4629
4630         * Makefile.am:
4631         * undo_funcs.[Ch]: merge with undo.[Ch]
4632
4633         * tabular.C: small cleansing stuff
4634
4635 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4636
4637         * paragraph_funcs.C (readParToken): report unknown insets as error
4638         boxes. Use the outer paragraph as location (also for unknown
4639         tokens).
4640
4641         * factory.C (readInset): do not abort on reading an unknown inset.
4642         Eat it and return 0.
4643
4644 2003-10-13  Angus Leeming  <leeming@lyx.org>
4645
4646         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4647
4648         * lyxrc.C: displayTranslator is now a function,
4649         declared in GraphicsTypes.h.
4650
4651 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4652
4653         * format.C: new placeholder $$a to pass the socket address.
4654
4655         * bufferlist.[Ch]: new function getBufferFromTmp.
4656
4657         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4658           files in the temporary dir.
4659
4660 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4661
4662         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4663
4664         * Makefile.am: add lyxsocket.[Ch].
4665
4666         * lyx_main.C (error_handler): handle SIGPIPE.
4667
4668 2003-10-13  André Pönitz  <poenitz@gmx.net>
4669
4670         * BufferView_pimpl.C:
4671         * lyxtext.h:
4672         * text.C:
4673         * text2.C:
4674         * text3.C:
4675         * undo_funcs.[Ch]: use paroffset_type instead of
4676           ParagraphList::iterators to prevent multiple conversion
4677           (and get a more robust interface)
4678
4679 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4680
4681         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4682         * lyxtext.h: ditto
4683         * text3.C (dispatch): ditto
4684
4685 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4686
4687         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4688         move the onlyfile, use onlyfile instead of foundfile in a couple
4689         of places.
4690
4691         * DepTable.C (update): flush the error stream a bit more
4692
4693 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4694
4695         * lyxserver.C (callback): adjust
4696
4697         * lyxfunc.C (getStatus): add a missing brace in commented code
4698         (ensureBufferClean): reindent
4699         (dispatch): delete version taking a string
4700
4701 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4702
4703         * LaTeX.C (deplog): move found file handlig from here...
4704         (handleFoundFile): .. to new function here.
4705         (deplog): make sure to discover several files mentioned on the
4706         same log line.
4707
4708 2003-10-10  André Pönitz  <poenitz@gmx.net>
4709
4710         * lyxfunc.C:
4711         * lyxtext.h:
4712         * tabular.C:
4713         * text.C:
4714         * text2.C:
4715         * text3.C: fix some of the tabular crashes
4716
4717 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4718
4719         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4720
4721         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4722
4723 2003-10-09  André Pönitz  <poenitz@gmx.net>
4724
4725         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4726
4727         * BufferView.C:
4728         * BufferView_pimpl.C:
4729         * bufferview_funcs.C:
4730         * lyx_cb.C:
4731         * lyxcursor.C:
4732         * lyxfind.C:
4733         * lyxfunc.C:
4734         * lyxtext.h:
4735         * text.C:
4736         * text2.C:
4737         * text3.C:
4738         * text_funcs.[Ch]:
4739         * textcursor.[Ch]:
4740         * undo_funcs.C: adjust
4741
4742 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4743
4744         * text2.C (incrementItemDepth): new function, use a backtracking
4745         algorithm to discover the correct item depth.
4746         (resetEnumCounterIfNeeded): new function, use a backtracking
4747         algorithm to discover if counter reset is needed.
4748         (setCounter): use them. Simplify a bit. Add different labels for
4749         different item depths for itemize.
4750
4751         * paragraph.C (Paragraph): remove initialization of enumdepth
4752         (operator=): ditto
4753
4754         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4755         enumerate and itemize. Change the type of itemdepth to signed char.
4756
4757 2003-10-08  André Pönitz  <poenitz@gmx.net>
4758
4759         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4760           thing assignable.
4761         * text.C:
4762         * text2.C: adjust
4763
4764         * tabular.[Ch]: fix crash after 'row-insert'
4765
4766 2003-10-08  Angus Leeming  <leeming@lyx.org>
4767
4768         Fix doxygen warnings.
4769
4770         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4771         Remove CutAndPaste:: prefix from header file declaration.
4772
4773         * LColor.h (fill): remove LColor:: prefix from declaration.
4774
4775         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4776         use lyx::depth_type rather than Paragraph::depth_type so that
4777         header file and .C file match.
4778
4779         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4780
4781         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4782         * aspell.C: \file aspell_local.C -> \file aspell.C
4783         * gettext.C: \file gettext.C -> \file src/gettext.C
4784         * gettext.h: \file gettext.h -> \file src/gettext.h
4785         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4786         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4787         * text.C: \file text.C -> \file src/text.C
4788
4789         * toc.C: move comment so that doxygen is not confused.
4790
4791 2003-10-07  Angus Leeming  <leeming@lyx.org>
4792
4793         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4794
4795 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4796
4797         * aspell.C:
4798         * aspell_local.h: add forgotten std::string's.
4799
4800 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4801
4802         * LaTeXFeatures.C:
4803         * LyXAction.C:
4804         * factory.C:
4805         * lfuns.h:
4806         * lyxfunc.C:
4807         * text3.C: The Box patch. Fancybox support, minipage, parbox
4808
4809 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4810
4811         * CutAndPaste.h:
4812         * DepTable.h:
4813         * FloatList.h:
4814         * LaTeXFeatures.h:
4815         * ParagraphParameters.h:
4816         * TextCache.h:
4817         * Thesaurus.h:
4818         * bufferlist.h:
4819         * exporter.h:
4820         * importer.h:
4821         * lastfiles.h:
4822         * lyxfind.h:
4823         * lyxfont.h:
4824         * lyxlex.h:
4825         * lyxtextclasslist.h:
4826         * messages.h:
4827         * paragraph.h:
4828         * paragraph_pimpl.C:
4829         * textcursor.h: add <string> and other small fixes to make Lars'
4830         std::string patch compile with STLport.
4831
4832 2003-10-06  Angus Leeming  <leeming@lyx.org>
4833
4834         * LColor.h: Add missing #include <string>.
4835
4836 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4837
4838         * All most all file in all subdirs: Make <string> be the prefered
4839         way of getting to std::string, add using declarations.
4840
4841 2003-10-06  André Pönitz  <poenitz@gmx.net>
4842
4843         * metricsinfo.C: initialize LyXFont before changing attribute.
4844         (fixes the 'math in \emph is upright' bug)
4845
4846 2003-10-06  André Pönitz  <poenitz@gmx.net>
4847
4848         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4849
4850 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4851
4852         * graph.C:
4853         * paragraph_pimpl.C: Small fixes to build using STLport
4854
4855 2003-10-02  André Pönitz  <poenitz@gmx.net>
4856
4857         * lyxfunc.C:
4858         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4859
4860 2003-10-01  André Pönitz  <poenitz@gmx.net>
4861
4862         * factory.C: assert early
4863
4864 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4865
4866         * lyx_main.C: remove the global debug object
4867
4868         * debug.h: adjust for new debugstream
4869
4870         * debug.C: adjust for new debugstream and keep the global debug
4871         object here.
4872
4873 2003-09-22  Angus Leeming  <leeming@lyx.org>
4874
4875         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4876         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4877         an incomplete class LyXFont.
4878
4879 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4880
4881         * factory.C: bug fix in branches
4882
4883 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4884
4885         * lyxfunc.C (processKeySym): adjust
4886         (dispatch): adjust
4887         (dispatch): change arg name from ev to func, adjust
4888         (sendDispatchMessage): ditto
4889
4890         * lyx_main.C (defaultKeyBindings): adjust keybindings
4891         (deadKeyBindings): ditto
4892
4893         * kbsequence.C (addkey): return a FuncRequest
4894
4895         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4896
4897         * kbmap.C (bind): take a FuncRequest as arg, adjust
4898         (read): adjust
4899         (lookup): adjust
4900         (defkey): change to take a FuncRequest as arg, adjust
4901         (findbinding): take a FuncRequest as arg, adjust.
4902
4903         * funcrequest.h (operator=): added
4904
4905         * funcrequest.C (FuncRequest): default kb_action changed from
4906         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4907
4908         * buffer.C (dispatch): simplify
4909         (dispatch): adjust to take a FuncRequest as arg, adjust
4910
4911         * boost.C (assertion_failed): change assertion message slightly
4912
4913         * ToolbarBackend.C (read): simplify
4914
4915         * MenuBackend.C (binding): adjust call to findbinding, add a
4916         message if no binding is found.
4917         (read): simplify
4918         (expandToc): correct by adding a empty FuncRequest
4919
4920         * LyXAction.C: include <boost/assert.hpp>
4921         (isPseudoAction): delete function
4922         (LookupFunc): change name to...
4923         (lookupFunc): this. change return type to FuncRequest.
4924         (getActionName): take kb_action as arg, simplify
4925         (funcHasFlag): add an assert, simplify.
4926
4927 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4928
4929         * toc.C (action): return a FuncRequest, simplify
4930
4931         * lyxfunc.C (processKeySym): adjust
4932         (getStatus): delete version that takes an int.
4933         (getStatus): adjust
4934         (dispatch): delete version that takes action as int
4935         (dispatch): adjust
4936         (sendDispatchMessage): simplify and adjust
4937
4938         * funcrequest.C (getArg): take unsigned int as arg
4939
4940         * ToolbarBackend.C (read): adjust
4941         (add): delete version that takes func as a string.
4942         (getIton): take a FuncRequest as arg
4943
4944         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4945         action.
4946
4947         * MenuBackend.C (MenuItem): add a new construct that only takes a
4948         Kind, simplify the constructor use for submenus.
4949         (add): adjust
4950         (expandLastfiles): adjust
4951         (expandDocuments): adjust
4952         (expandFormats): adjust
4953         (expandFloatListInsert): adjust
4954         (expandFloatInsert): adjust
4955         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4956
4957         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4958         Remove class variables lyx_pseudo_map and lyx_arg_map
4959
4960         * LyXAction.C (searchActionArg): delete function
4961         (getPseudoAction): delete function
4962         (retrieveActionArg): delete function
4963         (LookupFunc): make it return kb_action, simplify.
4964         (getActionName): simplify
4965
4966         * factory.C (createInset): fix new bug
4967
4968 2003-09-19  Angus Leeming  <leeming@lyx.org>
4969
4970         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4971         masterFilename_ parameter in the include inset.
4972
4973         * factory.C (createInset): changes due to the changes to InsetInclude.
4974
4975 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4976
4977         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4978
4979 2003-09-18  Angus Leeming  <leeming@lyx.org>
4980
4981         * buffer.C:
4982         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4983         Inset::fillWithBibKeys.
4984         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4985
4986 2003-09-18  Angus Leeming  <leeming@lyx.org>
4987
4988         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4989         variables.
4990         (ctor): pass and store a 'Buffer const &'
4991         (buffer): new member function.
4992
4993         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4994         '*this' to the LaTeXFeatures ctor.
4995
4996 2003-09-18  Angus Leeming  <leeming@lyx.org>
4997
4998         * LColor.h:
4999         * lyxfont.C:
5000         * lyxfont.h:
5001         * lyxtext.h:
5002         * text.C: rename EnumLColor as LColor_color.
5003
5004 2003-09-18  Angus Leeming  <leeming@lyx.org>
5005
5006         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5007         remove #include "insets/insetbase.h" from cursor.h.
5008
5009 2003-09-18  Angus Leeming  <leeming@lyx.org>
5010
5011         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5012         InsetOld_code to remove #include "inset.h".
5013
5014         * iterators.C: add #include "insets/inset.h"
5015
5016 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5017
5018         * BufferView.C: remove more locking stuff that apparently doesn't
5019         do anything sensible.
5020
5021 2003-09-16  André Pönitz  <poenitz@gmx.net>
5022
5023         * paragraph.[Ch]:
5024         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5025           performance boost.
5026
5027 2003-09-16  Angus Leeming  <leeming@lyx.org>
5028
5029         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5030
5031         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5032         arg/return type.
5033
5034         * paragraph.h: remove #include "lyxfont.h". Forward declare
5035         LyXFont_size.
5036
5037 2003-09-16  Angus Leeming  <leeming@lyx.org>
5038
5039         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5040         of support/textutils.h.
5041         (isWord): move the contents of support/textutils.h's IsWordChar here.
5042
5043         * buffer.C:
5044         * lyxfind.C:
5045         * rowpainter.C:
5046         * text.C:
5047         * text2.C: add #include "paragraph.h".
5048
5049         * rowpainter.C:
5050         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5051
5052 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5053
5054         * main.C:
5055         * lyx_main.C:
5056         * lyx_cb.C:
5057         * buffer.C:
5058         * LaTeX.C: use namespace alias for lyx::support::os
5059
5060 2003-09-16  Angus Leeming  <leeming@lyx.org>
5061
5062         * bufferparams.C:
5063         * bufferview_funcs.C:
5064         * factory.C:
5065         * lyxfunc.C:
5066         * paragraph_pimpl.C:
5067         * rowpainter.C:
5068         * text.C: add #include "LColor.h".
5069
5070 2003-09-16  Angus Leeming  <leeming@lyx.org>
5071
5072         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5073         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5074         return LyXFont &.
5075         Store the FontBits::color variable as an int rather than as an
5076         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5077         file.
5078
5079         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5080         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5081         string calls together.
5082
5083         * lyxrc.C: add #include "LColor.h".
5084
5085 2003-09-15  Angus Leeming  <leeming@lyx.org>
5086
5087         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5088         a cow_ptr.
5089
5090 2003-09-15  Angus Leeming  <leeming@lyx.org>
5091
5092         * LColor.h: add an EnumLColor wrapper for LColor::color.
5093
5094         * lyxfont.[Ch] (color, setColor, realColor):
5095         * lyxtext.h, text.C (backgroundColor):
5096         pass EnumLColor args to/from the functions, rather than LColor::color
5097         ones.
5098
5099         * lyxfont.h:
5100         * lyxtext.h: forward declare EnumLColor.
5101
5102         * lyx_main.C: add #include "LColor.h".
5103
5104 2003-09-15  Angus Leeming  <leeming@lyx.org>
5105
5106         * .cvsignore: add lyx-gtk.
5107
5108 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5109
5110         * Chktex.C
5111         * LaTeX.C
5112         * LaTeXFeatures.C
5113         * ParagraphParameters.C
5114         * Spacing.C
5115         * buffer.C
5116         * bufferparams.C
5117         * bufferview_funcs.C
5118         * chset.C
5119         * counters.C
5120         * funcrequest.C
5121         * lyxfont.C
5122         * lyxgluelength.C
5123         * lyxlength.C
5124         * paragraph.C
5125         * paragraph_funcs.C
5126         * text3.C
5127         * vc-backend.C: remove usage of STRCONV
5128
5129 2003-09-15  Angus Leeming  <leeming@lyx.org>
5130
5131         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5132         explicitly define the color passed to the painter.
5133
5134 2003-09-15  Angus Leeming  <leeming@lyx.org>
5135
5136         * bufferparams.C (BufferParams): reorder member initializers to avoid
5137         compiler warning.
5138
5139 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5140
5141         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5142         * text.C (updateRowPositions): remove an unusual nop
5143
5144 2003-09-12  André Pönitz  <poenitz@gmx.net>
5145
5146         * BufferView_pimpl.C:
5147         * Bullet.C:
5148         * layout.h:
5149         * lyxfunc.C:
5150         * lyxlayout.[Ch]:
5151         * lyxtextclass.C:
5152         * rowpainter.C:
5153         * text.C:
5154         * text2.C:
5155         * Counters.[Ch]: finish the 'automatic counters' job
5156
5157 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5158
5159         * aspell.C: include <boost/assert.cpp> (compile fix)
5160
5161 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5162
5163         * boost.C (assertion_failed): use lyx::support::abort instead of
5164         assert.
5165
5166 2003-09-10  Angus Leeming  <leeming@lyx.org>
5167
5168         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5169         with their _fwd progeny.
5170
5171 2003-09-09  Angus Leeming  <leeming@lyx.org>
5172
5173         134 files throughtout the source tree: replace 'using namespace abc;'
5174         directives with the appropriate 'using abc::xyz;' declarations.
5175
5176 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5177
5178         * boost.C (emergencyCleanup): moved here from LAssert.c
5179         (assertion_failed): new function, called by BOOST_ASSERT
5180
5181         * several files: change Assert to BOOST_ASSERT
5182
5183 2003-09-09  Angus Leeming  <leeming@lyx.org>
5184
5185         * buffer.[Ch]: Add an Impl class and move Buffer's member
5186         variables into it. As a result move several header files out of
5187         buffer.h.
5188
5189         Add header files to lots of .C files all over the tree as a result.
5190
5191 2003-09-09  Angus Leeming  <leeming@lyx.org>
5192
5193         * buffer.[Ch]: make Buffer's member variables private. Add
5194         accessor functions.
5195
5196         Lots of changes all over the tree as a result.
5197
5198 2003-09-08  Angus Leeming  <leeming@lyx.org>
5199
5200         * graph.C: #include <config.h>.
5201
5202 2003-09-08  Angus Leeming  <leeming@lyx.org>
5203
5204         * BranchList.C:
5205         * BufferView.C:
5206         * BufferView_pimpl.C:
5207         * CutAndPaste.C:
5208         * DepTable.C:
5209         * LaTeX.C:
5210         * LaTeXFeatures.C:
5211         * LyXAction.C:
5212         * MenuBackend.C:
5213         * TextCache.C:
5214         * aspell.C:
5215         * buffer.C:
5216         * bufferlist.C:
5217         * changes.C:
5218         * chset.C:
5219         * converter.C:
5220         * counters.C:
5221         * debug.C:
5222         * graph.C:
5223         * ispell.C:
5224         * lyx_cb.C:
5225         * lyxfind.C:
5226         * lyxfunc.C:
5227         * lyxlex_pimpl.C:
5228         * lyxrc.C:
5229         * lyxrow.C:
5230         * paragraph.C:
5231         * rowpainter.C:
5232         * texrow.C:
5233         * text.C:
5234         * text2.C:
5235         * toc.C: remove redundant using directives.
5236
5237 2003-09-07  Angus Leeming  <leeming@lyx.org>
5238
5239         * LaTeXFeatures.h: remove #include "support/types.h".
5240         * ToolbarBackend.h: remove #include <algorithm>.
5241         * changes.h: remove #include <ctime>.
5242         * debug.h: remove #include <iosfwd>.
5243         * graph.h: remove #include "support/std_string.h".
5244         * lyx_main.h: remove #include <csignal>.
5245         * lyxlex_pimpl.h: remove #include <fstream>.
5246         * sgml.h: remove #include <algorithm>, <utility>.
5247         * toc.h: remove #include "support/std_ostream.h".
5248         Add #include <iosfwd>.
5249
5250 2003-09-07  Angus Leeming  <leeming@lyx.org>
5251
5252         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5253
5254         * converter.h: forward declare LatexRunParams.
5255         * encoding.h: remove #include "lyxrc.h".
5256         * lyxtext.h: remove #include "LColor.h".
5257         * lyxtextclass.h: remove #include "support/types.h".
5258         * trans.h: remove #include "tex-accent.h".
5259         * trans_mgr.h: remove #include "tex-accent.h".
5260         * insets/inset.h: remove #include "support/types.h", <vector>.
5261         * insets/insetcollapsable.h: remove #include "LColor.h".
5262         * insets/insetinclude.h: remove #include "dimension.h".
5263         * insets/insetlatexaccent.h: remove #include "dimension.h".
5264         * insets/insetoptarg.h:: remove #include "insettext.h".
5265         * insets/insettext.h: remove #include "dimension.h",
5266         <boost/shared_ptr.hpp>
5267
5268         * insets/renderers.h: add #include "dimension.h".
5269         * insets/updatableinset.h: add #include "support/types.h".
5270
5271         * many .C files: Associated changes.
5272
5273 2003-09-06  Angus Leeming  <leeming@lyx.org>
5274
5275         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5276         one, inside testInvariant.
5277
5278         * PrinterParams.C: new file.
5279         * PrinterParams.[Ch]: move the function bodies out of line.
5280
5281 2003-09-06  Angus Leeming  <leeming@lyx.org>
5282
5283         * ParagraphParameters.h: forward declare ParameterStruct rather than
5284         including its header file.
5285         (depth): moved out-of-line.
5286
5287 2003-09-06  Angus Leeming  <leeming@lyx.org>
5288
5289         * BufferView_pimpl.h:
5290         * kbmap.h:
5291         * kbsequence.h:
5292         * lyxfunc.h: forward declare LyXKeySym rather than
5293         #include "frontends/LyXKeySym.h".
5294
5295         * BufferView_pimpl.C:
5296         * kbmap.C:
5297         * kbsequence.C:
5298         * lyxfunc.C: associated changes.
5299
5300 2003-09-06  Angus Leeming  <leeming@lyx.org>
5301
5302         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5303         As a result, can remove the #include "insets/inset.h" from BufferView.h
5304
5305 2003-09-06  Angus Leeming  <leeming@lyx.org>
5306
5307         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5308         As a result, can remove the #include "insets/inset.h" from BufferView.h
5309
5310 2003-09-06  Angus Leeming  <leeming@lyx.org>
5311
5312         * buffer_funcs.C:
5313         * buffer.h:
5314         * bufferlist.C:
5315         * BufferView.C:
5316         * bufferview_funcs.C:
5317         * BufferView_pimpl.C:
5318         * CutAndPaste.C:
5319         * lyx_cb.C:
5320         * lyxfunc.C:
5321         * paragraph.h:
5322         * ParagraphParameters.C:
5323         * tabular.C:
5324         * text3.C:
5325         * toc.C:
5326         * undo_funcs.C:
5327         * frontends/controllers/ControlDocument.C:
5328         * insets/insetcaption.C: rearrange the #includes into some sort of
5329         coherent order.
5330
5331         * buffer.h: remove #includes ErrorList.h, undo.h
5332
5333 2003-09-06  Angus Leeming  <leeming@lyx.org>
5334
5335         * support/types.h: add a 'depth_type' typedef, used to store the
5336         nesting depth of a paragraph.
5337
5338         * paragraph.h:
5339         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5340         defining explicitly.
5341
5342         * buffer.h:
5343         * paragraph_funcs.h:
5344         * ParagraphParameters.h:
5345         * sgml.h: use lyx::depth_type rather than Paragraph or
5346         ParameterStruct's depth_type.
5347
5348         * buffer.h
5349         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5350
5351         * BufferView.C:
5352         * BufferView_pimpl.C:
5353         * CutAndPaste.C:
5354         * ParagraphParameters.C:
5355         * buffer_funcs.C:
5356         * bufferlist.C:
5357         * bufferview_funcs.C:
5358         * lyx_cb.C:
5359         * lyxfunc.C:
5360         * tabular.C:
5361         * text3.C:
5362         * toc.C:
5363         * undo_funcs.C:
5364         * frontends/LyXView.C:
5365         * frontends/controllers/ControlDocument.C:
5366         * frontends/controllers/ControlErrorList.C:
5367         * insets/insetbibitem.C:
5368         * insets/insetbranch.C:
5369         * insets/insetcaption.C:
5370         * insets/insetcollapsable.C:
5371         * insets/insetenv.C:
5372         * insets/insetert.C:
5373         * insets/insetfloat.C:
5374         * insets/insetfoot.C:
5375         * insets/insetfootlike.C:
5376         * insets/insetnewline.C:
5377         * insets/insetquotes.C:
5378         * insets/insettabular.C:
5379         * insets/insettext.C:
5380         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5381
5382         * frontends/controllers/ControlChanges.C: #include "changes.h".
5383
5384 2003-09-06  Angus Leeming  <leeming@lyx.org>
5385
5386         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5387         than #including paragraph.h.
5388
5389         * ParagraphList.h:
5390         * RowList.h: deleted. Superfluous.
5391
5392         * CutAndPaste.h:
5393         * iterators.h:
5394         * lyxcursor.h:
5395         * lyxtext.h:
5396         * text_funcs.h:
5397         * undo.h:
5398         * undo_funcs.h:
5399         * insets/inset.h:
5400         * insets/insettext.h: use ParagraphList_fwd.h rather than
5401         ParagraphList.h.
5402
5403         * paragraph.h: don't forward declare ParagraphList.
5404
5405         * buffer.h:
5406         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5407         rather than ParagraphList.h. paragraph.h is still needed for the
5408         Paragraph::depth_type parameters.
5409
5410         * textcursor.h: enable it to compile stand-alone in light of the
5411         above changes.
5412
5413         * bufferview_funcs.C:
5414         * iterators.C:
5415         * lyxfunc.C:
5416         * lyxrow_funcs.C:
5417         * paragraph.C:
5418         * rowpainter.C:
5419         * text.C:
5420         * text2.C:
5421         * text3.C:
5422         * text_funcs.C:
5423         * textcursor.C:
5424         * undo.C:
5425         * frontends/controllers/ControlParagraph.C:
5426         * frontends/controllers/ControlTabular.C:
5427         * insets/insetmarginal.C:
5428         * insets/insetminipage.C:
5429         * insets/insetnote.C:
5430         * insets/insetoptarg.C: add header files needed to compile again.
5431
5432 2003-09-06  Angus Leeming  <leeming@lyx.org>
5433
5434         * RowList_fwd.h: new file, forward-declaring Row rather than
5435         #including lyxrow.h.
5436
5437         * lyxrow_funcs.h:
5438         * lyxtext.h:
5439         * paragraph.h:
5440         * insets/insettext.h: use it instead of RowList.h
5441
5442         * bufferview_funcs.C:
5443         * lyxfunc.C:
5444         * lyxrow_funcs.C:
5445         * paragraph.C:
5446         * rowpainter.C:
5447         * text.C:
5448         * text2.C:
5449         * text3.C: #include "RowList.h".
5450
5451 2003-09-05  Angus Leeming  <leeming@lyx.org>
5452
5453         * factory.C (createInset):
5454         * vspace.C (c-tor): replace sscanf call with an istringstream.
5455         * ispell.C: re-add missing HP/UX headers.
5456         * lyxserver.C: re-add missing  os2 headers.
5457
5458 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5459
5460         * BranchList.C:
5461         * graph.C:
5462         * ispell.C:
5463         * lastfiles.C:
5464         * lyx_cb.C:
5465         * lyxserver.C:
5466         * texrow.C:
5467         * text3.C: re-add missing system headers, needed for 2.95.2.
5468
5469 2003-09-05  Angus Leeming  <leeming@lyx.org>
5470
5471         Changes most place everywhere due to the removal of using directives
5472         from support/std_sstream.h.
5473
5474 2003-09-05  Angus Leeming  <leeming@lyx.org>
5475
5476         Replace LString.h with support/std_string.h,
5477         Lsstream.h with support/std_sstream.h,
5478         support/LIstream.h with support/std_istream.h,
5479         support/LOstream.h with support/std_ostream.h.
5480
5481         Changes resulting throughout the tree.
5482
5483 2003-09-05  Angus Leeming  <leeming@lyx.org>
5484
5485         * sgml.h: ensure that the header file can be compiled stand-alone.
5486         * *.C: strip out redundant #includes. (320 in total.)
5487
5488 2003-09-04  Angus Leeming  <leeming@lyx.org>
5489
5490         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5491         here (from getPackages).
5492
5493         * debug.[Ch]: add a new EXTERNAL tag.
5494
5495 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5496
5497         * text2.C (cursorEnd): simplify
5498         (setCursor): adjust
5499         (getColumnNearX): adjust
5500
5501         * text.C (computeBidiTables): adjust
5502         (fill): adjust
5503
5504         * rowpainter.C (paintChars): adjust
5505         (paintSelection): adjust
5506         (paintChangeBar): adjust
5507         (paintText): adjust
5508
5509         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5510         lastPos instead.
5511         (numberOfSeparators): adjust
5512
5513 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5514
5515         * LyXAction.C:
5516         * box.[Ch]:
5517         * lfuns.h:
5518         * lyxfunc.C:
5519         * text3.C: Restricts the mouse click functionality
5520         of insets like bibtex, include, toc and floatlist to the visible
5521         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5522         up the dialogs. Cursor has to be in front of the inset (i.e.
5523         start of row) for this to function.
5524
5525 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5526
5527         * bufferview_funcs.C (currentState): output row information
5528
5529 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5530
5531         * bufferview_funcs.C (currentState): output paragraph position
5532
5533 2003-09-04  Angus Leeming  <leeming@lyx.org>
5534
5535         * FloatList.h: move out #include "Floating.h".
5536         * LaTeX.h: move out #include "DepTable.h".
5537         * LyXAction.h: move out #include "funcrequest.h".
5538         * buffer.h: move out #include "author.h", "iterators.h".
5539         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5540         * lyx_main.h: move out #include "errorlist.h".
5541         * lyxfunc.h: move out #include "FuncStatus.h".
5542         * lyxtext: move out #include "lyxcursor.h".
5543         * paragraph_pimpl.h: move out #include "counters.h".
5544
5545 2003-09-03  Angus Leeming  <leeming@lyx.org>
5546
5547         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5548         preamble_snippets list, enabling us to add snippets to the preamble
5549         only if the snippet was not there already.
5550
5551 2003-09-04  Angus Leeming  <leeming@lyx.org>
5552
5553         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5554
5555 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5556
5557         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5558         update
5559
5560 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5561
5562         * BranchList.C: point fix, earlier forgotten
5563
5564 2003-09-02  Angus Leeming  <leeming@lyx.org>
5565
5566         * box.C (contains): renamed from 'contained' after a fantastic
5567         amount of hot air.
5568
5569 2003-09-02  John Levon  <levon@movementarian.org>
5570
5571         * BufferView.C:
5572         * lyxcursor.h:
5573         * lyxcursor.C:
5574         * lyxfunc.C:
5575         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5576
5577 2003-09-02  John Levon  <levon@movementarian.org>
5578
5579         * text2.C: simplification of cursorEnd(), including partial
5580         fix for bug 1376
5581
5582 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5583
5584         * buffer.C (readFile): add a space
5585
5586 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5587
5588         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5589
5590 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5591
5592         * buffer.C (readFile): new function, take a filename and a
5593         ParagraphList::iterator
5594         (readFile): adjust
5595         (readFile): adjust, make it private. don't use setStream, make
5596         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5597         always contain the filename.
5598
5599         * BufferView.C (insertLyXFile): simplify and make it work for
5600         gzipped files.
5601
5602 2003-08-30  John Levon  <levon@movementarian.org>
5603
5604         * Makefile.am: fix dist (from Kayvan)
5605
5606 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5607
5608         * most files: change to use const Buffer refs
5609
5610 2003-08-27  André Pönitz  <poenitz@gmx.net>
5611
5612         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5613         on top of ownerPar().
5614
5615 2003-08-27  John Levon  <levon@movementarian.org>
5616
5617         * funcrequest.C: properly initialise POD members
5618
5619 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5620
5621         * lyxtext.h (top_y): move top_y from here
5622         * text.C:
5623         * text2.C:
5624         * text3.C:
5625         * BufferView.[Ch]:
5626         * BufferView_pimpl.[Ch]: to here
5627         * frontends/screen.C:
5628         * insets/insettabular.C:
5629         * insets/insettext.C: adjust
5630         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5631
5632 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5633
5634         * BufferView.[Ch]:
5635         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5636
5637 2003-08-26  André Pönitz  <poenitz@gmx.net>
5638
5639         * paragraph_func.[Ch] (outerPar): new function
5640
5641         * paragraph.C:
5642         * paragraph_funcs.C:
5643         * paragraph_funcs.h:
5644         * paragraph_pimpl.C:
5645         * text2.C: remove Inset::par_owner
5646
5647 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5648
5649         * lyxrow_funcs.C:
5650         * lyxtext.h:
5651         * text.C:
5652         * text2.C: eliminates the needFullRow/display() stuff
5653         altogether, putting the logic in metrics/draw in the insets.
5654
5655 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5656
5657         * text2.C (redoParagraphInternal, redoParagraphs):
5658         * text.C (redoParagraph): add a call to updateRowPositions at the
5659         end of each 'metrics-like' call. Remove all others.
5660         (getRow): remove the 'y-computing' version.
5661         (getRowNearY): do not compute nor return the real y. Solve the
5662         'y < 0' problem and simplify.
5663
5664 2003-08-22  Angus Leeming  <leeming@lyx.org>
5665
5666         * *.[Ch]: clean-up of licence and author blurbs.
5667         Also move config.h out of a few .h files and into a few .C files.
5668
5669 2003-08-22  André Pönitz  <poenitz@gmx.net>
5670
5671         * lyxrow.[Ch]: add x_ and *fill_ members
5672
5673         * lyxtext.h:
5674         * text.C:
5675         * rowpainter.C:
5676         * text2.C: adjust/remove prepareToPrint() calls
5677
5678 2003-08-22  André Pönitz  <poenitz@gmx.net>
5679
5680         * lyxrow.[Ch]: add  end_ member
5681
5682         * lyxrow_funcs.C: use LyXRow::end_
5683
5684         * lyxtext.h (singleWidth): add LyXFont parameter
5685
5686         * rowpainter.C:
5687         * text2.C: adjust LyXText::singleWidth() calls
5688
5689         * text.C (redoParagraph): simplify row breaking logic
5690
5691
5692 2003-08-19  André Pönitz  <poenitz@gmx.net>
5693
5694         * funcrequest.C: initialize button_ member
5695
5696         * text3.C:
5697         * rowpainter.[Ch]: interface consolidation
5698
5699 2003-08-18  André Pönitz  <poenitz@gmx.net>
5700
5701         * BufferView.C:
5702         * BufferView_pimpl.C:
5703         * lyxfind.C:
5704         * paragraph_funcs.C:
5705         * rowpainter.C:
5706         * text3.C: remove LyXScreen::draw() and fitCursor calls
5707
5708         * BranchList.h: remove spurious semicolons
5709
5710         * MenuBackend.C: fix branchlist related crash
5711
5712 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5713
5714         * BranchList.[Ch]:
5715         * InsetList.[Ch]:
5716         * LColor.[Ch]:
5717         * LyXAction.C:
5718         * Makefile.am:
5719         * MenuBackend.[Ch]:
5720         * bufferparams.[Ch]:
5721         * factory.C:
5722         * lfuns.h:
5723         * lyxfunc.C:
5724         * text3.C: implements the 'branch inset'
5725         idea. This allows the output of various versions of a document
5726         from a single source version, selectively outputing or suppressing
5727         output of parts of the text.
5728         This implementation contains a 'branch list editor' in a separate
5729         tab of the document settings dialog. Branches are user definable
5730         and have a "display colour" to distinguish them on-screen.
5731
5732         ColorHandler was somewhat cleaned up.
5733         (1) make possible a dynamically growing LColor list by allowing
5734         the graphic context cache to grow along (vector);
5735         (2) eliminate an IMHO unnecessary step in colour allocation.
5736
5737 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5738
5739         * BufferView_pimpl.C: compile fix
5740
5741 2003-08-15  André Pönitz  <poenitz@gmx.net>
5742
5743         * rowpainter.C: remove extra metrics calls
5744
5745         * lyxtext.h: merge the two constructors into a single one,
5746           pass reference to owner's par list
5747
5748         * BufferView_pimpl.C:
5749         * text.C:
5750         * text2.C: adjust
5751
5752 2003-08-15  André Pönitz  <poenitz@gmx.net>
5753
5754         * lyxrow_funcs.[Ch]:
5755         * lyxtext.h:
5756         * paragraph.h:
5757         * paragraph_funcs.C:
5758         * rowpainter.C:
5759         * text.C:
5760         * text2.C:
5761         * text3.C:
5762         * text_funcs.C: split LyXText::rowlist_ into individual
5763         Paragraph::rows_ chunks
5764
5765         * BufferView.[Ch]:
5766         * BufferView_pimpl.[Ch]:
5767         * lyxfind.C:
5768         * lyxtext.h:
5769         * text3.C: remove toggleSelection()
5770
5771 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5772
5773         * bufferlist.C: beautify two alerts (shorter text of buttons)
5774         * buffer.C: Remove redundant ' ' from message
5775         * tabular.h:
5776         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5777         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5778         rename VALIGN_CENTER to VALIGN_MIDDLE
5779
5780 2003-08-11  André Pönitz  <poenitz@gmx.net>
5781
5782         * lyxtext.h (getPar):
5783         * text.C: new function
5784
5785 2003-08-11  André Pönitz  <poenitz@gmx.net>
5786
5787         * Makefile.am:
5788         * tracer.[Ch]: remove unneeded files
5789
5790         * InsetList.[Ch]: remove resizeInsetsLyXText()
5791
5792         * lyxtext.h:
5793         * text.C:
5794         * text2.C:
5795         * text3.C: merge insertParagraphs() and appendParagraph()
5796         remove breakAgain(), update()
5797
5798         * BufferView_pimpl.[Ch]:
5799         * bufferview_funcs.[Ch]:
5800         * lyxfunc.C:
5801         * paragraph.[Ch]:
5802         * rowpainter.C:
5803         * tabular.C: adjust after text & InsetList changes.
5804
5805 2003-08-08  André Pönitz  <poenitz@gmx.net>
5806
5807         * text.C (insertChar, backspace): replace rowlist fiddling
5808         with rebreak of full par
5809
5810         * lyxtext.h:
5811         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5812         checkParagraph, updateInset): removed
5813
5814 2003-08-07  André Pönitz  <poenitz@gmx.net>
5815
5816         * paragraph.C:
5817         * text3.C: merge some LFUN handlers, remove dead code
5818
5819 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5820
5821         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5822
5823 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5824
5825         * text2.C (DEPM): fix part of bug 1255 and 1256
5826
5827 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5828
5829         * BufferView_pimpl.C (workAreaDispatch): change to use
5830         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5831         that are no mouse related.
5832
5833 2003-08-05  André Pönitz  <poenitz@gmx.net>
5834
5835         * BufferView.[Ch]:
5836         * BufferView_pimpl.[Ch]:
5837         * bufferview_funcs.C:
5838         * text2.C:
5839         * text3.C: rip out "deep update"
5840
5841         * textcursor.[Ch] (last_sel_cursor): remove unused member
5842
5843 2003-08-04  André Pönitz  <poenitz@gmx.net>
5844
5845         * BufferView.[Ch]:
5846         * BufferView_pimpl.[Ch]:
5847         * ParagraphParameters.C:
5848         * bufferview_funcs.C:
5849         * lyx_cb.C:
5850         * lyxfind.C:
5851         * lyxfunc.C:
5852         * text.C:
5853         * text2.C:
5854         * text3.C: replace "complicated" BufferView::update(...) calls with
5855         simpler ones.
5856
5857         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5858
5859 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5860
5861         * Makefile.am (lyx_SOURCES): add paper.h
5862
5863 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5864
5865         * Makefile.am: move things around so that both lyx-qt and
5866         lyx-xforms can be built (according to --with-frontend). Then lyx
5867         is a symbolic link to lyx-[firstfrontend]
5868
5869 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5870
5871         * Always use std::endl with lyxerr
5872
5873 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5874
5875         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5876
5877 2003-08-01  André Pönitz  <poenitz@gmx.net>
5878
5879         * BufferView.[Ch]:
5880         * BufferView_pimpl.[Ch]:
5881         * lyxfunc.C:
5882         * text3.C: merge BufferView::repaint() and BufferView::update()
5883
5884 2003-08-01  José Matos  <jamatos@lyx.org>
5885
5886         * buffer.[Ch]: file_format is no longer a buffer data element.
5887
5888 2003-08-01  André Pönitz  <poenitz@gmx.net>
5889
5890         * BufferView.C:
5891         * lyxtext.h:
5892         * text.C:
5893         * text2.C: make redoParagraph more independent of current cursor
5894
5895         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5896         * text.C:
5897         * text2.C: remove unneeded members
5898
5899 2003-07-30  André Pönitz  <poenitz@gmx.net>
5900
5901         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5902
5903         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5904           create a single function...
5905
5906         * paragraph_funcs.C (moveItem): ... here.
5907
5908         * text.C:
5909           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5910
5911 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5912
5913         * LColor.[Ch]: Add comment and greyedout logical colors.
5914
5915 2003-07-30  André Pönitz  <poenitz@gmx.net>
5916
5917         * tabular.C: don't use Assert too heavily. This crashes where it
5918           shouldn't
5919
5920 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5921
5922         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5923         is disabled (bug 1232)
5924
5925 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5926
5927         * factory.C: limited 'arg' scope
5928
5929 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5930
5931         * factory.C: fixed Note submenu issues
5932
5933 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5934
5935         * factory.C: submenu for Note/Comment/Greyedout
5936
5937 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5938
5939         * lyx_main.C (LyX):
5940         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5941
5942 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5943
5944         * LaTeXFeatures.C:
5945         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5946         greyedout. Patch provided by Jürgen Spitzmüller.
5947
5948 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5949
5950         * kbmap.C (read): fix error message when reading bind files
5951
5952 2003-07-29  Angus Leeming  <leeming@lyx.org>
5953
5954         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5955         certainly does not do what it purports to do. I am doing it, and
5956         us, a favour by killing it.
5957
5958 2003-07-28  José Matos  <jamatos@lyx.org>
5959
5960         * buffer.C (readBody, do_writeFile):
5961         * paragraph.C(readParagraph): \end_document replaces \the_end.
5962
5963 2003-07-29  André Pönitz  <poenitz@gmx.net>
5964
5965         * BufferView.[Ch]:
5966         * BufferView_pimpl.[Ch]:
5967         * lyxfunc.C:
5968         * text2.C:
5969         * text3.C:
5970         * textcursor.[Ch]: remove toggleToggle & Co
5971
5972 2003-07-28  José Matos  <jamatos@fep.up.pt>
5973
5974         * buffer.C (readParagraph):
5975         * params_func (readParToken, readParagraph):
5976         * paragraph.C (write): \layout -> \begin_layout.
5977
5978 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5979
5980         * lyxlex_pimpl.C (setFile): clean up slightly.
5981
5982         * bufferparams.h: add compressed var
5983
5984         * buffer_funcs.C (readFile): adjust for LyXLex change
5985         (newFile): ditto + simplify
5986
5987         * buffer.C (writeFile): handle writing of compressed files
5988
5989         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5990         Check if the file is compressed and set a bufferparm if so.
5991
5992         * Makefile.am (lyx_LDADD): remove explicit -lz
5993
5994 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5995
5996         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5997         makeDocBookFile): put the real LyX version in the first line of
5998         the file
5999
6000         * version.h:
6001         * version.C.in: remove lyx_docversion
6002
6003         * tabular.C (write_attribute): add a template-based version to
6004         write enums properly
6005
6006 2003-07-28  André Pönitz  <poenitz@gmx.net>
6007
6008         * lyxtext.h:
6009         * text.C:
6010         * text2.C:
6011         * text3.C: use doubles again for x-coordinates. They are needed.
6012
6013 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6014
6015         * messages.C (getLocaleDir): use lyx_localedir()
6016
6017         * lyxlex_pimpl.C (setFile): compress stuff
6018
6019         * buffer.C (writeFile): add some compression stuff
6020         (do_writeFile): new func, dont call expliti close... will this
6021         breake anything?
6022
6023         * Makefile.am (lyx_LDADD): add -lz
6024
6025 2003-07-28  José Matos  <jamatos@fep.up.pt>
6026
6027         * buffer.C: increment file format.
6028         * paragraph_funcs (readParagraph, readParToken):
6029         * paragraph.C (readParagraph): add \end_layout.
6030
6031 2003-07-27  Angus Leeming  <leeming@lyx.org>
6032
6033         * Makefile.am: remove special casing for configure-time setting of
6034         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6035
6036         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6037         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6038
6039 2003-07-26  André Pönitz  <poenitz@gmx.net>
6040
6041         * paragraph_func.[Ch]:
6042         * paragraph.C (realizeFont): inline it whereever it is used
6043
6044         * rowpainter.C:
6045         * text.C:
6046         * text2.C:
6047         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6048
6049
6050 2003-07-26  André Pönitz  <poenitz@gmx.net>
6051
6052         *       lyxtext.h:
6053         * text.C:
6054         * text2.C: get rid of LyXText::need_break_row
6055
6056 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6057
6058         * toc.[Ch]: put namespace toc inside namespace lyx
6059
6060         * MenuBackend.C (expandToc2): adjust for lyx::toc
6061         (expandToc): ditto
6062
6063         * lyxfunc.C (dispatch): adjust for lyx::find
6064
6065         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6066         lyx::find instead. Reorganize a bit.
6067         (LyXReplace): rename to replace
6068         (LyXFind): rename to find
6069
6070         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6071         (dispatch): ditto
6072
6073 2003-07-26  André Pönitz  <poenitz@gmx.net>
6074
6075         * text.C (setHeightOfRow): restrict scope of temporary variable
6076
6077         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6078           code (never has been used?)
6079
6080 2003-07-27  Asger Alstrup  <alstrup@local>
6081
6082         * text.C (fill): Optimise algorithm to exploit that we can reuse
6083         the LyXFont for many characters.
6084         (setHeightOfRow): Same thing.
6085         (rowBreakPoint): Same thing.
6086
6087 2003-07-26  Asger Alstrup  <alstrup@local>
6088
6089         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6090
6091         * text.C (singleWidth): Spurious font copying in hot-spot
6092         singleWidth avoided. Reorder tests for arabic for efficiency.
6093
6094         * text.C (fill): handle empty paragraphs better.
6095
6096 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6097
6098         * ispell.C:
6099         * encoding.h: add includes
6100
6101         * lyxrc.C: remove reading of bind files
6102
6103         * lyx_main.C (init): setup bindings and menus only if we have a
6104         gui.
6105
6106         * kbmap.C (read): new method. Do the actual reading of bind
6107         files.
6108
6109         * converter.C (dvipdfm_options):
6110         * bufferparams.C:
6111         * lyxrc.C (read):
6112         (output): adapt PAPER_* enums.
6113
6114         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6115
6116         * bufferparams.h: remove paper-related enums from there
6117
6118         * paper.h: New file. A trivial header file to hold paper-related
6119         enums. It should later expand to contain many paper-related
6120         horrors access.
6121
6122         * lyxrc.C: declare extern displayTranslator
6123
6124 2003-07-27  José Matos  <jamatos@fep.up.pt>
6125
6126         * tabular.[Ch] (linuxdoc): add support for tables and figures
6127         (linuxdoc).
6128
6129 2003-07-27  José Matos  <jamatos@fep.up.pt>
6130
6131         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6132         consistency in both functions.
6133         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6134
6135 2003-07-26  Asger Alstrup  <alstrup@local>
6136
6137         * rowpainter.C (paintRows): Change algorithm to work directly on
6138         the insets rather than asking every character in the document
6139         whether its an inset.
6140
6141 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6142
6143         * buffer.C (openFileWrite): factorize some code
6144
6145 2003-07-26  Angus Leeming  <leeming@lyx.org>
6146
6147         * lyx_cb.C:
6148         * lyx_main.[Ch]: replace occurances of system_tempdir with
6149         os::getTmpDir().
6150
6151 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6152
6153         * rename Inset to InsetOld
6154
6155 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6156
6157         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6158         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6159         which I think is a bit clearer. EDIT is gone, since it was
6160         premature optimisation, and broken for mathed anyway.
6161         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6162         with cursor positioning in insets as well (math insets still do not
6163         work, but that's a different story anyway.) It mysteriously
6164         crashes sometimes with undo in the first paragraph, but I'm fairly
6165         confident that this is a compiler bug.
6166
6167 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6168
6169         * paragraph.C (Paragraph): adjust for new clone return type
6170         (operator==): ditto
6171         (copyIntoMinibuffer): ditto
6172
6173 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6174
6175         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6176         by not having a special case, and always doing a full rebreak of
6177         the document after undo.
6178
6179 2003-07-23  Angus Leeming  <leeming@lyx.org>
6180
6181         * factory.C (createInset): InsetExternal::setParams now takes a
6182         Buffer const * arg.
6183
6184 2003-07-23  Angus Leeming  <leeming@lyx.org>
6185
6186         * factory.C (createInset): changed interface to the external and
6187         graphics mailers' string2params functions.
6188
6189 2003-07-23  Angus Leeming  <leeming@lyx.org>
6190
6191         * factory.C (createInset): pass a
6192         Buffer const * parameter to InsetExternalMailer's string2params.
6193
6194 2003-07-22  John Levon  <levon@movementarian.org>
6195
6196         * Thesaurus.h: include the right aiksaurus header
6197
6198 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6199
6200         * MenuBackend.C (expand): check menu shortcuts unconditionally
6201
6202 2003-07-21  Angus Leeming  <leeming@lyx.org>
6203
6204         * factory.C (createInset): pass a
6205         buffer_path parameter to InsetGraphicsMailer's string2params.
6206
6207 2003-07-21  Angus Leeming  <leeming@lyx.org>
6208
6209         * BufferView_pimpl.C (buffer):
6210         * buffer.C (d-tor):
6211         * lyx_main.C (LyX):
6212         * lyxfunc.C (dispatch):
6213         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6214         rather than the grfx shortcut.
6215
6216 2003-07-21  André Pönitz  <poenitz@gmx.net>
6217
6218         * rowpainter.C: remove unused variables
6219
6220         * tabular_funcs.C:
6221         * tabular_funcs.h: move to tabular.C
6222         * Makefile.am: adjust
6223
6224         * tabular.[Ch]: basic optical cleaning
6225
6226         * author.h: pass references, not values
6227
6228 2003-07-18  André Pönitz  <poenitz@gmx.net>
6229
6230         * lyxtext.h:
6231         * metricsinfo.C:
6232         * metricsinfo.h:
6233         * rowpainter.C:
6234         * text.C:
6235         * text2.C:
6236         * text3.C: two-phase drawing for InsetText and InsetTabular
6237         some float -> int changes.
6238
6239 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6240
6241         * lyx_main.C: fix the fix
6242
6243 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6244
6245         * lyx_main.C: fix a crash in batch mode if no files specified
6246         * converter.C: ws
6247
6248 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6249
6250         * format.[Ch] (papersize): moved to BufferParams
6251         * converter.[Ch] (dvips_options): moved to BufferParams
6252         (dvipdfm_options): moved to anon namespace
6253         * bufferparams.[Ch]: added above functions.
6254
6255 2003-07-17  André Pönitz  <poenitz@gmx.net>
6256
6257         * lyxtext.h:
6258         * rowpainter.C:
6259         * text2.C: don't call inset->update() anymore
6260
6261         * metricsinfo.[Ch]: add convenience constructor
6262
6263 2003-07-16  André Pönitz  <poenitz@gmx.net>
6264
6265         * lyxcursor.[Ch]:
6266         * lyxfunc.[Ch]:
6267         * text.C:
6268         * text2.C: replace the LyXCursor::irow_ member with
6269          on-demand computation of the value
6270
6271 2003-07-16  John Levon  <levon@movementarian.org>
6272
6273         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6274
6275 2003-07-15  André Pönitz  <poenitz@gmx.net>
6276
6277         * text.C:
6278         * text2.C: remove no more needed refresh_row
6279
6280 2003-07-15  André Pönitz  <poenitz@gmx.net>
6281
6282         * lyxtext.h:
6283         * rowpainter.C:
6284         * text2.C:
6285         * text3.C: refresh_status tristate -> need_update bool
6286
6287 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6288
6289         * lyxtext.h (init): remove reinit argument (act as if always true)
6290         * text2.C: adjust to that
6291
6292 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6293
6294         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6295         * text3.C: use it to delete selections in some cases
6296         (bugs 441, 673, 702, 954).
6297
6298 2003-07-14  André Pönitz  <poenitz@gmx.net>
6299
6300         * rowpainter.[Ch]: reduce interface
6301
6302 2003-07-14  André Pönitz  <poenitz@gmx.net>
6303
6304         * BufferView_pimpl.C:
6305         * text2.C: adjust after removing unused BufferView * argument
6306
6307 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6308
6309         * text2.C (init): fix a crash fired on resize
6310
6311 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6312
6313         * buffer.[Ch]: added new closing signal
6314         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6315         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6316         BufferView::Pimpl via the closing the signal
6317
6318 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6319
6320         * buffer.[Ch]: take out all bv-related from buffer
6321         * BufferView.C:
6322         * BufferView_pimpl.[Ch]: connect to new signals
6323         * CutAndPaste.C: removed useless asserts
6324         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6325         * lyxvc.[Ch]:
6326         * vc-backend.[Ch]:
6327         * lyxfunc.C: moved view-related funciontality from vc here
6328         * paragraph.C: removed outdated comments
6329         * text.C: ws
6330
6331 2003-07-10  André Pönitz  <poenitz@gmx.net>
6332
6333         * BufferView_pimpl.C:
6334         * tabular.h:
6335         * tabular_funcs.C:
6336         * text.C:
6337         * text2.C: remove InsetText::InnerCache, clean up consequences
6338
6339 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6340
6341         * ispell.C: fix two typos in error messages
6342
6343 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6344
6345         * Extend Note inset to other forms of annotation like Comment
6346         and Greyedout. Right button click gives dialog.
6347
6348         Files modified or added (+):
6349
6350         * insetnote.[Ch]
6351         * FormNote.[Ch]      +
6352         * ControlNote.[Ch]   +
6353         * form_note.fd       +
6354         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6355         frontends/controllers
6356         * xforms/Dialogs.C
6357         * factory.C
6358
6359 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6360
6361         * aspell.C: add missing namespace lyx::support
6362
6363 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6364
6365         * BufferView.[Ch] (newFile): Add
6366         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6367         * LaTeX.[Ch] (message): added this signal and use it
6368         * buffer.[Ch] (busy, message): added these signals and use them
6369         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6370         * converter.C:
6371         * exporter.C:
6372         * format.C:
6373         * importer.C: use buffer signals instead of direct bv calling
6374         * lyx_cb.[Ch] (ShowMessage): removed
6375         * lyx_main.C:
6376         * lyxfunc.C:
6377         * paragraph_funcs.C:
6378         * text2.C: use buffer signals
6379
6380 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6381
6382         * introduce namespace lyx::graphics
6383
6384 2003-07-02  André Pönitz  <poenitz@gmx.net>
6385
6386         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6387
6388 2003-07-01  André Pönitz  <poenitz@gmx.net>
6389
6390         * text.C:
6391         * text2.C:
6392         * text3.C:
6393         * text_funcs.[Ch]:
6394         * textcursor.h:
6395         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6396           text*.C to text_func.C
6397
6398 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6399
6400         * introduce namespace lyx::support
6401
6402 2003-06-30  André Pönitz  <poenitz@gmx.net>
6403
6404         * Chktex.C:
6405         * funcrequest.C:
6406         * lyxtext.h:
6407         * text.C: re-enable --with-included-string
6408
6409 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6410
6411         * textcursor.C: add <config.h>
6412
6413         * text.C (getWord): remove const from word_location arg
6414
6415         * lyxvc.C (getLogFile): fix const type order
6416
6417         * lyxtext.h: remove const from word_location arg, add arg name
6418
6419         * lyxlayout.h: currect type on labeltype.
6420
6421         * importer.C: correct \file
6422
6423         * converter.C (intToFormat): use std:: on ret val, ws changes
6424
6425         * bufferlist.h: correct \file
6426
6427         * buffer.C (makeLinuxDocFile): fix const type order
6428         (makeDocBookFile): ditto
6429         (fillWithBibKeys): use std:: on stdlib args.
6430
6431         * CutAndPaste.C: fix authors.
6432         (availableSelections): use std:: on return vector
6433
6434 2003-06-27  André Pönitz  <poenitz@gmx.net>
6435
6436         * BufferView_pimpl.C:
6437         * bufferview_funcs.C:
6438         * lyxcursor.C:
6439         * lyxcursor.h:
6440         * lyxfunc.C:
6441         * lyxtext.h:
6442         * rowpainter.C:
6443         * text.C:
6444         * text2.C:
6445         * text3.C: remove LyXCursor::row_ member
6446
6447         * lyxtext.h:
6448         * text.C: rename fullRebreak() to partialRebreak() and implement
6449           a fullRebreak() that really bereks fully
6450
6451         * textcursor.h: new struct for cursor-related data
6452
6453 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6454
6455         * lyx_main.C (LyX): get full path of document loaded on the
6456         command line
6457
6458 2003-06-26  André Pönitz  <poenitz@gmx.net>
6459
6460         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6461           remove unused/broken operator>,<,>=.
6462
6463         *       text.C: remove only use of broken operator<= in an Assert().
6464
6465 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6466
6467         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6468         moved errorlist_.clear to showErrorList
6469
6470 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6471
6472         * converter.C (scanLog, runLaTeX):
6473         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6474         move the bv->showErrorList call to the callers
6475         * lyxfunc.C: i.e. here...
6476         * text2.C: and here
6477         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6478         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6479         namespace, the second to...
6480         * buffer_funcs (BufferFormat, parseErrors): added
6481         * errorlist.C (ErrorList(TeXErrors const &)): removed
6482
6483 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6484
6485         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6486
6487 2003-06-24  "Garst R. Reese" <reese@isn.net>
6488
6489         * debug.C: fix typo
6490
6491 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6492
6493         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6494
6495         * version.C.in: change docversion to 1.4
6496
6497 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6498
6499         * buffer.C: fix a bug just introduced
6500
6501 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6502
6503         * buffer.[Ch]: added the parseError signal and use it, removed
6504         sgmlError
6505         * BufferView.[Ch] (addError): moved to ...
6506         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6507         to the Buffer::parseError signal to catch (guess what) parse errors
6508         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6509
6510 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6511
6512         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6513         ability to create a buffer and to return an existing one from
6514         the list. Moved these functions to...
6515         * buffer_funcs.[Ch]: added
6516         * BufferView.[Ch] (loadLyXFile): added
6517         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6518         job removed from bufferlist::loadLyXFile.
6519         * buffer.C (setReadOnly): make it work without view
6520         (i.e added an if (users))
6521
6522 2003-06-19  Angus Leeming  <leeming@lyx.org>
6523
6524         * lfuns.h:
6525         * LyXAction.C (init):
6526         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6527         with LFUN_DIALOG_SHOW <name> <data>.
6528
6529 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6530
6531         * CutAndPaste.C (availableSelections): small compilation fix for
6532         ancient (gcc 2.9x) compilers
6533
6534 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6535
6536         * text3.C (cursorNext): add tmp var
6537
6538         * text2.C (updateCounters): for function calling out of for clause
6539         (replaceSelectionWithString): ditto
6540         (insertStringAsParagraphs): ditto
6541         (getColumnNearX): add tmp var
6542         (setCursorFromCoordinates): add tmp var
6543         (cursorDownParagraph): add tmp var
6544         (deleteEmptyParagraphMechanism): add tmp var
6545
6546         * text.C (insertChar): add tmp var
6547
6548         * rowpainter.C (paintDepthBar): add tmp var
6549
6550         * CutAndPaste.C (availableSelections): potentially check all
6551         paragraphs in a cut to fill the shown strings.
6552
6553 2003-06-18  André Pönitz  <poenitz@gmx.net>
6554
6555         * kbmap.[Ch]: use vector<> instead of list<>
6556
6557 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6558
6559         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6560         pasteSelection with index
6561
6562         * text2.C (pasteSelection): modify, call pasteSelection with index
6563
6564         * paragraph.C (asString): reimplement version with no interval to
6565         call the one with interval.
6566
6567         * lyxtext.h: add index arg to pasteSelection
6568
6569         * MenuBackend.C (MenuItem): handle PasteRecent
6570         (Menu::read::Menutags): add md_pasterecent
6571         (read): handle it
6572         (expandPasteRecent): new function
6573         (expand): use it
6574
6575         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6576
6577         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6578         the limited stack
6579         (availableSelections): new function
6580
6581 2003-06-17  Angus Leeming  <leeming@lyx.org>
6582
6583         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6584
6585 2003-06-17  Angus Leeming  <leeming@lyx.org>
6586
6587         * lfuns.h:
6588         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6589
6590         * lyxfunc.C (dispatch): invoke it.
6591
6592 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6593
6594         * iterators.C (operator++, ParPosition): reintroduce some
6595         const_cast for the benefit of older compilers.
6596
6597 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6598
6599         * text3.C (dispatch): do not modify clipboard when doing
6600         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6601         LFUN_DELETE_SKIP on a selection selection
6602
6603 2003-06-16  André Pönitz  <poenitz@gmx.net>
6604
6605         * BufferView.C:
6606         * buffer.C:
6607         * buffer.h:
6608         * paragraph.C:
6609         * tabular.[Ch]: IU of clone() and getLabelList();
6610
6611 2003-06-13  André Pönitz  <poenitz@gmx.net>
6612
6613         * tabular.h: compactification
6614
6615 2003-06-12  André Pönitz  <poenitz@gmx.net>
6616
6617         * tabular.C:
6618         * tabular.h:
6619         * tabular_funcs.h: some renaming plus whitespace
6620
6621 2003-06-12  André Pönitz  <poenitz@gmx.net>
6622
6623         * BufferView.C:
6624         * BufferView_pimpl.C:
6625         * CutAndPaste.C:
6626         * buffer.C:
6627         * iterators.[Ch]:
6628         * lyxfunc.C:
6629         * text.C:
6630         * toc.C: Return a Paragraph & for ParIterator::operator*()
6631
6632 2003-06-11  John Levon  <levon@movementarian.org>
6633
6634         * lyx_main.C:
6635         * ToolbarBackend.h:
6636         * ToolbarBackend.C: add "Toolbars" section and
6637         put the flags there
6638
6639 2003-06-10  Angus Leeming  <leeming@lyx.org>
6640
6641         * lfuns.h:
6642         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6643
6644         * lyxfunc.C (dispatch): invoke it.
6645
6646 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6647
6648         * main.C: protect <ios> with HAVE_IOS
6649         (main): protect sync_with_stdio with HAVE_IOS
6650
6651 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6652
6653         * text2.C (cutSelection): adjust
6654         (pasteSelection): adjust
6655
6656         * messages.C: handle get of empty string
6657
6658         * main.C (main): use sync_with_stdio(false)
6659
6660         * lyxfunc.C (dispatch): adjust
6661
6662         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6663         (WriteAs): remove unneeded BufferView arg.
6664
6665         * bufferparams.h: use correct types on papersize, papersize2 and
6666         paperpackage.
6667
6668         * bufferparams.C (readToken): adjust for type
6669         (writeLaTeX): add missing cases to switch.
6670
6671         * bufferlist.C (quitWriteBuffer): adjust
6672         (close): adjust
6673
6674         * buffer.C (asciiParagraph): remove some commented code.
6675
6676         * CutAndPaste.C: remove current_view extern variable.
6677         (cutSelection): add BufferParams arg.
6678         (eraseSelection): add BufferParams arg.
6679         (pasteSelection): add Buffer const & arg
6680
6681 2003-06-07  John Levon  <levon@movementarian.org>
6682
6683         * buffer.C:
6684         * paragraph_funcs.C:
6685         * paragraph_pimpl.C:
6686         * text.C:
6687         * text2.C:
6688         * paragraph.h:
6689         * paragraph.C: allow InsetERT to freely space lines,
6690         and some consolidation of code
6691
6692 2003-06-06  José Matos  <jamatos@fep.up.pt>
6693
6694         * buffer.C (makeDocBookFile): fix bug #821
6695
6696 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6697
6698         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6699
6700 2003-06-04  Angus Leeming  <leeming@lyx.org>
6701
6702         * buffer.C: bump format to 224.
6703
6704 2003-06-05  André Pönitz  <poenitz@gmx.net>
6705
6706         * text2.C (redoParagraphs): remove two const_cast<>
6707
6708 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6709
6710         * ParagraphList.h: remove last remnants of NO_STD_LIST
6711
6712 2003-06-03  Angus Leeming  <leeming@lyx.org>
6713
6714         * factory.C (createInset): small change to the way InsetExternal's params
6715         are set.
6716
6717 2003-06-04  André Pönitz  <poenitz@gmx.net>
6718
6719         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6720
6721         * paragraph_pimpl.h:
6722         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6723
6724         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6725
6726         * undo_funcs.C: make some simple cases of undo work again
6727
6728 2003-06-03  John Levon  <levon@movementarian.org>
6729
6730         * ispell.C: HPUX doesn't have sys/select.h
6731         (from Albert Chin)
6732
6733 2003-06-03  John Levon  <levon@movementarian.org>
6734
6735         * CutAndPaste.C: update tabular and include inset
6736         buffer references
6737
6738         * buffer.h:
6739         * paragraph.h:
6740         * paragraph.C: remove owningBuffer(), don't pass Buffer
6741         to clone()
6742
6743         * factory.C: insetGraphicsParams changed
6744
6745 2003-06-02  John Levon  <levon@movementarian.org>
6746
6747         * LyXAction.C:
6748         * factory.C:
6749         * lfuns.h:
6750         * lyxfunc.C:
6751         * text3.C: remove insetparent
6752
6753 2003-06-02  John Levon  <levon@movementarian.org>
6754
6755         * buffer.h:
6756         * buffer.C: fix inset_iterator.end(), move out of line
6757         (bug 1149)
6758
6759 2003-06-01  John Levon  <levon@movementarian.org>
6760
6761         * text3.C: use a proper cut/paste when doing inset
6762         insert (from Jürgen Spitzmüller)
6763
6764 2003-06-01  John Levon  <levon@movementarian.org>
6765
6766         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6767
6768 2003-05-30  André Pönitz  <poenitz@gmx.net>
6769
6770         * rowpainter.C: unify second drawing phase
6771
6772 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6773
6774         * trans_mgr.C: remove one case of current_view
6775
6776         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6777
6778         * paragraph_funcs.h: remove paragraph.h include
6779
6780         * paragraph.h: delete NO_STD_LIST stuff
6781
6782         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6783
6784         * buffer.h: remove paragraph.h include
6785
6786         * ParagraphList.C: delete file
6787
6788         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6789
6790         * toc.C (getTocList): adjust
6791
6792         * paragraph_pimpl.C (validate): adjust
6793
6794         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6795
6796         * paragraph.C (Paragraph): adjust
6797         (getPositionOfInset): use const_iterator, adjust
6798         (bibitem): use const_iterator, adjust
6799         (setInsetOwner): adjust
6800
6801         * iterators.C (operator++): adjust
6802
6803         * InsetList.[Ch]: Replace selfmade iterator with standard
6804         vector::iterator also introduce const_iterator. Remove getPos,
6805         getInset and setInset from InsetTable. Adjust accordingly.
6806
6807         * BufferView.C (lockInset): adjust
6808         (ChangeInsets): adjust
6809
6810         * tabular.[Ch]: delete commented same_id functions
6811
6812 2003-05-28  John Levon  <levon@movementarian.org>
6813
6814         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6815
6816 2003-05-28  André Pönitz  <poenitz@gmx.net>
6817
6818         * metricsinfo.[Ch]: remove 'fullredraw' member
6819
6820 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6821
6822         * lyxtextclass.C (operator): remove caching.
6823
6824 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6825
6826         * text3.C: adjust
6827
6828         * text2.C (cursorBottom): adjust
6829         (setCounter): use ParagraphList::find, adjust
6830
6831         * text.C (workWidth): use ParagraphList::find, adjust
6832
6833         * lyxcursor.C (LyXCursor): adjust
6834
6835         * buffer.C (inset_iterator): adjust
6836
6837         * ParagraphList.h: make iterator(value_type) private, make
6838         ParagraphList a friend of iterator.
6839
6840         * ParagraphList.C (find): new function
6841
6842         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6843
6844 2003-05-27  André Pönitz  <poenitz@gmx.net>
6845
6846         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6847
6848 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6849
6850         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6851
6852 2003-05-26  John Levon  <levon@movementarian.org>
6853
6854         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6855
6856 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6857
6858         * remove same_id from function signatures, adjust.
6859
6860 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6861
6862         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6863
6864         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6865
6866         * paragraph.C (Paragraph): get rid of same_ids parameter
6867
6868         * ParagraphList.C (insert): adjust
6869         (push_back): adjust
6870
6871 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6872
6873         * paragraph_funcs.C (breakParagraph): adjust
6874         (breakParagraphConservative): adjust
6875
6876         * buffer.C (readParagraph): adjust
6877
6878         * ParagraphList.C (insert): take a reference instead of a pointer
6879         (insert): adjust
6880
6881         * paragraph.[Ch] (id): new function
6882
6883         * bufferlist.C (newFile): adjust
6884
6885         * ParagraphList.C (ParagraphList): adjust
6886         (assign): adjust
6887         (push_back): take a reference instead of a pointer.
6888
6889         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6890
6891         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6892         instead.
6893
6894         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6895         set else use old code.
6896
6897         * ParagraphList.C: remove all NO_NEXT code and only compile this
6898         code of NO_STD_LIST is set.
6899
6900 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6901
6902         * BufferView_pimpl.C:
6903         * TextCache.C:
6904         * TextCache.h:
6905         * bufferlist.C:
6906         * errorlist.h:
6907         * format.C:
6908         * format.h:
6909         * graph.C:
6910         * lyxfunc.C:
6911         * lyxrc.C:
6912         * graphics/GraphicsConverter.C:
6913         * graphics/PreviewLoader.C: header adjustment
6914
6915 2003-05-23  Angus Leeming  <leeming@lyx.org>
6916
6917         * LaTeXFeatures.[Ch] (useBabel): new method.
6918         * bufferparams.C (writeLaTeX): use it.
6919
6920 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6921
6922         * ParagraphList.h (set): remove unused function.
6923
6924 2003-05-23  André Pönitz  <poenitz@gmx.net>
6925
6926         * BufferView.C:
6927         * BufferView_pimpl.C:
6928         * buffer.C:
6929         * buffer.h:
6930         * lyxfunc.C:
6931         * undo_funcs.C: setUndo reworked
6932
6933         * iterators.[Ch]: add access to topmost ParagraphList
6934
6935         * lyxtext.[Ch] (workWidth): add a const
6936
6937 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6938
6939         * texrow.[Ch] (increasePos): remove function
6940         * exporter.C (export): removed unused var and outdated comment
6941
6942 2003-05-23  Angus Leeming  <leeming@lyx.org>
6943
6944         * latexrunparams.h: rename fragile as moving_arg.
6945         * paragraph.C (simpleTeXOnePar): ditto.
6946         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6947
6948 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6949
6950         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6951         (createUndo): ditto
6952         (textUndoOrRedo): comment out a currently unused var.
6953
6954         * paragraph.h (NO_NEXT): enable NO_NEXT
6955
6956         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6957
6958         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6959
6960         * exporter.C (Export): adjust for removeAutoInsets removal.
6961
6962         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6963
6964         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6965
6966         * BufferView.[Ch] (removeAutoInsets): delete function
6967
6968 2003-05-22  Angus Leeming  <leeming@lyx.org>
6969
6970         * latexrunparams.h: add a free_spacing variable.
6971
6972         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6973         to pass moving_arg, as the data is stored in runparams.fragile.
6974
6975         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6976         to Inset::latexOptional or to simpleTeXOnePar.
6977
6978         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6979         free_spacing arg to Inset::latexOptional.
6980
6981         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6982         free_spacing arg.
6983
6984 2003-05-22  Angus Leeming  <leeming@lyx.org>
6985
6986         * latexrunparams.h: add fragile and use_babel variables.
6987
6988         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6989         * buffer.C (makeLaTeXFile): store this returned value in
6990         runparams.use_babel, thus passing it to the inset::latex methods.
6991
6992         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6993         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6994
6995         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6996         longer has a fragile arg, as it is stored in runparams.fragile.
6997
6998         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6999         moving_arg parameter as the data is stored in runparams.fragile.
7000
7001         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7002         a fragile parameter as the data is stored in runparams.fragile.
7003
7004 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7005
7006         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7007
7008 2003-05-22  Angus Leeming  <leeming@lyx.org>
7009
7010         * latexrunparams.h: add a 'bool nice' which defaults to false.
7011
7012         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7013         now encapsulated within runparams.
7014
7015         * bufferlist.C (updateIncludedTeXfiles):
7016         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7017
7018 2003-05-22  Angus Leeming  <leeming@lyx.org>
7019
7020         * latexrunparams.h: new file containing struct LatexRunParams.
7021         * Makefile.am: add new file.
7022
7023         * LaTeX.[Ch] (c-tor, run):
7024         * buffer.[Ch] (makeLaTeXFile):
7025         * bufferlist.[Ch] (updateIncludedTeXfiles):
7026         * converter.C (convert, scanLog):
7027         * converter.[Ch] (runLaTeX):
7028         * exporter.C (Export):
7029         * paragraph.[Ch] (simpleTeXOnePar):
7030         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7031         * paragraph_funcs.[Ch] (latexParagraphs):
7032         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7033         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7034         pass around a LatexRunParams parameter.
7035
7036 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7037
7038         * paragraph.[Ch]: remove unused constructor
7039
7040         * ParagraphList.C (erase): new function, taking two iterators
7041
7042 2003-05-22  André Pönitz  <poenitz@gmx.net>
7043
7044         * undo_funcs.C: remove duplicated code
7045
7046         * iterator.[Ch]: operator=
7047
7048 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7049
7050         * tabular.C (SetMultiColumn): ws changes
7051
7052         * rowpainter.C (paintFirst): get rid of a ->previous
7053
7054         * lyx_cb.C (getPossibleLabel): parlist simplification
7055
7056         * BufferView.C (ChangeInsets): simplify slightly.
7057
7058 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7059
7060         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7061         * lfuns.h: new LFUN_SPACE
7062         * lyxfunc.C: protected space has a new lfun
7063         * paragraph_funcs.C: read new space insets
7064         * text3.C:
7065         * factory.C: handle new space insets
7066
7067 2003-05-22  André Pönitz  <poenitz@gmx.net>
7068
7069         * BufferView.C:
7070         * BufferView_pimpl.C:
7071         * buffer.[Ch]:
7072         * lyxfunc.C:
7073         * undo_funcs.C: return a ParIterator from getParFromID.
7074
7075         * iterators.[Ch]: add two const's
7076
7077 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7078
7079         * toc.C (getTocList): adjust
7080
7081         * iterators.[Ch]: rework for parlist
7082
7083         * buffer.C (par_iterator_begin): adjust
7084         (par_iterator_end): adjust
7085
7086         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7087
7088         * BufferView.C (removeAutoInsets): adjust
7089         (ChangeInsets): adjust
7090
7091 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7092
7093         * text.C (top_y): fix bug 1110
7094
7095 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7096
7097         * errorlist.[Ch]: added
7098         * buffer.C:
7099         * BufferView.[Ch]:
7100         * BufferView_pimpl.C:
7101         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7102         instead
7103
7104 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7105
7106         * Makefile.am: ensure that lyx is relinked upon changes to the
7107         various "convenience" libs.
7108
7109 2003-05-20  Angus Leeming  <leeming@lyx.org>
7110
7111         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7112         files are compiled in alphabetical order again.
7113
7114         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7115
7116 2003-05-19  Angus Leeming  <leeming@lyx.org>
7117
7118         * gettext.[Ch]: remove "char const * _(char const *)".
7119
7120 2003-05-19  André Pönitz  <poenitz@gmx.net>
7121
7122         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7123
7124         * Makefile.am:
7125         * BufferView.C:
7126         * DepTable.h:
7127         * LaTeXFeatures.C:
7128         * buffer.C:
7129         * lyxfont.C:
7130         * lyxlex.h:
7131         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7132
7133 2003-05-19  André Pönitz  <poenitz@gmx.net>
7134
7135         * buffer.C:
7136         * lyxlayout.[Ch]:
7137         * lyxtextclass.[Ch]:
7138         * paragraph.C:
7139         * paragraph_funcs.[Ch]:
7140         * text2.C:
7141         * text3.C: more insetenv work
7142
7143 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7144
7145         * ParagraphParameters.C (params2string): small bug fixed
7146
7147 2003-05-16  André Pönitz  <poenitz@gmx.net>
7148
7149         * debug.C:
7150         * bufferview_funcs.C: patch from Kornel Benko to prevent
7151           crash when _(...) is called twice in a statement
7152
7153 2003-05-16  André Pönitz  <poenitz@gmx.net>
7154
7155         * BufferView.C:
7156         * lyxfunc.C:
7157         * text.C:
7158         * text2.C:
7159         * text3.C:
7160         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7161
7162 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7163
7164         * lyx_main.C (init): remove spurious static_cast
7165
7166 2003-05-14  André Pönitz  <poenitz@gmx.net>
7167
7168         * BufferView.C: fix format string
7169
7170 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7171
7172         * BufferView.[Ch] (insertErrors): removed
7173         * BufferView.[Ch] (showErrorList): added
7174         * buffer.C (runChkTeX):
7175         * converter.C (scanLog): call showErrorList instead of inserterrors
7176
7177 2003-05-13  André Pönitz  <poenitz@gmx.net>
7178
7179         * BufferView_pimpl.C:
7180         * buffer.C:
7181         * bufferview_func.C:
7182         * MenuBackend.C:
7183         * lyxfunc.C:
7184         * lyxrc.C:
7185         * tex-accent.C:
7186         * text3.C:
7187         * toc.C:
7188         * tabular_funcs.h: tostr() from its own header
7189
7190         * ParagraphParameters.C:
7191         * ToolbarBackend.C:
7192         * bufferparams.C:
7193         * format.C:
7194         * lyxlex_pimpl.C:
7195         * text3.C: STRCONV()
7196
7197 2003-05-12  André Pönitz  <poenitz@gmx.net>
7198
7199         * BufferView.C:
7200         * BufferView_pimpl.C:
7201         * CutAndPaste.C:
7202         * LaTeX.C:
7203         * LaTeXFeatures.C:
7204         * ParagraphParameters.C:
7205         * buffer.C:
7206         * bufferlist.C:
7207         * bufferparams.C:
7208         * bufferview_funcs.C:
7209         * converter.C:
7210         * counters.C:
7211         * debug.C:
7212         * exporter.C:
7213         * format.C:
7214         * importer.C:
7215         * lyx_cb.C:
7216         * lyx_main.C:
7217         * lyxfont.C:
7218         * lyxfunc.C:
7219         * lyxvc.C:
7220         * paragraph.C:
7221         * paragraph_funcs.C:
7222         * tabular.C:
7223         * tabular_funcs.C:
7224         * text2.C:
7225         * text3.C:  boost::format -> bformat  all over the place
7226
7227
7228 2003-05-09  André Pönitz  <poenitz@gmx.net>
7229
7230         * LColor.[Ch]: Pimpl the #include <map> away
7231
7232 2003-05-09  John Levon  <levon@movementarian.org>
7233
7234         * bufferlist.C: never remove emergency saves
7235
7236 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7237
7238         * Makefile.am: better lib building
7239
7240 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7241
7242         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7243         instead.
7244         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7245         (simpleTeXSpecialChars): adjust
7246         (simpleTeXSpecialChars): adjust
7247         * paragraph.C (simpleTeXOnePar): adjust
7248         * buffer.C (makeLaTeXFile): adjust
7249
7250         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7251
7252         * text2.C (changeDepth): parlist cleanup
7253         (getColumnNearX): ditto
7254
7255         * rowpainter.C (getLabelFont): parlist cleanup
7256
7257         * bufferlist.C (newFile): parlist cleanup
7258
7259         * CutAndPaste.C (eraseSelection): parlist cleanup
7260
7261         * BufferView_pimpl.C (trackChanges): parlist cleanup
7262         (dispatch): ditto
7263
7264         * BufferView.C (lockInset): parlist cleanup.
7265         (ChangeInsets): ditto
7266
7267 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7268
7269         * CutAndPaste.h: Update file header.
7270
7271         * CutAndPaste.C: Update file header.
7272         Store the parts cut out of the Document in a limited_stack.
7273         (copySelection): adjust
7274         (pasteSelection): new function, takes the index in the limited stack.
7275         (nrOfParagraphs): adjust
7276         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7277         simplify error inset insertion.
7278         (checkPastePossible): adjust
7279
7280 2003-05-06  John Levon  <levon@movementarian.org>
7281
7282         * text2.C: don't cast wrap inset to float
7283
7284 2003-05-05  André Pönitz  <poenitz@gmx.net>
7285
7286         * iterator.C:
7287         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7288
7289         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7290           few naked Paragraph *.
7291
7292 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7293
7294         * bufferparams.C: Output warning if a document with missing
7295         TeX document class is loaded
7296         * exporter.C: Disable TeX exports if the document class is missing
7297         * lyxtextclass.C:
7298         * lyxtextclass.h:
7299         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7300         isTeXClassAvailable()
7301
7302 2003-05-03  John Levon  <levon@movementarian.org>
7303
7304         * BufferView.h:
7305         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7306         explicit cursor show/hide
7307
7308         * BufferView_pimpl.h:
7309         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7310         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7311
7312         * lyxfunc.C: hide cursor before dispatching.
7313
7314         * lyx_cb.C:
7315         * lyxfind.C:
7316         * text.C:
7317         * text3.C: remove explicit cursor hides
7318
7319 2003-05-02  André Pönitz  <poenitz@gmx.net>
7320
7321         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7322
7323         * undo_funcs.C:
7324         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7325           linked lists
7326
7327         * text2.C: tiny whitespace
7328
7329 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7330
7331         * undo_funcs.C: almost only ws changes.
7332
7333         * ParagraphList.C (splice): just return if pl is empty.
7334
7335 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7336
7337         * ParagraphList.C (splice): new function.
7338
7339         * CutAndPaste.C (pasteSelection): use it
7340
7341 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7342
7343         * CutAndPaste.C (pasteSelection): remove the last next and
7344         previous from this file.
7345
7346 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7347
7348         * CutAndPaste.C (pasteSelection): more clean up, user proper
7349         ParagraphList functions for pasteing.
7350
7351         * ParagraphList.C (insert): new function, three arg insert
7352
7353 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7354
7355         * ParagraphList.C (insert): new function, three arg insert
7356
7357         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7358         not on paragraphs.
7359
7360 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7361
7362         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7363
7364 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7365
7366         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7367
7368 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7369
7370         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7371         (copySelection): clean up a bit.
7372         (pasteSelection): use make_pair
7373
7374         * ParagraphList.C (ParagraphList): implement copy constructor
7375         (operator=): implement, base on copy constructor.
7376         (assign): new func
7377
7378         * paragraph.C (erase): return a bool
7379
7380         * paragraph_pimpl.C (erasePos): remove function, move contents...
7381         (erase): ... here. Return a bool.
7382         (erase): call erase instead of erasePos.
7383
7384 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7385
7386         * ParagraphList.h: define PitPosPair
7387         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7388         ParagraphList, fix a bug on pasting multiple pars
7389         * text2.C: change interface to C&P
7390
7391 2003-04-30  André Pönitz  <poenitz@gmx.net>
7392
7393         * undo_func.C: revert part of yesterday's patch 2
7394
7395 2003-04-30  John Levon  <levon@movementarian.org>
7396
7397         * LColor.C: s/tabular/table/
7398
7399 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7400
7401         * text3.C (dispatch): do not convert iterator -> pointer
7402         * undo_funcs.C (setCursorParUndo): ditto
7403         * text_funcs.C (transposeChars): ditto
7404
7405         * text2.C (setLayout): ws changes only
7406
7407         * text.C (breakParagraph): do not convert iterator -> pointer
7408         (insertChar): ditto
7409         (acceptChange): ditto
7410         (rejectChange): ditto
7411         (changeCase): ditto
7412         (Delete): ditto
7413         (backspace): ditto
7414
7415         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7416         pointer
7417
7418 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7419
7420         * text3.C (gotoInset): YABG (yet another bad getChar)
7421
7422 2003-04-29  André Pönitz  <poenitz@gmx.net>
7423
7424         * paragraph.h: make operator= private unimplemented as long as
7425           it is unusable
7426
7427         * ParagraphList.C: whitespace
7428
7429         * paragraph.[Ch]:
7430         * paragraph_pimpl.[Ch]:
7431         * paragraph_funcs.C:
7432         * CutAndPaste.C:
7433         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7434
7435         * text2.C:
7436           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7437
7438 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7439
7440         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7441         * paragraph.[Ch] (erase):
7442         * paragraph_pimpl.[Ch] (erase): change return type and value
7443         * text2.C (cutSelection): some rework
7444
7445 2003-04-28  John Levon  <levon@movementarian.org>
7446
7447         * bufferlist.C: changes for unsaved changes dialog
7448
7449 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7450
7451         * bufferlist.C (newFile): set language (messages_) for new
7452         documents also.
7453
7454         * buffer.C (readFile): ws changes only.
7455
7456 2003-04-28  André Pönitz  <poenitz@gmx.net>
7457
7458         * undo_funcs.C:
7459         * lyxfunc.C:
7460         * buffer.[Ch]:
7461         * BufferView_pimpl.C:
7462         * BufferView.C: getParFromID related ParagraphList::iterator changes
7463
7464 2003-04-28  André Pönitz  <poenitz@gmx.net>
7465
7466         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7467           Changes
7468
7469 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7470
7471         * messages.C: remove one more localedir class variable.
7472
7473 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7474
7475         * messages.C (getLocaleDir): singleton generation function
7476         (Pimpl): use it.
7477         (Messages): add a default constructor.
7478
7479         * main.C (main): do not setup localedir here, do not call
7480         gettext_init.
7481
7482         * gettext.C (_): use it.
7483         (gettext_init): delete funciton
7484
7485 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7486
7487         * gettext.C (getLyXMessages): new singleton generating function.
7488
7489         * buffer.C (updateDocLang): adjust
7490
7491         * Makefile.am (messages.o): add target
7492         (main.o): remove target
7493
7494 2003-04-27  John Levon  <levon@movementarian.org>
7495
7496         * bufferlist.C:
7497         * lyx_cb.C:
7498         * lyxfunc.C:
7499         * lyxvc.C: specify cancel button in Alert::prompt
7500
7501 2003-04-26  John Levon  <levon@movementarian.org>
7502
7503         * text3.C:
7504         * lyxfunc.C:
7505         * lfuns.h:
7506         * LyXAction.C: add LFUN_INSET_SETTINGS
7507
7508         * lyxfunc.C: don't enable tabular-feature when there's
7509         just any locking inset
7510
7511 2003-04-26  John Levon  <levon@movementarian.org>
7512
7513         * bufferlist.C: re-add Cancel to buffer close question
7514
7515         * lyxfunc.C: fix import UI a bit
7516
7517 2003-04-25  John Levon  <levon@movementarian.org>
7518
7519         * gettext.C: remove the broken asserts for now
7520
7521 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7522
7523         * messages.C: make case where setlocale cannot comply work better.
7524
7525         * buffer.C (updateDocLang): new function
7526         (changeLanguage): use it
7527         (readFile): use it
7528
7529         * text2.C (setCounter): use B_ a bit.
7530
7531         * lyxlayout.C (Read): be sure to trim the label strings.
7532
7533         * messages.C (Messages): fix typo in comment
7534
7535         * buffer.C (readFile): set message_ after file is loaded.
7536         (makeDocBookFile): remove double return
7537         (changeLanguage): reset message_ upon language change.
7538         (B_): new func, use this to get translated buffer strings.
7539
7540         * main.C: add myself and Jean Marc as authors.
7541
7542 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7543
7544         * messages.[hC]: pimplify Messages, and three different pimpls to be
7545         used in different circumstances.
7546
7547         * gettext.[Ch]: change for use with new message code.
7548
7549 2003-04-24 André Pönitz <poenitz@gmx.net>
7550
7551         * factory.C: support for eqref
7552
7553 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7554
7555         * messages.[Ch]: add missing char
7556
7557         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7558
7559         * messages.[Ch]: New files
7560
7561 2003-04-18  John Levon  <levon@movementarian.org>
7562
7563         * BufferView.h:
7564         * BufferView.C:
7565         * BufferView_pimpl.C:
7566         * lfuns.h:
7567         * LyXAction.C:
7568         * lyxtext.h:
7569         * text2.C: remove layout-copy/paste (bug 778)
7570
7571 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7572
7573         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7574
7575 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7576
7577         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7578         if they succeed. Act accordingly.
7579
7580 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7581
7582         * text2.C (setCharFont): adjust
7583         (setCounter): adjust
7584         (insertStringAsLines): adjust
7585
7586         * text.C (leftMargin): adjust
7587         (setHeightOfRow): adjust
7588
7589         * rowpainter.C (paintFirst): adjust
7590         (paintLast): adjust
7591
7592         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7593         (outerHook): ditto
7594         (isFirstInSequence): ditto
7595         (getEndLabel): ditto
7596         (outerFont): adjust
7597
7598         * paragraph.C (getParLanguage): comment out some hard stuff.
7599
7600         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7601         (sgmlError): ditto
7602         (simpleDocBookOnePar): ditto
7603         (makeDocBookFile): use ParagraphList::iterator
7604
7605         * CutAndPaste.C (pasteSelection): adjust
7606
7607 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7608
7609         * text2.C (getFont): adjust
7610         (getLayoutFont): adjust
7611         (getLabelFont): adjust
7612
7613         * paragraph_funcs.C (TeXOnePar): adjust
7614
7615         * buffer.C (simpleLinuxDocOnePar): adjust
7616         (simpleDocBookOnePar): adjust
7617
7618         * CutAndPaste.C (pasteSelection): adjust
7619
7620         * BufferView.C (getEncoding): adjust
7621
7622         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7623
7624 2003-04-16  John Levon  <levon@movementarian.org>
7625
7626         * lyxfind.C: use parlist stuff for search/changes
7627
7628 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7629
7630         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7631
7632         * text2.C (deleteEmptyParagraphMechanism): adjust
7633
7634         * text2.[Ch] (ownerParagraph): delete func (both of them
7635
7636 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7637
7638         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7639
7640 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7641
7642         * ParagraphList.C: prepare for NO_NEXT
7643
7644 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7645
7646         * text2.C (getFont): adjust
7647         (getLayoutFont): adjust
7648         (getLabelFont): adjust
7649
7650         * paragraph.C (getFont): adjust
7651         (getLabelFont): adjust
7652         (getLayoutFont): adjust
7653
7654         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7655
7656 2003-04-15  John Levon  <levon@movementarian.org>
7657
7658         From Angus Leeming
7659
7660         * lyx_main.C: handle Include in .ui files
7661
7662 2003-04-15  John Levon  <levon@movementarian.org>
7663
7664         * MenuBackend.C: make the doc files length shorter
7665
7666         * ToolbarBackend.h:
7667         * ToolbarBackend.C: handle toolbar placement flags,
7668         Minibuffer
7669
7670 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7671
7672         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7673         adjust
7674
7675         * paragraph_funcs.C (TeXOnePar): adjust
7676
7677         * paragraph.C (getLabelFont): add outerfont arg, adjust
7678         (getLayoutFont): ditto
7679         (simpleTeXOnePar): adjust
7680
7681         * paragraph_pimpl.C (realizeFont): delete func
7682
7683 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7684
7685         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7686         row argument, constify cur argument.
7687
7688 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7689
7690         * text2.C (getFont): adjust
7691         (getLayoutFont): adjust
7692         (getLabelFont): adjust
7693
7694         * paragraph_funcs.C (TeXOnePar): adjust
7695         (outerFont): new func...
7696         (realizeFont): ...moved out from here, changed this to facilitate
7697         transition
7698
7699         * paragraph.C (getFont): take outerfont as arg, adjust
7700         (simpleTeXOnePar): add outerfont arg, adjust
7701
7702         * buffer.C (simpleLinuxDocOnePar): adjust
7703         (simpleDocBookOnePar): adjust
7704
7705         * CutAndPaste.C (pasteSelection): adjust
7706
7707         * BufferView.C (getEncoding): adjust
7708
7709 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7710
7711         * text2.C (setCharFont): adjust
7712         (setCounter): adjust
7713
7714         * text.C (leftMargin): adjust
7715         (setHeightOfRow): adjust
7716
7717         * rowpainter.C (paintFirst): adjust
7718         (paintLast): adjust
7719
7720         * paragraph_pimpl.C (realizeFont): adjust
7721
7722         * paragraph.C (isFirstInSequence): move from here...
7723         * paragraph_funcs.C (isFirstInSequence): ...to here
7724
7725         * paragraph.C (outerHook): move from here...
7726         * paragraph_funcs.C (outerHook): ...to here
7727
7728         * paragraph.C (depthHook): move from here...
7729         * paragraph_funcs.C (depthHook): ...to here
7730
7731         * paragraph.C (getEndLabel): move from here...
7732         * paragraph_funcs.C (getEndLabel): ...to here
7733
7734         * text2.C (realizeFont): move from here...
7735         * paragraph_funcs.C (realizeFont): ...to here
7736
7737 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7738
7739         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7740
7741 2003-04-14  Angus Leeming  <leeming@lyx.org>
7742
7743         * LColor.[Ch]: scrap LColor mathcursor.
7744
7745 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7746
7747         * lyxlex.[Ch] (text): delete function
7748         * trans.C (Load): adjust
7749         * paragraph_funcs.C (readParToken): adjust
7750
7751 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7752
7753         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7754         vector<char> instead of a char[].
7755
7756         * lyxlex_pimpl.C (getString): adjust
7757         (next): adjust
7758         (lex): use getString
7759         (eatLine): adjust
7760         (nextToken): adjust
7761
7762         * lyxlex.C (text): use pimpl_->getString()
7763         (getBool): ditto
7764         (findToken): ditto
7765
7766 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7767
7768         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7769         (makeFontEntriesLayoutSpecific): temp var for par.size()
7770         (setLayout): temp var for ownerParagraphs().end()
7771         (fullRebreak): temp var for rows().end()
7772         (selectionAsString): temp var for boost::next(startpit), realize
7773         that the while really is a regular for loop.
7774         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7775         setCursor in one place.
7776         (setParagraph): temp vr for ownerParagraphs().end()
7777         (updateCounters): make the while loop a for loop
7778         (cutSelection): temp var for ownerParagraphs().end()
7779         (updateInset): make the do {} while() a regular for loop
7780         (getCursorX): use temp vars
7781         (setCurrentFont): use temp vars
7782         (getColumnNearX): use temp vars
7783
7784 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7785
7786         * text.C (transformChar): use temp var for getChar
7787         (computeBidiTables): use temp var for row->par()
7788         (fill): move temp vars for row->par() and pit->layout() earlier in
7789         the function.
7790         (labelFill): use temp var for row->par()
7791         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7792         asc and desc, realize that pit never changes and that firstpit is
7793         just a duplicate and not needed. Exchange rit->par() with pit in a
7794         lot of places.
7795         (breakAgain): use a temp var for boost::next(rit)
7796         (breakAgainOneRow): ditto
7797         (breakParagraph): use a temp var for rows().begin()
7798         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7799         (cursorRightOneWord): use temp var for cursor.par() and
7800         cursor.pos(), remove usage of tmpcursor.
7801         (cursorLeftOneWord): use temp var for cursor.par() and
7802         cursor.pos() only set cur at end of function.
7803
7804 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7805
7806         * text.C, text2.C: exchange all usage of Paragraph::next with
7807         boost::next(ParagraphList::iterator)
7808
7809         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7810
7811         * text2.C (cursorTop): simplify implementation
7812         (cursorBottom): ditto
7813         (setParagraph): use ParagraphList::iterator
7814         (setCurrentFont): adjust
7815         (getColumnNearX): adjust
7816         (cursorRight): adjust
7817         (cursorLeft): remove usage of Paragraph::previous
7818         (cursorUpParagraph): ditto
7819         (deleteEmptyParagraphMechanism): slight cleanup
7820
7821         * text.C (isBoundary): take a Paragraph const & instead of a
7822         pointer as arg.
7823         (addressBreakPoint): ditto
7824         (leftMargin): remove usage of Paragraph::previous.
7825         (setHeightOfRow): ditto
7826         (cursorLeftOneWord): ditto
7827         (selectNextWordToSpellcheck): ditto
7828         (Delete): ditto
7829         (backspace): ditto
7830         (breakParagraph): remove one usage of Paragraph::next
7831         (redoParagraph): ditto
7832         (acceptChange): ditto
7833         (insertChar): adjust
7834         (rowBreakPoint): adjust
7835
7836         * bufferview_funcs.C (toggleAndShow): adjust
7837
7838 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7839
7840         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7841         methods to access it.
7842         * lyxtext.h:
7843         * text.C: Added updateRowPositions to compute all row positions.
7844         Make top_y and getRowNearY() to use the cached y position
7845
7846 2003-04-11  John Levon  <levon@movementarian.org>
7847
7848         * text.C (rowBreakPoint): reintroduce the labelEnd
7849         checks, code copied from the row fill stuff. Deep voodoo.
7850
7851         * text.C (fill): add a comment and debugging for the
7852         next poor soul.
7853
7854 2003-04-11  John Levon  <levon@movementarian.org>
7855
7856         * text.C: make sure fullrow insets get wrapped to the next line,
7857         even when they're in a manual label
7858
7859 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7860
7861         * text2.C (insertParagraph): make it take ParagraphList::iterator
7862         as arg.
7863         (setLayout): make it return ParagraphList::iterator
7864         (redoParagraphs): ditto
7865         (setCounter): ditto
7866         (checkParagraph): ditto
7867
7868         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7869
7870         * text2.C: adjust several funcs.
7871         (realizeFont): take a ParagraphList::iterator as arg.
7872         (getLayoutFont): ditto
7873         (getLabelFont): ditto
7874         (setCharFont): ditto
7875
7876         * text.C: adjust several funcs.
7877
7878 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7879
7880         * text.C (selectNextWordToSpellcheck): don't accidentally
7881         skip insets
7882
7883 2003-04-10  John Levon  <levon@movementarian.org>
7884
7885         * ToolbarBackend.C (getIcon): special handling for
7886         LFUN_MATH_DELIM
7887
7888 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7889
7890         * text2.C (cursorRight): a getChar assert fixed
7891
7892 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7893
7894         * text2.C (getFont): change to take a ParagraphList::iterator
7895         instead of Paragraph*
7896         Adjust several functions.
7897
7898         * text.C (transformChar): change to take a ParagraphList::iterator
7899         instead of Paragraph*
7900         (singleWidth): ditto
7901         Adjust several functions.
7902
7903         * rowpainter.C: adjust several functions
7904         * rowpainter.h:store a ParagraphList::iterator and not a
7905         Paragraph&.
7906
7907
7908 2003-04-09  John Levon  <levon@movementarian.org>
7909
7910         * lyxfunc.C:
7911         * lfuns.h:
7912         * LyXAction.h:
7913         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7914         and the "help" bits as well
7915
7916 2003-04-09  John Levon  <levon@movementarian.org>
7917
7918         * ToolbarBackend.h:
7919         * ToolbarBackend.C: allow multiple toolbars
7920
7921 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7922
7923         * undo_funcs.C (setCursorParUndo): adjust
7924
7925         * text_funcs.C (transposeChars): adjust
7926
7927         * text3.C (gotoNextInset): adjust
7928         (dispatch): adjust
7929
7930         * text2.C (setLayout): adjust
7931         (changeDepth): adjust
7932         (setFont): adjust
7933         (redoParagraphs): adjust
7934         (selectionAsString): adjust
7935         (setParagraph): adjust
7936         (insertInset): adjust
7937         (cutSelection): adjust
7938         (copySelection): adjust
7939         (pasteSelection): adjust
7940         (insertStringAsLines): adjust
7941         (updateInset): adjust
7942         (setCursor): change to take a ParagraphList::iterator parameter
7943         (setCursorIntern): change to take a ParagraphList::iterator parameter
7944         (setCurrentFont): adjust
7945         (cursorLeft): adjust
7946         (cursorRight): adjust
7947         (deleteEmptyParagraphMechanism): adjust
7948
7949         * text.C (breakParagraph): adjust
7950         (insertChar): adjust
7951         (acceptChange): adjust
7952         (rejectChange): adjust
7953         (selectNextWordToSpellcheck): adjust
7954         (changeCase): adjust
7955         (Delete): adjust
7956         (backspace): adjust
7957
7958         * lyxfind.C (SearchForward): adjust
7959         (SearchBackward): adjust
7960         (nextChange): adjust
7961
7962         * lyxcursor.C (par): adjust
7963
7964         * lyxcursor.h: store a ParagraphList::iterator instead of a
7965         Paragraph*
7966
7967         * lyx_cb.C (getPossibleLabel): adjust
7968
7969         * bufferview_funcs.C (toggleAndShow): adjust
7970
7971         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7972         (dispatch): adjust
7973
7974         * BufferView.C (removeAutoInsets): adjust
7975         (lockedInsetStoreUndo): adjust
7976
7977 2003-04-09  John Levon  <levon@movementarian.org>
7978
7979         * ToolbarBackend.C: try icon without argument
7980         if with argument fails
7981
7982 2003-04-08  John Levon  <levon@movementarian.org>
7983
7984         * ToolbarBackend.h:
7985         * ToolbarBackend.C: add getIcon(), handle tooltip,
7986         and change from "Icon" to "Item".
7987
7988 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7989
7990         * BufferView.C (lockInset): another bad getchar crunched
7991
7992 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7993
7994         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7995         again)
7996
7997 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7998
7999         * lyxfind.C (searchForward, searchBackwards): bug 782
8000
8001 2003-04-07  John Levon  <levon@movementarian.org>
8002
8003         * paragraph.C: remove dead comment
8004
8005         * text.C: remove troublesome depth-fiddling code
8006         in leftMargin() and rightMargin() (bug 1017)
8007
8008         * text.C: fix breaking of rows in nested lists
8009         (bug 1004)
8010
8011         * text2.C (updateCounters): fix up depth values
8012         (bug 1013)
8013
8014 2003-04-07  John Levon  <levon@movementarian.org>
8015
8016         * BufferView_pimpl.C: clear message when doc finishes resizing,
8017         and after a mouse event
8018
8019         * lyxfunc.C: clear message after exiting inset
8020
8021 2003-04-07  John Levon  <levon@movementarian.org>
8022
8023         * bufferview_funcs.C: show math status not outside
8024         status in the statusbar
8025
8026 2003-04-07  John Levon  <levon@movementarian.org>
8027
8028         * lyxfunc.C: note status changed after a depth change
8029
8030 2003-04-04  Angus Leeming  <leeming@lyx.org>
8031
8032         * LaTeX.h: move AuxInfo operator==, != out of line.
8033         Remove LaTeX virtual destructor; nothing derives from it.
8034         Move operator()() out of public area and rename it startscript().
8035         Change protected for private.
8036
8037 2003-04-04  Angus Leeming  <leeming@lyx.org>
8038
8039         * lyxfunc.C:
8040         * text2.C: remove unneeded #includes.
8041
8042 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8043
8044         * text2.C (dEPM): fix the heigth of the next row
8045
8046 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8047
8048         * text.C: squashed an invalid getChar requester + some ws changes
8049
8050 2003-04-03  John Levon  <levon@movementarian.org>
8051
8052         * bufferview_funcs.h:
8053         * bufferview_funcs.C:
8054         * lyxfunc.C:
8055         * lyxtext.h:
8056         * text2.C: make getStatus work for the env depth lfuns
8057
8058 2003-04-03  John Levon  <levon@movementarian.org>
8059
8060         * bufferview_funcs.h:
8061         * bufferview_funcs.C:
8062         * lyxfunc.C:
8063         * lyxtext.h:
8064         * text2.C: parlistize decDepth(), by merging it with incDepth()
8065
8066 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8067
8068         * lyxrow.h: store a ParagraphList::iterator instead of a
8069         Paragraph* and adjust other class functions to suit.
8070
8071         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8072         above.
8073
8074 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8075
8076         * text2.C (setCursor): do not anchor to cursor row for the time being
8077
8078 2003-04-02  John Levon  <levon@movementarian.org>
8079
8080         * LyXAction.C:
8081         * lfuns.h:
8082         * lyx_main.C:
8083         * lyxtext.h:
8084         * text.C:
8085         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8086
8087 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8088
8089         * paragraph.h: make ParagraphList and ParagraphList::iterator
8090         friends of Paragraph.
8091
8092         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8093
8094         * ParagraphList.C: Use the private next_ and previous_ from
8095         Paragraph.
8096
8097 2003-04-01  John Levon  <levon@movementarian.org>
8098
8099         * ToolbarBackend.h:
8100         * ToolbarBackend.C:
8101         * Makefile.am: rename, remove defaults gunk
8102
8103         * MenuBackend.h:
8104         * MenuBackend.C: remove defaults gunk
8105
8106         * Languages.h:
8107         * Languages.C: remove defaults gunk
8108
8109         * lyx_main.h:
8110         * lyx_main.C: error out if files couldn't be found.
8111
8112 2003-04-02  John Levon  <levon@movementarian.org>
8113
8114         * text2.C: make incDepth() use parlist
8115
8116 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8117
8118         * undo_funcs.C (firstUndoParagraph): adjust
8119
8120         * text3.C (gotoInset): adjust
8121         (dispatch): adjust, and rewrite loop.
8122
8123         * text2.C (init): adjust, and rewrite loop.
8124         (redoParagraphs): adjust
8125         (updateInset): adjust, and rewrite loop.
8126         (deleteEmptyParagraphMechanism): adjust
8127
8128         * tabular.C (LyXTabular): adjust
8129         (SetMultiColumn): adjust
8130         (TeXRow): adjust
8131
8132         * lyxtext.[Ch] (ownerParagraph): delete function
8133         (ownerParagraphs): new function returns a ParagraphList.
8134
8135         * BufferView.C (removeAutoInsets): adjust
8136         (insertErrors): adjust
8137         (setCursorFromRow): adjust
8138
8139 2003-04-01  Angus Leeming  <leeming@lyx.org>
8140
8141         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8142         in the frontends.
8143
8144 2003-04-02  John Levon  <levon@movementarian.org>
8145
8146         * lyxtext.h:
8147         * text.C:
8148         * Makefile.am:
8149         * text_funcs.h:
8150         * text_funcs.C: make transposeChars a free function
8151
8152         * lyxrow_funcs.C: remove wrong comment
8153
8154 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8155
8156         * lyxtext.h: adjust
8157         * rowpainter.C: adjust
8158         * text.C: adjust
8159         * text2.C: adjust
8160         * text3.C: adjust
8161
8162         * lyxrow_funcs. [Ch]: new files
8163
8164         * lyxrow.[Ch]: remove next and previous pointers
8165         (next,previous): remove accessor functions
8166         (isParEnd): move to lyxrow_funcs
8167         (lastPos): move to lyxrow_funcs
8168         (nextRowIsAllInset): move to lyxrow_funcs
8169         (lastPrintablePos): move to lyxrow_funcs
8170         (numberOfSeparators): move to lyxrow_funcs
8171         (numberOfHfills): move to lyxrow_funcs
8172         (numberOfLabelHfills): move to lyxrow_funcs
8173         (hfillExpansion): move to lyxrow_funcs
8174
8175         * lyxfunc.C: adjust
8176
8177         * bufferview_funcs.C (toggleAndShow): adjust
8178
8179         * RowList.h: Remove class RowList from file leave just a
8180         std::list<Row>.
8181
8182         * RowList.C: delete file
8183
8184         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8185         and lyxrow_funcs.h
8186
8187 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8188
8189         * text3.C (cursorPrevious): adjust
8190         (cursorNext): adjust
8191         (dispatch): adjust
8192
8193         * text2.C (redoHeightOfParagraph): adjust
8194         (redoDrawingOfParagraph): adjust
8195         (setCursor): adjust
8196
8197         * text.C (breakParagraph): adjust
8198         (insertChar): adjust
8199         (backspace): adjust
8200
8201         * rowpainter.C (RowPainter): adjust
8202         (leftMargin): simplify and adjust
8203         (most rowpainter functions): adjust.
8204
8205         * rowpainter.h: store the row as RowList::iterator not as Row*
8206
8207         * lyxcursor.C (row): taka RowList::iterator as arg
8208         (irow): ditto
8209
8210         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8211         of Row*.
8212
8213 2003-04-01  Angus Leeming  <leeming@lyx.org>
8214
8215         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8216         stuff like bool Bool.
8217
8218 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8219
8220         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8221         rewrite a loop
8222
8223 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8224
8225         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8226         RowList::iterator.
8227
8228         * lyxtext.h (rows): drop one version and leve a const variant that
8229         returns a RowList::iterator.
8230
8231 2003-03-31  Angus Leeming  <leeming@lyx.org>
8232
8233         * text.C (fill): ensure that the signature is the same as that in the
8234         header file.
8235
8236 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8237
8238         * text2.C (redoParagraphs): adjust
8239         (updateCounters): adjust
8240         (checkParagraph): adjust
8241         (getColumnNearX): adjust and reformat a bit.
8242
8243         * text.C (top_y): adjust
8244         (workWidth): adjust
8245         (leftMargin): adjust
8246         (prepareToPrint): adjust
8247         (getRow): adjust
8248         (getRowNearY): adjust
8249
8250         * lyxtext.h: make rowlist_ mutable.
8251
8252         * RowList.h: add const_iterator
8253         * RowList.C: adjust for RowList::const_iterator.
8254
8255         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8256         adjust.
8257
8258 2003-03-31  John Levon  <levon@movementarian.org>
8259
8260         * lyxrc.h:
8261         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8262
8263         * lyx_main.C: set default fonts from using lyx_gui funcs
8264
8265         * exporter.C: pdf_mode moved from lyxrc
8266
8267         * lyx_cb.C:
8268         * lyxfunc.C: changes from above
8269
8270 2003-03-31  John Levon  <levon@movementarian.org>
8271
8272         * lyx_main.C: fix to the last fix
8273
8274 2003-03-31  John Levon  <levon@movementarian.org>
8275
8276         * bufferlist.C: "Load original" -> "Load Original"
8277
8278         * converter.C:
8279         * exporter.C:
8280         * importer.C:
8281         * lyx_main.C:
8282         * format.C: more Alert cleanups
8283
8284 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8285
8286         * text2.C (removeParagraph): make it take a RowList::iterator as
8287         arg, adjust.
8288         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8289         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8290
8291         * text.C (anchor_row): make it take a RowList::iterator as arg,
8292         adjust.
8293         (computeBidiTables): make it take a const reference to Row instead
8294         of Row pointer, adjust.
8295         (leftMargin): make it take a RowList::iterator as arg, adjust.
8296         (rowBreakPoint): adjust
8297         (breakAgainOneRow): make it take a RowList::iterator as arg,
8298         adjust.
8299         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8300
8301         * bufferview_funcs.C (toggleAndShow): adjust
8302
8303 2003-03-30  John Levon  <levon@movementarian.org>
8304
8305         * Makefile.am:
8306         * BoostFormat.h:
8307         * boost-inst.C: moved to support
8308
8309         * several files: changes as a result
8310
8311 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8312
8313         * text2.C (LyXText): adjust.
8314         (init): adjust
8315         (removeRow): make it take a RowList::iterator as arg, adjust.
8316         (fullRebreak): adjust
8317         (deleteEmptyParagraphMechanism): adjust
8318         (clearPaint): adjust
8319         (postPaint): adjust
8320
8321         * text.C (top_y): adjust
8322         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8323         (breakAgain): make it take a RowList::iterator as arg, adjust.
8324         (breakParagraph): adjust
8325         (insertChar): adjust
8326         (backspace): adjust
8327
8328         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8329         need_break_row, and refresh_row.
8330
8331         * text3.C (dispatch): adjust
8332
8333         * text2.C (checkParagraph): adjust
8334         (setCursor): adjust
8335         (setCursorFromCoordinates): adjust
8336
8337         * text.C (top_y): adjust
8338         (workWidth): adjust
8339         (getRow): make it return a RowList::iterator, adjust
8340         (getRowNearY): make it return a RowList::iterator, adjust
8341
8342         * text2.C (init): adjust
8343         (insertRow): remove function
8344         (insertParagraph): adjust
8345         (redoParagraphs): adjust
8346         (fullRebreak): adjust
8347         (updateCounters): adjust
8348
8349         * text.C (top_y): rewrite to use RowList iterators.
8350         (top_y): adjust
8351         (setHeightOfRow): rewrite to sue RowList iterators.
8352         (appendParagraph): adjust
8353         (breakAgain): adjust
8354         (breakAgainOneRow): adjust
8355         (breakParagraph): adjust
8356         (getRow): adjust
8357         (getRowNearY): adjust, and remove commented code.
8358
8359         * lyxtext.h (firstRow): delete function
8360         (lastRow): delete function
8361         (rows): new function (const and non-const versions.)
8362         (insertRow): delete function
8363
8364         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8365
8366 2003-03-29  John Levon  <levon@movementarian.org>
8367
8368         * BufferView_pimpl.C: always update scrollbar top
8369         because pasting text when we're anchored could mean we
8370         miss an update altogether
8371
8372 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8373
8374         * text2.C (init): use rowlist_.end() and not 0.
8375         (insertRow): change to take a RowList::iterator as arg, adjust
8376         for this.
8377         (insertParagraph): change to take a RowList::iterator as arg,
8378         adjust for this.
8379         (redoParagraphs): remove some debug msgs.
8380
8381         * text.C (appendParagraph): change to take a RowList::iterator
8382         arg, adjust for this.
8383         (breakAgain): add an assert
8384         (breakAgainOneRow): ditto
8385
8386 2003-03-29  John Levon  <levon@movementarian.org>
8387
8388         * text2.C: do not clear selection after inc/decDepth
8389         (bug 550)
8390
8391 2003-03-29  John Levon  <levon@movementarian.org>
8392
8393         * BufferView.C:
8394         * buffer.C: fix broken strerrors according to Lars
8395
8396 2003-03-29  John Levon  <levon@movementarian.org>
8397
8398         * converters.C: more Alert cleanups
8399
8400 2003-03-29  John Levon  <levon@movementarian.org>
8401
8402         * bufferview_funcs.C: remove pointless Alert
8403
8404         * buffer.C: fix confusing error message when
8405         a template is chmoded 000
8406
8407 2003-03-29  John Levon  <levon@movementarian.org>
8408
8409         * BufferView.C:
8410         * BufferView.h:
8411         * BufferView_pimpl.C: Alert fixes
8412
8413         * Makefile.am:
8414         * tabular.C:
8415         * tabular-old.C: remove unused table compat reading
8416
8417 2003-03-29  John Levon  <levon@movementarian.org>
8418
8419         * BufferView.C:
8420         * buffer.C:
8421         * lyx_cb.h:
8422         * lyx_cb.C: more Alert cleanups
8423
8424         * lyxfunc.C: don't allow chktex if not latex document
8425
8426 2003-03-29  John Levon  <levon@movementarian.org>
8427
8428         * lyx_cb.C:
8429         * BufferView.C:
8430         * buffer.C: warnings pushed down from support/,
8431         kill err_alert
8432
8433 2003-03-29  John Levon  <levon@movementarian.org>
8434
8435         * lyxfunc.C: safety check for C-r (revert)
8436
8437 2003-03-29  John Levon  <levon@movementarian.org>
8438
8439         * bufferlist.h:
8440         * bufferlist.C: several UI fixes using Alert::prompt.
8441         Fix the pointless looping quit code. Fix stupid revert
8442         behaviour (bug 938)
8443
8444         * lyxvc.h:
8445         * lyxvc.C:
8446         * lyx_cb.C: use Alert::prompt
8447
8448         * lyx_main.C: remove a silly question
8449
8450         * lyxfunc.C: remove a couple of silly questions,
8451         use Alert::prompt
8452
8453 2003-03-28  John Levon  <levon@movementarian.org>
8454
8455         * text2.C: fix bug 974 (End on empty par)
8456
8457 2003-03-28  John Levon  <levon@movementarian.org>
8458
8459         * BufferView_pimpl.C:
8460         * LyXAction.C:
8461         * lfuns.h: remove do-nothing math greek lfuns
8462
8463 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8464
8465         * lyxgluelength.h (isValidGlueLength): add default arg on
8466         parameter 2. Remove default arg from friend in class.
8467
8468         * lyxlength.h (isValidLength): add default arg on parameter 2.
8469         Remove default arg from friend in class.
8470
8471         * text2.C (LyXText): adjust, initialize refresh_row.
8472         (init): adjust
8473         (removeRow): adjust
8474         (insertRow): adjust
8475         (insertParagraph): adjst
8476         (redoParagraphs): adjust
8477         (fullRebreak): adjust
8478         (updateCounters): adjust
8479         (deleteEmptyParagraphMechanism): first attempt at fixing a
8480         crashing bug.
8481
8482         * text.C (top_y): adjust
8483         (setHeightOfRow): adjust
8484         (getRow): adjust
8485         (getRowNearY): adjust
8486
8487         * lyxtext.h: include RowList.h
8488         (~LyXText): not needed anymore, deleted.
8489         (firstRow): modify for RowList
8490         (lastRow): new function
8491         Delete firstrow and lastrow class variables, add a Rowlist
8492         rowlist_ class variable.
8493
8494         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8495         paragraph is empty.
8496
8497         * RowList.C (insert): fix case where it == begin().
8498
8499 2003-03-26  Angus Leeming  <leeming@lyx.org>
8500
8501         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8502         the thesaurus dialog.
8503
8504 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8505
8506         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8507
8508         * RowList.[Ch]: new files
8509
8510         * ParagraphList.C (erase): handle the case where it == begin
8511         correctly.
8512
8513 2003-03-25  John Levon  <levon@movementarian.org>
8514
8515         * Makefile.am:
8516         * aspell_local.h:
8517         * aspell.C: add new aspell support
8518
8519         * lyxrc.h:
8520         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8521         have it accessible.
8522
8523 2003-03-25  Angus Leeming  <leeming@lyx.org>
8524
8525         * lfuns.h:
8526         * LyXAction.C (init): new LFUN_INSET_INSERT.
8527
8528         * BufferView_pimpl.C (dispatch): split out part of the
8529         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8530
8531         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8532         LFUN_INSET_APPLY.
8533
8534 2003-03-25  Angus Leeming  <leeming@lyx.org>
8535
8536         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8537
8538 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8539
8540         * text2.C:
8541         * text3.C: remove useless row->height(0)
8542
8543 2003-03-25  John Levon  <levon@movementarian.org>
8544
8545         * lyxtext.h:
8546         * text2.C:
8547         * text3.C: rename the refreshing stuff to better names
8548
8549 2003-03-24  John Levon  <levon@movementarian.org>
8550
8551         * BufferView_pimpl.h:
8552         * BufferView_pimpl.C: update layout choice on a mouse
8553         press/release
8554
8555 2003-03-23  John Levon  <levon@movementarian.org>
8556
8557         * Makefile.am: fix commandtags.h reference
8558
8559 2003-03-22  John Levon  <levon@movementarian.org>
8560
8561         * BufferView_pimpl.C:
8562         * lyxtext.h:
8563         * rowpainter.C:
8564         * rowpainter.h:
8565         * text.C:
8566         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8567
8568 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8569
8570         * lyxtext.h:
8571         * text.C: take the rtl methods out of line
8572
8573 2003-03-21 André Pönitz <poenitz@gmx.net>
8574
8575         * metricsinfo.[Ch]: new files containing structures to be passed around
8576         during the two-phase-drawing...
8577
8578 2003-03-21 André Pönitz <poenitz@gmx.net>
8579
8580         * lyxtextclass.C: read 'environment' tag.
8581
8582 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8583
8584         * text2.C (removeRow): fix bug 964
8585
8586 2003-03-20  John Levon  <levon@movementarian.org>
8587
8588         * rowpainter.C:
8589         * text.C:
8590         * text2.C: paint cleanups. Inset::update() dropped font
8591         parameter
8592
8593 2003-03-19  John Levon  <levon@movementarian.org>
8594
8595         * lyxfunc.C: only fitcursor/markDirty if available()
8596
8597 2003-03-19  John Levon  <levon@movementarian.org>
8598
8599         * commandtags.h: rename to ...
8600
8601         * lfuns.h: ... this, and renumber / cleanup
8602
8603 2003-03-19  John Levon  <levon@movementarian.org>
8604
8605         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8606         fit the cursor after an lfun
8607
8608         * BufferView.h:
8609         * BufferView.C:
8610         * BufferView_pimpl.h:
8611         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8612
8613         * LyXAction.C: layout-character should have ReadOnly
8614
8615         * ParagraphParameters.C:
8616         * buffer.C:
8617         * bufferview_funcs.C:
8618         * lyx_cb.C:
8619         * lyxfind.C:
8620         * lyxtext.h:
8621         * text.C:
8622         * text2.C:
8623         * text3.C:
8624         * undo_funcs.C: changes from above
8625
8626 2003-03-18  John Levon  <levon@movementarian.org>
8627
8628         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8629         remove it from update()
8630
8631         * lyxfunc.C: update layout choice after an lfun
8632
8633         * text3.C: remove extra updateLayoutChoice()s
8634
8635 2003-03-18  John Levon  <levon@movementarian.org>
8636
8637         * text.C: top_y change means full repaint, fix
8638         a drawing bug with cursor movement
8639
8640 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8641
8642         * lyxtext.h:
8643         * text.C:
8644         * text2.C: anchor row on setCursor
8645
8646 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8647
8648         * lyxtext.h: remove almost all mutable keywords
8649         * text.C:
8650         * text2.C:
8651         * text3.C: remove const keywords accordingly
8652
8653 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8654
8655         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8656         anon namespace
8657         (TeXEnvironment): ditto
8658         (TeXOnePar): ditto
8659
8660 2003-03-17  John Levon  <levon@movementarian.org>
8661
8662         * text.C (rowBreakPoint): remove attempt to fix displayed
8663         math insets inside a manual label
8664
8665 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8666
8667         * lyxtext.h: remove BufferView* as first arg from almost all class
8668         functions.
8669         * other files: adjust.
8670
8671 2003-03-17  John Levon  <levon@movementarian.org>
8672
8673         * lyxtext.h:
8674         * undo_funcs.C:
8675         * text2.C: more paint cleanups
8676
8677         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8678
8679         * rowpainter.h:
8680         * rowpainter.C: remove "smart" background painting code
8681
8682 2003-03-16  John Levon  <levon@movementarian.org>
8683
8684         * lyxtext.h:
8685         * text.C:
8686         * text2.C:
8687         * text3.C: add helper functions for setting refresh_row/y
8688
8689 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8690
8691         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8692         newline inset which *can* get inserted in the pass_thru layouts.
8693         This is primarily for literate documents.
8694
8695 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8696
8697         * buffer.C: increment LYX_FORMAT to 223
8698
8699 2003-03-14 André Pönitz <poenitz@gmx.net>
8700
8701         * textclass.h: prepare for environment handling, ws changes
8702         * lyxlayout.C: read latexheader and latexfooter tags
8703
8704 2003-03-14  John Levon  <levon@movementarian.org>
8705
8706         * text2.C: rewrite ::status() a bit
8707
8708 2003-03-13  John Levon  <levon@movementarian.org>
8709
8710         * lyxtext.h: add some docs
8711
8712 2003-03-13  John Levon  <levon@movementarian.org>
8713
8714         * lyxtext.h:
8715         * text.C:
8716         * text2.C:
8717         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8718
8719 2003-03-13  John Levon  <levon@movementarian.org>
8720
8721         * text3.C: fix appendix redrawing
8722
8723 2003-03-13  John Levon  <levon@movementarian.org>
8724
8725         * text.C (setHeightOfRow):
8726         * rowpainter.h:
8727         * rowpainter.C: make appendix mark have the text
8728           "Appendix" so the user knows what it is
8729
8730         * LColor.h:
8731         * LColor.C: s/appendixline/appendix/ from above
8732
8733 2003-03-13  John Levon  <levon@movementarian.org>
8734
8735         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8736
8737         * text.C: fix a getChar(pos) bug properly
8738
8739 2003-03-13  Angus Leeming  <leeming@lyx.org>
8740
8741         * commandtags.h:
8742         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8743         Probably only temporary. Let's see how things pan out.
8744
8745         * BufferView.C (unlockInset):
8746         * BufferView_pimpl.C (fitCursor):
8747         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8748
8749         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8750         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8751
8752         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8753         new functions that convert ParagraphParameters to and from a string.
8754
8755         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8756         BufferView::Pimpl's dispatch.
8757         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8758
8759 2003-03-13 André Pönitz <poenitz@gmx.net>
8760
8761         * lyxfunc.C:
8762         * text3.C:
8763         * factory.C: make it aware of InsetEnv
8764
8765 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8766
8767         * text2.C (setCursor): never ask for one past last
8768         (setCursor): add some debugging messages.
8769
8770         * text.C (singleWidth): never ask for one past last
8771         (singleWidth): ditto
8772         (leftMargin): ditto
8773         (rightMargin): ditto
8774         (rowBreakPoint): ditto
8775         (setHeightOfRow): ditto
8776         (prepareToPrint): ditto
8777
8778         * rowpainter.C (paintBackground): never ask for one past last
8779         (paintText): never ask for one past last
8780
8781         * paragraph_pimpl.C (getChar): make the assert stricter, never
8782         allow the one past last pos to be taken
8783
8784         * paragraph.C (getChar): ws changes only
8785
8786         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8787         (numberOfSeparators): ditto
8788         (numberOfHfills): ditto
8789
8790 2003-03-12  John Levon  <levon@movementarian.org>
8791
8792         * author.h:
8793         * author.C:
8794         * bufferparams.h:
8795         * bufferparams.C:
8796         * paragraph_funcs.C: fix per-buffer authorlists
8797
8798 2003-03-12  John Levon  <levon@movementarian.org>
8799
8800         * text.C: fix newline in right address
8801
8802 2003-03-12  Angus Leeming  <leeming@lyx.org>
8803
8804         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8805         duplicate those in LyXFunc::dispatch.
8806
8807         * commandtags.h:
8808         * LyXAction.C:
8809         * ToolbarDefaults.C:
8810         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8811         Add LFUN_FONTFREE_UPDATE.
8812
8813         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8814         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8815
8816         * bufferview_func.[Ch]: several new functions to facilliate
8817         transfer of data to and from the character dialog.
8818
8819 2003-03-12  John Levon  <levon@movementarian.org>
8820
8821         * buffer.C:
8822         * paragraph.h:
8823         * paragraph.C:
8824         * paragraph_funcs.C:
8825         * paragraph_pimpl.C:
8826         * sgml.C:
8827         * tabular.C:
8828         * text.C:
8829         * text3.C: remove META_NEWLINE in favour of an inset
8830
8831         * rowpainter.h:
8832         * rowpainter.C: remove paintNewline (done by inset)
8833
8834 2003-03-12  John Levon  <levon@movementarian.org>
8835
8836         * paragraph_pimpl.C: complain about bad getChar()s
8837         for a while at least
8838
8839 2003-03-12  John Levon  <levon@movementarian.org>
8840
8841         * buffer.h:
8842         * buffer.C: move paragraph read into a separate function,
8843         a little renaming to reflect that.
8844
8845         * bufferparams.h:
8846         * bufferparams.C: remove the author_ids map, not necessary now
8847
8848         * factory.h:
8849         * factory.C: moved Buffer::readInset to here
8850
8851         * paragraph_funcs.h:
8852         * paragraph_funcs.C: readParagraph free function moved from
8853         buffer.C
8854
8855         * tabular.C: name change
8856
8857 2003-03-12  John Levon  <levon@movementarian.org>
8858
8859         * buffer.C:
8860         * ParagraphParameters.C: move par params input to
8861         a read() method
8862
8863         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8864         behave like a normal read from the stream wrt reading
8865         a line vs. a \\token
8866
8867 2003-03-12  John Levon  <levon@movementarian.org>
8868
8869         * paragraph.C:
8870         * ParagraphParameters.h:
8871         * ParagraphParameters.C: move output code to a
8872         ::write() method
8873
8874 2003-03-12  John Levon  <levon@movementarian.org>
8875
8876         * BufferView.C (insertLyXFile):
8877         * buffer.h:
8878         * buffer.C:
8879         * tabular.C: use a parlist iterator for creating the
8880           document.
8881
8882 2003-03-12  John Levon  <levon@movementarian.org>
8883
8884         * buffer.C: make current_change static local not
8885           static file-scope
8886
8887 2003-03-12  John Levon  <levon@movementarian.org>
8888
8889         * buffer.C: fix insertStringAsLines for change tracking
8890
8891 2003-03-12  John Levon  <levon@movementarian.org>
8892
8893         * BufferView.C:
8894         * tabular.C:
8895         * buffer.h:
8896         * buffer.C:
8897         * bufferparams.h:
8898         * bufferparams.C: move author list into params. Rename some
8899           functions. Move the header reading into a separate token
8900           loop. Move the header token reading into BufferParams.
8901
8902 2003-03-12  John Levon  <levon@movementarian.org>
8903
8904         * changes.C: put debug inside lyxerr.debugging() checks
8905
8906 2003-03-11 André Pönitz <poenitz@gmx.net>
8907
8908         * factory.C: make it aware of InsetHFill
8909
8910 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8911
8912         * buffer.C (latexParagraphs): move function from here...
8913         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8914         args.
8915
8916 2003-03-10  Angus Leeming  <leeming@lyx.org>
8917
8918         * LyXAction.C (init): fix bug in poplating array with multiple entries
8919         with the same LFUN (spotted by JMarc).
8920
8921 2003-03-10  John Levon  <levon@movementarian.org>
8922
8923         * text.C:
8924         * text2.C: move getColumnNearX() near its
8925         only call site
8926
8927 2003-03-10  John Levon  <levon@movementarian.org>
8928
8929         * text.C: fix break before a minipage
8930
8931 2003-03-10  John Levon  <levon@movementarian.org>
8932
8933         * text.C: fix the last commit
8934
8935 2003-03-09  John Levon  <levon@movementarian.org>
8936
8937         * lyxtext.h:
8938         * text.C:
8939         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8940         bug 365 (don't break before insets unless needed). Don't
8941         return a value > last under any circumstances.
8942
8943 2003-03-09  Angus Leeming  <leeming@lyx.org>
8944
8945         * BufferView_pimpl.C (trackChanges, dispatch): call
8946         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8947
8948 2003-03-09  Angus Leeming  <leeming@lyx.org>
8949
8950         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8951         than Dialogs::showAboutlyx().
8952
8953 2003-03-09  Angus Leeming  <leeming@lyx.org>
8954
8955         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8956         than Dialogs::showTabularCreate().
8957
8958 2003-03-09  John Levon  <levon@movementarian.org>
8959
8960         * lyxtext.h:
8961         * text.C:
8962         * text2.C: 3rd arg to nextBreakPoint was always the same.
8963           Use references.
8964
8965 2003-03-08  John Levon  <levon@movementarian.org>
8966
8967         * lyxrow.C:
8968         * paragraph.C:
8969         * paragraph.h:
8970         * rowpainter.C:
8971         * text.C:
8972         * text2.C: Remove the "main" bit from the "main body"
8973           notion.
8974
8975 2003-03-08  John Levon  <levon@movementarian.org>
8976
8977         * text.C (leftMargin): The left margin of an empty
8978         manual label paragraph should not include the label width
8979         string length.
8980
8981         * text.C (prepareToPrint): don't attempt to measure hfills
8982         for empty manual label paragraphs - the answer should be 0
8983
8984 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8985
8986         * CutAndPaste.C: remove commented code and reindent.
8987
8988 2003-03-08  John Levon  <levon@movementarian.org>
8989
8990         * lyxfunc.h:
8991         * lyxfunc.C: move reloadBuffer()
8992
8993         * BufferView.h:
8994         * BufferView.C: to here
8995
8996         * lyxvc.C: add comment
8997
8998         * vc-backend.h:
8999         * vc-backend.C: call bv->reload() to avoid
9000           getStatus() check on MENURELOAD
9001
9002 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9003
9004         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9005         to an old format .dep file.
9006
9007 2003-03-07  Angus Leeming  <leeming@lyx.org>
9008
9009         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9010         when the LFUN_MOUSE_RELEASE should have been handled by
9011         inset->localDispatch.
9012
9013 2003-03-07  Angus Leeming  <leeming@lyx.org>
9014
9015         * BufferView_pimpl.C (dispatch):
9016         * LyXAction.C (init):
9017         * ToolbarDefaults.C (init):
9018         * commandtags.h:
9019         * lyxfunc.C (getStatus):
9020         remove LFUN_INSET_GRAPHICS.
9021
9022         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9023
9024 2003-03-07  Angus Leeming  <leeming@lyx.org>
9025
9026         * commandtags.h:
9027         * LyXAction.C (init):
9028         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9029
9030         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9031
9032         * commandtags.h:
9033         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9034
9035         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9036         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9037
9038 2003-03-07  Angus Leeming  <leeming@lyx.org>
9039
9040         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9041         remove "ert".
9042
9043 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9044
9045         * ParagraphList.C (front): new function
9046         (back): implement
9047
9048 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9049
9050         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9051         and top_row_offset_. removed var first_y.
9052         * text.C (top_y):
9053         * text2.C (LyXText, removeRow):
9054         * text3.C:
9055         * BufferView_pimpl.C:
9056         use these methods instead of using first_y
9057
9058 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9059
9060         * text2.C (pasteSelection): adjust for checkPastePossible
9061
9062         * CutAndPaste.C: remove Paragraph * buf and replace with
9063         ParagraphList paragraphs.
9064         (DeleteBuffer): delete
9065         (cutSelection): change the tc type to textclass_type
9066         (copySelection): change the tc type to textclass_type
9067         (copySelection): adjust for ParagraphList
9068         (pasteSelection): change the tc type to textclass_type
9069         (pasteSelection): adjust for Paragraphlist
9070         (nrOfParagraphs): simplify for ParagraphList
9071         (checkPastePossible): simplify for ParagraphList
9072         (checkPastePossible): remove unused arg
9073
9074         * ParagraphList.C (insert): handle the case where there are no
9075         paragraphs yet.
9076
9077         * CutAndPaste.h: make CutAndPaste a namespace.
9078
9079         * text3.C (dispatch): adjust
9080
9081         * text.C (breakParagraph): add a ParagraphList as arg
9082
9083         * paragraph_funcs.C (breakParagraph): change to take a
9084         BufferParams and a ParagraphList as args.
9085         (breakParagraphConservative): ditto
9086         (mergeParagraph): ditto
9087         (TeXDeeper): add a ParagraphList arg
9088         (TeXEnvironment): ditto
9089         (TeXOnePar): ditto
9090
9091         * buffer.C (readLyXformat2): adjust
9092         (insertStringAsLines): adjust
9093         (latexParagraphs): adjust
9094
9095         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9096         (cutSelection): adjust
9097         (pasteSelection): adjust
9098
9099         * BufferView_pimpl.C (insertInset): adjust
9100
9101 2003-03-05  Angus Leeming  <leeming@lyx.org>
9102
9103         * commandtags.h:
9104         * LyXAction.C (init):
9105         * BufferView_pimpl.C (dispatch):
9106         * lyxfunc.C (getStatus):
9107         remove LFUN_CHILD_INSERT.
9108
9109         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9110
9111 2003-03-05  Angus Leeming  <leeming@lyx.org>
9112
9113         * commandtags.h:
9114         * LyXAction.C (init):
9115         * src/factory.C (createInset):
9116         * lyxfunc.C (getStatus):
9117         * text3.C (dispatch):
9118         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9119
9120         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9121
9122 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9123
9124         * ParagraphList.C (insert): handle insert right before end()
9125         (erase): fix cases where it can be first or last paragraph.
9126
9127 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9128
9129         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9130         Paragraph::next and Paragraph::previous
9131         (TeXOnePar): ditto
9132
9133         * text.C (breakParagraph): adjust
9134
9135         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9136         BufferParams& as arg.
9137         (breakParagraph): use ParagraphList::insert
9138         (breakParagraphConservative): take a Buffer* instead of a
9139         BufferParams& as arg.
9140         (breakParagraphConservative): use ParagraphList::insert.
9141
9142         * buffer.C (insertStringAsLines): un-const it
9143         (insertStringAsLines): adjust
9144
9145         * ParagraphList.C (insert): new function
9146
9147         * CutAndPaste.C (pasteSelection): adjust
9148
9149         * text.C (backspace): adjust
9150
9151         * tabular.C (SetMultiColumn): adjust
9152
9153         * CutAndPaste.C (cutSelection): adjust
9154         (pasteSelection): adjust
9155
9156         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9157         Buffer const * as arg
9158
9159         * ParagraphList.C (erase): new function
9160         * paragraph_funcs.C (mergeParagraph): use it
9161         (mergeParagraph): make it take a Buffer* instead of a
9162         BufferParams* as arg
9163
9164         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9165         as arg
9166         (breakParagraphConservative): ditto
9167
9168         * paragraph.h: remove the breakParagraph friend
9169
9170         * paragraph.C (eraseIntern): new function
9171         (setChange): new function
9172
9173         * paragraph_funcs.C (mergeParagraph): make it take a
9174         ParagraphList::iterator instead of a Paragraph *, adjust
9175         accordingly.
9176
9177         * paragraph.h: move an #endif so that the change tracking stuff
9178         also works in the NO_NEXT case.
9179
9180 2003-03-04  Angus Leeming  <leeming@lyx.org>
9181
9182         * commandtags.h:
9183         * LyXAction.C: new LFUN_INSET_MODIFY.
9184
9185         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9186         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9187
9188 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9189
9190         * several files: ws changes only
9191
9192         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9193         (TeXEnvironment): ditto
9194         (TeXDeeper): ditto
9195
9196         * buffer.C (makeLaTeXFile): adjust
9197         (latexParagraphs): make it take ParagraphList::iterator as args
9198
9199 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9200
9201         * buffer.C (latexParagraphs): adjust
9202
9203         * paragraph.C (TeXOnePar): move function...
9204         (optArgInset): move function...
9205         (TeXEnvironment): move function...
9206         * paragraph_pimpl.C (TeXDeeper): move function...
9207         * paragraph_funcs.C: ...here
9208
9209         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9210
9211 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9212
9213         * buffer.C (readInset): remove compability code for old Figure and
9214         InsetInfo insets
9215
9216 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9217
9218         * buffer.C: ws changes
9219         (readInset):
9220
9221         * BufferView_pimpl.C: ditto
9222         * author.C: ditto
9223         * buffer.h: ditto
9224         * bufferlist.h: ditto
9225         * changes.h: ditto
9226         * lyxfunc.C: ditto
9227
9228 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9229
9230         * converter.[Ch]: split into itself +
9231         * graph.[Ch]
9232         * format.[Ch]
9233         * Makefile.am: += graph.[Ch] + format.[Ch]
9234         * MenuBackend.C
9235         * buffer.C
9236         * exporter.C
9237         * importer.C
9238         * lyx_main.C
9239         * lyxfunc.C
9240         * lyxrc.C: added #include "format.h"
9241
9242 2003-02-27  Angus Leeming  <leeming@lyx.org>
9243
9244         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9245           a label.
9246
9247         * factory.C (createInset): add "label" to the factory.
9248
9249         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9250           string and do no more.
9251
9252 2003-02-27  Angus Leeming  <leeming@lyx.org>
9253
9254         * commandtags.h:
9255         * LyXAction.C (init):
9256         * factory.C (createInset):
9257         * BufferView_pimpl.C (dispatch):
9258           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9259
9260         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9261
9262         * lyxfunc.C (dispatch):
9263         * text3.C (dispatch): pass name to params2string.
9264
9265 2003-02-26  Angus Leeming  <leeming@lyx.org>
9266
9267         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9268           blocks together.
9269           Rearrange the ~includes. Strip out the unnecessary ones.
9270
9271         * factory.C (createInset): reformat.
9272           create new insets for the various LFUN_XYZ_APPLY lfuns.
9273
9274 2003-02-26  John Levon  <levon@movementarian.org>
9275
9276         * lyxrow.h:
9277         * lyxrow.C: add isParStart,isParEnd helpers
9278
9279         * paragraph.h: make isInserted/DeletedText take refs
9280
9281         * paragraph_funcs.h:
9282         * paragraph_funcs.C: remove #if 0'd code
9283
9284         * lyxtext.h:
9285         * text3.C:
9286         * text2.C:
9287         * text.C: use lyxrow helpers above.
9288           Move draw and paint routines to RowPainter.
9289           Make several methods use refs not pointers.
9290           Make backgroundColor() const.
9291           Add markChangeInDraw(), isInInset().
9292           Merge changeRegionCase into changeCase.
9293           Make workWidth() shouldn't-happen code into an Assert.
9294
9295         * rowpainter.h:
9296         * rowpainter.C: new class for painting a row.
9297
9298         * vspace.h:
9299         * vspace.C: make inPixels take a ref
9300
9301 2003-02-26  Angus Leeming  <leeming@lyx.org>
9302
9303         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9304         LFUN_REF_APPLY.
9305
9306 2003-02-25  John Levon  <levon@movementarian.org>
9307
9308         * ispell.C: give the forked command a more accurate name
9309
9310 2003-02-22  John Levon  <levon@movementarian.org>
9311
9312         * toc.h:
9313         * toc.C: make TocItem store an id not a Paragraph *
9314           (bug #913)
9315
9316 2003-02-21  Angus Leeming  <leeming@lyx.org>
9317
9318         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9319           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9320           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9321           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9322           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9323           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9324
9325         * BufferView_pimpl.C (dispatch):
9326         * LyXAction.C (init):
9327         * factory.C (createInset):
9328         * lyxfunc.C (getStatus, dispatch):
9329         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9330
9331 2003-02-21  Angus Leeming  <leeming@lyx.org>
9332
9333         * BufferView_pimpl.C (MenuInsertLyXFile):
9334         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9335         * lyxfunc.C (menuNew, open, doImport):
9336           no longer pass a LyXView & to fileDlg.
9337
9338 2003-02-21  Angus Leeming  <leeming@lyx.org>
9339
9340         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9341         * LyXAction.C: change, BIBKEY to BIBITEM.
9342         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9343         Change InsetBibKey to InsetBibitem.
9344         Change BIBKEY_CODE to BIBITEM_CODE.
9345         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9346         * factory.C: replace insetbib.h with insetbibitem.h.
9347         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9348         * paragraph.C: replace insetbib.h with insetbibitem.h.
9349         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9350         Change bibkey() to bibitem().
9351         * text.C: remove insetbib.h.
9352         * text2.C: replace insetbib.h with insetbibitem.h.
9353         change bibkey() to bibitem().
9354         * text3.C: remove insetbib.h.
9355         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9356
9357 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9358
9359         * lyxrc.C (output): enclose user email in quotes (in case there are
9360         several words)
9361
9362 2003-02-18  John Levon  <levon@movementarian.org>
9363
9364         * buffer.h: add std::
9365
9366 2003-02-17  John Levon  <levon@movementarian.org>
9367
9368         * SpellBase.h:
9369         * ispell.h:
9370         * ispell.C:
9371         * pspell.h:
9372         * pspell.C: reworking. Especially in ispell, a large
9373           number of clean ups and bug fixes.
9374
9375         * lyxfunc.C: fix revert to behave sensibly
9376
9377 2003-02-17 André Pönitz <poenitz@gmx.net>
9378
9379         * LyXAction.C:
9380         * commandtags.h: new LFUN_INSERT_BIBKEY
9381
9382         * layout.h:
9383         * lyxlayout.C:
9384         * buffer.C:
9385         * factory.C:
9386         * text.C:
9387         * text2.C:
9388         * text3.C:
9389         * paragraph.[Ch]:
9390         * paragraph_func.C: remove special bibkey handling
9391
9392 2003-02-17  John Levon  <levon@movementarian.org>
9393
9394         * text.C (Delete): fix case where delete at the end of
9395           the very first paragraph would not merge the pars
9396
9397 2003-02-17  John Levon  <levon@movementarian.org>
9398
9399         * lyxrow.C: fix lastPrintablePos()
9400
9401 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9402
9403         * bufferparams.C (writeLaTeX): add a std:here
9404
9405         * buffer.C: and remove a using directive there
9406
9407 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9408
9409         * buffer.C (makeLaTeXFile): move the code that generates the
9410           preamble...
9411
9412         * bufferparams.C (writeLaTeX): ... in this new method
9413
9414         * LaTeXFeatures.C (getEncodingSet): make const
9415           (getLanguages): make const
9416
9417         * MenuBackend.C (binding): returns the binding associated to this
9418           action
9419           (add): sets the status of each item by calling getStatus. Adds
9420           some intelligence.
9421           (read): add support for OptSubMenu
9422           (expand): remove extra separator at the end of expanded menu
9423
9424 2003-02-15  John Levon  <levon@movementarian.org>
9425
9426         * BufferView.C:
9427         * BufferView_pimpl.C:
9428         * bufferlist.h:
9429         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9430           inset code that had no actual effect. Remove unneeded status
9431           code.
9432
9433 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9434
9435         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9436           in preamble
9437
9438 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9439
9440         * text.C (drawLengthMarker): also draw an arrow marker for
9441           symbolic lengths (medskip...)
9442
9443 2003-02-14  John Levon  <levon@movementarian.org>
9444
9445         * tabular.h:
9446         * tabular.C: better method names
9447
9448 2003-02-14  John Levon  <levon@movementarian.org>
9449
9450         * BufferView_pimpl.C:
9451         * bufferlist.C:
9452         * buffer.C:
9453         * converter.C:
9454         * lyx_cb.C:
9455         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9456           it's a more accurate name. Remove some pointless uses.
9457
9458 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9459
9460         * text2.C (LyXText): change order of initilizers to shut off
9461           warnings
9462
9463 2003-02-14  John Levon  <levon@movementarian.org>
9464
9465         * buffer.C: use ParIterator for getParFromID()
9466
9467         * paragraph.h:
9468         * paragraph.C:
9469         * paragraph_pimpl.h:
9470         * paragraph_pimpl.C: remove unused getParFromID()
9471
9472 2003-02-14  John Levon  <levon@movementarian.org>
9473
9474         * buffer.C: remove some very old #if 0'd parse code
9475
9476 2003-02-13  John Levon  <levon@movementarian.org>
9477
9478         * text.h:
9479         * text.C:
9480         * text2.C: move hfillExpansion(), numberOfSeparators(),
9481           rowLast(), rowLastPrintable(), numberofHfills(),
9482           numberOfLabelHfills() ...
9483
9484         * lyxrow.h:
9485         * lyxrow.C: ... to member functions here.
9486
9487         * paragraph.h:
9488         * paragraph.C:
9489         * lyxtext.h:
9490         * text.C: remove LyXText::beginningOfMainBody(), and call
9491           p->beginningOfMainBody() directly. Move the check for
9492           LABEL_MANUAL into the latter.
9493
9494         * text.h:
9495         * text.C:
9496         * text2.C:
9497         * vspace.C:
9498         * BufferView.h:
9499         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9500
9501         * text.h:
9502         * text.C:
9503         * text2.C:
9504         * text3.C:
9505         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9506           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9507
9508 2003-02-13  John Levon  <levon@movementarian.org>
9509
9510         * CutAndPaste.C: remove debug
9511
9512 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9513
9514         * paragraph.C (asString): remove two unused variables
9515
9516         * lyxtextclass.C (readTitleType):
9517           (Read):
9518           (LyXTextClass): handle new members titletype_ and titlename_
9519
9520         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9521
9522 2003-02-09  John Levon  <levon@movementarian.org>
9523
9524         * buffer.h:
9525         * buffer.C: replace hand-coded list with a map for the dep clean
9526
9527 2003-02-08  John Levon  <levon@movementarian.org>
9528
9529         * LaTeX.C: consolidate code into showRunMessage() helper
9530
9531 2003-02-08  John Levon  <levon@movementarian.org>
9532
9533         * lyxfind.C:
9534         * lyxtext.h:
9535         * text2.C:
9536         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9537           and pass the size in explicitly
9538
9539         * BufferView_pimpl.h:
9540         * BufferView_pimpl.C:
9541         * BufferView.h:
9542         * BufferView.C: add getCurrentChange()
9543
9544         * BufferView_pimpl.h:
9545         * BufferView_pimpl.C: handle change lfuns
9546
9547         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9548           for changes. Mark pasted paragraphs as new.
9549
9550         * support/lyxtime.h:
9551         * support/lyxtime.C:
9552         * DepTable.C: abstract time_t as lyx::time_type
9553
9554         * LColor.h:
9555         * LColor.C: add colours for new text, deleted text, changebars
9556
9557         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9558           package use "usenames" option.
9559
9560         * commandtags.h:
9561         * lyxfunc.C:
9562         * LyXAction.C: add change lfuns
9563
9564         * Makefile.am:
9565         * author.h:
9566         * author.C: author handling
9567
9568         * buffer.h:
9569         * buffer.C: add a per-buffer author list, with first entry as
9570           current author. Handle new .lyx tokens for change tracking. Output
9571           author list to .lyx file. Output dvipost stuff to .tex preamble.
9572           Bump lyx format to 222.
9573
9574         * bufferlist.h:
9575         * bufferlist.C: add setCurrentAuthor() to reset current author details
9576           in all buffers.
9577
9578         * bufferparams.h:
9579         * bufferparams.C: add param for tracking
9580
9581         * bufferview_funcs.C: output change info in minibuffer
9582
9583         * Makefile.am:
9584         * changes.h:
9585         * changes.C: add change-tracking structure
9586
9587         * debug.h:
9588         * debug.C: add CHANGES debug flag
9589
9590         * lyxfind.h:
9591         * lyxfind.C: add code for finding the next change piece
9592
9593         * lyxrc.h:
9594         * lyxrc.C: add user_name and user_email
9595
9596         * lyxrow.h:
9597         * lyxrow.C: add a metric for the top of the text line
9598
9599         * lyxtext.h:
9600         * text.C: implement accept/rejectChange()
9601
9602         * lyxtext.h:
9603         * text.C: paint changebars. Paint new/deleted text in the chosen
9604         colours. Strike through deleted text.
9605
9606         * paragraph.h:
9607         * paragraph.C:
9608         * paragraph_pimpl.h:
9609         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9610           in the current change to the insert functions. Rework erase to
9611           mark text as deleted, adding an eraseIntern() and a range-based
9612           erase(). Implement per-paragraph change lookup and
9613           accept/reject.
9614
9615         * paragraph_funcs.C: Fixup paste for change tracking.
9616
9617         * tabular.C: mark added row/columns as new.
9618
9619         * text.C: fix rowLast() to never return -1. Don't allow
9620           spellchecking of deleted text. Track transpose changes. Don't
9621           allow paragraph break or merge where appropriate.
9622
9623         * text2.C: leave cursor at end of selection after a cut.
9624
9625 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9626
9627         * text.C (getLengthMarkerHeight):
9628         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9629         visible on screen too.
9630
9631 2003-02-07  John Levon  <levon@movementarian.org>
9632
9633         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9634
9635 2003-02-05  Angus Leeming  <leeming@lyx.org>
9636
9637         * lyxserver.C (read_ready): revert my patch of 11 September last year
9638         as it sends PC cpu through the roof. Presumably this means that
9639         the lyxserver will no longer run on an Alpha...
9640
9641 2003-01-30  Angus Leeming  <leeming@lyx.org>
9642
9643         * factory.C (createInset): create an InsetCommandParam of type "index"
9644         and use it to 'do the right thing'.
9645
9646         * text2.C (getStringToIndex): ensure that cursor position is always
9647         reset to the reset_cursor position.
9648
9649 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9650
9651         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9652         disabled.
9653
9654 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9655
9656         * bufferview.C:
9657         * lyxcb.C:
9658         * lyxfunc.C: Output messages with identical spelling, punctuation,
9659         and spaces
9660
9661 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9662
9663         * MenuBackend.C (expandFormats): List only viewable export formats
9664         in "View" menu
9665
9666         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9667         message
9668
9669         * lyxfunc.C (getStatus): Make sure that formats other than
9670         "fax" can also be disabled
9671
9672 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9673
9674         * text3.C (dispatch): put the lfuns that insert insets in 3
9675         groups, and call doInsertInset with appropriate arguments.
9676         (doInsertInset): new function, that creates an inset and inserts
9677         it according to some boolean parameters.
9678
9679 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9680
9681         * buffer.C (readFile): remember to pass on 'par' when calling
9682         readFile recursively.
9683
9684 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9685
9686         * MenuBackend.C (expandFormats): add "..." to import formats.
9687
9688 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9689
9690         * paragraph.C (asString): Remove XForms RTL hacks.
9691
9692 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9693         * buffer.C: fix typo
9694
9695 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9696
9697         * Makefile.am (LIBS): delete var
9698         (lyx_LDADD): add @LIBS@ here instead.
9699
9700 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9701
9702         * Clarify the meaning of "wheel mouse jump"
9703
9704 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9705
9706         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9707         tabular in a float
9708
9709 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9710
9711         * importer.C (Loaders): do not preallocate 3 elements in the
9712         vector, since one ends up with 6 elements otherwise
9713
9714 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9715
9716         * DepTable.C (write): write the file name as last element of the
9717         .dep file (because it may contain spaces)
9718         (read): read info in the right order
9719
9720 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9721
9722         * paragraph_pimpl.C (simpleTeXBlanks):
9723         (simpleTeXSpecialChars):
9724         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9725
9726         * tabular.C (latex): add some missing case statements. Reindent.
9727
9728         * MenuBackend.C (expandToc): remove unused variable.
9729
9730 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9731
9732         * LColor.C:
9733         * LaTeX.C:
9734         * LyXAction.C:
9735         * MenuBackend.C:
9736         * buffer.C:
9737         * exporter.C:
9738         * lyxfunc.C:
9739         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9740         and the like.
9741
9742 2003-01-05  John Levon  <levon@movementarian.org>
9743
9744         * BufferView.h:
9745         * BufferView.C: add getEncoding()
9746
9747         * kbsequence.h:
9748         * kbsequence.C: do not store last keypress
9749
9750         * lyxfunc.h:
9751         * lyxfunc.C: store last keypress here instead. Pass encoding
9752           to getISOEncoded()
9753
9754 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9755
9756         * lyx_main.C (init): remove annoying error message when following
9757         symbolic links (bug #780)
9758
9759 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9760
9761         * text.C (insertChar):
9762         * lyxrc.C (getDescription): remove extra spaces
9763
9764 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9765
9766         * lyxrc.C (getDescription): remove extra spaces
9767
9768 2002-12-20  John Levon  <levon@movementarian.org>
9769
9770         * text3.C: hack fix for page up/down across tall rows
9771
9772 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9773
9774         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9775         not been invoked
9776
9777 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9778
9779         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9780         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9781         thesaurus is not compiled in
9782
9783 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9784
9785         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9786
9787 2002-12-16  Angus Leeming  <leeming@lyx.org>
9788
9789         * lyxrc.[Ch]:
9790         * lyx_main.C (init): remove override_x_deadkeys stuff.
9791
9792 2002-12-12  John Levon  <levon@movementarian.org>
9793
9794         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9795           insert. Only remove shift modifier under strict
9796           circumstances.
9797
9798 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9799
9800         * MenuBackend.C (expandToc): fix crash.
9801
9802 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9803
9804         * MenuBackend.C (expandToc): gettext on float names.
9805
9806 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9807
9808         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9809         implement bool empty() [bug 490]
9810
9811 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9812
9813         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9814
9815 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9816
9817         * several files: ws changes
9818
9819 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9820
9821         * text2.C (setCounter): clean up a bit, use boost.format.
9822         (updateCounters): initialize par upon declaration.
9823
9824         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9825         if the layout exists. We do not just store the layout any more.
9826         (SwitchLayoutsBetweenClasses): use boost.format
9827
9828 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9829
9830         * converter.C (convert): if from and to files are the same, use a
9831         temporary files as intermediary
9832
9833 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9834
9835         * commandtags.h:
9836         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9837
9838 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9839
9840         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9841
9842 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9843
9844         * tabular.C (asciiPrintCell): use string(size, char) instead of
9845         explicit loop.
9846
9847         * sgml.C (openTag): fix order of arguments to string constructor
9848         (closeTag): ditto
9849
9850         * lyxfunc.C (dispatch): use boost.format
9851
9852         * lots of files: change "c" -> 'c'
9853
9854 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9855
9856         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9857
9858 2002-11-25  Angus Leeming  <leeming@lyx.org>
9859
9860         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9861
9862         * lyx_main.C (init): compile fix.
9863
9864 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9865
9866         * lyx_cb.C (start): boost.formatify
9867         do not include <iostream>
9868
9869         * lengthcommon.C: ws only
9870
9871         * boost-inst.C,BoostFormat.h: add more explict instantations
9872
9873 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9874
9875         * lots of files: handle USE_BOOST_FORMAT
9876
9877 2002-11-21  John Levon  <levon@movementarian.org>
9878
9879         * pspell.C: fix compile
9880
9881 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9882
9883         * lyxfunc.C (dispatch): use boost::format
9884         (open): ditto
9885         (doImport): ditto
9886
9887         * lyxfont.C (stateText): use boost::format
9888
9889         * lyx_main.C (LyX): use boost::format
9890         (init): ditto
9891         (queryUserLyXDir): ditto
9892         (readRcFile): ditto
9893         (parse_dbg): ditto
9894         (typedef boost::function): use the recommened syntax.
9895
9896         * importer.C (Import): use boost::format
9897
9898         * debug.C (showLevel): use boost::format
9899
9900         * converter.C (view): use boost::format
9901         (convert): ditto
9902         (move): ditto
9903         (scanLog): ditto
9904
9905         * bufferview_funcs.C (currentState): use boost::format
9906
9907         * bufferlist.C (emergencyWrite): use boost::format
9908
9909         * buffer.C (readLyXformat2): use boost::format
9910         (parseSingleLyXformat2Token): ditto
9911
9912         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9913
9914         * LaTeX.C (run): use boost::format
9915
9916         * Chktex.C (scanLogFile): use boost::format
9917
9918         * BufferView_pimpl.C (savePosition): use boost::format
9919         (restorePosition): ditto
9920         (MenuInsertLyXFile): ditto
9921
9922         * BoostFormat.h: help file for explicit instation.
9923
9924 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9925
9926         * tabular.C (latex): Support for block alignment in fixed width
9927         columns.
9928
9929 2002-11-17  John Levon  <levon@movementarian.org>
9930
9931         * BufferView_pimpl.C:
9932         * lyx_cb.C:
9933         * lyxfunc.C: split filedialog into open/save
9934
9935 2002-11-08  Juergen Vigna  <jug@sad.it>
9936
9937         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9938         by my last patch (hopefully).
9939
9940 2002-11-08  John Levon  <levon@movementarian.org>
9941
9942         * iterators.h:
9943         * iterators.C:
9944         * buffer.h:
9945         * buffer.C:
9946         * paragraph.h:
9947         * paragraph.C:
9948         * toc.h:
9949         * toc.C: ParConstIterator, and use it (from Lars)
9950
9951 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9952
9953         * lyxtextclass.[Ch]: revise and add doxygen comments
9954
9955 2002-11-07  John Levon  <levon@movementarian.org>
9956
9957         * text.C: fix progress value for spellchecker
9958
9959         * toc.C: fix navigate menu for insetwrap inside minipage
9960
9961         * paragraph_funcs.C: added FIXME for suspect code
9962
9963 2002-11-07  John Levon  <levon@movementarian.org>
9964
9965         * BufferView_pimpl.C: fix redrawing of insets
9966           on buffer switch
9967
9968 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9969
9970         * text2.C (updateCounters): fix bug 668
9971
9972 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9973
9974         * text3.C (dispatch): Do not make the buffer dirty when moving the
9975         cursor.
9976
9977 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9978
9979         * vc-backend.C: STRCONV
9980         (scanMaster): ditto
9981
9982         * text2.C (setCounter): STRCONV
9983
9984         * paragraph.C (asString): STRCONV
9985
9986         * lyxlength.C (asString): STRCONV
9987         (asLatexString): ditto
9988
9989         * lyxgluelength.C (asString): STRCONV
9990         (asLatexString): ditto
9991
9992         * lyxfunc.C (dispatch): STRCONV
9993         (open): ditto
9994
9995         * lyxfont.C (stateText): STRCONV
9996
9997         * importer.C (Import): STRCONV
9998
9999         * counters.C (labelItem): STRCONV
10000         (numberLabel): ditto
10001         (numberLabel): remove unused ostringstream o
10002
10003         * chset.C: STRCONV
10004         (loadFile): ditto
10005
10006         * bufferview_funcs.C (currentState): STRCONV
10007
10008         * buffer.C (readFile): STRCONV
10009         (asciiParagraph): ditto
10010         (makeLaTeXFile): ditto
10011
10012         * Spacing.C (writeEnvirBegin): STRCONV
10013
10014         * LaTeXFeatures.C (getLanguages): STRCONV
10015         (getPackages): ditto
10016         (getMacros): ditto
10017         (getBabelOptions): ditto
10018         (getTClassPreamble): ditto
10019         (getLyXSGMLEntities): ditto
10020         (getIncludedFiles): ditto
10021
10022         * LaTeX.C: STRCONV
10023         (run): ditto
10024         (scanAuxFile): ditto
10025         (deplog): ditto
10026
10027         * LString.h: add the STRCONV macros
10028
10029         * BufferView_pimpl.C (savePosition): STRCONV
10030         (restorePosition): ditto
10031         (MenuInsertLyXFile): ditto
10032
10033         * vc-backend.C (scanMaster): change from submatch[...] to
10034         submatch.str(...)
10035
10036         * funcrequest.C: include config.h
10037
10038         * factory.C: include config.h
10039
10040         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10041
10042         * box.C: include config.h
10043
10044         * LaTeX.C (scanAuxFile): change from submatch[...] to
10045         submatch.str(...)
10046         (deplog): ditto
10047
10048 2002-10-25  Angus Leeming  <leeming@lyx.org>
10049
10050         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10051
10052         * ispell.[Ch] (setError): new method.
10053         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10054         Use setError() insetead of goto END.
10055
10056         * lyx_cb.C (AutoSave): move out child process into new class
10057         AutoSaveBuffer.
10058
10059 2002-10-30  John Levon  <levon@movementarian.org>
10060
10061         * text3.C: make start appendix undoable
10062
10063 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10064
10065         * lyxlength.C (inPixels): Fix returned value.
10066
10067         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10068         environment.
10069
10070 2002-10-24  Angus Leeming  <leeming@lyx.org>
10071
10072         * lyxgluelength.h: no need to forward declare BufferParams
10073         or BufferView, so don't.
10074
10075 2002-10-21  John Levon  <levon@movementarian.org>
10076
10077         * BufferView.C: menuUndo ->undo, redo
10078
10079         * BufferView.h: document, remove dead, make some methods private
10080
10081         * paragraph_funcs.h:
10082         * paragraph_funcs.C:
10083         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10084
10085         * buffer.h:
10086         * buffer.C:
10087         * sgml.h:
10088         * sgml.C: move sgml open/close tag into sgml.C
10089
10090         * bufferview_funcs.h: unused prototype
10091
10092         * lyxfunc.h:
10093         * lyxfunc.C: remove unused
10094
10095         * lyxtext.h:
10096         * text.C: remove unused
10097
10098 2002-10-21  John Levon  <levon@movementarian.org>
10099
10100         * BufferView.h:
10101         * BufferView.C:
10102         * BufferView_pimpl.h:
10103         * BufferView_pimpl.C: fix mouse wheel handling based on
10104           patch from Darren Freeman
10105
10106 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10107
10108         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10109
10110 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10111
10112         * lyxlength.C (inPixels): Fix hanfling of negative length.
10113         Fix LyXLength::MU case.
10114
10115 2002-10-16  John Levon  <levon@movementarian.org>
10116
10117         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10118
10119 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10120
10121         * converter.C (view): add support for $$i (file name) and $$p
10122         (file path) for the viewer command. If $$i is not specified, then
10123         it is appended to the command (for compatibility with old syntax)
10124
10125 2002-10-14  Juergen Vigna  <jug@sad.it>
10126
10127         * undo_funcs.C (textHandleUndo): alter the order in which the
10128         new undopar is added to the LyXText, as we have to set first
10129         the right prev/next and then add it as otherwise the rebuild of
10130         LyXText is not correct. Also reset the cursor to the right paragraph,
10131         with this IMO we could remove the hack in "redoParagraphs()".
10132
10133 2002-10-09  Angus Leeming  <leeming@lyx.org>
10134
10135         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10136         to turn off an optimisation if a new inset is to be inserted.
10137
10138 2002-10-11 André Pönitz <poenitz@gmx.net>
10139
10140         * lyxtext.h: make some functions public to allow access
10141         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10142
10143 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10144
10145         * text3.C (dispatch): when changing layout, avoid an infinite loop
10146         [bug #652]
10147
10148 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10149
10150         * lyxrc.C (read): treat a viewer or converter command of "none" as
10151         if it were empty.
10152
10153         * MenuBackend.C (expandFormats): for an update, also allow the
10154         formats that are not viewable
10155
10156         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10157         script if it is newer than the lyxrc.defaults in user directory
10158
10159 2002-10-07 André Pönitz <poenitz@gmx.net>
10160
10161         * text.C: Vitaly Lipatov's small i18n fix
10162
10163 2002-09-25  Angus Leeming  <leeming@lyx.org>
10164
10165         * ispell.h: doxygen fix.
10166
10167 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10168
10169         * buffer.h (readFile): Add a new argument to the method, to allow
10170         reading of old-format templates.
10171
10172 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10173
10174         * toc.C (getTocList): Get TOC from InsetWrap.
10175
10176 2002-09-16  John Levon  <levon@movementarian.org>
10177
10178         * lyxfunc.C: check tabular for cut/copy too
10179
10180 2002-09-12  John Levon  <levon@movementarian.org>
10181
10182         * LyXAction.C: tidy
10183
10184         * factory.h:
10185         * factory.C: add header
10186
10187         * paragraph_funcs.h:
10188         * paragraph_funcs.C: cleanup
10189
10190 2002-09-11  John Levon  <levon@movementarian.org>
10191
10192         * PrinterParams.h: odd/even default to true
10193
10194 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10195
10196         * PrinterParams.h: update printer parameters for new xforms dialog
10197
10198 2002-09-11  Angus Leeming  <leeming@lyx.org>
10199
10200         * lyxserver.C (read_ready): re-write to make it more transparent
10201         and to make it work in coherent fashion under Tru64 Unix.
10202
10203 2002-09-11  André Pönitz <poenitz@gmx.net>
10204
10205         * commandtags.h:
10206         * LyXAction.C:
10207         * text3.C: implement LFUN_WORDSEL
10208
10209 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10210
10211         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10212         make floatlist_ a boost::shared_ptr<FloatList>
10213
10214         * lyxtextclass.C: include FloatList.h
10215         (LyXTextClass): initialize floatlist_
10216         (TextClassTags): add TC_NOFLOAT
10217         (Read): match "nofloat" to TC_NOFLOAT and use it.
10218         (readFloat): modify call to floatlist_
10219         (floats): ditto
10220         (floats): ditto
10221
10222         * FloatList.[Ch] (FloatList): remove commented out float
10223         initialization.
10224         (erase): new function
10225
10226 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10227
10228         * MenuBackend.C (expandToc): fix crash when there is no document
10229         open
10230
10231 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10232
10233         * many files: Add insetwrap.
10234
10235 2002-09-09  John Levon  <levon@movementarian.org>
10236
10237         * text2.C: remove confusing and awkward depth wraparound
10238
10239 2002-09-09  John Levon  <levon@movementarian.org>
10240
10241         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10242
10243         * buffer.h:
10244         * buffer.C: remove getIncludeonlyList()
10245
10246         * paragraph.C:
10247         * lyxfunc.C: remove headers
10248
10249 2002-09-09  Juergen Vigna  <jug@sad.it>
10250
10251         * text.C (getColumnNearX): fix form Michael this is most
10252         probably a cut&paste bug.
10253
10254 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10255
10256         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10257
10258         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10259         references, ws changes.
10260
10261         * text2.C (init): update counters after init
10262         (insertParagraph): no need to set counter on idividual paragraphs.
10263         (setCounter): access the counters object in the textclass object
10264         on in the buffer object.
10265         (updateCounters): ditto
10266
10267         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10268         shared_ptr<Counters> to avoid loading counters.h in all
10269         compilation units.
10270         (LyXTextClass): initialize ctrs_
10271         (TextClassTags): add TC_COUNTER, and ...
10272         (Read): use it here.
10273         (CounterTags): new tags
10274         (readCounter): new function
10275         (counters): new funtion
10276         (defaultLayoutName): return a const reference
10277
10278         * counters.C (Counters): remove contructor
10279         (newCounter): remove a couple of unneeded statements.
10280         (newCounter): simplify a bit.
10281         (numberLabel): some small formatting changes.
10282
10283         * buffer.[Ch]: remove all traces of counters, move the Counters
10284         object to the LyXTextClass.
10285
10286 2002-09-06  Alain Castera  <castera@in2p3.fr>
10287
10288         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10289         package to set the horizontal alignment on fixed width columns.
10290
10291         * lyx_sty.C:
10292         * lyx_sty.h: added tabularnewline macro def.
10293
10294         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10295
10296 2002-09-06  John Levon  <levon@movementarian.org>
10297
10298         * LyXAction.C: tooltips for sub/superscript
10299
10300         * MenuBackend.C: a bit more verbose
10301
10302         * lyxfunc.C: tiny clean
10303
10304         * undo_funcs.C: document undo_frozen
10305
10306 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10307
10308         * counters.C (Counters): add missing algorithm counter.
10309
10310         * text2.C (setCounter): lookup the counter with layouts latexname
10311         instead of by section number.
10312         (setCounter): use a hackish way to lookup the correct enum
10313         counter.
10314         a float name->type change
10315         reset enum couners with counter name directly instead of depth value.
10316
10317         * counters.C (Counters): remove the push_backs, change to use the
10318         float type not the float name.
10319         (labelItem): remove unused string, float name->type change
10320
10321         * counters.h: don't include vector, loose the enums and sects vectors
10322
10323 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10324
10325         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10326         (Read): add float->TC_FLOAT to textclassTags
10327         (Read): and handle it in the switch
10328         (readFloat): new function
10329
10330         * FloatList.C (FloatList): comment out the hardcoded float
10331         definitions.
10332
10333         * lyxlayout.h: ws change.
10334
10335 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10336
10337         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10338
10339 2002-09-03  Angus Leeming  <leeming@lyx.org>
10340
10341         * BufferView_pimpl.h: qualified name is not allowed in member
10342         declaration: WorkArea & Pimpl::workarea() const;
10343
10344         * factory.C: added using std::endl directive.
10345
10346         * text3.C: added using std::find and std::vector directives.
10347
10348 2002-08-29  André Pönitz <poenitz@gmx.net>
10349
10350         * lyxtext.h:
10351         * text2.C: remove unused member number_of_rows
10352
10353         * Makefile.am:
10354         * BufferView2.C: remove file, move contents to...
10355         * BufferView.C: ... here
10356
10357         * BufferView_pimpl.C:
10358         * factory.C: move more inset creation to factory
10359
10360         * vspace.C: avoid direct usage of LyXText, ws changes
10361
10362         * BufferView.[Ch]:
10363                 don't provide direct access to WorkArea, use two simple
10364                 acessors haveSelction() and workHeight() instead
10365
10366
10367 2002-08-29  John Levon  <levon@movementarian.org>
10368
10369         * BufferView_pimpl.C (dispatch): do not continue when
10370           no buffer
10371
10372 2002-08-28  André Pönitz <poenitz@gmx.net>
10373
10374         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10375
10376         * BufferView.h:
10377         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10378
10379 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10380
10381         * buffer.C: increment LYX_FORMAT to 221
10382
10383         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10384         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10385
10386         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10387
10388         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10389
10390 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10391
10392         * factory.C (createInset): use LyXTextClass::floats
10393
10394         * MenuBackend.C (expandFloatListInsert):
10395         (expandFloatInsert):
10396         (expandToc):
10397
10398         * text2.C (setCounter):
10399
10400         * LaTeXFeatures.C (useFloat):
10401         (getFloatDefinitions):
10402
10403         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10404
10405         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10406         floatlist_, with accessor floats().
10407
10408         * FloatList.h: remove global FloatList
10409
10410 2002-08-26  André Pönitz <poenitz@gmx.net>
10411
10412         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10413
10414         * BufferView.h:
10415         * BufferView2.C:
10416         * BufferView_pimpl.C:
10417         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10418
10419 2002-08-25  John Levon  <levon@movementarian.org>
10420
10421         * LyXAction.C: fix margin note description
10422
10423 2002-08-24  John Levon  <levon@movementarian.org>
10424
10425         * buffer.C:
10426         * bufferlist.C:
10427         * bufferview_funcs.C:
10428         * lyxfont.C:
10429         * undo_funcs.C: cleanups
10430
10431         * lyxfunc.C: disable CUT/COPY when no selection
10432
10433 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10434
10435         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10436         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10437
10438         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10439         Add backward compatibility to "mono", "gray" and "no".
10440
10441 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10442
10443         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10444         (and file_format >= 200).
10445
10446 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10447
10448         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10449
10450 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10451
10452         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10453
10454 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10455
10456         * BufferView_pimpl.C:
10457         * LyXAction.C:
10458         * buffer.C:
10459         * commandtags.h:
10460         * lyxfunc.C:
10461         * paragraph.[Ch]:
10462         * text2.C:
10463         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10464         inset and code to make it  work with the paragraph code. The inset
10465         can be anywhere in the paragraph, but will only do the expected
10466         thing in LaTeX if the layout file contains the parameter line
10467                         OptionalArgs    1
10468         (or more generally, a nonzero value) for that layout.
10469
10470 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10471
10472         * paragraph.h: remove the declaration of undefined counters class
10473         function.
10474
10475 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10476
10477         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10478         Dr. Richard Hawkins.
10479
10480 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10481
10482         * paragraph_funcs.h: remove some unneeded includes
10483
10484         * text.C (backspace): pasteParagraph now in global scipe
10485
10486         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10487         (pasteSelection): ditto
10488
10489         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10490         * paragraph_funcs.C (pasteParagraph): ... here
10491
10492 2002-08-20  André Pönitz <poenitz@gmx.net>
10493
10494         * commandtags.h: new LFUNs for swapping/copying table row/colums
10495
10496         * LyXAction.C:
10497         * lyxfunc.C: support for new lfuns
10498
10499 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10500
10501         * tabular.C:
10502         * buffer.[Ch]: remove NO_COMPABILITY stuff
10503
10504 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10505
10506         * boost.C (throw_exception): new file, with helper function for
10507         boost compiled without exceptions.
10508
10509         * paragraph.h:
10510         * lyxlength.C:
10511         * buffer.C:
10512         * ParameterStruct.h:
10513         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10514
10515         * bufferlist.C (emergencyWriteAll): use boost bind
10516
10517         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10518
10519         * text.C: include paragraph_funcs.h
10520         (breakParagraph): breakParagraph is now in global scope
10521
10522         * paragraph_funcs.[Ch]: new files
10523
10524         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10525         global scope
10526
10527         * buffer.C: include paragraph_funcs.h
10528         (insertStringAsLines): breakParagraph is now in global scope
10529
10530         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10531         paragraph_funcs.C
10532
10533         * CutAndPaste.C: include paragraph_funcs.h
10534         (cutSelection): breakParagraphConservative is now in global scope
10535         (pasteSelection): ditto
10536
10537         * buffer.h: declare oprator== and operator!= for
10538         Buffer::inset_iterator
10539
10540         * bufferlist.C (emergencyWrite): don't use fmt(...)
10541
10542         * text3.C: add using std::endl
10543
10544         * BufferView.C (moveCursorUpdate): remove default arg
10545
10546 2002-08-20  André Pönitz <poenitz@gmx.net>
10547
10548         * buffer.[Ch]: move inline functions to .C
10549
10550         * BufferView2.C:
10551         * BufferView_pimpl.C:
10552         * text.C:
10553         * buffer.[Ch]: use improved inset_iterator
10554
10555         * buffer.C:
10556         * paragraph.[Ch]: write one paragraph at a time
10557
10558 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10559
10560         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10561         style if style is not specified.
10562
10563 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10564
10565         * text2.C (setCounter): when searching for right label for a
10566         caption, make sure to recurse to parent insets (so that a caption
10567         in a minipage in a figure float works) (bug #568)
10568
10569 2002-08-20  André Pönitz <poenitz@gmx.net>
10570
10571         * text3.C: new file for LyXText::dispatch() and helpers
10572
10573         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10574
10575         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10576
10577 2002-08-19  André Pönitz <poenitz@gmx.net>
10578
10579         * lyxtext.h:
10580         * text.C: new LyXText::dispatch()
10581
10582         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10583
10584 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10585
10586         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10587
10588         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10589         Hebrew text.
10590
10591 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10592
10593         * Makefile.am: use $(variables) instead of @substitutions@
10594
10595 2002-08-15  André Pönitz <poenitz@gmx.net>
10596
10597         * lyxfunc.C:
10598         * BufferView_pimpl.C: streamlining mathed <-> outer world
10599         interaction
10600
10601         * commandtags.h:
10602         * LyXAction.C: remove unused LFUN_MATH
10603
10604 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10605
10606         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10607
10608 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10609
10610         * paragraph.C (Paragraph): reformat a bit
10611         (cutIntoMinibuffer): use builtin InsetList function instad of
10612         doing it manually.
10613         (getInset): ditto
10614
10615         * buffer.C: include boost/bind.hpp, add using std::for_each
10616         (writeFileAscii): use ParagraphList iterators
10617         (validate): use for_each for validate traversal of paragraphs
10618         (getBibkeyList): use ParagraphList iterators
10619         (resizeInsets): use for_each to resizeInsetsLyXText for all
10620         paragraphs.
10621         (getParFromID): use ParagraphList iterators
10622
10623         * BufferView2.C (lockInset): use paragraph list and iterators
10624
10625 2002-08-14  John Levon  <levon@movementarian.org>
10626
10627         * lyxserver.C: remove spurious xforms include
10628
10629 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10630
10631         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10632
10633 2002-08-13  André Pönitz <poenitz@gmx.net>
10634
10635         * LyXAction.[Ch]:
10636         * lyxfunc.C: further cleaning
10637
10638 2002-08-13  André Pönitz <poenitz@gmx.net>
10639
10640         * funcrequest.h: new constructor
10641
10642         * funcrequest.C: move stuff here from .h
10643
10644         * Makefile.am:
10645         * BufferView_pimpl.C:
10646         * LyXAction.C:
10647         * toc.C:
10648         * lyxfunc.C: subsequent changes
10649
10650         * lyxfunc.h: new view() member function
10651
10652         * lyxfunc.C: subsequent changes
10653
10654 2002-08-13  Angus Leeming  <leeming@lyx.org>
10655
10656         * BufferView2.C:
10657         * BufferView_pimpl.C:
10658         * buffer.C:
10659         * converter.C:
10660         * importer.C:
10661         * lyxfunc.C:
10662         * lyxvc.C:
10663         * toc.C:
10664         * vc-backend.C:
10665         changes due to the changed LyXView interface that now returns references
10666         to member variables not pointers.
10667
10668 2002-08-13  Angus Leeming  <leeming@lyx.org>
10669
10670         * WordLangTuple (word, lang_code): return references to strings,
10671         not strings.
10672
10673         * BufferView.h:
10674         * SpellBase.h:
10675         * lyxtext.h: forward-declare WordLangTuple.
10676
10677         * BufferView2.C:
10678         * ispell.C:
10679         * pspell.C:
10680         * text.C: #include "WordLangTuple.h".
10681
10682         * lyxtext.h:
10683         * text.C: (selectNextWordToSpellcheck): constify return type.
10684
10685 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10686
10687         * buffer.C:
10688         * buffer.h:
10689         * lyxtext.h:
10690         * paragraph.C:
10691         * paragraph_pimpl.h:
10692         * text.C:
10693         * text2.C:
10694         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10695         suggested by Angus.
10696         Made updateCounter always count from start of buffer, and removed
10697         second argument (par).
10698         Reverted floats number display to '#'. Perhaps I'll try again when the
10699         code base is sanitized a bit.
10700
10701 2002-08-12  Angus Leeming  <leeming@lyx.org>
10702
10703         * buffer.[Ch] (getLabelList): constify.
10704
10705 2002-08-07  André Pönitz <poenitz@gmx.net>
10706
10707         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10708
10709         * funcrequest.h: extension to keep mouse (x,y) position
10710
10711 2002-08-12  Juergen Vigna  <jug@sad.it>
10712
10713         * BufferView2.C (insertErrors): forbid undo when inserting error
10714         insets.
10715
10716         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10717
10718 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10719
10720         * ParagraphList.[Ch]: new files
10721
10722         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10723
10724         * BufferView2.C (lockInset): ParagraphList changes
10725         * toc.C: ditto
10726         * text2.C: ditto
10727         * bufferlist.C: ditto
10728         * buffer.h: ditto
10729         * buffer.C: ditto
10730
10731 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10732
10733         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10734         unused class variable counter_,
10735
10736         * paragraph.[Ch] (getFirstCounter): delete unused function
10737
10738         * counters.C: include LAssert.h
10739         (reset): add a new function with no arg, change other version to
10740         not have def. arg and to not allow empty arg.
10741
10742         * text2.C (setCounter): remove empty arg from call to Counters::reset
10743
10744 2002-08-11  John Levon  <levon@movementarian.org>
10745
10746         * Makefile.am: add WordLangTuple.h
10747
10748 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10749
10750         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10751         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10752
10753         * insets/insettext.C: InsetList changes
10754
10755         * graphics/GraphicsSupport.C (operator()): InsetList changes
10756
10757         * toc.C (getTocList): InsetList changes
10758
10759         * paragraph_pimpl.[Ch]: InsetList changes
10760
10761         * paragraph.[Ch]: InsetList changes
10762
10763         * buffer.C (inset_iterator): InsetList changes
10764         (setParagraph): ditto
10765         * buffer.h (inset_iterator): ditto
10766         * iterators.C (operator++): ditto
10767         * iterators.h: ditto
10768
10769         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10770
10771         * InsetList.[Ch]: new files, most InsetList handling moved out of
10772         paragraph.C.
10773
10774         * BufferView2.C (removeAutoInsets): InsetList changes
10775         (lockInset): ditto
10776         (ChangeInsets): ditto
10777
10778 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10779
10780         * paragraph_pimpl.h (empty): new function
10781
10782         * paragraph.[Ch] (empty): new function
10783
10784         * other files: use the new Paragraph::empty function
10785
10786 2002-08-09  John Levon  <levon@movementarian.org>
10787
10788         * lyxtext.h: remove unused refresh_height
10789
10790 2002-08-09  John Levon  <levon@movementarian.org>
10791
10792         * Makefile.am:
10793         * sgml.h:
10794         * sgml.C:
10795         * buffer.C:
10796         * paragraph.h:
10797         * paragraph.C: move sgml char escaping out of paragraph
10798
10799         * paragraph.h:
10800         * paragraph.C: remove id setter
10801
10802         * buffer.C:
10803         * paragraph.C:
10804         * paragraph_pimpl.C: remove dead tex_code_break_column
10805
10806         * bufferview_funcs.C: small cleanup
10807
10808         * lyxfunc.C: remove dead proto
10809
10810         * lyxtext.h: make some stuff private. Remove some dead stuff.
10811
10812         * lyxgluelength.C: make as[LyX]String() readable
10813
10814 2002-08-08  John Levon  <levon@movementarian.org>
10815
10816         * LyXAction.h:
10817         * LyXAction.C:
10818         * MenuBackend.C:
10819         * ToolbarDefaults.C:
10820         * lyxfunc.C:
10821         * lyxrc.C:
10822         * toc.C: lyxaction cleanup
10823
10824 2002-08-08  John Levon  <levon@movementarian.org>
10825
10826         * BufferView2.C: small cleanup
10827
10828         * lyxfind.h:
10829         * lyxfind.C: move unnecessary header into the .C
10830
10831 2002-08-08  John Levon  <levon@movementarian.org>
10832
10833         * funcrequest.h: just tedious nonsense
10834
10835         * lyx_main.h:
10836         * lyx_main.C: cleanups
10837
10838         * buffer.C:
10839         * vspace.C: remove dead header lyx_main.h
10840
10841 2002-08-07  Angus Leeming  <leeming@lyx.org>
10842
10843         * Paragraph.[Ch]:
10844         * paragraph_pimpl.h:
10845         Forward declare class Counters in paragraph.h by moving the ctrs member
10846         variable into Paragraph::Pimpl.
10847         (counters): new method, returning a reference to pimpl_->ctrs.
10848
10849         * text2.C: ensuing changes.
10850
10851 2002-08-07  John Levon  <levon@movementarian.org>
10852
10853         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10854
10855         * BufferView_pimpl.C: announce X selection on double/triple
10856           click
10857
10858         * lyx_main.C: use correct bool in batch dispatch
10859
10860         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10861
10862 2002-08-07  André Pönitz <poenitz@gmx.net>
10863
10864         * funcrequest.h: new class to wrap a kb_action and its argument
10865
10866         * BufferView.[Ch]:
10867         * BufferView_pimpl[Ch]:
10868         * LaTeX.C:
10869         * LyXAction.[Ch]:
10870         * lyxfunc.[Ch]:
10871         * lyxrc.C: subsequent changes
10872
10873
10874 2002-08-07  John Levon  <levon@movementarian.org>
10875
10876         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10877           document options change.
10878
10879 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10880
10881         * counters.[Ch]
10882         * text2.C
10883         * paragraph.[Ch]
10884         * makefile.am: move counters functionality over from
10885         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10886
10887 2002-08-06  John Levon  <levon@movementarian.org>
10888
10889         * WordLangTuple.h: new file for word + language code tuple
10890
10891         * SpellBase.h:
10892         * pspell.h:
10893         * pspell.C:
10894         * ispell.h:
10895         * ispell.C:
10896         * lyxtext.h:
10897         * text.C:
10898         * text2.C:
10899         * BufferView.h:
10900         * BufferView2.C: use WordLangTuple
10901
10902         * layout.h:
10903         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10904
10905 2002-08-06  John Levon  <levon@movementarian.org>
10906
10907         * lyx_main.C: fix cmdline batch handling
10908
10909 2002-08-06  André Pönitz <poenitz@gmx.net>
10910
10911         * lyxrc.C: set default for show_banner to true
10912
10913 2002-08-06  John Levon  <levon@movementarian.org>
10914
10915         * pspell.C: fix a crash, and allow new aspell to work
10916
10917 2002-08-06  John Levon  <levon@movementarian.org>
10918
10919         * lyxfunc.C:
10920         * kbmap.C: small cleanup
10921
10922         * vspace.h:
10923         * vspace.C: add const
10924
10925 2002-08-05  John Levon  <levon@movementarian.org>
10926
10927         * LyXAction.C: back to tabular-insert
10928
10929 2002-08-04  John Levon  <levon@movementarian.org>
10930
10931         * BufferView.h:
10932         * BufferView.C: cosmetic change
10933
10934         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10935
10936         * bufferlist.C:
10937         * buffer.h:
10938         * buffer.C:
10939         * lyxcb.h:
10940         * lyxcb.C:
10941         * lyxserver.C:
10942         * lyxvc.C:
10943         * vc-backend.C:
10944         * BufferView2.C: purge all "Lyx" not "LyX" strings
10945
10946         * lyxcursor.h:
10947         * lyxcursor.C: attempt to add some documentation
10948
10949         * lyxfunc.C:
10950         * commandtags.h:
10951         * LyXAction.C:
10952         * ToolbarDefaults.C:
10953         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10954           merge with LFUN_TABULAR_INSERT
10955
10956         * Makefile.am:
10957         * SpellBase.h:
10958         * ispell.h:
10959         * ispell.C:
10960         * pspell.h:
10961         * pspell.C: split up i/pspell implementations into separate
10962           files, many cleanups
10963
10964         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10965
10966         * text2.C: some cleanup
10967
10968         * lyxfunc.C: don't check for isp_command == "none" any more, it
10969           didn't make any sense
10970
10971 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10972
10973         * counters.[Ch]
10974         * text2.C
10975         * paragraph.[Ch]
10976         * makefile.am: move counters functionality over
10977         from text2.C/paragraph.[Ch] to counters.[Ch], and
10978         make proper C++.
10979 2002-08-02  John Levon  <levon@movementarian.org>
10980
10981         * buffer.C: s/lyxconvert/lyx2lyx/
10982
10983 2002-08-02  Angus Leeming  <leeming@lyx.org>
10984
10985         * lyxlex.C: revert John's change as it breaks reading of the user
10986         preamble.
10987
10988 2002-08-02  Angus Leeming  <leeming@lyx.org>
10989
10990         * importer.C (Import):
10991         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10992         changes due to LyXView::view() now returning a boost::shared_ptr.
10993
10994 2002-08-02  John Levon  <levon@movementarian.org>
10995
10996         * lyxlex.C: small cleanup
10997
10998 2002-08-02  John Levon  <levon@movementarian.org>
10999
11000         * text2.C (status): small cleanup, no logic change
11001
11002 2002-08-01  John Levon  <levon@movementarian.org>
11003
11004         * buffer.h:
11005         * buffer.C (writeFile): don't output alerts, caller
11006           handles this
11007
11008         * bufferlist.C:
11009         * lyx_cb.C: from above
11010
11011         * lyxfunc.C: allow to open non-existent files
11012
11013 2002-07-31  John Levon  <levon@movementarian.org>
11014
11015         * lyxserver.C: don't let incidental errors get
11016           in the way (errno)
11017
11018 2002-07-30  John Levon  <levon@movementarian.org>
11019
11020         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11021
11022 2002-07-30  John Levon  <levon@movementarian.org>
11023
11024         * lyxserver.h:
11025         * lyxserver.C: remove I/O callback too
11026
11027 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11028
11029         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11030         log.
11031
11032 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11033
11034         * many files: strip,frontStrip -> trim,ltrim,rtrim
11035
11036 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11037
11038         * PrinterParams.h: remove extern containsOnly, and include
11039         support/lstrings.h instead.
11040
11041         * LaTeX.C (scanAuxFile): modify because of strip changes
11042         (deplog): ditto
11043         * buffer.C (makeLaTeXFile): ditto
11044         * bufferparams.C (writeFile): ditt
11045         * lyxfont.C (stateText): ditto
11046         * lyxserver.C (read_ready): ditto
11047         * vc-backend.C (scanMaster): ditto
11048
11049         * BufferView_pimpl.h: ws changes
11050
11051         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11052
11053 2002-07-26  André Pönitz <poenitz@gmx.net>
11054
11055         * kb_sequence.C: remove unnedred usings
11056
11057 2002-07-26  Juergen Vigna  <jug@sad.it>
11058
11059         * lyxfind.C (LyXReplace): we have to check better if the returned
11060         text is not of theLockingInset()->getLockingInset().
11061
11062 2002-07-25  Juergen Vigna  <jug@sad.it>
11063
11064         * lyxfind.C (LyXReplace): don't replace if we don't get the
11065         right LyXText.
11066
11067         * undo_funcs.C (createUndo): remove debugging code.
11068
11069 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11070
11071         * buffer.C (parseSingleLyXformat2Token): Use default placement
11072         when reading old floats.
11073
11074         * FloatList.C (FloatList): Change the default placement of figure
11075         and tables to "tbp".
11076
11077 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11078
11079         * MenuBackend.C: using std::max
11080
11081 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11082
11083         * MenuBackend.C (expandToc):
11084         (expandToc2): code moved from xforms menu frontend. It is now
11085         generic and TOCs are transparent to menu frontends.
11086
11087 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11088
11089         * toc.C (getTocList): protect against buf=0
11090
11091         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11092         Menu as first parameter. Now, this calls itself recursively to
11093         expand a whole tree (this will be useful for TOC handling)
11094         (expandFloatInsert): remove 'wide' version of floats
11095
11096         * MenuBackend.h (submenuname): returns the name of the submenu.
11097         (submenu): returns the submenu itself, provided it has been
11098         created by MenuBackend::expand
11099
11100 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11101
11102         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11103         insets which have noFontChange == true. (bug #172)
11104
11105 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11106
11107         * BufferView_pimpl.C: add connection objects and use them...
11108         (Pimpl): here.
11109
11110 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11111
11112         * MenuBackend.C (expandLastfiles):
11113         (expandDocuments):
11114         (expandFormats):
11115         (expandFloatListInsert):
11116         (expandFloatInsert):
11117         (expand): split expand in parts
11118
11119 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11120
11121         * lyx_gui.C: use lyx_gui::exit()
11122
11123 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11124
11125         * LyXAction.C: show the failing pseudo action
11126
11127 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11128
11129         * buffer.C (readFile): Run the lyxconvert script in order to read
11130         old files.
11131
11132 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * LyXAction.C:
11135         * commandtags.h:
11136         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11137
11138 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11139
11140         * LyXAction.C:
11141         * commandtags.h:
11142         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11143
11144 2002-07-22  Herbert Voss  <voss@lyx.org>
11145
11146         * lengthcommon.C:
11147         * lyxlength.[Ch]: add support for the vertical lengths
11148
11149 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11150
11151         * toc.[Ch]: std:: fixes
11152
11153 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11154
11155         * lyxrc.C: do not include lyx_main.h
11156
11157         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11158         for layouts
11159
11160         * lyxrc.C:
11161         * encoding.C:
11162         * bufferlist.C:
11163         * BufferView2.C: include "lyxlex.h"
11164
11165         * tabular.h:
11166         * bufferparams.h: do not #include "lyxlex.h"
11167
11168         * lyxtextclasslist.C (Add): remove method
11169         (classlist): renamed to classlist_
11170
11171         * paragraph_pimpl.C:
11172         * paragraph.C:
11173         * text2.C:
11174         * CutAndPaste.C:
11175         * bufferview_funcs.C:
11176         * bufferlist.C:
11177         * text.C:
11178         * LaTeXFeatures.C:
11179         * buffer.C:
11180         * toc.C (getTocList): use BufferParams::getLyXTextClass
11181
11182         * toc.C (getTocList): use InsetFloat::addToToc
11183
11184         * toc.[Ch]: new files, containing helper functions to handle table
11185         of contents
11186
11187         * lyxfunc.C (dispatch): no need to remove spaces around command
11188         given as a string
11189         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11190         first command of the sequence; it is not very clever, but I do not
11191         have a better idea, actually
11192
11193         * LyXAction.C (LookupFunc): make sure to remove space at the
11194         beginning and end of the command
11195
11196 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11197
11198         * MenuBackend.C (getMenubar): new method: return the menubar of
11199         this menu set
11200         (read): treat differently reading of menu and menubar (in
11201         particular, the menubar has no name now)
11202         (Menu::menubar): remove
11203
11204         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11205         saving is finished
11206
11207 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11208
11209         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11210         a bibitem inset in a RTL paragraph.
11211
11212 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11213
11214         * paragraph_pimpl.C: constify
11215
11216         * BufferView_pimpl.C:
11217         * LaTeX.C:
11218         * lyxfunc.C: fix dispatch in a nicer way
11219
11220 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11221
11222         * lyxfunc.C (dispatch):
11223         * BufferView_pimpl.C:
11224         * BufferView_pimpl.h:
11225         * BufferView.C:
11226         * BufferView.h: rename Dispatch() to dispatch()
11227
11228         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11229
11230         * lyxlayout.C (Read): honor DependsOn tag
11231
11232         * lyxlayout.[Ch] (depends_on): new method
11233
11234         * version.C.in: update lyx_docversion
11235
11236         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11237
11238         * paragraph.C (validate): remove from here...
11239         * paragraph_pimpl.C (validate): ... and move here
11240         (isTextAt): make it const
11241
11242         * buffer.C (getLists): ws cleanup
11243
11244 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11245
11246         * language.C (read): Use iso8859-1 encoding in latex_lang
11247         (this prevents LyX from crashing when using iso10646-1 encoding).
11248
11249 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11250
11251         * text2.C (toggleInset): if cursor is inside an inset, close the
11252         inset and leave cursor _after_ it
11253
11254 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11255
11256         * lyxfunc.C: move minibuffer completion handling out of here
11257
11258 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11259
11260         * BufferView_pimpl.C:
11261         * LaTeX.C: fix dispatch calls
11262
11263 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11264
11265         * text.C (drawChars): Fix Arabic text rendering.
11266
11267 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11268
11269         * LyXAction.C:
11270         * commandtags.h:
11271         * lyxfunc.C: remove message-push/pop
11272
11273         * lyxserver.C:
11274         * lyxfunc.h:
11275         * lyxfunc.C: rationalise some code by removing verboseDispatch
11276           in favour of a bool argument to dispatch()
11277
11278 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11279
11280         * lyx_main.C (init): make sure to read symlinks as absolute paths
11281
11282 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11283
11284         * lyxfunc.h:
11285         * lyxfunc.C: no need for commandshortcut to be a member
11286
11287 2002-07-15  André Pönitz <poenitz@gmx.net>
11288
11289         * converter.C: add support for $$s (scripts from lib/scripts dir)
11290         * lyx_main.C: white space
11291
11292 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11293
11294         * bufferlist.C:
11295         * lyxrc.h:
11296         * lyxrc.C: remove second exit confirmation
11297
11298 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11299
11300         * BufferView.h:
11301         * BufferView.C:
11302         * BufferView2.C:
11303         * BufferView_pimpl.h:
11304         * BufferView_pimpl.C:
11305         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11306
11307 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11308
11309         * MenuBackend.C (expand): add numeric shortcuts to document menu
11310
11311         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11312
11313 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11314
11315         * lyxfont.C (setLyXFamily):
11316         (setLyXSeries):
11317         (setLyXShape):
11318         (setLyXSize):
11319         (setLyXMisc):
11320         (lyxRead):
11321         * debug.C (value):
11322         * buffer.C (asciiParagraph): use ascii_lowercase
11323
11324 2002-07-15  Mike Fabian  <mfabian@suse.de>
11325
11326         * lyxlex_pimpl.C (search_kw):
11327         * lyxlex.C (getLongString):
11328         * converter.h (operator<):
11329         * converter.C (operator<):
11330         * buffer.C (parseSingleLyXformat2Token):
11331         (asciiParagraph):
11332         * ToolbarDefaults.C (read):
11333         * MenuBackend.C (checkShortcuts):
11334         (read):
11335         * LColor.C (getFromGUIName):
11336         (getFromLyXName): use the compare_ascii_no_case instead of
11337         compare_no_case, because in turkish, 'i' is not the lowercase
11338         version of 'I', and thus turkish locale breaks parsing of tags.
11339
11340 2002-07-16  Angus Leeming  <leeming@lyx.org>
11341
11342         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11343         now takes a Buffer const & argument.
11344
11345 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11346
11347         * BufferView.C (resize): check there's a buffer to resize
11348
11349 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11350
11351         * lyxfunc.C: remove dead code
11352
11353         * lyxserver.h:
11354         * lyxserver.C: use lyx_guii::set_read_callback
11355
11356 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11357
11358         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11359         an inset in a RTL paragraph.
11360
11361 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11362
11363         * lyxfunc.C: repaint after a font size update
11364
11365 2002-07-15  André Pönitz <poenitz@gmx.net>
11366
11367         * lyxlength.C: inBP should be able to return negative values
11368
11369 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11370
11371         * lyxfunc.C: use lyx_gui::update_fonts()
11372
11373 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11374
11375         * lyxfunc.C: use lyx_gui::update_color()
11376
11377 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11378
11379         * bufferlist.C:
11380         * lyxfunc.h:
11381         * lyxfunc.C:
11382         * lyxrc.h:
11383         * lyxrc.C: remove file->new asks for name option, and let
11384           buffer-new take an argument
11385
11386 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11387
11388         * BufferView_pimpl.C: remove unneeded extra repaint()
11389
11390 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11391
11392         * LyXAction.C: allow command-sequence with NoBuffer
11393
11394         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11395
11396 2002-07-10  Angus Leeming  <leeming@lyx.org>
11397
11398         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11399
11400 2002-07-09  Angus Leeming  <leeming@lyx.org>
11401
11402         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11403
11404 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11405
11406         * lengthcommon.h: whitespace
11407
11408         * lyxfunc.C: update scrollbar after goto paragraph
11409
11410         * lyxtext.h: factor out page break drawing, and fix it so
11411           page break/added space paints as selected nicely
11412
11413 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11414
11415         * BufferView_pimpl.C: add FIXMEs, clean up a little
11416
11417 2002-07-09  André Pönitz <poenitz@gmx.net>
11418
11419         * lyxfont.[Ch]: support for wasy symbols
11420
11421 2002-07-08  André Pönitz <poenitz@gmx.net>
11422
11423         * BufferView_pimpl.C: apply John's patch for #93.
11424
11425 2002-07-05  Angus Leeming  <leeming@lyx.org>
11426
11427         * BufferView_pimpl.C (buffer): generate previews if desired.
11428
11429         * LColor.h: add "preview" to the color enum.
11430
11431         * LColor.C (LColor): add a corresponding entry to the items array.
11432
11433         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11434         with this buffer.
11435
11436 2002-07-05  Angus Leeming  <leeming@lyx.org>
11437
11438         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11439         The body of the code is now in the method that is passed an ostream &
11440         rather than a file name.
11441         Pass an additional only_preamble parameter, useful for the forthcoming
11442         preview stuff.
11443
11444 2002-07-03  André Pönitz <poenitz@gmx.net>
11445
11446         * lyxfunc.C: simplify getStatus() a bit for math stuff
11447
11448 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11449
11450         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11451
11452 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11453
11454         * text.C (changeRegionCase): do not change case of all the
11455         document when region ends at paragraph end (bug #461)
11456
11457 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11458
11459         * paragraph.C (startTeXParParams):
11460         (endTeXParParams): add \protect when necessary
11461
11462 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11463
11464         * BufferView_pimpl.C (workAreaExpose): remove warning
11465
11466 2002-06-27  Angus Leeming  <leeming@lyx.org>
11467
11468         * Makefile.am: add lyxlayout_ptr_fwd.h.
11469
11470 2002-06-26  André Pönitz <poenitz@gmx.net>
11471
11472         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11473
11474 2002-06-25  Angus Leeming  <leeming@lyx.org>
11475
11476         * lyxfunc.C (dispatch): Comment out the call to
11477         grfx::GCache::changeDisplay. The method no longer exists now that the
11478         pixmap generation part of the graphics loader has been moved into
11479         InsetGraphics.
11480
11481 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11482
11483         * text2.C: layout as layout
11484
11485         * text.C: layout as layout
11486
11487         * tabular.C (OldFormatRead): layout as layout
11488
11489         * paragraph_pimpl.C (TeXDeeper): layout as layout
11490         (realizeFont): layout as layout
11491
11492         * paragraph.C (writeFile): layout as layout
11493         (validate): layout as layout
11494         (getFont): layout as layout
11495         (getLabelFont): layout as layout
11496         (getLayoutFont): layout as layout
11497         (breakParagraph): layout as layout
11498         (stripLeadingSpaces): layout as layout
11499         (getEndLabel): layout as layout
11500         (getMaxDepthAfter): layout as layout
11501         (applyLayout): layout as layout
11502         (TeXOnePar): layout as layout
11503         (simpleTeXOnePar): layout as layout
11504         (TeXEnvironment): layout as layout
11505         (layout): layout as layout
11506         (layout): layout as layout
11507
11508         * lyxtextclass.C (compare_name): new functor to work with
11509         shared_ptr, layout as layout
11510         (Read): layout as layout
11511         (hasLayout): layout as layout
11512         (operator): layout as layout
11513         (delete_layout): layout as layout
11514         (defaultLayout): layout as layout
11515
11516         * lyxlayout_ptr_fwd.h: new file
11517
11518         * lyxlayout.C (Read): layout as layout
11519
11520         * lyx_cb.C (MenuInsertLabel): layout as layout
11521
11522         * bufferlist.C (newFile): layout as layout
11523
11524         * buffer.C (readLyXformat2): layout as layout
11525         (parseSingleLyXformat2Token): layout as layout
11526         (insertStringAsLines): layout as layout
11527         (asciiParagraph): layout as layout
11528         (latexParagraphs): layout as layout
11529         (makeLinuxDocFile): layout as layout
11530         (simpleLinuxDocOnePar): layout as layout
11531         (makeDocBookFile): layout as layout
11532         (simpleDocBookOnePar): layout as layout
11533         (getLists): layout as layout
11534
11535         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11536
11537         * CutAndPaste.C (cutSelection): layout as layout
11538         (pasteSelection): layout as layout
11539         (SwitchLayoutsBetweenClasses): layout as layout
11540
11541         * BufferView_pimpl.C (Dispatch): layout as layout
11542         (smartQuote): layout as layout
11543
11544         * BufferView2.C (unlockInset): layout as layout
11545
11546 2002-06-24  André Pönitz <poenitz@gmx.net>
11547
11548         * lyxfunc.C: fix #487
11549
11550 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11551
11552         * lyxrc.h:
11553         * lyxrc.C:
11554         * lyxfunc.C: remove display_shortcuts, show_banner
11555
11556 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11557
11558         * Buffer_pimpl.C: oops, update on resize
11559
11560 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11561
11562         * buffer.C:
11563         * converter.C:
11564         * exporter.C:
11565         * lyxfunc.C:
11566         * BufferView.h:
11567         * BufferView.C: use repaint()
11568
11569         * BufferView_pimpl.h:
11570         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11571           as it's a clearer description. Remove superfluous
11572           redraws.
11573
11574 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11575
11576         * text.C: fix bug 488. Not ideal, but getting
11577           getWord() to work properly for the insets that
11578           matter is more difficult ...
11579
11580 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11581
11582         * BufferView_pimpl.C:
11583         * LyXAction.C:
11584         * commandtags.h:
11585         * lyxfunc.C: remove the six million index lyxfuncs to just
11586           one, and DTRT (bug 458)
11587
11588 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11589
11590         * BufferView.h:
11591         * BufferView.C:
11592         * BufferView_pimpl.h:
11593         * BufferView_pimpl.C: clean up resize() stuff,
11594           and unnecessary updateScreen()s
11595
11596 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11597
11598         * BufferView.h:
11599         * BufferView.C:
11600         * BufferView_pimpl.h:
11601         * BufferView_pimpl.C:
11602         * lyxfind.h:
11603         * lyxfind.C:
11604         * minibuffer.C: remove focus management of workarea,
11605           not needed. Use screen's greyOut()
11606
11607 2002-06-17  Herbert Voss  <voss@lyx.org>
11608
11609         * converter.C: (convert) do not post a message, when converting
11610         fails, let the calling function decide what to do in this case
11611
11612 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11613
11614         * lyxfunc.C: tidy up a little
11615
11616 2002-06-16    <alstrup@diku.dk>
11617
11618         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11619         Got rid of FORMS_H_LOCATION include. Now we are
11620         GUII.
11621
11622 2002-06-15  LyX Development team  <lyx@rilke>
11623
11624         * buffer.[Ch] (sgmlOpenTag):
11625         (sgmlCloseTag): Added support for avoiding pernicious mixed
11626         content. Return number of lines written.
11627
11628         (makeLinuxDocFile):
11629         (makeDocBookFile): Fixed calls to sgml*Tag.
11630         Simple white space clean.
11631
11632         (simpleDocBookOnePar): Simple white space clean.
11633
11634         * tabular.[Ch] (docBook): Renamed to docbook and got another
11635         argument to related with the pernicious mixed content.
11636
11637         (docbookRow): Fixed calls for docbook inset method.
11638
11639 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11640
11641         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11642         so it's X11 independent.
11643
11644         * kb*.[Ch]: ditto.
11645
11646         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11647
11648 2002-06-15  Lyx Development team  <lyx@electronia>
11649
11650         * intl.h: Renamed getTrans to getTransManager.
11651
11652 2002-06-14  Angus Leeming  <leeming@lyx.org>
11653
11654         * Makefile.am: nuke forgotten stl_string_fwd.h.
11655
11656 2002-06-12  Angus Leeming  <leeming@lyx.org>
11657
11658         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11659
11660 2002-06-13  Angus Leeming  <leeming@lyx.org>
11661
11662         * LaTeX.C:
11663         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11664
11665 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11666
11667         * kbmap.C (getiso): add support for cyrillic and greek
11668
11669 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11670
11671         * BufferView.h:
11672         * BufferView.C:
11673         * BufferView_pimpl.h:
11674         * BufferView_pimpl.C: move bogus scrolling logic
11675           to xforms
11676
11677 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11678
11679         * lyxfunc.C:
11680         * BufferView_pimpl.C: view->resize() change
11681
11682 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11683
11684         * BufferView_pimpl.C: topCursorVisible
11685           prototype change
11686
11687 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11688
11689         * Makefile.am:
11690         * lyx_gui.h:
11691         * lyx_gui.C: move to frontends/
11692
11693         * main.C:
11694         * lyx_main.h:
11695         * lyx_main.C: changes from above
11696
11697 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * intl.C:
11700         * intl.h:
11701         * kbmap.C:
11702         * kbsequence.C:
11703         * lyx_cb.C:
11704         * lyx_main.C: minor tidy
11705
11706 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11707
11708         * BufferView_pimpl.h:
11709         * BufferView_pimpl.C:
11710         * BufferView.h:
11711         * BufferView.C: make painter() const,
11712           remove dead code
11713
11714         * BufferView2.C: use screen() accessor
11715
11716         * lyx_main.h:
11717         * lyx_main.C: some minor cleanup
11718
11719 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11720
11721         * BufferView_pimpl.h:
11722         * BufferView_pimpl.C: remove enter/leaveView,
11723           use workHeight()
11724
11725 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11726
11727         * BufferView.h:
11728         * BufferView.C:
11729         * BufferView2.C:
11730         * BufferView_pimpl.h:
11731         * BufferView_pimpl.C: only construct screen once,
11732           rename
11733
11734         * lyxrc.C: remove pointless comment
11735
11736 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11737
11738         * BufferView.h:
11739         * BufferView.C: remove active() and belowMouse()
11740
11741         * BufferView_pimpl.h:
11742         * BufferView_pimpl.C: use workarea() not workarea_,
11743           and make it use a scoped_ptr instead
11744
11745 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11746
11747         * lyx_gui.C: add debug message on BadWindow
11748
11749 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11750
11751         * sp_spell.C: fdopen is not part of the C++ standard.
11752
11753         * paragraph.C (InsetIterator): use >= instead of ==
11754
11755 2002-06-07  Angus Leeming  <leeming@lyx.org>
11756
11757         Fixes needed to compile with Compaq cxx 6.5.
11758         * BufferView_pimpl.C:
11759         * DepTable.C:
11760         * buffer.C:
11761         * converter.C:
11762         * encoding.C:
11763         * lyx_gui.C:
11764         * lyx_main.C:
11765         * lyxtextclasslist.C:
11766         * minibuffer.C:
11767         * sp_spell.C:
11768         * tabular_funcs.C:
11769         * vc-backend.C:
11770         all c-library variables have been moved into namespace std. Wrap
11771         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11772
11773         * lyxlength.C:
11774         * tabular-old.C:
11775         * tabular.C:
11776         Add a using std::abs declaration.
11777
11778         * kbmap.h (modifier_pair):
11779         * paragraph.h (InsetTable, InsetList):
11780         * lyxfont.h (FontBits):
11781         type definition made public.
11782
11783         * bufferlist.C (emergencyWriteAll): the compiler complains that
11784         there is more than one possible lyx::class_fun template to choose from.
11785         I re-named the void specialisation as lyx::void_class_fun.
11786
11787         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11788
11789         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11790         the compiler is is unable to find tostr in write_attribute.
11791
11792 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11793
11794         * buffer.C (sgmlError): hide #warning
11795
11796 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11797
11798         * xtl/*: get rid of xtl, which is not in use anyway
11799
11800         * LyXAction.C (init):
11801         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11802         were unimplemented xtl experimentation
11803
11804 2002-06-04  André Pönitz <poenitz@gmx.net>
11805
11806         * lyxfunc.C: disable array operation on simple formulae
11807
11808 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11809
11810         * converter.C: constify a bit
11811
11812 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11813
11814         * lyx_gui.C: check xforms version correctly
11815
11816 2002-04-30  Herbert Voss  <voss@lyx.org>
11817
11818         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11819         "keep" option
11820
11821 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11822
11823         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11824           attempt to register it with a VCS)
11825
11826 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11827
11828         * lyx_main.C (init): honor variables LYX_DIR_13x and
11829         LYX_USERDIR_13x
11830
11831 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11832
11833         * buffer.h:
11834         * buffer.C:
11835         * lyx_main.C: fix a crash on bad command line,
11836           and give a useful exit status on error
11837
11838         * lyxfunc.C (doImport): allow -i lyx to work
11839
11840 2002-03-30  André Pönitz <poenitz@gmx.net>
11841
11842         * lyxfunc.C: mathed font changes
11843
11844 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11845
11846         * LaTeX.C:
11847         * importer.h:
11848         * importer.C:
11849         * lyx_sty.h:
11850         * lyx_sty.C:
11851         * lyxlex.C:
11852         * lyxrow.h:
11853         * lyxtext.h:
11854         * paragraph.h:
11855         * paragraph.C:
11856         * texrow.h:
11857         * texrow.C:
11858         * text.C:
11859         * trans_mgr.h: srcdocs, and some minor cleanups
11860
11861 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11862
11863         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11864         call getFont all the time)
11865
11866 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11867
11868         * switch from SigC signals to boost::signals
11869
11870 2002-05-29  André Pönitz <poenitz@gmx.net>
11871
11872         * paragraph_pimpl.C (getChar): don't call size() too often...
11873
11874 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11875
11876         * paragraph_pimpl.C (insertChar): do not try to update tables when
11877         appending (pos == size())
11878
11879         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11880         in order to reduce drastically the number of comparisons needed to
11881         parse a large document
11882
11883 2002-05-29  André Pönitz <poenitz@gmx.net>
11884
11885         * text.C:
11886         * text2.C:
11887         * lyxtextclass.C:
11888         * sp_pspell.h:
11889         * textclasslist.[Ch]:
11890         * sp_ispell.h: whitespace change
11891
11892 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11893
11894         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11895         lyxaction directly now.
11896
11897 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11898
11899         * trans.C:
11900         * lyxfont.C:
11901         * lyxvc.C: remove unused headers
11902
11903 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11904
11905         * Makefile.am:
11906         * buffer.h:
11907         * undostack.h:
11908         * undostack.C:
11909         * undo_funcs.h:
11910         * undo_funcs.C: some cleanups. Use shared_ptr
11911           and a template for the undo stacks.
11912
11913 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11914
11915         * BufferView_pimpl.h:
11916         * BufferView_pimpl.C:
11917         * kbmap.h:
11918         * kbmap.C:
11919         * kbsequence.h:
11920         * kbsequence.C:
11921         * lyxfunc.h:
11922         * lyxfunc.C:
11923         * text2.C: use key_state/mouse_state
11924
11925 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11926
11927         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11928         and LSubstring
11929
11930         * chset.C: change include order
11931         (loadFile): use boost regex and get rid of LRegex and LSubstring
11932
11933         * Makefile.am (BOOST_LIBS): new variable
11934         (lyx_LDADD): use it
11935
11936         * LaTeX.C: change include order.
11937         (scanAuxFile): use boost regex and get rid of LRegex and
11938         LSubstring
11939         (deplog): ditto
11940
11941 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11942
11943         * ColorHandler.h:
11944         * ColorHandler.C:
11945         * FontInfo.h:
11946         * FontInfo.C: moved to frontends/xforms/
11947
11948         * FontLoader.h:
11949         * FontLoader.C: moved into frontends for GUIIzation
11950
11951         * Makefile.am:
11952         * lyx_gui.C:
11953         * lyxfont.C:
11954         * lyxfunc.C: changes from above
11955
11956 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11957
11958         * LColor.C: remove spurious X include
11959
11960         * BufferView_pimpl.C:
11961         * Makefile.am:
11962         * font.h:
11963         * font.C:
11964         * text.C:
11965         * text2.C: move font metrics to frontends/
11966
11967 2002-05-24  Juergen Vigna  <jug@sad.it>
11968
11969         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11970         setting the undo_cursor.
11971
11972         * ParagraphParameters.h: include local includes first.
11973
11974 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11975
11976         * BufferView_pimpl.C:
11977         * BufferView_pimpl.h:
11978         * Makefile.am:
11979         * WorkArea.h:
11980         * WorkArea.C:
11981         * screen.C: move WorkArea into frontends/
11982
11983         * lyxscreen.h:
11984         * screen.C:
11985         * text.C:
11986         * BufferView.C:
11987         * BufferView2.C: move LyXScreen into frontends/
11988
11989         * lyxlookup.h:
11990         * lyxlookup.C:
11991         * lyx_gui.C: move lyxlookup into frontends/xforms/
11992
11993 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * BufferView2.C:
11996         * BufferView_pimpl.C:
11997         * FontLoader.C:
11998         * LyXView.h:
11999         * LyXView.C:
12000         * Makefile.am:
12001         * WorkArea.C:
12002         * XFormsView.h:
12003         * XFormsView.C:
12004         * buffer.C:
12005         * bufferlist.C:
12006         * bufferview_funcs.C:
12007         * converter.C:
12008         * importer.C:
12009         * lyx_cb.C:
12010         * lyx_gui.C:
12011         * lyx_main.C:
12012         * lyx_find.C:
12013         * lyxfunc.C:
12014         * lyxvc.C:
12015         * minibuffer.C:
12016         * text.C:
12017         * text2.C:
12018         * trans.C:
12019         * vc-backend.C: move LyX/XFormsView into frontends/
12020
12021 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12022
12023         * Makefile.am:
12024         * PainterBase.C:
12025         * PainterBase.h:
12026         * Painter.C:
12027         * Painter.h:
12028         * WorkArea.C:
12029         * WorkArea.h:
12030         * screen.C:
12031         * tabular.C:
12032         * text.C:
12033         * text2.C: move Painter to frontends/
12034
12035 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12036
12037         * buffer.C: comment out some some code that depend upon lyx_format
12038         < 220
12039
12040         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12041         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12042
12043         * buffer.h (NO_COMPABILITY): turn off compability
12044
12045         * ColorHandler.C: include scoped_array.hpp
12046
12047         * font.C: Use more specific smart_ptr header.
12048         * Painter.C: ditto
12049         * gettext.C: ditto
12050         * ShareContainer.h: ditto
12051         * lyx_main.h: ditto
12052         * kbmap.h: ditto
12053         * FontInfo.h: ditto
12054         * BufferView_pimpl.h: ditto
12055         * ColorHandler.h: ditto
12056
12057         * kbmap.C (defkey): change call to shared_ptr::reset
12058
12059 2002-05-21  Juergen Vigna  <jug@sad.it>
12060
12061         * buffer.C (insertErtContents): fix to insert ert asis if it is
12062         non empty. Skip it completely if it contains only whitespaces.
12063
12064 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12065
12066         * BufferView_pimpl.C:
12067         * BufferView2.C: clear selection on paste (bug 393)
12068
12069 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12070
12071         * DepTable.C: include ctime
12072
12073 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12074
12075         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12076
12077 2002-05-14  Juergen Vigna  <jug@sad.it>
12078
12079         * text.C (breakParagraph): fixed function to honor the keepempty
12080         layout in the right maner and also to permit the right breaking
12081         algorithm on empty or non empyt keepempty paragraphs.
12082
12083         * paragraph.C (breakParagraph): we have to check also if the par
12084         is really empty (!size()) for isempty otherwise we do the wrong
12085         paragraph break.
12086
12087 2002-05-10  Juergen Vigna  <jug@sad.it>
12088
12089         * buffer.[Ch] : The following are only changes to the ert
12090         compatibility read reading old LaTeX layout and font stuff and
12091         convert it to ERTInsets.
12092
12093         * buffer.h: added isErtInset().
12094
12095         * buffer.C (struct ErtComp): add a fromlayout bool to check
12096         if we're inside a LaTeX layout.
12097         (isErtInset): new helper function.
12098         (insertErtContents): look for other ert insets before this one
12099         and insert the contents there, so that we don't have subsequent
12100         ERT insets with nothing between them. This way we create only one
12101         inset with multiple paragraphs. Also check if we don't insert only
12102         spaces ' ' as they are ignored anyway afterwards in the .tex file
12103         so if we have only spaces we will ignore this latex part in the
12104         new file.
12105         (parseSingleLyXformat2Token \\layout): better compatibility when
12106         reading layout-latex stuff.
12107         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12108         language tag.
12109         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12110         stuff after reading the inset only get the information back from
12111         the stack.
12112
12113 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12114
12115         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12116
12117         * LaTeXFeatures.C (getBabelOptions): New method.
12118
12119 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12120
12121         * BufferView_pimpl.C (Dispatch): work around missing argument for
12122         'layout'
12123
12124 2002-05-08  Juergen Vigna  <jug@sad.it>
12125
12126         * text.C (leftMargin): handle paragraph leftindent.
12127
12128         * paragraph.C (writeFile): write the new \\leftindent tag.
12129         (validate): handle leftindent code.
12130         (TeXEnvironment): handle paragraphleftindent code again.
12131
12132         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12133
12134         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12135         for paragrap_extra indent code and new token \\leftindent.
12136         (latexParagraphs): handle the leftindent as environment.
12137
12138         * ParameterStruct.h: added leftindent support.
12139
12140         * ParagraphParameters.C (leftIndent): added support functions for
12141         the paragraph left indent.
12142
12143         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12144         more appropriate.
12145
12146 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12147
12148         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12149         inside insetERT.
12150
12151         * text.C (computeBidiTables): No bidi in insetERT.
12152
12153         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12154         in RTL documents.
12155
12156 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12157
12158         * version.C.in: pre 5
12159
12160 2002-05-02  José Matos  <jamatos@fep.up.pt>
12161         * buffer.C (makeDocBookFile): white space changes, add newline to
12162         command styles.
12163         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12164
12165         * tabular.C (docBook): fix typo.
12166
12167 2002-05-03  Juergen Vigna  <jug@sad.it>
12168
12169         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12170         change in LyXText as we can not be sure it was not freed.
12171         (drawOneRow): remove unused code.
12172
12173         * text.C (drawInset): redo the calculation of the need_break_row as
12174         it could have a row which was already freed.
12175         (draw): look at the return value of drawInset and return false if
12176         it also returned false.
12177         (paintRowText): look at the return value of draw and return false if
12178         it also returned false.
12179
12180         * lyxtext.h: added bool return type to drawInset() and draw() so that
12181         if we have a change in the row so that the rowbreak has to be redone
12182         we abort drawing as it will be called again.
12183
12184 2002-05-02  Juergen Vigna  <jug@sad.it>
12185
12186         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12187         a change in the maintext also if we're inside an inset.
12188         (Dispatch): set the cursor again after a break line and after the
12189         screen has been updated as it could be we're in a different row.
12190
12191         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12192         to set the cursor behind the pargraph with > size().
12193         (setCursor): check also for the same paragraph when checking where
12194         to put the cursor if we have a NFR inset.
12195
12196         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12197         parts of layout read further up as it still was in the wrong
12198         position.
12199
12200 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12201
12202         * screen.C (drawFromTo): change sine fullRebreak always return
12203         true.
12204
12205         * buffer.C (parseSingleLyXformat2Token): reindent some
12206
12207         * BufferView_pimpl.C (update): change since fullRebreak always
12208         return true.
12209         (Dispatch): git rid of the last hardcoded "Standard"s.
12210
12211 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12212
12213         * text2.[Ch] (fullRebreak): make it return void now that we always
12214         returned true.
12215
12216 2002-04-30  Juergen Vigna  <jug@sad.it>
12217
12218         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12219         ert compatibility check for "latex" layout.
12220
12221 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12222
12223         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12224         minipages: use col% instead of p%, and also use the current font.
12225         (makeLaTeXFile): Fix use babel condition.
12226         (parseSingleLyXformat2Token): Correct font when reading old floats.
12227
12228 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12229
12230         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12231         inserting list of floats.
12232
12233 2002-04-25  Herbert Voss  <voss@lyx.org>
12234
12235         * MenuBackend.C (expand): don't add the graphics extensions to the
12236         export menu
12237
12238 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12239
12240         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12241         non-existing layout, do not complain if it was the default layout
12242         of the original class (bug #342)
12243
12244 2002-04-24  Juergen Vigna  <jug@sad.it>
12245
12246         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12247         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12248
12249 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12250
12251         * buffer.C (getBibkeyList): If using \bibliography, return the
12252         option field with the reference itself. Enables us to provide natbib
12253         support when using \bibliography.
12254
12255 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12256
12257         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12258
12259         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12260         natbib is provided by the LaTeX class.
12261
12262 2002-04-23  Juergen Vigna  <jug@sad.it>
12263
12264         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12265         Wakeup functions.
12266
12267         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12268
12269 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12270
12271         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12272
12273         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12274         ensuremath around textordmasculine, textordfeminine and
12275         textdegree.
12276
12277 2002-04-19  Juergen Vigna  <jug@sad.it>
12278
12279         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12280         reinitializing the buffer otherwise row-dimensions may be wrong.
12281         (update): reset also the selection cursors if they do exits otherwise
12282         their x/y positions may be wrong.
12283
12284         * text2.C (cursorDown): don't enter the inset if we came from a row
12285         above and are one row over the inset.
12286
12287         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12288         really leaving an inset.
12289
12290 2002-04-18  Juergen Vigna  <jug@sad.it>
12291
12292         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12293         of the selected paragraph does not have the selected layout also if
12294         the last one had!
12295
12296         * text2.C (setLayout): fixed bug which did not change last selected
12297         paragraph.
12298
12299         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12300         changed the read and substituted \\end_float with \\end_inset!
12301
12302         * BufferView_pimpl.C (cursorPrevious):
12303         (cursorNext): fixed to make it work with rows heigher than the work
12304         area without moving the cursor only the draw of the row.
12305         (workAreaMotionNotify): fix jumping over high rows.
12306
12307 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12308
12309         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12310         Ressler.
12311
12312 2002-04-16  Juergen Vigna  <jug@sad.it>
12313
12314         * text2.C (setCursor): set also the irow().
12315         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12316         (cursorUp):
12317         (cursorDown): support for locking an inset if the x_fix value goes
12318         inside it. That way I can transverse insets too with cursor up/down.
12319
12320         * lyxrow.h: added irow helper function same as other (i) functions.
12321
12322         * BufferView_pimpl.C (cursorPrevious):
12323         (cursorNext): fixed for insets!
12324
12325 2002-04-15  Juergen Vigna  <jug@sad.it>
12326
12327         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12328         position otherwise it is wrong in some cases.
12329
12330         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12331         inside the inset before the call.
12332
12333 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12334
12335         * buffer.[Ch] (getBibkeyList): make it const.
12336
12337 2002-04-12  Juergen Vigna  <jug@sad.it>
12338
12339         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12340
12341         * text2.C (getCursorX): new helper function
12342         (setCursor): compute also ix_
12343         (setCursorFromCoordinates): set also ix.
12344
12345         * lyxcursor.h: added ix_ and helper functions.
12346
12347         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12348
12349         * buffer.C (insertStringAsLines): dont break paragraph if the this
12350         paragraph is inside an inset which does not permit it!
12351
12352         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12353         also with no chars on this paragraph.
12354         (paintRowText): only paint stuff if it's inside the workarea!
12355
12356         * paragraph.C (breakParagraph): honor keepempty flag and break the
12357         paragraph always below not above.
12358
12359         * BufferView2.C (unlockInset): update the paragraph layout on inset
12360         unlock as we changed paragraph in such a case.
12361
12362         * lyxfind.C (LyXFind): clear the former selection if not found!
12363
12364         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12365         again called in insertChar().
12366
12367         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12368         an inset which uses the whole row!
12369         (rightMargin): ditto.
12370         (insertChar): force a rebreak if we inserted an inset!
12371
12372 2002-03-28  Herbert Voss  <voss@lyx.org>
12373
12374         * lyxlength.[Ch]: add inBP() to get the right PS-point
12375         units (BigPoint). With inPixels we have rounding errors
12376
12377 2002-04-11  Juergen Vigna  <jug@sad.it>
12378
12379         * text2.C (setCursorFromCoordinates): set iy to the right value.
12380         (setCursor): add check if row->previous exists!
12381
12382         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12383         an old float_type as this was the case in the old code!
12384
12385         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12386
12387         * BufferView2.C (showLockedInsetCursor): use iy
12388         (fitLockedInsetCursor): ditto
12389
12390         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12391         locked insets as there we have the right value now.
12392
12393         * lyxcursor.C: added iy_ variable and iy functions to set to the
12394         baseline of cursor-y of the locked inset.
12395
12396         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12397         (setCursor): fixed for insets which need a full row.
12398
12399         * text.C (rowLastPrintable): don't ignore the last space when before
12400         an inset which needs a full row.
12401         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12402         as last character of a row when before a inset which needs a full row.
12403
12404 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12405
12406         * version.C.in: update date
12407
12408         * text2.C (fullRebreak): try to always return true and see what
12409         happens...
12410
12411 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12412
12413         * MenuBackend.C (expand): use Floating::listName
12414
12415         * FloatList.C (FloatList): add listName argument to the built-in
12416         floats
12417
12418         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12419         text associated with the float.
12420
12421 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12422
12423         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12424
12425 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12426
12427         * ShareContainer.h: add a couple of missing typenames.
12428
12429 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12430
12431         * lyxrc.C (getDescription): use _() correctly rather than N_().
12432
12433 2002-03-28  Herbert Voss  <voss@lyx.org>
12434
12435         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12436         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12437
12438 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12439
12440         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12441         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12442
12443 2002-03-29  Juergen Vigna  <jug@sad.it>
12444
12445         * lyxfunc.C (dispatch): add a missing fitCursor call.
12446
12447         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12448         it was scrolled by a cursor move, so return the bool status.
12449
12450         * BufferView.C (fitCursor): return the bool flag also to the outside
12451         world as this is needed.
12452
12453         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12454
12455         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12456         call the edit() as it is not needed (and wrong) IMO.
12457         (workAreaButtonPress): set the screen_first variable before evt.
12458         unlock the inset as this may change screen_first and then we have
12459         a wrong y position for the click!
12460
12461 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12462
12463         * MenuBackend.C (expand): another translation that I missed
12464
12465 2002-03-28  Juergen Vigna  <jug@sad.it>
12466
12467         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12468
12469         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12470
12471 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12472
12473         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12474
12475         * MenuBackend.C (expand): fix export/view/update when there is no
12476         document open.
12477
12478 2002-03-27  Herbert Voss  <voss@lyx.org>
12479
12480         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12481         and text%
12482
12483 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12484
12485         * bufferview_funcs.C (currentState): only show paragraph number
12486         for is DEVEL_VERSION is set.
12487
12488         * lyxfunc.C (dispatch): put warning in INFO channel
12489
12490         * MenuBackend.C (expand): translate the name of floats
12491
12492         * FloatList.C (FloatList): mark the float names for translation
12493
12494         * converter.C (convert): use LibScriptSearch
12495
12496 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12497
12498         * MenuBackend.C (defaults): fix default menu (we might as well get
12499         rid of it...)
12500
12501 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12502
12503         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12504         directory.
12505
12506 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12507
12508         * lyxvc.C: reorder includes.
12509
12510 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12511
12512         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12513           properly
12514
12515 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12516
12517         * CutAndPaste.C: change layouts earlier on paste
12518           to avoid crashing when calling getFont()
12519
12520 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12521
12522         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12523         irritating #error.
12524
12525 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12526
12527         * WorkArea.C: remove 'Pending' debug message.
12528
12529         * most files: ws cleanup
12530
12531         * buffer.[Ch]: ws changes
12532
12533         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12534
12535 2002-03-21  Juergen Vigna  <jug@sad.it>
12536
12537         * tabular.C (SetMultiColumn): collapse also the contents of the
12538         cells and set the last border right. Added a Buffer const * param.
12539
12540 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12541
12542         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12543         linking or not.
12544
12545 2002-03-19  Juergen Vigna  <jug@sad.it>
12546
12547         * text2.C (clearSelection): reset also xsel_cache.
12548
12549         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12550         where it needs to be called (John tells us to do so too :)
12551         (selectionLost): reset sel_cache.
12552
12553         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12554
12555 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12556
12557         * text2.C (setCursorIntern): put debuging code in INSETS channel
12558
12559 2002-03-19  André Pönitz <poenitz@gmx.net>
12560
12561         * lyxfunc.C: tiny whitespace change
12562
12563 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12564
12565         * ToolbarDefaults.C (init):
12566         * LyXAction.C (init):
12567         * commandtags.h:
12568         * BufferView_pimpl.C (Dispatch):
12569         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12570
12571 2002-03-19  Allan Rae  <rae@lyx.org>
12572
12573         * exporter.C (Export): removeAutoInsets before doing anything else.
12574         While I've just introduced a dependency on BufferView this really is
12575         the best place to clean the buffer otherwise you need to cleanup in
12576         a dozen places before calling export or cleanup in a dozen functions
12577         that export calls.
12578
12579         * converter.C (runLaTeX):
12580         (scanLog): Better handling of removeAutoInsets and screen updates.
12581
12582         * lyxfunc.C (dispatch): small whitespace changes
12583
12584 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12585
12586         * WorkArea.C (C_WorkAreaEvent): return a value.
12587         (event_cb): return 1 if we handled the event, 0 otherwise.
12588
12589         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12590
12591 2002-03-18  Juergen Vigna  <jug@sad.it>
12592
12593         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12594         (GetAdditionalWidth): ditto.
12595         (RightLine): ditto.
12596         (LeftLine): ditto.
12597
12598         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12599         inset if we're there actually (probably not used right now but this
12600         is the direction to go for unifying code).
12601         (paste): disable code to clear the selection.
12602
12603         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12604         inside an InsetText and move the check further up as it is in the
12605         wrong place.
12606
12607         * text2.C (pasteSelection): set a selection over the pasted text.
12608
12609 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12610
12611         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12612         and libgraphics to build on Cygwin.
12613
12614 2002-03-15  Juergen Vigna  <jug@sad.it>
12615
12616         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12617         inserting an Inset into the paragraph. I know this is not the best
12618         fix but we already use current_view in CutAndPaste so we will remove
12619         all of it's using at the same time.
12620
12621         * buffer.C (sgmlError): deactivated function till it is rewritten in
12622         the right mode, now it can create problems.
12623
12624         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12625         before accessing it.
12626
12627 2002-03-14  Juergen Vigna  <jug@sad.it>
12628
12629         * undo_funcs.C (textHandleUndo): do the right thing when updating
12630         the inset after the undo/redo.
12631
12632         * text2.C (setCursor): just some testcode for #44 not ready yet.
12633
12634         * undo_funcs.C (textHandleUndo): set the next() and previous()
12635         pointers of the paragraph to 0 before deleting otherwise we have
12636         problems with the Paragraph::[destructor].
12637
12638         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12639         on a paragraph insertion.
12640
12641 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12642
12643         * buffer.C (asciiParagraph): use += operator for char append to
12644         string.
12645
12646         * paragraph.C (getFontSettings): compare >= not just >
12647         (highestFontInRange): ditto
12648         (setFont): ditto
12649
12650 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12651
12652         * paragraph.C: change several algorithm to be more appripriate for
12653         the problem domain. This is lookip in FontList and in the InsetList.
12654
12655 2002-03-13  André Pönitz <poenitz@gmx.net>
12656
12657         * commandtags.h:
12658         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12659
12660 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12661
12662         * commandtags.h:
12663         * LyXAction.C:
12664         * lyxfunc.C:
12665         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12666
12667 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12668
12669         * Painter.C (display): anon helper function, adjust code for this
12670         change.
12671         (pixmap): remove function.
12672
12673         * Painter.h: remove private display variable.
12674
12675         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12676
12677 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12678
12679         * WorkArea.[Ch]: remove figinset_canvas cruft.
12680
12681 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12682
12683         * lyxtextclass.C (operator): add one item cache optimization.
12684
12685         * bufferlist.h: doxy changes
12686
12687         * bufferlist.C: ws changes
12688
12689         * DepTable.[Ch] (ext_exist): place const in the right spot.
12690
12691         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12692         call resizeInsets.
12693         (workAreaExpose): call resizeInsets when the with BufferView changes.
12694         (Dispatch): adjust for protectedBlank removal
12695         (specialChar): call updateInset if the insert went ok.
12696
12697         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12698         specialChar instead.
12699
12700         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12701
12702         * BufferView.h: doxy change
12703
12704         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12705
12706         * lyxtextclass.C (operator[]): remove non-const version
12707         (defaultLayout): remove non-const version
12708
12709 2002-03-12  Juergen Vigna  <jug@sad.it>
12710
12711         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12712         did resize the LyXText too.
12713
12714         * buffer.C (readLyXformat2): set layout information on newly allocated
12715         paragraphs.
12716
12717         * tabular.C (OldFormatRead): set layout information on the paragraph.
12718
12719 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12720
12721         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12722
12723 2002-03-11  Juergen Vigna  <jug@sad.it>
12724
12725         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12726         plainly wrong.
12727         (resizeCurrentBuffer): force also the insets to resize themselfes.
12728         (moveCursorUpdate): fixed up for InsetText.
12729
12730 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12731
12732         * commandtags.h:
12733         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12734         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12735         value of Dialogs::tooltipsEnabled().
12736         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12737
12738 2002-03-08  Juergen Vigna  <jug@sad.it>
12739
12740         * BufferView_pimpl.C (updateInset): update inset inside inset also
12741         if it isn't inside theLockingInset().
12742
12743 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12744
12745         * buffer.C (asciiParagraph): redo some of the word and line length
12746         handling.
12747         (getLists): look for Caption instead of caption.
12748
12749 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12750
12751         * buffer.C (Buffer): initialize niceFile to true
12752         (makeLaTeXFile):
12753         (makeLinuxDocFile):
12754         (makeDocBookFile): make sure niceFile is true on exit
12755
12756 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12757
12758         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12759
12760 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12761
12762         * LyXSendto.C: remove.
12763         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12764         * lyx_gui.C: remove now-redundant comment.
12765         * ColorHandler.h: remove forward declaration of class WorkArea.
12766         * lyxfunc.C: remove #include "WorkArea.h".
12767
12768 2002-03-07  Juergen Vigna  <jug@sad.it>
12769
12770         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12771         got moved away with the DEPM and also set the inset_owner always
12772         right which before could have been omitted.
12773
12774 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12775
12776         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12777         wanted layout is not found.
12778
12779 2002-03-07  Juergen Vigna  <jug@sad.it>
12780
12781         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12782
12783 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12784
12785         * paragraph.C (breakParagraph): use default layout not layout of
12786         prev paragraph.
12787         (Paragraph): clear ParagraphParameters.
12788
12789 2002-03-06  Juergen Vigna  <jug@sad.it>
12790
12791         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12792         otherwise it would not be a valid lenght. Fixed a special case in
12793         the minipage compatibility read where we end the document with a
12794         minipage.
12795
12796         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12797         was set as it could be 0 for InsetTexts first entry.
12798
12799 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12800
12801         * paragraph.C (writeFile): if layout is empty write out
12802         defaultLayoutName().
12803
12804         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12805         file without named layout we set layout to defaultLayoutName().
12806
12807 2002-03-06  Juergen Vigna  <jug@sad.it>
12808
12809         * CutAndPaste.C (copySelection): set layout for new paragraph.
12810
12811         * text.C (prepareToPrint): leave ERT inset left aligned
12812         (leftMargin): don't indent paragraphs inside ERT insets
12813
12814 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12815
12816         * paragraph.C (breakParagraph): dont call clear do the work manually
12817
12818         * paragraph.[Ch] (clear): remove function
12819
12820 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12821
12822         * paragraph.C (Paragraph): dont call clear, the work has already
12823         been done.
12824
12825         * lyxtextclass.C (operator): assert if n is empty
12826
12827         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12828         work manually instead.
12829
12830 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12831
12832         * BufferView_pimpl.C: protect selectionLost against text == 0
12833
12834 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12835
12836         * text.C (breakParagraph): fix a setting layout to '0' problem.
12837
12838 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12839
12840         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12841         final location of file, for the included files, and graphics.
12842
12843 2002-03-05  Juergen Vigna  <jug@sad.it>
12844
12845         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12846
12847 2002-03-04  Juergen Vigna  <jug@sad.it>
12848
12849         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12850
12851         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12852         last column of multicolumn cells.
12853         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12854
12855 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12856
12857         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12858         file if it doesn't go to a temporary file.
12859
12860         * buffer.C (sgmlOpenTag):
12861         (sgmlCloseTag):  remove extra newline insertion.
12862
12863 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12864
12865         * text.C (getRowNearY): comment out debug msg
12866
12867 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12868
12869         * text2.C: first -> first_y
12870
12871         * text.C (getRowNearY): add some attemts at a possible
12872         optimization, not working.
12873
12874         * tabular.[Ch]: add BufferParams to several function so that newly
12875         created paragraph can be initialized to he default layotu for the
12876         buffers textclass.
12877
12878         * tabular-old.C (ReadOld): add buf->params to call of Init
12879
12880         * screen.C: rename text->first to text->first_y
12881
12882         * paragraph.C (breakParagraph): always set layout in the broken
12883         paragraph
12884
12885         * lyxtextclass.C (Read): remove lowercase
12886         (hasLayout): ditto
12887         (operator): ditto
12888         (delete_layout): ditto
12889
12890         * lyxtext.h: rename first -> first_y
12891
12892         * lyxlayout.C (Read): remove lowercase
12893         (name): ditto
12894         (setName): ditto
12895         (obsoleted_by): ditto
12896
12897         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12898
12899         * buffer.C (insertErtContents): add params are to InsetERT
12900         (parseSingleLyXformat2Token): add code to check if a paragraphs
12901         layout really exist.
12902         (parseSingleLyXformat2Token): add params to several inset
12903         constructors
12904         (asciiParagraph): remove lowercase, do the layout comparisons with
12905         no_case
12906
12907         * BufferView_pimpl.C (cursorNext): first -> first_y
12908         (resizeCurrentBuffer): first -> first_y
12909         (updateScrollbar): first -> first_y
12910         (scrollCB): first -> first_y
12911         (workAreaMotionNotify): first -> first_y
12912         (workAreaButtonPress): first -> first_y
12913         (checkInsetHit): first -> first_y
12914         (cursorPrevious): first -> first_y
12915         (cursorNext): first -> first_y
12916         (Dispatch): add buffer_->params to severl inset contructors
12917
12918 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12919
12920         * lyxlayout.C (Read): remove some debug info that I forgot.
12921
12922         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12923         clean up the code slightly.
12924         (makeLinuxDocFile): ditto
12925         (makeDocBookFile): ditto
12926
12927         * text2.C: layout as string
12928
12929         * text.C: layout as string
12930
12931         * paragraph_pimpl.C: layout as string
12932
12933         * paragraph.[Ch]: layout as string
12934
12935         * lyxtextclasslist.[Ch]: layout as string
12936
12937         * lyxtextclass.[Ch]: layout as string
12938
12939         * lyxtext.h: layout as string
12940
12941         * lyxlayout.[Ch]: layout as string
12942
12943         * lyx_cb.C: layout as string
12944
12945         * bufferview_funcs.C: layout as string
12946
12947         * bufferparams.C: layout as string
12948
12949         * buffer.C: layout as string
12950
12951         * LyXView.[Ch]: layout as string
12952
12953         * LaTeXFeatures.[Ch]: layout as string
12954
12955         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12956
12957         * BufferView_pimpl.C: change current_layout to string, remove
12958         lyx::layout_type.
12959         (Dispatch):
12960         (smartQuote):
12961         (insertInset):
12962         (workAreaButtonRelease): layout as string
12963
12964         * BufferView2.C (unlockInset): adjust
12965
12966         * vspace.C (asLatexCommand): use an explict temp variable.
12967
12968 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12969
12970         * Makefile.am: use FRONTEND_*
12971
12972 2002-03-01  Juergen Vigna  <jug@sad.it>
12973
12974         * tabular.C (SetWidthOfMulticolCell): changed to something better
12975         I hope but still work in progress.
12976         (recalculateMulticolumnsOfColumn): renamed function from
12977         recalculateMulticolCells as it is more appropriate now.
12978         (SetWidthOfCell): calculate multicols better.
12979
12980 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12981
12982         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12983
12984         * lyxfunc.C (processKeySym): print sequence also if it is
12985         `deleted' (complete)
12986
12987         * kbsequence.C (print): print sequence even if it is deleted
12988         (complete would be a better word, actually).
12989
12990         * lyxfunc.C (dispatch): print complete options after a prefix key
12991
12992         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12993
12994 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12995
12996         * text2.C (setCharFont): eliminate setCharFont code duplication.
12997
12998 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12999
13000         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13001         LFUN_TABULAR_FEATURE (bug #177)
13002
13003 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13004
13005         * Makefile.am: remove figure.h
13006
13007 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13008
13009         * Bufferview_pimpl.C:
13010         * CutAndPasteC:
13011         * LaTeX.C:
13012         * LyXSendto.C:
13013         * buffer.C:
13014         * bufferlist.C:
13015         * converter.C:
13016         * language.C:
13017         * lyxfunc.C:
13018         * lyxvc.C:
13019         * paragraph.C:
13020         * text.C:
13021         * text2.C: remove #include "lyx_gui_misc.h".
13022
13023         * LaTeX.C: added #include <cstdio>
13024
13025 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13026
13027         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13028         that the paragraph following this one can have.
13029
13030         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13031
13032         * vspace.C (asLatexCommand): fix bogus gcc warning
13033
13034         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13035
13036 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13037
13038         * text2.C (setLayout): get rid of redundant code
13039
13040 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13041
13042         * text2.C (incDepth): make sure depth cannot be increased beyond
13043         reasonable values.
13044
13045 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13046
13047         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13048         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13049
13050         * PainterBase.h (image):
13051         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13052         a LyXImage const *.
13053
13054 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13055
13056         * BufferView.C:
13057         * BufferView.h:
13058         * BufferView_pimpl.C:
13059         * BufferView_pimpl.h:
13060         * LaTeXFeatures.C:
13061         * LyXAction.C:
13062         * LyXView.C:
13063         * Makefile.am:
13064         * UpdateList.h:
13065         * UpdateList.C:
13066         * buffer.C:
13067         * figure.h:
13068         * figureForm.C:
13069         * figureForm.h:
13070         * figure_form.C:
13071         * figure_form.h:
13072         * lyx_cb.C:
13073         * lyx_gui.C:
13074         * lyx_gui_misc.C:
13075         * lyxfunc.C:
13076         * sp_base.h:
13077         * sp_ispell.h:
13078         * sp_pspell.h:
13079         * sp_spell.C: remove fig inset, and the crap house of
13080           cards that follows it
13081
13082 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13083
13084         * Makefile.am:
13085         * lyxserver.C:
13086         * os2_defines.h:
13087         * os2_errortable.h:
13088         * nt_defines.h: move .h into support/
13089
13090         * vms_defines.h: remove
13091
13092         * WorkArea.C: add space in debug output
13093
13094         * text2.C:
13095         * paragraph.C:
13096         * buffer.C: add WITH_WARNINGS
13097
13098         * vc-backend.h:
13099         * vc-backend.C:
13100         * bufferlist.C: s/retrive/retrieve/, add docs
13101
13102         * vspace.h:
13103         * vspace.C:
13104         * kbmap.h:
13105         * lyxlength.h:
13106         * lyxgluelength.h:
13107         * length_common.h:
13108         * chset.h:
13109         * chset.C: add docs
13110
13111         * lyxgui.C: add ID to X error handler
13112
13113         * lyxtestclass.c: fix typo
13114
13115 2002-02-26  Juergen Vigna  <jug@sad.it>
13116
13117         * tabular_funcs.C (write_attribute): changed so that some default
13118         attributes are not written at all.
13119         (getTokenValue): set default values before trying to read the
13120         value so we have the return value always set as default if we don't
13121         find the token we search for.
13122
13123         * tabular.C (Write): write bools as bools not as strings!
13124
13125 2002-02-22  Juergen Vigna  <jug@sad.it>
13126
13127         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13128         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13129
13130         * text.C (leftMargin): don't add an indent for paragraphs inside
13131         tabular cells (fix #208).
13132
13133 2002-02-21  José Matos  <jamatos@fep.up.pt>
13134
13135         * tabular.C (docBook): fixed support for long tables.
13136
13137 2002-02-20  Juergen Vigna  <jug@sad.it>
13138
13139         * text2.C (getFont): get the drawing font of the Inset if this
13140         paragraph is inside an inset (only important for InsetERT for now).
13141
13142         * buffer.C (insertErtContents): use new lanugage params in ERT
13143         constructor.
13144
13145         * CutAndPaste.C: commenting out seemingly uneeded code.
13146
13147 2002-02-19  Allan Rae  <rae@lyx.org>
13148
13149         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13150         Iterators might be simple to use but they also get invalidated.
13151         (removeAutoInsets): renamed saved cursor tracking variables and added
13152         some comments to clarify what everything does.
13153
13154 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13155
13156         * Chktex.C:
13157         * LaTeX.C:
13158         * LyXSendto.C:
13159         * converter.C:
13160         * lyx_cb.C:
13161         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13162         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13163
13164         * lyxfunc.C:
13165         * vc-backend.h: remove #include "support/syscall.h"
13166
13167         * LaTeX.C:
13168         * LyXSendto.C:
13169         * converter.C: rearrange #includes in Lars' approved fashion.
13170
13171         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13172         forward declare class Timeout in the header file.
13173
13174         * XFormsView.C: changes due to the above.
13175
13176         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13177         similar to LyXView.
13178
13179         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13180         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13181
13182 2002-02-18  José Matos  <jamatos@fep.up.pt>
13183
13184         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13185         insets contents.
13186
13187 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13188
13189         * a lot of small ws changes
13190         * add a lot of using std::XXX
13191         * use std construcs some places where approp.
13192         * use some exisint stuff from lyxfunctional where approp.
13193         * Make file changes to use partial linking (lets test this now...)
13194
13195 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13196
13197         * Chktex.C:
13198         * buffer.C:
13199         remove #include "support/syscontr.h" as it's redundant. Always has been.
13200
13201         * Chktex.C:
13202         * LaTeX.C:
13203         * LyXSendto.C:
13204         * converter.C:
13205         * lyx_cb.C:
13206         * vc-backend.C:
13207         change Systemcalls::System to Systemcalls::Wait and
13208         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13209         No change of functionality, just reflects the stripped down Systemcalls
13210         class.
13211
13212 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13213
13214         * debug.[Ch]: add a GRAPHICS type to the enum.
13215
13216 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13217
13218         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13219
13220         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13221         there is an inset.
13222
13223 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13224
13225         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13226         match the changes below.
13227
13228         * text2.C (toggleInset): if there is not editable inset at cursor
13229         position, try to see if cursor is _inside_ a collapsable inset
13230         and close it.
13231
13232 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13233
13234         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13235         document menu has a nice checkbox
13236
13237 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13238
13239         * lyxlength.C (asLatexString): change PW to output as percent of
13240         \textwidth.
13241
13242         * lengthcommon.C: change '%' to 't%'
13243
13244         * lyxfunc.C (dispatch): a few comments from Martin
13245
13246 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13247
13248         * WorkArea.h:
13249         * WorkArea.C:
13250         * BufferView_pimpl.h:
13251         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13252           the X selection.
13253
13254 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13255
13256         * vspace.C (inPixels): fix compiler warning
13257
13258 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13259
13260         * lyxfunc.C (getStatus): fix status message for disabled commands.
13261
13262 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13263
13264         * BufferView_pimpl.C: fix crash on close buffer
13265         during selection (#227)
13266
13267 2002-01-27  Herbert Voss  <voss@lyx.org>
13268
13269         * buffer.C: link old Figure to new graphic inset
13270
13271 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13272
13273         * FontLoader.C (getFontinfo): Change the latex font names in order
13274         to match the names of type1inst.
13275
13276 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13277
13278         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13279
13280         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13281         (extchanged): ditto
13282         (ext_exist): ditto
13283         (remove_files_with_extension): ditto
13284         (remove_file): ditto
13285         (write): ditto
13286
13287         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13288         document is smaller than the work area height. Do not initialize
13289         static variables to 0.
13290
13291 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13292
13293         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13294
13295         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13296         LFUN_LAYOUT_PARAGRAPHS.
13297
13298         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13299         tabular. It is possible to provide a possible cell, which will
13300         typically be the actcell from the corresponding insettabular
13301
13302         * lyxfunc.C (getStatus): small cleanup; disable
13303         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13304         true
13305
13306 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13307
13308         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13309
13310         * paragraph.C (startTeXParParams):
13311         (endTeXParParams): new methods. The LaTeX code to
13312         start/end paragraph formatting
13313         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13314         empty (fixes bug #200)
13315
13316         * vspace.C (inPixels): adapt to the change below
13317         (inPixels): [later] more cleanups (remove unused variables)
13318
13319         * lyxlength.C (inPixels): change to use a width and a height as
13320         parameter.
13321
13322 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13323
13324         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13325         Replaced with \paperwidth
13326
13327         * DepTable.C (insert): add std:: qualifier
13328
13329 2002-01-18  Allan Rae  <rae@lyx.org>
13330
13331         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13332         updated also?
13333
13334         * text.C (drawInset): Turned out I didn't know enough about how
13335         rebreaking worked.  This fixes most of the redraw problems.  I see
13336         an occasional cursor trail when a line is broken now and the cursor
13337         placement can seem out by a few pixels also after a rebreak.
13338
13339 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13340
13341         * buffer.C (parseSingleLyXformat2Token): update because minipage
13342         width is now a LyXLength
13343
13344         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13345
13346         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13347         math insets
13348
13349 2002-01-17  Juergen Vigna  <jug@sad.it>
13350
13351         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13352
13353         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13354         is set correctly and the inset is updated correctly.
13355
13356 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13357
13358         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13359         the beginning of the loop.
13360
13361 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13362
13363         * lyxrc.C: improve help for use_scalable_fonts
13364
13365 2002-01-17  Allan Rae  <rae@lyx.org>
13366
13367         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13368
13369 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13370
13371         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13372         make sure to set their inset_owner to the right value (bug #171)
13373
13374 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13375
13376         * DepTable.h
13377         * DepTable.C: Implement mtime checking to reduce time spent doing
13378         CRCs.
13379
13380 2002-01-16  Juergen Vigna  <jug@sad.it>
13381
13382         * tabular.C (GetAdditionalHeight): one of error fixed.
13383
13384         * lyxrc.C (output): small fix in writing use_pspell.
13385
13386 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13387
13388         * sp_base.h: #include LString.h
13389
13390 2002-01-16  Allan Rae  <rae@lyx.org>
13391
13392         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13393         Can someone check this please?
13394
13395         * text.C (drawInset): It was possible that p.row would be removed by
13396         breakAgainOneRow upsetting a few other settings.  There may be another
13397         small tweak possible by setting need_break_row = 0 when p.row has been
13398         removed but I don't know enough about the logic here.
13399
13400 2002-01-15  Allan Rae  <rae@lyx.org>
13401
13402         * text.C (insertChar): removed conditional truism.
13403
13404         * BufferView2.C (removeAutoInsets): More tweaks.
13405         cur_par_prev could be a stray pointer.  Check for trailing empty line
13406         in case last line was cur_par and only had an error inset on it.
13407
13408 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13409
13410         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13411         absolute
13412
13413         * vc-backend.C (most methods):
13414         * exporter.C (Export):
13415         * converter.C (convert):
13416         (runLaTeX):
13417         * LyXSendto.C (SendtoApplyCB):
13418         * lyxfunc.C (dispatch):
13419         (menuNew):
13420         (open):
13421         (doImport):
13422         * lyx_cb.C (AutoSave):
13423         (InsertAsciiFile):
13424         * BufferView_pimpl.C (MenuInsertLyXFile):
13425         * buffer.C (runChktex): use Buffer::filePath().
13426
13427         * buffer.h: rename filename to filename_; rename filepath to
13428         filepath_ and make it private
13429         (filePath): new method
13430
13431         * buffer.C (writeFile): use fileName()
13432         (getLatexName):
13433
13434         * lyx_main.C (init): fix starting  of LyX when the binary is a
13435         link from so,ewhere else.
13436
13437         * minibuffer.C: include <cctype> for isprint
13438
13439 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13440
13441         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13442         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13443         name clash with InsetCollapsable's width function.
13444
13445 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13446
13447         * lastfiles.C: include <iterator>
13448
13449 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13450
13451         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13452         std::count.
13453
13454         * buffer.C (makeLaTeXFile): ditto.
13455         Also make loop operation more transparent.
13456
13457 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13458
13459         * ToolbarDefaults.C: remove trailing comma closing namespace.
13460
13461         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13462
13463         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13464         as in WorkArea.
13465
13466         * trans.C (Load): comment out unused variable, allowed.
13467
13468 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13469
13470         * minibuffer.[Ch] (append_char): new method to recieve input from the
13471         drop-down completion browser. If a key was pressed, then recieve this
13472         char and append it to the existing string.
13473         (peek_event): modify the positioning data passed to the completion
13474         browser so that it can be placed above the minibuffer rather than below.
13475 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13476
13477         * LyXAction.C (init): alloe error-next for readonly documents.
13478
13479         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13480         count.
13481
13482 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13483
13484         * bufferlist.C (readFile): create the buffer _after_ checking that
13485         the file exists.
13486
13487         * lyxfunc.C (verboseDispatch): fix handling of arguments
13488
13489         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13490
13491         * lyxrc.C: use string::erase() instead of initializing to "".
13492
13493
13494 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13495
13496         * BufferView_pimpl.h:
13497         * BufferView_pimpl.C:
13498         * WorkArea.h:
13499         * WorkArea.C:
13500         * text2.C: tell X when we have made a selection for copying
13501
13502 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13503
13504         * BufferView_pimpl.C (MenuInsertLyXFile):
13505         * lyxfunc.C (menuNew):
13506         (open):
13507         (doImport): add shortcuts to directory buttons
13508
13509         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13510         open a float)
13511
13512         * lyxfunc.C (setStatusMessage):
13513         (getStatusMessage): new methods
13514         (getStatus):use setStatusMessage instead of setErrorMessage
13515         (dispatch): when function is disabled, set error message here
13516         [instead of in getStatus previously]
13517
13518         * BufferView_pimpl.C (workAreaButtonRelease): update
13519         toolbar/menubar here too.
13520
13521 2002-01-13  Allan Rae  <rae@lyx.org>
13522
13523         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13524         Now seems indestructible.  Remaining task is to audit all other
13525         code affected by deleteEmptyParagraphMechanism.  One small quirk
13526         left is that an empty document with an error in the preamble can
13527         be made to report an error but no error box appears.  I don't know
13528         where it goes.
13529         (removeAutoInsets): Improved comments.
13530
13531 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13532
13533         * Thesaurus.h:
13534         * Thesaurus.C: update for Aiksaurus 0.14
13535
13536 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13537
13538         * text2.C (firstParagraph): removed member function, all uses
13539         replaces with ownerParagraph
13540         (redoParagraphs): here
13541         (updateInset): here
13542         (toggleAppendix): here
13543         * BufferView2.C (insertErrors): here
13544         (setCursorFromRow): here
13545
13546 2002-01-13  Allan Rae  <rae@lyx.org>
13547
13548         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13549         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13550         There is still a way to segfault this although you may have to do this
13551         multiple times: Have an InsetERT with an unknown command in it.
13552         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13553         <down-arrow>, <Enter> again, View->DVI, BANG!
13554
13555         * text2.C (setCursor):
13556         (deleteEmptyParagraphMechanism):
13557         * lyxtext.h (setCursor):
13558         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13559         Making use of the return value may help fix other bugs.
13560
13561 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13562
13563         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13564
13565         * LyXView.C (updateMenubar): call MenuBar::update here
13566         (updateToolbar): but not here
13567         (showState): do not update toolbar/menubar
13568
13569         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13570         should need to care about that.
13571
13572         * lyxfunc.C (verboseDispatch): simplify a bit
13573         (getStatus): have a version which takes a pseudoaction, and
13574         another which requires a (kb_action,string).
13575
13576         * LyXAction.C (retrieveActionArg): make it work also when action
13577         is not a pseudo-action.
13578         (getActionName): simplify a bit
13579         (helpText):
13580
13581 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13582
13583         * lyxfunc.C (verboseDispatch): new families of methods with
13584         several ways to specify a command and a bool to indicate whether
13585         the command name and shortcut should be displayed in minibuffer
13586         (eventually, we could extend that to a finer bitmask like
13587         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13588         (dispatch): the pristine dispatch command which just, well,
13589         dispatchs! Note it still sets its result to minibuffer; I'm not
13590         sure we want that.
13591
13592         * lyxfunc.h: remove setHintMessage
13593
13594         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13595
13596 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13597
13598         * BufferView_pimpl.C (specialChar): delete new inset if we have
13599         not been able to insert it.
13600
13601         * kbmap.C: revert to using int instead of kb_action, since all we
13602         are dealing with is pseudo-actions.
13603
13604         * LyXAction.C (searchActionArg): change to return int instead of
13605         kb_action, since the result is a pseudoaction.
13606
13607 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13608
13609         * buffer.C (insertErtContents): Fix (partially) the font bug.
13610
13611 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13612
13613         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13614         as the other one is broken on my machine!
13615
13616 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13617
13618         * commandtags.h:
13619         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13620
13621 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13622
13623         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13624         reflect their actual use. Provide compatibility code for older lyxrc
13625         files.
13626
13627         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13628         FL_NORMAL_STYLE.
13629         change names of popup font variables in line with the changes to lyxrc.C
13630
13631 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13632
13633         * buffer.C (asciiParagraph): avoid outputing a word twice after
13634         an inset.
13635
13636         * lyxrc.C (getDescription): document that document_path and
13637         template_path can be empty.
13638
13639 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13640
13641         * LaTeXFeatures.C (getMacros):
13642         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13643
13644         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13645
13646         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13647         getPackages.
13648         (getPackages): rename feature "floats" to "float". Use an array to
13649         iterate over 'simple' features (i.e. just a \usepackage). Add
13650         handling of "amsmath" (renamed from "amsstyle").
13651
13652 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13653
13654         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13655         features list.
13656
13657 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13658
13659         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13660         FuncStaus::FuncStatus & FuncStaus::some_method().
13661
13662 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13663
13664         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13665         of the func_satus stuff. Edited and massaged in various ways by
13666         JMarc.
13667
13668         * lyxfunc.C (getStatus): use FuncStatus
13669
13670 2002-01-08  Juergen Vigna  <jug@sad.it>
13671
13672         * text.C (nextBreakPoint): use function Inset::isChar().
13673
13674         * paragraph.C (TeXOnePar): use function
13675         Inset::forceDefaultParagraphs.
13676
13677         * buffer.C (latexParagraphs): use function
13678         Inset::forceDefaultParagraphs.
13679
13680 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13681
13682         * lyx_gui.C (init): set the style of the menu popups to
13683         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13684
13685 2002-01-07  Juergen Vigna  <jug@sad.it>
13686
13687         * text.C (setHeightOfRow): small fix
13688         (prepareToPrint): don't look at alignment if we don't have the place
13689         for doing it.
13690
13691 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13692
13693         * box.C: New file. Move the Box methods and functions out of box.h,
13694         following Lars' suggestion.
13695
13696 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13697
13698         * box.h: #include "support/LOstream.h", needed for inlined function.
13699
13700         * lyxtextclass.C:
13701         * lyxtextclasslist.C: added some using std declarations.
13702
13703 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13704
13705         * box.h: make signed dimensions to allow insets wider than
13706           the screen (bug #162)
13707
13708         * BufferView_pimpl.C: add some insetHit debug
13709
13710 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13711
13712         * vc-backend.C: add FIXME
13713
13714 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13715
13716         * lyxfunc.C (getStatus): enable code for showing math font status
13717         in toolbar/menu.
13718
13719 2002-01-07  Juergen Vigna  <jug@sad.it>
13720
13721         * text.C (nextBreakPoint): removed debug output not needed anymore.
13722
13723 2002-01-06  Juergen Vigna  <jug@sad.it>
13724
13725         * text.C (nextBreakPoint): fixed up this function we had this bug
13726         since ever but now hopefully we break row better.
13727         (insertChar): we have to check if an inset is the next char as it
13728         could now happen that a large inset is causing a break.
13729
13730 2002-01-05  Juergen Vigna  <jug@sad.it>
13731
13732         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13733         if it doesn't like to be drawed.
13734
13735 2002-01-04  Juergen Vigna  <jug@sad.it>
13736
13737         * BufferView2.C (lockInset): forgot to set a cursor.
13738
13739         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13740
13741 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13742
13743         * FormMathsPanel.C:
13744         * FormMathsPanel.h
13745         * MathsSymbols.C:
13746         * form_maths_panel.C:
13747         * form_maths_panel.h:
13748         * form_maths_panel.fd: implemented sub- and super- buttons in math
13749         panel.
13750
13751         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13752         (or ^ space) to be used as in TeX (req'd by André).
13753
13754         * lyxfunc.C: Allow ^ and _ again to be used both as
13755         super/subscript (mathed) and as themselves (in text).
13756
13757 2002-01-03  Allan Rae  <rae@lyx.org>
13758
13759         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13760         "LyX" or the filename of the current buffer if it has one.  This is a
13761         modified form of John Levon's patch.
13762
13763         * XFormsView.C (setWindowTitle): also set icon title.
13764
13765         * LyXView.h (setWindowTitle): signature changed.
13766         * XFormsView.h (setWindowTitle): ditto.
13767
13768 2002-01-02  Juergen Vigna  <jug@sad.it>
13769
13770         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13771
13772 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13773
13774         * screen.C (topCursorVisible): introduce a temp var for
13775         text->cursor.row(), handle the case where this row is null. (kindo
13776         hachish)
13777
13778         * text2.C (setCursor): add a couple of asserts.
13779
13780         * paragraph.h (inset_iterator): add -> operator
13781
13782         * paragraph.[Ch] (autoDeleteInsets): remove member function
13783
13784         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13785         cursor pos correctly and handle inset deletion by itself.
13786         (insertErrors): move iterator declaration out of for expression
13787
13788         * lyxtextclass.C: add <algorithm>
13789
13790         * Makefile.am: added the new files to sources, removed layout.C
13791
13792         * layout.C: removed file
13793
13794         * layout.h: remove LYX_DUMMY_LAYOUT
13795
13796         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13797         layout.
13798
13799         * lyxlayout.[Ch]:
13800         * lyxtextclass.[Ch]:
13801         * lyxtextclasslist.[Ch]: new files
13802
13803         * include order changes to a lot of files, also changes because of
13804         the six new files.
13805
13806 2001-12-27  Juergen Vigna  <jug@sad.it>
13807
13808         * buffer.C (asciiParagraph): more fixes.
13809
13810         * tabular.C (ascii): make ascii export support export of only the
13811         data separated by a column-delimiter.
13812         (ascii): better support for ascii export.
13813
13814         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13815
13816 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13817
13818         * tabular_funcs.C: use a "using std::getline" instead of the
13819         previous fix from Angus (necessary for cxx + lyxstring)
13820
13821 2001-12-24  Juergen Vigna  <jug@sad.it>
13822
13823         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13824
13825         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13826         problems. First check a minipage also if we have some ert-contents
13827         (not only on par->size(), second set the right depth of the paragraph
13828         on the relink to the root-paragraph-list!
13829
13830         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13831         which then did not anymore update the main paragraphs on undo/redo!
13832
13833 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13834
13835         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13836         code. Support all font-changing funcs (even those which are not in
13837         menu currently). Support for reporting font settings in
13838         mathed (disabled until Andre provides a function on mathed's side).
13839
13840         * func_status.h (toggle): small helper function to set toggle
13841         state on a flag.
13842
13843 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13844
13845         * tabular_funcs.C: getline -> std::getline
13846
13847 2001-12-21  Juergen Vigna  <jug@sad.it>
13848
13849         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13850         accessed and could be 0 (I couldn't generate this but it seems
13851         Michael could!).
13852
13853 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13854
13855         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13856         * tabular_funcs.h: here and include iosfwd
13857
13858 2001-12-20  Juergen Vigna  <jug@sad.it>
13859
13860         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13861         inside inset but undo_par was.
13862
13863 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13864
13865         * Thesaurus.C: always include <config.h> in sources.
13866
13867         * Painter.h:
13868         * lyxlookup.h:
13869         * box.h: do not include <config.h> in header files
13870
13871         * text.C (paintLastRow): remove unused variable
13872
13873         * text.C (transformChar):
13874         (insertChar):
13875         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13876
13877         * Painter.C (text):
13878         * font.C (width): rewrite to use uppercase() instead of
13879         islower/toupper.
13880
13881         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13882
13883 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13884
13885         * lyxfind.C: clean up of find failure position change
13886
13887 2001-12-20  Juergen Vigna  <jug@sad.it>
13888
13889         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13890
13891         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13892         (TeXRow): added to LaTeX a single tabular row.
13893         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13894         (Latex): simplified and finally good LT-h/f support.
13895         (various_functions): just small adaptions for LT-h/f support.
13896
13897         * tabular_funcs.[hC]: added and moved here all not classfunctions
13898         of LyXTabular.
13899
13900 2001-12-19  Juergen Vigna  <jug@sad.it>
13901
13902         * tabular.[Ch]: better support for longtabular options (not finished
13903         yet!)
13904
13905 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13906
13907         * text.C (paintLastRow): use the label font instead of the font of
13908         the last character to compute the size of *_BOX. This makes more
13909         sense and avoids a crash with empty paragraphs.
13910         Use Painter::rectangle to draw EMPTY_BOX.
13911
13912 2001-12-19  Juergen Vigna  <jug@sad.it>
13913
13914         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13915         the paragraphs if the replaced paragraph is not the first one!
13916         Tried to delete not used paragraphs but does not work yet so for
13917         now it's inside #ifdef's and by default off!
13918
13919 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13920
13921         * MenuBackend.C: include "lyx_main.h" instead of declaring
13922         lastfiles (actually was declared as LastFiles* instead of a
13923         scoped_ptr).
13924
13925 2001-12-17  Juergen Vigna  <jug@sad.it>
13926
13927         * tabular.C (AppendColumn): applied John's fix
13928
13929 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13930
13931         * BufferView.h:
13932         * BufferView.C:
13933         * BufferView_pimpl.h:
13934         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13935
13936         * Makefile.am:
13937         * box.h: new start of class for above
13938
13939         * lyxfunc.C: ignore space-only minibuffer dispatches.
13940           Show the command name when it doesn't exist
13941
13942         * minibuffer.C: don't add empty lines to the history
13943
13944         * minibuffer.C: add a space on dropdown completion
13945
13946 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13947
13948         * text.C: fix line above/below drawing in insets
13949
13950 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13951
13952         * lyxlength.C (LyXLength): Initialize private variables.
13953
13954 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13955
13956         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13957         when inserting error insets.
13958
13959 2001-12-13  Juergen Vigna  <jug@sad.it>
13960
13961         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13962         actually sometimes the before-paragraph.
13963         (setUndo): don't clear the redostack if we're not actually undoing!
13964
13965 2001-12-06  Juergen Vigna  <jug@sad.it>
13966
13967         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13968         and fixed redoing of main paragraph, so we can use it now ;)
13969
13970         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13971
13972 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13973
13974         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13975         Juergen's request
13976
13977 2001-12-13  André Pönitz <poenitz@gmx.net>
13978
13979         * undostack.[Ch]:
13980         * undo_func.C: minor cleanup
13981
13982 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13983
13984         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13985         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13986         font in urw-fonts package which is marked as -urw-fontspecific and
13987         does not work (incidentally, changing the encoding in the
13988         fonts.dir of this package to -adobe-fontspecific fixes the
13989         problem).
13990
13991         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13992         is a crash when undoing first paragraph (Juergen, please take a
13993         look). THis does not mean the undo fix is wrong, just that it
13994         uncovers problems.
13995
13996         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13997         the (Paragraph*) version when needed instead of duplicating the
13998         code.
13999
14000         * text.C (workWidth): use Inset::parOwner to find out where the
14001         inset has been inserted. This is a huge performance gain for large
14002         documents with lots of insets. If Inset::parOwner is not set, fall
14003         back on the brute force method
14004
14005         * paragraph_pimpl.C (insertInset):
14006         * paragraph.C (Paragraph):
14007         (cutIntoMinibuffer): set parOwner of insets when
14008         inserting/removing them
14009
14010         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14011
14012 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14013
14014         * commandtags.h:
14015         * LyXAction.C:
14016         * lyx_main.C:
14017         * lyxfunc.C:
14018         * mathed/formulabase.C:
14019         * mathed/math_cursor.[Ch]:
14020         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14021
14022
14023 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14024
14025         * lyxlength.[Ch] (operator!=): new function
14026
14027 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14028
14029         * text.C (workWidth): use Inset::parOwner to find out where the
14030         inset has been inserted. This is a huge performance gain for large
14031         documents with lots of insets. If Inset::parOwner is not set, fall
14032         back on the brute force method
14033
14034         * paragraph_pimpl.C (insertInset):
14035         * paragraph.C (Paragraph):
14036         (cutIntoMinibuffer): set parOwner of insets when
14037         inserting/removing them
14038
14039         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14040
14041 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14042
14043         * tabular-old.C (getTokenValue):
14044         * tabular.C (getTokenValue):
14045         (write_attribute): new versions for LyXLength
14046         (everywhere): adjust the use of widths
14047
14048         * tabular.h: change the type of widths from string to LyXLength
14049
14050 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14051
14052         * paragraph.C: fixed missing line number count when exporting
14053         Environments to LaTeX file
14054
14055         * buffer.C: added informational message for checking line numbers.
14056
14057 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14058
14059         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14060         paragraph, do the 'double space' part, but not the 'empty
14061         paragraph' one.
14062
14063         * text.C (workWidth): small optimization
14064         (getLengthMarkerHeight): use minimal size for negative lengths.
14065
14066 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14067
14068         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14069
14070         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14071
14072 2001-12-11  André Pönitz <poenitz@gmx.net>
14073
14074         * FontLoader.C:
14075         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14076
14077 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14078
14079         * text2.C: keep selection on a setFont()
14080
14081 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14082
14083         * lyx_cb.C: another bv->text misuse, from insert label
14084
14085 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14086
14087         * kbsequence.h:
14088         * kbsequence.C: re-instate nmodifier mask
14089
14090 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14091
14092         * lyx_main.h: make lyxGUI private.
14093
14094 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14095
14096         * lyxfind.C: place the cursor correctly on failed search
14097
14098 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14099
14100         * text.C (getLengthMarkerHeight): for small heights, the arrows
14101         are not always on top/bottom of the text
14102         (drawLengthMarker): smaller arrows; take the left margin in
14103         account; draw also vfills.
14104         (paintFirstRow):
14105         (paintLastRow): remove special code for vfill and standard spaces,
14106         since everything is handled in drawLengthMarker now.
14107
14108 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14109
14110         * buffer.C (insertErtContents): try to handle font and language
14111         interaction a bit better.g
14112
14113         * ColorHandler.C (updateColor): change the hash to cover the whole
14114         LColor enum, ws cleanup
14115         (getGCLinepars): ditto
14116         (getGCLinepars): only lookup in the linecache once.
14117
14118 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14119
14120         * iterators.C (operator++): Make the iterator more robust
14121
14122         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14123         (John's patch)
14124         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14125
14126 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14127
14128         * lyxtext.h:
14129         * text.C: better added space drawing
14130
14131 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14132
14133         * LyXView.C:
14134         * BufferView2.C: fix layout combo update on inset unlock
14135
14136 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14137
14138         * Makefile.am: don't compile unused files
14139
14140 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14141
14142         * lyxfunc.C:
14143         * commandtags.h:
14144         * LyXAction.C: remove old LFUN_LAYOUTNO
14145
14146 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14147
14148         * paragraph_pimpl.h:
14149         * paragraph_pimpl.C: isTextAt() doesn't need font param
14150
14151 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14152
14153         * lyxlex.h:
14154         * lyxlex.C: little cleanup
14155
14156 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14157
14158         * BufferView_pimpl.C: fix insertAscii for insets
14159
14160 2001-12-05  Juergen Vigna  <jug@sad.it>
14161
14162         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14163         set the right font on the "multi" paragraph paste!
14164
14165 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14166
14167         * trans_decl.h:
14168         * trans_mgr.[Ch]:
14169         * trans.[Ch]:
14170         * lyxgluelength.C:
14171         * lyxlength.C: remove out-commented code.
14172
14173         * BufferView_pimpl:
14174         * CutAndPaste.C:
14175         * DepTable.C:
14176         * buffer.C:
14177         * chset.C:
14178         * lastfiles.C:
14179         * lyxlex.C:
14180         * lyxlex_pimpl.C:
14181         * lyxserver.C:
14182         * screen.C:
14183         * tabular-old.C:
14184         * tabular.C:
14185         * text.C:
14186         * trans_mgr.C:
14187         * vc-backend.C: change "while(" to "while ("
14188
14189         * lyxlength.[Ch]: add zero function to check if length is zero or
14190         not
14191         * lyxgluelength.C: use it
14192
14193 2001-12-05  Allan Rae  <rae@lyx.org>
14194
14195         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14196         Works for 2.95.3, from what I understand of Garst's reports this should
14197         work for other g++ versions.  We're screwed if the abs(int) definition
14198         changed between bugfix releases of gcc.
14199
14200 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14201
14202         * text.C: fix chapter label offset !
14203
14204 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14205
14206         * lyxtext.h:
14207         * text.C: fix hfill at end of line, clean up
14208
14209 2001-12-04  Juergen Vigna  <jug@sad.it>
14210
14211         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14212         that we force an update of the inset and it's owners if neccessary.
14213
14214 2001-12-03  Juergen Vigna  <jug@sad.it>
14215
14216         * text.C (rowLast): simplified code
14217
14218 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14219
14220         * lyxfunc.C: fix show options on timeout
14221
14222 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14223
14224         * screen.C (topCursorVisible): scroll half a page when the cursor
14225         reached top of bottom of screen
14226
14227 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14228
14229         * minibuffer.C: deactivate on loss of focus
14230
14231 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14232
14233         * vspace.[Ch] (operator!=): add operator.
14234
14235 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14236
14237         * BufferView_pimpl.C: refuse to open an inset when
14238         there's a selection.
14239
14240 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14241
14242         * BufferView_pimpl.C: allow to click on RHS of full row insets
14243
14244 2001-11-30  Juergen Vigna  <jug@sad.it>
14245
14246         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14247         insets for undo reasons.
14248
14249 2001-11-28  André Pönitz <poenitz@gmx.net>
14250
14251         * vspace.[Ch]: cosmetical changes
14252
14253 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14254
14255         * LyXAction.h:
14256         * LyXAction.C:
14257         * lyxfunc.h:
14258         * lyxfunc.C:
14259         * kbmap.h:
14260         * kbmap.C:
14261         * lyxrc.C:
14262         * kbsequence.h:
14263         * kbsequence.C: part re-write of old kb code
14264
14265         * Painter.C:
14266         * WorkArea.C: remove Lgb_bug_find_hack
14267
14268 2001-11-30  José Matos <jamatos@fep.up.pt>
14269
14270         * buffer.C (makeDocBookFile): add a comment to point a hack.
14271         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14272         Fixed a double write of labels.
14273
14274 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14275
14276         * LaTeX.C:
14277         * LaTeX.h Fixed bug in LaTeX class where it would not
14278         re-run latex if no depfiles were changed, but the .dvi was removed.
14279
14280 2001-11-28  André Pönitz <poenitz@gmx.net>
14281
14282         * all the files from the change on 2001/11/26:
14283         use lyx::layout_type instead of LyXTextClass::size_type
14284         use lyx::textclass_type instead of LyXTextClassList::size_type
14285
14286 2001-11-29  Juergen Vigna  <jug@sad.it>
14287
14288         * text.C: added support for paragraph::isFreeSpacing()
14289
14290         * buffer.C: same as above
14291
14292         * paragraph.h: inserted isFreeSpacing() function to enable
14293         FreeSpacing inside InsetERT.
14294
14295         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14296         of the paragraph's in the cut/copy buffer to 0!
14297
14298         * text2.C (removeRow): remove the assert as it can!
14299
14300         * lyxtext.h: added helper function firstRow returning firstrow and
14301         made firstrow private again.
14302
14303         * BufferView2.C (lockInset): don't relock if we're already locked!
14304
14305         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14306         the only paragraph.
14307         (removeRow): added Assert::(firstrow)
14308
14309         * debug.C: forgot to add INSETTEXT here.
14310
14311 2001-11-28  Juergen Vigna  <jug@sad.it>
14312
14313         * sp_spell.C (initialize): changed error text to more general
14314         spellchecker command use (not only ispell!)
14315
14316         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14317
14318         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14319
14320 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14321
14322         * vspace.C: initialise lyxgluelength on failure
14323
14324 2001-11-28  Allan Rae  <rae@lyx.org>
14325
14326         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14327         declaration & definition that looks like a function declaration.
14328
14329 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14330
14331         * BufferView2.C (copy):
14332         (copyEnvironment): do not clear the selection when doing a copy.
14333
14334         * text.C (paintFirstRow): compilation fix
14335
14336 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14337
14338         * tabular.C (Latex): correct line count when writing latex.
14339
14340 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14341
14342         * paragraph_pimpl.h:
14343         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14344           bug a bit
14345
14346 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14347
14348         * text.C:
14349         * LColor.h:
14350         * LColor.C: change vfillline->added_space
14351
14352         * text.C: add markers and text for added space
14353
14354         * vspace.C: fix comment
14355
14356 2001-11-28  André Pönitz <poenitz@gmx.net>
14357
14358         * paragraph.C: whitespace changes
14359         * all the other files from the change on 2001/11/26:
14360         change *::pos_type into lyx::pos_type
14361
14362 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14363
14364         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14365         language of the document when inserting error insets.
14366
14367 2001-11-26  André Pönitz <poenitz@gmx.net>
14368
14369         * BufferView_pimpl.[Ch]:
14370         *       CutAndPaste.C:
14371         * buffer.[Ch]:
14372         * lyxcursor.[Ch]:
14373         * lyxfind.C:
14374         * lyxfunc.C:
14375         * lyxrow.[Ch]:
14376         * paragraph.[Ch]:
14377         * paragraph_pimpl.[Ch]:
14378         * sp_spell.C:
14379         * text.C:
14380         * text2.C: reduce header dependencies, introduce type for positions
14381
14382 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14383
14384         * <various>: change to use Alert.h
14385
14386 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14387
14388         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14389         when encountering an unknown token.
14390         (readLyXformat2): Show an error message if there were unknown tokens.
14391
14392 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14393
14394         * BufferView2.C:
14395         * BufferView_pimpl.C:
14396         * buffer.C:
14397         * paragraph.h:
14398         * text.C:
14399         * text2.C: use par->isInset()
14400
14401 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14402
14403         * paragraph_pimpl.h:
14404         * paragraph_pimpl.C: cleanup
14405
14406 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14407
14408         * text2.C (removeRow):
14409         * text.C (setHeightOfRow): remove useless (and costly) call to
14410         getRow.
14411
14412 2001-11-20  Allan Rae  <rae@lyx.org>
14413
14414         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14415         Now need Inset*::checkInsertChar() to return true for appropriate
14416         cases so that the characters in the minibuffer will actually be
14417         inserted.
14418
14419 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14420
14421         * text.C: change the order of the includes.
14422         (workWidth): initialize it at once.
14423         (workWidth): make maxw unsigned
14424         (setHeightOfRow): remove unused variable (inset)
14425         (selectSelectedWord): remove unused variable (inset)
14426         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14427
14428 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14429
14430         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14431         server is not running.
14432         (openConnection):
14433         (closeConnection): add debug info when server is disabled.
14434
14435         * ColorHandler.C (getGCForeground): send debug message to GUI
14436         channel.
14437
14438         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14439
14440         * kbmap.C (bind): modify because return conventions of
14441         kb_sequence::parse have changed.
14442
14443         * kbsequence.C (parse): only ignore spaces and not any stupid
14444         control character. This avoids tests like s[i] <= ' ', which are
14445         guaranteed to fail with 8bit characters and signed chars.
14446         Change return code to string::npos when there have been no error
14447         (0 was a bad idea when error is at first character)
14448
14449 2001-11-14  José Matos  <jamatos@fep.up.pt>
14450
14451         * buffer.h:
14452         * buffer.C (simpleDocBookOnePar): removed unused argument.
14453
14454 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14455
14456         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14457         insets which are part of a word. Paragraph::isLetter takes care of
14458         that now. Use Paragraph::isInset to identify insets.
14459         (selectSelectedWord): do not test for hyphenation break.
14460
14461         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14462         that protected spaces are considered as spaces.
14463
14464         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14465         Inset::isLetter.
14466
14467 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14468
14469         * lyxserver.h:
14470         * lyxserver.C: fix it. and small cleanup.
14471
14472 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14473
14474         * BufferView_pimpl.C: use inline helpers
14475
14476         * LaTeXFeatures.h:
14477         * LaTeXFeatures.C: fix typos
14478
14479         * Spacing.h:
14480         * Spacing.C: move spacing_string into class
14481
14482         * ToolbarDefaults.C: move stuff into namespace anon
14483
14484         * layout.h: update enum
14485
14486         * lyxfunc.C: use better debug
14487
14488         * minibuffer.h: fix typo
14489
14490         * debug.h:
14491         * debug.C:
14492         * WorkArea.C: add and use Debug::WORKAREA
14493
14494         * lyxtext.h:
14495         * text.C:
14496         * text2.C: code re-organisation, inline helpers
14497
14498 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14499
14500         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14501         std::vector.empty().
14502
14503 2001-11-09  Allan Rae  <rae@lyx.org>
14504
14505         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14506         '\n's after tables.  Tabular and ERT inset work now makes this no
14507         longer necessary.
14508
14509 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14510
14511         * minibuffer.h:
14512         * minibuffer.C: fix crash, improve drop-down completion
14513
14514 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14515
14516         * lyxserver.h:
14517         * lyxserver.C: invalidate fd's when doing endPipe()
14518
14519 2001-11-08  José Matos  <jamatos@fep.up.pt>
14520
14521         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14522         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14523
14524         * paragraph.h:
14525         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14526
14527 2001-11-07  José Matos  <jamatos@fep.up.pt>
14528
14529         * buffer.h:
14530         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14531         const qualifier.
14532
14533         * buffer.C (sgmlOpenTag):
14534         * buffer.C (sgmlCloseTag): removed debug info.
14535
14536         * buffer.h (sgmlOpenTag):
14537         * buffer.h (sgmlCloseTag): made public.
14538
14539 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14540
14541         * buffer.C (saveParamsAsDefaults):
14542         * lyx_cb.C (MenuLayoutSave): remove
14543
14544         * LyXAction.C (init):
14545         * commandtags.h:
14546         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14547
14548 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14549
14550         * buffer.C (setPaperStuff): removed from here...
14551
14552         * bufferparams.C (setPaperStuff): ... and moved there.
14553
14554 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14555
14556         * minibuffer.h:
14557         * minibuffer.C:
14558         * XFormsView.C: add support for drop-down completion
14559
14560 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14561
14562         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14563         commands.
14564
14565 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14566
14567         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14568         disabled.
14569
14570 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14571
14572         * lyx_main.C: change ref to known bugs
14573
14574 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14575
14576         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14577         to work around older babel problems.
14578
14579 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14580
14581         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14582
14583 2001-10-24  Juergen Vigna  <jug@sad.it>
14584
14585         * tabular-old.C (ReadOld): below variable changes reflected.
14586
14587         * tabular.[Ch]: added ltType struct for longtable header/footer
14588         defines and changed all instances where they are used. Added
14589         future support for double top/bottom rows.
14590
14591 2001-10-24  José Matos  <jamatos@fep.up.pt>
14592
14593         * buffer.h (docbookHandleCaption):
14594         * buffer.C (docbookHandleCaption): removed unused function.
14595         (makeDocBookFile): moved docbook supported version to v4.1.
14596
14597 2001-10-24  José Matos  <jamatos@fep.up.pt>
14598
14599         * tabular.h:
14600         * tabular.C (docbookRow): new function to export docbook code of a row.
14601         (DocBook): now honors the longtable flags.
14602
14603 2001-10-23  José Matos  <jamatos@fep.up.pt>
14604
14605         * LaTeXFeatures.h:
14606         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14607         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14608
14609         * buffer.C (makeLinuxDocFile):
14610         (makeDocBookFile): reworked the preamble, more clean, and with
14611         support for lyx defined entities. Changed the document declaration
14612         to be more XML friendly.
14613
14614         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14615         if we need to output XML that should be done with a filter.
14616
14617 2001-10-22  Juergen Vigna  <jug@sad.it>
14618
14619         * sp_pspell.h (class PSpell): add alive function needed in the
14620         controller to see if the spellchecker could be started.
14621
14622 2001-10-22  Juergen Vigna  <jug@sad.it>
14623
14624         * buffer.C (insertStringAsLines): modify the font for inserting
14625         chars in certain conditions by calling checkInsertChar(font).
14626
14627 2001-10-19  Juergen Vigna  <jug@sad.it>
14628
14629         * text.C (workWidth): use getRow instead of wrong algorithm.
14630         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14631
14632 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14633
14634         * lyxserver.h:
14635         * lyxserver.C:
14636         * lyx_main.h:
14637         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14638
14639 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14640
14641         * text.C (workWidth): do not search for the exact row when
14642         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14643         optimization for big documents.
14644
14645 2001-10-18  Juergen Vigna  <jug@sad.it>
14646
14647         * text.C (workWidth): new function with added Inset * parameter.
14648
14649 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14650
14651         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14652
14653         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14654         change return type of getColumnNearX.
14655
14656
14657         * text.C (changeRegionCase): use uppercase/lowercase instead of
14658         toupper/tolower.
14659         (leftMargin):
14660         (rightMargin): simplify code by factoring out the uses of
14661         textclasslist.
14662         (labelFill):
14663         (numberOfHfills):
14664         (setHeightOfRow):
14665         (appendParagraph): use Paragraph::size_type
14666
14667 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14668
14669         * vspace.C (asLatexString): add a missing break
14670
14671 2001-10-15  Herbert Voss  <voss@perce.de>
14672
14673         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14674
14675 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14676
14677         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14678         is not available.
14679
14680 2001-10-10  André Pönitz <poenitz@gmx.net>
14681
14682         * lyxfunc.C: removed greek_kb_flag.
14683
14684 2001-10-10  Herbert Voss  <voss@perce.de>
14685
14686         * lyx_main.C: delete global string help_lyxdir.
14687
14688 2001-10-09  Herbert Voss  <voss@perce.de>
14689
14690         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14691
14692         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14693
14694         * lyx_main.C: added global string help_lyxdir.
14695
14696         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14697
14698 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14699
14700         * lyxrc.C (set_font_norm_type): support iso8859-4
14701
14702 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14703
14704         * LaTeX.C (deplog): add another regex for MikTeX
14705
14706 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14707
14708         * lyxrc.C (set_font_norm_type): support iso8859-3
14709
14710 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14711
14712         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14713
14714         * LaTeXFeatures.C: remove special case of french and index
14715
14716         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14717         before \begin{document}). This solves several incompatibilities.
14718
14719 2001-10-03  Garst Reese  <reese@isn.net>
14720
14721         * lyx_cb.C: change CheckTex error msg.
14722
14723 2001-10-03  José Matos  <jamatos@fep.up.pt>
14724
14725         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14726
14727 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14728
14729         * .cvsignore: update
14730
14731         * lyx_main.C (commandLineVersionInfo): use new style version info.
14732
14733         * buffer.C (writeFile):
14734         (makeLaTeXFile):
14735         (makeLinuxDocFile):
14736         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14737
14738         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14739
14740         * version.h: update to use stuff in version.C
14741
14742         * version.C.in: new file. Contains version information determined
14743         at compile time. This is a merging of version.h and
14744         version_info.h.in.
14745
14746 2001-10-03  Juergen Vigna  <jug@sad.it>
14747
14748         * BufferView_pimpl.C (update): don't change "dirty" status in
14749         updateInset call.
14750
14751 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14752
14753         * WorkArea.C (c-tor): re-position version string slightly.
14754
14755 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14756
14757         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14758         revert to previous code.
14759
14760         WorkArea.[Ch]: (show, destroySplash): methods removed.
14761
14762         WorkArea.C: rework code so that it's an amalgam of the codes before and
14763         after the splash screen was moved to WorkArea.
14764
14765 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14766
14767         * lyxrc.C (read):
14768         * vspace.C (inPixels):
14769         (lyx_advance):
14770         * kbmap.C (bind):
14771         * buffer.C (insertStringAsLines):
14772         (asciiParagraph): fix types to be large enough
14773
14774         * lyxlex_pimpl.h: change member status from short to int
14775
14776         * layout.h: fix type of endlabeltype
14777
14778         * kbmap.C (bind):
14779         * kbsequence.C (parse): change return type to string::size_type
14780
14781         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14782         variable
14783
14784         * Bullet.C (bulletSize):
14785         (bulletEntry): do not use short ints as parameters
14786
14787         * BufferView2.C (insertLyXFile): change a char to an int.
14788
14789         * WorkArea.C (WorkArea): remove unneeded floats in computation
14790
14791 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14792
14793         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14794
14795         * paragraph.C (asString): Do not ignore newline/hfill chars when
14796         copying to the clipboard.
14797
14798 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14799
14800         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14801         after a multi-line inset.
14802
14803 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14804
14805         * paragraph.C (validate): Set NeedLyXFootnoteCode
14806
14807 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14808
14809         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14810         and decrease-error to decrease.
14811
14812 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14813
14814         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14815         it more readable (should be equivalent)
14816
14817 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14818
14819         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14820
14821 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14822
14823         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14824         of a cursor (row, etc.) after a character has been deleted
14825         (deleteEmptyParagraphMechanism): call the method above on _all_
14826         cursors held by the LyXText when a double space has been
14827         detected/deleted.
14828
14829 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14830
14831         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14832         pixmap.
14833         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14834
14835         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14836         background. Use greyOut() and the new show() methods to toggle between
14837         the foreground and background. Add code to remove the splash after
14838         its initial showing.
14839
14840         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14841         (create_forms): no longer call Dialogs::showSplash.
14842
14843 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14844
14845         * .cvsignore: add version_info.h
14846
14847 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14848
14849         * version_info.h.in: new file
14850
14851         * Makefile.am: add version_info.h.in
14852
14853         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14854         version_info.h instead of VERSION_INFO
14855
14856 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14857
14858         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14859         The ERT inset now returns string().
14860
14861 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14862
14863         * lyxtext.h, text.C (selectNextWord): renamed as
14864         selectNextWordToSpellcheck.
14865
14866         * text.C (selectNextWordToSpellcheck): Modified to not select
14867         words inside an ERT inset.
14868
14869 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14870
14871         * lyx_cb.C (MenuLayoutSave): change a bit the question
14872
14873         * sp_base.h: include <sys/types.h>
14874
14875 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14876
14877         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14878
14879 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14880
14881         * several files: fix typos in user-visible strings
14882
14883 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14884
14885         * text2.C (pasteSelection): do not set the selection, since it
14886         will be cleared later. Actually, the intent was to fix the way the
14887         selection was set, but I figured rmoving the code was just as good.
14888
14889 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14890
14891         * FontLoader.C (available): Check if font is available without
14892         loading the font.
14893
14894 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14895
14896         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14897
14898 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14899
14900         * lyxrc.[Ch]: added display_graphics variable and associated code.
14901
14902 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14903
14904         * bufferparams.C (hasClassDefaults): new method. Returns true if
14905         the buffer parameters correspond to known class defaults
14906
14907 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14908
14909         * XFormsView.C (show): set minimum size to the main window.
14910
14911 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14912
14913         * text2.C (copySelection):
14914         (cutSelection):
14915         * lyxfind.C (LyXReplace):
14916         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14917         LyXText::selectionAsString.
14918
14919         * paragraph.C (asString): add "label" argument to the second form
14920
14921         * text2.C (selectionAsString): add "label" argument and pass it to
14922         Paragraph::asString.
14923
14924 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14925
14926         * lyx_main.C (commandLineHelp): remove version information
14927
14928 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14929
14930         * lyx_main.C: add -version commandline option
14931
14932 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14933
14934         * paragraph.h: make the optional constructor arg required instead.
14935         some modifications to other files because of this.
14936
14937         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14938
14939         * lyxserver.C (C_LyXComm_callback): make it static
14940
14941         * lyx_main.C (error_handler): make it static
14942
14943         * lyx_gui.C (LyX_XErrHandler): make it static
14944
14945         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14946
14947         * WorkArea.C: make the extern "C" methods static.
14948
14949         * Makefile.am (lyx_LDADD): simplify
14950
14951 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14952
14953         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14954         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14955
14956         * LyXAction.C (init):
14957         * lyxfunc.C (dispatch): associated code removal.
14958
14959 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14960
14961         * lyxfont.h (isSymbolFont): shut off warning
14962
14963         * text.C (setHeightOfRow):
14964         (getVisibleRow): fix crash with empty paragraphs which have a
14965         bottom line
14966
14967 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14968
14969         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14970         code.
14971
14972 2001-09-04  José Matos  <jamatos@fep.up.pt>
14973         * buffer.C
14974         * buffer.h
14975         * tabular.C (docbook): rename docBook method to docbook.
14976
14977 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14978
14979         * Makefile.am: add dependencies to main.o.
14980
14981 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14982
14983         * FontLoader.C (available): Return false if !lyxrc.use_gui
14984
14985 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14986
14987         * FontInfo.C (query):
14988         * converter.C (view):
14989         * importer.C (Import):
14990         * exporter.C (Export): Can not -> cannot.
14991
14992 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14993
14994         * BufferView_pimpl.C: allow to create index inset even if
14995           string is empty
14996
14997 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14998
14999         * buffer.C (getLists): replace boost::tie code with an explicit pair
15000         as boost::tie can break some compilers.
15001
15002         * iterators.h: Added a std:: declaration to the return type of
15003         ParIterator::size.
15004
15005 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15006
15007         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15008           case.
15009
15010 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15011
15012         * iterators.[Ch]: New files. Provide paragraph iterators.
15013
15014         * buffer.C (changeLanguage): Use paragraph iterators.
15015         (isMultiLingual): ditto
15016
15017         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15018
15019 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15020
15021         * FontLoader.C: Support for cmr font.
15022
15023 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15024
15025         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15026         (available): New method.
15027
15028         * FontInfo.C (getFontname): Use scalable fonts even when
15029         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15030         found.
15031
15032 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15033
15034         * converter.C (Formats::view): reverted! Incorrect fix.
15035
15036 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15037
15038         * converter.C (Formats::view): only output the -paper option
15039         if the dvi viewer is xdvi, thereby fixing bug #233429.
15040
15041 2001-08-23  Herbert Voss  <voss@perce>
15042
15043         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15044
15045 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15046
15047         * Spacing.h (Spacing): Set space to Default on in the default
15048         constructor.
15049
15050 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15051
15052         * vc-backend.h (RCS::versionString): add RCS to version
15053         (CVS::versionString): add CVS to version
15054
15055         * vc-backend.C (scanMaster): do not add CVS to version.
15056         (scanMaster): do not add RCS to version
15057
15058         * lyxvc.C (versionString): new method
15059
15060         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15061
15062 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15063
15064         * Spacing.C (set): initialize fval
15065
15066 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15067
15068         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15069         " or \.
15070
15071 2001-08-16  Juergen Vigna  <jug@sad.it>
15072
15073         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15074
15075 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15076
15077         * BufferView_pimpl.C:
15078         * figureForm.C:
15079         * lyxtext.h:
15080         * text2.C: setParagraph takes linespacing now
15081
15082 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15083
15084         * LyxAction.C: add internal LFUN_CITATION_INSERT
15085
15086         * LyXView.C: actually apply fix
15087
15088         * bufferlist.C: fix open non-existent file
15089
15090         * lyxfind.C: fix indentation
15091
15092         * lyxfunc.C: remove unneeded assert, fix typo
15093
15094 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15095
15096         * MenuBackend.C: use "Floatname List"
15097
15098 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15099
15100         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15101         when converting LaTeX layout to insetERT.
15102         Generate a non-collapsed float when reading old float
15103
15104 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15105
15106         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15107         ERT insets.
15108
15109 2001-08-13  Juergen Vigna  <jug@sad.it>
15110
15111         * text.C (fill): return 0 instead of 20 as this seems to be the more
15112         correct value.
15113
15114 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15115
15116         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15117         lyxrc.font_norm.
15118
15119 2001-08-13  Juergen Vigna  <jug@sad.it>
15120
15121         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15122         casesensitive off.
15123         (SearchBackward): comment out the unlocking of the inset_owner this
15124         should not be needed!
15125
15126 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15127
15128         * Many files: Remove inherit_language, and add latex_language
15129
15130         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15131         collapsible insets.
15132
15133 2001-08-10  Juergen Vigna  <jug@sad.it>
15134
15135         * text.C (prepareToPrint): fixed hfill-width in draw!
15136
15137         * BufferView2.C (selectLastWord): save the selection cursor as this
15138         now is cleared in the function LyXText::clearSelection!
15139
15140 2001-08-08  Juergen Vigna  <jug@sad.it>
15141
15142         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15143         BACKSPACE type functions.
15144
15145         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15146         is only cutted from the document but not put in the cut-buffer, where
15147         still the old stuff should be.
15148
15149         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15150
15151         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15152
15153         * tabular.C (SetWidthOfCell): fixed special case where the width
15154         was not updated!
15155         (LeftLine): handle '|' in align_special.
15156         (RightLine): ditto
15157         (LeftAlreadyDrawed): ditto
15158         (SetWidthOfCell): ditto
15159
15160 2001-08-07  Juergen Vigna  <jug@sad.it>
15161
15162         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15163
15164 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15165
15166         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15167         * lyxlex.[hC]: ditto
15168
15169 2001-08-06  Juergen Vigna  <jug@sad.it>
15170
15171         * text.C (getVisibleRow): fix up row clearing a bit.
15172
15173 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15174
15175         * minibuffer.C: make sure the X server sees the changes in the input.
15176
15177 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15178
15179         * paragraph.C (getFont): split into...
15180         (getLabelFont): this
15181         (getLayoutFont): and this
15182         * paragraph_pimpl.C (realizeFont): calling this
15183
15184         * text2.C (getFont): split into...
15185         (getLayoutFont): this
15186         (getLabelFont): and this
15187         (realizeFont): all three calling this
15188
15189         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15190         files where used.
15191
15192 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15193
15194         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15195
15196 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15197
15198         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15199         layouts from the Quote inset insertion.
15200
15201 2001-08-03  Juergen Vigna  <jug@sad.it>
15202
15203         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15204
15205         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15206         only if status not is already CHANGED_IN_DRAW (second level).
15207
15208         * text.C (draw): don't set the need_break_row when inside an
15209         InsetText LyXText.
15210
15211 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15212
15213         * buffer.C (parseSingleLyXformat2Token): handle more latex
15214         conversion cases.
15215
15216         * bufferview_funcs.[hC]: change function names to
15217         begin with small char, adjust other files.
15218
15219 2001-08-02  André Pönitz <poenitz@gmx.net>
15220
15221         * lyxfunc.C:
15222         BufferView_pimpl.C: remove broken special code for math-greek
15223
15224 2001-08-02  Juergen Vigna  <jug@sad.it>
15225
15226         * BufferView_pimpl.C (update): redone this function so that we
15227         update the text again if there was a CHANGE_IN_DRAW.
15228
15229         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15230         (drawFromTo): added a new internal bool which is used by draw() and
15231         redraw() function.
15232         (general): some cursor drawing problems fixed.
15233
15234 2001-08-01  Juergen Vigna  <jug@sad.it>
15235
15236         * lyxfind.C (LyXFind): fixed
15237         (SearchForward): ditto
15238         (SearchBackward): ditto
15239
15240         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15241         spurius drawing of the cursor in the main area.
15242
15243         * text2.C (status): small fix which could lead to a segfault!
15244         (clearSelection): remove unneeded BufferView param.
15245
15246 2001-08-01  André Pönitz <poenitz@gmx.net>
15247
15248         * lyxfunc.C: small change due to changed mathed interface
15249
15250 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15251
15252         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15253
15254 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15255
15256         * lyxfunc.c: fail gracefully if file doesn't exist
15257
15258         * LyXSendto.C:
15259         * buffer.C:
15260         * lyxfunc.C:
15261         * BufferView_pimpl.C: IsDirWriteable() proto changed
15262
15263         * LyXView.C: fix updateWindowTitle() to store the last title
15264
15265 2001-07-31  Juergen Vigna  <jug@sad.it>
15266
15267         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15268         the font (wrong since using of Paragraph::highestFontInRange).
15269
15270         * paragraph.C (highestFontInRange): added a default_size parameter.
15271
15272         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15273         (setHeightOfRow): reformat
15274
15275 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15276
15277         * converter.[hC] + affected files: move to (inital-char)lowercase
15278         function names.
15279
15280         * ParagraphParameters.C (ParagraphParameters): remove commented code
15281
15282         * PainterBase.[Ch]: remove commented code
15283
15284         * LaTeXFeatures.h: add "bool floats" for float.sty
15285
15286         * LaTeXFeatures.C (LaTeXFeatures): init floats
15287         (require): handle float
15288         (getPackages): do it with floats
15289
15290 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15291
15292         * BufferView_pimpl.C (Dispatch): improve handling of
15293         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15294
15295         * commandtags.h: #include lyxfont.h here temporarily to avoid
15296         keybinding bug.
15297
15298         * bufferlist.h: include LString.h here.
15299
15300 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15301
15302         * text2.C (getStringToIndex): new method.
15303
15304 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15305
15306         * *: Reduced header file dependencies all over.
15307
15308 2001-07-30  Baruch Even  <baruch@lyx.org>
15309
15310         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15311
15312 2001-07-29  Baruch Even  <baruch@lyx.org>
15313
15314         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15315
15316 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15317
15318         * ParameterStruct.h (endif): add a default constructor to make
15319         sure that all variables is initialized.
15320
15321         * ParagraphParameters.C (ParagraphParameters): adjust
15322
15323 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15324
15325         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15326         index; also, check that there is something to index, and that it
15327         does not span over several paragraphs.
15328         (doubleClick): use WHOLE_WORD_STRICT for double click.
15329
15330         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15331
15332         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15333         scheme.
15334
15335 2001-07-26  Baruch Even  <baruch@lyx.org>
15336
15337         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15338         an InsetFig figure, backwards compatible reading of old figure code.
15339
15340 2001-07-27  Juergen Vigna  <jug@sad.it>
15341
15342         * text2.C: font.realize function adaption.
15343
15344         * text.C (draw): add a warnings lyxerr text if needed.
15345
15346         * layout.C: font.realize function adaption.
15347
15348         * language.C: add inherit_language and implement it's handlings
15349
15350         * bufferview_funcs.C (StyleReset): remove language parameter from
15351         font creation (should be language_inherit now).
15352
15353         * bufferparams.C (writeFile): handle ignore_language.
15354
15355         * paragraph.C (getFontSettings): the language has to be resolved
15356         otherwise we have problems in LyXFont!
15357
15358         * lyxfont.C (lyxWriteChanges): added document_language parameter
15359         (update): removed unneeded language parameter
15360
15361         * paragraph.C (validate): fixed wrong output of color-package when
15362         using interface colors for certain fonts in certain environments,
15363         which should not seen as that on the final output.
15364
15365 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15366
15367         * BufferView_pimpl.C:
15368         * Thesaurus.h:
15369         * Thesaurus.C:
15370         * Makefile.am:
15371         * commandtags.h:
15372         * LyXAction.C: add thesaurus support
15373
15374         * lyxfind.h:
15375         * lyxfind.C: add "once" parameter, for thesaurus, to not
15376           move to the next match
15377
15378 2001-07-26  Juergen Vigna  <jug@sad.it>
15379
15380         * lyxfont.C (realize): honor ignore_language too!
15381         (resolved): ditto.
15382
15383         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15384
15385         * text.C (draw): one place more for ignore_language to not draw
15386         itself!
15387
15388 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15389
15390         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15391
15392 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15393
15394         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15395         the minipage conversion problem.
15396
15397 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15398
15399         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15400         insert an inset.
15401
15402 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15403
15404         * BufferView.h: don't forward declare WorkArea
15405
15406         * BufferView.C: don't include WorkArea.h
15407
15408 2001-07-25  André Pönitz <poenitz@gmx.net>
15409
15410         * commandtags.h:
15411         * LyXAction.C:
15412         * lyxfunc.C:  new LFUN 'math-space'
15413
15414         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15415
15416 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15417
15418         * text2.C (toggleInset): call open/close
15419
15420 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15421
15422         * lyxfunc.C (dispatch): add debug for the disabled case
15423
15424         * font.C (buttonText): make similar to rectText
15425
15426         * buffer.C (readInset): comment out parsing of insetlist and
15427         insttheorem
15428
15429         * PainterBase.C (rectText): small correction
15430
15431         * BufferView_pimpl.C: comment out insettheorem and insetlist
15432         * LyXAction.C: ditto
15433         * commandtags.h: ditto
15434
15435 2001-07-24  Juergen Vigna  <jug@sad.it>
15436
15437         * text.C (draw): honor the ignore_language.
15438
15439         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15440
15441 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15442
15443         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15444         char inset.
15445
15446 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15447
15448         * lyxtext.h: remove unused (and unimplemented) methods
15449
15450 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15451
15452         * text.C (getVisibleRow): honor background color
15453
15454         * PainterBase.h:
15455         * Painter.h: remove default color argument for fillRectangle
15456
15457         * text.C (backgroundColor): new method
15458
15459 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15460
15461         * text.C (getVisibleRow): adjust
15462
15463         * font.[Ch] (rectText): new method, metrics
15464         (buttonText): new method, metrics
15465
15466         * PainterBase.[hC]: make rectText and buttonText always draw and take
15467         fewer paramteres.
15468
15469 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15470
15471         * ToolbarDefaults.C (read):
15472         * MenuBackend.C (read): allow escaping in all strings
15473
15474         * BufferView_pimpl.C (insertAndEditInset): new method.
15475         (Dispatch): use insertAndEditInset whenever appropriate.
15476
15477         * BufferView_pimpl.C (insertNote): removed
15478
15479         * BufferView_pimpl.C (smartQuote): new method, moved from
15480         BufferView; if an insetquote cannot be inserted, insert a '"'
15481         character instead.
15482
15483         * BufferView2.C: remove insertCorrectQuote();
15484
15485         * lyxfunc.C (getStatus): Add support for all remaingin
15486         inset-insert lfuns.
15487
15488         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15489
15490         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15491         command (necessary to pass " as parameter of self-insert.
15492
15493         * text.C (selectWordWhenUnderCursor):
15494         (selectWord): add word_location parameter
15495         (selectWordWhenUnderCursor): same + remove special code for word
15496         boundary.
15497         (selectNextWord): use kind() to guess type of insetspecialchar,
15498         not latex().
15499
15500         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15501         (insertErtContents): create ert insets as collapsed.
15502         (readInset): better compatibility code for Info inset.
15503
15504 2001-07-20  Juergen Vigna  <jug@sad.it>
15505
15506         * lyxfunc.C (dispatch): use always LyXFind now!
15507
15508         * text2.C (init): add a reinit flag so that the LyXText can be
15509         reinited instead of deleted and reallocated (used in InsetText).
15510
15511         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15512
15513         * text.C: ditto
15514
15515         * text2.C: ditto
15516
15517 2001-07-18  Juergen Vigna  <jug@sad.it>
15518
15519         * text.C (selectNextWord): handle insets inside inset by calling
15520         always the bv->text functions so that we can go up the_locking_inset!
15521
15522         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15523         in strange locations when inside an inset!
15524
15525         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15526         handling to include insets.
15527
15528         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15529
15530 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15531
15532         * LyXAction.C (init):
15533         * commandtags.h:
15534         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15535         LIGATURE_BREAK, since the name is so stupid.
15536
15537 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15538
15539         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15540         InsetInfos.
15541
15542         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15543
15544         * sp_form.[Ch]: remove.
15545
15546         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15547
15548         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15549         InsetInfo.
15550
15551         * src/buffer.C (readInset): ditto.
15552
15553 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15554
15555         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15556         menuSeparator(), endOfSentenceDot(), ldots() and
15557         hyphenationPoint(), which are therefore removed.
15558         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15559
15560         * LyXAction.C (init):
15561         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15562
15563         * paragraph.C (getWord): removed.
15564
15565         * BufferView_pimpl.C (Dispatch): use last word or selection for
15566         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15567
15568         * lyx_main.C (queryUserLyXDir): do not ask before creating
15569         user_dir, except if it has been named explicitely.
15570
15571 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15572
15573         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15574         a document of zero size.
15575
15576 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15577
15578         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15579         approriately in the c-tor and in require().
15580         (getPackages): output the appropriate LaTeX for natbib support.
15581
15582         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15583         variables "use_natbib" and "use_numerical_citations" when reading the
15584         LyX file.
15585         (readInset): read the various natbib cite commands.
15586         (validate): white-space change.
15587
15588         * bufferparams.[Ch]: new variables "bool use_natbib" and
15589         "bool use_numerical_citations".
15590         (writeFile): output them in the LyX file.
15591
15592 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15593
15594         * lyxfunc.C (getStatus): add support for all the inset insertion
15595         commands.
15596
15597         * text2.C (insertInset):
15598         * paragraph.C (insetAllowed):
15599         * BufferView_pimpl.C (insertInset): update to take in account the
15600         renaming of insertInsetAllowed
15601
15602         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15603
15604         * text2.C (getInset): new method. returns inset at cursor position.
15605
15606         * BufferView_pimpl.C (Dispatch): changes because of this.
15607
15608         * LyXAction.C (init): rename open-stuff to inset-toggle.
15609
15610         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15611
15612         * text2.C (toggleInset): renamed from openStuff; use
15613         Inset::open().
15614
15615 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15616
15617         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15618
15619         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15620
15621 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15622
15623         * buffer.C (readLyXformat2): Add filename to the error dialog
15624
15625 2001-07-18  Juergen Vigna  <jug@sad.it>
15626
15627         * tabular.C (GetCellNumber): put an assert here instead of the check!
15628
15629 2001-07-17  Juergen Vigna  <jug@sad.it>
15630
15631         * BufferView_pimpl.C (toggleSelection): adapted too.
15632
15633         * text.C (selectNextWord): adapted for use with insets.
15634         (selectSelectedWord): ditto
15635
15636 2001-07-17  Juergen Vigna  <jug@sad.it>
15637
15638         * sp_spell.C (PSpell): fix initialitation order.
15639
15640 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15641
15642         * paragraph.C: spacing
15643
15644 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15645
15646         * sp_spell.C: repair language selection for pspell
15647
15648 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15649
15650         * lyxfunc.h: change more methods to begin with lower char.
15651
15652 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15653
15654         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15655         for unknown layouts.
15656
15657 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15658
15659         * buffer.C (readLyXformat2): Generate an error dialog if there are
15660         unknown layouts.
15661
15662 2001-07-16  Juergen Vigna  <jug@sad.it>
15663
15664         * sp_spell.C: always compile ISpell part.
15665
15666         * lyxrc.C: added use_pspell entry and it's handling.
15667
15668 2001-07-13  Juergen Vigna  <jug@sad.it>
15669
15670         * sp_spell.C: removed double includes.
15671
15672 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15673
15674         Consistent use of Lsstream.h:
15675         * Lsstream.h: added using std::stringstream for consistencies sake.
15676
15677         * buffer.C: removed using std::stringstream
15678
15679         * lyxfont.C (stateText):
15680         * paragraph.C (asString):
15681         * text.C (selectNextWord, selectSelectedWord):
15682         * text2.C (setCounter):
15683         * vspace.C (asString, asLatexString):
15684         std::ostringstream -> ostringstream.
15685
15686 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15687
15688         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15689         * commandtags.h: add LFUN_HELP_ABOUTLYX
15690         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15691
15692 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15693
15694         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15695         cursorToggle()
15696         * lyx_gui_misc.C: remove spellchecker
15697         * lyxfunc.C: showSpellchecker
15698         * sp_base.h: added
15699         * sp_ispell.h: added
15700         * sp_pspell.h: added
15701         * sp_spell.C: added
15702         * sp_form.[Ch]: removed
15703         * spellchecker.[Ch]: removed
15704
15705 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15706
15707         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15708         is set.
15709         (simpleTeXSpecialChars): Simply print the input character without
15710         any special translation if pass_thru is set.
15711
15712         * layout.h: Added bool pass_thru to layout class for being able to
15713         implement pass through of a paragraph for Literate Programming.
15714
15715         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15716         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15717         * layout.C (Read): add "passthru" to list of layout tags and add
15718         code to set the pass_thru boolean when it is read.
15719
15720 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15721
15722         * trans_decl.h: remove allowed from KmodInfo
15723
15724         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15725         remove allowed code
15726         (Load): adjust
15727
15728         * paragraph_pimpl.C (erase): use boost::prior
15729
15730         * Painter.C (text): use data() instead of c_str() when length is
15731         also provided.
15732         * WorkArea.C (putClipboard): ditto
15733         * font.h (width): ditto
15734
15735         * BufferView2.C: use it-> instead of (*it). for iterators
15736         * texrow.C: ditto
15737         * paragraph_pimpl.C: ditto
15738         * paragraph.C: ditto
15739         * minibuffer.C: ditto
15740         * language.C: ditto
15741         * kbmap.C: ditto
15742         * encoding.C: ditto
15743         * counters.C: ditto
15744         * converter.C: ditto
15745         * chset.C: ditto
15746         * Variables.C: ditto
15747         * TextCache.C: ditto
15748         * MenuBackend.C: ditto
15749         * LyXAction.C: ditto
15750         * LColor.C: ditto
15751         * FloatList.C: ditto
15752         * DepTable.C: ditto
15753         * ColorHandler.C (LyXColorHandler): ditto
15754
15755 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15756
15757         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15758
15759         * text2.C (openStuff): reintroduce this method (which had been
15760         nuked in NEW_INSETS frenzy).
15761
15762         * lyxfunc.C (Dispatch): when an action has not been handled, use
15763         its name in the error message, not its number.
15764
15765         * paragraph.C (inInset): change method name to begin with lowercase.
15766
15767         * undo_funcs.C:
15768         * text2.C: updates because of this.
15769
15770 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15771
15772         * ToolbarDefaults.C (add): add spaces in error message
15773
15774 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15775
15776         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15777         (readLyXformat2): rename return_par to first_par, use lyxlex's
15778         pushToken and remove the manual push handling.
15779         (parseSingleLyXformat2Token): add another ert comp. variable:
15780         in_tabular, rename return_par to first_par. handle newlines better
15781
15782 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15783
15784         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15785
15786 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15787
15788         * text2.C (getParFromID): removed
15789
15790         * buffer.C (getParFromID): new method moved form lyxtext.
15791         * BufferView2.C (insertErrors): adjust
15792         (setCursorFromRow): adjust
15793         * BufferView_pimpl.C (restorePosition): adjust
15794         * lyxfunc.C (Dispatch): adjust
15795         * undo_funcs.C (textUndo): adjust
15796         (textRedo): adjust
15797         (textHandleUndo): adjust
15798         (textHandleUndo): adjust
15799
15800 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15801
15802         * buffer.C: up' the LYX_FORMAT
15803
15804         * lyxfont.h: turn NO_LATEX on as default
15805
15806         * buffer.C (insertErtContents): new methods of tex style compability.
15807         (parseSingleLyXformat2Token): use it several places.
15808         * tabular.C (OldFormatRead): and here
15809
15810 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15811
15812         * text2.C: remove some commented code.
15813         reindent file.
15814
15815         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15816         * trans.C: changes because of the above.
15817
15818 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15819
15820         * text2.C (setCounter): Fix counters bug with bibliography layout.
15821
15822 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15823
15824         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15825         own member functions
15826         (simpleTeXSpecialChars): ditto
15827
15828 2001-07-06  Juergen Vigna  <jug@sad.it>
15829
15830         * a lot of files: changed the access to LyXText::status and the
15831         call of undo-functions.
15832
15833         * undo.[Ch]: added a inset_id to the undo informations.
15834
15835         * undo_funcs.[Ch]: added and moved here all undo functions.
15836
15837         * lyxtext.h: give the status enum a weight, made status_ a private
15838         variable and made accessor functions for it, removed the whole bunch
15839         of undo-functions as they are now in their own file, make some
15840         functions publically available. Added function ownerParagraph with
15841         int parameter.
15842
15843         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15844         made InInset() a const function, added getParFromID() function.
15845
15846         * buffer.[Ch]: added const version for inset_iterator functions,
15847         added getInsetFromID() function.
15848
15849         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15850         changed undo functions for new version.
15851
15852 2001-07-05  Juergen Vigna  <jug@sad.it>
15853
15854         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15855         unknow mechanism does not call the proper constructor but only this
15856         one also if I request the other!?
15857
15858 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15859
15860         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15861
15862         * text2.C (LyXText): use initialization lists.
15863
15864         * lyxtext.h (Selection): initialize set_ and mark_
15865         (init): remove method
15866
15867 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15868
15869         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15870
15871 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15872
15873         * screen.[Ch]: change method names to begin with lowercase
15874
15875         * BufferView_pimpl.C (updateScrollbar): simplify further and
15876         hopefully make it a bit faster.
15877
15878 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15879
15880         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15881         calling directly xforms functions.
15882
15883         * Painter.C (Painter):
15884         * lyx_cb.C (MenuWrite):
15885         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15886         fl_display.
15887
15888         * lyx_gui.C: remove bogus guiruntime extern declaration.
15889
15890 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15891
15892         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15893         in NEW_INSETS
15894         (redoDrawingOfParagraph): ditto
15895         (redoParagraphs): ditto
15896         (cutSelection): don't create a object for CutAndPaste use the
15897         static method directly
15898         (pasteSelection): ditto
15899
15900         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15901         LyXview (+ rename)
15902
15903 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15904
15905         * modifications to some other files because of this.
15906
15907         * Makefile.am (lyx_SOURCES): add XFormsView
15908
15909         * XFormsView.[Ch]: new files
15910
15911         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15912         the main window. Move the gui dependent stuff to XFormsView
15913
15914 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15915
15916         * tabular.C (GetCellInset): update cur_cell also in the row/col
15917         version of this function.
15918
15919         * lyxfunc.C: no need to include figure_form.h here.
15920
15921         * FontLoader.h:
15922         * lyxfunc.h:
15923         * lyxscreen.h:
15924         * text2.C:
15925         * lyxvc.C: no need to include forms.h here.
15926
15927 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15928
15929         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15930
15931         * lyxfunc.C (Dispatch):
15932         * Spacing.C (set):
15933         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15934         constructor argument.
15935
15936 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15937
15938         * paragraph.C (Paragraph): dont't clear, and just set layout.
15939         (makeSameLayout): use params's copy contructor.
15940
15941         * ParagraphParameters.[Ch] (makeSame): delete method
15942
15943 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15944
15945         * Variables.[Ch]: fix indentation, rename set to isSet
15946
15947 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15948
15949         * lyxfunc.C (Dispatch): fix typo
15950
15951 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15952
15953         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15954         upper_bound.
15955
15956         * bufferlist.C: include assert.h for emergencyWrite().
15957
15958 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15959
15960         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15961           give up at last (bug #425202) !
15962
15963 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15964
15965         * lyx_gui_misc.C:
15966         * sp_form.h:
15967         * sp_form.C:
15968         * spellchecker.h:
15969         * spellchecker.C: strip spellchecker options and bring up
15970           preferences tab instead
15971
15972 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15973
15974         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15975         the istringstream constructor
15976
15977 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15978
15979         * paragraph.C (getLayout): fix return value
15980
15981         * paragraph.h: do not declare getLayout as inline.
15982
15983         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15984
15985 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15986
15987         * lyxcursor.h (operator<): new func
15988         (operator>): new func
15989         (operator>=): new func
15990         (operator<=): new func
15991
15992         * text.C (changeCase): use selection.start and selection.end
15993         (changeRegionCase): require from to be <= to. Require par to be a
15994         valid paragraph.
15995
15996         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15997
15998 2001-06-27  Juergen Vigna  <jug@sad.it>
15999
16000         * text.C (cursorLeftOneWord): changed to return the cursor and added
16001         overlay with BufferView * parameter which calls this one.
16002         (getWord): added
16003         (selectWord): use new getWord function.
16004         (changeCase): renamed from changeWordCase as and extended to work
16005         also on selections.
16006
16007         * lyxtext.h: added enum word_location
16008
16009         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16010         changeCase as this operates now also on selections.
16011
16012 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16013
16014         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16015
16016         * many files: send debug output to Debug::INFO instead of
16017         Debug::ANY.
16018
16019         * converter.C (View):
16020         (Convert):
16021         (Move): send debug output to Debug::FILES instead of console.
16022
16023 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16024
16025         * lyxfunc.C (getStatus): use func_status
16026
16027         * func_status.h: new header, describing the results of
16028         LyXFunc::getStatus;
16029
16030         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16031         LFUN_MATH_HALIGN.
16032
16033 2001-06-25  The LyX Project  <jug@sad.it>
16034
16035         * buffer.C (sgmlOpenTag):
16036         (sgmlCloseTag):
16037         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16038
16039 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16040
16041         * text2.C: remove some dead code
16042
16043         * tabular.C (GetCellInset): store the last cell checked (gotten)
16044
16045         * tabular.h: add the helper for the speedup
16046
16047         * lyxtext.h: remove some dead code
16048
16049 2001-06-26  The LyX Project  <Asger>
16050
16051         * paragraph.C: Change export to LaTeX of alignment to
16052         \begin{center} and family for better roundtrip work with reLyX.
16053
16054         * Tune the math drawing a bit.
16055
16056 2001-06-25  The LyX Project  <Asger>
16057
16058         * LColor.C (LColor): New color for math background. New color
16059         for buttons.
16060
16061 2001-06-25  The LyX Project  <jug@sad.it>
16062
16063         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16064
16065         * lyxfunc.C (Open):
16066         * bufferlist.C (newFile): do not restrict to files ending with
16067         .lyx
16068
16069         * BufferView_pimpl.C (MenuInsertLyXFile):
16070
16071 2001-06-24  The LyX Project  <jug@sad.it>
16072
16073         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16074         of compare_no_case
16075
16076 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16077
16078         * lyxtext.h: rename most methods to begin with a small char.
16079         Lots of changes because of this.
16080
16081         * paragraph.C (Paragraph): do not call fitToSize
16082         (erase): call Pimpl::erase
16083         (insertChar): call Pimpl::insertChar
16084         (insertInset): call Pipl::insertInset
16085         (breakParagraph): do not call fitToSize
16086         (breakParagraphConservative): do not call fitToSize
16087         (fitToSize): remove method
16088
16089         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16090
16091 2001-06-24  The LyX Project  <Asger>
16092
16093         * Fix Qt compilation^2
16094
16095 2001-06-24  The LyX Project  <jug@sad.it>
16096
16097         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16098         depthHook(getDepth()-1).
16099
16100         * paragraph.h:
16101         * ParagraphParameters.h:
16102         * ParameterStruct.h: change type of depth to unsigned int ==
16103         depth_type. Many adaptations to other files before of that.
16104
16105 2001-06-24  The LyX Project  <Asger>
16106
16107         * Fix Qt compilation.
16108
16109 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16110
16111         * paragraph.h: renamed several methods to begin with small letter.
16112         several changes to many parts of the code because of this.
16113
16114 2001-06-23  The LyX Project  <jug@sad.it>
16115
16116         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16117         rewritten to discard all double spaces when KeepEmpty is off
16118         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16119         to only handle newlines but not fiddle with spaces and friends.
16120
16121         * lyxfunc.C (MenuNew): when doing 'new from template', use
16122         template_path as default directory
16123
16124 2001-06-23  The LyX Project  <Asger>
16125
16126         * Clean-up of header file includes all over
16127         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16128
16129 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16130
16131         * paragraph.h: renamed from lyxparagraph.h
16132
16133 2001-06-23  Asger  <lyx@violet.home.sad.it>
16134
16135         * Buffer.h: Removed Buffer::resize
16136         * BufferList.h: Removed BufferList::resize
16137         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16138         the document lazily when we change the width, or the font settings.
16139
16140 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16141
16142         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16143
16144 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16145
16146         * buffer.h: remove out of date comment
16147
16148 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16149
16150         * lyxscreen.h:
16151         * screen.C: fix "theoretical" GC leak
16152
16153 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16154
16155         * LaTeX.C (scanAuxFile):
16156         (deplog): remove trailing \r when reading stream (useful under
16157         win32)
16158
16159 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16160
16161         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16162         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16163         and BufferView::theLockingInset(Inset*), so should use them and not
16164         access bv_->text->the_locking_inset directly.
16165
16166         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16167
16168 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16169
16170         * Makefile.am:
16171         * tex-defs.h: remove old unused file
16172
16173 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16174
16175         * BufferView_pimpl.C: fix typo, remove minibuffer message
16176           when buffer has loaded
16177
16178 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16179
16180         * lyxfunc.C (Dispatch): use stringstream
16181         (MenuNew): use stringstream
16182         (Open): use stringstream
16183
16184         * importer.C (Import): use stringstream
16185
16186         * bufferview_funcs.C (CurrentState): use stringstream
16187
16188         * LaTeX.C (run): use stringstream
16189
16190         * BufferView_pimpl.C (savePosition): use stringstream
16191         (restorePosition): use stringstream
16192         (MenuInsertLyXFile): use stringstream
16193
16194 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16195
16196         * BufferView.C:
16197         * Bullet.C:
16198         * ColorHandler.C:
16199         * FontInfo.C:
16200         * FontLoader.C:
16201         * LColor.C:
16202         * LaTeXFeatures.C:
16203         * Painter.C:
16204         * gettext.C:
16205         * lyx_gui_misc.C:
16206         * lyxserver.C:
16207         * vspace.C: removed // -*- C++ -*- as first line.
16208
16209         * lyxfind.h:
16210         * version.h: added // -*- C++ -*- as first line.
16211
16212 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16213
16214         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16215
16216         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16217         of string
16218
16219 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16220
16221         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16222         of floats.
16223
16224 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16225
16226         * gettext.C: include LString.h even when --disable-nls is on.
16227
16228 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16229
16230         * converter.h (Get): changed argument type from int to
16231         FormatList::size_type to avoid unnecessary conversion.
16232
16233         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16234         before using it.
16235
16236 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16237
16238         * gettext.h: include LString.h even when --disable-nls is on.
16239
16240 2001-06-07  Juergen Vigna  <jug@sad.it>
16241
16242         * text.C (BreakAgain): subst spaces with tabs.
16243
16244         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16245         (resizeInsetsLyXText): set force on resizeLyXText.
16246
16247 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16248
16249         * gettext.h (gettext_init):
16250         (locale_init): use a real definition instead of a macro
16251
16252 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16253
16254         * Bufferview_pimpl.C:
16255         * LColor.h:
16256         * LColor.C: further lcolor tidies
16257
16258 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16259
16260         * BufferView_pimpl.C (updateScrollbar): simplify.
16261
16262         * BufferView2.C: don't include insets/insetinfo.h, change
16263         prototype for insertInset and call the Pimpl version. let
16264         updateInset call Pimpl version.
16265
16266         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16267         gotoInset to BufferView::Pimpl
16268
16269 2001-06-01  Juergen Vigna  <jug@sad.it>
16270
16271         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16272         inside a LockingInset (is the update needed at all?).
16273
16274 2001-05-31  Juergen Vigna  <jug@sad.it>
16275
16276         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16277         here not the old one otherwise how should we compare it afterwards
16278         if it's the same!
16279
16280 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16281
16282         * lyxfont.C:
16283         * tabular.C:
16284         * tabular-old.C:
16285         * FontInfo.C: bring C functions into global namespace when
16286         necessary
16287
16288 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16289
16290         * LString.h: make sure config.h has been loaded before LString.h.
16291
16292         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16293         (one for each char read by EatLine!).
16294
16295         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16296         variables.
16297
16298 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16299
16300         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16301         to the same as the par we break from
16302
16303 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16304
16305         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16306
16307         * MenuBackend.C (expand): also create menu entries for wide
16308         versions of the floats.
16309
16310         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16311
16312         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16313
16314         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16315         frontends/Makefile.am
16316
16317         * text2.C: adjust
16318         * text.C: adjust
16319
16320
16321         * tabular.C (getTokenValue): add std::
16322
16323         * tabular-old.C (getTokenValue): add std::
16324         (getTokenValue): ditto
16325         (getTokenValue): ditto
16326
16327         * screen.C (ToggleSelection): adjust
16328
16329         * lyxtext.h: put selection cursors inside a Selection struct.
16330
16331         * lyxfunc.C (moveCursorUpdate): adjust
16332
16333         * lyxfont.C (latexWriteStartChanges): add std::
16334
16335         * lyxfind.C: adjust
16336
16337         * font.h: delete with(char const *, LyXFont const &)
16338
16339         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16340
16341         * FontInfo.C (getFontname): add std::
16342
16343         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16344         (workAreaButtonPress): adjust
16345         (tripleClick): adjust
16346         (update): adjust
16347         (moveCursorUpdate): adjust
16348         (Dispatch): adjust
16349
16350         * BufferView2.C (gotoInset): adjust
16351
16352 2001-05-30  Juergen Vigna  <jug@sad.it>
16353
16354         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16355         to check pspell I add this as default as I now have new pspell
16356         libraries and they seem to use this.
16357
16358 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16359
16360         * text2.C (CutSelection): make the cursor valid before the call to
16361         ClearSelection.
16362
16363 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16364
16365         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16366         relied on 0 terminated strings and other horrors. Bug found due to
16367         the new assert in lyxstring!
16368
16369         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16370         KP_ keys.
16371
16372 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16373
16374         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16375         to latinkeys.bind.
16376
16377         * lyxfunc.C (processKeySym): change method of getting to the
16378         self-insert char.
16379
16380         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16381         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16382         * BufferView_pimpl.[Ch]: here as private methods.
16383
16384 2001-05-28  Juergen Vigna  <jug@sad.it>
16385
16386         * text.C (SetHeightOfRow): added the update() call again as it is
16387         needed to initialize inset dimensions!
16388
16389 2001-05-16  Juergen Vigna  <jug@sad.it>
16390
16391         * text2.C (SetCharFont): Add new function with BufferView * and
16392         bool toggleall parameters for setting insets internal fonts.
16393         (SetFont): Freeze the undo as we may change fonts in Insets and
16394         all this change should be inside only one Undo!
16395
16396         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16397         setting font's in insets as for them we have the SetFont function!
16398
16399 2001-05-15  Juergen Vigna  <jug@sad.it>
16400
16401         * text2.C (ClearSelection): to be sure we REALLY don't have any
16402         selection anymore!
16403
16404         * tabular.C (TeXCellPreamble): fixed the left border problem for
16405         multicolumn cells.
16406
16407 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16408
16409         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16410         dependancy file
16411
16412 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16413
16414         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16415         LFUN_BREAKPARAGRAPH.
16416
16417         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16418         help test to "internal only", similar for LFUN_INSERT_URL
16419
16420         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16421         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16422         auto_region_delete and deadkeys.
16423
16424 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16425
16426         * LColor.h:
16427         * LColor.C: remove some dead entries, tidy a little
16428
16429 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16430
16431         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16432         commented code.
16433         (Dispatch): implement LFUN_ESCAPE
16434
16435         * commandtags.h: add LFUN_ESCAPE
16436
16437         * LyXAction.C (init): add entry for LFUN_ESCAPE
16438
16439         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16440         Remove commented code.
16441         (insertNote): moved here
16442         (open_new_inset): moved here
16443
16444         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16445         BufferView_pimpl
16446
16447 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16448
16449         * kbmap.C (findbinding): clean it up and make it work correctly.
16450
16451         * lyx_main.C (init): do not pass argc and argv as parameters
16452
16453 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16454
16455         * buffer.C: fix path for OS/2 & Win32
16456
16457         * lyx_gui.C:
16458         * lyx_main:
16459         * lyx_main.C: Added os:: class.
16460
16461         * os2_defines.h: update
16462
16463 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16464
16465         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16466         better by trying again with reduced state.
16467
16468 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16469
16470         * lyxrc.C (read): print error about invalid key sequence only when
16471         debugging (because not all latinX keysyms are known to some X
16472         servers)
16473
16474         * kbsequence.C (getiso): add a few std:: qualifiers
16475         (getiso): comment out extra return statement.
16476
16477 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16478
16479         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16480         handling.
16481         (Dispatch): enhance the accent inset a bit. (not perfect)
16482
16483 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16484
16485         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16486
16487 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16488
16489         * bufferlist.C (emergencyWrite): fix assert() call
16490
16491 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16492
16493         * text.C (InsertChar): Added trivial patch to only send the "you
16494         can not do multiple spaces this way" message once during a
16495         session.
16496
16497 2001-05-08  Baruch Even  <baruch@lyx.org>
16498
16499         * Makefile.am: Changed order of libraries to get LyX to link properly
16500         with the gnome frontend.
16501
16502 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16503
16504         * LaTeXFeatures.h: add a std:: qualifier
16505
16506 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16507
16508         * paragraph.C (String): use stringstream
16509
16510 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16511
16512         * paragraph.C (writeFile): remove footflag arg
16513
16514         * buffer.C (makeLaTeXFile): use stringstream
16515         (latexParagraphs): remove footnot gurba
16516
16517         * LaTeXFeatures.C (getPackages): use stringstream
16518         (getMacros): likewise
16519         (getTClassPreamble): likewise
16520         (getFloatDefinitions): new method
16521
16522         * paragraph.C (writeFile): reindent
16523         (Erase): reindent
16524
16525         * WorkArea.h: revert the xpos + etc changes.
16526
16527         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16528
16529         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16530
16531         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16532         (pasteSelection): likewise
16533         * text2.C (CreateUndo): likewise
16534
16535 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16536
16537         * minibuffer.C (peek_event): temporarily reduce the functionality
16538         of the minibuffer (to allow args on lfuns)
16539
16540         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16541         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16542
16543         * buffer.C (readInset): add compability reading of old float
16544         lists, add reading of new style float list.
16545         (readInset): avoid reevaluation of inscmd.getCmdName()
16546         (getLists): reindent
16547
16548         * MenuBackend.C (MenuItem): implement parsing of
16549         md_floatlistinsert and md_floatinsert.
16550         (expand::LastFiles): move initalizaton of iterators out of loop,
16551         avoid reevaluation.
16552         (expand::Documents): introduce typdedef vector<string> Strings,
16553         and use it.
16554         (expand::ExportFormats): introduce typedef vector<Format const *>
16555         Formats, and use it.
16556         (expand): implement FloatListInsert and FloatInsert.
16557
16558         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16559         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16560         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16561
16562         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16563         handling.
16564         (Dispatch::LFUN_FLOAT_LIST): implement
16565
16566 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16567
16568         * LaTeX.C (run): Fix problem with --export code.
16569
16570 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16571
16572         * BufferView.[Ch] (workarea): removed.
16573         (getClipboard) new method; wrapper for workarea()->getClipboard()
16574
16575         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16576         bug.
16577
16578         * WorkArea.h (width, height, xpos, ypos): These methods all
16579         returned the dimensions of the work_area sub-area of WorkArea,
16580         resulting in a position error if the WorkArea were resized. Now
16581         return the dimensions of the entire WorkArea.
16582
16583         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16584
16585 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16586
16587         * LaTeX.C (deplog): correct the syntax of regex reg1
16588
16589 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16590
16591         * undo.C: remove !NEW_INSETS cruft
16592
16593 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16594
16595         * text2.C: remove !NEW_INSETS cruft
16596
16597         * text.C: remove !NEW_INSETS cruft
16598
16599         * tabular.C: remove !NEW_INSETS cruft
16600
16601         * spellchecker.C: remove !NEW_INSETS cruft
16602
16603         * lyxtext.h: remove !NEW_INSETS cruft
16604
16605         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16606
16607         * lyxfunc.C: remove !NEW_INSETS cruft
16608
16609         * lyxfind.C: remove !NEW_INSETS cruft
16610
16611         * lyx_cb.C: remove !NEW_INSETS cruft
16612
16613         * figureForm.C: remove  !NEW_INSETS cruft
16614
16615         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16616
16617         * buffer.[Ch]: remove !NEW_INSETS cruft
16618
16619         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16620
16621         * CutAndPaste.C: remove !NEW_INSETS cruft
16622
16623         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16624
16625         * BufferView2.C: remove !NEW_INSETS cruft
16626
16627         * BufferView.h: remove !NEW_INSETS cruft
16628
16629 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16630
16631         * Lsstream.h: include LString.h before the sstream headers to
16632         fix problem with gcc 2.95.3 and lyxstring
16633
16634 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16635
16636         * lyx_main.C: add using directives when needed for C functions
16637         declared in std:: namespace.
16638
16639 2001-04-27  Juergen Vigna  <jug@sad.it>
16640
16641         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16642         (SetHeightOfRow): comment out the update call should not be needed!
16643
16644 2001-04-13  Juergen Vigna  <jug@sad.it>
16645
16646         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16647         (LyXTabular): tried to minimize operator= operations (and realized
16648         hopfully Lars wish).
16649
16650 2001-04-27  Juergen Vigna  <jug@sad.it>
16651
16652         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16653
16654 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16655
16656         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16657
16658         * buffer.C (readInset): hack to make listof algorithm work
16659
16660         * BufferView_pimpl.C: hack to make listof algorithm work
16661
16662 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16663
16664         * LyXAction.C: removed all !NEW_INSETS cruft
16665         (init): moved lfun_item in method
16666
16667         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16668
16669 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16670
16671         * BufferView2.C (theLockingInset): white space.
16672
16673 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16674
16675         * minibuffer.C: include <iostream>
16676
16677         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16678
16679         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16680
16681         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16682
16683         * text.[Ch] (TransposeChars): new method
16684
16685 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16686
16687         * call message directly through LyXView instead of through LyXFunc
16688         * BufferView2.C: adjust
16689         * BufferView_pimpl.C: adjust
16690         * FontLoader.C: adjust
16691         * buffer.C: adjust
16692         * bufferview_funcs.C: adjust
16693         * converter.C: adjust
16694         * figureForm.C: adjust
16695         * importer.C: adjust
16696         * lyx_cb.C: adjust
16697         * lyx_gui_misc.C: adjust
16698         * lyxfunc.C: adjust
16699         * lyxvc.C: adjust
16700         * text2.C: adjust
16701         + more files in subdirs
16702
16703         * lyxparagraph.h (size): move up int file
16704         (GetLayout): ditto
16705
16706         * adjust all uses of Assert to lyx::Assert.
16707
16708         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16709         lyxfunctional in namespace lyx
16710         * layout.C (hasLayout): ditto
16711         (GetLayout): ditto
16712         (GetLayout): ditto
16713         (delete_layout): ditto
16714         (NumberOfClass): ditto
16715         * converter.C (GetFormat): ditto
16716         (GetNumber): ditto
16717         (Add): ditto
16718         (Delete): ditto
16719         (SetViewer): ditto
16720         * bufferlist.C (getFileNames): ditto
16721         (emergencyWriteAll): ditto
16722         (exists): ditto
16723         (getBuffer): ditto
16724         * MenuBackend.C (hasSubmenu): ditto
16725         (hasMenu): ditto
16726         (getMenu): ditto
16727         * BufferView_pimpl.C (getInsetByCode): ditto
16728
16729 2001-04-18  Juergen Vigna  <jug@sad.it>
16730
16731         * vspace.C (asLatexString): fixed the 100% problem.
16732
16733 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16734
16735         * lyxfunc.C (Dispatch):
16736         * minibuffer.C:
16737         * minibuffer.h: add a few std:: qualifiers
16738
16739 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16740
16741         * minibuffer.[Ch]: reimplement so that commands is initiated and
16742         run from lyxfunc, simplified som handling, and made the completion
16743         and history code for complete. wip.
16744
16745         * lyxfunc.C (processKeySym): call message
16746         (miniDispatch): new temporary method
16747         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16748         (LFUN_MESSAGE): implement
16749         (LFUN_MESSAGE_PUSH): implement
16750         (LFUN_MESSAGE_POP): implement
16751         (initMiniBuffer): the initial/defualt minibuffer message.
16752
16753         * lyxfont.[Ch]: inline some more getters
16754
16755         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16756
16757         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16758
16759         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16760         (AutoSave): use LFUN_MESSAGE
16761         (Reconfigure): ditto
16762
16763         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16764
16765         * figureForm.C: use LFUN_MESSAGE
16766
16767         * converter.C (runLaTeX): use LFUN_MESSAGE
16768
16769         * bufferview_funcs.C: use LFUN_MESSAGE
16770         (Melt): ditto
16771         (changeDepth): ditto
16772
16773         * bufferparams.h: use boost::
16774
16775         * bufferlist.h: inherit privately from noncopyable
16776
16777         * bufferlist.C (loadLyXFile): remove some commented code.
16778
16779         * buffer.C (runChktex): use LFUN_MESSAGE
16780
16781         * ShareContainer.h: inherit privately from noncopyable
16782
16783         * ParagraphParameters.[hC] (depth): inline it.
16784
16785         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16786         methods.
16787         (message): new method
16788         (messagePush): ditto
16789         (messagePop): ditto
16790         (show): init minibuffer
16791         (showState): direct call
16792
16793         * LaTeX.[Ch]: inherit privately from noncopyable
16794         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16795         instead of WriteStatus.
16796
16797         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16798
16799         * BufferView_pimpl.C (buffer): don't init minibuffer
16800         (workAreaButtonPress): use LFUN_MESSAGE
16801         (workAreaButtonRelease): ditto
16802         (savePosition): ditto
16803         (restorePosition): ditto
16804         (MenuInsertLyXFile): ditto
16805         (workAreaExpose): don't init minibuffer
16806         (update): remove commented code, simplify
16807
16808         * BufferView2.C (openStuff): use LFUN_MESSAGE
16809         (toggleFloat): ditto
16810         (menuUndo): ditto
16811         (menuRedo): ditto
16812         (copyEnvironment): ditto
16813         (pasteEnvironment): ditto
16814         (copy): ditto
16815         (cut): ditto
16816         (paste): ditto
16817         (gotoInset): ditto
16818         (updateInset): remove some commented code
16819
16820         * lastfiles.h: inherit privately from noncopyable
16821         * layout.h: ditto
16822         * lyx_gui.h: ditto
16823         * lyx_main.h: ditto
16824         * lyxlex.h: ditto
16825         * lyxlex_pimpl.h: ditto
16826
16827         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16828         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16829         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16830
16831         * LyXAction.h: inherit privately from noncopyable, add methods
16832         func_begin, func_end, returning iterators to the func map.
16833
16834         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16835         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16836         (func_begin): new method
16837         (func_end): new method
16838
16839         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16840         and not)
16841         (copySelection): ditto
16842         (pasteSelection): ditto
16843
16844         * BufferView.C: whitespace change
16845         * BufferView.h: inherit privately from noncopyable
16846
16847 2001-04-16  Allan Rae  <rae@lyx.org>
16848
16849         * tabular-old.C (l_getline):
16850         * spellchecker.C (sc_check_word):
16851         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16852         an unrecognised preprocessor directive.  So ensure they're wrapped.
16853
16854 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16855
16856         * src/exporter.C (Export): Give an error message when path to file
16857         contains spaces.
16858
16859 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16860
16861         * LaTeX.C (deplog): Always check that foundfile exists.
16862
16863 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16864
16865         * lyx_main.h:
16866         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16867
16868 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16869
16870         * tabular.[Ch] (getLabelList): implement new method
16871
16872         * minibuffer.h: comment ouf setTiimer
16873
16874         * minibuffer.C (ExecutingCB): constify res
16875         (peek_event): constify s
16876         (Set): constify ntext
16877         (Init): constify nicename
16878
16879         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16880
16881         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16882         (savePosition): use two params to Minibuffer::Set
16883         (restorePosition): ditto
16884
16885 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16886
16887         * lyx_main.C: include language.h
16888
16889         * Makefile.am (lyx_main.o): add language.h
16890
16891 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16892
16893         * exporter.C:
16894         * paragraph.C:
16895         * screen.C:
16896         * tabular.C:
16897         * CutAndPaste.C: include gettext.h
16898
16899         * lyxfont.h: remove old hack with ON and OFF.
16900
16901         * lyxparagraph.h:
16902         * lyxfont.h: do not include language.h...
16903
16904         * BufferView2.C:
16905         * LaTeXFeatures.C:
16906         * Painter.C:
16907         * bufferview_funcs.C:
16908         * font.C:
16909         * lyxfont.C:
16910         * text.C:
16911         * text2.C:
16912         * trans_mgr.C:
16913         * paragraph.C: ... but do it here instead
16914
16915 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16916
16917         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16918
16919         * tabular.C: small reformat
16920
16921         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16922         NEW_INSETS version
16923         (GetChar): ditto
16924         (BreakParagraph): ditto
16925         (SetOnlyLayout): ditto
16926         (SetLayout): ditto
16927
16928         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16929         with one arg less.
16930
16931         * lastfiles.C: removed most using decl, add std:: where needed
16932
16933         * buffer.C: ws changes
16934
16935         * MenuBackend.C (class compare_format): put into anon namespace
16936         (expand): constify label, names, action, action2
16937         (expand):
16938
16939         * text.C (SingleWidth): constify font
16940         (IsBoundary): constify rtl2
16941         (GetVisibleRow): constify ww
16942
16943         * LaTeX.C (deplog): constify logfile
16944
16945         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16946         start_x, end_x
16947         (workAreaExpose): constify widthChange, heightChange
16948
16949         * lyxrow.C (par): moved
16950         (height): moved
16951         (next): moved
16952         * lyxrow.h: as inlines here
16953
16954         * lyxfont.h (shape): moved from lyxfont.C
16955         (emph): moved from lyxfont.C
16956
16957         * lyxfont.C (LyXFont): use initialization list for all
16958         constructors
16959         (shape): move to lyxfont.h as inline
16960         (emph): move to lyxfont.h as inline
16961
16962
16963 2001-04-04  Juergen Vigna  <jug@sad.it>
16964
16965         * vspace.C: had to include stdio.h for use of sscanf
16966
16967 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16968
16969         * BufferView.h:
16970         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16971         independent of xforms.
16972
16973 2001-04-02  Juergen Vigna  <jug@sad.it>
16974
16975         * spellchecker.C: fixed namespace placing!
16976
16977 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16978
16979         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16980         the LyXParagraph * is 0.
16981
16982 2001-03-29  Juergen Vigna  <jug@sad.it>
16983
16984         * vspace.C: added support for %, c%, p%, l%.
16985         (stringFromUnit): added helper function.
16986         (asLatexString): changed to give right results for the %-values.
16987
16988         * buffer.C: convert the widthp in a width%.
16989
16990 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16991
16992         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16993         figureForm.[Ch].
16994
16995         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16996         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16997
16998         * lyx_cb.[Ch]: see above.
16999
17000         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17001         form1.[Ch].
17002
17003         * form1.[Ch]:
17004         * lyx.[Ch]: replaced by figure_form.[Ch].
17005
17006         * lyx_gui.C:
17007         * lyx_gui_misc.C:
17008         * lyxfunc.C: changed headers associated with above changes.
17009
17010 2001-03-27  Juergen Vigna  <jug@sad.it>
17011
17012         * BufferView_pimpl.C: set the temporary cursor right!
17013
17014 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17015
17016         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17017
17018 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17019
17020         * LString.h: removed "using std::getline"!
17021
17022         * BufferView_pimpl.C (Dispatch): changes due to changes in
17023         InsetInclude::Params.
17024
17025         * buffer.C (tag_name): removed redundant break statements as they were
17026         producing lots of warnings with my compiler.
17027
17028 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17029
17030         * LString.h: add "using std::getline" when using the real <string>.
17031
17032 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17033
17034         * buffer.C: removed bitset usage.
17035         PAR_TAG moved to an anonymous name space.
17036         (tag_name): new funtion, also in the anonymous namespace.
17037         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17038         (makeDocBookFile): clean code. Completed transition from string arrays
17039         to string vectors.
17040         (SimpleDocBookOnePar): code clean.
17041
17042 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17043
17044         * tabular.C: add some comments.
17045
17046 2001-03-22  Juergen Vigna  <jug@sad.it>
17047
17048         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17049         compatibility read a bit and fixed bug with minipage in different
17050         depth.
17051
17052 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17053
17054         * buffer.C (pop_tag): removed.
17055         (push_tag): removed.
17056         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17057         array replaced with vector. Added support for CDATA sections.
17058         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17059         at any nest level.
17060         (makeDocBookFile): XML conformant declaration of CDATA section,
17061         fixed bug related to <emphasis> in the first paragraph char.
17062         (sgmlOpenTag): exclude empty tags.
17063         (sgmlCloseTag): ditto.
17064
17065         * buffer.h (pop_tag): removed.
17066         (push_tag): removed.
17067
17068 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17069
17070         * language.h (Languages): added size_type and size().
17071
17072 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17073
17074         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17075         response on compability reading of minipages. One probliem is that
17076         the old usage of minipages was «flertydig»
17077
17078         * several files here and in subdirs: don't use static at file
17079         scope use anon namespaces instead.
17080
17081 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17082
17083         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17084         LaTeX output. This is necessary for Literate document
17085         processing.
17086
17087 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17088
17089         * buffer.C: insert hfill when needed.
17090
17091         * tabular.C (l_getline): use string::erase, small whitespace change.
17092
17093         * BufferView_pimpl.C: try the anon namespace.
17094         * WorkArea.C: ditto
17095
17096 2001-03-16  Juergen Vigna  <jug@sad.it>
17097
17098         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17099         otherwise it won't open options-dialogs.
17100
17101         * buffer.C: honor pextraWidth(p) on converting minipages.
17102
17103         * tabular.C (l_getline): changed the functions to strip trailing \r.
17104
17105 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17106
17107         * BufferView_pimpl.C:
17108         * minibuffer..C: added "using SigC::slot" declaration.
17109
17110 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17111
17112         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17113
17114         * text2.C: ditto
17115
17116         * text.C: ditto
17117
17118         * paragraph.C: ditto
17119
17120         * lyxtext.h: NO_PEXTRA
17121
17122         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17123
17124         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17125         * ParameterStruct.h: ditto
17126         * ParagraphParameters.h: ditto
17127         * lyxparagraph.h: ditto
17128
17129 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17130
17131         * buffer.C: add compability for minipage alignment.
17132         (latexParagraphs): remove unwanted pextra check.
17133
17134         * several files: remove CXX_WORKING_NAMESPACES
17135
17136         * buffer.C (pop_tag): tie is in namespace boost
17137
17138         * BufferView.h: noncopyable is in namespace boost
17139         * lyxlex.h: ditto
17140         * lyx_main.h: ditto
17141         * lyx_gui.h: ditto
17142         * layout.h: ditto
17143         * lastfiles.h: ditto
17144         * bufferlist.h: ditto
17145         * ShareContainer.h: ditto
17146         * LyXView.h: ditto
17147         * LyXAction.h: ditto
17148         * LaTeX.h: ditto
17149
17150 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17151
17152         * Merging changes from BRANCH_MVC back into HEAD.
17153
17154         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17155
17156 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17157
17158         * BufferView_pimpl.C: change from intl.C
17159
17160         * combox.h:
17161         * combox.C:
17162         * Makefile.am: move combox.*
17163
17164         * form1.h:
17165         * form1.C:
17166         * lyx_gui.C:
17167         * intl.h:
17168         * intl.C: remove dialog (covered by prefs)
17169
17170 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17171
17172         * lyxfunc.C (Dispatch): removed redundant break statement.
17173
17174 2001-03-14  Juergen Vigna  <jug@sad.it>
17175
17176         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17177
17178 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17179
17180         * buffer.C: add hack to fix compability reading of minipages.
17181
17182 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17183
17184         * buffer.C (getLists): Cleanup.
17185
17186 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17187
17188         * lyxfont.C (update): don't honor toggleall on font size.
17189
17190 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17191
17192         * bmtable.c:
17193         * bmtable.h:
17194         * Makefile.am: moved to frontends/xforms/
17195
17196         * lyx_gui_misc.C:
17197         * lyxfunc.C:
17198         * BufferView_pimpl.C: changes for moved mathpanel
17199
17200 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17201
17202         * gettext.h: fix gettext_init() in --disable-nls
17203
17204 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17205
17206         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17207
17208 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17209
17210         * lyx.C:
17211         * lyx.h: strip external form
17212
17213 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17214
17215         * BufferView_pimpl.C: add comment, destroySplash()
17216
17217 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17218
17219         * BufferView_pimpl.C:
17220         * LyXAction.C:
17221         * buffer.C:
17222         * commandtags.h:
17223         * lyxfunc.C: use re-worked insetinclude
17224
17225 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17226
17227         * buffer.C: add using std::stringstream.
17228
17229         * lyx_cb.C: readd using std::ios.
17230
17231         * buffer.C: add using std::map.
17232
17233         * BufferView_pimpl.C: add using std::vector.
17234
17235         * ShareContainer.h: add std:: to swap.
17236
17237         * buffer.h: add some typedefs
17238         * buffer.C (getLists): use them
17239         (getLists): renamed from getTocList.
17240         add a counter for the different float types and use it in the
17241         generated string.
17242         (getLists): use the same counter for the NEW_INSETS and the "non"
17243         NEW_INSETS
17244
17245         * lyx_cb.h: remove unused items, includes, using etc.
17246
17247         * ShareContainer.h: remove some commented code, add more comments
17248         and "documentation".
17249
17250 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17251
17252         * buffer.C (getTocList): make the list also when NEW_INSETS is
17253         defined.
17254
17255         * buffer.h: remove TocType
17256
17257         * buffer.C (getTocList): change to return a map<string,
17258         vector<TocItem> >, implement for dynamic number of list.
17259
17260         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17261         * text2.C (PasteSelection): adjust
17262         * CutAndPaste.C (pasteSelection): adjust
17263
17264         * FloatList.C (FloatList): update from the new_insets branch.
17265         * Floating.[Ch]: ditto
17266         * LaTeXFeatures.C: ditto
17267         * buffer.C: ditto
17268         * lyxlex_pimpl.C: ditto
17269
17270         * paragraph.C (Last): remove when NEW_INSETS is defined.
17271
17272         * other file: changes because of the above.
17273
17274 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17275
17276         * lyxparagraph.h: rename next to next_, previous to previous_,
17277         make them private for NEW_INSETS. Rename Next() to next(),
17278         Previous() to previous().
17279
17280         * other files: changes because of the above.
17281
17282 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17283
17284         * BufferView.h:
17285         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17286         problem.
17287
17288 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17289
17290         * main.C (main): pass lyx_localedir to gettext_init().
17291
17292         * gettext.h: remove locale_init and gettext_init macros
17293
17294         * gettext.C (locale_init): new function
17295         (gettext_init): new function
17296
17297         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17298         setlocale().
17299
17300 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17301
17302         * Moved credits to frontends:
17303         * credits.[Ch]: removed
17304         * credits_form.[Ch]: removed
17305         * lyx_gui_misc.C: remove credits stuff
17306         * Makefile.am:
17307
17308 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17309
17310         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17311
17312         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17313         unneeded destructor.
17314
17315         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17316         a standalone pointer again.
17317
17318         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17319
17320 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17321
17322         * Makefile.am:
17323         * filedlg.h:
17324         * filedlg.C:
17325         * LyXAction.C:
17326         * ToolbarDefaults.C:
17327         * bufferlist.C:
17328         * commandtags.h:
17329         * form1.C:
17330         * form1.h:
17331         * lyx_cb.C:
17332         * lyx_cb.h:
17333         * lyxfunc.h:
17334         * lyxfunc.C:
17335         * BufferView_pimpl.C: use new file dialog in GUII
17336
17337         * lyx_cb.h:
17338         * lyx_cb.C: remove LayoutsCB to Toolbar
17339
17340 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17341
17342         * ShareContainer.h (get): add std:: qualifier
17343
17344 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17345
17346         * ShareContainer.h: define a proper ShareContainer::value_type
17347         type (and use typename to please compaq cxx)
17348
17349 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17350
17351         * lyxparagraph.h: move serveral local vars to
17352         ParameterStruct/ParagraphParameters., use ShareContainer in
17353         FontTable., make vars in FontTable private and add getter and
17354         setter.
17355
17356         * paragraph.C: changes because of the above.
17357
17358         * lyxfont.h: remove copy constructor and copy assignment. (the
17359         default ones is ok), move number inside FontBits. move inlines to
17360         lyxfont.C
17361
17362         * lyxfont.C: add number to initializaton of statics, move several
17363         inlines here. constify several local vars. some whitespace
17364         cleanup. Dont hide outerscope variables.
17365
17366         * Spacing.h: add two new constructors to match the set methods.
17367
17368         * ShareContainer.h: new file, will perhaps be moved to support
17369
17370         * ParameterStruct.h: new file
17371
17372         * ParagraphParameters.h: new file
17373
17374         * ParagraphParameters.C: new file
17375
17376         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17377         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17378
17379         * BufferView_pimpl.C: ParagraphParameter changes.
17380         * buffer.C: Likewise.
17381         * bufferview_funcs.C: Likewise.
17382         * text.C: Likewise.
17383         * text2.C: Likewise.
17384
17385 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17386
17387         * lyxfind.C (LyXReplace): do not redefine default argument in
17388         implementation.
17389         (IsStringInText): ditto
17390         (SearchForward): ditto
17391         (SearchBackward): ditto
17392
17393 2001-03-06  Juergen Vigna  <jug@sad.it>
17394
17395         * lyxfind.C (IsStringInText): put parentes around expressions.
17396
17397 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17398
17399         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17400
17401 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17402
17403         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17404
17405         * stl_string_fwd.h: add comment
17406
17407         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17408
17409         * tabular.h:
17410         * tabular.C: remove unused DocBook methods
17411
17412         * intl.C:
17413         * language.C:
17414         * paragraph.C:
17415         * buffer.C:
17416         killed DO_USE_DEFAULT_LANGUAGE
17417
17418 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17419
17420         * lyx_gui.C: do not include language.h.
17421
17422         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17423         arguments in function implementation.
17424
17425 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17426
17427         * BufferView_pimpl.C: add <ctime>
17428
17429 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17430
17431         * BufferView_pimpl.C: add using std::find_if
17432
17433 2001-02-27  José Matos  <jamatos@fep.up.pt>
17434
17435         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17436         by OnlyPath.
17437
17438 2001-02-11  José Matos  <jamatos@fep.up.pt>
17439
17440         * buffer.C (makeDocBookFile): command styles now have a parameter as
17441         "title" by default.
17442
17443 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17444
17445         * layout_forms.[Ch]: removed
17446         * lyx_cb.[Ch]: out character
17447         * lyx_gui.C: out character
17448         * lyx_gui_misc.C: out character
17449         * bufferview_funcs.C: : out character,
17450         added toggleall as parameter in ToggleAndShow
17451
17452 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17453
17454         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17455
17456         * text2.C (SetCurrentFont): Disable number property at boundary.
17457
17458 2001-02-26  Juergen Vigna  <jug@sad.it>
17459
17460         * lyxfunc.C (getStatus): added a string argument override function so
17461         that this is correctly called from LyXFunc::Dispatch if it contains a
17462         do_not_use_argument which is used!
17463         (Dispatch): added check for "custom" export and call appropriate func.
17464
17465 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17466
17467         * lyxrc.C: Add language_command_local, language_use_babel and
17468         language_global_options.
17469
17470         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17471
17472         * buffer.C (makeLaTeXFile): Use language_use_babel and
17473         language_global_options.
17474
17475 2001-02-23  Juergen Vigna  <jug@sad.it>
17476
17477         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17478         which works with LyXText and putted it inside BufferView. Here now we
17479         only call for that part the BufferView::Dispatch() function.
17480
17481         * BufferView.C (Dispatch): added.
17482
17483         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17484         functions which needs to use a LyXText over from LyXFunc.
17485         (MenuInsertLyXFile): added
17486         (getInsetByCode): added
17487         (moveCursorUpdate): added
17488         (static TEXT): added
17489
17490 2001-02-22  Juergen Vigna  <jug@sad.it>
17491
17492         * BufferView_pimpl.C (update): call a status update to see if LyXText
17493         needs it.
17494
17495 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17496
17497         * vc-backend.C (revert): implement for CVS
17498         (getLog): implement for CVS
17499
17500 2001-02-20  Juergen Vigna  <jug@sad.it>
17501
17502         * text2.C (ClearSelection): added BufferView param for inset_owner call
17503
17504         * lyxfunc.C (TEXT): added this function and use it instead of
17505         directly owner->view()-text of getLyXText().
17506
17507 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17508
17509         * src/layout_forms.C: out preamble
17510         * src/layout_forms.h: out preamble
17511         * src/lyx_cb.C: out preamble
17512         * src/lyx_cb.h: out preamble
17513         * src/lyx_gui.C: out preamble
17514         * src/lyx_gui_misc.C: out preamble
17515         * src/lyxfunc.C: connect with guii preamble
17516
17517 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17518
17519         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17520
17521 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17522
17523         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17524         whether to run bibtex.
17525
17526 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17527
17528         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17529
17530 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17531
17532         * Makefile.am (lyx_SOURCES): removed bibforms.h
17533
17534         * vspace.h: doxygen
17535
17536         * text.C (GetVisibleRow): make several local vars const
17537
17538         * tabular.C: small cleanup.
17539
17540         * lyxserver.C (callback): use compare instead of strncmp
17541
17542         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17543         inlines to after class or to paragraph.C
17544
17545         * lyxfont.h: remove friend operator!=
17546
17547         * converter.h: move friend bool operator< to non friend and after
17548         class def.
17549
17550         * combox.h: small cleanup
17551
17552         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17553         to inlines after class def.
17554
17555         * buffer.C (pop_tag): use string operations instead of strcmp
17556
17557         * bmtable.c: doxygen, small cleanup
17558
17559         * LaTeX.h: remove friend operator==
17560
17561 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17562
17563         * screen.C:
17564         * lyxrc.[Ch]:
17565         * lyxfunc.C:
17566         * lyxfont.[Ch]:
17567         * lyx_cb.C:
17568         * intl.[Ch]:
17569         * commandtags.h:
17570         * buffer.C:
17571         * WorkArea.[Ch]:
17572         * LyXAction.C:
17573         * BufferView_pimpl.C:
17574         * BufferView.[Ch]: remove cruft
17575
17576 2001-02-14  Juergen Vigna  <jug@sad.it>
17577
17578         * lyxfunc.C: removed #if 0 unused code
17579
17580         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17581
17582         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17583
17584         * text2.C (SetSelection): added a BufferView * parameter
17585
17586 2001-02-13  Juergen Vigna  <jug@sad.it>
17587
17588         * lyxfunc.C (Dispatch): fixed protected blank problem.
17589         * BufferView2.C (protectedBlank): added LyxText * parameter.
17590
17591         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17592         (AppendColumn): same as above for column_info.
17593
17594         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17595         (moveCursorUpdate): use a LyXText param for support of InsetText.
17596
17597         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17598         (tripleClick): ditto
17599
17600         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17601
17602         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17603
17604         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17605
17606         * text2.C (SetSelection): set correct update status if inset_owner
17607         (ToggleFree): ditto
17608
17609 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17610
17611         * tabular.C: remove some commented code.
17612
17613 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17614
17615         * BufferView_pimpl.C: call hideSplash()
17616
17617         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17618
17619         * include_form.h:
17620         * bibforms.h: remove
17621
17622         * lyxfunc.C:
17623         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17624           add LFUN_CHILD_CREATE
17625
17626         * counters.h: fix tiny typo
17627
17628         * lyx_cb.C:
17629         * lyx.h:
17630         * lyx_gui.C:
17631         * lyx.C: move splash to frontends/xforms/
17632
17633         * lyx_gui_misc.C: move Include and Bibform to frontends
17634
17635         * lyxvc.h: clarify comment
17636
17637         * vspace.C: tiny housekeeping
17638
17639 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17640
17641         * text.C (PrepareToPrint): RTL Fix.
17642
17643         * paragraph.C (GetUChar): New method.
17644         (String):  Use GetUChar.
17645
17646         * buffer.C (asciiParagraph): Use GetUChar.
17647
17648 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17649
17650         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17651
17652 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17653
17654         * buffer.h:
17655         * buffer.C: rename to getLogName(), handle
17656           build log / latex log nicely
17657
17658 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17659
17660         * MenuBackend.C:
17661         * MenuBackend.h: remove support for reference menuitem type.
17662
17663 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17664
17665         * BufferView_pimpl.C: housekeeping
17666         * BufferView_pimpl.h:
17667         * LyXView.h:
17668         * Makefile.am:
17669         * Timeout.C:
17670         * Timeout.h:
17671         * minibuffer.h: move Timeout GUI-I
17672
17673 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17674
17675         * lyxrc.C (read): Update converters data-structures.
17676
17677 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17678
17679         * LaTeX.h (operator!=): add operator != for Aux_Info
17680
17681 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17682
17683         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17684
17685         * LaTeXLog.C: deleted, useful code moved to Buffer
17686
17687         * buffer.h:
17688         * buffer.C: new function getLatexLogName()
17689
17690         * lyx_gui_misc.C:
17691         * lyx_gui.C:
17692         * lyxvc.C:
17693         * lyxvc.h:
17694         * lyxfunc.C: use frontends for LaTeX and VC logs
17695
17696 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17697
17698         * LaTeX.h: yet another std:: that Allan forgot.
17699
17700         * Variables.C (set): renamed from isset(), because this clashes
17701         with some HP-UX macros (grr).
17702
17703 2001-02-06  Allan Rae  <rae@lyx.org>
17704
17705         * LaTeX.h: Another bug fix.  Missing std:: this time.
17706
17707 2001-02-04  Allan Rae  <rae@lyx.org>
17708
17709         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17710         floats problem. I've left it commented out because it's not quite
17711         correct.  It should also test that the current object is a table or
17712         figure inset.  But I haven't gotten around to figuring out how to do
17713         that.  I *think* it'll be something like: "table" == inset.type()
17714
17715         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17716         bool.
17717
17718 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17719
17720         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17721         all the citation/databases/styles in the auxilary file.
17722         (run): Rerun latex if there was a babel language error.
17723
17724 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17725
17726         * text.C (Backspace): Preserve the font when changing newline char
17727         with a space.
17728         (BreakParagraph): If the cursor is before a space, delete the space.
17729
17730         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17731
17732 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17733
17734         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17735         new argument (code).
17736         (ChangeCitationsIfUnique): New method.
17737
17738         * paragraph.C (GetPositionOfInset): Handle bibkey.
17739
17740 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17741
17742         * BufferView_pimpl.h: change type of Position::par_pos to
17743         LyXParagraph::size_type.
17744
17745 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17746
17747         * BufferView_pimpl.C (savePosition, restorePosition): Write
17748         messages to minibuffer.
17749
17750 2001-01-28  José Matos  <jamatos@fep.up.pt>
17751
17752         * buffer.C (makeDocBookFile): adds support for document language.
17753         A silly restriction on the name of LatexCommand types where removed.
17754         Added support for CDATA sections, allows to chars unescaped, used
17755         among others in code, to avoid escape < and >.
17756
17757 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17758
17759         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17760         saved positions instrad of a stack. Furthermore, a position is
17761         stored using paragraph id/paragraph position.
17762
17763         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17764         Remove LFUN_REF_BACK.
17765
17766 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17767
17768         * converter.C (dvipdfm_options): New method.
17769
17770 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17771
17772         * vspace.C (isValidLength): Fix for empty input string.
17773
17774 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17775
17776         * LyXAction.C (init): change description of LFUN_FIGURE to
17777         "Insert Graphics"
17778
17779 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17780
17781         * LaTeX.C: add using directive
17782
17783 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17784
17785         * MenuBackend.C (expand): Fix the sorting of the formats.
17786
17787 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17788
17789         * lyx_main.C: tiny error message fix
17790
17791 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17792
17793         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17794         calling fl_initialize(). This fixes the problem with ',' as
17795         decimal separator in text files.
17796
17797 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17798
17799         * trans.C (process): Fix the keymap bug.
17800
17801 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17802
17803         * LaTeX.C (scanAuxFiles): New method. Provides support for
17804         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17805         (scanLogFile) Scan for "run BibTeX" messages.
17806
17807         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17808         OT1 font encoding. Also, load the aecompl package if the ae
17809         package is loaded.
17810
17811         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17812
17813 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17814
17815         * texrow.C (increasePos): turn two error messages into debug
17816         messages.
17817
17818 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17819
17820         * LaTeX.C (scanAux): Handle the \@input macro.
17821         (runBibTeX): Use scanAux().
17822
17823         * language.C (latex_options_): New field.
17824
17825         * LaTeXFeatures.C (getMacros): Add language macros.
17826
17827         * buffer.C (makeLaTeXFile): Small fix.
17828
17829 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17830
17831         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17832
17833         * text2.C: add a using directive.
17834
17835 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17836
17837         * BufferView2.C:
17838         * lyx_gui_misc.h:
17839         * lyxfr1.C:
17840         * lyxfunc.C: kill LyXBell.
17841
17842 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17843
17844         * text.C (IsBoundary): Remove the error message
17845
17846         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17847
17848         * lyxrc.C (setDefaults): Correct initialization value for
17849         font_norm_type.
17850
17851 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17852
17853         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17854         gotoError().
17855
17856         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17857         and GotoNextNote().
17858
17859         * src/LyXAction.C: Added reference-next.
17860
17861         * text.C (InsertChar): Use contains instead of strchr.
17862
17863         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17864
17865 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17866
17867         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17868         alignment commands (when needed).
17869
17870         * text.C (InsertChar): Add ':' to number separator chars.