]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Fix bug 1904
[lyx.git] / src / ChangeLog
1 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
4
5 2005-06-14  Angus Leeming  <leeming@lyx.org>
6
7         * lyx_main.C (init): ensure that the LyX binary dir is the first
8         element in the PATH on non-POSIX builds.
9
10 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
11
12         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
13
14 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15
16         * rowpainter.C (paintInset, paintHebrewComposeChar)
17         (paintArabicComposeChar, paintChars): add a LyXFont argument.
18         (paintChars): use getFontSpan to reduce calls to getFont to a
19         minimum; use Paragraph::lookupChange instead of isXXXText.
20         (paintForeignMark): rename LyXFont argument.
21         (paintFromPos): pass a LyXFont object to the various paintXXX
22         methods.
23
24         * FontIterator.C (FontIterator, operator++): use
25         Paragraph::getFontSpan
26
27         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
28         version that returns the font span as a pair.
29
30 2005-06-09  Angus Leeming  <leeming@lyx.org>
31
32         * converter.C (convert): Don't forget "outfile = real_outfile" as
33         the final step in a conversion where the input and output file names
34         are the same. Otherwise, future conversion steps won't work...
35
36 2005-06-09  Angus Leeming  <leeming@lyx.org>
37
38         * lyxsocket.C: remove stub code as it isn't needed by
39         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
40
41 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
42
43         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
44         effectively disabled -x
45
46 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
47
48         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
49         when it actually makes sense.
50
51 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
52
53         * BufferView_pimpl.C: revert to showCursor in connection with
54         Lars's front-end stack
55
56 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
57
58         * text.C (redoParagraph): move cursor right after a bibitem
59         has been inserted.
60
61         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
62
63 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
64
65         * buffer_funcs.C (bufferErrors): fix computation of the end of an
66         error range.
67
68 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
69
70         * BufferView.[Ch] (update):
71         * BufferView_pimpl.[Ch] (update, metrics):
72         * dimension.h (operator==):
73         * lyxfunc.C (dispatch):
74         * metricsinfo.h (ViewMetricsInfo):
75         * rowpainter.C (paintText):
76         * lyxtext.h:
77         * text.C (redoParagraph):
78         * text3.C (dispatch): Make LyX only repaint current paragraph in
79         case of character insert --> speedup. Also fix cursor draw
80         artifacts
81
82 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
83
84         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
85         avoid a crash (bug 1891)
86
87 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
88
89         Fix bug 1892:
90
91         * text2.C (getStringToIndex): constify cur argument.
92
93         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
94         argument has been given
95         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
96         try to invoke LFUN_INSET_APPLY).
97
98         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
99         if no inset was created by doInsertInset
100         (doInsertInset): return true if an inset has been inserted.
101
102 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
103
104         * vspace.C (asGUIName): new method. A version of the space
105         suitable for showing on screen.
106
107 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
108
109         * MenuBackend.C:
110         * lyxrc.C: rename "ASCII" to "Plain Text"
111
112 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
113
114         * buffer_funcs.C (expandLabel): take a Buffer as argument;
115         translate the labelstring.
116         (setCounter): translate labelstring as needed.
117
118         * output_docbook.C (makeCommand): fix expandLabel invokation
119
120 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
121
122         * BufferView.C: fix dialog title
123
124 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
125
126         * lyx_main.C (priv_exec): fix logic error with help from Angus
127         * lyx_main.C (parse_execute): set is_gui = false and remove now
128         obsolete comment about a segfault
129
130 2005-05-18  Angus Leeming  <leeming@lyx.org>
131
132         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
133
134 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
135
136         * tabular.[hC]: added setCellInset to fix tabular paste.
137
138 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
139
140         * buffer.C (save): check if destination is writable before trying
141         to copy a file
142
143 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
144
145         * BufferView_pimpl.C (update): fix processEvents -caused update
146         recursion bug
147
148 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
149
150         * buffer_funcs.C (setCounter): fix test for numbering of
151         environments.
152
153         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
154         depth correctly; use optional argument when it exists
155
156         * lyxtextclass.C: remove unused MaxCounterTags enum
157         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
158         (max_toclevel, min_toclevel): new methods.
159
160         * MenuBackend.C (expandToc2): fix case where depth is smaller than
161         the smallest depth in toc.
162
163         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
164         layouts that should not appear in a table of contents.
165
166 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
167
168         * cursor.h (undispatched, noUpdate): add comments from André
169
170 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
171
172         * lfuns.h:
173         * LyXAction.C:
174         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
175
176 2005-05-07  André Pönitz  <poenitz@gmx.net>
177
178         * cursor.[Ch] (leaveInset): new function
179
180 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
181
182         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
183
184 2005-05-04  Angus Leeming  <leeming@lyx.org>
185
186         * lyxfunc.C (getStatus): disable the spell checker dialog if
187         none of USE_[AIP]SPELL are defined.
188
189 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
190
191         * tabular.C (setWidthOfCell): remove obsolete comment
192
193 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
194
195         * paragraph.C (bibitem):
196         * buffer_funcs.C (setCounter):
197         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
198
199 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
200
201         * text3.C (getStatus): immediately return after setOnOff
202
203         * rowpainter.C: fix drawing of appendix start
204
205 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
206
207         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
208         SwitchBetweenClasses and remove the unused return value.
209         Handle character styles, too
210
211 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
212
213         * factory.C (createInset): handle undefined character styles
214
215 2005-05-02  Angus Leeming  <leeming@lyx.org>
216
217         * buffer.C: protect the #include of utime.h with a preprocessor
218         guard.
219
220 2005-05-02  Angus Leeming  <leeming@lyx.org>
221
222         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
223         function so that auto-saving works, albeit in a blocking manner.
224
225         * Makefile.am: make compilation of the client sub directory, of
226         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
227         on conditionals set at configure time.
228
229         * SpellBase.[Ch]: no longer an abstract base class. Instead,
230         it can be compiled in its own right but has no-op functionality.
231
232         * aspell.C, pspell.C: remove preprocessor guards. The files should
233         be compiled only if the necessary functionality exists.
234
235         * lyxserver.C, lyxsocket.C: disable on Windows.
236
237 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
238
239         * text.C (leftMargin): Fix the parindent use bug (1764)
240         by dirty trick
241
242 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
243
244         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
245         argument.
246
247 2005-04-25  Angus Leeming  <leeming@lyx.org>
248
249         * Bidi.[Ch]:
250         * coordcache.[Ch]:
251         * ispell.C:
252         * lyxserver.C:
253         * mover.C:
254         * pch.h:
255         include <config.h> in .C files, not .h ones.
256         add licence blurb.
257         protect headers inside preprocessor guards.
258
259 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
260
261         * FuncStatus.h (StatusCodes): document
262
263 2005-04-21  André Pönitz  <poenitz@gmx.net>
264
265         * FuncStatus.h (enabled, onoff): document
266
267 2005-04-19  Angus Leeming  <leeming@lyx.org>
268
269         * BufferView_pimpl.C (cursorToggle): no longer test whether
270         any child processes have been reaped before calling
271         handleCompletedProcesses().
272
273 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
274
275         * text3.C (dispatch): fix, finally fix, the language problem in
276         new lyxtexts, without disabling on-the-fly font changes (Helge's
277         bug report)
278
279 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
280
281         * text3.C (dispatch): set cursor on double/triple click events
282         (bug 1811)
283
284 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
285
286         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
287         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
288
289         * rowpainter.C (paintFirst): simplify the code a little bit. In
290         particular, remove the test for secnumdepth.
291         * text.C (setHeightOfRow): only allocate space for chapter number
292         when updateCounters provided an actual label, instead of looking
293         at secnumdepth directly.
294
295         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
296
297         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
298         paragraphs when secnumdepth is large enough or, for environments,
299         when they are not the first in a sequence.
300
301 2005-04-17  Angus Leeming  <leeming@lyx.org>
302
303         * buffer.C (makeLaTeXFile): replace code to manipulate a path
304         containing space and '~' characters with a call to latex_path().
305
306 2005-04-17  Angus Leeming  <leeming@lyx.org>
307
308         * converter.C (convert): protect all args of convertDefault.sh
309         script with quotes.
310
311 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
312
313         * text3.C (dispatch): change the layout to "Caption" after inserting
314         a float.
315
316 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
317
318         * text3.C (dispatch): fix language problem in newly created
319         textinsets (and main text) in non-english docs
320
321 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
322
323         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
324         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
325         * text3.C (getStatus): disable LFUN_INSET_MODIFY
326
327 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
328
329         * lyxtext.h:
330         * text.C (metrics):
331         * text2.C (getFont):
332         * rowpainter.C (getFont): Fix metrics bug introduced by inset
333         fonts fix
334
335 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
336
337         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
338         output of \item arguments without trailing text.
339
340 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
341
342         * FontIterator.C (operator*): avoid a copy of the font.
343
344 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
345
346         * rowpainter.C (getFont): fix language bug from previous fix
347
348 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
349
350         * rowpainter.C (RowPainter, getFont): fix font inside inset
351         (bugs 1766, 1809)
352
353 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
354
355         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
356         preventing inserted font, deco, delim insets jumping to start of
357         surrounding inset.
358
359 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
360
361         * lyxfunc.C (dispatch): translate message before sending it to the
362         minibuffer.
363
364 2005-03-29  Angus Leeming  <leeming@lyx.org>
365
366         * lyx_main.C (priv_exec): call os::internal_path on each file passed
367         to LyX on the command line.
368
369 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
370
371         * vc-backend.C: use QuoteName to protect file names wherever
372         necessary.
373
374 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
375
376         * buffer.[Ch]:
377         * BranchList.h: fix bugs 1844,1845: document settings don't
378         stick
379
380 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
381
382         * lyxrc.C (setDefaults, read, output, getDescription): add support
383         for tex_allows_spaces.
384
385         * exporter.C (Export): allows files in directory containing spaces
386         if tex_allows_spaces is true.
387
388         * buffer.C (makeLaTeXFile): if the document path contains spaces,
389         output it in double quotes.
390
391 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
392
393         * rowpainter.C: use default text height for drawing change tracker
394         strikeout lines.
395
396 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
397
398         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
399
400 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
401
402         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
403         directory is missing.
404
405 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
406
407         * text2.C: fixed the fix, extended to other case.
408
409 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
410
411         * text2.C: fix for cursor up/down stuck in math [bug 1792]
412
413 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
414
415         * text2.C (cursorUp): get rid of a crash
416         * text.C (x2pos): add an assert
417
418 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
419
420         * lyxfunc.C (getStatus): fix warning when assertions are disabled
421
422         * text3.C:
423         * lyxfunc.C:
424         * dociterator.C: include <boost/current_function.hpp>, which is
425         needed when assertions are disabled.
426
427 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
428
429         * text2.C: fix for stuck cursor when traversing two
430         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
431
432 2005-02-25  Andreas Vox  <avox@arcor.de>
433
434         * output_docbook.C (makeParagraph): suppress trailing newline
435         after a run of paragraphs
436
437 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
438
439         * paragraph.C: fix for confused change tracker when pasting
440         text that begins with a lineseparator. [bug 1827]
441         (setChange(0, Change::INSERTED);)
442
443         * paragraph_funcs.C: fix for lost changes on triple-paste
444         in change tracking mode [bug 1827] (par.setChange()).
445
446 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
447
448         * text2.C (updateCounters, setCounter, expandLabel): move to
449         buffer_funcs.
450
451         * buffer_funcs.C (updateCounters): turn into a free standing
452         function and add a buffer parameter. Remove dead code for tracking
453         labelstring change.
454         (setCounter): change into a free-standing function which gets a
455         dociterator as argument. Use this iterator to fix captions in a
456         simple way. When no float is found above the caption, use the
457         labelstring of the caption layout as default.
458
459         * text.C (breakParagraph, backspace):
460         * text2.C (init, setLayout, changeDepth):
461         * text3.C (dispatch):
462         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
463         updateCounters.
464
465         * dociterator.C (forwardPar): make it much faster by calling
466         forwardPos() only when really necessary.
467
468         * output_docbook.C (makeCommand): adapt to expandLabel move.
469
470         * cursor.C: remove unused variable
471
472 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
473
474         * paragraph_funcs.C: fix crash when pasting insets in change
475         tracking mode [bug 1277] (honour change type in moveItem).
476
477 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
478
479         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
480
481 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
482
483         * BufferView.C (setCursor): change to use a DocIterator.
484         (gotoLabel): use BufferView::setCursor (other part of bug 781).
485         (putSelectionAt): adapt to BufferView::setCursor change.
486
487         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
488         moved here from LyXText and rewritten to use proper cursor
489         methods. Fixes bug 1787, 616 and 835.
490
491         * BufferView_pimpl.C (restorePosition): set the cursor correctly
492         when inside an inset (part of bug 781).
493         (dispatch): adapt to change of BufferView::setCursor.
494         (getStatus, dispatch): handle LFUN_GOTOERROR,
495         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
496
497         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
498         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
499         * text3.C (gotoNextInset, gotoInset): removed.
500
501 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
502
503         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
504
505 2005-02-15  Angus Leeming  <leeming@lyx.org>
506
507         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
508         can be used meaningfully in a comparison.
509
510 2005-02-13  André Pönitz  <poenitz@gmx.net>
511
512         * bufferview_funcs.C (coordOffset): improve cursor drawing
513
514 2005-02-13  André Pönitz  <poenitz@gmx.net>
515
516         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
517         * Cursor.C (dispatch): use fixIfBroken
518         * lyxfunc.C (getStatus): use fixIfBroken
519
520 2005-02-15  Angus Leeming  <leeming@lyx.org>
521
522         * lyx_main.C (error_handler):
523         * lyxfunc.C:
524         * lyxrc.C (setDefaults):
525         s/GetEnv/getEnv/.
526         #include "environment.h".
527
528         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
529
530 2005-02-15  Angus Leeming  <leeming@lyx.org>
531
532         * lyxserver.C (startPipe): squash MSVC warning "local variable
533         'fd' used without having been initialized".
534
535 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
536
537         * BufferView_pimpl.C: revert accidental commit.
538
539 2005-02-14  André Pönitz  <poenitz@gmx.net>
540
541         * dociterator.[Ch]: new member forwardPosNoDescent(),
542         which doesn't enter nested insets.
543         * text2.C (setFont): use forwardPosNoDescent() instead
544         of ForwardPos() (fixes crash on font change).
545
546 2005-02-13  Angus Leeming  <leeming@lyx.org>
547
548         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
549         only if lyxrc.path_prefix is not empty.
550
551 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
552
553         * bufferparams.C (readGraphicsDriver): prevent crash
554
555 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
556
557         * text2.C (setCounter): check for inInset() == 0
558
559 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
560
561         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
562         but use update() to get correct screen display; use convert
563         instead of istringstream.
564         (getStatus): handle LFUN_GOTO_PARAGRAPH
565
566         * lyxfunc.C (dispatch, getStatus): do not handle
567         LFUN_GOTO_PARAGRAPH here.
568
569 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
570
571         * text3.C (dispatch): size() -> depth()
572
573         * text2.C: remove some debug output
574
575         * paragraph.C: ws changes only
576
577         * lyxfunc.C (getStatus): size() -> depth()
578
579         * dociterator.h (clear, push_back, pop_back, internalData,
580         operator[], resize, empty): new functions
581         Make StableDocIterator and operator== be friends. Don't inherit
582         from std::vector use a privat class variable slices_ instead.
583         Modify to fit.
584
585         * dociterator.C: update because of not inheriting from std::vector
586         anymore. Call explictly to slices_ instead. Use depth() instead of
587         size() and top() instead of back()
588
589         * cursor.C: chagne size() -> depth and back() -> top(). Also
590         remove some direct operator[](i) calls in favour of foo[i]
591         (getFont): remove some dead code
592
593         * bufferview_funcs.C (coordOffset): size() -> depth()
594
595         * buffer.C: ws changes only
596
597         * CutAndPaste.C (eraseSelection): back() -> top()
598
599         * BufferView_pimpl.C (selectionRequested): back() -> top()
600
601         * BufferView.C (setCursor): size() -> depth()
602
603 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
604
605         * text3.C (cursorPrevious): return true if depm changed something
606         (cursorNext): ditto
607         (dispatch): rename sl to oldTopSlice, remove moving use the new
608         NoUpdate func attrib instead. Make sure that needsUpdate is set
609         for function that have NoUpdate, but where depm might have changed
610         the buffer anyway.
611
612         * text2.C (cursorLeft): make us return true if depm changed
613         something
614         (cursorRight): ditto
615         (cursorUpParagraph): ditto
616         (curosrDownParagraph): ditto
617         (cursorUp, cursorDown): ditto, make sure to read comments in code
618         (deleteEmptyParagraphMechanism): remove an assert, also return
619         true if just a single char was deleted.
620
621         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
622         cursor that we modify, to avoid modifying an active cursor before
623         we call setCursor. This allows depm to run. Also return true if
624         depm deleted something.
625
626         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
627         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
628         cursorDownParagraph, cursorPrevious and cursorNext, return true if
629         something was changed in the buffer because of them (ie. depm run)
630
631         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
632         debug messages. Make update by default be false. Make sure that
633         the result of update is retained throught several calls down to
634         dispatch.
635
636         * LyXAction.h: add a new func_attrib: NoUpdate
637
638         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
639         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
640         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
641         and LFUN_WORDLEFT
642         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
643
644 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
645
646         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
647         bv_->owner(), bv_->buffer() by direct references to the private
648         members.
649         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
650         (getStatus): isSavedPosition() is in BufferView::Pimpl.
651         (fitCursor): center() is in BufferView::Pimpl.
652         (getStatus, trackChanges, dispatch): no need for a temporary buf
653         variable
654         (fitCursor, workAreaDispatch): use workarea().workheight()
655
656 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
657
658         * CutAndPaste.C (pasteSelectionHelper): fix a crash
659
660 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
661
662         * buffer.C: format up to 241.
663         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
664         break if pasting into ERT
665         * lyxfunc.C (getStatus): suppress mathpanel and
666         LFUN_DIALOG_SHOW_NEW_INSET in ERT
667
668 2005-02-01  Angus Leeming  <leeming@lyx.org>
669
670         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
671
672 2005-02-01  Angus Leeming  <leeming@lyx.org>
673
674         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
675         calling fs::is_directory().
676
677 2005-01-31  Angus Leeming  <leeming@lyx.org>
678
679         * lyx_main.C (priv_exec): specify explicitly the relative location
680         of the top level build directory when run in-place.
681
682 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
683
684         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
685         LyXText containing the cursor, not the top-level one.
686
687         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
688         true.
689         (insertStringAsLines): rename par to pit; use temporary variable
690         par to hold a Paragraph; do not store par.layout() in a variable,
691         since the pointer may die when breaking paragraphs; pass pars to
692         breakParagraph() instead of Buffer::paragraphs().
693
694 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
695
696         * lyxlex_pimpl.h: #include <fstream>.
697
698         * BufferView.[Ch] (getLyXText): add a const version.
699
700         * BufferView_pimpl.C: add debug aids.
701
702         * RowList_fwd.h:
703         * buffer.h:
704         * lyxrow.h:
705         * paragraph_funcs.h: add commentary explaining what the class does.
706
707
708         * coordcache.[Ch]: add lots of commentary.
709         (startUpdating, doneUpdating): debug aids.
710         (arrays, insets, parPos, getParPos): accessors to private data.
711
712         * cursor_slice.[Ch] (text): add a const version.
713         * dociterator.[Ch] (text, innerText): add const versions.
714
715         * lyxtext.h (breakParagraph): change the keep_layout arg to a
716         bool.
717
718         * paragraph.C (getRow, pos2ros): add asserts.
719
720         * paragraph.h: add commentary. Lots of.
721
722         * paragraph.[Ch] (metrucs, draw): removed.
723
724         * cursor.C:
725         * rowpainter.[Ch]: const-correct changes.
726
727         * text.C: various obvious clean-ups. Removal of ancient cruft.
728         Bug fixes, even.
729
730 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
731
732         * vc-backend.C (find_file): rewrite to use boost.filesystem
733         (scanMaster): ditto
734
735         * main.C (main): set default name check for boost.filesystem to
736         no check
737
738         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
739         (open): ditto
740         (doImport): ditto
741         (actOnUpdatedPrefs): ditto
742
743         * lyx_main.C (init): rewrite to use boost.filesystem
744         (queryUserLyXDir): ditto
745
746         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
747         (getContentsOfAsciiFile): ditto
748
749         * lastfiles.C (readFile): rewrite to use boost.filesystem
750
751         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
752
753         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
754         (loadLyXFile): ditto
755
756         * buffer.C (Buffer): adjust for destroydir
757         (getLogName): rewrite to use boost.filesystem
758         (setFileName): ditto
759         (save): use fs::copy_file (from fs_extras)
760
761         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
762
763         * LaTeX.C (run): rewrite to use boost.filesystem
764         (scanAuxFiles): ditto
765         (handleFoundFile): ditto
766
767 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
768
769         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
770
771         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
772
773 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
774
775         * lyxlayout.[Ch]: change some vars from float to double
776
777         * buffer.C (readFile): make a local var const
778
779         * Several files: use convert<> instead of atoi,strToXXX and friends
780
781 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
782
783         * LaTeXFeatures.[Ch]: Add a static list packages_ that
784         holds the contents of packages.lst. New functions getAvailable
785         and isAvailable to parse and check that list, resp.
786
787         * LyXAction.C:
788         * lfuns.h:
789         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
790
791         * bufferparams.[Ch]: new param output_changes.
792
793         * Buffer.C: increase file format to 240.
794         Use output_changes and isVailable.
795
796         * changes.[Ch]:
797         * paragraph.C:
798         * paragraph_pimpl.C: Use output_changes and isVailable.
799
800 2005-01-23  Angus Leeming  <leeming@lyx.org>
801
802         * output_latex.C: #include "insetbibitem.h", rather than
803         forward declare function bibitemWidest.
804
805 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
806
807         * lyx_main.C (init): make it compile on the Mac.
808
809 2005-01-20  Angus Leeming  <leeming@lyx.org>
810
811         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
812         (setLyXMisc): (char string literal) != (char string literal) is
813         performing a comparison on the addresses. Convert one operand
814         explicitly to string to guarantee expected behaviour.
815         From MSVC warning.
816
817 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
818
819         * buffer.C:
820         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
821
822         * output_plaintext.C: remove unneeded #include gzstream.h.
823
824 2005-01-20  Angus Leeming  <leeming@lyx.org>
825
826         * SpellBase.h: rename some of the elements of the Result enum.
827
828         * aspell_local.h:
829         * ispell.h:
830         * pspell.h:
831         * aspell.C (check):
832         * ispell.C (check):
833         * pspell.C (check): ditto
834
835 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
836
837         * buffer.C: add #include <fstream>.
838
839         * lyx_main.C (init): Compile fix.
840
841         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
842
843 2005-01-20  Angus Leeming  <leeming@lyx.org>
844
845         * mover.h: change commentary to reflect the changed meaning of
846         the $$s placeholder.
847
848 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
849
850         * output_linuxdoc.C (linuxdocParagraphs): silence warning
851
852         * lyxfind.C (MatchString::operator()): remove bogus semicolon
853
854 2005-01-20  Angus Leeming  <leeming@lyx.org>
855
856         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
857         printing diagnostic data by not dereferecing an iterator past the
858         end.
859
860 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
861
862         * buffer.C (readHeader): use "&&" rather than "and".
863
864         * lyxserver.h (inPipeName, outPipeName): make these const.
865
866 2005-01-19  Angus Leeming  <leeming@lyx.org>
867
868         * lyx_main.C (error_handler, init): protect SIGHUP with
869         #ifdef SIGHUP guards.
870
871 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
872
873         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
874
875 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
876
877         * text.C (setHeightOfRow): add a margin at the top and bottom of
878         the document (bug 1761)
879
880 2005-01-17  Angus Leeming  <leeming@lyx.org>
881
882         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
883         with "python ". Workaround for a brain-dead Windows.
884
885 2005-01-16  Angus Leeming  <leeming@lyx.org>
886
887         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
888         for MacOSX and Windows to use prependEnvPath.
889         Strip out the hard-coded block to add elements to the PATH for
890         MacOSX and replace it with a call to prependEnvPath using the
891         contents of LyXRC::path_prefix.
892         (queryUserLyXDir): strip out the code to run reconfigure, instead
893         returning a boolean indicating the necessity to do so.
894         (reconfigureUserLyXDir): contains the code to reconfigure the
895         user support directory. Is now called after the various LyXRC data
896         files have been read.
897
898         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
899
900 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
901
902         * converter.[Ch] (convert): take a new parameter try_default. Use
903         a default converter (imagemagick) if try_default is true.
904
905 2005-01-13  Angus Leeming  <leeming@lyx.org>
906
907         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
908         os::cygwin_path_fix.
909         (write): output LyXRC::cygwin_path_fix as necessary.
910
911 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
912
913         * lyxrc.h:
914         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
915
916 2005-01-12  Angus Leeming  <leeming@lyx.org>
917
918         * lyx_main.C (init): set the PATH variable to include the
919         directory containing the LyX binary when running on Mac or Windows.
920
921 2005-01-12  Angus Leeming  <leeming@lyx.org>
922
923         * lyx_main.C (init): remove cruft that purports to set the locale
924         dir. It doesn't and is not needed anyway.
925
926 2005-01-10  Angus Leeming  <leeming@lyx.org>
927
928         * Makefile.am: remove the lyx_main.C special casing.
929
930         * BufferView_pimpl.C:
931         * bufferlist.C:
932         * exporter.C:
933         * lyx_cb.C:
934         * lyx_main.C:
935         * lyxfunc.C:
936         * messages.C: use support/package.h to provide the paths to the
937         various directories used by LyX.
938
939 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
940
941         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
942         layout if pasting into an empty paragraph)
943
944 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
945
946         * tex-accent.C: add <string>
947
948 2005-01-06  José Matos  <jamatos@lyx.org>
949
950         * ParagraphParameters.C (write): put every parameter in its own line.
951         * paragraph.C (write): reduce number of consecutive empty lines exported.
952         * buffer.C (LYX_FORMAT): increase file format to 239.
953
954 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
955
956         * everywhere: change support/tostr.h -> support/convert.h
957
958         * tabular.C: make all write_attributes templates, tostr -> convert
959
960         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
961         (emptyTag): and -> &&, and fix type for ret from getChar
962         (getFirstWord): fix type for ret from getChar
963         (onlyText): and -> &&
964         (simpleDocBookOnePar): and not -> && !, fix type for ret from
965         getChar
966
967         * toc.C (goTo, action):
968         * text3.C (dispatch):
969         * text.C (currentState):
970         * tex-accent.C (DoAccent):
971         * sgml.C:
972         * lyxrc.C:
973         * lyxfunc.C (menuNew):
974         * lyxfinc.C (replace):
975         * counters.C (laberItem):
976         * bufferview_funcs.C (font2string):
977         * bufferparams.C (writeFile):
978         * buffer.C (readFile):
979         * Spacing.C (set):
980         * MenuBackend.C: tostr -> convert
981
982         * LaTeX.C (runMessage): fix format
983         (scanAuxFiles): tostr -> convert
984
985         * BufferView_pimpl.C (savePosition): fix format
986         (restorePosition): ditto
987         (dispatch): ditto
988
989 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
990
991         * Spacing.[Ch]: New method getValueAsString().
992
993         * Spacing.[Ch]:
994         * bufferparams.C:
995         * ParagraphParameters.C:
996         * lyxlayout.C:
997         * text.C:
998         * text3.C: store/read spacing value as string.
999
1000         * rowpainter.C: change float value (spacing_val) to double.
1001
1002         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1003         broken custom document spacing).
1004
1005 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1006
1007         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1008         namespace, also more use of temp references and const
1009
1010         * cursor.[Ch] (getStatus): move to lyxfunc.C
1011
1012         * bufferparams.C: reformat slightly
1013
1014         * bufferview_funcs.C (font2string): constify arg
1015
1016         * changes.C:
1017         * converter.C:
1018         * counters.C:
1019         * bufferlist.C:
1020         * buffer_funcs.C: (many funcs): constify arg on function
1021         definitions, also make more local vars const, also add ASSERTS on
1022         pointer args.
1023
1024         * buffer.C (LYX_FORMAT): put const in correct place
1025         (many funcs): constify arg on function definitions, also make
1026         more local vars const
1027
1028         * aspell_local.h: remove "struct" from typdef setup
1029
1030         * aspell.C (check): make word_ok const
1031         (nextMiss): simplify slightly
1032         (error): ditto
1033
1034 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1035
1036         * lyxrc.[Ch]: store all float values as strings.
1037         use int (not float) for lyxrc.dpi.
1038
1039 2005-01-04  Angus Leeming  <leeming@lyx.org>
1040
1041         * lyx_cb.C (Reconfigure):
1042         * lyx_main.C (queryUserLyXDir):
1043         to run the <system_lyxdir>/configure correctly on Windows, prefix
1044         the path to the script with "sh " when generating the string that
1045         is passed to system().
1046
1047 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1048
1049         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1050
1051 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1052
1053         * lyxlength.C (asLatexString): get rid of setprecision
1054
1055 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1056
1057         * text2.C (setLayout): remove unused variable endpit.
1058         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1059
1060         * paragraph.C (onlyText): remove unused variable style.
1061
1062         * cursor.C (bruteFind): remove unused variables beg and end.
1063
1064         * Makefile.am (dist_noinset_DATA): not needed anymore
1065
1066         * cheaders/*: remove.
1067
1068 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1069
1070         * text3.C: fix LFUN_MATH_MODE.
1071
1072 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1073
1074         * buffer_funcs.C (countWords): new function. Counts words between
1075         two iterators.
1076
1077         * BufferView_pimpl.C (getStatus, dispatch): handle
1078         LFUN_WORDS_COUNT.
1079
1080         * LyXAction.C (init):
1081         * lfuns.h: add LFUN_WORDS_COUNT.
1082
1083 2004-12-19  Angus Leeming  <leeming@lyx.org>
1084
1085         * buffer.C (save): s/slashify_path/internal_path/.
1086
1087 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1088
1089         * lyxfind.C (findChange): do not search for end of pars, because
1090         the change tracker cannot handle this (fixes bug 1719).
1091
1092 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1093
1094         * paragraph.[Ch] (autoBreakRows): remove
1095
1096         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1097
1098         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1099         avoid using the paragraph one
1100
1101         * text2.C (LyXText, insertStringAsLines): adjust
1102
1103 2004-12-16  Angus Leeming  <leeming@lyx.org>
1104
1105         * bufferlist.C:
1106         * lyx_main.C:
1107         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1108
1109 2004-12-14  Angus Leeming  <leeming@lyx.org>
1110
1111         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1112
1113         * bufferlist.C (emergencyWrite):
1114         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1115         GetEnvPath("HOME").
1116
1117 2004-12-14  Angus Leeming  <leeming@lyx.org>
1118
1119         * main.C: (main): no longer pass pointers to os::init.
1120
1121 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1122
1123         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1124         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1125
1126 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1127
1128         * lyxfunc.C:
1129         * text3.C: remove selection_possible global flag
1130
1131 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1132
1133         * text2.C (getSelectionSpan): remove
1134         (changeDepth, changeDepthAllowed): adjust
1135
1136 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1137
1138         * Makefile.am (BOOST_LIBS): use boost variables
1139
1140 2004-12-03  José Matos  <jamatos@lyx.org>
1141
1142         * buffer.C: format up to 238.
1143
1144 2004-12-03  José Matos  <jamatos@lyx.org>
1145
1146         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1147
1148 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1149
1150         * cursor.C (goUpDown): remove call to idxUpDown2
1151
1152 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1153
1154         * tabular.[Ch]: use size_t-like types for cell, row and column
1155         indices
1156
1157 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1158
1159         * lyxfunc.C (getStatus): do not lose previous information when
1160         calling BufferView::getStatus; do not set a default "Command
1161         disabled" message at the beginning, but just before returning.
1162
1163 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1164
1165         * cursor.h (getStatus): add better comment from src/cursor.C
1166
1167 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1168
1169         * text3.C (getStatus): return false when the lfun is not handled
1170
1171 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1172
1173         * broken_headers.h: remove
1174
1175         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1176
1177 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1178
1179         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1180         offset_ref accessors
1181
1182         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1183         top_y_, merge fitcursor with update
1184         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1185         coord scheme
1186         (metrics): introduce
1187         (workAreaDispatch): adapt to new coord scheme
1188         (redoCurrentBuffer): remove
1189
1190         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1191
1192         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1193         CurStatus enum.
1194
1195         * coordcache.[Ch]: add paragraph cache and helpers
1196
1197         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1198         adjust everywhere
1199
1200         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1201         (targetX, setTargetX): introduce
1202
1203         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1204         baseline -> ascent, as the rest of lyx
1205
1206         * lyxtext.h: remove redoParagraphs, updateParPositions,
1207         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1208         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1209         have ascent/descent (ascent is ascent of first par)
1210
1211         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1212         step of BufferView
1213
1214         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1215
1216         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1217
1218         * pariterator.C: fix infinite loop introduced in par->pit renaming
1219
1220         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1221         in insets and LyXText, draw two off-screen paragraphs using
1222         NullPainter, and adapt to new coord scheme
1223
1224         * text.C:
1225         * text2.C:
1226         * text3.C: adapt lfun handlers to the new coord scheme, which
1227         means: there's only guaranteed coord information for onscreen pars
1228         plus one above and one below. This implies that one can do search
1229         from y coordinates in the range [-1,workHeight]
1230
1231 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1232
1233         * rename a lot of InsetOld to InsetBase
1234
1235 2004-11-25  Angus Leeming  <leeming@lyx.org>
1236
1237         * BufferView_pimpl.C:
1238         * lyx_cb.C:
1239         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1240
1241 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1242
1243         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1244         call BufferView::getStatus if LCursor::getStatus did nothing
1245         (setStatusMessage, getStatusMessage): removed.
1246
1247         * FuncStatus.C (message): new methods. Used to provide an error
1248         message indicating why a command is disabled.
1249         (clear, |=, FuncStatus): update for message.
1250
1251 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1252
1253         * lyxfunc.C (dispatch): always call sendDispatchMessage
1254
1255 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1256
1257         * BufferView.C:
1258         * BufferView_pimpl.C:
1259         * CutAndPaste.C:
1260         * FontIterator.C:
1261         * buffer.C:
1262         * cursor.C:
1263         * cursor_slice.[Ch]:
1264         * dociterator.[Ch]:
1265         * lyxfind.C:
1266         * paragraph_funcs.C:
1267         * pariterator.C:
1268         * rowpainter.C:
1269         * text.C:
1270         * text2.C:
1271         * text3.C:
1272         * undo.C: par->pit renaming
1273
1274 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1275
1276         * tabular.C (cellstruct): use initialization, store a shared_ptr
1277         to insettext instead of the insettext directly, adjust to fit.
1278         (operator=):  new function
1279         (swap): new function
1280         (rowstruct): use initialization
1281         (columnstruct): use initialization
1282         (ltType): use initialization
1283
1284
1285         * lyxlength.h (swap): new function
1286
1287         * LColor.[Ch] (operator=): use the common semantics
1288
1289 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1290
1291         * lyxfind.C (findNextChange): update the bufferview after setting
1292         the selection.
1293
1294 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1295
1296         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1297         number of InsetOptArgs has already been inserted.
1298
1299         * output_latex.C (latexOptArgInsets): new method. This outputs all
1300         the optarg insets, up to the limit defined in the layout file.
1301         (optArgInset): removed
1302         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1303
1304 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1305
1306         * paragraph.C (isLetter): remove special spellchecker-related
1307         code; return true also for digits
1308         (isWord, isKomma): remove
1309
1310         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1311         * lyxfind.C (MatchString()): use isLetter instead of isWord
1312
1313 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1314
1315         * pariterator.h (operatir=): comment out un-implemented member
1316         function.
1317
1318         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1319         static cast.
1320
1321 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1322
1323         * lyxfont.h: include LColor.h to satisfy concept checks.
1324
1325 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1326
1327         * pariterator.h: add typdefs for value_type, difference_type,
1328         pointer and reference to satisfy concept checks. Also add default
1329         constructor for same reason.
1330
1331         * pariterator.C (operator++): add post-increment operator to
1332         satisfy concept checks.
1333
1334         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1335         checks.
1336
1337         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1338
1339         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1340         checks. Also rename base_type to BaseType to follow naming
1341         standard better.
1342
1343         * FloatList.h: include Floating.h to satisfy concept checks.
1344
1345 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1346
1347         * lyxfunc.C (getStatus): when the origin of the request is menu or
1348         toolbar, and the LyXView does not have focus, do as if there was
1349         no buffer (bug 1720)
1350
1351         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1352         FuncRequest to individual entries of LFUN_SEQUENCE
1353
1354 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1355
1356         * output_latex.C (TeXOnePar): override runparams.moving_arg
1357         according to the needprotect value of the current paragraph (bug
1358         1739)
1359
1360         * paragraph.C (simpleTeXOnePar): no need to override
1361         runparams.moving_args here
1362
1363 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1364
1365         * vspace.C: fix off-by-one-error, related to fix #1682
1366
1367 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1368
1369         * lengthcommon.C: a more general fix for bug 1682
1370
1371 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1372
1373         * text.C (backspace): fix crash
1374
1375 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1376
1377         * format.[Ch] (getFormatFromFile): new method
1378         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1379
1380 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1381
1382         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1383
1384 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1385
1386         * lyxfunc.C (dispatch): remove the verbose argument
1387         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1388         instead
1389
1390         * kbmap.C (defkey): set the origin of func to KEYBOARD
1391
1392         * MenuBackend.C (MenuItem):
1393         * ToolbarBackend.C (add): set the origin of func to UI
1394
1395         * funcrequest.[Ch]: add origin member, which indicates which part
1396         of LyX requests an action
1397
1398 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1399
1400         * converter.C (move): don't lie in the error message
1401         * converter.h (isReachable, move): document
1402
1403 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1404
1405         * buffer.C: remove unused using lyx::support::atoi
1406         * paragraph_funcs.C: ditto
1407
1408 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1409
1410         * bufferlist.C (exists): use bind and equal_to instead of
1411         compare_memfun
1412         (getBuffer): ditto
1413         * lyxtextclasslist.C (NumberOfClass): ditto
1414
1415         * cursor.C (insert): use for_each instead of explicit for loop
1416
1417         * bufferlist.C (getFileNames): use std::transform and
1418         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1419
1420         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1421         for loop
1422
1423         * buffer.C (changeLanguage): use for_each instead of explicit for
1424         loop
1425         (hasParWithID): implement using getParFromID
1426
1427         * LaTeXFeatures.C: ws change only
1428
1429         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1430         to cleanup a bit.
1431
1432         * BufferView_pimpl.C (trackChanges): use for_each instead of
1433         expilicit for loop
1434
1435 2004-11-04  André Pönitz  <poenitz@gmx.net>
1436
1437         * undo.h:
1438         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1439
1440         * dociterator.C (asDocIterator): use hard assert again.
1441
1442 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1443
1444         * lyxlength.C (asLatexString): rewrite so that it does not use
1445         snprintf anymore
1446
1447 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1448
1449         * text3.C (specialChar, dispatch): make sure cursor moves to the
1450         right after inserting an inset
1451
1452 2004-11-02  José Matos  <jamatos@lyx.org>
1453
1454         * output_docbook.C (docbook):
1455         * paragraph.C (getID):
1456         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1457         garantee that the output is always legal.
1458
1459         * tabular.C (docbook):
1460         * outputprams.[Ch]: remove mixed contents.
1461
1462 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1463
1464         * text2.C (setCounter): prevent endless loop
1465
1466 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1467
1468         * exporter.C (copyFile): use the mover instead of support::copy()
1469         * exporter.C (Export): pass format and latex name to copyFile()
1470         * exporter.h (addExternalFile): document
1471         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1472
1473 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1474
1475         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1476
1477 2004-10-30  José Matos  <jamatos@lyx.org>
1478
1479         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1480         text and no inset or font change. This allows to use CDATA
1481         sections just for the whole paragraph.
1482
1483 2004-10-30  José Matos  <jamatos@lyx.org>
1484
1485         * paragraph.C (getFirstWord): remove unused variable.
1486
1487 2004-10-30  José Matos  <jamatos@lyx.org>
1488
1489         * paragraph.C (getFirstWord): the content should always be escaped
1490         there.
1491         (simpleDocBookOnePar):
1492         * output_docbook.C (makeEnvironment): replace reference to CDATA
1493         to style pass_thru.
1494
1495 2004-10-30  José Matos  <jamatos@lyx.org>
1496
1497         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1498
1499 2004-10-30  José Matos  <jamatos@lyx.org>
1500
1501         * output_docbook.C (makeParagraphs):
1502         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1503         standard paragraph has only a given type of content drop the wrapper.
1504
1505 2004-10-29  José Matos  <jamatos@lyx.org>
1506
1507         * output_docbook.C (makeEnvironment):
1508         * sgml.C (openTag):
1509         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1510
1511 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1512
1513         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1514         (cleanID): sanitize any id.
1515
1516 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1517
1518         * buffer.C, lyxlex_pimpl.C:
1519         * lyxlex_pimpl.C (setFile):
1520         s/getExtFromContents/getFormatFromContents/
1521
1522 2004-10-28  José Matos  <jamatos@lyx.org>
1523
1524         * output_docbook.C (makeEnvironment): move id to broadest possible
1525         scope.
1526
1527         * sgml.C (openTag): apply substitution of <> for all attributes.
1528
1529 2004-10-28  José Matos  <jamatos@lyx.org>
1530
1531         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1532         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1533         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1534
1535         * sgml.[Ch]: new version for open and closeTag for paragraph and
1536         for strings. Now they handle the ids of paragraphs.
1537
1538 2004-10-26  Angus Leeming  <leeming@lyx.org>
1539
1540         * Makefile.am: add mover.[Ch].
1541
1542         * converter.C (convert, move): use the new Movers to move external
1543         files to the temp directory.
1544
1545         * lyx_main.C (init): ensure that the global system_movers data
1546         is initialised.
1547
1548         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1549         preferences file.
1550
1551         * mover.[Ch]: new files, defining a Mover as a utility to move an
1552         external file between directories and, if necessary, manipulate this
1553         file using a helper script.
1554
1555 2004-10-25  José Matos  <jamatos@lyx.org>
1556
1557         * output_docbook.C (makeCommand): merge two if's that tested the
1558         same condition.
1559
1560 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1561
1562         * sgml.C (escapeString): fix warning in a better way
1563
1564 2004-10-25  José Matos  <jamatos@lyx.org>
1565
1566         * sgml.C (escapeString): import the require boosts header file for
1567         tie, and avoid a signed unsigned comparison.
1568
1569 2004-10-25  José Matos  <jamatos@lyx.org>
1570
1571         * sgml.h: add #include <string>
1572
1573 2004-10-25  José Matos  <jamatos@lyx.org>
1574
1575         * sgml.[Ch] (escapeString): new function to escape all the string.
1576
1577 2004-10-24  José Matos  <jamatos@lyx.org>
1578
1579         * paragraph.[Ch] (getFirstWord): new function to get the first
1580         word. Useful for description.
1581         (simpleDocBookOnePar): remove depth argument, add another that
1582         says where to start the paragraph.
1583
1584         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1585         use the new functions to fix cleanly the support for descriptions.
1586
1587 2004-10-24  José Matos  <jamatos@lyx.org>
1588
1589         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1590         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1591         * output_linuxdoc.C (linuxdocParagraphs):
1592         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1593         add buffer as argument.
1594
1595 2004-10-24  José Matos  <jamatos@lyx.org>
1596
1597         * output_docbook.C (makeEnvironment, searchEnvironment): place
1598         CDATA inside paragraphs and fix scope for listitems.
1599
1600 2004-10-24  José Matos  <jamatos@lyx.org>
1601
1602         * output_docbook.C: remove using statement for stack.
1603
1604 2004-10-23  José Matos  <jamatos@lyx.org>
1605
1606         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1607         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1608         docbook. The new scheme is recursive and makes use of iterators, the
1609         same as latex export works.
1610         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1611         directly with the paragraph contents. This code was moved up to
1612         output_docbook.C (docbookParagraphs).
1613         * sgml.C (openTag, closeTag): removed unneeded newlines.
1614         (closeEnvTags) removed.
1615
1616 2004-10-23  André Pönitz  <poenitz@gmx.net>
1617
1618         * undo.C (textUndoOrRedo):
1619         * dociterator.C (asDocIterator): work around crash
1620
1621         * cursor.C (getStatus): replace ASSERT by more verbose error message
1622           and manual correction of the problem. Should increase stability
1623           while providing more sensible information.
1624
1625 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1626
1627         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1628
1629         * bufferlist.C (previous, next): new methods
1630
1631         * lfuns.h:
1632         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1633
1634 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1635
1636         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1637         entities to preamble.
1638
1639 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1640
1641         * messages.C (Pimpl): strip off translation context information
1642
1643 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1644
1645         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1646         the cursor is correct (bug 1694)
1647
1648 2004-10-13  José Matos  <jamatos@lyx.org>
1649
1650         * output_docbook.C (docbookParagraphs): fix closing tags in the
1651         end of the document.
1652
1653 2004-10-09  José Matos  <jamatos@lyx.org>
1654
1655         * buffer.C: format up to 237.
1656         * bufferparams.C (write): use tostr to convert booleans to strings.
1657
1658 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1659
1660         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1661
1662 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1663
1664         * LaTeX.C: implement use of babel language in xindy.
1665
1666 2004-10-05  José Matos  <jamatos@lyx.org>
1667
1668         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1669         Add new translators to help reading and writing the lyx file.
1670
1671 2004-10-05  José Matos  <jamatos@lyx.org>
1672
1673         * ParagraphParameters.C (read):
1674         * text.C (readParToken): replace nexToken by more appropriate lex
1675         methods.
1676
1677 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1678
1679         * LaTeX.C (runMakeIndex):
1680         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1681         (usually 'makeindex') configurable.
1682
1683         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1684         with a variable rather than with a number.
1685
1686 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1687
1688         * output_latex.C (TeXOnePar): make sure font setting is the first
1689         thing that gets output (and the last at the end). Should fix bug
1690         1404.
1691
1692 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1693
1694         * pch.h: use proper signal include
1695
1696         * LaTeX.h: Use preferred calling of Boost.Signal
1697         * buffer.h: ditto
1698
1699 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1700
1701         * pch.h: dont include <boost/function/function0.hpp>
1702
1703         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1704
1705         * paragraph_pimpl.h: remove usage of ShareContainer
1706
1707         * paragraph_pimpl.C: remove initialization of ShareContainer.
1708
1709 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1710
1711         Fix bug #1666
1712
1713         * BufferView.C (putSelectionAt): change the semantics when
1714         backwards == true: now, this just swaps cursor and anchor wrt the
1715         forward case
1716
1717         * BufferView.h (putSelectionAt): add some documentation
1718
1719         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1720         make sure backwardChar is done at least once (to avoid getting
1721         stuck)
1722         (findNextChange): use putSelectionAt in the forward direction
1723         (operator()): use Paragraph::isWord
1724
1725 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1726
1727         * Spacing.C (set): c_str fix
1728
1729 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1730
1731         * lyx_cb.C (Reconfigure): quote the name of configure script in
1732         case it contains spaces
1733
1734 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1735
1736         * client: new dir
1737
1738         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1739         (BOOST_LIBS): use top_buildir when looking for the file
1740
1741 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1742
1743         * pch.h: do not use include boost/format.hpp, multiple symbols
1744                 will result (gcc bug)
1745
1746
1747 2004-08-23  José Matos  <jamatos@lyx.org>
1748
1749         * bufferparams.C (readToken): fix reading of the author field.
1750
1751 2004-08-20  José Matos  <jamatos@lyx.org>
1752
1753         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1754
1755 2004-08-20  José Matos  <jamatos@lyx.org>
1756
1757         * lyxlex.[Ch] (findToken): remove function.
1758
1759         * ParagraphParameters.C (findToken):
1760         * bufferparams.C (findToken): replace call for previous function
1761         with local copy. This local function has one more argument, the
1762         read string argument.
1763
1764 2004-08-16  José Matos  <jamatos@lyx.org>
1765
1766         * ParagraphParameters.C (write):
1767         * Spacing.C (writeFile):
1768         * bufferparams.C (writeLaTeX):
1769         * lyx_cb.C (Reconfigure):
1770         * paragraph.C (write):
1771         * tabular.C (write): remove unnecessary space at end of line.
1772
1773
1774 2004-08-16  José Matos  <jamatos@lyx.org>
1775
1776         * text.C (readParagraph): remove debug message.
1777
1778 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1779
1780         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1781         crash
1782
1783         * output_plaintext.C (asciiParagraph): set depth correctly
1784
1785         * outputparams.h: add member depth
1786
1787         * paragraph_funcs.C (ownerPar): remove.
1788
1789         * text2.C (setCounter): remove first_pit; comment out some
1790         non-working code that uses ownerPar
1791
1792         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1793         uses ownerPar
1794
1795 2004-08-16  José Matos  <jamatos@lyx.org>
1796
1797         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1798         For the same level of importance use the same chanel to report problems.
1799         (read): add code to deal with \begin_body and \end_body.
1800
1801
1802 2004-08-15  José Matos  <jamatos@lyx.org>
1803
1804         * lyxlex.C (getString): fix comment, buffer::readBody is now
1805         buffer:readDocument.
1806
1807         * tex-strings.C (string_papersize): Default -> default,
1808         Custom -> custom, for consistency with other options.
1809
1810 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1811
1812         * pch.h: new file
1813
1814         * Makefile.am: support pch
1815
1816 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1817
1818         * text.C (readParToken): remove the static LyXFont variable and
1819         pass it as a parameter instead. This fixes a nasty bug where an
1820         inset will be inserted with a bad font in some situations
1821         (readParagraph): adapt
1822
1823         * text2.C (setCounter): reduce number of calls to pars_[pit]
1824
1825         * text.C (singleWidth): add an assert, fix a test
1826
1827         * rowpainter.C (paintText): reduce number of calls to singleWidth
1828
1829         * paragraph.C (isHfill):
1830         (isNewline): ws only
1831
1832 2004-08-14  André Pönitz  <poenitz@gmx.net>
1833
1834         * text.C:
1835         * text2.C:
1836         * rowpainter.C:
1837         * lyxtext.h (several functions): use a Paragraph & argument
1838         instead of par_type
1839
1840 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1841
1842         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1843
1844         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1845
1846         * text.C (singleWidth): remove useless test
1847
1848 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1849
1850         * tabular.h: remove bogus comments
1851
1852         * tabular.C (getDescentOfRow):
1853         (isPartOfMultiColumn): add assertions
1854
1855         * lyxlength.C (inPixels): remove #warning
1856
1857 2004-08-14  André Pönitz  <poenitz@gmx.net>
1858
1859         * paragraph.h: inline getChar()
1860
1861         * BufferView.h: remove unused declarations
1862
1863 2004-08-14  José Matos  <jamatos@lyx.org>
1864
1865         * Buffer.[Ch] (readDocument): new name for old readBody.
1866         * Buffer.C: new file format, new keywords: \begin_document,
1867         \begin_header, \begin_body, \end_body.
1868
1869         * bufferparams.C (readToken): replace all calls to lex.nextToken
1870         by lex.next(). Do the same to eatLine except where really needed.
1871
1872         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1873         line when writing to the lyx file.
1874
1875         * output_plaintext.C (asciiParagraph): fix Bibliography style
1876         handling.
1877
1878         * text.C (read): fix end of file handling.
1879
1880 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1881
1882         * MenuBackend.C (Menu::operator[]): new method to access
1883         individual menu items
1884         (Menu::hasFunc): new method. search for an item that corresponds
1885         to a given func
1886         (MenuBackend::specialMenu): new method
1887         (MenuBackend::expand): if a special menu has been set, skip
1888         entries whose func() appears in this menu
1889
1890 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1891
1892         * text3.C: use Debug::DEBUG a bit more
1893
1894         * text.C (leftMargin): try to simplify a tiny bit change var x to
1895         l_margin. Dont output the wide margins always.
1896         (rightMargin): no margin in inner texts
1897
1898         * rowpainter.h (nestMargin): new func
1899         (changebarMargin): new func
1900         (rightMargin): new func
1901
1902         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1903         now functions.
1904         (paintLast): ditto
1905
1906         * factory.C (createInset): modify setDrawFrame
1907
1908         * cursor.C: use Debug::DEBUG a bit more
1909
1910 2004-08-14  André Pönitz  <poenitz@gmx.net>
1911
1912         * coordcache.[Ch]:
1913         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1914         cache for all insets in (at least partially) visible (top-level)
1915         paragraphs.
1916
1917         * BufferView_pimpl.C: reset external coord cache before every update.
1918         This means the coord cache only contains valid entries.
1919
1920 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1921
1922         bug 1096
1923         * BufferView_pimpl.C (getInsetByCode): move function out of class
1924         and change in to a template in anon namespace. Also fix to do what
1925         suits us better.
1926
1927 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1928
1929         bug 1305
1930         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1931         of char
1932         (breakParagraph): rename par to par_offset and use a local
1933         reference. Add code to keep the language over a rebreak.
1934         (breakParagraphConservative): rename par to par_offset, use a
1935         local reference
1936         (mergeParagraph): ditto
1937         (outerHook): ditto
1938         (isFirstInSequence): ditto
1939         (outerFont): rename pit to par_offset
1940
1941         * paragraph.C: ws change
1942         * paragraph.h: ditto
1943         * text3.C: ditto
1944         * text.C: ditto
1945
1946 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1947
1948         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1949         treatment for ']'
1950
1951         * paragraph.C (simpleTeXOnePar): when we have a \item with
1952         optional argument, enclose the argument with curly brackets (in
1953         case it contains a closing square bracket)
1954
1955         * text2.C (editXY):
1956         * text2.C (editXY):
1957         * text3.C (checkInsetHit): constify
1958
1959 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1960
1961         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1962         documents (bug 1629)
1963
1964 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1965
1966         Fix toggling of collapsable insets with the mouse (bug 1558)
1967
1968         * lyxfunc.C (dispatch): adapt to LCursor changes
1969
1970         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1971         make sure that dispatch is not invoked twice
1972
1973         * cursor.C (needsUpdate): new method
1974         (dispatch): return void
1975         (result): new method, to access the DispatchResult of the cursor.
1976
1977 2004-08-13  José Matos  <jamatos@lyx.org>
1978
1979         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1980
1981 2004-08-13  André Pönitz  <poenitz@gmx.net>
1982
1983         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1984
1985         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1986           multiple cells
1987
1988 2004-08-12  André Pönitz  <poenitz@gmx.net>
1989
1990         * text3.C: take out the 'cursor right' form insertInset and only
1991         do it in those places when it is really needed. Fixes crash on
1992         C-m...
1993
1994 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1995
1996         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1997
1998         * BufferView_pimpl.C (setBuffer): initialize the current font of
1999         the underlying LyXText
2000
2001 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2002
2003         * kbsequence.C (print): use UI native formatting for menu
2004         shortcuts
2005
2006         * text.C (insertChar): call Paragraph::insertChar with a font
2007         argument (cosmetic)
2008
2009         * paragraph.C (insertInset, insertChar): the version that takes a
2010         LyXFont argument is now a wrapper around the other one (the
2011         opposite used to be true).
2012
2013         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2014         argument. Font setting is done in Paragraph now.
2015
2016 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2017
2018         * outputparams.h: add new members intitle and lang.
2019
2020         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2021         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2022
2023 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2024
2025         * text3.C (dispatch): remove special handling of button 4 and 5,
2026         it is now taken care of in the frontend code.
2027
2028 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2029
2030         * Spacing.h: add <string> (STLPort compile fix)
2031
2032 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2033
2034         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2035
2036 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2037
2038         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2039         to bool.
2040
2041         * converter.C (showMessage): inherit from unary_function, make
2042         operator() const.
2043
2044         * buffer.C (writeFile): initialize retval
2045
2046         * InsetList.h: rename private variable list to list_
2047         * InsetList.[Ch]: adjust accordingly.
2048
2049 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2050
2051         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2052         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2053         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2054         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2055         * ParagraphParameters.C, LaTeXFeatures.C: replace
2056         "support/std_sstream.h" with <sstream>
2057
2058 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2059
2060         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2061         * lyxsocket.C (LyXServerSocket): ditto
2062         (serverCallback): ditto
2063
2064 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2065
2066         * LaTeXFeatures.C: check release date when loading jurabib.
2067
2068 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2069
2070         * lyxserver.C (startPipe): call register_socket_callback
2071         (endPipe): call unregister_socket_callback
2072
2073 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2074
2075         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2076         (LyXServerSocket): register the callback
2077         (LyXServerSocket): unregister the callback
2078         (fd): delete function
2079         (serverCallback): improve error checking and setup the callbacks.
2080         (dataCallback): change arg to fd.
2081         (writeln): new func (copied fro the client socket) used for server
2082         write to client.
2083         (LyXDataSocket): simplify
2084         (~LyXDataSocket): close ann unregiser callback
2085         (server): delete function
2086         (fd): delete function
2087         (readln): small changes, improve some std::string usage
2088         (writeln): constify a bit
2089
2090 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2091
2092         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2093         Qt frontend
2094
2095 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2096
2097         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2098         after it has been populated
2099
2100 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2101
2102         * text2.C (insertInset): move cursor when inserting inset.
2103
2104 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2105
2106         * kbmap.C (findbindings): a couple of new methods. returns a
2107         container of kb_sequence objects. The real work is done by the
2108         private recursive version
2109         (printbindings): uses findbindings to print out a bracketed list
2110         of bindings (renamed from findbinding).
2111
2112         * MenuBackend.C (binding): use kb_keymap::findbindings
2113
2114         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2115
2116 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2117
2118         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2119
2120 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2121
2122         * paragraph.C (isWord): return true on insets that report
2123         isLetter().
2124
2125         * text.C (getWord): use Paragraph::isWord to decide what is in a
2126         word and what is not; fix bug 1609.
2127
2128 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2129
2130         * tex-strings.C: add "none" to string_paperpackages[], fixes
2131         off-by-one-error in the paperpackage selection.
2132
2133         * lyxlex.[Ch]:
2134         * tex-strings.[Ch]: char const * string[n]
2135         -> char const * const string[]
2136
2137 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2138
2139         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2140         command, return early.
2141
2142 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2143
2144         * debug.h: add DEBUG to enum and fix size of ANY.
2145
2146         * debug.C: add support for Debug::DEBUG
2147         (showTags): cast errorTags.level to unsigned int
2148
2149         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2150         (redoCurrentBuffer): ditto
2151         (updateScrollbar): ditto
2152         * cursor.C (dispatch): ditto
2153         * text2.C (setLayout): ditto
2154         (setFont): ditto
2155         (updateCounters): ditto
2156         (editXY): ditto
2157         (deleteEmptyParagraphMechanism): ditto
2158
2159 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2160
2161         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2162         annotations to cleanup the Makefile slightly.
2163
2164 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2165
2166         * lyxrc.C: do not set user_email to a default value but use empty
2167         instead. The entry used to be translated, which does not work
2168         since at the point where lyxrc is constructed there is no
2169         translation service available
2170
2171         * messages.C (getLocaleDir): remove and use directly
2172         lyx_localedir() instead
2173
2174 2004-06-02  Angus Leeming  <leeming@lyx.org>
2175
2176         Fix crash caused by dereferencing null pointer 'exportdata' in
2177         OutputParams by creating a new ExportData variable on the heap,
2178         storing it in a boost::shared_ptr.
2179         The crash was triggered when generating an Instant Preview
2180         of an external inset.
2181
2182         * Makefile.am: add outputparams.C
2183
2184         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2185         (c-tor): allocate memory to it.
2186
2187         * exporter.C (c-tor): associated changes.
2188
2189 2004-06-01  Angus Leeming  <leeming@lyx.org>
2190
2191         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2192         contains data before calling isInset(0). (Bug 1513.)
2193
2194 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2195
2196         * exporter.C (checkOverwrite): new method
2197         * exporter.C (copyFile): new method
2198         * exporter.C (Export): copy referenced files to the document dir
2199         * exporter.[Ch]: new class ExportedFile
2200         * exporter.[Ch]: new class ExportData. Contains currently the
2201         names of referenced external files
2202         * outputparams.h: add exportdata member.
2203
2204 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2205
2206         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2207         version.C-tmp
2208
2209 2004-05-19  Angus Leeming  <leeming@lyx.org>
2210
2211         * LaTeXFeatures.C:
2212         * ToolbarBackend.C:
2213         * bufferparams.C:
2214         * lyxfunc.C: small changes due to the introduction of namespace
2215         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2216
2217 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2218
2219         * text3.C (dispatch): supress update when only moving the cursor
2220         * cursor.C (selHandle): remove commented code
2221
2222 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2223
2224         * paragraph.C (startTeXParParams): correct column count
2225         * CutAndPaste.C (pasteSelection): remove const_cast
2226         * output_docbook.C (docbookParagraphs): remove const_cast
2227         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2228         const_cast and return ParagraphList::const_iterator
2229         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2230         * output_plaintext.C (writeFileAscii): remove const_cast
2231         * paragraph.[Ch] (simpleTeXOnePar): make const
2232         * paragraph_funcs.C (outerPar): use const iterators
2233         * paragraph_pimpl.C (validate): use const iterators
2234         * text.C (setHeightOfRow): use const iterators
2235
2236 2004-05-17  Angus Leeming  <leeming@lyx.org>
2237
2238         * lfuns.h:
2239         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2240
2241         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2242         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2243         if the citation engine has changed.
2244
2245 2004-05-14  José Matos  <jamatos@lyx.org>
2246
2247         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2248         if the textclass does not provide it. Have it different for sgml and
2249         xml.
2250         support the language of document.
2251         * output_docbook.C (docbookParagraphs):
2252         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2253         first anchor as the id of the paragraph, remove special case code.
2254         * sgml.C (escapeChar): escape only < & >.
2255
2256 2004-05-14  Angus Leeming  <leeming@lyx.org>
2257
2258         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2259         dependencies on src/frontends/controllers/biblio.h. Define a
2260         CiteEngine_enum wrapper class to enable the enum to be forward
2261         declared.
2262
2263 2004-05-12  Angus Leeming  <leeming@lyx.org>
2264
2265         * buffer.C: up LYX_FORMAT to 234.
2266         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2267         use_numerical_citations with a single biblio::CiteEngine cite_engine
2268         variable.
2269         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2270
2271 2004-05-13  José Matos  <jamatos@lyx.org>
2272
2273         * converter.h:
2274         * converter.C (Converter, readFlags): add xml member.
2275         * outputparams.h: add XML flavor.
2276         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2277
2278 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2279
2280         * lyxfunc.C (dispatch):
2281         (getStatus): fix handling of LFUN_SEQUENCE
2282
2283 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2284
2285         * debug.C (showLevel): do not forget the end-of-line marker
2286
2287 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2288
2289         * kbmap.C (read): do not stop parsing a bind file when an error
2290         occurs (bug 1575)
2291
2292 2004-04-29  Angus Leeming  <leeming@lyx.org>
2293
2294         * cursor.C:
2295         * factory.C:
2296         * pariterator.C:
2297         * text2.C: wrap a bunch of #warning statements
2298         inside #ifdef WITH_WARNINGS blocks.
2299
2300 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2301
2302         * buffer.C: increment format to 233.
2303
2304 2004-04-28  Angus Leeming  <leeming@lyx.org>
2305
2306         * BufferView_pimpl.C:
2307         * lyxfunc.C:
2308         * text3.C:
2309         s/updateToolbar()/updateToolbars()/
2310         s/Toolbar.h/Toolbars.h/
2311
2312 2004-04-28  Angus Leeming  <leeming@lyx.org>
2313
2314         * BufferView.[Ch] (c-tor):
2315         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2316         No longer passes these data to the WorkArea generator.
2317
2318 2004-04-28  Angus Leeming  <leeming@lyx.org>
2319
2320         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2321
2322 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2323
2324         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2325
2326 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2327
2328         * output_latex.C (TeXEnvironment): make sure that there is a line
2329         break before \end{foo} for the last paragraph of a document
2330         (TeXOnePar): if the paragraph is at the end of the document (or
2331         inset) and the language has to be reset, then make sure that the
2332         line break is _before_ the language command, not after (fixes bug
2333         1225); also make sure that the language reset command is the first
2334         thing after the paragraph (to ensure proper nesting of
2335         environments and thus fix bug 1404)
2336
2337 2004-04-21  John Levon  <levon@movementarian.org>
2338
2339         * ToolbarBackend.h:
2340         * ToolbarBackend.C: make "name" be a programmatic name
2341         and a gui_name field.
2342
2343         * lyxfunc.C: display the minibuffer on M-x
2344
2345 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2346
2347         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2348         (bug 1526)
2349
2350 2004-04-19  Angus Leeming  <leeming@lyx.org>
2351
2352         * BufferView_pimpl.C (setBuffer): changed preview interface.
2353
2354         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2355         possible values.
2356
2357 2004-04-19  John Levon  <levon@movementarian.org>
2358
2359         * BufferView_pimpl.C:
2360         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2361
2362 2004-04-05  Angus Leeming  <leeming@lyx.org>
2363
2364         * text.C (redoParagraphs): add call to updateCounters(), thereby
2365         fixing the missing "Figure #:" label from the caption of a
2366         figure float.
2367
2368 2004-04-13  Angus Leeming  <leeming@lyx.org>
2369
2370         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2371         cursor is clicked out of an inset.
2372
2373 2004-04-13  Angus Leeming  <leeming@lyx.org>
2374
2375         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2376         than an InsetOld one.
2377
2378 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2379
2380         * format.[Ch]: add editor to Format
2381         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2382         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2383
2384 2004-04-08  André Pönitz  <poenitz@gmx.net>
2385
2386         * metricsinfo.h: remove PainterInfo::width member
2387
2388 2004-04-08  Angus Leeming  <leeming@lyx.org>
2389
2390         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2391         "\providecommand" rather than "\newcommand", thereby preventing
2392         clashes with packages that define "\boldsymbol" themselves.
2393         Eg, beamer.
2394
2395 2004-04-08  Angus Leeming  <leeming@lyx.org>
2396
2397         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2398         thereby squashing an unnecessary warning.
2399
2400 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2401
2402         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2403         setBuffer()
2404
2405 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2406
2407         * BufferView.C (setCursor): call redoParagraph (some insets could
2408         have been opened)
2409         (putSelectionAt): remove the 'double update' trick
2410
2411         * BufferView_pimpl.C (fitCursor): call refreshPar
2412         (workAreaDispatch): remove an uneeded update call
2413         (dispatch): remove some manual update calls
2414
2415         * cursor.[Ch]: remove cached_y_, updatePos
2416         (selHandle): set noUpdate when appropriate
2417
2418         * lyxfunc.C (dispatch): track if we need an update
2419
2420         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2421
2422         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2423         (paintSelection): cheap optimization, do not call cursorX when not
2424         needed
2425         (paintPars): change signature
2426         (refreshPar): add
2427         (paintText): adjust
2428         (paintTextInset): adjust
2429
2430         * text.C: adjust
2431
2432 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2433
2434         * lengthcommon.C: compilation fix: remove explicit array size from
2435         unit_name[] and friends
2436
2437 2004-04-05  Angus Leeming  <leeming@lyx.org>
2438
2439         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2440
2441         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2442         present only for the preferences dialog.
2443         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2444
2445 2004-04-05  Angus Leeming  <leeming@lyx.org>
2446
2447         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2448         to enable the frontends to export changes to lyxrc correctly.
2449
2450         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2451
2452 2004-04-07  André Pönitz  <poenitz@gmx.net>
2453
2454         * cursor.[Ch] (selClear, adjust): remove math
2455
2456         * cursor_slice.C: more agressive assert
2457
2458         * lyxfunc.C:
2459         * BufferView_pimpl.C: rework mouse event dispatch
2460
2461         * dociterator.C:
2462         * paragraph.C:
2463         * text2.C:
2464         * text3.C: adjust
2465
2466 2004-04-05  André Pönitz  <poenitz@gmx.net>
2467
2468         * cursor.[Ch] (valign, halign...): remove unneeded functions
2469
2470 2004-04-05  Angus Leeming  <leeming@lyx.org>
2471
2472         * lyxlength.[Ch] (unit_name et al.): const-correct.
2473
2474 2004-04-05  Angus Leeming  <leeming@lyx.org>
2475
2476         * BufferView_pimpl.C:
2477         * buffer.C:
2478         * counters.C:
2479         * cursor.C:
2480         * lyxfunc.C
2481         * paragraph.C:
2482         * pariterator.C:
2483         * text.C:
2484         * text2.C:
2485         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2486
2487 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2488
2489         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2490
2491 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2492
2493         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2494         * BufferView_pimpl.[Ch] (getStatus)
2495         * BufferView.[Ch] (getStatus): add
2496         * lyxfunc.C (getStatus): move lfuns handled in
2497         BufferView::dispatch to te function above
2498         * Cursor.C (setSelection): set selection() = true
2499
2500 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2501
2502         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2503
2504 2004-03-31  Angus Leeming  <leeming@lyx.org>
2505
2506         * lyxfunc.C (dispatch): Fall through to the generic
2507         Dialogs::show("preamble").
2508
2509 2004-03-31  Angus Leeming  <leeming@lyx.org>
2510
2511         * lyxfunc.C (dispatch): Fall through to the generic
2512         Dialogs::show("spellchecker").
2513
2514 2004-03-31  Angus Leeming  <leeming@lyx.org>
2515
2516         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2517         preferences dialog.
2518
2519 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2520
2521         * BufferView.C
2522         * cursor.[Ch]
2523         * dociterator.[Ch]:
2524         * insetiterator.[Ch]:
2525         * lyxfind.C:
2526         * lyxfunc.C:
2527         * pariterator.[Ch]:
2528         * text2.C:
2529         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2530
2531 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2532
2533         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2534         insets where we are putting the cursor.
2535
2536 2004-03-31  Angus Leeming  <leeming@lyx.org>
2537
2538         * lfuns.h:
2539         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2540
2541         * lyxrc.[Ch] (read, write): overloaded member functions taking
2542         a std::[io]stream arguments.
2543
2544         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2545
2546 2004-03-31  Angus Leeming  <leeming@lyx.org>
2547
2548         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2549         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2550
2551         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2552         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2553
2554 2004-03-31  Angus Leeming  <leeming@lyx.org>
2555
2556         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2557         the LFUN_ALL_INSETS_TOGGLE code.
2558
2559 2004-03-30  Angus Leeming  <leeming@lyx.org>
2560
2561         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2562         has died. Fall through to the generic Dialogs::show("document").
2563
2564 2004-03-30  Angus Leeming  <leeming@lyx.org>
2565
2566         * lfuns.h:
2567         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2568         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2569
2570         * lyxfunc.C (getStatus, dispatch): define the actions for these
2571         lfuns. Little more than a cut and pste job from ControlDocument.C
2572
2573         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2574
2575 2004-03-30  Angus Leeming  <leeming@lyx.org>
2576
2577         * lfuns.h:
2578         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2579         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2580
2581         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2582         open/closed state of ollapsable insets. Usage:
2583
2584         all-inset-toggle <state> <name>, where
2585         <state> == "open" || "closed" || "toggle" and
2586         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2587
2588         * lyxtext.h, text2.C (toggleInset): removed.
2589
2590         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2591         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2592         now passes LFUN_INSET_TOGGLE to the found inset.
2593
2594         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2595         is now invoked as "all-insets-toggle toggle branch".
2596
2597 2004-03-30  Angus Leeming  <leeming@lyx.org>
2598
2599         * dociterator.C:
2600         * insetiterator.C:
2601         * pariterator.[Ch]: added/corrected header blurb.
2602
2603 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2604
2605         * dociterator.[Ch]: add an inset_ member
2606         (backwardPos): implemented
2607         (backwardPos, forwardPos): use inset_ when the stack is empty.
2608         (doc_iterator_begin, doc_iterator_end): implemented
2609         * pariterator.[Ch]: adjust, add begin, end
2610         * insetiterator.[Ch]: adjust, add begin, end
2611         * cursor.C:
2612         * document.C:
2613         * BufferView.C:
2614         * BufferView_pimpl.C:
2615         * CutAndPaste.C: adjust
2616
2617 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2618
2619         * buffer.C: increment file format to 232.
2620         * LaTeXFeatures.C: add bibtopic package.
2621         * bufferparams.[Ch]: param \use_bibtopic.
2622
2623         * lyxrc.[Ch]: add lyxrc bibtex_command
2624         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2625
2626         * buffer.C: increment file format to 231.
2627
2628 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2629
2630         * dociterator.C: implement forwardPar
2631         * iterators.[Ch]: remove, replaced by
2632         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2633         * BufferView.C:
2634         * BufferView_pimpl.C:
2635         * CutAndPaste.C:
2636         * buffer.C:
2637         * bufferview_funcs.C:
2638         * cursor.C:
2639         * lyxfind.C
2640         * lyxfunc.C
2641         * paragraph_funcs.C
2642         * toc.C:
2643         * Makefile.am: adjust
2644
2645 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2646
2647         * CutAndPaste.C (pasteSelection): fix 2 crashes
2648         (eraseSelection): fix a crash
2649         * paragraph_funcs.C: remove a warning
2650
2651 2004-03-28  Angus Leeming  <leeming@lyx.org>
2652
2653         * lfuns.h:
2654         * LyXAction.C (init): new LFUN_PRINT.
2655
2656         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2657
2658 2004-03-27  Angus Leeming  <leeming@lyx.org>
2659
2660         * lfuns.h:
2661         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2662
2663         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2664
2665 2004-03-27  Angus Leeming  <leeming@lyx.org>
2666
2667         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2668         insetlist always contains non-null pointers to insets.
2669
2670 2004-03-26  Angus Leeming  <leeming@lyx.org>
2671
2672         * src/BufferView_pimpl.C:
2673         * src/CutAndPaste.C:
2674         * src/buffer.C:
2675         * src/iterators.C:
2676         * src/output_plaintext.C:
2677         * src/outputparams.h:
2678         * src/paragraph_funcs.C:
2679         * src/rowpainter.C:
2680         * src/text.C:
2681         * src/text2.C:
2682         * src/frontends/controllers/ControlErrorList.C:
2683         * src/frontends/gtk/FileDialogPrivate.C:
2684         * src/frontends/gtk/GPainter.C:
2685         * src/frontends/gtk/GToolbar.C:
2686         * src/frontends/qt2/QRef.C:
2687         * src/mathed/math_scriptinset.C: squash compiler warnings.
2688
2689 2004-03-26  Angus Leeming  <leeming@lyx.org>
2690
2691         * ispell.C (LaunchIspell::start):
2692         * lyx_cb.C (AutoSaveBuffer::start):
2693         invoke run(DontWait) rather than runNonBlocking().
2694
2695 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2696
2697         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2698
2699 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2700
2701         * kbsequence.C (print): adjust
2702
2703         * kbmap.C (printKeySym): rename and change signature
2704         (printKey): use LyXKeySym::print()
2705
2706 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2707
2708         * undo.C: add using std::advance to compile for stlport
2709
2710 2004-03-24  Angus Leeming  <leeming@lyx.org>
2711
2712         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2713         it leads to a crash when no buffer is present.
2714
2715 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2716             Martin Vermeer  <martin.vermeer@hut.fi>
2717
2718         * lyxfunc.C (dispatch):
2719         * bufferparams.C (readToken): use the new LColor::setColor
2720
2721         * LColor.[Ch] (setColor): new version that takes two strings as
2722         argument and creates a new color entry if necessary
2723
2724 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2725
2726         * buffer.C (makeLaTeXFile): if the main latex file that is
2727         processed is usually a subdocument of some master, then pretend
2728         for a while that it is actually the master
2729
2730 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2731
2732         * buffer.C (getLabelList):
2733         (getBibkeyList): use getMasterBuffer()
2734         (getMasterBuffer): new method. Returns the main document in the
2735         case where one is using included documents.
2736
2737 2004-03-25  André Pönitz  <poenitz@gmx.net>
2738
2739         * Makefile.am:
2740         * iterators.[Ch]:
2741         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2742
2743         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2744
2745         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2746         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2747
2748         * ParameterStruct.h: merge with ParagraphParameters
2749
2750         * lyxtext.h: remove LyXText::parOffset() and getPar()
2751
2752         * text3.C: Remove all 'manual' update calls. We do now one per user
2753         interaction which is completely sufficient.
2754
2755         * Bidi.C:
2756         * BufferView.[Ch]:
2757         * BufferView_pimpl.C:
2758         * FontIterator.[Ch]:
2759         * MenuBackend.C:
2760         * ParagraphParameters.[Ch]:
2761         * buffer.C:
2762         * buffer.h:
2763         * bufferlist.C:
2764         * cursor.[Ch]:
2765         * cursor_slice.[Ch]:
2766         * dociterator.[Ch]:
2767         * errorlist.[Ch]:
2768         * factory.C:
2769         * lfuns.h:
2770         * lyxfind.C:
2771         * lyxfunc.C:
2772         * output_docbook.[Ch]:
2773         * output_latex.[Ch]:
2774         * output_linuxdoc.[Ch]:
2775         * output_plaintext.[Ch]:
2776         * paragraph.[Ch]:
2777         * paragraph_funcs.[Ch]:
2778         * paragraph_pimpl.[Ch]:
2779         * rowpainter.C:
2780         * tabular.[Ch]:
2781         * text.C:
2782         * text2.C:
2783         * toc.C:
2784         * undo.[Ch]: adjust
2785
2786         * frontends/controllers/ControlDocument.C:
2787         * frontends/controllers/ControlErrorList.C:
2788         * frontends/controllers/ControlSpellchecker.C:
2789         * insets/inset.C:
2790         * insets/inset.h:
2791         * insets/insetbase.h:
2792         * insets/insetbibitem.C:
2793         * insets/insetbox.C:
2794         * insets/insetbranch.C:
2795         * insets/insetcaption.C:
2796         * insets/insetcharstyle.C:
2797         * insets/insetcharstyle.h:
2798         * insets/insetcollapsable.C:
2799         * insets/insetcollapsable.h:
2800         * insets/insetert.C:
2801         * insets/insetfloat.C:
2802         * insets/insetfoot.C:
2803         * insets/insetmarginal.C:
2804         * insets/insetnote.C:
2805         * insets/insetoptarg.C:
2806         * insets/insettabular.C:
2807         * insets/insettext.C:
2808         * insets/insettext.h:
2809         * insets/insetwrap.C:
2810         * mathed/math_mboxinset.C:
2811         * mathed/math_nestinset.C:
2812         * mathed/math_scriptinset.C:
2813         * mathed/math_scriptinset.h:
2814         * support/types.h:
2815
2816 2004-03-24  Angus Leeming  <leeming@lyx.org>
2817
2818         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2819         deal with any child processes that have finished but are waiting to
2820         communicate this fact to the rest of LyX.
2821
2822 2004-03-24  Angus Leeming  <leeming@lyx.org>
2823
2824         64-bit compile fixes.
2825
2826         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2827         (c-tor): pass lyx::pos_types rather than ints.
2828
2829         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2830         lyx::pos_type.
2831
2832         * text.C (Delete): compile fix.
2833         (getPar): ensure that function declaration is the same as that in
2834         the header file.
2835
2836 2004-03-23  Angus Leeming  <leeming@lyx.org>
2837
2838         * ispell.C (LaunchIspell):
2839         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2840         a boost::shred_ptr rather than a std::auto_ptr.
2841
2842 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2843
2844         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2845         handle LFUN_FILE_INSERT_*
2846
2847         * lyxrc.C (setDefaults, getDescription, output, read):
2848         * lyxrc.h: remove ps_command
2849
2850 2004-03-22  Angus Leeming  <leeming@lyx.org>
2851
2852         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2853         Ensure that error_handler is processed once only and that all data
2854         is saved before attempting to output any warning messages.
2855
2856         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2857
2858 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2859
2860         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2861
2862 2004-03-19  André Pönitz  <poenitz@gmx.net>
2863
2864         * cursor.[Ch] (reset): take main text inset as argument
2865
2866         * BufferView: adjust
2867         * BufferView_pimpl.C: adjust
2868
2869         * paragraph.[Ch]: fix completely broken operator=()
2870
2871 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2872
2873         * LColor.C (getFromLyXName): make sure that the color name is used
2874         as lowercase.
2875
2876 2004-03-17  Angus Leeming  <leeming@lyx.org>
2877
2878         * lfuns.h:
2879         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2880
2881         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2882         dialog and to kill a forked process.
2883
2884 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2885
2886         * text2.C (setCursorFromCoordinates): fix font problem
2887
2888 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2889
2890         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2891         bogus "rebuild cursor" code
2892
2893 2004-03-11  André Pönitz  <poenitz@gmx.net>
2894
2895         * buffer.[Ch]: use InsetText instead of LyXText as container for
2896         the main lyx text.
2897
2898         * dociterator.[Ch]: drop the BufferView * member which is not needed
2899         anymore after the change to buffer.C
2900
2901         * paragraph_funcs.C:
2902         * text.C:
2903         * text2.C:
2904         * BufferView.[Ch]:
2905         * BufferView_pimpl.[Ch]:
2906         * cursor.[Ch]:
2907         * cursor_slice.[Ch]: adjust
2908
2909         * text3.C: fix bug in mathDispatch
2910
2911 2004-03-08  André Pönitz  <poenitz@gmx.net>
2912
2913         * undo.[Ch]: use 'StableDocumentIterator' as base for
2914         the Undo struct.
2915
2916 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2917
2918         * LaTeXFeatures.C:
2919         * bufferparams.[Ch]: add jurabib support and param.
2920
2921         * LaTeX.C: add FIXME/comment.
2922
2923 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2924
2925         * buffer.C: increment file format to 230.
2926
2927 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2928
2929         * cursor.C (dispatch): avoid infinite loops
2930
2931 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2932
2933         * rowpainter.C (paintSelection): fix x coordinates
2934
2935 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2936
2937         * text.C (rowBreakPoint): fix breaking before displayed insets
2938
2939 2004-03-01  André Pönitz  <poenitz@gmx.net>
2940
2941         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2942
2943         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2944
2945         * Makefile.am:
2946         * BufferView.C:
2947         * BufferView_pimpl.C:
2948         * buffer.C:
2949         * lyxfind.C:
2950         * lyxfunc.C:
2951         * text.C:
2952         * text2.C:
2953         * text3.C: adjust
2954
2955 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2956
2957         * lyxtext.h:
2958         * text.C:
2959         * text2.C:
2960         * rowpainter.C:
2961         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2962         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2963
2964 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2965
2966         * Bidi.[Ch] (computeTables): const correctness
2967         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2968         fill_hfill, fill_label_hfill and x from Row
2969         * lyxtext.h: prepareToPrint returns a RowMetrics
2970         * rowPainter.C: adjust
2971         * text.C (prepareToPrint): use width, not textWidth. adjust
2972         (redoParagraphInternal, cursorX): adjust
2973         * text2.C (getColumnNearX): adjust
2974         (init): put a default value to the top LyXText::width
2975
2976 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2977
2978         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2979
2980 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2981
2982         * lyxtext.h: add FontIterator class
2983
2984         * text.C (FontIterator, operator*, operator->, operator++): add
2985         (rowBreakPoint, setRowWidth): adjust (fixing a
2986         rebreaking bug)
2987
2988 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2989
2990         * BufferView_pimpl.C (workAreaDispatch): allow also
2991         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2992
2993 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2994
2995         * text.C (rowBreakPoint): fix a bug showing with very large insets
2996
2997 2004-02-25  André Pönitz  <poenitz@gmx.net>
2998
2999         * text3.C:
3000         * cursor.[Ch]: move some mathed specific code to mathed
3001
3002 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3003
3004         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3005         use_tempdir in preferences
3006         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3007         tempfile creation
3008         * lyx_main.C: ensure that tempdir is valid
3009         * lyxlex.h: correct typo
3010         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3011         * paragraph.[Ch] (isMultiLingual): make const
3012         * cursor.[Ch] (openable): make const
3013
3014 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3015
3016         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3017
3018 2004-02-20  André Pönitz  <poenitz@gmx.net>
3019
3020         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3021
3022         * cursor.[Ch]: prepare for localized getStatus()
3023
3024         * lyxtext.h:
3025         * tabular.C:
3026         * text.C:
3027         * text2.C:
3028         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3029
3030 2004-02-20  André Pönitz  <poenitz@gmx.net>
3031
3032         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3033
3034 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3035
3036         * text2.C (setCursorFromCoordinates): switch to absolute coords
3037         (cursorUp): adjust
3038         (cursorDown): adjust
3039         * text3.C (dispatch): adjust
3040
3041 2004-02-16  André Pönitz  <poenitz@gmx.net>
3042
3043         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3044           insets/ChangeLog)
3045
3046         * cursor_slice.[Ch]: remove unneeded acessor function
3047
3048         * lyxtext.h: rename rtl() to isRTL()
3049
3050         * rowpainter.C:
3051         * tabular.C:
3052         * text.C:
3053         * text2.C:
3054         * text3.C: adjust
3055
3056 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3057
3058         * rowpainter.C (paintSelection): coord fix
3059
3060 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3061
3062         * Spacing.C: compile fix
3063
3064 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3065
3066         * cursor.C (dispatch): restore current_ before returning
3067
3068 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3069
3070         * text2.C (cursorUp, cursorDown): fix coords
3071         (moveUp): fix crash
3072
3073 2004-02-12  André Pönitz  <poenitz@gmx.net>
3074
3075         * lyxtext.h:
3076         * text.C:
3077         * text2.C:
3078         * text3.C: add LCursor & parameter to most cursor movement functions
3079           remove usage of LyXText::cursorRow() and cursorPar()
3080
3081         * cursor.[Ch]: add textRow() needed members
3082
3083         * BufferView.C:
3084         * BufferView_pimpl.C:
3085         * paragraph.[Ch]:
3086         * BufferView.C:
3087         * BufferView_pimpl.C: adjust
3088
3089 2004-02-11  André Pönitz  <poenitz@gmx.net>
3090
3091         * lyxfunc.C:
3092         * BufferView.[Ch]:
3093         * BufferView_pimpl.C: shift undo/redo handling
3094
3095         * cursor.[Ch]: fix mathed crash
3096
3097         * lyxfind.C:
3098         * lyxtext.h: move selectionAsText to LCursor
3099
3100         * output_latex.C:
3101         * paragraph.C:
3102         * text.C:
3103         * text2.C:
3104         * text3.C: adjust
3105
3106         * rowpainter.C: fix excessive drawing
3107
3108 2004-02-06  André Pönitz  <poenitz@gmx.net>
3109
3110         * BufferView.[Ch]:
3111         * BufferView_pimpl.[Ch]:
3112         * text3.C: move some text specific LFUN handling
3113
3114 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3115
3116         * text3.C (checkInsetHit): adjust coords
3117         * text2.C (getColumnNearX): adjust coords
3118         (edit): adjust coords
3119         * text.C (getRowNearY): add two asserts
3120
3121 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3122
3123         * converter.C:
3124         * format.C: add using std::distance to compile on gcc 2.95/stlport
3125
3126 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3127
3128         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3129
3130 2004-02-04  André Pönitz  <poenitz@gmx.net>
3131
3132         * BufferView.[Ch] (insertInset):
3133         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3134
3135         * text2.C:
3136         * text3.C: adjust
3137
3138 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3139
3140         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3141         on the default clause of the switch
3142         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3143         wasn't catched by LCursor::dispatch
3144
3145 2004-02-03  André Pönitz  <poenitz@gmx.net>
3146
3147         * BufferView.C:
3148         * cursor.[Ch]: some additional asserts
3149
3150         * undo.[Ch]: remove LyXText dependency in interface
3151
3152         * lyxfunc.C: adjust
3153
3154         * lyxtext.h (firstPar, lastPar): remove dead functions
3155
3156         * text.C:
3157         * text2.C:
3158         * text3.C:
3159         * paragraph.[Ch]: adjust
3160
3161 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3162
3163         * lyxfind.C (find): fix argument order in call to ::find
3164
3165 2004-02-02  André Pönitz  <poenitz@gmx.net>
3166
3167         * cursor.[Ch]: remove direct access to anchor
3168
3169         * text.C: remove findText() hack
3170
3171 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3172
3173         * iterators.[Ch] (lockPath): remove in favour of...
3174         * BufferView.[Ch] (setCursor): this addition
3175         * BufferView.C (putSelectionAt): adjust
3176         * undo.C (performUndoOrRedo): adjust
3177         * lyxfunc.C (dispatch): adjust
3178
3179 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3180
3181         * iterators.C (lockPath): add a missing slice
3182         * undo.C (performUndoOrRedo): remove redundant positioning code
3183
3184 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3185
3186         * vc-backend.C (scanMaster): ";" -> ';'
3187
3188 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3189
3190         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3191         std::binary_function
3192
3193         * lyxtextclass.C (compare_name): rename to...
3194         (LayoutNamesEqual): ...this
3195
3196         * lyxlex_pimpl.C (compare_tags): inherit from
3197         std::binary_function, put back into anon namespace
3198
3199         * lyxfind.C (MatchString): inherig from std::binary_function
3200         (findChange): use empty() istead of !size()
3201
3202         * format.C (FormatNamesEqual): new functor
3203         (getFormat): use it
3204         (getNumber): use it
3205         (add): use it
3206         (erase): use it
3207         (setViewer): use it
3208
3209         * converter.C (compare_Converter): rename to...
3210         (ConverterEqual): ...this, and fixup a bit.
3211         (getConverter): use it, and make function const
3212         (getNumber): use it, and make function const
3213         (add): use it
3214         (erase): use it:
3215
3216         * bufferlist.C: add using boost::bind
3217
3218         * MenuBackend.C (MenuNamesEqual): new functor
3219         (hasMenu): use it, and make function const
3220         (hasSubmenu): use nested bind to get rid of compare_memfun.
3221
3222 2004-01-30  André Pönitz  <poenitz@gmx.net>
3223
3224         * BufferView_pimpl.C:
3225         * cursor.C:
3226         * cursor.h:
3227         * cursor_slice.[Ch]:
3228         * lyxfunc.C:
3229         * lyxtext.h:
3230         * paragraph_funcs.C:
3231         * paragraph_funcs.h:
3232         * rowpainter.C:
3233         * text.C:
3234         * text2.C:
3235         * text3.C: move some of the edit(x,y) handling to the insets
3236         some coordinate changes.
3237
3238 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3239
3240         * text.C: add using statements for std::advance and std::distance
3241
3242         * paragraph.C: add using statement for std::distance
3243
3244         * lyxfind.C: add using statement for std::advance
3245
3246         * cursor.C (region): remove std:: from swap
3247         (openable): use nucleus in stead of operator->
3248
3249         * BufferView.C: add using statements for std::distance and std::swap
3250
3251 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3252
3253         * iterators.C: Remove the pimple, move the needed structures to
3254         the header file. Create accessor for the positions stack.
3255         (asPosIterator): remove function
3256
3257         * PosIterator.C (PosIterator): move constructors to top of file
3258         (PosIterator): reimplement the constructor taking a ParIterator in
3259         terms of setFrom.
3260         (setFrom): new function
3261         (operator!=): inline it
3262
3263 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3264
3265         * lyxfind.C (replaceAll): use std::advance
3266
3267         * iterators.h: inherit from std::iterator.
3268
3269         * PosIterator.C (advance, distance): remove
3270         * PosIterator.h: interit from std::iterator.
3271
3272 2004-01-26  André Pönitz  <poenitz@gmx.net>
3273
3274         * BufferView.[Ch]:
3275         * BufferView_pimpl.[Ch]:
3276         * InsetList.[Ch]:
3277         * PosIterator.[Ch]:
3278         * buffer.h:
3279         * bufferview_funcs.C:
3280         * cursor.[Ch]:
3281         * cursor_slice.h:
3282         * factory.[Ch]:
3283         * iterators.[Ch]:
3284         * lyxfind.C:
3285         * lyxfunc.C:
3286         * lyxtext.h:
3287         * output_docbook.C:
3288         * output_latex.C:
3289         * output_linuxdoc.C:
3290         * output_plaintext.C:
3291         * paragraph.[Ch]:
3292         * paragraph_funcs.[Ch]:
3293         * paragraph_pimpl.[Ch]:
3294         * rowpainter.C:
3295         * tabular.C:
3296         * tabular.h:
3297         * text.C:
3298         * text2.C:
3299         * text3.C: more IU:  dumps most of the rest of the mathcursor
3300     implementation into cursor.[Ch]; "globalize" a bit of it.
3301
3302 2004-01-25  Angus Leeming  <leeming@lyx.org>
3303
3304         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3305
3306 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3307
3308         * LaTeXFeatures.h: add nice_ and nice() const
3309         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3310
3311 2004-01-20  André Pönitz  <poenitz@gmx.net>
3312
3313         * BufferView.[Ch]:
3314         * BufferView_pimpl.C:
3315         * PosIterator.C:
3316         * bufferview_funcs.C:
3317         * cursor.[Ch]:
3318         * cursor_slice.[Ch]:
3319         * factory.C:
3320         * iterators.C:
3321         * lyx_cb.C:
3322         * lyxfind.C:
3323         * lyxfunc.C:
3324         * lyxtext.h:
3325         * rowpainter.C:
3326         * text.C:
3327         * text2.C:
3328         * text3.C:
3329         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3330           LCursor and mathcursor parts to LCursor and InsetBase.
3331
3332 2004-01-15  André Pönitz  <poenitz@gmx.net>
3333
3334         * cursor_slice.[Ch]: add a few covienience functions
3335
3336         * funcrequest.[Ch]: remove BufferView * member
3337
3338         * BufferView_pimpl.C:
3339         * cursor.C:
3340         * factory.[Ch]:
3341         * lyxfind.[Ch]:
3342         * lyxfunc.C:
3343         * lyxtext.h:
3344         * text3.C:
3345         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3346
3347 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3348
3349         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3350         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3351
3352 2004-01-13  André Pönitz  <poenitz@gmx.net>
3353
3354         * textcursor.[Ch]:
3355         * lyxtext.h: hide cursor and selection anchor behind accessor function
3356
3357         * BufferView.C:
3358         * BufferView_pimpl.[Ch]:
3359         * PosIterator.C:
3360         * bufferview_funcs.C:
3361         * cursor.h:
3362         * lyxfind.C:
3363         * lyxfunc.C:
3364         * text.C:
3365         * text2.C:
3366         * text3.C:
3367         * undo.C: adjust
3368
3369         * cursor.h:
3370         * cursor_slice.[Ch]: some integer type changes for inset unification
3371
3372         * lyxcursor.[hC]: remove, it's CursorSlice now.
3373
3374         * Makefile.am:
3375         * BufferView_pimpl.[Ch]:
3376         * bufferview_funcs.C:
3377         * cursor_slice.C:
3378         * lyxtext.h:
3379         * text.C:
3380         * text2.C:
3381         * text3.C:
3382         * textcursor.[Ch]: adjust
3383
3384 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3385
3386         * text2.C (undoSpan): add and use
3387         * text.C (breakParagraph): use undoSpan (fix bug 578)
3388         * lyxtext.h: adjust
3389
3390 2004-01-08  Angus Leeming  <leeming@lyx.org>
3391
3392         * BufferView_pimpl.C (MenuInsertLyXFile):
3393         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3394         * lyxfunc.C (menuNew, open, doImport):
3395         FileFilterList change to the FileDialog open and save functions.
3396
3397 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3398
3399         * ShareContainer.h: make isEqual and isUnique adaptable
3400
3401         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3402
3403 2004-01-07  Angus Leeming  <leeming@lyx.org>
3404
3405         * LyXAction.C:
3406         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3407
3408         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3409
3410         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3411         functions replacing find, replace and replaceAll.
3412
3413         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3414         LFUN_WORDFIND(FORWARD|BACKWARD).
3415
3416 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3417
3418         * text.C (breakParagraph): remove an outdated #warning
3419
3420 2004-01-07  André Pönitz  <poenitz@gmx.net>
3421
3422         * lyxfind.C: somewhat clearer logic
3423
3424         * text.C: prevent crash in cursorX on unitialized row cache
3425
3426 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3427
3428         * lyxcursor.[Ch] (operator>): add
3429         * textcursor.C (selStart, selEnd): use std::min and std::max
3430
3431 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3432
3433         * Chktex.C: include boost/format.hpp
3434
3435 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3436
3437         * InsetList.C: replace functor MathcIt with adaptable functor
3438         InsetTablePosLess
3439         (insetIterator): modify accordingly
3440
3441         * BranchList.h: move the BranchNamesEqual functor here from...
3442         * BranchList.C: ... to here
3443
3444         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3445         SameName and match.
3446         (add): replace a finding loop with std::find_if.
3447
3448 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3449
3450         * output_docbook.C: moving LatexParam functionality into
3451         .layout files
3452
3453 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3454
3455         * buffer.C: increment format to 229.
3456
3457 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3458
3459         * LaTeXFeatures.C:
3460         * lyx_sty.[Ch]: remove minipageindent_def
3461
3462         * LyXAction.C:
3463         * factory.C:
3464         * lfuns.h:
3465         * lyxfunc.C:
3466         * text3.C: remove LFUN_INSET_MINIPAGE
3467
3468 2003-12-28  Angus Leeming  <leeming@lyx.org>
3469
3470         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3471
3472 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3473
3474         * text2.C (setParagraph): fix off-by-one crash
3475
3476 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3477
3478         * output_docbook.C: header stuff for AGU
3479
3480 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3481
3482         * text2.C (redoCursor): remove
3483         * text.C:
3484         * text3.C:
3485         * BufferView_pimpl.C: remove calls to redoCursor and
3486         setCursor(cursor.par(), cursor.pos()) all around
3487
3488 2003-12-15  Angus Leeming  <leeming@lyx.org>
3489
3490         * buffer.C: up the format to 228.
3491
3492 2003-12-15  André Pönitz  <poenitz@gmx.net>
3493
3494         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3495         slices
3496
3497         * Makefile.am:
3498
3499         * BufferView_pimpl.C:
3500         * cursor.[Ch]:
3501         * lyxcursor.[Ch]:
3502         * rowpainter.[Ch]:
3503         * lyxtext.h:
3504         * text.C:
3505         * text2.C:
3506         * text3.C: adjust
3507
3508 2003-12-15  Angus Leeming  <leeming@lyx.org>
3509
3510         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3511         than getFromGUIName to manipulate the color.
3512
3513 2003-12-14  Angus Leeming  <leeming@lyx.org>
3514
3515         * BranchList.[Ch]: minimize the API.
3516         (Branch::getBranch, getColor): now return a 'const &'.
3517         (Branch::setSelected) now returns a bool set to true if the
3518         selection status changes.
3519         (BranchList::clear, size, getColor, setColor, setSelected,
3520         allBranches, allSelected, separator): removed.
3521         (BranchList::find): new functions, returning the Branch with
3522         the given name.
3523         (BranchList::add, remove): return a bool indicating that
3524         the operation was successful.
3525
3526         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3527         new InsetBranch::isBranchSlected member function.
3528
3529         * LColor.[Ch]: mimimize the API.
3530         (fill): renamed as addColor and made private.
3531         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3532         versions of these functions taking a string arg have been removed.
3533
3534         * bufferparams.C (readToken):
3535         * lyxfunc.C (dispatch):
3536         * lyxrc.C (read): changes due to the altered BranchList and
3537         LColor APIs.
3538
3539         * factory.C (createInset, readInset): changes due to altered
3540         InsetBranch c-tor.
3541
3542 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3543
3544         * factory.C:
3545         * lyxfunc.C: remove insetminipage. "minipage-insert"
3546         now produces a frameless minipage box inset.
3547
3548 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3549
3550         * textcursor.[Ch] (selStart,selEnd): add new methods
3551         remove selection::start, end, use LyXCursor::operator<
3552         * lyxcursor.[Ch] (operator<): add
3553         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3554         * BufferView.[Ch] (unsetXSel): add
3555         * text2.C (clearSelection): use unsetXSel,adjust
3556         * text.C: adjust
3557         * text3.C: adjust
3558         * rowpainter.C: adjust
3559         * bufferview_funcs.C (put_selection_at): adjust
3560
3561 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3562
3563         * BufferView_pimpl.C: small coord. correction
3564
3565 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3566
3567         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3568         dragging over the splash screen.
3569
3570 2003-12-11  Angus Leeming  <leeming@lyx.org>
3571
3572         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3573         as it is now handled in LyXText::dispatch.
3574
3575         * text3.C (doInsertInset): remove a level of nesting.
3576
3577 2003-12-11  Angus Leeming  <leeming@lyx.org>
3578
3579         * factory.C (createInset): changes due to the changed interface to
3580         InsetCommandMailer::string2params.
3581
3582 2003-12-10  Angus Leeming  <leeming@lyx.org>
3583
3584         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3585         'dialog-show-new-inset <inset name>'
3586
3587 2003-12-10  Angus Leeming  <leeming@lyx.org>
3588
3589         * buffer.C: up the format to 227.
3590
3591         * factory.C: the box inset is now identified simply by 'Box'.
3592
3593 2003-12-10  Angus Leeming  <leeming@lyx.org>
3594
3595         * buffer.C: up the format to 226.
3596
3597         * factory.C: the note inset is now identified simply by 'Note'.
3598
3599 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3600
3601         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3602         when a pit is enough. Standarize a couple of loops.
3603
3604 2003-12-05  Angus Leeming  <leeming@lyx.org>
3605
3606         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3607         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3608         data to the re-worked "log" dialog.
3609
3610 2003-12-03  André Pönitz  <poenitz@gmx.net>
3611
3612         * PosIterator.C:
3613         * iterators.C:
3614         * lyxtext.h:
3615         * output_latex.C:
3616         * paragraph_funcs.C:
3617         * text.C:
3618         * text2.C: use Inset::getText instead of Inset::getParagraph
3619
3620 2003-12-03  André Pönitz  <poenitz@gmx.net>
3621
3622         * buffer.[Ch]:
3623         * lyxtext.h:
3624         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3625         InsetText::read() as LyXText::read()
3626
3627 2003-12-02  Angus Leeming  <leeming@lyx.org>
3628
3629         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3630         type. Add a comment in the implementation that the function uses
3631         the stream's bad() function rather than fail() as the std::streams
3632         would do.
3633
3634 2003-12-02  André Pönitz  <poenitz@gmx.net>
3635
3636         * lyxlex.[Ch]: make interface more similar to std::stream
3637
3638         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3639
3640 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3641
3642         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3643
3644 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3645
3646         * vspace.[Ch]: remove VSpace::NONE
3647
3648 2003-12-01  André Pönitz  <poenitz@gmx.net>
3649
3650         * buffer.[Ch]:
3651         * lyxtext.h: move ParagraphList member to LyXText
3652         rename LyXText::ownerParagraphs to LyXText::paragraph
3653
3654         * CutAndPaste.C:
3655         * bufferview_funcs.C:
3656         * iterators.[Ch]:
3657         * lyx_cb.C:
3658         * paragraph.C:
3659         * rowpainter.C:
3660         * tabular.C:
3661         * text.C:
3662         * text2.C:
3663         * text3.C: adjust
3664
3665         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3666
3667         * undo.C: fix cursor positioning
3668
3669 2003-12-01  John Levon  <levon@movementarian.org>
3670
3671         * BufferView_pimpl.C: fix a crash on exit with
3672         a buffer open
3673
3674 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3675
3676         * BranchList.C: fix setSelected() method.
3677
3678 2003-11-28  André Pönitz  <poenitz@gmx.net>
3679
3680         * ParagraphParameters.[Ch]:
3681         * ParameterStruct.h: remove space above/below from Paragraph to
3682          InsetVSpace
3683
3684         * BufferView_pimpl.C:
3685         * factory.C:
3686         * lyxfunc.C:
3687         * lyxtext.h:
3688         * output_latex.C:
3689         * paragraph.C:
3690         * paragraph_funcs.C:
3691         * rowpainter.[Ch]:
3692         * text.C:
3693         * text2.C:
3694         * text3.C: adjust
3695
3696 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3697
3698         * factory.C: Syntax change for CharStyles
3699
3700 2003-11-28  André Pönitz  <poenitz@gmx.net>
3701
3702         * BufferView.[Ch]:
3703         * BufferView.[Ch]:
3704         * buffer.[Ch]:
3705         * buffer.[Ch]: move LyXText member
3706
3707 2003-11-28  André Pönitz  <poenitz@gmx.net>
3708
3709         * BufferView.[Ch]: make LyXText * text a private member
3710
3711         * BufferView_pimpl.C:
3712         * cursor.C:
3713         * iterators.C:
3714         * lyx_cb.C:
3715         * lyxfind.C:
3716         * lyxtext.h:
3717         * rowpainter.[Ch]:
3718         * text.C:
3719         * text2.C:
3720         * undo.C: adjust
3721
3722         * output_plaintext.C: cleanup
3723
3724 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3725
3726         * buffer.C:
3727         * lyxtextclass.[Ch]: parametrize SGML document header
3728
3729 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3730
3731         * converter.[Ch]:
3732         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3733         getFlavor().
3734
3735 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3736
3737         * text2.C (setFont): rework using PosIterator (no more recursive)
3738         (setCharFont): no more needed
3739         (setLayout): no more selection cursors fiddling (done by redoCursor)
3740         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3741         destroy remaining ones)
3742
3743 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3744
3745         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3746         * lyxtext.h: ditto
3747         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3748         selection cursors
3749         * lyxfunc.C: adjust
3750         * text3.C: adjust + re-allow multi par depth changes
3751         * textcursor.C: simplify a bit
3752
3753 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3754
3755         * src/buffer.C:
3756         * src/lyxlayout.C:
3757         * src/lyxlayout.h:
3758         * src/lyxtext.h:
3759         * src/output_docbook.C:
3760         * src/output_latex.C:
3761         * src/paragraph.C:
3762         * src/paragraph.h:
3763         * src/sgml.C:
3764         * src/sgml.h:
3765         * src/text2.C: Introducing a number of tags parametrizing various
3766         XML formats that we may want to support
3767
3768 2003-11-25  André Pönitz  <poenitz@gmx.net>
3769
3770         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3771
3772         * lyxtext.h (leftMargin/rightMargin): simplify interface
3773
3774         * rowpainter.C:
3775         * text.C:
3776         * text2.C:
3777         * text3.C: adjust
3778
3779 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3780
3781         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3782         master file to any child files. Fixes bug 546.
3783
3784 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3785
3786         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3787
3788 2003-11-24  André Pönitz  <poenitz@gmx.net>
3789
3790         * rowpainter.C: simplification
3791
3792         * text2.C (updateCounters): remove call to redoParagraph on
3793         changed labels as this is far too expensive.
3794
3795 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3796
3797         * converter.C (convert): fix a crash: this function gets
3798         called with buffer == 0 from importer code.
3799
3800 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3801
3802         * text3.C (cursorPrevious): make sure that we do not compare
3803         iterators form different containers.
3804         (cursorNext): ditto
3805
3806         * rowpainter.C (paintSelection): make sure that we do not compare
3807         iterators from different containers.
3808
3809         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3810         iterators from different ParagraphList containers.
3811         [NEXT] ditto
3812
3813         * text2.C (LyXText): change order of initialization slightly
3814         (operator=): new function. copy all variables except cache_par_
3815         (moveUp): make sure that we do not compare iterators from
3816         different ParagraphList constainers.
3817         (moveDown): ditto
3818
3819         * text.C (firstPar): new function
3820         (lastPar): new function
3821         (endPar): new function
3822
3823         * lyxtext.h: move things around and group public functions, public
3824         variables, private functions, private variables
3825
3826 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3827
3828         * factory.C: change call to InsetERT constructor to avoid
3829         additional invocation of method status
3830         * text2.C (toggleInset): remove redundant update() call
3831         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3832         instead of a Bufferview pointer
3833
3834 2003-11-21  André Pönitz  <poenitz@gmx.net>
3835
3836         * rowpainter.C: simplification
3837
3838 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3839
3840         * text3.C (dispatch): make possible to extend a word/row selection
3841         with the mouse
3842
3843 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3844
3845         * lyxtext.h: x0_,y0_ -> xo_,yo_
3846         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3847         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3848         * rowpainter.C (paintRows): paint full paragraphs
3849
3850 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3851
3852         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3853         screen coordinates)
3854
3855 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3856
3857         * lyxtext.h: add x0_, y0_
3858         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3859         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3860
3861 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3862
3863         * text2.C (setCursorIntern): move the x_target update here *
3864         * text3.C: change some bv() to true/false in calls to
3865         cursorUp/Down/Right/Left
3866         * cursor.C: use helper function.
3867
3868 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3869
3870         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3871         * paragraph_funcs.[Ch]: correct comment
3872         * rowpainter.C: do not paint selections away from bv->cursor()
3873         Fix a long standing selection painting bug.
3874         * text3.C: generalize mouse-selection code to LyXTexts other that
3875         top one
3876         * textcursor.C: do not use y coords if we can use par offsets
3877
3878 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3879
3880         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3881         cursor position after e.g. inset insert)
3882
3883 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3884
3885         * lyxfind.C (replace): adjust to locking removal + some
3886         code simplification
3887
3888 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3889
3890         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3891         of the path
3892
3893 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3894
3895         * lyxlayout.[Ch]:
3896         * output_docbook.C: XML sanitation: new layout
3897         parameters InnerTag and CommandDepth
3898
3899 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3900
3901         * BufferView_pimpl.C:
3902         * factory.C:
3903         * text3.C: Fix the insertion and modification of button-style
3904         insets
3905
3906 2003-11-13  André Pönitz  <poenitz@gmx.net>
3907
3908         * InsetList.[Ch]: remove deleteLyXText
3909
3910         * paragraph.[Ch]: cache beginOfBody position
3911
3912         * Bidi.C:
3913         * text.C:
3914         * text2.C:
3915         * text3.C: remove superfluous update() calls
3916
3917         * vspace.C: cleanup
3918
3919 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3920
3921         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3922         * BufferView.C (fitLockedInsetCursor): remove
3923         * cursor.[Ch] (getDim): add
3924         * text.C (getRowNearY): add faster version
3925         * text3.C: remove some update calls
3926
3927 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3928
3929         * LaTeXFeatures.C:
3930         * LyXAction.C:
3931         * MenuBackend.C:
3932         * MenuBackend.h:
3933         * dispatchresult.h:
3934         * factory.C:
3935         * lfuns.h:
3936         * lyxfunc.C:
3937         * lyxtextclass.C:
3938         * lyxtextclass.h:
3939         * text3.C: The Character Style /XML short element patch.
3940
3941 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3942
3943         * text3.C:
3944         * factory.C: Small step to solving 'unable to insert some insets'
3945         problem
3946
3947 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3948
3949         * cursor.[Ch] (updatePos): new function for updating the y
3950         position of the tip inset
3951         * bufferview_funcs.C (put_selection_at):
3952         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3953
3954 2003-11-11  André Pönitz  <poenitz@gmx.net>
3955
3956         * text.C: remove big comment on invalid Paragraph pointers as it is
3957         not valid anymore
3958
3959 2003-11-11  André Pönitz  <poenitz@gmx.net>
3960
3961         * text_funcs.[Ch]: merge with ...
3962
3963         * text.C: ... this
3964
3965         * lyxtext.h:
3966         * text2.C:
3967         * text3.C: adjust
3968
3969         * Makefile.am: remove text_funcs.[Ch]
3970
3971 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3972
3973         * cursor.C (getPos): return absolute cached y coord
3974
3975         * BufferView_pimpl.C (fitCursor): new simplistic code
3976         (workAreaDispatch): add a fitCursor call
3977
3978 2003-11-10  André Pönitz  <poenitz@gmx.net>
3979
3980         * BufferView.[Ch]:
3981         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3982
3983 2003-11-10  André Pönitz  <poenitz@gmx.net>
3984
3985         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3986         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3987         indicate that the cursor needs to leave an inset
3988
3989         * lyxtext.h: remove inset locking
3990
3991         * cursor.[Ch]: re-implement functionality provided by inset locking
3992
3993         * BufferView.[Ch]:
3994         * BufferView_pimpl.[Ch]:
3995         * LyXAction.C:
3996         * bufferview_funcs.[Ch]:
3997         * factory.C:
3998         * funcrequest.[Ch]:
3999         * iterators.C:
4000         * lyx_cb.C:
4001         * lyxfind.C:
4002         * lyxfunc.C:
4003         * text.C:
4004         * text2.C:
4005         * text3.C:
4006         * undo.C: adjust
4007
4008 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4009
4010         * PosIterator.[Ch]: replace the stack with a vector, add inset
4011         accesor
4012         * iterators.[C]: adjust
4013
4014 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4015
4016         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4017         replaced
4018         * paragraph_funcs.C (readParToken): put the correct id in the
4019         error item, not the id of the top paragraph
4020
4021 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4022
4023         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4024         * bufferview_funcs.C (put_selection_at): use the above
4025
4026 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4027
4028         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4029
4030 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4031
4032         * output_linuxdoc.h:
4033         * output_plaintext.h:
4034         * output.h:
4035         * output_docbook.h: add #include statements
4036
4037 2003-11-05  José Matos  <jamatos@lyx.org>
4038
4039         * output_docbook.[Ch]:
4040         * output_latex.[Ch]:
4041         * output_linuxdoc.[Ch]:
4042         * output_plaintext.[Ch]: New files for output formats.
4043         * output.[Ch]: New file for helper functions.
4044
4045         * buffer.[Ch]:
4046         * paragraph_funcs.[Ch]: output functions moved to new files.
4047
4048         * outputparams.h: rename of latexrunparams.h
4049
4050         * LaTeX.[Ch]:
4051         * buffer.[Ch]:
4052         * bufferlist.[Ch]:
4053         * converter.[Ch]:
4054         * exporter.C:
4055         * paragraph.[Ch]:
4056         * paragraph_funcs.[Ch]:
4057         * paragraph_pimpl.[Ch]:
4058         * tabular.[Ch]: rename ascii to plaintext
4059         and LatexRunParams to OutputParams.
4060
4061 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4062
4063         * iterators.[Ch] (text): require bv argument
4064         * undo.C (recordUndo):
4065         * lyxfunc.C (dispatch):
4066         * bufferview_funcs.C (put_selection_at): adjust
4067
4068 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4069
4070         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4071
4072 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4073
4074         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4075         nestings
4076
4077 2003-11-04  André Pönitz  <poenitz@gmx.net>
4078
4079         * cursor.[Ch]: restructure
4080
4081         * BufferView.[Ch]:
4082         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4083
4084         * iterators.[Ch] (asCursor): remove
4085
4086         * lfuns.h: remove LFUN_INSET_EDIT
4087
4088         * lyxfunc.C:
4089         * tabular.C:
4090         * text.C:
4091         * text2.C:
4092         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4093
4094 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4095
4096         * lyxfind.[Ch]: complete overhaul
4097         * BufferView_pimpl.C:
4098         * lyxfunc.C: adjust
4099         * paragraph.[Ch] (insert): add
4100
4101 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4102
4103         * BufferView.[Ch]:
4104         * lyxtext.h:
4105         * text.C: remove dead spellcheck code
4106
4107 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4108
4109         * dispatchresult.h: add a val setter
4110
4111         * cursor.C (dispatch): use a tempvar for data_[i]
4112
4113 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4114
4115         * PosIterator.[Ch]: compile fix
4116
4117 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4118
4119         * text.C (cursorPar): deactivate the cursor cache
4120
4121 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4122
4123         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4124
4125 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4126
4127         * text3.C (dispatch): adjust for new DisptchResult semantics.
4128
4129         * lyxfunc.C (dispatch): handle update when return from
4130         Cursor::dispatch, adjust for new DispatchResult semantics.
4131
4132         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4133         DispatchResult(true) mean to not update. Add class functions for
4134         setting dispatched and update, as well as reading.
4135
4136         * cursor.C (dispatch): don't handle update here
4137
4138 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4139
4140         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4141         * trans_mgr.C: adjust
4142
4143         * paragraph_funcs.C (readParToken): exception safety
4144
4145         * lyxvc.h: store the vcs pointer in a scoped_ptr
4146         * lyxvc.C: adjust
4147
4148         * lyxsocket.C (serverCallback): exception safety
4149
4150         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4151
4152         * ispell.C (clone): make it return a auto_ptr
4153
4154         * factory.C (createInset): exception safety
4155         (readInset): exception safety
4156
4157         * bufferlist.C (newBuffer): exception safety
4158
4159         * Thesaurus.C (Thesaurus): use initialization for aik_
4160
4161         * MenuBackend.C (expandToc): exception safety.
4162
4163 2003-11-03  André Pönitz  <poenitz@gmx.net>
4164
4165         * buffer.C:
4166         * buffer.h:
4167         * bufferview_funcs.C: remove getInsetFromId()
4168
4169         * lyxcursor.[Ch]:
4170         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4171
4172         * lyxfunc.C:
4173         * text2.C:
4174         * text3.C: adjust
4175
4176 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4177
4178         * PosIterator.C (distance, advance): new
4179         * bufferview_funcs.[Ch] (put_selection_at): new
4180         * iterators.[Ch] (lockPath): new
4181
4182 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4183
4184         * iterators.[Ch] (asPosIterator): added
4185         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4186         * PosIterator.[Ch]: added
4187
4188 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4189
4190         * text3.C:
4191         * lyxfunc.C:
4192         * cursor.C (dispatch):
4193         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4194
4195         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4196         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4197         contructor, add a class function dispatched. Remove operator>=
4198
4199 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4200
4201         * debug.C: only use the default constructor for debugstream
4202         (lyxerr) here.
4203
4204         * main.C (main): include debug.h and setup the lyxerr streambuf
4205         here.
4206
4207 2003-10-31  José Matos  <jamatos@lyx.org>
4208
4209         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4210
4211         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4212         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4213         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4214         * paragraph_pimpl.C (simpleTeXSpecialC):
4215         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4216         add LatexRunParams argument.
4217
4218         * exporter.C (Export): change call accordingly.
4219
4220         * latexrunparams.h: add new member to take care of the other backends.
4221 2003-10-30  José Matos  <jamatos@lyx.org>
4222
4223         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4224         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4225         factorise code for paragraph output.
4226         * buffer.[Ch]:
4227         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4228         move functions.
4229
4230 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4231
4232         * text3.C (dispatch):
4233         * lyxfunc.C (dispatch):
4234         * cursor.C (dispatch):
4235         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4236
4237         * dispatchresult.h: make the dispatch_result_t ctor explicit
4238
4239 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4240
4241         * sgml.[Ch]:
4242         * buffer.C: small refactoring of docbook stuff
4243
4244 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4245
4246         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4247         meaning.
4248
4249 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4250
4251         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4252         operator dispatch_result_t, and operators for == != and >=
4253
4254         * cursor.C (dispatch): adjust for operator dispatch_result_t
4255         removal. comment out call to update
4256
4257         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4258
4259 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4260
4261         * text3.C:
4262         * text2.C:
4263         * text.C:
4264         * lyxtext.h:
4265         * lyxfunc.C:
4266         * cursor.C:
4267         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4268         (dispatch):
4269
4270         * dispatchresult.h: new file, DispatchResult broken out of
4271         insets/insetbase.h
4272
4273         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4274
4275 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4276
4277         * text.C (rowBreakPoint): put a hack inside #if 0
4278
4279 2003-10-28  André Pönitz  <poenitz@gmx.net>
4280
4281         * lyxtext.h:
4282         * metricsinfo.C:
4283         * paragraph_funcs.C:
4284         * rowpainter.C:
4285         * text.C:
4286         * text2.C: general cleanup (lots of small stuff)
4287
4288 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4289
4290         * text2.C (cursorEnd): simple fix to the "end key goes to one
4291         before the end on last row" bug
4292
4293 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4294
4295         * text.C (backspace): fix the "zombie characters"
4296
4297 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4298
4299         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4300
4301 2003-10-27  André Pönitz  <poenitz@gmx.net>
4302
4303         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4304
4305         * factory.C: handle new InsetPagebreak, InsetLine
4306
4307         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4308         and move handling into new InsetPagebreak, InsetLine
4309
4310         * BufferView_pimpl.C:
4311         * LyXAction.C:
4312         * ParagraphParameters.C:
4313         * ParameterStruct.h:
4314         * lyxfunc.C:
4315         * lyxtext.h:
4316         * paragraph.C:
4317         * paragraph.h:
4318         * paragraph_funcs.C:
4319         * paragraph_pimpl.C:
4320         * rowpainter.C:
4321         * text.C:
4322         * text2.C:
4323         * text3.C: adjust
4324
4325 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4326
4327         * text.C:
4328         * lyxrow_funcs.[Ch]:
4329         * Bidi.C:
4330         * paragraph.C:
4331         * lyxtext.h:
4332         * rowpainter.C:
4333         * text2.C:
4334         * text3.C: remove lastPos uses in favour of Row::endpos
4335
4336 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4337
4338         * undo.C (performUndoOrRedo): fix two crashes by setting a
4339         cursor by hand and reordering some calls. Use bv->lockInset instead
4340         of inset->edit because the latter loses cursor information
4341
4342 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4343
4344         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4345         by Martin
4346         (rowBreakPoint): fix width. change point to point + 1.
4347         Add a missing check.
4348
4349 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4350
4351         * MenuBackend.C:
4352         * lyxfunc.C: fix (at least partly) the problems
4353         with the Nav menu and headers inside branch insets
4354         reported by Kayvan
4355
4356 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4357
4358         * paragraph.C (getChar): add strong asserts
4359
4360         * lyxrow_funcs.C (lastPos): remove hideous hack
4361
4362         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4363         (fill): adjust to that (avoid an infinite loop)
4364
4365 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4366
4367         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4368
4369 2003-10-23  André Pönitz  <poenitz@gmx.net>
4370
4371         * RowList_fwd.h: change list<> to vector<> to gain speed
4372         after suggestion from Alfredo
4373
4374 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4375
4376         * lyxtext.h: move the bidi stuff from here...
4377         * text.C: and here
4378         * text2.C: and here
4379         * Bidi.[Ch]: ... to here
4380
4381 2003-10-23  André Pönitz  <poenitz@gmx.net>
4382
4383         * lyxtext.h:
4384         * text.C (isLastRow, isFirstRow): new functions
4385
4386         * paragraph.h: new width cache member
4387
4388         * rowpainter.C: replace RowList::iterator with Row & where possible
4389
4390         * lyxfunc.C: replace several view()->text with a single call
4391
4392         * toc.C: fix 'unused' warning
4393
4394 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4395
4396         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4397         when woring with stream::pos_type
4398         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4399
4400 2003-10-22  André Pönitz  <poenitz@gmx.net>
4401
4402         * lyxtext.h:
4403         * text.C: use Row & instead of RowList::iterator
4404
4405         * lyxrow.h: rename end() to endpos()
4406
4407         * rowpainter.C:
4408         * text.C:
4409         * text2.C: adjust
4410
4411 2003-10-22  Angus Leeming  <leeming@lyx.org>
4412
4413         * buffer.[Ch] (fully_loaded): new member function, returning true
4414         only when the file has been loaded fully.
4415         Used to prevent the premature generation of previews and by the
4416         citation inset to prevent computation of the natbib-style label.
4417
4418         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4419         templates are all set up.
4420
4421         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4422
4423 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4424
4425         * text.C: fixed an "oops" in the "is a bit silly"
4426         bug fix
4427
4428 2003-10-21  André Pönitz  <poenitz@gmx.net>
4429
4430         * FuncStatus.[Ch]: small stuff, whitespace
4431
4432         * lyxfont.[Ch]: operator<<() for debug reasons
4433
4434         * lyxfunc.C:
4435         * lyxrow_funcs.C:
4436         * lyxtext.h: whitespace, spelling
4437
4438         * paragraph.C: naming of variables
4439
4440         * text.C:
4441         * text2.C: small stuff
4442
4443
4444 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4445
4446         * text.C: (1) finish off the inset display() work;
4447         (2) fix the "is a bit silly" bug (accessing char
4448         past end of par).
4449
4450 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4451
4452         * text.C: re-introduce display() for insets, fixing the
4453         various bugs (stretch of line above, math inset
4454         positioning, ...)
4455
4456 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4457
4458         * text.C (rightMargin): remove spurious semicolon
4459
4460         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4461         1415)
4462
4463 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4464
4465         * text3.C: fix one crash due to wrong cursor def
4466
4467 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4468
4469         * vc-backend.C (scanMaster): make the regex static
4470
4471         * LaTeX.C (scanAuxFile): make the regexs static
4472
4473         * text3.C (doInsertInset, dispatch, dispatch):
4474         * text2.C (cursorUp, cursorDown):
4475         * text.C (selectNextWordToSpellcheck):
4476         * BufferView_pimpl.C (dispatch):
4477         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4478
4479 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4480
4481         * lyxsocket.C: include <cerrno>
4482
4483 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4484
4485         * lyxfunc.C (dispatch): remove textcache stuff
4486
4487         * bufferlist.C (release): remove textcache stuff
4488         (closeAll): ditto
4489
4490         * TextCache.C: delete file
4491         * TextCache.h: delete file
4492
4493         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4494
4495         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4496         delete of the bv_->text.
4497         (resizeCurrentBuffer): remove texcache stuff
4498         (workAreaResize): ditto
4499
4500 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4501
4502         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4503         action.
4504
4505 2003-10-16  André Pönitz  <poenitz@gmx.net>
4506
4507         * lyxrow.[Ch]:
4508         * paragraph.h:
4509         * rowpainter.C:
4510         * text.C:
4511         * text2.C:
4512         * text3.C: speed up by storing y positions per paragraph plus per-row
4513         offset instead of having a 'full' y position in the row.
4514
4515 2003-10-15  André Pönitz  <poenitz@gmx.net>
4516
4517         * iterators.[Ch]:
4518         * iterators.[Ch]:
4519         * undo.[Ch]: make undo aware of inner insets
4520
4521 2003-10-14  Angus Leeming  <leeming@lyx.org>
4522
4523         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4524         static member functions LyX::ref() and LyX::cref.
4525         (lastfiles): new accessor functions for the new lastfiles_ member var.
4526         (addLyXView, views_): add a new LyXView to the list of views_.
4527         (updateInset): loop over all LyXViews to call their own updateInset
4528         member function, returning a pointer to the Buffer owning the inset.
4529
4530         * BufferView_pimpl.C (loadLyXFile):
4531         * MenuBackend.C (expandLastfiles):
4532         * bufferlist.C (MenuWrite, QuitLyX):
4533         lastfiles is no longer a global variable.
4534         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4535
4536         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4537         static function. Access through LyX::cref().emergencyCleanup().
4538
4539 2003-10-14  André Pönitz  <poenitz@gmx.net>
4540
4541         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4542
4543         * undo.[Ch]: restoring part of 'undo in insets'
4544
4545         * Makefile.am:
4546         * undo_funcs.[Ch]: merge with undo.[Ch]
4547
4548         * tabular.C: small cleansing stuff
4549
4550 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4551
4552         * paragraph_funcs.C (readParToken): report unknown insets as error
4553         boxes. Use the outer paragraph as location (also for unknown
4554         tokens).
4555
4556         * factory.C (readInset): do not abort on reading an unknown inset.
4557         Eat it and return 0.
4558
4559 2003-10-13  Angus Leeming  <leeming@lyx.org>
4560
4561         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4562
4563         * lyxrc.C: displayTranslator is now a function,
4564         declared in GraphicsTypes.h.
4565
4566 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4567
4568         * format.C: new placeholder $$a to pass the socket address.
4569
4570         * bufferlist.[Ch]: new function getBufferFromTmp.
4571
4572         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4573           files in the temporary dir.
4574
4575 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4576
4577         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4578
4579         * Makefile.am: add lyxsocket.[Ch].
4580
4581         * lyx_main.C (error_handler): handle SIGPIPE.
4582
4583 2003-10-13  André Pönitz  <poenitz@gmx.net>
4584
4585         * BufferView_pimpl.C:
4586         * lyxtext.h:
4587         * text.C:
4588         * text2.C:
4589         * text3.C:
4590         * undo_funcs.[Ch]: use paroffset_type instead of
4591           ParagraphList::iterators to prevent multiple conversion
4592           (and get a more robust interface)
4593
4594 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4595
4596         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4597         * lyxtext.h: ditto
4598         * text3.C (dispatch): ditto
4599
4600 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4601
4602         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4603         move the onlyfile, use onlyfile instead of foundfile in a couple
4604         of places.
4605
4606         * DepTable.C (update): flush the error stream a bit more
4607
4608 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4609
4610         * lyxserver.C (callback): adjust
4611
4612         * lyxfunc.C (getStatus): add a missing brace in commented code
4613         (ensureBufferClean): reindent
4614         (dispatch): delete version taking a string
4615
4616 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4617
4618         * LaTeX.C (deplog): move found file handlig from here...
4619         (handleFoundFile): .. to new function here.
4620         (deplog): make sure to discover several files mentioned on the
4621         same log line.
4622
4623 2003-10-10  André Pönitz  <poenitz@gmx.net>
4624
4625         * lyxfunc.C:
4626         * lyxtext.h:
4627         * tabular.C:
4628         * text.C:
4629         * text2.C:
4630         * text3.C: fix some of the tabular crashes
4631
4632 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4633
4634         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4635
4636         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4637
4638 2003-10-09  André Pönitz  <poenitz@gmx.net>
4639
4640         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4641
4642         * BufferView.C:
4643         * BufferView_pimpl.C:
4644         * bufferview_funcs.C:
4645         * lyx_cb.C:
4646         * lyxcursor.C:
4647         * lyxfind.C:
4648         * lyxfunc.C:
4649         * lyxtext.h:
4650         * text.C:
4651         * text2.C:
4652         * text3.C:
4653         * text_funcs.[Ch]:
4654         * textcursor.[Ch]:
4655         * undo_funcs.C: adjust
4656
4657 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4658
4659         * text2.C (incrementItemDepth): new function, use a backtracking
4660         algorithm to discover the correct item depth.
4661         (resetEnumCounterIfNeeded): new function, use a backtracking
4662         algorithm to discover if counter reset is needed.
4663         (setCounter): use them. Simplify a bit. Add different labels for
4664         different item depths for itemize.
4665
4666         * paragraph.C (Paragraph): remove initialization of enumdepth
4667         (operator=): ditto
4668
4669         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4670         enumerate and itemize. Change the type of itemdepth to signed char.
4671
4672 2003-10-08  André Pönitz  <poenitz@gmx.net>
4673
4674         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4675           thing assignable.
4676         * text.C:
4677         * text2.C: adjust
4678
4679         * tabular.[Ch]: fix crash after 'row-insert'
4680
4681 2003-10-08  Angus Leeming  <leeming@lyx.org>
4682
4683         Fix doxygen warnings.
4684
4685         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4686         Remove CutAndPaste:: prefix from header file declaration.
4687
4688         * LColor.h (fill): remove LColor:: prefix from declaration.
4689
4690         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4691         use lyx::depth_type rather than Paragraph::depth_type so that
4692         header file and .C file match.
4693
4694         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4695
4696         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4697         * aspell.C: \file aspell_local.C -> \file aspell.C
4698         * gettext.C: \file gettext.C -> \file src/gettext.C
4699         * gettext.h: \file gettext.h -> \file src/gettext.h
4700         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4701         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4702         * text.C: \file text.C -> \file src/text.C
4703
4704         * toc.C: move comment so that doxygen is not confused.
4705
4706 2003-10-07  Angus Leeming  <leeming@lyx.org>
4707
4708         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4709
4710 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4711
4712         * aspell.C:
4713         * aspell_local.h: add forgotten std::string's.
4714
4715 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4716
4717         * LaTeXFeatures.C:
4718         * LyXAction.C:
4719         * factory.C:
4720         * lfuns.h:
4721         * lyxfunc.C:
4722         * text3.C: The Box patch. Fancybox support, minipage, parbox
4723
4724 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4725
4726         * CutAndPaste.h:
4727         * DepTable.h:
4728         * FloatList.h:
4729         * LaTeXFeatures.h:
4730         * ParagraphParameters.h:
4731         * TextCache.h:
4732         * Thesaurus.h:
4733         * bufferlist.h:
4734         * exporter.h:
4735         * importer.h:
4736         * lastfiles.h:
4737         * lyxfind.h:
4738         * lyxfont.h:
4739         * lyxlex.h:
4740         * lyxtextclasslist.h:
4741         * messages.h:
4742         * paragraph.h:
4743         * paragraph_pimpl.C:
4744         * textcursor.h: add <string> and other small fixes to make Lars'
4745         std::string patch compile with STLport.
4746
4747 2003-10-06  Angus Leeming  <leeming@lyx.org>
4748
4749         * LColor.h: Add missing #include <string>.
4750
4751 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4752
4753         * All most all file in all subdirs: Make <string> be the prefered
4754         way of getting to std::string, add using declarations.
4755
4756 2003-10-06  André Pönitz  <poenitz@gmx.net>
4757
4758         * metricsinfo.C: initialize LyXFont before changing attribute.
4759         (fixes the 'math in \emph is upright' bug)
4760
4761 2003-10-06  André Pönitz  <poenitz@gmx.net>
4762
4763         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4764
4765 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4766
4767         * graph.C:
4768         * paragraph_pimpl.C: Small fixes to build using STLport
4769
4770 2003-10-02  André Pönitz  <poenitz@gmx.net>
4771
4772         * lyxfunc.C:
4773         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4774
4775 2003-10-01  André Pönitz  <poenitz@gmx.net>
4776
4777         * factory.C: assert early
4778
4779 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4780
4781         * lyx_main.C: remove the global debug object
4782
4783         * debug.h: adjust for new debugstream
4784
4785         * debug.C: adjust for new debugstream and keep the global debug
4786         object here.
4787
4788 2003-09-22  Angus Leeming  <leeming@lyx.org>
4789
4790         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4791         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4792         an incomplete class LyXFont.
4793
4794 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4795
4796         * factory.C: bug fix in branches
4797
4798 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4799
4800         * lyxfunc.C (processKeySym): adjust
4801         (dispatch): adjust
4802         (dispatch): change arg name from ev to func, adjust
4803         (sendDispatchMessage): ditto
4804
4805         * lyx_main.C (defaultKeyBindings): adjust keybindings
4806         (deadKeyBindings): ditto
4807
4808         * kbsequence.C (addkey): return a FuncRequest
4809
4810         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4811
4812         * kbmap.C (bind): take a FuncRequest as arg, adjust
4813         (read): adjust
4814         (lookup): adjust
4815         (defkey): change to take a FuncRequest as arg, adjust
4816         (findbinding): take a FuncRequest as arg, adjust.
4817
4818         * funcrequest.h (operator=): added
4819
4820         * funcrequest.C (FuncRequest): default kb_action changed from
4821         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4822
4823         * buffer.C (dispatch): simplify
4824         (dispatch): adjust to take a FuncRequest as arg, adjust
4825
4826         * boost.C (assertion_failed): change assertion message slightly
4827
4828         * ToolbarBackend.C (read): simplify
4829
4830         * MenuBackend.C (binding): adjust call to findbinding, add a
4831         message if no binding is found.
4832         (read): simplify
4833         (expandToc): correct by adding a empty FuncRequest
4834
4835         * LyXAction.C: include <boost/assert.hpp>
4836         (isPseudoAction): delete function
4837         (LookupFunc): change name to...
4838         (lookupFunc): this. change return type to FuncRequest.
4839         (getActionName): take kb_action as arg, simplify
4840         (funcHasFlag): add an assert, simplify.
4841
4842 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4843
4844         * toc.C (action): return a FuncRequest, simplify
4845
4846         * lyxfunc.C (processKeySym): adjust
4847         (getStatus): delete version that takes an int.
4848         (getStatus): adjust
4849         (dispatch): delete version that takes action as int
4850         (dispatch): adjust
4851         (sendDispatchMessage): simplify and adjust
4852
4853         * funcrequest.C (getArg): take unsigned int as arg
4854
4855         * ToolbarBackend.C (read): adjust
4856         (add): delete version that takes func as a string.
4857         (getIton): take a FuncRequest as arg
4858
4859         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4860         action.
4861
4862         * MenuBackend.C (MenuItem): add a new construct that only takes a
4863         Kind, simplify the constructor use for submenus.
4864         (add): adjust
4865         (expandLastfiles): adjust
4866         (expandDocuments): adjust
4867         (expandFormats): adjust
4868         (expandFloatListInsert): adjust
4869         (expandFloatInsert): adjust
4870         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4871
4872         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4873         Remove class variables lyx_pseudo_map and lyx_arg_map
4874
4875         * LyXAction.C (searchActionArg): delete function
4876         (getPseudoAction): delete function
4877         (retrieveActionArg): delete function
4878         (LookupFunc): make it return kb_action, simplify.
4879         (getActionName): simplify
4880
4881         * factory.C (createInset): fix new bug
4882
4883 2003-09-19  Angus Leeming  <leeming@lyx.org>
4884
4885         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4886         masterFilename_ parameter in the include inset.
4887
4888         * factory.C (createInset): changes due to the changes to InsetInclude.
4889
4890 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4891
4892         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4893
4894 2003-09-18  Angus Leeming  <leeming@lyx.org>
4895
4896         * buffer.C:
4897         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4898         Inset::fillWithBibKeys.
4899         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4900
4901 2003-09-18  Angus Leeming  <leeming@lyx.org>
4902
4903         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4904         variables.
4905         (ctor): pass and store a 'Buffer const &'
4906         (buffer): new member function.
4907
4908         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4909         '*this' to the LaTeXFeatures ctor.
4910
4911 2003-09-18  Angus Leeming  <leeming@lyx.org>
4912
4913         * LColor.h:
4914         * lyxfont.C:
4915         * lyxfont.h:
4916         * lyxtext.h:
4917         * text.C: rename EnumLColor as LColor_color.
4918
4919 2003-09-18  Angus Leeming  <leeming@lyx.org>
4920
4921         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4922         remove #include "insets/insetbase.h" from cursor.h.
4923
4924 2003-09-18  Angus Leeming  <leeming@lyx.org>
4925
4926         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4927         InsetOld_code to remove #include "inset.h".
4928
4929         * iterators.C: add #include "insets/inset.h"
4930
4931 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4932
4933         * BufferView.C: remove more locking stuff that apparently doesn't
4934         do anything sensible.
4935
4936 2003-09-16  André Pönitz  <poenitz@gmx.net>
4937
4938         * paragraph.[Ch]:
4939         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4940           performance boost.
4941
4942 2003-09-16  Angus Leeming  <leeming@lyx.org>
4943
4944         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4945
4946         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4947         arg/return type.
4948
4949         * paragraph.h: remove #include "lyxfont.h". Forward declare
4950         LyXFont_size.
4951
4952 2003-09-16  Angus Leeming  <leeming@lyx.org>
4953
4954         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4955         of support/textutils.h.
4956         (isWord): move the contents of support/textutils.h's IsWordChar here.
4957
4958         * buffer.C:
4959         * lyxfind.C:
4960         * rowpainter.C:
4961         * text.C:
4962         * text2.C: add #include "paragraph.h".
4963
4964         * rowpainter.C:
4965         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4966
4967 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4968
4969         * main.C:
4970         * lyx_main.C:
4971         * lyx_cb.C:
4972         * buffer.C:
4973         * LaTeX.C: use namespace alias for lyx::support::os
4974
4975 2003-09-16  Angus Leeming  <leeming@lyx.org>
4976
4977         * bufferparams.C:
4978         * bufferview_funcs.C:
4979         * factory.C:
4980         * lyxfunc.C:
4981         * paragraph_pimpl.C:
4982         * rowpainter.C:
4983         * text.C: add #include "LColor.h".
4984
4985 2003-09-16  Angus Leeming  <leeming@lyx.org>
4986
4987         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4988         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4989         return LyXFont &.
4990         Store the FontBits::color variable as an int rather than as an
4991         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4992         file.
4993
4994         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4995         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4996         string calls together.
4997
4998         * lyxrc.C: add #include "LColor.h".
4999
5000 2003-09-15  Angus Leeming  <leeming@lyx.org>
5001
5002         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5003         a cow_ptr.
5004
5005 2003-09-15  Angus Leeming  <leeming@lyx.org>
5006
5007         * LColor.h: add an EnumLColor wrapper for LColor::color.
5008
5009         * lyxfont.[Ch] (color, setColor, realColor):
5010         * lyxtext.h, text.C (backgroundColor):
5011         pass EnumLColor args to/from the functions, rather than LColor::color
5012         ones.
5013
5014         * lyxfont.h:
5015         * lyxtext.h: forward declare EnumLColor.
5016
5017         * lyx_main.C: add #include "LColor.h".
5018
5019 2003-09-15  Angus Leeming  <leeming@lyx.org>
5020
5021         * .cvsignore: add lyx-gtk.
5022
5023 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5024
5025         * Chktex.C
5026         * LaTeX.C
5027         * LaTeXFeatures.C
5028         * ParagraphParameters.C
5029         * Spacing.C
5030         * buffer.C
5031         * bufferparams.C
5032         * bufferview_funcs.C
5033         * chset.C
5034         * counters.C
5035         * funcrequest.C
5036         * lyxfont.C
5037         * lyxgluelength.C
5038         * lyxlength.C
5039         * paragraph.C
5040         * paragraph_funcs.C
5041         * text3.C
5042         * vc-backend.C: remove usage of STRCONV
5043
5044 2003-09-15  Angus Leeming  <leeming@lyx.org>
5045
5046         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5047         explicitly define the color passed to the painter.
5048
5049 2003-09-15  Angus Leeming  <leeming@lyx.org>
5050
5051         * bufferparams.C (BufferParams): reorder member initializers to avoid
5052         compiler warning.
5053
5054 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5055
5056         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5057         * text.C (updateRowPositions): remove an unusual nop
5058
5059 2003-09-12  André Pönitz  <poenitz@gmx.net>
5060
5061         * BufferView_pimpl.C:
5062         * Bullet.C:
5063         * layout.h:
5064         * lyxfunc.C:
5065         * lyxlayout.[Ch]:
5066         * lyxtextclass.C:
5067         * rowpainter.C:
5068         * text.C:
5069         * text2.C:
5070         * Counters.[Ch]: finish the 'automatic counters' job
5071
5072 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5073
5074         * aspell.C: include <boost/assert.cpp> (compile fix)
5075
5076 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5077
5078         * boost.C (assertion_failed): use lyx::support::abort instead of
5079         assert.
5080
5081 2003-09-10  Angus Leeming  <leeming@lyx.org>
5082
5083         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5084         with their _fwd progeny.
5085
5086 2003-09-09  Angus Leeming  <leeming@lyx.org>
5087
5088         134 files throughtout the source tree: replace 'using namespace abc;'
5089         directives with the appropriate 'using abc::xyz;' declarations.
5090
5091 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5092
5093         * boost.C (emergencyCleanup): moved here from LAssert.c
5094         (assertion_failed): new function, called by BOOST_ASSERT
5095
5096         * several files: change Assert to BOOST_ASSERT
5097
5098 2003-09-09  Angus Leeming  <leeming@lyx.org>
5099
5100         * buffer.[Ch]: Add an Impl class and move Buffer's member
5101         variables into it. As a result move several header files out of
5102         buffer.h.
5103
5104         Add header files to lots of .C files all over the tree as a result.
5105
5106 2003-09-09  Angus Leeming  <leeming@lyx.org>
5107
5108         * buffer.[Ch]: make Buffer's member variables private. Add
5109         accessor functions.
5110
5111         Lots of changes all over the tree as a result.
5112
5113 2003-09-08  Angus Leeming  <leeming@lyx.org>
5114
5115         * graph.C: #include <config.h>.
5116
5117 2003-09-08  Angus Leeming  <leeming@lyx.org>
5118
5119         * BranchList.C:
5120         * BufferView.C:
5121         * BufferView_pimpl.C:
5122         * CutAndPaste.C:
5123         * DepTable.C:
5124         * LaTeX.C:
5125         * LaTeXFeatures.C:
5126         * LyXAction.C:
5127         * MenuBackend.C:
5128         * TextCache.C:
5129         * aspell.C:
5130         * buffer.C:
5131         * bufferlist.C:
5132         * changes.C:
5133         * chset.C:
5134         * converter.C:
5135         * counters.C:
5136         * debug.C:
5137         * graph.C:
5138         * ispell.C:
5139         * lyx_cb.C:
5140         * lyxfind.C:
5141         * lyxfunc.C:
5142         * lyxlex_pimpl.C:
5143         * lyxrc.C:
5144         * lyxrow.C:
5145         * paragraph.C:
5146         * rowpainter.C:
5147         * texrow.C:
5148         * text.C:
5149         * text2.C:
5150         * toc.C: remove redundant using directives.
5151
5152 2003-09-07  Angus Leeming  <leeming@lyx.org>
5153
5154         * LaTeXFeatures.h: remove #include "support/types.h".
5155         * ToolbarBackend.h: remove #include <algorithm>.
5156         * changes.h: remove #include <ctime>.
5157         * debug.h: remove #include <iosfwd>.
5158         * graph.h: remove #include "support/std_string.h".
5159         * lyx_main.h: remove #include <csignal>.
5160         * lyxlex_pimpl.h: remove #include <fstream>.
5161         * sgml.h: remove #include <algorithm>, <utility>.
5162         * toc.h: remove #include "support/std_ostream.h".
5163         Add #include <iosfwd>.
5164
5165 2003-09-07  Angus Leeming  <leeming@lyx.org>
5166
5167         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5168
5169         * converter.h: forward declare LatexRunParams.
5170         * encoding.h: remove #include "lyxrc.h".
5171         * lyxtext.h: remove #include "LColor.h".
5172         * lyxtextclass.h: remove #include "support/types.h".
5173         * trans.h: remove #include "tex-accent.h".
5174         * trans_mgr.h: remove #include "tex-accent.h".
5175         * insets/inset.h: remove #include "support/types.h", <vector>.
5176         * insets/insetcollapsable.h: remove #include "LColor.h".
5177         * insets/insetinclude.h: remove #include "dimension.h".
5178         * insets/insetlatexaccent.h: remove #include "dimension.h".
5179         * insets/insetoptarg.h:: remove #include "insettext.h".
5180         * insets/insettext.h: remove #include "dimension.h",
5181         <boost/shared_ptr.hpp>
5182
5183         * insets/renderers.h: add #include "dimension.h".
5184         * insets/updatableinset.h: add #include "support/types.h".
5185
5186         * many .C files: Associated changes.
5187
5188 2003-09-06  Angus Leeming  <leeming@lyx.org>
5189
5190         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5191         one, inside testInvariant.
5192
5193         * PrinterParams.C: new file.
5194         * PrinterParams.[Ch]: move the function bodies out of line.
5195
5196 2003-09-06  Angus Leeming  <leeming@lyx.org>
5197
5198         * ParagraphParameters.h: forward declare ParameterStruct rather than
5199         including its header file.
5200         (depth): moved out-of-line.
5201
5202 2003-09-06  Angus Leeming  <leeming@lyx.org>
5203
5204         * BufferView_pimpl.h:
5205         * kbmap.h:
5206         * kbsequence.h:
5207         * lyxfunc.h: forward declare LyXKeySym rather than
5208         #include "frontends/LyXKeySym.h".
5209
5210         * BufferView_pimpl.C:
5211         * kbmap.C:
5212         * kbsequence.C:
5213         * lyxfunc.C: associated changes.
5214
5215 2003-09-06  Angus Leeming  <leeming@lyx.org>
5216
5217         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5218         As a result, can remove the #include "insets/inset.h" from BufferView.h
5219
5220 2003-09-06  Angus Leeming  <leeming@lyx.org>
5221
5222         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5223         As a result, can remove the #include "insets/inset.h" from BufferView.h
5224
5225 2003-09-06  Angus Leeming  <leeming@lyx.org>
5226
5227         * buffer_funcs.C:
5228         * buffer.h:
5229         * bufferlist.C:
5230         * BufferView.C:
5231         * bufferview_funcs.C:
5232         * BufferView_pimpl.C:
5233         * CutAndPaste.C:
5234         * lyx_cb.C:
5235         * lyxfunc.C:
5236         * paragraph.h:
5237         * ParagraphParameters.C:
5238         * tabular.C:
5239         * text3.C:
5240         * toc.C:
5241         * undo_funcs.C:
5242         * frontends/controllers/ControlDocument.C:
5243         * insets/insetcaption.C: rearrange the #includes into some sort of
5244         coherent order.
5245
5246         * buffer.h: remove #includes ErrorList.h, undo.h
5247
5248 2003-09-06  Angus Leeming  <leeming@lyx.org>
5249
5250         * support/types.h: add a 'depth_type' typedef, used to store the
5251         nesting depth of a paragraph.
5252
5253         * paragraph.h:
5254         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5255         defining explicitly.
5256
5257         * buffer.h:
5258         * paragraph_funcs.h:
5259         * ParagraphParameters.h:
5260         * sgml.h: use lyx::depth_type rather than Paragraph or
5261         ParameterStruct's depth_type.
5262
5263         * buffer.h
5264         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5265
5266         * BufferView.C:
5267         * BufferView_pimpl.C:
5268         * CutAndPaste.C:
5269         * ParagraphParameters.C:
5270         * buffer_funcs.C:
5271         * bufferlist.C:
5272         * bufferview_funcs.C:
5273         * lyx_cb.C:
5274         * lyxfunc.C:
5275         * tabular.C:
5276         * text3.C:
5277         * toc.C:
5278         * undo_funcs.C:
5279         * frontends/LyXView.C:
5280         * frontends/controllers/ControlDocument.C:
5281         * frontends/controllers/ControlErrorList.C:
5282         * insets/insetbibitem.C:
5283         * insets/insetbranch.C:
5284         * insets/insetcaption.C:
5285         * insets/insetcollapsable.C:
5286         * insets/insetenv.C:
5287         * insets/insetert.C:
5288         * insets/insetfloat.C:
5289         * insets/insetfoot.C:
5290         * insets/insetfootlike.C:
5291         * insets/insetnewline.C:
5292         * insets/insetquotes.C:
5293         * insets/insettabular.C:
5294         * insets/insettext.C:
5295         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5296
5297         * frontends/controllers/ControlChanges.C: #include "changes.h".
5298
5299 2003-09-06  Angus Leeming  <leeming@lyx.org>
5300
5301         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5302         than #including paragraph.h.
5303
5304         * ParagraphList.h:
5305         * RowList.h: deleted. Superfluous.
5306
5307         * CutAndPaste.h:
5308         * iterators.h:
5309         * lyxcursor.h:
5310         * lyxtext.h:
5311         * text_funcs.h:
5312         * undo.h:
5313         * undo_funcs.h:
5314         * insets/inset.h:
5315         * insets/insettext.h: use ParagraphList_fwd.h rather than
5316         ParagraphList.h.
5317
5318         * paragraph.h: don't forward declare ParagraphList.
5319
5320         * buffer.h:
5321         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5322         rather than ParagraphList.h. paragraph.h is still needed for the
5323         Paragraph::depth_type parameters.
5324
5325         * textcursor.h: enable it to compile stand-alone in light of the
5326         above changes.
5327
5328         * bufferview_funcs.C:
5329         * iterators.C:
5330         * lyxfunc.C:
5331         * lyxrow_funcs.C:
5332         * paragraph.C:
5333         * rowpainter.C:
5334         * text.C:
5335         * text2.C:
5336         * text3.C:
5337         * text_funcs.C:
5338         * textcursor.C:
5339         * undo.C:
5340         * frontends/controllers/ControlParagraph.C:
5341         * frontends/controllers/ControlTabular.C:
5342         * insets/insetmarginal.C:
5343         * insets/insetminipage.C:
5344         * insets/insetnote.C:
5345         * insets/insetoptarg.C: add header files needed to compile again.
5346
5347 2003-09-06  Angus Leeming  <leeming@lyx.org>
5348
5349         * RowList_fwd.h: new file, forward-declaring Row rather than
5350         #including lyxrow.h.
5351
5352         * lyxrow_funcs.h:
5353         * lyxtext.h:
5354         * paragraph.h:
5355         * insets/insettext.h: use it instead of RowList.h
5356
5357         * bufferview_funcs.C:
5358         * lyxfunc.C:
5359         * lyxrow_funcs.C:
5360         * paragraph.C:
5361         * rowpainter.C:
5362         * text.C:
5363         * text2.C:
5364         * text3.C: #include "RowList.h".
5365
5366 2003-09-05  Angus Leeming  <leeming@lyx.org>
5367
5368         * factory.C (createInset):
5369         * vspace.C (c-tor): replace sscanf call with an istringstream.
5370         * ispell.C: re-add missing HP/UX headers.
5371         * lyxserver.C: re-add missing  os2 headers.
5372
5373 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5374
5375         * BranchList.C:
5376         * graph.C:
5377         * ispell.C:
5378         * lastfiles.C:
5379         * lyx_cb.C:
5380         * lyxserver.C:
5381         * texrow.C:
5382         * text3.C: re-add missing system headers, needed for 2.95.2.
5383
5384 2003-09-05  Angus Leeming  <leeming@lyx.org>
5385
5386         Changes most place everywhere due to the removal of using directives
5387         from support/std_sstream.h.
5388
5389 2003-09-05  Angus Leeming  <leeming@lyx.org>
5390
5391         Replace LString.h with support/std_string.h,
5392         Lsstream.h with support/std_sstream.h,
5393         support/LIstream.h with support/std_istream.h,
5394         support/LOstream.h with support/std_ostream.h.
5395
5396         Changes resulting throughout the tree.
5397
5398 2003-09-05  Angus Leeming  <leeming@lyx.org>
5399
5400         * sgml.h: ensure that the header file can be compiled stand-alone.
5401         * *.C: strip out redundant #includes. (320 in total.)
5402
5403 2003-09-04  Angus Leeming  <leeming@lyx.org>
5404
5405         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5406         here (from getPackages).
5407
5408         * debug.[Ch]: add a new EXTERNAL tag.
5409
5410 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5411
5412         * text2.C (cursorEnd): simplify
5413         (setCursor): adjust
5414         (getColumnNearX): adjust
5415
5416         * text.C (computeBidiTables): adjust
5417         (fill): adjust
5418
5419         * rowpainter.C (paintChars): adjust
5420         (paintSelection): adjust
5421         (paintChangeBar): adjust
5422         (paintText): adjust
5423
5424         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5425         lastPos instead.
5426         (numberOfSeparators): adjust
5427
5428 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5429
5430         * LyXAction.C:
5431         * box.[Ch]:
5432         * lfuns.h:
5433         * lyxfunc.C:
5434         * text3.C: Restricts the mouse click functionality
5435         of insets like bibtex, include, toc and floatlist to the visible
5436         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5437         up the dialogs. Cursor has to be in front of the inset (i.e.
5438         start of row) for this to function.
5439
5440 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5441
5442         * bufferview_funcs.C (currentState): output row information
5443
5444 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5445
5446         * bufferview_funcs.C (currentState): output paragraph position
5447
5448 2003-09-04  Angus Leeming  <leeming@lyx.org>
5449
5450         * FloatList.h: move out #include "Floating.h".
5451         * LaTeX.h: move out #include "DepTable.h".
5452         * LyXAction.h: move out #include "funcrequest.h".
5453         * buffer.h: move out #include "author.h", "iterators.h".
5454         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5455         * lyx_main.h: move out #include "errorlist.h".
5456         * lyxfunc.h: move out #include "FuncStatus.h".
5457         * lyxtext: move out #include "lyxcursor.h".
5458         * paragraph_pimpl.h: move out #include "counters.h".
5459
5460 2003-09-03  Angus Leeming  <leeming@lyx.org>
5461
5462         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5463         preamble_snippets list, enabling us to add snippets to the preamble
5464         only if the snippet was not there already.
5465
5466 2003-09-04  Angus Leeming  <leeming@lyx.org>
5467
5468         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5469
5470 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5471
5472         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5473         update
5474
5475 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5476
5477         * BranchList.C: point fix, earlier forgotten
5478
5479 2003-09-02  Angus Leeming  <leeming@lyx.org>
5480
5481         * box.C (contains): renamed from 'contained' after a fantastic
5482         amount of hot air.
5483
5484 2003-09-02  John Levon  <levon@movementarian.org>
5485
5486         * BufferView.C:
5487         * lyxcursor.h:
5488         * lyxcursor.C:
5489         * lyxfunc.C:
5490         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5491
5492 2003-09-02  John Levon  <levon@movementarian.org>
5493
5494         * text2.C: simplification of cursorEnd(), including partial
5495         fix for bug 1376
5496
5497 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5498
5499         * buffer.C (readFile): add a space
5500
5501 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5502
5503         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5504
5505 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5506
5507         * buffer.C (readFile): new function, take a filename and a
5508         ParagraphList::iterator
5509         (readFile): adjust
5510         (readFile): adjust, make it private. don't use setStream, make
5511         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5512         always contain the filename.
5513
5514         * BufferView.C (insertLyXFile): simplify and make it work for
5515         gzipped files.
5516
5517 2003-08-30  John Levon  <levon@movementarian.org>
5518
5519         * Makefile.am: fix dist (from Kayvan)
5520
5521 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5522
5523         * most files: change to use const Buffer refs
5524
5525 2003-08-27  André Pönitz  <poenitz@gmx.net>
5526
5527         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5528         on top of ownerPar().
5529
5530 2003-08-27  John Levon  <levon@movementarian.org>
5531
5532         * funcrequest.C: properly initialise POD members
5533
5534 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5535
5536         * lyxtext.h (top_y): move top_y from here
5537         * text.C:
5538         * text2.C:
5539         * text3.C:
5540         * BufferView.[Ch]:
5541         * BufferView_pimpl.[Ch]: to here
5542         * frontends/screen.C:
5543         * insets/insettabular.C:
5544         * insets/insettext.C: adjust
5545         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5546
5547 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5548
5549         * BufferView.[Ch]:
5550         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5551
5552 2003-08-26  André Pönitz  <poenitz@gmx.net>
5553
5554         * paragraph_func.[Ch] (outerPar): new function
5555
5556         * paragraph.C:
5557         * paragraph_funcs.C:
5558         * paragraph_funcs.h:
5559         * paragraph_pimpl.C:
5560         * text2.C: remove Inset::par_owner
5561
5562 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5563
5564         * lyxrow_funcs.C:
5565         * lyxtext.h:
5566         * text.C:
5567         * text2.C: eliminates the needFullRow/display() stuff
5568         altogether, putting the logic in metrics/draw in the insets.
5569
5570 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5571
5572         * text2.C (redoParagraphInternal, redoParagraphs):
5573         * text.C (redoParagraph): add a call to updateRowPositions at the
5574         end of each 'metrics-like' call. Remove all others.
5575         (getRow): remove the 'y-computing' version.
5576         (getRowNearY): do not compute nor return the real y. Solve the
5577         'y < 0' problem and simplify.
5578
5579 2003-08-22  Angus Leeming  <leeming@lyx.org>
5580
5581         * *.[Ch]: clean-up of licence and author blurbs.
5582         Also move config.h out of a few .h files and into a few .C files.
5583
5584 2003-08-22  André Pönitz  <poenitz@gmx.net>
5585
5586         * lyxrow.[Ch]: add x_ and *fill_ members
5587
5588         * lyxtext.h:
5589         * text.C:
5590         * rowpainter.C:
5591         * text2.C: adjust/remove prepareToPrint() calls
5592
5593 2003-08-22  André Pönitz  <poenitz@gmx.net>
5594
5595         * lyxrow.[Ch]: add  end_ member
5596
5597         * lyxrow_funcs.C: use LyXRow::end_
5598
5599         * lyxtext.h (singleWidth): add LyXFont parameter
5600
5601         * rowpainter.C:
5602         * text2.C: adjust LyXText::singleWidth() calls
5603
5604         * text.C (redoParagraph): simplify row breaking logic
5605
5606
5607 2003-08-19  André Pönitz  <poenitz@gmx.net>
5608
5609         * funcrequest.C: initialize button_ member
5610
5611         * text3.C:
5612         * rowpainter.[Ch]: interface consolidation
5613
5614 2003-08-18  André Pönitz  <poenitz@gmx.net>
5615
5616         * BufferView.C:
5617         * BufferView_pimpl.C:
5618         * lyxfind.C:
5619         * paragraph_funcs.C:
5620         * rowpainter.C:
5621         * text3.C: remove LyXScreen::draw() and fitCursor calls
5622
5623         * BranchList.h: remove spurious semicolons
5624
5625         * MenuBackend.C: fix branchlist related crash
5626
5627 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5628
5629         * BranchList.[Ch]:
5630         * InsetList.[Ch]:
5631         * LColor.[Ch]:
5632         * LyXAction.C:
5633         * Makefile.am:
5634         * MenuBackend.[Ch]:
5635         * bufferparams.[Ch]:
5636         * factory.C:
5637         * lfuns.h:
5638         * lyxfunc.C:
5639         * text3.C: implements the 'branch inset'
5640         idea. This allows the output of various versions of a document
5641         from a single source version, selectively outputing or suppressing
5642         output of parts of the text.
5643         This implementation contains a 'branch list editor' in a separate
5644         tab of the document settings dialog. Branches are user definable
5645         and have a "display colour" to distinguish them on-screen.
5646
5647         ColorHandler was somewhat cleaned up.
5648         (1) make possible a dynamically growing LColor list by allowing
5649         the graphic context cache to grow along (vector);
5650         (2) eliminate an IMHO unnecessary step in colour allocation.
5651
5652 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5653
5654         * BufferView_pimpl.C: compile fix
5655
5656 2003-08-15  André Pönitz  <poenitz@gmx.net>
5657
5658         * rowpainter.C: remove extra metrics calls
5659
5660         * lyxtext.h: merge the two constructors into a single one,
5661           pass reference to owner's par list
5662
5663         * BufferView_pimpl.C:
5664         * text.C:
5665         * text2.C: adjust
5666
5667 2003-08-15  André Pönitz  <poenitz@gmx.net>
5668
5669         * lyxrow_funcs.[Ch]:
5670         * lyxtext.h:
5671         * paragraph.h:
5672         * paragraph_funcs.C:
5673         * rowpainter.C:
5674         * text.C:
5675         * text2.C:
5676         * text3.C:
5677         * text_funcs.C: split LyXText::rowlist_ into individual
5678         Paragraph::rows_ chunks
5679
5680         * BufferView.[Ch]:
5681         * BufferView_pimpl.[Ch]:
5682         * lyxfind.C:
5683         * lyxtext.h:
5684         * text3.C: remove toggleSelection()
5685
5686 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5687
5688         * bufferlist.C: beautify two alerts (shorter text of buttons)
5689         * buffer.C: Remove redundant ' ' from message
5690         * tabular.h:
5691         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5692         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5693         rename VALIGN_CENTER to VALIGN_MIDDLE
5694
5695 2003-08-11  André Pönitz  <poenitz@gmx.net>
5696
5697         * lyxtext.h (getPar):
5698         * text.C: new function
5699
5700 2003-08-11  André Pönitz  <poenitz@gmx.net>
5701
5702         * Makefile.am:
5703         * tracer.[Ch]: remove unneeded files
5704
5705         * InsetList.[Ch]: remove resizeInsetsLyXText()
5706
5707         * lyxtext.h:
5708         * text.C:
5709         * text2.C:
5710         * text3.C: merge insertParagraphs() and appendParagraph()
5711         remove breakAgain(), update()
5712
5713         * BufferView_pimpl.[Ch]:
5714         * bufferview_funcs.[Ch]:
5715         * lyxfunc.C:
5716         * paragraph.[Ch]:
5717         * rowpainter.C:
5718         * tabular.C: adjust after text & InsetList changes.
5719
5720 2003-08-08  André Pönitz  <poenitz@gmx.net>
5721
5722         * text.C (insertChar, backspace): replace rowlist fiddling
5723         with rebreak of full par
5724
5725         * lyxtext.h:
5726         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5727         checkParagraph, updateInset): removed
5728
5729 2003-08-07  André Pönitz  <poenitz@gmx.net>
5730
5731         * paragraph.C:
5732         * text3.C: merge some LFUN handlers, remove dead code
5733
5734 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5735
5736         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5737
5738 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5739
5740         * text2.C (DEPM): fix part of bug 1255 and 1256
5741
5742 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5743
5744         * BufferView_pimpl.C (workAreaDispatch): change to use
5745         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5746         that are no mouse related.
5747
5748 2003-08-05  André Pönitz  <poenitz@gmx.net>
5749
5750         * BufferView.[Ch]:
5751         * BufferView_pimpl.[Ch]:
5752         * bufferview_funcs.C:
5753         * text2.C:
5754         * text3.C: rip out "deep update"
5755
5756         * textcursor.[Ch] (last_sel_cursor): remove unused member
5757
5758 2003-08-04  André Pönitz  <poenitz@gmx.net>
5759
5760         * BufferView.[Ch]:
5761         * BufferView_pimpl.[Ch]:
5762         * ParagraphParameters.C:
5763         * bufferview_funcs.C:
5764         * lyx_cb.C:
5765         * lyxfind.C:
5766         * lyxfunc.C:
5767         * text.C:
5768         * text2.C:
5769         * text3.C: replace "complicated" BufferView::update(...) calls with
5770         simpler ones.
5771
5772         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5773
5774 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5775
5776         * Makefile.am (lyx_SOURCES): add paper.h
5777
5778 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5779
5780         * Makefile.am: move things around so that both lyx-qt and
5781         lyx-xforms can be built (according to --with-frontend). Then lyx
5782         is a symbolic link to lyx-[firstfrontend]
5783
5784 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5785
5786         * Always use std::endl with lyxerr
5787
5788 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5789
5790         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5791
5792 2003-08-01  André Pönitz  <poenitz@gmx.net>
5793
5794         * BufferView.[Ch]:
5795         * BufferView_pimpl.[Ch]:
5796         * lyxfunc.C:
5797         * text3.C: merge BufferView::repaint() and BufferView::update()
5798
5799 2003-08-01  José Matos  <jamatos@lyx.org>
5800
5801         * buffer.[Ch]: file_format is no longer a buffer data element.
5802
5803 2003-08-01  André Pönitz  <poenitz@gmx.net>
5804
5805         * BufferView.C:
5806         * lyxtext.h:
5807         * text.C:
5808         * text2.C: make redoParagraph more independent of current cursor
5809
5810         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5811         * text.C:
5812         * text2.C: remove unneeded members
5813
5814 2003-07-30  André Pönitz  <poenitz@gmx.net>
5815
5816         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5817
5818         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5819           create a single function...
5820
5821         * paragraph_funcs.C (moveItem): ... here.
5822
5823         * text.C:
5824           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5825
5826 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5827
5828         * LColor.[Ch]: Add comment and greyedout logical colors.
5829
5830 2003-07-30  André Pönitz  <poenitz@gmx.net>
5831
5832         * tabular.C: don't use Assert too heavily. This crashes where it
5833           shouldn't
5834
5835 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5836
5837         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5838         is disabled (bug 1232)
5839
5840 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5841
5842         * factory.C: limited 'arg' scope
5843
5844 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5845
5846         * factory.C: fixed Note submenu issues
5847
5848 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5849
5850         * factory.C: submenu for Note/Comment/Greyedout
5851
5852 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5853
5854         * lyx_main.C (LyX):
5855         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5856
5857 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5858
5859         * LaTeXFeatures.C:
5860         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5861         greyedout. Patch provided by Jürgen Spitzmüller.
5862
5863 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5864
5865         * kbmap.C (read): fix error message when reading bind files
5866
5867 2003-07-29  Angus Leeming  <leeming@lyx.org>
5868
5869         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5870         certainly does not do what it purports to do. I am doing it, and
5871         us, a favour by killing it.
5872
5873 2003-07-28  José Matos  <jamatos@lyx.org>
5874
5875         * buffer.C (readBody, do_writeFile):
5876         * paragraph.C(readParagraph): \end_document replaces \the_end.
5877
5878 2003-07-29  André Pönitz  <poenitz@gmx.net>
5879
5880         * BufferView.[Ch]:
5881         * BufferView_pimpl.[Ch]:
5882         * lyxfunc.C:
5883         * text2.C:
5884         * text3.C:
5885         * textcursor.[Ch]: remove toggleToggle & Co
5886
5887 2003-07-28  José Matos  <jamatos@fep.up.pt>
5888
5889         * buffer.C (readParagraph):
5890         * params_func (readParToken, readParagraph):
5891         * paragraph.C (write): \layout -> \begin_layout.
5892
5893 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5894
5895         * lyxlex_pimpl.C (setFile): clean up slightly.
5896
5897         * bufferparams.h: add compressed var
5898
5899         * buffer_funcs.C (readFile): adjust for LyXLex change
5900         (newFile): ditto + simplify
5901
5902         * buffer.C (writeFile): handle writing of compressed files
5903
5904         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5905         Check if the file is compressed and set a bufferparm if so.
5906
5907         * Makefile.am (lyx_LDADD): remove explicit -lz
5908
5909 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5910
5911         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5912         makeDocBookFile): put the real LyX version in the first line of
5913         the file
5914
5915         * version.h:
5916         * version.C.in: remove lyx_docversion
5917
5918         * tabular.C (write_attribute): add a template-based version to
5919         write enums properly
5920
5921 2003-07-28  André Pönitz  <poenitz@gmx.net>
5922
5923         * lyxtext.h:
5924         * text.C:
5925         * text2.C:
5926         * text3.C: use doubles again for x-coordinates. They are needed.
5927
5928 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5929
5930         * messages.C (getLocaleDir): use lyx_localedir()
5931
5932         * lyxlex_pimpl.C (setFile): compress stuff
5933
5934         * buffer.C (writeFile): add some compression stuff
5935         (do_writeFile): new func, dont call expliti close... will this
5936         breake anything?
5937
5938         * Makefile.am (lyx_LDADD): add -lz
5939
5940 2003-07-28  José Matos  <jamatos@fep.up.pt>
5941
5942         * buffer.C: increment file format.
5943         * paragraph_funcs (readParagraph, readParToken):
5944         * paragraph.C (readParagraph): add \end_layout.
5945
5946 2003-07-27  Angus Leeming  <leeming@lyx.org>
5947
5948         * Makefile.am: remove special casing for configure-time setting of
5949         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5950
5951         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5952         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5953
5954 2003-07-26  André Pönitz  <poenitz@gmx.net>
5955
5956         * paragraph_func.[Ch]:
5957         * paragraph.C (realizeFont): inline it whereever it is used
5958
5959         * rowpainter.C:
5960         * text.C:
5961         * text2.C:
5962         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5963
5964
5965 2003-07-26  André Pönitz  <poenitz@gmx.net>
5966
5967         *       lyxtext.h:
5968         * text.C:
5969         * text2.C: get rid of LyXText::need_break_row
5970
5971 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5972
5973         * toc.[Ch]: put namespace toc inside namespace lyx
5974
5975         * MenuBackend.C (expandToc2): adjust for lyx::toc
5976         (expandToc): ditto
5977
5978         * lyxfunc.C (dispatch): adjust for lyx::find
5979
5980         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5981         lyx::find instead. Reorganize a bit.
5982         (LyXReplace): rename to replace
5983         (LyXFind): rename to find
5984
5985         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5986         (dispatch): ditto
5987
5988 2003-07-26  André Pönitz  <poenitz@gmx.net>
5989
5990         * text.C (setHeightOfRow): restrict scope of temporary variable
5991
5992         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5993           code (never has been used?)
5994
5995 2003-07-27  Asger Alstrup  <alstrup@local>
5996
5997         * text.C (fill): Optimise algorithm to exploit that we can reuse
5998         the LyXFont for many characters.
5999         (setHeightOfRow): Same thing.
6000         (rowBreakPoint): Same thing.
6001
6002 2003-07-26  Asger Alstrup  <alstrup@local>
6003
6004         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6005
6006         * text.C (singleWidth): Spurious font copying in hot-spot
6007         singleWidth avoided. Reorder tests for arabic for efficiency.
6008
6009         * text.C (fill): handle empty paragraphs better.
6010
6011 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6012
6013         * ispell.C:
6014         * encoding.h: add includes
6015
6016         * lyxrc.C: remove reading of bind files
6017
6018         * lyx_main.C (init): setup bindings and menus only if we have a
6019         gui.
6020
6021         * kbmap.C (read): new method. Do the actual reading of bind
6022         files.
6023
6024         * converter.C (dvipdfm_options):
6025         * bufferparams.C:
6026         * lyxrc.C (read):
6027         (output): adapt PAPER_* enums.
6028
6029         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6030
6031         * bufferparams.h: remove paper-related enums from there
6032
6033         * paper.h: New file. A trivial header file to hold paper-related
6034         enums. It should later expand to contain many paper-related
6035         horrors access.
6036
6037         * lyxrc.C: declare extern displayTranslator
6038
6039 2003-07-27  José Matos  <jamatos@fep.up.pt>
6040
6041         * tabular.[Ch] (linuxdoc): add support for tables and figures
6042         (linuxdoc).
6043
6044 2003-07-27  José Matos  <jamatos@fep.up.pt>
6045
6046         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6047         consistency in both functions.
6048         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6049
6050 2003-07-26  Asger Alstrup  <alstrup@local>
6051
6052         * rowpainter.C (paintRows): Change algorithm to work directly on
6053         the insets rather than asking every character in the document
6054         whether its an inset.
6055
6056 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6057
6058         * buffer.C (openFileWrite): factorize some code
6059
6060 2003-07-26  Angus Leeming  <leeming@lyx.org>
6061
6062         * lyx_cb.C:
6063         * lyx_main.[Ch]: replace occurances of system_tempdir with
6064         os::getTmpDir().
6065
6066 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6067
6068         * rename Inset to InsetOld
6069
6070 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6071
6072         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6073         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6074         which I think is a bit clearer. EDIT is gone, since it was
6075         premature optimisation, and broken for mathed anyway.
6076         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6077         with cursor positioning in insets as well (math insets still do not
6078         work, but that's a different story anyway.) It mysteriously
6079         crashes sometimes with undo in the first paragraph, but I'm fairly
6080         confident that this is a compiler bug.
6081
6082 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6083
6084         * paragraph.C (Paragraph): adjust for new clone return type
6085         (operator==): ditto
6086         (copyIntoMinibuffer): ditto
6087
6088 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6089
6090         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6091         by not having a special case, and always doing a full rebreak of
6092         the document after undo.
6093
6094 2003-07-23  Angus Leeming  <leeming@lyx.org>
6095
6096         * factory.C (createInset): InsetExternal::setParams now takes a
6097         Buffer const * arg.
6098
6099 2003-07-23  Angus Leeming  <leeming@lyx.org>
6100
6101         * factory.C (createInset): changed interface to the external and
6102         graphics mailers' string2params functions.
6103
6104 2003-07-23  Angus Leeming  <leeming@lyx.org>
6105
6106         * factory.C (createInset): pass a
6107         Buffer const * parameter to InsetExternalMailer's string2params.
6108
6109 2003-07-22  John Levon  <levon@movementarian.org>
6110
6111         * Thesaurus.h: include the right aiksaurus header
6112
6113 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6114
6115         * MenuBackend.C (expand): check menu shortcuts unconditionally
6116
6117 2003-07-21  Angus Leeming  <leeming@lyx.org>
6118
6119         * factory.C (createInset): pass a
6120         buffer_path parameter to InsetGraphicsMailer's string2params.
6121
6122 2003-07-21  Angus Leeming  <leeming@lyx.org>
6123
6124         * BufferView_pimpl.C (buffer):
6125         * buffer.C (d-tor):
6126         * lyx_main.C (LyX):
6127         * lyxfunc.C (dispatch):
6128         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6129         rather than the grfx shortcut.
6130
6131 2003-07-21  André Pönitz  <poenitz@gmx.net>
6132
6133         * rowpainter.C: remove unused variables
6134
6135         * tabular_funcs.C:
6136         * tabular_funcs.h: move to tabular.C
6137         * Makefile.am: adjust
6138
6139         * tabular.[Ch]: basic optical cleaning
6140
6141         * author.h: pass references, not values
6142
6143 2003-07-18  André Pönitz  <poenitz@gmx.net>
6144
6145         * lyxtext.h:
6146         * metricsinfo.C:
6147         * metricsinfo.h:
6148         * rowpainter.C:
6149         * text.C:
6150         * text2.C:
6151         * text3.C: two-phase drawing for InsetText and InsetTabular
6152         some float -> int changes.
6153
6154 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6155
6156         * lyx_main.C: fix the fix
6157
6158 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6159
6160         * lyx_main.C: fix a crash in batch mode if no files specified
6161         * converter.C: ws
6162
6163 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6164
6165         * format.[Ch] (papersize): moved to BufferParams
6166         * converter.[Ch] (dvips_options): moved to BufferParams
6167         (dvipdfm_options): moved to anon namespace
6168         * bufferparams.[Ch]: added above functions.
6169
6170 2003-07-17  André Pönitz  <poenitz@gmx.net>
6171
6172         * lyxtext.h:
6173         * rowpainter.C:
6174         * text2.C: don't call inset->update() anymore
6175
6176         * metricsinfo.[Ch]: add convenience constructor
6177
6178 2003-07-16  André Pönitz  <poenitz@gmx.net>
6179
6180         * lyxcursor.[Ch]:
6181         * lyxfunc.[Ch]:
6182         * text.C:
6183         * text2.C: replace the LyXCursor::irow_ member with
6184          on-demand computation of the value
6185
6186 2003-07-16  John Levon  <levon@movementarian.org>
6187
6188         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6189
6190 2003-07-15  André Pönitz  <poenitz@gmx.net>
6191
6192         * text.C:
6193         * text2.C: remove no more needed refresh_row
6194
6195 2003-07-15  André Pönitz  <poenitz@gmx.net>
6196
6197         * lyxtext.h:
6198         * rowpainter.C:
6199         * text2.C:
6200         * text3.C: refresh_status tristate -> need_update bool
6201
6202 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6203
6204         * lyxtext.h (init): remove reinit argument (act as if always true)
6205         * text2.C: adjust to that
6206
6207 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6208
6209         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6210         * text3.C: use it to delete selections in some cases
6211         (bugs 441, 673, 702, 954).
6212
6213 2003-07-14  André Pönitz  <poenitz@gmx.net>
6214
6215         * rowpainter.[Ch]: reduce interface
6216
6217 2003-07-14  André Pönitz  <poenitz@gmx.net>
6218
6219         * BufferView_pimpl.C:
6220         * text2.C: adjust after removing unused BufferView * argument
6221
6222 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6223
6224         * text2.C (init): fix a crash fired on resize
6225
6226 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6227
6228         * buffer.[Ch]: added new closing signal
6229         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6230         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6231         BufferView::Pimpl via the closing the signal
6232
6233 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6234
6235         * buffer.[Ch]: take out all bv-related from buffer
6236         * BufferView.C:
6237         * BufferView_pimpl.[Ch]: connect to new signals
6238         * CutAndPaste.C: removed useless asserts
6239         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6240         * lyxvc.[Ch]:
6241         * vc-backend.[Ch]:
6242         * lyxfunc.C: moved view-related funciontality from vc here
6243         * paragraph.C: removed outdated comments
6244         * text.C: ws
6245
6246 2003-07-10  André Pönitz  <poenitz@gmx.net>
6247
6248         * BufferView_pimpl.C:
6249         * tabular.h:
6250         * tabular_funcs.C:
6251         * text.C:
6252         * text2.C: remove InsetText::InnerCache, clean up consequences
6253
6254 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6255
6256         * ispell.C: fix two typos in error messages
6257
6258 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6259
6260         * Extend Note inset to other forms of annotation like Comment
6261         and Greyedout. Right button click gives dialog.
6262
6263         Files modified or added (+):
6264
6265         * insetnote.[Ch]
6266         * FormNote.[Ch]      +
6267         * ControlNote.[Ch]   +
6268         * form_note.fd       +
6269         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6270         frontends/controllers
6271         * xforms/Dialogs.C
6272         * factory.C
6273
6274 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6275
6276         * aspell.C: add missing namespace lyx::support
6277
6278 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6279
6280         * BufferView.[Ch] (newFile): Add
6281         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6282         * LaTeX.[Ch] (message): added this signal and use it
6283         * buffer.[Ch] (busy, message): added these signals and use them
6284         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6285         * converter.C:
6286         * exporter.C:
6287         * format.C:
6288         * importer.C: use buffer signals instead of direct bv calling
6289         * lyx_cb.[Ch] (ShowMessage): removed
6290         * lyx_main.C:
6291         * lyxfunc.C:
6292         * paragraph_funcs.C:
6293         * text2.C: use buffer signals
6294
6295 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6296
6297         * introduce namespace lyx::graphics
6298
6299 2003-07-02  André Pönitz  <poenitz@gmx.net>
6300
6301         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6302
6303 2003-07-01  André Pönitz  <poenitz@gmx.net>
6304
6305         * text.C:
6306         * text2.C:
6307         * text3.C:
6308         * text_funcs.[Ch]:
6309         * textcursor.h:
6310         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6311           text*.C to text_func.C
6312
6313 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6314
6315         * introduce namespace lyx::support
6316
6317 2003-06-30  André Pönitz  <poenitz@gmx.net>
6318
6319         * Chktex.C:
6320         * funcrequest.C:
6321         * lyxtext.h:
6322         * text.C: re-enable --with-included-string
6323
6324 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6325
6326         * textcursor.C: add <config.h>
6327
6328         * text.C (getWord): remove const from word_location arg
6329
6330         * lyxvc.C (getLogFile): fix const type order
6331
6332         * lyxtext.h: remove const from word_location arg, add arg name
6333
6334         * lyxlayout.h: currect type on labeltype.
6335
6336         * importer.C: correct \file
6337
6338         * converter.C (intToFormat): use std:: on ret val, ws changes
6339
6340         * bufferlist.h: correct \file
6341
6342         * buffer.C (makeLinuxDocFile): fix const type order
6343         (makeDocBookFile): ditto
6344         (fillWithBibKeys): use std:: on stdlib args.
6345
6346         * CutAndPaste.C: fix authors.
6347         (availableSelections): use std:: on return vector
6348
6349 2003-06-27  André Pönitz  <poenitz@gmx.net>
6350
6351         * BufferView_pimpl.C:
6352         * bufferview_funcs.C:
6353         * lyxcursor.C:
6354         * lyxcursor.h:
6355         * lyxfunc.C:
6356         * lyxtext.h:
6357         * rowpainter.C:
6358         * text.C:
6359         * text2.C:
6360         * text3.C: remove LyXCursor::row_ member
6361
6362         * lyxtext.h:
6363         * text.C: rename fullRebreak() to partialRebreak() and implement
6364           a fullRebreak() that really bereks fully
6365
6366         * textcursor.h: new struct for cursor-related data
6367
6368 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6369
6370         * lyx_main.C (LyX): get full path of document loaded on the
6371         command line
6372
6373 2003-06-26  André Pönitz  <poenitz@gmx.net>
6374
6375         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6376           remove unused/broken operator>,<,>=.
6377
6378         *       text.C: remove only use of broken operator<= in an Assert().
6379
6380 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6381
6382         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6383         moved errorlist_.clear to showErrorList
6384
6385 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6386
6387         * converter.C (scanLog, runLaTeX):
6388         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6389         move the bv->showErrorList call to the callers
6390         * lyxfunc.C: i.e. here...
6391         * text2.C: and here
6392         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6393         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6394         namespace, the second to...
6395         * buffer_funcs (BufferFormat, parseErrors): added
6396         * errorlist.C (ErrorList(TeXErrors const &)): removed
6397
6398 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6399
6400         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6401
6402 2003-06-24  "Garst R. Reese" <reese@isn.net>
6403
6404         * debug.C: fix typo
6405
6406 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6407
6408         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6409
6410         * version.C.in: change docversion to 1.4
6411
6412 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6413
6414         * buffer.C: fix a bug just introduced
6415
6416 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6417
6418         * buffer.[Ch]: added the parseError signal and use it, removed
6419         sgmlError
6420         * BufferView.[Ch] (addError): moved to ...
6421         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6422         to the Buffer::parseError signal to catch (guess what) parse errors
6423         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6424
6425 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6426
6427         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6428         ability to create a buffer and to return an existing one from
6429         the list. Moved these functions to...
6430         * buffer_funcs.[Ch]: added
6431         * BufferView.[Ch] (loadLyXFile): added
6432         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6433         job removed from bufferlist::loadLyXFile.
6434         * buffer.C (setReadOnly): make it work without view
6435         (i.e added an if (users))
6436
6437 2003-06-19  Angus Leeming  <leeming@lyx.org>
6438
6439         * lfuns.h:
6440         * LyXAction.C (init):
6441         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6442         with LFUN_DIALOG_SHOW <name> <data>.
6443
6444 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6445
6446         * CutAndPaste.C (availableSelections): small compilation fix for
6447         ancient (gcc 2.9x) compilers
6448
6449 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6450
6451         * text3.C (cursorNext): add tmp var
6452
6453         * text2.C (updateCounters): for function calling out of for clause
6454         (replaceSelectionWithString): ditto
6455         (insertStringAsParagraphs): ditto
6456         (getColumnNearX): add tmp var
6457         (setCursorFromCoordinates): add tmp var
6458         (cursorDownParagraph): add tmp var
6459         (deleteEmptyParagraphMechanism): add tmp var
6460
6461         * text.C (insertChar): add tmp var
6462
6463         * rowpainter.C (paintDepthBar): add tmp var
6464
6465         * CutAndPaste.C (availableSelections): potentially check all
6466         paragraphs in a cut to fill the shown strings.
6467
6468 2003-06-18  André Pönitz  <poenitz@gmx.net>
6469
6470         * kbmap.[Ch]: use vector<> instead of list<>
6471
6472 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6473
6474         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6475         pasteSelection with index
6476
6477         * text2.C (pasteSelection): modify, call pasteSelection with index
6478
6479         * paragraph.C (asString): reimplement version with no interval to
6480         call the one with interval.
6481
6482         * lyxtext.h: add index arg to pasteSelection
6483
6484         * MenuBackend.C (MenuItem): handle PasteRecent
6485         (Menu::read::Menutags): add md_pasterecent
6486         (read): handle it
6487         (expandPasteRecent): new function
6488         (expand): use it
6489
6490         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6491
6492         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6493         the limited stack
6494         (availableSelections): new function
6495
6496 2003-06-17  Angus Leeming  <leeming@lyx.org>
6497
6498         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6499
6500 2003-06-17  Angus Leeming  <leeming@lyx.org>
6501
6502         * lfuns.h:
6503         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6504
6505         * lyxfunc.C (dispatch): invoke it.
6506
6507 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6508
6509         * iterators.C (operator++, ParPosition): reintroduce some
6510         const_cast for the benefit of older compilers.
6511
6512 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6513
6514         * text3.C (dispatch): do not modify clipboard when doing
6515         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6516         LFUN_DELETE_SKIP on a selection selection
6517
6518 2003-06-16  André Pönitz  <poenitz@gmx.net>
6519
6520         * BufferView.C:
6521         * buffer.C:
6522         * buffer.h:
6523         * paragraph.C:
6524         * tabular.[Ch]: IU of clone() and getLabelList();
6525
6526 2003-06-13  André Pönitz  <poenitz@gmx.net>
6527
6528         * tabular.h: compactification
6529
6530 2003-06-12  André Pönitz  <poenitz@gmx.net>
6531
6532         * tabular.C:
6533         * tabular.h:
6534         * tabular_funcs.h: some renaming plus whitespace
6535
6536 2003-06-12  André Pönitz  <poenitz@gmx.net>
6537
6538         * BufferView.C:
6539         * BufferView_pimpl.C:
6540         * CutAndPaste.C:
6541         * buffer.C:
6542         * iterators.[Ch]:
6543         * lyxfunc.C:
6544         * text.C:
6545         * toc.C: Return a Paragraph & for ParIterator::operator*()
6546
6547 2003-06-11  John Levon  <levon@movementarian.org>
6548
6549         * lyx_main.C:
6550         * ToolbarBackend.h:
6551         * ToolbarBackend.C: add "Toolbars" section and
6552         put the flags there
6553
6554 2003-06-10  Angus Leeming  <leeming@lyx.org>
6555
6556         * lfuns.h:
6557         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6558
6559         * lyxfunc.C (dispatch): invoke it.
6560
6561 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6562
6563         * main.C: protect <ios> with HAVE_IOS
6564         (main): protect sync_with_stdio with HAVE_IOS
6565
6566 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6567
6568         * text2.C (cutSelection): adjust
6569         (pasteSelection): adjust
6570
6571         * messages.C: handle get of empty string
6572
6573         * main.C (main): use sync_with_stdio(false)
6574
6575         * lyxfunc.C (dispatch): adjust
6576
6577         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6578         (WriteAs): remove unneeded BufferView arg.
6579
6580         * bufferparams.h: use correct types on papersize, papersize2 and
6581         paperpackage.
6582
6583         * bufferparams.C (readToken): adjust for type
6584         (writeLaTeX): add missing cases to switch.
6585
6586         * bufferlist.C (quitWriteBuffer): adjust
6587         (close): adjust
6588
6589         * buffer.C (asciiParagraph): remove some commented code.
6590
6591         * CutAndPaste.C: remove current_view extern variable.
6592         (cutSelection): add BufferParams arg.
6593         (eraseSelection): add BufferParams arg.
6594         (pasteSelection): add Buffer const & arg
6595
6596 2003-06-07  John Levon  <levon@movementarian.org>
6597
6598         * buffer.C:
6599         * paragraph_funcs.C:
6600         * paragraph_pimpl.C:
6601         * text.C:
6602         * text2.C:
6603         * paragraph.h:
6604         * paragraph.C: allow InsetERT to freely space lines,
6605         and some consolidation of code
6606
6607 2003-06-06  José Matos  <jamatos@fep.up.pt>
6608
6609         * buffer.C (makeDocBookFile): fix bug #821
6610
6611 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6612
6613         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6614
6615 2003-06-04  Angus Leeming  <leeming@lyx.org>
6616
6617         * buffer.C: bump format to 224.
6618
6619 2003-06-05  André Pönitz  <poenitz@gmx.net>
6620
6621         * text2.C (redoParagraphs): remove two const_cast<>
6622
6623 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6624
6625         * ParagraphList.h: remove last remnants of NO_STD_LIST
6626
6627 2003-06-03  Angus Leeming  <leeming@lyx.org>
6628
6629         * factory.C (createInset): small change to the way InsetExternal's params
6630         are set.
6631
6632 2003-06-04  André Pönitz  <poenitz@gmx.net>
6633
6634         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6635
6636         * paragraph_pimpl.h:
6637         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6638
6639         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6640
6641         * undo_funcs.C: make some simple cases of undo work again
6642
6643 2003-06-03  John Levon  <levon@movementarian.org>
6644
6645         * ispell.C: HPUX doesn't have sys/select.h
6646         (from Albert Chin)
6647
6648 2003-06-03  John Levon  <levon@movementarian.org>
6649
6650         * CutAndPaste.C: update tabular and include inset
6651         buffer references
6652
6653         * buffer.h:
6654         * paragraph.h:
6655         * paragraph.C: remove owningBuffer(), don't pass Buffer
6656         to clone()
6657
6658         * factory.C: insetGraphicsParams changed
6659
6660 2003-06-02  John Levon  <levon@movementarian.org>
6661
6662         * LyXAction.C:
6663         * factory.C:
6664         * lfuns.h:
6665         * lyxfunc.C:
6666         * text3.C: remove insetparent
6667
6668 2003-06-02  John Levon  <levon@movementarian.org>
6669
6670         * buffer.h:
6671         * buffer.C: fix inset_iterator.end(), move out of line
6672         (bug 1149)
6673
6674 2003-06-01  John Levon  <levon@movementarian.org>
6675
6676         * text3.C: use a proper cut/paste when doing inset
6677         insert (from Jürgen Spitzmüller)
6678
6679 2003-06-01  John Levon  <levon@movementarian.org>
6680
6681         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6682
6683 2003-05-30  André Pönitz  <poenitz@gmx.net>
6684
6685         * rowpainter.C: unify second drawing phase
6686
6687 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6688
6689         * trans_mgr.C: remove one case of current_view
6690
6691         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6692
6693         * paragraph_funcs.h: remove paragraph.h include
6694
6695         * paragraph.h: delete NO_STD_LIST stuff
6696
6697         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6698
6699         * buffer.h: remove paragraph.h include
6700
6701         * ParagraphList.C: delete file
6702
6703         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6704
6705         * toc.C (getTocList): adjust
6706
6707         * paragraph_pimpl.C (validate): adjust
6708
6709         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6710
6711         * paragraph.C (Paragraph): adjust
6712         (getPositionOfInset): use const_iterator, adjust
6713         (bibitem): use const_iterator, adjust
6714         (setInsetOwner): adjust
6715
6716         * iterators.C (operator++): adjust
6717
6718         * InsetList.[Ch]: Replace selfmade iterator with standard
6719         vector::iterator also introduce const_iterator. Remove getPos,
6720         getInset and setInset from InsetTable. Adjust accordingly.
6721
6722         * BufferView.C (lockInset): adjust
6723         (ChangeInsets): adjust
6724
6725         * tabular.[Ch]: delete commented same_id functions
6726
6727 2003-05-28  John Levon  <levon@movementarian.org>
6728
6729         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6730
6731 2003-05-28  André Pönitz  <poenitz@gmx.net>
6732
6733         * metricsinfo.[Ch]: remove 'fullredraw' member
6734
6735 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6736
6737         * lyxtextclass.C (operator): remove caching.
6738
6739 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6740
6741         * text3.C: adjust
6742
6743         * text2.C (cursorBottom): adjust
6744         (setCounter): use ParagraphList::find, adjust
6745
6746         * text.C (workWidth): use ParagraphList::find, adjust
6747
6748         * lyxcursor.C (LyXCursor): adjust
6749
6750         * buffer.C (inset_iterator): adjust
6751
6752         * ParagraphList.h: make iterator(value_type) private, make
6753         ParagraphList a friend of iterator.
6754
6755         * ParagraphList.C (find): new function
6756
6757         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6758
6759 2003-05-27  André Pönitz  <poenitz@gmx.net>
6760
6761         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6762
6763 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6764
6765         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6766
6767 2003-05-26  John Levon  <levon@movementarian.org>
6768
6769         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6770
6771 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6772
6773         * remove same_id from function signatures, adjust.
6774
6775 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6776
6777         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6778
6779         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6780
6781         * paragraph.C (Paragraph): get rid of same_ids parameter
6782
6783         * ParagraphList.C (insert): adjust
6784         (push_back): adjust
6785
6786 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6787
6788         * paragraph_funcs.C (breakParagraph): adjust
6789         (breakParagraphConservative): adjust
6790
6791         * buffer.C (readParagraph): adjust
6792
6793         * ParagraphList.C (insert): take a reference instead of a pointer
6794         (insert): adjust
6795
6796         * paragraph.[Ch] (id): new function
6797
6798         * bufferlist.C (newFile): adjust
6799
6800         * ParagraphList.C (ParagraphList): adjust
6801         (assign): adjust
6802         (push_back): take a reference instead of a pointer.
6803
6804         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6805
6806         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6807         instead.
6808
6809         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6810         set else use old code.
6811
6812         * ParagraphList.C: remove all NO_NEXT code and only compile this
6813         code of NO_STD_LIST is set.
6814
6815 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6816
6817         * BufferView_pimpl.C:
6818         * TextCache.C:
6819         * TextCache.h:
6820         * bufferlist.C:
6821         * errorlist.h:
6822         * format.C:
6823         * format.h:
6824         * graph.C:
6825         * lyxfunc.C:
6826         * lyxrc.C:
6827         * graphics/GraphicsConverter.C:
6828         * graphics/PreviewLoader.C: header adjustment
6829
6830 2003-05-23  Angus Leeming  <leeming@lyx.org>
6831
6832         * LaTeXFeatures.[Ch] (useBabel): new method.
6833         * bufferparams.C (writeLaTeX): use it.
6834
6835 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6836
6837         * ParagraphList.h (set): remove unused function.
6838
6839 2003-05-23  André Pönitz  <poenitz@gmx.net>
6840
6841         * BufferView.C:
6842         * BufferView_pimpl.C:
6843         * buffer.C:
6844         * buffer.h:
6845         * lyxfunc.C:
6846         * undo_funcs.C: setUndo reworked
6847
6848         * iterators.[Ch]: add access to topmost ParagraphList
6849
6850         * lyxtext.[Ch] (workWidth): add a const
6851
6852 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6853
6854         * texrow.[Ch] (increasePos): remove function
6855         * exporter.C (export): removed unused var and outdated comment
6856
6857 2003-05-23  Angus Leeming  <leeming@lyx.org>
6858
6859         * latexrunparams.h: rename fragile as moving_arg.
6860         * paragraph.C (simpleTeXOnePar): ditto.
6861         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6862
6863 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6864
6865         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6866         (createUndo): ditto
6867         (textUndoOrRedo): comment out a currently unused var.
6868
6869         * paragraph.h (NO_NEXT): enable NO_NEXT
6870
6871         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6872
6873         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6874
6875         * exporter.C (Export): adjust for removeAutoInsets removal.
6876
6877         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6878
6879         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6880
6881         * BufferView.[Ch] (removeAutoInsets): delete function
6882
6883 2003-05-22  Angus Leeming  <leeming@lyx.org>
6884
6885         * latexrunparams.h: add a free_spacing variable.
6886
6887         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6888         to pass moving_arg, as the data is stored in runparams.fragile.
6889
6890         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6891         to Inset::latexOptional or to simpleTeXOnePar.
6892
6893         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6894         free_spacing arg to Inset::latexOptional.
6895
6896         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6897         free_spacing arg.
6898
6899 2003-05-22  Angus Leeming  <leeming@lyx.org>
6900
6901         * latexrunparams.h: add fragile and use_babel variables.
6902
6903         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6904         * buffer.C (makeLaTeXFile): store this returned value in
6905         runparams.use_babel, thus passing it to the inset::latex methods.
6906
6907         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6908         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6909
6910         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6911         longer has a fragile arg, as it is stored in runparams.fragile.
6912
6913         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6914         moving_arg parameter as the data is stored in runparams.fragile.
6915
6916         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6917         a fragile parameter as the data is stored in runparams.fragile.
6918
6919 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6920
6921         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6922
6923 2003-05-22  Angus Leeming  <leeming@lyx.org>
6924
6925         * latexrunparams.h: add a 'bool nice' which defaults to false.
6926
6927         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6928         now encapsulated within runparams.
6929
6930         * bufferlist.C (updateIncludedTeXfiles):
6931         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6932
6933 2003-05-22  Angus Leeming  <leeming@lyx.org>
6934
6935         * latexrunparams.h: new file containing struct LatexRunParams.
6936         * Makefile.am: add new file.
6937
6938         * LaTeX.[Ch] (c-tor, run):
6939         * buffer.[Ch] (makeLaTeXFile):
6940         * bufferlist.[Ch] (updateIncludedTeXfiles):
6941         * converter.C (convert, scanLog):
6942         * converter.[Ch] (runLaTeX):
6943         * exporter.C (Export):
6944         * paragraph.[Ch] (simpleTeXOnePar):
6945         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6946         * paragraph_funcs.[Ch] (latexParagraphs):
6947         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6948         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6949         pass around a LatexRunParams parameter.
6950
6951 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6952
6953         * paragraph.[Ch]: remove unused constructor
6954
6955         * ParagraphList.C (erase): new function, taking two iterators
6956
6957 2003-05-22  André Pönitz  <poenitz@gmx.net>
6958
6959         * undo_funcs.C: remove duplicated code
6960
6961         * iterator.[Ch]: operator=
6962
6963 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6964
6965         * tabular.C (SetMultiColumn): ws changes
6966
6967         * rowpainter.C (paintFirst): get rid of a ->previous
6968
6969         * lyx_cb.C (getPossibleLabel): parlist simplification
6970
6971         * BufferView.C (ChangeInsets): simplify slightly.
6972
6973 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6974
6975         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6976         * lfuns.h: new LFUN_SPACE
6977         * lyxfunc.C: protected space has a new lfun
6978         * paragraph_funcs.C: read new space insets
6979         * text3.C:
6980         * factory.C: handle new space insets
6981
6982 2003-05-22  André Pönitz  <poenitz@gmx.net>
6983
6984         * BufferView.C:
6985         * BufferView_pimpl.C:
6986         * buffer.[Ch]:
6987         * lyxfunc.C:
6988         * undo_funcs.C: return a ParIterator from getParFromID.
6989
6990         * iterators.[Ch]: add two const's
6991
6992 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6993
6994         * toc.C (getTocList): adjust
6995
6996         * iterators.[Ch]: rework for parlist
6997
6998         * buffer.C (par_iterator_begin): adjust
6999         (par_iterator_end): adjust
7000
7001         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7002
7003         * BufferView.C (removeAutoInsets): adjust
7004         (ChangeInsets): adjust
7005
7006 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7007
7008         * text.C (top_y): fix bug 1110
7009
7010 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7011
7012         * errorlist.[Ch]: added
7013         * buffer.C:
7014         * BufferView.[Ch]:
7015         * BufferView_pimpl.C:
7016         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7017         instead
7018
7019 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7020
7021         * Makefile.am: ensure that lyx is relinked upon changes to the
7022         various "convenience" libs.
7023
7024 2003-05-20  Angus Leeming  <leeming@lyx.org>
7025
7026         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7027         files are compiled in alphabetical order again.
7028
7029         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7030
7031 2003-05-19  Angus Leeming  <leeming@lyx.org>
7032
7033         * gettext.[Ch]: remove "char const * _(char const *)".
7034
7035 2003-05-19  André Pönitz  <poenitz@gmx.net>
7036
7037         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7038
7039         * Makefile.am:
7040         * BufferView.C:
7041         * DepTable.h:
7042         * LaTeXFeatures.C:
7043         * buffer.C:
7044         * lyxfont.C:
7045         * lyxlex.h:
7046         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7047
7048 2003-05-19  André Pönitz  <poenitz@gmx.net>
7049
7050         * buffer.C:
7051         * lyxlayout.[Ch]:
7052         * lyxtextclass.[Ch]:
7053         * paragraph.C:
7054         * paragraph_funcs.[Ch]:
7055         * text2.C:
7056         * text3.C: more insetenv work
7057
7058 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7059
7060         * ParagraphParameters.C (params2string): small bug fixed
7061
7062 2003-05-16  André Pönitz  <poenitz@gmx.net>
7063
7064         * debug.C:
7065         * bufferview_funcs.C: patch from Kornel Benko to prevent
7066           crash when _(...) is called twice in a statement
7067
7068 2003-05-16  André Pönitz  <poenitz@gmx.net>
7069
7070         * BufferView.C:
7071         * lyxfunc.C:
7072         * text.C:
7073         * text2.C:
7074         * text3.C:
7075         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7076
7077 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7078
7079         * lyx_main.C (init): remove spurious static_cast
7080
7081 2003-05-14  André Pönitz  <poenitz@gmx.net>
7082
7083         * BufferView.C: fix format string
7084
7085 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7086
7087         * BufferView.[Ch] (insertErrors): removed
7088         * BufferView.[Ch] (showErrorList): added
7089         * buffer.C (runChkTeX):
7090         * converter.C (scanLog): call showErrorList instead of inserterrors
7091
7092 2003-05-13  André Pönitz  <poenitz@gmx.net>
7093
7094         * BufferView_pimpl.C:
7095         * buffer.C:
7096         * bufferview_func.C:
7097         * MenuBackend.C:
7098         * lyxfunc.C:
7099         * lyxrc.C:
7100         * tex-accent.C:
7101         * text3.C:
7102         * toc.C:
7103         * tabular_funcs.h: tostr() from its own header
7104
7105         * ParagraphParameters.C:
7106         * ToolbarBackend.C:
7107         * bufferparams.C:
7108         * format.C:
7109         * lyxlex_pimpl.C:
7110         * text3.C: STRCONV()
7111
7112 2003-05-12  André Pönitz  <poenitz@gmx.net>
7113
7114         * BufferView.C:
7115         * BufferView_pimpl.C:
7116         * CutAndPaste.C:
7117         * LaTeX.C:
7118         * LaTeXFeatures.C:
7119         * ParagraphParameters.C:
7120         * buffer.C:
7121         * bufferlist.C:
7122         * bufferparams.C:
7123         * bufferview_funcs.C:
7124         * converter.C:
7125         * counters.C:
7126         * debug.C:
7127         * exporter.C:
7128         * format.C:
7129         * importer.C:
7130         * lyx_cb.C:
7131         * lyx_main.C:
7132         * lyxfont.C:
7133         * lyxfunc.C:
7134         * lyxvc.C:
7135         * paragraph.C:
7136         * paragraph_funcs.C:
7137         * tabular.C:
7138         * tabular_funcs.C:
7139         * text2.C:
7140         * text3.C:  boost::format -> bformat  all over the place
7141
7142
7143 2003-05-09  André Pönitz  <poenitz@gmx.net>
7144
7145         * LColor.[Ch]: Pimpl the #include <map> away
7146
7147 2003-05-09  John Levon  <levon@movementarian.org>
7148
7149         * bufferlist.C: never remove emergency saves
7150
7151 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7152
7153         * Makefile.am: better lib building
7154
7155 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7156
7157         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7158         instead.
7159         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7160         (simpleTeXSpecialChars): adjust
7161         (simpleTeXSpecialChars): adjust
7162         * paragraph.C (simpleTeXOnePar): adjust
7163         * buffer.C (makeLaTeXFile): adjust
7164
7165         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7166
7167         * text2.C (changeDepth): parlist cleanup
7168         (getColumnNearX): ditto
7169
7170         * rowpainter.C (getLabelFont): parlist cleanup
7171
7172         * bufferlist.C (newFile): parlist cleanup
7173
7174         * CutAndPaste.C (eraseSelection): parlist cleanup
7175
7176         * BufferView_pimpl.C (trackChanges): parlist cleanup
7177         (dispatch): ditto
7178
7179         * BufferView.C (lockInset): parlist cleanup.
7180         (ChangeInsets): ditto
7181
7182 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7183
7184         * CutAndPaste.h: Update file header.
7185
7186         * CutAndPaste.C: Update file header.
7187         Store the parts cut out of the Document in a limited_stack.
7188         (copySelection): adjust
7189         (pasteSelection): new function, takes the index in the limited stack.
7190         (nrOfParagraphs): adjust
7191         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7192         simplify error inset insertion.
7193         (checkPastePossible): adjust
7194
7195 2003-05-06  John Levon  <levon@movementarian.org>
7196
7197         * text2.C: don't cast wrap inset to float
7198
7199 2003-05-05  André Pönitz  <poenitz@gmx.net>
7200
7201         * iterator.C:
7202         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7203
7204         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7205           few naked Paragraph *.
7206
7207 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7208
7209         * bufferparams.C: Output warning if a document with missing
7210         TeX document class is loaded
7211         * exporter.C: Disable TeX exports if the document class is missing
7212         * lyxtextclass.C:
7213         * lyxtextclass.h:
7214         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7215         isTeXClassAvailable()
7216
7217 2003-05-03  John Levon  <levon@movementarian.org>
7218
7219         * BufferView.h:
7220         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7221         explicit cursor show/hide
7222
7223         * BufferView_pimpl.h:
7224         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7225         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7226
7227         * lyxfunc.C: hide cursor before dispatching.
7228
7229         * lyx_cb.C:
7230         * lyxfind.C:
7231         * text.C:
7232         * text3.C: remove explicit cursor hides
7233
7234 2003-05-02  André Pönitz  <poenitz@gmx.net>
7235
7236         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7237
7238         * undo_funcs.C:
7239         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7240           linked lists
7241
7242         * text2.C: tiny whitespace
7243
7244 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7245
7246         * undo_funcs.C: almost only ws changes.
7247
7248         * ParagraphList.C (splice): just return if pl is empty.
7249
7250 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7251
7252         * ParagraphList.C (splice): new function.
7253
7254         * CutAndPaste.C (pasteSelection): use it
7255
7256 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7257
7258         * CutAndPaste.C (pasteSelection): remove the last next and
7259         previous from this file.
7260
7261 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7262
7263         * CutAndPaste.C (pasteSelection): more clean up, user proper
7264         ParagraphList functions for pasteing.
7265
7266         * ParagraphList.C (insert): new function, three arg insert
7267
7268 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7269
7270         * ParagraphList.C (insert): new function, three arg insert
7271
7272         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7273         not on paragraphs.
7274
7275 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7276
7277         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7278
7279 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7280
7281         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7282
7283 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7284
7285         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7286         (copySelection): clean up a bit.
7287         (pasteSelection): use make_pair
7288
7289         * ParagraphList.C (ParagraphList): implement copy constructor
7290         (operator=): implement, base on copy constructor.
7291         (assign): new func
7292
7293         * paragraph.C (erase): return a bool
7294
7295         * paragraph_pimpl.C (erasePos): remove function, move contents...
7296         (erase): ... here. Return a bool.
7297         (erase): call erase instead of erasePos.
7298
7299 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7300
7301         * ParagraphList.h: define PitPosPair
7302         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7303         ParagraphList, fix a bug on pasting multiple pars
7304         * text2.C: change interface to C&P
7305
7306 2003-04-30  André Pönitz  <poenitz@gmx.net>
7307
7308         * undo_func.C: revert part of yesterday's patch 2
7309
7310 2003-04-30  John Levon  <levon@movementarian.org>
7311
7312         * LColor.C: s/tabular/table/
7313
7314 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7315
7316         * text3.C (dispatch): do not convert iterator -> pointer
7317         * undo_funcs.C (setCursorParUndo): ditto
7318         * text_funcs.C (transposeChars): ditto
7319
7320         * text2.C (setLayout): ws changes only
7321
7322         * text.C (breakParagraph): do not convert iterator -> pointer
7323         (insertChar): ditto
7324         (acceptChange): ditto
7325         (rejectChange): ditto
7326         (changeCase): ditto
7327         (Delete): ditto
7328         (backspace): ditto
7329
7330         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7331         pointer
7332
7333 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7334
7335         * text3.C (gotoInset): YABG (yet another bad getChar)
7336
7337 2003-04-29  André Pönitz  <poenitz@gmx.net>
7338
7339         * paragraph.h: make operator= private unimplemented as long as
7340           it is unusable
7341
7342         * ParagraphList.C: whitespace
7343
7344         * paragraph.[Ch]:
7345         * paragraph_pimpl.[Ch]:
7346         * paragraph_funcs.C:
7347         * CutAndPaste.C:
7348         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7349
7350         * text2.C:
7351           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7352
7353 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7354
7355         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7356         * paragraph.[Ch] (erase):
7357         * paragraph_pimpl.[Ch] (erase): change return type and value
7358         * text2.C (cutSelection): some rework
7359
7360 2003-04-28  John Levon  <levon@movementarian.org>
7361
7362         * bufferlist.C: changes for unsaved changes dialog
7363
7364 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7365
7366         * bufferlist.C (newFile): set language (messages_) for new
7367         documents also.
7368
7369         * buffer.C (readFile): ws changes only.
7370
7371 2003-04-28  André Pönitz  <poenitz@gmx.net>
7372
7373         * undo_funcs.C:
7374         * lyxfunc.C:
7375         * buffer.[Ch]:
7376         * BufferView_pimpl.C:
7377         * BufferView.C: getParFromID related ParagraphList::iterator changes
7378
7379 2003-04-28  André Pönitz  <poenitz@gmx.net>
7380
7381         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7382           Changes
7383
7384 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7385
7386         * messages.C: remove one more localedir class variable.
7387
7388 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7389
7390         * messages.C (getLocaleDir): singleton generation function
7391         (Pimpl): use it.
7392         (Messages): add a default constructor.
7393
7394         * main.C (main): do not setup localedir here, do not call
7395         gettext_init.
7396
7397         * gettext.C (_): use it.
7398         (gettext_init): delete funciton
7399
7400 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7401
7402         * gettext.C (getLyXMessages): new singleton generating function.
7403
7404         * buffer.C (updateDocLang): adjust
7405
7406         * Makefile.am (messages.o): add target
7407         (main.o): remove target
7408
7409 2003-04-27  John Levon  <levon@movementarian.org>
7410
7411         * bufferlist.C:
7412         * lyx_cb.C:
7413         * lyxfunc.C:
7414         * lyxvc.C: specify cancel button in Alert::prompt
7415
7416 2003-04-26  John Levon  <levon@movementarian.org>
7417
7418         * text3.C:
7419         * lyxfunc.C:
7420         * lfuns.h:
7421         * LyXAction.C: add LFUN_INSET_SETTINGS
7422
7423         * lyxfunc.C: don't enable tabular-feature when there's
7424         just any locking inset
7425
7426 2003-04-26  John Levon  <levon@movementarian.org>
7427
7428         * bufferlist.C: re-add Cancel to buffer close question
7429
7430         * lyxfunc.C: fix import UI a bit
7431
7432 2003-04-25  John Levon  <levon@movementarian.org>
7433
7434         * gettext.C: remove the broken asserts for now
7435
7436 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7437
7438         * messages.C: make case where setlocale cannot comply work better.
7439
7440         * buffer.C (updateDocLang): new function
7441         (changeLanguage): use it
7442         (readFile): use it
7443
7444         * text2.C (setCounter): use B_ a bit.
7445
7446         * lyxlayout.C (Read): be sure to trim the label strings.
7447
7448         * messages.C (Messages): fix typo in comment
7449
7450         * buffer.C (readFile): set message_ after file is loaded.
7451         (makeDocBookFile): remove double return
7452         (changeLanguage): reset message_ upon language change.
7453         (B_): new func, use this to get translated buffer strings.
7454
7455         * main.C: add myself and Jean Marc as authors.
7456
7457 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7458
7459         * messages.[hC]: pimplify Messages, and three different pimpls to be
7460         used in different circumstances.
7461
7462         * gettext.[Ch]: change for use with new message code.
7463
7464 2003-04-24 André Pönitz <poenitz@gmx.net>
7465
7466         * factory.C: support for eqref
7467
7468 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7469
7470         * messages.[Ch]: add missing char
7471
7472         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7473
7474         * messages.[Ch]: New files
7475
7476 2003-04-18  John Levon  <levon@movementarian.org>
7477
7478         * BufferView.h:
7479         * BufferView.C:
7480         * BufferView_pimpl.C:
7481         * lfuns.h:
7482         * LyXAction.C:
7483         * lyxtext.h:
7484         * text2.C: remove layout-copy/paste (bug 778)
7485
7486 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7487
7488         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7489
7490 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7491
7492         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7493         if they succeed. Act accordingly.
7494
7495 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7496
7497         * text2.C (setCharFont): adjust
7498         (setCounter): adjust
7499         (insertStringAsLines): adjust
7500
7501         * text.C (leftMargin): adjust
7502         (setHeightOfRow): adjust
7503
7504         * rowpainter.C (paintFirst): adjust
7505         (paintLast): adjust
7506
7507         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7508         (outerHook): ditto
7509         (isFirstInSequence): ditto
7510         (getEndLabel): ditto
7511         (outerFont): adjust
7512
7513         * paragraph.C (getParLanguage): comment out some hard stuff.
7514
7515         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7516         (sgmlError): ditto
7517         (simpleDocBookOnePar): ditto
7518         (makeDocBookFile): use ParagraphList::iterator
7519
7520         * CutAndPaste.C (pasteSelection): adjust
7521
7522 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7523
7524         * text2.C (getFont): adjust
7525         (getLayoutFont): adjust
7526         (getLabelFont): adjust
7527
7528         * paragraph_funcs.C (TeXOnePar): adjust
7529
7530         * buffer.C (simpleLinuxDocOnePar): adjust
7531         (simpleDocBookOnePar): adjust
7532
7533         * CutAndPaste.C (pasteSelection): adjust
7534
7535         * BufferView.C (getEncoding): adjust
7536
7537         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7538
7539 2003-04-16  John Levon  <levon@movementarian.org>
7540
7541         * lyxfind.C: use parlist stuff for search/changes
7542
7543 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7544
7545         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7546
7547         * text2.C (deleteEmptyParagraphMechanism): adjust
7548
7549         * text2.[Ch] (ownerParagraph): delete func (both of them
7550
7551 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7552
7553         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7554
7555 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7556
7557         * ParagraphList.C: prepare for NO_NEXT
7558
7559 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7560
7561         * text2.C (getFont): adjust
7562         (getLayoutFont): adjust
7563         (getLabelFont): adjust
7564
7565         * paragraph.C (getFont): adjust
7566         (getLabelFont): adjust
7567         (getLayoutFont): adjust
7568
7569         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7570
7571 2003-04-15  John Levon  <levon@movementarian.org>
7572
7573         From Angus Leeming
7574
7575         * lyx_main.C: handle Include in .ui files
7576
7577 2003-04-15  John Levon  <levon@movementarian.org>
7578
7579         * MenuBackend.C: make the doc files length shorter
7580
7581         * ToolbarBackend.h:
7582         * ToolbarBackend.C: handle toolbar placement flags,
7583         Minibuffer
7584
7585 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7586
7587         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7588         adjust
7589
7590         * paragraph_funcs.C (TeXOnePar): adjust
7591
7592         * paragraph.C (getLabelFont): add outerfont arg, adjust
7593         (getLayoutFont): ditto
7594         (simpleTeXOnePar): adjust
7595
7596         * paragraph_pimpl.C (realizeFont): delete func
7597
7598 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7599
7600         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7601         row argument, constify cur argument.
7602
7603 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7604
7605         * text2.C (getFont): adjust
7606         (getLayoutFont): adjust
7607         (getLabelFont): adjust
7608
7609         * paragraph_funcs.C (TeXOnePar): adjust
7610         (outerFont): new func...
7611         (realizeFont): ...moved out from here, changed this to facilitate
7612         transition
7613
7614         * paragraph.C (getFont): take outerfont as arg, adjust
7615         (simpleTeXOnePar): add outerfont arg, adjust
7616
7617         * buffer.C (simpleLinuxDocOnePar): adjust
7618         (simpleDocBookOnePar): adjust
7619
7620         * CutAndPaste.C (pasteSelection): adjust
7621
7622         * BufferView.C (getEncoding): adjust
7623
7624 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7625
7626         * text2.C (setCharFont): adjust
7627         (setCounter): adjust
7628
7629         * text.C (leftMargin): adjust
7630         (setHeightOfRow): adjust
7631
7632         * rowpainter.C (paintFirst): adjust
7633         (paintLast): adjust
7634
7635         * paragraph_pimpl.C (realizeFont): adjust
7636
7637         * paragraph.C (isFirstInSequence): move from here...
7638         * paragraph_funcs.C (isFirstInSequence): ...to here
7639
7640         * paragraph.C (outerHook): move from here...
7641         * paragraph_funcs.C (outerHook): ...to here
7642
7643         * paragraph.C (depthHook): move from here...
7644         * paragraph_funcs.C (depthHook): ...to here
7645
7646         * paragraph.C (getEndLabel): move from here...
7647         * paragraph_funcs.C (getEndLabel): ...to here
7648
7649         * text2.C (realizeFont): move from here...
7650         * paragraph_funcs.C (realizeFont): ...to here
7651
7652 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7653
7654         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7655
7656 2003-04-14  Angus Leeming  <leeming@lyx.org>
7657
7658         * LColor.[Ch]: scrap LColor mathcursor.
7659
7660 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7661
7662         * lyxlex.[Ch] (text): delete function
7663         * trans.C (Load): adjust
7664         * paragraph_funcs.C (readParToken): adjust
7665
7666 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7667
7668         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7669         vector<char> instead of a char[].
7670
7671         * lyxlex_pimpl.C (getString): adjust
7672         (next): adjust
7673         (lex): use getString
7674         (eatLine): adjust
7675         (nextToken): adjust
7676
7677         * lyxlex.C (text): use pimpl_->getString()
7678         (getBool): ditto
7679         (findToken): ditto
7680
7681 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7682
7683         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7684         (makeFontEntriesLayoutSpecific): temp var for par.size()
7685         (setLayout): temp var for ownerParagraphs().end()
7686         (fullRebreak): temp var for rows().end()
7687         (selectionAsString): temp var for boost::next(startpit), realize
7688         that the while really is a regular for loop.
7689         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7690         setCursor in one place.
7691         (setParagraph): temp vr for ownerParagraphs().end()
7692         (updateCounters): make the while loop a for loop
7693         (cutSelection): temp var for ownerParagraphs().end()
7694         (updateInset): make the do {} while() a regular for loop
7695         (getCursorX): use temp vars
7696         (setCurrentFont): use temp vars
7697         (getColumnNearX): use temp vars
7698
7699 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7700
7701         * text.C (transformChar): use temp var for getChar
7702         (computeBidiTables): use temp var for row->par()
7703         (fill): move temp vars for row->par() and pit->layout() earlier in
7704         the function.
7705         (labelFill): use temp var for row->par()
7706         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7707         asc and desc, realize that pit never changes and that firstpit is
7708         just a duplicate and not needed. Exchange rit->par() with pit in a
7709         lot of places.
7710         (breakAgain): use a temp var for boost::next(rit)
7711         (breakAgainOneRow): ditto
7712         (breakParagraph): use a temp var for rows().begin()
7713         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7714         (cursorRightOneWord): use temp var for cursor.par() and
7715         cursor.pos(), remove usage of tmpcursor.
7716         (cursorLeftOneWord): use temp var for cursor.par() and
7717         cursor.pos() only set cur at end of function.
7718
7719 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7720
7721         * text.C, text2.C: exchange all usage of Paragraph::next with
7722         boost::next(ParagraphList::iterator)
7723
7724         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7725
7726         * text2.C (cursorTop): simplify implementation
7727         (cursorBottom): ditto
7728         (setParagraph): use ParagraphList::iterator
7729         (setCurrentFont): adjust
7730         (getColumnNearX): adjust
7731         (cursorRight): adjust
7732         (cursorLeft): remove usage of Paragraph::previous
7733         (cursorUpParagraph): ditto
7734         (deleteEmptyParagraphMechanism): slight cleanup
7735
7736         * text.C (isBoundary): take a Paragraph const & instead of a
7737         pointer as arg.
7738         (addressBreakPoint): ditto
7739         (leftMargin): remove usage of Paragraph::previous.
7740         (setHeightOfRow): ditto
7741         (cursorLeftOneWord): ditto
7742         (selectNextWordToSpellcheck): ditto
7743         (Delete): ditto
7744         (backspace): ditto
7745         (breakParagraph): remove one usage of Paragraph::next
7746         (redoParagraph): ditto
7747         (acceptChange): ditto
7748         (insertChar): adjust
7749         (rowBreakPoint): adjust
7750
7751         * bufferview_funcs.C (toggleAndShow): adjust
7752
7753 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7754
7755         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7756         methods to access it.
7757         * lyxtext.h:
7758         * text.C: Added updateRowPositions to compute all row positions.
7759         Make top_y and getRowNearY() to use the cached y position
7760
7761 2003-04-11  John Levon  <levon@movementarian.org>
7762
7763         * text.C (rowBreakPoint): reintroduce the labelEnd
7764         checks, code copied from the row fill stuff. Deep voodoo.
7765
7766         * text.C (fill): add a comment and debugging for the
7767         next poor soul.
7768
7769 2003-04-11  John Levon  <levon@movementarian.org>
7770
7771         * text.C: make sure fullrow insets get wrapped to the next line,
7772         even when they're in a manual label
7773
7774 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7775
7776         * text2.C (insertParagraph): make it take ParagraphList::iterator
7777         as arg.
7778         (setLayout): make it return ParagraphList::iterator
7779         (redoParagraphs): ditto
7780         (setCounter): ditto
7781         (checkParagraph): ditto
7782
7783         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7784
7785         * text2.C: adjust several funcs.
7786         (realizeFont): take a ParagraphList::iterator as arg.
7787         (getLayoutFont): ditto
7788         (getLabelFont): ditto
7789         (setCharFont): ditto
7790
7791         * text.C: adjust several funcs.
7792
7793 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7794
7795         * text.C (selectNextWordToSpellcheck): don't accidentally
7796         skip insets
7797
7798 2003-04-10  John Levon  <levon@movementarian.org>
7799
7800         * ToolbarBackend.C (getIcon): special handling for
7801         LFUN_MATH_DELIM
7802
7803 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7804
7805         * text2.C (cursorRight): a getChar assert fixed
7806
7807 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7808
7809         * text2.C (getFont): change to take a ParagraphList::iterator
7810         instead of Paragraph*
7811         Adjust several functions.
7812
7813         * text.C (transformChar): change to take a ParagraphList::iterator
7814         instead of Paragraph*
7815         (singleWidth): ditto
7816         Adjust several functions.
7817
7818         * rowpainter.C: adjust several functions
7819         * rowpainter.h:store a ParagraphList::iterator and not a
7820         Paragraph&.
7821
7822
7823 2003-04-09  John Levon  <levon@movementarian.org>
7824
7825         * lyxfunc.C:
7826         * lfuns.h:
7827         * LyXAction.h:
7828         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7829         and the "help" bits as well
7830
7831 2003-04-09  John Levon  <levon@movementarian.org>
7832
7833         * ToolbarBackend.h:
7834         * ToolbarBackend.C: allow multiple toolbars
7835
7836 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7837
7838         * undo_funcs.C (setCursorParUndo): adjust
7839
7840         * text_funcs.C (transposeChars): adjust
7841
7842         * text3.C (gotoNextInset): adjust
7843         (dispatch): adjust
7844
7845         * text2.C (setLayout): adjust
7846         (changeDepth): adjust
7847         (setFont): adjust
7848         (redoParagraphs): adjust
7849         (selectionAsString): adjust
7850         (setParagraph): adjust
7851         (insertInset): adjust
7852         (cutSelection): adjust
7853         (copySelection): adjust
7854         (pasteSelection): adjust
7855         (insertStringAsLines): adjust
7856         (updateInset): adjust
7857         (setCursor): change to take a ParagraphList::iterator parameter
7858         (setCursorIntern): change to take a ParagraphList::iterator parameter
7859         (setCurrentFont): adjust
7860         (cursorLeft): adjust
7861         (cursorRight): adjust
7862         (deleteEmptyParagraphMechanism): adjust
7863
7864         * text.C (breakParagraph): adjust
7865         (insertChar): adjust
7866         (acceptChange): adjust
7867         (rejectChange): adjust
7868         (selectNextWordToSpellcheck): adjust
7869         (changeCase): adjust
7870         (Delete): adjust
7871         (backspace): adjust
7872
7873         * lyxfind.C (SearchForward): adjust
7874         (SearchBackward): adjust
7875         (nextChange): adjust
7876
7877         * lyxcursor.C (par): adjust
7878
7879         * lyxcursor.h: store a ParagraphList::iterator instead of a
7880         Paragraph*
7881
7882         * lyx_cb.C (getPossibleLabel): adjust
7883
7884         * bufferview_funcs.C (toggleAndShow): adjust
7885
7886         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7887         (dispatch): adjust
7888
7889         * BufferView.C (removeAutoInsets): adjust
7890         (lockedInsetStoreUndo): adjust
7891
7892 2003-04-09  John Levon  <levon@movementarian.org>
7893
7894         * ToolbarBackend.C: try icon without argument
7895         if with argument fails
7896
7897 2003-04-08  John Levon  <levon@movementarian.org>
7898
7899         * ToolbarBackend.h:
7900         * ToolbarBackend.C: add getIcon(), handle tooltip,
7901         and change from "Icon" to "Item".
7902
7903 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7904
7905         * BufferView.C (lockInset): another bad getchar crunched
7906
7907 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7908
7909         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7910         again)
7911
7912 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7913
7914         * lyxfind.C (searchForward, searchBackwards): bug 782
7915
7916 2003-04-07  John Levon  <levon@movementarian.org>
7917
7918         * paragraph.C: remove dead comment
7919
7920         * text.C: remove troublesome depth-fiddling code
7921         in leftMargin() and rightMargin() (bug 1017)
7922
7923         * text.C: fix breaking of rows in nested lists
7924         (bug 1004)
7925
7926         * text2.C (updateCounters): fix up depth values
7927         (bug 1013)
7928
7929 2003-04-07  John Levon  <levon@movementarian.org>
7930
7931         * BufferView_pimpl.C: clear message when doc finishes resizing,
7932         and after a mouse event
7933
7934         * lyxfunc.C: clear message after exiting inset
7935
7936 2003-04-07  John Levon  <levon@movementarian.org>
7937
7938         * bufferview_funcs.C: show math status not outside
7939         status in the statusbar
7940
7941 2003-04-07  John Levon  <levon@movementarian.org>
7942
7943         * lyxfunc.C: note status changed after a depth change
7944
7945 2003-04-04  Angus Leeming  <leeming@lyx.org>
7946
7947         * LaTeX.h: move AuxInfo operator==, != out of line.
7948         Remove LaTeX virtual destructor; nothing derives from it.
7949         Move operator()() out of public area and rename it startscript().
7950         Change protected for private.
7951
7952 2003-04-04  Angus Leeming  <leeming@lyx.org>
7953
7954         * lyxfunc.C:
7955         * text2.C: remove unneeded #includes.
7956
7957 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7958
7959         * text2.C (dEPM): fix the heigth of the next row
7960
7961 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7962
7963         * text.C: squashed an invalid getChar requester + some ws changes
7964
7965 2003-04-03  John Levon  <levon@movementarian.org>
7966
7967         * bufferview_funcs.h:
7968         * bufferview_funcs.C:
7969         * lyxfunc.C:
7970         * lyxtext.h:
7971         * text2.C: make getStatus work for the env depth lfuns
7972
7973 2003-04-03  John Levon  <levon@movementarian.org>
7974
7975         * bufferview_funcs.h:
7976         * bufferview_funcs.C:
7977         * lyxfunc.C:
7978         * lyxtext.h:
7979         * text2.C: parlistize decDepth(), by merging it with incDepth()
7980
7981 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7982
7983         * lyxrow.h: store a ParagraphList::iterator instead of a
7984         Paragraph* and adjust other class functions to suit.
7985
7986         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7987         above.
7988
7989 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7990
7991         * text2.C (setCursor): do not anchor to cursor row for the time being
7992
7993 2003-04-02  John Levon  <levon@movementarian.org>
7994
7995         * LyXAction.C:
7996         * lfuns.h:
7997         * lyx_main.C:
7998         * lyxtext.h:
7999         * text.C:
8000         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8001
8002 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8003
8004         * paragraph.h: make ParagraphList and ParagraphList::iterator
8005         friends of Paragraph.
8006
8007         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8008
8009         * ParagraphList.C: Use the private next_ and previous_ from
8010         Paragraph.
8011
8012 2003-04-01  John Levon  <levon@movementarian.org>
8013
8014         * ToolbarBackend.h:
8015         * ToolbarBackend.C:
8016         * Makefile.am: rename, remove defaults gunk
8017
8018         * MenuBackend.h:
8019         * MenuBackend.C: remove defaults gunk
8020
8021         * Languages.h:
8022         * Languages.C: remove defaults gunk
8023
8024         * lyx_main.h:
8025         * lyx_main.C: error out if files couldn't be found.
8026
8027 2003-04-02  John Levon  <levon@movementarian.org>
8028
8029         * text2.C: make incDepth() use parlist
8030
8031 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8032
8033         * undo_funcs.C (firstUndoParagraph): adjust
8034
8035         * text3.C (gotoInset): adjust
8036         (dispatch): adjust, and rewrite loop.
8037
8038         * text2.C (init): adjust, and rewrite loop.
8039         (redoParagraphs): adjust
8040         (updateInset): adjust, and rewrite loop.
8041         (deleteEmptyParagraphMechanism): adjust
8042
8043         * tabular.C (LyXTabular): adjust
8044         (SetMultiColumn): adjust
8045         (TeXRow): adjust
8046
8047         * lyxtext.[Ch] (ownerParagraph): delete function
8048         (ownerParagraphs): new function returns a ParagraphList.
8049
8050         * BufferView.C (removeAutoInsets): adjust
8051         (insertErrors): adjust
8052         (setCursorFromRow): adjust
8053
8054 2003-04-01  Angus Leeming  <leeming@lyx.org>
8055
8056         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8057         in the frontends.
8058
8059 2003-04-02  John Levon  <levon@movementarian.org>
8060
8061         * lyxtext.h:
8062         * text.C:
8063         * Makefile.am:
8064         * text_funcs.h:
8065         * text_funcs.C: make transposeChars a free function
8066
8067         * lyxrow_funcs.C: remove wrong comment
8068
8069 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8070
8071         * lyxtext.h: adjust
8072         * rowpainter.C: adjust
8073         * text.C: adjust
8074         * text2.C: adjust
8075         * text3.C: adjust
8076
8077         * lyxrow_funcs. [Ch]: new files
8078
8079         * lyxrow.[Ch]: remove next and previous pointers
8080         (next,previous): remove accessor functions
8081         (isParEnd): move to lyxrow_funcs
8082         (lastPos): move to lyxrow_funcs
8083         (nextRowIsAllInset): move to lyxrow_funcs
8084         (lastPrintablePos): move to lyxrow_funcs
8085         (numberOfSeparators): move to lyxrow_funcs
8086         (numberOfHfills): move to lyxrow_funcs
8087         (numberOfLabelHfills): move to lyxrow_funcs
8088         (hfillExpansion): move to lyxrow_funcs
8089
8090         * lyxfunc.C: adjust
8091
8092         * bufferview_funcs.C (toggleAndShow): adjust
8093
8094         * RowList.h: Remove class RowList from file leave just a
8095         std::list<Row>.
8096
8097         * RowList.C: delete file
8098
8099         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8100         and lyxrow_funcs.h
8101
8102 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8103
8104         * text3.C (cursorPrevious): adjust
8105         (cursorNext): adjust
8106         (dispatch): adjust
8107
8108         * text2.C (redoHeightOfParagraph): adjust
8109         (redoDrawingOfParagraph): adjust
8110         (setCursor): adjust
8111
8112         * text.C (breakParagraph): adjust
8113         (insertChar): adjust
8114         (backspace): adjust
8115
8116         * rowpainter.C (RowPainter): adjust
8117         (leftMargin): simplify and adjust
8118         (most rowpainter functions): adjust.
8119
8120         * rowpainter.h: store the row as RowList::iterator not as Row*
8121
8122         * lyxcursor.C (row): taka RowList::iterator as arg
8123         (irow): ditto
8124
8125         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8126         of Row*.
8127
8128 2003-04-01  Angus Leeming  <leeming@lyx.org>
8129
8130         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8131         stuff like bool Bool.
8132
8133 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8134
8135         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8136         rewrite a loop
8137
8138 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8139
8140         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8141         RowList::iterator.
8142
8143         * lyxtext.h (rows): drop one version and leve a const variant that
8144         returns a RowList::iterator.
8145
8146 2003-03-31  Angus Leeming  <leeming@lyx.org>
8147
8148         * text.C (fill): ensure that the signature is the same as that in the
8149         header file.
8150
8151 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8152
8153         * text2.C (redoParagraphs): adjust
8154         (updateCounters): adjust
8155         (checkParagraph): adjust
8156         (getColumnNearX): adjust and reformat a bit.
8157
8158         * text.C (top_y): adjust
8159         (workWidth): adjust
8160         (leftMargin): adjust
8161         (prepareToPrint): adjust
8162         (getRow): adjust
8163         (getRowNearY): adjust
8164
8165         * lyxtext.h: make rowlist_ mutable.
8166
8167         * RowList.h: add const_iterator
8168         * RowList.C: adjust for RowList::const_iterator.
8169
8170         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8171         adjust.
8172
8173 2003-03-31  John Levon  <levon@movementarian.org>
8174
8175         * lyxrc.h:
8176         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8177
8178         * lyx_main.C: set default fonts from using lyx_gui funcs
8179
8180         * exporter.C: pdf_mode moved from lyxrc
8181
8182         * lyx_cb.C:
8183         * lyxfunc.C: changes from above
8184
8185 2003-03-31  John Levon  <levon@movementarian.org>
8186
8187         * lyx_main.C: fix to the last fix
8188
8189 2003-03-31  John Levon  <levon@movementarian.org>
8190
8191         * bufferlist.C: "Load original" -> "Load Original"
8192
8193         * converter.C:
8194         * exporter.C:
8195         * importer.C:
8196         * lyx_main.C:
8197         * format.C: more Alert cleanups
8198
8199 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8200
8201         * text2.C (removeParagraph): make it take a RowList::iterator as
8202         arg, adjust.
8203         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8204         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8205
8206         * text.C (anchor_row): make it take a RowList::iterator as arg,
8207         adjust.
8208         (computeBidiTables): make it take a const reference to Row instead
8209         of Row pointer, adjust.
8210         (leftMargin): make it take a RowList::iterator as arg, adjust.
8211         (rowBreakPoint): adjust
8212         (breakAgainOneRow): make it take a RowList::iterator as arg,
8213         adjust.
8214         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8215
8216         * bufferview_funcs.C (toggleAndShow): adjust
8217
8218 2003-03-30  John Levon  <levon@movementarian.org>
8219
8220         * Makefile.am:
8221         * BoostFormat.h:
8222         * boost-inst.C: moved to support
8223
8224         * several files: changes as a result
8225
8226 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8227
8228         * text2.C (LyXText): adjust.
8229         (init): adjust
8230         (removeRow): make it take a RowList::iterator as arg, adjust.
8231         (fullRebreak): adjust
8232         (deleteEmptyParagraphMechanism): adjust
8233         (clearPaint): adjust
8234         (postPaint): adjust
8235
8236         * text.C (top_y): adjust
8237         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8238         (breakAgain): make it take a RowList::iterator as arg, adjust.
8239         (breakParagraph): adjust
8240         (insertChar): adjust
8241         (backspace): adjust
8242
8243         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8244         need_break_row, and refresh_row.
8245
8246         * text3.C (dispatch): adjust
8247
8248         * text2.C (checkParagraph): adjust
8249         (setCursor): adjust
8250         (setCursorFromCoordinates): adjust
8251
8252         * text.C (top_y): adjust
8253         (workWidth): adjust
8254         (getRow): make it return a RowList::iterator, adjust
8255         (getRowNearY): make it return a RowList::iterator, adjust
8256
8257         * text2.C (init): adjust
8258         (insertRow): remove function
8259         (insertParagraph): adjust
8260         (redoParagraphs): adjust
8261         (fullRebreak): adjust
8262         (updateCounters): adjust
8263
8264         * text.C (top_y): rewrite to use RowList iterators.
8265         (top_y): adjust
8266         (setHeightOfRow): rewrite to sue RowList iterators.
8267         (appendParagraph): adjust
8268         (breakAgain): adjust
8269         (breakAgainOneRow): adjust
8270         (breakParagraph): adjust
8271         (getRow): adjust
8272         (getRowNearY): adjust, and remove commented code.
8273
8274         * lyxtext.h (firstRow): delete function
8275         (lastRow): delete function
8276         (rows): new function (const and non-const versions.)
8277         (insertRow): delete function
8278
8279         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8280
8281 2003-03-29  John Levon  <levon@movementarian.org>
8282
8283         * BufferView_pimpl.C: always update scrollbar top
8284         because pasting text when we're anchored could mean we
8285         miss an update altogether
8286
8287 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8288
8289         * text2.C (init): use rowlist_.end() and not 0.
8290         (insertRow): change to take a RowList::iterator as arg, adjust
8291         for this.
8292         (insertParagraph): change to take a RowList::iterator as arg,
8293         adjust for this.
8294         (redoParagraphs): remove some debug msgs.
8295
8296         * text.C (appendParagraph): change to take a RowList::iterator
8297         arg, adjust for this.
8298         (breakAgain): add an assert
8299         (breakAgainOneRow): ditto
8300
8301 2003-03-29  John Levon  <levon@movementarian.org>
8302
8303         * text2.C: do not clear selection after inc/decDepth
8304         (bug 550)
8305
8306 2003-03-29  John Levon  <levon@movementarian.org>
8307
8308         * BufferView.C:
8309         * buffer.C: fix broken strerrors according to Lars
8310
8311 2003-03-29  John Levon  <levon@movementarian.org>
8312
8313         * converters.C: more Alert cleanups
8314
8315 2003-03-29  John Levon  <levon@movementarian.org>
8316
8317         * bufferview_funcs.C: remove pointless Alert
8318
8319         * buffer.C: fix confusing error message when
8320         a template is chmoded 000
8321
8322 2003-03-29  John Levon  <levon@movementarian.org>
8323
8324         * BufferView.C:
8325         * BufferView.h:
8326         * BufferView_pimpl.C: Alert fixes
8327
8328         * Makefile.am:
8329         * tabular.C:
8330         * tabular-old.C: remove unused table compat reading
8331
8332 2003-03-29  John Levon  <levon@movementarian.org>
8333
8334         * BufferView.C:
8335         * buffer.C:
8336         * lyx_cb.h:
8337         * lyx_cb.C: more Alert cleanups
8338
8339         * lyxfunc.C: don't allow chktex if not latex document
8340
8341 2003-03-29  John Levon  <levon@movementarian.org>
8342
8343         * lyx_cb.C:
8344         * BufferView.C:
8345         * buffer.C: warnings pushed down from support/,
8346         kill err_alert
8347
8348 2003-03-29  John Levon  <levon@movementarian.org>
8349
8350         * lyxfunc.C: safety check for C-r (revert)
8351
8352 2003-03-29  John Levon  <levon@movementarian.org>
8353
8354         * bufferlist.h:
8355         * bufferlist.C: several UI fixes using Alert::prompt.
8356         Fix the pointless looping quit code. Fix stupid revert
8357         behaviour (bug 938)
8358
8359         * lyxvc.h:
8360         * lyxvc.C:
8361         * lyx_cb.C: use Alert::prompt
8362
8363         * lyx_main.C: remove a silly question
8364
8365         * lyxfunc.C: remove a couple of silly questions,
8366         use Alert::prompt
8367
8368 2003-03-28  John Levon  <levon@movementarian.org>
8369
8370         * text2.C: fix bug 974 (End on empty par)
8371
8372 2003-03-28  John Levon  <levon@movementarian.org>
8373
8374         * BufferView_pimpl.C:
8375         * LyXAction.C:
8376         * lfuns.h: remove do-nothing math greek lfuns
8377
8378 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8379
8380         * lyxgluelength.h (isValidGlueLength): add default arg on
8381         parameter 2. Remove default arg from friend in class.
8382
8383         * lyxlength.h (isValidLength): add default arg on parameter 2.
8384         Remove default arg from friend in class.
8385
8386         * text2.C (LyXText): adjust, initialize refresh_row.
8387         (init): adjust
8388         (removeRow): adjust
8389         (insertRow): adjust
8390         (insertParagraph): adjst
8391         (redoParagraphs): adjust
8392         (fullRebreak): adjust
8393         (updateCounters): adjust
8394         (deleteEmptyParagraphMechanism): first attempt at fixing a
8395         crashing bug.
8396
8397         * text.C (top_y): adjust
8398         (setHeightOfRow): adjust
8399         (getRow): adjust
8400         (getRowNearY): adjust
8401
8402         * lyxtext.h: include RowList.h
8403         (~LyXText): not needed anymore, deleted.
8404         (firstRow): modify for RowList
8405         (lastRow): new function
8406         Delete firstrow and lastrow class variables, add a Rowlist
8407         rowlist_ class variable.
8408
8409         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8410         paragraph is empty.
8411
8412         * RowList.C (insert): fix case where it == begin().
8413
8414 2003-03-26  Angus Leeming  <leeming@lyx.org>
8415
8416         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8417         the thesaurus dialog.
8418
8419 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8420
8421         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8422
8423         * RowList.[Ch]: new files
8424
8425         * ParagraphList.C (erase): handle the case where it == begin
8426         correctly.
8427
8428 2003-03-25  John Levon  <levon@movementarian.org>
8429
8430         * Makefile.am:
8431         * aspell_local.h:
8432         * aspell.C: add new aspell support
8433
8434         * lyxrc.h:
8435         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8436         have it accessible.
8437
8438 2003-03-25  Angus Leeming  <leeming@lyx.org>
8439
8440         * lfuns.h:
8441         * LyXAction.C (init): new LFUN_INSET_INSERT.
8442
8443         * BufferView_pimpl.C (dispatch): split out part of the
8444         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8445
8446         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8447         LFUN_INSET_APPLY.
8448
8449 2003-03-25  Angus Leeming  <leeming@lyx.org>
8450
8451         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8452
8453 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8454
8455         * text2.C:
8456         * text3.C: remove useless row->height(0)
8457
8458 2003-03-25  John Levon  <levon@movementarian.org>
8459
8460         * lyxtext.h:
8461         * text2.C:
8462         * text3.C: rename the refreshing stuff to better names
8463
8464 2003-03-24  John Levon  <levon@movementarian.org>
8465
8466         * BufferView_pimpl.h:
8467         * BufferView_pimpl.C: update layout choice on a mouse
8468         press/release
8469
8470 2003-03-23  John Levon  <levon@movementarian.org>
8471
8472         * Makefile.am: fix commandtags.h reference
8473
8474 2003-03-22  John Levon  <levon@movementarian.org>
8475
8476         * BufferView_pimpl.C:
8477         * lyxtext.h:
8478         * rowpainter.C:
8479         * rowpainter.h:
8480         * text.C:
8481         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8482
8483 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8484
8485         * lyxtext.h:
8486         * text.C: take the rtl methods out of line
8487
8488 2003-03-21 André Pönitz <poenitz@gmx.net>
8489
8490         * metricsinfo.[Ch]: new files containing structures to be passed around
8491         during the two-phase-drawing...
8492
8493 2003-03-21 André Pönitz <poenitz@gmx.net>
8494
8495         * lyxtextclass.C: read 'environment' tag.
8496
8497 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8498
8499         * text2.C (removeRow): fix bug 964
8500
8501 2003-03-20  John Levon  <levon@movementarian.org>
8502
8503         * rowpainter.C:
8504         * text.C:
8505         * text2.C: paint cleanups. Inset::update() dropped font
8506         parameter
8507
8508 2003-03-19  John Levon  <levon@movementarian.org>
8509
8510         * lyxfunc.C: only fitcursor/markDirty if available()
8511
8512 2003-03-19  John Levon  <levon@movementarian.org>
8513
8514         * commandtags.h: rename to ...
8515
8516         * lfuns.h: ... this, and renumber / cleanup
8517
8518 2003-03-19  John Levon  <levon@movementarian.org>
8519
8520         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8521         fit the cursor after an lfun
8522
8523         * BufferView.h:
8524         * BufferView.C:
8525         * BufferView_pimpl.h:
8526         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8527
8528         * LyXAction.C: layout-character should have ReadOnly
8529
8530         * ParagraphParameters.C:
8531         * buffer.C:
8532         * bufferview_funcs.C:
8533         * lyx_cb.C:
8534         * lyxfind.C:
8535         * lyxtext.h:
8536         * text.C:
8537         * text2.C:
8538         * text3.C:
8539         * undo_funcs.C: changes from above
8540
8541 2003-03-18  John Levon  <levon@movementarian.org>
8542
8543         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8544         remove it from update()
8545
8546         * lyxfunc.C: update layout choice after an lfun
8547
8548         * text3.C: remove extra updateLayoutChoice()s
8549
8550 2003-03-18  John Levon  <levon@movementarian.org>
8551
8552         * text.C: top_y change means full repaint, fix
8553         a drawing bug with cursor movement
8554
8555 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8556
8557         * lyxtext.h:
8558         * text.C:
8559         * text2.C: anchor row on setCursor
8560
8561 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8562
8563         * lyxtext.h: remove almost all mutable keywords
8564         * text.C:
8565         * text2.C:
8566         * text3.C: remove const keywords accordingly
8567
8568 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8569
8570         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8571         anon namespace
8572         (TeXEnvironment): ditto
8573         (TeXOnePar): ditto
8574
8575 2003-03-17  John Levon  <levon@movementarian.org>
8576
8577         * text.C (rowBreakPoint): remove attempt to fix displayed
8578         math insets inside a manual label
8579
8580 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8581
8582         * lyxtext.h: remove BufferView* as first arg from almost all class
8583         functions.
8584         * other files: adjust.
8585
8586 2003-03-17  John Levon  <levon@movementarian.org>
8587
8588         * lyxtext.h:
8589         * undo_funcs.C:
8590         * text2.C: more paint cleanups
8591
8592         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8593
8594         * rowpainter.h:
8595         * rowpainter.C: remove "smart" background painting code
8596
8597 2003-03-16  John Levon  <levon@movementarian.org>
8598
8599         * lyxtext.h:
8600         * text.C:
8601         * text2.C:
8602         * text3.C: add helper functions for setting refresh_row/y
8603
8604 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8605
8606         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8607         newline inset which *can* get inserted in the pass_thru layouts.
8608         This is primarily for literate documents.
8609
8610 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8611
8612         * buffer.C: increment LYX_FORMAT to 223
8613
8614 2003-03-14 André Pönitz <poenitz@gmx.net>
8615
8616         * textclass.h: prepare for environment handling, ws changes
8617         * lyxlayout.C: read latexheader and latexfooter tags
8618
8619 2003-03-14  John Levon  <levon@movementarian.org>
8620
8621         * text2.C: rewrite ::status() a bit
8622
8623 2003-03-13  John Levon  <levon@movementarian.org>
8624
8625         * lyxtext.h: add some docs
8626
8627 2003-03-13  John Levon  <levon@movementarian.org>
8628
8629         * lyxtext.h:
8630         * text.C:
8631         * text2.C:
8632         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8633
8634 2003-03-13  John Levon  <levon@movementarian.org>
8635
8636         * text3.C: fix appendix redrawing
8637
8638 2003-03-13  John Levon  <levon@movementarian.org>
8639
8640         * text.C (setHeightOfRow):
8641         * rowpainter.h:
8642         * rowpainter.C: make appendix mark have the text
8643           "Appendix" so the user knows what it is
8644
8645         * LColor.h:
8646         * LColor.C: s/appendixline/appendix/ from above
8647
8648 2003-03-13  John Levon  <levon@movementarian.org>
8649
8650         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8651
8652         * text.C: fix a getChar(pos) bug properly
8653
8654 2003-03-13  Angus Leeming  <leeming@lyx.org>
8655
8656         * commandtags.h:
8657         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8658         Probably only temporary. Let's see how things pan out.
8659
8660         * BufferView.C (unlockInset):
8661         * BufferView_pimpl.C (fitCursor):
8662         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8663
8664         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8665         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8666
8667         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8668         new functions that convert ParagraphParameters to and from a string.
8669
8670         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8671         BufferView::Pimpl's dispatch.
8672         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8673
8674 2003-03-13 André Pönitz <poenitz@gmx.net>
8675
8676         * lyxfunc.C:
8677         * text3.C:
8678         * factory.C: make it aware of InsetEnv
8679
8680 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8681
8682         * text2.C (setCursor): never ask for one past last
8683         (setCursor): add some debugging messages.
8684
8685         * text.C (singleWidth): never ask for one past last
8686         (singleWidth): ditto
8687         (leftMargin): ditto
8688         (rightMargin): ditto
8689         (rowBreakPoint): ditto
8690         (setHeightOfRow): ditto
8691         (prepareToPrint): ditto
8692
8693         * rowpainter.C (paintBackground): never ask for one past last
8694         (paintText): never ask for one past last
8695
8696         * paragraph_pimpl.C (getChar): make the assert stricter, never
8697         allow the one past last pos to be taken
8698
8699         * paragraph.C (getChar): ws changes only
8700
8701         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8702         (numberOfSeparators): ditto
8703         (numberOfHfills): ditto
8704
8705 2003-03-12  John Levon  <levon@movementarian.org>
8706
8707         * author.h:
8708         * author.C:
8709         * bufferparams.h:
8710         * bufferparams.C:
8711         * paragraph_funcs.C: fix per-buffer authorlists
8712
8713 2003-03-12  John Levon  <levon@movementarian.org>
8714
8715         * text.C: fix newline in right address
8716
8717 2003-03-12  Angus Leeming  <leeming@lyx.org>
8718
8719         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8720         duplicate those in LyXFunc::dispatch.
8721
8722         * commandtags.h:
8723         * LyXAction.C:
8724         * ToolbarDefaults.C:
8725         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8726         Add LFUN_FONTFREE_UPDATE.
8727
8728         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8729         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8730
8731         * bufferview_func.[Ch]: several new functions to facilliate
8732         transfer of data to and from the character dialog.
8733
8734 2003-03-12  John Levon  <levon@movementarian.org>
8735
8736         * buffer.C:
8737         * paragraph.h:
8738         * paragraph.C:
8739         * paragraph_funcs.C:
8740         * paragraph_pimpl.C:
8741         * sgml.C:
8742         * tabular.C:
8743         * text.C:
8744         * text3.C: remove META_NEWLINE in favour of an inset
8745
8746         * rowpainter.h:
8747         * rowpainter.C: remove paintNewline (done by inset)
8748
8749 2003-03-12  John Levon  <levon@movementarian.org>
8750
8751         * paragraph_pimpl.C: complain about bad getChar()s
8752         for a while at least
8753
8754 2003-03-12  John Levon  <levon@movementarian.org>
8755
8756         * buffer.h:
8757         * buffer.C: move paragraph read into a separate function,
8758         a little renaming to reflect that.
8759
8760         * bufferparams.h:
8761         * bufferparams.C: remove the author_ids map, not necessary now
8762
8763         * factory.h:
8764         * factory.C: moved Buffer::readInset to here
8765
8766         * paragraph_funcs.h:
8767         * paragraph_funcs.C: readParagraph free function moved from
8768         buffer.C
8769
8770         * tabular.C: name change
8771
8772 2003-03-12  John Levon  <levon@movementarian.org>
8773
8774         * buffer.C:
8775         * ParagraphParameters.C: move par params input to
8776         a read() method
8777
8778         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8779         behave like a normal read from the stream wrt reading
8780         a line vs. a \\token
8781
8782 2003-03-12  John Levon  <levon@movementarian.org>
8783
8784         * paragraph.C:
8785         * ParagraphParameters.h:
8786         * ParagraphParameters.C: move output code to a
8787         ::write() method
8788
8789 2003-03-12  John Levon  <levon@movementarian.org>
8790
8791         * BufferView.C (insertLyXFile):
8792         * buffer.h:
8793         * buffer.C:
8794         * tabular.C: use a parlist iterator for creating the
8795           document.
8796
8797 2003-03-12  John Levon  <levon@movementarian.org>
8798
8799         * buffer.C: make current_change static local not
8800           static file-scope
8801
8802 2003-03-12  John Levon  <levon@movementarian.org>
8803
8804         * buffer.C: fix insertStringAsLines for change tracking
8805
8806 2003-03-12  John Levon  <levon@movementarian.org>
8807
8808         * BufferView.C:
8809         * tabular.C:
8810         * buffer.h:
8811         * buffer.C:
8812         * bufferparams.h:
8813         * bufferparams.C: move author list into params. Rename some
8814           functions. Move the header reading into a separate token
8815           loop. Move the header token reading into BufferParams.
8816
8817 2003-03-12  John Levon  <levon@movementarian.org>
8818
8819         * changes.C: put debug inside lyxerr.debugging() checks
8820
8821 2003-03-11 André Pönitz <poenitz@gmx.net>
8822
8823         * factory.C: make it aware of InsetHFill
8824
8825 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8826
8827         * buffer.C (latexParagraphs): move function from here...
8828         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8829         args.
8830
8831 2003-03-10  Angus Leeming  <leeming@lyx.org>
8832
8833         * LyXAction.C (init): fix bug in poplating array with multiple entries
8834         with the same LFUN (spotted by JMarc).
8835
8836 2003-03-10  John Levon  <levon@movementarian.org>
8837
8838         * text.C:
8839         * text2.C: move getColumnNearX() near its
8840         only call site
8841
8842 2003-03-10  John Levon  <levon@movementarian.org>
8843
8844         * text.C: fix break before a minipage
8845
8846 2003-03-10  John Levon  <levon@movementarian.org>
8847
8848         * text.C: fix the last commit
8849
8850 2003-03-09  John Levon  <levon@movementarian.org>
8851
8852         * lyxtext.h:
8853         * text.C:
8854         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8855         bug 365 (don't break before insets unless needed). Don't
8856         return a value > last under any circumstances.
8857
8858 2003-03-09  Angus Leeming  <leeming@lyx.org>
8859
8860         * BufferView_pimpl.C (trackChanges, dispatch): call
8861         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8862
8863 2003-03-09  Angus Leeming  <leeming@lyx.org>
8864
8865         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8866         than Dialogs::showAboutlyx().
8867
8868 2003-03-09  Angus Leeming  <leeming@lyx.org>
8869
8870         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8871         than Dialogs::showTabularCreate().
8872
8873 2003-03-09  John Levon  <levon@movementarian.org>
8874
8875         * lyxtext.h:
8876         * text.C:
8877         * text2.C: 3rd arg to nextBreakPoint was always the same.
8878           Use references.
8879
8880 2003-03-08  John Levon  <levon@movementarian.org>
8881
8882         * lyxrow.C:
8883         * paragraph.C:
8884         * paragraph.h:
8885         * rowpainter.C:
8886         * text.C:
8887         * text2.C: Remove the "main" bit from the "main body"
8888           notion.
8889
8890 2003-03-08  John Levon  <levon@movementarian.org>
8891
8892         * text.C (leftMargin): The left margin of an empty
8893         manual label paragraph should not include the label width
8894         string length.
8895
8896         * text.C (prepareToPrint): don't attempt to measure hfills
8897         for empty manual label paragraphs - the answer should be 0
8898
8899 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8900
8901         * CutAndPaste.C: remove commented code and reindent.
8902
8903 2003-03-08  John Levon  <levon@movementarian.org>
8904
8905         * lyxfunc.h:
8906         * lyxfunc.C: move reloadBuffer()
8907
8908         * BufferView.h:
8909         * BufferView.C: to here
8910
8911         * lyxvc.C: add comment
8912
8913         * vc-backend.h:
8914         * vc-backend.C: call bv->reload() to avoid
8915           getStatus() check on MENURELOAD
8916
8917 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8918
8919         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8920         to an old format .dep file.
8921
8922 2003-03-07  Angus Leeming  <leeming@lyx.org>
8923
8924         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8925         when the LFUN_MOUSE_RELEASE should have been handled by
8926         inset->localDispatch.
8927
8928 2003-03-07  Angus Leeming  <leeming@lyx.org>
8929
8930         * BufferView_pimpl.C (dispatch):
8931         * LyXAction.C (init):
8932         * ToolbarDefaults.C (init):
8933         * commandtags.h:
8934         * lyxfunc.C (getStatus):
8935         remove LFUN_INSET_GRAPHICS.
8936
8937         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8938
8939 2003-03-07  Angus Leeming  <leeming@lyx.org>
8940
8941         * commandtags.h:
8942         * LyXAction.C (init):
8943         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8944
8945         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8946
8947         * commandtags.h:
8948         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8949
8950         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8951         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8952
8953 2003-03-07  Angus Leeming  <leeming@lyx.org>
8954
8955         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8956         remove "ert".
8957
8958 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8959
8960         * ParagraphList.C (front): new function
8961         (back): implement
8962
8963 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8964
8965         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8966         and top_row_offset_. removed var first_y.
8967         * text.C (top_y):
8968         * text2.C (LyXText, removeRow):
8969         * text3.C:
8970         * BufferView_pimpl.C:
8971         use these methods instead of using first_y
8972
8973 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8974
8975         * text2.C (pasteSelection): adjust for checkPastePossible
8976
8977         * CutAndPaste.C: remove Paragraph * buf and replace with
8978         ParagraphList paragraphs.
8979         (DeleteBuffer): delete
8980         (cutSelection): change the tc type to textclass_type
8981         (copySelection): change the tc type to textclass_type
8982         (copySelection): adjust for ParagraphList
8983         (pasteSelection): change the tc type to textclass_type
8984         (pasteSelection): adjust for Paragraphlist
8985         (nrOfParagraphs): simplify for ParagraphList
8986         (checkPastePossible): simplify for ParagraphList
8987         (checkPastePossible): remove unused arg
8988
8989         * ParagraphList.C (insert): handle the case where there are no
8990         paragraphs yet.
8991
8992         * CutAndPaste.h: make CutAndPaste a namespace.
8993
8994         * text3.C (dispatch): adjust
8995
8996         * text.C (breakParagraph): add a ParagraphList as arg
8997
8998         * paragraph_funcs.C (breakParagraph): change to take a
8999         BufferParams and a ParagraphList as args.
9000         (breakParagraphConservative): ditto
9001         (mergeParagraph): ditto
9002         (TeXDeeper): add a ParagraphList arg
9003         (TeXEnvironment): ditto
9004         (TeXOnePar): ditto
9005
9006         * buffer.C (readLyXformat2): adjust
9007         (insertStringAsLines): adjust
9008         (latexParagraphs): adjust
9009
9010         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9011         (cutSelection): adjust
9012         (pasteSelection): adjust
9013
9014         * BufferView_pimpl.C (insertInset): adjust
9015
9016 2003-03-05  Angus Leeming  <leeming@lyx.org>
9017
9018         * commandtags.h:
9019         * LyXAction.C (init):
9020         * BufferView_pimpl.C (dispatch):
9021         * lyxfunc.C (getStatus):
9022         remove LFUN_CHILD_INSERT.
9023
9024         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9025
9026 2003-03-05  Angus Leeming  <leeming@lyx.org>
9027
9028         * commandtags.h:
9029         * LyXAction.C (init):
9030         * src/factory.C (createInset):
9031         * lyxfunc.C (getStatus):
9032         * text3.C (dispatch):
9033         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9034
9035         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9036
9037 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9038
9039         * ParagraphList.C (insert): handle insert right before end()
9040         (erase): fix cases where it can be first or last paragraph.
9041
9042 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9043
9044         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9045         Paragraph::next and Paragraph::previous
9046         (TeXOnePar): ditto
9047
9048         * text.C (breakParagraph): adjust
9049
9050         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9051         BufferParams& as arg.
9052         (breakParagraph): use ParagraphList::insert
9053         (breakParagraphConservative): take a Buffer* instead of a
9054         BufferParams& as arg.
9055         (breakParagraphConservative): use ParagraphList::insert.
9056
9057         * buffer.C (insertStringAsLines): un-const it
9058         (insertStringAsLines): adjust
9059
9060         * ParagraphList.C (insert): new function
9061
9062         * CutAndPaste.C (pasteSelection): adjust
9063
9064         * text.C (backspace): adjust
9065
9066         * tabular.C (SetMultiColumn): adjust
9067
9068         * CutAndPaste.C (cutSelection): adjust
9069         (pasteSelection): adjust
9070
9071         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9072         Buffer const * as arg
9073
9074         * ParagraphList.C (erase): new function
9075         * paragraph_funcs.C (mergeParagraph): use it
9076         (mergeParagraph): make it take a Buffer* instead of a
9077         BufferParams* as arg
9078
9079         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9080         as arg
9081         (breakParagraphConservative): ditto
9082
9083         * paragraph.h: remove the breakParagraph friend
9084
9085         * paragraph.C (eraseIntern): new function
9086         (setChange): new function
9087
9088         * paragraph_funcs.C (mergeParagraph): make it take a
9089         ParagraphList::iterator instead of a Paragraph *, adjust
9090         accordingly.
9091
9092         * paragraph.h: move an #endif so that the change tracking stuff
9093         also works in the NO_NEXT case.
9094
9095 2003-03-04  Angus Leeming  <leeming@lyx.org>
9096
9097         * commandtags.h:
9098         * LyXAction.C: new LFUN_INSET_MODIFY.
9099
9100         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9101         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9102
9103 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9104
9105         * several files: ws changes only
9106
9107         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9108         (TeXEnvironment): ditto
9109         (TeXDeeper): ditto
9110
9111         * buffer.C (makeLaTeXFile): adjust
9112         (latexParagraphs): make it take ParagraphList::iterator as args
9113
9114 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9115
9116         * buffer.C (latexParagraphs): adjust
9117
9118         * paragraph.C (TeXOnePar): move function...
9119         (optArgInset): move function...
9120         (TeXEnvironment): move function...
9121         * paragraph_pimpl.C (TeXDeeper): move function...
9122         * paragraph_funcs.C: ...here
9123
9124         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9125
9126 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9127
9128         * buffer.C (readInset): remove compability code for old Figure and
9129         InsetInfo insets
9130
9131 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9132
9133         * buffer.C: ws changes
9134         (readInset):
9135
9136         * BufferView_pimpl.C: ditto
9137         * author.C: ditto
9138         * buffer.h: ditto
9139         * bufferlist.h: ditto
9140         * changes.h: ditto
9141         * lyxfunc.C: ditto
9142
9143 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9144
9145         * converter.[Ch]: split into itself +
9146         * graph.[Ch]
9147         * format.[Ch]
9148         * Makefile.am: += graph.[Ch] + format.[Ch]
9149         * MenuBackend.C
9150         * buffer.C
9151         * exporter.C
9152         * importer.C
9153         * lyx_main.C
9154         * lyxfunc.C
9155         * lyxrc.C: added #include "format.h"
9156
9157 2003-02-27  Angus Leeming  <leeming@lyx.org>
9158
9159         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9160           a label.
9161
9162         * factory.C (createInset): add "label" to the factory.
9163
9164         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9165           string and do no more.
9166
9167 2003-02-27  Angus Leeming  <leeming@lyx.org>
9168
9169         * commandtags.h:
9170         * LyXAction.C (init):
9171         * factory.C (createInset):
9172         * BufferView_pimpl.C (dispatch):
9173           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9174
9175         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9176
9177         * lyxfunc.C (dispatch):
9178         * text3.C (dispatch): pass name to params2string.
9179
9180 2003-02-26  Angus Leeming  <leeming@lyx.org>
9181
9182         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9183           blocks together.
9184           Rearrange the ~includes. Strip out the unnecessary ones.
9185
9186         * factory.C (createInset): reformat.
9187           create new insets for the various LFUN_XYZ_APPLY lfuns.
9188
9189 2003-02-26  John Levon  <levon@movementarian.org>
9190
9191         * lyxrow.h:
9192         * lyxrow.C: add isParStart,isParEnd helpers
9193
9194         * paragraph.h: make isInserted/DeletedText take refs
9195
9196         * paragraph_funcs.h:
9197         * paragraph_funcs.C: remove #if 0'd code
9198
9199         * lyxtext.h:
9200         * text3.C:
9201         * text2.C:
9202         * text.C: use lyxrow helpers above.
9203           Move draw and paint routines to RowPainter.
9204           Make several methods use refs not pointers.
9205           Make backgroundColor() const.
9206           Add markChangeInDraw(), isInInset().
9207           Merge changeRegionCase into changeCase.
9208           Make workWidth() shouldn't-happen code into an Assert.
9209
9210         * rowpainter.h:
9211         * rowpainter.C: new class for painting a row.
9212
9213         * vspace.h:
9214         * vspace.C: make inPixels take a ref
9215
9216 2003-02-26  Angus Leeming  <leeming@lyx.org>
9217
9218         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9219         LFUN_REF_APPLY.
9220
9221 2003-02-25  John Levon  <levon@movementarian.org>
9222
9223         * ispell.C: give the forked command a more accurate name
9224
9225 2003-02-22  John Levon  <levon@movementarian.org>
9226
9227         * toc.h:
9228         * toc.C: make TocItem store an id not a Paragraph *
9229           (bug #913)
9230
9231 2003-02-21  Angus Leeming  <leeming@lyx.org>
9232
9233         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9234           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9235           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9236           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9237           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9238           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9239
9240         * BufferView_pimpl.C (dispatch):
9241         * LyXAction.C (init):
9242         * factory.C (createInset):
9243         * lyxfunc.C (getStatus, dispatch):
9244         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9245
9246 2003-02-21  Angus Leeming  <leeming@lyx.org>
9247
9248         * BufferView_pimpl.C (MenuInsertLyXFile):
9249         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9250         * lyxfunc.C (menuNew, open, doImport):
9251           no longer pass a LyXView & to fileDlg.
9252
9253 2003-02-21  Angus Leeming  <leeming@lyx.org>
9254
9255         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9256         * LyXAction.C: change, BIBKEY to BIBITEM.
9257         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9258         Change InsetBibKey to InsetBibitem.
9259         Change BIBKEY_CODE to BIBITEM_CODE.
9260         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9261         * factory.C: replace insetbib.h with insetbibitem.h.
9262         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9263         * paragraph.C: replace insetbib.h with insetbibitem.h.
9264         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9265         Change bibkey() to bibitem().
9266         * text.C: remove insetbib.h.
9267         * text2.C: replace insetbib.h with insetbibitem.h.
9268         change bibkey() to bibitem().
9269         * text3.C: remove insetbib.h.
9270         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9271
9272 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9273
9274         * lyxrc.C (output): enclose user email in quotes (in case there are
9275         several words)
9276
9277 2003-02-18  John Levon  <levon@movementarian.org>
9278
9279         * buffer.h: add std::
9280
9281 2003-02-17  John Levon  <levon@movementarian.org>
9282
9283         * SpellBase.h:
9284         * ispell.h:
9285         * ispell.C:
9286         * pspell.h:
9287         * pspell.C: reworking. Especially in ispell, a large
9288           number of clean ups and bug fixes.
9289
9290         * lyxfunc.C: fix revert to behave sensibly
9291
9292 2003-02-17 André Pönitz <poenitz@gmx.net>
9293
9294         * LyXAction.C:
9295         * commandtags.h: new LFUN_INSERT_BIBKEY
9296
9297         * layout.h:
9298         * lyxlayout.C:
9299         * buffer.C:
9300         * factory.C:
9301         * text.C:
9302         * text2.C:
9303         * text3.C:
9304         * paragraph.[Ch]:
9305         * paragraph_func.C: remove special bibkey handling
9306
9307 2003-02-17  John Levon  <levon@movementarian.org>
9308
9309         * text.C (Delete): fix case where delete at the end of
9310           the very first paragraph would not merge the pars
9311
9312 2003-02-17  John Levon  <levon@movementarian.org>
9313
9314         * lyxrow.C: fix lastPrintablePos()
9315
9316 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9317
9318         * bufferparams.C (writeLaTeX): add a std:here
9319
9320         * buffer.C: and remove a using directive there
9321
9322 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9323
9324         * buffer.C (makeLaTeXFile): move the code that generates the
9325           preamble...
9326
9327         * bufferparams.C (writeLaTeX): ... in this new method
9328
9329         * LaTeXFeatures.C (getEncodingSet): make const
9330           (getLanguages): make const
9331
9332         * MenuBackend.C (binding): returns the binding associated to this
9333           action
9334           (add): sets the status of each item by calling getStatus. Adds
9335           some intelligence.
9336           (read): add support for OptSubMenu
9337           (expand): remove extra separator at the end of expanded menu
9338
9339 2003-02-15  John Levon  <levon@movementarian.org>
9340
9341         * BufferView.C:
9342         * BufferView_pimpl.C:
9343         * bufferlist.h:
9344         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9345           inset code that had no actual effect. Remove unneeded status
9346           code.
9347
9348 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9349
9350         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9351           in preamble
9352
9353 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9354
9355         * text.C (drawLengthMarker): also draw an arrow marker for
9356           symbolic lengths (medskip...)
9357
9358 2003-02-14  John Levon  <levon@movementarian.org>
9359
9360         * tabular.h:
9361         * tabular.C: better method names
9362
9363 2003-02-14  John Levon  <levon@movementarian.org>
9364
9365         * BufferView_pimpl.C:
9366         * bufferlist.C:
9367         * buffer.C:
9368         * converter.C:
9369         * lyx_cb.C:
9370         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9371           it's a more accurate name. Remove some pointless uses.
9372
9373 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9374
9375         * text2.C (LyXText): change order of initilizers to shut off
9376           warnings
9377
9378 2003-02-14  John Levon  <levon@movementarian.org>
9379
9380         * buffer.C: use ParIterator for getParFromID()
9381
9382         * paragraph.h:
9383         * paragraph.C:
9384         * paragraph_pimpl.h:
9385         * paragraph_pimpl.C: remove unused getParFromID()
9386
9387 2003-02-14  John Levon  <levon@movementarian.org>
9388
9389         * buffer.C: remove some very old #if 0'd parse code
9390
9391 2003-02-13  John Levon  <levon@movementarian.org>
9392
9393         * text.h:
9394         * text.C:
9395         * text2.C: move hfillExpansion(), numberOfSeparators(),
9396           rowLast(), rowLastPrintable(), numberofHfills(),
9397           numberOfLabelHfills() ...
9398
9399         * lyxrow.h:
9400         * lyxrow.C: ... to member functions here.
9401
9402         * paragraph.h:
9403         * paragraph.C:
9404         * lyxtext.h:
9405         * text.C: remove LyXText::beginningOfMainBody(), and call
9406           p->beginningOfMainBody() directly. Move the check for
9407           LABEL_MANUAL into the latter.
9408
9409         * text.h:
9410         * text.C:
9411         * text2.C:
9412         * vspace.C:
9413         * BufferView.h:
9414         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9415
9416         * text.h:
9417         * text.C:
9418         * text2.C:
9419         * text3.C:
9420         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9421           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9422
9423 2003-02-13  John Levon  <levon@movementarian.org>
9424
9425         * CutAndPaste.C: remove debug
9426
9427 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9428
9429         * paragraph.C (asString): remove two unused variables
9430
9431         * lyxtextclass.C (readTitleType):
9432           (Read):
9433           (LyXTextClass): handle new members titletype_ and titlename_
9434
9435         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9436
9437 2003-02-09  John Levon  <levon@movementarian.org>
9438
9439         * buffer.h:
9440         * buffer.C: replace hand-coded list with a map for the dep clean
9441
9442 2003-02-08  John Levon  <levon@movementarian.org>
9443
9444         * LaTeX.C: consolidate code into showRunMessage() helper
9445
9446 2003-02-08  John Levon  <levon@movementarian.org>
9447
9448         * lyxfind.C:
9449         * lyxtext.h:
9450         * text2.C:
9451         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9452           and pass the size in explicitly
9453
9454         * BufferView_pimpl.h:
9455         * BufferView_pimpl.C:
9456         * BufferView.h:
9457         * BufferView.C: add getCurrentChange()
9458
9459         * BufferView_pimpl.h:
9460         * BufferView_pimpl.C: handle change lfuns
9461
9462         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9463           for changes. Mark pasted paragraphs as new.
9464
9465         * support/lyxtime.h:
9466         * support/lyxtime.C:
9467         * DepTable.C: abstract time_t as lyx::time_type
9468
9469         * LColor.h:
9470         * LColor.C: add colours for new text, deleted text, changebars
9471
9472         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9473           package use "usenames" option.
9474
9475         * commandtags.h:
9476         * lyxfunc.C:
9477         * LyXAction.C: add change lfuns
9478
9479         * Makefile.am:
9480         * author.h:
9481         * author.C: author handling
9482
9483         * buffer.h:
9484         * buffer.C: add a per-buffer author list, with first entry as
9485           current author. Handle new .lyx tokens for change tracking. Output
9486           author list to .lyx file. Output dvipost stuff to .tex preamble.
9487           Bump lyx format to 222.
9488
9489         * bufferlist.h:
9490         * bufferlist.C: add setCurrentAuthor() to reset current author details
9491           in all buffers.
9492
9493         * bufferparams.h:
9494         * bufferparams.C: add param for tracking
9495
9496         * bufferview_funcs.C: output change info in minibuffer
9497
9498         * Makefile.am:
9499         * changes.h:
9500         * changes.C: add change-tracking structure
9501
9502         * debug.h:
9503         * debug.C: add CHANGES debug flag
9504
9505         * lyxfind.h:
9506         * lyxfind.C: add code for finding the next change piece
9507
9508         * lyxrc.h:
9509         * lyxrc.C: add user_name and user_email
9510
9511         * lyxrow.h:
9512         * lyxrow.C: add a metric for the top of the text line
9513
9514         * lyxtext.h:
9515         * text.C: implement accept/rejectChange()
9516
9517         * lyxtext.h:
9518         * text.C: paint changebars. Paint new/deleted text in the chosen
9519         colours. Strike through deleted text.
9520
9521         * paragraph.h:
9522         * paragraph.C:
9523         * paragraph_pimpl.h:
9524         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9525           in the current change to the insert functions. Rework erase to
9526           mark text as deleted, adding an eraseIntern() and a range-based
9527           erase(). Implement per-paragraph change lookup and
9528           accept/reject.
9529
9530         * paragraph_funcs.C: Fixup paste for change tracking.
9531
9532         * tabular.C: mark added row/columns as new.
9533
9534         * text.C: fix rowLast() to never return -1. Don't allow
9535           spellchecking of deleted text. Track transpose changes. Don't
9536           allow paragraph break or merge where appropriate.
9537
9538         * text2.C: leave cursor at end of selection after a cut.
9539
9540 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9541
9542         * text.C (getLengthMarkerHeight):
9543         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9544         visible on screen too.
9545
9546 2003-02-07  John Levon  <levon@movementarian.org>
9547
9548         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9549
9550 2003-02-05  Angus Leeming  <leeming@lyx.org>
9551
9552         * lyxserver.C (read_ready): revert my patch of 11 September last year
9553         as it sends PC cpu through the roof. Presumably this means that
9554         the lyxserver will no longer run on an Alpha...
9555
9556 2003-01-30  Angus Leeming  <leeming@lyx.org>
9557
9558         * factory.C (createInset): create an InsetCommandParam of type "index"
9559         and use it to 'do the right thing'.
9560
9561         * text2.C (getStringToIndex): ensure that cursor position is always
9562         reset to the reset_cursor position.
9563
9564 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9565
9566         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9567         disabled.
9568
9569 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9570
9571         * bufferview.C:
9572         * lyxcb.C:
9573         * lyxfunc.C: Output messages with identical spelling, punctuation,
9574         and spaces
9575
9576 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9577
9578         * MenuBackend.C (expandFormats): List only viewable export formats
9579         in "View" menu
9580
9581         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9582         message
9583
9584         * lyxfunc.C (getStatus): Make sure that formats other than
9585         "fax" can also be disabled
9586
9587 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9588
9589         * text3.C (dispatch): put the lfuns that insert insets in 3
9590         groups, and call doInsertInset with appropriate arguments.
9591         (doInsertInset): new function, that creates an inset and inserts
9592         it according to some boolean parameters.
9593
9594 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9595
9596         * buffer.C (readFile): remember to pass on 'par' when calling
9597         readFile recursively.
9598
9599 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9600
9601         * MenuBackend.C (expandFormats): add "..." to import formats.
9602
9603 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9604
9605         * paragraph.C (asString): Remove XForms RTL hacks.
9606
9607 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9608         * buffer.C: fix typo
9609
9610 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9611
9612         * Makefile.am (LIBS): delete var
9613         (lyx_LDADD): add @LIBS@ here instead.
9614
9615 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9616
9617         * Clarify the meaning of "wheel mouse jump"
9618
9619 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9620
9621         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9622         tabular in a float
9623
9624 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9625
9626         * importer.C (Loaders): do not preallocate 3 elements in the
9627         vector, since one ends up with 6 elements otherwise
9628
9629 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9630
9631         * DepTable.C (write): write the file name as last element of the
9632         .dep file (because it may contain spaces)
9633         (read): read info in the right order
9634
9635 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9636
9637         * paragraph_pimpl.C (simpleTeXBlanks):
9638         (simpleTeXSpecialChars):
9639         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9640
9641         * tabular.C (latex): add some missing case statements. Reindent.
9642
9643         * MenuBackend.C (expandToc): remove unused variable.
9644
9645 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9646
9647         * LColor.C:
9648         * LaTeX.C:
9649         * LyXAction.C:
9650         * MenuBackend.C:
9651         * buffer.C:
9652         * exporter.C:
9653         * lyxfunc.C:
9654         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9655         and the like.
9656
9657 2003-01-05  John Levon  <levon@movementarian.org>
9658
9659         * BufferView.h:
9660         * BufferView.C: add getEncoding()
9661
9662         * kbsequence.h:
9663         * kbsequence.C: do not store last keypress
9664
9665         * lyxfunc.h:
9666         * lyxfunc.C: store last keypress here instead. Pass encoding
9667           to getISOEncoded()
9668
9669 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9670
9671         * lyx_main.C (init): remove annoying error message when following
9672         symbolic links (bug #780)
9673
9674 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9675
9676         * text.C (insertChar):
9677         * lyxrc.C (getDescription): remove extra spaces
9678
9679 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9680
9681         * lyxrc.C (getDescription): remove extra spaces
9682
9683 2002-12-20  John Levon  <levon@movementarian.org>
9684
9685         * text3.C: hack fix for page up/down across tall rows
9686
9687 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9688
9689         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9690         not been invoked
9691
9692 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9693
9694         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9695         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9696         thesaurus is not compiled in
9697
9698 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9699
9700         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9701
9702 2002-12-16  Angus Leeming  <leeming@lyx.org>
9703
9704         * lyxrc.[Ch]:
9705         * lyx_main.C (init): remove override_x_deadkeys stuff.
9706
9707 2002-12-12  John Levon  <levon@movementarian.org>
9708
9709         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9710           insert. Only remove shift modifier under strict
9711           circumstances.
9712
9713 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9714
9715         * MenuBackend.C (expandToc): fix crash.
9716
9717 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9718
9719         * MenuBackend.C (expandToc): gettext on float names.
9720
9721 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9722
9723         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9724         implement bool empty() [bug 490]
9725
9726 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9727
9728         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9729
9730 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9731
9732         * several files: ws changes
9733
9734 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9735
9736         * text2.C (setCounter): clean up a bit, use boost.format.
9737         (updateCounters): initialize par upon declaration.
9738
9739         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9740         if the layout exists. We do not just store the layout any more.
9741         (SwitchLayoutsBetweenClasses): use boost.format
9742
9743 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9744
9745         * converter.C (convert): if from and to files are the same, use a
9746         temporary files as intermediary
9747
9748 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9749
9750         * commandtags.h:
9751         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9752
9753 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9754
9755         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9756
9757 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9758
9759         * tabular.C (asciiPrintCell): use string(size, char) instead of
9760         explicit loop.
9761
9762         * sgml.C (openTag): fix order of arguments to string constructor
9763         (closeTag): ditto
9764
9765         * lyxfunc.C (dispatch): use boost.format
9766
9767         * lots of files: change "c" -> 'c'
9768
9769 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9770
9771         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9772
9773 2002-11-25  Angus Leeming  <leeming@lyx.org>
9774
9775         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9776
9777         * lyx_main.C (init): compile fix.
9778
9779 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9780
9781         * lyx_cb.C (start): boost.formatify
9782         do not include <iostream>
9783
9784         * lengthcommon.C: ws only
9785
9786         * boost-inst.C,BoostFormat.h: add more explict instantations
9787
9788 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9789
9790         * lots of files: handle USE_BOOST_FORMAT
9791
9792 2002-11-21  John Levon  <levon@movementarian.org>
9793
9794         * pspell.C: fix compile
9795
9796 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9797
9798         * lyxfunc.C (dispatch): use boost::format
9799         (open): ditto
9800         (doImport): ditto
9801
9802         * lyxfont.C (stateText): use boost::format
9803
9804         * lyx_main.C (LyX): use boost::format
9805         (init): ditto
9806         (queryUserLyXDir): ditto
9807         (readRcFile): ditto
9808         (parse_dbg): ditto
9809         (typedef boost::function): use the recommened syntax.
9810
9811         * importer.C (Import): use boost::format
9812
9813         * debug.C (showLevel): use boost::format
9814
9815         * converter.C (view): use boost::format
9816         (convert): ditto
9817         (move): ditto
9818         (scanLog): ditto
9819
9820         * bufferview_funcs.C (currentState): use boost::format
9821
9822         * bufferlist.C (emergencyWrite): use boost::format
9823
9824         * buffer.C (readLyXformat2): use boost::format
9825         (parseSingleLyXformat2Token): ditto
9826
9827         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9828
9829         * LaTeX.C (run): use boost::format
9830
9831         * Chktex.C (scanLogFile): use boost::format
9832
9833         * BufferView_pimpl.C (savePosition): use boost::format
9834         (restorePosition): ditto
9835         (MenuInsertLyXFile): ditto
9836
9837         * BoostFormat.h: help file for explicit instation.
9838
9839 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9840
9841         * tabular.C (latex): Support for block alignment in fixed width
9842         columns.
9843
9844 2002-11-17  John Levon  <levon@movementarian.org>
9845
9846         * BufferView_pimpl.C:
9847         * lyx_cb.C:
9848         * lyxfunc.C: split filedialog into open/save
9849
9850 2002-11-08  Juergen Vigna  <jug@sad.it>
9851
9852         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9853         by my last patch (hopefully).
9854
9855 2002-11-08  John Levon  <levon@movementarian.org>
9856
9857         * iterators.h:
9858         * iterators.C:
9859         * buffer.h:
9860         * buffer.C:
9861         * paragraph.h:
9862         * paragraph.C:
9863         * toc.h:
9864         * toc.C: ParConstIterator, and use it (from Lars)
9865
9866 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9867
9868         * lyxtextclass.[Ch]: revise and add doxygen comments
9869
9870 2002-11-07  John Levon  <levon@movementarian.org>
9871
9872         * text.C: fix progress value for spellchecker
9873
9874         * toc.C: fix navigate menu for insetwrap inside minipage
9875
9876         * paragraph_funcs.C: added FIXME for suspect code
9877
9878 2002-11-07  John Levon  <levon@movementarian.org>
9879
9880         * BufferView_pimpl.C: fix redrawing of insets
9881           on buffer switch
9882
9883 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9884
9885         * text2.C (updateCounters): fix bug 668
9886
9887 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9888
9889         * text3.C (dispatch): Do not make the buffer dirty when moving the
9890         cursor.
9891
9892 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9893
9894         * vc-backend.C: STRCONV
9895         (scanMaster): ditto
9896
9897         * text2.C (setCounter): STRCONV
9898
9899         * paragraph.C (asString): STRCONV
9900
9901         * lyxlength.C (asString): STRCONV
9902         (asLatexString): ditto
9903
9904         * lyxgluelength.C (asString): STRCONV
9905         (asLatexString): ditto
9906
9907         * lyxfunc.C (dispatch): STRCONV
9908         (open): ditto
9909
9910         * lyxfont.C (stateText): STRCONV
9911
9912         * importer.C (Import): STRCONV
9913
9914         * counters.C (labelItem): STRCONV
9915         (numberLabel): ditto
9916         (numberLabel): remove unused ostringstream o
9917
9918         * chset.C: STRCONV
9919         (loadFile): ditto
9920
9921         * bufferview_funcs.C (currentState): STRCONV
9922
9923         * buffer.C (readFile): STRCONV
9924         (asciiParagraph): ditto
9925         (makeLaTeXFile): ditto
9926
9927         * Spacing.C (writeEnvirBegin): STRCONV
9928
9929         * LaTeXFeatures.C (getLanguages): STRCONV
9930         (getPackages): ditto
9931         (getMacros): ditto
9932         (getBabelOptions): ditto
9933         (getTClassPreamble): ditto
9934         (getLyXSGMLEntities): ditto
9935         (getIncludedFiles): ditto
9936
9937         * LaTeX.C: STRCONV
9938         (run): ditto
9939         (scanAuxFile): ditto
9940         (deplog): ditto
9941
9942         * LString.h: add the STRCONV macros
9943
9944         * BufferView_pimpl.C (savePosition): STRCONV
9945         (restorePosition): ditto
9946         (MenuInsertLyXFile): ditto
9947
9948         * vc-backend.C (scanMaster): change from submatch[...] to
9949         submatch.str(...)
9950
9951         * funcrequest.C: include config.h
9952
9953         * factory.C: include config.h
9954
9955         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9956
9957         * box.C: include config.h
9958
9959         * LaTeX.C (scanAuxFile): change from submatch[...] to
9960         submatch.str(...)
9961         (deplog): ditto
9962
9963 2002-10-25  Angus Leeming  <leeming@lyx.org>
9964
9965         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9966
9967         * ispell.[Ch] (setError): new method.
9968         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9969         Use setError() insetead of goto END.
9970
9971         * lyx_cb.C (AutoSave): move out child process into new class
9972         AutoSaveBuffer.
9973
9974 2002-10-30  John Levon  <levon@movementarian.org>
9975
9976         * text3.C: make start appendix undoable
9977
9978 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9979
9980         * lyxlength.C (inPixels): Fix returned value.
9981
9982         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9983         environment.
9984
9985 2002-10-24  Angus Leeming  <leeming@lyx.org>
9986
9987         * lyxgluelength.h: no need to forward declare BufferParams
9988         or BufferView, so don't.
9989
9990 2002-10-21  John Levon  <levon@movementarian.org>
9991
9992         * BufferView.C: menuUndo ->undo, redo
9993
9994         * BufferView.h: document, remove dead, make some methods private
9995
9996         * paragraph_funcs.h:
9997         * paragraph_funcs.C:
9998         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9999
10000         * buffer.h:
10001         * buffer.C:
10002         * sgml.h:
10003         * sgml.C: move sgml open/close tag into sgml.C
10004
10005         * bufferview_funcs.h: unused prototype
10006
10007         * lyxfunc.h:
10008         * lyxfunc.C: remove unused
10009
10010         * lyxtext.h:
10011         * text.C: remove unused
10012
10013 2002-10-21  John Levon  <levon@movementarian.org>
10014
10015         * BufferView.h:
10016         * BufferView.C:
10017         * BufferView_pimpl.h:
10018         * BufferView_pimpl.C: fix mouse wheel handling based on
10019           patch from Darren Freeman
10020
10021 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10022
10023         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10024
10025 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10026
10027         * lyxlength.C (inPixels): Fix hanfling of negative length.
10028         Fix LyXLength::MU case.
10029
10030 2002-10-16  John Levon  <levon@movementarian.org>
10031
10032         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10033
10034 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10035
10036         * converter.C (view): add support for $$i (file name) and $$p
10037         (file path) for the viewer command. If $$i is not specified, then
10038         it is appended to the command (for compatibility with old syntax)
10039
10040 2002-10-14  Juergen Vigna  <jug@sad.it>
10041
10042         * undo_funcs.C (textHandleUndo): alter the order in which the
10043         new undopar is added to the LyXText, as we have to set first
10044         the right prev/next and then add it as otherwise the rebuild of
10045         LyXText is not correct. Also reset the cursor to the right paragraph,
10046         with this IMO we could remove the hack in "redoParagraphs()".
10047
10048 2002-10-09  Angus Leeming  <leeming@lyx.org>
10049
10050         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10051         to turn off an optimisation if a new inset is to be inserted.
10052
10053 2002-10-11 André Pönitz <poenitz@gmx.net>
10054
10055         * lyxtext.h: make some functions public to allow access
10056         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10057
10058 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10059
10060         * text3.C (dispatch): when changing layout, avoid an infinite loop
10061         [bug #652]
10062
10063 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10064
10065         * lyxrc.C (read): treat a viewer or converter command of "none" as
10066         if it were empty.
10067
10068         * MenuBackend.C (expandFormats): for an update, also allow the
10069         formats that are not viewable
10070
10071         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10072         script if it is newer than the lyxrc.defaults in user directory
10073
10074 2002-10-07 André Pönitz <poenitz@gmx.net>
10075
10076         * text.C: Vitaly Lipatov's small i18n fix
10077
10078 2002-09-25  Angus Leeming  <leeming@lyx.org>
10079
10080         * ispell.h: doxygen fix.
10081
10082 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10083
10084         * buffer.h (readFile): Add a new argument to the method, to allow
10085         reading of old-format templates.
10086
10087 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10088
10089         * toc.C (getTocList): Get TOC from InsetWrap.
10090
10091 2002-09-16  John Levon  <levon@movementarian.org>
10092
10093         * lyxfunc.C: check tabular for cut/copy too
10094
10095 2002-09-12  John Levon  <levon@movementarian.org>
10096
10097         * LyXAction.C: tidy
10098
10099         * factory.h:
10100         * factory.C: add header
10101
10102         * paragraph_funcs.h:
10103         * paragraph_funcs.C: cleanup
10104
10105 2002-09-11  John Levon  <levon@movementarian.org>
10106
10107         * PrinterParams.h: odd/even default to true
10108
10109 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10110
10111         * PrinterParams.h: update printer parameters for new xforms dialog
10112
10113 2002-09-11  Angus Leeming  <leeming@lyx.org>
10114
10115         * lyxserver.C (read_ready): re-write to make it more transparent
10116         and to make it work in coherent fashion under Tru64 Unix.
10117
10118 2002-09-11  André Pönitz <poenitz@gmx.net>
10119
10120         * commandtags.h:
10121         * LyXAction.C:
10122         * text3.C: implement LFUN_WORDSEL
10123
10124 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10125
10126         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10127         make floatlist_ a boost::shared_ptr<FloatList>
10128
10129         * lyxtextclass.C: include FloatList.h
10130         (LyXTextClass): initialize floatlist_
10131         (TextClassTags): add TC_NOFLOAT
10132         (Read): match "nofloat" to TC_NOFLOAT and use it.
10133         (readFloat): modify call to floatlist_
10134         (floats): ditto
10135         (floats): ditto
10136
10137         * FloatList.[Ch] (FloatList): remove commented out float
10138         initialization.
10139         (erase): new function
10140
10141 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10142
10143         * MenuBackend.C (expandToc): fix crash when there is no document
10144         open
10145
10146 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10147
10148         * many files: Add insetwrap.
10149
10150 2002-09-09  John Levon  <levon@movementarian.org>
10151
10152         * text2.C: remove confusing and awkward depth wraparound
10153
10154 2002-09-09  John Levon  <levon@movementarian.org>
10155
10156         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10157
10158         * buffer.h:
10159         * buffer.C: remove getIncludeonlyList()
10160
10161         * paragraph.C:
10162         * lyxfunc.C: remove headers
10163
10164 2002-09-09  Juergen Vigna  <jug@sad.it>
10165
10166         * text.C (getColumnNearX): fix form Michael this is most
10167         probably a cut&paste bug.
10168
10169 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10170
10171         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10172
10173         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10174         references, ws changes.
10175
10176         * text2.C (init): update counters after init
10177         (insertParagraph): no need to set counter on idividual paragraphs.
10178         (setCounter): access the counters object in the textclass object
10179         on in the buffer object.
10180         (updateCounters): ditto
10181
10182         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10183         shared_ptr<Counters> to avoid loading counters.h in all
10184         compilation units.
10185         (LyXTextClass): initialize ctrs_
10186         (TextClassTags): add TC_COUNTER, and ...
10187         (Read): use it here.
10188         (CounterTags): new tags
10189         (readCounter): new function
10190         (counters): new funtion
10191         (defaultLayoutName): return a const reference
10192
10193         * counters.C (Counters): remove contructor
10194         (newCounter): remove a couple of unneeded statements.
10195         (newCounter): simplify a bit.
10196         (numberLabel): some small formatting changes.
10197
10198         * buffer.[Ch]: remove all traces of counters, move the Counters
10199         object to the LyXTextClass.
10200
10201 2002-09-06  Alain Castera  <castera@in2p3.fr>
10202
10203         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10204         package to set the horizontal alignment on fixed width columns.
10205
10206         * lyx_sty.C:
10207         * lyx_sty.h: added tabularnewline macro def.
10208
10209         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10210
10211 2002-09-06  John Levon  <levon@movementarian.org>
10212
10213         * LyXAction.C: tooltips for sub/superscript
10214
10215         * MenuBackend.C: a bit more verbose
10216
10217         * lyxfunc.C: tiny clean
10218
10219         * undo_funcs.C: document undo_frozen
10220
10221 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10222
10223         * counters.C (Counters): add missing algorithm counter.
10224
10225         * text2.C (setCounter): lookup the counter with layouts latexname
10226         instead of by section number.
10227         (setCounter): use a hackish way to lookup the correct enum
10228         counter.
10229         a float name->type change
10230         reset enum couners with counter name directly instead of depth value.
10231
10232         * counters.C (Counters): remove the push_backs, change to use the
10233         float type not the float name.
10234         (labelItem): remove unused string, float name->type change
10235
10236         * counters.h: don't include vector, loose the enums and sects vectors
10237
10238 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10239
10240         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10241         (Read): add float->TC_FLOAT to textclassTags
10242         (Read): and handle it in the switch
10243         (readFloat): new function
10244
10245         * FloatList.C (FloatList): comment out the hardcoded float
10246         definitions.
10247
10248         * lyxlayout.h: ws change.
10249
10250 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10251
10252         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10253
10254 2002-09-03  Angus Leeming  <leeming@lyx.org>
10255
10256         * BufferView_pimpl.h: qualified name is not allowed in member
10257         declaration: WorkArea & Pimpl::workarea() const;
10258
10259         * factory.C: added using std::endl directive.
10260
10261         * text3.C: added using std::find and std::vector directives.
10262
10263 2002-08-29  André Pönitz <poenitz@gmx.net>
10264
10265         * lyxtext.h:
10266         * text2.C: remove unused member number_of_rows
10267
10268         * Makefile.am:
10269         * BufferView2.C: remove file, move contents to...
10270         * BufferView.C: ... here
10271
10272         * BufferView_pimpl.C:
10273         * factory.C: move more inset creation to factory
10274
10275         * vspace.C: avoid direct usage of LyXText, ws changes
10276
10277         * BufferView.[Ch]:
10278                 don't provide direct access to WorkArea, use two simple
10279                 acessors haveSelction() and workHeight() instead
10280
10281
10282 2002-08-29  John Levon  <levon@movementarian.org>
10283
10284         * BufferView_pimpl.C (dispatch): do not continue when
10285           no buffer
10286
10287 2002-08-28  André Pönitz <poenitz@gmx.net>
10288
10289         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10290
10291         * BufferView.h:
10292         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10293
10294 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10295
10296         * buffer.C: increment LYX_FORMAT to 221
10297
10298         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10299         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10300
10301         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10302
10303         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10304
10305 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10306
10307         * factory.C (createInset): use LyXTextClass::floats
10308
10309         * MenuBackend.C (expandFloatListInsert):
10310         (expandFloatInsert):
10311         (expandToc):
10312
10313         * text2.C (setCounter):
10314
10315         * LaTeXFeatures.C (useFloat):
10316         (getFloatDefinitions):
10317
10318         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10319
10320         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10321         floatlist_, with accessor floats().
10322
10323         * FloatList.h: remove global FloatList
10324
10325 2002-08-26  André Pönitz <poenitz@gmx.net>
10326
10327         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10328
10329         * BufferView.h:
10330         * BufferView2.C:
10331         * BufferView_pimpl.C:
10332         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10333
10334 2002-08-25  John Levon  <levon@movementarian.org>
10335
10336         * LyXAction.C: fix margin note description
10337
10338 2002-08-24  John Levon  <levon@movementarian.org>
10339
10340         * buffer.C:
10341         * bufferlist.C:
10342         * bufferview_funcs.C:
10343         * lyxfont.C:
10344         * undo_funcs.C: cleanups
10345
10346         * lyxfunc.C: disable CUT/COPY when no selection
10347
10348 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10349
10350         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10351         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10352
10353         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10354         Add backward compatibility to "mono", "gray" and "no".
10355
10356 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10357
10358         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10359         (and file_format >= 200).
10360
10361 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10362
10363         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10364
10365 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10366
10367         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10368
10369 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10370
10371         * BufferView_pimpl.C:
10372         * LyXAction.C:
10373         * buffer.C:
10374         * commandtags.h:
10375         * lyxfunc.C:
10376         * paragraph.[Ch]:
10377         * text2.C:
10378         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10379         inset and code to make it  work with the paragraph code. The inset
10380         can be anywhere in the paragraph, but will only do the expected
10381         thing in LaTeX if the layout file contains the parameter line
10382                         OptionalArgs    1
10383         (or more generally, a nonzero value) for that layout.
10384
10385 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10386
10387         * paragraph.h: remove the declaration of undefined counters class
10388         function.
10389
10390 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10391
10392         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10393         Dr. Richard Hawkins.
10394
10395 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10396
10397         * paragraph_funcs.h: remove some unneeded includes
10398
10399         * text.C (backspace): pasteParagraph now in global scipe
10400
10401         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10402         (pasteSelection): ditto
10403
10404         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10405         * paragraph_funcs.C (pasteParagraph): ... here
10406
10407 2002-08-20  André Pönitz <poenitz@gmx.net>
10408
10409         * commandtags.h: new LFUNs for swapping/copying table row/colums
10410
10411         * LyXAction.C:
10412         * lyxfunc.C: support for new lfuns
10413
10414 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10415
10416         * tabular.C:
10417         * buffer.[Ch]: remove NO_COMPABILITY stuff
10418
10419 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10420
10421         * boost.C (throw_exception): new file, with helper function for
10422         boost compiled without exceptions.
10423
10424         * paragraph.h:
10425         * lyxlength.C:
10426         * buffer.C:
10427         * ParameterStruct.h:
10428         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10429
10430         * bufferlist.C (emergencyWriteAll): use boost bind
10431
10432         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10433
10434         * text.C: include paragraph_funcs.h
10435         (breakParagraph): breakParagraph is now in global scope
10436
10437         * paragraph_funcs.[Ch]: new files
10438
10439         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10440         global scope
10441
10442         * buffer.C: include paragraph_funcs.h
10443         (insertStringAsLines): breakParagraph is now in global scope
10444
10445         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10446         paragraph_funcs.C
10447
10448         * CutAndPaste.C: include paragraph_funcs.h
10449         (cutSelection): breakParagraphConservative is now in global scope
10450         (pasteSelection): ditto
10451
10452         * buffer.h: declare oprator== and operator!= for
10453         Buffer::inset_iterator
10454
10455         * bufferlist.C (emergencyWrite): don't use fmt(...)
10456
10457         * text3.C: add using std::endl
10458
10459         * BufferView.C (moveCursorUpdate): remove default arg
10460
10461 2002-08-20  André Pönitz <poenitz@gmx.net>
10462
10463         * buffer.[Ch]: move inline functions to .C
10464
10465         * BufferView2.C:
10466         * BufferView_pimpl.C:
10467         * text.C:
10468         * buffer.[Ch]: use improved inset_iterator
10469
10470         * buffer.C:
10471         * paragraph.[Ch]: write one paragraph at a time
10472
10473 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10474
10475         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10476         style if style is not specified.
10477
10478 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10479
10480         * text2.C (setCounter): when searching for right label for a
10481         caption, make sure to recurse to parent insets (so that a caption
10482         in a minipage in a figure float works) (bug #568)
10483
10484 2002-08-20  André Pönitz <poenitz@gmx.net>
10485
10486         * text3.C: new file for LyXText::dispatch() and helpers
10487
10488         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10489
10490         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10491
10492 2002-08-19  André Pönitz <poenitz@gmx.net>
10493
10494         * lyxtext.h:
10495         * text.C: new LyXText::dispatch()
10496
10497         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10498
10499 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10500
10501         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10502
10503         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10504         Hebrew text.
10505
10506 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10507
10508         * Makefile.am: use $(variables) instead of @substitutions@
10509
10510 2002-08-15  André Pönitz <poenitz@gmx.net>
10511
10512         * lyxfunc.C:
10513         * BufferView_pimpl.C: streamlining mathed <-> outer world
10514         interaction
10515
10516         * commandtags.h:
10517         * LyXAction.C: remove unused LFUN_MATH
10518
10519 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10520
10521         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10522
10523 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10524
10525         * paragraph.C (Paragraph): reformat a bit
10526         (cutIntoMinibuffer): use builtin InsetList function instad of
10527         doing it manually.
10528         (getInset): ditto
10529
10530         * buffer.C: include boost/bind.hpp, add using std::for_each
10531         (writeFileAscii): use ParagraphList iterators
10532         (validate): use for_each for validate traversal of paragraphs
10533         (getBibkeyList): use ParagraphList iterators
10534         (resizeInsets): use for_each to resizeInsetsLyXText for all
10535         paragraphs.
10536         (getParFromID): use ParagraphList iterators
10537
10538         * BufferView2.C (lockInset): use paragraph list and iterators
10539
10540 2002-08-14  John Levon  <levon@movementarian.org>
10541
10542         * lyxserver.C: remove spurious xforms include
10543
10544 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10545
10546         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10547
10548 2002-08-13  André Pönitz <poenitz@gmx.net>
10549
10550         * LyXAction.[Ch]:
10551         * lyxfunc.C: further cleaning
10552
10553 2002-08-13  André Pönitz <poenitz@gmx.net>
10554
10555         * funcrequest.h: new constructor
10556
10557         * funcrequest.C: move stuff here from .h
10558
10559         * Makefile.am:
10560         * BufferView_pimpl.C:
10561         * LyXAction.C:
10562         * toc.C:
10563         * lyxfunc.C: subsequent changes
10564
10565         * lyxfunc.h: new view() member function
10566
10567         * lyxfunc.C: subsequent changes
10568
10569 2002-08-13  Angus Leeming  <leeming@lyx.org>
10570
10571         * BufferView2.C:
10572         * BufferView_pimpl.C:
10573         * buffer.C:
10574         * converter.C:
10575         * importer.C:
10576         * lyxfunc.C:
10577         * lyxvc.C:
10578         * toc.C:
10579         * vc-backend.C:
10580         changes due to the changed LyXView interface that now returns references
10581         to member variables not pointers.
10582
10583 2002-08-13  Angus Leeming  <leeming@lyx.org>
10584
10585         * WordLangTuple (word, lang_code): return references to strings,
10586         not strings.
10587
10588         * BufferView.h:
10589         * SpellBase.h:
10590         * lyxtext.h: forward-declare WordLangTuple.
10591
10592         * BufferView2.C:
10593         * ispell.C:
10594         * pspell.C:
10595         * text.C: #include "WordLangTuple.h".
10596
10597         * lyxtext.h:
10598         * text.C: (selectNextWordToSpellcheck): constify return type.
10599
10600 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10601
10602         * buffer.C:
10603         * buffer.h:
10604         * lyxtext.h:
10605         * paragraph.C:
10606         * paragraph_pimpl.h:
10607         * text.C:
10608         * text2.C:
10609         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10610         suggested by Angus.
10611         Made updateCounter always count from start of buffer, and removed
10612         second argument (par).
10613         Reverted floats number display to '#'. Perhaps I'll try again when the
10614         code base is sanitized a bit.
10615
10616 2002-08-12  Angus Leeming  <leeming@lyx.org>
10617
10618         * buffer.[Ch] (getLabelList): constify.
10619
10620 2002-08-07  André Pönitz <poenitz@gmx.net>
10621
10622         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10623
10624         * funcrequest.h: extension to keep mouse (x,y) position
10625
10626 2002-08-12  Juergen Vigna  <jug@sad.it>
10627
10628         * BufferView2.C (insertErrors): forbid undo when inserting error
10629         insets.
10630
10631         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10632
10633 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10634
10635         * ParagraphList.[Ch]: new files
10636
10637         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10638
10639         * BufferView2.C (lockInset): ParagraphList changes
10640         * toc.C: ditto
10641         * text2.C: ditto
10642         * bufferlist.C: ditto
10643         * buffer.h: ditto
10644         * buffer.C: ditto
10645
10646 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10647
10648         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10649         unused class variable counter_,
10650
10651         * paragraph.[Ch] (getFirstCounter): delete unused function
10652
10653         * counters.C: include LAssert.h
10654         (reset): add a new function with no arg, change other version to
10655         not have def. arg and to not allow empty arg.
10656
10657         * text2.C (setCounter): remove empty arg from call to Counters::reset
10658
10659 2002-08-11  John Levon  <levon@movementarian.org>
10660
10661         * Makefile.am: add WordLangTuple.h
10662
10663 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10664
10665         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10666         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10667
10668         * insets/insettext.C: InsetList changes
10669
10670         * graphics/GraphicsSupport.C (operator()): InsetList changes
10671
10672         * toc.C (getTocList): InsetList changes
10673
10674         * paragraph_pimpl.[Ch]: InsetList changes
10675
10676         * paragraph.[Ch]: InsetList changes
10677
10678         * buffer.C (inset_iterator): InsetList changes
10679         (setParagraph): ditto
10680         * buffer.h (inset_iterator): ditto
10681         * iterators.C (operator++): ditto
10682         * iterators.h: ditto
10683
10684         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10685
10686         * InsetList.[Ch]: new files, most InsetList handling moved out of
10687         paragraph.C.
10688
10689         * BufferView2.C (removeAutoInsets): InsetList changes
10690         (lockInset): ditto
10691         (ChangeInsets): ditto
10692
10693 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10694
10695         * paragraph_pimpl.h (empty): new function
10696
10697         * paragraph.[Ch] (empty): new function
10698
10699         * other files: use the new Paragraph::empty function
10700
10701 2002-08-09  John Levon  <levon@movementarian.org>
10702
10703         * lyxtext.h: remove unused refresh_height
10704
10705 2002-08-09  John Levon  <levon@movementarian.org>
10706
10707         * Makefile.am:
10708         * sgml.h:
10709         * sgml.C:
10710         * buffer.C:
10711         * paragraph.h:
10712         * paragraph.C: move sgml char escaping out of paragraph
10713
10714         * paragraph.h:
10715         * paragraph.C: remove id setter
10716
10717         * buffer.C:
10718         * paragraph.C:
10719         * paragraph_pimpl.C: remove dead tex_code_break_column
10720
10721         * bufferview_funcs.C: small cleanup
10722
10723         * lyxfunc.C: remove dead proto
10724
10725         * lyxtext.h: make some stuff private. Remove some dead stuff.
10726
10727         * lyxgluelength.C: make as[LyX]String() readable
10728
10729 2002-08-08  John Levon  <levon@movementarian.org>
10730
10731         * LyXAction.h:
10732         * LyXAction.C:
10733         * MenuBackend.C:
10734         * ToolbarDefaults.C:
10735         * lyxfunc.C:
10736         * lyxrc.C:
10737         * toc.C: lyxaction cleanup
10738
10739 2002-08-08  John Levon  <levon@movementarian.org>
10740
10741         * BufferView2.C: small cleanup
10742
10743         * lyxfind.h:
10744         * lyxfind.C: move unnecessary header into the .C
10745
10746 2002-08-08  John Levon  <levon@movementarian.org>
10747
10748         * funcrequest.h: just tedious nonsense
10749
10750         * lyx_main.h:
10751         * lyx_main.C: cleanups
10752
10753         * buffer.C:
10754         * vspace.C: remove dead header lyx_main.h
10755
10756 2002-08-07  Angus Leeming  <leeming@lyx.org>
10757
10758         * Paragraph.[Ch]:
10759         * paragraph_pimpl.h:
10760         Forward declare class Counters in paragraph.h by moving the ctrs member
10761         variable into Paragraph::Pimpl.
10762         (counters): new method, returning a reference to pimpl_->ctrs.
10763
10764         * text2.C: ensuing changes.
10765
10766 2002-08-07  John Levon  <levon@movementarian.org>
10767
10768         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10769
10770         * BufferView_pimpl.C: announce X selection on double/triple
10771           click
10772
10773         * lyx_main.C: use correct bool in batch dispatch
10774
10775         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10776
10777 2002-08-07  André Pönitz <poenitz@gmx.net>
10778
10779         * funcrequest.h: new class to wrap a kb_action and its argument
10780
10781         * BufferView.[Ch]:
10782         * BufferView_pimpl[Ch]:
10783         * LaTeX.C:
10784         * LyXAction.[Ch]:
10785         * lyxfunc.[Ch]:
10786         * lyxrc.C: subsequent changes
10787
10788
10789 2002-08-07  John Levon  <levon@movementarian.org>
10790
10791         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10792           document options change.
10793
10794 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10795
10796         * counters.[Ch]
10797         * text2.C
10798         * paragraph.[Ch]
10799         * makefile.am: move counters functionality over from
10800         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10801
10802 2002-08-06  John Levon  <levon@movementarian.org>
10803
10804         * WordLangTuple.h: new file for word + language code tuple
10805
10806         * SpellBase.h:
10807         * pspell.h:
10808         * pspell.C:
10809         * ispell.h:
10810         * ispell.C:
10811         * lyxtext.h:
10812         * text.C:
10813         * text2.C:
10814         * BufferView.h:
10815         * BufferView2.C: use WordLangTuple
10816
10817         * layout.h:
10818         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10819
10820 2002-08-06  John Levon  <levon@movementarian.org>
10821
10822         * lyx_main.C: fix cmdline batch handling
10823
10824 2002-08-06  André Pönitz <poenitz@gmx.net>
10825
10826         * lyxrc.C: set default for show_banner to true
10827
10828 2002-08-06  John Levon  <levon@movementarian.org>
10829
10830         * pspell.C: fix a crash, and allow new aspell to work
10831
10832 2002-08-06  John Levon  <levon@movementarian.org>
10833
10834         * lyxfunc.C:
10835         * kbmap.C: small cleanup
10836
10837         * vspace.h:
10838         * vspace.C: add const
10839
10840 2002-08-05  John Levon  <levon@movementarian.org>
10841
10842         * LyXAction.C: back to tabular-insert
10843
10844 2002-08-04  John Levon  <levon@movementarian.org>
10845
10846         * BufferView.h:
10847         * BufferView.C: cosmetic change
10848
10849         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10850
10851         * bufferlist.C:
10852         * buffer.h:
10853         * buffer.C:
10854         * lyxcb.h:
10855         * lyxcb.C:
10856         * lyxserver.C:
10857         * lyxvc.C:
10858         * vc-backend.C:
10859         * BufferView2.C: purge all "Lyx" not "LyX" strings
10860
10861         * lyxcursor.h:
10862         * lyxcursor.C: attempt to add some documentation
10863
10864         * lyxfunc.C:
10865         * commandtags.h:
10866         * LyXAction.C:
10867         * ToolbarDefaults.C:
10868         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10869           merge with LFUN_TABULAR_INSERT
10870
10871         * Makefile.am:
10872         * SpellBase.h:
10873         * ispell.h:
10874         * ispell.C:
10875         * pspell.h:
10876         * pspell.C: split up i/pspell implementations into separate
10877           files, many cleanups
10878
10879         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10880
10881         * text2.C: some cleanup
10882
10883         * lyxfunc.C: don't check for isp_command == "none" any more, it
10884           didn't make any sense
10885
10886 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10887
10888         * counters.[Ch]
10889         * text2.C
10890         * paragraph.[Ch]
10891         * makefile.am: move counters functionality over
10892         from text2.C/paragraph.[Ch] to counters.[Ch], and
10893         make proper C++.
10894 2002-08-02  John Levon  <levon@movementarian.org>
10895
10896         * buffer.C: s/lyxconvert/lyx2lyx/
10897
10898 2002-08-02  Angus Leeming  <leeming@lyx.org>
10899
10900         * lyxlex.C: revert John's change as it breaks reading of the user
10901         preamble.
10902
10903 2002-08-02  Angus Leeming  <leeming@lyx.org>
10904
10905         * importer.C (Import):
10906         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10907         changes due to LyXView::view() now returning a boost::shared_ptr.
10908
10909 2002-08-02  John Levon  <levon@movementarian.org>
10910
10911         * lyxlex.C: small cleanup
10912
10913 2002-08-02  John Levon  <levon@movementarian.org>
10914
10915         * text2.C (status): small cleanup, no logic change
10916
10917 2002-08-01  John Levon  <levon@movementarian.org>
10918
10919         * buffer.h:
10920         * buffer.C (writeFile): don't output alerts, caller
10921           handles this
10922
10923         * bufferlist.C:
10924         * lyx_cb.C: from above
10925
10926         * lyxfunc.C: allow to open non-existent files
10927
10928 2002-07-31  John Levon  <levon@movementarian.org>
10929
10930         * lyxserver.C: don't let incidental errors get
10931           in the way (errno)
10932
10933 2002-07-30  John Levon  <levon@movementarian.org>
10934
10935         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10936
10937 2002-07-30  John Levon  <levon@movementarian.org>
10938
10939         * lyxserver.h:
10940         * lyxserver.C: remove I/O callback too
10941
10942 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10943
10944         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10945         log.
10946
10947 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10948
10949         * many files: strip,frontStrip -> trim,ltrim,rtrim
10950
10951 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10952
10953         * PrinterParams.h: remove extern containsOnly, and include
10954         support/lstrings.h instead.
10955
10956         * LaTeX.C (scanAuxFile): modify because of strip changes
10957         (deplog): ditto
10958         * buffer.C (makeLaTeXFile): ditto
10959         * bufferparams.C (writeFile): ditt
10960         * lyxfont.C (stateText): ditto
10961         * lyxserver.C (read_ready): ditto
10962         * vc-backend.C (scanMaster): ditto
10963
10964         * BufferView_pimpl.h: ws changes
10965
10966         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10967
10968 2002-07-26  André Pönitz <poenitz@gmx.net>
10969
10970         * kb_sequence.C: remove unnedred usings
10971
10972 2002-07-26  Juergen Vigna  <jug@sad.it>
10973
10974         * lyxfind.C (LyXReplace): we have to check better if the returned
10975         text is not of theLockingInset()->getLockingInset().
10976
10977 2002-07-25  Juergen Vigna  <jug@sad.it>
10978
10979         * lyxfind.C (LyXReplace): don't replace if we don't get the
10980         right LyXText.
10981
10982         * undo_funcs.C (createUndo): remove debugging code.
10983
10984 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10985
10986         * buffer.C (parseSingleLyXformat2Token): Use default placement
10987         when reading old floats.
10988
10989         * FloatList.C (FloatList): Change the default placement of figure
10990         and tables to "tbp".
10991
10992 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10993
10994         * MenuBackend.C: using std::max
10995
10996 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10997
10998         * MenuBackend.C (expandToc):
10999         (expandToc2): code moved from xforms menu frontend. It is now
11000         generic and TOCs are transparent to menu frontends.
11001
11002 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11003
11004         * toc.C (getTocList): protect against buf=0
11005
11006         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11007         Menu as first parameter. Now, this calls itself recursively to
11008         expand a whole tree (this will be useful for TOC handling)
11009         (expandFloatInsert): remove 'wide' version of floats
11010
11011         * MenuBackend.h (submenuname): returns the name of the submenu.
11012         (submenu): returns the submenu itself, provided it has been
11013         created by MenuBackend::expand
11014
11015 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11016
11017         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11018         insets which have noFontChange == true. (bug #172)
11019
11020 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11021
11022         * BufferView_pimpl.C: add connection objects and use them...
11023         (Pimpl): here.
11024
11025 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11026
11027         * MenuBackend.C (expandLastfiles):
11028         (expandDocuments):
11029         (expandFormats):
11030         (expandFloatListInsert):
11031         (expandFloatInsert):
11032         (expand): split expand in parts
11033
11034 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11035
11036         * lyx_gui.C: use lyx_gui::exit()
11037
11038 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11039
11040         * LyXAction.C: show the failing pseudo action
11041
11042 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11043
11044         * buffer.C (readFile): Run the lyxconvert script in order to read
11045         old files.
11046
11047 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11048
11049         * LyXAction.C:
11050         * commandtags.h:
11051         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11052
11053 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11054
11055         * LyXAction.C:
11056         * commandtags.h:
11057         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11058
11059 2002-07-22  Herbert Voss  <voss@lyx.org>
11060
11061         * lengthcommon.C:
11062         * lyxlength.[Ch]: add support for the vertical lengths
11063
11064 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11065
11066         * toc.[Ch]: std:: fixes
11067
11068 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11069
11070         * lyxrc.C: do not include lyx_main.h
11071
11072         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11073         for layouts
11074
11075         * lyxrc.C:
11076         * encoding.C:
11077         * bufferlist.C:
11078         * BufferView2.C: include "lyxlex.h"
11079
11080         * tabular.h:
11081         * bufferparams.h: do not #include "lyxlex.h"
11082
11083         * lyxtextclasslist.C (Add): remove method
11084         (classlist): renamed to classlist_
11085
11086         * paragraph_pimpl.C:
11087         * paragraph.C:
11088         * text2.C:
11089         * CutAndPaste.C:
11090         * bufferview_funcs.C:
11091         * bufferlist.C:
11092         * text.C:
11093         * LaTeXFeatures.C:
11094         * buffer.C:
11095         * toc.C (getTocList): use BufferParams::getLyXTextClass
11096
11097         * toc.C (getTocList): use InsetFloat::addToToc
11098
11099         * toc.[Ch]: new files, containing helper functions to handle table
11100         of contents
11101
11102         * lyxfunc.C (dispatch): no need to remove spaces around command
11103         given as a string
11104         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11105         first command of the sequence; it is not very clever, but I do not
11106         have a better idea, actually
11107
11108         * LyXAction.C (LookupFunc): make sure to remove space at the
11109         beginning and end of the command
11110
11111 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11112
11113         * MenuBackend.C (getMenubar): new method: return the menubar of
11114         this menu set
11115         (read): treat differently reading of menu and menubar (in
11116         particular, the menubar has no name now)
11117         (Menu::menubar): remove
11118
11119         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11120         saving is finished
11121
11122 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11123
11124         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11125         a bibitem inset in a RTL paragraph.
11126
11127 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11128
11129         * paragraph_pimpl.C: constify
11130
11131         * BufferView_pimpl.C:
11132         * LaTeX.C:
11133         * lyxfunc.C: fix dispatch in a nicer way
11134
11135 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11136
11137         * lyxfunc.C (dispatch):
11138         * BufferView_pimpl.C:
11139         * BufferView_pimpl.h:
11140         * BufferView.C:
11141         * BufferView.h: rename Dispatch() to dispatch()
11142
11143         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11144
11145         * lyxlayout.C (Read): honor DependsOn tag
11146
11147         * lyxlayout.[Ch] (depends_on): new method
11148
11149         * version.C.in: update lyx_docversion
11150
11151         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11152
11153         * paragraph.C (validate): remove from here...
11154         * paragraph_pimpl.C (validate): ... and move here
11155         (isTextAt): make it const
11156
11157         * buffer.C (getLists): ws cleanup
11158
11159 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11160
11161         * language.C (read): Use iso8859-1 encoding in latex_lang
11162         (this prevents LyX from crashing when using iso10646-1 encoding).
11163
11164 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11165
11166         * text2.C (toggleInset): if cursor is inside an inset, close the
11167         inset and leave cursor _after_ it
11168
11169 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11170
11171         * lyxfunc.C: move minibuffer completion handling out of here
11172
11173 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11174
11175         * BufferView_pimpl.C:
11176         * LaTeX.C: fix dispatch calls
11177
11178 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11179
11180         * text.C (drawChars): Fix Arabic text rendering.
11181
11182 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11183
11184         * LyXAction.C:
11185         * commandtags.h:
11186         * lyxfunc.C: remove message-push/pop
11187
11188         * lyxserver.C:
11189         * lyxfunc.h:
11190         * lyxfunc.C: rationalise some code by removing verboseDispatch
11191           in favour of a bool argument to dispatch()
11192
11193 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11194
11195         * lyx_main.C (init): make sure to read symlinks as absolute paths
11196
11197 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11198
11199         * lyxfunc.h:
11200         * lyxfunc.C: no need for commandshortcut to be a member
11201
11202 2002-07-15  André Pönitz <poenitz@gmx.net>
11203
11204         * converter.C: add support for $$s (scripts from lib/scripts dir)
11205         * lyx_main.C: white space
11206
11207 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11208
11209         * bufferlist.C:
11210         * lyxrc.h:
11211         * lyxrc.C: remove second exit confirmation
11212
11213 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11214
11215         * BufferView.h:
11216         * BufferView.C:
11217         * BufferView2.C:
11218         * BufferView_pimpl.h:
11219         * BufferView_pimpl.C:
11220         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11221
11222 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11223
11224         * MenuBackend.C (expand): add numeric shortcuts to document menu
11225
11226         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11227
11228 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11229
11230         * lyxfont.C (setLyXFamily):
11231         (setLyXSeries):
11232         (setLyXShape):
11233         (setLyXSize):
11234         (setLyXMisc):
11235         (lyxRead):
11236         * debug.C (value):
11237         * buffer.C (asciiParagraph): use ascii_lowercase
11238
11239 2002-07-15  Mike Fabian  <mfabian@suse.de>
11240
11241         * lyxlex_pimpl.C (search_kw):
11242         * lyxlex.C (getLongString):
11243         * converter.h (operator<):
11244         * converter.C (operator<):
11245         * buffer.C (parseSingleLyXformat2Token):
11246         (asciiParagraph):
11247         * ToolbarDefaults.C (read):
11248         * MenuBackend.C (checkShortcuts):
11249         (read):
11250         * LColor.C (getFromGUIName):
11251         (getFromLyXName): use the compare_ascii_no_case instead of
11252         compare_no_case, because in turkish, 'i' is not the lowercase
11253         version of 'I', and thus turkish locale breaks parsing of tags.
11254
11255 2002-07-16  Angus Leeming  <leeming@lyx.org>
11256
11257         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11258         now takes a Buffer const & argument.
11259
11260 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11261
11262         * BufferView.C (resize): check there's a buffer to resize
11263
11264 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11265
11266         * lyxfunc.C: remove dead code
11267
11268         * lyxserver.h:
11269         * lyxserver.C: use lyx_guii::set_read_callback
11270
11271 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11272
11273         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11274         an inset in a RTL paragraph.
11275
11276 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11277
11278         * lyxfunc.C: repaint after a font size update
11279
11280 2002-07-15  André Pönitz <poenitz@gmx.net>
11281
11282         * lyxlength.C: inBP should be able to return negative values
11283
11284 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11285
11286         * lyxfunc.C: use lyx_gui::update_fonts()
11287
11288 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11289
11290         * lyxfunc.C: use lyx_gui::update_color()
11291
11292 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11293
11294         * bufferlist.C:
11295         * lyxfunc.h:
11296         * lyxfunc.C:
11297         * lyxrc.h:
11298         * lyxrc.C: remove file->new asks for name option, and let
11299           buffer-new take an argument
11300
11301 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11302
11303         * BufferView_pimpl.C: remove unneeded extra repaint()
11304
11305 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11306
11307         * LyXAction.C: allow command-sequence with NoBuffer
11308
11309         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11310
11311 2002-07-10  Angus Leeming  <leeming@lyx.org>
11312
11313         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11314
11315 2002-07-09  Angus Leeming  <leeming@lyx.org>
11316
11317         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11318
11319 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11320
11321         * lengthcommon.h: whitespace
11322
11323         * lyxfunc.C: update scrollbar after goto paragraph
11324
11325         * lyxtext.h: factor out page break drawing, and fix it so
11326           page break/added space paints as selected nicely
11327
11328 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11329
11330         * BufferView_pimpl.C: add FIXMEs, clean up a little
11331
11332 2002-07-09  André Pönitz <poenitz@gmx.net>
11333
11334         * lyxfont.[Ch]: support for wasy symbols
11335
11336 2002-07-08  André Pönitz <poenitz@gmx.net>
11337
11338         * BufferView_pimpl.C: apply John's patch for #93.
11339
11340 2002-07-05  Angus Leeming  <leeming@lyx.org>
11341
11342         * BufferView_pimpl.C (buffer): generate previews if desired.
11343
11344         * LColor.h: add "preview" to the color enum.
11345
11346         * LColor.C (LColor): add a corresponding entry to the items array.
11347
11348         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11349         with this buffer.
11350
11351 2002-07-05  Angus Leeming  <leeming@lyx.org>
11352
11353         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11354         The body of the code is now in the method that is passed an ostream &
11355         rather than a file name.
11356         Pass an additional only_preamble parameter, useful for the forthcoming
11357         preview stuff.
11358
11359 2002-07-03  André Pönitz <poenitz@gmx.net>
11360
11361         * lyxfunc.C: simplify getStatus() a bit for math stuff
11362
11363 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11364
11365         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11366
11367 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11368
11369         * text.C (changeRegionCase): do not change case of all the
11370         document when region ends at paragraph end (bug #461)
11371
11372 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11373
11374         * paragraph.C (startTeXParParams):
11375         (endTeXParParams): add \protect when necessary
11376
11377 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11378
11379         * BufferView_pimpl.C (workAreaExpose): remove warning
11380
11381 2002-06-27  Angus Leeming  <leeming@lyx.org>
11382
11383         * Makefile.am: add lyxlayout_ptr_fwd.h.
11384
11385 2002-06-26  André Pönitz <poenitz@gmx.net>
11386
11387         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11388
11389 2002-06-25  Angus Leeming  <leeming@lyx.org>
11390
11391         * lyxfunc.C (dispatch): Comment out the call to
11392         grfx::GCache::changeDisplay. The method no longer exists now that the
11393         pixmap generation part of the graphics loader has been moved into
11394         InsetGraphics.
11395
11396 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11397
11398         * text2.C: layout as layout
11399
11400         * text.C: layout as layout
11401
11402         * tabular.C (OldFormatRead): layout as layout
11403
11404         * paragraph_pimpl.C (TeXDeeper): layout as layout
11405         (realizeFont): layout as layout
11406
11407         * paragraph.C (writeFile): layout as layout
11408         (validate): layout as layout
11409         (getFont): layout as layout
11410         (getLabelFont): layout as layout
11411         (getLayoutFont): layout as layout
11412         (breakParagraph): layout as layout
11413         (stripLeadingSpaces): layout as layout
11414         (getEndLabel): layout as layout
11415         (getMaxDepthAfter): layout as layout
11416         (applyLayout): layout as layout
11417         (TeXOnePar): layout as layout
11418         (simpleTeXOnePar): layout as layout
11419         (TeXEnvironment): layout as layout
11420         (layout): layout as layout
11421         (layout): layout as layout
11422
11423         * lyxtextclass.C (compare_name): new functor to work with
11424         shared_ptr, layout as layout
11425         (Read): layout as layout
11426         (hasLayout): layout as layout
11427         (operator): layout as layout
11428         (delete_layout): layout as layout
11429         (defaultLayout): layout as layout
11430
11431         * lyxlayout_ptr_fwd.h: new file
11432
11433         * lyxlayout.C (Read): layout as layout
11434
11435         * lyx_cb.C (MenuInsertLabel): layout as layout
11436
11437         * bufferlist.C (newFile): layout as layout
11438
11439         * buffer.C (readLyXformat2): layout as layout
11440         (parseSingleLyXformat2Token): layout as layout
11441         (insertStringAsLines): layout as layout
11442         (asciiParagraph): layout as layout
11443         (latexParagraphs): layout as layout
11444         (makeLinuxDocFile): layout as layout
11445         (simpleLinuxDocOnePar): layout as layout
11446         (makeDocBookFile): layout as layout
11447         (simpleDocBookOnePar): layout as layout
11448         (getLists): layout as layout
11449
11450         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11451
11452         * CutAndPaste.C (cutSelection): layout as layout
11453         (pasteSelection): layout as layout
11454         (SwitchLayoutsBetweenClasses): layout as layout
11455
11456         * BufferView_pimpl.C (Dispatch): layout as layout
11457         (smartQuote): layout as layout
11458
11459         * BufferView2.C (unlockInset): layout as layout
11460
11461 2002-06-24  André Pönitz <poenitz@gmx.net>
11462
11463         * lyxfunc.C: fix #487
11464
11465 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * lyxrc.h:
11468         * lyxrc.C:
11469         * lyxfunc.C: remove display_shortcuts, show_banner
11470
11471 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11472
11473         * Buffer_pimpl.C: oops, update on resize
11474
11475 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11476
11477         * buffer.C:
11478         * converter.C:
11479         * exporter.C:
11480         * lyxfunc.C:
11481         * BufferView.h:
11482         * BufferView.C: use repaint()
11483
11484         * BufferView_pimpl.h:
11485         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11486           as it's a clearer description. Remove superfluous
11487           redraws.
11488
11489 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11490
11491         * text.C: fix bug 488. Not ideal, but getting
11492           getWord() to work properly for the insets that
11493           matter is more difficult ...
11494
11495 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11496
11497         * BufferView_pimpl.C:
11498         * LyXAction.C:
11499         * commandtags.h:
11500         * lyxfunc.C: remove the six million index lyxfuncs to just
11501           one, and DTRT (bug 458)
11502
11503 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11504
11505         * BufferView.h:
11506         * BufferView.C:
11507         * BufferView_pimpl.h:
11508         * BufferView_pimpl.C: clean up resize() stuff,
11509           and unnecessary updateScreen()s
11510
11511 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11512
11513         * BufferView.h:
11514         * BufferView.C:
11515         * BufferView_pimpl.h:
11516         * BufferView_pimpl.C:
11517         * lyxfind.h:
11518         * lyxfind.C:
11519         * minibuffer.C: remove focus management of workarea,
11520           not needed. Use screen's greyOut()
11521
11522 2002-06-17  Herbert Voss  <voss@lyx.org>
11523
11524         * converter.C: (convert) do not post a message, when converting
11525         fails, let the calling function decide what to do in this case
11526
11527 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11528
11529         * lyxfunc.C: tidy up a little
11530
11531 2002-06-16    <alstrup@diku.dk>
11532
11533         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11534         Got rid of FORMS_H_LOCATION include. Now we are
11535         GUII.
11536
11537 2002-06-15  LyX Development team  <lyx@rilke>
11538
11539         * buffer.[Ch] (sgmlOpenTag):
11540         (sgmlCloseTag): Added support for avoiding pernicious mixed
11541         content. Return number of lines written.
11542
11543         (makeLinuxDocFile):
11544         (makeDocBookFile): Fixed calls to sgml*Tag.
11545         Simple white space clean.
11546
11547         (simpleDocBookOnePar): Simple white space clean.
11548
11549         * tabular.[Ch] (docBook): Renamed to docbook and got another
11550         argument to related with the pernicious mixed content.
11551
11552         (docbookRow): Fixed calls for docbook inset method.
11553
11554 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11555
11556         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11557         so it's X11 independent.
11558
11559         * kb*.[Ch]: ditto.
11560
11561         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11562
11563 2002-06-15  Lyx Development team  <lyx@electronia>
11564
11565         * intl.h: Renamed getTrans to getTransManager.
11566
11567 2002-06-14  Angus Leeming  <leeming@lyx.org>
11568
11569         * Makefile.am: nuke forgotten stl_string_fwd.h.
11570
11571 2002-06-12  Angus Leeming  <leeming@lyx.org>
11572
11573         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11574
11575 2002-06-13  Angus Leeming  <leeming@lyx.org>
11576
11577         * LaTeX.C:
11578         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11579
11580 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11581
11582         * kbmap.C (getiso): add support for cyrillic and greek
11583
11584 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * BufferView.h:
11587         * BufferView.C:
11588         * BufferView_pimpl.h:
11589         * BufferView_pimpl.C: move bogus scrolling logic
11590           to xforms
11591
11592 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11593
11594         * lyxfunc.C:
11595         * BufferView_pimpl.C: view->resize() change
11596
11597 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11598
11599         * BufferView_pimpl.C: topCursorVisible
11600           prototype change
11601
11602 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11603
11604         * Makefile.am:
11605         * lyx_gui.h:
11606         * lyx_gui.C: move to frontends/
11607
11608         * main.C:
11609         * lyx_main.h:
11610         * lyx_main.C: changes from above
11611
11612 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11613
11614         * intl.C:
11615         * intl.h:
11616         * kbmap.C:
11617         * kbsequence.C:
11618         * lyx_cb.C:
11619         * lyx_main.C: minor tidy
11620
11621 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11622
11623         * BufferView_pimpl.h:
11624         * BufferView_pimpl.C:
11625         * BufferView.h:
11626         * BufferView.C: make painter() const,
11627           remove dead code
11628
11629         * BufferView2.C: use screen() accessor
11630
11631         * lyx_main.h:
11632         * lyx_main.C: some minor cleanup
11633
11634 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11635
11636         * BufferView_pimpl.h:
11637         * BufferView_pimpl.C: remove enter/leaveView,
11638           use workHeight()
11639
11640 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11641
11642         * BufferView.h:
11643         * BufferView.C:
11644         * BufferView2.C:
11645         * BufferView_pimpl.h:
11646         * BufferView_pimpl.C: only construct screen once,
11647           rename
11648
11649         * lyxrc.C: remove pointless comment
11650
11651 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11652
11653         * BufferView.h:
11654         * BufferView.C: remove active() and belowMouse()
11655
11656         * BufferView_pimpl.h:
11657         * BufferView_pimpl.C: use workarea() not workarea_,
11658           and make it use a scoped_ptr instead
11659
11660 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11661
11662         * lyx_gui.C: add debug message on BadWindow
11663
11664 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11665
11666         * sp_spell.C: fdopen is not part of the C++ standard.
11667
11668         * paragraph.C (InsetIterator): use >= instead of ==
11669
11670 2002-06-07  Angus Leeming  <leeming@lyx.org>
11671
11672         Fixes needed to compile with Compaq cxx 6.5.
11673         * BufferView_pimpl.C:
11674         * DepTable.C:
11675         * buffer.C:
11676         * converter.C:
11677         * encoding.C:
11678         * lyx_gui.C:
11679         * lyx_main.C:
11680         * lyxtextclasslist.C:
11681         * minibuffer.C:
11682         * sp_spell.C:
11683         * tabular_funcs.C:
11684         * vc-backend.C:
11685         all c-library variables have been moved into namespace std. Wrap
11686         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11687
11688         * lyxlength.C:
11689         * tabular-old.C:
11690         * tabular.C:
11691         Add a using std::abs declaration.
11692
11693         * kbmap.h (modifier_pair):
11694         * paragraph.h (InsetTable, InsetList):
11695         * lyxfont.h (FontBits):
11696         type definition made public.
11697
11698         * bufferlist.C (emergencyWriteAll): the compiler complains that
11699         there is more than one possible lyx::class_fun template to choose from.
11700         I re-named the void specialisation as lyx::void_class_fun.
11701
11702         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11703
11704         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11705         the compiler is is unable to find tostr in write_attribute.
11706
11707 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11708
11709         * buffer.C (sgmlError): hide #warning
11710
11711 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11712
11713         * xtl/*: get rid of xtl, which is not in use anyway
11714
11715         * LyXAction.C (init):
11716         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11717         were unimplemented xtl experimentation
11718
11719 2002-06-04  André Pönitz <poenitz@gmx.net>
11720
11721         * lyxfunc.C: disable array operation on simple formulae
11722
11723 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11724
11725         * converter.C: constify a bit
11726
11727 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11728
11729         * lyx_gui.C: check xforms version correctly
11730
11731 2002-04-30  Herbert Voss  <voss@lyx.org>
11732
11733         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11734         "keep" option
11735
11736 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11737
11738         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11739           attempt to register it with a VCS)
11740
11741 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11742
11743         * lyx_main.C (init): honor variables LYX_DIR_13x and
11744         LYX_USERDIR_13x
11745
11746 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11747
11748         * buffer.h:
11749         * buffer.C:
11750         * lyx_main.C: fix a crash on bad command line,
11751           and give a useful exit status on error
11752
11753         * lyxfunc.C (doImport): allow -i lyx to work
11754
11755 2002-03-30  André Pönitz <poenitz@gmx.net>
11756
11757         * lyxfunc.C: mathed font changes
11758
11759 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11760
11761         * LaTeX.C:
11762         * importer.h:
11763         * importer.C:
11764         * lyx_sty.h:
11765         * lyx_sty.C:
11766         * lyxlex.C:
11767         * lyxrow.h:
11768         * lyxtext.h:
11769         * paragraph.h:
11770         * paragraph.C:
11771         * texrow.h:
11772         * texrow.C:
11773         * text.C:
11774         * trans_mgr.h: srcdocs, and some minor cleanups
11775
11776 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11777
11778         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11779         call getFont all the time)
11780
11781 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11782
11783         * switch from SigC signals to boost::signals
11784
11785 2002-05-29  André Pönitz <poenitz@gmx.net>
11786
11787         * paragraph_pimpl.C (getChar): don't call size() too often...
11788
11789 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11790
11791         * paragraph_pimpl.C (insertChar): do not try to update tables when
11792         appending (pos == size())
11793
11794         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11795         in order to reduce drastically the number of comparisons needed to
11796         parse a large document
11797
11798 2002-05-29  André Pönitz <poenitz@gmx.net>
11799
11800         * text.C:
11801         * text2.C:
11802         * lyxtextclass.C:
11803         * sp_pspell.h:
11804         * textclasslist.[Ch]:
11805         * sp_ispell.h: whitespace change
11806
11807 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11808
11809         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11810         lyxaction directly now.
11811
11812 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11813
11814         * trans.C:
11815         * lyxfont.C:
11816         * lyxvc.C: remove unused headers
11817
11818 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11819
11820         * Makefile.am:
11821         * buffer.h:
11822         * undostack.h:
11823         * undostack.C:
11824         * undo_funcs.h:
11825         * undo_funcs.C: some cleanups. Use shared_ptr
11826           and a template for the undo stacks.
11827
11828 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11829
11830         * BufferView_pimpl.h:
11831         * BufferView_pimpl.C:
11832         * kbmap.h:
11833         * kbmap.C:
11834         * kbsequence.h:
11835         * kbsequence.C:
11836         * lyxfunc.h:
11837         * lyxfunc.C:
11838         * text2.C: use key_state/mouse_state
11839
11840 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11841
11842         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11843         and LSubstring
11844
11845         * chset.C: change include order
11846         (loadFile): use boost regex and get rid of LRegex and LSubstring
11847
11848         * Makefile.am (BOOST_LIBS): new variable
11849         (lyx_LDADD): use it
11850
11851         * LaTeX.C: change include order.
11852         (scanAuxFile): use boost regex and get rid of LRegex and
11853         LSubstring
11854         (deplog): ditto
11855
11856 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11857
11858         * ColorHandler.h:
11859         * ColorHandler.C:
11860         * FontInfo.h:
11861         * FontInfo.C: moved to frontends/xforms/
11862
11863         * FontLoader.h:
11864         * FontLoader.C: moved into frontends for GUIIzation
11865
11866         * Makefile.am:
11867         * lyx_gui.C:
11868         * lyxfont.C:
11869         * lyxfunc.C: changes from above
11870
11871 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11872
11873         * LColor.C: remove spurious X include
11874
11875         * BufferView_pimpl.C:
11876         * Makefile.am:
11877         * font.h:
11878         * font.C:
11879         * text.C:
11880         * text2.C: move font metrics to frontends/
11881
11882 2002-05-24  Juergen Vigna  <jug@sad.it>
11883
11884         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11885         setting the undo_cursor.
11886
11887         * ParagraphParameters.h: include local includes first.
11888
11889 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11890
11891         * BufferView_pimpl.C:
11892         * BufferView_pimpl.h:
11893         * Makefile.am:
11894         * WorkArea.h:
11895         * WorkArea.C:
11896         * screen.C: move WorkArea into frontends/
11897
11898         * lyxscreen.h:
11899         * screen.C:
11900         * text.C:
11901         * BufferView.C:
11902         * BufferView2.C: move LyXScreen into frontends/
11903
11904         * lyxlookup.h:
11905         * lyxlookup.C:
11906         * lyx_gui.C: move lyxlookup into frontends/xforms/
11907
11908 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11909
11910         * BufferView2.C:
11911         * BufferView_pimpl.C:
11912         * FontLoader.C:
11913         * LyXView.h:
11914         * LyXView.C:
11915         * Makefile.am:
11916         * WorkArea.C:
11917         * XFormsView.h:
11918         * XFormsView.C:
11919         * buffer.C:
11920         * bufferlist.C:
11921         * bufferview_funcs.C:
11922         * converter.C:
11923         * importer.C:
11924         * lyx_cb.C:
11925         * lyx_gui.C:
11926         * lyx_main.C:
11927         * lyx_find.C:
11928         * lyxfunc.C:
11929         * lyxvc.C:
11930         * minibuffer.C:
11931         * text.C:
11932         * text2.C:
11933         * trans.C:
11934         * vc-backend.C: move LyX/XFormsView into frontends/
11935
11936 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11937
11938         * Makefile.am:
11939         * PainterBase.C:
11940         * PainterBase.h:
11941         * Painter.C:
11942         * Painter.h:
11943         * WorkArea.C:
11944         * WorkArea.h:
11945         * screen.C:
11946         * tabular.C:
11947         * text.C:
11948         * text2.C: move Painter to frontends/
11949
11950 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11951
11952         * buffer.C: comment out some some code that depend upon lyx_format
11953         < 220
11954
11955         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11956         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11957
11958         * buffer.h (NO_COMPABILITY): turn off compability
11959
11960         * ColorHandler.C: include scoped_array.hpp
11961
11962         * font.C: Use more specific smart_ptr header.
11963         * Painter.C: ditto
11964         * gettext.C: ditto
11965         * ShareContainer.h: ditto
11966         * lyx_main.h: ditto
11967         * kbmap.h: ditto
11968         * FontInfo.h: ditto
11969         * BufferView_pimpl.h: ditto
11970         * ColorHandler.h: ditto
11971
11972         * kbmap.C (defkey): change call to shared_ptr::reset
11973
11974 2002-05-21  Juergen Vigna  <jug@sad.it>
11975
11976         * buffer.C (insertErtContents): fix to insert ert asis if it is
11977         non empty. Skip it completely if it contains only whitespaces.
11978
11979 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11980
11981         * BufferView_pimpl.C:
11982         * BufferView2.C: clear selection on paste (bug 393)
11983
11984 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11985
11986         * DepTable.C: include ctime
11987
11988 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11989
11990         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11991
11992 2002-05-14  Juergen Vigna  <jug@sad.it>
11993
11994         * text.C (breakParagraph): fixed function to honor the keepempty
11995         layout in the right maner and also to permit the right breaking
11996         algorithm on empty or non empyt keepempty paragraphs.
11997
11998         * paragraph.C (breakParagraph): we have to check also if the par
11999         is really empty (!size()) for isempty otherwise we do the wrong
12000         paragraph break.
12001
12002 2002-05-10  Juergen Vigna  <jug@sad.it>
12003
12004         * buffer.[Ch] : The following are only changes to the ert
12005         compatibility read reading old LaTeX layout and font stuff and
12006         convert it to ERTInsets.
12007
12008         * buffer.h: added isErtInset().
12009
12010         * buffer.C (struct ErtComp): add a fromlayout bool to check
12011         if we're inside a LaTeX layout.
12012         (isErtInset): new helper function.
12013         (insertErtContents): look for other ert insets before this one
12014         and insert the contents there, so that we don't have subsequent
12015         ERT insets with nothing between them. This way we create only one
12016         inset with multiple paragraphs. Also check if we don't insert only
12017         spaces ' ' as they are ignored anyway afterwards in the .tex file
12018         so if we have only spaces we will ignore this latex part in the
12019         new file.
12020         (parseSingleLyXformat2Token \\layout): better compatibility when
12021         reading layout-latex stuff.
12022         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12023         language tag.
12024         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12025         stuff after reading the inset only get the information back from
12026         the stack.
12027
12028 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12029
12030         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12031
12032         * LaTeXFeatures.C (getBabelOptions): New method.
12033
12034 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12035
12036         * BufferView_pimpl.C (Dispatch): work around missing argument for
12037         'layout'
12038
12039 2002-05-08  Juergen Vigna  <jug@sad.it>
12040
12041         * text.C (leftMargin): handle paragraph leftindent.
12042
12043         * paragraph.C (writeFile): write the new \\leftindent tag.
12044         (validate): handle leftindent code.
12045         (TeXEnvironment): handle paragraphleftindent code again.
12046
12047         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12048
12049         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12050         for paragrap_extra indent code and new token \\leftindent.
12051         (latexParagraphs): handle the leftindent as environment.
12052
12053         * ParameterStruct.h: added leftindent support.
12054
12055         * ParagraphParameters.C (leftIndent): added support functions for
12056         the paragraph left indent.
12057
12058         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12059         more appropriate.
12060
12061 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12062
12063         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12064         inside insetERT.
12065
12066         * text.C (computeBidiTables): No bidi in insetERT.
12067
12068         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12069         in RTL documents.
12070
12071 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12072
12073         * version.C.in: pre 5
12074
12075 2002-05-02  José Matos  <jamatos@fep.up.pt>
12076         * buffer.C (makeDocBookFile): white space changes, add newline to
12077         command styles.
12078         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12079
12080         * tabular.C (docBook): fix typo.
12081
12082 2002-05-03  Juergen Vigna  <jug@sad.it>
12083
12084         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12085         change in LyXText as we can not be sure it was not freed.
12086         (drawOneRow): remove unused code.
12087
12088         * text.C (drawInset): redo the calculation of the need_break_row as
12089         it could have a row which was already freed.
12090         (draw): look at the return value of drawInset and return false if
12091         it also returned false.
12092         (paintRowText): look at the return value of draw and return false if
12093         it also returned false.
12094
12095         * lyxtext.h: added bool return type to drawInset() and draw() so that
12096         if we have a change in the row so that the rowbreak has to be redone
12097         we abort drawing as it will be called again.
12098
12099 2002-05-02  Juergen Vigna  <jug@sad.it>
12100
12101         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12102         a change in the maintext also if we're inside an inset.
12103         (Dispatch): set the cursor again after a break line and after the
12104         screen has been updated as it could be we're in a different row.
12105
12106         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12107         to set the cursor behind the pargraph with > size().
12108         (setCursor): check also for the same paragraph when checking where
12109         to put the cursor if we have a NFR inset.
12110
12111         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12112         parts of layout read further up as it still was in the wrong
12113         position.
12114
12115 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12116
12117         * screen.C (drawFromTo): change sine fullRebreak always return
12118         true.
12119
12120         * buffer.C (parseSingleLyXformat2Token): reindent some
12121
12122         * BufferView_pimpl.C (update): change since fullRebreak always
12123         return true.
12124         (Dispatch): git rid of the last hardcoded "Standard"s.
12125
12126 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12127
12128         * text2.[Ch] (fullRebreak): make it return void now that we always
12129         returned true.
12130
12131 2002-04-30  Juergen Vigna  <jug@sad.it>
12132
12133         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12134         ert compatibility check for "latex" layout.
12135
12136 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12137
12138         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12139         minipages: use col% instead of p%, and also use the current font.
12140         (makeLaTeXFile): Fix use babel condition.
12141         (parseSingleLyXformat2Token): Correct font when reading old floats.
12142
12143 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12144
12145         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12146         inserting list of floats.
12147
12148 2002-04-25  Herbert Voss  <voss@lyx.org>
12149
12150         * MenuBackend.C (expand): don't add the graphics extensions to the
12151         export menu
12152
12153 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12154
12155         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12156         non-existing layout, do not complain if it was the default layout
12157         of the original class (bug #342)
12158
12159 2002-04-24  Juergen Vigna  <jug@sad.it>
12160
12161         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12162         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12163
12164 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12165
12166         * buffer.C (getBibkeyList): If using \bibliography, return the
12167         option field with the reference itself. Enables us to provide natbib
12168         support when using \bibliography.
12169
12170 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12171
12172         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12173
12174         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12175         natbib is provided by the LaTeX class.
12176
12177 2002-04-23  Juergen Vigna  <jug@sad.it>
12178
12179         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12180         Wakeup functions.
12181
12182         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12183
12184 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12185
12186         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12187
12188         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12189         ensuremath around textordmasculine, textordfeminine and
12190         textdegree.
12191
12192 2002-04-19  Juergen Vigna  <jug@sad.it>
12193
12194         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12195         reinitializing the buffer otherwise row-dimensions may be wrong.
12196         (update): reset also the selection cursors if they do exits otherwise
12197         their x/y positions may be wrong.
12198
12199         * text2.C (cursorDown): don't enter the inset if we came from a row
12200         above and are one row over the inset.
12201
12202         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12203         really leaving an inset.
12204
12205 2002-04-18  Juergen Vigna  <jug@sad.it>
12206
12207         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12208         of the selected paragraph does not have the selected layout also if
12209         the last one had!
12210
12211         * text2.C (setLayout): fixed bug which did not change last selected
12212         paragraph.
12213
12214         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12215         changed the read and substituted \\end_float with \\end_inset!
12216
12217         * BufferView_pimpl.C (cursorPrevious):
12218         (cursorNext): fixed to make it work with rows heigher than the work
12219         area without moving the cursor only the draw of the row.
12220         (workAreaMotionNotify): fix jumping over high rows.
12221
12222 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12223
12224         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12225         Ressler.
12226
12227 2002-04-16  Juergen Vigna  <jug@sad.it>
12228
12229         * text2.C (setCursor): set also the irow().
12230         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12231         (cursorUp):
12232         (cursorDown): support for locking an inset if the x_fix value goes
12233         inside it. That way I can transverse insets too with cursor up/down.
12234
12235         * lyxrow.h: added irow helper function same as other (i) functions.
12236
12237         * BufferView_pimpl.C (cursorPrevious):
12238         (cursorNext): fixed for insets!
12239
12240 2002-04-15  Juergen Vigna  <jug@sad.it>
12241
12242         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12243         position otherwise it is wrong in some cases.
12244
12245         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12246         inside the inset before the call.
12247
12248 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12249
12250         * buffer.[Ch] (getBibkeyList): make it const.
12251
12252 2002-04-12  Juergen Vigna  <jug@sad.it>
12253
12254         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12255
12256         * text2.C (getCursorX): new helper function
12257         (setCursor): compute also ix_
12258         (setCursorFromCoordinates): set also ix.
12259
12260         * lyxcursor.h: added ix_ and helper functions.
12261
12262         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12263
12264         * buffer.C (insertStringAsLines): dont break paragraph if the this
12265         paragraph is inside an inset which does not permit it!
12266
12267         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12268         also with no chars on this paragraph.
12269         (paintRowText): only paint stuff if it's inside the workarea!
12270
12271         * paragraph.C (breakParagraph): honor keepempty flag and break the
12272         paragraph always below not above.
12273
12274         * BufferView2.C (unlockInset): update the paragraph layout on inset
12275         unlock as we changed paragraph in such a case.
12276
12277         * lyxfind.C (LyXFind): clear the former selection if not found!
12278
12279         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12280         again called in insertChar().
12281
12282         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12283         an inset which uses the whole row!
12284         (rightMargin): ditto.
12285         (insertChar): force a rebreak if we inserted an inset!
12286
12287 2002-03-28  Herbert Voss  <voss@lyx.org>
12288
12289         * lyxlength.[Ch]: add inBP() to get the right PS-point
12290         units (BigPoint). With inPixels we have rounding errors
12291
12292 2002-04-11  Juergen Vigna  <jug@sad.it>
12293
12294         * text2.C (setCursorFromCoordinates): set iy to the right value.
12295         (setCursor): add check if row->previous exists!
12296
12297         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12298         an old float_type as this was the case in the old code!
12299
12300         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12301
12302         * BufferView2.C (showLockedInsetCursor): use iy
12303         (fitLockedInsetCursor): ditto
12304
12305         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12306         locked insets as there we have the right value now.
12307
12308         * lyxcursor.C: added iy_ variable and iy functions to set to the
12309         baseline of cursor-y of the locked inset.
12310
12311         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12312         (setCursor): fixed for insets which need a full row.
12313
12314         * text.C (rowLastPrintable): don't ignore the last space when before
12315         an inset which needs a full row.
12316         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12317         as last character of a row when before a inset which needs a full row.
12318
12319 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12320
12321         * version.C.in: update date
12322
12323         * text2.C (fullRebreak): try to always return true and see what
12324         happens...
12325
12326 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12327
12328         * MenuBackend.C (expand): use Floating::listName
12329
12330         * FloatList.C (FloatList): add listName argument to the built-in
12331         floats
12332
12333         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12334         text associated with the float.
12335
12336 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12337
12338         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12339
12340 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12341
12342         * ShareContainer.h: add a couple of missing typenames.
12343
12344 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12345
12346         * lyxrc.C (getDescription): use _() correctly rather than N_().
12347
12348 2002-03-28  Herbert Voss  <voss@lyx.org>
12349
12350         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12351         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12352
12353 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12354
12355         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12356         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12357
12358 2002-03-29  Juergen Vigna  <jug@sad.it>
12359
12360         * lyxfunc.C (dispatch): add a missing fitCursor call.
12361
12362         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12363         it was scrolled by a cursor move, so return the bool status.
12364
12365         * BufferView.C (fitCursor): return the bool flag also to the outside
12366         world as this is needed.
12367
12368         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12369
12370         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12371         call the edit() as it is not needed (and wrong) IMO.
12372         (workAreaButtonPress): set the screen_first variable before evt.
12373         unlock the inset as this may change screen_first and then we have
12374         a wrong y position for the click!
12375
12376 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12377
12378         * MenuBackend.C (expand): another translation that I missed
12379
12380 2002-03-28  Juergen Vigna  <jug@sad.it>
12381
12382         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12383
12384         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12385
12386 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12387
12388         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12389
12390         * MenuBackend.C (expand): fix export/view/update when there is no
12391         document open.
12392
12393 2002-03-27  Herbert Voss  <voss@lyx.org>
12394
12395         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12396         and text%
12397
12398 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12399
12400         * bufferview_funcs.C (currentState): only show paragraph number
12401         for is DEVEL_VERSION is set.
12402
12403         * lyxfunc.C (dispatch): put warning in INFO channel
12404
12405         * MenuBackend.C (expand): translate the name of floats
12406
12407         * FloatList.C (FloatList): mark the float names for translation
12408
12409         * converter.C (convert): use LibScriptSearch
12410
12411 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12412
12413         * MenuBackend.C (defaults): fix default menu (we might as well get
12414         rid of it...)
12415
12416 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12417
12418         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12419         directory.
12420
12421 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12422
12423         * lyxvc.C: reorder includes.
12424
12425 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12426
12427         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12428           properly
12429
12430 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12431
12432         * CutAndPaste.C: change layouts earlier on paste
12433           to avoid crashing when calling getFont()
12434
12435 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12436
12437         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12438         irritating #error.
12439
12440 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12441
12442         * WorkArea.C: remove 'Pending' debug message.
12443
12444         * most files: ws cleanup
12445
12446         * buffer.[Ch]: ws changes
12447
12448         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12449
12450 2002-03-21  Juergen Vigna  <jug@sad.it>
12451
12452         * tabular.C (SetMultiColumn): collapse also the contents of the
12453         cells and set the last border right. Added a Buffer const * param.
12454
12455 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12456
12457         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12458         linking or not.
12459
12460 2002-03-19  Juergen Vigna  <jug@sad.it>
12461
12462         * text2.C (clearSelection): reset also xsel_cache.
12463
12464         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12465         where it needs to be called (John tells us to do so too :)
12466         (selectionLost): reset sel_cache.
12467
12468         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12469
12470 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12471
12472         * text2.C (setCursorIntern): put debuging code in INSETS channel
12473
12474 2002-03-19  André Pönitz <poenitz@gmx.net>
12475
12476         * lyxfunc.C: tiny whitespace change
12477
12478 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12479
12480         * ToolbarDefaults.C (init):
12481         * LyXAction.C (init):
12482         * commandtags.h:
12483         * BufferView_pimpl.C (Dispatch):
12484         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12485
12486 2002-03-19  Allan Rae  <rae@lyx.org>
12487
12488         * exporter.C (Export): removeAutoInsets before doing anything else.
12489         While I've just introduced a dependency on BufferView this really is
12490         the best place to clean the buffer otherwise you need to cleanup in
12491         a dozen places before calling export or cleanup in a dozen functions
12492         that export calls.
12493
12494         * converter.C (runLaTeX):
12495         (scanLog): Better handling of removeAutoInsets and screen updates.
12496
12497         * lyxfunc.C (dispatch): small whitespace changes
12498
12499 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12500
12501         * WorkArea.C (C_WorkAreaEvent): return a value.
12502         (event_cb): return 1 if we handled the event, 0 otherwise.
12503
12504         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12505
12506 2002-03-18  Juergen Vigna  <jug@sad.it>
12507
12508         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12509         (GetAdditionalWidth): ditto.
12510         (RightLine): ditto.
12511         (LeftLine): ditto.
12512
12513         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12514         inset if we're there actually (probably not used right now but this
12515         is the direction to go for unifying code).
12516         (paste): disable code to clear the selection.
12517
12518         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12519         inside an InsetText and move the check further up as it is in the
12520         wrong place.
12521
12522         * text2.C (pasteSelection): set a selection over the pasted text.
12523
12524 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12525
12526         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12527         and libgraphics to build on Cygwin.
12528
12529 2002-03-15  Juergen Vigna  <jug@sad.it>
12530
12531         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12532         inserting an Inset into the paragraph. I know this is not the best
12533         fix but we already use current_view in CutAndPaste so we will remove
12534         all of it's using at the same time.
12535
12536         * buffer.C (sgmlError): deactivated function till it is rewritten in
12537         the right mode, now it can create problems.
12538
12539         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12540         before accessing it.
12541
12542 2002-03-14  Juergen Vigna  <jug@sad.it>
12543
12544         * undo_funcs.C (textHandleUndo): do the right thing when updating
12545         the inset after the undo/redo.
12546
12547         * text2.C (setCursor): just some testcode for #44 not ready yet.
12548
12549         * undo_funcs.C (textHandleUndo): set the next() and previous()
12550         pointers of the paragraph to 0 before deleting otherwise we have
12551         problems with the Paragraph::[destructor].
12552
12553         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12554         on a paragraph insertion.
12555
12556 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12557
12558         * buffer.C (asciiParagraph): use += operator for char append to
12559         string.
12560
12561         * paragraph.C (getFontSettings): compare >= not just >
12562         (highestFontInRange): ditto
12563         (setFont): ditto
12564
12565 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12566
12567         * paragraph.C: change several algorithm to be more appripriate for
12568         the problem domain. This is lookip in FontList and in the InsetList.
12569
12570 2002-03-13  André Pönitz <poenitz@gmx.net>
12571
12572         * commandtags.h:
12573         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12574
12575 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12576
12577         * commandtags.h:
12578         * LyXAction.C:
12579         * lyxfunc.C:
12580         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12581
12582 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12583
12584         * Painter.C (display): anon helper function, adjust code for this
12585         change.
12586         (pixmap): remove function.
12587
12588         * Painter.h: remove private display variable.
12589
12590         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12591
12592 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12593
12594         * WorkArea.[Ch]: remove figinset_canvas cruft.
12595
12596 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12597
12598         * lyxtextclass.C (operator): add one item cache optimization.
12599
12600         * bufferlist.h: doxy changes
12601
12602         * bufferlist.C: ws changes
12603
12604         * DepTable.[Ch] (ext_exist): place const in the right spot.
12605
12606         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12607         call resizeInsets.
12608         (workAreaExpose): call resizeInsets when the with BufferView changes.
12609         (Dispatch): adjust for protectedBlank removal
12610         (specialChar): call updateInset if the insert went ok.
12611
12612         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12613         specialChar instead.
12614
12615         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12616
12617         * BufferView.h: doxy change
12618
12619         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12620
12621         * lyxtextclass.C (operator[]): remove non-const version
12622         (defaultLayout): remove non-const version
12623
12624 2002-03-12  Juergen Vigna  <jug@sad.it>
12625
12626         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12627         did resize the LyXText too.
12628
12629         * buffer.C (readLyXformat2): set layout information on newly allocated
12630         paragraphs.
12631
12632         * tabular.C (OldFormatRead): set layout information on the paragraph.
12633
12634 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12635
12636         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12637
12638 2002-03-11  Juergen Vigna  <jug@sad.it>
12639
12640         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12641         plainly wrong.
12642         (resizeCurrentBuffer): force also the insets to resize themselfes.
12643         (moveCursorUpdate): fixed up for InsetText.
12644
12645 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12646
12647         * commandtags.h:
12648         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12649         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12650         value of Dialogs::tooltipsEnabled().
12651         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12652
12653 2002-03-08  Juergen Vigna  <jug@sad.it>
12654
12655         * BufferView_pimpl.C (updateInset): update inset inside inset also
12656         if it isn't inside theLockingInset().
12657
12658 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12659
12660         * buffer.C (asciiParagraph): redo some of the word and line length
12661         handling.
12662         (getLists): look for Caption instead of caption.
12663
12664 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12665
12666         * buffer.C (Buffer): initialize niceFile to true
12667         (makeLaTeXFile):
12668         (makeLinuxDocFile):
12669         (makeDocBookFile): make sure niceFile is true on exit
12670
12671 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12672
12673         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12674
12675 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12676
12677         * LyXSendto.C: remove.
12678         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12679         * lyx_gui.C: remove now-redundant comment.
12680         * ColorHandler.h: remove forward declaration of class WorkArea.
12681         * lyxfunc.C: remove #include "WorkArea.h".
12682
12683 2002-03-07  Juergen Vigna  <jug@sad.it>
12684
12685         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12686         got moved away with the DEPM and also set the inset_owner always
12687         right which before could have been omitted.
12688
12689 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12690
12691         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12692         wanted layout is not found.
12693
12694 2002-03-07  Juergen Vigna  <jug@sad.it>
12695
12696         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12697
12698 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12699
12700         * paragraph.C (breakParagraph): use default layout not layout of
12701         prev paragraph.
12702         (Paragraph): clear ParagraphParameters.
12703
12704 2002-03-06  Juergen Vigna  <jug@sad.it>
12705
12706         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12707         otherwise it would not be a valid lenght. Fixed a special case in
12708         the minipage compatibility read where we end the document with a
12709         minipage.
12710
12711         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12712         was set as it could be 0 for InsetTexts first entry.
12713
12714 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12715
12716         * paragraph.C (writeFile): if layout is empty write out
12717         defaultLayoutName().
12718
12719         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12720         file without named layout we set layout to defaultLayoutName().
12721
12722 2002-03-06  Juergen Vigna  <jug@sad.it>
12723
12724         * CutAndPaste.C (copySelection): set layout for new paragraph.
12725
12726         * text.C (prepareToPrint): leave ERT inset left aligned
12727         (leftMargin): don't indent paragraphs inside ERT insets
12728
12729 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12730
12731         * paragraph.C (breakParagraph): dont call clear do the work manually
12732
12733         * paragraph.[Ch] (clear): remove function
12734
12735 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12736
12737         * paragraph.C (Paragraph): dont call clear, the work has already
12738         been done.
12739
12740         * lyxtextclass.C (operator): assert if n is empty
12741
12742         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12743         work manually instead.
12744
12745 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12746
12747         * BufferView_pimpl.C: protect selectionLost against text == 0
12748
12749 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12750
12751         * text.C (breakParagraph): fix a setting layout to '0' problem.
12752
12753 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12754
12755         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12756         final location of file, for the included files, and graphics.
12757
12758 2002-03-05  Juergen Vigna  <jug@sad.it>
12759
12760         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12761
12762 2002-03-04  Juergen Vigna  <jug@sad.it>
12763
12764         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12765
12766         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12767         last column of multicolumn cells.
12768         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12769
12770 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12771
12772         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12773         file if it doesn't go to a temporary file.
12774
12775         * buffer.C (sgmlOpenTag):
12776         (sgmlCloseTag):  remove extra newline insertion.
12777
12778 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12779
12780         * text.C (getRowNearY): comment out debug msg
12781
12782 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12783
12784         * text2.C: first -> first_y
12785
12786         * text.C (getRowNearY): add some attemts at a possible
12787         optimization, not working.
12788
12789         * tabular.[Ch]: add BufferParams to several function so that newly
12790         created paragraph can be initialized to he default layotu for the
12791         buffers textclass.
12792
12793         * tabular-old.C (ReadOld): add buf->params to call of Init
12794
12795         * screen.C: rename text->first to text->first_y
12796
12797         * paragraph.C (breakParagraph): always set layout in the broken
12798         paragraph
12799
12800         * lyxtextclass.C (Read): remove lowercase
12801         (hasLayout): ditto
12802         (operator): ditto
12803         (delete_layout): ditto
12804
12805         * lyxtext.h: rename first -> first_y
12806
12807         * lyxlayout.C (Read): remove lowercase
12808         (name): ditto
12809         (setName): ditto
12810         (obsoleted_by): ditto
12811
12812         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12813
12814         * buffer.C (insertErtContents): add params are to InsetERT
12815         (parseSingleLyXformat2Token): add code to check if a paragraphs
12816         layout really exist.
12817         (parseSingleLyXformat2Token): add params to several inset
12818         constructors
12819         (asciiParagraph): remove lowercase, do the layout comparisons with
12820         no_case
12821
12822         * BufferView_pimpl.C (cursorNext): first -> first_y
12823         (resizeCurrentBuffer): first -> first_y
12824         (updateScrollbar): first -> first_y
12825         (scrollCB): first -> first_y
12826         (workAreaMotionNotify): first -> first_y
12827         (workAreaButtonPress): first -> first_y
12828         (checkInsetHit): first -> first_y
12829         (cursorPrevious): first -> first_y
12830         (cursorNext): first -> first_y
12831         (Dispatch): add buffer_->params to severl inset contructors
12832
12833 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12834
12835         * lyxlayout.C (Read): remove some debug info that I forgot.
12836
12837         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12838         clean up the code slightly.
12839         (makeLinuxDocFile): ditto
12840         (makeDocBookFile): ditto
12841
12842         * text2.C: layout as string
12843
12844         * text.C: layout as string
12845
12846         * paragraph_pimpl.C: layout as string
12847
12848         * paragraph.[Ch]: layout as string
12849
12850         * lyxtextclasslist.[Ch]: layout as string
12851
12852         * lyxtextclass.[Ch]: layout as string
12853
12854         * lyxtext.h: layout as string
12855
12856         * lyxlayout.[Ch]: layout as string
12857
12858         * lyx_cb.C: layout as string
12859
12860         * bufferview_funcs.C: layout as string
12861
12862         * bufferparams.C: layout as string
12863
12864         * buffer.C: layout as string
12865
12866         * LyXView.[Ch]: layout as string
12867
12868         * LaTeXFeatures.[Ch]: layout as string
12869
12870         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12871
12872         * BufferView_pimpl.C: change current_layout to string, remove
12873         lyx::layout_type.
12874         (Dispatch):
12875         (smartQuote):
12876         (insertInset):
12877         (workAreaButtonRelease): layout as string
12878
12879         * BufferView2.C (unlockInset): adjust
12880
12881         * vspace.C (asLatexCommand): use an explict temp variable.
12882
12883 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12884
12885         * Makefile.am: use FRONTEND_*
12886
12887 2002-03-01  Juergen Vigna  <jug@sad.it>
12888
12889         * tabular.C (SetWidthOfMulticolCell): changed to something better
12890         I hope but still work in progress.
12891         (recalculateMulticolumnsOfColumn): renamed function from
12892         recalculateMulticolCells as it is more appropriate now.
12893         (SetWidthOfCell): calculate multicols better.
12894
12895 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12896
12897         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12898
12899         * lyxfunc.C (processKeySym): print sequence also if it is
12900         `deleted' (complete)
12901
12902         * kbsequence.C (print): print sequence even if it is deleted
12903         (complete would be a better word, actually).
12904
12905         * lyxfunc.C (dispatch): print complete options after a prefix key
12906
12907         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12908
12909 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12910
12911         * text2.C (setCharFont): eliminate setCharFont code duplication.
12912
12913 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12914
12915         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12916         LFUN_TABULAR_FEATURE (bug #177)
12917
12918 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12919
12920         * Makefile.am: remove figure.h
12921
12922 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12923
12924         * Bufferview_pimpl.C:
12925         * CutAndPasteC:
12926         * LaTeX.C:
12927         * LyXSendto.C:
12928         * buffer.C:
12929         * bufferlist.C:
12930         * converter.C:
12931         * language.C:
12932         * lyxfunc.C:
12933         * lyxvc.C:
12934         * paragraph.C:
12935         * text.C:
12936         * text2.C: remove #include "lyx_gui_misc.h".
12937
12938         * LaTeX.C: added #include <cstdio>
12939
12940 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12941
12942         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12943         that the paragraph following this one can have.
12944
12945         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12946
12947         * vspace.C (asLatexCommand): fix bogus gcc warning
12948
12949         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12950
12951 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12952
12953         * text2.C (setLayout): get rid of redundant code
12954
12955 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12956
12957         * text2.C (incDepth): make sure depth cannot be increased beyond
12958         reasonable values.
12959
12960 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12961
12962         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12963         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12964
12965         * PainterBase.h (image):
12966         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12967         a LyXImage const *.
12968
12969 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12970
12971         * BufferView.C:
12972         * BufferView.h:
12973         * BufferView_pimpl.C:
12974         * BufferView_pimpl.h:
12975         * LaTeXFeatures.C:
12976         * LyXAction.C:
12977         * LyXView.C:
12978         * Makefile.am:
12979         * UpdateList.h:
12980         * UpdateList.C:
12981         * buffer.C:
12982         * figure.h:
12983         * figureForm.C:
12984         * figureForm.h:
12985         * figure_form.C:
12986         * figure_form.h:
12987         * lyx_cb.C:
12988         * lyx_gui.C:
12989         * lyx_gui_misc.C:
12990         * lyxfunc.C:
12991         * sp_base.h:
12992         * sp_ispell.h:
12993         * sp_pspell.h:
12994         * sp_spell.C: remove fig inset, and the crap house of
12995           cards that follows it
12996
12997 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12998
12999         * Makefile.am:
13000         * lyxserver.C:
13001         * os2_defines.h:
13002         * os2_errortable.h:
13003         * nt_defines.h: move .h into support/
13004
13005         * vms_defines.h: remove
13006
13007         * WorkArea.C: add space in debug output
13008
13009         * text2.C:
13010         * paragraph.C:
13011         * buffer.C: add WITH_WARNINGS
13012
13013         * vc-backend.h:
13014         * vc-backend.C:
13015         * bufferlist.C: s/retrive/retrieve/, add docs
13016
13017         * vspace.h:
13018         * vspace.C:
13019         * kbmap.h:
13020         * lyxlength.h:
13021         * lyxgluelength.h:
13022         * length_common.h:
13023         * chset.h:
13024         * chset.C: add docs
13025
13026         * lyxgui.C: add ID to X error handler
13027
13028         * lyxtestclass.c: fix typo
13029
13030 2002-02-26  Juergen Vigna  <jug@sad.it>
13031
13032         * tabular_funcs.C (write_attribute): changed so that some default
13033         attributes are not written at all.
13034         (getTokenValue): set default values before trying to read the
13035         value so we have the return value always set as default if we don't
13036         find the token we search for.
13037
13038         * tabular.C (Write): write bools as bools not as strings!
13039
13040 2002-02-22  Juergen Vigna  <jug@sad.it>
13041
13042         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13043         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13044
13045         * text.C (leftMargin): don't add an indent for paragraphs inside
13046         tabular cells (fix #208).
13047
13048 2002-02-21  José Matos  <jamatos@fep.up.pt>
13049
13050         * tabular.C (docBook): fixed support for long tables.
13051
13052 2002-02-20  Juergen Vigna  <jug@sad.it>
13053
13054         * text2.C (getFont): get the drawing font of the Inset if this
13055         paragraph is inside an inset (only important for InsetERT for now).
13056
13057         * buffer.C (insertErtContents): use new lanugage params in ERT
13058         constructor.
13059
13060         * CutAndPaste.C: commenting out seemingly uneeded code.
13061
13062 2002-02-19  Allan Rae  <rae@lyx.org>
13063
13064         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13065         Iterators might be simple to use but they also get invalidated.
13066         (removeAutoInsets): renamed saved cursor tracking variables and added
13067         some comments to clarify what everything does.
13068
13069 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13070
13071         * Chktex.C:
13072         * LaTeX.C:
13073         * LyXSendto.C:
13074         * converter.C:
13075         * lyx_cb.C:
13076         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13077         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13078
13079         * lyxfunc.C:
13080         * vc-backend.h: remove #include "support/syscall.h"
13081
13082         * LaTeX.C:
13083         * LyXSendto.C:
13084         * converter.C: rearrange #includes in Lars' approved fashion.
13085
13086         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13087         forward declare class Timeout in the header file.
13088
13089         * XFormsView.C: changes due to the above.
13090
13091         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13092         similar to LyXView.
13093
13094         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13095         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13096
13097 2002-02-18  José Matos  <jamatos@fep.up.pt>
13098
13099         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13100         insets contents.
13101
13102 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13103
13104         * a lot of small ws changes
13105         * add a lot of using std::XXX
13106         * use std construcs some places where approp.
13107         * use some exisint stuff from lyxfunctional where approp.
13108         * Make file changes to use partial linking (lets test this now...)
13109
13110 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13111
13112         * Chktex.C:
13113         * buffer.C:
13114         remove #include "support/syscontr.h" as it's redundant. Always has been.
13115
13116         * Chktex.C:
13117         * LaTeX.C:
13118         * LyXSendto.C:
13119         * converter.C:
13120         * lyx_cb.C:
13121         * vc-backend.C:
13122         change Systemcalls::System to Systemcalls::Wait and
13123         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13124         No change of functionality, just reflects the stripped down Systemcalls
13125         class.
13126
13127 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13128
13129         * debug.[Ch]: add a GRAPHICS type to the enum.
13130
13131 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13132
13133         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13134
13135         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13136         there is an inset.
13137
13138 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13139
13140         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13141         match the changes below.
13142
13143         * text2.C (toggleInset): if there is not editable inset at cursor
13144         position, try to see if cursor is _inside_ a collapsable inset
13145         and close it.
13146
13147 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13148
13149         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13150         document menu has a nice checkbox
13151
13152 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13153
13154         * lyxlength.C (asLatexString): change PW to output as percent of
13155         \textwidth.
13156
13157         * lengthcommon.C: change '%' to 't%'
13158
13159         * lyxfunc.C (dispatch): a few comments from Martin
13160
13161 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13162
13163         * WorkArea.h:
13164         * WorkArea.C:
13165         * BufferView_pimpl.h:
13166         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13167           the X selection.
13168
13169 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13170
13171         * vspace.C (inPixels): fix compiler warning
13172
13173 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13174
13175         * lyxfunc.C (getStatus): fix status message for disabled commands.
13176
13177 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13178
13179         * BufferView_pimpl.C: fix crash on close buffer
13180         during selection (#227)
13181
13182 2002-01-27  Herbert Voss  <voss@lyx.org>
13183
13184         * buffer.C: link old Figure to new graphic inset
13185
13186 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13187
13188         * FontLoader.C (getFontinfo): Change the latex font names in order
13189         to match the names of type1inst.
13190
13191 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13192
13193         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13194
13195         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13196         (extchanged): ditto
13197         (ext_exist): ditto
13198         (remove_files_with_extension): ditto
13199         (remove_file): ditto
13200         (write): ditto
13201
13202         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13203         document is smaller than the work area height. Do not initialize
13204         static variables to 0.
13205
13206 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13207
13208         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13209
13210         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13211         LFUN_LAYOUT_PARAGRAPHS.
13212
13213         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13214         tabular. It is possible to provide a possible cell, which will
13215         typically be the actcell from the corresponding insettabular
13216
13217         * lyxfunc.C (getStatus): small cleanup; disable
13218         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13219         true
13220
13221 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13222
13223         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13224
13225         * paragraph.C (startTeXParParams):
13226         (endTeXParParams): new methods. The LaTeX code to
13227         start/end paragraph formatting
13228         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13229         empty (fixes bug #200)
13230
13231         * vspace.C (inPixels): adapt to the change below
13232         (inPixels): [later] more cleanups (remove unused variables)
13233
13234         * lyxlength.C (inPixels): change to use a width and a height as
13235         parameter.
13236
13237 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13238
13239         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13240         Replaced with \paperwidth
13241
13242         * DepTable.C (insert): add std:: qualifier
13243
13244 2002-01-18  Allan Rae  <rae@lyx.org>
13245
13246         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13247         updated also?
13248
13249         * text.C (drawInset): Turned out I didn't know enough about how
13250         rebreaking worked.  This fixes most of the redraw problems.  I see
13251         an occasional cursor trail when a line is broken now and the cursor
13252         placement can seem out by a few pixels also after a rebreak.
13253
13254 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13255
13256         * buffer.C (parseSingleLyXformat2Token): update because minipage
13257         width is now a LyXLength
13258
13259         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13260
13261         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13262         math insets
13263
13264 2002-01-17  Juergen Vigna  <jug@sad.it>
13265
13266         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13267
13268         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13269         is set correctly and the inset is updated correctly.
13270
13271 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13272
13273         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13274         the beginning of the loop.
13275
13276 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13277
13278         * lyxrc.C: improve help for use_scalable_fonts
13279
13280 2002-01-17  Allan Rae  <rae@lyx.org>
13281
13282         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13283
13284 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13285
13286         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13287         make sure to set their inset_owner to the right value (bug #171)
13288
13289 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13290
13291         * DepTable.h
13292         * DepTable.C: Implement mtime checking to reduce time spent doing
13293         CRCs.
13294
13295 2002-01-16  Juergen Vigna  <jug@sad.it>
13296
13297         * tabular.C (GetAdditionalHeight): one of error fixed.
13298
13299         * lyxrc.C (output): small fix in writing use_pspell.
13300
13301 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13302
13303         * sp_base.h: #include LString.h
13304
13305 2002-01-16  Allan Rae  <rae@lyx.org>
13306
13307         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13308         Can someone check this please?
13309
13310         * text.C (drawInset): It was possible that p.row would be removed by
13311         breakAgainOneRow upsetting a few other settings.  There may be another
13312         small tweak possible by setting need_break_row = 0 when p.row has been
13313         removed but I don't know enough about the logic here.
13314
13315 2002-01-15  Allan Rae  <rae@lyx.org>
13316
13317         * text.C (insertChar): removed conditional truism.
13318
13319         * BufferView2.C (removeAutoInsets): More tweaks.
13320         cur_par_prev could be a stray pointer.  Check for trailing empty line
13321         in case last line was cur_par and only had an error inset on it.
13322
13323 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13324
13325         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13326         absolute
13327
13328         * vc-backend.C (most methods):
13329         * exporter.C (Export):
13330         * converter.C (convert):
13331         (runLaTeX):
13332         * LyXSendto.C (SendtoApplyCB):
13333         * lyxfunc.C (dispatch):
13334         (menuNew):
13335         (open):
13336         (doImport):
13337         * lyx_cb.C (AutoSave):
13338         (InsertAsciiFile):
13339         * BufferView_pimpl.C (MenuInsertLyXFile):
13340         * buffer.C (runChktex): use Buffer::filePath().
13341
13342         * buffer.h: rename filename to filename_; rename filepath to
13343         filepath_ and make it private
13344         (filePath): new method
13345
13346         * buffer.C (writeFile): use fileName()
13347         (getLatexName):
13348
13349         * lyx_main.C (init): fix starting  of LyX when the binary is a
13350         link from so,ewhere else.
13351
13352         * minibuffer.C: include <cctype> for isprint
13353
13354 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13355
13356         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13357         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13358         name clash with InsetCollapsable's width function.
13359
13360 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13361
13362         * lastfiles.C: include <iterator>
13363
13364 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13365
13366         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13367         std::count.
13368
13369         * buffer.C (makeLaTeXFile): ditto.
13370         Also make loop operation more transparent.
13371
13372 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13373
13374         * ToolbarDefaults.C: remove trailing comma closing namespace.
13375
13376         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13377
13378         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13379         as in WorkArea.
13380
13381         * trans.C (Load): comment out unused variable, allowed.
13382
13383 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13384
13385         * minibuffer.[Ch] (append_char): new method to recieve input from the
13386         drop-down completion browser. If a key was pressed, then recieve this
13387         char and append it to the existing string.
13388         (peek_event): modify the positioning data passed to the completion
13389         browser so that it can be placed above the minibuffer rather than below.
13390 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13391
13392         * LyXAction.C (init): alloe error-next for readonly documents.
13393
13394         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13395         count.
13396
13397 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13398
13399         * bufferlist.C (readFile): create the buffer _after_ checking that
13400         the file exists.
13401
13402         * lyxfunc.C (verboseDispatch): fix handling of arguments
13403
13404         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13405
13406         * lyxrc.C: use string::erase() instead of initializing to "".
13407
13408
13409 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13410
13411         * BufferView_pimpl.h:
13412         * BufferView_pimpl.C:
13413         * WorkArea.h:
13414         * WorkArea.C:
13415         * text2.C: tell X when we have made a selection for copying
13416
13417 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13418
13419         * BufferView_pimpl.C (MenuInsertLyXFile):
13420         * lyxfunc.C (menuNew):
13421         (open):
13422         (doImport): add shortcuts to directory buttons
13423
13424         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13425         open a float)
13426
13427         * lyxfunc.C (setStatusMessage):
13428         (getStatusMessage): new methods
13429         (getStatus):use setStatusMessage instead of setErrorMessage
13430         (dispatch): when function is disabled, set error message here
13431         [instead of in getStatus previously]
13432
13433         * BufferView_pimpl.C (workAreaButtonRelease): update
13434         toolbar/menubar here too.
13435
13436 2002-01-13  Allan Rae  <rae@lyx.org>
13437
13438         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13439         Now seems indestructible.  Remaining task is to audit all other
13440         code affected by deleteEmptyParagraphMechanism.  One small quirk
13441         left is that an empty document with an error in the preamble can
13442         be made to report an error but no error box appears.  I don't know
13443         where it goes.
13444         (removeAutoInsets): Improved comments.
13445
13446 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13447
13448         * Thesaurus.h:
13449         * Thesaurus.C: update for Aiksaurus 0.14
13450
13451 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13452
13453         * text2.C (firstParagraph): removed member function, all uses
13454         replaces with ownerParagraph
13455         (redoParagraphs): here
13456         (updateInset): here
13457         (toggleAppendix): here
13458         * BufferView2.C (insertErrors): here
13459         (setCursorFromRow): here
13460
13461 2002-01-13  Allan Rae  <rae@lyx.org>
13462
13463         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13464         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13465         There is still a way to segfault this although you may have to do this
13466         multiple times: Have an InsetERT with an unknown command in it.
13467         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13468         <down-arrow>, <Enter> again, View->DVI, BANG!
13469
13470         * text2.C (setCursor):
13471         (deleteEmptyParagraphMechanism):
13472         * lyxtext.h (setCursor):
13473         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13474         Making use of the return value may help fix other bugs.
13475
13476 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13477
13478         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13479
13480         * LyXView.C (updateMenubar): call MenuBar::update here
13481         (updateToolbar): but not here
13482         (showState): do not update toolbar/menubar
13483
13484         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13485         should need to care about that.
13486
13487         * lyxfunc.C (verboseDispatch): simplify a bit
13488         (getStatus): have a version which takes a pseudoaction, and
13489         another which requires a (kb_action,string).
13490
13491         * LyXAction.C (retrieveActionArg): make it work also when action
13492         is not a pseudo-action.
13493         (getActionName): simplify a bit
13494         (helpText):
13495
13496 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13497
13498         * lyxfunc.C (verboseDispatch): new families of methods with
13499         several ways to specify a command and a bool to indicate whether
13500         the command name and shortcut should be displayed in minibuffer
13501         (eventually, we could extend that to a finer bitmask like
13502         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13503         (dispatch): the pristine dispatch command which just, well,
13504         dispatchs! Note it still sets its result to minibuffer; I'm not
13505         sure we want that.
13506
13507         * lyxfunc.h: remove setHintMessage
13508
13509         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13510
13511 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13512
13513         * BufferView_pimpl.C (specialChar): delete new inset if we have
13514         not been able to insert it.
13515
13516         * kbmap.C: revert to using int instead of kb_action, since all we
13517         are dealing with is pseudo-actions.
13518
13519         * LyXAction.C (searchActionArg): change to return int instead of
13520         kb_action, since the result is a pseudoaction.
13521
13522 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13523
13524         * buffer.C (insertErtContents): Fix (partially) the font bug.
13525
13526 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13527
13528         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13529         as the other one is broken on my machine!
13530
13531 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13532
13533         * commandtags.h:
13534         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13535
13536 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13537
13538         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13539         reflect their actual use. Provide compatibility code for older lyxrc
13540         files.
13541
13542         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13543         FL_NORMAL_STYLE.
13544         change names of popup font variables in line with the changes to lyxrc.C
13545
13546 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13547
13548         * buffer.C (asciiParagraph): avoid outputing a word twice after
13549         an inset.
13550
13551         * lyxrc.C (getDescription): document that document_path and
13552         template_path can be empty.
13553
13554 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13555
13556         * LaTeXFeatures.C (getMacros):
13557         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13558
13559         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13560
13561         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13562         getPackages.
13563         (getPackages): rename feature "floats" to "float". Use an array to
13564         iterate over 'simple' features (i.e. just a \usepackage). Add
13565         handling of "amsmath" (renamed from "amsstyle").
13566
13567 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13568
13569         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13570         features list.
13571
13572 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13573
13574         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13575         FuncStaus::FuncStatus & FuncStaus::some_method().
13576
13577 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13578
13579         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13580         of the func_satus stuff. Edited and massaged in various ways by
13581         JMarc.
13582
13583         * lyxfunc.C (getStatus): use FuncStatus
13584
13585 2002-01-08  Juergen Vigna  <jug@sad.it>
13586
13587         * text.C (nextBreakPoint): use function Inset::isChar().
13588
13589         * paragraph.C (TeXOnePar): use function
13590         Inset::forceDefaultParagraphs.
13591
13592         * buffer.C (latexParagraphs): use function
13593         Inset::forceDefaultParagraphs.
13594
13595 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13596
13597         * lyx_gui.C (init): set the style of the menu popups to
13598         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13599
13600 2002-01-07  Juergen Vigna  <jug@sad.it>
13601
13602         * text.C (setHeightOfRow): small fix
13603         (prepareToPrint): don't look at alignment if we don't have the place
13604         for doing it.
13605
13606 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13607
13608         * box.C: New file. Move the Box methods and functions out of box.h,
13609         following Lars' suggestion.
13610
13611 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13612
13613         * box.h: #include "support/LOstream.h", needed for inlined function.
13614
13615         * lyxtextclass.C:
13616         * lyxtextclasslist.C: added some using std declarations.
13617
13618 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13619
13620         * box.h: make signed dimensions to allow insets wider than
13621           the screen (bug #162)
13622
13623         * BufferView_pimpl.C: add some insetHit debug
13624
13625 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13626
13627         * vc-backend.C: add FIXME
13628
13629 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13630
13631         * lyxfunc.C (getStatus): enable code for showing math font status
13632         in toolbar/menu.
13633
13634 2002-01-07  Juergen Vigna  <jug@sad.it>
13635
13636         * text.C (nextBreakPoint): removed debug output not needed anymore.
13637
13638 2002-01-06  Juergen Vigna  <jug@sad.it>
13639
13640         * text.C (nextBreakPoint): fixed up this function we had this bug
13641         since ever but now hopefully we break row better.
13642         (insertChar): we have to check if an inset is the next char as it
13643         could now happen that a large inset is causing a break.
13644
13645 2002-01-05  Juergen Vigna  <jug@sad.it>
13646
13647         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13648         if it doesn't like to be drawed.
13649
13650 2002-01-04  Juergen Vigna  <jug@sad.it>
13651
13652         * BufferView2.C (lockInset): forgot to set a cursor.
13653
13654         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13655
13656 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13657
13658         * FormMathsPanel.C:
13659         * FormMathsPanel.h
13660         * MathsSymbols.C:
13661         * form_maths_panel.C:
13662         * form_maths_panel.h:
13663         * form_maths_panel.fd: implemented sub- and super- buttons in math
13664         panel.
13665
13666         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13667         (or ^ space) to be used as in TeX (req'd by André).
13668
13669         * lyxfunc.C: Allow ^ and _ again to be used both as
13670         super/subscript (mathed) and as themselves (in text).
13671
13672 2002-01-03  Allan Rae  <rae@lyx.org>
13673
13674         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13675         "LyX" or the filename of the current buffer if it has one.  This is a
13676         modified form of John Levon's patch.
13677
13678         * XFormsView.C (setWindowTitle): also set icon title.
13679
13680         * LyXView.h (setWindowTitle): signature changed.
13681         * XFormsView.h (setWindowTitle): ditto.
13682
13683 2002-01-02  Juergen Vigna  <jug@sad.it>
13684
13685         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13686
13687 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13688
13689         * screen.C (topCursorVisible): introduce a temp var for
13690         text->cursor.row(), handle the case where this row is null. (kindo
13691         hachish)
13692
13693         * text2.C (setCursor): add a couple of asserts.
13694
13695         * paragraph.h (inset_iterator): add -> operator
13696
13697         * paragraph.[Ch] (autoDeleteInsets): remove member function
13698
13699         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13700         cursor pos correctly and handle inset deletion by itself.
13701         (insertErrors): move iterator declaration out of for expression
13702
13703         * lyxtextclass.C: add <algorithm>
13704
13705         * Makefile.am: added the new files to sources, removed layout.C
13706
13707         * layout.C: removed file
13708
13709         * layout.h: remove LYX_DUMMY_LAYOUT
13710
13711         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13712         layout.
13713
13714         * lyxlayout.[Ch]:
13715         * lyxtextclass.[Ch]:
13716         * lyxtextclasslist.[Ch]: new files
13717
13718         * include order changes to a lot of files, also changes because of
13719         the six new files.
13720
13721 2001-12-27  Juergen Vigna  <jug@sad.it>
13722
13723         * buffer.C (asciiParagraph): more fixes.
13724
13725         * tabular.C (ascii): make ascii export support export of only the
13726         data separated by a column-delimiter.
13727         (ascii): better support for ascii export.
13728
13729         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13730
13731 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13732
13733         * tabular_funcs.C: use a "using std::getline" instead of the
13734         previous fix from Angus (necessary for cxx + lyxstring)
13735
13736 2001-12-24  Juergen Vigna  <jug@sad.it>
13737
13738         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13739
13740         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13741         problems. First check a minipage also if we have some ert-contents
13742         (not only on par->size(), second set the right depth of the paragraph
13743         on the relink to the root-paragraph-list!
13744
13745         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13746         which then did not anymore update the main paragraphs on undo/redo!
13747
13748 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13749
13750         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13751         code. Support all font-changing funcs (even those which are not in
13752         menu currently). Support for reporting font settings in
13753         mathed (disabled until Andre provides a function on mathed's side).
13754
13755         * func_status.h (toggle): small helper function to set toggle
13756         state on a flag.
13757
13758 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13759
13760         * tabular_funcs.C: getline -> std::getline
13761
13762 2001-12-21  Juergen Vigna  <jug@sad.it>
13763
13764         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13765         accessed and could be 0 (I couldn't generate this but it seems
13766         Michael could!).
13767
13768 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13769
13770         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13771         * tabular_funcs.h: here and include iosfwd
13772
13773 2001-12-20  Juergen Vigna  <jug@sad.it>
13774
13775         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13776         inside inset but undo_par was.
13777
13778 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13779
13780         * Thesaurus.C: always include <config.h> in sources.
13781
13782         * Painter.h:
13783         * lyxlookup.h:
13784         * box.h: do not include <config.h> in header files
13785
13786         * text.C (paintLastRow): remove unused variable
13787
13788         * text.C (transformChar):
13789         (insertChar):
13790         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13791
13792         * Painter.C (text):
13793         * font.C (width): rewrite to use uppercase() instead of
13794         islower/toupper.
13795
13796         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13797
13798 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13799
13800         * lyxfind.C: clean up of find failure position change
13801
13802 2001-12-20  Juergen Vigna  <jug@sad.it>
13803
13804         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13805
13806         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13807         (TeXRow): added to LaTeX a single tabular row.
13808         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13809         (Latex): simplified and finally good LT-h/f support.
13810         (various_functions): just small adaptions for LT-h/f support.
13811
13812         * tabular_funcs.[hC]: added and moved here all not classfunctions
13813         of LyXTabular.
13814
13815 2001-12-19  Juergen Vigna  <jug@sad.it>
13816
13817         * tabular.[Ch]: better support for longtabular options (not finished
13818         yet!)
13819
13820 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13821
13822         * text.C (paintLastRow): use the label font instead of the font of
13823         the last character to compute the size of *_BOX. This makes more
13824         sense and avoids a crash with empty paragraphs.
13825         Use Painter::rectangle to draw EMPTY_BOX.
13826
13827 2001-12-19  Juergen Vigna  <jug@sad.it>
13828
13829         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13830         the paragraphs if the replaced paragraph is not the first one!
13831         Tried to delete not used paragraphs but does not work yet so for
13832         now it's inside #ifdef's and by default off!
13833
13834 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13835
13836         * MenuBackend.C: include "lyx_main.h" instead of declaring
13837         lastfiles (actually was declared as LastFiles* instead of a
13838         scoped_ptr).
13839
13840 2001-12-17  Juergen Vigna  <jug@sad.it>
13841
13842         * tabular.C (AppendColumn): applied John's fix
13843
13844 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13845
13846         * BufferView.h:
13847         * BufferView.C:
13848         * BufferView_pimpl.h:
13849         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13850
13851         * Makefile.am:
13852         * box.h: new start of class for above
13853
13854         * lyxfunc.C: ignore space-only minibuffer dispatches.
13855           Show the command name when it doesn't exist
13856
13857         * minibuffer.C: don't add empty lines to the history
13858
13859         * minibuffer.C: add a space on dropdown completion
13860
13861 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13862
13863         * text.C: fix line above/below drawing in insets
13864
13865 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13866
13867         * lyxlength.C (LyXLength): Initialize private variables.
13868
13869 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13870
13871         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13872         when inserting error insets.
13873
13874 2001-12-13  Juergen Vigna  <jug@sad.it>
13875
13876         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13877         actually sometimes the before-paragraph.
13878         (setUndo): don't clear the redostack if we're not actually undoing!
13879
13880 2001-12-06  Juergen Vigna  <jug@sad.it>
13881
13882         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13883         and fixed redoing of main paragraph, so we can use it now ;)
13884
13885         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13886
13887 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13888
13889         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13890         Juergen's request
13891
13892 2001-12-13  André Pönitz <poenitz@gmx.net>
13893
13894         * undostack.[Ch]:
13895         * undo_func.C: minor cleanup
13896
13897 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13898
13899         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13900         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13901         font in urw-fonts package which is marked as -urw-fontspecific and
13902         does not work (incidentally, changing the encoding in the
13903         fonts.dir of this package to -adobe-fontspecific fixes the
13904         problem).
13905
13906         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13907         is a crash when undoing first paragraph (Juergen, please take a
13908         look). THis does not mean the undo fix is wrong, just that it
13909         uncovers problems.
13910
13911         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13912         the (Paragraph*) version when needed instead of duplicating the
13913         code.
13914
13915         * text.C (workWidth): use Inset::parOwner to find out where the
13916         inset has been inserted. This is a huge performance gain for large
13917         documents with lots of insets. If Inset::parOwner is not set, fall
13918         back on the brute force method
13919
13920         * paragraph_pimpl.C (insertInset):
13921         * paragraph.C (Paragraph):
13922         (cutIntoMinibuffer): set parOwner of insets when
13923         inserting/removing them
13924
13925         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13926
13927 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13928
13929         * commandtags.h:
13930         * LyXAction.C:
13931         * lyx_main.C:
13932         * lyxfunc.C:
13933         * mathed/formulabase.C:
13934         * mathed/math_cursor.[Ch]:
13935         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13936
13937
13938 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13939
13940         * lyxlength.[Ch] (operator!=): new function
13941
13942 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13943
13944         * text.C (workWidth): use Inset::parOwner to find out where the
13945         inset has been inserted. This is a huge performance gain for large
13946         documents with lots of insets. If Inset::parOwner is not set, fall
13947         back on the brute force method
13948
13949         * paragraph_pimpl.C (insertInset):
13950         * paragraph.C (Paragraph):
13951         (cutIntoMinibuffer): set parOwner of insets when
13952         inserting/removing them
13953
13954         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13955
13956 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13957
13958         * tabular-old.C (getTokenValue):
13959         * tabular.C (getTokenValue):
13960         (write_attribute): new versions for LyXLength
13961         (everywhere): adjust the use of widths
13962
13963         * tabular.h: change the type of widths from string to LyXLength
13964
13965 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13966
13967         * paragraph.C: fixed missing line number count when exporting
13968         Environments to LaTeX file
13969
13970         * buffer.C: added informational message for checking line numbers.
13971
13972 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13973
13974         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13975         paragraph, do the 'double space' part, but not the 'empty
13976         paragraph' one.
13977
13978         * text.C (workWidth): small optimization
13979         (getLengthMarkerHeight): use minimal size for negative lengths.
13980
13981 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13982
13983         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13984
13985         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13986
13987 2001-12-11  André Pönitz <poenitz@gmx.net>
13988
13989         * FontLoader.C:
13990         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13991
13992 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13993
13994         * text2.C: keep selection on a setFont()
13995
13996 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13997
13998         * lyx_cb.C: another bv->text misuse, from insert label
13999
14000 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14001
14002         * kbsequence.h:
14003         * kbsequence.C: re-instate nmodifier mask
14004
14005 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14006
14007         * lyx_main.h: make lyxGUI private.
14008
14009 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14010
14011         * lyxfind.C: place the cursor correctly on failed search
14012
14013 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14014
14015         * text.C (getLengthMarkerHeight): for small heights, the arrows
14016         are not always on top/bottom of the text
14017         (drawLengthMarker): smaller arrows; take the left margin in
14018         account; draw also vfills.
14019         (paintFirstRow):
14020         (paintLastRow): remove special code for vfill and standard spaces,
14021         since everything is handled in drawLengthMarker now.
14022
14023 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14024
14025         * buffer.C (insertErtContents): try to handle font and language
14026         interaction a bit better.g
14027
14028         * ColorHandler.C (updateColor): change the hash to cover the whole
14029         LColor enum, ws cleanup
14030         (getGCLinepars): ditto
14031         (getGCLinepars): only lookup in the linecache once.
14032
14033 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14034
14035         * iterators.C (operator++): Make the iterator more robust
14036
14037         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14038         (John's patch)
14039         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14040
14041 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14042
14043         * lyxtext.h:
14044         * text.C: better added space drawing
14045
14046 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14047
14048         * LyXView.C:
14049         * BufferView2.C: fix layout combo update on inset unlock
14050
14051 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14052
14053         * Makefile.am: don't compile unused files
14054
14055 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14056
14057         * lyxfunc.C:
14058         * commandtags.h:
14059         * LyXAction.C: remove old LFUN_LAYOUTNO
14060
14061 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14062
14063         * paragraph_pimpl.h:
14064         * paragraph_pimpl.C: isTextAt() doesn't need font param
14065
14066 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14067
14068         * lyxlex.h:
14069         * lyxlex.C: little cleanup
14070
14071 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14072
14073         * BufferView_pimpl.C: fix insertAscii for insets
14074
14075 2001-12-05  Juergen Vigna  <jug@sad.it>
14076
14077         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14078         set the right font on the "multi" paragraph paste!
14079
14080 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14081
14082         * trans_decl.h:
14083         * trans_mgr.[Ch]:
14084         * trans.[Ch]:
14085         * lyxgluelength.C:
14086         * lyxlength.C: remove out-commented code.
14087
14088         * BufferView_pimpl:
14089         * CutAndPaste.C:
14090         * DepTable.C:
14091         * buffer.C:
14092         * chset.C:
14093         * lastfiles.C:
14094         * lyxlex.C:
14095         * lyxlex_pimpl.C:
14096         * lyxserver.C:
14097         * screen.C:
14098         * tabular-old.C:
14099         * tabular.C:
14100         * text.C:
14101         * trans_mgr.C:
14102         * vc-backend.C: change "while(" to "while ("
14103
14104         * lyxlength.[Ch]: add zero function to check if length is zero or
14105         not
14106         * lyxgluelength.C: use it
14107
14108 2001-12-05  Allan Rae  <rae@lyx.org>
14109
14110         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14111         Works for 2.95.3, from what I understand of Garst's reports this should
14112         work for other g++ versions.  We're screwed if the abs(int) definition
14113         changed between bugfix releases of gcc.
14114
14115 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14116
14117         * text.C: fix chapter label offset !
14118
14119 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14120
14121         * lyxtext.h:
14122         * text.C: fix hfill at end of line, clean up
14123
14124 2001-12-04  Juergen Vigna  <jug@sad.it>
14125
14126         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14127         that we force an update of the inset and it's owners if neccessary.
14128
14129 2001-12-03  Juergen Vigna  <jug@sad.it>
14130
14131         * text.C (rowLast): simplified code
14132
14133 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14134
14135         * lyxfunc.C: fix show options on timeout
14136
14137 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14138
14139         * screen.C (topCursorVisible): scroll half a page when the cursor
14140         reached top of bottom of screen
14141
14142 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14143
14144         * minibuffer.C: deactivate on loss of focus
14145
14146 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14147
14148         * vspace.[Ch] (operator!=): add operator.
14149
14150 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14151
14152         * BufferView_pimpl.C: refuse to open an inset when
14153         there's a selection.
14154
14155 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14156
14157         * BufferView_pimpl.C: allow to click on RHS of full row insets
14158
14159 2001-11-30  Juergen Vigna  <jug@sad.it>
14160
14161         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14162         insets for undo reasons.
14163
14164 2001-11-28  André Pönitz <poenitz@gmx.net>
14165
14166         * vspace.[Ch]: cosmetical changes
14167
14168 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14169
14170         * LyXAction.h:
14171         * LyXAction.C:
14172         * lyxfunc.h:
14173         * lyxfunc.C:
14174         * kbmap.h:
14175         * kbmap.C:
14176         * lyxrc.C:
14177         * kbsequence.h:
14178         * kbsequence.C: part re-write of old kb code
14179
14180         * Painter.C:
14181         * WorkArea.C: remove Lgb_bug_find_hack
14182
14183 2001-11-30  José Matos <jamatos@fep.up.pt>
14184
14185         * buffer.C (makeDocBookFile): add a comment to point a hack.
14186         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14187         Fixed a double write of labels.
14188
14189 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14190
14191         * LaTeX.C:
14192         * LaTeX.h Fixed bug in LaTeX class where it would not
14193         re-run latex if no depfiles were changed, but the .dvi was removed.
14194
14195 2001-11-28  André Pönitz <poenitz@gmx.net>
14196
14197         * all the files from the change on 2001/11/26:
14198         use lyx::layout_type instead of LyXTextClass::size_type
14199         use lyx::textclass_type instead of LyXTextClassList::size_type
14200
14201 2001-11-29  Juergen Vigna  <jug@sad.it>
14202
14203         * text.C: added support for paragraph::isFreeSpacing()
14204
14205         * buffer.C: same as above
14206
14207         * paragraph.h: inserted isFreeSpacing() function to enable
14208         FreeSpacing inside InsetERT.
14209
14210         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14211         of the paragraph's in the cut/copy buffer to 0!
14212
14213         * text2.C (removeRow): remove the assert as it can!
14214
14215         * lyxtext.h: added helper function firstRow returning firstrow and
14216         made firstrow private again.
14217
14218         * BufferView2.C (lockInset): don't relock if we're already locked!
14219
14220         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14221         the only paragraph.
14222         (removeRow): added Assert::(firstrow)
14223
14224         * debug.C: forgot to add INSETTEXT here.
14225
14226 2001-11-28  Juergen Vigna  <jug@sad.it>
14227
14228         * sp_spell.C (initialize): changed error text to more general
14229         spellchecker command use (not only ispell!)
14230
14231         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14232
14233         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14234
14235 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14236
14237         * vspace.C: initialise lyxgluelength on failure
14238
14239 2001-11-28  Allan Rae  <rae@lyx.org>
14240
14241         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14242         declaration & definition that looks like a function declaration.
14243
14244 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14245
14246         * BufferView2.C (copy):
14247         (copyEnvironment): do not clear the selection when doing a copy.
14248
14249         * text.C (paintFirstRow): compilation fix
14250
14251 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14252
14253         * tabular.C (Latex): correct line count when writing latex.
14254
14255 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14256
14257         * paragraph_pimpl.h:
14258         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14259           bug a bit
14260
14261 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14262
14263         * text.C:
14264         * LColor.h:
14265         * LColor.C: change vfillline->added_space
14266
14267         * text.C: add markers and text for added space
14268
14269         * vspace.C: fix comment
14270
14271 2001-11-28  André Pönitz <poenitz@gmx.net>
14272
14273         * paragraph.C: whitespace changes
14274         * all the other files from the change on 2001/11/26:
14275         change *::pos_type into lyx::pos_type
14276
14277 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14278
14279         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14280         language of the document when inserting error insets.
14281
14282 2001-11-26  André Pönitz <poenitz@gmx.net>
14283
14284         * BufferView_pimpl.[Ch]:
14285         *       CutAndPaste.C:
14286         * buffer.[Ch]:
14287         * lyxcursor.[Ch]:
14288         * lyxfind.C:
14289         * lyxfunc.C:
14290         * lyxrow.[Ch]:
14291         * paragraph.[Ch]:
14292         * paragraph_pimpl.[Ch]:
14293         * sp_spell.C:
14294         * text.C:
14295         * text2.C: reduce header dependencies, introduce type for positions
14296
14297 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14298
14299         * <various>: change to use Alert.h
14300
14301 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14302
14303         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14304         when encountering an unknown token.
14305         (readLyXformat2): Show an error message if there were unknown tokens.
14306
14307 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14308
14309         * BufferView2.C:
14310         * BufferView_pimpl.C:
14311         * buffer.C:
14312         * paragraph.h:
14313         * text.C:
14314         * text2.C: use par->isInset()
14315
14316 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14317
14318         * paragraph_pimpl.h:
14319         * paragraph_pimpl.C: cleanup
14320
14321 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14322
14323         * text2.C (removeRow):
14324         * text.C (setHeightOfRow): remove useless (and costly) call to
14325         getRow.
14326
14327 2001-11-20  Allan Rae  <rae@lyx.org>
14328
14329         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14330         Now need Inset*::checkInsertChar() to return true for appropriate
14331         cases so that the characters in the minibuffer will actually be
14332         inserted.
14333
14334 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14335
14336         * text.C: change the order of the includes.
14337         (workWidth): initialize it at once.
14338         (workWidth): make maxw unsigned
14339         (setHeightOfRow): remove unused variable (inset)
14340         (selectSelectedWord): remove unused variable (inset)
14341         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14342
14343 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14344
14345         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14346         server is not running.
14347         (openConnection):
14348         (closeConnection): add debug info when server is disabled.
14349
14350         * ColorHandler.C (getGCForeground): send debug message to GUI
14351         channel.
14352
14353         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14354
14355         * kbmap.C (bind): modify because return conventions of
14356         kb_sequence::parse have changed.
14357
14358         * kbsequence.C (parse): only ignore spaces and not any stupid
14359         control character. This avoids tests like s[i] <= ' ', which are
14360         guaranteed to fail with 8bit characters and signed chars.
14361         Change return code to string::npos when there have been no error
14362         (0 was a bad idea when error is at first character)
14363
14364 2001-11-14  José Matos  <jamatos@fep.up.pt>
14365
14366         * buffer.h:
14367         * buffer.C (simpleDocBookOnePar): removed unused argument.
14368
14369 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14370
14371         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14372         insets which are part of a word. Paragraph::isLetter takes care of
14373         that now. Use Paragraph::isInset to identify insets.
14374         (selectSelectedWord): do not test for hyphenation break.
14375
14376         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14377         that protected spaces are considered as spaces.
14378
14379         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14380         Inset::isLetter.
14381
14382 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14383
14384         * lyxserver.h:
14385         * lyxserver.C: fix it. and small cleanup.
14386
14387 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14388
14389         * BufferView_pimpl.C: use inline helpers
14390
14391         * LaTeXFeatures.h:
14392         * LaTeXFeatures.C: fix typos
14393
14394         * Spacing.h:
14395         * Spacing.C: move spacing_string into class
14396
14397         * ToolbarDefaults.C: move stuff into namespace anon
14398
14399         * layout.h: update enum
14400
14401         * lyxfunc.C: use better debug
14402
14403         * minibuffer.h: fix typo
14404
14405         * debug.h:
14406         * debug.C:
14407         * WorkArea.C: add and use Debug::WORKAREA
14408
14409         * lyxtext.h:
14410         * text.C:
14411         * text2.C: code re-organisation, inline helpers
14412
14413 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14414
14415         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14416         std::vector.empty().
14417
14418 2001-11-09  Allan Rae  <rae@lyx.org>
14419
14420         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14421         '\n's after tables.  Tabular and ERT inset work now makes this no
14422         longer necessary.
14423
14424 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14425
14426         * minibuffer.h:
14427         * minibuffer.C: fix crash, improve drop-down completion
14428
14429 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14430
14431         * lyxserver.h:
14432         * lyxserver.C: invalidate fd's when doing endPipe()
14433
14434 2001-11-08  José Matos  <jamatos@fep.up.pt>
14435
14436         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14437         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14438
14439         * paragraph.h:
14440         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14441
14442 2001-11-07  José Matos  <jamatos@fep.up.pt>
14443
14444         * buffer.h:
14445         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14446         const qualifier.
14447
14448         * buffer.C (sgmlOpenTag):
14449         * buffer.C (sgmlCloseTag): removed debug info.
14450
14451         * buffer.h (sgmlOpenTag):
14452         * buffer.h (sgmlCloseTag): made public.
14453
14454 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14455
14456         * buffer.C (saveParamsAsDefaults):
14457         * lyx_cb.C (MenuLayoutSave): remove
14458
14459         * LyXAction.C (init):
14460         * commandtags.h:
14461         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14462
14463 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14464
14465         * buffer.C (setPaperStuff): removed from here...
14466
14467         * bufferparams.C (setPaperStuff): ... and moved there.
14468
14469 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14470
14471         * minibuffer.h:
14472         * minibuffer.C:
14473         * XFormsView.C: add support for drop-down completion
14474
14475 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14476
14477         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14478         commands.
14479
14480 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14481
14482         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14483         disabled.
14484
14485 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14486
14487         * lyx_main.C: change ref to known bugs
14488
14489 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14490
14491         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14492         to work around older babel problems.
14493
14494 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14495
14496         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14497
14498 2001-10-24  Juergen Vigna  <jug@sad.it>
14499
14500         * tabular-old.C (ReadOld): below variable changes reflected.
14501
14502         * tabular.[Ch]: added ltType struct for longtable header/footer
14503         defines and changed all instances where they are used. Added
14504         future support for double top/bottom rows.
14505
14506 2001-10-24  José Matos  <jamatos@fep.up.pt>
14507
14508         * buffer.h (docbookHandleCaption):
14509         * buffer.C (docbookHandleCaption): removed unused function.
14510         (makeDocBookFile): moved docbook supported version to v4.1.
14511
14512 2001-10-24  José Matos  <jamatos@fep.up.pt>
14513
14514         * tabular.h:
14515         * tabular.C (docbookRow): new function to export docbook code of a row.
14516         (DocBook): now honors the longtable flags.
14517
14518 2001-10-23  José Matos  <jamatos@fep.up.pt>
14519
14520         * LaTeXFeatures.h:
14521         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14522         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14523
14524         * buffer.C (makeLinuxDocFile):
14525         (makeDocBookFile): reworked the preamble, more clean, and with
14526         support for lyx defined entities. Changed the document declaration
14527         to be more XML friendly.
14528
14529         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14530         if we need to output XML that should be done with a filter.
14531
14532 2001-10-22  Juergen Vigna  <jug@sad.it>
14533
14534         * sp_pspell.h (class PSpell): add alive function needed in the
14535         controller to see if the spellchecker could be started.
14536
14537 2001-10-22  Juergen Vigna  <jug@sad.it>
14538
14539         * buffer.C (insertStringAsLines): modify the font for inserting
14540         chars in certain conditions by calling checkInsertChar(font).
14541
14542 2001-10-19  Juergen Vigna  <jug@sad.it>
14543
14544         * text.C (workWidth): use getRow instead of wrong algorithm.
14545         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14546
14547 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14548
14549         * lyxserver.h:
14550         * lyxserver.C:
14551         * lyx_main.h:
14552         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14553
14554 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14555
14556         * text.C (workWidth): do not search for the exact row when
14557         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14558         optimization for big documents.
14559
14560 2001-10-18  Juergen Vigna  <jug@sad.it>
14561
14562         * text.C (workWidth): new function with added Inset * parameter.
14563
14564 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14565
14566         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14567
14568         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14569         change return type of getColumnNearX.
14570
14571
14572         * text.C (changeRegionCase): use uppercase/lowercase instead of
14573         toupper/tolower.
14574         (leftMargin):
14575         (rightMargin): simplify code by factoring out the uses of
14576         textclasslist.
14577         (labelFill):
14578         (numberOfHfills):
14579         (setHeightOfRow):
14580         (appendParagraph): use Paragraph::size_type
14581
14582 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14583
14584         * vspace.C (asLatexString): add a missing break
14585
14586 2001-10-15  Herbert Voss  <voss@perce.de>
14587
14588         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14589
14590 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14591
14592         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14593         is not available.
14594
14595 2001-10-10  André Pönitz <poenitz@gmx.net>
14596
14597         * lyxfunc.C: removed greek_kb_flag.
14598
14599 2001-10-10  Herbert Voss  <voss@perce.de>
14600
14601         * lyx_main.C: delete global string help_lyxdir.
14602
14603 2001-10-09  Herbert Voss  <voss@perce.de>
14604
14605         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14606
14607         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14608
14609         * lyx_main.C: added global string help_lyxdir.
14610
14611         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14612
14613 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14614
14615         * lyxrc.C (set_font_norm_type): support iso8859-4
14616
14617 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14618
14619         * LaTeX.C (deplog): add another regex for MikTeX
14620
14621 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14622
14623         * lyxrc.C (set_font_norm_type): support iso8859-3
14624
14625 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14626
14627         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14628
14629         * LaTeXFeatures.C: remove special case of french and index
14630
14631         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14632         before \begin{document}). This solves several incompatibilities.
14633
14634 2001-10-03  Garst Reese  <reese@isn.net>
14635
14636         * lyx_cb.C: change CheckTex error msg.
14637
14638 2001-10-03  José Matos  <jamatos@fep.up.pt>
14639
14640         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14641
14642 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14643
14644         * .cvsignore: update
14645
14646         * lyx_main.C (commandLineVersionInfo): use new style version info.
14647
14648         * buffer.C (writeFile):
14649         (makeLaTeXFile):
14650         (makeLinuxDocFile):
14651         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14652
14653         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14654
14655         * version.h: update to use stuff in version.C
14656
14657         * version.C.in: new file. Contains version information determined
14658         at compile time. This is a merging of version.h and
14659         version_info.h.in.
14660
14661 2001-10-03  Juergen Vigna  <jug@sad.it>
14662
14663         * BufferView_pimpl.C (update): don't change "dirty" status in
14664         updateInset call.
14665
14666 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14667
14668         * WorkArea.C (c-tor): re-position version string slightly.
14669
14670 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14671
14672         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14673         revert to previous code.
14674
14675         WorkArea.[Ch]: (show, destroySplash): methods removed.
14676
14677         WorkArea.C: rework code so that it's an amalgam of the codes before and
14678         after the splash screen was moved to WorkArea.
14679
14680 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14681
14682         * lyxrc.C (read):
14683         * vspace.C (inPixels):
14684         (lyx_advance):
14685         * kbmap.C (bind):
14686         * buffer.C (insertStringAsLines):
14687         (asciiParagraph): fix types to be large enough
14688
14689         * lyxlex_pimpl.h: change member status from short to int
14690
14691         * layout.h: fix type of endlabeltype
14692
14693         * kbmap.C (bind):
14694         * kbsequence.C (parse): change return type to string::size_type
14695
14696         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14697         variable
14698
14699         * Bullet.C (bulletSize):
14700         (bulletEntry): do not use short ints as parameters
14701
14702         * BufferView2.C (insertLyXFile): change a char to an int.
14703
14704         * WorkArea.C (WorkArea): remove unneeded floats in computation
14705
14706 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14707
14708         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14709
14710         * paragraph.C (asString): Do not ignore newline/hfill chars when
14711         copying to the clipboard.
14712
14713 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14714
14715         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14716         after a multi-line inset.
14717
14718 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14719
14720         * paragraph.C (validate): Set NeedLyXFootnoteCode
14721
14722 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14723
14724         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14725         and decrease-error to decrease.
14726
14727 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14728
14729         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14730         it more readable (should be equivalent)
14731
14732 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14733
14734         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14735
14736 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14737
14738         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14739         of a cursor (row, etc.) after a character has been deleted
14740         (deleteEmptyParagraphMechanism): call the method above on _all_
14741         cursors held by the LyXText when a double space has been
14742         detected/deleted.
14743
14744 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14745
14746         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14747         pixmap.
14748         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14749
14750         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14751         background. Use greyOut() and the new show() methods to toggle between
14752         the foreground and background. Add code to remove the splash after
14753         its initial showing.
14754
14755         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14756         (create_forms): no longer call Dialogs::showSplash.
14757
14758 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14759
14760         * .cvsignore: add version_info.h
14761
14762 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14763
14764         * version_info.h.in: new file
14765
14766         * Makefile.am: add version_info.h.in
14767
14768         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14769         version_info.h instead of VERSION_INFO
14770
14771 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14772
14773         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14774         The ERT inset now returns string().
14775
14776 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14777
14778         * lyxtext.h, text.C (selectNextWord): renamed as
14779         selectNextWordToSpellcheck.
14780
14781         * text.C (selectNextWordToSpellcheck): Modified to not select
14782         words inside an ERT inset.
14783
14784 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14785
14786         * lyx_cb.C (MenuLayoutSave): change a bit the question
14787
14788         * sp_base.h: include <sys/types.h>
14789
14790 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14791
14792         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14793
14794 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14795
14796         * several files: fix typos in user-visible strings
14797
14798 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14799
14800         * text2.C (pasteSelection): do not set the selection, since it
14801         will be cleared later. Actually, the intent was to fix the way the
14802         selection was set, but I figured rmoving the code was just as good.
14803
14804 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14805
14806         * FontLoader.C (available): Check if font is available without
14807         loading the font.
14808
14809 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14810
14811         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14812
14813 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14814
14815         * lyxrc.[Ch]: added display_graphics variable and associated code.
14816
14817 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14818
14819         * bufferparams.C (hasClassDefaults): new method. Returns true if
14820         the buffer parameters correspond to known class defaults
14821
14822 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14823
14824         * XFormsView.C (show): set minimum size to the main window.
14825
14826 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14827
14828         * text2.C (copySelection):
14829         (cutSelection):
14830         * lyxfind.C (LyXReplace):
14831         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14832         LyXText::selectionAsString.
14833
14834         * paragraph.C (asString): add "label" argument to the second form
14835
14836         * text2.C (selectionAsString): add "label" argument and pass it to
14837         Paragraph::asString.
14838
14839 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14840
14841         * lyx_main.C (commandLineHelp): remove version information
14842
14843 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14844
14845         * lyx_main.C: add -version commandline option
14846
14847 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14848
14849         * paragraph.h: make the optional constructor arg required instead.
14850         some modifications to other files because of this.
14851
14852         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14853
14854         * lyxserver.C (C_LyXComm_callback): make it static
14855
14856         * lyx_main.C (error_handler): make it static
14857
14858         * lyx_gui.C (LyX_XErrHandler): make it static
14859
14860         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14861
14862         * WorkArea.C: make the extern "C" methods static.
14863
14864         * Makefile.am (lyx_LDADD): simplify
14865
14866 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14867
14868         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14869         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14870
14871         * LyXAction.C (init):
14872         * lyxfunc.C (dispatch): associated code removal.
14873
14874 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14875
14876         * lyxfont.h (isSymbolFont): shut off warning
14877
14878         * text.C (setHeightOfRow):
14879         (getVisibleRow): fix crash with empty paragraphs which have a
14880         bottom line
14881
14882 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14883
14884         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14885         code.
14886
14887 2001-09-04  José Matos  <jamatos@fep.up.pt>
14888         * buffer.C
14889         * buffer.h
14890         * tabular.C (docbook): rename docBook method to docbook.
14891
14892 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14893
14894         * Makefile.am: add dependencies to main.o.
14895
14896 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14897
14898         * FontLoader.C (available): Return false if !lyxrc.use_gui
14899
14900 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14901
14902         * FontInfo.C (query):
14903         * converter.C (view):
14904         * importer.C (Import):
14905         * exporter.C (Export): Can not -> cannot.
14906
14907 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14908
14909         * BufferView_pimpl.C: allow to create index inset even if
14910           string is empty
14911
14912 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14913
14914         * buffer.C (getLists): replace boost::tie code with an explicit pair
14915         as boost::tie can break some compilers.
14916
14917         * iterators.h: Added a std:: declaration to the return type of
14918         ParIterator::size.
14919
14920 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14921
14922         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14923           case.
14924
14925 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14926
14927         * iterators.[Ch]: New files. Provide paragraph iterators.
14928
14929         * buffer.C (changeLanguage): Use paragraph iterators.
14930         (isMultiLingual): ditto
14931
14932         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14933
14934 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14935
14936         * FontLoader.C: Support for cmr font.
14937
14938 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14939
14940         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14941         (available): New method.
14942
14943         * FontInfo.C (getFontname): Use scalable fonts even when
14944         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14945         found.
14946
14947 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14948
14949         * converter.C (Formats::view): reverted! Incorrect fix.
14950
14951 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14952
14953         * converter.C (Formats::view): only output the -paper option
14954         if the dvi viewer is xdvi, thereby fixing bug #233429.
14955
14956 2001-08-23  Herbert Voss  <voss@perce>
14957
14958         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14959
14960 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14961
14962         * Spacing.h (Spacing): Set space to Default on in the default
14963         constructor.
14964
14965 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14966
14967         * vc-backend.h (RCS::versionString): add RCS to version
14968         (CVS::versionString): add CVS to version
14969
14970         * vc-backend.C (scanMaster): do not add CVS to version.
14971         (scanMaster): do not add RCS to version
14972
14973         * lyxvc.C (versionString): new method
14974
14975         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14976
14977 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14978
14979         * Spacing.C (set): initialize fval
14980
14981 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14982
14983         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14984         " or \.
14985
14986 2001-08-16  Juergen Vigna  <jug@sad.it>
14987
14988         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14989
14990 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14991
14992         * BufferView_pimpl.C:
14993         * figureForm.C:
14994         * lyxtext.h:
14995         * text2.C: setParagraph takes linespacing now
14996
14997 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14998
14999         * LyxAction.C: add internal LFUN_CITATION_INSERT
15000
15001         * LyXView.C: actually apply fix
15002
15003         * bufferlist.C: fix open non-existent file
15004
15005         * lyxfind.C: fix indentation
15006
15007         * lyxfunc.C: remove unneeded assert, fix typo
15008
15009 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15010
15011         * MenuBackend.C: use "Floatname List"
15012
15013 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15014
15015         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15016         when converting LaTeX layout to insetERT.
15017         Generate a non-collapsed float when reading old float
15018
15019 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15020
15021         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15022         ERT insets.
15023
15024 2001-08-13  Juergen Vigna  <jug@sad.it>
15025
15026         * text.C (fill): return 0 instead of 20 as this seems to be the more
15027         correct value.
15028
15029 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15030
15031         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15032         lyxrc.font_norm.
15033
15034 2001-08-13  Juergen Vigna  <jug@sad.it>
15035
15036         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15037         casesensitive off.
15038         (SearchBackward): comment out the unlocking of the inset_owner this
15039         should not be needed!
15040
15041 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15042
15043         * Many files: Remove inherit_language, and add latex_language
15044
15045         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15046         collapsible insets.
15047
15048 2001-08-10  Juergen Vigna  <jug@sad.it>
15049
15050         * text.C (prepareToPrint): fixed hfill-width in draw!
15051
15052         * BufferView2.C (selectLastWord): save the selection cursor as this
15053         now is cleared in the function LyXText::clearSelection!
15054
15055 2001-08-08  Juergen Vigna  <jug@sad.it>
15056
15057         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15058         BACKSPACE type functions.
15059
15060         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15061         is only cutted from the document but not put in the cut-buffer, where
15062         still the old stuff should be.
15063
15064         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15065
15066         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15067
15068         * tabular.C (SetWidthOfCell): fixed special case where the width
15069         was not updated!
15070         (LeftLine): handle '|' in align_special.
15071         (RightLine): ditto
15072         (LeftAlreadyDrawed): ditto
15073         (SetWidthOfCell): ditto
15074
15075 2001-08-07  Juergen Vigna  <jug@sad.it>
15076
15077         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15078
15079 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15080
15081         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15082         * lyxlex.[hC]: ditto
15083
15084 2001-08-06  Juergen Vigna  <jug@sad.it>
15085
15086         * text.C (getVisibleRow): fix up row clearing a bit.
15087
15088 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15089
15090         * minibuffer.C: make sure the X server sees the changes in the input.
15091
15092 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15093
15094         * paragraph.C (getFont): split into...
15095         (getLabelFont): this
15096         (getLayoutFont): and this
15097         * paragraph_pimpl.C (realizeFont): calling this
15098
15099         * text2.C (getFont): split into...
15100         (getLayoutFont): this
15101         (getLabelFont): and this
15102         (realizeFont): all three calling this
15103
15104         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15105         files where used.
15106
15107 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15108
15109         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15110
15111 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15112
15113         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15114         layouts from the Quote inset insertion.
15115
15116 2001-08-03  Juergen Vigna  <jug@sad.it>
15117
15118         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15119
15120         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15121         only if status not is already CHANGED_IN_DRAW (second level).
15122
15123         * text.C (draw): don't set the need_break_row when inside an
15124         InsetText LyXText.
15125
15126 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15127
15128         * buffer.C (parseSingleLyXformat2Token): handle more latex
15129         conversion cases.
15130
15131         * bufferview_funcs.[hC]: change function names to
15132         begin with small char, adjust other files.
15133
15134 2001-08-02  André Pönitz <poenitz@gmx.net>
15135
15136         * lyxfunc.C:
15137         BufferView_pimpl.C: remove broken special code for math-greek
15138
15139 2001-08-02  Juergen Vigna  <jug@sad.it>
15140
15141         * BufferView_pimpl.C (update): redone this function so that we
15142         update the text again if there was a CHANGE_IN_DRAW.
15143
15144         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15145         (drawFromTo): added a new internal bool which is used by draw() and
15146         redraw() function.
15147         (general): some cursor drawing problems fixed.
15148
15149 2001-08-01  Juergen Vigna  <jug@sad.it>
15150
15151         * lyxfind.C (LyXFind): fixed
15152         (SearchForward): ditto
15153         (SearchBackward): ditto
15154
15155         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15156         spurius drawing of the cursor in the main area.
15157
15158         * text2.C (status): small fix which could lead to a segfault!
15159         (clearSelection): remove unneeded BufferView param.
15160
15161 2001-08-01  André Pönitz <poenitz@gmx.net>
15162
15163         * lyxfunc.C: small change due to changed mathed interface
15164
15165 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15166
15167         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15168
15169 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15170
15171         * lyxfunc.c: fail gracefully if file doesn't exist
15172
15173         * LyXSendto.C:
15174         * buffer.C:
15175         * lyxfunc.C:
15176         * BufferView_pimpl.C: IsDirWriteable() proto changed
15177
15178         * LyXView.C: fix updateWindowTitle() to store the last title
15179
15180 2001-07-31  Juergen Vigna  <jug@sad.it>
15181
15182         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15183         the font (wrong since using of Paragraph::highestFontInRange).
15184
15185         * paragraph.C (highestFontInRange): added a default_size parameter.
15186
15187         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15188         (setHeightOfRow): reformat
15189
15190 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15191
15192         * converter.[hC] + affected files: move to (inital-char)lowercase
15193         function names.
15194
15195         * ParagraphParameters.C (ParagraphParameters): remove commented code
15196
15197         * PainterBase.[Ch]: remove commented code
15198
15199         * LaTeXFeatures.h: add "bool floats" for float.sty
15200
15201         * LaTeXFeatures.C (LaTeXFeatures): init floats
15202         (require): handle float
15203         (getPackages): do it with floats
15204
15205 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15206
15207         * BufferView_pimpl.C (Dispatch): improve handling of
15208         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15209
15210         * commandtags.h: #include lyxfont.h here temporarily to avoid
15211         keybinding bug.
15212
15213         * bufferlist.h: include LString.h here.
15214
15215 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15216
15217         * text2.C (getStringToIndex): new method.
15218
15219 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15220
15221         * *: Reduced header file dependencies all over.
15222
15223 2001-07-30  Baruch Even  <baruch@lyx.org>
15224
15225         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15226
15227 2001-07-29  Baruch Even  <baruch@lyx.org>
15228
15229         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15230
15231 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15232
15233         * ParameterStruct.h (endif): add a default constructor to make
15234         sure that all variables is initialized.
15235
15236         * ParagraphParameters.C (ParagraphParameters): adjust
15237
15238 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15239
15240         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15241         index; also, check that there is something to index, and that it
15242         does not span over several paragraphs.
15243         (doubleClick): use WHOLE_WORD_STRICT for double click.
15244
15245         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15246
15247         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15248         scheme.
15249
15250 2001-07-26  Baruch Even  <baruch@lyx.org>
15251
15252         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15253         an InsetFig figure, backwards compatible reading of old figure code.
15254
15255 2001-07-27  Juergen Vigna  <jug@sad.it>
15256
15257         * text2.C: font.realize function adaption.
15258
15259         * text.C (draw): add a warnings lyxerr text if needed.
15260
15261         * layout.C: font.realize function adaption.
15262
15263         * language.C: add inherit_language and implement it's handlings
15264
15265         * bufferview_funcs.C (StyleReset): remove language parameter from
15266         font creation (should be language_inherit now).
15267
15268         * bufferparams.C (writeFile): handle ignore_language.
15269
15270         * paragraph.C (getFontSettings): the language has to be resolved
15271         otherwise we have problems in LyXFont!
15272
15273         * lyxfont.C (lyxWriteChanges): added document_language parameter
15274         (update): removed unneeded language parameter
15275
15276         * paragraph.C (validate): fixed wrong output of color-package when
15277         using interface colors for certain fonts in certain environments,
15278         which should not seen as that on the final output.
15279
15280 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15281
15282         * BufferView_pimpl.C:
15283         * Thesaurus.h:
15284         * Thesaurus.C:
15285         * Makefile.am:
15286         * commandtags.h:
15287         * LyXAction.C: add thesaurus support
15288
15289         * lyxfind.h:
15290         * lyxfind.C: add "once" parameter, for thesaurus, to not
15291           move to the next match
15292
15293 2001-07-26  Juergen Vigna  <jug@sad.it>
15294
15295         * lyxfont.C (realize): honor ignore_language too!
15296         (resolved): ditto.
15297
15298         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15299
15300         * text.C (draw): one place more for ignore_language to not draw
15301         itself!
15302
15303 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15304
15305         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15306
15307 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15308
15309         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15310         the minipage conversion problem.
15311
15312 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15313
15314         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15315         insert an inset.
15316
15317 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15318
15319         * BufferView.h: don't forward declare WorkArea
15320
15321         * BufferView.C: don't include WorkArea.h
15322
15323 2001-07-25  André Pönitz <poenitz@gmx.net>
15324
15325         * commandtags.h:
15326         * LyXAction.C:
15327         * lyxfunc.C:  new LFUN 'math-space'
15328
15329         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15330
15331 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15332
15333         * text2.C (toggleInset): call open/close
15334
15335 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15336
15337         * lyxfunc.C (dispatch): add debug for the disabled case
15338
15339         * font.C (buttonText): make similar to rectText
15340
15341         * buffer.C (readInset): comment out parsing of insetlist and
15342         insttheorem
15343
15344         * PainterBase.C (rectText): small correction
15345
15346         * BufferView_pimpl.C: comment out insettheorem and insetlist
15347         * LyXAction.C: ditto
15348         * commandtags.h: ditto
15349
15350 2001-07-24  Juergen Vigna  <jug@sad.it>
15351
15352         * text.C (draw): honor the ignore_language.
15353
15354         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15355
15356 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15357
15358         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15359         char inset.
15360
15361 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15362
15363         * lyxtext.h: remove unused (and unimplemented) methods
15364
15365 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15366
15367         * text.C (getVisibleRow): honor background color
15368
15369         * PainterBase.h:
15370         * Painter.h: remove default color argument for fillRectangle
15371
15372         * text.C (backgroundColor): new method
15373
15374 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15375
15376         * text.C (getVisibleRow): adjust
15377
15378         * font.[Ch] (rectText): new method, metrics
15379         (buttonText): new method, metrics
15380
15381         * PainterBase.[hC]: make rectText and buttonText always draw and take
15382         fewer paramteres.
15383
15384 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15385
15386         * ToolbarDefaults.C (read):
15387         * MenuBackend.C (read): allow escaping in all strings
15388
15389         * BufferView_pimpl.C (insertAndEditInset): new method.
15390         (Dispatch): use insertAndEditInset whenever appropriate.
15391
15392         * BufferView_pimpl.C (insertNote): removed
15393
15394         * BufferView_pimpl.C (smartQuote): new method, moved from
15395         BufferView; if an insetquote cannot be inserted, insert a '"'
15396         character instead.
15397
15398         * BufferView2.C: remove insertCorrectQuote();
15399
15400         * lyxfunc.C (getStatus): Add support for all remaingin
15401         inset-insert lfuns.
15402
15403         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15404
15405         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15406         command (necessary to pass " as parameter of self-insert.
15407
15408         * text.C (selectWordWhenUnderCursor):
15409         (selectWord): add word_location parameter
15410         (selectWordWhenUnderCursor): same + remove special code for word
15411         boundary.
15412         (selectNextWord): use kind() to guess type of insetspecialchar,
15413         not latex().
15414
15415         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15416         (insertErtContents): create ert insets as collapsed.
15417         (readInset): better compatibility code for Info inset.
15418
15419 2001-07-20  Juergen Vigna  <jug@sad.it>
15420
15421         * lyxfunc.C (dispatch): use always LyXFind now!
15422
15423         * text2.C (init): add a reinit flag so that the LyXText can be
15424         reinited instead of deleted and reallocated (used in InsetText).
15425
15426         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15427
15428         * text.C: ditto
15429
15430         * text2.C: ditto
15431
15432 2001-07-18  Juergen Vigna  <jug@sad.it>
15433
15434         * text.C (selectNextWord): handle insets inside inset by calling
15435         always the bv->text functions so that we can go up the_locking_inset!
15436
15437         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15438         in strange locations when inside an inset!
15439
15440         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15441         handling to include insets.
15442
15443         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15444
15445 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15446
15447         * LyXAction.C (init):
15448         * commandtags.h:
15449         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15450         LIGATURE_BREAK, since the name is so stupid.
15451
15452 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15453
15454         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15455         InsetInfos.
15456
15457         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15458
15459         * sp_form.[Ch]: remove.
15460
15461         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15462
15463         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15464         InsetInfo.
15465
15466         * src/buffer.C (readInset): ditto.
15467
15468 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15469
15470         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15471         menuSeparator(), endOfSentenceDot(), ldots() and
15472         hyphenationPoint(), which are therefore removed.
15473         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15474
15475         * LyXAction.C (init):
15476         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15477
15478         * paragraph.C (getWord): removed.
15479
15480         * BufferView_pimpl.C (Dispatch): use last word or selection for
15481         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15482
15483         * lyx_main.C (queryUserLyXDir): do not ask before creating
15484         user_dir, except if it has been named explicitely.
15485
15486 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15487
15488         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15489         a document of zero size.
15490
15491 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15492
15493         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15494         approriately in the c-tor and in require().
15495         (getPackages): output the appropriate LaTeX for natbib support.
15496
15497         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15498         variables "use_natbib" and "use_numerical_citations" when reading the
15499         LyX file.
15500         (readInset): read the various natbib cite commands.
15501         (validate): white-space change.
15502
15503         * bufferparams.[Ch]: new variables "bool use_natbib" and
15504         "bool use_numerical_citations".
15505         (writeFile): output them in the LyX file.
15506
15507 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15508
15509         * lyxfunc.C (getStatus): add support for all the inset insertion
15510         commands.
15511
15512         * text2.C (insertInset):
15513         * paragraph.C (insetAllowed):
15514         * BufferView_pimpl.C (insertInset): update to take in account the
15515         renaming of insertInsetAllowed
15516
15517         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15518
15519         * text2.C (getInset): new method. returns inset at cursor position.
15520
15521         * BufferView_pimpl.C (Dispatch): changes because of this.
15522
15523         * LyXAction.C (init): rename open-stuff to inset-toggle.
15524
15525         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15526
15527         * text2.C (toggleInset): renamed from openStuff; use
15528         Inset::open().
15529
15530 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15531
15532         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15533
15534         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15535
15536 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15537
15538         * buffer.C (readLyXformat2): Add filename to the error dialog
15539
15540 2001-07-18  Juergen Vigna  <jug@sad.it>
15541
15542         * tabular.C (GetCellNumber): put an assert here instead of the check!
15543
15544 2001-07-17  Juergen Vigna  <jug@sad.it>
15545
15546         * BufferView_pimpl.C (toggleSelection): adapted too.
15547
15548         * text.C (selectNextWord): adapted for use with insets.
15549         (selectSelectedWord): ditto
15550
15551 2001-07-17  Juergen Vigna  <jug@sad.it>
15552
15553         * sp_spell.C (PSpell): fix initialitation order.
15554
15555 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15556
15557         * paragraph.C: spacing
15558
15559 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15560
15561         * sp_spell.C: repair language selection for pspell
15562
15563 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15564
15565         * lyxfunc.h: change more methods to begin with lower char.
15566
15567 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15568
15569         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15570         for unknown layouts.
15571
15572 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15573
15574         * buffer.C (readLyXformat2): Generate an error dialog if there are
15575         unknown layouts.
15576
15577 2001-07-16  Juergen Vigna  <jug@sad.it>
15578
15579         * sp_spell.C: always compile ISpell part.
15580
15581         * lyxrc.C: added use_pspell entry and it's handling.
15582
15583 2001-07-13  Juergen Vigna  <jug@sad.it>
15584
15585         * sp_spell.C: removed double includes.
15586
15587 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15588
15589         Consistent use of Lsstream.h:
15590         * Lsstream.h: added using std::stringstream for consistencies sake.
15591
15592         * buffer.C: removed using std::stringstream
15593
15594         * lyxfont.C (stateText):
15595         * paragraph.C (asString):
15596         * text.C (selectNextWord, selectSelectedWord):
15597         * text2.C (setCounter):
15598         * vspace.C (asString, asLatexString):
15599         std::ostringstream -> ostringstream.
15600
15601 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15602
15603         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15604         * commandtags.h: add LFUN_HELP_ABOUTLYX
15605         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15606
15607 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15608
15609         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15610         cursorToggle()
15611         * lyx_gui_misc.C: remove spellchecker
15612         * lyxfunc.C: showSpellchecker
15613         * sp_base.h: added
15614         * sp_ispell.h: added
15615         * sp_pspell.h: added
15616         * sp_spell.C: added
15617         * sp_form.[Ch]: removed
15618         * spellchecker.[Ch]: removed
15619
15620 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15621
15622         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15623         is set.
15624         (simpleTeXSpecialChars): Simply print the input character without
15625         any special translation if pass_thru is set.
15626
15627         * layout.h: Added bool pass_thru to layout class for being able to
15628         implement pass through of a paragraph for Literate Programming.
15629
15630         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15631         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15632         * layout.C (Read): add "passthru" to list of layout tags and add
15633         code to set the pass_thru boolean when it is read.
15634
15635 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15636
15637         * trans_decl.h: remove allowed from KmodInfo
15638
15639         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15640         remove allowed code
15641         (Load): adjust
15642
15643         * paragraph_pimpl.C (erase): use boost::prior
15644
15645         * Painter.C (text): use data() instead of c_str() when length is
15646         also provided.
15647         * WorkArea.C (putClipboard): ditto
15648         * font.h (width): ditto
15649
15650         * BufferView2.C: use it-> instead of (*it). for iterators
15651         * texrow.C: ditto
15652         * paragraph_pimpl.C: ditto
15653         * paragraph.C: ditto
15654         * minibuffer.C: ditto
15655         * language.C: ditto
15656         * kbmap.C: ditto
15657         * encoding.C: ditto
15658         * counters.C: ditto
15659         * converter.C: ditto
15660         * chset.C: ditto
15661         * Variables.C: ditto
15662         * TextCache.C: ditto
15663         * MenuBackend.C: ditto
15664         * LyXAction.C: ditto
15665         * LColor.C: ditto
15666         * FloatList.C: ditto
15667         * DepTable.C: ditto
15668         * ColorHandler.C (LyXColorHandler): ditto
15669
15670 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15671
15672         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15673
15674         * text2.C (openStuff): reintroduce this method (which had been
15675         nuked in NEW_INSETS frenzy).
15676
15677         * lyxfunc.C (Dispatch): when an action has not been handled, use
15678         its name in the error message, not its number.
15679
15680         * paragraph.C (inInset): change method name to begin with lowercase.
15681
15682         * undo_funcs.C:
15683         * text2.C: updates because of this.
15684
15685 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15686
15687         * ToolbarDefaults.C (add): add spaces in error message
15688
15689 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15690
15691         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15692         (readLyXformat2): rename return_par to first_par, use lyxlex's
15693         pushToken and remove the manual push handling.
15694         (parseSingleLyXformat2Token): add another ert comp. variable:
15695         in_tabular, rename return_par to first_par. handle newlines better
15696
15697 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15698
15699         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15700
15701 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15702
15703         * text2.C (getParFromID): removed
15704
15705         * buffer.C (getParFromID): new method moved form lyxtext.
15706         * BufferView2.C (insertErrors): adjust
15707         (setCursorFromRow): adjust
15708         * BufferView_pimpl.C (restorePosition): adjust
15709         * lyxfunc.C (Dispatch): adjust
15710         * undo_funcs.C (textUndo): adjust
15711         (textRedo): adjust
15712         (textHandleUndo): adjust
15713         (textHandleUndo): adjust
15714
15715 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15716
15717         * buffer.C: up' the LYX_FORMAT
15718
15719         * lyxfont.h: turn NO_LATEX on as default
15720
15721         * buffer.C (insertErtContents): new methods of tex style compability.
15722         (parseSingleLyXformat2Token): use it several places.
15723         * tabular.C (OldFormatRead): and here
15724
15725 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15726
15727         * text2.C: remove some commented code.
15728         reindent file.
15729
15730         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15731         * trans.C: changes because of the above.
15732
15733 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15734
15735         * text2.C (setCounter): Fix counters bug with bibliography layout.
15736
15737 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15738
15739         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15740         own member functions
15741         (simpleTeXSpecialChars): ditto
15742
15743 2001-07-06  Juergen Vigna  <jug@sad.it>
15744
15745         * a lot of files: changed the access to LyXText::status and the
15746         call of undo-functions.
15747
15748         * undo.[Ch]: added a inset_id to the undo informations.
15749
15750         * undo_funcs.[Ch]: added and moved here all undo functions.
15751
15752         * lyxtext.h: give the status enum a weight, made status_ a private
15753         variable and made accessor functions for it, removed the whole bunch
15754         of undo-functions as they are now in their own file, make some
15755         functions publically available. Added function ownerParagraph with
15756         int parameter.
15757
15758         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15759         made InInset() a const function, added getParFromID() function.
15760
15761         * buffer.[Ch]: added const version for inset_iterator functions,
15762         added getInsetFromID() function.
15763
15764         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15765         changed undo functions for new version.
15766
15767 2001-07-05  Juergen Vigna  <jug@sad.it>
15768
15769         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15770         unknow mechanism does not call the proper constructor but only this
15771         one also if I request the other!?
15772
15773 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15774
15775         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15776
15777         * text2.C (LyXText): use initialization lists.
15778
15779         * lyxtext.h (Selection): initialize set_ and mark_
15780         (init): remove method
15781
15782 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15783
15784         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15785
15786 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15787
15788         * screen.[Ch]: change method names to begin with lowercase
15789
15790         * BufferView_pimpl.C (updateScrollbar): simplify further and
15791         hopefully make it a bit faster.
15792
15793 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15794
15795         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15796         calling directly xforms functions.
15797
15798         * Painter.C (Painter):
15799         * lyx_cb.C (MenuWrite):
15800         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15801         fl_display.
15802
15803         * lyx_gui.C: remove bogus guiruntime extern declaration.
15804
15805 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15806
15807         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15808         in NEW_INSETS
15809         (redoDrawingOfParagraph): ditto
15810         (redoParagraphs): ditto
15811         (cutSelection): don't create a object for CutAndPaste use the
15812         static method directly
15813         (pasteSelection): ditto
15814
15815         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15816         LyXview (+ rename)
15817
15818 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15819
15820         * modifications to some other files because of this.
15821
15822         * Makefile.am (lyx_SOURCES): add XFormsView
15823
15824         * XFormsView.[Ch]: new files
15825
15826         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15827         the main window. Move the gui dependent stuff to XFormsView
15828
15829 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15830
15831         * tabular.C (GetCellInset): update cur_cell also in the row/col
15832         version of this function.
15833
15834         * lyxfunc.C: no need to include figure_form.h here.
15835
15836         * FontLoader.h:
15837         * lyxfunc.h:
15838         * lyxscreen.h:
15839         * text2.C:
15840         * lyxvc.C: no need to include forms.h here.
15841
15842 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15843
15844         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15845
15846         * lyxfunc.C (Dispatch):
15847         * Spacing.C (set):
15848         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15849         constructor argument.
15850
15851 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15852
15853         * paragraph.C (Paragraph): dont't clear, and just set layout.
15854         (makeSameLayout): use params's copy contructor.
15855
15856         * ParagraphParameters.[Ch] (makeSame): delete method
15857
15858 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15859
15860         * Variables.[Ch]: fix indentation, rename set to isSet
15861
15862 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15863
15864         * lyxfunc.C (Dispatch): fix typo
15865
15866 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15867
15868         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15869         upper_bound.
15870
15871         * bufferlist.C: include assert.h for emergencyWrite().
15872
15873 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15874
15875         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15876           give up at last (bug #425202) !
15877
15878 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15879
15880         * lyx_gui_misc.C:
15881         * sp_form.h:
15882         * sp_form.C:
15883         * spellchecker.h:
15884         * spellchecker.C: strip spellchecker options and bring up
15885           preferences tab instead
15886
15887 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15888
15889         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15890         the istringstream constructor
15891
15892 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15893
15894         * paragraph.C (getLayout): fix return value
15895
15896         * paragraph.h: do not declare getLayout as inline.
15897
15898         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15899
15900 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15901
15902         * lyxcursor.h (operator<): new func
15903         (operator>): new func
15904         (operator>=): new func
15905         (operator<=): new func
15906
15907         * text.C (changeCase): use selection.start and selection.end
15908         (changeRegionCase): require from to be <= to. Require par to be a
15909         valid paragraph.
15910
15911         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15912
15913 2001-06-27  Juergen Vigna  <jug@sad.it>
15914
15915         * text.C (cursorLeftOneWord): changed to return the cursor and added
15916         overlay with BufferView * parameter which calls this one.
15917         (getWord): added
15918         (selectWord): use new getWord function.
15919         (changeCase): renamed from changeWordCase as and extended to work
15920         also on selections.
15921
15922         * lyxtext.h: added enum word_location
15923
15924         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15925         changeCase as this operates now also on selections.
15926
15927 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15928
15929         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15930
15931         * many files: send debug output to Debug::INFO instead of
15932         Debug::ANY.
15933
15934         * converter.C (View):
15935         (Convert):
15936         (Move): send debug output to Debug::FILES instead of console.
15937
15938 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15939
15940         * lyxfunc.C (getStatus): use func_status
15941
15942         * func_status.h: new header, describing the results of
15943         LyXFunc::getStatus;
15944
15945         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15946         LFUN_MATH_HALIGN.
15947
15948 2001-06-25  The LyX Project  <jug@sad.it>
15949
15950         * buffer.C (sgmlOpenTag):
15951         (sgmlCloseTag):
15952         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15953
15954 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15955
15956         * text2.C: remove some dead code
15957
15958         * tabular.C (GetCellInset): store the last cell checked (gotten)
15959
15960         * tabular.h: add the helper for the speedup
15961
15962         * lyxtext.h: remove some dead code
15963
15964 2001-06-26  The LyX Project  <Asger>
15965
15966         * paragraph.C: Change export to LaTeX of alignment to
15967         \begin{center} and family for better roundtrip work with reLyX.
15968
15969         * Tune the math drawing a bit.
15970
15971 2001-06-25  The LyX Project  <Asger>
15972
15973         * LColor.C (LColor): New color for math background. New color
15974         for buttons.
15975
15976 2001-06-25  The LyX Project  <jug@sad.it>
15977
15978         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15979
15980         * lyxfunc.C (Open):
15981         * bufferlist.C (newFile): do not restrict to files ending with
15982         .lyx
15983
15984         * BufferView_pimpl.C (MenuInsertLyXFile):
15985
15986 2001-06-24  The LyX Project  <jug@sad.it>
15987
15988         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15989         of compare_no_case
15990
15991 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15992
15993         * lyxtext.h: rename most methods to begin with a small char.
15994         Lots of changes because of this.
15995
15996         * paragraph.C (Paragraph): do not call fitToSize
15997         (erase): call Pimpl::erase
15998         (insertChar): call Pimpl::insertChar
15999         (insertInset): call Pipl::insertInset
16000         (breakParagraph): do not call fitToSize
16001         (breakParagraphConservative): do not call fitToSize
16002         (fitToSize): remove method
16003
16004         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16005
16006 2001-06-24  The LyX Project  <Asger>
16007
16008         * Fix Qt compilation^2
16009
16010 2001-06-24  The LyX Project  <jug@sad.it>
16011
16012         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16013         depthHook(getDepth()-1).
16014
16015         * paragraph.h:
16016         * ParagraphParameters.h:
16017         * ParameterStruct.h: change type of depth to unsigned int ==
16018         depth_type. Many adaptations to other files before of that.
16019
16020 2001-06-24  The LyX Project  <Asger>
16021
16022         * Fix Qt compilation.
16023
16024 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16025
16026         * paragraph.h: renamed several methods to begin with small letter.
16027         several changes to many parts of the code because of this.
16028
16029 2001-06-23  The LyX Project  <jug@sad.it>
16030
16031         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16032         rewritten to discard all double spaces when KeepEmpty is off
16033         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16034         to only handle newlines but not fiddle with spaces and friends.
16035
16036         * lyxfunc.C (MenuNew): when doing 'new from template', use
16037         template_path as default directory
16038
16039 2001-06-23  The LyX Project  <Asger>
16040
16041         * Clean-up of header file includes all over
16042         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16043
16044 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16045
16046         * paragraph.h: renamed from lyxparagraph.h
16047
16048 2001-06-23  Asger  <lyx@violet.home.sad.it>
16049
16050         * Buffer.h: Removed Buffer::resize
16051         * BufferList.h: Removed BufferList::resize
16052         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16053         the document lazily when we change the width, or the font settings.
16054
16055 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16056
16057         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16058
16059 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16060
16061         * buffer.h: remove out of date comment
16062
16063 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16064
16065         * lyxscreen.h:
16066         * screen.C: fix "theoretical" GC leak
16067
16068 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16069
16070         * LaTeX.C (scanAuxFile):
16071         (deplog): remove trailing \r when reading stream (useful under
16072         win32)
16073
16074 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16075
16076         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16077         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16078         and BufferView::theLockingInset(Inset*), so should use them and not
16079         access bv_->text->the_locking_inset directly.
16080
16081         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16082
16083 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16084
16085         * Makefile.am:
16086         * tex-defs.h: remove old unused file
16087
16088 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16089
16090         * BufferView_pimpl.C: fix typo, remove minibuffer message
16091           when buffer has loaded
16092
16093 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16094
16095         * lyxfunc.C (Dispatch): use stringstream
16096         (MenuNew): use stringstream
16097         (Open): use stringstream
16098
16099         * importer.C (Import): use stringstream
16100
16101         * bufferview_funcs.C (CurrentState): use stringstream
16102
16103         * LaTeX.C (run): use stringstream
16104
16105         * BufferView_pimpl.C (savePosition): use stringstream
16106         (restorePosition): use stringstream
16107         (MenuInsertLyXFile): use stringstream
16108
16109 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16110
16111         * BufferView.C:
16112         * Bullet.C:
16113         * ColorHandler.C:
16114         * FontInfo.C:
16115         * FontLoader.C:
16116         * LColor.C:
16117         * LaTeXFeatures.C:
16118         * Painter.C:
16119         * gettext.C:
16120         * lyx_gui_misc.C:
16121         * lyxserver.C:
16122         * vspace.C: removed // -*- C++ -*- as first line.
16123
16124         * lyxfind.h:
16125         * version.h: added // -*- C++ -*- as first line.
16126
16127 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16128
16129         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16130
16131         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16132         of string
16133
16134 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16135
16136         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16137         of floats.
16138
16139 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16140
16141         * gettext.C: include LString.h even when --disable-nls is on.
16142
16143 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16144
16145         * converter.h (Get): changed argument type from int to
16146         FormatList::size_type to avoid unnecessary conversion.
16147
16148         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16149         before using it.
16150
16151 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16152
16153         * gettext.h: include LString.h even when --disable-nls is on.
16154
16155 2001-06-07  Juergen Vigna  <jug@sad.it>
16156
16157         * text.C (BreakAgain): subst spaces with tabs.
16158
16159         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16160         (resizeInsetsLyXText): set force on resizeLyXText.
16161
16162 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16163
16164         * gettext.h (gettext_init):
16165         (locale_init): use a real definition instead of a macro
16166
16167 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16168
16169         * Bufferview_pimpl.C:
16170         * LColor.h:
16171         * LColor.C: further lcolor tidies
16172
16173 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16174
16175         * BufferView_pimpl.C (updateScrollbar): simplify.
16176
16177         * BufferView2.C: don't include insets/insetinfo.h, change
16178         prototype for insertInset and call the Pimpl version. let
16179         updateInset call Pimpl version.
16180
16181         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16182         gotoInset to BufferView::Pimpl
16183
16184 2001-06-01  Juergen Vigna  <jug@sad.it>
16185
16186         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16187         inside a LockingInset (is the update needed at all?).
16188
16189 2001-05-31  Juergen Vigna  <jug@sad.it>
16190
16191         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16192         here not the old one otherwise how should we compare it afterwards
16193         if it's the same!
16194
16195 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16196
16197         * lyxfont.C:
16198         * tabular.C:
16199         * tabular-old.C:
16200         * FontInfo.C: bring C functions into global namespace when
16201         necessary
16202
16203 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16204
16205         * LString.h: make sure config.h has been loaded before LString.h.
16206
16207         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16208         (one for each char read by EatLine!).
16209
16210         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16211         variables.
16212
16213 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16214
16215         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16216         to the same as the par we break from
16217
16218 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16219
16220         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16221
16222         * MenuBackend.C (expand): also create menu entries for wide
16223         versions of the floats.
16224
16225         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16226
16227         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16228
16229         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16230         frontends/Makefile.am
16231
16232         * text2.C: adjust
16233         * text.C: adjust
16234
16235
16236         * tabular.C (getTokenValue): add std::
16237
16238         * tabular-old.C (getTokenValue): add std::
16239         (getTokenValue): ditto
16240         (getTokenValue): ditto
16241
16242         * screen.C (ToggleSelection): adjust
16243
16244         * lyxtext.h: put selection cursors inside a Selection struct.
16245
16246         * lyxfunc.C (moveCursorUpdate): adjust
16247
16248         * lyxfont.C (latexWriteStartChanges): add std::
16249
16250         * lyxfind.C: adjust
16251
16252         * font.h: delete with(char const *, LyXFont const &)
16253
16254         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16255
16256         * FontInfo.C (getFontname): add std::
16257
16258         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16259         (workAreaButtonPress): adjust
16260         (tripleClick): adjust
16261         (update): adjust
16262         (moveCursorUpdate): adjust
16263         (Dispatch): adjust
16264
16265         * BufferView2.C (gotoInset): adjust
16266
16267 2001-05-30  Juergen Vigna  <jug@sad.it>
16268
16269         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16270         to check pspell I add this as default as I now have new pspell
16271         libraries and they seem to use this.
16272
16273 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16274
16275         * text2.C (CutSelection): make the cursor valid before the call to
16276         ClearSelection.
16277
16278 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16279
16280         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16281         relied on 0 terminated strings and other horrors. Bug found due to
16282         the new assert in lyxstring!
16283
16284         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16285         KP_ keys.
16286
16287 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16288
16289         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16290         to latinkeys.bind.
16291
16292         * lyxfunc.C (processKeySym): change method of getting to the
16293         self-insert char.
16294
16295         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16296         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16297         * BufferView_pimpl.[Ch]: here as private methods.
16298
16299 2001-05-28  Juergen Vigna  <jug@sad.it>
16300
16301         * text.C (SetHeightOfRow): added the update() call again as it is
16302         needed to initialize inset dimensions!
16303
16304 2001-05-16  Juergen Vigna  <jug@sad.it>
16305
16306         * text2.C (SetCharFont): Add new function with BufferView * and
16307         bool toggleall parameters for setting insets internal fonts.
16308         (SetFont): Freeze the undo as we may change fonts in Insets and
16309         all this change should be inside only one Undo!
16310
16311         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16312         setting font's in insets as for them we have the SetFont function!
16313
16314 2001-05-15  Juergen Vigna  <jug@sad.it>
16315
16316         * text2.C (ClearSelection): to be sure we REALLY don't have any
16317         selection anymore!
16318
16319         * tabular.C (TeXCellPreamble): fixed the left border problem for
16320         multicolumn cells.
16321
16322 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16323
16324         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16325         dependancy file
16326
16327 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16328
16329         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16330         LFUN_BREAKPARAGRAPH.
16331
16332         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16333         help test to "internal only", similar for LFUN_INSERT_URL
16334
16335         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16336         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16337         auto_region_delete and deadkeys.
16338
16339 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16340
16341         * LColor.h:
16342         * LColor.C: remove some dead entries, tidy a little
16343
16344 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16345
16346         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16347         commented code.
16348         (Dispatch): implement LFUN_ESCAPE
16349
16350         * commandtags.h: add LFUN_ESCAPE
16351
16352         * LyXAction.C (init): add entry for LFUN_ESCAPE
16353
16354         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16355         Remove commented code.
16356         (insertNote): moved here
16357         (open_new_inset): moved here
16358
16359         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16360         BufferView_pimpl
16361
16362 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16363
16364         * kbmap.C (findbinding): clean it up and make it work correctly.
16365
16366         * lyx_main.C (init): do not pass argc and argv as parameters
16367
16368 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16369
16370         * buffer.C: fix path for OS/2 & Win32
16371
16372         * lyx_gui.C:
16373         * lyx_main:
16374         * lyx_main.C: Added os:: class.
16375
16376         * os2_defines.h: update
16377
16378 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16379
16380         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16381         better by trying again with reduced state.
16382
16383 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16384
16385         * lyxrc.C (read): print error about invalid key sequence only when
16386         debugging (because not all latinX keysyms are known to some X
16387         servers)
16388
16389         * kbsequence.C (getiso): add a few std:: qualifiers
16390         (getiso): comment out extra return statement.
16391
16392 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16393
16394         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16395         handling.
16396         (Dispatch): enhance the accent inset a bit. (not perfect)
16397
16398 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16399
16400         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16401
16402 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16403
16404         * bufferlist.C (emergencyWrite): fix assert() call
16405
16406 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16407
16408         * text.C (InsertChar): Added trivial patch to only send the "you
16409         can not do multiple spaces this way" message once during a
16410         session.
16411
16412 2001-05-08  Baruch Even  <baruch@lyx.org>
16413
16414         * Makefile.am: Changed order of libraries to get LyX to link properly
16415         with the gnome frontend.
16416
16417 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16418
16419         * LaTeXFeatures.h: add a std:: qualifier
16420
16421 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16422
16423         * paragraph.C (String): use stringstream
16424
16425 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16426
16427         * paragraph.C (writeFile): remove footflag arg
16428
16429         * buffer.C (makeLaTeXFile): use stringstream
16430         (latexParagraphs): remove footnot gurba
16431
16432         * LaTeXFeatures.C (getPackages): use stringstream
16433         (getMacros): likewise
16434         (getTClassPreamble): likewise
16435         (getFloatDefinitions): new method
16436
16437         * paragraph.C (writeFile): reindent
16438         (Erase): reindent
16439
16440         * WorkArea.h: revert the xpos + etc changes.
16441
16442         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16443
16444         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16445
16446         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16447         (pasteSelection): likewise
16448         * text2.C (CreateUndo): likewise
16449
16450 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16451
16452         * minibuffer.C (peek_event): temporarily reduce the functionality
16453         of the minibuffer (to allow args on lfuns)
16454
16455         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16456         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16457
16458         * buffer.C (readInset): add compability reading of old float
16459         lists, add reading of new style float list.
16460         (readInset): avoid reevaluation of inscmd.getCmdName()
16461         (getLists): reindent
16462
16463         * MenuBackend.C (MenuItem): implement parsing of
16464         md_floatlistinsert and md_floatinsert.
16465         (expand::LastFiles): move initalizaton of iterators out of loop,
16466         avoid reevaluation.
16467         (expand::Documents): introduce typdedef vector<string> Strings,
16468         and use it.
16469         (expand::ExportFormats): introduce typedef vector<Format const *>
16470         Formats, and use it.
16471         (expand): implement FloatListInsert and FloatInsert.
16472
16473         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16474         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16475         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16476
16477         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16478         handling.
16479         (Dispatch::LFUN_FLOAT_LIST): implement
16480
16481 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16482
16483         * LaTeX.C (run): Fix problem with --export code.
16484
16485 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16486
16487         * BufferView.[Ch] (workarea): removed.
16488         (getClipboard) new method; wrapper for workarea()->getClipboard()
16489
16490         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16491         bug.
16492
16493         * WorkArea.h (width, height, xpos, ypos): These methods all
16494         returned the dimensions of the work_area sub-area of WorkArea,
16495         resulting in a position error if the WorkArea were resized. Now
16496         return the dimensions of the entire WorkArea.
16497
16498         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16499
16500 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16501
16502         * LaTeX.C (deplog): correct the syntax of regex reg1
16503
16504 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16505
16506         * undo.C: remove !NEW_INSETS cruft
16507
16508 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16509
16510         * text2.C: remove !NEW_INSETS cruft
16511
16512         * text.C: remove !NEW_INSETS cruft
16513
16514         * tabular.C: remove !NEW_INSETS cruft
16515
16516         * spellchecker.C: remove !NEW_INSETS cruft
16517
16518         * lyxtext.h: remove !NEW_INSETS cruft
16519
16520         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16521
16522         * lyxfunc.C: remove !NEW_INSETS cruft
16523
16524         * lyxfind.C: remove !NEW_INSETS cruft
16525
16526         * lyx_cb.C: remove !NEW_INSETS cruft
16527
16528         * figureForm.C: remove  !NEW_INSETS cruft
16529
16530         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16531
16532         * buffer.[Ch]: remove !NEW_INSETS cruft
16533
16534         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16535
16536         * CutAndPaste.C: remove !NEW_INSETS cruft
16537
16538         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16539
16540         * BufferView2.C: remove !NEW_INSETS cruft
16541
16542         * BufferView.h: remove !NEW_INSETS cruft
16543
16544 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16545
16546         * Lsstream.h: include LString.h before the sstream headers to
16547         fix problem with gcc 2.95.3 and lyxstring
16548
16549 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16550
16551         * lyx_main.C: add using directives when needed for C functions
16552         declared in std:: namespace.
16553
16554 2001-04-27  Juergen Vigna  <jug@sad.it>
16555
16556         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16557         (SetHeightOfRow): comment out the update call should not be needed!
16558
16559 2001-04-13  Juergen Vigna  <jug@sad.it>
16560
16561         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16562         (LyXTabular): tried to minimize operator= operations (and realized
16563         hopfully Lars wish).
16564
16565 2001-04-27  Juergen Vigna  <jug@sad.it>
16566
16567         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16568
16569 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16570
16571         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16572
16573         * buffer.C (readInset): hack to make listof algorithm work
16574
16575         * BufferView_pimpl.C: hack to make listof algorithm work
16576
16577 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16578
16579         * LyXAction.C: removed all !NEW_INSETS cruft
16580         (init): moved lfun_item in method
16581
16582         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16583
16584 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16585
16586         * BufferView2.C (theLockingInset): white space.
16587
16588 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16589
16590         * minibuffer.C: include <iostream>
16591
16592         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16593
16594         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16595
16596         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16597
16598         * text.[Ch] (TransposeChars): new method
16599
16600 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16601
16602         * call message directly through LyXView instead of through LyXFunc
16603         * BufferView2.C: adjust
16604         * BufferView_pimpl.C: adjust
16605         * FontLoader.C: adjust
16606         * buffer.C: adjust
16607         * bufferview_funcs.C: adjust
16608         * converter.C: adjust
16609         * figureForm.C: adjust
16610         * importer.C: adjust
16611         * lyx_cb.C: adjust
16612         * lyx_gui_misc.C: adjust
16613         * lyxfunc.C: adjust
16614         * lyxvc.C: adjust
16615         * text2.C: adjust
16616         + more files in subdirs
16617
16618         * lyxparagraph.h (size): move up int file
16619         (GetLayout): ditto
16620
16621         * adjust all uses of Assert to lyx::Assert.
16622
16623         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16624         lyxfunctional in namespace lyx
16625         * layout.C (hasLayout): ditto
16626         (GetLayout): ditto
16627         (GetLayout): ditto
16628         (delete_layout): ditto
16629         (NumberOfClass): ditto
16630         * converter.C (GetFormat): ditto
16631         (GetNumber): ditto
16632         (Add): ditto
16633         (Delete): ditto
16634         (SetViewer): ditto
16635         * bufferlist.C (getFileNames): ditto
16636         (emergencyWriteAll): ditto
16637         (exists): ditto
16638         (getBuffer): ditto
16639         * MenuBackend.C (hasSubmenu): ditto
16640         (hasMenu): ditto
16641         (getMenu): ditto
16642         * BufferView_pimpl.C (getInsetByCode): ditto
16643
16644 2001-04-18  Juergen Vigna  <jug@sad.it>
16645
16646         * vspace.C (asLatexString): fixed the 100% problem.
16647
16648 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16649
16650         * lyxfunc.C (Dispatch):
16651         * minibuffer.C:
16652         * minibuffer.h: add a few std:: qualifiers
16653
16654 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16655
16656         * minibuffer.[Ch]: reimplement so that commands is initiated and
16657         run from lyxfunc, simplified som handling, and made the completion
16658         and history code for complete. wip.
16659
16660         * lyxfunc.C (processKeySym): call message
16661         (miniDispatch): new temporary method
16662         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16663         (LFUN_MESSAGE): implement
16664         (LFUN_MESSAGE_PUSH): implement
16665         (LFUN_MESSAGE_POP): implement
16666         (initMiniBuffer): the initial/defualt minibuffer message.
16667
16668         * lyxfont.[Ch]: inline some more getters
16669
16670         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16671
16672         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16673
16674         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16675         (AutoSave): use LFUN_MESSAGE
16676         (Reconfigure): ditto
16677
16678         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16679
16680         * figureForm.C: use LFUN_MESSAGE
16681
16682         * converter.C (runLaTeX): use LFUN_MESSAGE
16683
16684         * bufferview_funcs.C: use LFUN_MESSAGE
16685         (Melt): ditto
16686         (changeDepth): ditto
16687
16688         * bufferparams.h: use boost::
16689
16690         * bufferlist.h: inherit privately from noncopyable
16691
16692         * bufferlist.C (loadLyXFile): remove some commented code.
16693
16694         * buffer.C (runChktex): use LFUN_MESSAGE
16695
16696         * ShareContainer.h: inherit privately from noncopyable
16697
16698         * ParagraphParameters.[hC] (depth): inline it.
16699
16700         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16701         methods.
16702         (message): new method
16703         (messagePush): ditto
16704         (messagePop): ditto
16705         (show): init minibuffer
16706         (showState): direct call
16707
16708         * LaTeX.[Ch]: inherit privately from noncopyable
16709         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16710         instead of WriteStatus.
16711
16712         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16713
16714         * BufferView_pimpl.C (buffer): don't init minibuffer
16715         (workAreaButtonPress): use LFUN_MESSAGE
16716         (workAreaButtonRelease): ditto
16717         (savePosition): ditto
16718         (restorePosition): ditto
16719         (MenuInsertLyXFile): ditto
16720         (workAreaExpose): don't init minibuffer
16721         (update): remove commented code, simplify
16722
16723         * BufferView2.C (openStuff): use LFUN_MESSAGE
16724         (toggleFloat): ditto
16725         (menuUndo): ditto
16726         (menuRedo): ditto
16727         (copyEnvironment): ditto
16728         (pasteEnvironment): ditto
16729         (copy): ditto
16730         (cut): ditto
16731         (paste): ditto
16732         (gotoInset): ditto
16733         (updateInset): remove some commented code
16734
16735         * lastfiles.h: inherit privately from noncopyable
16736         * layout.h: ditto
16737         * lyx_gui.h: ditto
16738         * lyx_main.h: ditto
16739         * lyxlex.h: ditto
16740         * lyxlex_pimpl.h: ditto
16741
16742         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16743         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16744         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16745
16746         * LyXAction.h: inherit privately from noncopyable, add methods
16747         func_begin, func_end, returning iterators to the func map.
16748
16749         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16750         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16751         (func_begin): new method
16752         (func_end): new method
16753
16754         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16755         and not)
16756         (copySelection): ditto
16757         (pasteSelection): ditto
16758
16759         * BufferView.C: whitespace change
16760         * BufferView.h: inherit privately from noncopyable
16761
16762 2001-04-16  Allan Rae  <rae@lyx.org>
16763
16764         * tabular-old.C (l_getline):
16765         * spellchecker.C (sc_check_word):
16766         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16767         an unrecognised preprocessor directive.  So ensure they're wrapped.
16768
16769 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16770
16771         * src/exporter.C (Export): Give an error message when path to file
16772         contains spaces.
16773
16774 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16775
16776         * LaTeX.C (deplog): Always check that foundfile exists.
16777
16778 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16779
16780         * lyx_main.h:
16781         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16782
16783 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16784
16785         * tabular.[Ch] (getLabelList): implement new method
16786
16787         * minibuffer.h: comment ouf setTiimer
16788
16789         * minibuffer.C (ExecutingCB): constify res
16790         (peek_event): constify s
16791         (Set): constify ntext
16792         (Init): constify nicename
16793
16794         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16795
16796         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16797         (savePosition): use two params to Minibuffer::Set
16798         (restorePosition): ditto
16799
16800 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16801
16802         * lyx_main.C: include language.h
16803
16804         * Makefile.am (lyx_main.o): add language.h
16805
16806 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16807
16808         * exporter.C:
16809         * paragraph.C:
16810         * screen.C:
16811         * tabular.C:
16812         * CutAndPaste.C: include gettext.h
16813
16814         * lyxfont.h: remove old hack with ON and OFF.
16815
16816         * lyxparagraph.h:
16817         * lyxfont.h: do not include language.h...
16818
16819         * BufferView2.C:
16820         * LaTeXFeatures.C:
16821         * Painter.C:
16822         * bufferview_funcs.C:
16823         * font.C:
16824         * lyxfont.C:
16825         * text.C:
16826         * text2.C:
16827         * trans_mgr.C:
16828         * paragraph.C: ... but do it here instead
16829
16830 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16831
16832         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16833
16834         * tabular.C: small reformat
16835
16836         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16837         NEW_INSETS version
16838         (GetChar): ditto
16839         (BreakParagraph): ditto
16840         (SetOnlyLayout): ditto
16841         (SetLayout): ditto
16842
16843         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16844         with one arg less.
16845
16846         * lastfiles.C: removed most using decl, add std:: where needed
16847
16848         * buffer.C: ws changes
16849
16850         * MenuBackend.C (class compare_format): put into anon namespace
16851         (expand): constify label, names, action, action2
16852         (expand):
16853
16854         * text.C (SingleWidth): constify font
16855         (IsBoundary): constify rtl2
16856         (GetVisibleRow): constify ww
16857
16858         * LaTeX.C (deplog): constify logfile
16859
16860         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16861         start_x, end_x
16862         (workAreaExpose): constify widthChange, heightChange
16863
16864         * lyxrow.C (par): moved
16865         (height): moved
16866         (next): moved
16867         * lyxrow.h: as inlines here
16868
16869         * lyxfont.h (shape): moved from lyxfont.C
16870         (emph): moved from lyxfont.C
16871
16872         * lyxfont.C (LyXFont): use initialization list for all
16873         constructors
16874         (shape): move to lyxfont.h as inline
16875         (emph): move to lyxfont.h as inline
16876
16877
16878 2001-04-04  Juergen Vigna  <jug@sad.it>
16879
16880         * vspace.C: had to include stdio.h for use of sscanf
16881
16882 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16883
16884         * BufferView.h:
16885         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16886         independent of xforms.
16887
16888 2001-04-02  Juergen Vigna  <jug@sad.it>
16889
16890         * spellchecker.C: fixed namespace placing!
16891
16892 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16893
16894         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16895         the LyXParagraph * is 0.
16896
16897 2001-03-29  Juergen Vigna  <jug@sad.it>
16898
16899         * vspace.C: added support for %, c%, p%, l%.
16900         (stringFromUnit): added helper function.
16901         (asLatexString): changed to give right results for the %-values.
16902
16903         * buffer.C: convert the widthp in a width%.
16904
16905 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16906
16907         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16908         figureForm.[Ch].
16909
16910         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16911         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16912
16913         * lyx_cb.[Ch]: see above.
16914
16915         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16916         form1.[Ch].
16917
16918         * form1.[Ch]:
16919         * lyx.[Ch]: replaced by figure_form.[Ch].
16920
16921         * lyx_gui.C:
16922         * lyx_gui_misc.C:
16923         * lyxfunc.C: changed headers associated with above changes.
16924
16925 2001-03-27  Juergen Vigna  <jug@sad.it>
16926
16927         * BufferView_pimpl.C: set the temporary cursor right!
16928
16929 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16930
16931         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16932
16933 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16934
16935         * LString.h: removed "using std::getline"!
16936
16937         * BufferView_pimpl.C (Dispatch): changes due to changes in
16938         InsetInclude::Params.
16939
16940         * buffer.C (tag_name): removed redundant break statements as they were
16941         producing lots of warnings with my compiler.
16942
16943 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16944
16945         * LString.h: add "using std::getline" when using the real <string>.
16946
16947 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16948
16949         * buffer.C: removed bitset usage.
16950         PAR_TAG moved to an anonymous name space.
16951         (tag_name): new funtion, also in the anonymous namespace.
16952         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16953         (makeDocBookFile): clean code. Completed transition from string arrays
16954         to string vectors.
16955         (SimpleDocBookOnePar): code clean.
16956
16957 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16958
16959         * tabular.C: add some comments.
16960
16961 2001-03-22  Juergen Vigna  <jug@sad.it>
16962
16963         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16964         compatibility read a bit and fixed bug with minipage in different
16965         depth.
16966
16967 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16968
16969         * buffer.C (pop_tag): removed.
16970         (push_tag): removed.
16971         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16972         array replaced with vector. Added support for CDATA sections.
16973         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16974         at any nest level.
16975         (makeDocBookFile): XML conformant declaration of CDATA section,
16976         fixed bug related to <emphasis> in the first paragraph char.
16977         (sgmlOpenTag): exclude empty tags.
16978         (sgmlCloseTag): ditto.
16979
16980         * buffer.h (pop_tag): removed.
16981         (push_tag): removed.
16982
16983 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16984
16985         * language.h (Languages): added size_type and size().
16986
16987 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16988
16989         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16990         response on compability reading of minipages. One probliem is that
16991         the old usage of minipages was «flertydig»
16992
16993         * several files here and in subdirs: don't use static at file
16994         scope use anon namespaces instead.
16995
16996 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16997
16998         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16999         LaTeX output. This is necessary for Literate document
17000         processing.
17001
17002 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17003
17004         * buffer.C: insert hfill when needed.
17005
17006         * tabular.C (l_getline): use string::erase, small whitespace change.
17007
17008         * BufferView_pimpl.C: try the anon namespace.
17009         * WorkArea.C: ditto
17010
17011 2001-03-16  Juergen Vigna  <jug@sad.it>
17012
17013         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17014         otherwise it won't open options-dialogs.
17015
17016         * buffer.C: honor pextraWidth(p) on converting minipages.
17017
17018         * tabular.C (l_getline): changed the functions to strip trailing \r.
17019
17020 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17021
17022         * BufferView_pimpl.C:
17023         * minibuffer..C: added "using SigC::slot" declaration.
17024
17025 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17026
17027         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17028
17029         * text2.C: ditto
17030
17031         * text.C: ditto
17032
17033         * paragraph.C: ditto
17034
17035         * lyxtext.h: NO_PEXTRA
17036
17037         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17038
17039         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17040         * ParameterStruct.h: ditto
17041         * ParagraphParameters.h: ditto
17042         * lyxparagraph.h: ditto
17043
17044 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17045
17046         * buffer.C: add compability for minipage alignment.
17047         (latexParagraphs): remove unwanted pextra check.
17048
17049         * several files: remove CXX_WORKING_NAMESPACES
17050
17051         * buffer.C (pop_tag): tie is in namespace boost
17052
17053         * BufferView.h: noncopyable is in namespace boost
17054         * lyxlex.h: ditto
17055         * lyx_main.h: ditto
17056         * lyx_gui.h: ditto
17057         * layout.h: ditto
17058         * lastfiles.h: ditto
17059         * bufferlist.h: ditto
17060         * ShareContainer.h: ditto
17061         * LyXView.h: ditto
17062         * LyXAction.h: ditto
17063         * LaTeX.h: ditto
17064
17065 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17066
17067         * Merging changes from BRANCH_MVC back into HEAD.
17068
17069         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17070
17071 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17072
17073         * BufferView_pimpl.C: change from intl.C
17074
17075         * combox.h:
17076         * combox.C:
17077         * Makefile.am: move combox.*
17078
17079         * form1.h:
17080         * form1.C:
17081         * lyx_gui.C:
17082         * intl.h:
17083         * intl.C: remove dialog (covered by prefs)
17084
17085 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17086
17087         * lyxfunc.C (Dispatch): removed redundant break statement.
17088
17089 2001-03-14  Juergen Vigna  <jug@sad.it>
17090
17091         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17092
17093 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17094
17095         * buffer.C: add hack to fix compability reading of minipages.
17096
17097 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17098
17099         * buffer.C (getLists): Cleanup.
17100
17101 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17102
17103         * lyxfont.C (update): don't honor toggleall on font size.
17104
17105 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17106
17107         * bmtable.c:
17108         * bmtable.h:
17109         * Makefile.am: moved to frontends/xforms/
17110
17111         * lyx_gui_misc.C:
17112         * lyxfunc.C:
17113         * BufferView_pimpl.C: changes for moved mathpanel
17114
17115 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17116
17117         * gettext.h: fix gettext_init() in --disable-nls
17118
17119 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17120
17121         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17122
17123 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17124
17125         * lyx.C:
17126         * lyx.h: strip external form
17127
17128 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17129
17130         * BufferView_pimpl.C: add comment, destroySplash()
17131
17132 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17133
17134         * BufferView_pimpl.C:
17135         * LyXAction.C:
17136         * buffer.C:
17137         * commandtags.h:
17138         * lyxfunc.C: use re-worked insetinclude
17139
17140 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17141
17142         * buffer.C: add using std::stringstream.
17143
17144         * lyx_cb.C: readd using std::ios.
17145
17146         * buffer.C: add using std::map.
17147
17148         * BufferView_pimpl.C: add using std::vector.
17149
17150         * ShareContainer.h: add std:: to swap.
17151
17152         * buffer.h: add some typedefs
17153         * buffer.C (getLists): use them
17154         (getLists): renamed from getTocList.
17155         add a counter for the different float types and use it in the
17156         generated string.
17157         (getLists): use the same counter for the NEW_INSETS and the "non"
17158         NEW_INSETS
17159
17160         * lyx_cb.h: remove unused items, includes, using etc.
17161
17162         * ShareContainer.h: remove some commented code, add more comments
17163         and "documentation".
17164
17165 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17166
17167         * buffer.C (getTocList): make the list also when NEW_INSETS is
17168         defined.
17169
17170         * buffer.h: remove TocType
17171
17172         * buffer.C (getTocList): change to return a map<string,
17173         vector<TocItem> >, implement for dynamic number of list.
17174
17175         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17176         * text2.C (PasteSelection): adjust
17177         * CutAndPaste.C (pasteSelection): adjust
17178
17179         * FloatList.C (FloatList): update from the new_insets branch.
17180         * Floating.[Ch]: ditto
17181         * LaTeXFeatures.C: ditto
17182         * buffer.C: ditto
17183         * lyxlex_pimpl.C: ditto
17184
17185         * paragraph.C (Last): remove when NEW_INSETS is defined.
17186
17187         * other file: changes because of the above.
17188
17189 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17190
17191         * lyxparagraph.h: rename next to next_, previous to previous_,
17192         make them private for NEW_INSETS. Rename Next() to next(),
17193         Previous() to previous().
17194
17195         * other files: changes because of the above.
17196
17197 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17198
17199         * BufferView.h:
17200         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17201         problem.
17202
17203 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17204
17205         * main.C (main): pass lyx_localedir to gettext_init().
17206
17207         * gettext.h: remove locale_init and gettext_init macros
17208
17209         * gettext.C (locale_init): new function
17210         (gettext_init): new function
17211
17212         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17213         setlocale().
17214
17215 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17216
17217         * Moved credits to frontends:
17218         * credits.[Ch]: removed
17219         * credits_form.[Ch]: removed
17220         * lyx_gui_misc.C: remove credits stuff
17221         * Makefile.am:
17222
17223 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17224
17225         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17226
17227         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17228         unneeded destructor.
17229
17230         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17231         a standalone pointer again.
17232
17233         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17234
17235 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17236
17237         * Makefile.am:
17238         * filedlg.h:
17239         * filedlg.C:
17240         * LyXAction.C:
17241         * ToolbarDefaults.C:
17242         * bufferlist.C:
17243         * commandtags.h:
17244         * form1.C:
17245         * form1.h:
17246         * lyx_cb.C:
17247         * lyx_cb.h:
17248         * lyxfunc.h:
17249         * lyxfunc.C:
17250         * BufferView_pimpl.C: use new file dialog in GUII
17251
17252         * lyx_cb.h:
17253         * lyx_cb.C: remove LayoutsCB to Toolbar
17254
17255 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17256
17257         * ShareContainer.h (get): add std:: qualifier
17258
17259 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17260
17261         * ShareContainer.h: define a proper ShareContainer::value_type
17262         type (and use typename to please compaq cxx)
17263
17264 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17265
17266         * lyxparagraph.h: move serveral local vars to
17267         ParameterStruct/ParagraphParameters., use ShareContainer in
17268         FontTable., make vars in FontTable private and add getter and
17269         setter.
17270
17271         * paragraph.C: changes because of the above.
17272
17273         * lyxfont.h: remove copy constructor and copy assignment. (the
17274         default ones is ok), move number inside FontBits. move inlines to
17275         lyxfont.C
17276
17277         * lyxfont.C: add number to initializaton of statics, move several
17278         inlines here. constify several local vars. some whitespace
17279         cleanup. Dont hide outerscope variables.
17280
17281         * Spacing.h: add two new constructors to match the set methods.
17282
17283         * ShareContainer.h: new file, will perhaps be moved to support
17284
17285         * ParameterStruct.h: new file
17286
17287         * ParagraphParameters.h: new file
17288
17289         * ParagraphParameters.C: new file
17290
17291         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17292         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17293
17294         * BufferView_pimpl.C: ParagraphParameter changes.
17295         * buffer.C: Likewise.
17296         * bufferview_funcs.C: Likewise.
17297         * text.C: Likewise.
17298         * text2.C: Likewise.
17299
17300 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17301
17302         * lyxfind.C (LyXReplace): do not redefine default argument in
17303         implementation.
17304         (IsStringInText): ditto
17305         (SearchForward): ditto
17306         (SearchBackward): ditto
17307
17308 2001-03-06  Juergen Vigna  <jug@sad.it>
17309
17310         * lyxfind.C (IsStringInText): put parentes around expressions.
17311
17312 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17313
17314         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17315
17316 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17317
17318         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17319
17320         * stl_string_fwd.h: add comment
17321
17322         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17323
17324         * tabular.h:
17325         * tabular.C: remove unused DocBook methods
17326
17327         * intl.C:
17328         * language.C:
17329         * paragraph.C:
17330         * buffer.C:
17331         killed DO_USE_DEFAULT_LANGUAGE
17332
17333 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17334
17335         * lyx_gui.C: do not include language.h.
17336
17337         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17338         arguments in function implementation.
17339
17340 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17341
17342         * BufferView_pimpl.C: add <ctime>
17343
17344 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17345
17346         * BufferView_pimpl.C: add using std::find_if
17347
17348 2001-02-27  José Matos  <jamatos@fep.up.pt>
17349
17350         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17351         by OnlyPath.
17352
17353 2001-02-11  José Matos  <jamatos@fep.up.pt>
17354
17355         * buffer.C (makeDocBookFile): command styles now have a parameter as
17356         "title" by default.
17357
17358 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17359
17360         * layout_forms.[Ch]: removed
17361         * lyx_cb.[Ch]: out character
17362         * lyx_gui.C: out character
17363         * lyx_gui_misc.C: out character
17364         * bufferview_funcs.C: : out character,
17365         added toggleall as parameter in ToggleAndShow
17366
17367 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17368
17369         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17370
17371         * text2.C (SetCurrentFont): Disable number property at boundary.
17372
17373 2001-02-26  Juergen Vigna  <jug@sad.it>
17374
17375         * lyxfunc.C (getStatus): added a string argument override function so
17376         that this is correctly called from LyXFunc::Dispatch if it contains a
17377         do_not_use_argument which is used!
17378         (Dispatch): added check for "custom" export and call appropriate func.
17379
17380 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17381
17382         * lyxrc.C: Add language_command_local, language_use_babel and
17383         language_global_options.
17384
17385         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17386
17387         * buffer.C (makeLaTeXFile): Use language_use_babel and
17388         language_global_options.
17389
17390 2001-02-23  Juergen Vigna  <jug@sad.it>
17391
17392         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17393         which works with LyXText and putted it inside BufferView. Here now we
17394         only call for that part the BufferView::Dispatch() function.
17395
17396         * BufferView.C (Dispatch): added.
17397
17398         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17399         functions which needs to use a LyXText over from LyXFunc.
17400         (MenuInsertLyXFile): added
17401         (getInsetByCode): added
17402         (moveCursorUpdate): added
17403         (static TEXT): added
17404
17405 2001-02-22  Juergen Vigna  <jug@sad.it>
17406
17407         * BufferView_pimpl.C (update): call a status update to see if LyXText
17408         needs it.
17409
17410 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17411
17412         * vc-backend.C (revert): implement for CVS
17413         (getLog): implement for CVS
17414
17415 2001-02-20  Juergen Vigna  <jug@sad.it>
17416
17417         * text2.C (ClearSelection): added BufferView param for inset_owner call
17418
17419         * lyxfunc.C (TEXT): added this function and use it instead of
17420         directly owner->view()-text of getLyXText().
17421
17422 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17423
17424         * src/layout_forms.C: out preamble
17425         * src/layout_forms.h: out preamble
17426         * src/lyx_cb.C: out preamble
17427         * src/lyx_cb.h: out preamble
17428         * src/lyx_gui.C: out preamble
17429         * src/lyx_gui_misc.C: out preamble
17430         * src/lyxfunc.C: connect with guii preamble
17431
17432 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17433
17434         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17435
17436 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17437
17438         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17439         whether to run bibtex.
17440
17441 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17442
17443         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17444
17445 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17446
17447         * Makefile.am (lyx_SOURCES): removed bibforms.h
17448
17449         * vspace.h: doxygen
17450
17451         * text.C (GetVisibleRow): make several local vars const
17452
17453         * tabular.C: small cleanup.
17454
17455         * lyxserver.C (callback): use compare instead of strncmp
17456
17457         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17458         inlines to after class or to paragraph.C
17459
17460         * lyxfont.h: remove friend operator!=
17461
17462         * converter.h: move friend bool operator< to non friend and after
17463         class def.
17464
17465         * combox.h: small cleanup
17466
17467         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17468         to inlines after class def.
17469
17470         * buffer.C (pop_tag): use string operations instead of strcmp
17471
17472         * bmtable.c: doxygen, small cleanup
17473
17474         * LaTeX.h: remove friend operator==
17475
17476 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17477
17478         * screen.C:
17479         * lyxrc.[Ch]:
17480         * lyxfunc.C:
17481         * lyxfont.[Ch]:
17482         * lyx_cb.C:
17483         * intl.[Ch]:
17484         * commandtags.h:
17485         * buffer.C:
17486         * WorkArea.[Ch]:
17487         * LyXAction.C:
17488         * BufferView_pimpl.C:
17489         * BufferView.[Ch]: remove cruft
17490
17491 2001-02-14  Juergen Vigna  <jug@sad.it>
17492
17493         * lyxfunc.C: removed #if 0 unused code
17494
17495         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17496
17497         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17498
17499         * text2.C (SetSelection): added a BufferView * parameter
17500
17501 2001-02-13  Juergen Vigna  <jug@sad.it>
17502
17503         * lyxfunc.C (Dispatch): fixed protected blank problem.
17504         * BufferView2.C (protectedBlank): added LyxText * parameter.
17505
17506         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17507         (AppendColumn): same as above for column_info.
17508
17509         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17510         (moveCursorUpdate): use a LyXText param for support of InsetText.
17511
17512         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17513         (tripleClick): ditto
17514
17515         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17516
17517         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17518
17519         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17520
17521         * text2.C (SetSelection): set correct update status if inset_owner
17522         (ToggleFree): ditto
17523
17524 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17525
17526         * tabular.C: remove some commented code.
17527
17528 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17529
17530         * BufferView_pimpl.C: call hideSplash()
17531
17532         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17533
17534         * include_form.h:
17535         * bibforms.h: remove
17536
17537         * lyxfunc.C:
17538         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17539           add LFUN_CHILD_CREATE
17540
17541         * counters.h: fix tiny typo
17542
17543         * lyx_cb.C:
17544         * lyx.h:
17545         * lyx_gui.C:
17546         * lyx.C: move splash to frontends/xforms/
17547
17548         * lyx_gui_misc.C: move Include and Bibform to frontends
17549
17550         * lyxvc.h: clarify comment
17551
17552         * vspace.C: tiny housekeeping
17553
17554 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17555
17556         * text.C (PrepareToPrint): RTL Fix.
17557
17558         * paragraph.C (GetUChar): New method.
17559         (String):  Use GetUChar.
17560
17561         * buffer.C (asciiParagraph): Use GetUChar.
17562
17563 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17564
17565         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17566
17567 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17568
17569         * buffer.h:
17570         * buffer.C: rename to getLogName(), handle
17571           build log / latex log nicely
17572
17573 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17574
17575         * MenuBackend.C:
17576         * MenuBackend.h: remove support for reference menuitem type.
17577
17578 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17579
17580         * BufferView_pimpl.C: housekeeping
17581         * BufferView_pimpl.h:
17582         * LyXView.h:
17583         * Makefile.am:
17584         * Timeout.C:
17585         * Timeout.h:
17586         * minibuffer.h: move Timeout GUI-I
17587
17588 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17589
17590         * lyxrc.C (read): Update converters data-structures.
17591
17592 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17593
17594         * LaTeX.h (operator!=): add operator != for Aux_Info
17595
17596 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17597
17598         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17599
17600         * LaTeXLog.C: deleted, useful code moved to Buffer
17601
17602         * buffer.h:
17603         * buffer.C: new function getLatexLogName()
17604
17605         * lyx_gui_misc.C:
17606         * lyx_gui.C:
17607         * lyxvc.C:
17608         * lyxvc.h:
17609         * lyxfunc.C: use frontends for LaTeX and VC logs
17610
17611 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17612
17613         * LaTeX.h: yet another std:: that Allan forgot.
17614
17615         * Variables.C (set): renamed from isset(), because this clashes
17616         with some HP-UX macros (grr).
17617
17618 2001-02-06  Allan Rae  <rae@lyx.org>
17619
17620         * LaTeX.h: Another bug fix.  Missing std:: this time.
17621
17622 2001-02-04  Allan Rae  <rae@lyx.org>
17623
17624         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17625         floats problem. I've left it commented out because it's not quite
17626         correct.  It should also test that the current object is a table or
17627         figure inset.  But I haven't gotten around to figuring out how to do
17628         that.  I *think* it'll be something like: "table" == inset.type()
17629
17630         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17631         bool.
17632
17633 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17634
17635         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17636         all the citation/databases/styles in the auxilary file.
17637         (run): Rerun latex if there was a babel language error.
17638
17639 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17640
17641         * text.C (Backspace): Preserve the font when changing newline char
17642         with a space.
17643         (BreakParagraph): If the cursor is before a space, delete the space.
17644
17645         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17646
17647 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17648
17649         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17650         new argument (code).
17651         (ChangeCitationsIfUnique): New method.
17652
17653         * paragraph.C (GetPositionOfInset): Handle bibkey.
17654
17655 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17656
17657         * BufferView_pimpl.h: change type of Position::par_pos to
17658         LyXParagraph::size_type.
17659
17660 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17661
17662         * BufferView_pimpl.C (savePosition, restorePosition): Write
17663         messages to minibuffer.
17664
17665 2001-01-28  José Matos  <jamatos@fep.up.pt>
17666
17667         * buffer.C (makeDocBookFile): adds support for document language.
17668         A silly restriction on the name of LatexCommand types where removed.
17669         Added support for CDATA sections, allows to chars unescaped, used
17670         among others in code, to avoid escape < and >.
17671
17672 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17673
17674         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17675         saved positions instrad of a stack. Furthermore, a position is
17676         stored using paragraph id/paragraph position.
17677
17678         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17679         Remove LFUN_REF_BACK.
17680
17681 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17682
17683         * converter.C (dvipdfm_options): New method.
17684
17685 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17686
17687         * vspace.C (isValidLength): Fix for empty input string.
17688
17689 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17690
17691         * LyXAction.C (init): change description of LFUN_FIGURE to
17692         "Insert Graphics"
17693
17694 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17695
17696         * LaTeX.C: add using directive
17697
17698 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17699
17700         * MenuBackend.C (expand): Fix the sorting of the formats.
17701
17702 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17703
17704         * lyx_main.C: tiny error message fix
17705
17706 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17707
17708         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17709         calling fl_initialize(). This fixes the problem with ',' as
17710         decimal separator in text files.
17711
17712 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17713
17714         * trans.C (process): Fix the keymap bug.
17715
17716 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17717
17718         * LaTeX.C (scanAuxFiles): New method. Provides support for
17719         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17720         (scanLogFile) Scan for "run BibTeX" messages.
17721
17722         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17723         OT1 font encoding. Also, load the aecompl package if the ae
17724         package is loaded.
17725
17726         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17727
17728 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17729
17730         * texrow.C (increasePos): turn two error messages into debug
17731         messages.
17732
17733 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17734
17735         * LaTeX.C (scanAux): Handle the \@input macro.
17736         (runBibTeX): Use scanAux().
17737
17738         * language.C (latex_options_): New field.
17739
17740         * LaTeXFeatures.C (getMacros): Add language macros.
17741
17742         * buffer.C (makeLaTeXFile): Small fix.
17743
17744 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17745
17746         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17747
17748         * text2.C: add a using directive.
17749
17750 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17751
17752         * BufferView2.C:
17753         * lyx_gui_misc.h:
17754         * lyxfr1.C:
17755         * lyxfunc.C: kill LyXBell.
17756
17757 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17758
17759         * text.C (IsBoundary): Remove the error message
17760
17761         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17762
17763         * lyxrc.C (setDefaults): Correct initialization value for
17764         font_norm_type.
17765
17766 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17767
17768         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17769         gotoError().
17770
17771         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17772         and GotoNextNote().
17773
17774         * src/LyXAction.C: Added reference-next.
17775
17776         * text.C (InsertChar): Use contains instead of strchr.
17777
17778         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17779
17780 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17781
17782         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17783         alignment commands (when needed).
17784
17785         * text.C (InsertChar): Add ':' to number separator chars.