]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Whitespace, only whitespace. s/ +$//
[lyx.git] / src / ChangeLog
1 2005-06-09  Angus Leeming  <leeming@lyx.org>
2
3         * lyxsocket.C: remove stub code as it isn't needed by
4         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
5
6 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
7
8         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
9         effectively disabled -x
10
11 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12
13         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
14         when it actually makes sense.
15
16 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
17
18         * BufferView_pimpl.C: revert to showCursor in connection with
19         Lars's front-end stack
20
21 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
22
23         * text.C (redoParagraph): move cursor right after a bibitem
24         has been inserted.
25
26         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
27
28 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
29
30         * buffer_funcs.C (bufferErrors): fix computation of the end of an
31         error range.
32
33 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
34
35         * BufferView.[Ch] (update):
36         * BufferView_pimpl.[Ch] (update, metrics):
37         * dimension.h (operator==):
38         * lyxfunc.C (dispatch):
39         * metricsinfo.h (ViewMetricsInfo):
40         * rowpainter.C (paintText):
41         * lyxtext.h:
42         * text.C (redoParagraph):
43         * text3.C (dispatch): Make LyX only repaint current paragraph in
44         case of character insert --> speedup. Also fix cursor draw
45         artifacts
46
47 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
48
49         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
50         avoid a crash (bug 1891)
51
52 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
53
54         Fix bug 1892:
55
56         * text2.C (getStringToIndex): constify cur argument.
57
58         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
59         argument has been given
60         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
61         try to invoke LFUN_INSET_APPLY).
62
63         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
64         if no inset was created by doInsertInset
65         (doInsertInset): return true if an inset has been inserted.
66
67 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
68
69         * vspace.C (asGUIName): new method. A version of the space
70         suitable for showing on screen.
71
72 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
73
74         * MenuBackend.C:
75         * lyxrc.C: rename "ASCII" to "Plain Text"
76
77 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
78
79         * buffer_funcs.C (expandLabel): take a Buffer as argument;
80         translate the labelstring.
81         (setCounter): translate labelstring as needed.
82
83         * output_docbook.C (makeCommand): fix expandLabel invokation
84
85 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
86
87         * BufferView.C: fix dialog title
88
89 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
90
91         * lyx_main.C (priv_exec): fix logic error with help from Angus
92         * lyx_main.C (parse_execute): set is_gui = false and remove now
93         obsolete comment about a segfault
94
95 2005-05-18  Angus Leeming  <leeming@lyx.org>
96
97         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
98
99 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
100
101         * tabular.[hC]: added setCellInset to fix tabular paste.
102
103 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
104
105         * buffer.C (save): check if destination is writable before trying
106         to copy a file
107
108 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
109
110         * BufferView_pimpl.C (update): fix processEvents -caused update
111         recursion bug
112
113 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
114
115         * buffer_funcs.C (setCounter): fix test for numbering of
116         environments.
117
118         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
119         depth correctly; use optional argument when it exists
120
121         * lyxtextclass.C: remove unused MaxCounterTags enum
122         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
123         (max_toclevel, min_toclevel): new methods.
124
125         * MenuBackend.C (expandToc2): fix case where depth is smaller than
126         the smallest depth in toc.
127
128         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
129         layouts that should not appear in a table of contents.
130
131 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
132
133         * cursor.h (undispatched, noUpdate): add comments from André
134
135 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
136
137         * lfuns.h:
138         * LyXAction.C:
139         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
140
141 2005-05-07  André Pönitz  <poenitz@gmx.net>
142
143         * cursor.[Ch] (leaveInset): new function
144
145 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
146
147         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
148
149 2005-05-04  Angus Leeming  <leeming@lyx.org>
150
151         * lyxfunc.C (getStatus): disable the spell checker dialog if
152         none of USE_[AIP]SPELL are defined.
153
154 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
155
156         * tabular.C (setWidthOfCell): remove obsolete comment
157
158 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
159
160         * paragraph.C (bibitem):
161         * buffer_funcs.C (setCounter):
162         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
163
164 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
165
166         * text3.C (getStatus): immediately return after setOnOff
167
168         * rowpainter.C: fix drawing of appendix start
169
170 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
171
172         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
173         SwitchBetweenClasses and remove the unused return value.
174         Handle character styles, too
175
176 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
177
178         * factory.C (createInset): handle undefined character styles
179
180 2005-05-02  Angus Leeming  <leeming@lyx.org>
181
182         * buffer.C: protect the #include of utime.h with a preprocessor
183         guard.
184
185 2005-05-02  Angus Leeming  <leeming@lyx.org>
186
187         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
188         function so that auto-saving works, albeit in a blocking manner.
189
190         * Makefile.am: make compilation of the client sub directory, of
191         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
192         on conditionals set at configure time.
193
194         * SpellBase.[Ch]: no longer an abstract base class. Instead,
195         it can be compiled in its own right but has no-op functionality.
196
197         * aspell.C, pspell.C: remove preprocessor guards. The files should
198         be compiled only if the necessary functionality exists.
199
200         * lyxserver.C, lyxsocket.C: disable on Windows.
201
202 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
203
204         * text.C (leftMargin): Fix the parindent use bug (1764)
205         by dirty trick
206
207 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
208
209         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
210         argument.
211
212 2005-04-25  Angus Leeming  <leeming@lyx.org>
213
214         * Bidi.[Ch]:
215         * coordcache.[Ch]:
216         * ispell.C:
217         * lyxserver.C:
218         * mover.C:
219         * pch.h:
220         include <config.h> in .C files, not .h ones.
221         add licence blurb.
222         protect headers inside preprocessor guards.
223
224 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
225
226         * FuncStatus.h (StatusCodes): document
227
228 2005-04-21  André Pönitz  <poenitz@gmx.net>
229
230         * FuncStatus.h (enabled, onoff): document
231
232 2005-04-19  Angus Leeming  <leeming@lyx.org>
233
234         * BufferView_pimpl.C (cursorToggle): no longer test whether
235         any child processes have been reaped before calling
236         handleCompletedProcesses().
237
238 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
239
240         * text3.C (dispatch): fix, finally fix, the language problem in
241         new lyxtexts, without disabling on-the-fly font changes (Helge's
242         bug report)
243
244 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
245
246         * text3.C (dispatch): set cursor on double/triple click events
247         (bug 1811)
248
249 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
250
251         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
252         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
253
254         * rowpainter.C (paintFirst): simplify the code a little bit. In
255         particular, remove the test for secnumdepth.
256         * text.C (setHeightOfRow): only allocate space for chapter number
257         when updateCounters provided an actual label, instead of looking
258         at secnumdepth directly.
259
260         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
261
262         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
263         paragraphs when secnumdepth is large enough or, for environments,
264         when they are not the first in a sequence.
265
266 2005-04-17  Angus Leeming  <leeming@lyx.org>
267
268         * buffer.C (makeLaTeXFile): replace code to manipulate a path
269         containing space and '~' characters with a call to latex_path().
270
271 2005-04-17  Angus Leeming  <leeming@lyx.org>
272
273         * converter.C (convert): protect all args of convertDefault.sh
274         script with quotes.
275
276 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
277
278         * text3.C (dispatch): change the layout to "Caption" after inserting
279         a float.
280
281 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
282
283         * text3.C (dispatch): fix language problem in newly created
284         textinsets (and main text) in non-english docs
285
286 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
287
288         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
289         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
290         * text3.C (getStatus): disable LFUN_INSET_MODIFY
291
292 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
293
294         * lyxtext.h:
295         * text.C (metrics):
296         * text2.C (getFont):
297         * rowpainter.C (getFont): Fix metrics bug introduced by inset
298         fonts fix
299
300 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
301
302         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
303         output of \item arguments without trailing text.
304
305 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
306
307         * FontIterator.C (operator*): avoid a copy of the font.
308
309 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
310
311         * rowpainter.C (getFont): fix language bug from previous fix
312
313 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
314
315         * rowpainter.C (RowPainter, getFont): fix font inside inset
316         (bugs 1766, 1809)
317
318 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
319
320         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
321         preventing inserted font, deco, delim insets jumping to start of
322         surrounding inset.
323
324 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
325
326         * lyxfunc.C (dispatch): translate message before sending it to the
327         minibuffer.
328
329 2005-03-29  Angus Leeming  <leeming@lyx.org>
330
331         * lyx_main.C (priv_exec): call os::internal_path on each file passed
332         to LyX on the command line.
333
334 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
335
336         * vc-backend.C: use QuoteName to protect file names wherever
337         necessary.
338
339 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
340
341         * buffer.[Ch]:
342         * BranchList.h: fix bugs 1844,1845: document settings don't
343         stick
344
345 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
346
347         * lyxrc.C (setDefaults, read, output, getDescription): add support
348         for tex_allows_spaces.
349
350         * exporter.C (Export): allows files in directory containing spaces
351         if tex_allows_spaces is true.
352
353         * buffer.C (makeLaTeXFile): if the document path contains spaces,
354         output it in double quotes.
355
356 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
357
358         * rowpainter.C: use default text height for drawing change tracker
359         strikeout lines.
360
361 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
362
363         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
364
365 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
366
367         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
368         directory is missing.
369
370 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
371
372         * text2.C: fixed the fix, extended to other case.
373
374 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
375
376         * text2.C: fix for cursor up/down stuck in math [bug 1792]
377
378 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
379
380         * text2.C (cursorUp): get rid of a crash
381         * text.C (x2pos): add an assert
382
383 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
384
385         * lyxfunc.C (getStatus): fix warning when assertions are disabled
386
387         * text3.C:
388         * lyxfunc.C:
389         * dociterator.C: include <boost/current_function.hpp>, which is
390         needed when assertions are disabled.
391
392 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
393
394         * text2.C: fix for stuck cursor when traversing two
395         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
396
397 2005-02-25  Andreas Vox  <avox@arcor.de>
398
399         * output_docbook.C (makeParagraph): suppress trailing newline
400         after a run of paragraphs
401
402 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
403
404         * paragraph.C: fix for confused change tracker when pasting
405         text that begins with a lineseparator. [bug 1827]
406         (setChange(0, Change::INSERTED);)
407
408         * paragraph_funcs.C: fix for lost changes on triple-paste
409         in change tracking mode [bug 1827] (par.setChange()).
410
411 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
412
413         * text2.C (updateCounters, setCounter, expandLabel): move to
414         buffer_funcs.
415
416         * buffer_funcs.C (updateCounters): turn into a free standing
417         function and add a buffer parameter. Remove dead code for tracking
418         labelstring change.
419         (setCounter): change into a free-standing function which gets a
420         dociterator as argument. Use this iterator to fix captions in a
421         simple way. When no float is found above the caption, use the
422         labelstring of the caption layout as default.
423
424         * text.C (breakParagraph, backspace):
425         * text2.C (init, setLayout, changeDepth):
426         * text3.C (dispatch):
427         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
428         updateCounters.
429
430         * dociterator.C (forwardPar): make it much faster by calling
431         forwardPos() only when really necessary.
432
433         * output_docbook.C (makeCommand): adapt to expandLabel move.
434
435         * cursor.C: remove unused variable
436
437 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
438
439         * paragraph_funcs.C: fix crash when pasting insets in change
440         tracking mode [bug 1277] (honour change type in moveItem).
441
442 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
443
444         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
445
446 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
447
448         * BufferView.C (setCursor): change to use a DocIterator.
449         (gotoLabel): use BufferView::setCursor (other part of bug 781).
450         (putSelectionAt): adapt to BufferView::setCursor change.
451
452         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
453         moved here from LyXText and rewritten to use proper cursor
454         methods. Fixes bug 1787, 616 and 835.
455
456         * BufferView_pimpl.C (restorePosition): set the cursor correctly
457         when inside an inset (part of bug 781).
458         (dispatch): adapt to change of BufferView::setCursor.
459         (getStatus, dispatch): handle LFUN_GOTOERROR,
460         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
461
462         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
463         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
464         * text3.C (gotoNextInset, gotoInset): removed.
465
466 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
467
468         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
469
470 2005-02-15  Angus Leeming  <leeming@lyx.org>
471
472         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
473         can be used meaningfully in a comparison.
474
475 2005-02-13  André Pönitz  <poenitz@gmx.net>
476
477         * bufferview_funcs.C (coordOffset): improve cursor drawing
478
479 2005-02-13  André Pönitz  <poenitz@gmx.net>
480
481         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
482         * Cursor.C (dispatch): use fixIfBroken
483         * lyxfunc.C (getStatus): use fixIfBroken
484
485 2005-02-15  Angus Leeming  <leeming@lyx.org>
486
487         * lyx_main.C (error_handler):
488         * lyxfunc.C:
489         * lyxrc.C (setDefaults):
490         s/GetEnv/getEnv/.
491         #include "environment.h".
492
493         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
494
495 2005-02-15  Angus Leeming  <leeming@lyx.org>
496
497         * lyxserver.C (startPipe): squash MSVC warning "local variable
498         'fd' used without having been initialized".
499
500 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
501
502         * BufferView_pimpl.C: revert accidental commit.
503
504 2005-02-14  André Pönitz  <poenitz@gmx.net>
505
506         * dociterator.[Ch]: new member forwardPosNoDescent(),
507         which doesn't enter nested insets.
508         * text2.C (setFont): use forwardPosNoDescent() instead
509         of ForwardPos() (fixes crash on font change).
510
511 2005-02-13  Angus Leeming  <leeming@lyx.org>
512
513         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
514         only if lyxrc.path_prefix is not empty.
515
516 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
517
518         * bufferparams.C (readGraphicsDriver): prevent crash
519
520 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
521
522         * text2.C (setCounter): check for inInset() == 0
523
524 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
525
526         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
527         but use update() to get correct screen display; use convert
528         instead of istringstream.
529         (getStatus): handle LFUN_GOTO_PARAGRAPH
530
531         * lyxfunc.C (dispatch, getStatus): do not handle
532         LFUN_GOTO_PARAGRAPH here.
533
534 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
535
536         * text3.C (dispatch): size() -> depth()
537
538         * text2.C: remove some debug output
539
540         * paragraph.C: ws changes only
541
542         * lyxfunc.C (getStatus): size() -> depth()
543
544         * dociterator.h (clear, push_back, pop_back, internalData,
545         operator[], resize, empty): new functions
546         Make StableDocIterator and operator== be friends. Don't inherit
547         from std::vector use a privat class variable slices_ instead.
548         Modify to fit.
549
550         * dociterator.C: update because of not inheriting from std::vector
551         anymore. Call explictly to slices_ instead. Use depth() instead of
552         size() and top() instead of back()
553
554         * cursor.C: chagne size() -> depth and back() -> top(). Also
555         remove some direct operator[](i) calls in favour of foo[i]
556         (getFont): remove some dead code
557
558         * bufferview_funcs.C (coordOffset): size() -> depth()
559
560         * buffer.C: ws changes only
561
562         * CutAndPaste.C (eraseSelection): back() -> top()
563
564         * BufferView_pimpl.C (selectionRequested): back() -> top()
565
566         * BufferView.C (setCursor): size() -> depth()
567
568 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
569
570         * text3.C (cursorPrevious): return true if depm changed something
571         (cursorNext): ditto
572         (dispatch): rename sl to oldTopSlice, remove moving use the new
573         NoUpdate func attrib instead. Make sure that needsUpdate is set
574         for function that have NoUpdate, but where depm might have changed
575         the buffer anyway.
576
577         * text2.C (cursorLeft): make us return true if depm changed
578         something
579         (cursorRight): ditto
580         (cursorUpParagraph): ditto
581         (curosrDownParagraph): ditto
582         (cursorUp, cursorDown): ditto, make sure to read comments in code
583         (deleteEmptyParagraphMechanism): remove an assert, also return
584         true if just a single char was deleted.
585
586         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
587         cursor that we modify, to avoid modifying an active cursor before
588         we call setCursor. This allows depm to run. Also return true if
589         depm deleted something.
590
591         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
592         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
593         cursorDownParagraph, cursorPrevious and cursorNext, return true if
594         something was changed in the buffer because of them (ie. depm run)
595
596         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
597         debug messages. Make update by default be false. Make sure that
598         the result of update is retained throught several calls down to
599         dispatch.
600
601         * LyXAction.h: add a new func_attrib: NoUpdate
602
603         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
604         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
605         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
606         and LFUN_WORDLEFT
607         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
608
609 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
610
611         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
612         bv_->owner(), bv_->buffer() by direct references to the private
613         members.
614         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
615         (getStatus): isSavedPosition() is in BufferView::Pimpl.
616         (fitCursor): center() is in BufferView::Pimpl.
617         (getStatus, trackChanges, dispatch): no need for a temporary buf
618         variable
619         (fitCursor, workAreaDispatch): use workarea().workheight()
620
621 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
622
623         * CutAndPaste.C (pasteSelectionHelper): fix a crash
624
625 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
626
627         * buffer.C: format up to 241.
628         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
629         break if pasting into ERT
630         * lyxfunc.C (getStatus): suppress mathpanel and
631         LFUN_DIALOG_SHOW_NEW_INSET in ERT
632
633 2005-02-01  Angus Leeming  <leeming@lyx.org>
634
635         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
636
637 2005-02-01  Angus Leeming  <leeming@lyx.org>
638
639         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
640         calling fs::is_directory().
641
642 2005-01-31  Angus Leeming  <leeming@lyx.org>
643
644         * lyx_main.C (priv_exec): specify explicitly the relative location
645         of the top level build directory when run in-place.
646
647 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
648
649         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
650         LyXText containing the cursor, not the top-level one.
651
652         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
653         true.
654         (insertStringAsLines): rename par to pit; use temporary variable
655         par to hold a Paragraph; do not store par.layout() in a variable,
656         since the pointer may die when breaking paragraphs; pass pars to
657         breakParagraph() instead of Buffer::paragraphs().
658
659 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
660
661         * lyxlex_pimpl.h: #include <fstream>.
662
663         * BufferView.[Ch] (getLyXText): add a const version.
664
665         * BufferView_pimpl.C: add debug aids.
666
667         * RowList_fwd.h:
668         * buffer.h:
669         * lyxrow.h:
670         * paragraph_funcs.h: add commentary explaining what the class does.
671
672
673         * coordcache.[Ch]: add lots of commentary.
674         (startUpdating, doneUpdating): debug aids.
675         (arrays, insets, parPos, getParPos): accessors to private data.
676
677         * cursor_slice.[Ch] (text): add a const version.
678         * dociterator.[Ch] (text, innerText): add const versions.
679
680         * lyxtext.h (breakParagraph): change the keep_layout arg to a
681         bool.
682
683         * paragraph.C (getRow, pos2ros): add asserts.
684
685         * paragraph.h: add commentary. Lots of.
686
687         * paragraph.[Ch] (metrucs, draw): removed.
688
689         * cursor.C:
690         * rowpainter.[Ch]: const-correct changes.
691
692         * text.C: various obvious clean-ups. Removal of ancient cruft.
693         Bug fixes, even.
694
695 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
696
697         * vc-backend.C (find_file): rewrite to use boost.filesystem
698         (scanMaster): ditto
699
700         * main.C (main): set default name check for boost.filesystem to
701         no check
702
703         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
704         (open): ditto
705         (doImport): ditto
706         (actOnUpdatedPrefs): ditto
707
708         * lyx_main.C (init): rewrite to use boost.filesystem
709         (queryUserLyXDir): ditto
710
711         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
712         (getContentsOfAsciiFile): ditto
713
714         * lastfiles.C (readFile): rewrite to use boost.filesystem
715
716         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
717
718         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
719         (loadLyXFile): ditto
720
721         * buffer.C (Buffer): adjust for destroydir
722         (getLogName): rewrite to use boost.filesystem
723         (setFileName): ditto
724         (save): use fs::copy_file (from fs_extras)
725
726         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
727
728         * LaTeX.C (run): rewrite to use boost.filesystem
729         (scanAuxFiles): ditto
730         (handleFoundFile): ditto
731
732 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
733
734         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
735
736         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
737
738 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
739
740         * lyxlayout.[Ch]: change some vars from float to double
741
742         * buffer.C (readFile): make a local var const
743
744         * Several files: use convert<> instead of atoi,strToXXX and friends
745
746 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
747
748         * LaTeXFeatures.[Ch]: Add a static list packages_ that
749         holds the contents of packages.lst. New functions getAvailable
750         and isAvailable to parse and check that list, resp.
751
752         * LyXAction.C:
753         * lfuns.h:
754         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
755
756         * bufferparams.[Ch]: new param output_changes.
757
758         * Buffer.C: increase file format to 240.
759         Use output_changes and isVailable.
760
761         * changes.[Ch]:
762         * paragraph.C:
763         * paragraph_pimpl.C: Use output_changes and isVailable.
764
765 2005-01-23  Angus Leeming  <leeming@lyx.org>
766
767         * output_latex.C: #include "insetbibitem.h", rather than
768         forward declare function bibitemWidest.
769
770 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
771
772         * lyx_main.C (init): make it compile on the Mac.
773
774 2005-01-20  Angus Leeming  <leeming@lyx.org>
775
776         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
777         (setLyXMisc): (char string literal) != (char string literal) is
778         performing a comparison on the addresses. Convert one operand
779         explicitly to string to guarantee expected behaviour.
780         From MSVC warning.
781
782 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
783
784         * buffer.C:
785         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
786
787         * output_plaintext.C: remove unneeded #include gzstream.h.
788
789 2005-01-20  Angus Leeming  <leeming@lyx.org>
790
791         * SpellBase.h: rename some of the elements of the Result enum.
792
793         * aspell_local.h:
794         * ispell.h:
795         * pspell.h:
796         * aspell.C (check):
797         * ispell.C (check):
798         * pspell.C (check): ditto
799
800 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
801
802         * buffer.C: add #include <fstream>.
803
804         * lyx_main.C (init): Compile fix.
805
806         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
807
808 2005-01-20  Angus Leeming  <leeming@lyx.org>
809
810         * mover.h: change commentary to reflect the changed meaning of
811         the $$s placeholder.
812
813 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
814
815         * output_linuxdoc.C (linuxdocParagraphs): silence warning
816
817         * lyxfind.C (MatchString::operator()): remove bogus semicolon
818
819 2005-01-20  Angus Leeming  <leeming@lyx.org>
820
821         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
822         printing diagnostic data by not dereferecing an iterator past the
823         end.
824
825 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
826
827         * buffer.C (readHeader): use "&&" rather than "and".
828
829         * lyxserver.h (inPipeName, outPipeName): make these const.
830
831 2005-01-19  Angus Leeming  <leeming@lyx.org>
832
833         * lyx_main.C (error_handler, init): protect SIGHUP with
834         #ifdef SIGHUP guards.
835
836 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
837
838         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
839
840 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
841
842         * text.C (setHeightOfRow): add a margin at the top and bottom of
843         the document (bug 1761)
844
845 2005-01-17  Angus Leeming  <leeming@lyx.org>
846
847         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
848         with "python ". Workaround for a brain-dead Windows.
849
850 2005-01-16  Angus Leeming  <leeming@lyx.org>
851
852         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
853         for MacOSX and Windows to use prependEnvPath.
854         Strip out the hard-coded block to add elements to the PATH for
855         MacOSX and replace it with a call to prependEnvPath using the
856         contents of LyXRC::path_prefix.
857         (queryUserLyXDir): strip out the code to run reconfigure, instead
858         returning a boolean indicating the necessity to do so.
859         (reconfigureUserLyXDir): contains the code to reconfigure the
860         user support directory. Is now called after the various LyXRC data
861         files have been read.
862
863         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
864
865 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
866
867         * converter.[Ch] (convert): take a new parameter try_default. Use
868         a default converter (imagemagick) if try_default is true.
869
870 2005-01-13  Angus Leeming  <leeming@lyx.org>
871
872         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
873         os::cygwin_path_fix.
874         (write): output LyXRC::cygwin_path_fix as necessary.
875
876 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
877
878         * lyxrc.h:
879         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
880
881 2005-01-12  Angus Leeming  <leeming@lyx.org>
882
883         * lyx_main.C (init): set the PATH variable to include the
884         directory containing the LyX binary when running on Mac or Windows.
885
886 2005-01-12  Angus Leeming  <leeming@lyx.org>
887
888         * lyx_main.C (init): remove cruft that purports to set the locale
889         dir. It doesn't and is not needed anyway.
890
891 2005-01-10  Angus Leeming  <leeming@lyx.org>
892
893         * Makefile.am: remove the lyx_main.C special casing.
894
895         * BufferView_pimpl.C:
896         * bufferlist.C:
897         * exporter.C:
898         * lyx_cb.C:
899         * lyx_main.C:
900         * lyxfunc.C:
901         * messages.C: use support/package.h to provide the paths to the
902         various directories used by LyX.
903
904 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
905
906         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
907         layout if pasting into an empty paragraph)
908
909 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
910
911         * tex-accent.C: add <string>
912
913 2005-01-06  José Matos  <jamatos@lyx.org>
914
915         * ParagraphParameters.C (write): put every parameter in its own line.
916         * paragraph.C (write): reduce number of consecutive empty lines exported.
917         * buffer.C (LYX_FORMAT): increase file format to 239.
918
919 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
920
921         * everywhere: change support/tostr.h -> support/convert.h
922
923         * tabular.C: make all write_attributes templates, tostr -> convert
924
925         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
926         (emptyTag): and -> &&, and fix type for ret from getChar
927         (getFirstWord): fix type for ret from getChar
928         (onlyText): and -> &&
929         (simpleDocBookOnePar): and not -> && !, fix type for ret from
930         getChar
931
932         * toc.C (goTo, action):
933         * text3.C (dispatch):
934         * text.C (currentState):
935         * tex-accent.C (DoAccent):
936         * sgml.C:
937         * lyxrc.C:
938         * lyxfunc.C (menuNew):
939         * lyxfinc.C (replace):
940         * counters.C (laberItem):
941         * bufferview_funcs.C (font2string):
942         * bufferparams.C (writeFile):
943         * buffer.C (readFile):
944         * Spacing.C (set):
945         * MenuBackend.C: tostr -> convert
946
947         * LaTeX.C (runMessage): fix format
948         (scanAuxFiles): tostr -> convert
949
950         * BufferView_pimpl.C (savePosition): fix format
951         (restorePosition): ditto
952         (dispatch): ditto
953
954 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
955
956         * Spacing.[Ch]: New method getValueAsString().
957
958         * Spacing.[Ch]:
959         * bufferparams.C:
960         * ParagraphParameters.C:
961         * lyxlayout.C:
962         * text.C:
963         * text3.C: store/read spacing value as string.
964
965         * rowpainter.C: change float value (spacing_val) to double.
966
967         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
968         broken custom document spacing).
969
970 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
971
972         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
973         namespace, also more use of temp references and const
974
975         * cursor.[Ch] (getStatus): move to lyxfunc.C
976
977         * bufferparams.C: reformat slightly
978
979         * bufferview_funcs.C (font2string): constify arg
980
981         * changes.C:
982         * converter.C:
983         * counters.C:
984         * bufferlist.C:
985         * buffer_funcs.C: (many funcs): constify arg on function
986         definitions, also make more local vars const, also add ASSERTS on
987         pointer args.
988
989         * buffer.C (LYX_FORMAT): put const in correct place
990         (many funcs): constify arg on function definitions, also make
991         more local vars const
992
993         * aspell_local.h: remove "struct" from typdef setup
994
995         * aspell.C (check): make word_ok const
996         (nextMiss): simplify slightly
997         (error): ditto
998
999 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1000
1001         * lyxrc.[Ch]: store all float values as strings.
1002         use int (not float) for lyxrc.dpi.
1003
1004 2005-01-04  Angus Leeming  <leeming@lyx.org>
1005
1006         * lyx_cb.C (Reconfigure):
1007         * lyx_main.C (queryUserLyXDir):
1008         to run the <system_lyxdir>/configure correctly on Windows, prefix
1009         the path to the script with "sh " when generating the string that
1010         is passed to system().
1011
1012 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1013
1014         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1015
1016 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1017
1018         * lyxlength.C (asLatexString): get rid of setprecision
1019
1020 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1021
1022         * text2.C (setLayout): remove unused variable endpit.
1023         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1024
1025         * paragraph.C (onlyText): remove unused variable style.
1026
1027         * cursor.C (bruteFind): remove unused variables beg and end.
1028
1029         * Makefile.am (dist_noinset_DATA): not needed anymore
1030
1031         * cheaders/*: remove.
1032
1033 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1034
1035         * text3.C: fix LFUN_MATH_MODE.
1036
1037 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1038
1039         * buffer_funcs.C (countWords): new function. Counts words between
1040         two iterators.
1041
1042         * BufferView_pimpl.C (getStatus, dispatch): handle
1043         LFUN_WORDS_COUNT.
1044
1045         * LyXAction.C (init):
1046         * lfuns.h: add LFUN_WORDS_COUNT.
1047
1048 2004-12-19  Angus Leeming  <leeming@lyx.org>
1049
1050         * buffer.C (save): s/slashify_path/internal_path/.
1051
1052 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1053
1054         * lyxfind.C (findChange): do not search for end of pars, because
1055         the change tracker cannot handle this (fixes bug 1719).
1056
1057 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1058
1059         * paragraph.[Ch] (autoBreakRows): remove
1060
1061         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1062
1063         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1064         avoid using the paragraph one
1065
1066         * text2.C (LyXText, insertStringAsLines): adjust
1067
1068 2004-12-16  Angus Leeming  <leeming@lyx.org>
1069
1070         * bufferlist.C:
1071         * lyx_main.C:
1072         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1073
1074 2004-12-14  Angus Leeming  <leeming@lyx.org>
1075
1076         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1077
1078         * bufferlist.C (emergencyWrite):
1079         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1080         GetEnvPath("HOME").
1081
1082 2004-12-14  Angus Leeming  <leeming@lyx.org>
1083
1084         * main.C: (main): no longer pass pointers to os::init.
1085
1086 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1087
1088         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1089         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1090
1091 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1092
1093         * lyxfunc.C:
1094         * text3.C: remove selection_possible global flag
1095
1096 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1097
1098         * text2.C (getSelectionSpan): remove
1099         (changeDepth, changeDepthAllowed): adjust
1100
1101 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1102
1103         * Makefile.am (BOOST_LIBS): use boost variables
1104
1105 2004-12-03  José Matos  <jamatos@lyx.org>
1106
1107         * buffer.C: format up to 238.
1108
1109 2004-12-03  José Matos  <jamatos@lyx.org>
1110
1111         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1112
1113 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1114
1115         * cursor.C (goUpDown): remove call to idxUpDown2
1116
1117 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1118
1119         * tabular.[Ch]: use size_t-like types for cell, row and column
1120         indices
1121
1122 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1123
1124         * lyxfunc.C (getStatus): do not lose previous information when
1125         calling BufferView::getStatus; do not set a default "Command
1126         disabled" message at the beginning, but just before returning.
1127
1128 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1129
1130         * cursor.h (getStatus): add better comment from src/cursor.C
1131
1132 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1133
1134         * text3.C (getStatus): return false when the lfun is not handled
1135
1136 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1137
1138         * broken_headers.h: remove
1139
1140         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1141
1142 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1143
1144         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1145         offset_ref accessors
1146
1147         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1148         top_y_, merge fitcursor with update
1149         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1150         coord scheme
1151         (metrics): introduce
1152         (workAreaDispatch): adapt to new coord scheme
1153         (redoCurrentBuffer): remove
1154
1155         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1156
1157         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1158         CurStatus enum.
1159
1160         * coordcache.[Ch]: add paragraph cache and helpers
1161
1162         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1163         adjust everywhere
1164
1165         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1166         (targetX, setTargetX): introduce
1167
1168         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1169         baseline -> ascent, as the rest of lyx
1170
1171         * lyxtext.h: remove redoParagraphs, updateParPositions,
1172         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1173         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1174         have ascent/descent (ascent is ascent of first par)
1175
1176         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1177         step of BufferView
1178
1179         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1180
1181         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1182
1183         * pariterator.C: fix infinite loop introduced in par->pit renaming
1184
1185         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1186         in insets and LyXText, draw two off-screen paragraphs using
1187         NullPainter, and adapt to new coord scheme
1188
1189         * text.C:
1190         * text2.C:
1191         * text3.C: adapt lfun handlers to the new coord scheme, which
1192         means: there's only guaranteed coord information for onscreen pars
1193         plus one above and one below. This implies that one can do search
1194         from y coordinates in the range [-1,workHeight]
1195
1196 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1197
1198         * rename a lot of InsetOld to InsetBase
1199
1200 2004-11-25  Angus Leeming  <leeming@lyx.org>
1201
1202         * BufferView_pimpl.C:
1203         * lyx_cb.C:
1204         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1205
1206 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1207
1208         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1209         call BufferView::getStatus if LCursor::getStatus did nothing
1210         (setStatusMessage, getStatusMessage): removed.
1211
1212         * FuncStatus.C (message): new methods. Used to provide an error
1213         message indicating why a command is disabled.
1214         (clear, |=, FuncStatus): update for message.
1215
1216 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1217
1218         * lyxfunc.C (dispatch): always call sendDispatchMessage
1219
1220 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1221
1222         * BufferView.C:
1223         * BufferView_pimpl.C:
1224         * CutAndPaste.C:
1225         * FontIterator.C:
1226         * buffer.C:
1227         * cursor.C:
1228         * cursor_slice.[Ch]:
1229         * dociterator.[Ch]:
1230         * lyxfind.C:
1231         * paragraph_funcs.C:
1232         * pariterator.C:
1233         * rowpainter.C:
1234         * text.C:
1235         * text2.C:
1236         * text3.C:
1237         * undo.C: par->pit renaming
1238
1239 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1240
1241         * tabular.C (cellstruct): use initialization, store a shared_ptr
1242         to insettext instead of the insettext directly, adjust to fit.
1243         (operator=):  new function
1244         (swap): new function
1245         (rowstruct): use initialization
1246         (columnstruct): use initialization
1247         (ltType): use initialization
1248
1249
1250         * lyxlength.h (swap): new function
1251
1252         * LColor.[Ch] (operator=): use the common semantics
1253
1254 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1255
1256         * lyxfind.C (findNextChange): update the bufferview after setting
1257         the selection.
1258
1259 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1260
1261         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1262         number of InsetOptArgs has already been inserted.
1263
1264         * output_latex.C (latexOptArgInsets): new method. This outputs all
1265         the optarg insets, up to the limit defined in the layout file.
1266         (optArgInset): removed
1267         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1268
1269 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1270
1271         * paragraph.C (isLetter): remove special spellchecker-related
1272         code; return true also for digits
1273         (isWord, isKomma): remove
1274
1275         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1276         * lyxfind.C (MatchString()): use isLetter instead of isWord
1277
1278 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1279
1280         * pariterator.h (operatir=): comment out un-implemented member
1281         function.
1282
1283         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1284         static cast.
1285
1286 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1287
1288         * lyxfont.h: include LColor.h to satisfy concept checks.
1289
1290 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1291
1292         * pariterator.h: add typdefs for value_type, difference_type,
1293         pointer and reference to satisfy concept checks. Also add default
1294         constructor for same reason.
1295
1296         * pariterator.C (operator++): add post-increment operator to
1297         satisfy concept checks.
1298
1299         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1300         checks.
1301
1302         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1303
1304         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1305         checks. Also rename base_type to BaseType to follow naming
1306         standard better.
1307
1308         * FloatList.h: include Floating.h to satisfy concept checks.
1309
1310 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1311
1312         * lyxfunc.C (getStatus): when the origin of the request is menu or
1313         toolbar, and the LyXView does not have focus, do as if there was
1314         no buffer (bug 1720)
1315
1316         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1317         FuncRequest to individual entries of LFUN_SEQUENCE
1318
1319 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1320
1321         * output_latex.C (TeXOnePar): override runparams.moving_arg
1322         according to the needprotect value of the current paragraph (bug
1323         1739)
1324
1325         * paragraph.C (simpleTeXOnePar): no need to override
1326         runparams.moving_args here
1327
1328 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1329
1330         * vspace.C: fix off-by-one-error, related to fix #1682
1331
1332 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1333
1334         * lengthcommon.C: a more general fix for bug 1682
1335
1336 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1337
1338         * text.C (backspace): fix crash
1339
1340 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1341
1342         * format.[Ch] (getFormatFromFile): new method
1343         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1344
1345 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1346
1347         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1348
1349 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1350
1351         * lyxfunc.C (dispatch): remove the verbose argument
1352         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1353         instead
1354
1355         * kbmap.C (defkey): set the origin of func to KEYBOARD
1356
1357         * MenuBackend.C (MenuItem):
1358         * ToolbarBackend.C (add): set the origin of func to UI
1359
1360         * funcrequest.[Ch]: add origin member, which indicates which part
1361         of LyX requests an action
1362
1363 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1364
1365         * converter.C (move): don't lie in the error message
1366         * converter.h (isReachable, move): document
1367
1368 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1369
1370         * buffer.C: remove unused using lyx::support::atoi
1371         * paragraph_funcs.C: ditto
1372
1373 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1374
1375         * bufferlist.C (exists): use bind and equal_to instead of
1376         compare_memfun
1377         (getBuffer): ditto
1378         * lyxtextclasslist.C (NumberOfClass): ditto
1379
1380         * cursor.C (insert): use for_each instead of explicit for loop
1381
1382         * bufferlist.C (getFileNames): use std::transform and
1383         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1384
1385         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1386         for loop
1387
1388         * buffer.C (changeLanguage): use for_each instead of explicit for
1389         loop
1390         (hasParWithID): implement using getParFromID
1391
1392         * LaTeXFeatures.C: ws change only
1393
1394         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1395         to cleanup a bit.
1396
1397         * BufferView_pimpl.C (trackChanges): use for_each instead of
1398         expilicit for loop
1399
1400 2004-11-04  André Pönitz  <poenitz@gmx.net>
1401
1402         * undo.h:
1403         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1404
1405         * dociterator.C (asDocIterator): use hard assert again.
1406
1407 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1408
1409         * lyxlength.C (asLatexString): rewrite so that it does not use
1410         snprintf anymore
1411
1412 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1413
1414         * text3.C (specialChar, dispatch): make sure cursor moves to the
1415         right after inserting an inset
1416
1417 2004-11-02  José Matos  <jamatos@lyx.org>
1418
1419         * output_docbook.C (docbook):
1420         * paragraph.C (getID):
1421         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1422         garantee that the output is always legal.
1423
1424         * tabular.C (docbook):
1425         * outputprams.[Ch]: remove mixed contents.
1426
1427 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1428
1429         * text2.C (setCounter): prevent endless loop
1430
1431 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1432
1433         * exporter.C (copyFile): use the mover instead of support::copy()
1434         * exporter.C (Export): pass format and latex name to copyFile()
1435         * exporter.h (addExternalFile): document
1436         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1437
1438 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1439
1440         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1441
1442 2004-10-30  José Matos  <jamatos@lyx.org>
1443
1444         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1445         text and no inset or font change. This allows to use CDATA
1446         sections just for the whole paragraph.
1447
1448 2004-10-30  José Matos  <jamatos@lyx.org>
1449
1450         * paragraph.C (getFirstWord): remove unused variable.
1451
1452 2004-10-30  José Matos  <jamatos@lyx.org>
1453
1454         * paragraph.C (getFirstWord): the content should always be escaped
1455         there.
1456         (simpleDocBookOnePar):
1457         * output_docbook.C (makeEnvironment): replace reference to CDATA
1458         to style pass_thru.
1459
1460 2004-10-30  José Matos  <jamatos@lyx.org>
1461
1462         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1463
1464 2004-10-30  José Matos  <jamatos@lyx.org>
1465
1466         * output_docbook.C (makeParagraphs):
1467         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1468         standard paragraph has only a given type of content drop the wrapper.
1469
1470 2004-10-29  José Matos  <jamatos@lyx.org>
1471
1472         * output_docbook.C (makeEnvironment):
1473         * sgml.C (openTag):
1474         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1475
1476 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1477
1478         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1479         (cleanID): sanitize any id.
1480
1481 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1482
1483         * buffer.C, lyxlex_pimpl.C:
1484         * lyxlex_pimpl.C (setFile):
1485         s/getExtFromContents/getFormatFromContents/
1486
1487 2004-10-28  José Matos  <jamatos@lyx.org>
1488
1489         * output_docbook.C (makeEnvironment): move id to broadest possible
1490         scope.
1491
1492         * sgml.C (openTag): apply substitution of <> for all attributes.
1493
1494 2004-10-28  José Matos  <jamatos@lyx.org>
1495
1496         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1497         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1498         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1499
1500         * sgml.[Ch]: new version for open and closeTag for paragraph and
1501         for strings. Now they handle the ids of paragraphs.
1502
1503 2004-10-26  Angus Leeming  <leeming@lyx.org>
1504
1505         * Makefile.am: add mover.[Ch].
1506
1507         * converter.C (convert, move): use the new Movers to move external
1508         files to the temp directory.
1509
1510         * lyx_main.C (init): ensure that the global system_movers data
1511         is initialised.
1512
1513         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1514         preferences file.
1515
1516         * mover.[Ch]: new files, defining a Mover as a utility to move an
1517         external file between directories and, if necessary, manipulate this
1518         file using a helper script.
1519
1520 2004-10-25  José Matos  <jamatos@lyx.org>
1521
1522         * output_docbook.C (makeCommand): merge two if's that tested the
1523         same condition.
1524
1525 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1526
1527         * sgml.C (escapeString): fix warning in a better way
1528
1529 2004-10-25  José Matos  <jamatos@lyx.org>
1530
1531         * sgml.C (escapeString): import the require boosts header file for
1532         tie, and avoid a signed unsigned comparison.
1533
1534 2004-10-25  José Matos  <jamatos@lyx.org>
1535
1536         * sgml.h: add #include <string>
1537
1538 2004-10-25  José Matos  <jamatos@lyx.org>
1539
1540         * sgml.[Ch] (escapeString): new function to escape all the string.
1541
1542 2004-10-24  José Matos  <jamatos@lyx.org>
1543
1544         * paragraph.[Ch] (getFirstWord): new function to get the first
1545         word. Useful for description.
1546         (simpleDocBookOnePar): remove depth argument, add another that
1547         says where to start the paragraph.
1548
1549         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1550         use the new functions to fix cleanly the support for descriptions.
1551
1552 2004-10-24  José Matos  <jamatos@lyx.org>
1553
1554         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1555         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1556         * output_linuxdoc.C (linuxdocParagraphs):
1557         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1558         add buffer as argument.
1559
1560 2004-10-24  José Matos  <jamatos@lyx.org>
1561
1562         * output_docbook.C (makeEnvironment, searchEnvironment): place
1563         CDATA inside paragraphs and fix scope for listitems.
1564
1565 2004-10-24  José Matos  <jamatos@lyx.org>
1566
1567         * output_docbook.C: remove using statement for stack.
1568
1569 2004-10-23  José Matos  <jamatos@lyx.org>
1570
1571         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1572         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1573         docbook. The new scheme is recursive and makes use of iterators, the
1574         same as latex export works.
1575         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1576         directly with the paragraph contents. This code was moved up to
1577         output_docbook.C (docbookParagraphs).
1578         * sgml.C (openTag, closeTag): removed unneeded newlines.
1579         (closeEnvTags) removed.
1580
1581 2004-10-23  André Pönitz  <poenitz@gmx.net>
1582
1583         * undo.C (textUndoOrRedo):
1584         * dociterator.C (asDocIterator): work around crash
1585
1586         * cursor.C (getStatus): replace ASSERT by more verbose error message
1587           and manual correction of the problem. Should increase stability
1588           while providing more sensible information.
1589
1590 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1591
1592         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1593
1594         * bufferlist.C (previous, next): new methods
1595
1596         * lfuns.h:
1597         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1598
1599 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1600
1601         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1602         entities to preamble.
1603
1604 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1605
1606         * messages.C (Pimpl): strip off translation context information
1607
1608 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1609
1610         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1611         the cursor is correct (bug 1694)
1612
1613 2004-10-13  José Matos  <jamatos@lyx.org>
1614
1615         * output_docbook.C (docbookParagraphs): fix closing tags in the
1616         end of the document.
1617
1618 2004-10-09  José Matos  <jamatos@lyx.org>
1619
1620         * buffer.C: format up to 237.
1621         * bufferparams.C (write): use tostr to convert booleans to strings.
1622
1623 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1624
1625         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1626
1627 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1628
1629         * LaTeX.C: implement use of babel language in xindy.
1630
1631 2004-10-05  José Matos  <jamatos@lyx.org>
1632
1633         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1634         Add new translators to help reading and writing the lyx file.
1635
1636 2004-10-05  José Matos  <jamatos@lyx.org>
1637
1638         * ParagraphParameters.C (read):
1639         * text.C (readParToken): replace nexToken by more appropriate lex
1640         methods.
1641
1642 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1643
1644         * LaTeX.C (runMakeIndex):
1645         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1646         (usually 'makeindex') configurable.
1647
1648         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1649         with a variable rather than with a number.
1650
1651 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1652
1653         * output_latex.C (TeXOnePar): make sure font setting is the first
1654         thing that gets output (and the last at the end). Should fix bug
1655         1404.
1656
1657 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1658
1659         * pch.h: use proper signal include
1660
1661         * LaTeX.h: Use preferred calling of Boost.Signal
1662         * buffer.h: ditto
1663
1664 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1665
1666         * pch.h: dont include <boost/function/function0.hpp>
1667
1668         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1669
1670         * paragraph_pimpl.h: remove usage of ShareContainer
1671
1672         * paragraph_pimpl.C: remove initialization of ShareContainer.
1673
1674 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1675
1676         Fix bug #1666
1677
1678         * BufferView.C (putSelectionAt): change the semantics when
1679         backwards == true: now, this just swaps cursor and anchor wrt the
1680         forward case
1681
1682         * BufferView.h (putSelectionAt): add some documentation
1683
1684         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1685         make sure backwardChar is done at least once (to avoid getting
1686         stuck)
1687         (findNextChange): use putSelectionAt in the forward direction
1688         (operator()): use Paragraph::isWord
1689
1690 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1691
1692         * Spacing.C (set): c_str fix
1693
1694 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1695
1696         * lyx_cb.C (Reconfigure): quote the name of configure script in
1697         case it contains spaces
1698
1699 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1700
1701         * client: new dir
1702
1703         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1704         (BOOST_LIBS): use top_buildir when looking for the file
1705
1706 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1707
1708         * pch.h: do not use include boost/format.hpp, multiple symbols
1709                 will result (gcc bug)
1710
1711
1712 2004-08-23  José Matos  <jamatos@lyx.org>
1713
1714         * bufferparams.C (readToken): fix reading of the author field.
1715
1716 2004-08-20  José Matos  <jamatos@lyx.org>
1717
1718         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1719
1720 2004-08-20  José Matos  <jamatos@lyx.org>
1721
1722         * lyxlex.[Ch] (findToken): remove function.
1723
1724         * ParagraphParameters.C (findToken):
1725         * bufferparams.C (findToken): replace call for previous function
1726         with local copy. This local function has one more argument, the
1727         read string argument.
1728
1729 2004-08-16  José Matos  <jamatos@lyx.org>
1730
1731         * ParagraphParameters.C (write):
1732         * Spacing.C (writeFile):
1733         * bufferparams.C (writeLaTeX):
1734         * lyx_cb.C (Reconfigure):
1735         * paragraph.C (write):
1736         * tabular.C (write): remove unnecessary space at end of line.
1737
1738
1739 2004-08-16  José Matos  <jamatos@lyx.org>
1740
1741         * text.C (readParagraph): remove debug message.
1742
1743 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1744
1745         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1746         crash
1747
1748         * output_plaintext.C (asciiParagraph): set depth correctly
1749
1750         * outputparams.h: add member depth
1751
1752         * paragraph_funcs.C (ownerPar): remove.
1753
1754         * text2.C (setCounter): remove first_pit; comment out some
1755         non-working code that uses ownerPar
1756
1757         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1758         uses ownerPar
1759
1760 2004-08-16  José Matos  <jamatos@lyx.org>
1761
1762         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1763         For the same level of importance use the same chanel to report problems.
1764         (read): add code to deal with \begin_body and \end_body.
1765
1766
1767 2004-08-15  José Matos  <jamatos@lyx.org>
1768
1769         * lyxlex.C (getString): fix comment, buffer::readBody is now
1770         buffer:readDocument.
1771
1772         * tex-strings.C (string_papersize): Default -> default,
1773         Custom -> custom, for consistency with other options.
1774
1775 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1776
1777         * pch.h: new file
1778
1779         * Makefile.am: support pch
1780
1781 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1782
1783         * text.C (readParToken): remove the static LyXFont variable and
1784         pass it as a parameter instead. This fixes a nasty bug where an
1785         inset will be inserted with a bad font in some situations
1786         (readParagraph): adapt
1787
1788         * text2.C (setCounter): reduce number of calls to pars_[pit]
1789
1790         * text.C (singleWidth): add an assert, fix a test
1791
1792         * rowpainter.C (paintText): reduce number of calls to singleWidth
1793
1794         * paragraph.C (isHfill):
1795         (isNewline): ws only
1796
1797 2004-08-14  André Pönitz  <poenitz@gmx.net>
1798
1799         * text.C:
1800         * text2.C:
1801         * rowpainter.C:
1802         * lyxtext.h (several functions): use a Paragraph & argument
1803         instead of par_type
1804
1805 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1806
1807         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1808
1809         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1810
1811         * text.C (singleWidth): remove useless test
1812
1813 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1814
1815         * tabular.h: remove bogus comments
1816
1817         * tabular.C (getDescentOfRow):
1818         (isPartOfMultiColumn): add assertions
1819
1820         * lyxlength.C (inPixels): remove #warning
1821
1822 2004-08-14  André Pönitz  <poenitz@gmx.net>
1823
1824         * paragraph.h: inline getChar()
1825
1826         * BufferView.h: remove unused declarations
1827
1828 2004-08-14  José Matos  <jamatos@lyx.org>
1829
1830         * Buffer.[Ch] (readDocument): new name for old readBody.
1831         * Buffer.C: new file format, new keywords: \begin_document,
1832         \begin_header, \begin_body, \end_body.
1833
1834         * bufferparams.C (readToken): replace all calls to lex.nextToken
1835         by lex.next(). Do the same to eatLine except where really needed.
1836
1837         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1838         line when writing to the lyx file.
1839
1840         * output_plaintext.C (asciiParagraph): fix Bibliography style
1841         handling.
1842
1843         * text.C (read): fix end of file handling.
1844
1845 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1846
1847         * MenuBackend.C (Menu::operator[]): new method to access
1848         individual menu items
1849         (Menu::hasFunc): new method. search for an item that corresponds
1850         to a given func
1851         (MenuBackend::specialMenu): new method
1852         (MenuBackend::expand): if a special menu has been set, skip
1853         entries whose func() appears in this menu
1854
1855 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1856
1857         * text3.C: use Debug::DEBUG a bit more
1858
1859         * text.C (leftMargin): try to simplify a tiny bit change var x to
1860         l_margin. Dont output the wide margins always.
1861         (rightMargin): no margin in inner texts
1862
1863         * rowpainter.h (nestMargin): new func
1864         (changebarMargin): new func
1865         (rightMargin): new func
1866
1867         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1868         now functions.
1869         (paintLast): ditto
1870
1871         * factory.C (createInset): modify setDrawFrame
1872
1873         * cursor.C: use Debug::DEBUG a bit more
1874
1875 2004-08-14  André Pönitz  <poenitz@gmx.net>
1876
1877         * coordcache.[Ch]:
1878         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1879         cache for all insets in (at least partially) visible (top-level)
1880         paragraphs.
1881
1882         * BufferView_pimpl.C: reset external coord cache before every update.
1883         This means the coord cache only contains valid entries.
1884
1885 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1886
1887         bug 1096
1888         * BufferView_pimpl.C (getInsetByCode): move function out of class
1889         and change in to a template in anon namespace. Also fix to do what
1890         suits us better.
1891
1892 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1893
1894         bug 1305
1895         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1896         of char
1897         (breakParagraph): rename par to par_offset and use a local
1898         reference. Add code to keep the language over a rebreak.
1899         (breakParagraphConservative): rename par to par_offset, use a
1900         local reference
1901         (mergeParagraph): ditto
1902         (outerHook): ditto
1903         (isFirstInSequence): ditto
1904         (outerFont): rename pit to par_offset
1905
1906         * paragraph.C: ws change
1907         * paragraph.h: ditto
1908         * text3.C: ditto
1909         * text.C: ditto
1910
1911 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1912
1913         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1914         treatment for ']'
1915
1916         * paragraph.C (simpleTeXOnePar): when we have a \item with
1917         optional argument, enclose the argument with curly brackets (in
1918         case it contains a closing square bracket)
1919
1920         * text2.C (editXY):
1921         * text2.C (editXY):
1922         * text3.C (checkInsetHit): constify
1923
1924 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1925
1926         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1927         documents (bug 1629)
1928
1929 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1930
1931         Fix toggling of collapsable insets with the mouse (bug 1558)
1932
1933         * lyxfunc.C (dispatch): adapt to LCursor changes
1934
1935         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1936         make sure that dispatch is not invoked twice
1937
1938         * cursor.C (needsUpdate): new method
1939         (dispatch): return void
1940         (result): new method, to access the DispatchResult of the cursor.
1941
1942 2004-08-13  José Matos  <jamatos@lyx.org>
1943
1944         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1945
1946 2004-08-13  André Pönitz  <poenitz@gmx.net>
1947
1948         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1949
1950         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1951           multiple cells
1952
1953 2004-08-12  André Pönitz  <poenitz@gmx.net>
1954
1955         * text3.C: take out the 'cursor right' form insertInset and only
1956         do it in those places when it is really needed. Fixes crash on
1957         C-m...
1958
1959 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1960
1961         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1962
1963         * BufferView_pimpl.C (setBuffer): initialize the current font of
1964         the underlying LyXText
1965
1966 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1967
1968         * kbsequence.C (print): use UI native formatting for menu
1969         shortcuts
1970
1971         * text.C (insertChar): call Paragraph::insertChar with a font
1972         argument (cosmetic)
1973
1974         * paragraph.C (insertInset, insertChar): the version that takes a
1975         LyXFont argument is now a wrapper around the other one (the
1976         opposite used to be true).
1977
1978         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1979         argument. Font setting is done in Paragraph now.
1980
1981 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1982
1983         * outputparams.h: add new members intitle and lang.
1984
1985         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1986         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1987
1988 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1989
1990         * text3.C (dispatch): remove special handling of button 4 and 5,
1991         it is now taken care of in the frontend code.
1992
1993 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1994
1995         * Spacing.h: add <string> (STLPort compile fix)
1996
1997 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1998
1999         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2000
2001 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2002
2003         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2004         to bool.
2005
2006         * converter.C (showMessage): inherit from unary_function, make
2007         operator() const.
2008
2009         * buffer.C (writeFile): initialize retval
2010
2011         * InsetList.h: rename private variable list to list_
2012         * InsetList.[Ch]: adjust accordingly.
2013
2014 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2015
2016         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2017         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2018         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2019         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2020         * ParagraphParameters.C, LaTeXFeatures.C: replace
2021         "support/std_sstream.h" with <sstream>
2022
2023 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2024
2025         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2026         * lyxsocket.C (LyXServerSocket): ditto
2027         (serverCallback): ditto
2028
2029 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2030
2031         * LaTeXFeatures.C: check release date when loading jurabib.
2032
2033 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2034
2035         * lyxserver.C (startPipe): call register_socket_callback
2036         (endPipe): call unregister_socket_callback
2037
2038 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2039
2040         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2041         (LyXServerSocket): register the callback
2042         (LyXServerSocket): unregister the callback
2043         (fd): delete function
2044         (serverCallback): improve error checking and setup the callbacks.
2045         (dataCallback): change arg to fd.
2046         (writeln): new func (copied fro the client socket) used for server
2047         write to client.
2048         (LyXDataSocket): simplify
2049         (~LyXDataSocket): close ann unregiser callback
2050         (server): delete function
2051         (fd): delete function
2052         (readln): small changes, improve some std::string usage
2053         (writeln): constify a bit
2054
2055 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2056
2057         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2058         Qt frontend
2059
2060 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2061
2062         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2063         after it has been populated
2064
2065 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2066
2067         * text2.C (insertInset): move cursor when inserting inset.
2068
2069 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2070
2071         * kbmap.C (findbindings): a couple of new methods. returns a
2072         container of kb_sequence objects. The real work is done by the
2073         private recursive version
2074         (printbindings): uses findbindings to print out a bracketed list
2075         of bindings (renamed from findbinding).
2076
2077         * MenuBackend.C (binding): use kb_keymap::findbindings
2078
2079         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2080
2081 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2082
2083         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2084
2085 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2086
2087         * paragraph.C (isWord): return true on insets that report
2088         isLetter().
2089
2090         * text.C (getWord): use Paragraph::isWord to decide what is in a
2091         word and what is not; fix bug 1609.
2092
2093 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2094
2095         * tex-strings.C: add "none" to string_paperpackages[], fixes
2096         off-by-one-error in the paperpackage selection.
2097
2098         * lyxlex.[Ch]:
2099         * tex-strings.[Ch]: char const * string[n]
2100         -> char const * const string[]
2101
2102 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2103
2104         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2105         command, return early.
2106
2107 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2108
2109         * debug.h: add DEBUG to enum and fix size of ANY.
2110
2111         * debug.C: add support for Debug::DEBUG
2112         (showTags): cast errorTags.level to unsigned int
2113
2114         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2115         (redoCurrentBuffer): ditto
2116         (updateScrollbar): ditto
2117         * cursor.C (dispatch): ditto
2118         * text2.C (setLayout): ditto
2119         (setFont): ditto
2120         (updateCounters): ditto
2121         (editXY): ditto
2122         (deleteEmptyParagraphMechanism): ditto
2123
2124 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2125
2126         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2127         annotations to cleanup the Makefile slightly.
2128
2129 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2130
2131         * lyxrc.C: do not set user_email to a default value but use empty
2132         instead. The entry used to be translated, which does not work
2133         since at the point where lyxrc is constructed there is no
2134         translation service available
2135
2136         * messages.C (getLocaleDir): remove and use directly
2137         lyx_localedir() instead
2138
2139 2004-06-02  Angus Leeming  <leeming@lyx.org>
2140
2141         Fix crash caused by dereferencing null pointer 'exportdata' in
2142         OutputParams by creating a new ExportData variable on the heap,
2143         storing it in a boost::shared_ptr.
2144         The crash was triggered when generating an Instant Preview
2145         of an external inset.
2146
2147         * Makefile.am: add outputparams.C
2148
2149         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2150         (c-tor): allocate memory to it.
2151
2152         * exporter.C (c-tor): associated changes.
2153
2154 2004-06-01  Angus Leeming  <leeming@lyx.org>
2155
2156         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2157         contains data before calling isInset(0). (Bug 1513.)
2158
2159 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2160
2161         * exporter.C (checkOverwrite): new method
2162         * exporter.C (copyFile): new method
2163         * exporter.C (Export): copy referenced files to the document dir
2164         * exporter.[Ch]: new class ExportedFile
2165         * exporter.[Ch]: new class ExportData. Contains currently the
2166         names of referenced external files
2167         * outputparams.h: add exportdata member.
2168
2169 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2170
2171         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2172         version.C-tmp
2173
2174 2004-05-19  Angus Leeming  <leeming@lyx.org>
2175
2176         * LaTeXFeatures.C:
2177         * ToolbarBackend.C:
2178         * bufferparams.C:
2179         * lyxfunc.C: small changes due to the introduction of namespace
2180         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2181
2182 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2183
2184         * text3.C (dispatch): supress update when only moving the cursor
2185         * cursor.C (selHandle): remove commented code
2186
2187 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2188
2189         * paragraph.C (startTeXParParams): correct column count
2190         * CutAndPaste.C (pasteSelection): remove const_cast
2191         * output_docbook.C (docbookParagraphs): remove const_cast
2192         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2193         const_cast and return ParagraphList::const_iterator
2194         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2195         * output_plaintext.C (writeFileAscii): remove const_cast
2196         * paragraph.[Ch] (simpleTeXOnePar): make const
2197         * paragraph_funcs.C (outerPar): use const iterators
2198         * paragraph_pimpl.C (validate): use const iterators
2199         * text.C (setHeightOfRow): use const iterators
2200
2201 2004-05-17  Angus Leeming  <leeming@lyx.org>
2202
2203         * lfuns.h:
2204         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2205
2206         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2207         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2208         if the citation engine has changed.
2209
2210 2004-05-14  José Matos  <jamatos@lyx.org>
2211
2212         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2213         if the textclass does not provide it. Have it different for sgml and
2214         xml.
2215         support the language of document.
2216         * output_docbook.C (docbookParagraphs):
2217         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2218         first anchor as the id of the paragraph, remove special case code.
2219         * sgml.C (escapeChar): escape only < & >.
2220
2221 2004-05-14  Angus Leeming  <leeming@lyx.org>
2222
2223         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2224         dependencies on src/frontends/controllers/biblio.h. Define a
2225         CiteEngine_enum wrapper class to enable the enum to be forward
2226         declared.
2227
2228 2004-05-12  Angus Leeming  <leeming@lyx.org>
2229
2230         * buffer.C: up LYX_FORMAT to 234.
2231         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2232         use_numerical_citations with a single biblio::CiteEngine cite_engine
2233         variable.
2234         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2235
2236 2004-05-13  José Matos  <jamatos@lyx.org>
2237
2238         * converter.h:
2239         * converter.C (Converter, readFlags): add xml member.
2240         * outputparams.h: add XML flavor.
2241         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2242
2243 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2244
2245         * lyxfunc.C (dispatch):
2246         (getStatus): fix handling of LFUN_SEQUENCE
2247
2248 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2249
2250         * debug.C (showLevel): do not forget the end-of-line marker
2251
2252 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2253
2254         * kbmap.C (read): do not stop parsing a bind file when an error
2255         occurs (bug 1575)
2256
2257 2004-04-29  Angus Leeming  <leeming@lyx.org>
2258
2259         * cursor.C:
2260         * factory.C:
2261         * pariterator.C:
2262         * text2.C: wrap a bunch of #warning statements
2263         inside #ifdef WITH_WARNINGS blocks.
2264
2265 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2266
2267         * buffer.C: increment format to 233.
2268
2269 2004-04-28  Angus Leeming  <leeming@lyx.org>
2270
2271         * BufferView_pimpl.C:
2272         * lyxfunc.C:
2273         * text3.C:
2274         s/updateToolbar()/updateToolbars()/
2275         s/Toolbar.h/Toolbars.h/
2276
2277 2004-04-28  Angus Leeming  <leeming@lyx.org>
2278
2279         * BufferView.[Ch] (c-tor):
2280         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2281         No longer passes these data to the WorkArea generator.
2282
2283 2004-04-28  Angus Leeming  <leeming@lyx.org>
2284
2285         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2286
2287 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2288
2289         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2290
2291 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2292
2293         * output_latex.C (TeXEnvironment): make sure that there is a line
2294         break before \end{foo} for the last paragraph of a document
2295         (TeXOnePar): if the paragraph is at the end of the document (or
2296         inset) and the language has to be reset, then make sure that the
2297         line break is _before_ the language command, not after (fixes bug
2298         1225); also make sure that the language reset command is the first
2299         thing after the paragraph (to ensure proper nesting of
2300         environments and thus fix bug 1404)
2301
2302 2004-04-21  John Levon  <levon@movementarian.org>
2303
2304         * ToolbarBackend.h:
2305         * ToolbarBackend.C: make "name" be a programmatic name
2306         and a gui_name field.
2307
2308         * lyxfunc.C: display the minibuffer on M-x
2309
2310 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2311
2312         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2313         (bug 1526)
2314
2315 2004-04-19  Angus Leeming  <leeming@lyx.org>
2316
2317         * BufferView_pimpl.C (setBuffer): changed preview interface.
2318
2319         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2320         possible values.
2321
2322 2004-04-19  John Levon  <levon@movementarian.org>
2323
2324         * BufferView_pimpl.C:
2325         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2326
2327 2004-04-05  Angus Leeming  <leeming@lyx.org>
2328
2329         * text.C (redoParagraphs): add call to updateCounters(), thereby
2330         fixing the missing "Figure #:" label from the caption of a
2331         figure float.
2332
2333 2004-04-13  Angus Leeming  <leeming@lyx.org>
2334
2335         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2336         cursor is clicked out of an inset.
2337
2338 2004-04-13  Angus Leeming  <leeming@lyx.org>
2339
2340         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2341         than an InsetOld one.
2342
2343 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2344
2345         * format.[Ch]: add editor to Format
2346         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2347         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2348
2349 2004-04-08  André Pönitz  <poenitz@gmx.net>
2350
2351         * metricsinfo.h: remove PainterInfo::width member
2352
2353 2004-04-08  Angus Leeming  <leeming@lyx.org>
2354
2355         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2356         "\providecommand" rather than "\newcommand", thereby preventing
2357         clashes with packages that define "\boldsymbol" themselves.
2358         Eg, beamer.
2359
2360 2004-04-08  Angus Leeming  <leeming@lyx.org>
2361
2362         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2363         thereby squashing an unnecessary warning.
2364
2365 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2366
2367         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2368         setBuffer()
2369
2370 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2371
2372         * BufferView.C (setCursor): call redoParagraph (some insets could
2373         have been opened)
2374         (putSelectionAt): remove the 'double update' trick
2375
2376         * BufferView_pimpl.C (fitCursor): call refreshPar
2377         (workAreaDispatch): remove an uneeded update call
2378         (dispatch): remove some manual update calls
2379
2380         * cursor.[Ch]: remove cached_y_, updatePos
2381         (selHandle): set noUpdate when appropriate
2382
2383         * lyxfunc.C (dispatch): track if we need an update
2384
2385         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2386
2387         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2388         (paintSelection): cheap optimization, do not call cursorX when not
2389         needed
2390         (paintPars): change signature
2391         (refreshPar): add
2392         (paintText): adjust
2393         (paintTextInset): adjust
2394
2395         * text.C: adjust
2396
2397 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2398
2399         * lengthcommon.C: compilation fix: remove explicit array size from
2400         unit_name[] and friends
2401
2402 2004-04-05  Angus Leeming  <leeming@lyx.org>
2403
2404         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2405
2406         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2407         present only for the preferences dialog.
2408         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2409
2410 2004-04-05  Angus Leeming  <leeming@lyx.org>
2411
2412         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2413         to enable the frontends to export changes to lyxrc correctly.
2414
2415         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2416
2417 2004-04-07  André Pönitz  <poenitz@gmx.net>
2418
2419         * cursor.[Ch] (selClear, adjust): remove math
2420
2421         * cursor_slice.C: more agressive assert
2422
2423         * lyxfunc.C:
2424         * BufferView_pimpl.C: rework mouse event dispatch
2425
2426         * dociterator.C:
2427         * paragraph.C:
2428         * text2.C:
2429         * text3.C: adjust
2430
2431 2004-04-05  André Pönitz  <poenitz@gmx.net>
2432
2433         * cursor.[Ch] (valign, halign...): remove unneeded functions
2434
2435 2004-04-05  Angus Leeming  <leeming@lyx.org>
2436
2437         * lyxlength.[Ch] (unit_name et al.): const-correct.
2438
2439 2004-04-05  Angus Leeming  <leeming@lyx.org>
2440
2441         * BufferView_pimpl.C:
2442         * buffer.C:
2443         * counters.C:
2444         * cursor.C:
2445         * lyxfunc.C
2446         * paragraph.C:
2447         * pariterator.C:
2448         * text.C:
2449         * text2.C:
2450         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2451
2452 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2453
2454         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2455
2456 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2457
2458         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2459         * BufferView_pimpl.[Ch] (getStatus)
2460         * BufferView.[Ch] (getStatus): add
2461         * lyxfunc.C (getStatus): move lfuns handled in
2462         BufferView::dispatch to te function above
2463         * Cursor.C (setSelection): set selection() = true
2464
2465 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2466
2467         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2468
2469 2004-03-31  Angus Leeming  <leeming@lyx.org>
2470
2471         * lyxfunc.C (dispatch): Fall through to the generic
2472         Dialogs::show("preamble").
2473
2474 2004-03-31  Angus Leeming  <leeming@lyx.org>
2475
2476         * lyxfunc.C (dispatch): Fall through to the generic
2477         Dialogs::show("spellchecker").
2478
2479 2004-03-31  Angus Leeming  <leeming@lyx.org>
2480
2481         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2482         preferences dialog.
2483
2484 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2485
2486         * BufferView.C
2487         * cursor.[Ch]
2488         * dociterator.[Ch]:
2489         * insetiterator.[Ch]:
2490         * lyxfind.C:
2491         * lyxfunc.C:
2492         * pariterator.[Ch]:
2493         * text2.C:
2494         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2495
2496 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2497
2498         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2499         insets where we are putting the cursor.
2500
2501 2004-03-31  Angus Leeming  <leeming@lyx.org>
2502
2503         * lfuns.h:
2504         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2505
2506         * lyxrc.[Ch] (read, write): overloaded member functions taking
2507         a std::[io]stream arguments.
2508
2509         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2510
2511 2004-03-31  Angus Leeming  <leeming@lyx.org>
2512
2513         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2514         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2515
2516         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2517         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2518
2519 2004-03-31  Angus Leeming  <leeming@lyx.org>
2520
2521         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2522         the LFUN_ALL_INSETS_TOGGLE code.
2523
2524 2004-03-30  Angus Leeming  <leeming@lyx.org>
2525
2526         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2527         has died. Fall through to the generic Dialogs::show("document").
2528
2529 2004-03-30  Angus Leeming  <leeming@lyx.org>
2530
2531         * lfuns.h:
2532         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2533         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2534
2535         * lyxfunc.C (getStatus, dispatch): define the actions for these
2536         lfuns. Little more than a cut and pste job from ControlDocument.C
2537
2538         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2539
2540 2004-03-30  Angus Leeming  <leeming@lyx.org>
2541
2542         * lfuns.h:
2543         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2544         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2545
2546         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2547         open/closed state of ollapsable insets. Usage:
2548
2549         all-inset-toggle <state> <name>, where
2550         <state> == "open" || "closed" || "toggle" and
2551         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2552
2553         * lyxtext.h, text2.C (toggleInset): removed.
2554
2555         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2556         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2557         now passes LFUN_INSET_TOGGLE to the found inset.
2558
2559         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2560         is now invoked as "all-insets-toggle toggle branch".
2561
2562 2004-03-30  Angus Leeming  <leeming@lyx.org>
2563
2564         * dociterator.C:
2565         * insetiterator.C:
2566         * pariterator.[Ch]: added/corrected header blurb.
2567
2568 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2569
2570         * dociterator.[Ch]: add an inset_ member
2571         (backwardPos): implemented
2572         (backwardPos, forwardPos): use inset_ when the stack is empty.
2573         (doc_iterator_begin, doc_iterator_end): implemented
2574         * pariterator.[Ch]: adjust, add begin, end
2575         * insetiterator.[Ch]: adjust, add begin, end
2576         * cursor.C:
2577         * document.C:
2578         * BufferView.C:
2579         * BufferView_pimpl.C:
2580         * CutAndPaste.C: adjust
2581
2582 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2583
2584         * buffer.C: increment file format to 232.
2585         * LaTeXFeatures.C: add bibtopic package.
2586         * bufferparams.[Ch]: param \use_bibtopic.
2587
2588         * lyxrc.[Ch]: add lyxrc bibtex_command
2589         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2590
2591         * buffer.C: increment file format to 231.
2592
2593 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2594
2595         * dociterator.C: implement forwardPar
2596         * iterators.[Ch]: remove, replaced by
2597         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2598         * BufferView.C:
2599         * BufferView_pimpl.C:
2600         * CutAndPaste.C:
2601         * buffer.C:
2602         * bufferview_funcs.C:
2603         * cursor.C:
2604         * lyxfind.C
2605         * lyxfunc.C
2606         * paragraph_funcs.C
2607         * toc.C:
2608         * Makefile.am: adjust
2609
2610 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2611
2612         * CutAndPaste.C (pasteSelection): fix 2 crashes
2613         (eraseSelection): fix a crash
2614         * paragraph_funcs.C: remove a warning
2615
2616 2004-03-28  Angus Leeming  <leeming@lyx.org>
2617
2618         * lfuns.h:
2619         * LyXAction.C (init): new LFUN_PRINT.
2620
2621         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2622
2623 2004-03-27  Angus Leeming  <leeming@lyx.org>
2624
2625         * lfuns.h:
2626         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2627
2628         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2629
2630 2004-03-27  Angus Leeming  <leeming@lyx.org>
2631
2632         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2633         insetlist always contains non-null pointers to insets.
2634
2635 2004-03-26  Angus Leeming  <leeming@lyx.org>
2636
2637         * src/BufferView_pimpl.C:
2638         * src/CutAndPaste.C:
2639         * src/buffer.C:
2640         * src/iterators.C:
2641         * src/output_plaintext.C:
2642         * src/outputparams.h:
2643         * src/paragraph_funcs.C:
2644         * src/rowpainter.C:
2645         * src/text.C:
2646         * src/text2.C:
2647         * src/frontends/controllers/ControlErrorList.C:
2648         * src/frontends/gtk/FileDialogPrivate.C:
2649         * src/frontends/gtk/GPainter.C:
2650         * src/frontends/gtk/GToolbar.C:
2651         * src/frontends/qt2/QRef.C:
2652         * src/mathed/math_scriptinset.C: squash compiler warnings.
2653
2654 2004-03-26  Angus Leeming  <leeming@lyx.org>
2655
2656         * ispell.C (LaunchIspell::start):
2657         * lyx_cb.C (AutoSaveBuffer::start):
2658         invoke run(DontWait) rather than runNonBlocking().
2659
2660 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2661
2662         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2663
2664 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2665
2666         * kbsequence.C (print): adjust
2667
2668         * kbmap.C (printKeySym): rename and change signature
2669         (printKey): use LyXKeySym::print()
2670
2671 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2672
2673         * undo.C: add using std::advance to compile for stlport
2674
2675 2004-03-24  Angus Leeming  <leeming@lyx.org>
2676
2677         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2678         it leads to a crash when no buffer is present.
2679
2680 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2681             Martin Vermeer  <martin.vermeer@hut.fi>
2682
2683         * lyxfunc.C (dispatch):
2684         * bufferparams.C (readToken): use the new LColor::setColor
2685
2686         * LColor.[Ch] (setColor): new version that takes two strings as
2687         argument and creates a new color entry if necessary
2688
2689 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2690
2691         * buffer.C (makeLaTeXFile): if the main latex file that is
2692         processed is usually a subdocument of some master, then pretend
2693         for a while that it is actually the master
2694
2695 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2696
2697         * buffer.C (getLabelList):
2698         (getBibkeyList): use getMasterBuffer()
2699         (getMasterBuffer): new method. Returns the main document in the
2700         case where one is using included documents.
2701
2702 2004-03-25  André Pönitz  <poenitz@gmx.net>
2703
2704         * Makefile.am:
2705         * iterators.[Ch]:
2706         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2707
2708         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2709
2710         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2711         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2712
2713         * ParameterStruct.h: merge with ParagraphParameters
2714
2715         * lyxtext.h: remove LyXText::parOffset() and getPar()
2716
2717         * text3.C: Remove all 'manual' update calls. We do now one per user
2718         interaction which is completely sufficient.
2719
2720         * Bidi.C:
2721         * BufferView.[Ch]:
2722         * BufferView_pimpl.C:
2723         * FontIterator.[Ch]:
2724         * MenuBackend.C:
2725         * ParagraphParameters.[Ch]:
2726         * buffer.C:
2727         * buffer.h:
2728         * bufferlist.C:
2729         * cursor.[Ch]:
2730         * cursor_slice.[Ch]:
2731         * dociterator.[Ch]:
2732         * errorlist.[Ch]:
2733         * factory.C:
2734         * lfuns.h:
2735         * lyxfind.C:
2736         * lyxfunc.C:
2737         * output_docbook.[Ch]:
2738         * output_latex.[Ch]:
2739         * output_linuxdoc.[Ch]:
2740         * output_plaintext.[Ch]:
2741         * paragraph.[Ch]:
2742         * paragraph_funcs.[Ch]:
2743         * paragraph_pimpl.[Ch]:
2744         * rowpainter.C:
2745         * tabular.[Ch]:
2746         * text.C:
2747         * text2.C:
2748         * toc.C:
2749         * undo.[Ch]: adjust
2750
2751         * frontends/controllers/ControlDocument.C:
2752         * frontends/controllers/ControlErrorList.C:
2753         * frontends/controllers/ControlSpellchecker.C:
2754         * insets/inset.C:
2755         * insets/inset.h:
2756         * insets/insetbase.h:
2757         * insets/insetbibitem.C:
2758         * insets/insetbox.C:
2759         * insets/insetbranch.C:
2760         * insets/insetcaption.C:
2761         * insets/insetcharstyle.C:
2762         * insets/insetcharstyle.h:
2763         * insets/insetcollapsable.C:
2764         * insets/insetcollapsable.h:
2765         * insets/insetert.C:
2766         * insets/insetfloat.C:
2767         * insets/insetfoot.C:
2768         * insets/insetmarginal.C:
2769         * insets/insetnote.C:
2770         * insets/insetoptarg.C:
2771         * insets/insettabular.C:
2772         * insets/insettext.C:
2773         * insets/insettext.h:
2774         * insets/insetwrap.C:
2775         * mathed/math_mboxinset.C:
2776         * mathed/math_nestinset.C:
2777         * mathed/math_scriptinset.C:
2778         * mathed/math_scriptinset.h:
2779         * support/types.h:
2780
2781 2004-03-24  Angus Leeming  <leeming@lyx.org>
2782
2783         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2784         deal with any child processes that have finished but are waiting to
2785         communicate this fact to the rest of LyX.
2786
2787 2004-03-24  Angus Leeming  <leeming@lyx.org>
2788
2789         64-bit compile fixes.
2790
2791         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2792         (c-tor): pass lyx::pos_types rather than ints.
2793
2794         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2795         lyx::pos_type.
2796
2797         * text.C (Delete): compile fix.
2798         (getPar): ensure that function declaration is the same as that in
2799         the header file.
2800
2801 2004-03-23  Angus Leeming  <leeming@lyx.org>
2802
2803         * ispell.C (LaunchIspell):
2804         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2805         a boost::shred_ptr rather than a std::auto_ptr.
2806
2807 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2808
2809         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2810         handle LFUN_FILE_INSERT_*
2811
2812         * lyxrc.C (setDefaults, getDescription, output, read):
2813         * lyxrc.h: remove ps_command
2814
2815 2004-03-22  Angus Leeming  <leeming@lyx.org>
2816
2817         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2818         Ensure that error_handler is processed once only and that all data
2819         is saved before attempting to output any warning messages.
2820
2821         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2822
2823 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2824
2825         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2826
2827 2004-03-19  André Pönitz  <poenitz@gmx.net>
2828
2829         * cursor.[Ch] (reset): take main text inset as argument
2830
2831         * BufferView: adjust
2832         * BufferView_pimpl.C: adjust
2833
2834         * paragraph.[Ch]: fix completely broken operator=()
2835
2836 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2837
2838         * LColor.C (getFromLyXName): make sure that the color name is used
2839         as lowercase.
2840
2841 2004-03-17  Angus Leeming  <leeming@lyx.org>
2842
2843         * lfuns.h:
2844         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2845
2846         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2847         dialog and to kill a forked process.
2848
2849 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2850
2851         * text2.C (setCursorFromCoordinates): fix font problem
2852
2853 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2854
2855         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2856         bogus "rebuild cursor" code
2857
2858 2004-03-11  André Pönitz  <poenitz@gmx.net>
2859
2860         * buffer.[Ch]: use InsetText instead of LyXText as container for
2861         the main lyx text.
2862
2863         * dociterator.[Ch]: drop the BufferView * member which is not needed
2864         anymore after the change to buffer.C
2865
2866         * paragraph_funcs.C:
2867         * text.C:
2868         * text2.C:
2869         * BufferView.[Ch]:
2870         * BufferView_pimpl.[Ch]:
2871         * cursor.[Ch]:
2872         * cursor_slice.[Ch]: adjust
2873
2874         * text3.C: fix bug in mathDispatch
2875
2876 2004-03-08  André Pönitz  <poenitz@gmx.net>
2877
2878         * undo.[Ch]: use 'StableDocumentIterator' as base for
2879         the Undo struct.
2880
2881 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2882
2883         * LaTeXFeatures.C:
2884         * bufferparams.[Ch]: add jurabib support and param.
2885
2886         * LaTeX.C: add FIXME/comment.
2887
2888 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2889
2890         * buffer.C: increment file format to 230.
2891
2892 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2893
2894         * cursor.C (dispatch): avoid infinite loops
2895
2896 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2897
2898         * rowpainter.C (paintSelection): fix x coordinates
2899
2900 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2901
2902         * text.C (rowBreakPoint): fix breaking before displayed insets
2903
2904 2004-03-01  André Pönitz  <poenitz@gmx.net>
2905
2906         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2907
2908         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2909
2910         * Makefile.am:
2911         * BufferView.C:
2912         * BufferView_pimpl.C:
2913         * buffer.C:
2914         * lyxfind.C:
2915         * lyxfunc.C:
2916         * text.C:
2917         * text2.C:
2918         * text3.C: adjust
2919
2920 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2921
2922         * lyxtext.h:
2923         * text.C:
2924         * text2.C:
2925         * rowpainter.C:
2926         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2927         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2928
2929 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2930
2931         * Bidi.[Ch] (computeTables): const correctness
2932         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2933         fill_hfill, fill_label_hfill and x from Row
2934         * lyxtext.h: prepareToPrint returns a RowMetrics
2935         * rowPainter.C: adjust
2936         * text.C (prepareToPrint): use width, not textWidth. adjust
2937         (redoParagraphInternal, cursorX): adjust
2938         * text2.C (getColumnNearX): adjust
2939         (init): put a default value to the top LyXText::width
2940
2941 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2942
2943         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2944
2945 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2946
2947         * lyxtext.h: add FontIterator class
2948
2949         * text.C (FontIterator, operator*, operator->, operator++): add
2950         (rowBreakPoint, setRowWidth): adjust (fixing a
2951         rebreaking bug)
2952
2953 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2954
2955         * BufferView_pimpl.C (workAreaDispatch): allow also
2956         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2957
2958 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2959
2960         * text.C (rowBreakPoint): fix a bug showing with very large insets
2961
2962 2004-02-25  André Pönitz  <poenitz@gmx.net>
2963
2964         * text3.C:
2965         * cursor.[Ch]: move some mathed specific code to mathed
2966
2967 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2968
2969         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2970         use_tempdir in preferences
2971         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2972         tempfile creation
2973         * lyx_main.C: ensure that tempdir is valid
2974         * lyxlex.h: correct typo
2975         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2976         * paragraph.[Ch] (isMultiLingual): make const
2977         * cursor.[Ch] (openable): make const
2978
2979 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2980
2981         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2982
2983 2004-02-20  André Pönitz  <poenitz@gmx.net>
2984
2985         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2986
2987         * cursor.[Ch]: prepare for localized getStatus()
2988
2989         * lyxtext.h:
2990         * tabular.C:
2991         * text.C:
2992         * text2.C:
2993         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2994
2995 2004-02-20  André Pönitz  <poenitz@gmx.net>
2996
2997         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2998
2999 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3000
3001         * text2.C (setCursorFromCoordinates): switch to absolute coords
3002         (cursorUp): adjust
3003         (cursorDown): adjust
3004         * text3.C (dispatch): adjust
3005
3006 2004-02-16  André Pönitz  <poenitz@gmx.net>
3007
3008         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3009           insets/ChangeLog)
3010
3011         * cursor_slice.[Ch]: remove unneeded acessor function
3012
3013         * lyxtext.h: rename rtl() to isRTL()
3014
3015         * rowpainter.C:
3016         * tabular.C:
3017         * text.C:
3018         * text2.C:
3019         * text3.C: adjust
3020
3021 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3022
3023         * rowpainter.C (paintSelection): coord fix
3024
3025 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3026
3027         * Spacing.C: compile fix
3028
3029 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3030
3031         * cursor.C (dispatch): restore current_ before returning
3032
3033 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3034
3035         * text2.C (cursorUp, cursorDown): fix coords
3036         (moveUp): fix crash
3037
3038 2004-02-12  André Pönitz  <poenitz@gmx.net>
3039
3040         * lyxtext.h:
3041         * text.C:
3042         * text2.C:
3043         * text3.C: add LCursor & parameter to most cursor movement functions
3044           remove usage of LyXText::cursorRow() and cursorPar()
3045
3046         * cursor.[Ch]: add textRow() needed members
3047
3048         * BufferView.C:
3049         * BufferView_pimpl.C:
3050         * paragraph.[Ch]:
3051         * BufferView.C:
3052         * BufferView_pimpl.C: adjust
3053
3054 2004-02-11  André Pönitz  <poenitz@gmx.net>
3055
3056         * lyxfunc.C:
3057         * BufferView.[Ch]:
3058         * BufferView_pimpl.C: shift undo/redo handling
3059
3060         * cursor.[Ch]: fix mathed crash
3061
3062         * lyxfind.C:
3063         * lyxtext.h: move selectionAsText to LCursor
3064
3065         * output_latex.C:
3066         * paragraph.C:
3067         * text.C:
3068         * text2.C:
3069         * text3.C: adjust
3070
3071         * rowpainter.C: fix excessive drawing
3072
3073 2004-02-06  André Pönitz  <poenitz@gmx.net>
3074
3075         * BufferView.[Ch]:
3076         * BufferView_pimpl.[Ch]:
3077         * text3.C: move some text specific LFUN handling
3078
3079 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3080
3081         * text3.C (checkInsetHit): adjust coords
3082         * text2.C (getColumnNearX): adjust coords
3083         (edit): adjust coords
3084         * text.C (getRowNearY): add two asserts
3085
3086 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3087
3088         * converter.C:
3089         * format.C: add using std::distance to compile on gcc 2.95/stlport
3090
3091 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3092
3093         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3094
3095 2004-02-04  André Pönitz  <poenitz@gmx.net>
3096
3097         * BufferView.[Ch] (insertInset):
3098         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3099
3100         * text2.C:
3101         * text3.C: adjust
3102
3103 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3104
3105         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3106         on the default clause of the switch
3107         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3108         wasn't catched by LCursor::dispatch
3109
3110 2004-02-03  André Pönitz  <poenitz@gmx.net>
3111
3112         * BufferView.C:
3113         * cursor.[Ch]: some additional asserts
3114
3115         * undo.[Ch]: remove LyXText dependency in interface
3116
3117         * lyxfunc.C: adjust
3118
3119         * lyxtext.h (firstPar, lastPar): remove dead functions
3120
3121         * text.C:
3122         * text2.C:
3123         * text3.C:
3124         * paragraph.[Ch]: adjust
3125
3126 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3127
3128         * lyxfind.C (find): fix argument order in call to ::find
3129
3130 2004-02-02  André Pönitz  <poenitz@gmx.net>
3131
3132         * cursor.[Ch]: remove direct access to anchor
3133
3134         * text.C: remove findText() hack
3135
3136 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3137
3138         * iterators.[Ch] (lockPath): remove in favour of...
3139         * BufferView.[Ch] (setCursor): this addition
3140         * BufferView.C (putSelectionAt): adjust
3141         * undo.C (performUndoOrRedo): adjust
3142         * lyxfunc.C (dispatch): adjust
3143
3144 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3145
3146         * iterators.C (lockPath): add a missing slice
3147         * undo.C (performUndoOrRedo): remove redundant positioning code
3148
3149 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3150
3151         * vc-backend.C (scanMaster): ";" -> ';'
3152
3153 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3154
3155         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3156         std::binary_function
3157
3158         * lyxtextclass.C (compare_name): rename to...
3159         (LayoutNamesEqual): ...this
3160
3161         * lyxlex_pimpl.C (compare_tags): inherit from
3162         std::binary_function, put back into anon namespace
3163
3164         * lyxfind.C (MatchString): inherig from std::binary_function
3165         (findChange): use empty() istead of !size()
3166
3167         * format.C (FormatNamesEqual): new functor
3168         (getFormat): use it
3169         (getNumber): use it
3170         (add): use it
3171         (erase): use it
3172         (setViewer): use it
3173
3174         * converter.C (compare_Converter): rename to...
3175         (ConverterEqual): ...this, and fixup a bit.
3176         (getConverter): use it, and make function const
3177         (getNumber): use it, and make function const
3178         (add): use it
3179         (erase): use it:
3180
3181         * bufferlist.C: add using boost::bind
3182
3183         * MenuBackend.C (MenuNamesEqual): new functor
3184         (hasMenu): use it, and make function const
3185         (hasSubmenu): use nested bind to get rid of compare_memfun.
3186
3187 2004-01-30  André Pönitz  <poenitz@gmx.net>
3188
3189         * BufferView_pimpl.C:
3190         * cursor.C:
3191         * cursor.h:
3192         * cursor_slice.[Ch]:
3193         * lyxfunc.C:
3194         * lyxtext.h:
3195         * paragraph_funcs.C:
3196         * paragraph_funcs.h:
3197         * rowpainter.C:
3198         * text.C:
3199         * text2.C:
3200         * text3.C: move some of the edit(x,y) handling to the insets
3201         some coordinate changes.
3202
3203 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3204
3205         * text.C: add using statements for std::advance and std::distance
3206
3207         * paragraph.C: add using statement for std::distance
3208
3209         * lyxfind.C: add using statement for std::advance
3210
3211         * cursor.C (region): remove std:: from swap
3212         (openable): use nucleus in stead of operator->
3213
3214         * BufferView.C: add using statements for std::distance and std::swap
3215
3216 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3217
3218         * iterators.C: Remove the pimple, move the needed structures to
3219         the header file. Create accessor for the positions stack.
3220         (asPosIterator): remove function
3221
3222         * PosIterator.C (PosIterator): move constructors to top of file
3223         (PosIterator): reimplement the constructor taking a ParIterator in
3224         terms of setFrom.
3225         (setFrom): new function
3226         (operator!=): inline it
3227
3228 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3229
3230         * lyxfind.C (replaceAll): use std::advance
3231
3232         * iterators.h: inherit from std::iterator.
3233
3234         * PosIterator.C (advance, distance): remove
3235         * PosIterator.h: interit from std::iterator.
3236
3237 2004-01-26  André Pönitz  <poenitz@gmx.net>
3238
3239         * BufferView.[Ch]:
3240         * BufferView_pimpl.[Ch]:
3241         * InsetList.[Ch]:
3242         * PosIterator.[Ch]:
3243         * buffer.h:
3244         * bufferview_funcs.C:
3245         * cursor.[Ch]:
3246         * cursor_slice.h:
3247         * factory.[Ch]:
3248         * iterators.[Ch]:
3249         * lyxfind.C:
3250         * lyxfunc.C:
3251         * lyxtext.h:
3252         * output_docbook.C:
3253         * output_latex.C:
3254         * output_linuxdoc.C:
3255         * output_plaintext.C:
3256         * paragraph.[Ch]:
3257         * paragraph_funcs.[Ch]:
3258         * paragraph_pimpl.[Ch]:
3259         * rowpainter.C:
3260         * tabular.C:
3261         * tabular.h:
3262         * text.C:
3263         * text2.C:
3264         * text3.C: more IU:  dumps most of the rest of the mathcursor
3265     implementation into cursor.[Ch]; "globalize" a bit of it.
3266
3267 2004-01-25  Angus Leeming  <leeming@lyx.org>
3268
3269         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3270
3271 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3272
3273         * LaTeXFeatures.h: add nice_ and nice() const
3274         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3275
3276 2004-01-20  André Pönitz  <poenitz@gmx.net>
3277
3278         * BufferView.[Ch]:
3279         * BufferView_pimpl.C:
3280         * PosIterator.C:
3281         * bufferview_funcs.C:
3282         * cursor.[Ch]:
3283         * cursor_slice.[Ch]:
3284         * factory.C:
3285         * iterators.C:
3286         * lyx_cb.C:
3287         * lyxfind.C:
3288         * lyxfunc.C:
3289         * lyxtext.h:
3290         * rowpainter.C:
3291         * text.C:
3292         * text2.C:
3293         * text3.C:
3294         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3295           LCursor and mathcursor parts to LCursor and InsetBase.
3296
3297 2004-01-15  André Pönitz  <poenitz@gmx.net>
3298
3299         * cursor_slice.[Ch]: add a few covienience functions
3300
3301         * funcrequest.[Ch]: remove BufferView * member
3302
3303         * BufferView_pimpl.C:
3304         * cursor.C:
3305         * factory.[Ch]:
3306         * lyxfind.[Ch]:
3307         * lyxfunc.C:
3308         * lyxtext.h:
3309         * text3.C:
3310         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3311
3312 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3313
3314         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3315         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3316
3317 2004-01-13  André Pönitz  <poenitz@gmx.net>
3318
3319         * textcursor.[Ch]:
3320         * lyxtext.h: hide cursor and selection anchor behind accessor function
3321
3322         * BufferView.C:
3323         * BufferView_pimpl.[Ch]:
3324         * PosIterator.C:
3325         * bufferview_funcs.C:
3326         * cursor.h:
3327         * lyxfind.C:
3328         * lyxfunc.C:
3329         * text.C:
3330         * text2.C:
3331         * text3.C:
3332         * undo.C: adjust
3333
3334         * cursor.h:
3335         * cursor_slice.[Ch]: some integer type changes for inset unification
3336
3337         * lyxcursor.[hC]: remove, it's CursorSlice now.
3338
3339         * Makefile.am:
3340         * BufferView_pimpl.[Ch]:
3341         * bufferview_funcs.C:
3342         * cursor_slice.C:
3343         * lyxtext.h:
3344         * text.C:
3345         * text2.C:
3346         * text3.C:
3347         * textcursor.[Ch]: adjust
3348
3349 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3350
3351         * text2.C (undoSpan): add and use
3352         * text.C (breakParagraph): use undoSpan (fix bug 578)
3353         * lyxtext.h: adjust
3354
3355 2004-01-08  Angus Leeming  <leeming@lyx.org>
3356
3357         * BufferView_pimpl.C (MenuInsertLyXFile):
3358         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3359         * lyxfunc.C (menuNew, open, doImport):
3360         FileFilterList change to the FileDialog open and save functions.
3361
3362 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3363
3364         * ShareContainer.h: make isEqual and isUnique adaptable
3365
3366         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3367
3368 2004-01-07  Angus Leeming  <leeming@lyx.org>
3369
3370         * LyXAction.C:
3371         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3372
3373         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3374
3375         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3376         functions replacing find, replace and replaceAll.
3377
3378         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3379         LFUN_WORDFIND(FORWARD|BACKWARD).
3380
3381 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3382
3383         * text.C (breakParagraph): remove an outdated #warning
3384
3385 2004-01-07  André Pönitz  <poenitz@gmx.net>
3386
3387         * lyxfind.C: somewhat clearer logic
3388
3389         * text.C: prevent crash in cursorX on unitialized row cache
3390
3391 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3392
3393         * lyxcursor.[Ch] (operator>): add
3394         * textcursor.C (selStart, selEnd): use std::min and std::max
3395
3396 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3397
3398         * Chktex.C: include boost/format.hpp
3399
3400 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3401
3402         * InsetList.C: replace functor MathcIt with adaptable functor
3403         InsetTablePosLess
3404         (insetIterator): modify accordingly
3405
3406         * BranchList.h: move the BranchNamesEqual functor here from...
3407         * BranchList.C: ... to here
3408
3409         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3410         SameName and match.
3411         (add): replace a finding loop with std::find_if.
3412
3413 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3414
3415         * output_docbook.C: moving LatexParam functionality into
3416         .layout files
3417
3418 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3419
3420         * buffer.C: increment format to 229.
3421
3422 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3423
3424         * LaTeXFeatures.C:
3425         * lyx_sty.[Ch]: remove minipageindent_def
3426
3427         * LyXAction.C:
3428         * factory.C:
3429         * lfuns.h:
3430         * lyxfunc.C:
3431         * text3.C: remove LFUN_INSET_MINIPAGE
3432
3433 2003-12-28  Angus Leeming  <leeming@lyx.org>
3434
3435         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3436
3437 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3438
3439         * text2.C (setParagraph): fix off-by-one crash
3440
3441 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3442
3443         * output_docbook.C: header stuff for AGU
3444
3445 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3446
3447         * text2.C (redoCursor): remove
3448         * text.C:
3449         * text3.C:
3450         * BufferView_pimpl.C: remove calls to redoCursor and
3451         setCursor(cursor.par(), cursor.pos()) all around
3452
3453 2003-12-15  Angus Leeming  <leeming@lyx.org>
3454
3455         * buffer.C: up the format to 228.
3456
3457 2003-12-15  André Pönitz  <poenitz@gmx.net>
3458
3459         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3460         slices
3461
3462         * Makefile.am:
3463
3464         * BufferView_pimpl.C:
3465         * cursor.[Ch]:
3466         * lyxcursor.[Ch]:
3467         * rowpainter.[Ch]:
3468         * lyxtext.h:
3469         * text.C:
3470         * text2.C:
3471         * text3.C: adjust
3472
3473 2003-12-15  Angus Leeming  <leeming@lyx.org>
3474
3475         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3476         than getFromGUIName to manipulate the color.
3477
3478 2003-12-14  Angus Leeming  <leeming@lyx.org>
3479
3480         * BranchList.[Ch]: minimize the API.
3481         (Branch::getBranch, getColor): now return a 'const &'.
3482         (Branch::setSelected) now returns a bool set to true if the
3483         selection status changes.
3484         (BranchList::clear, size, getColor, setColor, setSelected,
3485         allBranches, allSelected, separator): removed.
3486         (BranchList::find): new functions, returning the Branch with
3487         the given name.
3488         (BranchList::add, remove): return a bool indicating that
3489         the operation was successful.
3490
3491         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3492         new InsetBranch::isBranchSlected member function.
3493
3494         * LColor.[Ch]: mimimize the API.
3495         (fill): renamed as addColor and made private.
3496         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3497         versions of these functions taking a string arg have been removed.
3498
3499         * bufferparams.C (readToken):
3500         * lyxfunc.C (dispatch):
3501         * lyxrc.C (read): changes due to the altered BranchList and
3502         LColor APIs.
3503
3504         * factory.C (createInset, readInset): changes due to altered
3505         InsetBranch c-tor.
3506
3507 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3508
3509         * factory.C:
3510         * lyxfunc.C: remove insetminipage. "minipage-insert"
3511         now produces a frameless minipage box inset.
3512
3513 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3514
3515         * textcursor.[Ch] (selStart,selEnd): add new methods
3516         remove selection::start, end, use LyXCursor::operator<
3517         * lyxcursor.[Ch] (operator<): add
3518         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3519         * BufferView.[Ch] (unsetXSel): add
3520         * text2.C (clearSelection): use unsetXSel,adjust
3521         * text.C: adjust
3522         * text3.C: adjust
3523         * rowpainter.C: adjust
3524         * bufferview_funcs.C (put_selection_at): adjust
3525
3526 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3527
3528         * BufferView_pimpl.C: small coord. correction
3529
3530 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3531
3532         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3533         dragging over the splash screen.
3534
3535 2003-12-11  Angus Leeming  <leeming@lyx.org>
3536
3537         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3538         as it is now handled in LyXText::dispatch.
3539
3540         * text3.C (doInsertInset): remove a level of nesting.
3541
3542 2003-12-11  Angus Leeming  <leeming@lyx.org>
3543
3544         * factory.C (createInset): changes due to the changed interface to
3545         InsetCommandMailer::string2params.
3546
3547 2003-12-10  Angus Leeming  <leeming@lyx.org>
3548
3549         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3550         'dialog-show-new-inset <inset name>'
3551
3552 2003-12-10  Angus Leeming  <leeming@lyx.org>
3553
3554         * buffer.C: up the format to 227.
3555
3556         * factory.C: the box inset is now identified simply by 'Box'.
3557
3558 2003-12-10  Angus Leeming  <leeming@lyx.org>
3559
3560         * buffer.C: up the format to 226.
3561
3562         * factory.C: the note inset is now identified simply by 'Note'.
3563
3564 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3565
3566         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3567         when a pit is enough. Standarize a couple of loops.
3568
3569 2003-12-05  Angus Leeming  <leeming@lyx.org>
3570
3571         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3572         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3573         data to the re-worked "log" dialog.
3574
3575 2003-12-03  André Pönitz  <poenitz@gmx.net>
3576
3577         * PosIterator.C:
3578         * iterators.C:
3579         * lyxtext.h:
3580         * output_latex.C:
3581         * paragraph_funcs.C:
3582         * text.C:
3583         * text2.C: use Inset::getText instead of Inset::getParagraph
3584
3585 2003-12-03  André Pönitz  <poenitz@gmx.net>
3586
3587         * buffer.[Ch]:
3588         * lyxtext.h:
3589         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3590         InsetText::read() as LyXText::read()
3591
3592 2003-12-02  Angus Leeming  <leeming@lyx.org>
3593
3594         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3595         type. Add a comment in the implementation that the function uses
3596         the stream's bad() function rather than fail() as the std::streams
3597         would do.
3598
3599 2003-12-02  André Pönitz  <poenitz@gmx.net>
3600
3601         * lyxlex.[Ch]: make interface more similar to std::stream
3602
3603         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3604
3605 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3606
3607         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3608
3609 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3610
3611         * vspace.[Ch]: remove VSpace::NONE
3612
3613 2003-12-01  André Pönitz  <poenitz@gmx.net>
3614
3615         * buffer.[Ch]:
3616         * lyxtext.h: move ParagraphList member to LyXText
3617         rename LyXText::ownerParagraphs to LyXText::paragraph
3618
3619         * CutAndPaste.C:
3620         * bufferview_funcs.C:
3621         * iterators.[Ch]:
3622         * lyx_cb.C:
3623         * paragraph.C:
3624         * rowpainter.C:
3625         * tabular.C:
3626         * text.C:
3627         * text2.C:
3628         * text3.C: adjust
3629
3630         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3631
3632         * undo.C: fix cursor positioning
3633
3634 2003-12-01  John Levon  <levon@movementarian.org>
3635
3636         * BufferView_pimpl.C: fix a crash on exit with
3637         a buffer open
3638
3639 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3640
3641         * BranchList.C: fix setSelected() method.
3642
3643 2003-11-28  André Pönitz  <poenitz@gmx.net>
3644
3645         * ParagraphParameters.[Ch]:
3646         * ParameterStruct.h: remove space above/below from Paragraph to
3647          InsetVSpace
3648
3649         * BufferView_pimpl.C:
3650         * factory.C:
3651         * lyxfunc.C:
3652         * lyxtext.h:
3653         * output_latex.C:
3654         * paragraph.C:
3655         * paragraph_funcs.C:
3656         * rowpainter.[Ch]:
3657         * text.C:
3658         * text2.C:
3659         * text3.C: adjust
3660
3661 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3662
3663         * factory.C: Syntax change for CharStyles
3664
3665 2003-11-28  André Pönitz  <poenitz@gmx.net>
3666
3667         * BufferView.[Ch]:
3668         * BufferView.[Ch]:
3669         * buffer.[Ch]:
3670         * buffer.[Ch]: move LyXText member
3671
3672 2003-11-28  André Pönitz  <poenitz@gmx.net>
3673
3674         * BufferView.[Ch]: make LyXText * text a private member
3675
3676         * BufferView_pimpl.C:
3677         * cursor.C:
3678         * iterators.C:
3679         * lyx_cb.C:
3680         * lyxfind.C:
3681         * lyxtext.h:
3682         * rowpainter.[Ch]:
3683         * text.C:
3684         * text2.C:
3685         * undo.C: adjust
3686
3687         * output_plaintext.C: cleanup
3688
3689 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3690
3691         * buffer.C:
3692         * lyxtextclass.[Ch]: parametrize SGML document header
3693
3694 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3695
3696         * converter.[Ch]:
3697         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3698         getFlavor().
3699
3700 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3701
3702         * text2.C (setFont): rework using PosIterator (no more recursive)
3703         (setCharFont): no more needed
3704         (setLayout): no more selection cursors fiddling (done by redoCursor)
3705         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3706         destroy remaining ones)
3707
3708 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3709
3710         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3711         * lyxtext.h: ditto
3712         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3713         selection cursors
3714         * lyxfunc.C: adjust
3715         * text3.C: adjust + re-allow multi par depth changes
3716         * textcursor.C: simplify a bit
3717
3718 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3719
3720         * src/buffer.C:
3721         * src/lyxlayout.C:
3722         * src/lyxlayout.h:
3723         * src/lyxtext.h:
3724         * src/output_docbook.C:
3725         * src/output_latex.C:
3726         * src/paragraph.C:
3727         * src/paragraph.h:
3728         * src/sgml.C:
3729         * src/sgml.h:
3730         * src/text2.C: Introducing a number of tags parametrizing various
3731         XML formats that we may want to support
3732
3733 2003-11-25  André Pönitz  <poenitz@gmx.net>
3734
3735         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3736
3737         * lyxtext.h (leftMargin/rightMargin): simplify interface
3738
3739         * rowpainter.C:
3740         * text.C:
3741         * text2.C:
3742         * text3.C: adjust
3743
3744 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3745
3746         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3747         master file to any child files. Fixes bug 546.
3748
3749 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3750
3751         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3752
3753 2003-11-24  André Pönitz  <poenitz@gmx.net>
3754
3755         * rowpainter.C: simplification
3756
3757         * text2.C (updateCounters): remove call to redoParagraph on
3758         changed labels as this is far too expensive.
3759
3760 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3761
3762         * converter.C (convert): fix a crash: this function gets
3763         called with buffer == 0 from importer code.
3764
3765 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3766
3767         * text3.C (cursorPrevious): make sure that we do not compare
3768         iterators form different containers.
3769         (cursorNext): ditto
3770
3771         * rowpainter.C (paintSelection): make sure that we do not compare
3772         iterators from different containers.
3773
3774         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3775         iterators from different ParagraphList containers.
3776         [NEXT] ditto
3777
3778         * text2.C (LyXText): change order of initialization slightly
3779         (operator=): new function. copy all variables except cache_par_
3780         (moveUp): make sure that we do not compare iterators from
3781         different ParagraphList constainers.
3782         (moveDown): ditto
3783
3784         * text.C (firstPar): new function
3785         (lastPar): new function
3786         (endPar): new function
3787
3788         * lyxtext.h: move things around and group public functions, public
3789         variables, private functions, private variables
3790
3791 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3792
3793         * factory.C: change call to InsetERT constructor to avoid
3794         additional invocation of method status
3795         * text2.C (toggleInset): remove redundant update() call
3796         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3797         instead of a Bufferview pointer
3798
3799 2003-11-21  André Pönitz  <poenitz@gmx.net>
3800
3801         * rowpainter.C: simplification
3802
3803 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3804
3805         * text3.C (dispatch): make possible to extend a word/row selection
3806         with the mouse
3807
3808 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3809
3810         * lyxtext.h: x0_,y0_ -> xo_,yo_
3811         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3812         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3813         * rowpainter.C (paintRows): paint full paragraphs
3814
3815 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3816
3817         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3818         screen coordinates)
3819
3820 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3821
3822         * lyxtext.h: add x0_, y0_
3823         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3824         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3825
3826 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3827
3828         * text2.C (setCursorIntern): move the x_target update here *
3829         * text3.C: change some bv() to true/false in calls to
3830         cursorUp/Down/Right/Left
3831         * cursor.C: use helper function.
3832
3833 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3834
3835         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3836         * paragraph_funcs.[Ch]: correct comment
3837         * rowpainter.C: do not paint selections away from bv->cursor()
3838         Fix a long standing selection painting bug.
3839         * text3.C: generalize mouse-selection code to LyXTexts other that
3840         top one
3841         * textcursor.C: do not use y coords if we can use par offsets
3842
3843 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3844
3845         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3846         cursor position after e.g. inset insert)
3847
3848 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3849
3850         * lyxfind.C (replace): adjust to locking removal + some
3851         code simplification
3852
3853 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3854
3855         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3856         of the path
3857
3858 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3859
3860         * lyxlayout.[Ch]:
3861         * output_docbook.C: XML sanitation: new layout
3862         parameters InnerTag and CommandDepth
3863
3864 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3865
3866         * BufferView_pimpl.C:
3867         * factory.C:
3868         * text3.C: Fix the insertion and modification of button-style
3869         insets
3870
3871 2003-11-13  André Pönitz  <poenitz@gmx.net>
3872
3873         * InsetList.[Ch]: remove deleteLyXText
3874
3875         * paragraph.[Ch]: cache beginOfBody position
3876
3877         * Bidi.C:
3878         * text.C:
3879         * text2.C:
3880         * text3.C: remove superfluous update() calls
3881
3882         * vspace.C: cleanup
3883
3884 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3885
3886         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3887         * BufferView.C (fitLockedInsetCursor): remove
3888         * cursor.[Ch] (getDim): add
3889         * text.C (getRowNearY): add faster version
3890         * text3.C: remove some update calls
3891
3892 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3893
3894         * LaTeXFeatures.C:
3895         * LyXAction.C:
3896         * MenuBackend.C:
3897         * MenuBackend.h:
3898         * dispatchresult.h:
3899         * factory.C:
3900         * lfuns.h:
3901         * lyxfunc.C:
3902         * lyxtextclass.C:
3903         * lyxtextclass.h:
3904         * text3.C: The Character Style /XML short element patch.
3905
3906 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3907
3908         * text3.C:
3909         * factory.C: Small step to solving 'unable to insert some insets'
3910         problem
3911
3912 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3913
3914         * cursor.[Ch] (updatePos): new function for updating the y
3915         position of the tip inset
3916         * bufferview_funcs.C (put_selection_at):
3917         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3918
3919 2003-11-11  André Pönitz  <poenitz@gmx.net>
3920
3921         * text.C: remove big comment on invalid Paragraph pointers as it is
3922         not valid anymore
3923
3924 2003-11-11  André Pönitz  <poenitz@gmx.net>
3925
3926         * text_funcs.[Ch]: merge with ...
3927
3928         * text.C: ... this
3929
3930         * lyxtext.h:
3931         * text2.C:
3932         * text3.C: adjust
3933
3934         * Makefile.am: remove text_funcs.[Ch]
3935
3936 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3937
3938         * cursor.C (getPos): return absolute cached y coord
3939
3940         * BufferView_pimpl.C (fitCursor): new simplistic code
3941         (workAreaDispatch): add a fitCursor call
3942
3943 2003-11-10  André Pönitz  <poenitz@gmx.net>
3944
3945         * BufferView.[Ch]:
3946         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3947
3948 2003-11-10  André Pönitz  <poenitz@gmx.net>
3949
3950         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3951         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3952         indicate that the cursor needs to leave an inset
3953
3954         * lyxtext.h: remove inset locking
3955
3956         * cursor.[Ch]: re-implement functionality provided by inset locking
3957
3958         * BufferView.[Ch]:
3959         * BufferView_pimpl.[Ch]:
3960         * LyXAction.C:
3961         * bufferview_funcs.[Ch]:
3962         * factory.C:
3963         * funcrequest.[Ch]:
3964         * iterators.C:
3965         * lyx_cb.C:
3966         * lyxfind.C:
3967         * lyxfunc.C:
3968         * text.C:
3969         * text2.C:
3970         * text3.C:
3971         * undo.C: adjust
3972
3973 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3974
3975         * PosIterator.[Ch]: replace the stack with a vector, add inset
3976         accesor
3977         * iterators.[C]: adjust
3978
3979 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3980
3981         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3982         replaced
3983         * paragraph_funcs.C (readParToken): put the correct id in the
3984         error item, not the id of the top paragraph
3985
3986 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3987
3988         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3989         * bufferview_funcs.C (put_selection_at): use the above
3990
3991 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3992
3993         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3994
3995 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3996
3997         * output_linuxdoc.h:
3998         * output_plaintext.h:
3999         * output.h:
4000         * output_docbook.h: add #include statements
4001
4002 2003-11-05  José Matos  <jamatos@lyx.org>
4003
4004         * output_docbook.[Ch]:
4005         * output_latex.[Ch]:
4006         * output_linuxdoc.[Ch]:
4007         * output_plaintext.[Ch]: New files for output formats.
4008         * output.[Ch]: New file for helper functions.
4009
4010         * buffer.[Ch]:
4011         * paragraph_funcs.[Ch]: output functions moved to new files.
4012
4013         * outputparams.h: rename of latexrunparams.h
4014
4015         * LaTeX.[Ch]:
4016         * buffer.[Ch]:
4017         * bufferlist.[Ch]:
4018         * converter.[Ch]:
4019         * exporter.C:
4020         * paragraph.[Ch]:
4021         * paragraph_funcs.[Ch]:
4022         * paragraph_pimpl.[Ch]:
4023         * tabular.[Ch]: rename ascii to plaintext
4024         and LatexRunParams to OutputParams.
4025
4026 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4027
4028         * iterators.[Ch] (text): require bv argument
4029         * undo.C (recordUndo):
4030         * lyxfunc.C (dispatch):
4031         * bufferview_funcs.C (put_selection_at): adjust
4032
4033 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4034
4035         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4036
4037 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4038
4039         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4040         nestings
4041
4042 2003-11-04  André Pönitz  <poenitz@gmx.net>
4043
4044         * cursor.[Ch]: restructure
4045
4046         * BufferView.[Ch]:
4047         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4048
4049         * iterators.[Ch] (asCursor): remove
4050
4051         * lfuns.h: remove LFUN_INSET_EDIT
4052
4053         * lyxfunc.C:
4054         * tabular.C:
4055         * text.C:
4056         * text2.C:
4057         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4058
4059 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4060
4061         * lyxfind.[Ch]: complete overhaul
4062         * BufferView_pimpl.C:
4063         * lyxfunc.C: adjust
4064         * paragraph.[Ch] (insert): add
4065
4066 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4067
4068         * BufferView.[Ch]:
4069         * lyxtext.h:
4070         * text.C: remove dead spellcheck code
4071
4072 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4073
4074         * dispatchresult.h: add a val setter
4075
4076         * cursor.C (dispatch): use a tempvar for data_[i]
4077
4078 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4079
4080         * PosIterator.[Ch]: compile fix
4081
4082 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4083
4084         * text.C (cursorPar): deactivate the cursor cache
4085
4086 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4087
4088         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4089
4090 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4091
4092         * text3.C (dispatch): adjust for new DisptchResult semantics.
4093
4094         * lyxfunc.C (dispatch): handle update when return from
4095         Cursor::dispatch, adjust for new DispatchResult semantics.
4096
4097         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4098         DispatchResult(true) mean to not update. Add class functions for
4099         setting dispatched and update, as well as reading.
4100
4101         * cursor.C (dispatch): don't handle update here
4102
4103 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4104
4105         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4106         * trans_mgr.C: adjust
4107
4108         * paragraph_funcs.C (readParToken): exception safety
4109
4110         * lyxvc.h: store the vcs pointer in a scoped_ptr
4111         * lyxvc.C: adjust
4112
4113         * lyxsocket.C (serverCallback): exception safety
4114
4115         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4116
4117         * ispell.C (clone): make it return a auto_ptr
4118
4119         * factory.C (createInset): exception safety
4120         (readInset): exception safety
4121
4122         * bufferlist.C (newBuffer): exception safety
4123
4124         * Thesaurus.C (Thesaurus): use initialization for aik_
4125
4126         * MenuBackend.C (expandToc): exception safety.
4127
4128 2003-11-03  André Pönitz  <poenitz@gmx.net>
4129
4130         * buffer.C:
4131         * buffer.h:
4132         * bufferview_funcs.C: remove getInsetFromId()
4133
4134         * lyxcursor.[Ch]:
4135         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4136
4137         * lyxfunc.C:
4138         * text2.C:
4139         * text3.C: adjust
4140
4141 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4142
4143         * PosIterator.C (distance, advance): new
4144         * bufferview_funcs.[Ch] (put_selection_at): new
4145         * iterators.[Ch] (lockPath): new
4146
4147 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4148
4149         * iterators.[Ch] (asPosIterator): added
4150         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4151         * PosIterator.[Ch]: added
4152
4153 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4154
4155         * text3.C:
4156         * lyxfunc.C:
4157         * cursor.C (dispatch):
4158         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4159
4160         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4161         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4162         contructor, add a class function dispatched. Remove operator>=
4163
4164 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4165
4166         * debug.C: only use the default constructor for debugstream
4167         (lyxerr) here.
4168
4169         * main.C (main): include debug.h and setup the lyxerr streambuf
4170         here.
4171
4172 2003-10-31  José Matos  <jamatos@lyx.org>
4173
4174         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4175
4176         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4177         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4178         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4179         * paragraph_pimpl.C (simpleTeXSpecialC):
4180         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4181         add LatexRunParams argument.
4182
4183         * exporter.C (Export): change call accordingly.
4184
4185         * latexrunparams.h: add new member to take care of the other backends.
4186 2003-10-30  José Matos  <jamatos@lyx.org>
4187
4188         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4189         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4190         factorise code for paragraph output.
4191         * buffer.[Ch]:
4192         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4193         move functions.
4194
4195 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4196
4197         * text3.C (dispatch):
4198         * lyxfunc.C (dispatch):
4199         * cursor.C (dispatch):
4200         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4201
4202         * dispatchresult.h: make the dispatch_result_t ctor explicit
4203
4204 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4205
4206         * sgml.[Ch]:
4207         * buffer.C: small refactoring of docbook stuff
4208
4209 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4210
4211         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4212         meaning.
4213
4214 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4215
4216         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4217         operator dispatch_result_t, and operators for == != and >=
4218
4219         * cursor.C (dispatch): adjust for operator dispatch_result_t
4220         removal. comment out call to update
4221
4222         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4223
4224 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4225
4226         * text3.C:
4227         * text2.C:
4228         * text.C:
4229         * lyxtext.h:
4230         * lyxfunc.C:
4231         * cursor.C:
4232         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4233         (dispatch):
4234
4235         * dispatchresult.h: new file, DispatchResult broken out of
4236         insets/insetbase.h
4237
4238         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4239
4240 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4241
4242         * text.C (rowBreakPoint): put a hack inside #if 0
4243
4244 2003-10-28  André Pönitz  <poenitz@gmx.net>
4245
4246         * lyxtext.h:
4247         * metricsinfo.C:
4248         * paragraph_funcs.C:
4249         * rowpainter.C:
4250         * text.C:
4251         * text2.C: general cleanup (lots of small stuff)
4252
4253 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4254
4255         * text2.C (cursorEnd): simple fix to the "end key goes to one
4256         before the end on last row" bug
4257
4258 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4259
4260         * text.C (backspace): fix the "zombie characters"
4261
4262 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4263
4264         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4265
4266 2003-10-27  André Pönitz  <poenitz@gmx.net>
4267
4268         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4269
4270         * factory.C: handle new InsetPagebreak, InsetLine
4271
4272         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4273         and move handling into new InsetPagebreak, InsetLine
4274
4275         * BufferView_pimpl.C:
4276         * LyXAction.C:
4277         * ParagraphParameters.C:
4278         * ParameterStruct.h:
4279         * lyxfunc.C:
4280         * lyxtext.h:
4281         * paragraph.C:
4282         * paragraph.h:
4283         * paragraph_funcs.C:
4284         * paragraph_pimpl.C:
4285         * rowpainter.C:
4286         * text.C:
4287         * text2.C:
4288         * text3.C: adjust
4289
4290 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4291
4292         * text.C:
4293         * lyxrow_funcs.[Ch]:
4294         * Bidi.C:
4295         * paragraph.C:
4296         * lyxtext.h:
4297         * rowpainter.C:
4298         * text2.C:
4299         * text3.C: remove lastPos uses in favour of Row::endpos
4300
4301 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4302
4303         * undo.C (performUndoOrRedo): fix two crashes by setting a
4304         cursor by hand and reordering some calls. Use bv->lockInset instead
4305         of inset->edit because the latter loses cursor information
4306
4307 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4308
4309         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4310         by Martin
4311         (rowBreakPoint): fix width. change point to point + 1.
4312         Add a missing check.
4313
4314 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4315
4316         * MenuBackend.C:
4317         * lyxfunc.C: fix (at least partly) the problems
4318         with the Nav menu and headers inside branch insets
4319         reported by Kayvan
4320
4321 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4322
4323         * paragraph.C (getChar): add strong asserts
4324
4325         * lyxrow_funcs.C (lastPos): remove hideous hack
4326
4327         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4328         (fill): adjust to that (avoid an infinite loop)
4329
4330 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4331
4332         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4333
4334 2003-10-23  André Pönitz  <poenitz@gmx.net>
4335
4336         * RowList_fwd.h: change list<> to vector<> to gain speed
4337         after suggestion from Alfredo
4338
4339 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4340
4341         * lyxtext.h: move the bidi stuff from here...
4342         * text.C: and here
4343         * text2.C: and here
4344         * Bidi.[Ch]: ... to here
4345
4346 2003-10-23  André Pönitz  <poenitz@gmx.net>
4347
4348         * lyxtext.h:
4349         * text.C (isLastRow, isFirstRow): new functions
4350
4351         * paragraph.h: new width cache member
4352
4353         * rowpainter.C: replace RowList::iterator with Row & where possible
4354
4355         * lyxfunc.C: replace several view()->text with a single call
4356
4357         * toc.C: fix 'unused' warning
4358
4359 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4360
4361         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4362         when woring with stream::pos_type
4363         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4364
4365 2003-10-22  André Pönitz  <poenitz@gmx.net>
4366
4367         * lyxtext.h:
4368         * text.C: use Row & instead of RowList::iterator
4369
4370         * lyxrow.h: rename end() to endpos()
4371
4372         * rowpainter.C:
4373         * text.C:
4374         * text2.C: adjust
4375
4376 2003-10-22  Angus Leeming  <leeming@lyx.org>
4377
4378         * buffer.[Ch] (fully_loaded): new member function, returning true
4379         only when the file has been loaded fully.
4380         Used to prevent the premature generation of previews and by the
4381         citation inset to prevent computation of the natbib-style label.
4382
4383         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4384         templates are all set up.
4385
4386         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4387
4388 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4389
4390         * text.C: fixed an "oops" in the "is a bit silly"
4391         bug fix
4392
4393 2003-10-21  André Pönitz  <poenitz@gmx.net>
4394
4395         * FuncStatus.[Ch]: small stuff, whitespace
4396
4397         * lyxfont.[Ch]: operator<<() for debug reasons
4398
4399         * lyxfunc.C:
4400         * lyxrow_funcs.C:
4401         * lyxtext.h: whitespace, spelling
4402
4403         * paragraph.C: naming of variables
4404
4405         * text.C:
4406         * text2.C: small stuff
4407
4408
4409 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4410
4411         * text.C: (1) finish off the inset display() work;
4412         (2) fix the "is a bit silly" bug (accessing char
4413         past end of par).
4414
4415 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4416
4417         * text.C: re-introduce display() for insets, fixing the
4418         various bugs (stretch of line above, math inset
4419         positioning, ...)
4420
4421 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4422
4423         * text.C (rightMargin): remove spurious semicolon
4424
4425         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4426         1415)
4427
4428 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4429
4430         * text3.C: fix one crash due to wrong cursor def
4431
4432 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4433
4434         * vc-backend.C (scanMaster): make the regex static
4435
4436         * LaTeX.C (scanAuxFile): make the regexs static
4437
4438         * text3.C (doInsertInset, dispatch, dispatch):
4439         * text2.C (cursorUp, cursorDown):
4440         * text.C (selectNextWordToSpellcheck):
4441         * BufferView_pimpl.C (dispatch):
4442         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4443
4444 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4445
4446         * lyxsocket.C: include <cerrno>
4447
4448 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4449
4450         * lyxfunc.C (dispatch): remove textcache stuff
4451
4452         * bufferlist.C (release): remove textcache stuff
4453         (closeAll): ditto
4454
4455         * TextCache.C: delete file
4456         * TextCache.h: delete file
4457
4458         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4459
4460         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4461         delete of the bv_->text.
4462         (resizeCurrentBuffer): remove texcache stuff
4463         (workAreaResize): ditto
4464
4465 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4466
4467         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4468         action.
4469
4470 2003-10-16  André Pönitz  <poenitz@gmx.net>
4471
4472         * lyxrow.[Ch]:
4473         * paragraph.h:
4474         * rowpainter.C:
4475         * text.C:
4476         * text2.C:
4477         * text3.C: speed up by storing y positions per paragraph plus per-row
4478         offset instead of having a 'full' y position in the row.
4479
4480 2003-10-15  André Pönitz  <poenitz@gmx.net>
4481
4482         * iterators.[Ch]:
4483         * iterators.[Ch]:
4484         * undo.[Ch]: make undo aware of inner insets
4485
4486 2003-10-14  Angus Leeming  <leeming@lyx.org>
4487
4488         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4489         static member functions LyX::ref() and LyX::cref.
4490         (lastfiles): new accessor functions for the new lastfiles_ member var.
4491         (addLyXView, views_): add a new LyXView to the list of views_.
4492         (updateInset): loop over all LyXViews to call their own updateInset
4493         member function, returning a pointer to the Buffer owning the inset.
4494
4495         * BufferView_pimpl.C (loadLyXFile):
4496         * MenuBackend.C (expandLastfiles):
4497         * bufferlist.C (MenuWrite, QuitLyX):
4498         lastfiles is no longer a global variable.
4499         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4500
4501         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4502         static function. Access through LyX::cref().emergencyCleanup().
4503
4504 2003-10-14  André Pönitz  <poenitz@gmx.net>
4505
4506         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4507
4508         * undo.[Ch]: restoring part of 'undo in insets'
4509
4510         * Makefile.am:
4511         * undo_funcs.[Ch]: merge with undo.[Ch]
4512
4513         * tabular.C: small cleansing stuff
4514
4515 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4516
4517         * paragraph_funcs.C (readParToken): report unknown insets as error
4518         boxes. Use the outer paragraph as location (also for unknown
4519         tokens).
4520
4521         * factory.C (readInset): do not abort on reading an unknown inset.
4522         Eat it and return 0.
4523
4524 2003-10-13  Angus Leeming  <leeming@lyx.org>
4525
4526         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4527
4528         * lyxrc.C: displayTranslator is now a function,
4529         declared in GraphicsTypes.h.
4530
4531 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4532
4533         * format.C: new placeholder $$a to pass the socket address.
4534
4535         * bufferlist.[Ch]: new function getBufferFromTmp.
4536
4537         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4538           files in the temporary dir.
4539
4540 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4541
4542         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4543
4544         * Makefile.am: add lyxsocket.[Ch].
4545
4546         * lyx_main.C (error_handler): handle SIGPIPE.
4547
4548 2003-10-13  André Pönitz  <poenitz@gmx.net>
4549
4550         * BufferView_pimpl.C:
4551         * lyxtext.h:
4552         * text.C:
4553         * text2.C:
4554         * text3.C:
4555         * undo_funcs.[Ch]: use paroffset_type instead of
4556           ParagraphList::iterators to prevent multiple conversion
4557           (and get a more robust interface)
4558
4559 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4560
4561         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4562         * lyxtext.h: ditto
4563         * text3.C (dispatch): ditto
4564
4565 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4566
4567         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4568         move the onlyfile, use onlyfile instead of foundfile in a couple
4569         of places.
4570
4571         * DepTable.C (update): flush the error stream a bit more
4572
4573 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4574
4575         * lyxserver.C (callback): adjust
4576
4577         * lyxfunc.C (getStatus): add a missing brace in commented code
4578         (ensureBufferClean): reindent
4579         (dispatch): delete version taking a string
4580
4581 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4582
4583         * LaTeX.C (deplog): move found file handlig from here...
4584         (handleFoundFile): .. to new function here.
4585         (deplog): make sure to discover several files mentioned on the
4586         same log line.
4587
4588 2003-10-10  André Pönitz  <poenitz@gmx.net>
4589
4590         * lyxfunc.C:
4591         * lyxtext.h:
4592         * tabular.C:
4593         * text.C:
4594         * text2.C:
4595         * text3.C: fix some of the tabular crashes
4596
4597 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4598
4599         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4600
4601         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4602
4603 2003-10-09  André Pönitz  <poenitz@gmx.net>
4604
4605         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4606
4607         * BufferView.C:
4608         * BufferView_pimpl.C:
4609         * bufferview_funcs.C:
4610         * lyx_cb.C:
4611         * lyxcursor.C:
4612         * lyxfind.C:
4613         * lyxfunc.C:
4614         * lyxtext.h:
4615         * text.C:
4616         * text2.C:
4617         * text3.C:
4618         * text_funcs.[Ch]:
4619         * textcursor.[Ch]:
4620         * undo_funcs.C: adjust
4621
4622 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4623
4624         * text2.C (incrementItemDepth): new function, use a backtracking
4625         algorithm to discover the correct item depth.
4626         (resetEnumCounterIfNeeded): new function, use a backtracking
4627         algorithm to discover if counter reset is needed.
4628         (setCounter): use them. Simplify a bit. Add different labels for
4629         different item depths for itemize.
4630
4631         * paragraph.C (Paragraph): remove initialization of enumdepth
4632         (operator=): ditto
4633
4634         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4635         enumerate and itemize. Change the type of itemdepth to signed char.
4636
4637 2003-10-08  André Pönitz  <poenitz@gmx.net>
4638
4639         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4640           thing assignable.
4641         * text.C:
4642         * text2.C: adjust
4643
4644         * tabular.[Ch]: fix crash after 'row-insert'
4645
4646 2003-10-08  Angus Leeming  <leeming@lyx.org>
4647
4648         Fix doxygen warnings.
4649
4650         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4651         Remove CutAndPaste:: prefix from header file declaration.
4652
4653         * LColor.h (fill): remove LColor:: prefix from declaration.
4654
4655         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4656         use lyx::depth_type rather than Paragraph::depth_type so that
4657         header file and .C file match.
4658
4659         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4660
4661         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4662         * aspell.C: \file aspell_local.C -> \file aspell.C
4663         * gettext.C: \file gettext.C -> \file src/gettext.C
4664         * gettext.h: \file gettext.h -> \file src/gettext.h
4665         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4666         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4667         * text.C: \file text.C -> \file src/text.C
4668
4669         * toc.C: move comment so that doxygen is not confused.
4670
4671 2003-10-07  Angus Leeming  <leeming@lyx.org>
4672
4673         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4674
4675 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4676
4677         * aspell.C:
4678         * aspell_local.h: add forgotten std::string's.
4679
4680 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4681
4682         * LaTeXFeatures.C:
4683         * LyXAction.C:
4684         * factory.C:
4685         * lfuns.h:
4686         * lyxfunc.C:
4687         * text3.C: The Box patch. Fancybox support, minipage, parbox
4688
4689 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4690
4691         * CutAndPaste.h:
4692         * DepTable.h:
4693         * FloatList.h:
4694         * LaTeXFeatures.h:
4695         * ParagraphParameters.h:
4696         * TextCache.h:
4697         * Thesaurus.h:
4698         * bufferlist.h:
4699         * exporter.h:
4700         * importer.h:
4701         * lastfiles.h:
4702         * lyxfind.h:
4703         * lyxfont.h:
4704         * lyxlex.h:
4705         * lyxtextclasslist.h:
4706         * messages.h:
4707         * paragraph.h:
4708         * paragraph_pimpl.C:
4709         * textcursor.h: add <string> and other small fixes to make Lars'
4710         std::string patch compile with STLport.
4711
4712 2003-10-06  Angus Leeming  <leeming@lyx.org>
4713
4714         * LColor.h: Add missing #include <string>.
4715
4716 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4717
4718         * All most all file in all subdirs: Make <string> be the prefered
4719         way of getting to std::string, add using declarations.
4720
4721 2003-10-06  André Pönitz  <poenitz@gmx.net>
4722
4723         * metricsinfo.C: initialize LyXFont before changing attribute.
4724         (fixes the 'math in \emph is upright' bug)
4725
4726 2003-10-06  André Pönitz  <poenitz@gmx.net>
4727
4728         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4729
4730 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4731
4732         * graph.C:
4733         * paragraph_pimpl.C: Small fixes to build using STLport
4734
4735 2003-10-02  André Pönitz  <poenitz@gmx.net>
4736
4737         * lyxfunc.C:
4738         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4739
4740 2003-10-01  André Pönitz  <poenitz@gmx.net>
4741
4742         * factory.C: assert early
4743
4744 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4745
4746         * lyx_main.C: remove the global debug object
4747
4748         * debug.h: adjust for new debugstream
4749
4750         * debug.C: adjust for new debugstream and keep the global debug
4751         object here.
4752
4753 2003-09-22  Angus Leeming  <leeming@lyx.org>
4754
4755         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4756         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4757         an incomplete class LyXFont.
4758
4759 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4760
4761         * factory.C: bug fix in branches
4762
4763 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4764
4765         * lyxfunc.C (processKeySym): adjust
4766         (dispatch): adjust
4767         (dispatch): change arg name from ev to func, adjust
4768         (sendDispatchMessage): ditto
4769
4770         * lyx_main.C (defaultKeyBindings): adjust keybindings
4771         (deadKeyBindings): ditto
4772
4773         * kbsequence.C (addkey): return a FuncRequest
4774
4775         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4776
4777         * kbmap.C (bind): take a FuncRequest as arg, adjust
4778         (read): adjust
4779         (lookup): adjust
4780         (defkey): change to take a FuncRequest as arg, adjust
4781         (findbinding): take a FuncRequest as arg, adjust.
4782
4783         * funcrequest.h (operator=): added
4784
4785         * funcrequest.C (FuncRequest): default kb_action changed from
4786         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4787
4788         * buffer.C (dispatch): simplify
4789         (dispatch): adjust to take a FuncRequest as arg, adjust
4790
4791         * boost.C (assertion_failed): change assertion message slightly
4792
4793         * ToolbarBackend.C (read): simplify
4794
4795         * MenuBackend.C (binding): adjust call to findbinding, add a
4796         message if no binding is found.
4797         (read): simplify
4798         (expandToc): correct by adding a empty FuncRequest
4799
4800         * LyXAction.C: include <boost/assert.hpp>
4801         (isPseudoAction): delete function
4802         (LookupFunc): change name to...
4803         (lookupFunc): this. change return type to FuncRequest.
4804         (getActionName): take kb_action as arg, simplify
4805         (funcHasFlag): add an assert, simplify.
4806
4807 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4808
4809         * toc.C (action): return a FuncRequest, simplify
4810
4811         * lyxfunc.C (processKeySym): adjust
4812         (getStatus): delete version that takes an int.
4813         (getStatus): adjust
4814         (dispatch): delete version that takes action as int
4815         (dispatch): adjust
4816         (sendDispatchMessage): simplify and adjust
4817
4818         * funcrequest.C (getArg): take unsigned int as arg
4819
4820         * ToolbarBackend.C (read): adjust
4821         (add): delete version that takes func as a string.
4822         (getIton): take a FuncRequest as arg
4823
4824         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4825         action.
4826
4827         * MenuBackend.C (MenuItem): add a new construct that only takes a
4828         Kind, simplify the constructor use for submenus.
4829         (add): adjust
4830         (expandLastfiles): adjust
4831         (expandDocuments): adjust
4832         (expandFormats): adjust
4833         (expandFloatListInsert): adjust
4834         (expandFloatInsert): adjust
4835         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4836
4837         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4838         Remove class variables lyx_pseudo_map and lyx_arg_map
4839
4840         * LyXAction.C (searchActionArg): delete function
4841         (getPseudoAction): delete function
4842         (retrieveActionArg): delete function
4843         (LookupFunc): make it return kb_action, simplify.
4844         (getActionName): simplify
4845
4846         * factory.C (createInset): fix new bug
4847
4848 2003-09-19  Angus Leeming  <leeming@lyx.org>
4849
4850         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4851         masterFilename_ parameter in the include inset.
4852
4853         * factory.C (createInset): changes due to the changes to InsetInclude.
4854
4855 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4856
4857         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4858
4859 2003-09-18  Angus Leeming  <leeming@lyx.org>
4860
4861         * buffer.C:
4862         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4863         Inset::fillWithBibKeys.
4864         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4865
4866 2003-09-18  Angus Leeming  <leeming@lyx.org>
4867
4868         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4869         variables.
4870         (ctor): pass and store a 'Buffer const &'
4871         (buffer): new member function.
4872
4873         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4874         '*this' to the LaTeXFeatures ctor.
4875
4876 2003-09-18  Angus Leeming  <leeming@lyx.org>
4877
4878         * LColor.h:
4879         * lyxfont.C:
4880         * lyxfont.h:
4881         * lyxtext.h:
4882         * text.C: rename EnumLColor as LColor_color.
4883
4884 2003-09-18  Angus Leeming  <leeming@lyx.org>
4885
4886         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4887         remove #include "insets/insetbase.h" from cursor.h.
4888
4889 2003-09-18  Angus Leeming  <leeming@lyx.org>
4890
4891         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4892         InsetOld_code to remove #include "inset.h".
4893
4894         * iterators.C: add #include "insets/inset.h"
4895
4896 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4897
4898         * BufferView.C: remove more locking stuff that apparently doesn't
4899         do anything sensible.
4900
4901 2003-09-16  André Pönitz  <poenitz@gmx.net>
4902
4903         * paragraph.[Ch]:
4904         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4905           performance boost.
4906
4907 2003-09-16  Angus Leeming  <leeming@lyx.org>
4908
4909         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4910
4911         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4912         arg/return type.
4913
4914         * paragraph.h: remove #include "lyxfont.h". Forward declare
4915         LyXFont_size.
4916
4917 2003-09-16  Angus Leeming  <leeming@lyx.org>
4918
4919         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4920         of support/textutils.h.
4921         (isWord): move the contents of support/textutils.h's IsWordChar here.
4922
4923         * buffer.C:
4924         * lyxfind.C:
4925         * rowpainter.C:
4926         * text.C:
4927         * text2.C: add #include "paragraph.h".
4928
4929         * rowpainter.C:
4930         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4931
4932 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4933
4934         * main.C:
4935         * lyx_main.C:
4936         * lyx_cb.C:
4937         * buffer.C:
4938         * LaTeX.C: use namespace alias for lyx::support::os
4939
4940 2003-09-16  Angus Leeming  <leeming@lyx.org>
4941
4942         * bufferparams.C:
4943         * bufferview_funcs.C:
4944         * factory.C:
4945         * lyxfunc.C:
4946         * paragraph_pimpl.C:
4947         * rowpainter.C:
4948         * text.C: add #include "LColor.h".
4949
4950 2003-09-16  Angus Leeming  <leeming@lyx.org>
4951
4952         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4953         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4954         return LyXFont &.
4955         Store the FontBits::color variable as an int rather than as an
4956         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4957         file.
4958
4959         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4960         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4961         string calls together.
4962
4963         * lyxrc.C: add #include "LColor.h".
4964
4965 2003-09-15  Angus Leeming  <leeming@lyx.org>
4966
4967         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4968         a cow_ptr.
4969
4970 2003-09-15  Angus Leeming  <leeming@lyx.org>
4971
4972         * LColor.h: add an EnumLColor wrapper for LColor::color.
4973
4974         * lyxfont.[Ch] (color, setColor, realColor):
4975         * lyxtext.h, text.C (backgroundColor):
4976         pass EnumLColor args to/from the functions, rather than LColor::color
4977         ones.
4978
4979         * lyxfont.h:
4980         * lyxtext.h: forward declare EnumLColor.
4981
4982         * lyx_main.C: add #include "LColor.h".
4983
4984 2003-09-15  Angus Leeming  <leeming@lyx.org>
4985
4986         * .cvsignore: add lyx-gtk.
4987
4988 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4989
4990         * Chktex.C
4991         * LaTeX.C
4992         * LaTeXFeatures.C
4993         * ParagraphParameters.C
4994         * Spacing.C
4995         * buffer.C
4996         * bufferparams.C
4997         * bufferview_funcs.C
4998         * chset.C
4999         * counters.C
5000         * funcrequest.C
5001         * lyxfont.C
5002         * lyxgluelength.C
5003         * lyxlength.C
5004         * paragraph.C
5005         * paragraph_funcs.C
5006         * text3.C
5007         * vc-backend.C: remove usage of STRCONV
5008
5009 2003-09-15  Angus Leeming  <leeming@lyx.org>
5010
5011         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5012         explicitly define the color passed to the painter.
5013
5014 2003-09-15  Angus Leeming  <leeming@lyx.org>
5015
5016         * bufferparams.C (BufferParams): reorder member initializers to avoid
5017         compiler warning.
5018
5019 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5020
5021         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5022         * text.C (updateRowPositions): remove an unusual nop
5023
5024 2003-09-12  André Pönitz  <poenitz@gmx.net>
5025
5026         * BufferView_pimpl.C:
5027         * Bullet.C:
5028         * layout.h:
5029         * lyxfunc.C:
5030         * lyxlayout.[Ch]:
5031         * lyxtextclass.C:
5032         * rowpainter.C:
5033         * text.C:
5034         * text2.C:
5035         * Counters.[Ch]: finish the 'automatic counters' job
5036
5037 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5038
5039         * aspell.C: include <boost/assert.cpp> (compile fix)
5040
5041 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5042
5043         * boost.C (assertion_failed): use lyx::support::abort instead of
5044         assert.
5045
5046 2003-09-10  Angus Leeming  <leeming@lyx.org>
5047
5048         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5049         with their _fwd progeny.
5050
5051 2003-09-09  Angus Leeming  <leeming@lyx.org>
5052
5053         134 files throughtout the source tree: replace 'using namespace abc;'
5054         directives with the appropriate 'using abc::xyz;' declarations.
5055
5056 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5057
5058         * boost.C (emergencyCleanup): moved here from LAssert.c
5059         (assertion_failed): new function, called by BOOST_ASSERT
5060
5061         * several files: change Assert to BOOST_ASSERT
5062
5063 2003-09-09  Angus Leeming  <leeming@lyx.org>
5064
5065         * buffer.[Ch]: Add an Impl class and move Buffer's member
5066         variables into it. As a result move several header files out of
5067         buffer.h.
5068
5069         Add header files to lots of .C files all over the tree as a result.
5070
5071 2003-09-09  Angus Leeming  <leeming@lyx.org>
5072
5073         * buffer.[Ch]: make Buffer's member variables private. Add
5074         accessor functions.
5075
5076         Lots of changes all over the tree as a result.
5077
5078 2003-09-08  Angus Leeming  <leeming@lyx.org>
5079
5080         * graph.C: #include <config.h>.
5081
5082 2003-09-08  Angus Leeming  <leeming@lyx.org>
5083
5084         * BranchList.C:
5085         * BufferView.C:
5086         * BufferView_pimpl.C:
5087         * CutAndPaste.C:
5088         * DepTable.C:
5089         * LaTeX.C:
5090         * LaTeXFeatures.C:
5091         * LyXAction.C:
5092         * MenuBackend.C:
5093         * TextCache.C:
5094         * aspell.C:
5095         * buffer.C:
5096         * bufferlist.C:
5097         * changes.C:
5098         * chset.C:
5099         * converter.C:
5100         * counters.C:
5101         * debug.C:
5102         * graph.C:
5103         * ispell.C:
5104         * lyx_cb.C:
5105         * lyxfind.C:
5106         * lyxfunc.C:
5107         * lyxlex_pimpl.C:
5108         * lyxrc.C:
5109         * lyxrow.C:
5110         * paragraph.C:
5111         * rowpainter.C:
5112         * texrow.C:
5113         * text.C:
5114         * text2.C:
5115         * toc.C: remove redundant using directives.
5116
5117 2003-09-07  Angus Leeming  <leeming@lyx.org>
5118
5119         * LaTeXFeatures.h: remove #include "support/types.h".
5120         * ToolbarBackend.h: remove #include <algorithm>.
5121         * changes.h: remove #include <ctime>.
5122         * debug.h: remove #include <iosfwd>.
5123         * graph.h: remove #include "support/std_string.h".
5124         * lyx_main.h: remove #include <csignal>.
5125         * lyxlex_pimpl.h: remove #include <fstream>.
5126         * sgml.h: remove #include <algorithm>, <utility>.
5127         * toc.h: remove #include "support/std_ostream.h".
5128         Add #include <iosfwd>.
5129
5130 2003-09-07  Angus Leeming  <leeming@lyx.org>
5131
5132         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5133
5134         * converter.h: forward declare LatexRunParams.
5135         * encoding.h: remove #include "lyxrc.h".
5136         * lyxtext.h: remove #include "LColor.h".
5137         * lyxtextclass.h: remove #include "support/types.h".
5138         * trans.h: remove #include "tex-accent.h".
5139         * trans_mgr.h: remove #include "tex-accent.h".
5140         * insets/inset.h: remove #include "support/types.h", <vector>.
5141         * insets/insetcollapsable.h: remove #include "LColor.h".
5142         * insets/insetinclude.h: remove #include "dimension.h".
5143         * insets/insetlatexaccent.h: remove #include "dimension.h".
5144         * insets/insetoptarg.h:: remove #include "insettext.h".
5145         * insets/insettext.h: remove #include "dimension.h",
5146         <boost/shared_ptr.hpp>
5147
5148         * insets/renderers.h: add #include "dimension.h".
5149         * insets/updatableinset.h: add #include "support/types.h".
5150
5151         * many .C files: Associated changes.
5152
5153 2003-09-06  Angus Leeming  <leeming@lyx.org>
5154
5155         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5156         one, inside testInvariant.
5157
5158         * PrinterParams.C: new file.
5159         * PrinterParams.[Ch]: move the function bodies out of line.
5160
5161 2003-09-06  Angus Leeming  <leeming@lyx.org>
5162
5163         * ParagraphParameters.h: forward declare ParameterStruct rather than
5164         including its header file.
5165         (depth): moved out-of-line.
5166
5167 2003-09-06  Angus Leeming  <leeming@lyx.org>
5168
5169         * BufferView_pimpl.h:
5170         * kbmap.h:
5171         * kbsequence.h:
5172         * lyxfunc.h: forward declare LyXKeySym rather than
5173         #include "frontends/LyXKeySym.h".
5174
5175         * BufferView_pimpl.C:
5176         * kbmap.C:
5177         * kbsequence.C:
5178         * lyxfunc.C: associated changes.
5179
5180 2003-09-06  Angus Leeming  <leeming@lyx.org>
5181
5182         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5183         As a result, can remove the #include "insets/inset.h" from BufferView.h
5184
5185 2003-09-06  Angus Leeming  <leeming@lyx.org>
5186
5187         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5188         As a result, can remove the #include "insets/inset.h" from BufferView.h
5189
5190 2003-09-06  Angus Leeming  <leeming@lyx.org>
5191
5192         * buffer_funcs.C:
5193         * buffer.h:
5194         * bufferlist.C:
5195         * BufferView.C:
5196         * bufferview_funcs.C:
5197         * BufferView_pimpl.C:
5198         * CutAndPaste.C:
5199         * lyx_cb.C:
5200         * lyxfunc.C:
5201         * paragraph.h:
5202         * ParagraphParameters.C:
5203         * tabular.C:
5204         * text3.C:
5205         * toc.C:
5206         * undo_funcs.C:
5207         * frontends/controllers/ControlDocument.C:
5208         * insets/insetcaption.C: rearrange the #includes into some sort of
5209         coherent order.
5210
5211         * buffer.h: remove #includes ErrorList.h, undo.h
5212
5213 2003-09-06  Angus Leeming  <leeming@lyx.org>
5214
5215         * support/types.h: add a 'depth_type' typedef, used to store the
5216         nesting depth of a paragraph.
5217
5218         * paragraph.h:
5219         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5220         defining explicitly.
5221
5222         * buffer.h:
5223         * paragraph_funcs.h:
5224         * ParagraphParameters.h:
5225         * sgml.h: use lyx::depth_type rather than Paragraph or
5226         ParameterStruct's depth_type.
5227
5228         * buffer.h
5229         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5230
5231         * BufferView.C:
5232         * BufferView_pimpl.C:
5233         * CutAndPaste.C:
5234         * ParagraphParameters.C:
5235         * buffer_funcs.C:
5236         * bufferlist.C:
5237         * bufferview_funcs.C:
5238         * lyx_cb.C:
5239         * lyxfunc.C:
5240         * tabular.C:
5241         * text3.C:
5242         * toc.C:
5243         * undo_funcs.C:
5244         * frontends/LyXView.C:
5245         * frontends/controllers/ControlDocument.C:
5246         * frontends/controllers/ControlErrorList.C:
5247         * insets/insetbibitem.C:
5248         * insets/insetbranch.C:
5249         * insets/insetcaption.C:
5250         * insets/insetcollapsable.C:
5251         * insets/insetenv.C:
5252         * insets/insetert.C:
5253         * insets/insetfloat.C:
5254         * insets/insetfoot.C:
5255         * insets/insetfootlike.C:
5256         * insets/insetnewline.C:
5257         * insets/insetquotes.C:
5258         * insets/insettabular.C:
5259         * insets/insettext.C:
5260         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5261
5262         * frontends/controllers/ControlChanges.C: #include "changes.h".
5263
5264 2003-09-06  Angus Leeming  <leeming@lyx.org>
5265
5266         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5267         than #including paragraph.h.
5268
5269         * ParagraphList.h:
5270         * RowList.h: deleted. Superfluous.
5271
5272         * CutAndPaste.h:
5273         * iterators.h:
5274         * lyxcursor.h:
5275         * lyxtext.h:
5276         * text_funcs.h:
5277         * undo.h:
5278         * undo_funcs.h:
5279         * insets/inset.h:
5280         * insets/insettext.h: use ParagraphList_fwd.h rather than
5281         ParagraphList.h.
5282
5283         * paragraph.h: don't forward declare ParagraphList.
5284
5285         * buffer.h:
5286         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5287         rather than ParagraphList.h. paragraph.h is still needed for the
5288         Paragraph::depth_type parameters.
5289
5290         * textcursor.h: enable it to compile stand-alone in light of the
5291         above changes.
5292
5293         * bufferview_funcs.C:
5294         * iterators.C:
5295         * lyxfunc.C:
5296         * lyxrow_funcs.C:
5297         * paragraph.C:
5298         * rowpainter.C:
5299         * text.C:
5300         * text2.C:
5301         * text3.C:
5302         * text_funcs.C:
5303         * textcursor.C:
5304         * undo.C:
5305         * frontends/controllers/ControlParagraph.C:
5306         * frontends/controllers/ControlTabular.C:
5307         * insets/insetmarginal.C:
5308         * insets/insetminipage.C:
5309         * insets/insetnote.C:
5310         * insets/insetoptarg.C: add header files needed to compile again.
5311
5312 2003-09-06  Angus Leeming  <leeming@lyx.org>
5313
5314         * RowList_fwd.h: new file, forward-declaring Row rather than
5315         #including lyxrow.h.
5316
5317         * lyxrow_funcs.h:
5318         * lyxtext.h:
5319         * paragraph.h:
5320         * insets/insettext.h: use it instead of RowList.h
5321
5322         * bufferview_funcs.C:
5323         * lyxfunc.C:
5324         * lyxrow_funcs.C:
5325         * paragraph.C:
5326         * rowpainter.C:
5327         * text.C:
5328         * text2.C:
5329         * text3.C: #include "RowList.h".
5330
5331 2003-09-05  Angus Leeming  <leeming@lyx.org>
5332
5333         * factory.C (createInset):
5334         * vspace.C (c-tor): replace sscanf call with an istringstream.
5335         * ispell.C: re-add missing HP/UX headers.
5336         * lyxserver.C: re-add missing  os2 headers.
5337
5338 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5339
5340         * BranchList.C:
5341         * graph.C:
5342         * ispell.C:
5343         * lastfiles.C:
5344         * lyx_cb.C:
5345         * lyxserver.C:
5346         * texrow.C:
5347         * text3.C: re-add missing system headers, needed for 2.95.2.
5348
5349 2003-09-05  Angus Leeming  <leeming@lyx.org>
5350
5351         Changes most place everywhere due to the removal of using directives
5352         from support/std_sstream.h.
5353
5354 2003-09-05  Angus Leeming  <leeming@lyx.org>
5355
5356         Replace LString.h with support/std_string.h,
5357         Lsstream.h with support/std_sstream.h,
5358         support/LIstream.h with support/std_istream.h,
5359         support/LOstream.h with support/std_ostream.h.
5360
5361         Changes resulting throughout the tree.
5362
5363 2003-09-05  Angus Leeming  <leeming@lyx.org>
5364
5365         * sgml.h: ensure that the header file can be compiled stand-alone.
5366         * *.C: strip out redundant #includes. (320 in total.)
5367
5368 2003-09-04  Angus Leeming  <leeming@lyx.org>
5369
5370         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5371         here (from getPackages).
5372
5373         * debug.[Ch]: add a new EXTERNAL tag.
5374
5375 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5376
5377         * text2.C (cursorEnd): simplify
5378         (setCursor): adjust
5379         (getColumnNearX): adjust
5380
5381         * text.C (computeBidiTables): adjust
5382         (fill): adjust
5383
5384         * rowpainter.C (paintChars): adjust
5385         (paintSelection): adjust
5386         (paintChangeBar): adjust
5387         (paintText): adjust
5388
5389         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5390         lastPos instead.
5391         (numberOfSeparators): adjust
5392
5393 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5394
5395         * LyXAction.C:
5396         * box.[Ch]:
5397         * lfuns.h:
5398         * lyxfunc.C:
5399         * text3.C: Restricts the mouse click functionality
5400         of insets like bibtex, include, toc and floatlist to the visible
5401         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5402         up the dialogs. Cursor has to be in front of the inset (i.e.
5403         start of row) for this to function.
5404
5405 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5406
5407         * bufferview_funcs.C (currentState): output row information
5408
5409 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5410
5411         * bufferview_funcs.C (currentState): output paragraph position
5412
5413 2003-09-04  Angus Leeming  <leeming@lyx.org>
5414
5415         * FloatList.h: move out #include "Floating.h".
5416         * LaTeX.h: move out #include "DepTable.h".
5417         * LyXAction.h: move out #include "funcrequest.h".
5418         * buffer.h: move out #include "author.h", "iterators.h".
5419         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5420         * lyx_main.h: move out #include "errorlist.h".
5421         * lyxfunc.h: move out #include "FuncStatus.h".
5422         * lyxtext: move out #include "lyxcursor.h".
5423         * paragraph_pimpl.h: move out #include "counters.h".
5424
5425 2003-09-03  Angus Leeming  <leeming@lyx.org>
5426
5427         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5428         preamble_snippets list, enabling us to add snippets to the preamble
5429         only if the snippet was not there already.
5430
5431 2003-09-04  Angus Leeming  <leeming@lyx.org>
5432
5433         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5434
5435 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5436
5437         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5438         update
5439
5440 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5441
5442         * BranchList.C: point fix, earlier forgotten
5443
5444 2003-09-02  Angus Leeming  <leeming@lyx.org>
5445
5446         * box.C (contains): renamed from 'contained' after a fantastic
5447         amount of hot air.
5448
5449 2003-09-02  John Levon  <levon@movementarian.org>
5450
5451         * BufferView.C:
5452         * lyxcursor.h:
5453         * lyxcursor.C:
5454         * lyxfunc.C:
5455         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5456
5457 2003-09-02  John Levon  <levon@movementarian.org>
5458
5459         * text2.C: simplification of cursorEnd(), including partial
5460         fix for bug 1376
5461
5462 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5463
5464         * buffer.C (readFile): add a space
5465
5466 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5467
5468         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5469
5470 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5471
5472         * buffer.C (readFile): new function, take a filename and a
5473         ParagraphList::iterator
5474         (readFile): adjust
5475         (readFile): adjust, make it private. don't use setStream, make
5476         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5477         always contain the filename.
5478
5479         * BufferView.C (insertLyXFile): simplify and make it work for
5480         gzipped files.
5481
5482 2003-08-30  John Levon  <levon@movementarian.org>
5483
5484         * Makefile.am: fix dist (from Kayvan)
5485
5486 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5487
5488         * most files: change to use const Buffer refs
5489
5490 2003-08-27  André Pönitz  <poenitz@gmx.net>
5491
5492         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5493         on top of ownerPar().
5494
5495 2003-08-27  John Levon  <levon@movementarian.org>
5496
5497         * funcrequest.C: properly initialise POD members
5498
5499 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5500
5501         * lyxtext.h (top_y): move top_y from here
5502         * text.C:
5503         * text2.C:
5504         * text3.C:
5505         * BufferView.[Ch]:
5506         * BufferView_pimpl.[Ch]: to here
5507         * frontends/screen.C:
5508         * insets/insettabular.C:
5509         * insets/insettext.C: adjust
5510         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5511
5512 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5513
5514         * BufferView.[Ch]:
5515         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5516
5517 2003-08-26  André Pönitz  <poenitz@gmx.net>
5518
5519         * paragraph_func.[Ch] (outerPar): new function
5520
5521         * paragraph.C:
5522         * paragraph_funcs.C:
5523         * paragraph_funcs.h:
5524         * paragraph_pimpl.C:
5525         * text2.C: remove Inset::par_owner
5526
5527 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5528
5529         * lyxrow_funcs.C:
5530         * lyxtext.h:
5531         * text.C:
5532         * text2.C: eliminates the needFullRow/display() stuff
5533         altogether, putting the logic in metrics/draw in the insets.
5534
5535 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5536
5537         * text2.C (redoParagraphInternal, redoParagraphs):
5538         * text.C (redoParagraph): add a call to updateRowPositions at the
5539         end of each 'metrics-like' call. Remove all others.
5540         (getRow): remove the 'y-computing' version.
5541         (getRowNearY): do not compute nor return the real y. Solve the
5542         'y < 0' problem and simplify.
5543
5544 2003-08-22  Angus Leeming  <leeming@lyx.org>
5545
5546         * *.[Ch]: clean-up of licence and author blurbs.
5547         Also move config.h out of a few .h files and into a few .C files.
5548
5549 2003-08-22  André Pönitz  <poenitz@gmx.net>
5550
5551         * lyxrow.[Ch]: add x_ and *fill_ members
5552
5553         * lyxtext.h:
5554         * text.C:
5555         * rowpainter.C:
5556         * text2.C: adjust/remove prepareToPrint() calls
5557
5558 2003-08-22  André Pönitz  <poenitz@gmx.net>
5559
5560         * lyxrow.[Ch]: add  end_ member
5561
5562         * lyxrow_funcs.C: use LyXRow::end_
5563
5564         * lyxtext.h (singleWidth): add LyXFont parameter
5565
5566         * rowpainter.C:
5567         * text2.C: adjust LyXText::singleWidth() calls
5568
5569         * text.C (redoParagraph): simplify row breaking logic
5570
5571
5572 2003-08-19  André Pönitz  <poenitz@gmx.net>
5573
5574         * funcrequest.C: initialize button_ member
5575
5576         * text3.C:
5577         * rowpainter.[Ch]: interface consolidation
5578
5579 2003-08-18  André Pönitz  <poenitz@gmx.net>
5580
5581         * BufferView.C:
5582         * BufferView_pimpl.C:
5583         * lyxfind.C:
5584         * paragraph_funcs.C:
5585         * rowpainter.C:
5586         * text3.C: remove LyXScreen::draw() and fitCursor calls
5587
5588         * BranchList.h: remove spurious semicolons
5589
5590         * MenuBackend.C: fix branchlist related crash
5591
5592 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5593
5594         * BranchList.[Ch]:
5595         * InsetList.[Ch]:
5596         * LColor.[Ch]:
5597         * LyXAction.C:
5598         * Makefile.am:
5599         * MenuBackend.[Ch]:
5600         * bufferparams.[Ch]:
5601         * factory.C:
5602         * lfuns.h:
5603         * lyxfunc.C:
5604         * text3.C: implements the 'branch inset'
5605         idea. This allows the output of various versions of a document
5606         from a single source version, selectively outputing or suppressing
5607         output of parts of the text.
5608         This implementation contains a 'branch list editor' in a separate
5609         tab of the document settings dialog. Branches are user definable
5610         and have a "display colour" to distinguish them on-screen.
5611
5612         ColorHandler was somewhat cleaned up.
5613         (1) make possible a dynamically growing LColor list by allowing
5614         the graphic context cache to grow along (vector);
5615         (2) eliminate an IMHO unnecessary step in colour allocation.
5616
5617 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5618
5619         * BufferView_pimpl.C: compile fix
5620
5621 2003-08-15  André Pönitz  <poenitz@gmx.net>
5622
5623         * rowpainter.C: remove extra metrics calls
5624
5625         * lyxtext.h: merge the two constructors into a single one,
5626           pass reference to owner's par list
5627
5628         * BufferView_pimpl.C:
5629         * text.C:
5630         * text2.C: adjust
5631
5632 2003-08-15  André Pönitz  <poenitz@gmx.net>
5633
5634         * lyxrow_funcs.[Ch]:
5635         * lyxtext.h:
5636         * paragraph.h:
5637         * paragraph_funcs.C:
5638         * rowpainter.C:
5639         * text.C:
5640         * text2.C:
5641         * text3.C:
5642         * text_funcs.C: split LyXText::rowlist_ into individual
5643         Paragraph::rows_ chunks
5644
5645         * BufferView.[Ch]:
5646         * BufferView_pimpl.[Ch]:
5647         * lyxfind.C:
5648         * lyxtext.h:
5649         * text3.C: remove toggleSelection()
5650
5651 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5652
5653         * bufferlist.C: beautify two alerts (shorter text of buttons)
5654         * buffer.C: Remove redundant ' ' from message
5655         * tabular.h:
5656         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5657         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5658         rename VALIGN_CENTER to VALIGN_MIDDLE
5659
5660 2003-08-11  André Pönitz  <poenitz@gmx.net>
5661
5662         * lyxtext.h (getPar):
5663         * text.C: new function
5664
5665 2003-08-11  André Pönitz  <poenitz@gmx.net>
5666
5667         * Makefile.am:
5668         * tracer.[Ch]: remove unneeded files
5669
5670         * InsetList.[Ch]: remove resizeInsetsLyXText()
5671
5672         * lyxtext.h:
5673         * text.C:
5674         * text2.C:
5675         * text3.C: merge insertParagraphs() and appendParagraph()
5676         remove breakAgain(), update()
5677
5678         * BufferView_pimpl.[Ch]:
5679         * bufferview_funcs.[Ch]:
5680         * lyxfunc.C:
5681         * paragraph.[Ch]:
5682         * rowpainter.C:
5683         * tabular.C: adjust after text & InsetList changes.
5684
5685 2003-08-08  André Pönitz  <poenitz@gmx.net>
5686
5687         * text.C (insertChar, backspace): replace rowlist fiddling
5688         with rebreak of full par
5689
5690         * lyxtext.h:
5691         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5692         checkParagraph, updateInset): removed
5693
5694 2003-08-07  André Pönitz  <poenitz@gmx.net>
5695
5696         * paragraph.C:
5697         * text3.C: merge some LFUN handlers, remove dead code
5698
5699 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5700
5701         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5702
5703 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5704
5705         * text2.C (DEPM): fix part of bug 1255 and 1256
5706
5707 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5708
5709         * BufferView_pimpl.C (workAreaDispatch): change to use
5710         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5711         that are no mouse related.
5712
5713 2003-08-05  André Pönitz  <poenitz@gmx.net>
5714
5715         * BufferView.[Ch]:
5716         * BufferView_pimpl.[Ch]:
5717         * bufferview_funcs.C:
5718         * text2.C:
5719         * text3.C: rip out "deep update"
5720
5721         * textcursor.[Ch] (last_sel_cursor): remove unused member
5722
5723 2003-08-04  André Pönitz  <poenitz@gmx.net>
5724
5725         * BufferView.[Ch]:
5726         * BufferView_pimpl.[Ch]:
5727         * ParagraphParameters.C:
5728         * bufferview_funcs.C:
5729         * lyx_cb.C:
5730         * lyxfind.C:
5731         * lyxfunc.C:
5732         * text.C:
5733         * text2.C:
5734         * text3.C: replace "complicated" BufferView::update(...) calls with
5735         simpler ones.
5736
5737         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5738
5739 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5740
5741         * Makefile.am (lyx_SOURCES): add paper.h
5742
5743 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5744
5745         * Makefile.am: move things around so that both lyx-qt and
5746         lyx-xforms can be built (according to --with-frontend). Then lyx
5747         is a symbolic link to lyx-[firstfrontend]
5748
5749 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5750
5751         * Always use std::endl with lyxerr
5752
5753 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5754
5755         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5756
5757 2003-08-01  André Pönitz  <poenitz@gmx.net>
5758
5759         * BufferView.[Ch]:
5760         * BufferView_pimpl.[Ch]:
5761         * lyxfunc.C:
5762         * text3.C: merge BufferView::repaint() and BufferView::update()
5763
5764 2003-08-01  José Matos  <jamatos@lyx.org>
5765
5766         * buffer.[Ch]: file_format is no longer a buffer data element.
5767
5768 2003-08-01  André Pönitz  <poenitz@gmx.net>
5769
5770         * BufferView.C:
5771         * lyxtext.h:
5772         * text.C:
5773         * text2.C: make redoParagraph more independent of current cursor
5774
5775         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5776         * text.C:
5777         * text2.C: remove unneeded members
5778
5779 2003-07-30  André Pönitz  <poenitz@gmx.net>
5780
5781         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5782
5783         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5784           create a single function...
5785
5786         * paragraph_funcs.C (moveItem): ... here.
5787
5788         * text.C:
5789           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5790
5791 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5792
5793         * LColor.[Ch]: Add comment and greyedout logical colors.
5794
5795 2003-07-30  André Pönitz  <poenitz@gmx.net>
5796
5797         * tabular.C: don't use Assert too heavily. This crashes where it
5798           shouldn't
5799
5800 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5801
5802         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5803         is disabled (bug 1232)
5804
5805 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5806
5807         * factory.C: limited 'arg' scope
5808
5809 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5810
5811         * factory.C: fixed Note submenu issues
5812
5813 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5814
5815         * factory.C: submenu for Note/Comment/Greyedout
5816
5817 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5818
5819         * lyx_main.C (LyX):
5820         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5821
5822 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5823
5824         * LaTeXFeatures.C:
5825         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5826         greyedout. Patch provided by Jürgen Spitzmüller.
5827
5828 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5829
5830         * kbmap.C (read): fix error message when reading bind files
5831
5832 2003-07-29  Angus Leeming  <leeming@lyx.org>
5833
5834         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5835         certainly does not do what it purports to do. I am doing it, and
5836         us, a favour by killing it.
5837
5838 2003-07-28  José Matos  <jamatos@lyx.org>
5839
5840         * buffer.C (readBody, do_writeFile):
5841         * paragraph.C(readParagraph): \end_document replaces \the_end.
5842
5843 2003-07-29  André Pönitz  <poenitz@gmx.net>
5844
5845         * BufferView.[Ch]:
5846         * BufferView_pimpl.[Ch]:
5847         * lyxfunc.C:
5848         * text2.C:
5849         * text3.C:
5850         * textcursor.[Ch]: remove toggleToggle & Co
5851
5852 2003-07-28  José Matos  <jamatos@fep.up.pt>
5853
5854         * buffer.C (readParagraph):
5855         * params_func (readParToken, readParagraph):
5856         * paragraph.C (write): \layout -> \begin_layout.
5857
5858 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5859
5860         * lyxlex_pimpl.C (setFile): clean up slightly.
5861
5862         * bufferparams.h: add compressed var
5863
5864         * buffer_funcs.C (readFile): adjust for LyXLex change
5865         (newFile): ditto + simplify
5866
5867         * buffer.C (writeFile): handle writing of compressed files
5868
5869         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5870         Check if the file is compressed and set a bufferparm if so.
5871
5872         * Makefile.am (lyx_LDADD): remove explicit -lz
5873
5874 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5875
5876         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5877         makeDocBookFile): put the real LyX version in the first line of
5878         the file
5879
5880         * version.h:
5881         * version.C.in: remove lyx_docversion
5882
5883         * tabular.C (write_attribute): add a template-based version to
5884         write enums properly
5885
5886 2003-07-28  André Pönitz  <poenitz@gmx.net>
5887
5888         * lyxtext.h:
5889         * text.C:
5890         * text2.C:
5891         * text3.C: use doubles again for x-coordinates. They are needed.
5892
5893 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5894
5895         * messages.C (getLocaleDir): use lyx_localedir()
5896
5897         * lyxlex_pimpl.C (setFile): compress stuff
5898
5899         * buffer.C (writeFile): add some compression stuff
5900         (do_writeFile): new func, dont call expliti close... will this
5901         breake anything?
5902
5903         * Makefile.am (lyx_LDADD): add -lz
5904
5905 2003-07-28  José Matos  <jamatos@fep.up.pt>
5906
5907         * buffer.C: increment file format.
5908         * paragraph_funcs (readParagraph, readParToken):
5909         * paragraph.C (readParagraph): add \end_layout.
5910
5911 2003-07-27  Angus Leeming  <leeming@lyx.org>
5912
5913         * Makefile.am: remove special casing for configure-time setting of
5914         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5915
5916         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5917         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5918
5919 2003-07-26  André Pönitz  <poenitz@gmx.net>
5920
5921         * paragraph_func.[Ch]:
5922         * paragraph.C (realizeFont): inline it whereever it is used
5923
5924         * rowpainter.C:
5925         * text.C:
5926         * text2.C:
5927         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5928
5929
5930 2003-07-26  André Pönitz  <poenitz@gmx.net>
5931
5932         *       lyxtext.h:
5933         * text.C:
5934         * text2.C: get rid of LyXText::need_break_row
5935
5936 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5937
5938         * toc.[Ch]: put namespace toc inside namespace lyx
5939
5940         * MenuBackend.C (expandToc2): adjust for lyx::toc
5941         (expandToc): ditto
5942
5943         * lyxfunc.C (dispatch): adjust for lyx::find
5944
5945         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5946         lyx::find instead. Reorganize a bit.
5947         (LyXReplace): rename to replace
5948         (LyXFind): rename to find
5949
5950         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5951         (dispatch): ditto
5952
5953 2003-07-26  André Pönitz  <poenitz@gmx.net>
5954
5955         * text.C (setHeightOfRow): restrict scope of temporary variable
5956
5957         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5958           code (never has been used?)
5959
5960 2003-07-27  Asger Alstrup  <alstrup@local>
5961
5962         * text.C (fill): Optimise algorithm to exploit that we can reuse
5963         the LyXFont for many characters.
5964         (setHeightOfRow): Same thing.
5965         (rowBreakPoint): Same thing.
5966
5967 2003-07-26  Asger Alstrup  <alstrup@local>
5968
5969         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5970
5971         * text.C (singleWidth): Spurious font copying in hot-spot
5972         singleWidth avoided. Reorder tests for arabic for efficiency.
5973
5974         * text.C (fill): handle empty paragraphs better.
5975
5976 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5977
5978         * ispell.C:
5979         * encoding.h: add includes
5980
5981         * lyxrc.C: remove reading of bind files
5982
5983         * lyx_main.C (init): setup bindings and menus only if we have a
5984         gui.
5985
5986         * kbmap.C (read): new method. Do the actual reading of bind
5987         files.
5988
5989         * converter.C (dvipdfm_options):
5990         * bufferparams.C:
5991         * lyxrc.C (read):
5992         (output): adapt PAPER_* enums.
5993
5994         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5995
5996         * bufferparams.h: remove paper-related enums from there
5997
5998         * paper.h: New file. A trivial header file to hold paper-related
5999         enums. It should later expand to contain many paper-related
6000         horrors access.
6001
6002         * lyxrc.C: declare extern displayTranslator
6003
6004 2003-07-27  José Matos  <jamatos@fep.up.pt>
6005
6006         * tabular.[Ch] (linuxdoc): add support for tables and figures
6007         (linuxdoc).
6008
6009 2003-07-27  José Matos  <jamatos@fep.up.pt>
6010
6011         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6012         consistency in both functions.
6013         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6014
6015 2003-07-26  Asger Alstrup  <alstrup@local>
6016
6017         * rowpainter.C (paintRows): Change algorithm to work directly on
6018         the insets rather than asking every character in the document
6019         whether its an inset.
6020
6021 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6022
6023         * buffer.C (openFileWrite): factorize some code
6024
6025 2003-07-26  Angus Leeming  <leeming@lyx.org>
6026
6027         * lyx_cb.C:
6028         * lyx_main.[Ch]: replace occurances of system_tempdir with
6029         os::getTmpDir().
6030
6031 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6032
6033         * rename Inset to InsetOld
6034
6035 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6036
6037         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6038         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6039         which I think is a bit clearer. EDIT is gone, since it was
6040         premature optimisation, and broken for mathed anyway.
6041         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6042         with cursor positioning in insets as well (math insets still do not
6043         work, but that's a different story anyway.) It mysteriously
6044         crashes sometimes with undo in the first paragraph, but I'm fairly
6045         confident that this is a compiler bug.
6046
6047 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6048
6049         * paragraph.C (Paragraph): adjust for new clone return type
6050         (operator==): ditto
6051         (copyIntoMinibuffer): ditto
6052
6053 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6054
6055         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6056         by not having a special case, and always doing a full rebreak of
6057         the document after undo.
6058
6059 2003-07-23  Angus Leeming  <leeming@lyx.org>
6060
6061         * factory.C (createInset): InsetExternal::setParams now takes a
6062         Buffer const * arg.
6063
6064 2003-07-23  Angus Leeming  <leeming@lyx.org>
6065
6066         * factory.C (createInset): changed interface to the external and
6067         graphics mailers' string2params functions.
6068
6069 2003-07-23  Angus Leeming  <leeming@lyx.org>
6070
6071         * factory.C (createInset): pass a
6072         Buffer const * parameter to InsetExternalMailer's string2params.
6073
6074 2003-07-22  John Levon  <levon@movementarian.org>
6075
6076         * Thesaurus.h: include the right aiksaurus header
6077
6078 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6079
6080         * MenuBackend.C (expand): check menu shortcuts unconditionally
6081
6082 2003-07-21  Angus Leeming  <leeming@lyx.org>
6083
6084         * factory.C (createInset): pass a
6085         buffer_path parameter to InsetGraphicsMailer's string2params.
6086
6087 2003-07-21  Angus Leeming  <leeming@lyx.org>
6088
6089         * BufferView_pimpl.C (buffer):
6090         * buffer.C (d-tor):
6091         * lyx_main.C (LyX):
6092         * lyxfunc.C (dispatch):
6093         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6094         rather than the grfx shortcut.
6095
6096 2003-07-21  André Pönitz  <poenitz@gmx.net>
6097
6098         * rowpainter.C: remove unused variables
6099
6100         * tabular_funcs.C:
6101         * tabular_funcs.h: move to tabular.C
6102         * Makefile.am: adjust
6103
6104         * tabular.[Ch]: basic optical cleaning
6105
6106         * author.h: pass references, not values
6107
6108 2003-07-18  André Pönitz  <poenitz@gmx.net>
6109
6110         * lyxtext.h:
6111         * metricsinfo.C:
6112         * metricsinfo.h:
6113         * rowpainter.C:
6114         * text.C:
6115         * text2.C:
6116         * text3.C: two-phase drawing for InsetText and InsetTabular
6117         some float -> int changes.
6118
6119 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6120
6121         * lyx_main.C: fix the fix
6122
6123 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6124
6125         * lyx_main.C: fix a crash in batch mode if no files specified
6126         * converter.C: ws
6127
6128 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6129
6130         * format.[Ch] (papersize): moved to BufferParams
6131         * converter.[Ch] (dvips_options): moved to BufferParams
6132         (dvipdfm_options): moved to anon namespace
6133         * bufferparams.[Ch]: added above functions.
6134
6135 2003-07-17  André Pönitz  <poenitz@gmx.net>
6136
6137         * lyxtext.h:
6138         * rowpainter.C:
6139         * text2.C: don't call inset->update() anymore
6140
6141         * metricsinfo.[Ch]: add convenience constructor
6142
6143 2003-07-16  André Pönitz  <poenitz@gmx.net>
6144
6145         * lyxcursor.[Ch]:
6146         * lyxfunc.[Ch]:
6147         * text.C:
6148         * text2.C: replace the LyXCursor::irow_ member with
6149          on-demand computation of the value
6150
6151 2003-07-16  John Levon  <levon@movementarian.org>
6152
6153         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6154
6155 2003-07-15  André Pönitz  <poenitz@gmx.net>
6156
6157         * text.C:
6158         * text2.C: remove no more needed refresh_row
6159
6160 2003-07-15  André Pönitz  <poenitz@gmx.net>
6161
6162         * lyxtext.h:
6163         * rowpainter.C:
6164         * text2.C:
6165         * text3.C: refresh_status tristate -> need_update bool
6166
6167 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6168
6169         * lyxtext.h (init): remove reinit argument (act as if always true)
6170         * text2.C: adjust to that
6171
6172 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6173
6174         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6175         * text3.C: use it to delete selections in some cases
6176         (bugs 441, 673, 702, 954).
6177
6178 2003-07-14  André Pönitz  <poenitz@gmx.net>
6179
6180         * rowpainter.[Ch]: reduce interface
6181
6182 2003-07-14  André Pönitz  <poenitz@gmx.net>
6183
6184         * BufferView_pimpl.C:
6185         * text2.C: adjust after removing unused BufferView * argument
6186
6187 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6188
6189         * text2.C (init): fix a crash fired on resize
6190
6191 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6192
6193         * buffer.[Ch]: added new closing signal
6194         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6195         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6196         BufferView::Pimpl via the closing the signal
6197
6198 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6199
6200         * buffer.[Ch]: take out all bv-related from buffer
6201         * BufferView.C:
6202         * BufferView_pimpl.[Ch]: connect to new signals
6203         * CutAndPaste.C: removed useless asserts
6204         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6205         * lyxvc.[Ch]:
6206         * vc-backend.[Ch]:
6207         * lyxfunc.C: moved view-related funciontality from vc here
6208         * paragraph.C: removed outdated comments
6209         * text.C: ws
6210
6211 2003-07-10  André Pönitz  <poenitz@gmx.net>
6212
6213         * BufferView_pimpl.C:
6214         * tabular.h:
6215         * tabular_funcs.C:
6216         * text.C:
6217         * text2.C: remove InsetText::InnerCache, clean up consequences
6218
6219 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6220
6221         * ispell.C: fix two typos in error messages
6222
6223 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6224
6225         * Extend Note inset to other forms of annotation like Comment
6226         and Greyedout. Right button click gives dialog.
6227
6228         Files modified or added (+):
6229
6230         * insetnote.[Ch]
6231         * FormNote.[Ch]      +
6232         * ControlNote.[Ch]   +
6233         * form_note.fd       +
6234         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6235         frontends/controllers
6236         * xforms/Dialogs.C
6237         * factory.C
6238
6239 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6240
6241         * aspell.C: add missing namespace lyx::support
6242
6243 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6244
6245         * BufferView.[Ch] (newFile): Add
6246         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6247         * LaTeX.[Ch] (message): added this signal and use it
6248         * buffer.[Ch] (busy, message): added these signals and use them
6249         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6250         * converter.C:
6251         * exporter.C:
6252         * format.C:
6253         * importer.C: use buffer signals instead of direct bv calling
6254         * lyx_cb.[Ch] (ShowMessage): removed
6255         * lyx_main.C:
6256         * lyxfunc.C:
6257         * paragraph_funcs.C:
6258         * text2.C: use buffer signals
6259
6260 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6261
6262         * introduce namespace lyx::graphics
6263
6264 2003-07-02  André Pönitz  <poenitz@gmx.net>
6265
6266         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6267
6268 2003-07-01  André Pönitz  <poenitz@gmx.net>
6269
6270         * text.C:
6271         * text2.C:
6272         * text3.C:
6273         * text_funcs.[Ch]:
6274         * textcursor.h:
6275         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6276           text*.C to text_func.C
6277
6278 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6279
6280         * introduce namespace lyx::support
6281
6282 2003-06-30  André Pönitz  <poenitz@gmx.net>
6283
6284         * Chktex.C:
6285         * funcrequest.C:
6286         * lyxtext.h:
6287         * text.C: re-enable --with-included-string
6288
6289 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6290
6291         * textcursor.C: add <config.h>
6292
6293         * text.C (getWord): remove const from word_location arg
6294
6295         * lyxvc.C (getLogFile): fix const type order
6296
6297         * lyxtext.h: remove const from word_location arg, add arg name
6298
6299         * lyxlayout.h: currect type on labeltype.
6300
6301         * importer.C: correct \file
6302
6303         * converter.C (intToFormat): use std:: on ret val, ws changes
6304
6305         * bufferlist.h: correct \file
6306
6307         * buffer.C (makeLinuxDocFile): fix const type order
6308         (makeDocBookFile): ditto
6309         (fillWithBibKeys): use std:: on stdlib args.
6310
6311         * CutAndPaste.C: fix authors.
6312         (availableSelections): use std:: on return vector
6313
6314 2003-06-27  André Pönitz  <poenitz@gmx.net>
6315
6316         * BufferView_pimpl.C:
6317         * bufferview_funcs.C:
6318         * lyxcursor.C:
6319         * lyxcursor.h:
6320         * lyxfunc.C:
6321         * lyxtext.h:
6322         * rowpainter.C:
6323         * text.C:
6324         * text2.C:
6325         * text3.C: remove LyXCursor::row_ member
6326
6327         * lyxtext.h:
6328         * text.C: rename fullRebreak() to partialRebreak() and implement
6329           a fullRebreak() that really bereks fully
6330
6331         * textcursor.h: new struct for cursor-related data
6332
6333 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6334
6335         * lyx_main.C (LyX): get full path of document loaded on the
6336         command line
6337
6338 2003-06-26  André Pönitz  <poenitz@gmx.net>
6339
6340         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6341           remove unused/broken operator>,<,>=.
6342
6343         *       text.C: remove only use of broken operator<= in an Assert().
6344
6345 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6346
6347         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6348         moved errorlist_.clear to showErrorList
6349
6350 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6351
6352         * converter.C (scanLog, runLaTeX):
6353         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6354         move the bv->showErrorList call to the callers
6355         * lyxfunc.C: i.e. here...
6356         * text2.C: and here
6357         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6358         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6359         namespace, the second to...
6360         * buffer_funcs (BufferFormat, parseErrors): added
6361         * errorlist.C (ErrorList(TeXErrors const &)): removed
6362
6363 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6364
6365         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6366
6367 2003-06-24  "Garst R. Reese" <reese@isn.net>
6368
6369         * debug.C: fix typo
6370
6371 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6372
6373         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6374
6375         * version.C.in: change docversion to 1.4
6376
6377 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6378
6379         * buffer.C: fix a bug just introduced
6380
6381 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6382
6383         * buffer.[Ch]: added the parseError signal and use it, removed
6384         sgmlError
6385         * BufferView.[Ch] (addError): moved to ...
6386         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6387         to the Buffer::parseError signal to catch (guess what) parse errors
6388         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6389
6390 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6391
6392         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6393         ability to create a buffer and to return an existing one from
6394         the list. Moved these functions to...
6395         * buffer_funcs.[Ch]: added
6396         * BufferView.[Ch] (loadLyXFile): added
6397         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6398         job removed from bufferlist::loadLyXFile.
6399         * buffer.C (setReadOnly): make it work without view
6400         (i.e added an if (users))
6401
6402 2003-06-19  Angus Leeming  <leeming@lyx.org>
6403
6404         * lfuns.h:
6405         * LyXAction.C (init):
6406         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6407         with LFUN_DIALOG_SHOW <name> <data>.
6408
6409 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6410
6411         * CutAndPaste.C (availableSelections): small compilation fix for
6412         ancient (gcc 2.9x) compilers
6413
6414 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6415
6416         * text3.C (cursorNext): add tmp var
6417
6418         * text2.C (updateCounters): for function calling out of for clause
6419         (replaceSelectionWithString): ditto
6420         (insertStringAsParagraphs): ditto
6421         (getColumnNearX): add tmp var
6422         (setCursorFromCoordinates): add tmp var
6423         (cursorDownParagraph): add tmp var
6424         (deleteEmptyParagraphMechanism): add tmp var
6425
6426         * text.C (insertChar): add tmp var
6427
6428         * rowpainter.C (paintDepthBar): add tmp var
6429
6430         * CutAndPaste.C (availableSelections): potentially check all
6431         paragraphs in a cut to fill the shown strings.
6432
6433 2003-06-18  André Pönitz  <poenitz@gmx.net>
6434
6435         * kbmap.[Ch]: use vector<> instead of list<>
6436
6437 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6438
6439         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6440         pasteSelection with index
6441
6442         * text2.C (pasteSelection): modify, call pasteSelection with index
6443
6444         * paragraph.C (asString): reimplement version with no interval to
6445         call the one with interval.
6446
6447         * lyxtext.h: add index arg to pasteSelection
6448
6449         * MenuBackend.C (MenuItem): handle PasteRecent
6450         (Menu::read::Menutags): add md_pasterecent
6451         (read): handle it
6452         (expandPasteRecent): new function
6453         (expand): use it
6454
6455         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6456
6457         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6458         the limited stack
6459         (availableSelections): new function
6460
6461 2003-06-17  Angus Leeming  <leeming@lyx.org>
6462
6463         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6464
6465 2003-06-17  Angus Leeming  <leeming@lyx.org>
6466
6467         * lfuns.h:
6468         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6469
6470         * lyxfunc.C (dispatch): invoke it.
6471
6472 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6473
6474         * iterators.C (operator++, ParPosition): reintroduce some
6475         const_cast for the benefit of older compilers.
6476
6477 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6478
6479         * text3.C (dispatch): do not modify clipboard when doing
6480         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6481         LFUN_DELETE_SKIP on a selection selection
6482
6483 2003-06-16  André Pönitz  <poenitz@gmx.net>
6484
6485         * BufferView.C:
6486         * buffer.C:
6487         * buffer.h:
6488         * paragraph.C:
6489         * tabular.[Ch]: IU of clone() and getLabelList();
6490
6491 2003-06-13  André Pönitz  <poenitz@gmx.net>
6492
6493         * tabular.h: compactification
6494
6495 2003-06-12  André Pönitz  <poenitz@gmx.net>
6496
6497         * tabular.C:
6498         * tabular.h:
6499         * tabular_funcs.h: some renaming plus whitespace
6500
6501 2003-06-12  André Pönitz  <poenitz@gmx.net>
6502
6503         * BufferView.C:
6504         * BufferView_pimpl.C:
6505         * CutAndPaste.C:
6506         * buffer.C:
6507         * iterators.[Ch]:
6508         * lyxfunc.C:
6509         * text.C:
6510         * toc.C: Return a Paragraph & for ParIterator::operator*()
6511
6512 2003-06-11  John Levon  <levon@movementarian.org>
6513
6514         * lyx_main.C:
6515         * ToolbarBackend.h:
6516         * ToolbarBackend.C: add "Toolbars" section and
6517         put the flags there
6518
6519 2003-06-10  Angus Leeming  <leeming@lyx.org>
6520
6521         * lfuns.h:
6522         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6523
6524         * lyxfunc.C (dispatch): invoke it.
6525
6526 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6527
6528         * main.C: protect <ios> with HAVE_IOS
6529         (main): protect sync_with_stdio with HAVE_IOS
6530
6531 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6532
6533         * text2.C (cutSelection): adjust
6534         (pasteSelection): adjust
6535
6536         * messages.C: handle get of empty string
6537
6538         * main.C (main): use sync_with_stdio(false)
6539
6540         * lyxfunc.C (dispatch): adjust
6541
6542         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6543         (WriteAs): remove unneeded BufferView arg.
6544
6545         * bufferparams.h: use correct types on papersize, papersize2 and
6546         paperpackage.
6547
6548         * bufferparams.C (readToken): adjust for type
6549         (writeLaTeX): add missing cases to switch.
6550
6551         * bufferlist.C (quitWriteBuffer): adjust
6552         (close): adjust
6553
6554         * buffer.C (asciiParagraph): remove some commented code.
6555
6556         * CutAndPaste.C: remove current_view extern variable.
6557         (cutSelection): add BufferParams arg.
6558         (eraseSelection): add BufferParams arg.
6559         (pasteSelection): add Buffer const & arg
6560
6561 2003-06-07  John Levon  <levon@movementarian.org>
6562
6563         * buffer.C:
6564         * paragraph_funcs.C:
6565         * paragraph_pimpl.C:
6566         * text.C:
6567         * text2.C:
6568         * paragraph.h:
6569         * paragraph.C: allow InsetERT to freely space lines,
6570         and some consolidation of code
6571
6572 2003-06-06  José Matos  <jamatos@fep.up.pt>
6573
6574         * buffer.C (makeDocBookFile): fix bug #821
6575
6576 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6577
6578         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6579
6580 2003-06-04  Angus Leeming  <leeming@lyx.org>
6581
6582         * buffer.C: bump format to 224.
6583
6584 2003-06-05  André Pönitz  <poenitz@gmx.net>
6585
6586         * text2.C (redoParagraphs): remove two const_cast<>
6587
6588 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6589
6590         * ParagraphList.h: remove last remnants of NO_STD_LIST
6591
6592 2003-06-03  Angus Leeming  <leeming@lyx.org>
6593
6594         * factory.C (createInset): small change to the way InsetExternal's params
6595         are set.
6596
6597 2003-06-04  André Pönitz  <poenitz@gmx.net>
6598
6599         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6600
6601         * paragraph_pimpl.h:
6602         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6603
6604         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6605
6606         * undo_funcs.C: make some simple cases of undo work again
6607
6608 2003-06-03  John Levon  <levon@movementarian.org>
6609
6610         * ispell.C: HPUX doesn't have sys/select.h
6611         (from Albert Chin)
6612
6613 2003-06-03  John Levon  <levon@movementarian.org>
6614
6615         * CutAndPaste.C: update tabular and include inset
6616         buffer references
6617
6618         * buffer.h:
6619         * paragraph.h:
6620         * paragraph.C: remove owningBuffer(), don't pass Buffer
6621         to clone()
6622
6623         * factory.C: insetGraphicsParams changed
6624
6625 2003-06-02  John Levon  <levon@movementarian.org>
6626
6627         * LyXAction.C:
6628         * factory.C:
6629         * lfuns.h:
6630         * lyxfunc.C:
6631         * text3.C: remove insetparent
6632
6633 2003-06-02  John Levon  <levon@movementarian.org>
6634
6635         * buffer.h:
6636         * buffer.C: fix inset_iterator.end(), move out of line
6637         (bug 1149)
6638
6639 2003-06-01  John Levon  <levon@movementarian.org>
6640
6641         * text3.C: use a proper cut/paste when doing inset
6642         insert (from Jürgen Spitzmüller)
6643
6644 2003-06-01  John Levon  <levon@movementarian.org>
6645
6646         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6647
6648 2003-05-30  André Pönitz  <poenitz@gmx.net>
6649
6650         * rowpainter.C: unify second drawing phase
6651
6652 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6653
6654         * trans_mgr.C: remove one case of current_view
6655
6656         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6657
6658         * paragraph_funcs.h: remove paragraph.h include
6659
6660         * paragraph.h: delete NO_STD_LIST stuff
6661
6662         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6663
6664         * buffer.h: remove paragraph.h include
6665
6666         * ParagraphList.C: delete file
6667
6668         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6669
6670         * toc.C (getTocList): adjust
6671
6672         * paragraph_pimpl.C (validate): adjust
6673
6674         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6675
6676         * paragraph.C (Paragraph): adjust
6677         (getPositionOfInset): use const_iterator, adjust
6678         (bibitem): use const_iterator, adjust
6679         (setInsetOwner): adjust
6680
6681         * iterators.C (operator++): adjust
6682
6683         * InsetList.[Ch]: Replace selfmade iterator with standard
6684         vector::iterator also introduce const_iterator. Remove getPos,
6685         getInset and setInset from InsetTable. Adjust accordingly.
6686
6687         * BufferView.C (lockInset): adjust
6688         (ChangeInsets): adjust
6689
6690         * tabular.[Ch]: delete commented same_id functions
6691
6692 2003-05-28  John Levon  <levon@movementarian.org>
6693
6694         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6695
6696 2003-05-28  André Pönitz  <poenitz@gmx.net>
6697
6698         * metricsinfo.[Ch]: remove 'fullredraw' member
6699
6700 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6701
6702         * lyxtextclass.C (operator): remove caching.
6703
6704 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6705
6706         * text3.C: adjust
6707
6708         * text2.C (cursorBottom): adjust
6709         (setCounter): use ParagraphList::find, adjust
6710
6711         * text.C (workWidth): use ParagraphList::find, adjust
6712
6713         * lyxcursor.C (LyXCursor): adjust
6714
6715         * buffer.C (inset_iterator): adjust
6716
6717         * ParagraphList.h: make iterator(value_type) private, make
6718         ParagraphList a friend of iterator.
6719
6720         * ParagraphList.C (find): new function
6721
6722         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6723
6724 2003-05-27  André Pönitz  <poenitz@gmx.net>
6725
6726         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6727
6728 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6729
6730         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6731
6732 2003-05-26  John Levon  <levon@movementarian.org>
6733
6734         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6735
6736 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6737
6738         * remove same_id from function signatures, adjust.
6739
6740 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6741
6742         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6743
6744         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6745
6746         * paragraph.C (Paragraph): get rid of same_ids parameter
6747
6748         * ParagraphList.C (insert): adjust
6749         (push_back): adjust
6750
6751 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6752
6753         * paragraph_funcs.C (breakParagraph): adjust
6754         (breakParagraphConservative): adjust
6755
6756         * buffer.C (readParagraph): adjust
6757
6758         * ParagraphList.C (insert): take a reference instead of a pointer
6759         (insert): adjust
6760
6761         * paragraph.[Ch] (id): new function
6762
6763         * bufferlist.C (newFile): adjust
6764
6765         * ParagraphList.C (ParagraphList): adjust
6766         (assign): adjust
6767         (push_back): take a reference instead of a pointer.
6768
6769         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6770
6771         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6772         instead.
6773
6774         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6775         set else use old code.
6776
6777         * ParagraphList.C: remove all NO_NEXT code and only compile this
6778         code of NO_STD_LIST is set.
6779
6780 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6781
6782         * BufferView_pimpl.C:
6783         * TextCache.C:
6784         * TextCache.h:
6785         * bufferlist.C:
6786         * errorlist.h:
6787         * format.C:
6788         * format.h:
6789         * graph.C:
6790         * lyxfunc.C:
6791         * lyxrc.C:
6792         * graphics/GraphicsConverter.C:
6793         * graphics/PreviewLoader.C: header adjustment
6794
6795 2003-05-23  Angus Leeming  <leeming@lyx.org>
6796
6797         * LaTeXFeatures.[Ch] (useBabel): new method.
6798         * bufferparams.C (writeLaTeX): use it.
6799
6800 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6801
6802         * ParagraphList.h (set): remove unused function.
6803
6804 2003-05-23  André Pönitz  <poenitz@gmx.net>
6805
6806         * BufferView.C:
6807         * BufferView_pimpl.C:
6808         * buffer.C:
6809         * buffer.h:
6810         * lyxfunc.C:
6811         * undo_funcs.C: setUndo reworked
6812
6813         * iterators.[Ch]: add access to topmost ParagraphList
6814
6815         * lyxtext.[Ch] (workWidth): add a const
6816
6817 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6818
6819         * texrow.[Ch] (increasePos): remove function
6820         * exporter.C (export): removed unused var and outdated comment
6821
6822 2003-05-23  Angus Leeming  <leeming@lyx.org>
6823
6824         * latexrunparams.h: rename fragile as moving_arg.
6825         * paragraph.C (simpleTeXOnePar): ditto.
6826         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6827
6828 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6829
6830         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6831         (createUndo): ditto
6832         (textUndoOrRedo): comment out a currently unused var.
6833
6834         * paragraph.h (NO_NEXT): enable NO_NEXT
6835
6836         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6837
6838         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6839
6840         * exporter.C (Export): adjust for removeAutoInsets removal.
6841
6842         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6843
6844         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6845
6846         * BufferView.[Ch] (removeAutoInsets): delete function
6847
6848 2003-05-22  Angus Leeming  <leeming@lyx.org>
6849
6850         * latexrunparams.h: add a free_spacing variable.
6851
6852         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6853         to pass moving_arg, as the data is stored in runparams.fragile.
6854
6855         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6856         to Inset::latexOptional or to simpleTeXOnePar.
6857
6858         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6859         free_spacing arg to Inset::latexOptional.
6860
6861         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6862         free_spacing arg.
6863
6864 2003-05-22  Angus Leeming  <leeming@lyx.org>
6865
6866         * latexrunparams.h: add fragile and use_babel variables.
6867
6868         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6869         * buffer.C (makeLaTeXFile): store this returned value in
6870         runparams.use_babel, thus passing it to the inset::latex methods.
6871
6872         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6873         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6874
6875         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6876         longer has a fragile arg, as it is stored in runparams.fragile.
6877
6878         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6879         moving_arg parameter as the data is stored in runparams.fragile.
6880
6881         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6882         a fragile parameter as the data is stored in runparams.fragile.
6883
6884 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6885
6886         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6887
6888 2003-05-22  Angus Leeming  <leeming@lyx.org>
6889
6890         * latexrunparams.h: add a 'bool nice' which defaults to false.
6891
6892         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6893         now encapsulated within runparams.
6894
6895         * bufferlist.C (updateIncludedTeXfiles):
6896         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6897
6898 2003-05-22  Angus Leeming  <leeming@lyx.org>
6899
6900         * latexrunparams.h: new file containing struct LatexRunParams.
6901         * Makefile.am: add new file.
6902
6903         * LaTeX.[Ch] (c-tor, run):
6904         * buffer.[Ch] (makeLaTeXFile):
6905         * bufferlist.[Ch] (updateIncludedTeXfiles):
6906         * converter.C (convert, scanLog):
6907         * converter.[Ch] (runLaTeX):
6908         * exporter.C (Export):
6909         * paragraph.[Ch] (simpleTeXOnePar):
6910         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6911         * paragraph_funcs.[Ch] (latexParagraphs):
6912         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6913         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6914         pass around a LatexRunParams parameter.
6915
6916 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6917
6918         * paragraph.[Ch]: remove unused constructor
6919
6920         * ParagraphList.C (erase): new function, taking two iterators
6921
6922 2003-05-22  André Pönitz  <poenitz@gmx.net>
6923
6924         * undo_funcs.C: remove duplicated code
6925
6926         * iterator.[Ch]: operator=
6927
6928 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6929
6930         * tabular.C (SetMultiColumn): ws changes
6931
6932         * rowpainter.C (paintFirst): get rid of a ->previous
6933
6934         * lyx_cb.C (getPossibleLabel): parlist simplification
6935
6936         * BufferView.C (ChangeInsets): simplify slightly.
6937
6938 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6939
6940         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6941         * lfuns.h: new LFUN_SPACE
6942         * lyxfunc.C: protected space has a new lfun
6943         * paragraph_funcs.C: read new space insets
6944         * text3.C:
6945         * factory.C: handle new space insets
6946
6947 2003-05-22  André Pönitz  <poenitz@gmx.net>
6948
6949         * BufferView.C:
6950         * BufferView_pimpl.C:
6951         * buffer.[Ch]:
6952         * lyxfunc.C:
6953         * undo_funcs.C: return a ParIterator from getParFromID.
6954
6955         * iterators.[Ch]: add two const's
6956
6957 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6958
6959         * toc.C (getTocList): adjust
6960
6961         * iterators.[Ch]: rework for parlist
6962
6963         * buffer.C (par_iterator_begin): adjust
6964         (par_iterator_end): adjust
6965
6966         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6967
6968         * BufferView.C (removeAutoInsets): adjust
6969         (ChangeInsets): adjust
6970
6971 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6972
6973         * text.C (top_y): fix bug 1110
6974
6975 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6976
6977         * errorlist.[Ch]: added
6978         * buffer.C:
6979         * BufferView.[Ch]:
6980         * BufferView_pimpl.C:
6981         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6982         instead
6983
6984 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6985
6986         * Makefile.am: ensure that lyx is relinked upon changes to the
6987         various "convenience" libs.
6988
6989 2003-05-20  Angus Leeming  <leeming@lyx.org>
6990
6991         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6992         files are compiled in alphabetical order again.
6993
6994         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6995
6996 2003-05-19  Angus Leeming  <leeming@lyx.org>
6997
6998         * gettext.[Ch]: remove "char const * _(char const *)".
6999
7000 2003-05-19  André Pönitz  <poenitz@gmx.net>
7001
7002         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7003
7004         * Makefile.am:
7005         * BufferView.C:
7006         * DepTable.h:
7007         * LaTeXFeatures.C:
7008         * buffer.C:
7009         * lyxfont.C:
7010         * lyxlex.h:
7011         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7012
7013 2003-05-19  André Pönitz  <poenitz@gmx.net>
7014
7015         * buffer.C:
7016         * lyxlayout.[Ch]:
7017         * lyxtextclass.[Ch]:
7018         * paragraph.C:
7019         * paragraph_funcs.[Ch]:
7020         * text2.C:
7021         * text3.C: more insetenv work
7022
7023 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7024
7025         * ParagraphParameters.C (params2string): small bug fixed
7026
7027 2003-05-16  André Pönitz  <poenitz@gmx.net>
7028
7029         * debug.C:
7030         * bufferview_funcs.C: patch from Kornel Benko to prevent
7031           crash when _(...) is called twice in a statement
7032
7033 2003-05-16  André Pönitz  <poenitz@gmx.net>
7034
7035         * BufferView.C:
7036         * lyxfunc.C:
7037         * text.C:
7038         * text2.C:
7039         * text3.C:
7040         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7041
7042 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7043
7044         * lyx_main.C (init): remove spurious static_cast
7045
7046 2003-05-14  André Pönitz  <poenitz@gmx.net>
7047
7048         * BufferView.C: fix format string
7049
7050 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7051
7052         * BufferView.[Ch] (insertErrors): removed
7053         * BufferView.[Ch] (showErrorList): added
7054         * buffer.C (runChkTeX):
7055         * converter.C (scanLog): call showErrorList instead of inserterrors
7056
7057 2003-05-13  André Pönitz  <poenitz@gmx.net>
7058
7059         * BufferView_pimpl.C:
7060         * buffer.C:
7061         * bufferview_func.C:
7062         * MenuBackend.C:
7063         * lyxfunc.C:
7064         * lyxrc.C:
7065         * tex-accent.C:
7066         * text3.C:
7067         * toc.C:
7068         * tabular_funcs.h: tostr() from its own header
7069
7070         * ParagraphParameters.C:
7071         * ToolbarBackend.C:
7072         * bufferparams.C:
7073         * format.C:
7074         * lyxlex_pimpl.C:
7075         * text3.C: STRCONV()
7076
7077 2003-05-12  André Pönitz  <poenitz@gmx.net>
7078
7079         * BufferView.C:
7080         * BufferView_pimpl.C:
7081         * CutAndPaste.C:
7082         * LaTeX.C:
7083         * LaTeXFeatures.C:
7084         * ParagraphParameters.C:
7085         * buffer.C:
7086         * bufferlist.C:
7087         * bufferparams.C:
7088         * bufferview_funcs.C:
7089         * converter.C:
7090         * counters.C:
7091         * debug.C:
7092         * exporter.C:
7093         * format.C:
7094         * importer.C:
7095         * lyx_cb.C:
7096         * lyx_main.C:
7097         * lyxfont.C:
7098         * lyxfunc.C:
7099         * lyxvc.C:
7100         * paragraph.C:
7101         * paragraph_funcs.C:
7102         * tabular.C:
7103         * tabular_funcs.C:
7104         * text2.C:
7105         * text3.C:  boost::format -> bformat  all over the place
7106
7107
7108 2003-05-09  André Pönitz  <poenitz@gmx.net>
7109
7110         * LColor.[Ch]: Pimpl the #include <map> away
7111
7112 2003-05-09  John Levon  <levon@movementarian.org>
7113
7114         * bufferlist.C: never remove emergency saves
7115
7116 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * Makefile.am: better lib building
7119
7120 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7121
7122         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7123         instead.
7124         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7125         (simpleTeXSpecialChars): adjust
7126         (simpleTeXSpecialChars): adjust
7127         * paragraph.C (simpleTeXOnePar): adjust
7128         * buffer.C (makeLaTeXFile): adjust
7129
7130         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7131
7132         * text2.C (changeDepth): parlist cleanup
7133         (getColumnNearX): ditto
7134
7135         * rowpainter.C (getLabelFont): parlist cleanup
7136
7137         * bufferlist.C (newFile): parlist cleanup
7138
7139         * CutAndPaste.C (eraseSelection): parlist cleanup
7140
7141         * BufferView_pimpl.C (trackChanges): parlist cleanup
7142         (dispatch): ditto
7143
7144         * BufferView.C (lockInset): parlist cleanup.
7145         (ChangeInsets): ditto
7146
7147 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7148
7149         * CutAndPaste.h: Update file header.
7150
7151         * CutAndPaste.C: Update file header.
7152         Store the parts cut out of the Document in a limited_stack.
7153         (copySelection): adjust
7154         (pasteSelection): new function, takes the index in the limited stack.
7155         (nrOfParagraphs): adjust
7156         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7157         simplify error inset insertion.
7158         (checkPastePossible): adjust
7159
7160 2003-05-06  John Levon  <levon@movementarian.org>
7161
7162         * text2.C: don't cast wrap inset to float
7163
7164 2003-05-05  André Pönitz  <poenitz@gmx.net>
7165
7166         * iterator.C:
7167         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7168
7169         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7170           few naked Paragraph *.
7171
7172 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7173
7174         * bufferparams.C: Output warning if a document with missing
7175         TeX document class is loaded
7176         * exporter.C: Disable TeX exports if the document class is missing
7177         * lyxtextclass.C:
7178         * lyxtextclass.h:
7179         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7180         isTeXClassAvailable()
7181
7182 2003-05-03  John Levon  <levon@movementarian.org>
7183
7184         * BufferView.h:
7185         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7186         explicit cursor show/hide
7187
7188         * BufferView_pimpl.h:
7189         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7190         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7191
7192         * lyxfunc.C: hide cursor before dispatching.
7193
7194         * lyx_cb.C:
7195         * lyxfind.C:
7196         * text.C:
7197         * text3.C: remove explicit cursor hides
7198
7199 2003-05-02  André Pönitz  <poenitz@gmx.net>
7200
7201         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7202
7203         * undo_funcs.C:
7204         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7205           linked lists
7206
7207         * text2.C: tiny whitespace
7208
7209 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7210
7211         * undo_funcs.C: almost only ws changes.
7212
7213         * ParagraphList.C (splice): just return if pl is empty.
7214
7215 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7216
7217         * ParagraphList.C (splice): new function.
7218
7219         * CutAndPaste.C (pasteSelection): use it
7220
7221 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7222
7223         * CutAndPaste.C (pasteSelection): remove the last next and
7224         previous from this file.
7225
7226 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7227
7228         * CutAndPaste.C (pasteSelection): more clean up, user proper
7229         ParagraphList functions for pasteing.
7230
7231         * ParagraphList.C (insert): new function, three arg insert
7232
7233 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7234
7235         * ParagraphList.C (insert): new function, three arg insert
7236
7237         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7238         not on paragraphs.
7239
7240 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7241
7242         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7243
7244 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7245
7246         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7247
7248 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7249
7250         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7251         (copySelection): clean up a bit.
7252         (pasteSelection): use make_pair
7253
7254         * ParagraphList.C (ParagraphList): implement copy constructor
7255         (operator=): implement, base on copy constructor.
7256         (assign): new func
7257
7258         * paragraph.C (erase): return a bool
7259
7260         * paragraph_pimpl.C (erasePos): remove function, move contents...
7261         (erase): ... here. Return a bool.
7262         (erase): call erase instead of erasePos.
7263
7264 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7265
7266         * ParagraphList.h: define PitPosPair
7267         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7268         ParagraphList, fix a bug on pasting multiple pars
7269         * text2.C: change interface to C&P
7270
7271 2003-04-30  André Pönitz  <poenitz@gmx.net>
7272
7273         * undo_func.C: revert part of yesterday's patch 2
7274
7275 2003-04-30  John Levon  <levon@movementarian.org>
7276
7277         * LColor.C: s/tabular/table/
7278
7279 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7280
7281         * text3.C (dispatch): do not convert iterator -> pointer
7282         * undo_funcs.C (setCursorParUndo): ditto
7283         * text_funcs.C (transposeChars): ditto
7284
7285         * text2.C (setLayout): ws changes only
7286
7287         * text.C (breakParagraph): do not convert iterator -> pointer
7288         (insertChar): ditto
7289         (acceptChange): ditto
7290         (rejectChange): ditto
7291         (changeCase): ditto
7292         (Delete): ditto
7293         (backspace): ditto
7294
7295         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7296         pointer
7297
7298 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7299
7300         * text3.C (gotoInset): YABG (yet another bad getChar)
7301
7302 2003-04-29  André Pönitz  <poenitz@gmx.net>
7303
7304         * paragraph.h: make operator= private unimplemented as long as
7305           it is unusable
7306
7307         * ParagraphList.C: whitespace
7308
7309         * paragraph.[Ch]:
7310         * paragraph_pimpl.[Ch]:
7311         * paragraph_funcs.C:
7312         * CutAndPaste.C:
7313         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7314
7315         * text2.C:
7316           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7317
7318 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7319
7320         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7321         * paragraph.[Ch] (erase):
7322         * paragraph_pimpl.[Ch] (erase): change return type and value
7323         * text2.C (cutSelection): some rework
7324
7325 2003-04-28  John Levon  <levon@movementarian.org>
7326
7327         * bufferlist.C: changes for unsaved changes dialog
7328
7329 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7330
7331         * bufferlist.C (newFile): set language (messages_) for new
7332         documents also.
7333
7334         * buffer.C (readFile): ws changes only.
7335
7336 2003-04-28  André Pönitz  <poenitz@gmx.net>
7337
7338         * undo_funcs.C:
7339         * lyxfunc.C:
7340         * buffer.[Ch]:
7341         * BufferView_pimpl.C:
7342         * BufferView.C: getParFromID related ParagraphList::iterator changes
7343
7344 2003-04-28  André Pönitz  <poenitz@gmx.net>
7345
7346         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7347           Changes
7348
7349 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7350
7351         * messages.C: remove one more localedir class variable.
7352
7353 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7354
7355         * messages.C (getLocaleDir): singleton generation function
7356         (Pimpl): use it.
7357         (Messages): add a default constructor.
7358
7359         * main.C (main): do not setup localedir here, do not call
7360         gettext_init.
7361
7362         * gettext.C (_): use it.
7363         (gettext_init): delete funciton
7364
7365 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7366
7367         * gettext.C (getLyXMessages): new singleton generating function.
7368
7369         * buffer.C (updateDocLang): adjust
7370
7371         * Makefile.am (messages.o): add target
7372         (main.o): remove target
7373
7374 2003-04-27  John Levon  <levon@movementarian.org>
7375
7376         * bufferlist.C:
7377         * lyx_cb.C:
7378         * lyxfunc.C:
7379         * lyxvc.C: specify cancel button in Alert::prompt
7380
7381 2003-04-26  John Levon  <levon@movementarian.org>
7382
7383         * text3.C:
7384         * lyxfunc.C:
7385         * lfuns.h:
7386         * LyXAction.C: add LFUN_INSET_SETTINGS
7387
7388         * lyxfunc.C: don't enable tabular-feature when there's
7389         just any locking inset
7390
7391 2003-04-26  John Levon  <levon@movementarian.org>
7392
7393         * bufferlist.C: re-add Cancel to buffer close question
7394
7395         * lyxfunc.C: fix import UI a bit
7396
7397 2003-04-25  John Levon  <levon@movementarian.org>
7398
7399         * gettext.C: remove the broken asserts for now
7400
7401 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7402
7403         * messages.C: make case where setlocale cannot comply work better.
7404
7405         * buffer.C (updateDocLang): new function
7406         (changeLanguage): use it
7407         (readFile): use it
7408
7409         * text2.C (setCounter): use B_ a bit.
7410
7411         * lyxlayout.C (Read): be sure to trim the label strings.
7412
7413         * messages.C (Messages): fix typo in comment
7414
7415         * buffer.C (readFile): set message_ after file is loaded.
7416         (makeDocBookFile): remove double return
7417         (changeLanguage): reset message_ upon language change.
7418         (B_): new func, use this to get translated buffer strings.
7419
7420         * main.C: add myself and Jean Marc as authors.
7421
7422 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7423
7424         * messages.[hC]: pimplify Messages, and three different pimpls to be
7425         used in different circumstances.
7426
7427         * gettext.[Ch]: change for use with new message code.
7428
7429 2003-04-24 André Pönitz <poenitz@gmx.net>
7430
7431         * factory.C: support for eqref
7432
7433 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7434
7435         * messages.[Ch]: add missing char
7436
7437         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7438
7439         * messages.[Ch]: New files
7440
7441 2003-04-18  John Levon  <levon@movementarian.org>
7442
7443         * BufferView.h:
7444         * BufferView.C:
7445         * BufferView_pimpl.C:
7446         * lfuns.h:
7447         * LyXAction.C:
7448         * lyxtext.h:
7449         * text2.C: remove layout-copy/paste (bug 778)
7450
7451 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7452
7453         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7454
7455 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7456
7457         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7458         if they succeed. Act accordingly.
7459
7460 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7461
7462         * text2.C (setCharFont): adjust
7463         (setCounter): adjust
7464         (insertStringAsLines): adjust
7465
7466         * text.C (leftMargin): adjust
7467         (setHeightOfRow): adjust
7468
7469         * rowpainter.C (paintFirst): adjust
7470         (paintLast): adjust
7471
7472         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7473         (outerHook): ditto
7474         (isFirstInSequence): ditto
7475         (getEndLabel): ditto
7476         (outerFont): adjust
7477
7478         * paragraph.C (getParLanguage): comment out some hard stuff.
7479
7480         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7481         (sgmlError): ditto
7482         (simpleDocBookOnePar): ditto
7483         (makeDocBookFile): use ParagraphList::iterator
7484
7485         * CutAndPaste.C (pasteSelection): adjust
7486
7487 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7488
7489         * text2.C (getFont): adjust
7490         (getLayoutFont): adjust
7491         (getLabelFont): adjust
7492
7493         * paragraph_funcs.C (TeXOnePar): adjust
7494
7495         * buffer.C (simpleLinuxDocOnePar): adjust
7496         (simpleDocBookOnePar): adjust
7497
7498         * CutAndPaste.C (pasteSelection): adjust
7499
7500         * BufferView.C (getEncoding): adjust
7501
7502         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7503
7504 2003-04-16  John Levon  <levon@movementarian.org>
7505
7506         * lyxfind.C: use parlist stuff for search/changes
7507
7508 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7509
7510         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7511
7512         * text2.C (deleteEmptyParagraphMechanism): adjust
7513
7514         * text2.[Ch] (ownerParagraph): delete func (both of them
7515
7516 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7517
7518         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7519
7520 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7521
7522         * ParagraphList.C: prepare for NO_NEXT
7523
7524 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7525
7526         * text2.C (getFont): adjust
7527         (getLayoutFont): adjust
7528         (getLabelFont): adjust
7529
7530         * paragraph.C (getFont): adjust
7531         (getLabelFont): adjust
7532         (getLayoutFont): adjust
7533
7534         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7535
7536 2003-04-15  John Levon  <levon@movementarian.org>
7537
7538         From Angus Leeming
7539
7540         * lyx_main.C: handle Include in .ui files
7541
7542 2003-04-15  John Levon  <levon@movementarian.org>
7543
7544         * MenuBackend.C: make the doc files length shorter
7545
7546         * ToolbarBackend.h:
7547         * ToolbarBackend.C: handle toolbar placement flags,
7548         Minibuffer
7549
7550 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7551
7552         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7553         adjust
7554
7555         * paragraph_funcs.C (TeXOnePar): adjust
7556
7557         * paragraph.C (getLabelFont): add outerfont arg, adjust
7558         (getLayoutFont): ditto
7559         (simpleTeXOnePar): adjust
7560
7561         * paragraph_pimpl.C (realizeFont): delete func
7562
7563 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7564
7565         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7566         row argument, constify cur argument.
7567
7568 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7569
7570         * text2.C (getFont): adjust
7571         (getLayoutFont): adjust
7572         (getLabelFont): adjust
7573
7574         * paragraph_funcs.C (TeXOnePar): adjust
7575         (outerFont): new func...
7576         (realizeFont): ...moved out from here, changed this to facilitate
7577         transition
7578
7579         * paragraph.C (getFont): take outerfont as arg, adjust
7580         (simpleTeXOnePar): add outerfont arg, adjust
7581
7582         * buffer.C (simpleLinuxDocOnePar): adjust
7583         (simpleDocBookOnePar): adjust
7584
7585         * CutAndPaste.C (pasteSelection): adjust
7586
7587         * BufferView.C (getEncoding): adjust
7588
7589 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7590
7591         * text2.C (setCharFont): adjust
7592         (setCounter): adjust
7593
7594         * text.C (leftMargin): adjust
7595         (setHeightOfRow): adjust
7596
7597         * rowpainter.C (paintFirst): adjust
7598         (paintLast): adjust
7599
7600         * paragraph_pimpl.C (realizeFont): adjust
7601
7602         * paragraph.C (isFirstInSequence): move from here...
7603         * paragraph_funcs.C (isFirstInSequence): ...to here
7604
7605         * paragraph.C (outerHook): move from here...
7606         * paragraph_funcs.C (outerHook): ...to here
7607
7608         * paragraph.C (depthHook): move from here...
7609         * paragraph_funcs.C (depthHook): ...to here
7610
7611         * paragraph.C (getEndLabel): move from here...
7612         * paragraph_funcs.C (getEndLabel): ...to here
7613
7614         * text2.C (realizeFont): move from here...
7615         * paragraph_funcs.C (realizeFont): ...to here
7616
7617 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7618
7619         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7620
7621 2003-04-14  Angus Leeming  <leeming@lyx.org>
7622
7623         * LColor.[Ch]: scrap LColor mathcursor.
7624
7625 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7626
7627         * lyxlex.[Ch] (text): delete function
7628         * trans.C (Load): adjust
7629         * paragraph_funcs.C (readParToken): adjust
7630
7631 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7632
7633         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7634         vector<char> instead of a char[].
7635
7636         * lyxlex_pimpl.C (getString): adjust
7637         (next): adjust
7638         (lex): use getString
7639         (eatLine): adjust
7640         (nextToken): adjust
7641
7642         * lyxlex.C (text): use pimpl_->getString()
7643         (getBool): ditto
7644         (findToken): ditto
7645
7646 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7647
7648         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7649         (makeFontEntriesLayoutSpecific): temp var for par.size()
7650         (setLayout): temp var for ownerParagraphs().end()
7651         (fullRebreak): temp var for rows().end()
7652         (selectionAsString): temp var for boost::next(startpit), realize
7653         that the while really is a regular for loop.
7654         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7655         setCursor in one place.
7656         (setParagraph): temp vr for ownerParagraphs().end()
7657         (updateCounters): make the while loop a for loop
7658         (cutSelection): temp var for ownerParagraphs().end()
7659         (updateInset): make the do {} while() a regular for loop
7660         (getCursorX): use temp vars
7661         (setCurrentFont): use temp vars
7662         (getColumnNearX): use temp vars
7663
7664 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7665
7666         * text.C (transformChar): use temp var for getChar
7667         (computeBidiTables): use temp var for row->par()
7668         (fill): move temp vars for row->par() and pit->layout() earlier in
7669         the function.
7670         (labelFill): use temp var for row->par()
7671         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7672         asc and desc, realize that pit never changes and that firstpit is
7673         just a duplicate and not needed. Exchange rit->par() with pit in a
7674         lot of places.
7675         (breakAgain): use a temp var for boost::next(rit)
7676         (breakAgainOneRow): ditto
7677         (breakParagraph): use a temp var for rows().begin()
7678         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7679         (cursorRightOneWord): use temp var for cursor.par() and
7680         cursor.pos(), remove usage of tmpcursor.
7681         (cursorLeftOneWord): use temp var for cursor.par() and
7682         cursor.pos() only set cur at end of function.
7683
7684 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7685
7686         * text.C, text2.C: exchange all usage of Paragraph::next with
7687         boost::next(ParagraphList::iterator)
7688
7689         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7690
7691         * text2.C (cursorTop): simplify implementation
7692         (cursorBottom): ditto
7693         (setParagraph): use ParagraphList::iterator
7694         (setCurrentFont): adjust
7695         (getColumnNearX): adjust
7696         (cursorRight): adjust
7697         (cursorLeft): remove usage of Paragraph::previous
7698         (cursorUpParagraph): ditto
7699         (deleteEmptyParagraphMechanism): slight cleanup
7700
7701         * text.C (isBoundary): take a Paragraph const & instead of a
7702         pointer as arg.
7703         (addressBreakPoint): ditto
7704         (leftMargin): remove usage of Paragraph::previous.
7705         (setHeightOfRow): ditto
7706         (cursorLeftOneWord): ditto
7707         (selectNextWordToSpellcheck): ditto
7708         (Delete): ditto
7709         (backspace): ditto
7710         (breakParagraph): remove one usage of Paragraph::next
7711         (redoParagraph): ditto
7712         (acceptChange): ditto
7713         (insertChar): adjust
7714         (rowBreakPoint): adjust
7715
7716         * bufferview_funcs.C (toggleAndShow): adjust
7717
7718 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7719
7720         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7721         methods to access it.
7722         * lyxtext.h:
7723         * text.C: Added updateRowPositions to compute all row positions.
7724         Make top_y and getRowNearY() to use the cached y position
7725
7726 2003-04-11  John Levon  <levon@movementarian.org>
7727
7728         * text.C (rowBreakPoint): reintroduce the labelEnd
7729         checks, code copied from the row fill stuff. Deep voodoo.
7730
7731         * text.C (fill): add a comment and debugging for the
7732         next poor soul.
7733
7734 2003-04-11  John Levon  <levon@movementarian.org>
7735
7736         * text.C: make sure fullrow insets get wrapped to the next line,
7737         even when they're in a manual label
7738
7739 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7740
7741         * text2.C (insertParagraph): make it take ParagraphList::iterator
7742         as arg.
7743         (setLayout): make it return ParagraphList::iterator
7744         (redoParagraphs): ditto
7745         (setCounter): ditto
7746         (checkParagraph): ditto
7747
7748         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7749
7750         * text2.C: adjust several funcs.
7751         (realizeFont): take a ParagraphList::iterator as arg.
7752         (getLayoutFont): ditto
7753         (getLabelFont): ditto
7754         (setCharFont): ditto
7755
7756         * text.C: adjust several funcs.
7757
7758 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7759
7760         * text.C (selectNextWordToSpellcheck): don't accidentally
7761         skip insets
7762
7763 2003-04-10  John Levon  <levon@movementarian.org>
7764
7765         * ToolbarBackend.C (getIcon): special handling for
7766         LFUN_MATH_DELIM
7767
7768 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7769
7770         * text2.C (cursorRight): a getChar assert fixed
7771
7772 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7773
7774         * text2.C (getFont): change to take a ParagraphList::iterator
7775         instead of Paragraph*
7776         Adjust several functions.
7777
7778         * text.C (transformChar): change to take a ParagraphList::iterator
7779         instead of Paragraph*
7780         (singleWidth): ditto
7781         Adjust several functions.
7782
7783         * rowpainter.C: adjust several functions
7784         * rowpainter.h:store a ParagraphList::iterator and not a
7785         Paragraph&.
7786
7787
7788 2003-04-09  John Levon  <levon@movementarian.org>
7789
7790         * lyxfunc.C:
7791         * lfuns.h:
7792         * LyXAction.h:
7793         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7794         and the "help" bits as well
7795
7796 2003-04-09  John Levon  <levon@movementarian.org>
7797
7798         * ToolbarBackend.h:
7799         * ToolbarBackend.C: allow multiple toolbars
7800
7801 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7802
7803         * undo_funcs.C (setCursorParUndo): adjust
7804
7805         * text_funcs.C (transposeChars): adjust
7806
7807         * text3.C (gotoNextInset): adjust
7808         (dispatch): adjust
7809
7810         * text2.C (setLayout): adjust
7811         (changeDepth): adjust
7812         (setFont): adjust
7813         (redoParagraphs): adjust
7814         (selectionAsString): adjust
7815         (setParagraph): adjust
7816         (insertInset): adjust
7817         (cutSelection): adjust
7818         (copySelection): adjust
7819         (pasteSelection): adjust
7820         (insertStringAsLines): adjust
7821         (updateInset): adjust
7822         (setCursor): change to take a ParagraphList::iterator parameter
7823         (setCursorIntern): change to take a ParagraphList::iterator parameter
7824         (setCurrentFont): adjust
7825         (cursorLeft): adjust
7826         (cursorRight): adjust
7827         (deleteEmptyParagraphMechanism): adjust
7828
7829         * text.C (breakParagraph): adjust
7830         (insertChar): adjust
7831         (acceptChange): adjust
7832         (rejectChange): adjust
7833         (selectNextWordToSpellcheck): adjust
7834         (changeCase): adjust
7835         (Delete): adjust
7836         (backspace): adjust
7837
7838         * lyxfind.C (SearchForward): adjust
7839         (SearchBackward): adjust
7840         (nextChange): adjust
7841
7842         * lyxcursor.C (par): adjust
7843
7844         * lyxcursor.h: store a ParagraphList::iterator instead of a
7845         Paragraph*
7846
7847         * lyx_cb.C (getPossibleLabel): adjust
7848
7849         * bufferview_funcs.C (toggleAndShow): adjust
7850
7851         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7852         (dispatch): adjust
7853
7854         * BufferView.C (removeAutoInsets): adjust
7855         (lockedInsetStoreUndo): adjust
7856
7857 2003-04-09  John Levon  <levon@movementarian.org>
7858
7859         * ToolbarBackend.C: try icon without argument
7860         if with argument fails
7861
7862 2003-04-08  John Levon  <levon@movementarian.org>
7863
7864         * ToolbarBackend.h:
7865         * ToolbarBackend.C: add getIcon(), handle tooltip,
7866         and change from "Icon" to "Item".
7867
7868 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7869
7870         * BufferView.C (lockInset): another bad getchar crunched
7871
7872 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7873
7874         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7875         again)
7876
7877 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7878
7879         * lyxfind.C (searchForward, searchBackwards): bug 782
7880
7881 2003-04-07  John Levon  <levon@movementarian.org>
7882
7883         * paragraph.C: remove dead comment
7884
7885         * text.C: remove troublesome depth-fiddling code
7886         in leftMargin() and rightMargin() (bug 1017)
7887
7888         * text.C: fix breaking of rows in nested lists
7889         (bug 1004)
7890
7891         * text2.C (updateCounters): fix up depth values
7892         (bug 1013)
7893
7894 2003-04-07  John Levon  <levon@movementarian.org>
7895
7896         * BufferView_pimpl.C: clear message when doc finishes resizing,
7897         and after a mouse event
7898
7899         * lyxfunc.C: clear message after exiting inset
7900
7901 2003-04-07  John Levon  <levon@movementarian.org>
7902
7903         * bufferview_funcs.C: show math status not outside
7904         status in the statusbar
7905
7906 2003-04-07  John Levon  <levon@movementarian.org>
7907
7908         * lyxfunc.C: note status changed after a depth change
7909
7910 2003-04-04  Angus Leeming  <leeming@lyx.org>
7911
7912         * LaTeX.h: move AuxInfo operator==, != out of line.
7913         Remove LaTeX virtual destructor; nothing derives from it.
7914         Move operator()() out of public area and rename it startscript().
7915         Change protected for private.
7916
7917 2003-04-04  Angus Leeming  <leeming@lyx.org>
7918
7919         * lyxfunc.C:
7920         * text2.C: remove unneeded #includes.
7921
7922 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7923
7924         * text2.C (dEPM): fix the heigth of the next row
7925
7926 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7927
7928         * text.C: squashed an invalid getChar requester + some ws changes
7929
7930 2003-04-03  John Levon  <levon@movementarian.org>
7931
7932         * bufferview_funcs.h:
7933         * bufferview_funcs.C:
7934         * lyxfunc.C:
7935         * lyxtext.h:
7936         * text2.C: make getStatus work for the env depth lfuns
7937
7938 2003-04-03  John Levon  <levon@movementarian.org>
7939
7940         * bufferview_funcs.h:
7941         * bufferview_funcs.C:
7942         * lyxfunc.C:
7943         * lyxtext.h:
7944         * text2.C: parlistize decDepth(), by merging it with incDepth()
7945
7946 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7947
7948         * lyxrow.h: store a ParagraphList::iterator instead of a
7949         Paragraph* and adjust other class functions to suit.
7950
7951         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7952         above.
7953
7954 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7955
7956         * text2.C (setCursor): do not anchor to cursor row for the time being
7957
7958 2003-04-02  John Levon  <levon@movementarian.org>
7959
7960         * LyXAction.C:
7961         * lfuns.h:
7962         * lyx_main.C:
7963         * lyxtext.h:
7964         * text.C:
7965         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7966
7967 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7968
7969         * paragraph.h: make ParagraphList and ParagraphList::iterator
7970         friends of Paragraph.
7971
7972         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7973
7974         * ParagraphList.C: Use the private next_ and previous_ from
7975         Paragraph.
7976
7977 2003-04-01  John Levon  <levon@movementarian.org>
7978
7979         * ToolbarBackend.h:
7980         * ToolbarBackend.C:
7981         * Makefile.am: rename, remove defaults gunk
7982
7983         * MenuBackend.h:
7984         * MenuBackend.C: remove defaults gunk
7985
7986         * Languages.h:
7987         * Languages.C: remove defaults gunk
7988
7989         * lyx_main.h:
7990         * lyx_main.C: error out if files couldn't be found.
7991
7992 2003-04-02  John Levon  <levon@movementarian.org>
7993
7994         * text2.C: make incDepth() use parlist
7995
7996 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7997
7998         * undo_funcs.C (firstUndoParagraph): adjust
7999
8000         * text3.C (gotoInset): adjust
8001         (dispatch): adjust, and rewrite loop.
8002
8003         * text2.C (init): adjust, and rewrite loop.
8004         (redoParagraphs): adjust
8005         (updateInset): adjust, and rewrite loop.
8006         (deleteEmptyParagraphMechanism): adjust
8007
8008         * tabular.C (LyXTabular): adjust
8009         (SetMultiColumn): adjust
8010         (TeXRow): adjust
8011
8012         * lyxtext.[Ch] (ownerParagraph): delete function
8013         (ownerParagraphs): new function returns a ParagraphList.
8014
8015         * BufferView.C (removeAutoInsets): adjust
8016         (insertErrors): adjust
8017         (setCursorFromRow): adjust
8018
8019 2003-04-01  Angus Leeming  <leeming@lyx.org>
8020
8021         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8022         in the frontends.
8023
8024 2003-04-02  John Levon  <levon@movementarian.org>
8025
8026         * lyxtext.h:
8027         * text.C:
8028         * Makefile.am:
8029         * text_funcs.h:
8030         * text_funcs.C: make transposeChars a free function
8031
8032         * lyxrow_funcs.C: remove wrong comment
8033
8034 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8035
8036         * lyxtext.h: adjust
8037         * rowpainter.C: adjust
8038         * text.C: adjust
8039         * text2.C: adjust
8040         * text3.C: adjust
8041
8042         * lyxrow_funcs. [Ch]: new files
8043
8044         * lyxrow.[Ch]: remove next and previous pointers
8045         (next,previous): remove accessor functions
8046         (isParEnd): move to lyxrow_funcs
8047         (lastPos): move to lyxrow_funcs
8048         (nextRowIsAllInset): move to lyxrow_funcs
8049         (lastPrintablePos): move to lyxrow_funcs
8050         (numberOfSeparators): move to lyxrow_funcs
8051         (numberOfHfills): move to lyxrow_funcs
8052         (numberOfLabelHfills): move to lyxrow_funcs
8053         (hfillExpansion): move to lyxrow_funcs
8054
8055         * lyxfunc.C: adjust
8056
8057         * bufferview_funcs.C (toggleAndShow): adjust
8058
8059         * RowList.h: Remove class RowList from file leave just a
8060         std::list<Row>.
8061
8062         * RowList.C: delete file
8063
8064         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8065         and lyxrow_funcs.h
8066
8067 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8068
8069         * text3.C (cursorPrevious): adjust
8070         (cursorNext): adjust
8071         (dispatch): adjust
8072
8073         * text2.C (redoHeightOfParagraph): adjust
8074         (redoDrawingOfParagraph): adjust
8075         (setCursor): adjust
8076
8077         * text.C (breakParagraph): adjust
8078         (insertChar): adjust
8079         (backspace): adjust
8080
8081         * rowpainter.C (RowPainter): adjust
8082         (leftMargin): simplify and adjust
8083         (most rowpainter functions): adjust.
8084
8085         * rowpainter.h: store the row as RowList::iterator not as Row*
8086
8087         * lyxcursor.C (row): taka RowList::iterator as arg
8088         (irow): ditto
8089
8090         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8091         of Row*.
8092
8093 2003-04-01  Angus Leeming  <leeming@lyx.org>
8094
8095         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8096         stuff like bool Bool.
8097
8098 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8099
8100         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8101         rewrite a loop
8102
8103 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8104
8105         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8106         RowList::iterator.
8107
8108         * lyxtext.h (rows): drop one version and leve a const variant that
8109         returns a RowList::iterator.
8110
8111 2003-03-31  Angus Leeming  <leeming@lyx.org>
8112
8113         * text.C (fill): ensure that the signature is the same as that in the
8114         header file.
8115
8116 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8117
8118         * text2.C (redoParagraphs): adjust
8119         (updateCounters): adjust
8120         (checkParagraph): adjust
8121         (getColumnNearX): adjust and reformat a bit.
8122
8123         * text.C (top_y): adjust
8124         (workWidth): adjust
8125         (leftMargin): adjust
8126         (prepareToPrint): adjust
8127         (getRow): adjust
8128         (getRowNearY): adjust
8129
8130         * lyxtext.h: make rowlist_ mutable.
8131
8132         * RowList.h: add const_iterator
8133         * RowList.C: adjust for RowList::const_iterator.
8134
8135         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8136         adjust.
8137
8138 2003-03-31  John Levon  <levon@movementarian.org>
8139
8140         * lyxrc.h:
8141         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8142
8143         * lyx_main.C: set default fonts from using lyx_gui funcs
8144
8145         * exporter.C: pdf_mode moved from lyxrc
8146
8147         * lyx_cb.C:
8148         * lyxfunc.C: changes from above
8149
8150 2003-03-31  John Levon  <levon@movementarian.org>
8151
8152         * lyx_main.C: fix to the last fix
8153
8154 2003-03-31  John Levon  <levon@movementarian.org>
8155
8156         * bufferlist.C: "Load original" -> "Load Original"
8157
8158         * converter.C:
8159         * exporter.C:
8160         * importer.C:
8161         * lyx_main.C:
8162         * format.C: more Alert cleanups
8163
8164 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8165
8166         * text2.C (removeParagraph): make it take a RowList::iterator as
8167         arg, adjust.
8168         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8169         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8170
8171         * text.C (anchor_row): make it take a RowList::iterator as arg,
8172         adjust.
8173         (computeBidiTables): make it take a const reference to Row instead
8174         of Row pointer, adjust.
8175         (leftMargin): make it take a RowList::iterator as arg, adjust.
8176         (rowBreakPoint): adjust
8177         (breakAgainOneRow): make it take a RowList::iterator as arg,
8178         adjust.
8179         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8180
8181         * bufferview_funcs.C (toggleAndShow): adjust
8182
8183 2003-03-30  John Levon  <levon@movementarian.org>
8184
8185         * Makefile.am:
8186         * BoostFormat.h:
8187         * boost-inst.C: moved to support
8188
8189         * several files: changes as a result
8190
8191 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8192
8193         * text2.C (LyXText): adjust.
8194         (init): adjust
8195         (removeRow): make it take a RowList::iterator as arg, adjust.
8196         (fullRebreak): adjust
8197         (deleteEmptyParagraphMechanism): adjust
8198         (clearPaint): adjust
8199         (postPaint): adjust
8200
8201         * text.C (top_y): adjust
8202         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8203         (breakAgain): make it take a RowList::iterator as arg, adjust.
8204         (breakParagraph): adjust
8205         (insertChar): adjust
8206         (backspace): adjust
8207
8208         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8209         need_break_row, and refresh_row.
8210
8211         * text3.C (dispatch): adjust
8212
8213         * text2.C (checkParagraph): adjust
8214         (setCursor): adjust
8215         (setCursorFromCoordinates): adjust
8216
8217         * text.C (top_y): adjust
8218         (workWidth): adjust
8219         (getRow): make it return a RowList::iterator, adjust
8220         (getRowNearY): make it return a RowList::iterator, adjust
8221
8222         * text2.C (init): adjust
8223         (insertRow): remove function
8224         (insertParagraph): adjust
8225         (redoParagraphs): adjust
8226         (fullRebreak): adjust
8227         (updateCounters): adjust
8228
8229         * text.C (top_y): rewrite to use RowList iterators.
8230         (top_y): adjust
8231         (setHeightOfRow): rewrite to sue RowList iterators.
8232         (appendParagraph): adjust
8233         (breakAgain): adjust
8234         (breakAgainOneRow): adjust
8235         (breakParagraph): adjust
8236         (getRow): adjust
8237         (getRowNearY): adjust, and remove commented code.
8238
8239         * lyxtext.h (firstRow): delete function
8240         (lastRow): delete function
8241         (rows): new function (const and non-const versions.)
8242         (insertRow): delete function
8243
8244         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8245
8246 2003-03-29  John Levon  <levon@movementarian.org>
8247
8248         * BufferView_pimpl.C: always update scrollbar top
8249         because pasting text when we're anchored could mean we
8250         miss an update altogether
8251
8252 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8253
8254         * text2.C (init): use rowlist_.end() and not 0.
8255         (insertRow): change to take a RowList::iterator as arg, adjust
8256         for this.
8257         (insertParagraph): change to take a RowList::iterator as arg,
8258         adjust for this.
8259         (redoParagraphs): remove some debug msgs.
8260
8261         * text.C (appendParagraph): change to take a RowList::iterator
8262         arg, adjust for this.
8263         (breakAgain): add an assert
8264         (breakAgainOneRow): ditto
8265
8266 2003-03-29  John Levon  <levon@movementarian.org>
8267
8268         * text2.C: do not clear selection after inc/decDepth
8269         (bug 550)
8270
8271 2003-03-29  John Levon  <levon@movementarian.org>
8272
8273         * BufferView.C:
8274         * buffer.C: fix broken strerrors according to Lars
8275
8276 2003-03-29  John Levon  <levon@movementarian.org>
8277
8278         * converters.C: more Alert cleanups
8279
8280 2003-03-29  John Levon  <levon@movementarian.org>
8281
8282         * bufferview_funcs.C: remove pointless Alert
8283
8284         * buffer.C: fix confusing error message when
8285         a template is chmoded 000
8286
8287 2003-03-29  John Levon  <levon@movementarian.org>
8288
8289         * BufferView.C:
8290         * BufferView.h:
8291         * BufferView_pimpl.C: Alert fixes
8292
8293         * Makefile.am:
8294         * tabular.C:
8295         * tabular-old.C: remove unused table compat reading
8296
8297 2003-03-29  John Levon  <levon@movementarian.org>
8298
8299         * BufferView.C:
8300         * buffer.C:
8301         * lyx_cb.h:
8302         * lyx_cb.C: more Alert cleanups
8303
8304         * lyxfunc.C: don't allow chktex if not latex document
8305
8306 2003-03-29  John Levon  <levon@movementarian.org>
8307
8308         * lyx_cb.C:
8309         * BufferView.C:
8310         * buffer.C: warnings pushed down from support/,
8311         kill err_alert
8312
8313 2003-03-29  John Levon  <levon@movementarian.org>
8314
8315         * lyxfunc.C: safety check for C-r (revert)
8316
8317 2003-03-29  John Levon  <levon@movementarian.org>
8318
8319         * bufferlist.h:
8320         * bufferlist.C: several UI fixes using Alert::prompt.
8321         Fix the pointless looping quit code. Fix stupid revert
8322         behaviour (bug 938)
8323
8324         * lyxvc.h:
8325         * lyxvc.C:
8326         * lyx_cb.C: use Alert::prompt
8327
8328         * lyx_main.C: remove a silly question
8329
8330         * lyxfunc.C: remove a couple of silly questions,
8331         use Alert::prompt
8332
8333 2003-03-28  John Levon  <levon@movementarian.org>
8334
8335         * text2.C: fix bug 974 (End on empty par)
8336
8337 2003-03-28  John Levon  <levon@movementarian.org>
8338
8339         * BufferView_pimpl.C:
8340         * LyXAction.C:
8341         * lfuns.h: remove do-nothing math greek lfuns
8342
8343 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8344
8345         * lyxgluelength.h (isValidGlueLength): add default arg on
8346         parameter 2. Remove default arg from friend in class.
8347
8348         * lyxlength.h (isValidLength): add default arg on parameter 2.
8349         Remove default arg from friend in class.
8350
8351         * text2.C (LyXText): adjust, initialize refresh_row.
8352         (init): adjust
8353         (removeRow): adjust
8354         (insertRow): adjust
8355         (insertParagraph): adjst
8356         (redoParagraphs): adjust
8357         (fullRebreak): adjust
8358         (updateCounters): adjust
8359         (deleteEmptyParagraphMechanism): first attempt at fixing a
8360         crashing bug.
8361
8362         * text.C (top_y): adjust
8363         (setHeightOfRow): adjust
8364         (getRow): adjust
8365         (getRowNearY): adjust
8366
8367         * lyxtext.h: include RowList.h
8368         (~LyXText): not needed anymore, deleted.
8369         (firstRow): modify for RowList
8370         (lastRow): new function
8371         Delete firstrow and lastrow class variables, add a Rowlist
8372         rowlist_ class variable.
8373
8374         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8375         paragraph is empty.
8376
8377         * RowList.C (insert): fix case where it == begin().
8378
8379 2003-03-26  Angus Leeming  <leeming@lyx.org>
8380
8381         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8382         the thesaurus dialog.
8383
8384 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8385
8386         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8387
8388         * RowList.[Ch]: new files
8389
8390         * ParagraphList.C (erase): handle the case where it == begin
8391         correctly.
8392
8393 2003-03-25  John Levon  <levon@movementarian.org>
8394
8395         * Makefile.am:
8396         * aspell_local.h:
8397         * aspell.C: add new aspell support
8398
8399         * lyxrc.h:
8400         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8401         have it accessible.
8402
8403 2003-03-25  Angus Leeming  <leeming@lyx.org>
8404
8405         * lfuns.h:
8406         * LyXAction.C (init): new LFUN_INSET_INSERT.
8407
8408         * BufferView_pimpl.C (dispatch): split out part of the
8409         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8410
8411         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8412         LFUN_INSET_APPLY.
8413
8414 2003-03-25  Angus Leeming  <leeming@lyx.org>
8415
8416         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8417
8418 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8419
8420         * text2.C:
8421         * text3.C: remove useless row->height(0)
8422
8423 2003-03-25  John Levon  <levon@movementarian.org>
8424
8425         * lyxtext.h:
8426         * text2.C:
8427         * text3.C: rename the refreshing stuff to better names
8428
8429 2003-03-24  John Levon  <levon@movementarian.org>
8430
8431         * BufferView_pimpl.h:
8432         * BufferView_pimpl.C: update layout choice on a mouse
8433         press/release
8434
8435 2003-03-23  John Levon  <levon@movementarian.org>
8436
8437         * Makefile.am: fix commandtags.h reference
8438
8439 2003-03-22  John Levon  <levon@movementarian.org>
8440
8441         * BufferView_pimpl.C:
8442         * lyxtext.h:
8443         * rowpainter.C:
8444         * rowpainter.h:
8445         * text.C:
8446         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8447
8448 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8449
8450         * lyxtext.h:
8451         * text.C: take the rtl methods out of line
8452
8453 2003-03-21 André Pönitz <poenitz@gmx.net>
8454
8455         * metricsinfo.[Ch]: new files containing structures to be passed around
8456         during the two-phase-drawing...
8457
8458 2003-03-21 André Pönitz <poenitz@gmx.net>
8459
8460         * lyxtextclass.C: read 'environment' tag.
8461
8462 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8463
8464         * text2.C (removeRow): fix bug 964
8465
8466 2003-03-20  John Levon  <levon@movementarian.org>
8467
8468         * rowpainter.C:
8469         * text.C:
8470         * text2.C: paint cleanups. Inset::update() dropped font
8471         parameter
8472
8473 2003-03-19  John Levon  <levon@movementarian.org>
8474
8475         * lyxfunc.C: only fitcursor/markDirty if available()
8476
8477 2003-03-19  John Levon  <levon@movementarian.org>
8478
8479         * commandtags.h: rename to ...
8480
8481         * lfuns.h: ... this, and renumber / cleanup
8482
8483 2003-03-19  John Levon  <levon@movementarian.org>
8484
8485         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8486         fit the cursor after an lfun
8487
8488         * BufferView.h:
8489         * BufferView.C:
8490         * BufferView_pimpl.h:
8491         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8492
8493         * LyXAction.C: layout-character should have ReadOnly
8494
8495         * ParagraphParameters.C:
8496         * buffer.C:
8497         * bufferview_funcs.C:
8498         * lyx_cb.C:
8499         * lyxfind.C:
8500         * lyxtext.h:
8501         * text.C:
8502         * text2.C:
8503         * text3.C:
8504         * undo_funcs.C: changes from above
8505
8506 2003-03-18  John Levon  <levon@movementarian.org>
8507
8508         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8509         remove it from update()
8510
8511         * lyxfunc.C: update layout choice after an lfun
8512
8513         * text3.C: remove extra updateLayoutChoice()s
8514
8515 2003-03-18  John Levon  <levon@movementarian.org>
8516
8517         * text.C: top_y change means full repaint, fix
8518         a drawing bug with cursor movement
8519
8520 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8521
8522         * lyxtext.h:
8523         * text.C:
8524         * text2.C: anchor row on setCursor
8525
8526 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8527
8528         * lyxtext.h: remove almost all mutable keywords
8529         * text.C:
8530         * text2.C:
8531         * text3.C: remove const keywords accordingly
8532
8533 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8534
8535         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8536         anon namespace
8537         (TeXEnvironment): ditto
8538         (TeXOnePar): ditto
8539
8540 2003-03-17  John Levon  <levon@movementarian.org>
8541
8542         * text.C (rowBreakPoint): remove attempt to fix displayed
8543         math insets inside a manual label
8544
8545 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8546
8547         * lyxtext.h: remove BufferView* as first arg from almost all class
8548         functions.
8549         * other files: adjust.
8550
8551 2003-03-17  John Levon  <levon@movementarian.org>
8552
8553         * lyxtext.h:
8554         * undo_funcs.C:
8555         * text2.C: more paint cleanups
8556
8557         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8558
8559         * rowpainter.h:
8560         * rowpainter.C: remove "smart" background painting code
8561
8562 2003-03-16  John Levon  <levon@movementarian.org>
8563
8564         * lyxtext.h:
8565         * text.C:
8566         * text2.C:
8567         * text3.C: add helper functions for setting refresh_row/y
8568
8569 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8570
8571         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8572         newline inset which *can* get inserted in the pass_thru layouts.
8573         This is primarily for literate documents.
8574
8575 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8576
8577         * buffer.C: increment LYX_FORMAT to 223
8578
8579 2003-03-14 André Pönitz <poenitz@gmx.net>
8580
8581         * textclass.h: prepare for environment handling, ws changes
8582         * lyxlayout.C: read latexheader and latexfooter tags
8583
8584 2003-03-14  John Levon  <levon@movementarian.org>
8585
8586         * text2.C: rewrite ::status() a bit
8587
8588 2003-03-13  John Levon  <levon@movementarian.org>
8589
8590         * lyxtext.h: add some docs
8591
8592 2003-03-13  John Levon  <levon@movementarian.org>
8593
8594         * lyxtext.h:
8595         * text.C:
8596         * text2.C:
8597         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8598
8599 2003-03-13  John Levon  <levon@movementarian.org>
8600
8601         * text3.C: fix appendix redrawing
8602
8603 2003-03-13  John Levon  <levon@movementarian.org>
8604
8605         * text.C (setHeightOfRow):
8606         * rowpainter.h:
8607         * rowpainter.C: make appendix mark have the text
8608           "Appendix" so the user knows what it is
8609
8610         * LColor.h:
8611         * LColor.C: s/appendixline/appendix/ from above
8612
8613 2003-03-13  John Levon  <levon@movementarian.org>
8614
8615         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8616
8617         * text.C: fix a getChar(pos) bug properly
8618
8619 2003-03-13  Angus Leeming  <leeming@lyx.org>
8620
8621         * commandtags.h:
8622         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8623         Probably only temporary. Let's see how things pan out.
8624
8625         * BufferView.C (unlockInset):
8626         * BufferView_pimpl.C (fitCursor):
8627         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8628
8629         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8630         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8631
8632         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8633         new functions that convert ParagraphParameters to and from a string.
8634
8635         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8636         BufferView::Pimpl's dispatch.
8637         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8638
8639 2003-03-13 André Pönitz <poenitz@gmx.net>
8640
8641         * lyxfunc.C:
8642         * text3.C:
8643         * factory.C: make it aware of InsetEnv
8644
8645 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8646
8647         * text2.C (setCursor): never ask for one past last
8648         (setCursor): add some debugging messages.
8649
8650         * text.C (singleWidth): never ask for one past last
8651         (singleWidth): ditto
8652         (leftMargin): ditto
8653         (rightMargin): ditto
8654         (rowBreakPoint): ditto
8655         (setHeightOfRow): ditto
8656         (prepareToPrint): ditto
8657
8658         * rowpainter.C (paintBackground): never ask for one past last
8659         (paintText): never ask for one past last
8660
8661         * paragraph_pimpl.C (getChar): make the assert stricter, never
8662         allow the one past last pos to be taken
8663
8664         * paragraph.C (getChar): ws changes only
8665
8666         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8667         (numberOfSeparators): ditto
8668         (numberOfHfills): ditto
8669
8670 2003-03-12  John Levon  <levon@movementarian.org>
8671
8672         * author.h:
8673         * author.C:
8674         * bufferparams.h:
8675         * bufferparams.C:
8676         * paragraph_funcs.C: fix per-buffer authorlists
8677
8678 2003-03-12  John Levon  <levon@movementarian.org>
8679
8680         * text.C: fix newline in right address
8681
8682 2003-03-12  Angus Leeming  <leeming@lyx.org>
8683
8684         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8685         duplicate those in LyXFunc::dispatch.
8686
8687         * commandtags.h:
8688         * LyXAction.C:
8689         * ToolbarDefaults.C:
8690         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8691         Add LFUN_FONTFREE_UPDATE.
8692
8693         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8694         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8695
8696         * bufferview_func.[Ch]: several new functions to facilliate
8697         transfer of data to and from the character dialog.
8698
8699 2003-03-12  John Levon  <levon@movementarian.org>
8700
8701         * buffer.C:
8702         * paragraph.h:
8703         * paragraph.C:
8704         * paragraph_funcs.C:
8705         * paragraph_pimpl.C:
8706         * sgml.C:
8707         * tabular.C:
8708         * text.C:
8709         * text3.C: remove META_NEWLINE in favour of an inset
8710
8711         * rowpainter.h:
8712         * rowpainter.C: remove paintNewline (done by inset)
8713
8714 2003-03-12  John Levon  <levon@movementarian.org>
8715
8716         * paragraph_pimpl.C: complain about bad getChar()s
8717         for a while at least
8718
8719 2003-03-12  John Levon  <levon@movementarian.org>
8720
8721         * buffer.h:
8722         * buffer.C: move paragraph read into a separate function,
8723         a little renaming to reflect that.
8724
8725         * bufferparams.h:
8726         * bufferparams.C: remove the author_ids map, not necessary now
8727
8728         * factory.h:
8729         * factory.C: moved Buffer::readInset to here
8730
8731         * paragraph_funcs.h:
8732         * paragraph_funcs.C: readParagraph free function moved from
8733         buffer.C
8734
8735         * tabular.C: name change
8736
8737 2003-03-12  John Levon  <levon@movementarian.org>
8738
8739         * buffer.C:
8740         * ParagraphParameters.C: move par params input to
8741         a read() method
8742
8743         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8744         behave like a normal read from the stream wrt reading
8745         a line vs. a \\token
8746
8747 2003-03-12  John Levon  <levon@movementarian.org>
8748
8749         * paragraph.C:
8750         * ParagraphParameters.h:
8751         * ParagraphParameters.C: move output code to a
8752         ::write() method
8753
8754 2003-03-12  John Levon  <levon@movementarian.org>
8755
8756         * BufferView.C (insertLyXFile):
8757         * buffer.h:
8758         * buffer.C:
8759         * tabular.C: use a parlist iterator for creating the
8760           document.
8761
8762 2003-03-12  John Levon  <levon@movementarian.org>
8763
8764         * buffer.C: make current_change static local not
8765           static file-scope
8766
8767 2003-03-12  John Levon  <levon@movementarian.org>
8768
8769         * buffer.C: fix insertStringAsLines for change tracking
8770
8771 2003-03-12  John Levon  <levon@movementarian.org>
8772
8773         * BufferView.C:
8774         * tabular.C:
8775         * buffer.h:
8776         * buffer.C:
8777         * bufferparams.h:
8778         * bufferparams.C: move author list into params. Rename some
8779           functions. Move the header reading into a separate token
8780           loop. Move the header token reading into BufferParams.
8781
8782 2003-03-12  John Levon  <levon@movementarian.org>
8783
8784         * changes.C: put debug inside lyxerr.debugging() checks
8785
8786 2003-03-11 André Pönitz <poenitz@gmx.net>
8787
8788         * factory.C: make it aware of InsetHFill
8789
8790 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8791
8792         * buffer.C (latexParagraphs): move function from here...
8793         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8794         args.
8795
8796 2003-03-10  Angus Leeming  <leeming@lyx.org>
8797
8798         * LyXAction.C (init): fix bug in poplating array with multiple entries
8799         with the same LFUN (spotted by JMarc).
8800
8801 2003-03-10  John Levon  <levon@movementarian.org>
8802
8803         * text.C:
8804         * text2.C: move getColumnNearX() near its
8805         only call site
8806
8807 2003-03-10  John Levon  <levon@movementarian.org>
8808
8809         * text.C: fix break before a minipage
8810
8811 2003-03-10  John Levon  <levon@movementarian.org>
8812
8813         * text.C: fix the last commit
8814
8815 2003-03-09  John Levon  <levon@movementarian.org>
8816
8817         * lyxtext.h:
8818         * text.C:
8819         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8820         bug 365 (don't break before insets unless needed). Don't
8821         return a value > last under any circumstances.
8822
8823 2003-03-09  Angus Leeming  <leeming@lyx.org>
8824
8825         * BufferView_pimpl.C (trackChanges, dispatch): call
8826         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8827
8828 2003-03-09  Angus Leeming  <leeming@lyx.org>
8829
8830         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8831         than Dialogs::showAboutlyx().
8832
8833 2003-03-09  Angus Leeming  <leeming@lyx.org>
8834
8835         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8836         than Dialogs::showTabularCreate().
8837
8838 2003-03-09  John Levon  <levon@movementarian.org>
8839
8840         * lyxtext.h:
8841         * text.C:
8842         * text2.C: 3rd arg to nextBreakPoint was always the same.
8843           Use references.
8844
8845 2003-03-08  John Levon  <levon@movementarian.org>
8846
8847         * lyxrow.C:
8848         * paragraph.C:
8849         * paragraph.h:
8850         * rowpainter.C:
8851         * text.C:
8852         * text2.C: Remove the "main" bit from the "main body"
8853           notion.
8854
8855 2003-03-08  John Levon  <levon@movementarian.org>
8856
8857         * text.C (leftMargin): The left margin of an empty
8858         manual label paragraph should not include the label width
8859         string length.
8860
8861         * text.C (prepareToPrint): don't attempt to measure hfills
8862         for empty manual label paragraphs - the answer should be 0
8863
8864 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8865
8866         * CutAndPaste.C: remove commented code and reindent.
8867
8868 2003-03-08  John Levon  <levon@movementarian.org>
8869
8870         * lyxfunc.h:
8871         * lyxfunc.C: move reloadBuffer()
8872
8873         * BufferView.h:
8874         * BufferView.C: to here
8875
8876         * lyxvc.C: add comment
8877
8878         * vc-backend.h:
8879         * vc-backend.C: call bv->reload() to avoid
8880           getStatus() check on MENURELOAD
8881
8882 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8883
8884         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8885         to an old format .dep file.
8886
8887 2003-03-07  Angus Leeming  <leeming@lyx.org>
8888
8889         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8890         when the LFUN_MOUSE_RELEASE should have been handled by
8891         inset->localDispatch.
8892
8893 2003-03-07  Angus Leeming  <leeming@lyx.org>
8894
8895         * BufferView_pimpl.C (dispatch):
8896         * LyXAction.C (init):
8897         * ToolbarDefaults.C (init):
8898         * commandtags.h:
8899         * lyxfunc.C (getStatus):
8900         remove LFUN_INSET_GRAPHICS.
8901
8902         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8903
8904 2003-03-07  Angus Leeming  <leeming@lyx.org>
8905
8906         * commandtags.h:
8907         * LyXAction.C (init):
8908         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8909
8910         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8911
8912         * commandtags.h:
8913         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8914
8915         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8916         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8917
8918 2003-03-07  Angus Leeming  <leeming@lyx.org>
8919
8920         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8921         remove "ert".
8922
8923 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8924
8925         * ParagraphList.C (front): new function
8926         (back): implement
8927
8928 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8929
8930         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8931         and top_row_offset_. removed var first_y.
8932         * text.C (top_y):
8933         * text2.C (LyXText, removeRow):
8934         * text3.C:
8935         * BufferView_pimpl.C:
8936         use these methods instead of using first_y
8937
8938 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8939
8940         * text2.C (pasteSelection): adjust for checkPastePossible
8941
8942         * CutAndPaste.C: remove Paragraph * buf and replace with
8943         ParagraphList paragraphs.
8944         (DeleteBuffer): delete
8945         (cutSelection): change the tc type to textclass_type
8946         (copySelection): change the tc type to textclass_type
8947         (copySelection): adjust for ParagraphList
8948         (pasteSelection): change the tc type to textclass_type
8949         (pasteSelection): adjust for Paragraphlist
8950         (nrOfParagraphs): simplify for ParagraphList
8951         (checkPastePossible): simplify for ParagraphList
8952         (checkPastePossible): remove unused arg
8953
8954         * ParagraphList.C (insert): handle the case where there are no
8955         paragraphs yet.
8956
8957         * CutAndPaste.h: make CutAndPaste a namespace.
8958
8959         * text3.C (dispatch): adjust
8960
8961         * text.C (breakParagraph): add a ParagraphList as arg
8962
8963         * paragraph_funcs.C (breakParagraph): change to take a
8964         BufferParams and a ParagraphList as args.
8965         (breakParagraphConservative): ditto
8966         (mergeParagraph): ditto
8967         (TeXDeeper): add a ParagraphList arg
8968         (TeXEnvironment): ditto
8969         (TeXOnePar): ditto
8970
8971         * buffer.C (readLyXformat2): adjust
8972         (insertStringAsLines): adjust
8973         (latexParagraphs): adjust
8974
8975         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8976         (cutSelection): adjust
8977         (pasteSelection): adjust
8978
8979         * BufferView_pimpl.C (insertInset): adjust
8980
8981 2003-03-05  Angus Leeming  <leeming@lyx.org>
8982
8983         * commandtags.h:
8984         * LyXAction.C (init):
8985         * BufferView_pimpl.C (dispatch):
8986         * lyxfunc.C (getStatus):
8987         remove LFUN_CHILD_INSERT.
8988
8989         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8990
8991 2003-03-05  Angus Leeming  <leeming@lyx.org>
8992
8993         * commandtags.h:
8994         * LyXAction.C (init):
8995         * src/factory.C (createInset):
8996         * lyxfunc.C (getStatus):
8997         * text3.C (dispatch):
8998         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8999
9000         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9001
9002 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9003
9004         * ParagraphList.C (insert): handle insert right before end()
9005         (erase): fix cases where it can be first or last paragraph.
9006
9007 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9008
9009         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9010         Paragraph::next and Paragraph::previous
9011         (TeXOnePar): ditto
9012
9013         * text.C (breakParagraph): adjust
9014
9015         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9016         BufferParams& as arg.
9017         (breakParagraph): use ParagraphList::insert
9018         (breakParagraphConservative): take a Buffer* instead of a
9019         BufferParams& as arg.
9020         (breakParagraphConservative): use ParagraphList::insert.
9021
9022         * buffer.C (insertStringAsLines): un-const it
9023         (insertStringAsLines): adjust
9024
9025         * ParagraphList.C (insert): new function
9026
9027         * CutAndPaste.C (pasteSelection): adjust
9028
9029         * text.C (backspace): adjust
9030
9031         * tabular.C (SetMultiColumn): adjust
9032
9033         * CutAndPaste.C (cutSelection): adjust
9034         (pasteSelection): adjust
9035
9036         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9037         Buffer const * as arg
9038
9039         * ParagraphList.C (erase): new function
9040         * paragraph_funcs.C (mergeParagraph): use it
9041         (mergeParagraph): make it take a Buffer* instead of a
9042         BufferParams* as arg
9043
9044         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9045         as arg
9046         (breakParagraphConservative): ditto
9047
9048         * paragraph.h: remove the breakParagraph friend
9049
9050         * paragraph.C (eraseIntern): new function
9051         (setChange): new function
9052
9053         * paragraph_funcs.C (mergeParagraph): make it take a
9054         ParagraphList::iterator instead of a Paragraph *, adjust
9055         accordingly.
9056
9057         * paragraph.h: move an #endif so that the change tracking stuff
9058         also works in the NO_NEXT case.
9059
9060 2003-03-04  Angus Leeming  <leeming@lyx.org>
9061
9062         * commandtags.h:
9063         * LyXAction.C: new LFUN_INSET_MODIFY.
9064
9065         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9066         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9067
9068 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9069
9070         * several files: ws changes only
9071
9072         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9073         (TeXEnvironment): ditto
9074         (TeXDeeper): ditto
9075
9076         * buffer.C (makeLaTeXFile): adjust
9077         (latexParagraphs): make it take ParagraphList::iterator as args
9078
9079 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9080
9081         * buffer.C (latexParagraphs): adjust
9082
9083         * paragraph.C (TeXOnePar): move function...
9084         (optArgInset): move function...
9085         (TeXEnvironment): move function...
9086         * paragraph_pimpl.C (TeXDeeper): move function...
9087         * paragraph_funcs.C: ...here
9088
9089         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9090
9091 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9092
9093         * buffer.C (readInset): remove compability code for old Figure and
9094         InsetInfo insets
9095
9096 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9097
9098         * buffer.C: ws changes
9099         (readInset):
9100
9101         * BufferView_pimpl.C: ditto
9102         * author.C: ditto
9103         * buffer.h: ditto
9104         * bufferlist.h: ditto
9105         * changes.h: ditto
9106         * lyxfunc.C: ditto
9107
9108 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9109
9110         * converter.[Ch]: split into itself +
9111         * graph.[Ch]
9112         * format.[Ch]
9113         * Makefile.am: += graph.[Ch] + format.[Ch]
9114         * MenuBackend.C
9115         * buffer.C
9116         * exporter.C
9117         * importer.C
9118         * lyx_main.C
9119         * lyxfunc.C
9120         * lyxrc.C: added #include "format.h"
9121
9122 2003-02-27  Angus Leeming  <leeming@lyx.org>
9123
9124         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9125           a label.
9126
9127         * factory.C (createInset): add "label" to the factory.
9128
9129         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9130           string and do no more.
9131
9132 2003-02-27  Angus Leeming  <leeming@lyx.org>
9133
9134         * commandtags.h:
9135         * LyXAction.C (init):
9136         * factory.C (createInset):
9137         * BufferView_pimpl.C (dispatch):
9138           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9139
9140         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9141
9142         * lyxfunc.C (dispatch):
9143         * text3.C (dispatch): pass name to params2string.
9144
9145 2003-02-26  Angus Leeming  <leeming@lyx.org>
9146
9147         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9148           blocks together.
9149           Rearrange the ~includes. Strip out the unnecessary ones.
9150
9151         * factory.C (createInset): reformat.
9152           create new insets for the various LFUN_XYZ_APPLY lfuns.
9153
9154 2003-02-26  John Levon  <levon@movementarian.org>
9155
9156         * lyxrow.h:
9157         * lyxrow.C: add isParStart,isParEnd helpers
9158
9159         * paragraph.h: make isInserted/DeletedText take refs
9160
9161         * paragraph_funcs.h:
9162         * paragraph_funcs.C: remove #if 0'd code
9163
9164         * lyxtext.h:
9165         * text3.C:
9166         * text2.C:
9167         * text.C: use lyxrow helpers above.
9168           Move draw and paint routines to RowPainter.
9169           Make several methods use refs not pointers.
9170           Make backgroundColor() const.
9171           Add markChangeInDraw(), isInInset().
9172           Merge changeRegionCase into changeCase.
9173           Make workWidth() shouldn't-happen code into an Assert.
9174
9175         * rowpainter.h:
9176         * rowpainter.C: new class for painting a row.
9177
9178         * vspace.h:
9179         * vspace.C: make inPixels take a ref
9180
9181 2003-02-26  Angus Leeming  <leeming@lyx.org>
9182
9183         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9184         LFUN_REF_APPLY.
9185
9186 2003-02-25  John Levon  <levon@movementarian.org>
9187
9188         * ispell.C: give the forked command a more accurate name
9189
9190 2003-02-22  John Levon  <levon@movementarian.org>
9191
9192         * toc.h:
9193         * toc.C: make TocItem store an id not a Paragraph *
9194           (bug #913)
9195
9196 2003-02-21  Angus Leeming  <leeming@lyx.org>
9197
9198         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9199           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9200           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9201           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9202           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9203           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9204
9205         * BufferView_pimpl.C (dispatch):
9206         * LyXAction.C (init):
9207         * factory.C (createInset):
9208         * lyxfunc.C (getStatus, dispatch):
9209         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9210
9211 2003-02-21  Angus Leeming  <leeming@lyx.org>
9212
9213         * BufferView_pimpl.C (MenuInsertLyXFile):
9214         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9215         * lyxfunc.C (menuNew, open, doImport):
9216           no longer pass a LyXView & to fileDlg.
9217
9218 2003-02-21  Angus Leeming  <leeming@lyx.org>
9219
9220         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9221         * LyXAction.C: change, BIBKEY to BIBITEM.
9222         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9223         Change InsetBibKey to InsetBibitem.
9224         Change BIBKEY_CODE to BIBITEM_CODE.
9225         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9226         * factory.C: replace insetbib.h with insetbibitem.h.
9227         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9228         * paragraph.C: replace insetbib.h with insetbibitem.h.
9229         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9230         Change bibkey() to bibitem().
9231         * text.C: remove insetbib.h.
9232         * text2.C: replace insetbib.h with insetbibitem.h.
9233         change bibkey() to bibitem().
9234         * text3.C: remove insetbib.h.
9235         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9236
9237 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9238
9239         * lyxrc.C (output): enclose user email in quotes (in case there are
9240         several words)
9241
9242 2003-02-18  John Levon  <levon@movementarian.org>
9243
9244         * buffer.h: add std::
9245
9246 2003-02-17  John Levon  <levon@movementarian.org>
9247
9248         * SpellBase.h:
9249         * ispell.h:
9250         * ispell.C:
9251         * pspell.h:
9252         * pspell.C: reworking. Especially in ispell, a large
9253           number of clean ups and bug fixes.
9254
9255         * lyxfunc.C: fix revert to behave sensibly
9256
9257 2003-02-17 André Pönitz <poenitz@gmx.net>
9258
9259         * LyXAction.C:
9260         * commandtags.h: new LFUN_INSERT_BIBKEY
9261
9262         * layout.h:
9263         * lyxlayout.C:
9264         * buffer.C:
9265         * factory.C:
9266         * text.C:
9267         * text2.C:
9268         * text3.C:
9269         * paragraph.[Ch]:
9270         * paragraph_func.C: remove special bibkey handling
9271
9272 2003-02-17  John Levon  <levon@movementarian.org>
9273
9274         * text.C (Delete): fix case where delete at the end of
9275           the very first paragraph would not merge the pars
9276
9277 2003-02-17  John Levon  <levon@movementarian.org>
9278
9279         * lyxrow.C: fix lastPrintablePos()
9280
9281 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9282
9283         * bufferparams.C (writeLaTeX): add a std:here
9284
9285         * buffer.C: and remove a using directive there
9286
9287 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9288
9289         * buffer.C (makeLaTeXFile): move the code that generates the
9290           preamble...
9291
9292         * bufferparams.C (writeLaTeX): ... in this new method
9293
9294         * LaTeXFeatures.C (getEncodingSet): make const
9295           (getLanguages): make const
9296
9297         * MenuBackend.C (binding): returns the binding associated to this
9298           action
9299           (add): sets the status of each item by calling getStatus. Adds
9300           some intelligence.
9301           (read): add support for OptSubMenu
9302           (expand): remove extra separator at the end of expanded menu
9303
9304 2003-02-15  John Levon  <levon@movementarian.org>
9305
9306         * BufferView.C:
9307         * BufferView_pimpl.C:
9308         * bufferlist.h:
9309         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9310           inset code that had no actual effect. Remove unneeded status
9311           code.
9312
9313 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9314
9315         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9316           in preamble
9317
9318 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9319
9320         * text.C (drawLengthMarker): also draw an arrow marker for
9321           symbolic lengths (medskip...)
9322
9323 2003-02-14  John Levon  <levon@movementarian.org>
9324
9325         * tabular.h:
9326         * tabular.C: better method names
9327
9328 2003-02-14  John Levon  <levon@movementarian.org>
9329
9330         * BufferView_pimpl.C:
9331         * bufferlist.C:
9332         * buffer.C:
9333         * converter.C:
9334         * lyx_cb.C:
9335         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9336           it's a more accurate name. Remove some pointless uses.
9337
9338 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9339
9340         * text2.C (LyXText): change order of initilizers to shut off
9341           warnings
9342
9343 2003-02-14  John Levon  <levon@movementarian.org>
9344
9345         * buffer.C: use ParIterator for getParFromID()
9346
9347         * paragraph.h:
9348         * paragraph.C:
9349         * paragraph_pimpl.h:
9350         * paragraph_pimpl.C: remove unused getParFromID()
9351
9352 2003-02-14  John Levon  <levon@movementarian.org>
9353
9354         * buffer.C: remove some very old #if 0'd parse code
9355
9356 2003-02-13  John Levon  <levon@movementarian.org>
9357
9358         * text.h:
9359         * text.C:
9360         * text2.C: move hfillExpansion(), numberOfSeparators(),
9361           rowLast(), rowLastPrintable(), numberofHfills(),
9362           numberOfLabelHfills() ...
9363
9364         * lyxrow.h:
9365         * lyxrow.C: ... to member functions here.
9366
9367         * paragraph.h:
9368         * paragraph.C:
9369         * lyxtext.h:
9370         * text.C: remove LyXText::beginningOfMainBody(), and call
9371           p->beginningOfMainBody() directly. Move the check for
9372           LABEL_MANUAL into the latter.
9373
9374         * text.h:
9375         * text.C:
9376         * text2.C:
9377         * vspace.C:
9378         * BufferView.h:
9379         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9380
9381         * text.h:
9382         * text.C:
9383         * text2.C:
9384         * text3.C:
9385         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9386           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9387
9388 2003-02-13  John Levon  <levon@movementarian.org>
9389
9390         * CutAndPaste.C: remove debug
9391
9392 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9393
9394         * paragraph.C (asString): remove two unused variables
9395
9396         * lyxtextclass.C (readTitleType):
9397           (Read):
9398           (LyXTextClass): handle new members titletype_ and titlename_
9399
9400         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9401
9402 2003-02-09  John Levon  <levon@movementarian.org>
9403
9404         * buffer.h:
9405         * buffer.C: replace hand-coded list with a map for the dep clean
9406
9407 2003-02-08  John Levon  <levon@movementarian.org>
9408
9409         * LaTeX.C: consolidate code into showRunMessage() helper
9410
9411 2003-02-08  John Levon  <levon@movementarian.org>
9412
9413         * lyxfind.C:
9414         * lyxtext.h:
9415         * text2.C:
9416         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9417           and pass the size in explicitly
9418
9419         * BufferView_pimpl.h:
9420         * BufferView_pimpl.C:
9421         * BufferView.h:
9422         * BufferView.C: add getCurrentChange()
9423
9424         * BufferView_pimpl.h:
9425         * BufferView_pimpl.C: handle change lfuns
9426
9427         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9428           for changes. Mark pasted paragraphs as new.
9429
9430         * support/lyxtime.h:
9431         * support/lyxtime.C:
9432         * DepTable.C: abstract time_t as lyx::time_type
9433
9434         * LColor.h:
9435         * LColor.C: add colours for new text, deleted text, changebars
9436
9437         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9438           package use "usenames" option.
9439
9440         * commandtags.h:
9441         * lyxfunc.C:
9442         * LyXAction.C: add change lfuns
9443
9444         * Makefile.am:
9445         * author.h:
9446         * author.C: author handling
9447
9448         * buffer.h:
9449         * buffer.C: add a per-buffer author list, with first entry as
9450           current author. Handle new .lyx tokens for change tracking. Output
9451           author list to .lyx file. Output dvipost stuff to .tex preamble.
9452           Bump lyx format to 222.
9453
9454         * bufferlist.h:
9455         * bufferlist.C: add setCurrentAuthor() to reset current author details
9456           in all buffers.
9457
9458         * bufferparams.h:
9459         * bufferparams.C: add param for tracking
9460
9461         * bufferview_funcs.C: output change info in minibuffer
9462
9463         * Makefile.am:
9464         * changes.h:
9465         * changes.C: add change-tracking structure
9466
9467         * debug.h:
9468         * debug.C: add CHANGES debug flag
9469
9470         * lyxfind.h:
9471         * lyxfind.C: add code for finding the next change piece
9472
9473         * lyxrc.h:
9474         * lyxrc.C: add user_name and user_email
9475
9476         * lyxrow.h:
9477         * lyxrow.C: add a metric for the top of the text line
9478
9479         * lyxtext.h:
9480         * text.C: implement accept/rejectChange()
9481
9482         * lyxtext.h:
9483         * text.C: paint changebars. Paint new/deleted text in the chosen
9484         colours. Strike through deleted text.
9485
9486         * paragraph.h:
9487         * paragraph.C:
9488         * paragraph_pimpl.h:
9489         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9490           in the current change to the insert functions. Rework erase to
9491           mark text as deleted, adding an eraseIntern() and a range-based
9492           erase(). Implement per-paragraph change lookup and
9493           accept/reject.
9494
9495         * paragraph_funcs.C: Fixup paste for change tracking.
9496
9497         * tabular.C: mark added row/columns as new.
9498
9499         * text.C: fix rowLast() to never return -1. Don't allow
9500           spellchecking of deleted text. Track transpose changes. Don't
9501           allow paragraph break or merge where appropriate.
9502
9503         * text2.C: leave cursor at end of selection after a cut.
9504
9505 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9506
9507         * text.C (getLengthMarkerHeight):
9508         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9509         visible on screen too.
9510
9511 2003-02-07  John Levon  <levon@movementarian.org>
9512
9513         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9514
9515 2003-02-05  Angus Leeming  <leeming@lyx.org>
9516
9517         * lyxserver.C (read_ready): revert my patch of 11 September last year
9518         as it sends PC cpu through the roof. Presumably this means that
9519         the lyxserver will no longer run on an Alpha...
9520
9521 2003-01-30  Angus Leeming  <leeming@lyx.org>
9522
9523         * factory.C (createInset): create an InsetCommandParam of type "index"
9524         and use it to 'do the right thing'.
9525
9526         * text2.C (getStringToIndex): ensure that cursor position is always
9527         reset to the reset_cursor position.
9528
9529 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9530
9531         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9532         disabled.
9533
9534 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9535
9536         * bufferview.C:
9537         * lyxcb.C:
9538         * lyxfunc.C: Output messages with identical spelling, punctuation,
9539         and spaces
9540
9541 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9542
9543         * MenuBackend.C (expandFormats): List only viewable export formats
9544         in "View" menu
9545
9546         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9547         message
9548
9549         * lyxfunc.C (getStatus): Make sure that formats other than
9550         "fax" can also be disabled
9551
9552 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9553
9554         * text3.C (dispatch): put the lfuns that insert insets in 3
9555         groups, and call doInsertInset with appropriate arguments.
9556         (doInsertInset): new function, that creates an inset and inserts
9557         it according to some boolean parameters.
9558
9559 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9560
9561         * buffer.C (readFile): remember to pass on 'par' when calling
9562         readFile recursively.
9563
9564 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9565
9566         * MenuBackend.C (expandFormats): add "..." to import formats.
9567
9568 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9569
9570         * paragraph.C (asString): Remove XForms RTL hacks.
9571
9572 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9573         * buffer.C: fix typo
9574
9575 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9576
9577         * Makefile.am (LIBS): delete var
9578         (lyx_LDADD): add @LIBS@ here instead.
9579
9580 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9581
9582         * Clarify the meaning of "wheel mouse jump"
9583
9584 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9585
9586         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9587         tabular in a float
9588
9589 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9590
9591         * importer.C (Loaders): do not preallocate 3 elements in the
9592         vector, since one ends up with 6 elements otherwise
9593
9594 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9595
9596         * DepTable.C (write): write the file name as last element of the
9597         .dep file (because it may contain spaces)
9598         (read): read info in the right order
9599
9600 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9601
9602         * paragraph_pimpl.C (simpleTeXBlanks):
9603         (simpleTeXSpecialChars):
9604         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9605
9606         * tabular.C (latex): add some missing case statements. Reindent.
9607
9608         * MenuBackend.C (expandToc): remove unused variable.
9609
9610 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9611
9612         * LColor.C:
9613         * LaTeX.C:
9614         * LyXAction.C:
9615         * MenuBackend.C:
9616         * buffer.C:
9617         * exporter.C:
9618         * lyxfunc.C:
9619         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9620         and the like.
9621
9622 2003-01-05  John Levon  <levon@movementarian.org>
9623
9624         * BufferView.h:
9625         * BufferView.C: add getEncoding()
9626
9627         * kbsequence.h:
9628         * kbsequence.C: do not store last keypress
9629
9630         * lyxfunc.h:
9631         * lyxfunc.C: store last keypress here instead. Pass encoding
9632           to getISOEncoded()
9633
9634 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9635
9636         * lyx_main.C (init): remove annoying error message when following
9637         symbolic links (bug #780)
9638
9639 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9640
9641         * text.C (insertChar):
9642         * lyxrc.C (getDescription): remove extra spaces
9643
9644 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9645
9646         * lyxrc.C (getDescription): remove extra spaces
9647
9648 2002-12-20  John Levon  <levon@movementarian.org>
9649
9650         * text3.C: hack fix for page up/down across tall rows
9651
9652 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9653
9654         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9655         not been invoked
9656
9657 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9658
9659         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9660         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9661         thesaurus is not compiled in
9662
9663 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9664
9665         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9666
9667 2002-12-16  Angus Leeming  <leeming@lyx.org>
9668
9669         * lyxrc.[Ch]:
9670         * lyx_main.C (init): remove override_x_deadkeys stuff.
9671
9672 2002-12-12  John Levon  <levon@movementarian.org>
9673
9674         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9675           insert. Only remove shift modifier under strict
9676           circumstances.
9677
9678 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9679
9680         * MenuBackend.C (expandToc): fix crash.
9681
9682 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9683
9684         * MenuBackend.C (expandToc): gettext on float names.
9685
9686 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9687
9688         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9689         implement bool empty() [bug 490]
9690
9691 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9692
9693         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9694
9695 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9696
9697         * several files: ws changes
9698
9699 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9700
9701         * text2.C (setCounter): clean up a bit, use boost.format.
9702         (updateCounters): initialize par upon declaration.
9703
9704         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9705         if the layout exists. We do not just store the layout any more.
9706         (SwitchLayoutsBetweenClasses): use boost.format
9707
9708 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9709
9710         * converter.C (convert): if from and to files are the same, use a
9711         temporary files as intermediary
9712
9713 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9714
9715         * commandtags.h:
9716         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9717
9718 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9719
9720         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9721
9722 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9723
9724         * tabular.C (asciiPrintCell): use string(size, char) instead of
9725         explicit loop.
9726
9727         * sgml.C (openTag): fix order of arguments to string constructor
9728         (closeTag): ditto
9729
9730         * lyxfunc.C (dispatch): use boost.format
9731
9732         * lots of files: change "c" -> 'c'
9733
9734 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9735
9736         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9737
9738 2002-11-25  Angus Leeming  <leeming@lyx.org>
9739
9740         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9741
9742         * lyx_main.C (init): compile fix.
9743
9744 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9745
9746         * lyx_cb.C (start): boost.formatify
9747         do not include <iostream>
9748
9749         * lengthcommon.C: ws only
9750
9751         * boost-inst.C,BoostFormat.h: add more explict instantations
9752
9753 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9754
9755         * lots of files: handle USE_BOOST_FORMAT
9756
9757 2002-11-21  John Levon  <levon@movementarian.org>
9758
9759         * pspell.C: fix compile
9760
9761 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9762
9763         * lyxfunc.C (dispatch): use boost::format
9764         (open): ditto
9765         (doImport): ditto
9766
9767         * lyxfont.C (stateText): use boost::format
9768
9769         * lyx_main.C (LyX): use boost::format
9770         (init): ditto
9771         (queryUserLyXDir): ditto
9772         (readRcFile): ditto
9773         (parse_dbg): ditto
9774         (typedef boost::function): use the recommened syntax.
9775
9776         * importer.C (Import): use boost::format
9777
9778         * debug.C (showLevel): use boost::format
9779
9780         * converter.C (view): use boost::format
9781         (convert): ditto
9782         (move): ditto
9783         (scanLog): ditto
9784
9785         * bufferview_funcs.C (currentState): use boost::format
9786
9787         * bufferlist.C (emergencyWrite): use boost::format
9788
9789         * buffer.C (readLyXformat2): use boost::format
9790         (parseSingleLyXformat2Token): ditto
9791
9792         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9793
9794         * LaTeX.C (run): use boost::format
9795
9796         * Chktex.C (scanLogFile): use boost::format
9797
9798         * BufferView_pimpl.C (savePosition): use boost::format
9799         (restorePosition): ditto
9800         (MenuInsertLyXFile): ditto
9801
9802         * BoostFormat.h: help file for explicit instation.
9803
9804 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9805
9806         * tabular.C (latex): Support for block alignment in fixed width
9807         columns.
9808
9809 2002-11-17  John Levon  <levon@movementarian.org>
9810
9811         * BufferView_pimpl.C:
9812         * lyx_cb.C:
9813         * lyxfunc.C: split filedialog into open/save
9814
9815 2002-11-08  Juergen Vigna  <jug@sad.it>
9816
9817         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9818         by my last patch (hopefully).
9819
9820 2002-11-08  John Levon  <levon@movementarian.org>
9821
9822         * iterators.h:
9823         * iterators.C:
9824         * buffer.h:
9825         * buffer.C:
9826         * paragraph.h:
9827         * paragraph.C:
9828         * toc.h:
9829         * toc.C: ParConstIterator, and use it (from Lars)
9830
9831 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9832
9833         * lyxtextclass.[Ch]: revise and add doxygen comments
9834
9835 2002-11-07  John Levon  <levon@movementarian.org>
9836
9837         * text.C: fix progress value for spellchecker
9838
9839         * toc.C: fix navigate menu for insetwrap inside minipage
9840
9841         * paragraph_funcs.C: added FIXME for suspect code
9842
9843 2002-11-07  John Levon  <levon@movementarian.org>
9844
9845         * BufferView_pimpl.C: fix redrawing of insets
9846           on buffer switch
9847
9848 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9849
9850         * text2.C (updateCounters): fix bug 668
9851
9852 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9853
9854         * text3.C (dispatch): Do not make the buffer dirty when moving the
9855         cursor.
9856
9857 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9858
9859         * vc-backend.C: STRCONV
9860         (scanMaster): ditto
9861
9862         * text2.C (setCounter): STRCONV
9863
9864         * paragraph.C (asString): STRCONV
9865
9866         * lyxlength.C (asString): STRCONV
9867         (asLatexString): ditto
9868
9869         * lyxgluelength.C (asString): STRCONV
9870         (asLatexString): ditto
9871
9872         * lyxfunc.C (dispatch): STRCONV
9873         (open): ditto
9874
9875         * lyxfont.C (stateText): STRCONV
9876
9877         * importer.C (Import): STRCONV
9878
9879         * counters.C (labelItem): STRCONV
9880         (numberLabel): ditto
9881         (numberLabel): remove unused ostringstream o
9882
9883         * chset.C: STRCONV
9884         (loadFile): ditto
9885
9886         * bufferview_funcs.C (currentState): STRCONV
9887
9888         * buffer.C (readFile): STRCONV
9889         (asciiParagraph): ditto
9890         (makeLaTeXFile): ditto
9891
9892         * Spacing.C (writeEnvirBegin): STRCONV
9893
9894         * LaTeXFeatures.C (getLanguages): STRCONV
9895         (getPackages): ditto
9896         (getMacros): ditto
9897         (getBabelOptions): ditto
9898         (getTClassPreamble): ditto
9899         (getLyXSGMLEntities): ditto
9900         (getIncludedFiles): ditto
9901
9902         * LaTeX.C: STRCONV
9903         (run): ditto
9904         (scanAuxFile): ditto
9905         (deplog): ditto
9906
9907         * LString.h: add the STRCONV macros
9908
9909         * BufferView_pimpl.C (savePosition): STRCONV
9910         (restorePosition): ditto
9911         (MenuInsertLyXFile): ditto
9912
9913         * vc-backend.C (scanMaster): change from submatch[...] to
9914         submatch.str(...)
9915
9916         * funcrequest.C: include config.h
9917
9918         * factory.C: include config.h
9919
9920         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9921
9922         * box.C: include config.h
9923
9924         * LaTeX.C (scanAuxFile): change from submatch[...] to
9925         submatch.str(...)
9926         (deplog): ditto
9927
9928 2002-10-25  Angus Leeming  <leeming@lyx.org>
9929
9930         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9931
9932         * ispell.[Ch] (setError): new method.
9933         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9934         Use setError() insetead of goto END.
9935
9936         * lyx_cb.C (AutoSave): move out child process into new class
9937         AutoSaveBuffer.
9938
9939 2002-10-30  John Levon  <levon@movementarian.org>
9940
9941         * text3.C: make start appendix undoable
9942
9943 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9944
9945         * lyxlength.C (inPixels): Fix returned value.
9946
9947         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9948         environment.
9949
9950 2002-10-24  Angus Leeming  <leeming@lyx.org>
9951
9952         * lyxgluelength.h: no need to forward declare BufferParams
9953         or BufferView, so don't.
9954
9955 2002-10-21  John Levon  <levon@movementarian.org>
9956
9957         * BufferView.C: menuUndo ->undo, redo
9958
9959         * BufferView.h: document, remove dead, make some methods private
9960
9961         * paragraph_funcs.h:
9962         * paragraph_funcs.C:
9963         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9964
9965         * buffer.h:
9966         * buffer.C:
9967         * sgml.h:
9968         * sgml.C: move sgml open/close tag into sgml.C
9969
9970         * bufferview_funcs.h: unused prototype
9971
9972         * lyxfunc.h:
9973         * lyxfunc.C: remove unused
9974
9975         * lyxtext.h:
9976         * text.C: remove unused
9977
9978 2002-10-21  John Levon  <levon@movementarian.org>
9979
9980         * BufferView.h:
9981         * BufferView.C:
9982         * BufferView_pimpl.h:
9983         * BufferView_pimpl.C: fix mouse wheel handling based on
9984           patch from Darren Freeman
9985
9986 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9987
9988         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9989
9990 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9991
9992         * lyxlength.C (inPixels): Fix hanfling of negative length.
9993         Fix LyXLength::MU case.
9994
9995 2002-10-16  John Levon  <levon@movementarian.org>
9996
9997         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9998
9999 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10000
10001         * converter.C (view): add support for $$i (file name) and $$p
10002         (file path) for the viewer command. If $$i is not specified, then
10003         it is appended to the command (for compatibility with old syntax)
10004
10005 2002-10-14  Juergen Vigna  <jug@sad.it>
10006
10007         * undo_funcs.C (textHandleUndo): alter the order in which the
10008         new undopar is added to the LyXText, as we have to set first
10009         the right prev/next and then add it as otherwise the rebuild of
10010         LyXText is not correct. Also reset the cursor to the right paragraph,
10011         with this IMO we could remove the hack in "redoParagraphs()".
10012
10013 2002-10-09  Angus Leeming  <leeming@lyx.org>
10014
10015         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10016         to turn off an optimisation if a new inset is to be inserted.
10017
10018 2002-10-11 André Pönitz <poenitz@gmx.net>
10019
10020         * lyxtext.h: make some functions public to allow access
10021         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10022
10023 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10024
10025         * text3.C (dispatch): when changing layout, avoid an infinite loop
10026         [bug #652]
10027
10028 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10029
10030         * lyxrc.C (read): treat a viewer or converter command of "none" as
10031         if it were empty.
10032
10033         * MenuBackend.C (expandFormats): for an update, also allow the
10034         formats that are not viewable
10035
10036         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10037         script if it is newer than the lyxrc.defaults in user directory
10038
10039 2002-10-07 André Pönitz <poenitz@gmx.net>
10040
10041         * text.C: Vitaly Lipatov's small i18n fix
10042
10043 2002-09-25  Angus Leeming  <leeming@lyx.org>
10044
10045         * ispell.h: doxygen fix.
10046
10047 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10048
10049         * buffer.h (readFile): Add a new argument to the method, to allow
10050         reading of old-format templates.
10051
10052 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10053
10054         * toc.C (getTocList): Get TOC from InsetWrap.
10055
10056 2002-09-16  John Levon  <levon@movementarian.org>
10057
10058         * lyxfunc.C: check tabular for cut/copy too
10059
10060 2002-09-12  John Levon  <levon@movementarian.org>
10061
10062         * LyXAction.C: tidy
10063
10064         * factory.h:
10065         * factory.C: add header
10066
10067         * paragraph_funcs.h:
10068         * paragraph_funcs.C: cleanup
10069
10070 2002-09-11  John Levon  <levon@movementarian.org>
10071
10072         * PrinterParams.h: odd/even default to true
10073
10074 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10075
10076         * PrinterParams.h: update printer parameters for new xforms dialog
10077
10078 2002-09-11  Angus Leeming  <leeming@lyx.org>
10079
10080         * lyxserver.C (read_ready): re-write to make it more transparent
10081         and to make it work in coherent fashion under Tru64 Unix.
10082
10083 2002-09-11  André Pönitz <poenitz@gmx.net>
10084
10085         * commandtags.h:
10086         * LyXAction.C:
10087         * text3.C: implement LFUN_WORDSEL
10088
10089 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10090
10091         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10092         make floatlist_ a boost::shared_ptr<FloatList>
10093
10094         * lyxtextclass.C: include FloatList.h
10095         (LyXTextClass): initialize floatlist_
10096         (TextClassTags): add TC_NOFLOAT
10097         (Read): match "nofloat" to TC_NOFLOAT and use it.
10098         (readFloat): modify call to floatlist_
10099         (floats): ditto
10100         (floats): ditto
10101
10102         * FloatList.[Ch] (FloatList): remove commented out float
10103         initialization.
10104         (erase): new function
10105
10106 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10107
10108         * MenuBackend.C (expandToc): fix crash when there is no document
10109         open
10110
10111 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10112
10113         * many files: Add insetwrap.
10114
10115 2002-09-09  John Levon  <levon@movementarian.org>
10116
10117         * text2.C: remove confusing and awkward depth wraparound
10118
10119 2002-09-09  John Levon  <levon@movementarian.org>
10120
10121         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10122
10123         * buffer.h:
10124         * buffer.C: remove getIncludeonlyList()
10125
10126         * paragraph.C:
10127         * lyxfunc.C: remove headers
10128
10129 2002-09-09  Juergen Vigna  <jug@sad.it>
10130
10131         * text.C (getColumnNearX): fix form Michael this is most
10132         probably a cut&paste bug.
10133
10134 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10135
10136         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10137
10138         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10139         references, ws changes.
10140
10141         * text2.C (init): update counters after init
10142         (insertParagraph): no need to set counter on idividual paragraphs.
10143         (setCounter): access the counters object in the textclass object
10144         on in the buffer object.
10145         (updateCounters): ditto
10146
10147         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10148         shared_ptr<Counters> to avoid loading counters.h in all
10149         compilation units.
10150         (LyXTextClass): initialize ctrs_
10151         (TextClassTags): add TC_COUNTER, and ...
10152         (Read): use it here.
10153         (CounterTags): new tags
10154         (readCounter): new function
10155         (counters): new funtion
10156         (defaultLayoutName): return a const reference
10157
10158         * counters.C (Counters): remove contructor
10159         (newCounter): remove a couple of unneeded statements.
10160         (newCounter): simplify a bit.
10161         (numberLabel): some small formatting changes.
10162
10163         * buffer.[Ch]: remove all traces of counters, move the Counters
10164         object to the LyXTextClass.
10165
10166 2002-09-06  Alain Castera  <castera@in2p3.fr>
10167
10168         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10169         package to set the horizontal alignment on fixed width columns.
10170
10171         * lyx_sty.C:
10172         * lyx_sty.h: added tabularnewline macro def.
10173
10174         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10175
10176 2002-09-06  John Levon  <levon@movementarian.org>
10177
10178         * LyXAction.C: tooltips for sub/superscript
10179
10180         * MenuBackend.C: a bit more verbose
10181
10182         * lyxfunc.C: tiny clean
10183
10184         * undo_funcs.C: document undo_frozen
10185
10186 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10187
10188         * counters.C (Counters): add missing algorithm counter.
10189
10190         * text2.C (setCounter): lookup the counter with layouts latexname
10191         instead of by section number.
10192         (setCounter): use a hackish way to lookup the correct enum
10193         counter.
10194         a float name->type change
10195         reset enum couners with counter name directly instead of depth value.
10196
10197         * counters.C (Counters): remove the push_backs, change to use the
10198         float type not the float name.
10199         (labelItem): remove unused string, float name->type change
10200
10201         * counters.h: don't include vector, loose the enums and sects vectors
10202
10203 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10204
10205         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10206         (Read): add float->TC_FLOAT to textclassTags
10207         (Read): and handle it in the switch
10208         (readFloat): new function
10209
10210         * FloatList.C (FloatList): comment out the hardcoded float
10211         definitions.
10212
10213         * lyxlayout.h: ws change.
10214
10215 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10216
10217         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10218
10219 2002-09-03  Angus Leeming  <leeming@lyx.org>
10220
10221         * BufferView_pimpl.h: qualified name is not allowed in member
10222         declaration: WorkArea & Pimpl::workarea() const;
10223
10224         * factory.C: added using std::endl directive.
10225
10226         * text3.C: added using std::find and std::vector directives.
10227
10228 2002-08-29  André Pönitz <poenitz@gmx.net>
10229
10230         * lyxtext.h:
10231         * text2.C: remove unused member number_of_rows
10232
10233         * Makefile.am:
10234         * BufferView2.C: remove file, move contents to...
10235         * BufferView.C: ... here
10236
10237         * BufferView_pimpl.C:
10238         * factory.C: move more inset creation to factory
10239
10240         * vspace.C: avoid direct usage of LyXText, ws changes
10241
10242         * BufferView.[Ch]:
10243                 don't provide direct access to WorkArea, use two simple
10244                 acessors haveSelction() and workHeight() instead
10245
10246
10247 2002-08-29  John Levon  <levon@movementarian.org>
10248
10249         * BufferView_pimpl.C (dispatch): do not continue when
10250           no buffer
10251
10252 2002-08-28  André Pönitz <poenitz@gmx.net>
10253
10254         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10255
10256         * BufferView.h:
10257         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10258
10259 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10260
10261         * buffer.C: increment LYX_FORMAT to 221
10262
10263         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10264         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10265
10266         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10267
10268         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10269
10270 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10271
10272         * factory.C (createInset): use LyXTextClass::floats
10273
10274         * MenuBackend.C (expandFloatListInsert):
10275         (expandFloatInsert):
10276         (expandToc):
10277
10278         * text2.C (setCounter):
10279
10280         * LaTeXFeatures.C (useFloat):
10281         (getFloatDefinitions):
10282
10283         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10284
10285         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10286         floatlist_, with accessor floats().
10287
10288         * FloatList.h: remove global FloatList
10289
10290 2002-08-26  André Pönitz <poenitz@gmx.net>
10291
10292         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10293
10294         * BufferView.h:
10295         * BufferView2.C:
10296         * BufferView_pimpl.C:
10297         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10298
10299 2002-08-25  John Levon  <levon@movementarian.org>
10300
10301         * LyXAction.C: fix margin note description
10302
10303 2002-08-24  John Levon  <levon@movementarian.org>
10304
10305         * buffer.C:
10306         * bufferlist.C:
10307         * bufferview_funcs.C:
10308         * lyxfont.C:
10309         * undo_funcs.C: cleanups
10310
10311         * lyxfunc.C: disable CUT/COPY when no selection
10312
10313 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10314
10315         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10316         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10317
10318         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10319         Add backward compatibility to "mono", "gray" and "no".
10320
10321 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10322
10323         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10324         (and file_format >= 200).
10325
10326 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10327
10328         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10329
10330 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10331
10332         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10333
10334 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10335
10336         * BufferView_pimpl.C:
10337         * LyXAction.C:
10338         * buffer.C:
10339         * commandtags.h:
10340         * lyxfunc.C:
10341         * paragraph.[Ch]:
10342         * text2.C:
10343         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10344         inset and code to make it  work with the paragraph code. The inset
10345         can be anywhere in the paragraph, but will only do the expected
10346         thing in LaTeX if the layout file contains the parameter line
10347                         OptionalArgs    1
10348         (or more generally, a nonzero value) for that layout.
10349
10350 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10351
10352         * paragraph.h: remove the declaration of undefined counters class
10353         function.
10354
10355 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10356
10357         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10358         Dr. Richard Hawkins.
10359
10360 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10361
10362         * paragraph_funcs.h: remove some unneeded includes
10363
10364         * text.C (backspace): pasteParagraph now in global scipe
10365
10366         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10367         (pasteSelection): ditto
10368
10369         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10370         * paragraph_funcs.C (pasteParagraph): ... here
10371
10372 2002-08-20  André Pönitz <poenitz@gmx.net>
10373
10374         * commandtags.h: new LFUNs for swapping/copying table row/colums
10375
10376         * LyXAction.C:
10377         * lyxfunc.C: support for new lfuns
10378
10379 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10380
10381         * tabular.C:
10382         * buffer.[Ch]: remove NO_COMPABILITY stuff
10383
10384 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10385
10386         * boost.C (throw_exception): new file, with helper function for
10387         boost compiled without exceptions.
10388
10389         * paragraph.h:
10390         * lyxlength.C:
10391         * buffer.C:
10392         * ParameterStruct.h:
10393         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10394
10395         * bufferlist.C (emergencyWriteAll): use boost bind
10396
10397         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10398
10399         * text.C: include paragraph_funcs.h
10400         (breakParagraph): breakParagraph is now in global scope
10401
10402         * paragraph_funcs.[Ch]: new files
10403
10404         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10405         global scope
10406
10407         * buffer.C: include paragraph_funcs.h
10408         (insertStringAsLines): breakParagraph is now in global scope
10409
10410         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10411         paragraph_funcs.C
10412
10413         * CutAndPaste.C: include paragraph_funcs.h
10414         (cutSelection): breakParagraphConservative is now in global scope
10415         (pasteSelection): ditto
10416
10417         * buffer.h: declare oprator== and operator!= for
10418         Buffer::inset_iterator
10419
10420         * bufferlist.C (emergencyWrite): don't use fmt(...)
10421
10422         * text3.C: add using std::endl
10423
10424         * BufferView.C (moveCursorUpdate): remove default arg
10425
10426 2002-08-20  André Pönitz <poenitz@gmx.net>
10427
10428         * buffer.[Ch]: move inline functions to .C
10429
10430         * BufferView2.C:
10431         * BufferView_pimpl.C:
10432         * text.C:
10433         * buffer.[Ch]: use improved inset_iterator
10434
10435         * buffer.C:
10436         * paragraph.[Ch]: write one paragraph at a time
10437
10438 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10439
10440         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10441         style if style is not specified.
10442
10443 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10444
10445         * text2.C (setCounter): when searching for right label for a
10446         caption, make sure to recurse to parent insets (so that a caption
10447         in a minipage in a figure float works) (bug #568)
10448
10449 2002-08-20  André Pönitz <poenitz@gmx.net>
10450
10451         * text3.C: new file for LyXText::dispatch() and helpers
10452
10453         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10454
10455         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10456
10457 2002-08-19  André Pönitz <poenitz@gmx.net>
10458
10459         * lyxtext.h:
10460         * text.C: new LyXText::dispatch()
10461
10462         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10463
10464 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10465
10466         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10467
10468         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10469         Hebrew text.
10470
10471 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10472
10473         * Makefile.am: use $(variables) instead of @substitutions@
10474
10475 2002-08-15  André Pönitz <poenitz@gmx.net>
10476
10477         * lyxfunc.C:
10478         * BufferView_pimpl.C: streamlining mathed <-> outer world
10479         interaction
10480
10481         * commandtags.h:
10482         * LyXAction.C: remove unused LFUN_MATH
10483
10484 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10485
10486         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10487
10488 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10489
10490         * paragraph.C (Paragraph): reformat a bit
10491         (cutIntoMinibuffer): use builtin InsetList function instad of
10492         doing it manually.
10493         (getInset): ditto
10494
10495         * buffer.C: include boost/bind.hpp, add using std::for_each
10496         (writeFileAscii): use ParagraphList iterators
10497         (validate): use for_each for validate traversal of paragraphs
10498         (getBibkeyList): use ParagraphList iterators
10499         (resizeInsets): use for_each to resizeInsetsLyXText for all
10500         paragraphs.
10501         (getParFromID): use ParagraphList iterators
10502
10503         * BufferView2.C (lockInset): use paragraph list and iterators
10504
10505 2002-08-14  John Levon  <levon@movementarian.org>
10506
10507         * lyxserver.C: remove spurious xforms include
10508
10509 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10510
10511         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10512
10513 2002-08-13  André Pönitz <poenitz@gmx.net>
10514
10515         * LyXAction.[Ch]:
10516         * lyxfunc.C: further cleaning
10517
10518 2002-08-13  André Pönitz <poenitz@gmx.net>
10519
10520         * funcrequest.h: new constructor
10521
10522         * funcrequest.C: move stuff here from .h
10523
10524         * Makefile.am:
10525         * BufferView_pimpl.C:
10526         * LyXAction.C:
10527         * toc.C:
10528         * lyxfunc.C: subsequent changes
10529
10530         * lyxfunc.h: new view() member function
10531
10532         * lyxfunc.C: subsequent changes
10533
10534 2002-08-13  Angus Leeming  <leeming@lyx.org>
10535
10536         * BufferView2.C:
10537         * BufferView_pimpl.C:
10538         * buffer.C:
10539         * converter.C:
10540         * importer.C:
10541         * lyxfunc.C:
10542         * lyxvc.C:
10543         * toc.C:
10544         * vc-backend.C:
10545         changes due to the changed LyXView interface that now returns references
10546         to member variables not pointers.
10547
10548 2002-08-13  Angus Leeming  <leeming@lyx.org>
10549
10550         * WordLangTuple (word, lang_code): return references to strings,
10551         not strings.
10552
10553         * BufferView.h:
10554         * SpellBase.h:
10555         * lyxtext.h: forward-declare WordLangTuple.
10556
10557         * BufferView2.C:
10558         * ispell.C:
10559         * pspell.C:
10560         * text.C: #include "WordLangTuple.h".
10561
10562         * lyxtext.h:
10563         * text.C: (selectNextWordToSpellcheck): constify return type.
10564
10565 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10566
10567         * buffer.C:
10568         * buffer.h:
10569         * lyxtext.h:
10570         * paragraph.C:
10571         * paragraph_pimpl.h:
10572         * text.C:
10573         * text2.C:
10574         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10575         suggested by Angus.
10576         Made updateCounter always count from start of buffer, and removed
10577         second argument (par).
10578         Reverted floats number display to '#'. Perhaps I'll try again when the
10579         code base is sanitized a bit.
10580
10581 2002-08-12  Angus Leeming  <leeming@lyx.org>
10582
10583         * buffer.[Ch] (getLabelList): constify.
10584
10585 2002-08-07  André Pönitz <poenitz@gmx.net>
10586
10587         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10588
10589         * funcrequest.h: extension to keep mouse (x,y) position
10590
10591 2002-08-12  Juergen Vigna  <jug@sad.it>
10592
10593         * BufferView2.C (insertErrors): forbid undo when inserting error
10594         insets.
10595
10596         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10597
10598 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10599
10600         * ParagraphList.[Ch]: new files
10601
10602         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10603
10604         * BufferView2.C (lockInset): ParagraphList changes
10605         * toc.C: ditto
10606         * text2.C: ditto
10607         * bufferlist.C: ditto
10608         * buffer.h: ditto
10609         * buffer.C: ditto
10610
10611 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10612
10613         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10614         unused class variable counter_,
10615
10616         * paragraph.[Ch] (getFirstCounter): delete unused function
10617
10618         * counters.C: include LAssert.h
10619         (reset): add a new function with no arg, change other version to
10620         not have def. arg and to not allow empty arg.
10621
10622         * text2.C (setCounter): remove empty arg from call to Counters::reset
10623
10624 2002-08-11  John Levon  <levon@movementarian.org>
10625
10626         * Makefile.am: add WordLangTuple.h
10627
10628 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10629
10630         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10631         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10632
10633         * insets/insettext.C: InsetList changes
10634
10635         * graphics/GraphicsSupport.C (operator()): InsetList changes
10636
10637         * toc.C (getTocList): InsetList changes
10638
10639         * paragraph_pimpl.[Ch]: InsetList changes
10640
10641         * paragraph.[Ch]: InsetList changes
10642
10643         * buffer.C (inset_iterator): InsetList changes
10644         (setParagraph): ditto
10645         * buffer.h (inset_iterator): ditto
10646         * iterators.C (operator++): ditto
10647         * iterators.h: ditto
10648
10649         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10650
10651         * InsetList.[Ch]: new files, most InsetList handling moved out of
10652         paragraph.C.
10653
10654         * BufferView2.C (removeAutoInsets): InsetList changes
10655         (lockInset): ditto
10656         (ChangeInsets): ditto
10657
10658 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10659
10660         * paragraph_pimpl.h (empty): new function
10661
10662         * paragraph.[Ch] (empty): new function
10663
10664         * other files: use the new Paragraph::empty function
10665
10666 2002-08-09  John Levon  <levon@movementarian.org>
10667
10668         * lyxtext.h: remove unused refresh_height
10669
10670 2002-08-09  John Levon  <levon@movementarian.org>
10671
10672         * Makefile.am:
10673         * sgml.h:
10674         * sgml.C:
10675         * buffer.C:
10676         * paragraph.h:
10677         * paragraph.C: move sgml char escaping out of paragraph
10678
10679         * paragraph.h:
10680         * paragraph.C: remove id setter
10681
10682         * buffer.C:
10683         * paragraph.C:
10684         * paragraph_pimpl.C: remove dead tex_code_break_column
10685
10686         * bufferview_funcs.C: small cleanup
10687
10688         * lyxfunc.C: remove dead proto
10689
10690         * lyxtext.h: make some stuff private. Remove some dead stuff.
10691
10692         * lyxgluelength.C: make as[LyX]String() readable
10693
10694 2002-08-08  John Levon  <levon@movementarian.org>
10695
10696         * LyXAction.h:
10697         * LyXAction.C:
10698         * MenuBackend.C:
10699         * ToolbarDefaults.C:
10700         * lyxfunc.C:
10701         * lyxrc.C:
10702         * toc.C: lyxaction cleanup
10703
10704 2002-08-08  John Levon  <levon@movementarian.org>
10705
10706         * BufferView2.C: small cleanup
10707
10708         * lyxfind.h:
10709         * lyxfind.C: move unnecessary header into the .C
10710
10711 2002-08-08  John Levon  <levon@movementarian.org>
10712
10713         * funcrequest.h: just tedious nonsense
10714
10715         * lyx_main.h:
10716         * lyx_main.C: cleanups
10717
10718         * buffer.C:
10719         * vspace.C: remove dead header lyx_main.h
10720
10721 2002-08-07  Angus Leeming  <leeming@lyx.org>
10722
10723         * Paragraph.[Ch]:
10724         * paragraph_pimpl.h:
10725         Forward declare class Counters in paragraph.h by moving the ctrs member
10726         variable into Paragraph::Pimpl.
10727         (counters): new method, returning a reference to pimpl_->ctrs.
10728
10729         * text2.C: ensuing changes.
10730
10731 2002-08-07  John Levon  <levon@movementarian.org>
10732
10733         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10734
10735         * BufferView_pimpl.C: announce X selection on double/triple
10736           click
10737
10738         * lyx_main.C: use correct bool in batch dispatch
10739
10740         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10741
10742 2002-08-07  André Pönitz <poenitz@gmx.net>
10743
10744         * funcrequest.h: new class to wrap a kb_action and its argument
10745
10746         * BufferView.[Ch]:
10747         * BufferView_pimpl[Ch]:
10748         * LaTeX.C:
10749         * LyXAction.[Ch]:
10750         * lyxfunc.[Ch]:
10751         * lyxrc.C: subsequent changes
10752
10753
10754 2002-08-07  John Levon  <levon@movementarian.org>
10755
10756         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10757           document options change.
10758
10759 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10760
10761         * counters.[Ch]
10762         * text2.C
10763         * paragraph.[Ch]
10764         * makefile.am: move counters functionality over from
10765         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10766
10767 2002-08-06  John Levon  <levon@movementarian.org>
10768
10769         * WordLangTuple.h: new file for word + language code tuple
10770
10771         * SpellBase.h:
10772         * pspell.h:
10773         * pspell.C:
10774         * ispell.h:
10775         * ispell.C:
10776         * lyxtext.h:
10777         * text.C:
10778         * text2.C:
10779         * BufferView.h:
10780         * BufferView2.C: use WordLangTuple
10781
10782         * layout.h:
10783         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10784
10785 2002-08-06  John Levon  <levon@movementarian.org>
10786
10787         * lyx_main.C: fix cmdline batch handling
10788
10789 2002-08-06  André Pönitz <poenitz@gmx.net>
10790
10791         * lyxrc.C: set default for show_banner to true
10792
10793 2002-08-06  John Levon  <levon@movementarian.org>
10794
10795         * pspell.C: fix a crash, and allow new aspell to work
10796
10797 2002-08-06  John Levon  <levon@movementarian.org>
10798
10799         * lyxfunc.C:
10800         * kbmap.C: small cleanup
10801
10802         * vspace.h:
10803         * vspace.C: add const
10804
10805 2002-08-05  John Levon  <levon@movementarian.org>
10806
10807         * LyXAction.C: back to tabular-insert
10808
10809 2002-08-04  John Levon  <levon@movementarian.org>
10810
10811         * BufferView.h:
10812         * BufferView.C: cosmetic change
10813
10814         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10815
10816         * bufferlist.C:
10817         * buffer.h:
10818         * buffer.C:
10819         * lyxcb.h:
10820         * lyxcb.C:
10821         * lyxserver.C:
10822         * lyxvc.C:
10823         * vc-backend.C:
10824         * BufferView2.C: purge all "Lyx" not "LyX" strings
10825
10826         * lyxcursor.h:
10827         * lyxcursor.C: attempt to add some documentation
10828
10829         * lyxfunc.C:
10830         * commandtags.h:
10831         * LyXAction.C:
10832         * ToolbarDefaults.C:
10833         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10834           merge with LFUN_TABULAR_INSERT
10835
10836         * Makefile.am:
10837         * SpellBase.h:
10838         * ispell.h:
10839         * ispell.C:
10840         * pspell.h:
10841         * pspell.C: split up i/pspell implementations into separate
10842           files, many cleanups
10843
10844         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10845
10846         * text2.C: some cleanup
10847
10848         * lyxfunc.C: don't check for isp_command == "none" any more, it
10849           didn't make any sense
10850
10851 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10852
10853         * counters.[Ch]
10854         * text2.C
10855         * paragraph.[Ch]
10856         * makefile.am: move counters functionality over
10857         from text2.C/paragraph.[Ch] to counters.[Ch], and
10858         make proper C++.
10859 2002-08-02  John Levon  <levon@movementarian.org>
10860
10861         * buffer.C: s/lyxconvert/lyx2lyx/
10862
10863 2002-08-02  Angus Leeming  <leeming@lyx.org>
10864
10865         * lyxlex.C: revert John's change as it breaks reading of the user
10866         preamble.
10867
10868 2002-08-02  Angus Leeming  <leeming@lyx.org>
10869
10870         * importer.C (Import):
10871         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10872         changes due to LyXView::view() now returning a boost::shared_ptr.
10873
10874 2002-08-02  John Levon  <levon@movementarian.org>
10875
10876         * lyxlex.C: small cleanup
10877
10878 2002-08-02  John Levon  <levon@movementarian.org>
10879
10880         * text2.C (status): small cleanup, no logic change
10881
10882 2002-08-01  John Levon  <levon@movementarian.org>
10883
10884         * buffer.h:
10885         * buffer.C (writeFile): don't output alerts, caller
10886           handles this
10887
10888         * bufferlist.C:
10889         * lyx_cb.C: from above
10890
10891         * lyxfunc.C: allow to open non-existent files
10892
10893 2002-07-31  John Levon  <levon@movementarian.org>
10894
10895         * lyxserver.C: don't let incidental errors get
10896           in the way (errno)
10897
10898 2002-07-30  John Levon  <levon@movementarian.org>
10899
10900         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10901
10902 2002-07-30  John Levon  <levon@movementarian.org>
10903
10904         * lyxserver.h:
10905         * lyxserver.C: remove I/O callback too
10906
10907 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10908
10909         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10910         log.
10911
10912 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10913
10914         * many files: strip,frontStrip -> trim,ltrim,rtrim
10915
10916 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10917
10918         * PrinterParams.h: remove extern containsOnly, and include
10919         support/lstrings.h instead.
10920
10921         * LaTeX.C (scanAuxFile): modify because of strip changes
10922         (deplog): ditto
10923         * buffer.C (makeLaTeXFile): ditto
10924         * bufferparams.C (writeFile): ditt
10925         * lyxfont.C (stateText): ditto
10926         * lyxserver.C (read_ready): ditto
10927         * vc-backend.C (scanMaster): ditto
10928
10929         * BufferView_pimpl.h: ws changes
10930
10931         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10932
10933 2002-07-26  André Pönitz <poenitz@gmx.net>
10934
10935         * kb_sequence.C: remove unnedred usings
10936
10937 2002-07-26  Juergen Vigna  <jug@sad.it>
10938
10939         * lyxfind.C (LyXReplace): we have to check better if the returned
10940         text is not of theLockingInset()->getLockingInset().
10941
10942 2002-07-25  Juergen Vigna  <jug@sad.it>
10943
10944         * lyxfind.C (LyXReplace): don't replace if we don't get the
10945         right LyXText.
10946
10947         * undo_funcs.C (createUndo): remove debugging code.
10948
10949 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10950
10951         * buffer.C (parseSingleLyXformat2Token): Use default placement
10952         when reading old floats.
10953
10954         * FloatList.C (FloatList): Change the default placement of figure
10955         and tables to "tbp".
10956
10957 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10958
10959         * MenuBackend.C: using std::max
10960
10961 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10962
10963         * MenuBackend.C (expandToc):
10964         (expandToc2): code moved from xforms menu frontend. It is now
10965         generic and TOCs are transparent to menu frontends.
10966
10967 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10968
10969         * toc.C (getTocList): protect against buf=0
10970
10971         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10972         Menu as first parameter. Now, this calls itself recursively to
10973         expand a whole tree (this will be useful for TOC handling)
10974         (expandFloatInsert): remove 'wide' version of floats
10975
10976         * MenuBackend.h (submenuname): returns the name of the submenu.
10977         (submenu): returns the submenu itself, provided it has been
10978         created by MenuBackend::expand
10979
10980 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10981
10982         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10983         insets which have noFontChange == true. (bug #172)
10984
10985 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10986
10987         * BufferView_pimpl.C: add connection objects and use them...
10988         (Pimpl): here.
10989
10990 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10991
10992         * MenuBackend.C (expandLastfiles):
10993         (expandDocuments):
10994         (expandFormats):
10995         (expandFloatListInsert):
10996         (expandFloatInsert):
10997         (expand): split expand in parts
10998
10999 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11000
11001         * lyx_gui.C: use lyx_gui::exit()
11002
11003 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11004
11005         * LyXAction.C: show the failing pseudo action
11006
11007 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11008
11009         * buffer.C (readFile): Run the lyxconvert script in order to read
11010         old files.
11011
11012 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11013
11014         * LyXAction.C:
11015         * commandtags.h:
11016         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11017
11018 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11019
11020         * LyXAction.C:
11021         * commandtags.h:
11022         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11023
11024 2002-07-22  Herbert Voss  <voss@lyx.org>
11025
11026         * lengthcommon.C:
11027         * lyxlength.[Ch]: add support for the vertical lengths
11028
11029 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11030
11031         * toc.[Ch]: std:: fixes
11032
11033 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11034
11035         * lyxrc.C: do not include lyx_main.h
11036
11037         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11038         for layouts
11039
11040         * lyxrc.C:
11041         * encoding.C:
11042         * bufferlist.C:
11043         * BufferView2.C: include "lyxlex.h"
11044
11045         * tabular.h:
11046         * bufferparams.h: do not #include "lyxlex.h"
11047
11048         * lyxtextclasslist.C (Add): remove method
11049         (classlist): renamed to classlist_
11050
11051         * paragraph_pimpl.C:
11052         * paragraph.C:
11053         * text2.C:
11054         * CutAndPaste.C:
11055         * bufferview_funcs.C:
11056         * bufferlist.C:
11057         * text.C:
11058         * LaTeXFeatures.C:
11059         * buffer.C:
11060         * toc.C (getTocList): use BufferParams::getLyXTextClass
11061
11062         * toc.C (getTocList): use InsetFloat::addToToc
11063
11064         * toc.[Ch]: new files, containing helper functions to handle table
11065         of contents
11066
11067         * lyxfunc.C (dispatch): no need to remove spaces around command
11068         given as a string
11069         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11070         first command of the sequence; it is not very clever, but I do not
11071         have a better idea, actually
11072
11073         * LyXAction.C (LookupFunc): make sure to remove space at the
11074         beginning and end of the command
11075
11076 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11077
11078         * MenuBackend.C (getMenubar): new method: return the menubar of
11079         this menu set
11080         (read): treat differently reading of menu and menubar (in
11081         particular, the menubar has no name now)
11082         (Menu::menubar): remove
11083
11084         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11085         saving is finished
11086
11087 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11088
11089         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11090         a bibitem inset in a RTL paragraph.
11091
11092 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11093
11094         * paragraph_pimpl.C: constify
11095
11096         * BufferView_pimpl.C:
11097         * LaTeX.C:
11098         * lyxfunc.C: fix dispatch in a nicer way
11099
11100 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11101
11102         * lyxfunc.C (dispatch):
11103         * BufferView_pimpl.C:
11104         * BufferView_pimpl.h:
11105         * BufferView.C:
11106         * BufferView.h: rename Dispatch() to dispatch()
11107
11108         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11109
11110         * lyxlayout.C (Read): honor DependsOn tag
11111
11112         * lyxlayout.[Ch] (depends_on): new method
11113
11114         * version.C.in: update lyx_docversion
11115
11116         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11117
11118         * paragraph.C (validate): remove from here...
11119         * paragraph_pimpl.C (validate): ... and move here
11120         (isTextAt): make it const
11121
11122         * buffer.C (getLists): ws cleanup
11123
11124 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11125
11126         * language.C (read): Use iso8859-1 encoding in latex_lang
11127         (this prevents LyX from crashing when using iso10646-1 encoding).
11128
11129 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11130
11131         * text2.C (toggleInset): if cursor is inside an inset, close the
11132         inset and leave cursor _after_ it
11133
11134 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11135
11136         * lyxfunc.C: move minibuffer completion handling out of here
11137
11138 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11139
11140         * BufferView_pimpl.C:
11141         * LaTeX.C: fix dispatch calls
11142
11143 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11144
11145         * text.C (drawChars): Fix Arabic text rendering.
11146
11147 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11148
11149         * LyXAction.C:
11150         * commandtags.h:
11151         * lyxfunc.C: remove message-push/pop
11152
11153         * lyxserver.C:
11154         * lyxfunc.h:
11155         * lyxfunc.C: rationalise some code by removing verboseDispatch
11156           in favour of a bool argument to dispatch()
11157
11158 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11159
11160         * lyx_main.C (init): make sure to read symlinks as absolute paths
11161
11162 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11163
11164         * lyxfunc.h:
11165         * lyxfunc.C: no need for commandshortcut to be a member
11166
11167 2002-07-15  André Pönitz <poenitz@gmx.net>
11168
11169         * converter.C: add support for $$s (scripts from lib/scripts dir)
11170         * lyx_main.C: white space
11171
11172 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11173
11174         * bufferlist.C:
11175         * lyxrc.h:
11176         * lyxrc.C: remove second exit confirmation
11177
11178 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11179
11180         * BufferView.h:
11181         * BufferView.C:
11182         * BufferView2.C:
11183         * BufferView_pimpl.h:
11184         * BufferView_pimpl.C:
11185         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11186
11187 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11188
11189         * MenuBackend.C (expand): add numeric shortcuts to document menu
11190
11191         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11192
11193 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11194
11195         * lyxfont.C (setLyXFamily):
11196         (setLyXSeries):
11197         (setLyXShape):
11198         (setLyXSize):
11199         (setLyXMisc):
11200         (lyxRead):
11201         * debug.C (value):
11202         * buffer.C (asciiParagraph): use ascii_lowercase
11203
11204 2002-07-15  Mike Fabian  <mfabian@suse.de>
11205
11206         * lyxlex_pimpl.C (search_kw):
11207         * lyxlex.C (getLongString):
11208         * converter.h (operator<):
11209         * converter.C (operator<):
11210         * buffer.C (parseSingleLyXformat2Token):
11211         (asciiParagraph):
11212         * ToolbarDefaults.C (read):
11213         * MenuBackend.C (checkShortcuts):
11214         (read):
11215         * LColor.C (getFromGUIName):
11216         (getFromLyXName): use the compare_ascii_no_case instead of
11217         compare_no_case, because in turkish, 'i' is not the lowercase
11218         version of 'I', and thus turkish locale breaks parsing of tags.
11219
11220 2002-07-16  Angus Leeming  <leeming@lyx.org>
11221
11222         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11223         now takes a Buffer const & argument.
11224
11225 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11226
11227         * BufferView.C (resize): check there's a buffer to resize
11228
11229 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11230
11231         * lyxfunc.C: remove dead code
11232
11233         * lyxserver.h:
11234         * lyxserver.C: use lyx_guii::set_read_callback
11235
11236 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11237
11238         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11239         an inset in a RTL paragraph.
11240
11241 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11242
11243         * lyxfunc.C: repaint after a font size update
11244
11245 2002-07-15  André Pönitz <poenitz@gmx.net>
11246
11247         * lyxlength.C: inBP should be able to return negative values
11248
11249 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11250
11251         * lyxfunc.C: use lyx_gui::update_fonts()
11252
11253 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11254
11255         * lyxfunc.C: use lyx_gui::update_color()
11256
11257 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11258
11259         * bufferlist.C:
11260         * lyxfunc.h:
11261         * lyxfunc.C:
11262         * lyxrc.h:
11263         * lyxrc.C: remove file->new asks for name option, and let
11264           buffer-new take an argument
11265
11266 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11267
11268         * BufferView_pimpl.C: remove unneeded extra repaint()
11269
11270 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11271
11272         * LyXAction.C: allow command-sequence with NoBuffer
11273
11274         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11275
11276 2002-07-10  Angus Leeming  <leeming@lyx.org>
11277
11278         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11279
11280 2002-07-09  Angus Leeming  <leeming@lyx.org>
11281
11282         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11283
11284 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11285
11286         * lengthcommon.h: whitespace
11287
11288         * lyxfunc.C: update scrollbar after goto paragraph
11289
11290         * lyxtext.h: factor out page break drawing, and fix it so
11291           page break/added space paints as selected nicely
11292
11293 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11294
11295         * BufferView_pimpl.C: add FIXMEs, clean up a little
11296
11297 2002-07-09  André Pönitz <poenitz@gmx.net>
11298
11299         * lyxfont.[Ch]: support for wasy symbols
11300
11301 2002-07-08  André Pönitz <poenitz@gmx.net>
11302
11303         * BufferView_pimpl.C: apply John's patch for #93.
11304
11305 2002-07-05  Angus Leeming  <leeming@lyx.org>
11306
11307         * BufferView_pimpl.C (buffer): generate previews if desired.
11308
11309         * LColor.h: add "preview" to the color enum.
11310
11311         * LColor.C (LColor): add a corresponding entry to the items array.
11312
11313         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11314         with this buffer.
11315
11316 2002-07-05  Angus Leeming  <leeming@lyx.org>
11317
11318         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11319         The body of the code is now in the method that is passed an ostream &
11320         rather than a file name.
11321         Pass an additional only_preamble parameter, useful for the forthcoming
11322         preview stuff.
11323
11324 2002-07-03  André Pönitz <poenitz@gmx.net>
11325
11326         * lyxfunc.C: simplify getStatus() a bit for math stuff
11327
11328 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11329
11330         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11331
11332 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11333
11334         * text.C (changeRegionCase): do not change case of all the
11335         document when region ends at paragraph end (bug #461)
11336
11337 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11338
11339         * paragraph.C (startTeXParParams):
11340         (endTeXParParams): add \protect when necessary
11341
11342 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11343
11344         * BufferView_pimpl.C (workAreaExpose): remove warning
11345
11346 2002-06-27  Angus Leeming  <leeming@lyx.org>
11347
11348         * Makefile.am: add lyxlayout_ptr_fwd.h.
11349
11350 2002-06-26  André Pönitz <poenitz@gmx.net>
11351
11352         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11353
11354 2002-06-25  Angus Leeming  <leeming@lyx.org>
11355
11356         * lyxfunc.C (dispatch): Comment out the call to
11357         grfx::GCache::changeDisplay. The method no longer exists now that the
11358         pixmap generation part of the graphics loader has been moved into
11359         InsetGraphics.
11360
11361 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11362
11363         * text2.C: layout as layout
11364
11365         * text.C: layout as layout
11366
11367         * tabular.C (OldFormatRead): layout as layout
11368
11369         * paragraph_pimpl.C (TeXDeeper): layout as layout
11370         (realizeFont): layout as layout
11371
11372         * paragraph.C (writeFile): layout as layout
11373         (validate): layout as layout
11374         (getFont): layout as layout
11375         (getLabelFont): layout as layout
11376         (getLayoutFont): layout as layout
11377         (breakParagraph): layout as layout
11378         (stripLeadingSpaces): layout as layout
11379         (getEndLabel): layout as layout
11380         (getMaxDepthAfter): layout as layout
11381         (applyLayout): layout as layout
11382         (TeXOnePar): layout as layout
11383         (simpleTeXOnePar): layout as layout
11384         (TeXEnvironment): layout as layout
11385         (layout): layout as layout
11386         (layout): layout as layout
11387
11388         * lyxtextclass.C (compare_name): new functor to work with
11389         shared_ptr, layout as layout
11390         (Read): layout as layout
11391         (hasLayout): layout as layout
11392         (operator): layout as layout
11393         (delete_layout): layout as layout
11394         (defaultLayout): layout as layout
11395
11396         * lyxlayout_ptr_fwd.h: new file
11397
11398         * lyxlayout.C (Read): layout as layout
11399
11400         * lyx_cb.C (MenuInsertLabel): layout as layout
11401
11402         * bufferlist.C (newFile): layout as layout
11403
11404         * buffer.C (readLyXformat2): layout as layout
11405         (parseSingleLyXformat2Token): layout as layout
11406         (insertStringAsLines): layout as layout
11407         (asciiParagraph): layout as layout
11408         (latexParagraphs): layout as layout
11409         (makeLinuxDocFile): layout as layout
11410         (simpleLinuxDocOnePar): layout as layout
11411         (makeDocBookFile): layout as layout
11412         (simpleDocBookOnePar): layout as layout
11413         (getLists): layout as layout
11414
11415         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11416
11417         * CutAndPaste.C (cutSelection): layout as layout
11418         (pasteSelection): layout as layout
11419         (SwitchLayoutsBetweenClasses): layout as layout
11420
11421         * BufferView_pimpl.C (Dispatch): layout as layout
11422         (smartQuote): layout as layout
11423
11424         * BufferView2.C (unlockInset): layout as layout
11425
11426 2002-06-24  André Pönitz <poenitz@gmx.net>
11427
11428         * lyxfunc.C: fix #487
11429
11430 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11431
11432         * lyxrc.h:
11433         * lyxrc.C:
11434         * lyxfunc.C: remove display_shortcuts, show_banner
11435
11436 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11437
11438         * Buffer_pimpl.C: oops, update on resize
11439
11440 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11441
11442         * buffer.C:
11443         * converter.C:
11444         * exporter.C:
11445         * lyxfunc.C:
11446         * BufferView.h:
11447         * BufferView.C: use repaint()
11448
11449         * BufferView_pimpl.h:
11450         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11451           as it's a clearer description. Remove superfluous
11452           redraws.
11453
11454 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11455
11456         * text.C: fix bug 488. Not ideal, but getting
11457           getWord() to work properly for the insets that
11458           matter is more difficult ...
11459
11460 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11461
11462         * BufferView_pimpl.C:
11463         * LyXAction.C:
11464         * commandtags.h:
11465         * lyxfunc.C: remove the six million index lyxfuncs to just
11466           one, and DTRT (bug 458)
11467
11468 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11469
11470         * BufferView.h:
11471         * BufferView.C:
11472         * BufferView_pimpl.h:
11473         * BufferView_pimpl.C: clean up resize() stuff,
11474           and unnecessary updateScreen()s
11475
11476 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11477
11478         * BufferView.h:
11479         * BufferView.C:
11480         * BufferView_pimpl.h:
11481         * BufferView_pimpl.C:
11482         * lyxfind.h:
11483         * lyxfind.C:
11484         * minibuffer.C: remove focus management of workarea,
11485           not needed. Use screen's greyOut()
11486
11487 2002-06-17  Herbert Voss  <voss@lyx.org>
11488
11489         * converter.C: (convert) do not post a message, when converting
11490         fails, let the calling function decide what to do in this case
11491
11492 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11493
11494         * lyxfunc.C: tidy up a little
11495
11496 2002-06-16    <alstrup@diku.dk>
11497
11498         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11499         Got rid of FORMS_H_LOCATION include. Now we are
11500         GUII.
11501
11502 2002-06-15  LyX Development team  <lyx@rilke>
11503
11504         * buffer.[Ch] (sgmlOpenTag):
11505         (sgmlCloseTag): Added support for avoiding pernicious mixed
11506         content. Return number of lines written.
11507
11508         (makeLinuxDocFile):
11509         (makeDocBookFile): Fixed calls to sgml*Tag.
11510         Simple white space clean.
11511
11512         (simpleDocBookOnePar): Simple white space clean.
11513
11514         * tabular.[Ch] (docBook): Renamed to docbook and got another
11515         argument to related with the pernicious mixed content.
11516
11517         (docbookRow): Fixed calls for docbook inset method.
11518
11519 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11520
11521         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11522         so it's X11 independent.
11523
11524         * kb*.[Ch]: ditto.
11525
11526         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11527
11528 2002-06-15  Lyx Development team  <lyx@electronia>
11529
11530         * intl.h: Renamed getTrans to getTransManager.
11531
11532 2002-06-14  Angus Leeming  <leeming@lyx.org>
11533
11534         * Makefile.am: nuke forgotten stl_string_fwd.h.
11535
11536 2002-06-12  Angus Leeming  <leeming@lyx.org>
11537
11538         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11539
11540 2002-06-13  Angus Leeming  <leeming@lyx.org>
11541
11542         * LaTeX.C:
11543         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11544
11545 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11546
11547         * kbmap.C (getiso): add support for cyrillic and greek
11548
11549 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11550
11551         * BufferView.h:
11552         * BufferView.C:
11553         * BufferView_pimpl.h:
11554         * BufferView_pimpl.C: move bogus scrolling logic
11555           to xforms
11556
11557 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11558
11559         * lyxfunc.C:
11560         * BufferView_pimpl.C: view->resize() change
11561
11562 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11563
11564         * BufferView_pimpl.C: topCursorVisible
11565           prototype change
11566
11567 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11568
11569         * Makefile.am:
11570         * lyx_gui.h:
11571         * lyx_gui.C: move to frontends/
11572
11573         * main.C:
11574         * lyx_main.h:
11575         * lyx_main.C: changes from above
11576
11577 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11578
11579         * intl.C:
11580         * intl.h:
11581         * kbmap.C:
11582         * kbsequence.C:
11583         * lyx_cb.C:
11584         * lyx_main.C: minor tidy
11585
11586 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11587
11588         * BufferView_pimpl.h:
11589         * BufferView_pimpl.C:
11590         * BufferView.h:
11591         * BufferView.C: make painter() const,
11592           remove dead code
11593
11594         * BufferView2.C: use screen() accessor
11595
11596         * lyx_main.h:
11597         * lyx_main.C: some minor cleanup
11598
11599 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11600
11601         * BufferView_pimpl.h:
11602         * BufferView_pimpl.C: remove enter/leaveView,
11603           use workHeight()
11604
11605 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11606
11607         * BufferView.h:
11608         * BufferView.C:
11609         * BufferView2.C:
11610         * BufferView_pimpl.h:
11611         * BufferView_pimpl.C: only construct screen once,
11612           rename
11613
11614         * lyxrc.C: remove pointless comment
11615
11616 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11617
11618         * BufferView.h:
11619         * BufferView.C: remove active() and belowMouse()
11620
11621         * BufferView_pimpl.h:
11622         * BufferView_pimpl.C: use workarea() not workarea_,
11623           and make it use a scoped_ptr instead
11624
11625 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11626
11627         * lyx_gui.C: add debug message on BadWindow
11628
11629 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11630
11631         * sp_spell.C: fdopen is not part of the C++ standard.
11632
11633         * paragraph.C (InsetIterator): use >= instead of ==
11634
11635 2002-06-07  Angus Leeming  <leeming@lyx.org>
11636
11637         Fixes needed to compile with Compaq cxx 6.5.
11638         * BufferView_pimpl.C:
11639         * DepTable.C:
11640         * buffer.C:
11641         * converter.C:
11642         * encoding.C:
11643         * lyx_gui.C:
11644         * lyx_main.C:
11645         * lyxtextclasslist.C:
11646         * minibuffer.C:
11647         * sp_spell.C:
11648         * tabular_funcs.C:
11649         * vc-backend.C:
11650         all c-library variables have been moved into namespace std. Wrap
11651         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11652
11653         * lyxlength.C:
11654         * tabular-old.C:
11655         * tabular.C:
11656         Add a using std::abs declaration.
11657
11658         * kbmap.h (modifier_pair):
11659         * paragraph.h (InsetTable, InsetList):
11660         * lyxfont.h (FontBits):
11661         type definition made public.
11662
11663         * bufferlist.C (emergencyWriteAll): the compiler complains that
11664         there is more than one possible lyx::class_fun template to choose from.
11665         I re-named the void specialisation as lyx::void_class_fun.
11666
11667         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11668
11669         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11670         the compiler is is unable to find tostr in write_attribute.
11671
11672 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11673
11674         * buffer.C (sgmlError): hide #warning
11675
11676 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11677
11678         * xtl/*: get rid of xtl, which is not in use anyway
11679
11680         * LyXAction.C (init):
11681         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11682         were unimplemented xtl experimentation
11683
11684 2002-06-04  André Pönitz <poenitz@gmx.net>
11685
11686         * lyxfunc.C: disable array operation on simple formulae
11687
11688 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11689
11690         * converter.C: constify a bit
11691
11692 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11693
11694         * lyx_gui.C: check xforms version correctly
11695
11696 2002-04-30  Herbert Voss  <voss@lyx.org>
11697
11698         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11699         "keep" option
11700
11701 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11702
11703         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11704           attempt to register it with a VCS)
11705
11706 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11707
11708         * lyx_main.C (init): honor variables LYX_DIR_13x and
11709         LYX_USERDIR_13x
11710
11711 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11712
11713         * buffer.h:
11714         * buffer.C:
11715         * lyx_main.C: fix a crash on bad command line,
11716           and give a useful exit status on error
11717
11718         * lyxfunc.C (doImport): allow -i lyx to work
11719
11720 2002-03-30  André Pönitz <poenitz@gmx.net>
11721
11722         * lyxfunc.C: mathed font changes
11723
11724 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11725
11726         * LaTeX.C:
11727         * importer.h:
11728         * importer.C:
11729         * lyx_sty.h:
11730         * lyx_sty.C:
11731         * lyxlex.C:
11732         * lyxrow.h:
11733         * lyxtext.h:
11734         * paragraph.h:
11735         * paragraph.C:
11736         * texrow.h:
11737         * texrow.C:
11738         * text.C:
11739         * trans_mgr.h: srcdocs, and some minor cleanups
11740
11741 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11742
11743         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11744         call getFont all the time)
11745
11746 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11747
11748         * switch from SigC signals to boost::signals
11749
11750 2002-05-29  André Pönitz <poenitz@gmx.net>
11751
11752         * paragraph_pimpl.C (getChar): don't call size() too often...
11753
11754 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11755
11756         * paragraph_pimpl.C (insertChar): do not try to update tables when
11757         appending (pos == size())
11758
11759         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11760         in order to reduce drastically the number of comparisons needed to
11761         parse a large document
11762
11763 2002-05-29  André Pönitz <poenitz@gmx.net>
11764
11765         * text.C:
11766         * text2.C:
11767         * lyxtextclass.C:
11768         * sp_pspell.h:
11769         * textclasslist.[Ch]:
11770         * sp_ispell.h: whitespace change
11771
11772 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11773
11774         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11775         lyxaction directly now.
11776
11777 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11778
11779         * trans.C:
11780         * lyxfont.C:
11781         * lyxvc.C: remove unused headers
11782
11783 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11784
11785         * Makefile.am:
11786         * buffer.h:
11787         * undostack.h:
11788         * undostack.C:
11789         * undo_funcs.h:
11790         * undo_funcs.C: some cleanups. Use shared_ptr
11791           and a template for the undo stacks.
11792
11793 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11794
11795         * BufferView_pimpl.h:
11796         * BufferView_pimpl.C:
11797         * kbmap.h:
11798         * kbmap.C:
11799         * kbsequence.h:
11800         * kbsequence.C:
11801         * lyxfunc.h:
11802         * lyxfunc.C:
11803         * text2.C: use key_state/mouse_state
11804
11805 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11806
11807         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11808         and LSubstring
11809
11810         * chset.C: change include order
11811         (loadFile): use boost regex and get rid of LRegex and LSubstring
11812
11813         * Makefile.am (BOOST_LIBS): new variable
11814         (lyx_LDADD): use it
11815
11816         * LaTeX.C: change include order.
11817         (scanAuxFile): use boost regex and get rid of LRegex and
11818         LSubstring
11819         (deplog): ditto
11820
11821 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11822
11823         * ColorHandler.h:
11824         * ColorHandler.C:
11825         * FontInfo.h:
11826         * FontInfo.C: moved to frontends/xforms/
11827
11828         * FontLoader.h:
11829         * FontLoader.C: moved into frontends for GUIIzation
11830
11831         * Makefile.am:
11832         * lyx_gui.C:
11833         * lyxfont.C:
11834         * lyxfunc.C: changes from above
11835
11836 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11837
11838         * LColor.C: remove spurious X include
11839
11840         * BufferView_pimpl.C:
11841         * Makefile.am:
11842         * font.h:
11843         * font.C:
11844         * text.C:
11845         * text2.C: move font metrics to frontends/
11846
11847 2002-05-24  Juergen Vigna  <jug@sad.it>
11848
11849         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11850         setting the undo_cursor.
11851
11852         * ParagraphParameters.h: include local includes first.
11853
11854 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11855
11856         * BufferView_pimpl.C:
11857         * BufferView_pimpl.h:
11858         * Makefile.am:
11859         * WorkArea.h:
11860         * WorkArea.C:
11861         * screen.C: move WorkArea into frontends/
11862
11863         * lyxscreen.h:
11864         * screen.C:
11865         * text.C:
11866         * BufferView.C:
11867         * BufferView2.C: move LyXScreen into frontends/
11868
11869         * lyxlookup.h:
11870         * lyxlookup.C:
11871         * lyx_gui.C: move lyxlookup into frontends/xforms/
11872
11873 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11874
11875         * BufferView2.C:
11876         * BufferView_pimpl.C:
11877         * FontLoader.C:
11878         * LyXView.h:
11879         * LyXView.C:
11880         * Makefile.am:
11881         * WorkArea.C:
11882         * XFormsView.h:
11883         * XFormsView.C:
11884         * buffer.C:
11885         * bufferlist.C:
11886         * bufferview_funcs.C:
11887         * converter.C:
11888         * importer.C:
11889         * lyx_cb.C:
11890         * lyx_gui.C:
11891         * lyx_main.C:
11892         * lyx_find.C:
11893         * lyxfunc.C:
11894         * lyxvc.C:
11895         * minibuffer.C:
11896         * text.C:
11897         * text2.C:
11898         * trans.C:
11899         * vc-backend.C: move LyX/XFormsView into frontends/
11900
11901 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11902
11903         * Makefile.am:
11904         * PainterBase.C:
11905         * PainterBase.h:
11906         * Painter.C:
11907         * Painter.h:
11908         * WorkArea.C:
11909         * WorkArea.h:
11910         * screen.C:
11911         * tabular.C:
11912         * text.C:
11913         * text2.C: move Painter to frontends/
11914
11915 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11916
11917         * buffer.C: comment out some some code that depend upon lyx_format
11918         < 220
11919
11920         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11921         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11922
11923         * buffer.h (NO_COMPABILITY): turn off compability
11924
11925         * ColorHandler.C: include scoped_array.hpp
11926
11927         * font.C: Use more specific smart_ptr header.
11928         * Painter.C: ditto
11929         * gettext.C: ditto
11930         * ShareContainer.h: ditto
11931         * lyx_main.h: ditto
11932         * kbmap.h: ditto
11933         * FontInfo.h: ditto
11934         * BufferView_pimpl.h: ditto
11935         * ColorHandler.h: ditto
11936
11937         * kbmap.C (defkey): change call to shared_ptr::reset
11938
11939 2002-05-21  Juergen Vigna  <jug@sad.it>
11940
11941         * buffer.C (insertErtContents): fix to insert ert asis if it is
11942         non empty. Skip it completely if it contains only whitespaces.
11943
11944 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11945
11946         * BufferView_pimpl.C:
11947         * BufferView2.C: clear selection on paste (bug 393)
11948
11949 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11950
11951         * DepTable.C: include ctime
11952
11953 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11954
11955         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11956
11957 2002-05-14  Juergen Vigna  <jug@sad.it>
11958
11959         * text.C (breakParagraph): fixed function to honor the keepempty
11960         layout in the right maner and also to permit the right breaking
11961         algorithm on empty or non empyt keepempty paragraphs.
11962
11963         * paragraph.C (breakParagraph): we have to check also if the par
11964         is really empty (!size()) for isempty otherwise we do the wrong
11965         paragraph break.
11966
11967 2002-05-10  Juergen Vigna  <jug@sad.it>
11968
11969         * buffer.[Ch] : The following are only changes to the ert
11970         compatibility read reading old LaTeX layout and font stuff and
11971         convert it to ERTInsets.
11972
11973         * buffer.h: added isErtInset().
11974
11975         * buffer.C (struct ErtComp): add a fromlayout bool to check
11976         if we're inside a LaTeX layout.
11977         (isErtInset): new helper function.
11978         (insertErtContents): look for other ert insets before this one
11979         and insert the contents there, so that we don't have subsequent
11980         ERT insets with nothing between them. This way we create only one
11981         inset with multiple paragraphs. Also check if we don't insert only
11982         spaces ' ' as they are ignored anyway afterwards in the .tex file
11983         so if we have only spaces we will ignore this latex part in the
11984         new file.
11985         (parseSingleLyXformat2Token \\layout): better compatibility when
11986         reading layout-latex stuff.
11987         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11988         language tag.
11989         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11990         stuff after reading the inset only get the information back from
11991         the stack.
11992
11993 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11994
11995         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11996
11997         * LaTeXFeatures.C (getBabelOptions): New method.
11998
11999 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12000
12001         * BufferView_pimpl.C (Dispatch): work around missing argument for
12002         'layout'
12003
12004 2002-05-08  Juergen Vigna  <jug@sad.it>
12005
12006         * text.C (leftMargin): handle paragraph leftindent.
12007
12008         * paragraph.C (writeFile): write the new \\leftindent tag.
12009         (validate): handle leftindent code.
12010         (TeXEnvironment): handle paragraphleftindent code again.
12011
12012         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12013
12014         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12015         for paragrap_extra indent code and new token \\leftindent.
12016         (latexParagraphs): handle the leftindent as environment.
12017
12018         * ParameterStruct.h: added leftindent support.
12019
12020         * ParagraphParameters.C (leftIndent): added support functions for
12021         the paragraph left indent.
12022
12023         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12024         more appropriate.
12025
12026 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12027
12028         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12029         inside insetERT.
12030
12031         * text.C (computeBidiTables): No bidi in insetERT.
12032
12033         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12034         in RTL documents.
12035
12036 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12037
12038         * version.C.in: pre 5
12039
12040 2002-05-02  José Matos  <jamatos@fep.up.pt>
12041         * buffer.C (makeDocBookFile): white space changes, add newline to
12042         command styles.
12043         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12044
12045         * tabular.C (docBook): fix typo.
12046
12047 2002-05-03  Juergen Vigna  <jug@sad.it>
12048
12049         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12050         change in LyXText as we can not be sure it was not freed.
12051         (drawOneRow): remove unused code.
12052
12053         * text.C (drawInset): redo the calculation of the need_break_row as
12054         it could have a row which was already freed.
12055         (draw): look at the return value of drawInset and return false if
12056         it also returned false.
12057         (paintRowText): look at the return value of draw and return false if
12058         it also returned false.
12059
12060         * lyxtext.h: added bool return type to drawInset() and draw() so that
12061         if we have a change in the row so that the rowbreak has to be redone
12062         we abort drawing as it will be called again.
12063
12064 2002-05-02  Juergen Vigna  <jug@sad.it>
12065
12066         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12067         a change in the maintext also if we're inside an inset.
12068         (Dispatch): set the cursor again after a break line and after the
12069         screen has been updated as it could be we're in a different row.
12070
12071         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12072         to set the cursor behind the pargraph with > size().
12073         (setCursor): check also for the same paragraph when checking where
12074         to put the cursor if we have a NFR inset.
12075
12076         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12077         parts of layout read further up as it still was in the wrong
12078         position.
12079
12080 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12081
12082         * screen.C (drawFromTo): change sine fullRebreak always return
12083         true.
12084
12085         * buffer.C (parseSingleLyXformat2Token): reindent some
12086
12087         * BufferView_pimpl.C (update): change since fullRebreak always
12088         return true.
12089         (Dispatch): git rid of the last hardcoded "Standard"s.
12090
12091 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12092
12093         * text2.[Ch] (fullRebreak): make it return void now that we always
12094         returned true.
12095
12096 2002-04-30  Juergen Vigna  <jug@sad.it>
12097
12098         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12099         ert compatibility check for "latex" layout.
12100
12101 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12102
12103         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12104         minipages: use col% instead of p%, and also use the current font.
12105         (makeLaTeXFile): Fix use babel condition.
12106         (parseSingleLyXformat2Token): Correct font when reading old floats.
12107
12108 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12109
12110         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12111         inserting list of floats.
12112
12113 2002-04-25  Herbert Voss  <voss@lyx.org>
12114
12115         * MenuBackend.C (expand): don't add the graphics extensions to the
12116         export menu
12117
12118 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12119
12120         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12121         non-existing layout, do not complain if it was the default layout
12122         of the original class (bug #342)
12123
12124 2002-04-24  Juergen Vigna  <jug@sad.it>
12125
12126         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12127         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12128
12129 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12130
12131         * buffer.C (getBibkeyList): If using \bibliography, return the
12132         option field with the reference itself. Enables us to provide natbib
12133         support when using \bibliography.
12134
12135 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12136
12137         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12138
12139         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12140         natbib is provided by the LaTeX class.
12141
12142 2002-04-23  Juergen Vigna  <jug@sad.it>
12143
12144         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12145         Wakeup functions.
12146
12147         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12148
12149 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12150
12151         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12152
12153         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12154         ensuremath around textordmasculine, textordfeminine and
12155         textdegree.
12156
12157 2002-04-19  Juergen Vigna  <jug@sad.it>
12158
12159         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12160         reinitializing the buffer otherwise row-dimensions may be wrong.
12161         (update): reset also the selection cursors if they do exits otherwise
12162         their x/y positions may be wrong.
12163
12164         * text2.C (cursorDown): don't enter the inset if we came from a row
12165         above and are one row over the inset.
12166
12167         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12168         really leaving an inset.
12169
12170 2002-04-18  Juergen Vigna  <jug@sad.it>
12171
12172         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12173         of the selected paragraph does not have the selected layout also if
12174         the last one had!
12175
12176         * text2.C (setLayout): fixed bug which did not change last selected
12177         paragraph.
12178
12179         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12180         changed the read and substituted \\end_float with \\end_inset!
12181
12182         * BufferView_pimpl.C (cursorPrevious):
12183         (cursorNext): fixed to make it work with rows heigher than the work
12184         area without moving the cursor only the draw of the row.
12185         (workAreaMotionNotify): fix jumping over high rows.
12186
12187 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12188
12189         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12190         Ressler.
12191
12192 2002-04-16  Juergen Vigna  <jug@sad.it>
12193
12194         * text2.C (setCursor): set also the irow().
12195         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12196         (cursorUp):
12197         (cursorDown): support for locking an inset if the x_fix value goes
12198         inside it. That way I can transverse insets too with cursor up/down.
12199
12200         * lyxrow.h: added irow helper function same as other (i) functions.
12201
12202         * BufferView_pimpl.C (cursorPrevious):
12203         (cursorNext): fixed for insets!
12204
12205 2002-04-15  Juergen Vigna  <jug@sad.it>
12206
12207         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12208         position otherwise it is wrong in some cases.
12209
12210         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12211         inside the inset before the call.
12212
12213 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12214
12215         * buffer.[Ch] (getBibkeyList): make it const.
12216
12217 2002-04-12  Juergen Vigna  <jug@sad.it>
12218
12219         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12220
12221         * text2.C (getCursorX): new helper function
12222         (setCursor): compute also ix_
12223         (setCursorFromCoordinates): set also ix.
12224
12225         * lyxcursor.h: added ix_ and helper functions.
12226
12227         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12228
12229         * buffer.C (insertStringAsLines): dont break paragraph if the this
12230         paragraph is inside an inset which does not permit it!
12231
12232         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12233         also with no chars on this paragraph.
12234         (paintRowText): only paint stuff if it's inside the workarea!
12235
12236         * paragraph.C (breakParagraph): honor keepempty flag and break the
12237         paragraph always below not above.
12238
12239         * BufferView2.C (unlockInset): update the paragraph layout on inset
12240         unlock as we changed paragraph in such a case.
12241
12242         * lyxfind.C (LyXFind): clear the former selection if not found!
12243
12244         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12245         again called in insertChar().
12246
12247         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12248         an inset which uses the whole row!
12249         (rightMargin): ditto.
12250         (insertChar): force a rebreak if we inserted an inset!
12251
12252 2002-03-28  Herbert Voss  <voss@lyx.org>
12253
12254         * lyxlength.[Ch]: add inBP() to get the right PS-point
12255         units (BigPoint). With inPixels we have rounding errors
12256
12257 2002-04-11  Juergen Vigna  <jug@sad.it>
12258
12259         * text2.C (setCursorFromCoordinates): set iy to the right value.
12260         (setCursor): add check if row->previous exists!
12261
12262         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12263         an old float_type as this was the case in the old code!
12264
12265         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12266
12267         * BufferView2.C (showLockedInsetCursor): use iy
12268         (fitLockedInsetCursor): ditto
12269
12270         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12271         locked insets as there we have the right value now.
12272
12273         * lyxcursor.C: added iy_ variable and iy functions to set to the
12274         baseline of cursor-y of the locked inset.
12275
12276         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12277         (setCursor): fixed for insets which need a full row.
12278
12279         * text.C (rowLastPrintable): don't ignore the last space when before
12280         an inset which needs a full row.
12281         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12282         as last character of a row when before a inset which needs a full row.
12283
12284 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12285
12286         * version.C.in: update date
12287
12288         * text2.C (fullRebreak): try to always return true and see what
12289         happens...
12290
12291 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12292
12293         * MenuBackend.C (expand): use Floating::listName
12294
12295         * FloatList.C (FloatList): add listName argument to the built-in
12296         floats
12297
12298         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12299         text associated with the float.
12300
12301 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12302
12303         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12304
12305 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12306
12307         * ShareContainer.h: add a couple of missing typenames.
12308
12309 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12310
12311         * lyxrc.C (getDescription): use _() correctly rather than N_().
12312
12313 2002-03-28  Herbert Voss  <voss@lyx.org>
12314
12315         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12316         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12317
12318 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12319
12320         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12321         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12322
12323 2002-03-29  Juergen Vigna  <jug@sad.it>
12324
12325         * lyxfunc.C (dispatch): add a missing fitCursor call.
12326
12327         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12328         it was scrolled by a cursor move, so return the bool status.
12329
12330         * BufferView.C (fitCursor): return the bool flag also to the outside
12331         world as this is needed.
12332
12333         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12334
12335         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12336         call the edit() as it is not needed (and wrong) IMO.
12337         (workAreaButtonPress): set the screen_first variable before evt.
12338         unlock the inset as this may change screen_first and then we have
12339         a wrong y position for the click!
12340
12341 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12342
12343         * MenuBackend.C (expand): another translation that I missed
12344
12345 2002-03-28  Juergen Vigna  <jug@sad.it>
12346
12347         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12348
12349         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12350
12351 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12352
12353         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12354
12355         * MenuBackend.C (expand): fix export/view/update when there is no
12356         document open.
12357
12358 2002-03-27  Herbert Voss  <voss@lyx.org>
12359
12360         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12361         and text%
12362
12363 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12364
12365         * bufferview_funcs.C (currentState): only show paragraph number
12366         for is DEVEL_VERSION is set.
12367
12368         * lyxfunc.C (dispatch): put warning in INFO channel
12369
12370         * MenuBackend.C (expand): translate the name of floats
12371
12372         * FloatList.C (FloatList): mark the float names for translation
12373
12374         * converter.C (convert): use LibScriptSearch
12375
12376 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12377
12378         * MenuBackend.C (defaults): fix default menu (we might as well get
12379         rid of it...)
12380
12381 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12382
12383         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12384         directory.
12385
12386 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12387
12388         * lyxvc.C: reorder includes.
12389
12390 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12391
12392         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12393           properly
12394
12395 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12396
12397         * CutAndPaste.C: change layouts earlier on paste
12398           to avoid crashing when calling getFont()
12399
12400 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12401
12402         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12403         irritating #error.
12404
12405 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12406
12407         * WorkArea.C: remove 'Pending' debug message.
12408
12409         * most files: ws cleanup
12410
12411         * buffer.[Ch]: ws changes
12412
12413         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12414
12415 2002-03-21  Juergen Vigna  <jug@sad.it>
12416
12417         * tabular.C (SetMultiColumn): collapse also the contents of the
12418         cells and set the last border right. Added a Buffer const * param.
12419
12420 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12421
12422         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12423         linking or not.
12424
12425 2002-03-19  Juergen Vigna  <jug@sad.it>
12426
12427         * text2.C (clearSelection): reset also xsel_cache.
12428
12429         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12430         where it needs to be called (John tells us to do so too :)
12431         (selectionLost): reset sel_cache.
12432
12433         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12434
12435 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12436
12437         * text2.C (setCursorIntern): put debuging code in INSETS channel
12438
12439 2002-03-19  André Pönitz <poenitz@gmx.net>
12440
12441         * lyxfunc.C: tiny whitespace change
12442
12443 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12444
12445         * ToolbarDefaults.C (init):
12446         * LyXAction.C (init):
12447         * commandtags.h:
12448         * BufferView_pimpl.C (Dispatch):
12449         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12450
12451 2002-03-19  Allan Rae  <rae@lyx.org>
12452
12453         * exporter.C (Export): removeAutoInsets before doing anything else.
12454         While I've just introduced a dependency on BufferView this really is
12455         the best place to clean the buffer otherwise you need to cleanup in
12456         a dozen places before calling export or cleanup in a dozen functions
12457         that export calls.
12458
12459         * converter.C (runLaTeX):
12460         (scanLog): Better handling of removeAutoInsets and screen updates.
12461
12462         * lyxfunc.C (dispatch): small whitespace changes
12463
12464 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12465
12466         * WorkArea.C (C_WorkAreaEvent): return a value.
12467         (event_cb): return 1 if we handled the event, 0 otherwise.
12468
12469         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12470
12471 2002-03-18  Juergen Vigna  <jug@sad.it>
12472
12473         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12474         (GetAdditionalWidth): ditto.
12475         (RightLine): ditto.
12476         (LeftLine): ditto.
12477
12478         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12479         inset if we're there actually (probably not used right now but this
12480         is the direction to go for unifying code).
12481         (paste): disable code to clear the selection.
12482
12483         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12484         inside an InsetText and move the check further up as it is in the
12485         wrong place.
12486
12487         * text2.C (pasteSelection): set a selection over the pasted text.
12488
12489 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12490
12491         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12492         and libgraphics to build on Cygwin.
12493
12494 2002-03-15  Juergen Vigna  <jug@sad.it>
12495
12496         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12497         inserting an Inset into the paragraph. I know this is not the best
12498         fix but we already use current_view in CutAndPaste so we will remove
12499         all of it's using at the same time.
12500
12501         * buffer.C (sgmlError): deactivated function till it is rewritten in
12502         the right mode, now it can create problems.
12503
12504         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12505         before accessing it.
12506
12507 2002-03-14  Juergen Vigna  <jug@sad.it>
12508
12509         * undo_funcs.C (textHandleUndo): do the right thing when updating
12510         the inset after the undo/redo.
12511
12512         * text2.C (setCursor): just some testcode for #44 not ready yet.
12513
12514         * undo_funcs.C (textHandleUndo): set the next() and previous()
12515         pointers of the paragraph to 0 before deleting otherwise we have
12516         problems with the Paragraph::[destructor].
12517
12518         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12519         on a paragraph insertion.
12520
12521 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12522
12523         * buffer.C (asciiParagraph): use += operator for char append to
12524         string.
12525
12526         * paragraph.C (getFontSettings): compare >= not just >
12527         (highestFontInRange): ditto
12528         (setFont): ditto
12529
12530 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12531
12532         * paragraph.C: change several algorithm to be more appripriate for
12533         the problem domain. This is lookip in FontList and in the InsetList.
12534
12535 2002-03-13  André Pönitz <poenitz@gmx.net>
12536
12537         * commandtags.h:
12538         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12539
12540 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12541
12542         * commandtags.h:
12543         * LyXAction.C:
12544         * lyxfunc.C:
12545         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12546
12547 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12548
12549         * Painter.C (display): anon helper function, adjust code for this
12550         change.
12551         (pixmap): remove function.
12552
12553         * Painter.h: remove private display variable.
12554
12555         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12556
12557 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12558
12559         * WorkArea.[Ch]: remove figinset_canvas cruft.
12560
12561 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12562
12563         * lyxtextclass.C (operator): add one item cache optimization.
12564
12565         * bufferlist.h: doxy changes
12566
12567         * bufferlist.C: ws changes
12568
12569         * DepTable.[Ch] (ext_exist): place const in the right spot.
12570
12571         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12572         call resizeInsets.
12573         (workAreaExpose): call resizeInsets when the with BufferView changes.
12574         (Dispatch): adjust for protectedBlank removal
12575         (specialChar): call updateInset if the insert went ok.
12576
12577         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12578         specialChar instead.
12579
12580         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12581
12582         * BufferView.h: doxy change
12583
12584         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12585
12586         * lyxtextclass.C (operator[]): remove non-const version
12587         (defaultLayout): remove non-const version
12588
12589 2002-03-12  Juergen Vigna  <jug@sad.it>
12590
12591         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12592         did resize the LyXText too.
12593
12594         * buffer.C (readLyXformat2): set layout information on newly allocated
12595         paragraphs.
12596
12597         * tabular.C (OldFormatRead): set layout information on the paragraph.
12598
12599 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12600
12601         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12602
12603 2002-03-11  Juergen Vigna  <jug@sad.it>
12604
12605         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12606         plainly wrong.
12607         (resizeCurrentBuffer): force also the insets to resize themselfes.
12608         (moveCursorUpdate): fixed up for InsetText.
12609
12610 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12611
12612         * commandtags.h:
12613         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12614         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12615         value of Dialogs::tooltipsEnabled().
12616         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12617
12618 2002-03-08  Juergen Vigna  <jug@sad.it>
12619
12620         * BufferView_pimpl.C (updateInset): update inset inside inset also
12621         if it isn't inside theLockingInset().
12622
12623 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12624
12625         * buffer.C (asciiParagraph): redo some of the word and line length
12626         handling.
12627         (getLists): look for Caption instead of caption.
12628
12629 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12630
12631         * buffer.C (Buffer): initialize niceFile to true
12632         (makeLaTeXFile):
12633         (makeLinuxDocFile):
12634         (makeDocBookFile): make sure niceFile is true on exit
12635
12636 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12637
12638         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12639
12640 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12641
12642         * LyXSendto.C: remove.
12643         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12644         * lyx_gui.C: remove now-redundant comment.
12645         * ColorHandler.h: remove forward declaration of class WorkArea.
12646         * lyxfunc.C: remove #include "WorkArea.h".
12647
12648 2002-03-07  Juergen Vigna  <jug@sad.it>
12649
12650         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12651         got moved away with the DEPM and also set the inset_owner always
12652         right which before could have been omitted.
12653
12654 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12655
12656         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12657         wanted layout is not found.
12658
12659 2002-03-07  Juergen Vigna  <jug@sad.it>
12660
12661         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12662
12663 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12664
12665         * paragraph.C (breakParagraph): use default layout not layout of
12666         prev paragraph.
12667         (Paragraph): clear ParagraphParameters.
12668
12669 2002-03-06  Juergen Vigna  <jug@sad.it>
12670
12671         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12672         otherwise it would not be a valid lenght. Fixed a special case in
12673         the minipage compatibility read where we end the document with a
12674         minipage.
12675
12676         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12677         was set as it could be 0 for InsetTexts first entry.
12678
12679 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12680
12681         * paragraph.C (writeFile): if layout is empty write out
12682         defaultLayoutName().
12683
12684         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12685         file without named layout we set layout to defaultLayoutName().
12686
12687 2002-03-06  Juergen Vigna  <jug@sad.it>
12688
12689         * CutAndPaste.C (copySelection): set layout for new paragraph.
12690
12691         * text.C (prepareToPrint): leave ERT inset left aligned
12692         (leftMargin): don't indent paragraphs inside ERT insets
12693
12694 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12695
12696         * paragraph.C (breakParagraph): dont call clear do the work manually
12697
12698         * paragraph.[Ch] (clear): remove function
12699
12700 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12701
12702         * paragraph.C (Paragraph): dont call clear, the work has already
12703         been done.
12704
12705         * lyxtextclass.C (operator): assert if n is empty
12706
12707         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12708         work manually instead.
12709
12710 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12711
12712         * BufferView_pimpl.C: protect selectionLost against text == 0
12713
12714 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12715
12716         * text.C (breakParagraph): fix a setting layout to '0' problem.
12717
12718 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12719
12720         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12721         final location of file, for the included files, and graphics.
12722
12723 2002-03-05  Juergen Vigna  <jug@sad.it>
12724
12725         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12726
12727 2002-03-04  Juergen Vigna  <jug@sad.it>
12728
12729         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12730
12731         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12732         last column of multicolumn cells.
12733         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12734
12735 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12736
12737         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12738         file if it doesn't go to a temporary file.
12739
12740         * buffer.C (sgmlOpenTag):
12741         (sgmlCloseTag):  remove extra newline insertion.
12742
12743 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12744
12745         * text.C (getRowNearY): comment out debug msg
12746
12747 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12748
12749         * text2.C: first -> first_y
12750
12751         * text.C (getRowNearY): add some attemts at a possible
12752         optimization, not working.
12753
12754         * tabular.[Ch]: add BufferParams to several function so that newly
12755         created paragraph can be initialized to he default layotu for the
12756         buffers textclass.
12757
12758         * tabular-old.C (ReadOld): add buf->params to call of Init
12759
12760         * screen.C: rename text->first to text->first_y
12761
12762         * paragraph.C (breakParagraph): always set layout in the broken
12763         paragraph
12764
12765         * lyxtextclass.C (Read): remove lowercase
12766         (hasLayout): ditto
12767         (operator): ditto
12768         (delete_layout): ditto
12769
12770         * lyxtext.h: rename first -> first_y
12771
12772         * lyxlayout.C (Read): remove lowercase
12773         (name): ditto
12774         (setName): ditto
12775         (obsoleted_by): ditto
12776
12777         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12778
12779         * buffer.C (insertErtContents): add params are to InsetERT
12780         (parseSingleLyXformat2Token): add code to check if a paragraphs
12781         layout really exist.
12782         (parseSingleLyXformat2Token): add params to several inset
12783         constructors
12784         (asciiParagraph): remove lowercase, do the layout comparisons with
12785         no_case
12786
12787         * BufferView_pimpl.C (cursorNext): first -> first_y
12788         (resizeCurrentBuffer): first -> first_y
12789         (updateScrollbar): first -> first_y
12790         (scrollCB): first -> first_y
12791         (workAreaMotionNotify): first -> first_y
12792         (workAreaButtonPress): first -> first_y
12793         (checkInsetHit): first -> first_y
12794         (cursorPrevious): first -> first_y
12795         (cursorNext): first -> first_y
12796         (Dispatch): add buffer_->params to severl inset contructors
12797
12798 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12799
12800         * lyxlayout.C (Read): remove some debug info that I forgot.
12801
12802         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12803         clean up the code slightly.
12804         (makeLinuxDocFile): ditto
12805         (makeDocBookFile): ditto
12806
12807         * text2.C: layout as string
12808
12809         * text.C: layout as string
12810
12811         * paragraph_pimpl.C: layout as string
12812
12813         * paragraph.[Ch]: layout as string
12814
12815         * lyxtextclasslist.[Ch]: layout as string
12816
12817         * lyxtextclass.[Ch]: layout as string
12818
12819         * lyxtext.h: layout as string
12820
12821         * lyxlayout.[Ch]: layout as string
12822
12823         * lyx_cb.C: layout as string
12824
12825         * bufferview_funcs.C: layout as string
12826
12827         * bufferparams.C: layout as string
12828
12829         * buffer.C: layout as string
12830
12831         * LyXView.[Ch]: layout as string
12832
12833         * LaTeXFeatures.[Ch]: layout as string
12834
12835         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12836
12837         * BufferView_pimpl.C: change current_layout to string, remove
12838         lyx::layout_type.
12839         (Dispatch):
12840         (smartQuote):
12841         (insertInset):
12842         (workAreaButtonRelease): layout as string
12843
12844         * BufferView2.C (unlockInset): adjust
12845
12846         * vspace.C (asLatexCommand): use an explict temp variable.
12847
12848 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12849
12850         * Makefile.am: use FRONTEND_*
12851
12852 2002-03-01  Juergen Vigna  <jug@sad.it>
12853
12854         * tabular.C (SetWidthOfMulticolCell): changed to something better
12855         I hope but still work in progress.
12856         (recalculateMulticolumnsOfColumn): renamed function from
12857         recalculateMulticolCells as it is more appropriate now.
12858         (SetWidthOfCell): calculate multicols better.
12859
12860 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12861
12862         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12863
12864         * lyxfunc.C (processKeySym): print sequence also if it is
12865         `deleted' (complete)
12866
12867         * kbsequence.C (print): print sequence even if it is deleted
12868         (complete would be a better word, actually).
12869
12870         * lyxfunc.C (dispatch): print complete options after a prefix key
12871
12872         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12873
12874 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12875
12876         * text2.C (setCharFont): eliminate setCharFont code duplication.
12877
12878 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12879
12880         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12881         LFUN_TABULAR_FEATURE (bug #177)
12882
12883 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12884
12885         * Makefile.am: remove figure.h
12886
12887 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12888
12889         * Bufferview_pimpl.C:
12890         * CutAndPasteC:
12891         * LaTeX.C:
12892         * LyXSendto.C:
12893         * buffer.C:
12894         * bufferlist.C:
12895         * converter.C:
12896         * language.C:
12897         * lyxfunc.C:
12898         * lyxvc.C:
12899         * paragraph.C:
12900         * text.C:
12901         * text2.C: remove #include "lyx_gui_misc.h".
12902
12903         * LaTeX.C: added #include <cstdio>
12904
12905 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12906
12907         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12908         that the paragraph following this one can have.
12909
12910         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12911
12912         * vspace.C (asLatexCommand): fix bogus gcc warning
12913
12914         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12915
12916 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12917
12918         * text2.C (setLayout): get rid of redundant code
12919
12920 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12921
12922         * text2.C (incDepth): make sure depth cannot be increased beyond
12923         reasonable values.
12924
12925 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12926
12927         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12928         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12929
12930         * PainterBase.h (image):
12931         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12932         a LyXImage const *.
12933
12934 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12935
12936         * BufferView.C:
12937         * BufferView.h:
12938         * BufferView_pimpl.C:
12939         * BufferView_pimpl.h:
12940         * LaTeXFeatures.C:
12941         * LyXAction.C:
12942         * LyXView.C:
12943         * Makefile.am:
12944         * UpdateList.h:
12945         * UpdateList.C:
12946         * buffer.C:
12947         * figure.h:
12948         * figureForm.C:
12949         * figureForm.h:
12950         * figure_form.C:
12951         * figure_form.h:
12952         * lyx_cb.C:
12953         * lyx_gui.C:
12954         * lyx_gui_misc.C:
12955         * lyxfunc.C:
12956         * sp_base.h:
12957         * sp_ispell.h:
12958         * sp_pspell.h:
12959         * sp_spell.C: remove fig inset, and the crap house of
12960           cards that follows it
12961
12962 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12963
12964         * Makefile.am:
12965         * lyxserver.C:
12966         * os2_defines.h:
12967         * os2_errortable.h:
12968         * nt_defines.h: move .h into support/
12969
12970         * vms_defines.h: remove
12971
12972         * WorkArea.C: add space in debug output
12973
12974         * text2.C:
12975         * paragraph.C:
12976         * buffer.C: add WITH_WARNINGS
12977
12978         * vc-backend.h:
12979         * vc-backend.C:
12980         * bufferlist.C: s/retrive/retrieve/, add docs
12981
12982         * vspace.h:
12983         * vspace.C:
12984         * kbmap.h:
12985         * lyxlength.h:
12986         * lyxgluelength.h:
12987         * length_common.h:
12988         * chset.h:
12989         * chset.C: add docs
12990
12991         * lyxgui.C: add ID to X error handler
12992
12993         * lyxtestclass.c: fix typo
12994
12995 2002-02-26  Juergen Vigna  <jug@sad.it>
12996
12997         * tabular_funcs.C (write_attribute): changed so that some default
12998         attributes are not written at all.
12999         (getTokenValue): set default values before trying to read the
13000         value so we have the return value always set as default if we don't
13001         find the token we search for.
13002
13003         * tabular.C (Write): write bools as bools not as strings!
13004
13005 2002-02-22  Juergen Vigna  <jug@sad.it>
13006
13007         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13008         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13009
13010         * text.C (leftMargin): don't add an indent for paragraphs inside
13011         tabular cells (fix #208).
13012
13013 2002-02-21  José Matos  <jamatos@fep.up.pt>
13014
13015         * tabular.C (docBook): fixed support for long tables.
13016
13017 2002-02-20  Juergen Vigna  <jug@sad.it>
13018
13019         * text2.C (getFont): get the drawing font of the Inset if this
13020         paragraph is inside an inset (only important for InsetERT for now).
13021
13022         * buffer.C (insertErtContents): use new lanugage params in ERT
13023         constructor.
13024
13025         * CutAndPaste.C: commenting out seemingly uneeded code.
13026
13027 2002-02-19  Allan Rae  <rae@lyx.org>
13028
13029         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13030         Iterators might be simple to use but they also get invalidated.
13031         (removeAutoInsets): renamed saved cursor tracking variables and added
13032         some comments to clarify what everything does.
13033
13034 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13035
13036         * Chktex.C:
13037         * LaTeX.C:
13038         * LyXSendto.C:
13039         * converter.C:
13040         * lyx_cb.C:
13041         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13042         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13043
13044         * lyxfunc.C:
13045         * vc-backend.h: remove #include "support/syscall.h"
13046
13047         * LaTeX.C:
13048         * LyXSendto.C:
13049         * converter.C: rearrange #includes in Lars' approved fashion.
13050
13051         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13052         forward declare class Timeout in the header file.
13053
13054         * XFormsView.C: changes due to the above.
13055
13056         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13057         similar to LyXView.
13058
13059         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13060         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13061
13062 2002-02-18  José Matos  <jamatos@fep.up.pt>
13063
13064         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13065         insets contents.
13066
13067 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13068
13069         * a lot of small ws changes
13070         * add a lot of using std::XXX
13071         * use std construcs some places where approp.
13072         * use some exisint stuff from lyxfunctional where approp.
13073         * Make file changes to use partial linking (lets test this now...)
13074
13075 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13076
13077         * Chktex.C:
13078         * buffer.C:
13079         remove #include "support/syscontr.h" as it's redundant. Always has been.
13080
13081         * Chktex.C:
13082         * LaTeX.C:
13083         * LyXSendto.C:
13084         * converter.C:
13085         * lyx_cb.C:
13086         * vc-backend.C:
13087         change Systemcalls::System to Systemcalls::Wait and
13088         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13089         No change of functionality, just reflects the stripped down Systemcalls
13090         class.
13091
13092 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13093
13094         * debug.[Ch]: add a GRAPHICS type to the enum.
13095
13096 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13097
13098         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13099
13100         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13101         there is an inset.
13102
13103 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13104
13105         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13106         match the changes below.
13107
13108         * text2.C (toggleInset): if there is not editable inset at cursor
13109         position, try to see if cursor is _inside_ a collapsable inset
13110         and close it.
13111
13112 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13113
13114         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13115         document menu has a nice checkbox
13116
13117 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13118
13119         * lyxlength.C (asLatexString): change PW to output as percent of
13120         \textwidth.
13121
13122         * lengthcommon.C: change '%' to 't%'
13123
13124         * lyxfunc.C (dispatch): a few comments from Martin
13125
13126 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13127
13128         * WorkArea.h:
13129         * WorkArea.C:
13130         * BufferView_pimpl.h:
13131         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13132           the X selection.
13133
13134 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13135
13136         * vspace.C (inPixels): fix compiler warning
13137
13138 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13139
13140         * lyxfunc.C (getStatus): fix status message for disabled commands.
13141
13142 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13143
13144         * BufferView_pimpl.C: fix crash on close buffer
13145         during selection (#227)
13146
13147 2002-01-27  Herbert Voss  <voss@lyx.org>
13148
13149         * buffer.C: link old Figure to new graphic inset
13150
13151 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13152
13153         * FontLoader.C (getFontinfo): Change the latex font names in order
13154         to match the names of type1inst.
13155
13156 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13157
13158         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13159
13160         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13161         (extchanged): ditto
13162         (ext_exist): ditto
13163         (remove_files_with_extension): ditto
13164         (remove_file): ditto
13165         (write): ditto
13166
13167         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13168         document is smaller than the work area height. Do not initialize
13169         static variables to 0.
13170
13171 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13172
13173         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13174
13175         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13176         LFUN_LAYOUT_PARAGRAPHS.
13177
13178         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13179         tabular. It is possible to provide a possible cell, which will
13180         typically be the actcell from the corresponding insettabular
13181
13182         * lyxfunc.C (getStatus): small cleanup; disable
13183         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13184         true
13185
13186 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13187
13188         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13189
13190         * paragraph.C (startTeXParParams):
13191         (endTeXParParams): new methods. The LaTeX code to
13192         start/end paragraph formatting
13193         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13194         empty (fixes bug #200)
13195
13196         * vspace.C (inPixels): adapt to the change below
13197         (inPixels): [later] more cleanups (remove unused variables)
13198
13199         * lyxlength.C (inPixels): change to use a width and a height as
13200         parameter.
13201
13202 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13203
13204         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13205         Replaced with \paperwidth
13206
13207         * DepTable.C (insert): add std:: qualifier
13208
13209 2002-01-18  Allan Rae  <rae@lyx.org>
13210
13211         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13212         updated also?
13213
13214         * text.C (drawInset): Turned out I didn't know enough about how
13215         rebreaking worked.  This fixes most of the redraw problems.  I see
13216         an occasional cursor trail when a line is broken now and the cursor
13217         placement can seem out by a few pixels also after a rebreak.
13218
13219 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13220
13221         * buffer.C (parseSingleLyXformat2Token): update because minipage
13222         width is now a LyXLength
13223
13224         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13225
13226         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13227         math insets
13228
13229 2002-01-17  Juergen Vigna  <jug@sad.it>
13230
13231         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13232
13233         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13234         is set correctly and the inset is updated correctly.
13235
13236 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13237
13238         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13239         the beginning of the loop.
13240
13241 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13242
13243         * lyxrc.C: improve help for use_scalable_fonts
13244
13245 2002-01-17  Allan Rae  <rae@lyx.org>
13246
13247         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13248
13249 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13250
13251         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13252         make sure to set their inset_owner to the right value (bug #171)
13253
13254 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13255
13256         * DepTable.h
13257         * DepTable.C: Implement mtime checking to reduce time spent doing
13258         CRCs.
13259
13260 2002-01-16  Juergen Vigna  <jug@sad.it>
13261
13262         * tabular.C (GetAdditionalHeight): one of error fixed.
13263
13264         * lyxrc.C (output): small fix in writing use_pspell.
13265
13266 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13267
13268         * sp_base.h: #include LString.h
13269
13270 2002-01-16  Allan Rae  <rae@lyx.org>
13271
13272         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13273         Can someone check this please?
13274
13275         * text.C (drawInset): It was possible that p.row would be removed by
13276         breakAgainOneRow upsetting a few other settings.  There may be another
13277         small tweak possible by setting need_break_row = 0 when p.row has been
13278         removed but I don't know enough about the logic here.
13279
13280 2002-01-15  Allan Rae  <rae@lyx.org>
13281
13282         * text.C (insertChar): removed conditional truism.
13283
13284         * BufferView2.C (removeAutoInsets): More tweaks.
13285         cur_par_prev could be a stray pointer.  Check for trailing empty line
13286         in case last line was cur_par and only had an error inset on it.
13287
13288 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13289
13290         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13291         absolute
13292
13293         * vc-backend.C (most methods):
13294         * exporter.C (Export):
13295         * converter.C (convert):
13296         (runLaTeX):
13297         * LyXSendto.C (SendtoApplyCB):
13298         * lyxfunc.C (dispatch):
13299         (menuNew):
13300         (open):
13301         (doImport):
13302         * lyx_cb.C (AutoSave):
13303         (InsertAsciiFile):
13304         * BufferView_pimpl.C (MenuInsertLyXFile):
13305         * buffer.C (runChktex): use Buffer::filePath().
13306
13307         * buffer.h: rename filename to filename_; rename filepath to
13308         filepath_ and make it private
13309         (filePath): new method
13310
13311         * buffer.C (writeFile): use fileName()
13312         (getLatexName):
13313
13314         * lyx_main.C (init): fix starting  of LyX when the binary is a
13315         link from so,ewhere else.
13316
13317         * minibuffer.C: include <cctype> for isprint
13318
13319 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13320
13321         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13322         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13323         name clash with InsetCollapsable's width function.
13324
13325 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13326
13327         * lastfiles.C: include <iterator>
13328
13329 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13330
13331         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13332         std::count.
13333
13334         * buffer.C (makeLaTeXFile): ditto.
13335         Also make loop operation more transparent.
13336
13337 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13338
13339         * ToolbarDefaults.C: remove trailing comma closing namespace.
13340
13341         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13342
13343         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13344         as in WorkArea.
13345
13346         * trans.C (Load): comment out unused variable, allowed.
13347
13348 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13349
13350         * minibuffer.[Ch] (append_char): new method to recieve input from the
13351         drop-down completion browser. If a key was pressed, then recieve this
13352         char and append it to the existing string.
13353         (peek_event): modify the positioning data passed to the completion
13354         browser so that it can be placed above the minibuffer rather than below.
13355 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13356
13357         * LyXAction.C (init): alloe error-next for readonly documents.
13358
13359         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13360         count.
13361
13362 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13363
13364         * bufferlist.C (readFile): create the buffer _after_ checking that
13365         the file exists.
13366
13367         * lyxfunc.C (verboseDispatch): fix handling of arguments
13368
13369         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13370
13371         * lyxrc.C: use string::erase() instead of initializing to "".
13372
13373
13374 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13375
13376         * BufferView_pimpl.h:
13377         * BufferView_pimpl.C:
13378         * WorkArea.h:
13379         * WorkArea.C:
13380         * text2.C: tell X when we have made a selection for copying
13381
13382 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13383
13384         * BufferView_pimpl.C (MenuInsertLyXFile):
13385         * lyxfunc.C (menuNew):
13386         (open):
13387         (doImport): add shortcuts to directory buttons
13388
13389         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13390         open a float)
13391
13392         * lyxfunc.C (setStatusMessage):
13393         (getStatusMessage): new methods
13394         (getStatus):use setStatusMessage instead of setErrorMessage
13395         (dispatch): when function is disabled, set error message here
13396         [instead of in getStatus previously]
13397
13398         * BufferView_pimpl.C (workAreaButtonRelease): update
13399         toolbar/menubar here too.
13400
13401 2002-01-13  Allan Rae  <rae@lyx.org>
13402
13403         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13404         Now seems indestructible.  Remaining task is to audit all other
13405         code affected by deleteEmptyParagraphMechanism.  One small quirk
13406         left is that an empty document with an error in the preamble can
13407         be made to report an error but no error box appears.  I don't know
13408         where it goes.
13409         (removeAutoInsets): Improved comments.
13410
13411 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13412
13413         * Thesaurus.h:
13414         * Thesaurus.C: update for Aiksaurus 0.14
13415
13416 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13417
13418         * text2.C (firstParagraph): removed member function, all uses
13419         replaces with ownerParagraph
13420         (redoParagraphs): here
13421         (updateInset): here
13422         (toggleAppendix): here
13423         * BufferView2.C (insertErrors): here
13424         (setCursorFromRow): here
13425
13426 2002-01-13  Allan Rae  <rae@lyx.org>
13427
13428         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13429         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13430         There is still a way to segfault this although you may have to do this
13431         multiple times: Have an InsetERT with an unknown command in it.
13432         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13433         <down-arrow>, <Enter> again, View->DVI, BANG!
13434
13435         * text2.C (setCursor):
13436         (deleteEmptyParagraphMechanism):
13437         * lyxtext.h (setCursor):
13438         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13439         Making use of the return value may help fix other bugs.
13440
13441 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13442
13443         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13444
13445         * LyXView.C (updateMenubar): call MenuBar::update here
13446         (updateToolbar): but not here
13447         (showState): do not update toolbar/menubar
13448
13449         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13450         should need to care about that.
13451
13452         * lyxfunc.C (verboseDispatch): simplify a bit
13453         (getStatus): have a version which takes a pseudoaction, and
13454         another which requires a (kb_action,string).
13455
13456         * LyXAction.C (retrieveActionArg): make it work also when action
13457         is not a pseudo-action.
13458         (getActionName): simplify a bit
13459         (helpText):
13460
13461 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13462
13463         * lyxfunc.C (verboseDispatch): new families of methods with
13464         several ways to specify a command and a bool to indicate whether
13465         the command name and shortcut should be displayed in minibuffer
13466         (eventually, we could extend that to a finer bitmask like
13467         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13468         (dispatch): the pristine dispatch command which just, well,
13469         dispatchs! Note it still sets its result to minibuffer; I'm not
13470         sure we want that.
13471
13472         * lyxfunc.h: remove setHintMessage
13473
13474         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13475
13476 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13477
13478         * BufferView_pimpl.C (specialChar): delete new inset if we have
13479         not been able to insert it.
13480
13481         * kbmap.C: revert to using int instead of kb_action, since all we
13482         are dealing with is pseudo-actions.
13483
13484         * LyXAction.C (searchActionArg): change to return int instead of
13485         kb_action, since the result is a pseudoaction.
13486
13487 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13488
13489         * buffer.C (insertErtContents): Fix (partially) the font bug.
13490
13491 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13492
13493         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13494         as the other one is broken on my machine!
13495
13496 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13497
13498         * commandtags.h:
13499         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13500
13501 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13502
13503         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13504         reflect their actual use. Provide compatibility code for older lyxrc
13505         files.
13506
13507         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13508         FL_NORMAL_STYLE.
13509         change names of popup font variables in line with the changes to lyxrc.C
13510
13511 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13512
13513         * buffer.C (asciiParagraph): avoid outputing a word twice after
13514         an inset.
13515
13516         * lyxrc.C (getDescription): document that document_path and
13517         template_path can be empty.
13518
13519 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13520
13521         * LaTeXFeatures.C (getMacros):
13522         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13523
13524         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13525
13526         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13527         getPackages.
13528         (getPackages): rename feature "floats" to "float". Use an array to
13529         iterate over 'simple' features (i.e. just a \usepackage). Add
13530         handling of "amsmath" (renamed from "amsstyle").
13531
13532 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13533
13534         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13535         features list.
13536
13537 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13538
13539         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13540         FuncStaus::FuncStatus & FuncStaus::some_method().
13541
13542 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13543
13544         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13545         of the func_satus stuff. Edited and massaged in various ways by
13546         JMarc.
13547
13548         * lyxfunc.C (getStatus): use FuncStatus
13549
13550 2002-01-08  Juergen Vigna  <jug@sad.it>
13551
13552         * text.C (nextBreakPoint): use function Inset::isChar().
13553
13554         * paragraph.C (TeXOnePar): use function
13555         Inset::forceDefaultParagraphs.
13556
13557         * buffer.C (latexParagraphs): use function
13558         Inset::forceDefaultParagraphs.
13559
13560 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13561
13562         * lyx_gui.C (init): set the style of the menu popups to
13563         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13564
13565 2002-01-07  Juergen Vigna  <jug@sad.it>
13566
13567         * text.C (setHeightOfRow): small fix
13568         (prepareToPrint): don't look at alignment if we don't have the place
13569         for doing it.
13570
13571 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13572
13573         * box.C: New file. Move the Box methods and functions out of box.h,
13574         following Lars' suggestion.
13575
13576 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13577
13578         * box.h: #include "support/LOstream.h", needed for inlined function.
13579
13580         * lyxtextclass.C:
13581         * lyxtextclasslist.C: added some using std declarations.
13582
13583 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13584
13585         * box.h: make signed dimensions to allow insets wider than
13586           the screen (bug #162)
13587
13588         * BufferView_pimpl.C: add some insetHit debug
13589
13590 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13591
13592         * vc-backend.C: add FIXME
13593
13594 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13595
13596         * lyxfunc.C (getStatus): enable code for showing math font status
13597         in toolbar/menu.
13598
13599 2002-01-07  Juergen Vigna  <jug@sad.it>
13600
13601         * text.C (nextBreakPoint): removed debug output not needed anymore.
13602
13603 2002-01-06  Juergen Vigna  <jug@sad.it>
13604
13605         * text.C (nextBreakPoint): fixed up this function we had this bug
13606         since ever but now hopefully we break row better.
13607         (insertChar): we have to check if an inset is the next char as it
13608         could now happen that a large inset is causing a break.
13609
13610 2002-01-05  Juergen Vigna  <jug@sad.it>
13611
13612         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13613         if it doesn't like to be drawed.
13614
13615 2002-01-04  Juergen Vigna  <jug@sad.it>
13616
13617         * BufferView2.C (lockInset): forgot to set a cursor.
13618
13619         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13620
13621 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13622
13623         * FormMathsPanel.C:
13624         * FormMathsPanel.h
13625         * MathsSymbols.C:
13626         * form_maths_panel.C:
13627         * form_maths_panel.h:
13628         * form_maths_panel.fd: implemented sub- and super- buttons in math
13629         panel.
13630
13631         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13632         (or ^ space) to be used as in TeX (req'd by André).
13633
13634         * lyxfunc.C: Allow ^ and _ again to be used both as
13635         super/subscript (mathed) and as themselves (in text).
13636
13637 2002-01-03  Allan Rae  <rae@lyx.org>
13638
13639         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13640         "LyX" or the filename of the current buffer if it has one.  This is a
13641         modified form of John Levon's patch.
13642
13643         * XFormsView.C (setWindowTitle): also set icon title.
13644
13645         * LyXView.h (setWindowTitle): signature changed.
13646         * XFormsView.h (setWindowTitle): ditto.
13647
13648 2002-01-02  Juergen Vigna  <jug@sad.it>
13649
13650         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13651
13652 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13653
13654         * screen.C (topCursorVisible): introduce a temp var for
13655         text->cursor.row(), handle the case where this row is null. (kindo
13656         hachish)
13657
13658         * text2.C (setCursor): add a couple of asserts.
13659
13660         * paragraph.h (inset_iterator): add -> operator
13661
13662         * paragraph.[Ch] (autoDeleteInsets): remove member function
13663
13664         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13665         cursor pos correctly and handle inset deletion by itself.
13666         (insertErrors): move iterator declaration out of for expression
13667
13668         * lyxtextclass.C: add <algorithm>
13669
13670         * Makefile.am: added the new files to sources, removed layout.C
13671
13672         * layout.C: removed file
13673
13674         * layout.h: remove LYX_DUMMY_LAYOUT
13675
13676         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13677         layout.
13678
13679         * lyxlayout.[Ch]:
13680         * lyxtextclass.[Ch]:
13681         * lyxtextclasslist.[Ch]: new files
13682
13683         * include order changes to a lot of files, also changes because of
13684         the six new files.
13685
13686 2001-12-27  Juergen Vigna  <jug@sad.it>
13687
13688         * buffer.C (asciiParagraph): more fixes.
13689
13690         * tabular.C (ascii): make ascii export support export of only the
13691         data separated by a column-delimiter.
13692         (ascii): better support for ascii export.
13693
13694         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13695
13696 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13697
13698         * tabular_funcs.C: use a "using std::getline" instead of the
13699         previous fix from Angus (necessary for cxx + lyxstring)
13700
13701 2001-12-24  Juergen Vigna  <jug@sad.it>
13702
13703         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13704
13705         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13706         problems. First check a minipage also if we have some ert-contents
13707         (not only on par->size(), second set the right depth of the paragraph
13708         on the relink to the root-paragraph-list!
13709
13710         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13711         which then did not anymore update the main paragraphs on undo/redo!
13712
13713 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13714
13715         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13716         code. Support all font-changing funcs (even those which are not in
13717         menu currently). Support for reporting font settings in
13718         mathed (disabled until Andre provides a function on mathed's side).
13719
13720         * func_status.h (toggle): small helper function to set toggle
13721         state on a flag.
13722
13723 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13724
13725         * tabular_funcs.C: getline -> std::getline
13726
13727 2001-12-21  Juergen Vigna  <jug@sad.it>
13728
13729         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13730         accessed and could be 0 (I couldn't generate this but it seems
13731         Michael could!).
13732
13733 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13734
13735         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13736         * tabular_funcs.h: here and include iosfwd
13737
13738 2001-12-20  Juergen Vigna  <jug@sad.it>
13739
13740         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13741         inside inset but undo_par was.
13742
13743 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13744
13745         * Thesaurus.C: always include <config.h> in sources.
13746
13747         * Painter.h:
13748         * lyxlookup.h:
13749         * box.h: do not include <config.h> in header files
13750
13751         * text.C (paintLastRow): remove unused variable
13752
13753         * text.C (transformChar):
13754         (insertChar):
13755         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13756
13757         * Painter.C (text):
13758         * font.C (width): rewrite to use uppercase() instead of
13759         islower/toupper.
13760
13761         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13762
13763 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13764
13765         * lyxfind.C: clean up of find failure position change
13766
13767 2001-12-20  Juergen Vigna  <jug@sad.it>
13768
13769         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13770
13771         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13772         (TeXRow): added to LaTeX a single tabular row.
13773         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13774         (Latex): simplified and finally good LT-h/f support.
13775         (various_functions): just small adaptions for LT-h/f support.
13776
13777         * tabular_funcs.[hC]: added and moved here all not classfunctions
13778         of LyXTabular.
13779
13780 2001-12-19  Juergen Vigna  <jug@sad.it>
13781
13782         * tabular.[Ch]: better support for longtabular options (not finished
13783         yet!)
13784
13785 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13786
13787         * text.C (paintLastRow): use the label font instead of the font of
13788         the last character to compute the size of *_BOX. This makes more
13789         sense and avoids a crash with empty paragraphs.
13790         Use Painter::rectangle to draw EMPTY_BOX.
13791
13792 2001-12-19  Juergen Vigna  <jug@sad.it>
13793
13794         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13795         the paragraphs if the replaced paragraph is not the first one!
13796         Tried to delete not used paragraphs but does not work yet so for
13797         now it's inside #ifdef's and by default off!
13798
13799 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13800
13801         * MenuBackend.C: include "lyx_main.h" instead of declaring
13802         lastfiles (actually was declared as LastFiles* instead of a
13803         scoped_ptr).
13804
13805 2001-12-17  Juergen Vigna  <jug@sad.it>
13806
13807         * tabular.C (AppendColumn): applied John's fix
13808
13809 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13810
13811         * BufferView.h:
13812         * BufferView.C:
13813         * BufferView_pimpl.h:
13814         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13815
13816         * Makefile.am:
13817         * box.h: new start of class for above
13818
13819         * lyxfunc.C: ignore space-only minibuffer dispatches.
13820           Show the command name when it doesn't exist
13821
13822         * minibuffer.C: don't add empty lines to the history
13823
13824         * minibuffer.C: add a space on dropdown completion
13825
13826 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13827
13828         * text.C: fix line above/below drawing in insets
13829
13830 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13831
13832         * lyxlength.C (LyXLength): Initialize private variables.
13833
13834 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13835
13836         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13837         when inserting error insets.
13838
13839 2001-12-13  Juergen Vigna  <jug@sad.it>
13840
13841         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13842         actually sometimes the before-paragraph.
13843         (setUndo): don't clear the redostack if we're not actually undoing!
13844
13845 2001-12-06  Juergen Vigna  <jug@sad.it>
13846
13847         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13848         and fixed redoing of main paragraph, so we can use it now ;)
13849
13850         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13851
13852 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13853
13854         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13855         Juergen's request
13856
13857 2001-12-13  André Pönitz <poenitz@gmx.net>
13858
13859         * undostack.[Ch]:
13860         * undo_func.C: minor cleanup
13861
13862 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13863
13864         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13865         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13866         font in urw-fonts package which is marked as -urw-fontspecific and
13867         does not work (incidentally, changing the encoding in the
13868         fonts.dir of this package to -adobe-fontspecific fixes the
13869         problem).
13870
13871         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13872         is a crash when undoing first paragraph (Juergen, please take a
13873         look). THis does not mean the undo fix is wrong, just that it
13874         uncovers problems.
13875
13876         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13877         the (Paragraph*) version when needed instead of duplicating the
13878         code.
13879
13880         * text.C (workWidth): use Inset::parOwner to find out where the
13881         inset has been inserted. This is a huge performance gain for large
13882         documents with lots of insets. If Inset::parOwner is not set, fall
13883         back on the brute force method
13884
13885         * paragraph_pimpl.C (insertInset):
13886         * paragraph.C (Paragraph):
13887         (cutIntoMinibuffer): set parOwner of insets when
13888         inserting/removing them
13889
13890         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13891
13892 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13893
13894         * commandtags.h:
13895         * LyXAction.C:
13896         * lyx_main.C:
13897         * lyxfunc.C:
13898         * mathed/formulabase.C:
13899         * mathed/math_cursor.[Ch]:
13900         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13901
13902
13903 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13904
13905         * lyxlength.[Ch] (operator!=): new function
13906
13907 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13908
13909         * text.C (workWidth): use Inset::parOwner to find out where the
13910         inset has been inserted. This is a huge performance gain for large
13911         documents with lots of insets. If Inset::parOwner is not set, fall
13912         back on the brute force method
13913
13914         * paragraph_pimpl.C (insertInset):
13915         * paragraph.C (Paragraph):
13916         (cutIntoMinibuffer): set parOwner of insets when
13917         inserting/removing them
13918
13919         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13920
13921 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13922
13923         * tabular-old.C (getTokenValue):
13924         * tabular.C (getTokenValue):
13925         (write_attribute): new versions for LyXLength
13926         (everywhere): adjust the use of widths
13927
13928         * tabular.h: change the type of widths from string to LyXLength
13929
13930 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13931
13932         * paragraph.C: fixed missing line number count when exporting
13933         Environments to LaTeX file
13934
13935         * buffer.C: added informational message for checking line numbers.
13936
13937 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13938
13939         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13940         paragraph, do the 'double space' part, but not the 'empty
13941         paragraph' one.
13942
13943         * text.C (workWidth): small optimization
13944         (getLengthMarkerHeight): use minimal size for negative lengths.
13945
13946 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13947
13948         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13949
13950         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13951
13952 2001-12-11  André Pönitz <poenitz@gmx.net>
13953
13954         * FontLoader.C:
13955         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13956
13957 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13958
13959         * text2.C: keep selection on a setFont()
13960
13961 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13962
13963         * lyx_cb.C: another bv->text misuse, from insert label
13964
13965 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13966
13967         * kbsequence.h:
13968         * kbsequence.C: re-instate nmodifier mask
13969
13970 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13971
13972         * lyx_main.h: make lyxGUI private.
13973
13974 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13975
13976         * lyxfind.C: place the cursor correctly on failed search
13977
13978 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13979
13980         * text.C (getLengthMarkerHeight): for small heights, the arrows
13981         are not always on top/bottom of the text
13982         (drawLengthMarker): smaller arrows; take the left margin in
13983         account; draw also vfills.
13984         (paintFirstRow):
13985         (paintLastRow): remove special code for vfill and standard spaces,
13986         since everything is handled in drawLengthMarker now.
13987
13988 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13989
13990         * buffer.C (insertErtContents): try to handle font and language
13991         interaction a bit better.g
13992
13993         * ColorHandler.C (updateColor): change the hash to cover the whole
13994         LColor enum, ws cleanup
13995         (getGCLinepars): ditto
13996         (getGCLinepars): only lookup in the linecache once.
13997
13998 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13999
14000         * iterators.C (operator++): Make the iterator more robust
14001
14002         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14003         (John's patch)
14004         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14005
14006 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14007
14008         * lyxtext.h:
14009         * text.C: better added space drawing
14010
14011 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14012
14013         * LyXView.C:
14014         * BufferView2.C: fix layout combo update on inset unlock
14015
14016 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14017
14018         * Makefile.am: don't compile unused files
14019
14020 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14021
14022         * lyxfunc.C:
14023         * commandtags.h:
14024         * LyXAction.C: remove old LFUN_LAYOUTNO
14025
14026 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14027
14028         * paragraph_pimpl.h:
14029         * paragraph_pimpl.C: isTextAt() doesn't need font param
14030
14031 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14032
14033         * lyxlex.h:
14034         * lyxlex.C: little cleanup
14035
14036 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14037
14038         * BufferView_pimpl.C: fix insertAscii for insets
14039
14040 2001-12-05  Juergen Vigna  <jug@sad.it>
14041
14042         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14043         set the right font on the "multi" paragraph paste!
14044
14045 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14046
14047         * trans_decl.h:
14048         * trans_mgr.[Ch]:
14049         * trans.[Ch]:
14050         * lyxgluelength.C:
14051         * lyxlength.C: remove out-commented code.
14052
14053         * BufferView_pimpl:
14054         * CutAndPaste.C:
14055         * DepTable.C:
14056         * buffer.C:
14057         * chset.C:
14058         * lastfiles.C:
14059         * lyxlex.C:
14060         * lyxlex_pimpl.C:
14061         * lyxserver.C:
14062         * screen.C:
14063         * tabular-old.C:
14064         * tabular.C:
14065         * text.C:
14066         * trans_mgr.C:
14067         * vc-backend.C: change "while(" to "while ("
14068
14069         * lyxlength.[Ch]: add zero function to check if length is zero or
14070         not
14071         * lyxgluelength.C: use it
14072
14073 2001-12-05  Allan Rae  <rae@lyx.org>
14074
14075         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14076         Works for 2.95.3, from what I understand of Garst's reports this should
14077         work for other g++ versions.  We're screwed if the abs(int) definition
14078         changed between bugfix releases of gcc.
14079
14080 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14081
14082         * text.C: fix chapter label offset !
14083
14084 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14085
14086         * lyxtext.h:
14087         * text.C: fix hfill at end of line, clean up
14088
14089 2001-12-04  Juergen Vigna  <jug@sad.it>
14090
14091         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14092         that we force an update of the inset and it's owners if neccessary.
14093
14094 2001-12-03  Juergen Vigna  <jug@sad.it>
14095
14096         * text.C (rowLast): simplified code
14097
14098 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14099
14100         * lyxfunc.C: fix show options on timeout
14101
14102 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14103
14104         * screen.C (topCursorVisible): scroll half a page when the cursor
14105         reached top of bottom of screen
14106
14107 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14108
14109         * minibuffer.C: deactivate on loss of focus
14110
14111 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14112
14113         * vspace.[Ch] (operator!=): add operator.
14114
14115 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14116
14117         * BufferView_pimpl.C: refuse to open an inset when
14118         there's a selection.
14119
14120 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14121
14122         * BufferView_pimpl.C: allow to click on RHS of full row insets
14123
14124 2001-11-30  Juergen Vigna  <jug@sad.it>
14125
14126         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14127         insets for undo reasons.
14128
14129 2001-11-28  André Pönitz <poenitz@gmx.net>
14130
14131         * vspace.[Ch]: cosmetical changes
14132
14133 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14134
14135         * LyXAction.h:
14136         * LyXAction.C:
14137         * lyxfunc.h:
14138         * lyxfunc.C:
14139         * kbmap.h:
14140         * kbmap.C:
14141         * lyxrc.C:
14142         * kbsequence.h:
14143         * kbsequence.C: part re-write of old kb code
14144
14145         * Painter.C:
14146         * WorkArea.C: remove Lgb_bug_find_hack
14147
14148 2001-11-30  José Matos <jamatos@fep.up.pt>
14149
14150         * buffer.C (makeDocBookFile): add a comment to point a hack.
14151         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14152         Fixed a double write of labels.
14153
14154 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14155
14156         * LaTeX.C:
14157         * LaTeX.h Fixed bug in LaTeX class where it would not
14158         re-run latex if no depfiles were changed, but the .dvi was removed.
14159
14160 2001-11-28  André Pönitz <poenitz@gmx.net>
14161
14162         * all the files from the change on 2001/11/26:
14163         use lyx::layout_type instead of LyXTextClass::size_type
14164         use lyx::textclass_type instead of LyXTextClassList::size_type
14165
14166 2001-11-29  Juergen Vigna  <jug@sad.it>
14167
14168         * text.C: added support for paragraph::isFreeSpacing()
14169
14170         * buffer.C: same as above
14171
14172         * paragraph.h: inserted isFreeSpacing() function to enable
14173         FreeSpacing inside InsetERT.
14174
14175         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14176         of the paragraph's in the cut/copy buffer to 0!
14177
14178         * text2.C (removeRow): remove the assert as it can!
14179
14180         * lyxtext.h: added helper function firstRow returning firstrow and
14181         made firstrow private again.
14182
14183         * BufferView2.C (lockInset): don't relock if we're already locked!
14184
14185         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14186         the only paragraph.
14187         (removeRow): added Assert::(firstrow)
14188
14189         * debug.C: forgot to add INSETTEXT here.
14190
14191 2001-11-28  Juergen Vigna  <jug@sad.it>
14192
14193         * sp_spell.C (initialize): changed error text to more general
14194         spellchecker command use (not only ispell!)
14195
14196         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14197
14198         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14199
14200 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14201
14202         * vspace.C: initialise lyxgluelength on failure
14203
14204 2001-11-28  Allan Rae  <rae@lyx.org>
14205
14206         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14207         declaration & definition that looks like a function declaration.
14208
14209 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14210
14211         * BufferView2.C (copy):
14212         (copyEnvironment): do not clear the selection when doing a copy.
14213
14214         * text.C (paintFirstRow): compilation fix
14215
14216 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14217
14218         * tabular.C (Latex): correct line count when writing latex.
14219
14220 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14221
14222         * paragraph_pimpl.h:
14223         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14224           bug a bit
14225
14226 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14227
14228         * text.C:
14229         * LColor.h:
14230         * LColor.C: change vfillline->added_space
14231
14232         * text.C: add markers and text for added space
14233
14234         * vspace.C: fix comment
14235
14236 2001-11-28  André Pönitz <poenitz@gmx.net>
14237
14238         * paragraph.C: whitespace changes
14239         * all the other files from the change on 2001/11/26:
14240         change *::pos_type into lyx::pos_type
14241
14242 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14243
14244         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14245         language of the document when inserting error insets.
14246
14247 2001-11-26  André Pönitz <poenitz@gmx.net>
14248
14249         * BufferView_pimpl.[Ch]:
14250         *       CutAndPaste.C:
14251         * buffer.[Ch]:
14252         * lyxcursor.[Ch]:
14253         * lyxfind.C:
14254         * lyxfunc.C:
14255         * lyxrow.[Ch]:
14256         * paragraph.[Ch]:
14257         * paragraph_pimpl.[Ch]:
14258         * sp_spell.C:
14259         * text.C:
14260         * text2.C: reduce header dependencies, introduce type for positions
14261
14262 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14263
14264         * <various>: change to use Alert.h
14265
14266 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14267
14268         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14269         when encountering an unknown token.
14270         (readLyXformat2): Show an error message if there were unknown tokens.
14271
14272 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14273
14274         * BufferView2.C:
14275         * BufferView_pimpl.C:
14276         * buffer.C:
14277         * paragraph.h:
14278         * text.C:
14279         * text2.C: use par->isInset()
14280
14281 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14282
14283         * paragraph_pimpl.h:
14284         * paragraph_pimpl.C: cleanup
14285
14286 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14287
14288         * text2.C (removeRow):
14289         * text.C (setHeightOfRow): remove useless (and costly) call to
14290         getRow.
14291
14292 2001-11-20  Allan Rae  <rae@lyx.org>
14293
14294         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14295         Now need Inset*::checkInsertChar() to return true for appropriate
14296         cases so that the characters in the minibuffer will actually be
14297         inserted.
14298
14299 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14300
14301         * text.C: change the order of the includes.
14302         (workWidth): initialize it at once.
14303         (workWidth): make maxw unsigned
14304         (setHeightOfRow): remove unused variable (inset)
14305         (selectSelectedWord): remove unused variable (inset)
14306         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14307
14308 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14309
14310         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14311         server is not running.
14312         (openConnection):
14313         (closeConnection): add debug info when server is disabled.
14314
14315         * ColorHandler.C (getGCForeground): send debug message to GUI
14316         channel.
14317
14318         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14319
14320         * kbmap.C (bind): modify because return conventions of
14321         kb_sequence::parse have changed.
14322
14323         * kbsequence.C (parse): only ignore spaces and not any stupid
14324         control character. This avoids tests like s[i] <= ' ', which are
14325         guaranteed to fail with 8bit characters and signed chars.
14326         Change return code to string::npos when there have been no error
14327         (0 was a bad idea when error is at first character)
14328
14329 2001-11-14  José Matos  <jamatos@fep.up.pt>
14330
14331         * buffer.h:
14332         * buffer.C (simpleDocBookOnePar): removed unused argument.
14333
14334 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14335
14336         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14337         insets which are part of a word. Paragraph::isLetter takes care of
14338         that now. Use Paragraph::isInset to identify insets.
14339         (selectSelectedWord): do not test for hyphenation break.
14340
14341         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14342         that protected spaces are considered as spaces.
14343
14344         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14345         Inset::isLetter.
14346
14347 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14348
14349         * lyxserver.h:
14350         * lyxserver.C: fix it. and small cleanup.
14351
14352 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14353
14354         * BufferView_pimpl.C: use inline helpers
14355
14356         * LaTeXFeatures.h:
14357         * LaTeXFeatures.C: fix typos
14358
14359         * Spacing.h:
14360         * Spacing.C: move spacing_string into class
14361
14362         * ToolbarDefaults.C: move stuff into namespace anon
14363
14364         * layout.h: update enum
14365
14366         * lyxfunc.C: use better debug
14367
14368         * minibuffer.h: fix typo
14369
14370         * debug.h:
14371         * debug.C:
14372         * WorkArea.C: add and use Debug::WORKAREA
14373
14374         * lyxtext.h:
14375         * text.C:
14376         * text2.C: code re-organisation, inline helpers
14377
14378 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14379
14380         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14381         std::vector.empty().
14382
14383 2001-11-09  Allan Rae  <rae@lyx.org>
14384
14385         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14386         '\n's after tables.  Tabular and ERT inset work now makes this no
14387         longer necessary.
14388
14389 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14390
14391         * minibuffer.h:
14392         * minibuffer.C: fix crash, improve drop-down completion
14393
14394 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14395
14396         * lyxserver.h:
14397         * lyxserver.C: invalidate fd's when doing endPipe()
14398
14399 2001-11-08  José Matos  <jamatos@fep.up.pt>
14400
14401         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14402         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14403
14404         * paragraph.h:
14405         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14406
14407 2001-11-07  José Matos  <jamatos@fep.up.pt>
14408
14409         * buffer.h:
14410         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14411         const qualifier.
14412
14413         * buffer.C (sgmlOpenTag):
14414         * buffer.C (sgmlCloseTag): removed debug info.
14415
14416         * buffer.h (sgmlOpenTag):
14417         * buffer.h (sgmlCloseTag): made public.
14418
14419 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14420
14421         * buffer.C (saveParamsAsDefaults):
14422         * lyx_cb.C (MenuLayoutSave): remove
14423
14424         * LyXAction.C (init):
14425         * commandtags.h:
14426         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14427
14428 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14429
14430         * buffer.C (setPaperStuff): removed from here...
14431
14432         * bufferparams.C (setPaperStuff): ... and moved there.
14433
14434 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14435
14436         * minibuffer.h:
14437         * minibuffer.C:
14438         * XFormsView.C: add support for drop-down completion
14439
14440 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14441
14442         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14443         commands.
14444
14445 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14446
14447         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14448         disabled.
14449
14450 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14451
14452         * lyx_main.C: change ref to known bugs
14453
14454 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14455
14456         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14457         to work around older babel problems.
14458
14459 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14460
14461         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14462
14463 2001-10-24  Juergen Vigna  <jug@sad.it>
14464
14465         * tabular-old.C (ReadOld): below variable changes reflected.
14466
14467         * tabular.[Ch]: added ltType struct for longtable header/footer
14468         defines and changed all instances where they are used. Added
14469         future support for double top/bottom rows.
14470
14471 2001-10-24  José Matos  <jamatos@fep.up.pt>
14472
14473         * buffer.h (docbookHandleCaption):
14474         * buffer.C (docbookHandleCaption): removed unused function.
14475         (makeDocBookFile): moved docbook supported version to v4.1.
14476
14477 2001-10-24  José Matos  <jamatos@fep.up.pt>
14478
14479         * tabular.h:
14480         * tabular.C (docbookRow): new function to export docbook code of a row.
14481         (DocBook): now honors the longtable flags.
14482
14483 2001-10-23  José Matos  <jamatos@fep.up.pt>
14484
14485         * LaTeXFeatures.h:
14486         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14487         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14488
14489         * buffer.C (makeLinuxDocFile):
14490         (makeDocBookFile): reworked the preamble, more clean, and with
14491         support for lyx defined entities. Changed the document declaration
14492         to be more XML friendly.
14493
14494         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14495         if we need to output XML that should be done with a filter.
14496
14497 2001-10-22  Juergen Vigna  <jug@sad.it>
14498
14499         * sp_pspell.h (class PSpell): add alive function needed in the
14500         controller to see if the spellchecker could be started.
14501
14502 2001-10-22  Juergen Vigna  <jug@sad.it>
14503
14504         * buffer.C (insertStringAsLines): modify the font for inserting
14505         chars in certain conditions by calling checkInsertChar(font).
14506
14507 2001-10-19  Juergen Vigna  <jug@sad.it>
14508
14509         * text.C (workWidth): use getRow instead of wrong algorithm.
14510         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14511
14512 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14513
14514         * lyxserver.h:
14515         * lyxserver.C:
14516         * lyx_main.h:
14517         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14518
14519 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14520
14521         * text.C (workWidth): do not search for the exact row when
14522         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14523         optimization for big documents.
14524
14525 2001-10-18  Juergen Vigna  <jug@sad.it>
14526
14527         * text.C (workWidth): new function with added Inset * parameter.
14528
14529 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14530
14531         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14532
14533         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14534         change return type of getColumnNearX.
14535
14536
14537         * text.C (changeRegionCase): use uppercase/lowercase instead of
14538         toupper/tolower.
14539         (leftMargin):
14540         (rightMargin): simplify code by factoring out the uses of
14541         textclasslist.
14542         (labelFill):
14543         (numberOfHfills):
14544         (setHeightOfRow):
14545         (appendParagraph): use Paragraph::size_type
14546
14547 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14548
14549         * vspace.C (asLatexString): add a missing break
14550
14551 2001-10-15  Herbert Voss  <voss@perce.de>
14552
14553         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14554
14555 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14556
14557         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14558         is not available.
14559
14560 2001-10-10  André Pönitz <poenitz@gmx.net>
14561
14562         * lyxfunc.C: removed greek_kb_flag.
14563
14564 2001-10-10  Herbert Voss  <voss@perce.de>
14565
14566         * lyx_main.C: delete global string help_lyxdir.
14567
14568 2001-10-09  Herbert Voss  <voss@perce.de>
14569
14570         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14571
14572         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14573
14574         * lyx_main.C: added global string help_lyxdir.
14575
14576         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14577
14578 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14579
14580         * lyxrc.C (set_font_norm_type): support iso8859-4
14581
14582 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14583
14584         * LaTeX.C (deplog): add another regex for MikTeX
14585
14586 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14587
14588         * lyxrc.C (set_font_norm_type): support iso8859-3
14589
14590 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14591
14592         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14593
14594         * LaTeXFeatures.C: remove special case of french and index
14595
14596         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14597         before \begin{document}). This solves several incompatibilities.
14598
14599 2001-10-03  Garst Reese  <reese@isn.net>
14600
14601         * lyx_cb.C: change CheckTex error msg.
14602
14603 2001-10-03  José Matos  <jamatos@fep.up.pt>
14604
14605         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14606
14607 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14608
14609         * .cvsignore: update
14610
14611         * lyx_main.C (commandLineVersionInfo): use new style version info.
14612
14613         * buffer.C (writeFile):
14614         (makeLaTeXFile):
14615         (makeLinuxDocFile):
14616         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14617
14618         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14619
14620         * version.h: update to use stuff in version.C
14621
14622         * version.C.in: new file. Contains version information determined
14623         at compile time. This is a merging of version.h and
14624         version_info.h.in.
14625
14626 2001-10-03  Juergen Vigna  <jug@sad.it>
14627
14628         * BufferView_pimpl.C (update): don't change "dirty" status in
14629         updateInset call.
14630
14631 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14632
14633         * WorkArea.C (c-tor): re-position version string slightly.
14634
14635 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14636
14637         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14638         revert to previous code.
14639
14640         WorkArea.[Ch]: (show, destroySplash): methods removed.
14641
14642         WorkArea.C: rework code so that it's an amalgam of the codes before and
14643         after the splash screen was moved to WorkArea.
14644
14645 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14646
14647         * lyxrc.C (read):
14648         * vspace.C (inPixels):
14649         (lyx_advance):
14650         * kbmap.C (bind):
14651         * buffer.C (insertStringAsLines):
14652         (asciiParagraph): fix types to be large enough
14653
14654         * lyxlex_pimpl.h: change member status from short to int
14655
14656         * layout.h: fix type of endlabeltype
14657
14658         * kbmap.C (bind):
14659         * kbsequence.C (parse): change return type to string::size_type
14660
14661         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14662         variable
14663
14664         * Bullet.C (bulletSize):
14665         (bulletEntry): do not use short ints as parameters
14666
14667         * BufferView2.C (insertLyXFile): change a char to an int.
14668
14669         * WorkArea.C (WorkArea): remove unneeded floats in computation
14670
14671 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14672
14673         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14674
14675         * paragraph.C (asString): Do not ignore newline/hfill chars when
14676         copying to the clipboard.
14677
14678 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14679
14680         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14681         after a multi-line inset.
14682
14683 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14684
14685         * paragraph.C (validate): Set NeedLyXFootnoteCode
14686
14687 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14688
14689         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14690         and decrease-error to decrease.
14691
14692 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14693
14694         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14695         it more readable (should be equivalent)
14696
14697 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14698
14699         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14700
14701 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14702
14703         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14704         of a cursor (row, etc.) after a character has been deleted
14705         (deleteEmptyParagraphMechanism): call the method above on _all_
14706         cursors held by the LyXText when a double space has been
14707         detected/deleted.
14708
14709 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14710
14711         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14712         pixmap.
14713         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14714
14715         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14716         background. Use greyOut() and the new show() methods to toggle between
14717         the foreground and background. Add code to remove the splash after
14718         its initial showing.
14719
14720         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14721         (create_forms): no longer call Dialogs::showSplash.
14722
14723 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14724
14725         * .cvsignore: add version_info.h
14726
14727 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14728
14729         * version_info.h.in: new file
14730
14731         * Makefile.am: add version_info.h.in
14732
14733         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14734         version_info.h instead of VERSION_INFO
14735
14736 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14737
14738         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14739         The ERT inset now returns string().
14740
14741 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14742
14743         * lyxtext.h, text.C (selectNextWord): renamed as
14744         selectNextWordToSpellcheck.
14745
14746         * text.C (selectNextWordToSpellcheck): Modified to not select
14747         words inside an ERT inset.
14748
14749 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14750
14751         * lyx_cb.C (MenuLayoutSave): change a bit the question
14752
14753         * sp_base.h: include <sys/types.h>
14754
14755 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14756
14757         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14758
14759 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14760
14761         * several files: fix typos in user-visible strings
14762
14763 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14764
14765         * text2.C (pasteSelection): do not set the selection, since it
14766         will be cleared later. Actually, the intent was to fix the way the
14767         selection was set, but I figured rmoving the code was just as good.
14768
14769 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14770
14771         * FontLoader.C (available): Check if font is available without
14772         loading the font.
14773
14774 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14775
14776         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14777
14778 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14779
14780         * lyxrc.[Ch]: added display_graphics variable and associated code.
14781
14782 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14783
14784         * bufferparams.C (hasClassDefaults): new method. Returns true if
14785         the buffer parameters correspond to known class defaults
14786
14787 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14788
14789         * XFormsView.C (show): set minimum size to the main window.
14790
14791 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14792
14793         * text2.C (copySelection):
14794         (cutSelection):
14795         * lyxfind.C (LyXReplace):
14796         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14797         LyXText::selectionAsString.
14798
14799         * paragraph.C (asString): add "label" argument to the second form
14800
14801         * text2.C (selectionAsString): add "label" argument and pass it to
14802         Paragraph::asString.
14803
14804 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14805
14806         * lyx_main.C (commandLineHelp): remove version information
14807
14808 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14809
14810         * lyx_main.C: add -version commandline option
14811
14812 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14813
14814         * paragraph.h: make the optional constructor arg required instead.
14815         some modifications to other files because of this.
14816
14817         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14818
14819         * lyxserver.C (C_LyXComm_callback): make it static
14820
14821         * lyx_main.C (error_handler): make it static
14822
14823         * lyx_gui.C (LyX_XErrHandler): make it static
14824
14825         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14826
14827         * WorkArea.C: make the extern "C" methods static.
14828
14829         * Makefile.am (lyx_LDADD): simplify
14830
14831 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14832
14833         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14834         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14835
14836         * LyXAction.C (init):
14837         * lyxfunc.C (dispatch): associated code removal.
14838
14839 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14840
14841         * lyxfont.h (isSymbolFont): shut off warning
14842
14843         * text.C (setHeightOfRow):
14844         (getVisibleRow): fix crash with empty paragraphs which have a
14845         bottom line
14846
14847 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14848
14849         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14850         code.
14851
14852 2001-09-04  José Matos  <jamatos@fep.up.pt>
14853         * buffer.C
14854         * buffer.h
14855         * tabular.C (docbook): rename docBook method to docbook.
14856
14857 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14858
14859         * Makefile.am: add dependencies to main.o.
14860
14861 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14862
14863         * FontLoader.C (available): Return false if !lyxrc.use_gui
14864
14865 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14866
14867         * FontInfo.C (query):
14868         * converter.C (view):
14869         * importer.C (Import):
14870         * exporter.C (Export): Can not -> cannot.
14871
14872 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14873
14874         * BufferView_pimpl.C: allow to create index inset even if
14875           string is empty
14876
14877 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14878
14879         * buffer.C (getLists): replace boost::tie code with an explicit pair
14880         as boost::tie can break some compilers.
14881
14882         * iterators.h: Added a std:: declaration to the return type of
14883         ParIterator::size.
14884
14885 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14886
14887         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14888           case.
14889
14890 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14891
14892         * iterators.[Ch]: New files. Provide paragraph iterators.
14893
14894         * buffer.C (changeLanguage): Use paragraph iterators.
14895         (isMultiLingual): ditto
14896
14897         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14898
14899 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14900
14901         * FontLoader.C: Support for cmr font.
14902
14903 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14904
14905         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14906         (available): New method.
14907
14908         * FontInfo.C (getFontname): Use scalable fonts even when
14909         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14910         found.
14911
14912 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14913
14914         * converter.C (Formats::view): reverted! Incorrect fix.
14915
14916 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14917
14918         * converter.C (Formats::view): only output the -paper option
14919         if the dvi viewer is xdvi, thereby fixing bug #233429.
14920
14921 2001-08-23  Herbert Voss  <voss@perce>
14922
14923         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14924
14925 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14926
14927         * Spacing.h (Spacing): Set space to Default on in the default
14928         constructor.
14929
14930 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14931
14932         * vc-backend.h (RCS::versionString): add RCS to version
14933         (CVS::versionString): add CVS to version
14934
14935         * vc-backend.C (scanMaster): do not add CVS to version.
14936         (scanMaster): do not add RCS to version
14937
14938         * lyxvc.C (versionString): new method
14939
14940         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14941
14942 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14943
14944         * Spacing.C (set): initialize fval
14945
14946 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14947
14948         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14949         " or \.
14950
14951 2001-08-16  Juergen Vigna  <jug@sad.it>
14952
14953         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14954
14955 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14956
14957         * BufferView_pimpl.C:
14958         * figureForm.C:
14959         * lyxtext.h:
14960         * text2.C: setParagraph takes linespacing now
14961
14962 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14963
14964         * LyxAction.C: add internal LFUN_CITATION_INSERT
14965
14966         * LyXView.C: actually apply fix
14967
14968         * bufferlist.C: fix open non-existent file
14969
14970         * lyxfind.C: fix indentation
14971
14972         * lyxfunc.C: remove unneeded assert, fix typo
14973
14974 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14975
14976         * MenuBackend.C: use "Floatname List"
14977
14978 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14979
14980         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14981         when converting LaTeX layout to insetERT.
14982         Generate a non-collapsed float when reading old float
14983
14984 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14985
14986         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14987         ERT insets.
14988
14989 2001-08-13  Juergen Vigna  <jug@sad.it>
14990
14991         * text.C (fill): return 0 instead of 20 as this seems to be the more
14992         correct value.
14993
14994 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14995
14996         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14997         lyxrc.font_norm.
14998
14999 2001-08-13  Juergen Vigna  <jug@sad.it>
15000
15001         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15002         casesensitive off.
15003         (SearchBackward): comment out the unlocking of the inset_owner this
15004         should not be needed!
15005
15006 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15007
15008         * Many files: Remove inherit_language, and add latex_language
15009
15010         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15011         collapsible insets.
15012
15013 2001-08-10  Juergen Vigna  <jug@sad.it>
15014
15015         * text.C (prepareToPrint): fixed hfill-width in draw!
15016
15017         * BufferView2.C (selectLastWord): save the selection cursor as this
15018         now is cleared in the function LyXText::clearSelection!
15019
15020 2001-08-08  Juergen Vigna  <jug@sad.it>
15021
15022         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15023         BACKSPACE type functions.
15024
15025         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15026         is only cutted from the document but not put in the cut-buffer, where
15027         still the old stuff should be.
15028
15029         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15030
15031         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15032
15033         * tabular.C (SetWidthOfCell): fixed special case where the width
15034         was not updated!
15035         (LeftLine): handle '|' in align_special.
15036         (RightLine): ditto
15037         (LeftAlreadyDrawed): ditto
15038         (SetWidthOfCell): ditto
15039
15040 2001-08-07  Juergen Vigna  <jug@sad.it>
15041
15042         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15043
15044 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15045
15046         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15047         * lyxlex.[hC]: ditto
15048
15049 2001-08-06  Juergen Vigna  <jug@sad.it>
15050
15051         * text.C (getVisibleRow): fix up row clearing a bit.
15052
15053 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15054
15055         * minibuffer.C: make sure the X server sees the changes in the input.
15056
15057 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15058
15059         * paragraph.C (getFont): split into...
15060         (getLabelFont): this
15061         (getLayoutFont): and this
15062         * paragraph_pimpl.C (realizeFont): calling this
15063
15064         * text2.C (getFont): split into...
15065         (getLayoutFont): this
15066         (getLabelFont): and this
15067         (realizeFont): all three calling this
15068
15069         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15070         files where used.
15071
15072 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15073
15074         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15075
15076 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15077
15078         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15079         layouts from the Quote inset insertion.
15080
15081 2001-08-03  Juergen Vigna  <jug@sad.it>
15082
15083         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15084
15085         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15086         only if status not is already CHANGED_IN_DRAW (second level).
15087
15088         * text.C (draw): don't set the need_break_row when inside an
15089         InsetText LyXText.
15090
15091 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15092
15093         * buffer.C (parseSingleLyXformat2Token): handle more latex
15094         conversion cases.
15095
15096         * bufferview_funcs.[hC]: change function names to
15097         begin with small char, adjust other files.
15098
15099 2001-08-02  André Pönitz <poenitz@gmx.net>
15100
15101         * lyxfunc.C:
15102         BufferView_pimpl.C: remove broken special code for math-greek
15103
15104 2001-08-02  Juergen Vigna  <jug@sad.it>
15105
15106         * BufferView_pimpl.C (update): redone this function so that we
15107         update the text again if there was a CHANGE_IN_DRAW.
15108
15109         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15110         (drawFromTo): added a new internal bool which is used by draw() and
15111         redraw() function.
15112         (general): some cursor drawing problems fixed.
15113
15114 2001-08-01  Juergen Vigna  <jug@sad.it>
15115
15116         * lyxfind.C (LyXFind): fixed
15117         (SearchForward): ditto
15118         (SearchBackward): ditto
15119
15120         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15121         spurius drawing of the cursor in the main area.
15122
15123         * text2.C (status): small fix which could lead to a segfault!
15124         (clearSelection): remove unneeded BufferView param.
15125
15126 2001-08-01  André Pönitz <poenitz@gmx.net>
15127
15128         * lyxfunc.C: small change due to changed mathed interface
15129
15130 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15131
15132         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15133
15134 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15135
15136         * lyxfunc.c: fail gracefully if file doesn't exist
15137
15138         * LyXSendto.C:
15139         * buffer.C:
15140         * lyxfunc.C:
15141         * BufferView_pimpl.C: IsDirWriteable() proto changed
15142
15143         * LyXView.C: fix updateWindowTitle() to store the last title
15144
15145 2001-07-31  Juergen Vigna  <jug@sad.it>
15146
15147         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15148         the font (wrong since using of Paragraph::highestFontInRange).
15149
15150         * paragraph.C (highestFontInRange): added a default_size parameter.
15151
15152         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15153         (setHeightOfRow): reformat
15154
15155 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15156
15157         * converter.[hC] + affected files: move to (inital-char)lowercase
15158         function names.
15159
15160         * ParagraphParameters.C (ParagraphParameters): remove commented code
15161
15162         * PainterBase.[Ch]: remove commented code
15163
15164         * LaTeXFeatures.h: add "bool floats" for float.sty
15165
15166         * LaTeXFeatures.C (LaTeXFeatures): init floats
15167         (require): handle float
15168         (getPackages): do it with floats
15169
15170 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15171
15172         * BufferView_pimpl.C (Dispatch): improve handling of
15173         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15174
15175         * commandtags.h: #include lyxfont.h here temporarily to avoid
15176         keybinding bug.
15177
15178         * bufferlist.h: include LString.h here.
15179
15180 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15181
15182         * text2.C (getStringToIndex): new method.
15183
15184 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15185
15186         * *: Reduced header file dependencies all over.
15187
15188 2001-07-30  Baruch Even  <baruch@lyx.org>
15189
15190         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15191
15192 2001-07-29  Baruch Even  <baruch@lyx.org>
15193
15194         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15195
15196 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15197
15198         * ParameterStruct.h (endif): add a default constructor to make
15199         sure that all variables is initialized.
15200
15201         * ParagraphParameters.C (ParagraphParameters): adjust
15202
15203 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15204
15205         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15206         index; also, check that there is something to index, and that it
15207         does not span over several paragraphs.
15208         (doubleClick): use WHOLE_WORD_STRICT for double click.
15209
15210         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15211
15212         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15213         scheme.
15214
15215 2001-07-26  Baruch Even  <baruch@lyx.org>
15216
15217         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15218         an InsetFig figure, backwards compatible reading of old figure code.
15219
15220 2001-07-27  Juergen Vigna  <jug@sad.it>
15221
15222         * text2.C: font.realize function adaption.
15223
15224         * text.C (draw): add a warnings lyxerr text if needed.
15225
15226         * layout.C: font.realize function adaption.
15227
15228         * language.C: add inherit_language and implement it's handlings
15229
15230         * bufferview_funcs.C (StyleReset): remove language parameter from
15231         font creation (should be language_inherit now).
15232
15233         * bufferparams.C (writeFile): handle ignore_language.
15234
15235         * paragraph.C (getFontSettings): the language has to be resolved
15236         otherwise we have problems in LyXFont!
15237
15238         * lyxfont.C (lyxWriteChanges): added document_language parameter
15239         (update): removed unneeded language parameter
15240
15241         * paragraph.C (validate): fixed wrong output of color-package when
15242         using interface colors for certain fonts in certain environments,
15243         which should not seen as that on the final output.
15244
15245 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15246
15247         * BufferView_pimpl.C:
15248         * Thesaurus.h:
15249         * Thesaurus.C:
15250         * Makefile.am:
15251         * commandtags.h:
15252         * LyXAction.C: add thesaurus support
15253
15254         * lyxfind.h:
15255         * lyxfind.C: add "once" parameter, for thesaurus, to not
15256           move to the next match
15257
15258 2001-07-26  Juergen Vigna  <jug@sad.it>
15259
15260         * lyxfont.C (realize): honor ignore_language too!
15261         (resolved): ditto.
15262
15263         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15264
15265         * text.C (draw): one place more for ignore_language to not draw
15266         itself!
15267
15268 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15269
15270         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15271
15272 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15273
15274         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15275         the minipage conversion problem.
15276
15277 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15278
15279         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15280         insert an inset.
15281
15282 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15283
15284         * BufferView.h: don't forward declare WorkArea
15285
15286         * BufferView.C: don't include WorkArea.h
15287
15288 2001-07-25  André Pönitz <poenitz@gmx.net>
15289
15290         * commandtags.h:
15291         * LyXAction.C:
15292         * lyxfunc.C:  new LFUN 'math-space'
15293
15294         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15295
15296 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15297
15298         * text2.C (toggleInset): call open/close
15299
15300 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15301
15302         * lyxfunc.C (dispatch): add debug for the disabled case
15303
15304         * font.C (buttonText): make similar to rectText
15305
15306         * buffer.C (readInset): comment out parsing of insetlist and
15307         insttheorem
15308
15309         * PainterBase.C (rectText): small correction
15310
15311         * BufferView_pimpl.C: comment out insettheorem and insetlist
15312         * LyXAction.C: ditto
15313         * commandtags.h: ditto
15314
15315 2001-07-24  Juergen Vigna  <jug@sad.it>
15316
15317         * text.C (draw): honor the ignore_language.
15318
15319         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15320
15321 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15322
15323         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15324         char inset.
15325
15326 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15327
15328         * lyxtext.h: remove unused (and unimplemented) methods
15329
15330 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15331
15332         * text.C (getVisibleRow): honor background color
15333
15334         * PainterBase.h:
15335         * Painter.h: remove default color argument for fillRectangle
15336
15337         * text.C (backgroundColor): new method
15338
15339 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15340
15341         * text.C (getVisibleRow): adjust
15342
15343         * font.[Ch] (rectText): new method, metrics
15344         (buttonText): new method, metrics
15345
15346         * PainterBase.[hC]: make rectText and buttonText always draw and take
15347         fewer paramteres.
15348
15349 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15350
15351         * ToolbarDefaults.C (read):
15352         * MenuBackend.C (read): allow escaping in all strings
15353
15354         * BufferView_pimpl.C (insertAndEditInset): new method.
15355         (Dispatch): use insertAndEditInset whenever appropriate.
15356
15357         * BufferView_pimpl.C (insertNote): removed
15358
15359         * BufferView_pimpl.C (smartQuote): new method, moved from
15360         BufferView; if an insetquote cannot be inserted, insert a '"'
15361         character instead.
15362
15363         * BufferView2.C: remove insertCorrectQuote();
15364
15365         * lyxfunc.C (getStatus): Add support for all remaingin
15366         inset-insert lfuns.
15367
15368         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15369
15370         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15371         command (necessary to pass " as parameter of self-insert.
15372
15373         * text.C (selectWordWhenUnderCursor):
15374         (selectWord): add word_location parameter
15375         (selectWordWhenUnderCursor): same + remove special code for word
15376         boundary.
15377         (selectNextWord): use kind() to guess type of insetspecialchar,
15378         not latex().
15379
15380         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15381         (insertErtContents): create ert insets as collapsed.
15382         (readInset): better compatibility code for Info inset.
15383
15384 2001-07-20  Juergen Vigna  <jug@sad.it>
15385
15386         * lyxfunc.C (dispatch): use always LyXFind now!
15387
15388         * text2.C (init): add a reinit flag so that the LyXText can be
15389         reinited instead of deleted and reallocated (used in InsetText).
15390
15391         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15392
15393         * text.C: ditto
15394
15395         * text2.C: ditto
15396
15397 2001-07-18  Juergen Vigna  <jug@sad.it>
15398
15399         * text.C (selectNextWord): handle insets inside inset by calling
15400         always the bv->text functions so that we can go up the_locking_inset!
15401
15402         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15403         in strange locations when inside an inset!
15404
15405         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15406         handling to include insets.
15407
15408         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15409
15410 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15411
15412         * LyXAction.C (init):
15413         * commandtags.h:
15414         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15415         LIGATURE_BREAK, since the name is so stupid.
15416
15417 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15418
15419         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15420         InsetInfos.
15421
15422         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15423
15424         * sp_form.[Ch]: remove.
15425
15426         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15427
15428         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15429         InsetInfo.
15430
15431         * src/buffer.C (readInset): ditto.
15432
15433 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15434
15435         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15436         menuSeparator(), endOfSentenceDot(), ldots() and
15437         hyphenationPoint(), which are therefore removed.
15438         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15439
15440         * LyXAction.C (init):
15441         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15442
15443         * paragraph.C (getWord): removed.
15444
15445         * BufferView_pimpl.C (Dispatch): use last word or selection for
15446         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15447
15448         * lyx_main.C (queryUserLyXDir): do not ask before creating
15449         user_dir, except if it has been named explicitely.
15450
15451 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15452
15453         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15454         a document of zero size.
15455
15456 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15457
15458         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15459         approriately in the c-tor and in require().
15460         (getPackages): output the appropriate LaTeX for natbib support.
15461
15462         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15463         variables "use_natbib" and "use_numerical_citations" when reading the
15464         LyX file.
15465         (readInset): read the various natbib cite commands.
15466         (validate): white-space change.
15467
15468         * bufferparams.[Ch]: new variables "bool use_natbib" and
15469         "bool use_numerical_citations".
15470         (writeFile): output them in the LyX file.
15471
15472 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15473
15474         * lyxfunc.C (getStatus): add support for all the inset insertion
15475         commands.
15476
15477         * text2.C (insertInset):
15478         * paragraph.C (insetAllowed):
15479         * BufferView_pimpl.C (insertInset): update to take in account the
15480         renaming of insertInsetAllowed
15481
15482         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15483
15484         * text2.C (getInset): new method. returns inset at cursor position.
15485
15486         * BufferView_pimpl.C (Dispatch): changes because of this.
15487
15488         * LyXAction.C (init): rename open-stuff to inset-toggle.
15489
15490         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15491
15492         * text2.C (toggleInset): renamed from openStuff; use
15493         Inset::open().
15494
15495 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15496
15497         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15498
15499         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15500
15501 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15502
15503         * buffer.C (readLyXformat2): Add filename to the error dialog
15504
15505 2001-07-18  Juergen Vigna  <jug@sad.it>
15506
15507         * tabular.C (GetCellNumber): put an assert here instead of the check!
15508
15509 2001-07-17  Juergen Vigna  <jug@sad.it>
15510
15511         * BufferView_pimpl.C (toggleSelection): adapted too.
15512
15513         * text.C (selectNextWord): adapted for use with insets.
15514         (selectSelectedWord): ditto
15515
15516 2001-07-17  Juergen Vigna  <jug@sad.it>
15517
15518         * sp_spell.C (PSpell): fix initialitation order.
15519
15520 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15521
15522         * paragraph.C: spacing
15523
15524 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15525
15526         * sp_spell.C: repair language selection for pspell
15527
15528 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15529
15530         * lyxfunc.h: change more methods to begin with lower char.
15531
15532 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15533
15534         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15535         for unknown layouts.
15536
15537 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15538
15539         * buffer.C (readLyXformat2): Generate an error dialog if there are
15540         unknown layouts.
15541
15542 2001-07-16  Juergen Vigna  <jug@sad.it>
15543
15544         * sp_spell.C: always compile ISpell part.
15545
15546         * lyxrc.C: added use_pspell entry and it's handling.
15547
15548 2001-07-13  Juergen Vigna  <jug@sad.it>
15549
15550         * sp_spell.C: removed double includes.
15551
15552 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15553
15554         Consistent use of Lsstream.h:
15555         * Lsstream.h: added using std::stringstream for consistencies sake.
15556
15557         * buffer.C: removed using std::stringstream
15558
15559         * lyxfont.C (stateText):
15560         * paragraph.C (asString):
15561         * text.C (selectNextWord, selectSelectedWord):
15562         * text2.C (setCounter):
15563         * vspace.C (asString, asLatexString):
15564         std::ostringstream -> ostringstream.
15565
15566 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15567
15568         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15569         * commandtags.h: add LFUN_HELP_ABOUTLYX
15570         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15571
15572 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15573
15574         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15575         cursorToggle()
15576         * lyx_gui_misc.C: remove spellchecker
15577         * lyxfunc.C: showSpellchecker
15578         * sp_base.h: added
15579         * sp_ispell.h: added
15580         * sp_pspell.h: added
15581         * sp_spell.C: added
15582         * sp_form.[Ch]: removed
15583         * spellchecker.[Ch]: removed
15584
15585 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15586
15587         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15588         is set.
15589         (simpleTeXSpecialChars): Simply print the input character without
15590         any special translation if pass_thru is set.
15591
15592         * layout.h: Added bool pass_thru to layout class for being able to
15593         implement pass through of a paragraph for Literate Programming.
15594
15595         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15596         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15597         * layout.C (Read): add "passthru" to list of layout tags and add
15598         code to set the pass_thru boolean when it is read.
15599
15600 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15601
15602         * trans_decl.h: remove allowed from KmodInfo
15603
15604         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15605         remove allowed code
15606         (Load): adjust
15607
15608         * paragraph_pimpl.C (erase): use boost::prior
15609
15610         * Painter.C (text): use data() instead of c_str() when length is
15611         also provided.
15612         * WorkArea.C (putClipboard): ditto
15613         * font.h (width): ditto
15614
15615         * BufferView2.C: use it-> instead of (*it). for iterators
15616         * texrow.C: ditto
15617         * paragraph_pimpl.C: ditto
15618         * paragraph.C: ditto
15619         * minibuffer.C: ditto
15620         * language.C: ditto
15621         * kbmap.C: ditto
15622         * encoding.C: ditto
15623         * counters.C: ditto
15624         * converter.C: ditto
15625         * chset.C: ditto
15626         * Variables.C: ditto
15627         * TextCache.C: ditto
15628         * MenuBackend.C: ditto
15629         * LyXAction.C: ditto
15630         * LColor.C: ditto
15631         * FloatList.C: ditto
15632         * DepTable.C: ditto
15633         * ColorHandler.C (LyXColorHandler): ditto
15634
15635 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15636
15637         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15638
15639         * text2.C (openStuff): reintroduce this method (which had been
15640         nuked in NEW_INSETS frenzy).
15641
15642         * lyxfunc.C (Dispatch): when an action has not been handled, use
15643         its name in the error message, not its number.
15644
15645         * paragraph.C (inInset): change method name to begin with lowercase.
15646
15647         * undo_funcs.C:
15648         * text2.C: updates because of this.
15649
15650 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15651
15652         * ToolbarDefaults.C (add): add spaces in error message
15653
15654 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15655
15656         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15657         (readLyXformat2): rename return_par to first_par, use lyxlex's
15658         pushToken and remove the manual push handling.
15659         (parseSingleLyXformat2Token): add another ert comp. variable:
15660         in_tabular, rename return_par to first_par. handle newlines better
15661
15662 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15663
15664         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15665
15666 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15667
15668         * text2.C (getParFromID): removed
15669
15670         * buffer.C (getParFromID): new method moved form lyxtext.
15671         * BufferView2.C (insertErrors): adjust
15672         (setCursorFromRow): adjust
15673         * BufferView_pimpl.C (restorePosition): adjust
15674         * lyxfunc.C (Dispatch): adjust
15675         * undo_funcs.C (textUndo): adjust
15676         (textRedo): adjust
15677         (textHandleUndo): adjust
15678         (textHandleUndo): adjust
15679
15680 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15681
15682         * buffer.C: up' the LYX_FORMAT
15683
15684         * lyxfont.h: turn NO_LATEX on as default
15685
15686         * buffer.C (insertErtContents): new methods of tex style compability.
15687         (parseSingleLyXformat2Token): use it several places.
15688         * tabular.C (OldFormatRead): and here
15689
15690 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15691
15692         * text2.C: remove some commented code.
15693         reindent file.
15694
15695         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15696         * trans.C: changes because of the above.
15697
15698 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15699
15700         * text2.C (setCounter): Fix counters bug with bibliography layout.
15701
15702 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15703
15704         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15705         own member functions
15706         (simpleTeXSpecialChars): ditto
15707
15708 2001-07-06  Juergen Vigna  <jug@sad.it>
15709
15710         * a lot of files: changed the access to LyXText::status and the
15711         call of undo-functions.
15712
15713         * undo.[Ch]: added a inset_id to the undo informations.
15714
15715         * undo_funcs.[Ch]: added and moved here all undo functions.
15716
15717         * lyxtext.h: give the status enum a weight, made status_ a private
15718         variable and made accessor functions for it, removed the whole bunch
15719         of undo-functions as they are now in their own file, make some
15720         functions publically available. Added function ownerParagraph with
15721         int parameter.
15722
15723         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15724         made InInset() a const function, added getParFromID() function.
15725
15726         * buffer.[Ch]: added const version for inset_iterator functions,
15727         added getInsetFromID() function.
15728
15729         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15730         changed undo functions for new version.
15731
15732 2001-07-05  Juergen Vigna  <jug@sad.it>
15733
15734         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15735         unknow mechanism does not call the proper constructor but only this
15736         one also if I request the other!?
15737
15738 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15739
15740         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15741
15742         * text2.C (LyXText): use initialization lists.
15743
15744         * lyxtext.h (Selection): initialize set_ and mark_
15745         (init): remove method
15746
15747 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15748
15749         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15750
15751 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15752
15753         * screen.[Ch]: change method names to begin with lowercase
15754
15755         * BufferView_pimpl.C (updateScrollbar): simplify further and
15756         hopefully make it a bit faster.
15757
15758 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15759
15760         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15761         calling directly xforms functions.
15762
15763         * Painter.C (Painter):
15764         * lyx_cb.C (MenuWrite):
15765         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15766         fl_display.
15767
15768         * lyx_gui.C: remove bogus guiruntime extern declaration.
15769
15770 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15771
15772         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15773         in NEW_INSETS
15774         (redoDrawingOfParagraph): ditto
15775         (redoParagraphs): ditto
15776         (cutSelection): don't create a object for CutAndPaste use the
15777         static method directly
15778         (pasteSelection): ditto
15779
15780         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15781         LyXview (+ rename)
15782
15783 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15784
15785         * modifications to some other files because of this.
15786
15787         * Makefile.am (lyx_SOURCES): add XFormsView
15788
15789         * XFormsView.[Ch]: new files
15790
15791         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15792         the main window. Move the gui dependent stuff to XFormsView
15793
15794 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15795
15796         * tabular.C (GetCellInset): update cur_cell also in the row/col
15797         version of this function.
15798
15799         * lyxfunc.C: no need to include figure_form.h here.
15800
15801         * FontLoader.h:
15802         * lyxfunc.h:
15803         * lyxscreen.h:
15804         * text2.C:
15805         * lyxvc.C: no need to include forms.h here.
15806
15807 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15808
15809         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15810
15811         * lyxfunc.C (Dispatch):
15812         * Spacing.C (set):
15813         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15814         constructor argument.
15815
15816 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15817
15818         * paragraph.C (Paragraph): dont't clear, and just set layout.
15819         (makeSameLayout): use params's copy contructor.
15820
15821         * ParagraphParameters.[Ch] (makeSame): delete method
15822
15823 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15824
15825         * Variables.[Ch]: fix indentation, rename set to isSet
15826
15827 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15828
15829         * lyxfunc.C (Dispatch): fix typo
15830
15831 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15832
15833         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15834         upper_bound.
15835
15836         * bufferlist.C: include assert.h for emergencyWrite().
15837
15838 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15839
15840         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15841           give up at last (bug #425202) !
15842
15843 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15844
15845         * lyx_gui_misc.C:
15846         * sp_form.h:
15847         * sp_form.C:
15848         * spellchecker.h:
15849         * spellchecker.C: strip spellchecker options and bring up
15850           preferences tab instead
15851
15852 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15853
15854         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15855         the istringstream constructor
15856
15857 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15858
15859         * paragraph.C (getLayout): fix return value
15860
15861         * paragraph.h: do not declare getLayout as inline.
15862
15863         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15864
15865 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15866
15867         * lyxcursor.h (operator<): new func
15868         (operator>): new func
15869         (operator>=): new func
15870         (operator<=): new func
15871
15872         * text.C (changeCase): use selection.start and selection.end
15873         (changeRegionCase): require from to be <= to. Require par to be a
15874         valid paragraph.
15875
15876         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15877
15878 2001-06-27  Juergen Vigna  <jug@sad.it>
15879
15880         * text.C (cursorLeftOneWord): changed to return the cursor and added
15881         overlay with BufferView * parameter which calls this one.
15882         (getWord): added
15883         (selectWord): use new getWord function.
15884         (changeCase): renamed from changeWordCase as and extended to work
15885         also on selections.
15886
15887         * lyxtext.h: added enum word_location
15888
15889         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15890         changeCase as this operates now also on selections.
15891
15892 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15893
15894         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15895
15896         * many files: send debug output to Debug::INFO instead of
15897         Debug::ANY.
15898
15899         * converter.C (View):
15900         (Convert):
15901         (Move): send debug output to Debug::FILES instead of console.
15902
15903 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15904
15905         * lyxfunc.C (getStatus): use func_status
15906
15907         * func_status.h: new header, describing the results of
15908         LyXFunc::getStatus;
15909
15910         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15911         LFUN_MATH_HALIGN.
15912
15913 2001-06-25  The LyX Project  <jug@sad.it>
15914
15915         * buffer.C (sgmlOpenTag):
15916         (sgmlCloseTag):
15917         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15918
15919 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15920
15921         * text2.C: remove some dead code
15922
15923         * tabular.C (GetCellInset): store the last cell checked (gotten)
15924
15925         * tabular.h: add the helper for the speedup
15926
15927         * lyxtext.h: remove some dead code
15928
15929 2001-06-26  The LyX Project  <Asger>
15930
15931         * paragraph.C: Change export to LaTeX of alignment to
15932         \begin{center} and family for better roundtrip work with reLyX.
15933
15934         * Tune the math drawing a bit.
15935
15936 2001-06-25  The LyX Project  <Asger>
15937
15938         * LColor.C (LColor): New color for math background. New color
15939         for buttons.
15940
15941 2001-06-25  The LyX Project  <jug@sad.it>
15942
15943         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15944
15945         * lyxfunc.C (Open):
15946         * bufferlist.C (newFile): do not restrict to files ending with
15947         .lyx
15948
15949         * BufferView_pimpl.C (MenuInsertLyXFile):
15950
15951 2001-06-24  The LyX Project  <jug@sad.it>
15952
15953         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15954         of compare_no_case
15955
15956 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15957
15958         * lyxtext.h: rename most methods to begin with a small char.
15959         Lots of changes because of this.
15960
15961         * paragraph.C (Paragraph): do not call fitToSize
15962         (erase): call Pimpl::erase
15963         (insertChar): call Pimpl::insertChar
15964         (insertInset): call Pipl::insertInset
15965         (breakParagraph): do not call fitToSize
15966         (breakParagraphConservative): do not call fitToSize
15967         (fitToSize): remove method
15968
15969         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15970
15971 2001-06-24  The LyX Project  <Asger>
15972
15973         * Fix Qt compilation^2
15974
15975 2001-06-24  The LyX Project  <jug@sad.it>
15976
15977         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15978         depthHook(getDepth()-1).
15979
15980         * paragraph.h:
15981         * ParagraphParameters.h:
15982         * ParameterStruct.h: change type of depth to unsigned int ==
15983         depth_type. Many adaptations to other files before of that.
15984
15985 2001-06-24  The LyX Project  <Asger>
15986
15987         * Fix Qt compilation.
15988
15989 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15990
15991         * paragraph.h: renamed several methods to begin with small letter.
15992         several changes to many parts of the code because of this.
15993
15994 2001-06-23  The LyX Project  <jug@sad.it>
15995
15996         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15997         rewritten to discard all double spaces when KeepEmpty is off
15998         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15999         to only handle newlines but not fiddle with spaces and friends.
16000
16001         * lyxfunc.C (MenuNew): when doing 'new from template', use
16002         template_path as default directory
16003
16004 2001-06-23  The LyX Project  <Asger>
16005
16006         * Clean-up of header file includes all over
16007         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16008
16009 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16010
16011         * paragraph.h: renamed from lyxparagraph.h
16012
16013 2001-06-23  Asger  <lyx@violet.home.sad.it>
16014
16015         * Buffer.h: Removed Buffer::resize
16016         * BufferList.h: Removed BufferList::resize
16017         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16018         the document lazily when we change the width, or the font settings.
16019
16020 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16021
16022         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16023
16024 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16025
16026         * buffer.h: remove out of date comment
16027
16028 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16029
16030         * lyxscreen.h:
16031         * screen.C: fix "theoretical" GC leak
16032
16033 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16034
16035         * LaTeX.C (scanAuxFile):
16036         (deplog): remove trailing \r when reading stream (useful under
16037         win32)
16038
16039 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16040
16041         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16042         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16043         and BufferView::theLockingInset(Inset*), so should use them and not
16044         access bv_->text->the_locking_inset directly.
16045
16046         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16047
16048 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16049
16050         * Makefile.am:
16051         * tex-defs.h: remove old unused file
16052
16053 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16054
16055         * BufferView_pimpl.C: fix typo, remove minibuffer message
16056           when buffer has loaded
16057
16058 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16059
16060         * lyxfunc.C (Dispatch): use stringstream
16061         (MenuNew): use stringstream
16062         (Open): use stringstream
16063
16064         * importer.C (Import): use stringstream
16065
16066         * bufferview_funcs.C (CurrentState): use stringstream
16067
16068         * LaTeX.C (run): use stringstream
16069
16070         * BufferView_pimpl.C (savePosition): use stringstream
16071         (restorePosition): use stringstream
16072         (MenuInsertLyXFile): use stringstream
16073
16074 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16075
16076         * BufferView.C:
16077         * Bullet.C:
16078         * ColorHandler.C:
16079         * FontInfo.C:
16080         * FontLoader.C:
16081         * LColor.C:
16082         * LaTeXFeatures.C:
16083         * Painter.C:
16084         * gettext.C:
16085         * lyx_gui_misc.C:
16086         * lyxserver.C:
16087         * vspace.C: removed // -*- C++ -*- as first line.
16088
16089         * lyxfind.h:
16090         * version.h: added // -*- C++ -*- as first line.
16091
16092 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16093
16094         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16095
16096         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16097         of string
16098
16099 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16100
16101         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16102         of floats.
16103
16104 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16105
16106         * gettext.C: include LString.h even when --disable-nls is on.
16107
16108 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16109
16110         * converter.h (Get): changed argument type from int to
16111         FormatList::size_type to avoid unnecessary conversion.
16112
16113         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16114         before using it.
16115
16116 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16117
16118         * gettext.h: include LString.h even when --disable-nls is on.
16119
16120 2001-06-07  Juergen Vigna  <jug@sad.it>
16121
16122         * text.C (BreakAgain): subst spaces with tabs.
16123
16124         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16125         (resizeInsetsLyXText): set force on resizeLyXText.
16126
16127 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16128
16129         * gettext.h (gettext_init):
16130         (locale_init): use a real definition instead of a macro
16131
16132 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16133
16134         * Bufferview_pimpl.C:
16135         * LColor.h:
16136         * LColor.C: further lcolor tidies
16137
16138 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16139
16140         * BufferView_pimpl.C (updateScrollbar): simplify.
16141
16142         * BufferView2.C: don't include insets/insetinfo.h, change
16143         prototype for insertInset and call the Pimpl version. let
16144         updateInset call Pimpl version.
16145
16146         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16147         gotoInset to BufferView::Pimpl
16148
16149 2001-06-01  Juergen Vigna  <jug@sad.it>
16150
16151         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16152         inside a LockingInset (is the update needed at all?).
16153
16154 2001-05-31  Juergen Vigna  <jug@sad.it>
16155
16156         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16157         here not the old one otherwise how should we compare it afterwards
16158         if it's the same!
16159
16160 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16161
16162         * lyxfont.C:
16163         * tabular.C:
16164         * tabular-old.C:
16165         * FontInfo.C: bring C functions into global namespace when
16166         necessary
16167
16168 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16169
16170         * LString.h: make sure config.h has been loaded before LString.h.
16171
16172         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16173         (one for each char read by EatLine!).
16174
16175         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16176         variables.
16177
16178 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16179
16180         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16181         to the same as the par we break from
16182
16183 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16184
16185         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16186
16187         * MenuBackend.C (expand): also create menu entries for wide
16188         versions of the floats.
16189
16190         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16191
16192         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16193
16194         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16195         frontends/Makefile.am
16196
16197         * text2.C: adjust
16198         * text.C: adjust
16199
16200
16201         * tabular.C (getTokenValue): add std::
16202
16203         * tabular-old.C (getTokenValue): add std::
16204         (getTokenValue): ditto
16205         (getTokenValue): ditto
16206
16207         * screen.C (ToggleSelection): adjust
16208
16209         * lyxtext.h: put selection cursors inside a Selection struct.
16210
16211         * lyxfunc.C (moveCursorUpdate): adjust
16212
16213         * lyxfont.C (latexWriteStartChanges): add std::
16214
16215         * lyxfind.C: adjust
16216
16217         * font.h: delete with(char const *, LyXFont const &)
16218
16219         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16220
16221         * FontInfo.C (getFontname): add std::
16222
16223         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16224         (workAreaButtonPress): adjust
16225         (tripleClick): adjust
16226         (update): adjust
16227         (moveCursorUpdate): adjust
16228         (Dispatch): adjust
16229
16230         * BufferView2.C (gotoInset): adjust
16231
16232 2001-05-30  Juergen Vigna  <jug@sad.it>
16233
16234         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16235         to check pspell I add this as default as I now have new pspell
16236         libraries and they seem to use this.
16237
16238 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16239
16240         * text2.C (CutSelection): make the cursor valid before the call to
16241         ClearSelection.
16242
16243 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16244
16245         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16246         relied on 0 terminated strings and other horrors. Bug found due to
16247         the new assert in lyxstring!
16248
16249         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16250         KP_ keys.
16251
16252 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16253
16254         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16255         to latinkeys.bind.
16256
16257         * lyxfunc.C (processKeySym): change method of getting to the
16258         self-insert char.
16259
16260         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16261         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16262         * BufferView_pimpl.[Ch]: here as private methods.
16263
16264 2001-05-28  Juergen Vigna  <jug@sad.it>
16265
16266         * text.C (SetHeightOfRow): added the update() call again as it is
16267         needed to initialize inset dimensions!
16268
16269 2001-05-16  Juergen Vigna  <jug@sad.it>
16270
16271         * text2.C (SetCharFont): Add new function with BufferView * and
16272         bool toggleall parameters for setting insets internal fonts.
16273         (SetFont): Freeze the undo as we may change fonts in Insets and
16274         all this change should be inside only one Undo!
16275
16276         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16277         setting font's in insets as for them we have the SetFont function!
16278
16279 2001-05-15  Juergen Vigna  <jug@sad.it>
16280
16281         * text2.C (ClearSelection): to be sure we REALLY don't have any
16282         selection anymore!
16283
16284         * tabular.C (TeXCellPreamble): fixed the left border problem for
16285         multicolumn cells.
16286
16287 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16288
16289         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16290         dependancy file
16291
16292 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16293
16294         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16295         LFUN_BREAKPARAGRAPH.
16296
16297         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16298         help test to "internal only", similar for LFUN_INSERT_URL
16299
16300         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16301         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16302         auto_region_delete and deadkeys.
16303
16304 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16305
16306         * LColor.h:
16307         * LColor.C: remove some dead entries, tidy a little
16308
16309 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16310
16311         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16312         commented code.
16313         (Dispatch): implement LFUN_ESCAPE
16314
16315         * commandtags.h: add LFUN_ESCAPE
16316
16317         * LyXAction.C (init): add entry for LFUN_ESCAPE
16318
16319         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16320         Remove commented code.
16321         (insertNote): moved here
16322         (open_new_inset): moved here
16323
16324         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16325         BufferView_pimpl
16326
16327 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16328
16329         * kbmap.C (findbinding): clean it up and make it work correctly.
16330
16331         * lyx_main.C (init): do not pass argc and argv as parameters
16332
16333 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16334
16335         * buffer.C: fix path for OS/2 & Win32
16336
16337         * lyx_gui.C:
16338         * lyx_main:
16339         * lyx_main.C: Added os:: class.
16340
16341         * os2_defines.h: update
16342
16343 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16344
16345         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16346         better by trying again with reduced state.
16347
16348 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16349
16350         * lyxrc.C (read): print error about invalid key sequence only when
16351         debugging (because not all latinX keysyms are known to some X
16352         servers)
16353
16354         * kbsequence.C (getiso): add a few std:: qualifiers
16355         (getiso): comment out extra return statement.
16356
16357 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16358
16359         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16360         handling.
16361         (Dispatch): enhance the accent inset a bit. (not perfect)
16362
16363 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16364
16365         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16366
16367 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16368
16369         * bufferlist.C (emergencyWrite): fix assert() call
16370
16371 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16372
16373         * text.C (InsertChar): Added trivial patch to only send the "you
16374         can not do multiple spaces this way" message once during a
16375         session.
16376
16377 2001-05-08  Baruch Even  <baruch@lyx.org>
16378
16379         * Makefile.am: Changed order of libraries to get LyX to link properly
16380         with the gnome frontend.
16381
16382 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16383
16384         * LaTeXFeatures.h: add a std:: qualifier
16385
16386 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16387
16388         * paragraph.C (String): use stringstream
16389
16390 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16391
16392         * paragraph.C (writeFile): remove footflag arg
16393
16394         * buffer.C (makeLaTeXFile): use stringstream
16395         (latexParagraphs): remove footnot gurba
16396
16397         * LaTeXFeatures.C (getPackages): use stringstream
16398         (getMacros): likewise
16399         (getTClassPreamble): likewise
16400         (getFloatDefinitions): new method
16401
16402         * paragraph.C (writeFile): reindent
16403         (Erase): reindent
16404
16405         * WorkArea.h: revert the xpos + etc changes.
16406
16407         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16408
16409         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16410
16411         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16412         (pasteSelection): likewise
16413         * text2.C (CreateUndo): likewise
16414
16415 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16416
16417         * minibuffer.C (peek_event): temporarily reduce the functionality
16418         of the minibuffer (to allow args on lfuns)
16419
16420         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16421         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16422
16423         * buffer.C (readInset): add compability reading of old float
16424         lists, add reading of new style float list.
16425         (readInset): avoid reevaluation of inscmd.getCmdName()
16426         (getLists): reindent
16427
16428         * MenuBackend.C (MenuItem): implement parsing of
16429         md_floatlistinsert and md_floatinsert.
16430         (expand::LastFiles): move initalizaton of iterators out of loop,
16431         avoid reevaluation.
16432         (expand::Documents): introduce typdedef vector<string> Strings,
16433         and use it.
16434         (expand::ExportFormats): introduce typedef vector<Format const *>
16435         Formats, and use it.
16436         (expand): implement FloatListInsert and FloatInsert.
16437
16438         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16439         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16440         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16441
16442         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16443         handling.
16444         (Dispatch::LFUN_FLOAT_LIST): implement
16445
16446 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16447
16448         * LaTeX.C (run): Fix problem with --export code.
16449
16450 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16451
16452         * BufferView.[Ch] (workarea): removed.
16453         (getClipboard) new method; wrapper for workarea()->getClipboard()
16454
16455         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16456         bug.
16457
16458         * WorkArea.h (width, height, xpos, ypos): These methods all
16459         returned the dimensions of the work_area sub-area of WorkArea,
16460         resulting in a position error if the WorkArea were resized. Now
16461         return the dimensions of the entire WorkArea.
16462
16463         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16464
16465 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16466
16467         * LaTeX.C (deplog): correct the syntax of regex reg1
16468
16469 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16470
16471         * undo.C: remove !NEW_INSETS cruft
16472
16473 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16474
16475         * text2.C: remove !NEW_INSETS cruft
16476
16477         * text.C: remove !NEW_INSETS cruft
16478
16479         * tabular.C: remove !NEW_INSETS cruft
16480
16481         * spellchecker.C: remove !NEW_INSETS cruft
16482
16483         * lyxtext.h: remove !NEW_INSETS cruft
16484
16485         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16486
16487         * lyxfunc.C: remove !NEW_INSETS cruft
16488
16489         * lyxfind.C: remove !NEW_INSETS cruft
16490
16491         * lyx_cb.C: remove !NEW_INSETS cruft
16492
16493         * figureForm.C: remove  !NEW_INSETS cruft
16494
16495         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16496
16497         * buffer.[Ch]: remove !NEW_INSETS cruft
16498
16499         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16500
16501         * CutAndPaste.C: remove !NEW_INSETS cruft
16502
16503         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16504
16505         * BufferView2.C: remove !NEW_INSETS cruft
16506
16507         * BufferView.h: remove !NEW_INSETS cruft
16508
16509 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16510
16511         * Lsstream.h: include LString.h before the sstream headers to
16512         fix problem with gcc 2.95.3 and lyxstring
16513
16514 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16515
16516         * lyx_main.C: add using directives when needed for C functions
16517         declared in std:: namespace.
16518
16519 2001-04-27  Juergen Vigna  <jug@sad.it>
16520
16521         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16522         (SetHeightOfRow): comment out the update call should not be needed!
16523
16524 2001-04-13  Juergen Vigna  <jug@sad.it>
16525
16526         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16527         (LyXTabular): tried to minimize operator= operations (and realized
16528         hopfully Lars wish).
16529
16530 2001-04-27  Juergen Vigna  <jug@sad.it>
16531
16532         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16533
16534 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16535
16536         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16537
16538         * buffer.C (readInset): hack to make listof algorithm work
16539
16540         * BufferView_pimpl.C: hack to make listof algorithm work
16541
16542 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16543
16544         * LyXAction.C: removed all !NEW_INSETS cruft
16545         (init): moved lfun_item in method
16546
16547         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16548
16549 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16550
16551         * BufferView2.C (theLockingInset): white space.
16552
16553 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16554
16555         * minibuffer.C: include <iostream>
16556
16557         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16558
16559         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16560
16561         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16562
16563         * text.[Ch] (TransposeChars): new method
16564
16565 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16566
16567         * call message directly through LyXView instead of through LyXFunc
16568         * BufferView2.C: adjust
16569         * BufferView_pimpl.C: adjust
16570         * FontLoader.C: adjust
16571         * buffer.C: adjust
16572         * bufferview_funcs.C: adjust
16573         * converter.C: adjust
16574         * figureForm.C: adjust
16575         * importer.C: adjust
16576         * lyx_cb.C: adjust
16577         * lyx_gui_misc.C: adjust
16578         * lyxfunc.C: adjust
16579         * lyxvc.C: adjust
16580         * text2.C: adjust
16581         + more files in subdirs
16582
16583         * lyxparagraph.h (size): move up int file
16584         (GetLayout): ditto
16585
16586         * adjust all uses of Assert to lyx::Assert.
16587
16588         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16589         lyxfunctional in namespace lyx
16590         * layout.C (hasLayout): ditto
16591         (GetLayout): ditto
16592         (GetLayout): ditto
16593         (delete_layout): ditto
16594         (NumberOfClass): ditto
16595         * converter.C (GetFormat): ditto
16596         (GetNumber): ditto
16597         (Add): ditto
16598         (Delete): ditto
16599         (SetViewer): ditto
16600         * bufferlist.C (getFileNames): ditto
16601         (emergencyWriteAll): ditto
16602         (exists): ditto
16603         (getBuffer): ditto
16604         * MenuBackend.C (hasSubmenu): ditto
16605         (hasMenu): ditto
16606         (getMenu): ditto
16607         * BufferView_pimpl.C (getInsetByCode): ditto
16608
16609 2001-04-18  Juergen Vigna  <jug@sad.it>
16610
16611         * vspace.C (asLatexString): fixed the 100% problem.
16612
16613 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16614
16615         * lyxfunc.C (Dispatch):
16616         * minibuffer.C:
16617         * minibuffer.h: add a few std:: qualifiers
16618
16619 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16620
16621         * minibuffer.[Ch]: reimplement so that commands is initiated and
16622         run from lyxfunc, simplified som handling, and made the completion
16623         and history code for complete. wip.
16624
16625         * lyxfunc.C (processKeySym): call message
16626         (miniDispatch): new temporary method
16627         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16628         (LFUN_MESSAGE): implement
16629         (LFUN_MESSAGE_PUSH): implement
16630         (LFUN_MESSAGE_POP): implement
16631         (initMiniBuffer): the initial/defualt minibuffer message.
16632
16633         * lyxfont.[Ch]: inline some more getters
16634
16635         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16636
16637         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16638
16639         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16640         (AutoSave): use LFUN_MESSAGE
16641         (Reconfigure): ditto
16642
16643         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16644
16645         * figureForm.C: use LFUN_MESSAGE
16646
16647         * converter.C (runLaTeX): use LFUN_MESSAGE
16648
16649         * bufferview_funcs.C: use LFUN_MESSAGE
16650         (Melt): ditto
16651         (changeDepth): ditto
16652
16653         * bufferparams.h: use boost::
16654
16655         * bufferlist.h: inherit privately from noncopyable
16656
16657         * bufferlist.C (loadLyXFile): remove some commented code.
16658
16659         * buffer.C (runChktex): use LFUN_MESSAGE
16660
16661         * ShareContainer.h: inherit privately from noncopyable
16662
16663         * ParagraphParameters.[hC] (depth): inline it.
16664
16665         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16666         methods.
16667         (message): new method
16668         (messagePush): ditto
16669         (messagePop): ditto
16670         (show): init minibuffer
16671         (showState): direct call
16672
16673         * LaTeX.[Ch]: inherit privately from noncopyable
16674         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16675         instead of WriteStatus.
16676
16677         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16678
16679         * BufferView_pimpl.C (buffer): don't init minibuffer
16680         (workAreaButtonPress): use LFUN_MESSAGE
16681         (workAreaButtonRelease): ditto
16682         (savePosition): ditto
16683         (restorePosition): ditto
16684         (MenuInsertLyXFile): ditto
16685         (workAreaExpose): don't init minibuffer
16686         (update): remove commented code, simplify
16687
16688         * BufferView2.C (openStuff): use LFUN_MESSAGE
16689         (toggleFloat): ditto
16690         (menuUndo): ditto
16691         (menuRedo): ditto
16692         (copyEnvironment): ditto
16693         (pasteEnvironment): ditto
16694         (copy): ditto
16695         (cut): ditto
16696         (paste): ditto
16697         (gotoInset): ditto
16698         (updateInset): remove some commented code
16699
16700         * lastfiles.h: inherit privately from noncopyable
16701         * layout.h: ditto
16702         * lyx_gui.h: ditto
16703         * lyx_main.h: ditto
16704         * lyxlex.h: ditto
16705         * lyxlex_pimpl.h: ditto
16706
16707         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16708         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16709         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16710
16711         * LyXAction.h: inherit privately from noncopyable, add methods
16712         func_begin, func_end, returning iterators to the func map.
16713
16714         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16715         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16716         (func_begin): new method
16717         (func_end): new method
16718
16719         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16720         and not)
16721         (copySelection): ditto
16722         (pasteSelection): ditto
16723
16724         * BufferView.C: whitespace change
16725         * BufferView.h: inherit privately from noncopyable
16726
16727 2001-04-16  Allan Rae  <rae@lyx.org>
16728
16729         * tabular-old.C (l_getline):
16730         * spellchecker.C (sc_check_word):
16731         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16732         an unrecognised preprocessor directive.  So ensure they're wrapped.
16733
16734 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16735
16736         * src/exporter.C (Export): Give an error message when path to file
16737         contains spaces.
16738
16739 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16740
16741         * LaTeX.C (deplog): Always check that foundfile exists.
16742
16743 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16744
16745         * lyx_main.h:
16746         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16747
16748 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16749
16750         * tabular.[Ch] (getLabelList): implement new method
16751
16752         * minibuffer.h: comment ouf setTiimer
16753
16754         * minibuffer.C (ExecutingCB): constify res
16755         (peek_event): constify s
16756         (Set): constify ntext
16757         (Init): constify nicename
16758
16759         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16760
16761         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16762         (savePosition): use two params to Minibuffer::Set
16763         (restorePosition): ditto
16764
16765 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16766
16767         * lyx_main.C: include language.h
16768
16769         * Makefile.am (lyx_main.o): add language.h
16770
16771 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16772
16773         * exporter.C:
16774         * paragraph.C:
16775         * screen.C:
16776         * tabular.C:
16777         * CutAndPaste.C: include gettext.h
16778
16779         * lyxfont.h: remove old hack with ON and OFF.
16780
16781         * lyxparagraph.h:
16782         * lyxfont.h: do not include language.h...
16783
16784         * BufferView2.C:
16785         * LaTeXFeatures.C:
16786         * Painter.C:
16787         * bufferview_funcs.C:
16788         * font.C:
16789         * lyxfont.C:
16790         * text.C:
16791         * text2.C:
16792         * trans_mgr.C:
16793         * paragraph.C: ... but do it here instead
16794
16795 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16796
16797         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16798
16799         * tabular.C: small reformat
16800
16801         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16802         NEW_INSETS version
16803         (GetChar): ditto
16804         (BreakParagraph): ditto
16805         (SetOnlyLayout): ditto
16806         (SetLayout): ditto
16807
16808         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16809         with one arg less.
16810
16811         * lastfiles.C: removed most using decl, add std:: where needed
16812
16813         * buffer.C: ws changes
16814
16815         * MenuBackend.C (class compare_format): put into anon namespace
16816         (expand): constify label, names, action, action2
16817         (expand):
16818
16819         * text.C (SingleWidth): constify font
16820         (IsBoundary): constify rtl2
16821         (GetVisibleRow): constify ww
16822
16823         * LaTeX.C (deplog): constify logfile
16824
16825         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16826         start_x, end_x
16827         (workAreaExpose): constify widthChange, heightChange
16828
16829         * lyxrow.C (par): moved
16830         (height): moved
16831         (next): moved
16832         * lyxrow.h: as inlines here
16833
16834         * lyxfont.h (shape): moved from lyxfont.C
16835         (emph): moved from lyxfont.C
16836
16837         * lyxfont.C (LyXFont): use initialization list for all
16838         constructors
16839         (shape): move to lyxfont.h as inline
16840         (emph): move to lyxfont.h as inline
16841
16842
16843 2001-04-04  Juergen Vigna  <jug@sad.it>
16844
16845         * vspace.C: had to include stdio.h for use of sscanf
16846
16847 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16848
16849         * BufferView.h:
16850         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16851         independent of xforms.
16852
16853 2001-04-02  Juergen Vigna  <jug@sad.it>
16854
16855         * spellchecker.C: fixed namespace placing!
16856
16857 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16858
16859         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16860         the LyXParagraph * is 0.
16861
16862 2001-03-29  Juergen Vigna  <jug@sad.it>
16863
16864         * vspace.C: added support for %, c%, p%, l%.
16865         (stringFromUnit): added helper function.
16866         (asLatexString): changed to give right results for the %-values.
16867
16868         * buffer.C: convert the widthp in a width%.
16869
16870 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16871
16872         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16873         figureForm.[Ch].
16874
16875         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16876         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16877
16878         * lyx_cb.[Ch]: see above.
16879
16880         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16881         form1.[Ch].
16882
16883         * form1.[Ch]:
16884         * lyx.[Ch]: replaced by figure_form.[Ch].
16885
16886         * lyx_gui.C:
16887         * lyx_gui_misc.C:
16888         * lyxfunc.C: changed headers associated with above changes.
16889
16890 2001-03-27  Juergen Vigna  <jug@sad.it>
16891
16892         * BufferView_pimpl.C: set the temporary cursor right!
16893
16894 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16895
16896         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16897
16898 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16899
16900         * LString.h: removed "using std::getline"!
16901
16902         * BufferView_pimpl.C (Dispatch): changes due to changes in
16903         InsetInclude::Params.
16904
16905         * buffer.C (tag_name): removed redundant break statements as they were
16906         producing lots of warnings with my compiler.
16907
16908 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16909
16910         * LString.h: add "using std::getline" when using the real <string>.
16911
16912 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16913
16914         * buffer.C: removed bitset usage.
16915         PAR_TAG moved to an anonymous name space.
16916         (tag_name): new funtion, also in the anonymous namespace.
16917         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16918         (makeDocBookFile): clean code. Completed transition from string arrays
16919         to string vectors.
16920         (SimpleDocBookOnePar): code clean.
16921
16922 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16923
16924         * tabular.C: add some comments.
16925
16926 2001-03-22  Juergen Vigna  <jug@sad.it>
16927
16928         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16929         compatibility read a bit and fixed bug with minipage in different
16930         depth.
16931
16932 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16933
16934         * buffer.C (pop_tag): removed.
16935         (push_tag): removed.
16936         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16937         array replaced with vector. Added support for CDATA sections.
16938         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16939         at any nest level.
16940         (makeDocBookFile): XML conformant declaration of CDATA section,
16941         fixed bug related to <emphasis> in the first paragraph char.
16942         (sgmlOpenTag): exclude empty tags.
16943         (sgmlCloseTag): ditto.
16944
16945         * buffer.h (pop_tag): removed.
16946         (push_tag): removed.
16947
16948 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16949
16950         * language.h (Languages): added size_type and size().
16951
16952 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16953
16954         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16955         response on compability reading of minipages. One probliem is that
16956         the old usage of minipages was «flertydig»
16957
16958         * several files here and in subdirs: don't use static at file
16959         scope use anon namespaces instead.
16960
16961 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16962
16963         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16964         LaTeX output. This is necessary for Literate document
16965         processing.
16966
16967 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16968
16969         * buffer.C: insert hfill when needed.
16970
16971         * tabular.C (l_getline): use string::erase, small whitespace change.
16972
16973         * BufferView_pimpl.C: try the anon namespace.
16974         * WorkArea.C: ditto
16975
16976 2001-03-16  Juergen Vigna  <jug@sad.it>
16977
16978         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16979         otherwise it won't open options-dialogs.
16980
16981         * buffer.C: honor pextraWidth(p) on converting minipages.
16982
16983         * tabular.C (l_getline): changed the functions to strip trailing \r.
16984
16985 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16986
16987         * BufferView_pimpl.C:
16988         * minibuffer..C: added "using SigC::slot" declaration.
16989
16990 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16991
16992         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16993
16994         * text2.C: ditto
16995
16996         * text.C: ditto
16997
16998         * paragraph.C: ditto
16999
17000         * lyxtext.h: NO_PEXTRA
17001
17002         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17003
17004         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17005         * ParameterStruct.h: ditto
17006         * ParagraphParameters.h: ditto
17007         * lyxparagraph.h: ditto
17008
17009 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17010
17011         * buffer.C: add compability for minipage alignment.
17012         (latexParagraphs): remove unwanted pextra check.
17013
17014         * several files: remove CXX_WORKING_NAMESPACES
17015
17016         * buffer.C (pop_tag): tie is in namespace boost
17017
17018         * BufferView.h: noncopyable is in namespace boost
17019         * lyxlex.h: ditto
17020         * lyx_main.h: ditto
17021         * lyx_gui.h: ditto
17022         * layout.h: ditto
17023         * lastfiles.h: ditto
17024         * bufferlist.h: ditto
17025         * ShareContainer.h: ditto
17026         * LyXView.h: ditto
17027         * LyXAction.h: ditto
17028         * LaTeX.h: ditto
17029
17030 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17031
17032         * Merging changes from BRANCH_MVC back into HEAD.
17033
17034         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17035
17036 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17037
17038         * BufferView_pimpl.C: change from intl.C
17039
17040         * combox.h:
17041         * combox.C:
17042         * Makefile.am: move combox.*
17043
17044         * form1.h:
17045         * form1.C:
17046         * lyx_gui.C:
17047         * intl.h:
17048         * intl.C: remove dialog (covered by prefs)
17049
17050 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17051
17052         * lyxfunc.C (Dispatch): removed redundant break statement.
17053
17054 2001-03-14  Juergen Vigna  <jug@sad.it>
17055
17056         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17057
17058 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17059
17060         * buffer.C: add hack to fix compability reading of minipages.
17061
17062 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17063
17064         * buffer.C (getLists): Cleanup.
17065
17066 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17067
17068         * lyxfont.C (update): don't honor toggleall on font size.
17069
17070 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17071
17072         * bmtable.c:
17073         * bmtable.h:
17074         * Makefile.am: moved to frontends/xforms/
17075
17076         * lyx_gui_misc.C:
17077         * lyxfunc.C:
17078         * BufferView_pimpl.C: changes for moved mathpanel
17079
17080 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17081
17082         * gettext.h: fix gettext_init() in --disable-nls
17083
17084 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17085
17086         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17087
17088 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17089
17090         * lyx.C:
17091         * lyx.h: strip external form
17092
17093 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17094
17095         * BufferView_pimpl.C: add comment, destroySplash()
17096
17097 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17098
17099         * BufferView_pimpl.C:
17100         * LyXAction.C:
17101         * buffer.C:
17102         * commandtags.h:
17103         * lyxfunc.C: use re-worked insetinclude
17104
17105 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17106
17107         * buffer.C: add using std::stringstream.
17108
17109         * lyx_cb.C: readd using std::ios.
17110
17111         * buffer.C: add using std::map.
17112
17113         * BufferView_pimpl.C: add using std::vector.
17114
17115         * ShareContainer.h: add std:: to swap.
17116
17117         * buffer.h: add some typedefs
17118         * buffer.C (getLists): use them
17119         (getLists): renamed from getTocList.
17120         add a counter for the different float types and use it in the
17121         generated string.
17122         (getLists): use the same counter for the NEW_INSETS and the "non"
17123         NEW_INSETS
17124
17125         * lyx_cb.h: remove unused items, includes, using etc.
17126
17127         * ShareContainer.h: remove some commented code, add more comments
17128         and "documentation".
17129
17130 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17131
17132         * buffer.C (getTocList): make the list also when NEW_INSETS is
17133         defined.
17134
17135         * buffer.h: remove TocType
17136
17137         * buffer.C (getTocList): change to return a map<string,
17138         vector<TocItem> >, implement for dynamic number of list.
17139
17140         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17141         * text2.C (PasteSelection): adjust
17142         * CutAndPaste.C (pasteSelection): adjust
17143
17144         * FloatList.C (FloatList): update from the new_insets branch.
17145         * Floating.[Ch]: ditto
17146         * LaTeXFeatures.C: ditto
17147         * buffer.C: ditto
17148         * lyxlex_pimpl.C: ditto
17149
17150         * paragraph.C (Last): remove when NEW_INSETS is defined.
17151
17152         * other file: changes because of the above.
17153
17154 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17155
17156         * lyxparagraph.h: rename next to next_, previous to previous_,
17157         make them private for NEW_INSETS. Rename Next() to next(),
17158         Previous() to previous().
17159
17160         * other files: changes because of the above.
17161
17162 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17163
17164         * BufferView.h:
17165         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17166         problem.
17167
17168 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17169
17170         * main.C (main): pass lyx_localedir to gettext_init().
17171
17172         * gettext.h: remove locale_init and gettext_init macros
17173
17174         * gettext.C (locale_init): new function
17175         (gettext_init): new function
17176
17177         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17178         setlocale().
17179
17180 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17181
17182         * Moved credits to frontends:
17183         * credits.[Ch]: removed
17184         * credits_form.[Ch]: removed
17185         * lyx_gui_misc.C: remove credits stuff
17186         * Makefile.am:
17187
17188 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17189
17190         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17191
17192         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17193         unneeded destructor.
17194
17195         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17196         a standalone pointer again.
17197
17198         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17199
17200 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17201
17202         * Makefile.am:
17203         * filedlg.h:
17204         * filedlg.C:
17205         * LyXAction.C:
17206         * ToolbarDefaults.C:
17207         * bufferlist.C:
17208         * commandtags.h:
17209         * form1.C:
17210         * form1.h:
17211         * lyx_cb.C:
17212         * lyx_cb.h:
17213         * lyxfunc.h:
17214         * lyxfunc.C:
17215         * BufferView_pimpl.C: use new file dialog in GUII
17216
17217         * lyx_cb.h:
17218         * lyx_cb.C: remove LayoutsCB to Toolbar
17219
17220 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17221
17222         * ShareContainer.h (get): add std:: qualifier
17223
17224 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17225
17226         * ShareContainer.h: define a proper ShareContainer::value_type
17227         type (and use typename to please compaq cxx)
17228
17229 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17230
17231         * lyxparagraph.h: move serveral local vars to
17232         ParameterStruct/ParagraphParameters., use ShareContainer in
17233         FontTable., make vars in FontTable private and add getter and
17234         setter.
17235
17236         * paragraph.C: changes because of the above.
17237
17238         * lyxfont.h: remove copy constructor and copy assignment. (the
17239         default ones is ok), move number inside FontBits. move inlines to
17240         lyxfont.C
17241
17242         * lyxfont.C: add number to initializaton of statics, move several
17243         inlines here. constify several local vars. some whitespace
17244         cleanup. Dont hide outerscope variables.
17245
17246         * Spacing.h: add two new constructors to match the set methods.
17247
17248         * ShareContainer.h: new file, will perhaps be moved to support
17249
17250         * ParameterStruct.h: new file
17251
17252         * ParagraphParameters.h: new file
17253
17254         * ParagraphParameters.C: new file
17255
17256         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17257         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17258
17259         * BufferView_pimpl.C: ParagraphParameter changes.
17260         * buffer.C: Likewise.
17261         * bufferview_funcs.C: Likewise.
17262         * text.C: Likewise.
17263         * text2.C: Likewise.
17264
17265 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17266
17267         * lyxfind.C (LyXReplace): do not redefine default argument in
17268         implementation.
17269         (IsStringInText): ditto
17270         (SearchForward): ditto
17271         (SearchBackward): ditto
17272
17273 2001-03-06  Juergen Vigna  <jug@sad.it>
17274
17275         * lyxfind.C (IsStringInText): put parentes around expressions.
17276
17277 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17278
17279         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17280
17281 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17282
17283         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17284
17285         * stl_string_fwd.h: add comment
17286
17287         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17288
17289         * tabular.h:
17290         * tabular.C: remove unused DocBook methods
17291
17292         * intl.C:
17293         * language.C:
17294         * paragraph.C:
17295         * buffer.C:
17296         killed DO_USE_DEFAULT_LANGUAGE
17297
17298 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17299
17300         * lyx_gui.C: do not include language.h.
17301
17302         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17303         arguments in function implementation.
17304
17305 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17306
17307         * BufferView_pimpl.C: add <ctime>
17308
17309 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17310
17311         * BufferView_pimpl.C: add using std::find_if
17312
17313 2001-02-27  José Matos  <jamatos@fep.up.pt>
17314
17315         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17316         by OnlyPath.
17317
17318 2001-02-11  José Matos  <jamatos@fep.up.pt>
17319
17320         * buffer.C (makeDocBookFile): command styles now have a parameter as
17321         "title" by default.
17322
17323 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17324
17325         * layout_forms.[Ch]: removed
17326         * lyx_cb.[Ch]: out character
17327         * lyx_gui.C: out character
17328         * lyx_gui_misc.C: out character
17329         * bufferview_funcs.C: : out character,
17330         added toggleall as parameter in ToggleAndShow
17331
17332 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17333
17334         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17335
17336         * text2.C (SetCurrentFont): Disable number property at boundary.
17337
17338 2001-02-26  Juergen Vigna  <jug@sad.it>
17339
17340         * lyxfunc.C (getStatus): added a string argument override function so
17341         that this is correctly called from LyXFunc::Dispatch if it contains a
17342         do_not_use_argument which is used!
17343         (Dispatch): added check for "custom" export and call appropriate func.
17344
17345 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17346
17347         * lyxrc.C: Add language_command_local, language_use_babel and
17348         language_global_options.
17349
17350         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17351
17352         * buffer.C (makeLaTeXFile): Use language_use_babel and
17353         language_global_options.
17354
17355 2001-02-23  Juergen Vigna  <jug@sad.it>
17356
17357         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17358         which works with LyXText and putted it inside BufferView. Here now we
17359         only call for that part the BufferView::Dispatch() function.
17360
17361         * BufferView.C (Dispatch): added.
17362
17363         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17364         functions which needs to use a LyXText over from LyXFunc.
17365         (MenuInsertLyXFile): added
17366         (getInsetByCode): added
17367         (moveCursorUpdate): added
17368         (static TEXT): added
17369
17370 2001-02-22  Juergen Vigna  <jug@sad.it>
17371
17372         * BufferView_pimpl.C (update): call a status update to see if LyXText
17373         needs it.
17374
17375 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17376
17377         * vc-backend.C (revert): implement for CVS
17378         (getLog): implement for CVS
17379
17380 2001-02-20  Juergen Vigna  <jug@sad.it>
17381
17382         * text2.C (ClearSelection): added BufferView param for inset_owner call
17383
17384         * lyxfunc.C (TEXT): added this function and use it instead of
17385         directly owner->view()-text of getLyXText().
17386
17387 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17388
17389         * src/layout_forms.C: out preamble
17390         * src/layout_forms.h: out preamble
17391         * src/lyx_cb.C: out preamble
17392         * src/lyx_cb.h: out preamble
17393         * src/lyx_gui.C: out preamble
17394         * src/lyx_gui_misc.C: out preamble
17395         * src/lyxfunc.C: connect with guii preamble
17396
17397 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17398
17399         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17400
17401 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17402
17403         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17404         whether to run bibtex.
17405
17406 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17407
17408         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17409
17410 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17411
17412         * Makefile.am (lyx_SOURCES): removed bibforms.h
17413
17414         * vspace.h: doxygen
17415
17416         * text.C (GetVisibleRow): make several local vars const
17417
17418         * tabular.C: small cleanup.
17419
17420         * lyxserver.C (callback): use compare instead of strncmp
17421
17422         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17423         inlines to after class or to paragraph.C
17424
17425         * lyxfont.h: remove friend operator!=
17426
17427         * converter.h: move friend bool operator< to non friend and after
17428         class def.
17429
17430         * combox.h: small cleanup
17431
17432         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17433         to inlines after class def.
17434
17435         * buffer.C (pop_tag): use string operations instead of strcmp
17436
17437         * bmtable.c: doxygen, small cleanup
17438
17439         * LaTeX.h: remove friend operator==
17440
17441 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17442
17443         * screen.C:
17444         * lyxrc.[Ch]:
17445         * lyxfunc.C:
17446         * lyxfont.[Ch]:
17447         * lyx_cb.C:
17448         * intl.[Ch]:
17449         * commandtags.h:
17450         * buffer.C:
17451         * WorkArea.[Ch]:
17452         * LyXAction.C:
17453         * BufferView_pimpl.C:
17454         * BufferView.[Ch]: remove cruft
17455
17456 2001-02-14  Juergen Vigna  <jug@sad.it>
17457
17458         * lyxfunc.C: removed #if 0 unused code
17459
17460         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17461
17462         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17463
17464         * text2.C (SetSelection): added a BufferView * parameter
17465
17466 2001-02-13  Juergen Vigna  <jug@sad.it>
17467
17468         * lyxfunc.C (Dispatch): fixed protected blank problem.
17469         * BufferView2.C (protectedBlank): added LyxText * parameter.
17470
17471         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17472         (AppendColumn): same as above for column_info.
17473
17474         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17475         (moveCursorUpdate): use a LyXText param for support of InsetText.
17476
17477         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17478         (tripleClick): ditto
17479
17480         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17481
17482         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17483
17484         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17485
17486         * text2.C (SetSelection): set correct update status if inset_owner
17487         (ToggleFree): ditto
17488
17489 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17490
17491         * tabular.C: remove some commented code.
17492
17493 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17494
17495         * BufferView_pimpl.C: call hideSplash()
17496
17497         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17498
17499         * include_form.h:
17500         * bibforms.h: remove
17501
17502         * lyxfunc.C:
17503         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17504           add LFUN_CHILD_CREATE
17505
17506         * counters.h: fix tiny typo
17507
17508         * lyx_cb.C:
17509         * lyx.h:
17510         * lyx_gui.C:
17511         * lyx.C: move splash to frontends/xforms/
17512
17513         * lyx_gui_misc.C: move Include and Bibform to frontends
17514
17515         * lyxvc.h: clarify comment
17516
17517         * vspace.C: tiny housekeeping
17518
17519 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17520
17521         * text.C (PrepareToPrint): RTL Fix.
17522
17523         * paragraph.C (GetUChar): New method.
17524         (String):  Use GetUChar.
17525
17526         * buffer.C (asciiParagraph): Use GetUChar.
17527
17528 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17529
17530         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17531
17532 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17533
17534         * buffer.h:
17535         * buffer.C: rename to getLogName(), handle
17536           build log / latex log nicely
17537
17538 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17539
17540         * MenuBackend.C:
17541         * MenuBackend.h: remove support for reference menuitem type.
17542
17543 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17544
17545         * BufferView_pimpl.C: housekeeping
17546         * BufferView_pimpl.h:
17547         * LyXView.h:
17548         * Makefile.am:
17549         * Timeout.C:
17550         * Timeout.h:
17551         * minibuffer.h: move Timeout GUI-I
17552
17553 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17554
17555         * lyxrc.C (read): Update converters data-structures.
17556
17557 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17558
17559         * LaTeX.h (operator!=): add operator != for Aux_Info
17560
17561 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17562
17563         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17564
17565         * LaTeXLog.C: deleted, useful code moved to Buffer
17566
17567         * buffer.h:
17568         * buffer.C: new function getLatexLogName()
17569
17570         * lyx_gui_misc.C:
17571         * lyx_gui.C:
17572         * lyxvc.C:
17573         * lyxvc.h:
17574         * lyxfunc.C: use frontends for LaTeX and VC logs
17575
17576 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17577
17578         * LaTeX.h: yet another std:: that Allan forgot.
17579
17580         * Variables.C (set): renamed from isset(), because this clashes
17581         with some HP-UX macros (grr).
17582
17583 2001-02-06  Allan Rae  <rae@lyx.org>
17584
17585         * LaTeX.h: Another bug fix.  Missing std:: this time.
17586
17587 2001-02-04  Allan Rae  <rae@lyx.org>
17588
17589         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17590         floats problem. I've left it commented out because it's not quite
17591         correct.  It should also test that the current object is a table or
17592         figure inset.  But I haven't gotten around to figuring out how to do
17593         that.  I *think* it'll be something like: "table" == inset.type()
17594
17595         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17596         bool.
17597
17598 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17599
17600         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17601         all the citation/databases/styles in the auxilary file.
17602         (run): Rerun latex if there was a babel language error.
17603
17604 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17605
17606         * text.C (Backspace): Preserve the font when changing newline char
17607         with a space.
17608         (BreakParagraph): If the cursor is before a space, delete the space.
17609
17610         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17611
17612 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17613
17614         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17615         new argument (code).
17616         (ChangeCitationsIfUnique): New method.
17617
17618         * paragraph.C (GetPositionOfInset): Handle bibkey.
17619
17620 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17621
17622         * BufferView_pimpl.h: change type of Position::par_pos to
17623         LyXParagraph::size_type.
17624
17625 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17626
17627         * BufferView_pimpl.C (savePosition, restorePosition): Write
17628         messages to minibuffer.
17629
17630 2001-01-28  José Matos  <jamatos@fep.up.pt>
17631
17632         * buffer.C (makeDocBookFile): adds support for document language.
17633         A silly restriction on the name of LatexCommand types where removed.
17634         Added support for CDATA sections, allows to chars unescaped, used
17635         among others in code, to avoid escape < and >.
17636
17637 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17638
17639         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17640         saved positions instrad of a stack. Furthermore, a position is
17641         stored using paragraph id/paragraph position.
17642
17643         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17644         Remove LFUN_REF_BACK.
17645
17646 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17647
17648         * converter.C (dvipdfm_options): New method.
17649
17650 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17651
17652         * vspace.C (isValidLength): Fix for empty input string.
17653
17654 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17655
17656         * LyXAction.C (init): change description of LFUN_FIGURE to
17657         "Insert Graphics"
17658
17659 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17660
17661         * LaTeX.C: add using directive
17662
17663 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17664
17665         * MenuBackend.C (expand): Fix the sorting of the formats.
17666
17667 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17668
17669         * lyx_main.C: tiny error message fix
17670
17671 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17672
17673         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17674         calling fl_initialize(). This fixes the problem with ',' as
17675         decimal separator in text files.
17676
17677 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17678
17679         * trans.C (process): Fix the keymap bug.
17680
17681 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17682
17683         * LaTeX.C (scanAuxFiles): New method. Provides support for
17684         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17685         (scanLogFile) Scan for "run BibTeX" messages.
17686
17687         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17688         OT1 font encoding. Also, load the aecompl package if the ae
17689         package is loaded.
17690
17691         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17692
17693 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17694
17695         * texrow.C (increasePos): turn two error messages into debug
17696         messages.
17697
17698 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17699
17700         * LaTeX.C (scanAux): Handle the \@input macro.
17701         (runBibTeX): Use scanAux().
17702
17703         * language.C (latex_options_): New field.
17704
17705         * LaTeXFeatures.C (getMacros): Add language macros.
17706
17707         * buffer.C (makeLaTeXFile): Small fix.
17708
17709 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17710
17711         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17712
17713         * text2.C: add a using directive.
17714
17715 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17716
17717         * BufferView2.C:
17718         * lyx_gui_misc.h:
17719         * lyxfr1.C:
17720         * lyxfunc.C: kill LyXBell.
17721
17722 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17723
17724         * text.C (IsBoundary): Remove the error message
17725
17726         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17727
17728         * lyxrc.C (setDefaults): Correct initialization value for
17729         font_norm_type.
17730
17731 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17732
17733         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17734         gotoError().
17735
17736         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17737         and GotoNextNote().
17738
17739         * src/LyXAction.C: Added reference-next.
17740
17741         * text.C (InsertChar): Use contains instead of strchr.
17742
17743         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17744
17745 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17746
17747         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17748         alignment commands (when needed).
17749
17750         * text.C (InsertChar): Add ':' to number separator chars.