]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
bug 313 dont reset the layout on keepEmpty paragraphs
[lyx.git] / src / ChangeLog
1 2005-07-15    <lgb@tandberg.net>
2
3         * paragraph_funcs.C (breakParagraph): dont reset the layout on
4         keepEmpty paragraphs
5
6         * text.C (setCursorFromCoordinates): add a debug statement
7
8         * text2.C (getColumnNearX): bug 1825 make sure that we don't
9         return a pos that is not on the row
10
11         * output_latex.C (TeXDeeper): get rid of potential dereferencing
12         of past the end iterator
13
14 2005-07-14  André Pönitz  <poenitz@gmx.net>
15
16         * undo.C (recordUndoFullBuffer): implement undo for
17   textclass switches
18
19 2005-07-14  André Pönitz  <poenitz@gmx.net>
20
21         * cursor.C (setSelection): open insets when selection is set there
22   to avoid crashs with cold coord cache
23
24 2005-07-14  André Pönitz  <poenitz@gmx.net>
25
26         * trans_mgr.C (insert): move cursor to the right after inserting
27   a char.
28
29 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
30
31         * BufferView_pimpl.C (update): dampen some of the debug blabbering
32         * factory.C (readInset): ditto
33         * text.C, text2.C: ditto
34
35 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
36
37         * buffer.C: format incremented to 242. There is no file format per
38         se, but the "frenchb" language has been removed from lib/language
39         and has to be translated to "french" by lyx2lyx.
40
41 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
42
43         * cursor_slice.h, dociterator.h: add some documentation
44         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
45
46 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
47
48         * text.C (leftMargin): do not add identation to display() style
49         insets, because they are always centered (bug 1293).
50
51 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
52
53         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
54         formatted_time methods in support/lyxtime.
55
56 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
57
58         * toc.[Ch]: new method getGuiName, which is used by the frontends 
59         to set the toc combo (fixes bug 1870). Make TOC string translatable.
60
61 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
62
63         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
64         StableDocIterator const &)
65         * undo.C (recordUndo): use the above instead of cell.size() comparison
66         (fixes bug 1808; instructed by André).
67
68 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
69
70         * cursor_slice.h: 
71         * dociterator.h: Fix the assert when copying rows/cols in math
72
73 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
74
75         * BufferView_pimpl.C:
76         * LyXAction.C:
77         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
78
79         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
80         (findInset): new functions, refactored from goto Inset that return 
81         the position of a certain inset without setting the buffer's cursor
82         (by Jean-Marc); 
83         (gotoInset): rewrite to call findInset and then set the cursor
84         (by Jean-Marc).
85
86 2005-06-16  Angus Leeming  <leeming@lyx.org>
87
88         * lyxrc.C (output, read): wrap all input and output of paths with
89         calls to os::internal_path and os::external_path, respectively.
90         (output): wrap bind_file inside quotes.
91
92         * format.C (view): enable the viewer to use the '$$s' placeholder.
93
94 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
95
96         * LColor.[Ch] (getFromLaTeXName): new
97
98 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
99
100         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
101
102 2005-06-14  Angus Leeming  <leeming@lyx.org>
103
104         * lyx_main.C (init): ensure that the LyX binary dir is the first
105         element in the PATH on non-POSIX builds.
106
107 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
108
109         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
110
111 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
112
113         * rowpainter.C (paintInset, paintHebrewComposeChar)
114         (paintArabicComposeChar, paintChars): add a LyXFont argument.
115         (paintChars): use getFontSpan to reduce calls to getFont to a
116         minimum; use Paragraph::lookupChange instead of isXXXText.
117         (paintForeignMark): rename LyXFont argument.
118         (paintFromPos): pass a LyXFont object to the various paintXXX
119         methods.
120
121         * FontIterator.C (FontIterator, operator++): use
122         Paragraph::getFontSpan
123
124         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
125         version that returns the font span as a pair.
126
127 2005-06-09  Angus Leeming  <leeming@lyx.org>
128
129         * converter.C (convert): Don't forget "outfile = real_outfile" as
130         the final step in a conversion where the input and output file names
131         are the same. Otherwise, future conversion steps won't work...
132
133 2005-06-09  Angus Leeming  <leeming@lyx.org>
134
135         * lyxsocket.C: remove stub code as it isn't needed by
136         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
137
138 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
139
140         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
141         effectively disabled -x
142
143 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
144
145         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
146         when it actually makes sense.
147
148 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
149
150         * BufferView_pimpl.C: revert to showCursor in connection with
151         Lars's front-end stack
152
153 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
154
155         * text.C (redoParagraph): move cursor right after a bibitem
156         has been inserted.
157
158         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
159
160 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
161
162         * buffer_funcs.C (bufferErrors): fix computation of the end of an
163         error range.
164
165 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
166
167         * BufferView.[Ch] (update):
168         * BufferView_pimpl.[Ch] (update, metrics):
169         * dimension.h (operator==):
170         * lyxfunc.C (dispatch):
171         * metricsinfo.h (ViewMetricsInfo):
172         * rowpainter.C (paintText):
173         * lyxtext.h:
174         * text.C (redoParagraph):
175         * text3.C (dispatch): Make LyX only repaint current paragraph in
176         case of character insert --> speedup. Also fix cursor draw
177         artifacts
178
179 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
180
181         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
182         avoid a crash (bug 1891)
183
184 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
185
186         Fix bug 1892:
187
188         * text2.C (getStringToIndex): constify cur argument.
189
190         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
191         argument has been given
192         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
193         try to invoke LFUN_INSET_APPLY).
194
195         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
196         if no inset was created by doInsertInset
197         (doInsertInset): return true if an inset has been inserted.
198
199 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
200
201         * vspace.C (asGUIName): new method. A version of the space
202         suitable for showing on screen.
203
204 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
205
206         * MenuBackend.C:
207         * lyxrc.C: rename "ASCII" to "Plain Text"
208
209 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
210
211         * buffer_funcs.C (expandLabel): take a Buffer as argument;
212         translate the labelstring.
213         (setCounter): translate labelstring as needed.
214
215         * output_docbook.C (makeCommand): fix expandLabel invokation
216
217 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
218
219         * BufferView.C: fix dialog title
220
221 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
222
223         * lyx_main.C (priv_exec): fix logic error with help from Angus
224         * lyx_main.C (parse_execute): set is_gui = false and remove now
225         obsolete comment about a segfault
226
227 2005-05-18  Angus Leeming  <leeming@lyx.org>
228
229         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
230
231 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
232
233         * tabular.[hC]: added setCellInset to fix tabular paste.
234
235 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
236
237         * buffer.C (save): check if destination is writable before trying
238         to copy a file
239
240 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
241
242         * BufferView_pimpl.C (update): fix processEvents -caused update
243         recursion bug
244
245 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
246
247         * buffer_funcs.C (setCounter): fix test for numbering of
248         environments.
249
250         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
251         depth correctly; use optional argument when it exists
252
253         * lyxtextclass.C: remove unused MaxCounterTags enum
254         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
255         (max_toclevel, min_toclevel): new methods.
256
257         * MenuBackend.C (expandToc2): fix case where depth is smaller than
258         the smallest depth in toc.
259
260         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
261         layouts that should not appear in a table of contents.
262
263 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
264
265         * cursor.h (undispatched, noUpdate): add comments from André
266
267 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
268
269         * lfuns.h:
270         * LyXAction.C:
271         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
272
273 2005-05-07  André Pönitz  <poenitz@gmx.net>
274
275         * cursor.[Ch] (leaveInset): new function
276
277 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
278
279         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
280
281 2005-05-04  Angus Leeming  <leeming@lyx.org>
282
283         * lyxfunc.C (getStatus): disable the spell checker dialog if
284         none of USE_[AIP]SPELL are defined.
285
286 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
287
288         * tabular.C (setWidthOfCell): remove obsolete comment
289
290 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
291
292         * paragraph.C (bibitem):
293         * buffer_funcs.C (setCounter):
294         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
295
296 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
297
298         * text3.C (getStatus): immediately return after setOnOff
299
300         * rowpainter.C: fix drawing of appendix start
301
302 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
303
304         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
305         SwitchBetweenClasses and remove the unused return value.
306         Handle character styles, too
307
308 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
309
310         * factory.C (createInset): handle undefined character styles
311
312 2005-05-02  Angus Leeming  <leeming@lyx.org>
313
314         * buffer.C: protect the #include of utime.h with a preprocessor
315         guard.
316
317 2005-05-02  Angus Leeming  <leeming@lyx.org>
318
319         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
320         function so that auto-saving works, albeit in a blocking manner.
321
322         * Makefile.am: make compilation of the client sub directory, of
323         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
324         on conditionals set at configure time.
325
326         * SpellBase.[Ch]: no longer an abstract base class. Instead,
327         it can be compiled in its own right but has no-op functionality.
328
329         * aspell.C, pspell.C: remove preprocessor guards. The files should
330         be compiled only if the necessary functionality exists.
331
332         * lyxserver.C, lyxsocket.C: disable on Windows.
333
334 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
335
336         * text.C (leftMargin): Fix the parindent use bug (1764)
337         by dirty trick
338
339 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
340
341         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
342         argument.
343
344 2005-04-25  Angus Leeming  <leeming@lyx.org>
345
346         * Bidi.[Ch]:
347         * coordcache.[Ch]:
348         * ispell.C:
349         * lyxserver.C:
350         * mover.C:
351         * pch.h:
352         include <config.h> in .C files, not .h ones.
353         add licence blurb.
354         protect headers inside preprocessor guards.
355
356 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
357
358         * FuncStatus.h (StatusCodes): document
359
360 2005-04-21  André Pönitz  <poenitz@gmx.net>
361
362         * FuncStatus.h (enabled, onoff): document
363
364 2005-04-19  Angus Leeming  <leeming@lyx.org>
365
366         * BufferView_pimpl.C (cursorToggle): no longer test whether
367         any child processes have been reaped before calling
368         handleCompletedProcesses().
369
370 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
371
372         * text3.C (dispatch): fix, finally fix, the language problem in
373         new lyxtexts, without disabling on-the-fly font changes (Helge's
374         bug report)
375
376 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
377
378         * text3.C (dispatch): set cursor on double/triple click events
379         (bug 1811)
380
381 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
382
383         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
384         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
385
386         * rowpainter.C (paintFirst): simplify the code a little bit. In
387         particular, remove the test for secnumdepth.
388         * text.C (setHeightOfRow): only allocate space for chapter number
389         when updateCounters provided an actual label, instead of looking
390         at secnumdepth directly.
391
392         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
393
394         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
395         paragraphs when secnumdepth is large enough or, for environments,
396         when they are not the first in a sequence.
397
398 2005-04-17  Angus Leeming  <leeming@lyx.org>
399
400         * buffer.C (makeLaTeXFile): replace code to manipulate a path
401         containing space and '~' characters with a call to latex_path().
402
403 2005-04-17  Angus Leeming  <leeming@lyx.org>
404
405         * converter.C (convert): protect all args of convertDefault.sh
406         script with quotes.
407
408 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
409
410         * text3.C (dispatch): change the layout to "Caption" after inserting
411         a float.
412
413 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
414
415         * text3.C (dispatch): fix language problem in newly created
416         textinsets (and main text) in non-english docs
417
418 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
419
420         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
421         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
422         * text3.C (getStatus): disable LFUN_INSET_MODIFY
423
424 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
425
426         * lyxtext.h:
427         * text.C (metrics):
428         * text2.C (getFont):
429         * rowpainter.C (getFont): Fix metrics bug introduced by inset
430         fonts fix
431
432 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
433
434         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
435         output of \item arguments without trailing text.
436
437 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
438
439         * FontIterator.C (operator*): avoid a copy of the font.
440
441 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
442
443         * rowpainter.C (getFont): fix language bug from previous fix
444
445 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
446
447         * rowpainter.C (RowPainter, getFont): fix font inside inset
448         (bugs 1766, 1809)
449
450 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
451
452         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
453         preventing inserted font, deco, delim insets jumping to start of
454         surrounding inset.
455
456 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
457
458         * lyxfunc.C (dispatch): translate message before sending it to the
459         minibuffer.
460
461 2005-03-29  Angus Leeming  <leeming@lyx.org>
462
463         * lyx_main.C (priv_exec): call os::internal_path on each file passed
464         to LyX on the command line.
465
466 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
467
468         * vc-backend.C: use QuoteName to protect file names wherever
469         necessary.
470
471 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
472
473         * buffer.[Ch]:
474         * BranchList.h: fix bugs 1844,1845: document settings don't
475         stick
476
477 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
478
479         * lyxrc.C (setDefaults, read, output, getDescription): add support
480         for tex_allows_spaces.
481
482         * exporter.C (Export): allows files in directory containing spaces
483         if tex_allows_spaces is true.
484
485         * buffer.C (makeLaTeXFile): if the document path contains spaces,
486         output it in double quotes.
487
488 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
489
490         * rowpainter.C: use default text height for drawing change tracker
491         strikeout lines.
492
493 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
494
495         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
496
497 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
498
499         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
500         directory is missing.
501
502 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
503
504         * text2.C: fixed the fix, extended to other case.
505
506 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
507
508         * text2.C: fix for cursor up/down stuck in math [bug 1792]
509
510 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
511
512         * text2.C (cursorUp): get rid of a crash
513         * text.C (x2pos): add an assert
514
515 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
516
517         * lyxfunc.C (getStatus): fix warning when assertions are disabled
518
519         * text3.C:
520         * lyxfunc.C:
521         * dociterator.C: include <boost/current_function.hpp>, which is
522         needed when assertions are disabled.
523
524 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
525
526         * text2.C: fix for stuck cursor when traversing two
527         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
528
529 2005-02-25  Andreas Vox  <avox@arcor.de>
530
531         * output_docbook.C (makeParagraph): suppress trailing newline
532         after a run of paragraphs
533
534 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
535
536         * paragraph.C: fix for confused change tracker when pasting
537         text that begins with a lineseparator. [bug 1827]
538         (setChange(0, Change::INSERTED);)
539
540         * paragraph_funcs.C: fix for lost changes on triple-paste
541         in change tracking mode [bug 1827] (par.setChange()).
542
543 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * text2.C (updateCounters, setCounter, expandLabel): move to
546         buffer_funcs.
547
548         * buffer_funcs.C (updateCounters): turn into a free standing
549         function and add a buffer parameter. Remove dead code for tracking
550         labelstring change.
551         (setCounter): change into a free-standing function which gets a
552         dociterator as argument. Use this iterator to fix captions in a
553         simple way. When no float is found above the caption, use the
554         labelstring of the caption layout as default.
555
556         * text.C (breakParagraph, backspace):
557         * text2.C (init, setLayout, changeDepth):
558         * text3.C (dispatch):
559         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
560         updateCounters.
561
562         * dociterator.C (forwardPar): make it much faster by calling
563         forwardPos() only when really necessary.
564
565         * output_docbook.C (makeCommand): adapt to expandLabel move.
566
567         * cursor.C: remove unused variable
568
569 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
570
571         * paragraph_funcs.C: fix crash when pasting insets in change
572         tracking mode [bug 1277] (honour change type in moveItem).
573
574 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
575
576         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
577
578 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
579
580         * BufferView.C (setCursor): change to use a DocIterator.
581         (gotoLabel): use BufferView::setCursor (other part of bug 781).
582         (putSelectionAt): adapt to BufferView::setCursor change.
583
584         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
585         moved here from LyXText and rewritten to use proper cursor
586         methods. Fixes bug 1787, 616 and 835.
587
588         * BufferView_pimpl.C (restorePosition): set the cursor correctly
589         when inside an inset (part of bug 781).
590         (dispatch): adapt to change of BufferView::setCursor.
591         (getStatus, dispatch): handle LFUN_GOTOERROR,
592         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
593
594         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
595         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
596         * text3.C (gotoNextInset, gotoInset): removed.
597
598 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
599
600         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
601
602 2005-02-15  Angus Leeming  <leeming@lyx.org>
603
604         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
605         can be used meaningfully in a comparison.
606
607 2005-02-13  André Pönitz  <poenitz@gmx.net>
608
609         * bufferview_funcs.C (coordOffset): improve cursor drawing
610
611 2005-02-13  André Pönitz  <poenitz@gmx.net>
612
613         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
614         * Cursor.C (dispatch): use fixIfBroken
615         * lyxfunc.C (getStatus): use fixIfBroken
616
617 2005-02-15  Angus Leeming  <leeming@lyx.org>
618
619         * lyx_main.C (error_handler):
620         * lyxfunc.C:
621         * lyxrc.C (setDefaults):
622         s/GetEnv/getEnv/.
623         #include "environment.h".
624
625         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
626
627 2005-02-15  Angus Leeming  <leeming@lyx.org>
628
629         * lyxserver.C (startPipe): squash MSVC warning "local variable
630         'fd' used without having been initialized".
631
632 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
633
634         * BufferView_pimpl.C: revert accidental commit.
635
636 2005-02-14  André Pönitz  <poenitz@gmx.net>
637
638         * dociterator.[Ch]: new member forwardPosNoDescent(),
639         which doesn't enter nested insets.
640         * text2.C (setFont): use forwardPosNoDescent() instead
641         of ForwardPos() (fixes crash on font change).
642
643 2005-02-13  Angus Leeming  <leeming@lyx.org>
644
645         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
646         only if lyxrc.path_prefix is not empty.
647
648 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
649
650         * bufferparams.C (readGraphicsDriver): prevent crash
651
652 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
653
654         * text2.C (setCounter): check for inInset() == 0
655
656 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
657
658         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
659         but use update() to get correct screen display; use convert
660         instead of istringstream.
661         (getStatus): handle LFUN_GOTO_PARAGRAPH
662
663         * lyxfunc.C (dispatch, getStatus): do not handle
664         LFUN_GOTO_PARAGRAPH here.
665
666 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
667
668         * text3.C (dispatch): size() -> depth()
669
670         * text2.C: remove some debug output
671
672         * paragraph.C: ws changes only
673
674         * lyxfunc.C (getStatus): size() -> depth()
675
676         * dociterator.h (clear, push_back, pop_back, internalData,
677         operator[], resize, empty): new functions
678         Make StableDocIterator and operator== be friends. Don't inherit
679         from std::vector use a privat class variable slices_ instead.
680         Modify to fit.
681
682         * dociterator.C: update because of not inheriting from std::vector
683         anymore. Call explictly to slices_ instead. Use depth() instead of
684         size() and top() instead of back()
685
686         * cursor.C: chagne size() -> depth and back() -> top(). Also
687         remove some direct operator[](i) calls in favour of foo[i]
688         (getFont): remove some dead code
689
690         * bufferview_funcs.C (coordOffset): size() -> depth()
691
692         * buffer.C: ws changes only
693
694         * CutAndPaste.C (eraseSelection): back() -> top()
695
696         * BufferView_pimpl.C (selectionRequested): back() -> top()
697
698         * BufferView.C (setCursor): size() -> depth()
699
700 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
701
702         * text3.C (cursorPrevious): return true if depm changed something
703         (cursorNext): ditto
704         (dispatch): rename sl to oldTopSlice, remove moving use the new
705         NoUpdate func attrib instead. Make sure that needsUpdate is set
706         for function that have NoUpdate, but where depm might have changed
707         the buffer anyway.
708
709         * text2.C (cursorLeft): make us return true if depm changed
710         something
711         (cursorRight): ditto
712         (cursorUpParagraph): ditto
713         (curosrDownParagraph): ditto
714         (cursorUp, cursorDown): ditto, make sure to read comments in code
715         (deleteEmptyParagraphMechanism): remove an assert, also return
716         true if just a single char was deleted.
717
718         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
719         cursor that we modify, to avoid modifying an active cursor before
720         we call setCursor. This allows depm to run. Also return true if
721         depm deleted something.
722
723         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
724         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
725         cursorDownParagraph, cursorPrevious and cursorNext, return true if
726         something was changed in the buffer because of them (ie. depm run)
727
728         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
729         debug messages. Make update by default be false. Make sure that
730         the result of update is retained throught several calls down to
731         dispatch.
732
733         * LyXAction.h: add a new func_attrib: NoUpdate
734
735         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
736         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
737         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
738         and LFUN_WORDLEFT
739         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
740
741 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
742
743         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
744         bv_->owner(), bv_->buffer() by direct references to the private
745         members.
746         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
747         (getStatus): isSavedPosition() is in BufferView::Pimpl.
748         (fitCursor): center() is in BufferView::Pimpl.
749         (getStatus, trackChanges, dispatch): no need for a temporary buf
750         variable
751         (fitCursor, workAreaDispatch): use workarea().workheight()
752
753 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
754
755         * CutAndPaste.C (pasteSelectionHelper): fix a crash
756
757 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
758
759         * buffer.C: format up to 241.
760         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
761         break if pasting into ERT
762         * lyxfunc.C (getStatus): suppress mathpanel and
763         LFUN_DIALOG_SHOW_NEW_INSET in ERT
764
765 2005-02-01  Angus Leeming  <leeming@lyx.org>
766
767         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
768
769 2005-02-01  Angus Leeming  <leeming@lyx.org>
770
771         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
772         calling fs::is_directory().
773
774 2005-01-31  Angus Leeming  <leeming@lyx.org>
775
776         * lyx_main.C (priv_exec): specify explicitly the relative location
777         of the top level build directory when run in-place.
778
779 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
780
781         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
782         LyXText containing the cursor, not the top-level one.
783
784         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
785         true.
786         (insertStringAsLines): rename par to pit; use temporary variable
787         par to hold a Paragraph; do not store par.layout() in a variable,
788         since the pointer may die when breaking paragraphs; pass pars to
789         breakParagraph() instead of Buffer::paragraphs().
790
791 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
792
793         * lyxlex_pimpl.h: #include <fstream>.
794
795         * BufferView.[Ch] (getLyXText): add a const version.
796
797         * BufferView_pimpl.C: add debug aids.
798
799         * RowList_fwd.h:
800         * buffer.h:
801         * lyxrow.h:
802         * paragraph_funcs.h: add commentary explaining what the class does.
803
804
805         * coordcache.[Ch]: add lots of commentary.
806         (startUpdating, doneUpdating): debug aids.
807         (arrays, insets, parPos, getParPos): accessors to private data.
808
809         * cursor_slice.[Ch] (text): add a const version.
810         * dociterator.[Ch] (text, innerText): add const versions.
811
812         * lyxtext.h (breakParagraph): change the keep_layout arg to a
813         bool.
814
815         * paragraph.C (getRow, pos2ros): add asserts.
816
817         * paragraph.h: add commentary. Lots of.
818
819         * paragraph.[Ch] (metrucs, draw): removed.
820
821         * cursor.C:
822         * rowpainter.[Ch]: const-correct changes.
823
824         * text.C: various obvious clean-ups. Removal of ancient cruft.
825         Bug fixes, even.
826
827 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
828
829         * vc-backend.C (find_file): rewrite to use boost.filesystem
830         (scanMaster): ditto
831
832         * main.C (main): set default name check for boost.filesystem to
833         no check
834
835         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
836         (open): ditto
837         (doImport): ditto
838         (actOnUpdatedPrefs): ditto
839
840         * lyx_main.C (init): rewrite to use boost.filesystem
841         (queryUserLyXDir): ditto
842
843         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
844         (getContentsOfAsciiFile): ditto
845
846         * lastfiles.C (readFile): rewrite to use boost.filesystem
847
848         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
849
850         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
851         (loadLyXFile): ditto
852
853         * buffer.C (Buffer): adjust for destroydir
854         (getLogName): rewrite to use boost.filesystem
855         (setFileName): ditto
856         (save): use fs::copy_file (from fs_extras)
857
858         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
859
860         * LaTeX.C (run): rewrite to use boost.filesystem
861         (scanAuxFiles): ditto
862         (handleFoundFile): ditto
863
864 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
865
866         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
867
868         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
869
870 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
871
872         * lyxlayout.[Ch]: change some vars from float to double
873
874         * buffer.C (readFile): make a local var const
875
876         * Several files: use convert<> instead of atoi,strToXXX and friends
877
878 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
879
880         * LaTeXFeatures.[Ch]: Add a static list packages_ that
881         holds the contents of packages.lst. New functions getAvailable
882         and isAvailable to parse and check that list, resp.
883
884         * LyXAction.C:
885         * lfuns.h:
886         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
887
888         * bufferparams.[Ch]: new param output_changes.
889
890         * Buffer.C: increase file format to 240.
891         Use output_changes and isVailable.
892
893         * changes.[Ch]:
894         * paragraph.C:
895         * paragraph_pimpl.C: Use output_changes and isVailable.
896
897 2005-01-23  Angus Leeming  <leeming@lyx.org>
898
899         * output_latex.C: #include "insetbibitem.h", rather than
900         forward declare function bibitemWidest.
901
902 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
903
904         * lyx_main.C (init): make it compile on the Mac.
905
906 2005-01-20  Angus Leeming  <leeming@lyx.org>
907
908         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
909         (setLyXMisc): (char string literal) != (char string literal) is
910         performing a comparison on the addresses. Convert one operand
911         explicitly to string to guarantee expected behaviour.
912         From MSVC warning.
913
914 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
915
916         * buffer.C:
917         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
918
919         * output_plaintext.C: remove unneeded #include gzstream.h.
920
921 2005-01-20  Angus Leeming  <leeming@lyx.org>
922
923         * SpellBase.h: rename some of the elements of the Result enum.
924
925         * aspell_local.h:
926         * ispell.h:
927         * pspell.h:
928         * aspell.C (check):
929         * ispell.C (check):
930         * pspell.C (check): ditto
931
932 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
933
934         * buffer.C: add #include <fstream>.
935
936         * lyx_main.C (init): Compile fix.
937
938         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
939
940 2005-01-20  Angus Leeming  <leeming@lyx.org>
941
942         * mover.h: change commentary to reflect the changed meaning of
943         the $$s placeholder.
944
945 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
946
947         * output_linuxdoc.C (linuxdocParagraphs): silence warning
948
949         * lyxfind.C (MatchString::operator()): remove bogus semicolon
950
951 2005-01-20  Angus Leeming  <leeming@lyx.org>
952
953         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
954         printing diagnostic data by not dereferecing an iterator past the
955         end.
956
957 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
958
959         * buffer.C (readHeader): use "&&" rather than "and".
960
961         * lyxserver.h (inPipeName, outPipeName): make these const.
962
963 2005-01-19  Angus Leeming  <leeming@lyx.org>
964
965         * lyx_main.C (error_handler, init): protect SIGHUP with
966         #ifdef SIGHUP guards.
967
968 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
969
970         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
971
972 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
973
974         * text.C (setHeightOfRow): add a margin at the top and bottom of
975         the document (bug 1761)
976
977 2005-01-17  Angus Leeming  <leeming@lyx.org>
978
979         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
980         with "python ". Workaround for a brain-dead Windows.
981
982 2005-01-16  Angus Leeming  <leeming@lyx.org>
983
984         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
985         for MacOSX and Windows to use prependEnvPath.
986         Strip out the hard-coded block to add elements to the PATH for
987         MacOSX and replace it with a call to prependEnvPath using the
988         contents of LyXRC::path_prefix.
989         (queryUserLyXDir): strip out the code to run reconfigure, instead
990         returning a boolean indicating the necessity to do so.
991         (reconfigureUserLyXDir): contains the code to reconfigure the
992         user support directory. Is now called after the various LyXRC data
993         files have been read.
994
995         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
996
997 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
998
999         * converter.[Ch] (convert): take a new parameter try_default. Use
1000         a default converter (imagemagick) if try_default is true.
1001
1002 2005-01-13  Angus Leeming  <leeming@lyx.org>
1003
1004         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1005         os::cygwin_path_fix.
1006         (write): output LyXRC::cygwin_path_fix as necessary.
1007
1008 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1009
1010         * lyxrc.h:
1011         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1012
1013 2005-01-12  Angus Leeming  <leeming@lyx.org>
1014
1015         * lyx_main.C (init): set the PATH variable to include the
1016         directory containing the LyX binary when running on Mac or Windows.
1017
1018 2005-01-12  Angus Leeming  <leeming@lyx.org>
1019
1020         * lyx_main.C (init): remove cruft that purports to set the locale
1021         dir. It doesn't and is not needed anyway.
1022
1023 2005-01-10  Angus Leeming  <leeming@lyx.org>
1024
1025         * Makefile.am: remove the lyx_main.C special casing.
1026
1027         * BufferView_pimpl.C:
1028         * bufferlist.C:
1029         * exporter.C:
1030         * lyx_cb.C:
1031         * lyx_main.C:
1032         * lyxfunc.C:
1033         * messages.C: use support/package.h to provide the paths to the
1034         various directories used by LyX.
1035
1036 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1037
1038         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1039         layout if pasting into an empty paragraph)
1040
1041 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1042
1043         * tex-accent.C: add <string>
1044
1045 2005-01-06  José Matos  <jamatos@lyx.org>
1046
1047         * ParagraphParameters.C (write): put every parameter in its own line.
1048         * paragraph.C (write): reduce number of consecutive empty lines exported.
1049         * buffer.C (LYX_FORMAT): increase file format to 239.
1050
1051 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1052
1053         * everywhere: change support/tostr.h -> support/convert.h
1054
1055         * tabular.C: make all write_attributes templates, tostr -> convert
1056
1057         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1058         (emptyTag): and -> &&, and fix type for ret from getChar
1059         (getFirstWord): fix type for ret from getChar
1060         (onlyText): and -> &&
1061         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1062         getChar
1063
1064         * toc.C (goTo, action):
1065         * text3.C (dispatch):
1066         * text.C (currentState):
1067         * tex-accent.C (DoAccent):
1068         * sgml.C:
1069         * lyxrc.C:
1070         * lyxfunc.C (menuNew):
1071         * lyxfinc.C (replace):
1072         * counters.C (laberItem):
1073         * bufferview_funcs.C (font2string):
1074         * bufferparams.C (writeFile):
1075         * buffer.C (readFile):
1076         * Spacing.C (set):
1077         * MenuBackend.C: tostr -> convert
1078
1079         * LaTeX.C (runMessage): fix format
1080         (scanAuxFiles): tostr -> convert
1081
1082         * BufferView_pimpl.C (savePosition): fix format
1083         (restorePosition): ditto
1084         (dispatch): ditto
1085
1086 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1087
1088         * Spacing.[Ch]: New method getValueAsString().
1089
1090         * Spacing.[Ch]:
1091         * bufferparams.C:
1092         * ParagraphParameters.C:
1093         * lyxlayout.C:
1094         * text.C:
1095         * text3.C: store/read spacing value as string.
1096
1097         * rowpainter.C: change float value (spacing_val) to double.
1098
1099         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1100         broken custom document spacing).
1101
1102 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1103
1104         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1105         namespace, also more use of temp references and const
1106
1107         * cursor.[Ch] (getStatus): move to lyxfunc.C
1108
1109         * bufferparams.C: reformat slightly
1110
1111         * bufferview_funcs.C (font2string): constify arg
1112
1113         * changes.C:
1114         * converter.C:
1115         * counters.C:
1116         * bufferlist.C:
1117         * buffer_funcs.C: (many funcs): constify arg on function
1118         definitions, also make more local vars const, also add ASSERTS on
1119         pointer args.
1120
1121         * buffer.C (LYX_FORMAT): put const in correct place
1122         (many funcs): constify arg on function definitions, also make
1123         more local vars const
1124
1125         * aspell_local.h: remove "struct" from typdef setup
1126
1127         * aspell.C (check): make word_ok const
1128         (nextMiss): simplify slightly
1129         (error): ditto
1130
1131 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1132
1133         * lyxrc.[Ch]: store all float values as strings.
1134         use int (not float) for lyxrc.dpi.
1135
1136 2005-01-04  Angus Leeming  <leeming@lyx.org>
1137
1138         * lyx_cb.C (Reconfigure):
1139         * lyx_main.C (queryUserLyXDir):
1140         to run the <system_lyxdir>/configure correctly on Windows, prefix
1141         the path to the script with "sh " when generating the string that
1142         is passed to system().
1143
1144 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1145
1146         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1147
1148 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1149
1150         * lyxlength.C (asLatexString): get rid of setprecision
1151
1152 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1153
1154         * text2.C (setLayout): remove unused variable endpit.
1155         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1156
1157         * paragraph.C (onlyText): remove unused variable style.
1158
1159         * cursor.C (bruteFind): remove unused variables beg and end.
1160
1161         * Makefile.am (dist_noinset_DATA): not needed anymore
1162
1163         * cheaders/*: remove.
1164
1165 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1166
1167         * text3.C: fix LFUN_MATH_MODE.
1168
1169 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1170
1171         * buffer_funcs.C (countWords): new function. Counts words between
1172         two iterators.
1173
1174         * BufferView_pimpl.C (getStatus, dispatch): handle
1175         LFUN_WORDS_COUNT.
1176
1177         * LyXAction.C (init):
1178         * lfuns.h: add LFUN_WORDS_COUNT.
1179
1180 2004-12-19  Angus Leeming  <leeming@lyx.org>
1181
1182         * buffer.C (save): s/slashify_path/internal_path/.
1183
1184 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1185
1186         * lyxfind.C (findChange): do not search for end of pars, because
1187         the change tracker cannot handle this (fixes bug 1719).
1188
1189 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1190
1191         * paragraph.[Ch] (autoBreakRows): remove
1192
1193         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1194
1195         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1196         avoid using the paragraph one
1197
1198         * text2.C (LyXText, insertStringAsLines): adjust
1199
1200 2004-12-16  Angus Leeming  <leeming@lyx.org>
1201
1202         * bufferlist.C:
1203         * lyx_main.C:
1204         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1205
1206 2004-12-14  Angus Leeming  <leeming@lyx.org>
1207
1208         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1209
1210         * bufferlist.C (emergencyWrite):
1211         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1212         GetEnvPath("HOME").
1213
1214 2004-12-14  Angus Leeming  <leeming@lyx.org>
1215
1216         * main.C: (main): no longer pass pointers to os::init.
1217
1218 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1219
1220         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1221         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1222
1223 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1224
1225         * lyxfunc.C:
1226         * text3.C: remove selection_possible global flag
1227
1228 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1229
1230         * text2.C (getSelectionSpan): remove
1231         (changeDepth, changeDepthAllowed): adjust
1232
1233 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1234
1235         * Makefile.am (BOOST_LIBS): use boost variables
1236
1237 2004-12-03  José Matos  <jamatos@lyx.org>
1238
1239         * buffer.C: format up to 238.
1240
1241 2004-12-03  José Matos  <jamatos@lyx.org>
1242
1243         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1244
1245 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1246
1247         * cursor.C (goUpDown): remove call to idxUpDown2
1248
1249 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1250
1251         * tabular.[Ch]: use size_t-like types for cell, row and column
1252         indices
1253
1254 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1255
1256         * lyxfunc.C (getStatus): do not lose previous information when
1257         calling BufferView::getStatus; do not set a default "Command
1258         disabled" message at the beginning, but just before returning.
1259
1260 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1261
1262         * cursor.h (getStatus): add better comment from src/cursor.C
1263
1264 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1265
1266         * text3.C (getStatus): return false when the lfun is not handled
1267
1268 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1269
1270         * broken_headers.h: remove
1271
1272         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1273
1274 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1275
1276         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1277         offset_ref accessors
1278
1279         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1280         top_y_, merge fitcursor with update
1281         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1282         coord scheme
1283         (metrics): introduce
1284         (workAreaDispatch): adapt to new coord scheme
1285         (redoCurrentBuffer): remove
1286
1287         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1288
1289         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1290         CurStatus enum.
1291
1292         * coordcache.[Ch]: add paragraph cache and helpers
1293
1294         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1295         adjust everywhere
1296
1297         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1298         (targetX, setTargetX): introduce
1299
1300         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1301         baseline -> ascent, as the rest of lyx
1302
1303         * lyxtext.h: remove redoParagraphs, updateParPositions,
1304         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1305         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1306         have ascent/descent (ascent is ascent of first par)
1307
1308         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1309         step of BufferView
1310
1311         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1312
1313         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1314
1315         * pariterator.C: fix infinite loop introduced in par->pit renaming
1316
1317         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1318         in insets and LyXText, draw two off-screen paragraphs using
1319         NullPainter, and adapt to new coord scheme
1320
1321         * text.C:
1322         * text2.C:
1323         * text3.C: adapt lfun handlers to the new coord scheme, which
1324         means: there's only guaranteed coord information for onscreen pars
1325         plus one above and one below. This implies that one can do search
1326         from y coordinates in the range [-1,workHeight]
1327
1328 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1329
1330         * rename a lot of InsetOld to InsetBase
1331
1332 2004-11-25  Angus Leeming  <leeming@lyx.org>
1333
1334         * BufferView_pimpl.C:
1335         * lyx_cb.C:
1336         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1337
1338 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1339
1340         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1341         call BufferView::getStatus if LCursor::getStatus did nothing
1342         (setStatusMessage, getStatusMessage): removed.
1343
1344         * FuncStatus.C (message): new methods. Used to provide an error
1345         message indicating why a command is disabled.
1346         (clear, |=, FuncStatus): update for message.
1347
1348 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1349
1350         * lyxfunc.C (dispatch): always call sendDispatchMessage
1351
1352 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1353
1354         * BufferView.C:
1355         * BufferView_pimpl.C:
1356         * CutAndPaste.C:
1357         * FontIterator.C:
1358         * buffer.C:
1359         * cursor.C:
1360         * cursor_slice.[Ch]:
1361         * dociterator.[Ch]:
1362         * lyxfind.C:
1363         * paragraph_funcs.C:
1364         * pariterator.C:
1365         * rowpainter.C:
1366         * text.C:
1367         * text2.C:
1368         * text3.C:
1369         * undo.C: par->pit renaming
1370
1371 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1372
1373         * tabular.C (cellstruct): use initialization, store a shared_ptr
1374         to insettext instead of the insettext directly, adjust to fit.
1375         (operator=):  new function
1376         (swap): new function
1377         (rowstruct): use initialization
1378         (columnstruct): use initialization
1379         (ltType): use initialization
1380
1381
1382         * lyxlength.h (swap): new function
1383
1384         * LColor.[Ch] (operator=): use the common semantics
1385
1386 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1387
1388         * lyxfind.C (findNextChange): update the bufferview after setting
1389         the selection.
1390
1391 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1392
1393         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1394         number of InsetOptArgs has already been inserted.
1395
1396         * output_latex.C (latexOptArgInsets): new method. This outputs all
1397         the optarg insets, up to the limit defined in the layout file.
1398         (optArgInset): removed
1399         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1400
1401 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1402
1403         * paragraph.C (isLetter): remove special spellchecker-related
1404         code; return true also for digits
1405         (isWord, isKomma): remove
1406
1407         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1408         * lyxfind.C (MatchString()): use isLetter instead of isWord
1409
1410 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1411
1412         * pariterator.h (operatir=): comment out un-implemented member
1413         function.
1414
1415         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1416         static cast.
1417
1418 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1419
1420         * lyxfont.h: include LColor.h to satisfy concept checks.
1421
1422 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1423
1424         * pariterator.h: add typdefs for value_type, difference_type,
1425         pointer and reference to satisfy concept checks. Also add default
1426         constructor for same reason.
1427
1428         * pariterator.C (operator++): add post-increment operator to
1429         satisfy concept checks.
1430
1431         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1432         checks.
1433
1434         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1435
1436         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1437         checks. Also rename base_type to BaseType to follow naming
1438         standard better.
1439
1440         * FloatList.h: include Floating.h to satisfy concept checks.
1441
1442 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1443
1444         * lyxfunc.C (getStatus): when the origin of the request is menu or
1445         toolbar, and the LyXView does not have focus, do as if there was
1446         no buffer (bug 1720)
1447
1448         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1449         FuncRequest to individual entries of LFUN_SEQUENCE
1450
1451 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1452
1453         * output_latex.C (TeXOnePar): override runparams.moving_arg
1454         according to the needprotect value of the current paragraph (bug
1455         1739)
1456
1457         * paragraph.C (simpleTeXOnePar): no need to override
1458         runparams.moving_args here
1459
1460 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1461
1462         * vspace.C: fix off-by-one-error, related to fix #1682
1463
1464 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1465
1466         * lengthcommon.C: a more general fix for bug 1682
1467
1468 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1469
1470         * text.C (backspace): fix crash
1471
1472 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1473
1474         * format.[Ch] (getFormatFromFile): new method
1475         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1476
1477 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1478
1479         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1480
1481 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1482
1483         * lyxfunc.C (dispatch): remove the verbose argument
1484         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1485         instead
1486
1487         * kbmap.C (defkey): set the origin of func to KEYBOARD
1488
1489         * MenuBackend.C (MenuItem):
1490         * ToolbarBackend.C (add): set the origin of func to UI
1491
1492         * funcrequest.[Ch]: add origin member, which indicates which part
1493         of LyX requests an action
1494
1495 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1496
1497         * converter.C (move): don't lie in the error message
1498         * converter.h (isReachable, move): document
1499
1500 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1501
1502         * buffer.C: remove unused using lyx::support::atoi
1503         * paragraph_funcs.C: ditto
1504
1505 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1506
1507         * bufferlist.C (exists): use bind and equal_to instead of
1508         compare_memfun
1509         (getBuffer): ditto
1510         * lyxtextclasslist.C (NumberOfClass): ditto
1511
1512         * cursor.C (insert): use for_each instead of explicit for loop
1513
1514         * bufferlist.C (getFileNames): use std::transform and
1515         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1516
1517         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1518         for loop
1519
1520         * buffer.C (changeLanguage): use for_each instead of explicit for
1521         loop
1522         (hasParWithID): implement using getParFromID
1523
1524         * LaTeXFeatures.C: ws change only
1525
1526         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1527         to cleanup a bit.
1528
1529         * BufferView_pimpl.C (trackChanges): use for_each instead of
1530         expilicit for loop
1531
1532 2004-11-04  André Pönitz  <poenitz@gmx.net>
1533
1534         * undo.h:
1535         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1536
1537         * dociterator.C (asDocIterator): use hard assert again.
1538
1539 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1540
1541         * lyxlength.C (asLatexString): rewrite so that it does not use
1542         snprintf anymore
1543
1544 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1545
1546         * text3.C (specialChar, dispatch): make sure cursor moves to the
1547         right after inserting an inset
1548
1549 2004-11-02  José Matos  <jamatos@lyx.org>
1550
1551         * output_docbook.C (docbook):
1552         * paragraph.C (getID):
1553         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1554         garantee that the output is always legal.
1555
1556         * tabular.C (docbook):
1557         * outputprams.[Ch]: remove mixed contents.
1558
1559 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1560
1561         * text2.C (setCounter): prevent endless loop
1562
1563 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1564
1565         * exporter.C (copyFile): use the mover instead of support::copy()
1566         * exporter.C (Export): pass format and latex name to copyFile()
1567         * exporter.h (addExternalFile): document
1568         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1569
1570 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1571
1572         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1573
1574 2004-10-30  José Matos  <jamatos@lyx.org>
1575
1576         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1577         text and no inset or font change. This allows to use CDATA
1578         sections just for the whole paragraph.
1579
1580 2004-10-30  José Matos  <jamatos@lyx.org>
1581
1582         * paragraph.C (getFirstWord): remove unused variable.
1583
1584 2004-10-30  José Matos  <jamatos@lyx.org>
1585
1586         * paragraph.C (getFirstWord): the content should always be escaped
1587         there.
1588         (simpleDocBookOnePar):
1589         * output_docbook.C (makeEnvironment): replace reference to CDATA
1590         to style pass_thru.
1591
1592 2004-10-30  José Matos  <jamatos@lyx.org>
1593
1594         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1595
1596 2004-10-30  José Matos  <jamatos@lyx.org>
1597
1598         * output_docbook.C (makeParagraphs):
1599         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1600         standard paragraph has only a given type of content drop the wrapper.
1601
1602 2004-10-29  José Matos  <jamatos@lyx.org>
1603
1604         * output_docbook.C (makeEnvironment):
1605         * sgml.C (openTag):
1606         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1607
1608 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1609
1610         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1611         (cleanID): sanitize any id.
1612
1613 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1614
1615         * buffer.C, lyxlex_pimpl.C:
1616         * lyxlex_pimpl.C (setFile):
1617         s/getExtFromContents/getFormatFromContents/
1618
1619 2004-10-28  José Matos  <jamatos@lyx.org>
1620
1621         * output_docbook.C (makeEnvironment): move id to broadest possible
1622         scope.
1623
1624         * sgml.C (openTag): apply substitution of <> for all attributes.
1625
1626 2004-10-28  José Matos  <jamatos@lyx.org>
1627
1628         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1629         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1630         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1631
1632         * sgml.[Ch]: new version for open and closeTag for paragraph and
1633         for strings. Now they handle the ids of paragraphs.
1634
1635 2004-10-26  Angus Leeming  <leeming@lyx.org>
1636
1637         * Makefile.am: add mover.[Ch].
1638
1639         * converter.C (convert, move): use the new Movers to move external
1640         files to the temp directory.
1641
1642         * lyx_main.C (init): ensure that the global system_movers data
1643         is initialised.
1644
1645         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1646         preferences file.
1647
1648         * mover.[Ch]: new files, defining a Mover as a utility to move an
1649         external file between directories and, if necessary, manipulate this
1650         file using a helper script.
1651
1652 2004-10-25  José Matos  <jamatos@lyx.org>
1653
1654         * output_docbook.C (makeCommand): merge two if's that tested the
1655         same condition.
1656
1657 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1658
1659         * sgml.C (escapeString): fix warning in a better way
1660
1661 2004-10-25  José Matos  <jamatos@lyx.org>
1662
1663         * sgml.C (escapeString): import the require boosts header file for
1664         tie, and avoid a signed unsigned comparison.
1665
1666 2004-10-25  José Matos  <jamatos@lyx.org>
1667
1668         * sgml.h: add #include <string>
1669
1670 2004-10-25  José Matos  <jamatos@lyx.org>
1671
1672         * sgml.[Ch] (escapeString): new function to escape all the string.
1673
1674 2004-10-24  José Matos  <jamatos@lyx.org>
1675
1676         * paragraph.[Ch] (getFirstWord): new function to get the first
1677         word. Useful for description.
1678         (simpleDocBookOnePar): remove depth argument, add another that
1679         says where to start the paragraph.
1680
1681         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1682         use the new functions to fix cleanly the support for descriptions.
1683
1684 2004-10-24  José Matos  <jamatos@lyx.org>
1685
1686         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1687         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1688         * output_linuxdoc.C (linuxdocParagraphs):
1689         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1690         add buffer as argument.
1691
1692 2004-10-24  José Matos  <jamatos@lyx.org>
1693
1694         * output_docbook.C (makeEnvironment, searchEnvironment): place
1695         CDATA inside paragraphs and fix scope for listitems.
1696
1697 2004-10-24  José Matos  <jamatos@lyx.org>
1698
1699         * output_docbook.C: remove using statement for stack.
1700
1701 2004-10-23  José Matos  <jamatos@lyx.org>
1702
1703         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1704         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1705         docbook. The new scheme is recursive and makes use of iterators, the
1706         same as latex export works.
1707         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1708         directly with the paragraph contents. This code was moved up to
1709         output_docbook.C (docbookParagraphs).
1710         * sgml.C (openTag, closeTag): removed unneeded newlines.
1711         (closeEnvTags) removed.
1712
1713 2004-10-23  André Pönitz  <poenitz@gmx.net>
1714
1715         * undo.C (textUndoOrRedo):
1716         * dociterator.C (asDocIterator): work around crash
1717
1718         * cursor.C (getStatus): replace ASSERT by more verbose error message
1719           and manual correction of the problem. Should increase stability
1720           while providing more sensible information.
1721
1722 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1723
1724         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1725
1726         * bufferlist.C (previous, next): new methods
1727
1728         * lfuns.h:
1729         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1730
1731 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1732
1733         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1734         entities to preamble.
1735
1736 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1737
1738         * messages.C (Pimpl): strip off translation context information
1739
1740 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1741
1742         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1743         the cursor is correct (bug 1694)
1744
1745 2004-10-13  José Matos  <jamatos@lyx.org>
1746
1747         * output_docbook.C (docbookParagraphs): fix closing tags in the
1748         end of the document.
1749
1750 2004-10-09  José Matos  <jamatos@lyx.org>
1751
1752         * buffer.C: format up to 237.
1753         * bufferparams.C (write): use tostr to convert booleans to strings.
1754
1755 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1756
1757         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1758
1759 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1760
1761         * LaTeX.C: implement use of babel language in xindy.
1762
1763 2004-10-05  José Matos  <jamatos@lyx.org>
1764
1765         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1766         Add new translators to help reading and writing the lyx file.
1767
1768 2004-10-05  José Matos  <jamatos@lyx.org>
1769
1770         * ParagraphParameters.C (read):
1771         * text.C (readParToken): replace nexToken by more appropriate lex
1772         methods.
1773
1774 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1775
1776         * LaTeX.C (runMakeIndex):
1777         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1778         (usually 'makeindex') configurable.
1779
1780         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1781         with a variable rather than with a number.
1782
1783 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1784
1785         * output_latex.C (TeXOnePar): make sure font setting is the first
1786         thing that gets output (and the last at the end). Should fix bug
1787         1404.
1788
1789 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1790
1791         * pch.h: use proper signal include
1792
1793         * LaTeX.h: Use preferred calling of Boost.Signal
1794         * buffer.h: ditto
1795
1796 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1797
1798         * pch.h: dont include <boost/function/function0.hpp>
1799
1800         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1801
1802         * paragraph_pimpl.h: remove usage of ShareContainer
1803
1804         * paragraph_pimpl.C: remove initialization of ShareContainer.
1805
1806 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1807
1808         Fix bug #1666
1809
1810         * BufferView.C (putSelectionAt): change the semantics when
1811         backwards == true: now, this just swaps cursor and anchor wrt the
1812         forward case
1813
1814         * BufferView.h (putSelectionAt): add some documentation
1815
1816         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1817         make sure backwardChar is done at least once (to avoid getting
1818         stuck)
1819         (findNextChange): use putSelectionAt in the forward direction
1820         (operator()): use Paragraph::isWord
1821
1822 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1823
1824         * Spacing.C (set): c_str fix
1825
1826 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1827
1828         * lyx_cb.C (Reconfigure): quote the name of configure script in
1829         case it contains spaces
1830
1831 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1832
1833         * client: new dir
1834
1835         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1836         (BOOST_LIBS): use top_buildir when looking for the file
1837
1838 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1839
1840         * pch.h: do not use include boost/format.hpp, multiple symbols
1841                 will result (gcc bug)
1842
1843
1844 2004-08-23  José Matos  <jamatos@lyx.org>
1845
1846         * bufferparams.C (readToken): fix reading of the author field.
1847
1848 2004-08-20  José Matos  <jamatos@lyx.org>
1849
1850         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1851
1852 2004-08-20  José Matos  <jamatos@lyx.org>
1853
1854         * lyxlex.[Ch] (findToken): remove function.
1855
1856         * ParagraphParameters.C (findToken):
1857         * bufferparams.C (findToken): replace call for previous function
1858         with local copy. This local function has one more argument, the
1859         read string argument.
1860
1861 2004-08-16  José Matos  <jamatos@lyx.org>
1862
1863         * ParagraphParameters.C (write):
1864         * Spacing.C (writeFile):
1865         * bufferparams.C (writeLaTeX):
1866         * lyx_cb.C (Reconfigure):
1867         * paragraph.C (write):
1868         * tabular.C (write): remove unnecessary space at end of line.
1869
1870
1871 2004-08-16  José Matos  <jamatos@lyx.org>
1872
1873         * text.C (readParagraph): remove debug message.
1874
1875 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1876
1877         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1878         crash
1879
1880         * output_plaintext.C (asciiParagraph): set depth correctly
1881
1882         * outputparams.h: add member depth
1883
1884         * paragraph_funcs.C (ownerPar): remove.
1885
1886         * text2.C (setCounter): remove first_pit; comment out some
1887         non-working code that uses ownerPar
1888
1889         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1890         uses ownerPar
1891
1892 2004-08-16  José Matos  <jamatos@lyx.org>
1893
1894         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1895         For the same level of importance use the same chanel to report problems.
1896         (read): add code to deal with \begin_body and \end_body.
1897
1898
1899 2004-08-15  José Matos  <jamatos@lyx.org>
1900
1901         * lyxlex.C (getString): fix comment, buffer::readBody is now
1902         buffer:readDocument.
1903
1904         * tex-strings.C (string_papersize): Default -> default,
1905         Custom -> custom, for consistency with other options.
1906
1907 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1908
1909         * pch.h: new file
1910
1911         * Makefile.am: support pch
1912
1913 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1914
1915         * text.C (readParToken): remove the static LyXFont variable and
1916         pass it as a parameter instead. This fixes a nasty bug where an
1917         inset will be inserted with a bad font in some situations
1918         (readParagraph): adapt
1919
1920         * text2.C (setCounter): reduce number of calls to pars_[pit]
1921
1922         * text.C (singleWidth): add an assert, fix a test
1923
1924         * rowpainter.C (paintText): reduce number of calls to singleWidth
1925
1926         * paragraph.C (isHfill):
1927         (isNewline): ws only
1928
1929 2004-08-14  André Pönitz  <poenitz@gmx.net>
1930
1931         * text.C:
1932         * text2.C:
1933         * rowpainter.C:
1934         * lyxtext.h (several functions): use a Paragraph & argument
1935         instead of par_type
1936
1937 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1938
1939         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1940
1941         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1942
1943         * text.C (singleWidth): remove useless test
1944
1945 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1946
1947         * tabular.h: remove bogus comments
1948
1949         * tabular.C (getDescentOfRow):
1950         (isPartOfMultiColumn): add assertions
1951
1952         * lyxlength.C (inPixels): remove #warning
1953
1954 2004-08-14  André Pönitz  <poenitz@gmx.net>
1955
1956         * paragraph.h: inline getChar()
1957
1958         * BufferView.h: remove unused declarations
1959
1960 2004-08-14  José Matos  <jamatos@lyx.org>
1961
1962         * Buffer.[Ch] (readDocument): new name for old readBody.
1963         * Buffer.C: new file format, new keywords: \begin_document,
1964         \begin_header, \begin_body, \end_body.
1965
1966         * bufferparams.C (readToken): replace all calls to lex.nextToken
1967         by lex.next(). Do the same to eatLine except where really needed.
1968
1969         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1970         line when writing to the lyx file.
1971
1972         * output_plaintext.C (asciiParagraph): fix Bibliography style
1973         handling.
1974
1975         * text.C (read): fix end of file handling.
1976
1977 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1978
1979         * MenuBackend.C (Menu::operator[]): new method to access
1980         individual menu items
1981         (Menu::hasFunc): new method. search for an item that corresponds
1982         to a given func
1983         (MenuBackend::specialMenu): new method
1984         (MenuBackend::expand): if a special menu has been set, skip
1985         entries whose func() appears in this menu
1986
1987 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1988
1989         * text3.C: use Debug::DEBUG a bit more
1990
1991         * text.C (leftMargin): try to simplify a tiny bit change var x to
1992         l_margin. Dont output the wide margins always.
1993         (rightMargin): no margin in inner texts
1994
1995         * rowpainter.h (nestMargin): new func
1996         (changebarMargin): new func
1997         (rightMargin): new func
1998
1999         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2000         now functions.
2001         (paintLast): ditto
2002
2003         * factory.C (createInset): modify setDrawFrame
2004
2005         * cursor.C: use Debug::DEBUG a bit more
2006
2007 2004-08-14  André Pönitz  <poenitz@gmx.net>
2008
2009         * coordcache.[Ch]:
2010         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2011         cache for all insets in (at least partially) visible (top-level)
2012         paragraphs.
2013
2014         * BufferView_pimpl.C: reset external coord cache before every update.
2015         This means the coord cache only contains valid entries.
2016
2017 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2018
2019         bug 1096
2020         * BufferView_pimpl.C (getInsetByCode): move function out of class
2021         and change in to a template in anon namespace. Also fix to do what
2022         suits us better.
2023
2024 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2025
2026         bug 1305
2027         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2028         of char
2029         (breakParagraph): rename par to par_offset and use a local
2030         reference. Add code to keep the language over a rebreak.
2031         (breakParagraphConservative): rename par to par_offset, use a
2032         local reference
2033         (mergeParagraph): ditto
2034         (outerHook): ditto
2035         (isFirstInSequence): ditto
2036         (outerFont): rename pit to par_offset
2037
2038         * paragraph.C: ws change
2039         * paragraph.h: ditto
2040         * text3.C: ditto
2041         * text.C: ditto
2042
2043 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2044
2045         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2046         treatment for ']'
2047
2048         * paragraph.C (simpleTeXOnePar): when we have a \item with
2049         optional argument, enclose the argument with curly brackets (in
2050         case it contains a closing square bracket)
2051
2052         * text2.C (editXY):
2053         * text2.C (editXY):
2054         * text3.C (checkInsetHit): constify
2055
2056 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2057
2058         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2059         documents (bug 1629)
2060
2061 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2062
2063         Fix toggling of collapsable insets with the mouse (bug 1558)
2064
2065         * lyxfunc.C (dispatch): adapt to LCursor changes
2066
2067         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2068         make sure that dispatch is not invoked twice
2069
2070         * cursor.C (needsUpdate): new method
2071         (dispatch): return void
2072         (result): new method, to access the DispatchResult of the cursor.
2073
2074 2004-08-13  José Matos  <jamatos@lyx.org>
2075
2076         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2077
2078 2004-08-13  André Pönitz  <poenitz@gmx.net>
2079
2080         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2081
2082         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2083           multiple cells
2084
2085 2004-08-12  André Pönitz  <poenitz@gmx.net>
2086
2087         * text3.C: take out the 'cursor right' form insertInset and only
2088         do it in those places when it is really needed. Fixes crash on
2089         C-m...
2090
2091 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2092
2093         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2094
2095         * BufferView_pimpl.C (setBuffer): initialize the current font of
2096         the underlying LyXText
2097
2098 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2099
2100         * kbsequence.C (print): use UI native formatting for menu
2101         shortcuts
2102
2103         * text.C (insertChar): call Paragraph::insertChar with a font
2104         argument (cosmetic)
2105
2106         * paragraph.C (insertInset, insertChar): the version that takes a
2107         LyXFont argument is now a wrapper around the other one (the
2108         opposite used to be true).
2109
2110         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2111         argument. Font setting is done in Paragraph now.
2112
2113 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2114
2115         * outputparams.h: add new members intitle and lang.
2116
2117         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2118         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2119
2120 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2121
2122         * text3.C (dispatch): remove special handling of button 4 and 5,
2123         it is now taken care of in the frontend code.
2124
2125 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2126
2127         * Spacing.h: add <string> (STLPort compile fix)
2128
2129 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2130
2131         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2132
2133 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2134
2135         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2136         to bool.
2137
2138         * converter.C (showMessage): inherit from unary_function, make
2139         operator() const.
2140
2141         * buffer.C (writeFile): initialize retval
2142
2143         * InsetList.h: rename private variable list to list_
2144         * InsetList.[Ch]: adjust accordingly.
2145
2146 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2147
2148         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2149         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2150         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2151         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2152         * ParagraphParameters.C, LaTeXFeatures.C: replace
2153         "support/std_sstream.h" with <sstream>
2154
2155 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2156
2157         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2158         * lyxsocket.C (LyXServerSocket): ditto
2159         (serverCallback): ditto
2160
2161 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2162
2163         * LaTeXFeatures.C: check release date when loading jurabib.
2164
2165 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2166
2167         * lyxserver.C (startPipe): call register_socket_callback
2168         (endPipe): call unregister_socket_callback
2169
2170 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2171
2172         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2173         (LyXServerSocket): register the callback
2174         (LyXServerSocket): unregister the callback
2175         (fd): delete function
2176         (serverCallback): improve error checking and setup the callbacks.
2177         (dataCallback): change arg to fd.
2178         (writeln): new func (copied fro the client socket) used for server
2179         write to client.
2180         (LyXDataSocket): simplify
2181         (~LyXDataSocket): close ann unregiser callback
2182         (server): delete function
2183         (fd): delete function
2184         (readln): small changes, improve some std::string usage
2185         (writeln): constify a bit
2186
2187 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2188
2189         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2190         Qt frontend
2191
2192 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2193
2194         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2195         after it has been populated
2196
2197 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2198
2199         * text2.C (insertInset): move cursor when inserting inset.
2200
2201 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2202
2203         * kbmap.C (findbindings): a couple of new methods. returns a
2204         container of kb_sequence objects. The real work is done by the
2205         private recursive version
2206         (printbindings): uses findbindings to print out a bracketed list
2207         of bindings (renamed from findbinding).
2208
2209         * MenuBackend.C (binding): use kb_keymap::findbindings
2210
2211         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2212
2213 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2214
2215         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2216
2217 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2218
2219         * paragraph.C (isWord): return true on insets that report
2220         isLetter().
2221
2222         * text.C (getWord): use Paragraph::isWord to decide what is in a
2223         word and what is not; fix bug 1609.
2224
2225 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2226
2227         * tex-strings.C: add "none" to string_paperpackages[], fixes
2228         off-by-one-error in the paperpackage selection.
2229
2230         * lyxlex.[Ch]:
2231         * tex-strings.[Ch]: char const * string[n]
2232         -> char const * const string[]
2233
2234 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2235
2236         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2237         command, return early.
2238
2239 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2240
2241         * debug.h: add DEBUG to enum and fix size of ANY.
2242
2243         * debug.C: add support for Debug::DEBUG
2244         (showTags): cast errorTags.level to unsigned int
2245
2246         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2247         (redoCurrentBuffer): ditto
2248         (updateScrollbar): ditto
2249         * cursor.C (dispatch): ditto
2250         * text2.C (setLayout): ditto
2251         (setFont): ditto
2252         (updateCounters): ditto
2253         (editXY): ditto
2254         (deleteEmptyParagraphMechanism): ditto
2255
2256 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2257
2258         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2259         annotations to cleanup the Makefile slightly.
2260
2261 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2262
2263         * lyxrc.C: do not set user_email to a default value but use empty
2264         instead. The entry used to be translated, which does not work
2265         since at the point where lyxrc is constructed there is no
2266         translation service available
2267
2268         * messages.C (getLocaleDir): remove and use directly
2269         lyx_localedir() instead
2270
2271 2004-06-02  Angus Leeming  <leeming@lyx.org>
2272
2273         Fix crash caused by dereferencing null pointer 'exportdata' in
2274         OutputParams by creating a new ExportData variable on the heap,
2275         storing it in a boost::shared_ptr.
2276         The crash was triggered when generating an Instant Preview
2277         of an external inset.
2278
2279         * Makefile.am: add outputparams.C
2280
2281         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2282         (c-tor): allocate memory to it.
2283
2284         * exporter.C (c-tor): associated changes.
2285
2286 2004-06-01  Angus Leeming  <leeming@lyx.org>
2287
2288         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2289         contains data before calling isInset(0). (Bug 1513.)
2290
2291 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2292
2293         * exporter.C (checkOverwrite): new method
2294         * exporter.C (copyFile): new method
2295         * exporter.C (Export): copy referenced files to the document dir
2296         * exporter.[Ch]: new class ExportedFile
2297         * exporter.[Ch]: new class ExportData. Contains currently the
2298         names of referenced external files
2299         * outputparams.h: add exportdata member.
2300
2301 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2302
2303         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2304         version.C-tmp
2305
2306 2004-05-19  Angus Leeming  <leeming@lyx.org>
2307
2308         * LaTeXFeatures.C:
2309         * ToolbarBackend.C:
2310         * bufferparams.C:
2311         * lyxfunc.C: small changes due to the introduction of namespace
2312         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2313
2314 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2315
2316         * text3.C (dispatch): supress update when only moving the cursor
2317         * cursor.C (selHandle): remove commented code
2318
2319 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2320
2321         * paragraph.C (startTeXParParams): correct column count
2322         * CutAndPaste.C (pasteSelection): remove const_cast
2323         * output_docbook.C (docbookParagraphs): remove const_cast
2324         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2325         const_cast and return ParagraphList::const_iterator
2326         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2327         * output_plaintext.C (writeFileAscii): remove const_cast
2328         * paragraph.[Ch] (simpleTeXOnePar): make const
2329         * paragraph_funcs.C (outerPar): use const iterators
2330         * paragraph_pimpl.C (validate): use const iterators
2331         * text.C (setHeightOfRow): use const iterators
2332
2333 2004-05-17  Angus Leeming  <leeming@lyx.org>
2334
2335         * lfuns.h:
2336         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2337
2338         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2339         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2340         if the citation engine has changed.
2341
2342 2004-05-14  José Matos  <jamatos@lyx.org>
2343
2344         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2345         if the textclass does not provide it. Have it different for sgml and
2346         xml.
2347         support the language of document.
2348         * output_docbook.C (docbookParagraphs):
2349         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2350         first anchor as the id of the paragraph, remove special case code.
2351         * sgml.C (escapeChar): escape only < & >.
2352
2353 2004-05-14  Angus Leeming  <leeming@lyx.org>
2354
2355         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2356         dependencies on src/frontends/controllers/biblio.h. Define a
2357         CiteEngine_enum wrapper class to enable the enum to be forward
2358         declared.
2359
2360 2004-05-12  Angus Leeming  <leeming@lyx.org>
2361
2362         * buffer.C: up LYX_FORMAT to 234.
2363         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2364         use_numerical_citations with a single biblio::CiteEngine cite_engine
2365         variable.
2366         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2367
2368 2004-05-13  José Matos  <jamatos@lyx.org>
2369
2370         * converter.h:
2371         * converter.C (Converter, readFlags): add xml member.
2372         * outputparams.h: add XML flavor.
2373         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2374
2375 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2376
2377         * lyxfunc.C (dispatch):
2378         (getStatus): fix handling of LFUN_SEQUENCE
2379
2380 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2381
2382         * debug.C (showLevel): do not forget the end-of-line marker
2383
2384 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2385
2386         * kbmap.C (read): do not stop parsing a bind file when an error
2387         occurs (bug 1575)
2388
2389 2004-04-29  Angus Leeming  <leeming@lyx.org>
2390
2391         * cursor.C:
2392         * factory.C:
2393         * pariterator.C:
2394         * text2.C: wrap a bunch of #warning statements
2395         inside #ifdef WITH_WARNINGS blocks.
2396
2397 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2398
2399         * buffer.C: increment format to 233.
2400
2401 2004-04-28  Angus Leeming  <leeming@lyx.org>
2402
2403         * BufferView_pimpl.C:
2404         * lyxfunc.C:
2405         * text3.C:
2406         s/updateToolbar()/updateToolbars()/
2407         s/Toolbar.h/Toolbars.h/
2408
2409 2004-04-28  Angus Leeming  <leeming@lyx.org>
2410
2411         * BufferView.[Ch] (c-tor):
2412         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2413         No longer passes these data to the WorkArea generator.
2414
2415 2004-04-28  Angus Leeming  <leeming@lyx.org>
2416
2417         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2418
2419 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2420
2421         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2422
2423 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2424
2425         * output_latex.C (TeXEnvironment): make sure that there is a line
2426         break before \end{foo} for the last paragraph of a document
2427         (TeXOnePar): if the paragraph is at the end of the document (or
2428         inset) and the language has to be reset, then make sure that the
2429         line break is _before_ the language command, not after (fixes bug
2430         1225); also make sure that the language reset command is the first
2431         thing after the paragraph (to ensure proper nesting of
2432         environments and thus fix bug 1404)
2433
2434 2004-04-21  John Levon  <levon@movementarian.org>
2435
2436         * ToolbarBackend.h:
2437         * ToolbarBackend.C: make "name" be a programmatic name
2438         and a gui_name field.
2439
2440         * lyxfunc.C: display the minibuffer on M-x
2441
2442 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2443
2444         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2445         (bug 1526)
2446
2447 2004-04-19  Angus Leeming  <leeming@lyx.org>
2448
2449         * BufferView_pimpl.C (setBuffer): changed preview interface.
2450
2451         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2452         possible values.
2453
2454 2004-04-19  John Levon  <levon@movementarian.org>
2455
2456         * BufferView_pimpl.C:
2457         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2458
2459 2004-04-05  Angus Leeming  <leeming@lyx.org>
2460
2461         * text.C (redoParagraphs): add call to updateCounters(), thereby
2462         fixing the missing "Figure #:" label from the caption of a
2463         figure float.
2464
2465 2004-04-13  Angus Leeming  <leeming@lyx.org>
2466
2467         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2468         cursor is clicked out of an inset.
2469
2470 2004-04-13  Angus Leeming  <leeming@lyx.org>
2471
2472         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2473         than an InsetOld one.
2474
2475 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2476
2477         * format.[Ch]: add editor to Format
2478         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2479         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2480
2481 2004-04-08  André Pönitz  <poenitz@gmx.net>
2482
2483         * metricsinfo.h: remove PainterInfo::width member
2484
2485 2004-04-08  Angus Leeming  <leeming@lyx.org>
2486
2487         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2488         "\providecommand" rather than "\newcommand", thereby preventing
2489         clashes with packages that define "\boldsymbol" themselves.
2490         Eg, beamer.
2491
2492 2004-04-08  Angus Leeming  <leeming@lyx.org>
2493
2494         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2495         thereby squashing an unnecessary warning.
2496
2497 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2498
2499         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2500         setBuffer()
2501
2502 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2503
2504         * BufferView.C (setCursor): call redoParagraph (some insets could
2505         have been opened)
2506         (putSelectionAt): remove the 'double update' trick
2507
2508         * BufferView_pimpl.C (fitCursor): call refreshPar
2509         (workAreaDispatch): remove an uneeded update call
2510         (dispatch): remove some manual update calls
2511
2512         * cursor.[Ch]: remove cached_y_, updatePos
2513         (selHandle): set noUpdate when appropriate
2514
2515         * lyxfunc.C (dispatch): track if we need an update
2516
2517         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2518
2519         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2520         (paintSelection): cheap optimization, do not call cursorX when not
2521         needed
2522         (paintPars): change signature
2523         (refreshPar): add
2524         (paintText): adjust
2525         (paintTextInset): adjust
2526
2527         * text.C: adjust
2528
2529 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2530
2531         * lengthcommon.C: compilation fix: remove explicit array size from
2532         unit_name[] and friends
2533
2534 2004-04-05  Angus Leeming  <leeming@lyx.org>
2535
2536         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2537
2538         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2539         present only for the preferences dialog.
2540         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2541
2542 2004-04-05  Angus Leeming  <leeming@lyx.org>
2543
2544         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2545         to enable the frontends to export changes to lyxrc correctly.
2546
2547         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2548
2549 2004-04-07  André Pönitz  <poenitz@gmx.net>
2550
2551         * cursor.[Ch] (selClear, adjust): remove math
2552
2553         * cursor_slice.C: more agressive assert
2554
2555         * lyxfunc.C:
2556         * BufferView_pimpl.C: rework mouse event dispatch
2557
2558         * dociterator.C:
2559         * paragraph.C:
2560         * text2.C:
2561         * text3.C: adjust
2562
2563 2004-04-05  André Pönitz  <poenitz@gmx.net>
2564
2565         * cursor.[Ch] (valign, halign...): remove unneeded functions
2566
2567 2004-04-05  Angus Leeming  <leeming@lyx.org>
2568
2569         * lyxlength.[Ch] (unit_name et al.): const-correct.
2570
2571 2004-04-05  Angus Leeming  <leeming@lyx.org>
2572
2573         * BufferView_pimpl.C:
2574         * buffer.C:
2575         * counters.C:
2576         * cursor.C:
2577         * lyxfunc.C
2578         * paragraph.C:
2579         * pariterator.C:
2580         * text.C:
2581         * text2.C:
2582         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2583
2584 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2585
2586         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2587
2588 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2589
2590         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2591         * BufferView_pimpl.[Ch] (getStatus)
2592         * BufferView.[Ch] (getStatus): add
2593         * lyxfunc.C (getStatus): move lfuns handled in
2594         BufferView::dispatch to te function above
2595         * Cursor.C (setSelection): set selection() = true
2596
2597 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2598
2599         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2600
2601 2004-03-31  Angus Leeming  <leeming@lyx.org>
2602
2603         * lyxfunc.C (dispatch): Fall through to the generic
2604         Dialogs::show("preamble").
2605
2606 2004-03-31  Angus Leeming  <leeming@lyx.org>
2607
2608         * lyxfunc.C (dispatch): Fall through to the generic
2609         Dialogs::show("spellchecker").
2610
2611 2004-03-31  Angus Leeming  <leeming@lyx.org>
2612
2613         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2614         preferences dialog.
2615
2616 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2617
2618         * BufferView.C
2619         * cursor.[Ch]
2620         * dociterator.[Ch]:
2621         * insetiterator.[Ch]:
2622         * lyxfind.C:
2623         * lyxfunc.C:
2624         * pariterator.[Ch]:
2625         * text2.C:
2626         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2627
2628 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2629
2630         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2631         insets where we are putting the cursor.
2632
2633 2004-03-31  Angus Leeming  <leeming@lyx.org>
2634
2635         * lfuns.h:
2636         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2637
2638         * lyxrc.[Ch] (read, write): overloaded member functions taking
2639         a std::[io]stream arguments.
2640
2641         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2642
2643 2004-03-31  Angus Leeming  <leeming@lyx.org>
2644
2645         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2646         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2647
2648         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2649         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2650
2651 2004-03-31  Angus Leeming  <leeming@lyx.org>
2652
2653         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2654         the LFUN_ALL_INSETS_TOGGLE code.
2655
2656 2004-03-30  Angus Leeming  <leeming@lyx.org>
2657
2658         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2659         has died. Fall through to the generic Dialogs::show("document").
2660
2661 2004-03-30  Angus Leeming  <leeming@lyx.org>
2662
2663         * lfuns.h:
2664         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2665         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2666
2667         * lyxfunc.C (getStatus, dispatch): define the actions for these
2668         lfuns. Little more than a cut and pste job from ControlDocument.C
2669
2670         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2671
2672 2004-03-30  Angus Leeming  <leeming@lyx.org>
2673
2674         * lfuns.h:
2675         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2676         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2677
2678         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2679         open/closed state of ollapsable insets. Usage:
2680
2681         all-inset-toggle <state> <name>, where
2682         <state> == "open" || "closed" || "toggle" and
2683         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2684
2685         * lyxtext.h, text2.C (toggleInset): removed.
2686
2687         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2688         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2689         now passes LFUN_INSET_TOGGLE to the found inset.
2690
2691         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2692         is now invoked as "all-insets-toggle toggle branch".
2693
2694 2004-03-30  Angus Leeming  <leeming@lyx.org>
2695
2696         * dociterator.C:
2697         * insetiterator.C:
2698         * pariterator.[Ch]: added/corrected header blurb.
2699
2700 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2701
2702         * dociterator.[Ch]: add an inset_ member
2703         (backwardPos): implemented
2704         (backwardPos, forwardPos): use inset_ when the stack is empty.
2705         (doc_iterator_begin, doc_iterator_end): implemented
2706         * pariterator.[Ch]: adjust, add begin, end
2707         * insetiterator.[Ch]: adjust, add begin, end
2708         * cursor.C:
2709         * document.C:
2710         * BufferView.C:
2711         * BufferView_pimpl.C:
2712         * CutAndPaste.C: adjust
2713
2714 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2715
2716         * buffer.C: increment file format to 232.
2717         * LaTeXFeatures.C: add bibtopic package.
2718         * bufferparams.[Ch]: param \use_bibtopic.
2719
2720         * lyxrc.[Ch]: add lyxrc bibtex_command
2721         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2722
2723         * buffer.C: increment file format to 231.
2724
2725 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2726
2727         * dociterator.C: implement forwardPar
2728         * iterators.[Ch]: remove, replaced by
2729         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2730         * BufferView.C:
2731         * BufferView_pimpl.C:
2732         * CutAndPaste.C:
2733         * buffer.C:
2734         * bufferview_funcs.C:
2735         * cursor.C:
2736         * lyxfind.C
2737         * lyxfunc.C
2738         * paragraph_funcs.C
2739         * toc.C:
2740         * Makefile.am: adjust
2741
2742 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2743
2744         * CutAndPaste.C (pasteSelection): fix 2 crashes
2745         (eraseSelection): fix a crash
2746         * paragraph_funcs.C: remove a warning
2747
2748 2004-03-28  Angus Leeming  <leeming@lyx.org>
2749
2750         * lfuns.h:
2751         * LyXAction.C (init): new LFUN_PRINT.
2752
2753         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2754
2755 2004-03-27  Angus Leeming  <leeming@lyx.org>
2756
2757         * lfuns.h:
2758         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2759
2760         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2761
2762 2004-03-27  Angus Leeming  <leeming@lyx.org>
2763
2764         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2765         insetlist always contains non-null pointers to insets.
2766
2767 2004-03-26  Angus Leeming  <leeming@lyx.org>
2768
2769         * src/BufferView_pimpl.C:
2770         * src/CutAndPaste.C:
2771         * src/buffer.C:
2772         * src/iterators.C:
2773         * src/output_plaintext.C:
2774         * src/outputparams.h:
2775         * src/paragraph_funcs.C:
2776         * src/rowpainter.C:
2777         * src/text.C:
2778         * src/text2.C:
2779         * src/frontends/controllers/ControlErrorList.C:
2780         * src/frontends/gtk/FileDialogPrivate.C:
2781         * src/frontends/gtk/GPainter.C:
2782         * src/frontends/gtk/GToolbar.C:
2783         * src/frontends/qt2/QRef.C:
2784         * src/mathed/math_scriptinset.C: squash compiler warnings.
2785
2786 2004-03-26  Angus Leeming  <leeming@lyx.org>
2787
2788         * ispell.C (LaunchIspell::start):
2789         * lyx_cb.C (AutoSaveBuffer::start):
2790         invoke run(DontWait) rather than runNonBlocking().
2791
2792 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2793
2794         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2795
2796 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2797
2798         * kbsequence.C (print): adjust
2799
2800         * kbmap.C (printKeySym): rename and change signature
2801         (printKey): use LyXKeySym::print()
2802
2803 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2804
2805         * undo.C: add using std::advance to compile for stlport
2806
2807 2004-03-24  Angus Leeming  <leeming@lyx.org>
2808
2809         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2810         it leads to a crash when no buffer is present.
2811
2812 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2813             Martin Vermeer  <martin.vermeer@hut.fi>
2814
2815         * lyxfunc.C (dispatch):
2816         * bufferparams.C (readToken): use the new LColor::setColor
2817
2818         * LColor.[Ch] (setColor): new version that takes two strings as
2819         argument and creates a new color entry if necessary
2820
2821 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2822
2823         * buffer.C (makeLaTeXFile): if the main latex file that is
2824         processed is usually a subdocument of some master, then pretend
2825         for a while that it is actually the master
2826
2827 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2828
2829         * buffer.C (getLabelList):
2830         (getBibkeyList): use getMasterBuffer()
2831         (getMasterBuffer): new method. Returns the main document in the
2832         case where one is using included documents.
2833
2834 2004-03-25  André Pönitz  <poenitz@gmx.net>
2835
2836         * Makefile.am:
2837         * iterators.[Ch]:
2838         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2839
2840         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2841
2842         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2843         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2844
2845         * ParameterStruct.h: merge with ParagraphParameters
2846
2847         * lyxtext.h: remove LyXText::parOffset() and getPar()
2848
2849         * text3.C: Remove all 'manual' update calls. We do now one per user
2850         interaction which is completely sufficient.
2851
2852         * Bidi.C:
2853         * BufferView.[Ch]:
2854         * BufferView_pimpl.C:
2855         * FontIterator.[Ch]:
2856         * MenuBackend.C:
2857         * ParagraphParameters.[Ch]:
2858         * buffer.C:
2859         * buffer.h:
2860         * bufferlist.C:
2861         * cursor.[Ch]:
2862         * cursor_slice.[Ch]:
2863         * dociterator.[Ch]:
2864         * errorlist.[Ch]:
2865         * factory.C:
2866         * lfuns.h:
2867         * lyxfind.C:
2868         * lyxfunc.C:
2869         * output_docbook.[Ch]:
2870         * output_latex.[Ch]:
2871         * output_linuxdoc.[Ch]:
2872         * output_plaintext.[Ch]:
2873         * paragraph.[Ch]:
2874         * paragraph_funcs.[Ch]:
2875         * paragraph_pimpl.[Ch]:
2876         * rowpainter.C:
2877         * tabular.[Ch]:
2878         * text.C:
2879         * text2.C:
2880         * toc.C:
2881         * undo.[Ch]: adjust
2882
2883         * frontends/controllers/ControlDocument.C:
2884         * frontends/controllers/ControlErrorList.C:
2885         * frontends/controllers/ControlSpellchecker.C:
2886         * insets/inset.C:
2887         * insets/inset.h:
2888         * insets/insetbase.h:
2889         * insets/insetbibitem.C:
2890         * insets/insetbox.C:
2891         * insets/insetbranch.C:
2892         * insets/insetcaption.C:
2893         * insets/insetcharstyle.C:
2894         * insets/insetcharstyle.h:
2895         * insets/insetcollapsable.C:
2896         * insets/insetcollapsable.h:
2897         * insets/insetert.C:
2898         * insets/insetfloat.C:
2899         * insets/insetfoot.C:
2900         * insets/insetmarginal.C:
2901         * insets/insetnote.C:
2902         * insets/insetoptarg.C:
2903         * insets/insettabular.C:
2904         * insets/insettext.C:
2905         * insets/insettext.h:
2906         * insets/insetwrap.C:
2907         * mathed/math_mboxinset.C:
2908         * mathed/math_nestinset.C:
2909         * mathed/math_scriptinset.C:
2910         * mathed/math_scriptinset.h:
2911         * support/types.h:
2912
2913 2004-03-24  Angus Leeming  <leeming@lyx.org>
2914
2915         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2916         deal with any child processes that have finished but are waiting to
2917         communicate this fact to the rest of LyX.
2918
2919 2004-03-24  Angus Leeming  <leeming@lyx.org>
2920
2921         64-bit compile fixes.
2922
2923         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2924         (c-tor): pass lyx::pos_types rather than ints.
2925
2926         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2927         lyx::pos_type.
2928
2929         * text.C (Delete): compile fix.
2930         (getPar): ensure that function declaration is the same as that in
2931         the header file.
2932
2933 2004-03-23  Angus Leeming  <leeming@lyx.org>
2934
2935         * ispell.C (LaunchIspell):
2936         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2937         a boost::shred_ptr rather than a std::auto_ptr.
2938
2939 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2940
2941         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2942         handle LFUN_FILE_INSERT_*
2943
2944         * lyxrc.C (setDefaults, getDescription, output, read):
2945         * lyxrc.h: remove ps_command
2946
2947 2004-03-22  Angus Leeming  <leeming@lyx.org>
2948
2949         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2950         Ensure that error_handler is processed once only and that all data
2951         is saved before attempting to output any warning messages.
2952
2953         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2954
2955 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2956
2957         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2958
2959 2004-03-19  André Pönitz  <poenitz@gmx.net>
2960
2961         * cursor.[Ch] (reset): take main text inset as argument
2962
2963         * BufferView: adjust
2964         * BufferView_pimpl.C: adjust
2965
2966         * paragraph.[Ch]: fix completely broken operator=()
2967
2968 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2969
2970         * LColor.C (getFromLyXName): make sure that the color name is used
2971         as lowercase.
2972
2973 2004-03-17  Angus Leeming  <leeming@lyx.org>
2974
2975         * lfuns.h:
2976         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2977
2978         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2979         dialog and to kill a forked process.
2980
2981 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2982
2983         * text2.C (setCursorFromCoordinates): fix font problem
2984
2985 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2986
2987         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2988         bogus "rebuild cursor" code
2989
2990 2004-03-11  André Pönitz  <poenitz@gmx.net>
2991
2992         * buffer.[Ch]: use InsetText instead of LyXText as container for
2993         the main lyx text.
2994
2995         * dociterator.[Ch]: drop the BufferView * member which is not needed
2996         anymore after the change to buffer.C
2997
2998         * paragraph_funcs.C:
2999         * text.C:
3000         * text2.C:
3001         * BufferView.[Ch]:
3002         * BufferView_pimpl.[Ch]:
3003         * cursor.[Ch]:
3004         * cursor_slice.[Ch]: adjust
3005
3006         * text3.C: fix bug in mathDispatch
3007
3008 2004-03-08  André Pönitz  <poenitz@gmx.net>
3009
3010         * undo.[Ch]: use 'StableDocumentIterator' as base for
3011         the Undo struct.
3012
3013 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3014
3015         * LaTeXFeatures.C:
3016         * bufferparams.[Ch]: add jurabib support and param.
3017
3018         * LaTeX.C: add FIXME/comment.
3019
3020 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3021
3022         * buffer.C: increment file format to 230.
3023
3024 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3025
3026         * cursor.C (dispatch): avoid infinite loops
3027
3028 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3029
3030         * rowpainter.C (paintSelection): fix x coordinates
3031
3032 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3033
3034         * text.C (rowBreakPoint): fix breaking before displayed insets
3035
3036 2004-03-01  André Pönitz  <poenitz@gmx.net>
3037
3038         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3039
3040         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3041
3042         * Makefile.am:
3043         * BufferView.C:
3044         * BufferView_pimpl.C:
3045         * buffer.C:
3046         * lyxfind.C:
3047         * lyxfunc.C:
3048         * text.C:
3049         * text2.C:
3050         * text3.C: adjust
3051
3052 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3053
3054         * lyxtext.h:
3055         * text.C:
3056         * text2.C:
3057         * rowpainter.C:
3058         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3059         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3060
3061 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3062
3063         * Bidi.[Ch] (computeTables): const correctness
3064         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3065         fill_hfill, fill_label_hfill and x from Row
3066         * lyxtext.h: prepareToPrint returns a RowMetrics
3067         * rowPainter.C: adjust
3068         * text.C (prepareToPrint): use width, not textWidth. adjust
3069         (redoParagraphInternal, cursorX): adjust
3070         * text2.C (getColumnNearX): adjust
3071         (init): put a default value to the top LyXText::width
3072
3073 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3074
3075         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3076
3077 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3078
3079         * lyxtext.h: add FontIterator class
3080
3081         * text.C (FontIterator, operator*, operator->, operator++): add
3082         (rowBreakPoint, setRowWidth): adjust (fixing a
3083         rebreaking bug)
3084
3085 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3086
3087         * BufferView_pimpl.C (workAreaDispatch): allow also
3088         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3089
3090 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3091
3092         * text.C (rowBreakPoint): fix a bug showing with very large insets
3093
3094 2004-02-25  André Pönitz  <poenitz@gmx.net>
3095
3096         * text3.C:
3097         * cursor.[Ch]: move some mathed specific code to mathed
3098
3099 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3100
3101         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3102         use_tempdir in preferences
3103         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3104         tempfile creation
3105         * lyx_main.C: ensure that tempdir is valid
3106         * lyxlex.h: correct typo
3107         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3108         * paragraph.[Ch] (isMultiLingual): make const
3109         * cursor.[Ch] (openable): make const
3110
3111 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3112
3113         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3114
3115 2004-02-20  André Pönitz  <poenitz@gmx.net>
3116
3117         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3118
3119         * cursor.[Ch]: prepare for localized getStatus()
3120
3121         * lyxtext.h:
3122         * tabular.C:
3123         * text.C:
3124         * text2.C:
3125         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3126
3127 2004-02-20  André Pönitz  <poenitz@gmx.net>
3128
3129         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3130
3131 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3132
3133         * text2.C (setCursorFromCoordinates): switch to absolute coords
3134         (cursorUp): adjust
3135         (cursorDown): adjust
3136         * text3.C (dispatch): adjust
3137
3138 2004-02-16  André Pönitz  <poenitz@gmx.net>
3139
3140         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3141           insets/ChangeLog)
3142
3143         * cursor_slice.[Ch]: remove unneeded acessor function
3144
3145         * lyxtext.h: rename rtl() to isRTL()
3146
3147         * rowpainter.C:
3148         * tabular.C:
3149         * text.C:
3150         * text2.C:
3151         * text3.C: adjust
3152
3153 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3154
3155         * rowpainter.C (paintSelection): coord fix
3156
3157 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3158
3159         * Spacing.C: compile fix
3160
3161 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3162
3163         * cursor.C (dispatch): restore current_ before returning
3164
3165 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3166
3167         * text2.C (cursorUp, cursorDown): fix coords
3168         (moveUp): fix crash
3169
3170 2004-02-12  André Pönitz  <poenitz@gmx.net>
3171
3172         * lyxtext.h:
3173         * text.C:
3174         * text2.C:
3175         * text3.C: add LCursor & parameter to most cursor movement functions
3176           remove usage of LyXText::cursorRow() and cursorPar()
3177
3178         * cursor.[Ch]: add textRow() needed members
3179
3180         * BufferView.C:
3181         * BufferView_pimpl.C:
3182         * paragraph.[Ch]:
3183         * BufferView.C:
3184         * BufferView_pimpl.C: adjust
3185
3186 2004-02-11  André Pönitz  <poenitz@gmx.net>
3187
3188         * lyxfunc.C:
3189         * BufferView.[Ch]:
3190         * BufferView_pimpl.C: shift undo/redo handling
3191
3192         * cursor.[Ch]: fix mathed crash
3193
3194         * lyxfind.C:
3195         * lyxtext.h: move selectionAsText to LCursor
3196
3197         * output_latex.C:
3198         * paragraph.C:
3199         * text.C:
3200         * text2.C:
3201         * text3.C: adjust
3202
3203         * rowpainter.C: fix excessive drawing
3204
3205 2004-02-06  André Pönitz  <poenitz@gmx.net>
3206
3207         * BufferView.[Ch]:
3208         * BufferView_pimpl.[Ch]:
3209         * text3.C: move some text specific LFUN handling
3210
3211 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3212
3213         * text3.C (checkInsetHit): adjust coords
3214         * text2.C (getColumnNearX): adjust coords
3215         (edit): adjust coords
3216         * text.C (getRowNearY): add two asserts
3217
3218 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3219
3220         * converter.C:
3221         * format.C: add using std::distance to compile on gcc 2.95/stlport
3222
3223 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3224
3225         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3226
3227 2004-02-04  André Pönitz  <poenitz@gmx.net>
3228
3229         * BufferView.[Ch] (insertInset):
3230         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3231
3232         * text2.C:
3233         * text3.C: adjust
3234
3235 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3236
3237         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3238         on the default clause of the switch
3239         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3240         wasn't catched by LCursor::dispatch
3241
3242 2004-02-03  André Pönitz  <poenitz@gmx.net>
3243
3244         * BufferView.C:
3245         * cursor.[Ch]: some additional asserts
3246
3247         * undo.[Ch]: remove LyXText dependency in interface
3248
3249         * lyxfunc.C: adjust
3250
3251         * lyxtext.h (firstPar, lastPar): remove dead functions
3252
3253         * text.C:
3254         * text2.C:
3255         * text3.C:
3256         * paragraph.[Ch]: adjust
3257
3258 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3259
3260         * lyxfind.C (find): fix argument order in call to ::find
3261
3262 2004-02-02  André Pönitz  <poenitz@gmx.net>
3263
3264         * cursor.[Ch]: remove direct access to anchor
3265
3266         * text.C: remove findText() hack
3267
3268 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3269
3270         * iterators.[Ch] (lockPath): remove in favour of...
3271         * BufferView.[Ch] (setCursor): this addition
3272         * BufferView.C (putSelectionAt): adjust
3273         * undo.C (performUndoOrRedo): adjust
3274         * lyxfunc.C (dispatch): adjust
3275
3276 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3277
3278         * iterators.C (lockPath): add a missing slice
3279         * undo.C (performUndoOrRedo): remove redundant positioning code
3280
3281 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3282
3283         * vc-backend.C (scanMaster): ";" -> ';'
3284
3285 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3286
3287         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3288         std::binary_function
3289
3290         * lyxtextclass.C (compare_name): rename to...
3291         (LayoutNamesEqual): ...this
3292
3293         * lyxlex_pimpl.C (compare_tags): inherit from
3294         std::binary_function, put back into anon namespace
3295
3296         * lyxfind.C (MatchString): inherig from std::binary_function
3297         (findChange): use empty() istead of !size()
3298
3299         * format.C (FormatNamesEqual): new functor
3300         (getFormat): use it
3301         (getNumber): use it
3302         (add): use it
3303         (erase): use it
3304         (setViewer): use it
3305
3306         * converter.C (compare_Converter): rename to...
3307         (ConverterEqual): ...this, and fixup a bit.
3308         (getConverter): use it, and make function const
3309         (getNumber): use it, and make function const
3310         (add): use it
3311         (erase): use it:
3312
3313         * bufferlist.C: add using boost::bind
3314
3315         * MenuBackend.C (MenuNamesEqual): new functor
3316         (hasMenu): use it, and make function const
3317         (hasSubmenu): use nested bind to get rid of compare_memfun.
3318
3319 2004-01-30  André Pönitz  <poenitz@gmx.net>
3320
3321         * BufferView_pimpl.C:
3322         * cursor.C:
3323         * cursor.h:
3324         * cursor_slice.[Ch]:
3325         * lyxfunc.C:
3326         * lyxtext.h:
3327         * paragraph_funcs.C:
3328         * paragraph_funcs.h:
3329         * rowpainter.C:
3330         * text.C:
3331         * text2.C:
3332         * text3.C: move some of the edit(x,y) handling to the insets
3333         some coordinate changes.
3334
3335 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3336
3337         * text.C: add using statements for std::advance and std::distance
3338
3339         * paragraph.C: add using statement for std::distance
3340
3341         * lyxfind.C: add using statement for std::advance
3342
3343         * cursor.C (region): remove std:: from swap
3344         (openable): use nucleus in stead of operator->
3345
3346         * BufferView.C: add using statements for std::distance and std::swap
3347
3348 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3349
3350         * iterators.C: Remove the pimple, move the needed structures to
3351         the header file. Create accessor for the positions stack.
3352         (asPosIterator): remove function
3353
3354         * PosIterator.C (PosIterator): move constructors to top of file
3355         (PosIterator): reimplement the constructor taking a ParIterator in
3356         terms of setFrom.
3357         (setFrom): new function
3358         (operator!=): inline it
3359
3360 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3361
3362         * lyxfind.C (replaceAll): use std::advance
3363
3364         * iterators.h: inherit from std::iterator.
3365
3366         * PosIterator.C (advance, distance): remove
3367         * PosIterator.h: interit from std::iterator.
3368
3369 2004-01-26  André Pönitz  <poenitz@gmx.net>
3370
3371         * BufferView.[Ch]:
3372         * BufferView_pimpl.[Ch]:
3373         * InsetList.[Ch]:
3374         * PosIterator.[Ch]:
3375         * buffer.h:
3376         * bufferview_funcs.C:
3377         * cursor.[Ch]:
3378         * cursor_slice.h:
3379         * factory.[Ch]:
3380         * iterators.[Ch]:
3381         * lyxfind.C:
3382         * lyxfunc.C:
3383         * lyxtext.h:
3384         * output_docbook.C:
3385         * output_latex.C:
3386         * output_linuxdoc.C:
3387         * output_plaintext.C:
3388         * paragraph.[Ch]:
3389         * paragraph_funcs.[Ch]:
3390         * paragraph_pimpl.[Ch]:
3391         * rowpainter.C:
3392         * tabular.C:
3393         * tabular.h:
3394         * text.C:
3395         * text2.C:
3396         * text3.C: more IU:  dumps most of the rest of the mathcursor
3397     implementation into cursor.[Ch]; "globalize" a bit of it.
3398
3399 2004-01-25  Angus Leeming  <leeming@lyx.org>
3400
3401         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3402
3403 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3404
3405         * LaTeXFeatures.h: add nice_ and nice() const
3406         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3407
3408 2004-01-20  André Pönitz  <poenitz@gmx.net>
3409
3410         * BufferView.[Ch]:
3411         * BufferView_pimpl.C:
3412         * PosIterator.C:
3413         * bufferview_funcs.C:
3414         * cursor.[Ch]:
3415         * cursor_slice.[Ch]:
3416         * factory.C:
3417         * iterators.C:
3418         * lyx_cb.C:
3419         * lyxfind.C:
3420         * lyxfunc.C:
3421         * lyxtext.h:
3422         * rowpainter.C:
3423         * text.C:
3424         * text2.C:
3425         * text3.C:
3426         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3427           LCursor and mathcursor parts to LCursor and InsetBase.
3428
3429 2004-01-15  André Pönitz  <poenitz@gmx.net>
3430
3431         * cursor_slice.[Ch]: add a few covienience functions
3432
3433         * funcrequest.[Ch]: remove BufferView * member
3434
3435         * BufferView_pimpl.C:
3436         * cursor.C:
3437         * factory.[Ch]:
3438         * lyxfind.[Ch]:
3439         * lyxfunc.C:
3440         * lyxtext.h:
3441         * text3.C:
3442         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3443
3444 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3445
3446         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3447         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3448
3449 2004-01-13  André Pönitz  <poenitz@gmx.net>
3450
3451         * textcursor.[Ch]:
3452         * lyxtext.h: hide cursor and selection anchor behind accessor function
3453
3454         * BufferView.C:
3455         * BufferView_pimpl.[Ch]:
3456         * PosIterator.C:
3457         * bufferview_funcs.C:
3458         * cursor.h:
3459         * lyxfind.C:
3460         * lyxfunc.C:
3461         * text.C:
3462         * text2.C:
3463         * text3.C:
3464         * undo.C: adjust
3465
3466         * cursor.h:
3467         * cursor_slice.[Ch]: some integer type changes for inset unification
3468
3469         * lyxcursor.[hC]: remove, it's CursorSlice now.
3470
3471         * Makefile.am:
3472         * BufferView_pimpl.[Ch]:
3473         * bufferview_funcs.C:
3474         * cursor_slice.C:
3475         * lyxtext.h:
3476         * text.C:
3477         * text2.C:
3478         * text3.C:
3479         * textcursor.[Ch]: adjust
3480
3481 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3482
3483         * text2.C (undoSpan): add and use
3484         * text.C (breakParagraph): use undoSpan (fix bug 578)
3485         * lyxtext.h: adjust
3486
3487 2004-01-08  Angus Leeming  <leeming@lyx.org>
3488
3489         * BufferView_pimpl.C (MenuInsertLyXFile):
3490         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3491         * lyxfunc.C (menuNew, open, doImport):
3492         FileFilterList change to the FileDialog open and save functions.
3493
3494 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3495
3496         * ShareContainer.h: make isEqual and isUnique adaptable
3497
3498         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3499
3500 2004-01-07  Angus Leeming  <leeming@lyx.org>
3501
3502         * LyXAction.C:
3503         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3504
3505         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3506
3507         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3508         functions replacing find, replace and replaceAll.
3509
3510         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3511         LFUN_WORDFIND(FORWARD|BACKWARD).
3512
3513 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3514
3515         * text.C (breakParagraph): remove an outdated #warning
3516
3517 2004-01-07  André Pönitz  <poenitz@gmx.net>
3518
3519         * lyxfind.C: somewhat clearer logic
3520
3521         * text.C: prevent crash in cursorX on unitialized row cache
3522
3523 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3524
3525         * lyxcursor.[Ch] (operator>): add
3526         * textcursor.C (selStart, selEnd): use std::min and std::max
3527
3528 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3529
3530         * Chktex.C: include boost/format.hpp
3531
3532 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3533
3534         * InsetList.C: replace functor MathcIt with adaptable functor
3535         InsetTablePosLess
3536         (insetIterator): modify accordingly
3537
3538         * BranchList.h: move the BranchNamesEqual functor here from...
3539         * BranchList.C: ... to here
3540
3541         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3542         SameName and match.
3543         (add): replace a finding loop with std::find_if.
3544
3545 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3546
3547         * output_docbook.C: moving LatexParam functionality into
3548         .layout files
3549
3550 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3551
3552         * buffer.C: increment format to 229.
3553
3554 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3555
3556         * LaTeXFeatures.C:
3557         * lyx_sty.[Ch]: remove minipageindent_def
3558
3559         * LyXAction.C:
3560         * factory.C:
3561         * lfuns.h:
3562         * lyxfunc.C:
3563         * text3.C: remove LFUN_INSET_MINIPAGE
3564
3565 2003-12-28  Angus Leeming  <leeming@lyx.org>
3566
3567         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3568
3569 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3570
3571         * text2.C (setParagraph): fix off-by-one crash
3572
3573 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3574
3575         * output_docbook.C: header stuff for AGU
3576
3577 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3578
3579         * text2.C (redoCursor): remove
3580         * text.C:
3581         * text3.C:
3582         * BufferView_pimpl.C: remove calls to redoCursor and
3583         setCursor(cursor.par(), cursor.pos()) all around
3584
3585 2003-12-15  Angus Leeming  <leeming@lyx.org>
3586
3587         * buffer.C: up the format to 228.
3588
3589 2003-12-15  André Pönitz  <poenitz@gmx.net>
3590
3591         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3592         slices
3593
3594         * Makefile.am:
3595
3596         * BufferView_pimpl.C:
3597         * cursor.[Ch]:
3598         * lyxcursor.[Ch]:
3599         * rowpainter.[Ch]:
3600         * lyxtext.h:
3601         * text.C:
3602         * text2.C:
3603         * text3.C: adjust
3604
3605 2003-12-15  Angus Leeming  <leeming@lyx.org>
3606
3607         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3608         than getFromGUIName to manipulate the color.
3609
3610 2003-12-14  Angus Leeming  <leeming@lyx.org>
3611
3612         * BranchList.[Ch]: minimize the API.
3613         (Branch::getBranch, getColor): now return a 'const &'.
3614         (Branch::setSelected) now returns a bool set to true if the
3615         selection status changes.
3616         (BranchList::clear, size, getColor, setColor, setSelected,
3617         allBranches, allSelected, separator): removed.
3618         (BranchList::find): new functions, returning the Branch with
3619         the given name.
3620         (BranchList::add, remove): return a bool indicating that
3621         the operation was successful.
3622
3623         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3624         new InsetBranch::isBranchSlected member function.
3625
3626         * LColor.[Ch]: mimimize the API.
3627         (fill): renamed as addColor and made private.
3628         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3629         versions of these functions taking a string arg have been removed.
3630
3631         * bufferparams.C (readToken):
3632         * lyxfunc.C (dispatch):
3633         * lyxrc.C (read): changes due to the altered BranchList and
3634         LColor APIs.
3635
3636         * factory.C (createInset, readInset): changes due to altered
3637         InsetBranch c-tor.
3638
3639 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3640
3641         * factory.C:
3642         * lyxfunc.C: remove insetminipage. "minipage-insert"
3643         now produces a frameless minipage box inset.
3644
3645 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3646
3647         * textcursor.[Ch] (selStart,selEnd): add new methods
3648         remove selection::start, end, use LyXCursor::operator<
3649         * lyxcursor.[Ch] (operator<): add
3650         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3651         * BufferView.[Ch] (unsetXSel): add
3652         * text2.C (clearSelection): use unsetXSel,adjust
3653         * text.C: adjust
3654         * text3.C: adjust
3655         * rowpainter.C: adjust
3656         * bufferview_funcs.C (put_selection_at): adjust
3657
3658 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3659
3660         * BufferView_pimpl.C: small coord. correction
3661
3662 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3663
3664         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3665         dragging over the splash screen.
3666
3667 2003-12-11  Angus Leeming  <leeming@lyx.org>
3668
3669         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3670         as it is now handled in LyXText::dispatch.
3671
3672         * text3.C (doInsertInset): remove a level of nesting.
3673
3674 2003-12-11  Angus Leeming  <leeming@lyx.org>
3675
3676         * factory.C (createInset): changes due to the changed interface to
3677         InsetCommandMailer::string2params.
3678
3679 2003-12-10  Angus Leeming  <leeming@lyx.org>
3680
3681         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3682         'dialog-show-new-inset <inset name>'
3683
3684 2003-12-10  Angus Leeming  <leeming@lyx.org>
3685
3686         * buffer.C: up the format to 227.
3687
3688         * factory.C: the box inset is now identified simply by 'Box'.
3689
3690 2003-12-10  Angus Leeming  <leeming@lyx.org>
3691
3692         * buffer.C: up the format to 226.
3693
3694         * factory.C: the note inset is now identified simply by 'Note'.
3695
3696 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3697
3698         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3699         when a pit is enough. Standarize a couple of loops.
3700
3701 2003-12-05  Angus Leeming  <leeming@lyx.org>
3702
3703         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3704         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3705         data to the re-worked "log" dialog.
3706
3707 2003-12-03  André Pönitz  <poenitz@gmx.net>
3708
3709         * PosIterator.C:
3710         * iterators.C:
3711         * lyxtext.h:
3712         * output_latex.C:
3713         * paragraph_funcs.C:
3714         * text.C:
3715         * text2.C: use Inset::getText instead of Inset::getParagraph
3716
3717 2003-12-03  André Pönitz  <poenitz@gmx.net>
3718
3719         * buffer.[Ch]:
3720         * lyxtext.h:
3721         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3722         InsetText::read() as LyXText::read()
3723
3724 2003-12-02  Angus Leeming  <leeming@lyx.org>
3725
3726         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3727         type. Add a comment in the implementation that the function uses
3728         the stream's bad() function rather than fail() as the std::streams
3729         would do.
3730
3731 2003-12-02  André Pönitz  <poenitz@gmx.net>
3732
3733         * lyxlex.[Ch]: make interface more similar to std::stream
3734
3735         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3736
3737 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3738
3739         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3740
3741 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3742
3743         * vspace.[Ch]: remove VSpace::NONE
3744
3745 2003-12-01  André Pönitz  <poenitz@gmx.net>
3746
3747         * buffer.[Ch]:
3748         * lyxtext.h: move ParagraphList member to LyXText
3749         rename LyXText::ownerParagraphs to LyXText::paragraph
3750
3751         * CutAndPaste.C:
3752         * bufferview_funcs.C:
3753         * iterators.[Ch]:
3754         * lyx_cb.C:
3755         * paragraph.C:
3756         * rowpainter.C:
3757         * tabular.C:
3758         * text.C:
3759         * text2.C:
3760         * text3.C: adjust
3761
3762         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3763
3764         * undo.C: fix cursor positioning
3765
3766 2003-12-01  John Levon  <levon@movementarian.org>
3767
3768         * BufferView_pimpl.C: fix a crash on exit with
3769         a buffer open
3770
3771 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3772
3773         * BranchList.C: fix setSelected() method.
3774
3775 2003-11-28  André Pönitz  <poenitz@gmx.net>
3776
3777         * ParagraphParameters.[Ch]:
3778         * ParameterStruct.h: remove space above/below from Paragraph to
3779          InsetVSpace
3780
3781         * BufferView_pimpl.C:
3782         * factory.C:
3783         * lyxfunc.C:
3784         * lyxtext.h:
3785         * output_latex.C:
3786         * paragraph.C:
3787         * paragraph_funcs.C:
3788         * rowpainter.[Ch]:
3789         * text.C:
3790         * text2.C:
3791         * text3.C: adjust
3792
3793 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3794
3795         * factory.C: Syntax change for CharStyles
3796
3797 2003-11-28  André Pönitz  <poenitz@gmx.net>
3798
3799         * BufferView.[Ch]:
3800         * BufferView.[Ch]:
3801         * buffer.[Ch]:
3802         * buffer.[Ch]: move LyXText member
3803
3804 2003-11-28  André Pönitz  <poenitz@gmx.net>
3805
3806         * BufferView.[Ch]: make LyXText * text a private member
3807
3808         * BufferView_pimpl.C:
3809         * cursor.C:
3810         * iterators.C:
3811         * lyx_cb.C:
3812         * lyxfind.C:
3813         * lyxtext.h:
3814         * rowpainter.[Ch]:
3815         * text.C:
3816         * text2.C:
3817         * undo.C: adjust
3818
3819         * output_plaintext.C: cleanup
3820
3821 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3822
3823         * buffer.C:
3824         * lyxtextclass.[Ch]: parametrize SGML document header
3825
3826 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3827
3828         * converter.[Ch]:
3829         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3830         getFlavor().
3831
3832 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3833
3834         * text2.C (setFont): rework using PosIterator (no more recursive)
3835         (setCharFont): no more needed
3836         (setLayout): no more selection cursors fiddling (done by redoCursor)
3837         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3838         destroy remaining ones)
3839
3840 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3841
3842         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3843         * lyxtext.h: ditto
3844         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3845         selection cursors
3846         * lyxfunc.C: adjust
3847         * text3.C: adjust + re-allow multi par depth changes
3848         * textcursor.C: simplify a bit
3849
3850 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3851
3852         * src/buffer.C:
3853         * src/lyxlayout.C:
3854         * src/lyxlayout.h:
3855         * src/lyxtext.h:
3856         * src/output_docbook.C:
3857         * src/output_latex.C:
3858         * src/paragraph.C:
3859         * src/paragraph.h:
3860         * src/sgml.C:
3861         * src/sgml.h:
3862         * src/text2.C: Introducing a number of tags parametrizing various
3863         XML formats that we may want to support
3864
3865 2003-11-25  André Pönitz  <poenitz@gmx.net>
3866
3867         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3868
3869         * lyxtext.h (leftMargin/rightMargin): simplify interface
3870
3871         * rowpainter.C:
3872         * text.C:
3873         * text2.C:
3874         * text3.C: adjust
3875
3876 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3877
3878         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3879         master file to any child files. Fixes bug 546.
3880
3881 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3882
3883         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3884
3885 2003-11-24  André Pönitz  <poenitz@gmx.net>
3886
3887         * rowpainter.C: simplification
3888
3889         * text2.C (updateCounters): remove call to redoParagraph on
3890         changed labels as this is far too expensive.
3891
3892 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3893
3894         * converter.C (convert): fix a crash: this function gets
3895         called with buffer == 0 from importer code.
3896
3897 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3898
3899         * text3.C (cursorPrevious): make sure that we do not compare
3900         iterators form different containers.
3901         (cursorNext): ditto
3902
3903         * rowpainter.C (paintSelection): make sure that we do not compare
3904         iterators from different containers.
3905
3906         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3907         iterators from different ParagraphList containers.
3908         [NEXT] ditto
3909
3910         * text2.C (LyXText): change order of initialization slightly
3911         (operator=): new function. copy all variables except cache_par_
3912         (moveUp): make sure that we do not compare iterators from
3913         different ParagraphList constainers.
3914         (moveDown): ditto
3915
3916         * text.C (firstPar): new function
3917         (lastPar): new function
3918         (endPar): new function
3919
3920         * lyxtext.h: move things around and group public functions, public
3921         variables, private functions, private variables
3922
3923 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3924
3925         * factory.C: change call to InsetERT constructor to avoid
3926         additional invocation of method status
3927         * text2.C (toggleInset): remove redundant update() call
3928         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3929         instead of a Bufferview pointer
3930
3931 2003-11-21  André Pönitz  <poenitz@gmx.net>
3932
3933         * rowpainter.C: simplification
3934
3935 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3936
3937         * text3.C (dispatch): make possible to extend a word/row selection
3938         with the mouse
3939
3940 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3941
3942         * lyxtext.h: x0_,y0_ -> xo_,yo_
3943         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3944         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3945         * rowpainter.C (paintRows): paint full paragraphs
3946
3947 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3948
3949         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3950         screen coordinates)
3951
3952 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3953
3954         * lyxtext.h: add x0_, y0_
3955         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3956         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3957
3958 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3959
3960         * text2.C (setCursorIntern): move the x_target update here *
3961         * text3.C: change some bv() to true/false in calls to
3962         cursorUp/Down/Right/Left
3963         * cursor.C: use helper function.
3964
3965 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3966
3967         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3968         * paragraph_funcs.[Ch]: correct comment
3969         * rowpainter.C: do not paint selections away from bv->cursor()
3970         Fix a long standing selection painting bug.
3971         * text3.C: generalize mouse-selection code to LyXTexts other that
3972         top one
3973         * textcursor.C: do not use y coords if we can use par offsets
3974
3975 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3976
3977         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3978         cursor position after e.g. inset insert)
3979
3980 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3981
3982         * lyxfind.C (replace): adjust to locking removal + some
3983         code simplification
3984
3985 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3986
3987         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3988         of the path
3989
3990 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3991
3992         * lyxlayout.[Ch]:
3993         * output_docbook.C: XML sanitation: new layout
3994         parameters InnerTag and CommandDepth
3995
3996 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3997
3998         * BufferView_pimpl.C:
3999         * factory.C:
4000         * text3.C: Fix the insertion and modification of button-style
4001         insets
4002
4003 2003-11-13  André Pönitz  <poenitz@gmx.net>
4004
4005         * InsetList.[Ch]: remove deleteLyXText
4006
4007         * paragraph.[Ch]: cache beginOfBody position
4008
4009         * Bidi.C:
4010         * text.C:
4011         * text2.C:
4012         * text3.C: remove superfluous update() calls
4013
4014         * vspace.C: cleanup
4015
4016 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4017
4018         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4019         * BufferView.C (fitLockedInsetCursor): remove
4020         * cursor.[Ch] (getDim): add
4021         * text.C (getRowNearY): add faster version
4022         * text3.C: remove some update calls
4023
4024 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4025
4026         * LaTeXFeatures.C:
4027         * LyXAction.C:
4028         * MenuBackend.C:
4029         * MenuBackend.h:
4030         * dispatchresult.h:
4031         * factory.C:
4032         * lfuns.h:
4033         * lyxfunc.C:
4034         * lyxtextclass.C:
4035         * lyxtextclass.h:
4036         * text3.C: The Character Style /XML short element patch.
4037
4038 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4039
4040         * text3.C:
4041         * factory.C: Small step to solving 'unable to insert some insets'
4042         problem
4043
4044 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4045
4046         * cursor.[Ch] (updatePos): new function for updating the y
4047         position of the tip inset
4048         * bufferview_funcs.C (put_selection_at):
4049         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4050
4051 2003-11-11  André Pönitz  <poenitz@gmx.net>
4052
4053         * text.C: remove big comment on invalid Paragraph pointers as it is
4054         not valid anymore
4055
4056 2003-11-11  André Pönitz  <poenitz@gmx.net>
4057
4058         * text_funcs.[Ch]: merge with ...
4059
4060         * text.C: ... this
4061
4062         * lyxtext.h:
4063         * text2.C:
4064         * text3.C: adjust
4065
4066         * Makefile.am: remove text_funcs.[Ch]
4067
4068 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4069
4070         * cursor.C (getPos): return absolute cached y coord
4071
4072         * BufferView_pimpl.C (fitCursor): new simplistic code
4073         (workAreaDispatch): add a fitCursor call
4074
4075 2003-11-10  André Pönitz  <poenitz@gmx.net>
4076
4077         * BufferView.[Ch]:
4078         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4079
4080 2003-11-10  André Pönitz  <poenitz@gmx.net>
4081
4082         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4083         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4084         indicate that the cursor needs to leave an inset
4085
4086         * lyxtext.h: remove inset locking
4087
4088         * cursor.[Ch]: re-implement functionality provided by inset locking
4089
4090         * BufferView.[Ch]:
4091         * BufferView_pimpl.[Ch]:
4092         * LyXAction.C:
4093         * bufferview_funcs.[Ch]:
4094         * factory.C:
4095         * funcrequest.[Ch]:
4096         * iterators.C:
4097         * lyx_cb.C:
4098         * lyxfind.C:
4099         * lyxfunc.C:
4100         * text.C:
4101         * text2.C:
4102         * text3.C:
4103         * undo.C: adjust
4104
4105 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4106
4107         * PosIterator.[Ch]: replace the stack with a vector, add inset
4108         accesor
4109         * iterators.[C]: adjust
4110
4111 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4112
4113         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4114         replaced
4115         * paragraph_funcs.C (readParToken): put the correct id in the
4116         error item, not the id of the top paragraph
4117
4118 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4119
4120         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4121         * bufferview_funcs.C (put_selection_at): use the above
4122
4123 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4124
4125         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4126
4127 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4128
4129         * output_linuxdoc.h:
4130         * output_plaintext.h:
4131         * output.h:
4132         * output_docbook.h: add #include statements
4133
4134 2003-11-05  José Matos  <jamatos@lyx.org>
4135
4136         * output_docbook.[Ch]:
4137         * output_latex.[Ch]:
4138         * output_linuxdoc.[Ch]:
4139         * output_plaintext.[Ch]: New files for output formats.
4140         * output.[Ch]: New file for helper functions.
4141
4142         * buffer.[Ch]:
4143         * paragraph_funcs.[Ch]: output functions moved to new files.
4144
4145         * outputparams.h: rename of latexrunparams.h
4146
4147         * LaTeX.[Ch]:
4148         * buffer.[Ch]:
4149         * bufferlist.[Ch]:
4150         * converter.[Ch]:
4151         * exporter.C:
4152         * paragraph.[Ch]:
4153         * paragraph_funcs.[Ch]:
4154         * paragraph_pimpl.[Ch]:
4155         * tabular.[Ch]: rename ascii to plaintext
4156         and LatexRunParams to OutputParams.
4157
4158 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4159
4160         * iterators.[Ch] (text): require bv argument
4161         * undo.C (recordUndo):
4162         * lyxfunc.C (dispatch):
4163         * bufferview_funcs.C (put_selection_at): adjust
4164
4165 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4166
4167         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4168
4169 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4170
4171         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4172         nestings
4173
4174 2003-11-04  André Pönitz  <poenitz@gmx.net>
4175
4176         * cursor.[Ch]: restructure
4177
4178         * BufferView.[Ch]:
4179         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4180
4181         * iterators.[Ch] (asCursor): remove
4182
4183         * lfuns.h: remove LFUN_INSET_EDIT
4184
4185         * lyxfunc.C:
4186         * tabular.C:
4187         * text.C:
4188         * text2.C:
4189         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4190
4191 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4192
4193         * lyxfind.[Ch]: complete overhaul
4194         * BufferView_pimpl.C:
4195         * lyxfunc.C: adjust
4196         * paragraph.[Ch] (insert): add
4197
4198 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4199
4200         * BufferView.[Ch]:
4201         * lyxtext.h:
4202         * text.C: remove dead spellcheck code
4203
4204 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4205
4206         * dispatchresult.h: add a val setter
4207
4208         * cursor.C (dispatch): use a tempvar for data_[i]
4209
4210 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4211
4212         * PosIterator.[Ch]: compile fix
4213
4214 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4215
4216         * text.C (cursorPar): deactivate the cursor cache
4217
4218 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4219
4220         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4221
4222 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4223
4224         * text3.C (dispatch): adjust for new DisptchResult semantics.
4225
4226         * lyxfunc.C (dispatch): handle update when return from
4227         Cursor::dispatch, adjust for new DispatchResult semantics.
4228
4229         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4230         DispatchResult(true) mean to not update. Add class functions for
4231         setting dispatched and update, as well as reading.
4232
4233         * cursor.C (dispatch): don't handle update here
4234
4235 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4236
4237         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4238         * trans_mgr.C: adjust
4239
4240         * paragraph_funcs.C (readParToken): exception safety
4241
4242         * lyxvc.h: store the vcs pointer in a scoped_ptr
4243         * lyxvc.C: adjust
4244
4245         * lyxsocket.C (serverCallback): exception safety
4246
4247         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4248
4249         * ispell.C (clone): make it return a auto_ptr
4250
4251         * factory.C (createInset): exception safety
4252         (readInset): exception safety
4253
4254         * bufferlist.C (newBuffer): exception safety
4255
4256         * Thesaurus.C (Thesaurus): use initialization for aik_
4257
4258         * MenuBackend.C (expandToc): exception safety.
4259
4260 2003-11-03  André Pönitz  <poenitz@gmx.net>
4261
4262         * buffer.C:
4263         * buffer.h:
4264         * bufferview_funcs.C: remove getInsetFromId()
4265
4266         * lyxcursor.[Ch]:
4267         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4268
4269         * lyxfunc.C:
4270         * text2.C:
4271         * text3.C: adjust
4272
4273 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4274
4275         * PosIterator.C (distance, advance): new
4276         * bufferview_funcs.[Ch] (put_selection_at): new
4277         * iterators.[Ch] (lockPath): new
4278
4279 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4280
4281         * iterators.[Ch] (asPosIterator): added
4282         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4283         * PosIterator.[Ch]: added
4284
4285 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4286
4287         * text3.C:
4288         * lyxfunc.C:
4289         * cursor.C (dispatch):
4290         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4291
4292         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4293         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4294         contructor, add a class function dispatched. Remove operator>=
4295
4296 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4297
4298         * debug.C: only use the default constructor for debugstream
4299         (lyxerr) here.
4300
4301         * main.C (main): include debug.h and setup the lyxerr streambuf
4302         here.
4303
4304 2003-10-31  José Matos  <jamatos@lyx.org>
4305
4306         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4307
4308         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4309         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4310         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4311         * paragraph_pimpl.C (simpleTeXSpecialC):
4312         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4313         add LatexRunParams argument.
4314
4315         * exporter.C (Export): change call accordingly.
4316
4317         * latexrunparams.h: add new member to take care of the other backends.
4318 2003-10-30  José Matos  <jamatos@lyx.org>
4319
4320         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4321         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4322         factorise code for paragraph output.
4323         * buffer.[Ch]:
4324         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4325         move functions.
4326
4327 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4328
4329         * text3.C (dispatch):
4330         * lyxfunc.C (dispatch):
4331         * cursor.C (dispatch):
4332         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4333
4334         * dispatchresult.h: make the dispatch_result_t ctor explicit
4335
4336 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4337
4338         * sgml.[Ch]:
4339         * buffer.C: small refactoring of docbook stuff
4340
4341 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4342
4343         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4344         meaning.
4345
4346 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4347
4348         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4349         operator dispatch_result_t, and operators for == != and >=
4350
4351         * cursor.C (dispatch): adjust for operator dispatch_result_t
4352         removal. comment out call to update
4353
4354         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4355
4356 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4357
4358         * text3.C:
4359         * text2.C:
4360         * text.C:
4361         * lyxtext.h:
4362         * lyxfunc.C:
4363         * cursor.C:
4364         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4365         (dispatch):
4366
4367         * dispatchresult.h: new file, DispatchResult broken out of
4368         insets/insetbase.h
4369
4370         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4371
4372 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4373
4374         * text.C (rowBreakPoint): put a hack inside #if 0
4375
4376 2003-10-28  André Pönitz  <poenitz@gmx.net>
4377
4378         * lyxtext.h:
4379         * metricsinfo.C:
4380         * paragraph_funcs.C:
4381         * rowpainter.C:
4382         * text.C:
4383         * text2.C: general cleanup (lots of small stuff)
4384
4385 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4386
4387         * text2.C (cursorEnd): simple fix to the "end key goes to one
4388         before the end on last row" bug
4389
4390 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4391
4392         * text.C (backspace): fix the "zombie characters"
4393
4394 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4395
4396         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4397
4398 2003-10-27  André Pönitz  <poenitz@gmx.net>
4399
4400         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4401
4402         * factory.C: handle new InsetPagebreak, InsetLine
4403
4404         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4405         and move handling into new InsetPagebreak, InsetLine
4406
4407         * BufferView_pimpl.C:
4408         * LyXAction.C:
4409         * ParagraphParameters.C:
4410         * ParameterStruct.h:
4411         * lyxfunc.C:
4412         * lyxtext.h:
4413         * paragraph.C:
4414         * paragraph.h:
4415         * paragraph_funcs.C:
4416         * paragraph_pimpl.C:
4417         * rowpainter.C:
4418         * text.C:
4419         * text2.C:
4420         * text3.C: adjust
4421
4422 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4423
4424         * text.C:
4425         * lyxrow_funcs.[Ch]:
4426         * Bidi.C:
4427         * paragraph.C:
4428         * lyxtext.h:
4429         * rowpainter.C:
4430         * text2.C:
4431         * text3.C: remove lastPos uses in favour of Row::endpos
4432
4433 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4434
4435         * undo.C (performUndoOrRedo): fix two crashes by setting a
4436         cursor by hand and reordering some calls. Use bv->lockInset instead
4437         of inset->edit because the latter loses cursor information
4438
4439 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4440
4441         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4442         by Martin
4443         (rowBreakPoint): fix width. change point to point + 1.
4444         Add a missing check.
4445
4446 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4447
4448         * MenuBackend.C:
4449         * lyxfunc.C: fix (at least partly) the problems
4450         with the Nav menu and headers inside branch insets
4451         reported by Kayvan
4452
4453 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4454
4455         * paragraph.C (getChar): add strong asserts
4456
4457         * lyxrow_funcs.C (lastPos): remove hideous hack
4458
4459         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4460         (fill): adjust to that (avoid an infinite loop)
4461
4462 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4463
4464         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4465
4466 2003-10-23  André Pönitz  <poenitz@gmx.net>
4467
4468         * RowList_fwd.h: change list<> to vector<> to gain speed
4469         after suggestion from Alfredo
4470
4471 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4472
4473         * lyxtext.h: move the bidi stuff from here...
4474         * text.C: and here
4475         * text2.C: and here
4476         * Bidi.[Ch]: ... to here
4477
4478 2003-10-23  André Pönitz  <poenitz@gmx.net>
4479
4480         * lyxtext.h:
4481         * text.C (isLastRow, isFirstRow): new functions
4482
4483         * paragraph.h: new width cache member
4484
4485         * rowpainter.C: replace RowList::iterator with Row & where possible
4486
4487         * lyxfunc.C: replace several view()->text with a single call
4488
4489         * toc.C: fix 'unused' warning
4490
4491 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4492
4493         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4494         when woring with stream::pos_type
4495         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4496
4497 2003-10-22  André Pönitz  <poenitz@gmx.net>
4498
4499         * lyxtext.h:
4500         * text.C: use Row & instead of RowList::iterator
4501
4502         * lyxrow.h: rename end() to endpos()
4503
4504         * rowpainter.C:
4505         * text.C:
4506         * text2.C: adjust
4507
4508 2003-10-22  Angus Leeming  <leeming@lyx.org>
4509
4510         * buffer.[Ch] (fully_loaded): new member function, returning true
4511         only when the file has been loaded fully.
4512         Used to prevent the premature generation of previews and by the
4513         citation inset to prevent computation of the natbib-style label.
4514
4515         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4516         templates are all set up.
4517
4518         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4519
4520 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4521
4522         * text.C: fixed an "oops" in the "is a bit silly"
4523         bug fix
4524
4525 2003-10-21  André Pönitz  <poenitz@gmx.net>
4526
4527         * FuncStatus.[Ch]: small stuff, whitespace
4528
4529         * lyxfont.[Ch]: operator<<() for debug reasons
4530
4531         * lyxfunc.C:
4532         * lyxrow_funcs.C:
4533         * lyxtext.h: whitespace, spelling
4534
4535         * paragraph.C: naming of variables
4536
4537         * text.C:
4538         * text2.C: small stuff
4539
4540
4541 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4542
4543         * text.C: (1) finish off the inset display() work;
4544         (2) fix the "is a bit silly" bug (accessing char
4545         past end of par).
4546
4547 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4548
4549         * text.C: re-introduce display() for insets, fixing the
4550         various bugs (stretch of line above, math inset
4551         positioning, ...)
4552
4553 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4554
4555         * text.C (rightMargin): remove spurious semicolon
4556
4557         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4558         1415)
4559
4560 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4561
4562         * text3.C: fix one crash due to wrong cursor def
4563
4564 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4565
4566         * vc-backend.C (scanMaster): make the regex static
4567
4568         * LaTeX.C (scanAuxFile): make the regexs static
4569
4570         * text3.C (doInsertInset, dispatch, dispatch):
4571         * text2.C (cursorUp, cursorDown):
4572         * text.C (selectNextWordToSpellcheck):
4573         * BufferView_pimpl.C (dispatch):
4574         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4575
4576 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4577
4578         * lyxsocket.C: include <cerrno>
4579
4580 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4581
4582         * lyxfunc.C (dispatch): remove textcache stuff
4583
4584         * bufferlist.C (release): remove textcache stuff
4585         (closeAll): ditto
4586
4587         * TextCache.C: delete file
4588         * TextCache.h: delete file
4589
4590         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4591
4592         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4593         delete of the bv_->text.
4594         (resizeCurrentBuffer): remove texcache stuff
4595         (workAreaResize): ditto
4596
4597 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4598
4599         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4600         action.
4601
4602 2003-10-16  André Pönitz  <poenitz@gmx.net>
4603
4604         * lyxrow.[Ch]:
4605         * paragraph.h:
4606         * rowpainter.C:
4607         * text.C:
4608         * text2.C:
4609         * text3.C: speed up by storing y positions per paragraph plus per-row
4610         offset instead of having a 'full' y position in the row.
4611
4612 2003-10-15  André Pönitz  <poenitz@gmx.net>
4613
4614         * iterators.[Ch]:
4615         * iterators.[Ch]:
4616         * undo.[Ch]: make undo aware of inner insets
4617
4618 2003-10-14  Angus Leeming  <leeming@lyx.org>
4619
4620         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4621         static member functions LyX::ref() and LyX::cref.
4622         (lastfiles): new accessor functions for the new lastfiles_ member var.
4623         (addLyXView, views_): add a new LyXView to the list of views_.
4624         (updateInset): loop over all LyXViews to call their own updateInset
4625         member function, returning a pointer to the Buffer owning the inset.
4626
4627         * BufferView_pimpl.C (loadLyXFile):
4628         * MenuBackend.C (expandLastfiles):
4629         * bufferlist.C (MenuWrite, QuitLyX):
4630         lastfiles is no longer a global variable.
4631         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4632
4633         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4634         static function. Access through LyX::cref().emergencyCleanup().
4635
4636 2003-10-14  André Pönitz  <poenitz@gmx.net>
4637
4638         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4639
4640         * undo.[Ch]: restoring part of 'undo in insets'
4641
4642         * Makefile.am:
4643         * undo_funcs.[Ch]: merge with undo.[Ch]
4644
4645         * tabular.C: small cleansing stuff
4646
4647 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4648
4649         * paragraph_funcs.C (readParToken): report unknown insets as error
4650         boxes. Use the outer paragraph as location (also for unknown
4651         tokens).
4652
4653         * factory.C (readInset): do not abort on reading an unknown inset.
4654         Eat it and return 0.
4655
4656 2003-10-13  Angus Leeming  <leeming@lyx.org>
4657
4658         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4659
4660         * lyxrc.C: displayTranslator is now a function,
4661         declared in GraphicsTypes.h.
4662
4663 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4664
4665         * format.C: new placeholder $$a to pass the socket address.
4666
4667         * bufferlist.[Ch]: new function getBufferFromTmp.
4668
4669         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4670           files in the temporary dir.
4671
4672 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4673
4674         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4675
4676         * Makefile.am: add lyxsocket.[Ch].
4677
4678         * lyx_main.C (error_handler): handle SIGPIPE.
4679
4680 2003-10-13  André Pönitz  <poenitz@gmx.net>
4681
4682         * BufferView_pimpl.C:
4683         * lyxtext.h:
4684         * text.C:
4685         * text2.C:
4686         * text3.C:
4687         * undo_funcs.[Ch]: use paroffset_type instead of
4688           ParagraphList::iterators to prevent multiple conversion
4689           (and get a more robust interface)
4690
4691 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4692
4693         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4694         * lyxtext.h: ditto
4695         * text3.C (dispatch): ditto
4696
4697 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4698
4699         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4700         move the onlyfile, use onlyfile instead of foundfile in a couple
4701         of places.
4702
4703         * DepTable.C (update): flush the error stream a bit more
4704
4705 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4706
4707         * lyxserver.C (callback): adjust
4708
4709         * lyxfunc.C (getStatus): add a missing brace in commented code
4710         (ensureBufferClean): reindent
4711         (dispatch): delete version taking a string
4712
4713 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4714
4715         * LaTeX.C (deplog): move found file handlig from here...
4716         (handleFoundFile): .. to new function here.
4717         (deplog): make sure to discover several files mentioned on the
4718         same log line.
4719
4720 2003-10-10  André Pönitz  <poenitz@gmx.net>
4721
4722         * lyxfunc.C:
4723         * lyxtext.h:
4724         * tabular.C:
4725         * text.C:
4726         * text2.C:
4727         * text3.C: fix some of the tabular crashes
4728
4729 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4730
4731         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4732
4733         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4734
4735 2003-10-09  André Pönitz  <poenitz@gmx.net>
4736
4737         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4738
4739         * BufferView.C:
4740         * BufferView_pimpl.C:
4741         * bufferview_funcs.C:
4742         * lyx_cb.C:
4743         * lyxcursor.C:
4744         * lyxfind.C:
4745         * lyxfunc.C:
4746         * lyxtext.h:
4747         * text.C:
4748         * text2.C:
4749         * text3.C:
4750         * text_funcs.[Ch]:
4751         * textcursor.[Ch]:
4752         * undo_funcs.C: adjust
4753
4754 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4755
4756         * text2.C (incrementItemDepth): new function, use a backtracking
4757         algorithm to discover the correct item depth.
4758         (resetEnumCounterIfNeeded): new function, use a backtracking
4759         algorithm to discover if counter reset is needed.
4760         (setCounter): use them. Simplify a bit. Add different labels for
4761         different item depths for itemize.
4762
4763         * paragraph.C (Paragraph): remove initialization of enumdepth
4764         (operator=): ditto
4765
4766         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4767         enumerate and itemize. Change the type of itemdepth to signed char.
4768
4769 2003-10-08  André Pönitz  <poenitz@gmx.net>
4770
4771         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4772           thing assignable.
4773         * text.C:
4774         * text2.C: adjust
4775
4776         * tabular.[Ch]: fix crash after 'row-insert'
4777
4778 2003-10-08  Angus Leeming  <leeming@lyx.org>
4779
4780         Fix doxygen warnings.
4781
4782         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4783         Remove CutAndPaste:: prefix from header file declaration.
4784
4785         * LColor.h (fill): remove LColor:: prefix from declaration.
4786
4787         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4788         use lyx::depth_type rather than Paragraph::depth_type so that
4789         header file and .C file match.
4790
4791         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4792
4793         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4794         * aspell.C: \file aspell_local.C -> \file aspell.C
4795         * gettext.C: \file gettext.C -> \file src/gettext.C
4796         * gettext.h: \file gettext.h -> \file src/gettext.h
4797         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4798         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4799         * text.C: \file text.C -> \file src/text.C
4800
4801         * toc.C: move comment so that doxygen is not confused.
4802
4803 2003-10-07  Angus Leeming  <leeming@lyx.org>
4804
4805         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4806
4807 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4808
4809         * aspell.C:
4810         * aspell_local.h: add forgotten std::string's.
4811
4812 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4813
4814         * LaTeXFeatures.C:
4815         * LyXAction.C:
4816         * factory.C:
4817         * lfuns.h:
4818         * lyxfunc.C:
4819         * text3.C: The Box patch. Fancybox support, minipage, parbox
4820
4821 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4822
4823         * CutAndPaste.h:
4824         * DepTable.h:
4825         * FloatList.h:
4826         * LaTeXFeatures.h:
4827         * ParagraphParameters.h:
4828         * TextCache.h:
4829         * Thesaurus.h:
4830         * bufferlist.h:
4831         * exporter.h:
4832         * importer.h:
4833         * lastfiles.h:
4834         * lyxfind.h:
4835         * lyxfont.h:
4836         * lyxlex.h:
4837         * lyxtextclasslist.h:
4838         * messages.h:
4839         * paragraph.h:
4840         * paragraph_pimpl.C:
4841         * textcursor.h: add <string> and other small fixes to make Lars'
4842         std::string patch compile with STLport.
4843
4844 2003-10-06  Angus Leeming  <leeming@lyx.org>
4845
4846         * LColor.h: Add missing #include <string>.
4847
4848 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * All most all file in all subdirs: Make <string> be the prefered
4851         way of getting to std::string, add using declarations.
4852
4853 2003-10-06  André Pönitz  <poenitz@gmx.net>
4854
4855         * metricsinfo.C: initialize LyXFont before changing attribute.
4856         (fixes the 'math in \emph is upright' bug)
4857
4858 2003-10-06  André Pönitz  <poenitz@gmx.net>
4859
4860         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4861
4862 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4863
4864         * graph.C:
4865         * paragraph_pimpl.C: Small fixes to build using STLport
4866
4867 2003-10-02  André Pönitz  <poenitz@gmx.net>
4868
4869         * lyxfunc.C:
4870         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4871
4872 2003-10-01  André Pönitz  <poenitz@gmx.net>
4873
4874         * factory.C: assert early
4875
4876 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4877
4878         * lyx_main.C: remove the global debug object
4879
4880         * debug.h: adjust for new debugstream
4881
4882         * debug.C: adjust for new debugstream and keep the global debug
4883         object here.
4884
4885 2003-09-22  Angus Leeming  <leeming@lyx.org>
4886
4887         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4888         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4889         an incomplete class LyXFont.
4890
4891 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4892
4893         * factory.C: bug fix in branches
4894
4895 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4896
4897         * lyxfunc.C (processKeySym): adjust
4898         (dispatch): adjust
4899         (dispatch): change arg name from ev to func, adjust
4900         (sendDispatchMessage): ditto
4901
4902         * lyx_main.C (defaultKeyBindings): adjust keybindings
4903         (deadKeyBindings): ditto
4904
4905         * kbsequence.C (addkey): return a FuncRequest
4906
4907         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4908
4909         * kbmap.C (bind): take a FuncRequest as arg, adjust
4910         (read): adjust
4911         (lookup): adjust
4912         (defkey): change to take a FuncRequest as arg, adjust
4913         (findbinding): take a FuncRequest as arg, adjust.
4914
4915         * funcrequest.h (operator=): added
4916
4917         * funcrequest.C (FuncRequest): default kb_action changed from
4918         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4919
4920         * buffer.C (dispatch): simplify
4921         (dispatch): adjust to take a FuncRequest as arg, adjust
4922
4923         * boost.C (assertion_failed): change assertion message slightly
4924
4925         * ToolbarBackend.C (read): simplify
4926
4927         * MenuBackend.C (binding): adjust call to findbinding, add a
4928         message if no binding is found.
4929         (read): simplify
4930         (expandToc): correct by adding a empty FuncRequest
4931
4932         * LyXAction.C: include <boost/assert.hpp>
4933         (isPseudoAction): delete function
4934         (LookupFunc): change name to...
4935         (lookupFunc): this. change return type to FuncRequest.
4936         (getActionName): take kb_action as arg, simplify
4937         (funcHasFlag): add an assert, simplify.
4938
4939 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4940
4941         * toc.C (action): return a FuncRequest, simplify
4942
4943         * lyxfunc.C (processKeySym): adjust
4944         (getStatus): delete version that takes an int.
4945         (getStatus): adjust
4946         (dispatch): delete version that takes action as int
4947         (dispatch): adjust
4948         (sendDispatchMessage): simplify and adjust
4949
4950         * funcrequest.C (getArg): take unsigned int as arg
4951
4952         * ToolbarBackend.C (read): adjust
4953         (add): delete version that takes func as a string.
4954         (getIton): take a FuncRequest as arg
4955
4956         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4957         action.
4958
4959         * MenuBackend.C (MenuItem): add a new construct that only takes a
4960         Kind, simplify the constructor use for submenus.
4961         (add): adjust
4962         (expandLastfiles): adjust
4963         (expandDocuments): adjust
4964         (expandFormats): adjust
4965         (expandFloatListInsert): adjust
4966         (expandFloatInsert): adjust
4967         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4968
4969         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4970         Remove class variables lyx_pseudo_map and lyx_arg_map
4971
4972         * LyXAction.C (searchActionArg): delete function
4973         (getPseudoAction): delete function
4974         (retrieveActionArg): delete function
4975         (LookupFunc): make it return kb_action, simplify.
4976         (getActionName): simplify
4977
4978         * factory.C (createInset): fix new bug
4979
4980 2003-09-19  Angus Leeming  <leeming@lyx.org>
4981
4982         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4983         masterFilename_ parameter in the include inset.
4984
4985         * factory.C (createInset): changes due to the changes to InsetInclude.
4986
4987 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4988
4989         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4990
4991 2003-09-18  Angus Leeming  <leeming@lyx.org>
4992
4993         * buffer.C:
4994         * BufferView.C: pass the buffer when calling Inset::getLabelList,
4995         Inset::fillWithBibKeys.
4996         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4997
4998 2003-09-18  Angus Leeming  <leeming@lyx.org>
4999
5000         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5001         variables.
5002         (ctor): pass and store a 'Buffer const &'
5003         (buffer): new member function.
5004
5005         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5006         '*this' to the LaTeXFeatures ctor.
5007
5008 2003-09-18  Angus Leeming  <leeming@lyx.org>
5009
5010         * LColor.h:
5011         * lyxfont.C:
5012         * lyxfont.h:
5013         * lyxtext.h:
5014         * text.C: rename EnumLColor as LColor_color.
5015
5016 2003-09-18  Angus Leeming  <leeming@lyx.org>
5017
5018         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5019         remove #include "insets/insetbase.h" from cursor.h.
5020
5021 2003-09-18  Angus Leeming  <leeming@lyx.org>
5022
5023         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5024         InsetOld_code to remove #include "inset.h".
5025
5026         * iterators.C: add #include "insets/inset.h"
5027
5028 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5029
5030         * BufferView.C: remove more locking stuff that apparently doesn't
5031         do anything sensible.
5032
5033 2003-09-16  André Pönitz  <poenitz@gmx.net>
5034
5035         * paragraph.[Ch]:
5036         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5037           performance boost.
5038
5039 2003-09-16  Angus Leeming  <leeming@lyx.org>
5040
5041         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5042
5043         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5044         arg/return type.
5045
5046         * paragraph.h: remove #include "lyxfont.h". Forward declare
5047         LyXFont_size.
5048
5049 2003-09-16  Angus Leeming  <leeming@lyx.org>
5050
5051         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5052         of support/textutils.h.
5053         (isWord): move the contents of support/textutils.h's IsWordChar here.
5054
5055         * buffer.C:
5056         * lyxfind.C:
5057         * rowpainter.C:
5058         * text.C:
5059         * text2.C: add #include "paragraph.h".
5060
5061         * rowpainter.C:
5062         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5063
5064 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5065
5066         * main.C:
5067         * lyx_main.C:
5068         * lyx_cb.C:
5069         * buffer.C:
5070         * LaTeX.C: use namespace alias for lyx::support::os
5071
5072 2003-09-16  Angus Leeming  <leeming@lyx.org>
5073
5074         * bufferparams.C:
5075         * bufferview_funcs.C:
5076         * factory.C:
5077         * lyxfunc.C:
5078         * paragraph_pimpl.C:
5079         * rowpainter.C:
5080         * text.C: add #include "LColor.h".
5081
5082 2003-09-16  Angus Leeming  <leeming@lyx.org>
5083
5084         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5085         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5086         return LyXFont &.
5087         Store the FontBits::color variable as an int rather than as an
5088         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5089         file.
5090
5091         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5092         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5093         string calls together.
5094
5095         * lyxrc.C: add #include "LColor.h".
5096
5097 2003-09-15  Angus Leeming  <leeming@lyx.org>
5098
5099         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5100         a cow_ptr.
5101
5102 2003-09-15  Angus Leeming  <leeming@lyx.org>
5103
5104         * LColor.h: add an EnumLColor wrapper for LColor::color.
5105
5106         * lyxfont.[Ch] (color, setColor, realColor):
5107         * lyxtext.h, text.C (backgroundColor):
5108         pass EnumLColor args to/from the functions, rather than LColor::color
5109         ones.
5110
5111         * lyxfont.h:
5112         * lyxtext.h: forward declare EnumLColor.
5113
5114         * lyx_main.C: add #include "LColor.h".
5115
5116 2003-09-15  Angus Leeming  <leeming@lyx.org>
5117
5118         * .cvsignore: add lyx-gtk.
5119
5120 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5121
5122         * Chktex.C
5123         * LaTeX.C
5124         * LaTeXFeatures.C
5125         * ParagraphParameters.C
5126         * Spacing.C
5127         * buffer.C
5128         * bufferparams.C
5129         * bufferview_funcs.C
5130         * chset.C
5131         * counters.C
5132         * funcrequest.C
5133         * lyxfont.C
5134         * lyxgluelength.C
5135         * lyxlength.C
5136         * paragraph.C
5137         * paragraph_funcs.C
5138         * text3.C
5139         * vc-backend.C: remove usage of STRCONV
5140
5141 2003-09-15  Angus Leeming  <leeming@lyx.org>
5142
5143         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5144         explicitly define the color passed to the painter.
5145
5146 2003-09-15  Angus Leeming  <leeming@lyx.org>
5147
5148         * bufferparams.C (BufferParams): reorder member initializers to avoid
5149         compiler warning.
5150
5151 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5152
5153         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5154         * text.C (updateRowPositions): remove an unusual nop
5155
5156 2003-09-12  André Pönitz  <poenitz@gmx.net>
5157
5158         * BufferView_pimpl.C:
5159         * Bullet.C:
5160         * layout.h:
5161         * lyxfunc.C:
5162         * lyxlayout.[Ch]:
5163         * lyxtextclass.C:
5164         * rowpainter.C:
5165         * text.C:
5166         * text2.C:
5167         * Counters.[Ch]: finish the 'automatic counters' job
5168
5169 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5170
5171         * aspell.C: include <boost/assert.cpp> (compile fix)
5172
5173 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5174
5175         * boost.C (assertion_failed): use lyx::support::abort instead of
5176         assert.
5177
5178 2003-09-10  Angus Leeming  <leeming@lyx.org>
5179
5180         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5181         with their _fwd progeny.
5182
5183 2003-09-09  Angus Leeming  <leeming@lyx.org>
5184
5185         134 files throughtout the source tree: replace 'using namespace abc;'
5186         directives with the appropriate 'using abc::xyz;' declarations.
5187
5188 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5189
5190         * boost.C (emergencyCleanup): moved here from LAssert.c
5191         (assertion_failed): new function, called by BOOST_ASSERT
5192
5193         * several files: change Assert to BOOST_ASSERT
5194
5195 2003-09-09  Angus Leeming  <leeming@lyx.org>
5196
5197         * buffer.[Ch]: Add an Impl class and move Buffer's member
5198         variables into it. As a result move several header files out of
5199         buffer.h.
5200
5201         Add header files to lots of .C files all over the tree as a result.
5202
5203 2003-09-09  Angus Leeming  <leeming@lyx.org>
5204
5205         * buffer.[Ch]: make Buffer's member variables private. Add
5206         accessor functions.
5207
5208         Lots of changes all over the tree as a result.
5209
5210 2003-09-08  Angus Leeming  <leeming@lyx.org>
5211
5212         * graph.C: #include <config.h>.
5213
5214 2003-09-08  Angus Leeming  <leeming@lyx.org>
5215
5216         * BranchList.C:
5217         * BufferView.C:
5218         * BufferView_pimpl.C:
5219         * CutAndPaste.C:
5220         * DepTable.C:
5221         * LaTeX.C:
5222         * LaTeXFeatures.C:
5223         * LyXAction.C:
5224         * MenuBackend.C:
5225         * TextCache.C:
5226         * aspell.C:
5227         * buffer.C:
5228         * bufferlist.C:
5229         * changes.C:
5230         * chset.C:
5231         * converter.C:
5232         * counters.C:
5233         * debug.C:
5234         * graph.C:
5235         * ispell.C:
5236         * lyx_cb.C:
5237         * lyxfind.C:
5238         * lyxfunc.C:
5239         * lyxlex_pimpl.C:
5240         * lyxrc.C:
5241         * lyxrow.C:
5242         * paragraph.C:
5243         * rowpainter.C:
5244         * texrow.C:
5245         * text.C:
5246         * text2.C:
5247         * toc.C: remove redundant using directives.
5248
5249 2003-09-07  Angus Leeming  <leeming@lyx.org>
5250
5251         * LaTeXFeatures.h: remove #include "support/types.h".
5252         * ToolbarBackend.h: remove #include <algorithm>.
5253         * changes.h: remove #include <ctime>.
5254         * debug.h: remove #include <iosfwd>.
5255         * graph.h: remove #include "support/std_string.h".
5256         * lyx_main.h: remove #include <csignal>.
5257         * lyxlex_pimpl.h: remove #include <fstream>.
5258         * sgml.h: remove #include <algorithm>, <utility>.
5259         * toc.h: remove #include "support/std_ostream.h".
5260         Add #include <iosfwd>.
5261
5262 2003-09-07  Angus Leeming  <leeming@lyx.org>
5263
5264         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5265
5266         * converter.h: forward declare LatexRunParams.
5267         * encoding.h: remove #include "lyxrc.h".
5268         * lyxtext.h: remove #include "LColor.h".
5269         * lyxtextclass.h: remove #include "support/types.h".
5270         * trans.h: remove #include "tex-accent.h".
5271         * trans_mgr.h: remove #include "tex-accent.h".
5272         * insets/inset.h: remove #include "support/types.h", <vector>.
5273         * insets/insetcollapsable.h: remove #include "LColor.h".
5274         * insets/insetinclude.h: remove #include "dimension.h".
5275         * insets/insetlatexaccent.h: remove #include "dimension.h".
5276         * insets/insetoptarg.h:: remove #include "insettext.h".
5277         * insets/insettext.h: remove #include "dimension.h",
5278         <boost/shared_ptr.hpp>
5279
5280         * insets/renderers.h: add #include "dimension.h".
5281         * insets/updatableinset.h: add #include "support/types.h".
5282
5283         * many .C files: Associated changes.
5284
5285 2003-09-06  Angus Leeming  <leeming@lyx.org>
5286
5287         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5288         one, inside testInvariant.
5289
5290         * PrinterParams.C: new file.
5291         * PrinterParams.[Ch]: move the function bodies out of line.
5292
5293 2003-09-06  Angus Leeming  <leeming@lyx.org>
5294
5295         * ParagraphParameters.h: forward declare ParameterStruct rather than
5296         including its header file.
5297         (depth): moved out-of-line.
5298
5299 2003-09-06  Angus Leeming  <leeming@lyx.org>
5300
5301         * BufferView_pimpl.h:
5302         * kbmap.h:
5303         * kbsequence.h:
5304         * lyxfunc.h: forward declare LyXKeySym rather than
5305         #include "frontends/LyXKeySym.h".
5306
5307         * BufferView_pimpl.C:
5308         * kbmap.C:
5309         * kbsequence.C:
5310         * lyxfunc.C: associated changes.
5311
5312 2003-09-06  Angus Leeming  <leeming@lyx.org>
5313
5314         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5315         As a result, can remove the #include "insets/inset.h" from BufferView.h
5316
5317 2003-09-06  Angus Leeming  <leeming@lyx.org>
5318
5319         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5320         As a result, can remove the #include "insets/inset.h" from BufferView.h
5321
5322 2003-09-06  Angus Leeming  <leeming@lyx.org>
5323
5324         * buffer_funcs.C:
5325         * buffer.h:
5326         * bufferlist.C:
5327         * BufferView.C:
5328         * bufferview_funcs.C:
5329         * BufferView_pimpl.C:
5330         * CutAndPaste.C:
5331         * lyx_cb.C:
5332         * lyxfunc.C:
5333         * paragraph.h:
5334         * ParagraphParameters.C:
5335         * tabular.C:
5336         * text3.C:
5337         * toc.C:
5338         * undo_funcs.C:
5339         * frontends/controllers/ControlDocument.C:
5340         * insets/insetcaption.C: rearrange the #includes into some sort of
5341         coherent order.
5342
5343         * buffer.h: remove #includes ErrorList.h, undo.h
5344
5345 2003-09-06  Angus Leeming  <leeming@lyx.org>
5346
5347         * support/types.h: add a 'depth_type' typedef, used to store the
5348         nesting depth of a paragraph.
5349
5350         * paragraph.h:
5351         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5352         defining explicitly.
5353
5354         * buffer.h:
5355         * paragraph_funcs.h:
5356         * ParagraphParameters.h:
5357         * sgml.h: use lyx::depth_type rather than Paragraph or
5358         ParameterStruct's depth_type.
5359
5360         * buffer.h
5361         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5362
5363         * BufferView.C:
5364         * BufferView_pimpl.C:
5365         * CutAndPaste.C:
5366         * ParagraphParameters.C:
5367         * buffer_funcs.C:
5368         * bufferlist.C:
5369         * bufferview_funcs.C:
5370         * lyx_cb.C:
5371         * lyxfunc.C:
5372         * tabular.C:
5373         * text3.C:
5374         * toc.C:
5375         * undo_funcs.C:
5376         * frontends/LyXView.C:
5377         * frontends/controllers/ControlDocument.C:
5378         * frontends/controllers/ControlErrorList.C:
5379         * insets/insetbibitem.C:
5380         * insets/insetbranch.C:
5381         * insets/insetcaption.C:
5382         * insets/insetcollapsable.C:
5383         * insets/insetenv.C:
5384         * insets/insetert.C:
5385         * insets/insetfloat.C:
5386         * insets/insetfoot.C:
5387         * insets/insetfootlike.C:
5388         * insets/insetnewline.C:
5389         * insets/insetquotes.C:
5390         * insets/insettabular.C:
5391         * insets/insettext.C:
5392         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5393
5394         * frontends/controllers/ControlChanges.C: #include "changes.h".
5395
5396 2003-09-06  Angus Leeming  <leeming@lyx.org>
5397
5398         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5399         than #including paragraph.h.
5400
5401         * ParagraphList.h:
5402         * RowList.h: deleted. Superfluous.
5403
5404         * CutAndPaste.h:
5405         * iterators.h:
5406         * lyxcursor.h:
5407         * lyxtext.h:
5408         * text_funcs.h:
5409         * undo.h:
5410         * undo_funcs.h:
5411         * insets/inset.h:
5412         * insets/insettext.h: use ParagraphList_fwd.h rather than
5413         ParagraphList.h.
5414
5415         * paragraph.h: don't forward declare ParagraphList.
5416
5417         * buffer.h:
5418         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5419         rather than ParagraphList.h. paragraph.h is still needed for the
5420         Paragraph::depth_type parameters.
5421
5422         * textcursor.h: enable it to compile stand-alone in light of the
5423         above changes.
5424
5425         * bufferview_funcs.C:
5426         * iterators.C:
5427         * lyxfunc.C:
5428         * lyxrow_funcs.C:
5429         * paragraph.C:
5430         * rowpainter.C:
5431         * text.C:
5432         * text2.C:
5433         * text3.C:
5434         * text_funcs.C:
5435         * textcursor.C:
5436         * undo.C:
5437         * frontends/controllers/ControlParagraph.C:
5438         * frontends/controllers/ControlTabular.C:
5439         * insets/insetmarginal.C:
5440         * insets/insetminipage.C:
5441         * insets/insetnote.C:
5442         * insets/insetoptarg.C: add header files needed to compile again.
5443
5444 2003-09-06  Angus Leeming  <leeming@lyx.org>
5445
5446         * RowList_fwd.h: new file, forward-declaring Row rather than
5447         #including lyxrow.h.
5448
5449         * lyxrow_funcs.h:
5450         * lyxtext.h:
5451         * paragraph.h:
5452         * insets/insettext.h: use it instead of RowList.h
5453
5454         * bufferview_funcs.C:
5455         * lyxfunc.C:
5456         * lyxrow_funcs.C:
5457         * paragraph.C:
5458         * rowpainter.C:
5459         * text.C:
5460         * text2.C:
5461         * text3.C: #include "RowList.h".
5462
5463 2003-09-05  Angus Leeming  <leeming@lyx.org>
5464
5465         * factory.C (createInset):
5466         * vspace.C (c-tor): replace sscanf call with an istringstream.
5467         * ispell.C: re-add missing HP/UX headers.
5468         * lyxserver.C: re-add missing  os2 headers.
5469
5470 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5471
5472         * BranchList.C:
5473         * graph.C:
5474         * ispell.C:
5475         * lastfiles.C:
5476         * lyx_cb.C:
5477         * lyxserver.C:
5478         * texrow.C:
5479         * text3.C: re-add missing system headers, needed for 2.95.2.
5480
5481 2003-09-05  Angus Leeming  <leeming@lyx.org>
5482
5483         Changes most place everywhere due to the removal of using directives
5484         from support/std_sstream.h.
5485
5486 2003-09-05  Angus Leeming  <leeming@lyx.org>
5487
5488         Replace LString.h with support/std_string.h,
5489         Lsstream.h with support/std_sstream.h,
5490         support/LIstream.h with support/std_istream.h,
5491         support/LOstream.h with support/std_ostream.h.
5492
5493         Changes resulting throughout the tree.
5494
5495 2003-09-05  Angus Leeming  <leeming@lyx.org>
5496
5497         * sgml.h: ensure that the header file can be compiled stand-alone.
5498         * *.C: strip out redundant #includes. (320 in total.)
5499
5500 2003-09-04  Angus Leeming  <leeming@lyx.org>
5501
5502         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5503         here (from getPackages).
5504
5505         * debug.[Ch]: add a new EXTERNAL tag.
5506
5507 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5508
5509         * text2.C (cursorEnd): simplify
5510         (setCursor): adjust
5511         (getColumnNearX): adjust
5512
5513         * text.C (computeBidiTables): adjust
5514         (fill): adjust
5515
5516         * rowpainter.C (paintChars): adjust
5517         (paintSelection): adjust
5518         (paintChangeBar): adjust
5519         (paintText): adjust
5520
5521         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5522         lastPos instead.
5523         (numberOfSeparators): adjust
5524
5525 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5526
5527         * LyXAction.C:
5528         * box.[Ch]:
5529         * lfuns.h:
5530         * lyxfunc.C:
5531         * text3.C: Restricts the mouse click functionality
5532         of insets like bibtex, include, toc and floatlist to the visible
5533         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5534         up the dialogs. Cursor has to be in front of the inset (i.e.
5535         start of row) for this to function.
5536
5537 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5538
5539         * bufferview_funcs.C (currentState): output row information
5540
5541 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5542
5543         * bufferview_funcs.C (currentState): output paragraph position
5544
5545 2003-09-04  Angus Leeming  <leeming@lyx.org>
5546
5547         * FloatList.h: move out #include "Floating.h".
5548         * LaTeX.h: move out #include "DepTable.h".
5549         * LyXAction.h: move out #include "funcrequest.h".
5550         * buffer.h: move out #include "author.h", "iterators.h".
5551         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5552         * lyx_main.h: move out #include "errorlist.h".
5553         * lyxfunc.h: move out #include "FuncStatus.h".
5554         * lyxtext: move out #include "lyxcursor.h".
5555         * paragraph_pimpl.h: move out #include "counters.h".
5556
5557 2003-09-03  Angus Leeming  <leeming@lyx.org>
5558
5559         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5560         preamble_snippets list, enabling us to add snippets to the preamble
5561         only if the snippet was not there already.
5562
5563 2003-09-04  Angus Leeming  <leeming@lyx.org>
5564
5565         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5566
5567 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5568
5569         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5570         update
5571
5572 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5573
5574         * BranchList.C: point fix, earlier forgotten
5575
5576 2003-09-02  Angus Leeming  <leeming@lyx.org>
5577
5578         * box.C (contains): renamed from 'contained' after a fantastic
5579         amount of hot air.
5580
5581 2003-09-02  John Levon  <levon@movementarian.org>
5582
5583         * BufferView.C:
5584         * lyxcursor.h:
5585         * lyxcursor.C:
5586         * lyxfunc.C:
5587         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5588
5589 2003-09-02  John Levon  <levon@movementarian.org>
5590
5591         * text2.C: simplification of cursorEnd(), including partial
5592         fix for bug 1376
5593
5594 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5595
5596         * buffer.C (readFile): add a space
5597
5598 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5599
5600         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5601
5602 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5603
5604         * buffer.C (readFile): new function, take a filename and a
5605         ParagraphList::iterator
5606         (readFile): adjust
5607         (readFile): adjust, make it private. don't use setStream, make
5608         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5609         always contain the filename.
5610
5611         * BufferView.C (insertLyXFile): simplify and make it work for
5612         gzipped files.
5613
5614 2003-08-30  John Levon  <levon@movementarian.org>
5615
5616         * Makefile.am: fix dist (from Kayvan)
5617
5618 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5619
5620         * most files: change to use const Buffer refs
5621
5622 2003-08-27  André Pönitz  <poenitz@gmx.net>
5623
5624         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5625         on top of ownerPar().
5626
5627 2003-08-27  John Levon  <levon@movementarian.org>
5628
5629         * funcrequest.C: properly initialise POD members
5630
5631 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5632
5633         * lyxtext.h (top_y): move top_y from here
5634         * text.C:
5635         * text2.C:
5636         * text3.C:
5637         * BufferView.[Ch]:
5638         * BufferView_pimpl.[Ch]: to here
5639         * frontends/screen.C:
5640         * insets/insettabular.C:
5641         * insets/insettext.C: adjust
5642         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5643
5644 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5645
5646         * BufferView.[Ch]:
5647         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5648
5649 2003-08-26  André Pönitz  <poenitz@gmx.net>
5650
5651         * paragraph_func.[Ch] (outerPar): new function
5652
5653         * paragraph.C:
5654         * paragraph_funcs.C:
5655         * paragraph_funcs.h:
5656         * paragraph_pimpl.C:
5657         * text2.C: remove Inset::par_owner
5658
5659 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5660
5661         * lyxrow_funcs.C:
5662         * lyxtext.h:
5663         * text.C:
5664         * text2.C: eliminates the needFullRow/display() stuff
5665         altogether, putting the logic in metrics/draw in the insets.
5666
5667 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5668
5669         * text2.C (redoParagraphInternal, redoParagraphs):
5670         * text.C (redoParagraph): add a call to updateRowPositions at the
5671         end of each 'metrics-like' call. Remove all others.
5672         (getRow): remove the 'y-computing' version.
5673         (getRowNearY): do not compute nor return the real y. Solve the
5674         'y < 0' problem and simplify.
5675
5676 2003-08-22  Angus Leeming  <leeming@lyx.org>
5677
5678         * *.[Ch]: clean-up of licence and author blurbs.
5679         Also move config.h out of a few .h files and into a few .C files.
5680
5681 2003-08-22  André Pönitz  <poenitz@gmx.net>
5682
5683         * lyxrow.[Ch]: add x_ and *fill_ members
5684
5685         * lyxtext.h:
5686         * text.C:
5687         * rowpainter.C:
5688         * text2.C: adjust/remove prepareToPrint() calls
5689
5690 2003-08-22  André Pönitz  <poenitz@gmx.net>
5691
5692         * lyxrow.[Ch]: add  end_ member
5693
5694         * lyxrow_funcs.C: use LyXRow::end_
5695
5696         * lyxtext.h (singleWidth): add LyXFont parameter
5697
5698         * rowpainter.C:
5699         * text2.C: adjust LyXText::singleWidth() calls
5700
5701         * text.C (redoParagraph): simplify row breaking logic
5702
5703
5704 2003-08-19  André Pönitz  <poenitz@gmx.net>
5705
5706         * funcrequest.C: initialize button_ member
5707
5708         * text3.C:
5709         * rowpainter.[Ch]: interface consolidation
5710
5711 2003-08-18  André Pönitz  <poenitz@gmx.net>
5712
5713         * BufferView.C:
5714         * BufferView_pimpl.C:
5715         * lyxfind.C:
5716         * paragraph_funcs.C:
5717         * rowpainter.C:
5718         * text3.C: remove LyXScreen::draw() and fitCursor calls
5719
5720         * BranchList.h: remove spurious semicolons
5721
5722         * MenuBackend.C: fix branchlist related crash
5723
5724 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5725
5726         * BranchList.[Ch]:
5727         * InsetList.[Ch]:
5728         * LColor.[Ch]:
5729         * LyXAction.C:
5730         * Makefile.am:
5731         * MenuBackend.[Ch]:
5732         * bufferparams.[Ch]:
5733         * factory.C:
5734         * lfuns.h:
5735         * lyxfunc.C:
5736         * text3.C: implements the 'branch inset'
5737         idea. This allows the output of various versions of a document
5738         from a single source version, selectively outputing or suppressing
5739         output of parts of the text.
5740         This implementation contains a 'branch list editor' in a separate
5741         tab of the document settings dialog. Branches are user definable
5742         and have a "display colour" to distinguish them on-screen.
5743
5744         ColorHandler was somewhat cleaned up.
5745         (1) make possible a dynamically growing LColor list by allowing
5746         the graphic context cache to grow along (vector);
5747         (2) eliminate an IMHO unnecessary step in colour allocation.
5748
5749 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5750
5751         * BufferView_pimpl.C: compile fix
5752
5753 2003-08-15  André Pönitz  <poenitz@gmx.net>
5754
5755         * rowpainter.C: remove extra metrics calls
5756
5757         * lyxtext.h: merge the two constructors into a single one,
5758           pass reference to owner's par list
5759
5760         * BufferView_pimpl.C:
5761         * text.C:
5762         * text2.C: adjust
5763
5764 2003-08-15  André Pönitz  <poenitz@gmx.net>
5765
5766         * lyxrow_funcs.[Ch]:
5767         * lyxtext.h:
5768         * paragraph.h:
5769         * paragraph_funcs.C:
5770         * rowpainter.C:
5771         * text.C:
5772         * text2.C:
5773         * text3.C:
5774         * text_funcs.C: split LyXText::rowlist_ into individual
5775         Paragraph::rows_ chunks
5776
5777         * BufferView.[Ch]:
5778         * BufferView_pimpl.[Ch]:
5779         * lyxfind.C:
5780         * lyxtext.h:
5781         * text3.C: remove toggleSelection()
5782
5783 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5784
5785         * bufferlist.C: beautify two alerts (shorter text of buttons)
5786         * buffer.C: Remove redundant ' ' from message
5787         * tabular.h:
5788         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5789         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5790         rename VALIGN_CENTER to VALIGN_MIDDLE
5791
5792 2003-08-11  André Pönitz  <poenitz@gmx.net>
5793
5794         * lyxtext.h (getPar):
5795         * text.C: new function
5796
5797 2003-08-11  André Pönitz  <poenitz@gmx.net>
5798
5799         * Makefile.am:
5800         * tracer.[Ch]: remove unneeded files
5801
5802         * InsetList.[Ch]: remove resizeInsetsLyXText()
5803
5804         * lyxtext.h:
5805         * text.C:
5806         * text2.C:
5807         * text3.C: merge insertParagraphs() and appendParagraph()
5808         remove breakAgain(), update()
5809
5810         * BufferView_pimpl.[Ch]:
5811         * bufferview_funcs.[Ch]:
5812         * lyxfunc.C:
5813         * paragraph.[Ch]:
5814         * rowpainter.C:
5815         * tabular.C: adjust after text & InsetList changes.
5816
5817 2003-08-08  André Pönitz  <poenitz@gmx.net>
5818
5819         * text.C (insertChar, backspace): replace rowlist fiddling
5820         with rebreak of full par
5821
5822         * lyxtext.h:
5823         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5824         checkParagraph, updateInset): removed
5825
5826 2003-08-07  André Pönitz  <poenitz@gmx.net>
5827
5828         * paragraph.C:
5829         * text3.C: merge some LFUN handlers, remove dead code
5830
5831 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5832
5833         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5834
5835 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5836
5837         * text2.C (DEPM): fix part of bug 1255 and 1256
5838
5839 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5840
5841         * BufferView_pimpl.C (workAreaDispatch): change to use
5842         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5843         that are no mouse related.
5844
5845 2003-08-05  André Pönitz  <poenitz@gmx.net>
5846
5847         * BufferView.[Ch]:
5848         * BufferView_pimpl.[Ch]:
5849         * bufferview_funcs.C:
5850         * text2.C:
5851         * text3.C: rip out "deep update"
5852
5853         * textcursor.[Ch] (last_sel_cursor): remove unused member
5854
5855 2003-08-04  André Pönitz  <poenitz@gmx.net>
5856
5857         * BufferView.[Ch]:
5858         * BufferView_pimpl.[Ch]:
5859         * ParagraphParameters.C:
5860         * bufferview_funcs.C:
5861         * lyx_cb.C:
5862         * lyxfind.C:
5863         * lyxfunc.C:
5864         * text.C:
5865         * text2.C:
5866         * text3.C: replace "complicated" BufferView::update(...) calls with
5867         simpler ones.
5868
5869         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5870
5871 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5872
5873         * Makefile.am (lyx_SOURCES): add paper.h
5874
5875 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5876
5877         * Makefile.am: move things around so that both lyx-qt and
5878         lyx-xforms can be built (according to --with-frontend). Then lyx
5879         is a symbolic link to lyx-[firstfrontend]
5880
5881 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5882
5883         * Always use std::endl with lyxerr
5884
5885 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5886
5887         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5888
5889 2003-08-01  André Pönitz  <poenitz@gmx.net>
5890
5891         * BufferView.[Ch]:
5892         * BufferView_pimpl.[Ch]:
5893         * lyxfunc.C:
5894         * text3.C: merge BufferView::repaint() and BufferView::update()
5895
5896 2003-08-01  José Matos  <jamatos@lyx.org>
5897
5898         * buffer.[Ch]: file_format is no longer a buffer data element.
5899
5900 2003-08-01  André Pönitz  <poenitz@gmx.net>
5901
5902         * BufferView.C:
5903         * lyxtext.h:
5904         * text.C:
5905         * text2.C: make redoParagraph more independent of current cursor
5906
5907         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5908         * text.C:
5909         * text2.C: remove unneeded members
5910
5911 2003-07-30  André Pönitz  <poenitz@gmx.net>
5912
5913         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5914
5915         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5916           create a single function...
5917
5918         * paragraph_funcs.C (moveItem): ... here.
5919
5920         * text.C:
5921           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5922
5923 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5924
5925         * LColor.[Ch]: Add comment and greyedout logical colors.
5926
5927 2003-07-30  André Pönitz  <poenitz@gmx.net>
5928
5929         * tabular.C: don't use Assert too heavily. This crashes where it
5930           shouldn't
5931
5932 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5933
5934         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5935         is disabled (bug 1232)
5936
5937 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5938
5939         * factory.C: limited 'arg' scope
5940
5941 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5942
5943         * factory.C: fixed Note submenu issues
5944
5945 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5946
5947         * factory.C: submenu for Note/Comment/Greyedout
5948
5949 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5950
5951         * lyx_main.C (LyX):
5952         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5953
5954 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5955
5956         * LaTeXFeatures.C:
5957         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5958         greyedout. Patch provided by Jürgen Spitzmüller.
5959
5960 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5961
5962         * kbmap.C (read): fix error message when reading bind files
5963
5964 2003-07-29  Angus Leeming  <leeming@lyx.org>
5965
5966         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5967         certainly does not do what it purports to do. I am doing it, and
5968         us, a favour by killing it.
5969
5970 2003-07-28  José Matos  <jamatos@lyx.org>
5971
5972         * buffer.C (readBody, do_writeFile):
5973         * paragraph.C(readParagraph): \end_document replaces \the_end.
5974
5975 2003-07-29  André Pönitz  <poenitz@gmx.net>
5976
5977         * BufferView.[Ch]:
5978         * BufferView_pimpl.[Ch]:
5979         * lyxfunc.C:
5980         * text2.C:
5981         * text3.C:
5982         * textcursor.[Ch]: remove toggleToggle & Co
5983
5984 2003-07-28  José Matos  <jamatos@fep.up.pt>
5985
5986         * buffer.C (readParagraph):
5987         * params_func (readParToken, readParagraph):
5988         * paragraph.C (write): \layout -> \begin_layout.
5989
5990 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5991
5992         * lyxlex_pimpl.C (setFile): clean up slightly.
5993
5994         * bufferparams.h: add compressed var
5995
5996         * buffer_funcs.C (readFile): adjust for LyXLex change
5997         (newFile): ditto + simplify
5998
5999         * buffer.C (writeFile): handle writing of compressed files
6000
6001         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6002         Check if the file is compressed and set a bufferparm if so.
6003
6004         * Makefile.am (lyx_LDADD): remove explicit -lz
6005
6006 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6007
6008         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6009         makeDocBookFile): put the real LyX version in the first line of
6010         the file
6011
6012         * version.h:
6013         * version.C.in: remove lyx_docversion
6014
6015         * tabular.C (write_attribute): add a template-based version to
6016         write enums properly
6017
6018 2003-07-28  André Pönitz  <poenitz@gmx.net>
6019
6020         * lyxtext.h:
6021         * text.C:
6022         * text2.C:
6023         * text3.C: use doubles again for x-coordinates. They are needed.
6024
6025 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6026
6027         * messages.C (getLocaleDir): use lyx_localedir()
6028
6029         * lyxlex_pimpl.C (setFile): compress stuff
6030
6031         * buffer.C (writeFile): add some compression stuff
6032         (do_writeFile): new func, dont call expliti close... will this
6033         breake anything?
6034
6035         * Makefile.am (lyx_LDADD): add -lz
6036
6037 2003-07-28  José Matos  <jamatos@fep.up.pt>
6038
6039         * buffer.C: increment file format.
6040         * paragraph_funcs (readParagraph, readParToken):
6041         * paragraph.C (readParagraph): add \end_layout.
6042
6043 2003-07-27  Angus Leeming  <leeming@lyx.org>
6044
6045         * Makefile.am: remove special casing for configure-time setting of
6046         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6047
6048         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6049         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6050
6051 2003-07-26  André Pönitz  <poenitz@gmx.net>
6052
6053         * paragraph_func.[Ch]:
6054         * paragraph.C (realizeFont): inline it whereever it is used
6055
6056         * rowpainter.C:
6057         * text.C:
6058         * text2.C:
6059         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6060
6061
6062 2003-07-26  André Pönitz  <poenitz@gmx.net>
6063
6064         *       lyxtext.h:
6065         * text.C:
6066         * text2.C: get rid of LyXText::need_break_row
6067
6068 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6069
6070         * toc.[Ch]: put namespace toc inside namespace lyx
6071
6072         * MenuBackend.C (expandToc2): adjust for lyx::toc
6073         (expandToc): ditto
6074
6075         * lyxfunc.C (dispatch): adjust for lyx::find
6076
6077         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6078         lyx::find instead. Reorganize a bit.
6079         (LyXReplace): rename to replace
6080         (LyXFind): rename to find
6081
6082         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6083         (dispatch): ditto
6084
6085 2003-07-26  André Pönitz  <poenitz@gmx.net>
6086
6087         * text.C (setHeightOfRow): restrict scope of temporary variable
6088
6089         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6090           code (never has been used?)
6091
6092 2003-07-27  Asger Alstrup  <alstrup@local>
6093
6094         * text.C (fill): Optimise algorithm to exploit that we can reuse
6095         the LyXFont for many characters.
6096         (setHeightOfRow): Same thing.
6097         (rowBreakPoint): Same thing.
6098
6099 2003-07-26  Asger Alstrup  <alstrup@local>
6100
6101         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6102
6103         * text.C (singleWidth): Spurious font copying in hot-spot
6104         singleWidth avoided. Reorder tests for arabic for efficiency.
6105
6106         * text.C (fill): handle empty paragraphs better.
6107
6108 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6109
6110         * ispell.C:
6111         * encoding.h: add includes
6112
6113         * lyxrc.C: remove reading of bind files
6114
6115         * lyx_main.C (init): setup bindings and menus only if we have a
6116         gui.
6117
6118         * kbmap.C (read): new method. Do the actual reading of bind
6119         files.
6120
6121         * converter.C (dvipdfm_options):
6122         * bufferparams.C:
6123         * lyxrc.C (read):
6124         (output): adapt PAPER_* enums.
6125
6126         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6127
6128         * bufferparams.h: remove paper-related enums from there
6129
6130         * paper.h: New file. A trivial header file to hold paper-related
6131         enums. It should later expand to contain many paper-related
6132         horrors access.
6133
6134         * lyxrc.C: declare extern displayTranslator
6135
6136 2003-07-27  José Matos  <jamatos@fep.up.pt>
6137
6138         * tabular.[Ch] (linuxdoc): add support for tables and figures
6139         (linuxdoc).
6140
6141 2003-07-27  José Matos  <jamatos@fep.up.pt>
6142
6143         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6144         consistency in both functions.
6145         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6146
6147 2003-07-26  Asger Alstrup  <alstrup@local>
6148
6149         * rowpainter.C (paintRows): Change algorithm to work directly on
6150         the insets rather than asking every character in the document
6151         whether its an inset.
6152
6153 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6154
6155         * buffer.C (openFileWrite): factorize some code
6156
6157 2003-07-26  Angus Leeming  <leeming@lyx.org>
6158
6159         * lyx_cb.C:
6160         * lyx_main.[Ch]: replace occurances of system_tempdir with
6161         os::getTmpDir().
6162
6163 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6164
6165         * rename Inset to InsetOld
6166
6167 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6168
6169         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6170         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6171         which I think is a bit clearer. EDIT is gone, since it was
6172         premature optimisation, and broken for mathed anyway.
6173         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6174         with cursor positioning in insets as well (math insets still do not
6175         work, but that's a different story anyway.) It mysteriously
6176         crashes sometimes with undo in the first paragraph, but I'm fairly
6177         confident that this is a compiler bug.
6178
6179 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6180
6181         * paragraph.C (Paragraph): adjust for new clone return type
6182         (operator==): ditto
6183         (copyIntoMinibuffer): ditto
6184
6185 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6186
6187         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6188         by not having a special case, and always doing a full rebreak of
6189         the document after undo.
6190
6191 2003-07-23  Angus Leeming  <leeming@lyx.org>
6192
6193         * factory.C (createInset): InsetExternal::setParams now takes a
6194         Buffer const * arg.
6195
6196 2003-07-23  Angus Leeming  <leeming@lyx.org>
6197
6198         * factory.C (createInset): changed interface to the external and
6199         graphics mailers' string2params functions.
6200
6201 2003-07-23  Angus Leeming  <leeming@lyx.org>
6202
6203         * factory.C (createInset): pass a
6204         Buffer const * parameter to InsetExternalMailer's string2params.
6205
6206 2003-07-22  John Levon  <levon@movementarian.org>
6207
6208         * Thesaurus.h: include the right aiksaurus header
6209
6210 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6211
6212         * MenuBackend.C (expand): check menu shortcuts unconditionally
6213
6214 2003-07-21  Angus Leeming  <leeming@lyx.org>
6215
6216         * factory.C (createInset): pass a
6217         buffer_path parameter to InsetGraphicsMailer's string2params.
6218
6219 2003-07-21  Angus Leeming  <leeming@lyx.org>
6220
6221         * BufferView_pimpl.C (buffer):
6222         * buffer.C (d-tor):
6223         * lyx_main.C (LyX):
6224         * lyxfunc.C (dispatch):
6225         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6226         rather than the grfx shortcut.
6227
6228 2003-07-21  André Pönitz  <poenitz@gmx.net>
6229
6230         * rowpainter.C: remove unused variables
6231
6232         * tabular_funcs.C:
6233         * tabular_funcs.h: move to tabular.C
6234         * Makefile.am: adjust
6235
6236         * tabular.[Ch]: basic optical cleaning
6237
6238         * author.h: pass references, not values
6239
6240 2003-07-18  André Pönitz  <poenitz@gmx.net>
6241
6242         * lyxtext.h:
6243         * metricsinfo.C:
6244         * metricsinfo.h:
6245         * rowpainter.C:
6246         * text.C:
6247         * text2.C:
6248         * text3.C: two-phase drawing for InsetText and InsetTabular
6249         some float -> int changes.
6250
6251 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6252
6253         * lyx_main.C: fix the fix
6254
6255 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6256
6257         * lyx_main.C: fix a crash in batch mode if no files specified
6258         * converter.C: ws
6259
6260 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6261
6262         * format.[Ch] (papersize): moved to BufferParams
6263         * converter.[Ch] (dvips_options): moved to BufferParams
6264         (dvipdfm_options): moved to anon namespace
6265         * bufferparams.[Ch]: added above functions.
6266
6267 2003-07-17  André Pönitz  <poenitz@gmx.net>
6268
6269         * lyxtext.h:
6270         * rowpainter.C:
6271         * text2.C: don't call inset->update() anymore
6272
6273         * metricsinfo.[Ch]: add convenience constructor
6274
6275 2003-07-16  André Pönitz  <poenitz@gmx.net>
6276
6277         * lyxcursor.[Ch]:
6278         * lyxfunc.[Ch]:
6279         * text.C:
6280         * text2.C: replace the LyXCursor::irow_ member with
6281          on-demand computation of the value
6282
6283 2003-07-16  John Levon  <levon@movementarian.org>
6284
6285         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6286
6287 2003-07-15  André Pönitz  <poenitz@gmx.net>
6288
6289         * text.C:
6290         * text2.C: remove no more needed refresh_row
6291
6292 2003-07-15  André Pönitz  <poenitz@gmx.net>
6293
6294         * lyxtext.h:
6295         * rowpainter.C:
6296         * text2.C:
6297         * text3.C: refresh_status tristate -> need_update bool
6298
6299 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6300
6301         * lyxtext.h (init): remove reinit argument (act as if always true)
6302         * text2.C: adjust to that
6303
6304 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6305
6306         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6307         * text3.C: use it to delete selections in some cases
6308         (bugs 441, 673, 702, 954).
6309
6310 2003-07-14  André Pönitz  <poenitz@gmx.net>
6311
6312         * rowpainter.[Ch]: reduce interface
6313
6314 2003-07-14  André Pönitz  <poenitz@gmx.net>
6315
6316         * BufferView_pimpl.C:
6317         * text2.C: adjust after removing unused BufferView * argument
6318
6319 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6320
6321         * text2.C (init): fix a crash fired on resize
6322
6323 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6324
6325         * buffer.[Ch]: added new closing signal
6326         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6327         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6328         BufferView::Pimpl via the closing the signal
6329
6330 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6331
6332         * buffer.[Ch]: take out all bv-related from buffer
6333         * BufferView.C:
6334         * BufferView_pimpl.[Ch]: connect to new signals
6335         * CutAndPaste.C: removed useless asserts
6336         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6337         * lyxvc.[Ch]:
6338         * vc-backend.[Ch]:
6339         * lyxfunc.C: moved view-related funciontality from vc here
6340         * paragraph.C: removed outdated comments
6341         * text.C: ws
6342
6343 2003-07-10  André Pönitz  <poenitz@gmx.net>
6344
6345         * BufferView_pimpl.C:
6346         * tabular.h:
6347         * tabular_funcs.C:
6348         * text.C:
6349         * text2.C: remove InsetText::InnerCache, clean up consequences
6350
6351 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6352
6353         * ispell.C: fix two typos in error messages
6354
6355 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6356
6357         * Extend Note inset to other forms of annotation like Comment
6358         and Greyedout. Right button click gives dialog.
6359
6360         Files modified or added (+):
6361
6362         * insetnote.[Ch]
6363         * FormNote.[Ch]      +
6364         * ControlNote.[Ch]   +
6365         * form_note.fd       +
6366         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6367         frontends/controllers
6368         * xforms/Dialogs.C
6369         * factory.C
6370
6371 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6372
6373         * aspell.C: add missing namespace lyx::support
6374
6375 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6376
6377         * BufferView.[Ch] (newFile): Add
6378         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6379         * LaTeX.[Ch] (message): added this signal and use it
6380         * buffer.[Ch] (busy, message): added these signals and use them
6381         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6382         * converter.C:
6383         * exporter.C:
6384         * format.C:
6385         * importer.C: use buffer signals instead of direct bv calling
6386         * lyx_cb.[Ch] (ShowMessage): removed
6387         * lyx_main.C:
6388         * lyxfunc.C:
6389         * paragraph_funcs.C:
6390         * text2.C: use buffer signals
6391
6392 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6393
6394         * introduce namespace lyx::graphics
6395
6396 2003-07-02  André Pönitz  <poenitz@gmx.net>
6397
6398         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6399
6400 2003-07-01  André Pönitz  <poenitz@gmx.net>
6401
6402         * text.C:
6403         * text2.C:
6404         * text3.C:
6405         * text_funcs.[Ch]:
6406         * textcursor.h:
6407         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6408           text*.C to text_func.C
6409
6410 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6411
6412         * introduce namespace lyx::support
6413
6414 2003-06-30  André Pönitz  <poenitz@gmx.net>
6415
6416         * Chktex.C:
6417         * funcrequest.C:
6418         * lyxtext.h:
6419         * text.C: re-enable --with-included-string
6420
6421 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6422
6423         * textcursor.C: add <config.h>
6424
6425         * text.C (getWord): remove const from word_location arg
6426
6427         * lyxvc.C (getLogFile): fix const type order
6428
6429         * lyxtext.h: remove const from word_location arg, add arg name
6430
6431         * lyxlayout.h: currect type on labeltype.
6432
6433         * importer.C: correct \file
6434
6435         * converter.C (intToFormat): use std:: on ret val, ws changes
6436
6437         * bufferlist.h: correct \file
6438
6439         * buffer.C (makeLinuxDocFile): fix const type order
6440         (makeDocBookFile): ditto
6441         (fillWithBibKeys): use std:: on stdlib args.
6442
6443         * CutAndPaste.C: fix authors.
6444         (availableSelections): use std:: on return vector
6445
6446 2003-06-27  André Pönitz  <poenitz@gmx.net>
6447
6448         * BufferView_pimpl.C:
6449         * bufferview_funcs.C:
6450         * lyxcursor.C:
6451         * lyxcursor.h:
6452         * lyxfunc.C:
6453         * lyxtext.h:
6454         * rowpainter.C:
6455         * text.C:
6456         * text2.C:
6457         * text3.C: remove LyXCursor::row_ member
6458
6459         * lyxtext.h:
6460         * text.C: rename fullRebreak() to partialRebreak() and implement
6461           a fullRebreak() that really bereks fully
6462
6463         * textcursor.h: new struct for cursor-related data
6464
6465 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6466
6467         * lyx_main.C (LyX): get full path of document loaded on the
6468         command line
6469
6470 2003-06-26  André Pönitz  <poenitz@gmx.net>
6471
6472         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6473           remove unused/broken operator>,<,>=.
6474
6475         *       text.C: remove only use of broken operator<= in an Assert().
6476
6477 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6478
6479         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6480         moved errorlist_.clear to showErrorList
6481
6482 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6483
6484         * converter.C (scanLog, runLaTeX):
6485         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6486         move the bv->showErrorList call to the callers
6487         * lyxfunc.C: i.e. here...
6488         * text2.C: and here
6489         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6490         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6491         namespace, the second to...
6492         * buffer_funcs (BufferFormat, parseErrors): added
6493         * errorlist.C (ErrorList(TeXErrors const &)): removed
6494
6495 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6496
6497         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6498
6499 2003-06-24  "Garst R. Reese" <reese@isn.net>
6500
6501         * debug.C: fix typo
6502
6503 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6504
6505         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6506
6507         * version.C.in: change docversion to 1.4
6508
6509 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6510
6511         * buffer.C: fix a bug just introduced
6512
6513 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6514
6515         * buffer.[Ch]: added the parseError signal and use it, removed
6516         sgmlError
6517         * BufferView.[Ch] (addError): moved to ...
6518         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6519         to the Buffer::parseError signal to catch (guess what) parse errors
6520         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6521
6522 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6523
6524         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6525         ability to create a buffer and to return an existing one from
6526         the list. Moved these functions to...
6527         * buffer_funcs.[Ch]: added
6528         * BufferView.[Ch] (loadLyXFile): added
6529         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6530         job removed from bufferlist::loadLyXFile.
6531         * buffer.C (setReadOnly): make it work without view
6532         (i.e added an if (users))
6533
6534 2003-06-19  Angus Leeming  <leeming@lyx.org>
6535
6536         * lfuns.h:
6537         * LyXAction.C (init):
6538         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6539         with LFUN_DIALOG_SHOW <name> <data>.
6540
6541 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6542
6543         * CutAndPaste.C (availableSelections): small compilation fix for
6544         ancient (gcc 2.9x) compilers
6545
6546 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6547
6548         * text3.C (cursorNext): add tmp var
6549
6550         * text2.C (updateCounters): for function calling out of for clause
6551         (replaceSelectionWithString): ditto
6552         (insertStringAsParagraphs): ditto
6553         (getColumnNearX): add tmp var
6554         (setCursorFromCoordinates): add tmp var
6555         (cursorDownParagraph): add tmp var
6556         (deleteEmptyParagraphMechanism): add tmp var
6557
6558         * text.C (insertChar): add tmp var
6559
6560         * rowpainter.C (paintDepthBar): add tmp var
6561
6562         * CutAndPaste.C (availableSelections): potentially check all
6563         paragraphs in a cut to fill the shown strings.
6564
6565 2003-06-18  André Pönitz  <poenitz@gmx.net>
6566
6567         * kbmap.[Ch]: use vector<> instead of list<>
6568
6569 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6570
6571         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6572         pasteSelection with index
6573
6574         * text2.C (pasteSelection): modify, call pasteSelection with index
6575
6576         * paragraph.C (asString): reimplement version with no interval to
6577         call the one with interval.
6578
6579         * lyxtext.h: add index arg to pasteSelection
6580
6581         * MenuBackend.C (MenuItem): handle PasteRecent
6582         (Menu::read::Menutags): add md_pasterecent
6583         (read): handle it
6584         (expandPasteRecent): new function
6585         (expand): use it
6586
6587         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6588
6589         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6590         the limited stack
6591         (availableSelections): new function
6592
6593 2003-06-17  Angus Leeming  <leeming@lyx.org>
6594
6595         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6596
6597 2003-06-17  Angus Leeming  <leeming@lyx.org>
6598
6599         * lfuns.h:
6600         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6601
6602         * lyxfunc.C (dispatch): invoke it.
6603
6604 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6605
6606         * iterators.C (operator++, ParPosition): reintroduce some
6607         const_cast for the benefit of older compilers.
6608
6609 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6610
6611         * text3.C (dispatch): do not modify clipboard when doing
6612         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6613         LFUN_DELETE_SKIP on a selection selection
6614
6615 2003-06-16  André Pönitz  <poenitz@gmx.net>
6616
6617         * BufferView.C:
6618         * buffer.C:
6619         * buffer.h:
6620         * paragraph.C:
6621         * tabular.[Ch]: IU of clone() and getLabelList();
6622
6623 2003-06-13  André Pönitz  <poenitz@gmx.net>
6624
6625         * tabular.h: compactification
6626
6627 2003-06-12  André Pönitz  <poenitz@gmx.net>
6628
6629         * tabular.C:
6630         * tabular.h:
6631         * tabular_funcs.h: some renaming plus whitespace
6632
6633 2003-06-12  André Pönitz  <poenitz@gmx.net>
6634
6635         * BufferView.C:
6636         * BufferView_pimpl.C:
6637         * CutAndPaste.C:
6638         * buffer.C:
6639         * iterators.[Ch]:
6640         * lyxfunc.C:
6641         * text.C:
6642         * toc.C: Return a Paragraph & for ParIterator::operator*()
6643
6644 2003-06-11  John Levon  <levon@movementarian.org>
6645
6646         * lyx_main.C:
6647         * ToolbarBackend.h:
6648         * ToolbarBackend.C: add "Toolbars" section and
6649         put the flags there
6650
6651 2003-06-10  Angus Leeming  <leeming@lyx.org>
6652
6653         * lfuns.h:
6654         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6655
6656         * lyxfunc.C (dispatch): invoke it.
6657
6658 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6659
6660         * main.C: protect <ios> with HAVE_IOS
6661         (main): protect sync_with_stdio with HAVE_IOS
6662
6663 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6664
6665         * text2.C (cutSelection): adjust
6666         (pasteSelection): adjust
6667
6668         * messages.C: handle get of empty string
6669
6670         * main.C (main): use sync_with_stdio(false)
6671
6672         * lyxfunc.C (dispatch): adjust
6673
6674         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6675         (WriteAs): remove unneeded BufferView arg.
6676
6677         * bufferparams.h: use correct types on papersize, papersize2 and
6678         paperpackage.
6679
6680         * bufferparams.C (readToken): adjust for type
6681         (writeLaTeX): add missing cases to switch.
6682
6683         * bufferlist.C (quitWriteBuffer): adjust
6684         (close): adjust
6685
6686         * buffer.C (asciiParagraph): remove some commented code.
6687
6688         * CutAndPaste.C: remove current_view extern variable.
6689         (cutSelection): add BufferParams arg.
6690         (eraseSelection): add BufferParams arg.
6691         (pasteSelection): add Buffer const & arg
6692
6693 2003-06-07  John Levon  <levon@movementarian.org>
6694
6695         * buffer.C:
6696         * paragraph_funcs.C:
6697         * paragraph_pimpl.C:
6698         * text.C:
6699         * text2.C:
6700         * paragraph.h:
6701         * paragraph.C: allow InsetERT to freely space lines,
6702         and some consolidation of code
6703
6704 2003-06-06  José Matos  <jamatos@fep.up.pt>
6705
6706         * buffer.C (makeDocBookFile): fix bug #821
6707
6708 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6709
6710         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6711
6712 2003-06-04  Angus Leeming  <leeming@lyx.org>
6713
6714         * buffer.C: bump format to 224.
6715
6716 2003-06-05  André Pönitz  <poenitz@gmx.net>
6717
6718         * text2.C (redoParagraphs): remove two const_cast<>
6719
6720 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6721
6722         * ParagraphList.h: remove last remnants of NO_STD_LIST
6723
6724 2003-06-03  Angus Leeming  <leeming@lyx.org>
6725
6726         * factory.C (createInset): small change to the way InsetExternal's params
6727         are set.
6728
6729 2003-06-04  André Pönitz  <poenitz@gmx.net>
6730
6731         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6732
6733         * paragraph_pimpl.h:
6734         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6735
6736         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6737
6738         * undo_funcs.C: make some simple cases of undo work again
6739
6740 2003-06-03  John Levon  <levon@movementarian.org>
6741
6742         * ispell.C: HPUX doesn't have sys/select.h
6743         (from Albert Chin)
6744
6745 2003-06-03  John Levon  <levon@movementarian.org>
6746
6747         * CutAndPaste.C: update tabular and include inset
6748         buffer references
6749
6750         * buffer.h:
6751         * paragraph.h:
6752         * paragraph.C: remove owningBuffer(), don't pass Buffer
6753         to clone()
6754
6755         * factory.C: insetGraphicsParams changed
6756
6757 2003-06-02  John Levon  <levon@movementarian.org>
6758
6759         * LyXAction.C:
6760         * factory.C:
6761         * lfuns.h:
6762         * lyxfunc.C:
6763         * text3.C: remove insetparent
6764
6765 2003-06-02  John Levon  <levon@movementarian.org>
6766
6767         * buffer.h:
6768         * buffer.C: fix inset_iterator.end(), move out of line
6769         (bug 1149)
6770
6771 2003-06-01  John Levon  <levon@movementarian.org>
6772
6773         * text3.C: use a proper cut/paste when doing inset
6774         insert (from Jürgen Spitzmüller)
6775
6776 2003-06-01  John Levon  <levon@movementarian.org>
6777
6778         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6779
6780 2003-05-30  André Pönitz  <poenitz@gmx.net>
6781
6782         * rowpainter.C: unify second drawing phase
6783
6784 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6785
6786         * trans_mgr.C: remove one case of current_view
6787
6788         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6789
6790         * paragraph_funcs.h: remove paragraph.h include
6791
6792         * paragraph.h: delete NO_STD_LIST stuff
6793
6794         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6795
6796         * buffer.h: remove paragraph.h include
6797
6798         * ParagraphList.C: delete file
6799
6800         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6801
6802         * toc.C (getTocList): adjust
6803
6804         * paragraph_pimpl.C (validate): adjust
6805
6806         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6807
6808         * paragraph.C (Paragraph): adjust
6809         (getPositionOfInset): use const_iterator, adjust
6810         (bibitem): use const_iterator, adjust
6811         (setInsetOwner): adjust
6812
6813         * iterators.C (operator++): adjust
6814
6815         * InsetList.[Ch]: Replace selfmade iterator with standard
6816         vector::iterator also introduce const_iterator. Remove getPos,
6817         getInset and setInset from InsetTable. Adjust accordingly.
6818
6819         * BufferView.C (lockInset): adjust
6820         (ChangeInsets): adjust
6821
6822         * tabular.[Ch]: delete commented same_id functions
6823
6824 2003-05-28  John Levon  <levon@movementarian.org>
6825
6826         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6827
6828 2003-05-28  André Pönitz  <poenitz@gmx.net>
6829
6830         * metricsinfo.[Ch]: remove 'fullredraw' member
6831
6832 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6833
6834         * lyxtextclass.C (operator): remove caching.
6835
6836 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6837
6838         * text3.C: adjust
6839
6840         * text2.C (cursorBottom): adjust
6841         (setCounter): use ParagraphList::find, adjust
6842
6843         * text.C (workWidth): use ParagraphList::find, adjust
6844
6845         * lyxcursor.C (LyXCursor): adjust
6846
6847         * buffer.C (inset_iterator): adjust
6848
6849         * ParagraphList.h: make iterator(value_type) private, make
6850         ParagraphList a friend of iterator.
6851
6852         * ParagraphList.C (find): new function
6853
6854         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6855
6856 2003-05-27  André Pönitz  <poenitz@gmx.net>
6857
6858         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6859
6860 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6861
6862         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6863
6864 2003-05-26  John Levon  <levon@movementarian.org>
6865
6866         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6867
6868 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6869
6870         * remove same_id from function signatures, adjust.
6871
6872 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6873
6874         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6875
6876         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6877
6878         * paragraph.C (Paragraph): get rid of same_ids parameter
6879
6880         * ParagraphList.C (insert): adjust
6881         (push_back): adjust
6882
6883 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6884
6885         * paragraph_funcs.C (breakParagraph): adjust
6886         (breakParagraphConservative): adjust
6887
6888         * buffer.C (readParagraph): adjust
6889
6890         * ParagraphList.C (insert): take a reference instead of a pointer
6891         (insert): adjust
6892
6893         * paragraph.[Ch] (id): new function
6894
6895         * bufferlist.C (newFile): adjust
6896
6897         * ParagraphList.C (ParagraphList): adjust
6898         (assign): adjust
6899         (push_back): take a reference instead of a pointer.
6900
6901         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6902
6903         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6904         instead.
6905
6906         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6907         set else use old code.
6908
6909         * ParagraphList.C: remove all NO_NEXT code and only compile this
6910         code of NO_STD_LIST is set.
6911
6912 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6913
6914         * BufferView_pimpl.C:
6915         * TextCache.C:
6916         * TextCache.h:
6917         * bufferlist.C:
6918         * errorlist.h:
6919         * format.C:
6920         * format.h:
6921         * graph.C:
6922         * lyxfunc.C:
6923         * lyxrc.C:
6924         * graphics/GraphicsConverter.C:
6925         * graphics/PreviewLoader.C: header adjustment
6926
6927 2003-05-23  Angus Leeming  <leeming@lyx.org>
6928
6929         * LaTeXFeatures.[Ch] (useBabel): new method.
6930         * bufferparams.C (writeLaTeX): use it.
6931
6932 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6933
6934         * ParagraphList.h (set): remove unused function.
6935
6936 2003-05-23  André Pönitz  <poenitz@gmx.net>
6937
6938         * BufferView.C:
6939         * BufferView_pimpl.C:
6940         * buffer.C:
6941         * buffer.h:
6942         * lyxfunc.C:
6943         * undo_funcs.C: setUndo reworked
6944
6945         * iterators.[Ch]: add access to topmost ParagraphList
6946
6947         * lyxtext.[Ch] (workWidth): add a const
6948
6949 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6950
6951         * texrow.[Ch] (increasePos): remove function
6952         * exporter.C (export): removed unused var and outdated comment
6953
6954 2003-05-23  Angus Leeming  <leeming@lyx.org>
6955
6956         * latexrunparams.h: rename fragile as moving_arg.
6957         * paragraph.C (simpleTeXOnePar): ditto.
6958         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6959
6960 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6961
6962         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6963         (createUndo): ditto
6964         (textUndoOrRedo): comment out a currently unused var.
6965
6966         * paragraph.h (NO_NEXT): enable NO_NEXT
6967
6968         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6969
6970         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6971
6972         * exporter.C (Export): adjust for removeAutoInsets removal.
6973
6974         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6975
6976         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6977
6978         * BufferView.[Ch] (removeAutoInsets): delete function
6979
6980 2003-05-22  Angus Leeming  <leeming@lyx.org>
6981
6982         * latexrunparams.h: add a free_spacing variable.
6983
6984         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6985         to pass moving_arg, as the data is stored in runparams.fragile.
6986
6987         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6988         to Inset::latexOptional or to simpleTeXOnePar.
6989
6990         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6991         free_spacing arg to Inset::latexOptional.
6992
6993         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6994         free_spacing arg.
6995
6996 2003-05-22  Angus Leeming  <leeming@lyx.org>
6997
6998         * latexrunparams.h: add fragile and use_babel variables.
6999
7000         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7001         * buffer.C (makeLaTeXFile): store this returned value in
7002         runparams.use_babel, thus passing it to the inset::latex methods.
7003
7004         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7005         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7006
7007         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7008         longer has a fragile arg, as it is stored in runparams.fragile.
7009
7010         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7011         moving_arg parameter as the data is stored in runparams.fragile.
7012
7013         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7014         a fragile parameter as the data is stored in runparams.fragile.
7015
7016 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7017
7018         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7019
7020 2003-05-22  Angus Leeming  <leeming@lyx.org>
7021
7022         * latexrunparams.h: add a 'bool nice' which defaults to false.
7023
7024         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7025         now encapsulated within runparams.
7026
7027         * bufferlist.C (updateIncludedTeXfiles):
7028         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7029
7030 2003-05-22  Angus Leeming  <leeming@lyx.org>
7031
7032         * latexrunparams.h: new file containing struct LatexRunParams.
7033         * Makefile.am: add new file.
7034
7035         * LaTeX.[Ch] (c-tor, run):
7036         * buffer.[Ch] (makeLaTeXFile):
7037         * bufferlist.[Ch] (updateIncludedTeXfiles):
7038         * converter.C (convert, scanLog):
7039         * converter.[Ch] (runLaTeX):
7040         * exporter.C (Export):
7041         * paragraph.[Ch] (simpleTeXOnePar):
7042         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7043         * paragraph_funcs.[Ch] (latexParagraphs):
7044         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7045         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7046         pass around a LatexRunParams parameter.
7047
7048 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7049
7050         * paragraph.[Ch]: remove unused constructor
7051
7052         * ParagraphList.C (erase): new function, taking two iterators
7053
7054 2003-05-22  André Pönitz  <poenitz@gmx.net>
7055
7056         * undo_funcs.C: remove duplicated code
7057
7058         * iterator.[Ch]: operator=
7059
7060 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7061
7062         * tabular.C (SetMultiColumn): ws changes
7063
7064         * rowpainter.C (paintFirst): get rid of a ->previous
7065
7066         * lyx_cb.C (getPossibleLabel): parlist simplification
7067
7068         * BufferView.C (ChangeInsets): simplify slightly.
7069
7070 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7071
7072         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7073         * lfuns.h: new LFUN_SPACE
7074         * lyxfunc.C: protected space has a new lfun
7075         * paragraph_funcs.C: read new space insets
7076         * text3.C:
7077         * factory.C: handle new space insets
7078
7079 2003-05-22  André Pönitz  <poenitz@gmx.net>
7080
7081         * BufferView.C:
7082         * BufferView_pimpl.C:
7083         * buffer.[Ch]:
7084         * lyxfunc.C:
7085         * undo_funcs.C: return a ParIterator from getParFromID.
7086
7087         * iterators.[Ch]: add two const's
7088
7089 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7090
7091         * toc.C (getTocList): adjust
7092
7093         * iterators.[Ch]: rework for parlist
7094
7095         * buffer.C (par_iterator_begin): adjust
7096         (par_iterator_end): adjust
7097
7098         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7099
7100         * BufferView.C (removeAutoInsets): adjust
7101         (ChangeInsets): adjust
7102
7103 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7104
7105         * text.C (top_y): fix bug 1110
7106
7107 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7108
7109         * errorlist.[Ch]: added
7110         * buffer.C:
7111         * BufferView.[Ch]:
7112         * BufferView_pimpl.C:
7113         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7114         instead
7115
7116 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7117
7118         * Makefile.am: ensure that lyx is relinked upon changes to the
7119         various "convenience" libs.
7120
7121 2003-05-20  Angus Leeming  <leeming@lyx.org>
7122
7123         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7124         files are compiled in alphabetical order again.
7125
7126         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7127
7128 2003-05-19  Angus Leeming  <leeming@lyx.org>
7129
7130         * gettext.[Ch]: remove "char const * _(char const *)".
7131
7132 2003-05-19  André Pönitz  <poenitz@gmx.net>
7133
7134         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7135
7136         * Makefile.am:
7137         * BufferView.C:
7138         * DepTable.h:
7139         * LaTeXFeatures.C:
7140         * buffer.C:
7141         * lyxfont.C:
7142         * lyxlex.h:
7143         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7144
7145 2003-05-19  André Pönitz  <poenitz@gmx.net>
7146
7147         * buffer.C:
7148         * lyxlayout.[Ch]:
7149         * lyxtextclass.[Ch]:
7150         * paragraph.C:
7151         * paragraph_funcs.[Ch]:
7152         * text2.C:
7153         * text3.C: more insetenv work
7154
7155 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7156
7157         * ParagraphParameters.C (params2string): small bug fixed
7158
7159 2003-05-16  André Pönitz  <poenitz@gmx.net>
7160
7161         * debug.C:
7162         * bufferview_funcs.C: patch from Kornel Benko to prevent
7163           crash when _(...) is called twice in a statement
7164
7165 2003-05-16  André Pönitz  <poenitz@gmx.net>
7166
7167         * BufferView.C:
7168         * lyxfunc.C:
7169         * text.C:
7170         * text2.C:
7171         * text3.C:
7172         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7173
7174 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7175
7176         * lyx_main.C (init): remove spurious static_cast
7177
7178 2003-05-14  André Pönitz  <poenitz@gmx.net>
7179
7180         * BufferView.C: fix format string
7181
7182 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7183
7184         * BufferView.[Ch] (insertErrors): removed
7185         * BufferView.[Ch] (showErrorList): added
7186         * buffer.C (runChkTeX):
7187         * converter.C (scanLog): call showErrorList instead of inserterrors
7188
7189 2003-05-13  André Pönitz  <poenitz@gmx.net>
7190
7191         * BufferView_pimpl.C:
7192         * buffer.C:
7193         * bufferview_func.C:
7194         * MenuBackend.C:
7195         * lyxfunc.C:
7196         * lyxrc.C:
7197         * tex-accent.C:
7198         * text3.C:
7199         * toc.C:
7200         * tabular_funcs.h: tostr() from its own header
7201
7202         * ParagraphParameters.C:
7203         * ToolbarBackend.C:
7204         * bufferparams.C:
7205         * format.C:
7206         * lyxlex_pimpl.C:
7207         * text3.C: STRCONV()
7208
7209 2003-05-12  André Pönitz  <poenitz@gmx.net>
7210
7211         * BufferView.C:
7212         * BufferView_pimpl.C:
7213         * CutAndPaste.C:
7214         * LaTeX.C:
7215         * LaTeXFeatures.C:
7216         * ParagraphParameters.C:
7217         * buffer.C:
7218         * bufferlist.C:
7219         * bufferparams.C:
7220         * bufferview_funcs.C:
7221         * converter.C:
7222         * counters.C:
7223         * debug.C:
7224         * exporter.C:
7225         * format.C:
7226         * importer.C:
7227         * lyx_cb.C:
7228         * lyx_main.C:
7229         * lyxfont.C:
7230         * lyxfunc.C:
7231         * lyxvc.C:
7232         * paragraph.C:
7233         * paragraph_funcs.C:
7234         * tabular.C:
7235         * tabular_funcs.C:
7236         * text2.C:
7237         * text3.C:  boost::format -> bformat  all over the place
7238
7239
7240 2003-05-09  André Pönitz  <poenitz@gmx.net>
7241
7242         * LColor.[Ch]: Pimpl the #include <map> away
7243
7244 2003-05-09  John Levon  <levon@movementarian.org>
7245
7246         * bufferlist.C: never remove emergency saves
7247
7248 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7249
7250         * Makefile.am: better lib building
7251
7252 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7253
7254         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7255         instead.
7256         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7257         (simpleTeXSpecialChars): adjust
7258         (simpleTeXSpecialChars): adjust
7259         * paragraph.C (simpleTeXOnePar): adjust
7260         * buffer.C (makeLaTeXFile): adjust
7261
7262         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7263
7264         * text2.C (changeDepth): parlist cleanup
7265         (getColumnNearX): ditto
7266
7267         * rowpainter.C (getLabelFont): parlist cleanup
7268
7269         * bufferlist.C (newFile): parlist cleanup
7270
7271         * CutAndPaste.C (eraseSelection): parlist cleanup
7272
7273         * BufferView_pimpl.C (trackChanges): parlist cleanup
7274         (dispatch): ditto
7275
7276         * BufferView.C (lockInset): parlist cleanup.
7277         (ChangeInsets): ditto
7278
7279 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7280
7281         * CutAndPaste.h: Update file header.
7282
7283         * CutAndPaste.C: Update file header.
7284         Store the parts cut out of the Document in a limited_stack.
7285         (copySelection): adjust
7286         (pasteSelection): new function, takes the index in the limited stack.
7287         (nrOfParagraphs): adjust
7288         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7289         simplify error inset insertion.
7290         (checkPastePossible): adjust
7291
7292 2003-05-06  John Levon  <levon@movementarian.org>
7293
7294         * text2.C: don't cast wrap inset to float
7295
7296 2003-05-05  André Pönitz  <poenitz@gmx.net>
7297
7298         * iterator.C:
7299         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7300
7301         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7302           few naked Paragraph *.
7303
7304 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7305
7306         * bufferparams.C: Output warning if a document with missing
7307         TeX document class is loaded
7308         * exporter.C: Disable TeX exports if the document class is missing
7309         * lyxtextclass.C:
7310         * lyxtextclass.h:
7311         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7312         isTeXClassAvailable()
7313
7314 2003-05-03  John Levon  <levon@movementarian.org>
7315
7316         * BufferView.h:
7317         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7318         explicit cursor show/hide
7319
7320         * BufferView_pimpl.h:
7321         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7322         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7323
7324         * lyxfunc.C: hide cursor before dispatching.
7325
7326         * lyx_cb.C:
7327         * lyxfind.C:
7328         * text.C:
7329         * text3.C: remove explicit cursor hides
7330
7331 2003-05-02  André Pönitz  <poenitz@gmx.net>
7332
7333         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7334
7335         * undo_funcs.C:
7336         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7337           linked lists
7338
7339         * text2.C: tiny whitespace
7340
7341 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7342
7343         * undo_funcs.C: almost only ws changes.
7344
7345         * ParagraphList.C (splice): just return if pl is empty.
7346
7347 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * ParagraphList.C (splice): new function.
7350
7351         * CutAndPaste.C (pasteSelection): use it
7352
7353 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7354
7355         * CutAndPaste.C (pasteSelection): remove the last next and
7356         previous from this file.
7357
7358 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7359
7360         * CutAndPaste.C (pasteSelection): more clean up, user proper
7361         ParagraphList functions for pasteing.
7362
7363         * ParagraphList.C (insert): new function, three arg insert
7364
7365 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7366
7367         * ParagraphList.C (insert): new function, three arg insert
7368
7369         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7370         not on paragraphs.
7371
7372 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7373
7374         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7375
7376 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7377
7378         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7379
7380 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7381
7382         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7383         (copySelection): clean up a bit.
7384         (pasteSelection): use make_pair
7385
7386         * ParagraphList.C (ParagraphList): implement copy constructor
7387         (operator=): implement, base on copy constructor.
7388         (assign): new func
7389
7390         * paragraph.C (erase): return a bool
7391
7392         * paragraph_pimpl.C (erasePos): remove function, move contents...
7393         (erase): ... here. Return a bool.
7394         (erase): call erase instead of erasePos.
7395
7396 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7397
7398         * ParagraphList.h: define PitPosPair
7399         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7400         ParagraphList, fix a bug on pasting multiple pars
7401         * text2.C: change interface to C&P
7402
7403 2003-04-30  André Pönitz  <poenitz@gmx.net>
7404
7405         * undo_func.C: revert part of yesterday's patch 2
7406
7407 2003-04-30  John Levon  <levon@movementarian.org>
7408
7409         * LColor.C: s/tabular/table/
7410
7411 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7412
7413         * text3.C (dispatch): do not convert iterator -> pointer
7414         * undo_funcs.C (setCursorParUndo): ditto
7415         * text_funcs.C (transposeChars): ditto
7416
7417         * text2.C (setLayout): ws changes only
7418
7419         * text.C (breakParagraph): do not convert iterator -> pointer
7420         (insertChar): ditto
7421         (acceptChange): ditto
7422         (rejectChange): ditto
7423         (changeCase): ditto
7424         (Delete): ditto
7425         (backspace): ditto
7426
7427         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7428         pointer
7429
7430 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7431
7432         * text3.C (gotoInset): YABG (yet another bad getChar)
7433
7434 2003-04-29  André Pönitz  <poenitz@gmx.net>
7435
7436         * paragraph.h: make operator= private unimplemented as long as
7437           it is unusable
7438
7439         * ParagraphList.C: whitespace
7440
7441         * paragraph.[Ch]:
7442         * paragraph_pimpl.[Ch]:
7443         * paragraph_funcs.C:
7444         * CutAndPaste.C:
7445         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7446
7447         * text2.C:
7448           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7449
7450 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7451
7452         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7453         * paragraph.[Ch] (erase):
7454         * paragraph_pimpl.[Ch] (erase): change return type and value
7455         * text2.C (cutSelection): some rework
7456
7457 2003-04-28  John Levon  <levon@movementarian.org>
7458
7459         * bufferlist.C: changes for unsaved changes dialog
7460
7461 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7462
7463         * bufferlist.C (newFile): set language (messages_) for new
7464         documents also.
7465
7466         * buffer.C (readFile): ws changes only.
7467
7468 2003-04-28  André Pönitz  <poenitz@gmx.net>
7469
7470         * undo_funcs.C:
7471         * lyxfunc.C:
7472         * buffer.[Ch]:
7473         * BufferView_pimpl.C:
7474         * BufferView.C: getParFromID related ParagraphList::iterator changes
7475
7476 2003-04-28  André Pönitz  <poenitz@gmx.net>
7477
7478         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7479           Changes
7480
7481 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7482
7483         * messages.C: remove one more localedir class variable.
7484
7485 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7486
7487         * messages.C (getLocaleDir): singleton generation function
7488         (Pimpl): use it.
7489         (Messages): add a default constructor.
7490
7491         * main.C (main): do not setup localedir here, do not call
7492         gettext_init.
7493
7494         * gettext.C (_): use it.
7495         (gettext_init): delete funciton
7496
7497 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7498
7499         * gettext.C (getLyXMessages): new singleton generating function.
7500
7501         * buffer.C (updateDocLang): adjust
7502
7503         * Makefile.am (messages.o): add target
7504         (main.o): remove target
7505
7506 2003-04-27  John Levon  <levon@movementarian.org>
7507
7508         * bufferlist.C:
7509         * lyx_cb.C:
7510         * lyxfunc.C:
7511         * lyxvc.C: specify cancel button in Alert::prompt
7512
7513 2003-04-26  John Levon  <levon@movementarian.org>
7514
7515         * text3.C:
7516         * lyxfunc.C:
7517         * lfuns.h:
7518         * LyXAction.C: add LFUN_INSET_SETTINGS
7519
7520         * lyxfunc.C: don't enable tabular-feature when there's
7521         just any locking inset
7522
7523 2003-04-26  John Levon  <levon@movementarian.org>
7524
7525         * bufferlist.C: re-add Cancel to buffer close question
7526
7527         * lyxfunc.C: fix import UI a bit
7528
7529 2003-04-25  John Levon  <levon@movementarian.org>
7530
7531         * gettext.C: remove the broken asserts for now
7532
7533 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * messages.C: make case where setlocale cannot comply work better.
7536
7537         * buffer.C (updateDocLang): new function
7538         (changeLanguage): use it
7539         (readFile): use it
7540
7541         * text2.C (setCounter): use B_ a bit.
7542
7543         * lyxlayout.C (Read): be sure to trim the label strings.
7544
7545         * messages.C (Messages): fix typo in comment
7546
7547         * buffer.C (readFile): set message_ after file is loaded.
7548         (makeDocBookFile): remove double return
7549         (changeLanguage): reset message_ upon language change.
7550         (B_): new func, use this to get translated buffer strings.
7551
7552         * main.C: add myself and Jean Marc as authors.
7553
7554 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7555
7556         * messages.[hC]: pimplify Messages, and three different pimpls to be
7557         used in different circumstances.
7558
7559         * gettext.[Ch]: change for use with new message code.
7560
7561 2003-04-24 André Pönitz <poenitz@gmx.net>
7562
7563         * factory.C: support for eqref
7564
7565 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7566
7567         * messages.[Ch]: add missing char
7568
7569         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7570
7571         * messages.[Ch]: New files
7572
7573 2003-04-18  John Levon  <levon@movementarian.org>
7574
7575         * BufferView.h:
7576         * BufferView.C:
7577         * BufferView_pimpl.C:
7578         * lfuns.h:
7579         * LyXAction.C:
7580         * lyxtext.h:
7581         * text2.C: remove layout-copy/paste (bug 778)
7582
7583 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7584
7585         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7586
7587 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7588
7589         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7590         if they succeed. Act accordingly.
7591
7592 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7593
7594         * text2.C (setCharFont): adjust
7595         (setCounter): adjust
7596         (insertStringAsLines): adjust
7597
7598         * text.C (leftMargin): adjust
7599         (setHeightOfRow): adjust
7600
7601         * rowpainter.C (paintFirst): adjust
7602         (paintLast): adjust
7603
7604         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7605         (outerHook): ditto
7606         (isFirstInSequence): ditto
7607         (getEndLabel): ditto
7608         (outerFont): adjust
7609
7610         * paragraph.C (getParLanguage): comment out some hard stuff.
7611
7612         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7613         (sgmlError): ditto
7614         (simpleDocBookOnePar): ditto
7615         (makeDocBookFile): use ParagraphList::iterator
7616
7617         * CutAndPaste.C (pasteSelection): adjust
7618
7619 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7620
7621         * text2.C (getFont): adjust
7622         (getLayoutFont): adjust
7623         (getLabelFont): adjust
7624
7625         * paragraph_funcs.C (TeXOnePar): adjust
7626
7627         * buffer.C (simpleLinuxDocOnePar): adjust
7628         (simpleDocBookOnePar): adjust
7629
7630         * CutAndPaste.C (pasteSelection): adjust
7631
7632         * BufferView.C (getEncoding): adjust
7633
7634         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7635
7636 2003-04-16  John Levon  <levon@movementarian.org>
7637
7638         * lyxfind.C: use parlist stuff for search/changes
7639
7640 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7641
7642         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7643
7644         * text2.C (deleteEmptyParagraphMechanism): adjust
7645
7646         * text2.[Ch] (ownerParagraph): delete func (both of them
7647
7648 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7649
7650         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7651
7652 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7653
7654         * ParagraphList.C: prepare for NO_NEXT
7655
7656 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7657
7658         * text2.C (getFont): adjust
7659         (getLayoutFont): adjust
7660         (getLabelFont): adjust
7661
7662         * paragraph.C (getFont): adjust
7663         (getLabelFont): adjust
7664         (getLayoutFont): adjust
7665
7666         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7667
7668 2003-04-15  John Levon  <levon@movementarian.org>
7669
7670         From Angus Leeming
7671
7672         * lyx_main.C: handle Include in .ui files
7673
7674 2003-04-15  John Levon  <levon@movementarian.org>
7675
7676         * MenuBackend.C: make the doc files length shorter
7677
7678         * ToolbarBackend.h:
7679         * ToolbarBackend.C: handle toolbar placement flags,
7680         Minibuffer
7681
7682 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7683
7684         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7685         adjust
7686
7687         * paragraph_funcs.C (TeXOnePar): adjust
7688
7689         * paragraph.C (getLabelFont): add outerfont arg, adjust
7690         (getLayoutFont): ditto
7691         (simpleTeXOnePar): adjust
7692
7693         * paragraph_pimpl.C (realizeFont): delete func
7694
7695 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7696
7697         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7698         row argument, constify cur argument.
7699
7700 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7701
7702         * text2.C (getFont): adjust
7703         (getLayoutFont): adjust
7704         (getLabelFont): adjust
7705
7706         * paragraph_funcs.C (TeXOnePar): adjust
7707         (outerFont): new func...
7708         (realizeFont): ...moved out from here, changed this to facilitate
7709         transition
7710
7711         * paragraph.C (getFont): take outerfont as arg, adjust
7712         (simpleTeXOnePar): add outerfont arg, adjust
7713
7714         * buffer.C (simpleLinuxDocOnePar): adjust
7715         (simpleDocBookOnePar): adjust
7716
7717         * CutAndPaste.C (pasteSelection): adjust
7718
7719         * BufferView.C (getEncoding): adjust
7720
7721 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7722
7723         * text2.C (setCharFont): adjust
7724         (setCounter): adjust
7725
7726         * text.C (leftMargin): adjust
7727         (setHeightOfRow): adjust
7728
7729         * rowpainter.C (paintFirst): adjust
7730         (paintLast): adjust
7731
7732         * paragraph_pimpl.C (realizeFont): adjust
7733
7734         * paragraph.C (isFirstInSequence): move from here...
7735         * paragraph_funcs.C (isFirstInSequence): ...to here
7736
7737         * paragraph.C (outerHook): move from here...
7738         * paragraph_funcs.C (outerHook): ...to here
7739
7740         * paragraph.C (depthHook): move from here...
7741         * paragraph_funcs.C (depthHook): ...to here
7742
7743         * paragraph.C (getEndLabel): move from here...
7744         * paragraph_funcs.C (getEndLabel): ...to here
7745
7746         * text2.C (realizeFont): move from here...
7747         * paragraph_funcs.C (realizeFont): ...to here
7748
7749 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7750
7751         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7752
7753 2003-04-14  Angus Leeming  <leeming@lyx.org>
7754
7755         * LColor.[Ch]: scrap LColor mathcursor.
7756
7757 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7758
7759         * lyxlex.[Ch] (text): delete function
7760         * trans.C (Load): adjust
7761         * paragraph_funcs.C (readParToken): adjust
7762
7763 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7764
7765         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7766         vector<char> instead of a char[].
7767
7768         * lyxlex_pimpl.C (getString): adjust
7769         (next): adjust
7770         (lex): use getString
7771         (eatLine): adjust
7772         (nextToken): adjust
7773
7774         * lyxlex.C (text): use pimpl_->getString()
7775         (getBool): ditto
7776         (findToken): ditto
7777
7778 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7779
7780         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7781         (makeFontEntriesLayoutSpecific): temp var for par.size()
7782         (setLayout): temp var for ownerParagraphs().end()
7783         (fullRebreak): temp var for rows().end()
7784         (selectionAsString): temp var for boost::next(startpit), realize
7785         that the while really is a regular for loop.
7786         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7787         setCursor in one place.
7788         (setParagraph): temp vr for ownerParagraphs().end()
7789         (updateCounters): make the while loop a for loop
7790         (cutSelection): temp var for ownerParagraphs().end()
7791         (updateInset): make the do {} while() a regular for loop
7792         (getCursorX): use temp vars
7793         (setCurrentFont): use temp vars
7794         (getColumnNearX): use temp vars
7795
7796 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7797
7798         * text.C (transformChar): use temp var for getChar
7799         (computeBidiTables): use temp var for row->par()
7800         (fill): move temp vars for row->par() and pit->layout() earlier in
7801         the function.
7802         (labelFill): use temp var for row->par()
7803         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7804         asc and desc, realize that pit never changes and that firstpit is
7805         just a duplicate and not needed. Exchange rit->par() with pit in a
7806         lot of places.
7807         (breakAgain): use a temp var for boost::next(rit)
7808         (breakAgainOneRow): ditto
7809         (breakParagraph): use a temp var for rows().begin()
7810         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7811         (cursorRightOneWord): use temp var for cursor.par() and
7812         cursor.pos(), remove usage of tmpcursor.
7813         (cursorLeftOneWord): use temp var for cursor.par() and
7814         cursor.pos() only set cur at end of function.
7815
7816 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7817
7818         * text.C, text2.C: exchange all usage of Paragraph::next with
7819         boost::next(ParagraphList::iterator)
7820
7821         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7822
7823         * text2.C (cursorTop): simplify implementation
7824         (cursorBottom): ditto
7825         (setParagraph): use ParagraphList::iterator
7826         (setCurrentFont): adjust
7827         (getColumnNearX): adjust
7828         (cursorRight): adjust
7829         (cursorLeft): remove usage of Paragraph::previous
7830         (cursorUpParagraph): ditto
7831         (deleteEmptyParagraphMechanism): slight cleanup
7832
7833         * text.C (isBoundary): take a Paragraph const & instead of a
7834         pointer as arg.
7835         (addressBreakPoint): ditto
7836         (leftMargin): remove usage of Paragraph::previous.
7837         (setHeightOfRow): ditto
7838         (cursorLeftOneWord): ditto
7839         (selectNextWordToSpellcheck): ditto
7840         (Delete): ditto
7841         (backspace): ditto
7842         (breakParagraph): remove one usage of Paragraph::next
7843         (redoParagraph): ditto
7844         (acceptChange): ditto
7845         (insertChar): adjust
7846         (rowBreakPoint): adjust
7847
7848         * bufferview_funcs.C (toggleAndShow): adjust
7849
7850 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7851
7852         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7853         methods to access it.
7854         * lyxtext.h:
7855         * text.C: Added updateRowPositions to compute all row positions.
7856         Make top_y and getRowNearY() to use the cached y position
7857
7858 2003-04-11  John Levon  <levon@movementarian.org>
7859
7860         * text.C (rowBreakPoint): reintroduce the labelEnd
7861         checks, code copied from the row fill stuff. Deep voodoo.
7862
7863         * text.C (fill): add a comment and debugging for the
7864         next poor soul.
7865
7866 2003-04-11  John Levon  <levon@movementarian.org>
7867
7868         * text.C: make sure fullrow insets get wrapped to the next line,
7869         even when they're in a manual label
7870
7871 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7872
7873         * text2.C (insertParagraph): make it take ParagraphList::iterator
7874         as arg.
7875         (setLayout): make it return ParagraphList::iterator
7876         (redoParagraphs): ditto
7877         (setCounter): ditto
7878         (checkParagraph): ditto
7879
7880         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7881
7882         * text2.C: adjust several funcs.
7883         (realizeFont): take a ParagraphList::iterator as arg.
7884         (getLayoutFont): ditto
7885         (getLabelFont): ditto
7886         (setCharFont): ditto
7887
7888         * text.C: adjust several funcs.
7889
7890 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7891
7892         * text.C (selectNextWordToSpellcheck): don't accidentally
7893         skip insets
7894
7895 2003-04-10  John Levon  <levon@movementarian.org>
7896
7897         * ToolbarBackend.C (getIcon): special handling for
7898         LFUN_MATH_DELIM
7899
7900 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7901
7902         * text2.C (cursorRight): a getChar assert fixed
7903
7904 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7905
7906         * text2.C (getFont): change to take a ParagraphList::iterator
7907         instead of Paragraph*
7908         Adjust several functions.
7909
7910         * text.C (transformChar): change to take a ParagraphList::iterator
7911         instead of Paragraph*
7912         (singleWidth): ditto
7913         Adjust several functions.
7914
7915         * rowpainter.C: adjust several functions
7916         * rowpainter.h:store a ParagraphList::iterator and not a
7917         Paragraph&.
7918
7919
7920 2003-04-09  John Levon  <levon@movementarian.org>
7921
7922         * lyxfunc.C:
7923         * lfuns.h:
7924         * LyXAction.h:
7925         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7926         and the "help" bits as well
7927
7928 2003-04-09  John Levon  <levon@movementarian.org>
7929
7930         * ToolbarBackend.h:
7931         * ToolbarBackend.C: allow multiple toolbars
7932
7933 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7934
7935         * undo_funcs.C (setCursorParUndo): adjust
7936
7937         * text_funcs.C (transposeChars): adjust
7938
7939         * text3.C (gotoNextInset): adjust
7940         (dispatch): adjust
7941
7942         * text2.C (setLayout): adjust
7943         (changeDepth): adjust
7944         (setFont): adjust
7945         (redoParagraphs): adjust
7946         (selectionAsString): adjust
7947         (setParagraph): adjust
7948         (insertInset): adjust
7949         (cutSelection): adjust
7950         (copySelection): adjust
7951         (pasteSelection): adjust
7952         (insertStringAsLines): adjust
7953         (updateInset): adjust
7954         (setCursor): change to take a ParagraphList::iterator parameter
7955         (setCursorIntern): change to take a ParagraphList::iterator parameter
7956         (setCurrentFont): adjust
7957         (cursorLeft): adjust
7958         (cursorRight): adjust
7959         (deleteEmptyParagraphMechanism): adjust
7960
7961         * text.C (breakParagraph): adjust
7962         (insertChar): adjust
7963         (acceptChange): adjust
7964         (rejectChange): adjust
7965         (selectNextWordToSpellcheck): adjust
7966         (changeCase): adjust
7967         (Delete): adjust
7968         (backspace): adjust
7969
7970         * lyxfind.C (SearchForward): adjust
7971         (SearchBackward): adjust
7972         (nextChange): adjust
7973
7974         * lyxcursor.C (par): adjust
7975
7976         * lyxcursor.h: store a ParagraphList::iterator instead of a
7977         Paragraph*
7978
7979         * lyx_cb.C (getPossibleLabel): adjust
7980
7981         * bufferview_funcs.C (toggleAndShow): adjust
7982
7983         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7984         (dispatch): adjust
7985
7986         * BufferView.C (removeAutoInsets): adjust
7987         (lockedInsetStoreUndo): adjust
7988
7989 2003-04-09  John Levon  <levon@movementarian.org>
7990
7991         * ToolbarBackend.C: try icon without argument
7992         if with argument fails
7993
7994 2003-04-08  John Levon  <levon@movementarian.org>
7995
7996         * ToolbarBackend.h:
7997         * ToolbarBackend.C: add getIcon(), handle tooltip,
7998         and change from "Icon" to "Item".
7999
8000 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8001
8002         * BufferView.C (lockInset): another bad getchar crunched
8003
8004 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8005
8006         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8007         again)
8008
8009 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8010
8011         * lyxfind.C (searchForward, searchBackwards): bug 782
8012
8013 2003-04-07  John Levon  <levon@movementarian.org>
8014
8015         * paragraph.C: remove dead comment
8016
8017         * text.C: remove troublesome depth-fiddling code
8018         in leftMargin() and rightMargin() (bug 1017)
8019
8020         * text.C: fix breaking of rows in nested lists
8021         (bug 1004)
8022
8023         * text2.C (updateCounters): fix up depth values
8024         (bug 1013)
8025
8026 2003-04-07  John Levon  <levon@movementarian.org>
8027
8028         * BufferView_pimpl.C: clear message when doc finishes resizing,
8029         and after a mouse event
8030
8031         * lyxfunc.C: clear message after exiting inset
8032
8033 2003-04-07  John Levon  <levon@movementarian.org>
8034
8035         * bufferview_funcs.C: show math status not outside
8036         status in the statusbar
8037
8038 2003-04-07  John Levon  <levon@movementarian.org>
8039
8040         * lyxfunc.C: note status changed after a depth change
8041
8042 2003-04-04  Angus Leeming  <leeming@lyx.org>
8043
8044         * LaTeX.h: move AuxInfo operator==, != out of line.
8045         Remove LaTeX virtual destructor; nothing derives from it.
8046         Move operator()() out of public area and rename it startscript().
8047         Change protected for private.
8048
8049 2003-04-04  Angus Leeming  <leeming@lyx.org>
8050
8051         * lyxfunc.C:
8052         * text2.C: remove unneeded #includes.
8053
8054 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8055
8056         * text2.C (dEPM): fix the heigth of the next row
8057
8058 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8059
8060         * text.C: squashed an invalid getChar requester + some ws changes
8061
8062 2003-04-03  John Levon  <levon@movementarian.org>
8063
8064         * bufferview_funcs.h:
8065         * bufferview_funcs.C:
8066         * lyxfunc.C:
8067         * lyxtext.h:
8068         * text2.C: make getStatus work for the env depth lfuns
8069
8070 2003-04-03  John Levon  <levon@movementarian.org>
8071
8072         * bufferview_funcs.h:
8073         * bufferview_funcs.C:
8074         * lyxfunc.C:
8075         * lyxtext.h:
8076         * text2.C: parlistize decDepth(), by merging it with incDepth()
8077
8078 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8079
8080         * lyxrow.h: store a ParagraphList::iterator instead of a
8081         Paragraph* and adjust other class functions to suit.
8082
8083         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8084         above.
8085
8086 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8087
8088         * text2.C (setCursor): do not anchor to cursor row for the time being
8089
8090 2003-04-02  John Levon  <levon@movementarian.org>
8091
8092         * LyXAction.C:
8093         * lfuns.h:
8094         * lyx_main.C:
8095         * lyxtext.h:
8096         * text.C:
8097         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8098
8099 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8100
8101         * paragraph.h: make ParagraphList and ParagraphList::iterator
8102         friends of Paragraph.
8103
8104         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8105
8106         * ParagraphList.C: Use the private next_ and previous_ from
8107         Paragraph.
8108
8109 2003-04-01  John Levon  <levon@movementarian.org>
8110
8111         * ToolbarBackend.h:
8112         * ToolbarBackend.C:
8113         * Makefile.am: rename, remove defaults gunk
8114
8115         * MenuBackend.h:
8116         * MenuBackend.C: remove defaults gunk
8117
8118         * Languages.h:
8119         * Languages.C: remove defaults gunk
8120
8121         * lyx_main.h:
8122         * lyx_main.C: error out if files couldn't be found.
8123
8124 2003-04-02  John Levon  <levon@movementarian.org>
8125
8126         * text2.C: make incDepth() use parlist
8127
8128 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8129
8130         * undo_funcs.C (firstUndoParagraph): adjust
8131
8132         * text3.C (gotoInset): adjust
8133         (dispatch): adjust, and rewrite loop.
8134
8135         * text2.C (init): adjust, and rewrite loop.
8136         (redoParagraphs): adjust
8137         (updateInset): adjust, and rewrite loop.
8138         (deleteEmptyParagraphMechanism): adjust
8139
8140         * tabular.C (LyXTabular): adjust
8141         (SetMultiColumn): adjust
8142         (TeXRow): adjust
8143
8144         * lyxtext.[Ch] (ownerParagraph): delete function
8145         (ownerParagraphs): new function returns a ParagraphList.
8146
8147         * BufferView.C (removeAutoInsets): adjust
8148         (insertErrors): adjust
8149         (setCursorFromRow): adjust
8150
8151 2003-04-01  Angus Leeming  <leeming@lyx.org>
8152
8153         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8154         in the frontends.
8155
8156 2003-04-02  John Levon  <levon@movementarian.org>
8157
8158         * lyxtext.h:
8159         * text.C:
8160         * Makefile.am:
8161         * text_funcs.h:
8162         * text_funcs.C: make transposeChars a free function
8163
8164         * lyxrow_funcs.C: remove wrong comment
8165
8166 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8167
8168         * lyxtext.h: adjust
8169         * rowpainter.C: adjust
8170         * text.C: adjust
8171         * text2.C: adjust
8172         * text3.C: adjust
8173
8174         * lyxrow_funcs. [Ch]: new files
8175
8176         * lyxrow.[Ch]: remove next and previous pointers
8177         (next,previous): remove accessor functions
8178         (isParEnd): move to lyxrow_funcs
8179         (lastPos): move to lyxrow_funcs
8180         (nextRowIsAllInset): move to lyxrow_funcs
8181         (lastPrintablePos): move to lyxrow_funcs
8182         (numberOfSeparators): move to lyxrow_funcs
8183         (numberOfHfills): move to lyxrow_funcs
8184         (numberOfLabelHfills): move to lyxrow_funcs
8185         (hfillExpansion): move to lyxrow_funcs
8186
8187         * lyxfunc.C: adjust
8188
8189         * bufferview_funcs.C (toggleAndShow): adjust
8190
8191         * RowList.h: Remove class RowList from file leave just a
8192         std::list<Row>.
8193
8194         * RowList.C: delete file
8195
8196         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8197         and lyxrow_funcs.h
8198
8199 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8200
8201         * text3.C (cursorPrevious): adjust
8202         (cursorNext): adjust
8203         (dispatch): adjust
8204
8205         * text2.C (redoHeightOfParagraph): adjust
8206         (redoDrawingOfParagraph): adjust
8207         (setCursor): adjust
8208
8209         * text.C (breakParagraph): adjust
8210         (insertChar): adjust
8211         (backspace): adjust
8212
8213         * rowpainter.C (RowPainter): adjust
8214         (leftMargin): simplify and adjust
8215         (most rowpainter functions): adjust.
8216
8217         * rowpainter.h: store the row as RowList::iterator not as Row*
8218
8219         * lyxcursor.C (row): taka RowList::iterator as arg
8220         (irow): ditto
8221
8222         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8223         of Row*.
8224
8225 2003-04-01  Angus Leeming  <leeming@lyx.org>
8226
8227         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8228         stuff like bool Bool.
8229
8230 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8231
8232         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8233         rewrite a loop
8234
8235 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8236
8237         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8238         RowList::iterator.
8239
8240         * lyxtext.h (rows): drop one version and leve a const variant that
8241         returns a RowList::iterator.
8242
8243 2003-03-31  Angus Leeming  <leeming@lyx.org>
8244
8245         * text.C (fill): ensure that the signature is the same as that in the
8246         header file.
8247
8248 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8249
8250         * text2.C (redoParagraphs): adjust
8251         (updateCounters): adjust
8252         (checkParagraph): adjust
8253         (getColumnNearX): adjust and reformat a bit.
8254
8255         * text.C (top_y): adjust
8256         (workWidth): adjust
8257         (leftMargin): adjust
8258         (prepareToPrint): adjust
8259         (getRow): adjust
8260         (getRowNearY): adjust
8261
8262         * lyxtext.h: make rowlist_ mutable.
8263
8264         * RowList.h: add const_iterator
8265         * RowList.C: adjust for RowList::const_iterator.
8266
8267         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8268         adjust.
8269
8270 2003-03-31  John Levon  <levon@movementarian.org>
8271
8272         * lyxrc.h:
8273         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8274
8275         * lyx_main.C: set default fonts from using lyx_gui funcs
8276
8277         * exporter.C: pdf_mode moved from lyxrc
8278
8279         * lyx_cb.C:
8280         * lyxfunc.C: changes from above
8281
8282 2003-03-31  John Levon  <levon@movementarian.org>
8283
8284         * lyx_main.C: fix to the last fix
8285
8286 2003-03-31  John Levon  <levon@movementarian.org>
8287
8288         * bufferlist.C: "Load original" -> "Load Original"
8289
8290         * converter.C:
8291         * exporter.C:
8292         * importer.C:
8293         * lyx_main.C:
8294         * format.C: more Alert cleanups
8295
8296 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8297
8298         * text2.C (removeParagraph): make it take a RowList::iterator as
8299         arg, adjust.
8300         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8301         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8302
8303         * text.C (anchor_row): make it take a RowList::iterator as arg,
8304         adjust.
8305         (computeBidiTables): make it take a const reference to Row instead
8306         of Row pointer, adjust.
8307         (leftMargin): make it take a RowList::iterator as arg, adjust.
8308         (rowBreakPoint): adjust
8309         (breakAgainOneRow): make it take a RowList::iterator as arg,
8310         adjust.
8311         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8312
8313         * bufferview_funcs.C (toggleAndShow): adjust
8314
8315 2003-03-30  John Levon  <levon@movementarian.org>
8316
8317         * Makefile.am:
8318         * BoostFormat.h:
8319         * boost-inst.C: moved to support
8320
8321         * several files: changes as a result
8322
8323 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8324
8325         * text2.C (LyXText): adjust.
8326         (init): adjust
8327         (removeRow): make it take a RowList::iterator as arg, adjust.
8328         (fullRebreak): adjust
8329         (deleteEmptyParagraphMechanism): adjust
8330         (clearPaint): adjust
8331         (postPaint): adjust
8332
8333         * text.C (top_y): adjust
8334         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8335         (breakAgain): make it take a RowList::iterator as arg, adjust.
8336         (breakParagraph): adjust
8337         (insertChar): adjust
8338         (backspace): adjust
8339
8340         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8341         need_break_row, and refresh_row.
8342
8343         * text3.C (dispatch): adjust
8344
8345         * text2.C (checkParagraph): adjust
8346         (setCursor): adjust
8347         (setCursorFromCoordinates): adjust
8348
8349         * text.C (top_y): adjust
8350         (workWidth): adjust
8351         (getRow): make it return a RowList::iterator, adjust
8352         (getRowNearY): make it return a RowList::iterator, adjust
8353
8354         * text2.C (init): adjust
8355         (insertRow): remove function
8356         (insertParagraph): adjust
8357         (redoParagraphs): adjust
8358         (fullRebreak): adjust
8359         (updateCounters): adjust
8360
8361         * text.C (top_y): rewrite to use RowList iterators.
8362         (top_y): adjust
8363         (setHeightOfRow): rewrite to sue RowList iterators.
8364         (appendParagraph): adjust
8365         (breakAgain): adjust
8366         (breakAgainOneRow): adjust
8367         (breakParagraph): adjust
8368         (getRow): adjust
8369         (getRowNearY): adjust, and remove commented code.
8370
8371         * lyxtext.h (firstRow): delete function
8372         (lastRow): delete function
8373         (rows): new function (const and non-const versions.)
8374         (insertRow): delete function
8375
8376         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8377
8378 2003-03-29  John Levon  <levon@movementarian.org>
8379
8380         * BufferView_pimpl.C: always update scrollbar top
8381         because pasting text when we're anchored could mean we
8382         miss an update altogether
8383
8384 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8385
8386         * text2.C (init): use rowlist_.end() and not 0.
8387         (insertRow): change to take a RowList::iterator as arg, adjust
8388         for this.
8389         (insertParagraph): change to take a RowList::iterator as arg,
8390         adjust for this.
8391         (redoParagraphs): remove some debug msgs.
8392
8393         * text.C (appendParagraph): change to take a RowList::iterator
8394         arg, adjust for this.
8395         (breakAgain): add an assert
8396         (breakAgainOneRow): ditto
8397
8398 2003-03-29  John Levon  <levon@movementarian.org>
8399
8400         * text2.C: do not clear selection after inc/decDepth
8401         (bug 550)
8402
8403 2003-03-29  John Levon  <levon@movementarian.org>
8404
8405         * BufferView.C:
8406         * buffer.C: fix broken strerrors according to Lars
8407
8408 2003-03-29  John Levon  <levon@movementarian.org>
8409
8410         * converters.C: more Alert cleanups
8411
8412 2003-03-29  John Levon  <levon@movementarian.org>
8413
8414         * bufferview_funcs.C: remove pointless Alert
8415
8416         * buffer.C: fix confusing error message when
8417         a template is chmoded 000
8418
8419 2003-03-29  John Levon  <levon@movementarian.org>
8420
8421         * BufferView.C:
8422         * BufferView.h:
8423         * BufferView_pimpl.C: Alert fixes
8424
8425         * Makefile.am:
8426         * tabular.C:
8427         * tabular-old.C: remove unused table compat reading
8428
8429 2003-03-29  John Levon  <levon@movementarian.org>
8430
8431         * BufferView.C:
8432         * buffer.C:
8433         * lyx_cb.h:
8434         * lyx_cb.C: more Alert cleanups
8435
8436         * lyxfunc.C: don't allow chktex if not latex document
8437
8438 2003-03-29  John Levon  <levon@movementarian.org>
8439
8440         * lyx_cb.C:
8441         * BufferView.C:
8442         * buffer.C: warnings pushed down from support/,
8443         kill err_alert
8444
8445 2003-03-29  John Levon  <levon@movementarian.org>
8446
8447         * lyxfunc.C: safety check for C-r (revert)
8448
8449 2003-03-29  John Levon  <levon@movementarian.org>
8450
8451         * bufferlist.h:
8452         * bufferlist.C: several UI fixes using Alert::prompt.
8453         Fix the pointless looping quit code. Fix stupid revert
8454         behaviour (bug 938)
8455
8456         * lyxvc.h:
8457         * lyxvc.C:
8458         * lyx_cb.C: use Alert::prompt
8459
8460         * lyx_main.C: remove a silly question
8461
8462         * lyxfunc.C: remove a couple of silly questions,
8463         use Alert::prompt
8464
8465 2003-03-28  John Levon  <levon@movementarian.org>
8466
8467         * text2.C: fix bug 974 (End on empty par)
8468
8469 2003-03-28  John Levon  <levon@movementarian.org>
8470
8471         * BufferView_pimpl.C:
8472         * LyXAction.C:
8473         * lfuns.h: remove do-nothing math greek lfuns
8474
8475 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8476
8477         * lyxgluelength.h (isValidGlueLength): add default arg on
8478         parameter 2. Remove default arg from friend in class.
8479
8480         * lyxlength.h (isValidLength): add default arg on parameter 2.
8481         Remove default arg from friend in class.
8482
8483         * text2.C (LyXText): adjust, initialize refresh_row.
8484         (init): adjust
8485         (removeRow): adjust
8486         (insertRow): adjust
8487         (insertParagraph): adjst
8488         (redoParagraphs): adjust
8489         (fullRebreak): adjust
8490         (updateCounters): adjust
8491         (deleteEmptyParagraphMechanism): first attempt at fixing a
8492         crashing bug.
8493
8494         * text.C (top_y): adjust
8495         (setHeightOfRow): adjust
8496         (getRow): adjust
8497         (getRowNearY): adjust
8498
8499         * lyxtext.h: include RowList.h
8500         (~LyXText): not needed anymore, deleted.
8501         (firstRow): modify for RowList
8502         (lastRow): new function
8503         Delete firstrow and lastrow class variables, add a Rowlist
8504         rowlist_ class variable.
8505
8506         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8507         paragraph is empty.
8508
8509         * RowList.C (insert): fix case where it == begin().
8510
8511 2003-03-26  Angus Leeming  <leeming@lyx.org>
8512
8513         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8514         the thesaurus dialog.
8515
8516 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8517
8518         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8519
8520         * RowList.[Ch]: new files
8521
8522         * ParagraphList.C (erase): handle the case where it == begin
8523         correctly.
8524
8525 2003-03-25  John Levon  <levon@movementarian.org>
8526
8527         * Makefile.am:
8528         * aspell_local.h:
8529         * aspell.C: add new aspell support
8530
8531         * lyxrc.h:
8532         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8533         have it accessible.
8534
8535 2003-03-25  Angus Leeming  <leeming@lyx.org>
8536
8537         * lfuns.h:
8538         * LyXAction.C (init): new LFUN_INSET_INSERT.
8539
8540         * BufferView_pimpl.C (dispatch): split out part of the
8541         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8542
8543         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8544         LFUN_INSET_APPLY.
8545
8546 2003-03-25  Angus Leeming  <leeming@lyx.org>
8547
8548         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8549
8550 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8551
8552         * text2.C:
8553         * text3.C: remove useless row->height(0)
8554
8555 2003-03-25  John Levon  <levon@movementarian.org>
8556
8557         * lyxtext.h:
8558         * text2.C:
8559         * text3.C: rename the refreshing stuff to better names
8560
8561 2003-03-24  John Levon  <levon@movementarian.org>
8562
8563         * BufferView_pimpl.h:
8564         * BufferView_pimpl.C: update layout choice on a mouse
8565         press/release
8566
8567 2003-03-23  John Levon  <levon@movementarian.org>
8568
8569         * Makefile.am: fix commandtags.h reference
8570
8571 2003-03-22  John Levon  <levon@movementarian.org>
8572
8573         * BufferView_pimpl.C:
8574         * lyxtext.h:
8575         * rowpainter.C:
8576         * rowpainter.h:
8577         * text.C:
8578         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8579
8580 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8581
8582         * lyxtext.h:
8583         * text.C: take the rtl methods out of line
8584
8585 2003-03-21 André Pönitz <poenitz@gmx.net>
8586
8587         * metricsinfo.[Ch]: new files containing structures to be passed around
8588         during the two-phase-drawing...
8589
8590 2003-03-21 André Pönitz <poenitz@gmx.net>
8591
8592         * lyxtextclass.C: read 'environment' tag.
8593
8594 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8595
8596         * text2.C (removeRow): fix bug 964
8597
8598 2003-03-20  John Levon  <levon@movementarian.org>
8599
8600         * rowpainter.C:
8601         * text.C:
8602         * text2.C: paint cleanups. Inset::update() dropped font
8603         parameter
8604
8605 2003-03-19  John Levon  <levon@movementarian.org>
8606
8607         * lyxfunc.C: only fitcursor/markDirty if available()
8608
8609 2003-03-19  John Levon  <levon@movementarian.org>
8610
8611         * commandtags.h: rename to ...
8612
8613         * lfuns.h: ... this, and renumber / cleanup
8614
8615 2003-03-19  John Levon  <levon@movementarian.org>
8616
8617         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8618         fit the cursor after an lfun
8619
8620         * BufferView.h:
8621         * BufferView.C:
8622         * BufferView_pimpl.h:
8623         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8624
8625         * LyXAction.C: layout-character should have ReadOnly
8626
8627         * ParagraphParameters.C:
8628         * buffer.C:
8629         * bufferview_funcs.C:
8630         * lyx_cb.C:
8631         * lyxfind.C:
8632         * lyxtext.h:
8633         * text.C:
8634         * text2.C:
8635         * text3.C:
8636         * undo_funcs.C: changes from above
8637
8638 2003-03-18  John Levon  <levon@movementarian.org>
8639
8640         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8641         remove it from update()
8642
8643         * lyxfunc.C: update layout choice after an lfun
8644
8645         * text3.C: remove extra updateLayoutChoice()s
8646
8647 2003-03-18  John Levon  <levon@movementarian.org>
8648
8649         * text.C: top_y change means full repaint, fix
8650         a drawing bug with cursor movement
8651
8652 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8653
8654         * lyxtext.h:
8655         * text.C:
8656         * text2.C: anchor row on setCursor
8657
8658 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8659
8660         * lyxtext.h: remove almost all mutable keywords
8661         * text.C:
8662         * text2.C:
8663         * text3.C: remove const keywords accordingly
8664
8665 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8666
8667         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8668         anon namespace
8669         (TeXEnvironment): ditto
8670         (TeXOnePar): ditto
8671
8672 2003-03-17  John Levon  <levon@movementarian.org>
8673
8674         * text.C (rowBreakPoint): remove attempt to fix displayed
8675         math insets inside a manual label
8676
8677 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8678
8679         * lyxtext.h: remove BufferView* as first arg from almost all class
8680         functions.
8681         * other files: adjust.
8682
8683 2003-03-17  John Levon  <levon@movementarian.org>
8684
8685         * lyxtext.h:
8686         * undo_funcs.C:
8687         * text2.C: more paint cleanups
8688
8689         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8690
8691         * rowpainter.h:
8692         * rowpainter.C: remove "smart" background painting code
8693
8694 2003-03-16  John Levon  <levon@movementarian.org>
8695
8696         * lyxtext.h:
8697         * text.C:
8698         * text2.C:
8699         * text3.C: add helper functions for setting refresh_row/y
8700
8701 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8702
8703         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8704         newline inset which *can* get inserted in the pass_thru layouts.
8705         This is primarily for literate documents.
8706
8707 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8708
8709         * buffer.C: increment LYX_FORMAT to 223
8710
8711 2003-03-14 André Pönitz <poenitz@gmx.net>
8712
8713         * textclass.h: prepare for environment handling, ws changes
8714         * lyxlayout.C: read latexheader and latexfooter tags
8715
8716 2003-03-14  John Levon  <levon@movementarian.org>
8717
8718         * text2.C: rewrite ::status() a bit
8719
8720 2003-03-13  John Levon  <levon@movementarian.org>
8721
8722         * lyxtext.h: add some docs
8723
8724 2003-03-13  John Levon  <levon@movementarian.org>
8725
8726         * lyxtext.h:
8727         * text.C:
8728         * text2.C:
8729         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8730
8731 2003-03-13  John Levon  <levon@movementarian.org>
8732
8733         * text3.C: fix appendix redrawing
8734
8735 2003-03-13  John Levon  <levon@movementarian.org>
8736
8737         * text.C (setHeightOfRow):
8738         * rowpainter.h:
8739         * rowpainter.C: make appendix mark have the text
8740           "Appendix" so the user knows what it is
8741
8742         * LColor.h:
8743         * LColor.C: s/appendixline/appendix/ from above
8744
8745 2003-03-13  John Levon  <levon@movementarian.org>
8746
8747         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8748
8749         * text.C: fix a getChar(pos) bug properly
8750
8751 2003-03-13  Angus Leeming  <leeming@lyx.org>
8752
8753         * commandtags.h:
8754         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8755         Probably only temporary. Let's see how things pan out.
8756
8757         * BufferView.C (unlockInset):
8758         * BufferView_pimpl.C (fitCursor):
8759         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8760
8761         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8762         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8763
8764         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8765         new functions that convert ParagraphParameters to and from a string.
8766
8767         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8768         BufferView::Pimpl's dispatch.
8769         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8770
8771 2003-03-13 André Pönitz <poenitz@gmx.net>
8772
8773         * lyxfunc.C:
8774         * text3.C:
8775         * factory.C: make it aware of InsetEnv
8776
8777 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8778
8779         * text2.C (setCursor): never ask for one past last
8780         (setCursor): add some debugging messages.
8781
8782         * text.C (singleWidth): never ask for one past last
8783         (singleWidth): ditto
8784         (leftMargin): ditto
8785         (rightMargin): ditto
8786         (rowBreakPoint): ditto
8787         (setHeightOfRow): ditto
8788         (prepareToPrint): ditto
8789
8790         * rowpainter.C (paintBackground): never ask for one past last
8791         (paintText): never ask for one past last
8792
8793         * paragraph_pimpl.C (getChar): make the assert stricter, never
8794         allow the one past last pos to be taken
8795
8796         * paragraph.C (getChar): ws changes only
8797
8798         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8799         (numberOfSeparators): ditto
8800         (numberOfHfills): ditto
8801
8802 2003-03-12  John Levon  <levon@movementarian.org>
8803
8804         * author.h:
8805         * author.C:
8806         * bufferparams.h:
8807         * bufferparams.C:
8808         * paragraph_funcs.C: fix per-buffer authorlists
8809
8810 2003-03-12  John Levon  <levon@movementarian.org>
8811
8812         * text.C: fix newline in right address
8813
8814 2003-03-12  Angus Leeming  <leeming@lyx.org>
8815
8816         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8817         duplicate those in LyXFunc::dispatch.
8818
8819         * commandtags.h:
8820         * LyXAction.C:
8821         * ToolbarDefaults.C:
8822         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8823         Add LFUN_FONTFREE_UPDATE.
8824
8825         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8826         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8827
8828         * bufferview_func.[Ch]: several new functions to facilliate
8829         transfer of data to and from the character dialog.
8830
8831 2003-03-12  John Levon  <levon@movementarian.org>
8832
8833         * buffer.C:
8834         * paragraph.h:
8835         * paragraph.C:
8836         * paragraph_funcs.C:
8837         * paragraph_pimpl.C:
8838         * sgml.C:
8839         * tabular.C:
8840         * text.C:
8841         * text3.C: remove META_NEWLINE in favour of an inset
8842
8843         * rowpainter.h:
8844         * rowpainter.C: remove paintNewline (done by inset)
8845
8846 2003-03-12  John Levon  <levon@movementarian.org>
8847
8848         * paragraph_pimpl.C: complain about bad getChar()s
8849         for a while at least
8850
8851 2003-03-12  John Levon  <levon@movementarian.org>
8852
8853         * buffer.h:
8854         * buffer.C: move paragraph read into a separate function,
8855         a little renaming to reflect that.
8856
8857         * bufferparams.h:
8858         * bufferparams.C: remove the author_ids map, not necessary now
8859
8860         * factory.h:
8861         * factory.C: moved Buffer::readInset to here
8862
8863         * paragraph_funcs.h:
8864         * paragraph_funcs.C: readParagraph free function moved from
8865         buffer.C
8866
8867         * tabular.C: name change
8868
8869 2003-03-12  John Levon  <levon@movementarian.org>
8870
8871         * buffer.C:
8872         * ParagraphParameters.C: move par params input to
8873         a read() method
8874
8875         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8876         behave like a normal read from the stream wrt reading
8877         a line vs. a \\token
8878
8879 2003-03-12  John Levon  <levon@movementarian.org>
8880
8881         * paragraph.C:
8882         * ParagraphParameters.h:
8883         * ParagraphParameters.C: move output code to a
8884         ::write() method
8885
8886 2003-03-12  John Levon  <levon@movementarian.org>
8887
8888         * BufferView.C (insertLyXFile):
8889         * buffer.h:
8890         * buffer.C:
8891         * tabular.C: use a parlist iterator for creating the
8892           document.
8893
8894 2003-03-12  John Levon  <levon@movementarian.org>
8895
8896         * buffer.C: make current_change static local not
8897           static file-scope
8898
8899 2003-03-12  John Levon  <levon@movementarian.org>
8900
8901         * buffer.C: fix insertStringAsLines for change tracking
8902
8903 2003-03-12  John Levon  <levon@movementarian.org>
8904
8905         * BufferView.C:
8906         * tabular.C:
8907         * buffer.h:
8908         * buffer.C:
8909         * bufferparams.h:
8910         * bufferparams.C: move author list into params. Rename some
8911           functions. Move the header reading into a separate token
8912           loop. Move the header token reading into BufferParams.
8913
8914 2003-03-12  John Levon  <levon@movementarian.org>
8915
8916         * changes.C: put debug inside lyxerr.debugging() checks
8917
8918 2003-03-11 André Pönitz <poenitz@gmx.net>
8919
8920         * factory.C: make it aware of InsetHFill
8921
8922 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8923
8924         * buffer.C (latexParagraphs): move function from here...
8925         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8926         args.
8927
8928 2003-03-10  Angus Leeming  <leeming@lyx.org>
8929
8930         * LyXAction.C (init): fix bug in poplating array with multiple entries
8931         with the same LFUN (spotted by JMarc).
8932
8933 2003-03-10  John Levon  <levon@movementarian.org>
8934
8935         * text.C:
8936         * text2.C: move getColumnNearX() near its
8937         only call site
8938
8939 2003-03-10  John Levon  <levon@movementarian.org>
8940
8941         * text.C: fix break before a minipage
8942
8943 2003-03-10  John Levon  <levon@movementarian.org>
8944
8945         * text.C: fix the last commit
8946
8947 2003-03-09  John Levon  <levon@movementarian.org>
8948
8949         * lyxtext.h:
8950         * text.C:
8951         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8952         bug 365 (don't break before insets unless needed). Don't
8953         return a value > last under any circumstances.
8954
8955 2003-03-09  Angus Leeming  <leeming@lyx.org>
8956
8957         * BufferView_pimpl.C (trackChanges, dispatch): call
8958         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8959
8960 2003-03-09  Angus Leeming  <leeming@lyx.org>
8961
8962         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8963         than Dialogs::showAboutlyx().
8964
8965 2003-03-09  Angus Leeming  <leeming@lyx.org>
8966
8967         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8968         than Dialogs::showTabularCreate().
8969
8970 2003-03-09  John Levon  <levon@movementarian.org>
8971
8972         * lyxtext.h:
8973         * text.C:
8974         * text2.C: 3rd arg to nextBreakPoint was always the same.
8975           Use references.
8976
8977 2003-03-08  John Levon  <levon@movementarian.org>
8978
8979         * lyxrow.C:
8980         * paragraph.C:
8981         * paragraph.h:
8982         * rowpainter.C:
8983         * text.C:
8984         * text2.C: Remove the "main" bit from the "main body"
8985           notion.
8986
8987 2003-03-08  John Levon  <levon@movementarian.org>
8988
8989         * text.C (leftMargin): The left margin of an empty
8990         manual label paragraph should not include the label width
8991         string length.
8992
8993         * text.C (prepareToPrint): don't attempt to measure hfills
8994         for empty manual label paragraphs - the answer should be 0
8995
8996 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8997
8998         * CutAndPaste.C: remove commented code and reindent.
8999
9000 2003-03-08  John Levon  <levon@movementarian.org>
9001
9002         * lyxfunc.h:
9003         * lyxfunc.C: move reloadBuffer()
9004
9005         * BufferView.h:
9006         * BufferView.C: to here
9007
9008         * lyxvc.C: add comment
9009
9010         * vc-backend.h:
9011         * vc-backend.C: call bv->reload() to avoid
9012           getStatus() check on MENURELOAD
9013
9014 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9015
9016         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9017         to an old format .dep file.
9018
9019 2003-03-07  Angus Leeming  <leeming@lyx.org>
9020
9021         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9022         when the LFUN_MOUSE_RELEASE should have been handled by
9023         inset->localDispatch.
9024
9025 2003-03-07  Angus Leeming  <leeming@lyx.org>
9026
9027         * BufferView_pimpl.C (dispatch):
9028         * LyXAction.C (init):
9029         * ToolbarDefaults.C (init):
9030         * commandtags.h:
9031         * lyxfunc.C (getStatus):
9032         remove LFUN_INSET_GRAPHICS.
9033
9034         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9035
9036 2003-03-07  Angus Leeming  <leeming@lyx.org>
9037
9038         * commandtags.h:
9039         * LyXAction.C (init):
9040         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9041
9042         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9043
9044         * commandtags.h:
9045         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9046
9047         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9048         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9049
9050 2003-03-07  Angus Leeming  <leeming@lyx.org>
9051
9052         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9053         remove "ert".
9054
9055 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9056
9057         * ParagraphList.C (front): new function
9058         (back): implement
9059
9060 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9061
9062         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9063         and top_row_offset_. removed var first_y.
9064         * text.C (top_y):
9065         * text2.C (LyXText, removeRow):
9066         * text3.C:
9067         * BufferView_pimpl.C:
9068         use these methods instead of using first_y
9069
9070 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9071
9072         * text2.C (pasteSelection): adjust for checkPastePossible
9073
9074         * CutAndPaste.C: remove Paragraph * buf and replace with
9075         ParagraphList paragraphs.
9076         (DeleteBuffer): delete
9077         (cutSelection): change the tc type to textclass_type
9078         (copySelection): change the tc type to textclass_type
9079         (copySelection): adjust for ParagraphList
9080         (pasteSelection): change the tc type to textclass_type
9081         (pasteSelection): adjust for Paragraphlist
9082         (nrOfParagraphs): simplify for ParagraphList
9083         (checkPastePossible): simplify for ParagraphList
9084         (checkPastePossible): remove unused arg
9085
9086         * ParagraphList.C (insert): handle the case where there are no
9087         paragraphs yet.
9088
9089         * CutAndPaste.h: make CutAndPaste a namespace.
9090
9091         * text3.C (dispatch): adjust
9092
9093         * text.C (breakParagraph): add a ParagraphList as arg
9094
9095         * paragraph_funcs.C (breakParagraph): change to take a
9096         BufferParams and a ParagraphList as args.
9097         (breakParagraphConservative): ditto
9098         (mergeParagraph): ditto
9099         (TeXDeeper): add a ParagraphList arg
9100         (TeXEnvironment): ditto
9101         (TeXOnePar): ditto
9102
9103         * buffer.C (readLyXformat2): adjust
9104         (insertStringAsLines): adjust
9105         (latexParagraphs): adjust
9106
9107         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9108         (cutSelection): adjust
9109         (pasteSelection): adjust
9110
9111         * BufferView_pimpl.C (insertInset): adjust
9112
9113 2003-03-05  Angus Leeming  <leeming@lyx.org>
9114
9115         * commandtags.h:
9116         * LyXAction.C (init):
9117         * BufferView_pimpl.C (dispatch):
9118         * lyxfunc.C (getStatus):
9119         remove LFUN_CHILD_INSERT.
9120
9121         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9122
9123 2003-03-05  Angus Leeming  <leeming@lyx.org>
9124
9125         * commandtags.h:
9126         * LyXAction.C (init):
9127         * src/factory.C (createInset):
9128         * lyxfunc.C (getStatus):
9129         * text3.C (dispatch):
9130         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9131
9132         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9133
9134 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9135
9136         * ParagraphList.C (insert): handle insert right before end()
9137         (erase): fix cases where it can be first or last paragraph.
9138
9139 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9140
9141         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9142         Paragraph::next and Paragraph::previous
9143         (TeXOnePar): ditto
9144
9145         * text.C (breakParagraph): adjust
9146
9147         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9148         BufferParams& as arg.
9149         (breakParagraph): use ParagraphList::insert
9150         (breakParagraphConservative): take a Buffer* instead of a
9151         BufferParams& as arg.
9152         (breakParagraphConservative): use ParagraphList::insert.
9153
9154         * buffer.C (insertStringAsLines): un-const it
9155         (insertStringAsLines): adjust
9156
9157         * ParagraphList.C (insert): new function
9158
9159         * CutAndPaste.C (pasteSelection): adjust
9160
9161         * text.C (backspace): adjust
9162
9163         * tabular.C (SetMultiColumn): adjust
9164
9165         * CutAndPaste.C (cutSelection): adjust
9166         (pasteSelection): adjust
9167
9168         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9169         Buffer const * as arg
9170
9171         * ParagraphList.C (erase): new function
9172         * paragraph_funcs.C (mergeParagraph): use it
9173         (mergeParagraph): make it take a Buffer* instead of a
9174         BufferParams* as arg
9175
9176         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9177         as arg
9178         (breakParagraphConservative): ditto
9179
9180         * paragraph.h: remove the breakParagraph friend
9181
9182         * paragraph.C (eraseIntern): new function
9183         (setChange): new function
9184
9185         * paragraph_funcs.C (mergeParagraph): make it take a
9186         ParagraphList::iterator instead of a Paragraph *, adjust
9187         accordingly.
9188
9189         * paragraph.h: move an #endif so that the change tracking stuff
9190         also works in the NO_NEXT case.
9191
9192 2003-03-04  Angus Leeming  <leeming@lyx.org>
9193
9194         * commandtags.h:
9195         * LyXAction.C: new LFUN_INSET_MODIFY.
9196
9197         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9198         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9199
9200 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9201
9202         * several files: ws changes only
9203
9204         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9205         (TeXEnvironment): ditto
9206         (TeXDeeper): ditto
9207
9208         * buffer.C (makeLaTeXFile): adjust
9209         (latexParagraphs): make it take ParagraphList::iterator as args
9210
9211 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9212
9213         * buffer.C (latexParagraphs): adjust
9214
9215         * paragraph.C (TeXOnePar): move function...
9216         (optArgInset): move function...
9217         (TeXEnvironment): move function...
9218         * paragraph_pimpl.C (TeXDeeper): move function...
9219         * paragraph_funcs.C: ...here
9220
9221         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9222
9223 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9224
9225         * buffer.C (readInset): remove compability code for old Figure and
9226         InsetInfo insets
9227
9228 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9229
9230         * buffer.C: ws changes
9231         (readInset):
9232
9233         * BufferView_pimpl.C: ditto
9234         * author.C: ditto
9235         * buffer.h: ditto
9236         * bufferlist.h: ditto
9237         * changes.h: ditto
9238         * lyxfunc.C: ditto
9239
9240 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9241
9242         * converter.[Ch]: split into itself +
9243         * graph.[Ch]
9244         * format.[Ch]
9245         * Makefile.am: += graph.[Ch] + format.[Ch]
9246         * MenuBackend.C
9247         * buffer.C
9248         * exporter.C
9249         * importer.C
9250         * lyx_main.C
9251         * lyxfunc.C
9252         * lyxrc.C: added #include "format.h"
9253
9254 2003-02-27  Angus Leeming  <leeming@lyx.org>
9255
9256         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9257           a label.
9258
9259         * factory.C (createInset): add "label" to the factory.
9260
9261         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9262           string and do no more.
9263
9264 2003-02-27  Angus Leeming  <leeming@lyx.org>
9265
9266         * commandtags.h:
9267         * LyXAction.C (init):
9268         * factory.C (createInset):
9269         * BufferView_pimpl.C (dispatch):
9270           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9271
9272         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9273
9274         * lyxfunc.C (dispatch):
9275         * text3.C (dispatch): pass name to params2string.
9276
9277 2003-02-26  Angus Leeming  <leeming@lyx.org>
9278
9279         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9280           blocks together.
9281           Rearrange the ~includes. Strip out the unnecessary ones.
9282
9283         * factory.C (createInset): reformat.
9284           create new insets for the various LFUN_XYZ_APPLY lfuns.
9285
9286 2003-02-26  John Levon  <levon@movementarian.org>
9287
9288         * lyxrow.h:
9289         * lyxrow.C: add isParStart,isParEnd helpers
9290
9291         * paragraph.h: make isInserted/DeletedText take refs
9292
9293         * paragraph_funcs.h:
9294         * paragraph_funcs.C: remove #if 0'd code
9295
9296         * lyxtext.h:
9297         * text3.C:
9298         * text2.C:
9299         * text.C: use lyxrow helpers above.
9300           Move draw and paint routines to RowPainter.
9301           Make several methods use refs not pointers.
9302           Make backgroundColor() const.
9303           Add markChangeInDraw(), isInInset().
9304           Merge changeRegionCase into changeCase.
9305           Make workWidth() shouldn't-happen code into an Assert.
9306
9307         * rowpainter.h:
9308         * rowpainter.C: new class for painting a row.
9309
9310         * vspace.h:
9311         * vspace.C: make inPixels take a ref
9312
9313 2003-02-26  Angus Leeming  <leeming@lyx.org>
9314
9315         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9316         LFUN_REF_APPLY.
9317
9318 2003-02-25  John Levon  <levon@movementarian.org>
9319
9320         * ispell.C: give the forked command a more accurate name
9321
9322 2003-02-22  John Levon  <levon@movementarian.org>
9323
9324         * toc.h:
9325         * toc.C: make TocItem store an id not a Paragraph *
9326           (bug #913)
9327
9328 2003-02-21  Angus Leeming  <leeming@lyx.org>
9329
9330         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9331           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9332           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9333           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9334           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9335           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9336
9337         * BufferView_pimpl.C (dispatch):
9338         * LyXAction.C (init):
9339         * factory.C (createInset):
9340         * lyxfunc.C (getStatus, dispatch):
9341         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9342
9343 2003-02-21  Angus Leeming  <leeming@lyx.org>
9344
9345         * BufferView_pimpl.C (MenuInsertLyXFile):
9346         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9347         * lyxfunc.C (menuNew, open, doImport):
9348           no longer pass a LyXView & to fileDlg.
9349
9350 2003-02-21  Angus Leeming  <leeming@lyx.org>
9351
9352         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9353         * LyXAction.C: change, BIBKEY to BIBITEM.
9354         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9355         Change InsetBibKey to InsetBibitem.
9356         Change BIBKEY_CODE to BIBITEM_CODE.
9357         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9358         * factory.C: replace insetbib.h with insetbibitem.h.
9359         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9360         * paragraph.C: replace insetbib.h with insetbibitem.h.
9361         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9362         Change bibkey() to bibitem().
9363         * text.C: remove insetbib.h.
9364         * text2.C: replace insetbib.h with insetbibitem.h.
9365         change bibkey() to bibitem().
9366         * text3.C: remove insetbib.h.
9367         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9368
9369 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9370
9371         * lyxrc.C (output): enclose user email in quotes (in case there are
9372         several words)
9373
9374 2003-02-18  John Levon  <levon@movementarian.org>
9375
9376         * buffer.h: add std::
9377
9378 2003-02-17  John Levon  <levon@movementarian.org>
9379
9380         * SpellBase.h:
9381         * ispell.h:
9382         * ispell.C:
9383         * pspell.h:
9384         * pspell.C: reworking. Especially in ispell, a large
9385           number of clean ups and bug fixes.
9386
9387         * lyxfunc.C: fix revert to behave sensibly
9388
9389 2003-02-17 André Pönitz <poenitz@gmx.net>
9390
9391         * LyXAction.C:
9392         * commandtags.h: new LFUN_INSERT_BIBKEY
9393
9394         * layout.h:
9395         * lyxlayout.C:
9396         * buffer.C:
9397         * factory.C:
9398         * text.C:
9399         * text2.C:
9400         * text3.C:
9401         * paragraph.[Ch]:
9402         * paragraph_func.C: remove special bibkey handling
9403
9404 2003-02-17  John Levon  <levon@movementarian.org>
9405
9406         * text.C (Delete): fix case where delete at the end of
9407           the very first paragraph would not merge the pars
9408
9409 2003-02-17  John Levon  <levon@movementarian.org>
9410
9411         * lyxrow.C: fix lastPrintablePos()
9412
9413 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9414
9415         * bufferparams.C (writeLaTeX): add a std:here
9416
9417         * buffer.C: and remove a using directive there
9418
9419 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9420
9421         * buffer.C (makeLaTeXFile): move the code that generates the
9422           preamble...
9423
9424         * bufferparams.C (writeLaTeX): ... in this new method
9425
9426         * LaTeXFeatures.C (getEncodingSet): make const
9427           (getLanguages): make const
9428
9429         * MenuBackend.C (binding): returns the binding associated to this
9430           action
9431           (add): sets the status of each item by calling getStatus. Adds
9432           some intelligence.
9433           (read): add support for OptSubMenu
9434           (expand): remove extra separator at the end of expanded menu
9435
9436 2003-02-15  John Levon  <levon@movementarian.org>
9437
9438         * BufferView.C:
9439         * BufferView_pimpl.C:
9440         * bufferlist.h:
9441         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9442           inset code that had no actual effect. Remove unneeded status
9443           code.
9444
9445 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9446
9447         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9448           in preamble
9449
9450 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9451
9452         * text.C (drawLengthMarker): also draw an arrow marker for
9453           symbolic lengths (medskip...)
9454
9455 2003-02-14  John Levon  <levon@movementarian.org>
9456
9457         * tabular.h:
9458         * tabular.C: better method names
9459
9460 2003-02-14  John Levon  <levon@movementarian.org>
9461
9462         * BufferView_pimpl.C:
9463         * bufferlist.C:
9464         * buffer.C:
9465         * converter.C:
9466         * lyx_cb.C:
9467         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9468           it's a more accurate name. Remove some pointless uses.
9469
9470 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9471
9472         * text2.C (LyXText): change order of initilizers to shut off
9473           warnings
9474
9475 2003-02-14  John Levon  <levon@movementarian.org>
9476
9477         * buffer.C: use ParIterator for getParFromID()
9478
9479         * paragraph.h:
9480         * paragraph.C:
9481         * paragraph_pimpl.h:
9482         * paragraph_pimpl.C: remove unused getParFromID()
9483
9484 2003-02-14  John Levon  <levon@movementarian.org>
9485
9486         * buffer.C: remove some very old #if 0'd parse code
9487
9488 2003-02-13  John Levon  <levon@movementarian.org>
9489
9490         * text.h:
9491         * text.C:
9492         * text2.C: move hfillExpansion(), numberOfSeparators(),
9493           rowLast(), rowLastPrintable(), numberofHfills(),
9494           numberOfLabelHfills() ...
9495
9496         * lyxrow.h:
9497         * lyxrow.C: ... to member functions here.
9498
9499         * paragraph.h:
9500         * paragraph.C:
9501         * lyxtext.h:
9502         * text.C: remove LyXText::beginningOfMainBody(), and call
9503           p->beginningOfMainBody() directly. Move the check for
9504           LABEL_MANUAL into the latter.
9505
9506         * text.h:
9507         * text.C:
9508         * text2.C:
9509         * vspace.C:
9510         * BufferView.h:
9511         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9512
9513         * text.h:
9514         * text.C:
9515         * text2.C:
9516         * text3.C:
9517         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9518           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9519
9520 2003-02-13  John Levon  <levon@movementarian.org>
9521
9522         * CutAndPaste.C: remove debug
9523
9524 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9525
9526         * paragraph.C (asString): remove two unused variables
9527
9528         * lyxtextclass.C (readTitleType):
9529           (Read):
9530           (LyXTextClass): handle new members titletype_ and titlename_
9531
9532         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9533
9534 2003-02-09  John Levon  <levon@movementarian.org>
9535
9536         * buffer.h:
9537         * buffer.C: replace hand-coded list with a map for the dep clean
9538
9539 2003-02-08  John Levon  <levon@movementarian.org>
9540
9541         * LaTeX.C: consolidate code into showRunMessage() helper
9542
9543 2003-02-08  John Levon  <levon@movementarian.org>
9544
9545         * lyxfind.C:
9546         * lyxtext.h:
9547         * text2.C:
9548         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9549           and pass the size in explicitly
9550
9551         * BufferView_pimpl.h:
9552         * BufferView_pimpl.C:
9553         * BufferView.h:
9554         * BufferView.C: add getCurrentChange()
9555
9556         * BufferView_pimpl.h:
9557         * BufferView_pimpl.C: handle change lfuns
9558
9559         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9560           for changes. Mark pasted paragraphs as new.
9561
9562         * support/lyxtime.h:
9563         * support/lyxtime.C:
9564         * DepTable.C: abstract time_t as lyx::time_type
9565
9566         * LColor.h:
9567         * LColor.C: add colours for new text, deleted text, changebars
9568
9569         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9570           package use "usenames" option.
9571
9572         * commandtags.h:
9573         * lyxfunc.C:
9574         * LyXAction.C: add change lfuns
9575
9576         * Makefile.am:
9577         * author.h:
9578         * author.C: author handling
9579
9580         * buffer.h:
9581         * buffer.C: add a per-buffer author list, with first entry as
9582           current author. Handle new .lyx tokens for change tracking. Output
9583           author list to .lyx file. Output dvipost stuff to .tex preamble.
9584           Bump lyx format to 222.
9585
9586         * bufferlist.h:
9587         * bufferlist.C: add setCurrentAuthor() to reset current author details
9588           in all buffers.
9589
9590         * bufferparams.h:
9591         * bufferparams.C: add param for tracking
9592
9593         * bufferview_funcs.C: output change info in minibuffer
9594
9595         * Makefile.am:
9596         * changes.h:
9597         * changes.C: add change-tracking structure
9598
9599         * debug.h:
9600         * debug.C: add CHANGES debug flag
9601
9602         * lyxfind.h:
9603         * lyxfind.C: add code for finding the next change piece
9604
9605         * lyxrc.h:
9606         * lyxrc.C: add user_name and user_email
9607
9608         * lyxrow.h:
9609         * lyxrow.C: add a metric for the top of the text line
9610
9611         * lyxtext.h:
9612         * text.C: implement accept/rejectChange()
9613
9614         * lyxtext.h:
9615         * text.C: paint changebars. Paint new/deleted text in the chosen
9616         colours. Strike through deleted text.
9617
9618         * paragraph.h:
9619         * paragraph.C:
9620         * paragraph_pimpl.h:
9621         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9622           in the current change to the insert functions. Rework erase to
9623           mark text as deleted, adding an eraseIntern() and a range-based
9624           erase(). Implement per-paragraph change lookup and
9625           accept/reject.
9626
9627         * paragraph_funcs.C: Fixup paste for change tracking.
9628
9629         * tabular.C: mark added row/columns as new.
9630
9631         * text.C: fix rowLast() to never return -1. Don't allow
9632           spellchecking of deleted text. Track transpose changes. Don't
9633           allow paragraph break or merge where appropriate.
9634
9635         * text2.C: leave cursor at end of selection after a cut.
9636
9637 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9638
9639         * text.C (getLengthMarkerHeight):
9640         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9641         visible on screen too.
9642
9643 2003-02-07  John Levon  <levon@movementarian.org>
9644
9645         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9646
9647 2003-02-05  Angus Leeming  <leeming@lyx.org>
9648
9649         * lyxserver.C (read_ready): revert my patch of 11 September last year
9650         as it sends PC cpu through the roof. Presumably this means that
9651         the lyxserver will no longer run on an Alpha...
9652
9653 2003-01-30  Angus Leeming  <leeming@lyx.org>
9654
9655         * factory.C (createInset): create an InsetCommandParam of type "index"
9656         and use it to 'do the right thing'.
9657
9658         * text2.C (getStringToIndex): ensure that cursor position is always
9659         reset to the reset_cursor position.
9660
9661 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9662
9663         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9664         disabled.
9665
9666 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9667
9668         * bufferview.C:
9669         * lyxcb.C:
9670         * lyxfunc.C: Output messages with identical spelling, punctuation,
9671         and spaces
9672
9673 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9674
9675         * MenuBackend.C (expandFormats): List only viewable export formats
9676         in "View" menu
9677
9678         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9679         message
9680
9681         * lyxfunc.C (getStatus): Make sure that formats other than
9682         "fax" can also be disabled
9683
9684 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9685
9686         * text3.C (dispatch): put the lfuns that insert insets in 3
9687         groups, and call doInsertInset with appropriate arguments.
9688         (doInsertInset): new function, that creates an inset and inserts
9689         it according to some boolean parameters.
9690
9691 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9692
9693         * buffer.C (readFile): remember to pass on 'par' when calling
9694         readFile recursively.
9695
9696 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9697
9698         * MenuBackend.C (expandFormats): add "..." to import formats.
9699
9700 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9701
9702         * paragraph.C (asString): Remove XForms RTL hacks.
9703
9704 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9705         * buffer.C: fix typo
9706
9707 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9708
9709         * Makefile.am (LIBS): delete var
9710         (lyx_LDADD): add @LIBS@ here instead.
9711
9712 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9713
9714         * Clarify the meaning of "wheel mouse jump"
9715
9716 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9717
9718         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9719         tabular in a float
9720
9721 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9722
9723         * importer.C (Loaders): do not preallocate 3 elements in the
9724         vector, since one ends up with 6 elements otherwise
9725
9726 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9727
9728         * DepTable.C (write): write the file name as last element of the
9729         .dep file (because it may contain spaces)
9730         (read): read info in the right order
9731
9732 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9733
9734         * paragraph_pimpl.C (simpleTeXBlanks):
9735         (simpleTeXSpecialChars):
9736         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9737
9738         * tabular.C (latex): add some missing case statements. Reindent.
9739
9740         * MenuBackend.C (expandToc): remove unused variable.
9741
9742 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9743
9744         * LColor.C:
9745         * LaTeX.C:
9746         * LyXAction.C:
9747         * MenuBackend.C:
9748         * buffer.C:
9749         * exporter.C:
9750         * lyxfunc.C:
9751         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9752         and the like.
9753
9754 2003-01-05  John Levon  <levon@movementarian.org>
9755
9756         * BufferView.h:
9757         * BufferView.C: add getEncoding()
9758
9759         * kbsequence.h:
9760         * kbsequence.C: do not store last keypress
9761
9762         * lyxfunc.h:
9763         * lyxfunc.C: store last keypress here instead. Pass encoding
9764           to getISOEncoded()
9765
9766 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9767
9768         * lyx_main.C (init): remove annoying error message when following
9769         symbolic links (bug #780)
9770
9771 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9772
9773         * text.C (insertChar):
9774         * lyxrc.C (getDescription): remove extra spaces
9775
9776 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9777
9778         * lyxrc.C (getDescription): remove extra spaces
9779
9780 2002-12-20  John Levon  <levon@movementarian.org>
9781
9782         * text3.C: hack fix for page up/down across tall rows
9783
9784 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9785
9786         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9787         not been invoked
9788
9789 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9790
9791         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9792         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9793         thesaurus is not compiled in
9794
9795 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9796
9797         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9798
9799 2002-12-16  Angus Leeming  <leeming@lyx.org>
9800
9801         * lyxrc.[Ch]:
9802         * lyx_main.C (init): remove override_x_deadkeys stuff.
9803
9804 2002-12-12  John Levon  <levon@movementarian.org>
9805
9806         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9807           insert. Only remove shift modifier under strict
9808           circumstances.
9809
9810 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9811
9812         * MenuBackend.C (expandToc): fix crash.
9813
9814 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9815
9816         * MenuBackend.C (expandToc): gettext on float names.
9817
9818 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9819
9820         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9821         implement bool empty() [bug 490]
9822
9823 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9824
9825         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9826
9827 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9828
9829         * several files: ws changes
9830
9831 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9832
9833         * text2.C (setCounter): clean up a bit, use boost.format.
9834         (updateCounters): initialize par upon declaration.
9835
9836         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9837         if the layout exists. We do not just store the layout any more.
9838         (SwitchLayoutsBetweenClasses): use boost.format
9839
9840 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9841
9842         * converter.C (convert): if from and to files are the same, use a
9843         temporary files as intermediary
9844
9845 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9846
9847         * commandtags.h:
9848         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9849
9850 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9851
9852         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9853
9854 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9855
9856         * tabular.C (asciiPrintCell): use string(size, char) instead of
9857         explicit loop.
9858
9859         * sgml.C (openTag): fix order of arguments to string constructor
9860         (closeTag): ditto
9861
9862         * lyxfunc.C (dispatch): use boost.format
9863
9864         * lots of files: change "c" -> 'c'
9865
9866 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9867
9868         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9869
9870 2002-11-25  Angus Leeming  <leeming@lyx.org>
9871
9872         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9873
9874         * lyx_main.C (init): compile fix.
9875
9876 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9877
9878         * lyx_cb.C (start): boost.formatify
9879         do not include <iostream>
9880
9881         * lengthcommon.C: ws only
9882
9883         * boost-inst.C,BoostFormat.h: add more explict instantations
9884
9885 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9886
9887         * lots of files: handle USE_BOOST_FORMAT
9888
9889 2002-11-21  John Levon  <levon@movementarian.org>
9890
9891         * pspell.C: fix compile
9892
9893 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9894
9895         * lyxfunc.C (dispatch): use boost::format
9896         (open): ditto
9897         (doImport): ditto
9898
9899         * lyxfont.C (stateText): use boost::format
9900
9901         * lyx_main.C (LyX): use boost::format
9902         (init): ditto
9903         (queryUserLyXDir): ditto
9904         (readRcFile): ditto
9905         (parse_dbg): ditto
9906         (typedef boost::function): use the recommened syntax.
9907
9908         * importer.C (Import): use boost::format
9909
9910         * debug.C (showLevel): use boost::format
9911
9912         * converter.C (view): use boost::format
9913         (convert): ditto
9914         (move): ditto
9915         (scanLog): ditto
9916
9917         * bufferview_funcs.C (currentState): use boost::format
9918
9919         * bufferlist.C (emergencyWrite): use boost::format
9920
9921         * buffer.C (readLyXformat2): use boost::format
9922         (parseSingleLyXformat2Token): ditto
9923
9924         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9925
9926         * LaTeX.C (run): use boost::format
9927
9928         * Chktex.C (scanLogFile): use boost::format
9929
9930         * BufferView_pimpl.C (savePosition): use boost::format
9931         (restorePosition): ditto
9932         (MenuInsertLyXFile): ditto
9933
9934         * BoostFormat.h: help file for explicit instation.
9935
9936 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9937
9938         * tabular.C (latex): Support for block alignment in fixed width
9939         columns.
9940
9941 2002-11-17  John Levon  <levon@movementarian.org>
9942
9943         * BufferView_pimpl.C:
9944         * lyx_cb.C:
9945         * lyxfunc.C: split filedialog into open/save
9946
9947 2002-11-08  Juergen Vigna  <jug@sad.it>
9948
9949         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9950         by my last patch (hopefully).
9951
9952 2002-11-08  John Levon  <levon@movementarian.org>
9953
9954         * iterators.h:
9955         * iterators.C:
9956         * buffer.h:
9957         * buffer.C:
9958         * paragraph.h:
9959         * paragraph.C:
9960         * toc.h:
9961         * toc.C: ParConstIterator, and use it (from Lars)
9962
9963 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9964
9965         * lyxtextclass.[Ch]: revise and add doxygen comments
9966
9967 2002-11-07  John Levon  <levon@movementarian.org>
9968
9969         * text.C: fix progress value for spellchecker
9970
9971         * toc.C: fix navigate menu for insetwrap inside minipage
9972
9973         * paragraph_funcs.C: added FIXME for suspect code
9974
9975 2002-11-07  John Levon  <levon@movementarian.org>
9976
9977         * BufferView_pimpl.C: fix redrawing of insets
9978           on buffer switch
9979
9980 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9981
9982         * text2.C (updateCounters): fix bug 668
9983
9984 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9985
9986         * text3.C (dispatch): Do not make the buffer dirty when moving the
9987         cursor.
9988
9989 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9990
9991         * vc-backend.C: STRCONV
9992         (scanMaster): ditto
9993
9994         * text2.C (setCounter): STRCONV
9995
9996         * paragraph.C (asString): STRCONV
9997
9998         * lyxlength.C (asString): STRCONV
9999         (asLatexString): ditto
10000
10001         * lyxgluelength.C (asString): STRCONV
10002         (asLatexString): ditto
10003
10004         * lyxfunc.C (dispatch): STRCONV
10005         (open): ditto
10006
10007         * lyxfont.C (stateText): STRCONV
10008
10009         * importer.C (Import): STRCONV
10010
10011         * counters.C (labelItem): STRCONV
10012         (numberLabel): ditto
10013         (numberLabel): remove unused ostringstream o
10014
10015         * chset.C: STRCONV
10016         (loadFile): ditto
10017
10018         * bufferview_funcs.C (currentState): STRCONV
10019
10020         * buffer.C (readFile): STRCONV
10021         (asciiParagraph): ditto
10022         (makeLaTeXFile): ditto
10023
10024         * Spacing.C (writeEnvirBegin): STRCONV
10025
10026         * LaTeXFeatures.C (getLanguages): STRCONV
10027         (getPackages): ditto
10028         (getMacros): ditto
10029         (getBabelOptions): ditto
10030         (getTClassPreamble): ditto
10031         (getLyXSGMLEntities): ditto
10032         (getIncludedFiles): ditto
10033
10034         * LaTeX.C: STRCONV
10035         (run): ditto
10036         (scanAuxFile): ditto
10037         (deplog): ditto
10038
10039         * LString.h: add the STRCONV macros
10040
10041         * BufferView_pimpl.C (savePosition): STRCONV
10042         (restorePosition): ditto
10043         (MenuInsertLyXFile): ditto
10044
10045         * vc-backend.C (scanMaster): change from submatch[...] to
10046         submatch.str(...)
10047
10048         * funcrequest.C: include config.h
10049
10050         * factory.C: include config.h
10051
10052         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10053
10054         * box.C: include config.h
10055
10056         * LaTeX.C (scanAuxFile): change from submatch[...] to
10057         submatch.str(...)
10058         (deplog): ditto
10059
10060 2002-10-25  Angus Leeming  <leeming@lyx.org>
10061
10062         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10063
10064         * ispell.[Ch] (setError): new method.
10065         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10066         Use setError() insetead of goto END.
10067
10068         * lyx_cb.C (AutoSave): move out child process into new class
10069         AutoSaveBuffer.
10070
10071 2002-10-30  John Levon  <levon@movementarian.org>
10072
10073         * text3.C: make start appendix undoable
10074
10075 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10076
10077         * lyxlength.C (inPixels): Fix returned value.
10078
10079         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10080         environment.
10081
10082 2002-10-24  Angus Leeming  <leeming@lyx.org>
10083
10084         * lyxgluelength.h: no need to forward declare BufferParams
10085         or BufferView, so don't.
10086
10087 2002-10-21  John Levon  <levon@movementarian.org>
10088
10089         * BufferView.C: menuUndo ->undo, redo
10090
10091         * BufferView.h: document, remove dead, make some methods private
10092
10093         * paragraph_funcs.h:
10094         * paragraph_funcs.C:
10095         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10096
10097         * buffer.h:
10098         * buffer.C:
10099         * sgml.h:
10100         * sgml.C: move sgml open/close tag into sgml.C
10101
10102         * bufferview_funcs.h: unused prototype
10103
10104         * lyxfunc.h:
10105         * lyxfunc.C: remove unused
10106
10107         * lyxtext.h:
10108         * text.C: remove unused
10109
10110 2002-10-21  John Levon  <levon@movementarian.org>
10111
10112         * BufferView.h:
10113         * BufferView.C:
10114         * BufferView_pimpl.h:
10115         * BufferView_pimpl.C: fix mouse wheel handling based on
10116           patch from Darren Freeman
10117
10118 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10119
10120         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10121
10122 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10123
10124         * lyxlength.C (inPixels): Fix hanfling of negative length.
10125         Fix LyXLength::MU case.
10126
10127 2002-10-16  John Levon  <levon@movementarian.org>
10128
10129         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10130
10131 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10132
10133         * converter.C (view): add support for $$i (file name) and $$p
10134         (file path) for the viewer command. If $$i is not specified, then
10135         it is appended to the command (for compatibility with old syntax)
10136
10137 2002-10-14  Juergen Vigna  <jug@sad.it>
10138
10139         * undo_funcs.C (textHandleUndo): alter the order in which the
10140         new undopar is added to the LyXText, as we have to set first
10141         the right prev/next and then add it as otherwise the rebuild of
10142         LyXText is not correct. Also reset the cursor to the right paragraph,
10143         with this IMO we could remove the hack in "redoParagraphs()".
10144
10145 2002-10-09  Angus Leeming  <leeming@lyx.org>
10146
10147         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10148         to turn off an optimisation if a new inset is to be inserted.
10149
10150 2002-10-11 André Pönitz <poenitz@gmx.net>
10151
10152         * lyxtext.h: make some functions public to allow access
10153         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10154
10155 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10156
10157         * text3.C (dispatch): when changing layout, avoid an infinite loop
10158         [bug #652]
10159
10160 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10161
10162         * lyxrc.C (read): treat a viewer or converter command of "none" as
10163         if it were empty.
10164
10165         * MenuBackend.C (expandFormats): for an update, also allow the
10166         formats that are not viewable
10167
10168         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10169         script if it is newer than the lyxrc.defaults in user directory
10170
10171 2002-10-07 André Pönitz <poenitz@gmx.net>
10172
10173         * text.C: Vitaly Lipatov's small i18n fix
10174
10175 2002-09-25  Angus Leeming  <leeming@lyx.org>
10176
10177         * ispell.h: doxygen fix.
10178
10179 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10180
10181         * buffer.h (readFile): Add a new argument to the method, to allow
10182         reading of old-format templates.
10183
10184 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10185
10186         * toc.C (getTocList): Get TOC from InsetWrap.
10187
10188 2002-09-16  John Levon  <levon@movementarian.org>
10189
10190         * lyxfunc.C: check tabular for cut/copy too
10191
10192 2002-09-12  John Levon  <levon@movementarian.org>
10193
10194         * LyXAction.C: tidy
10195
10196         * factory.h:
10197         * factory.C: add header
10198
10199         * paragraph_funcs.h:
10200         * paragraph_funcs.C: cleanup
10201
10202 2002-09-11  John Levon  <levon@movementarian.org>
10203
10204         * PrinterParams.h: odd/even default to true
10205
10206 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10207
10208         * PrinterParams.h: update printer parameters for new xforms dialog
10209
10210 2002-09-11  Angus Leeming  <leeming@lyx.org>
10211
10212         * lyxserver.C (read_ready): re-write to make it more transparent
10213         and to make it work in coherent fashion under Tru64 Unix.
10214
10215 2002-09-11  André Pönitz <poenitz@gmx.net>
10216
10217         * commandtags.h:
10218         * LyXAction.C:
10219         * text3.C: implement LFUN_WORDSEL
10220
10221 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10222
10223         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10224         make floatlist_ a boost::shared_ptr<FloatList>
10225
10226         * lyxtextclass.C: include FloatList.h
10227         (LyXTextClass): initialize floatlist_
10228         (TextClassTags): add TC_NOFLOAT
10229         (Read): match "nofloat" to TC_NOFLOAT and use it.
10230         (readFloat): modify call to floatlist_
10231         (floats): ditto
10232         (floats): ditto
10233
10234         * FloatList.[Ch] (FloatList): remove commented out float
10235         initialization.
10236         (erase): new function
10237
10238 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10239
10240         * MenuBackend.C (expandToc): fix crash when there is no document
10241         open
10242
10243 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10244
10245         * many files: Add insetwrap.
10246
10247 2002-09-09  John Levon  <levon@movementarian.org>
10248
10249         * text2.C: remove confusing and awkward depth wraparound
10250
10251 2002-09-09  John Levon  <levon@movementarian.org>
10252
10253         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10254
10255         * buffer.h:
10256         * buffer.C: remove getIncludeonlyList()
10257
10258         * paragraph.C:
10259         * lyxfunc.C: remove headers
10260
10261 2002-09-09  Juergen Vigna  <jug@sad.it>
10262
10263         * text.C (getColumnNearX): fix form Michael this is most
10264         probably a cut&paste bug.
10265
10266 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10267
10268         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10269
10270         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10271         references, ws changes.
10272
10273         * text2.C (init): update counters after init
10274         (insertParagraph): no need to set counter on idividual paragraphs.
10275         (setCounter): access the counters object in the textclass object
10276         on in the buffer object.
10277         (updateCounters): ditto
10278
10279         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10280         shared_ptr<Counters> to avoid loading counters.h in all
10281         compilation units.
10282         (LyXTextClass): initialize ctrs_
10283         (TextClassTags): add TC_COUNTER, and ...
10284         (Read): use it here.
10285         (CounterTags): new tags
10286         (readCounter): new function
10287         (counters): new funtion
10288         (defaultLayoutName): return a const reference
10289
10290         * counters.C (Counters): remove contructor
10291         (newCounter): remove a couple of unneeded statements.
10292         (newCounter): simplify a bit.
10293         (numberLabel): some small formatting changes.
10294
10295         * buffer.[Ch]: remove all traces of counters, move the Counters
10296         object to the LyXTextClass.
10297
10298 2002-09-06  Alain Castera  <castera@in2p3.fr>
10299
10300         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10301         package to set the horizontal alignment on fixed width columns.
10302
10303         * lyx_sty.C:
10304         * lyx_sty.h: added tabularnewline macro def.
10305
10306         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10307
10308 2002-09-06  John Levon  <levon@movementarian.org>
10309
10310         * LyXAction.C: tooltips for sub/superscript
10311
10312         * MenuBackend.C: a bit more verbose
10313
10314         * lyxfunc.C: tiny clean
10315
10316         * undo_funcs.C: document undo_frozen
10317
10318 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10319
10320         * counters.C (Counters): add missing algorithm counter.
10321
10322         * text2.C (setCounter): lookup the counter with layouts latexname
10323         instead of by section number.
10324         (setCounter): use a hackish way to lookup the correct enum
10325         counter.
10326         a float name->type change
10327         reset enum couners with counter name directly instead of depth value.
10328
10329         * counters.C (Counters): remove the push_backs, change to use the
10330         float type not the float name.
10331         (labelItem): remove unused string, float name->type change
10332
10333         * counters.h: don't include vector, loose the enums and sects vectors
10334
10335 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10336
10337         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10338         (Read): add float->TC_FLOAT to textclassTags
10339         (Read): and handle it in the switch
10340         (readFloat): new function
10341
10342         * FloatList.C (FloatList): comment out the hardcoded float
10343         definitions.
10344
10345         * lyxlayout.h: ws change.
10346
10347 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10348
10349         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10350
10351 2002-09-03  Angus Leeming  <leeming@lyx.org>
10352
10353         * BufferView_pimpl.h: qualified name is not allowed in member
10354         declaration: WorkArea & Pimpl::workarea() const;
10355
10356         * factory.C: added using std::endl directive.
10357
10358         * text3.C: added using std::find and std::vector directives.
10359
10360 2002-08-29  André Pönitz <poenitz@gmx.net>
10361
10362         * lyxtext.h:
10363         * text2.C: remove unused member number_of_rows
10364
10365         * Makefile.am:
10366         * BufferView2.C: remove file, move contents to...
10367         * BufferView.C: ... here
10368
10369         * BufferView_pimpl.C:
10370         * factory.C: move more inset creation to factory
10371
10372         * vspace.C: avoid direct usage of LyXText, ws changes
10373
10374         * BufferView.[Ch]:
10375                 don't provide direct access to WorkArea, use two simple
10376                 acessors haveSelction() and workHeight() instead
10377
10378
10379 2002-08-29  John Levon  <levon@movementarian.org>
10380
10381         * BufferView_pimpl.C (dispatch): do not continue when
10382           no buffer
10383
10384 2002-08-28  André Pönitz <poenitz@gmx.net>
10385
10386         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10387
10388         * BufferView.h:
10389         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10390
10391 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10392
10393         * buffer.C: increment LYX_FORMAT to 221
10394
10395         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10396         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10397
10398         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10399
10400         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10401
10402 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10403
10404         * factory.C (createInset): use LyXTextClass::floats
10405
10406         * MenuBackend.C (expandFloatListInsert):
10407         (expandFloatInsert):
10408         (expandToc):
10409
10410         * text2.C (setCounter):
10411
10412         * LaTeXFeatures.C (useFloat):
10413         (getFloatDefinitions):
10414
10415         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10416
10417         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10418         floatlist_, with accessor floats().
10419
10420         * FloatList.h: remove global FloatList
10421
10422 2002-08-26  André Pönitz <poenitz@gmx.net>
10423
10424         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10425
10426         * BufferView.h:
10427         * BufferView2.C:
10428         * BufferView_pimpl.C:
10429         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10430
10431 2002-08-25  John Levon  <levon@movementarian.org>
10432
10433         * LyXAction.C: fix margin note description
10434
10435 2002-08-24  John Levon  <levon@movementarian.org>
10436
10437         * buffer.C:
10438         * bufferlist.C:
10439         * bufferview_funcs.C:
10440         * lyxfont.C:
10441         * undo_funcs.C: cleanups
10442
10443         * lyxfunc.C: disable CUT/COPY when no selection
10444
10445 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10446
10447         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10448         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10449
10450         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10451         Add backward compatibility to "mono", "gray" and "no".
10452
10453 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10454
10455         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10456         (and file_format >= 200).
10457
10458 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10459
10460         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10461
10462 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10463
10464         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10465
10466 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10467
10468         * BufferView_pimpl.C:
10469         * LyXAction.C:
10470         * buffer.C:
10471         * commandtags.h:
10472         * lyxfunc.C:
10473         * paragraph.[Ch]:
10474         * text2.C:
10475         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10476         inset and code to make it  work with the paragraph code. The inset
10477         can be anywhere in the paragraph, but will only do the expected
10478         thing in LaTeX if the layout file contains the parameter line
10479                         OptionalArgs    1
10480         (or more generally, a nonzero value) for that layout.
10481
10482 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10483
10484         * paragraph.h: remove the declaration of undefined counters class
10485         function.
10486
10487 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10488
10489         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10490         Dr. Richard Hawkins.
10491
10492 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10493
10494         * paragraph_funcs.h: remove some unneeded includes
10495
10496         * text.C (backspace): pasteParagraph now in global scipe
10497
10498         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10499         (pasteSelection): ditto
10500
10501         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10502         * paragraph_funcs.C (pasteParagraph): ... here
10503
10504 2002-08-20  André Pönitz <poenitz@gmx.net>
10505
10506         * commandtags.h: new LFUNs for swapping/copying table row/colums
10507
10508         * LyXAction.C:
10509         * lyxfunc.C: support for new lfuns
10510
10511 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10512
10513         * tabular.C:
10514         * buffer.[Ch]: remove NO_COMPABILITY stuff
10515
10516 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10517
10518         * boost.C (throw_exception): new file, with helper function for
10519         boost compiled without exceptions.
10520
10521         * paragraph.h:
10522         * lyxlength.C:
10523         * buffer.C:
10524         * ParameterStruct.h:
10525         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10526
10527         * bufferlist.C (emergencyWriteAll): use boost bind
10528
10529         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10530
10531         * text.C: include paragraph_funcs.h
10532         (breakParagraph): breakParagraph is now in global scope
10533
10534         * paragraph_funcs.[Ch]: new files
10535
10536         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10537         global scope
10538
10539         * buffer.C: include paragraph_funcs.h
10540         (insertStringAsLines): breakParagraph is now in global scope
10541
10542         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10543         paragraph_funcs.C
10544
10545         * CutAndPaste.C: include paragraph_funcs.h
10546         (cutSelection): breakParagraphConservative is now in global scope
10547         (pasteSelection): ditto
10548
10549         * buffer.h: declare oprator== and operator!= for
10550         Buffer::inset_iterator
10551
10552         * bufferlist.C (emergencyWrite): don't use fmt(...)
10553
10554         * text3.C: add using std::endl
10555
10556         * BufferView.C (moveCursorUpdate): remove default arg
10557
10558 2002-08-20  André Pönitz <poenitz@gmx.net>
10559
10560         * buffer.[Ch]: move inline functions to .C
10561
10562         * BufferView2.C:
10563         * BufferView_pimpl.C:
10564         * text.C:
10565         * buffer.[Ch]: use improved inset_iterator
10566
10567         * buffer.C:
10568         * paragraph.[Ch]: write one paragraph at a time
10569
10570 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10571
10572         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10573         style if style is not specified.
10574
10575 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10576
10577         * text2.C (setCounter): when searching for right label for a
10578         caption, make sure to recurse to parent insets (so that a caption
10579         in a minipage in a figure float works) (bug #568)
10580
10581 2002-08-20  André Pönitz <poenitz@gmx.net>
10582
10583         * text3.C: new file for LyXText::dispatch() and helpers
10584
10585         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10586
10587         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10588
10589 2002-08-19  André Pönitz <poenitz@gmx.net>
10590
10591         * lyxtext.h:
10592         * text.C: new LyXText::dispatch()
10593
10594         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10595
10596 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10597
10598         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10599
10600         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10601         Hebrew text.
10602
10603 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10604
10605         * Makefile.am: use $(variables) instead of @substitutions@
10606
10607 2002-08-15  André Pönitz <poenitz@gmx.net>
10608
10609         * lyxfunc.C:
10610         * BufferView_pimpl.C: streamlining mathed <-> outer world
10611         interaction
10612
10613         * commandtags.h:
10614         * LyXAction.C: remove unused LFUN_MATH
10615
10616 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10617
10618         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10619
10620 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10621
10622         * paragraph.C (Paragraph): reformat a bit
10623         (cutIntoMinibuffer): use builtin InsetList function instad of
10624         doing it manually.
10625         (getInset): ditto
10626
10627         * buffer.C: include boost/bind.hpp, add using std::for_each
10628         (writeFileAscii): use ParagraphList iterators
10629         (validate): use for_each for validate traversal of paragraphs
10630         (getBibkeyList): use ParagraphList iterators
10631         (resizeInsets): use for_each to resizeInsetsLyXText for all
10632         paragraphs.
10633         (getParFromID): use ParagraphList iterators
10634
10635         * BufferView2.C (lockInset): use paragraph list and iterators
10636
10637 2002-08-14  John Levon  <levon@movementarian.org>
10638
10639         * lyxserver.C: remove spurious xforms include
10640
10641 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10642
10643         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10644
10645 2002-08-13  André Pönitz <poenitz@gmx.net>
10646
10647         * LyXAction.[Ch]:
10648         * lyxfunc.C: further cleaning
10649
10650 2002-08-13  André Pönitz <poenitz@gmx.net>
10651
10652         * funcrequest.h: new constructor
10653
10654         * funcrequest.C: move stuff here from .h
10655
10656         * Makefile.am:
10657         * BufferView_pimpl.C:
10658         * LyXAction.C:
10659         * toc.C:
10660         * lyxfunc.C: subsequent changes
10661
10662         * lyxfunc.h: new view() member function
10663
10664         * lyxfunc.C: subsequent changes
10665
10666 2002-08-13  Angus Leeming  <leeming@lyx.org>
10667
10668         * BufferView2.C:
10669         * BufferView_pimpl.C:
10670         * buffer.C:
10671         * converter.C:
10672         * importer.C:
10673         * lyxfunc.C:
10674         * lyxvc.C:
10675         * toc.C:
10676         * vc-backend.C:
10677         changes due to the changed LyXView interface that now returns references
10678         to member variables not pointers.
10679
10680 2002-08-13  Angus Leeming  <leeming@lyx.org>
10681
10682         * WordLangTuple (word, lang_code): return references to strings,
10683         not strings.
10684
10685         * BufferView.h:
10686         * SpellBase.h:
10687         * lyxtext.h: forward-declare WordLangTuple.
10688
10689         * BufferView2.C:
10690         * ispell.C:
10691         * pspell.C:
10692         * text.C: #include "WordLangTuple.h".
10693
10694         * lyxtext.h:
10695         * text.C: (selectNextWordToSpellcheck): constify return type.
10696
10697 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10698
10699         * buffer.C:
10700         * buffer.h:
10701         * lyxtext.h:
10702         * paragraph.C:
10703         * paragraph_pimpl.h:
10704         * text.C:
10705         * text2.C:
10706         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10707         suggested by Angus.
10708         Made updateCounter always count from start of buffer, and removed
10709         second argument (par).
10710         Reverted floats number display to '#'. Perhaps I'll try again when the
10711         code base is sanitized a bit.
10712
10713 2002-08-12  Angus Leeming  <leeming@lyx.org>
10714
10715         * buffer.[Ch] (getLabelList): constify.
10716
10717 2002-08-07  André Pönitz <poenitz@gmx.net>
10718
10719         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10720
10721         * funcrequest.h: extension to keep mouse (x,y) position
10722
10723 2002-08-12  Juergen Vigna  <jug@sad.it>
10724
10725         * BufferView2.C (insertErrors): forbid undo when inserting error
10726         insets.
10727
10728         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10729
10730 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10731
10732         * ParagraphList.[Ch]: new files
10733
10734         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10735
10736         * BufferView2.C (lockInset): ParagraphList changes
10737         * toc.C: ditto
10738         * text2.C: ditto
10739         * bufferlist.C: ditto
10740         * buffer.h: ditto
10741         * buffer.C: ditto
10742
10743 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10744
10745         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10746         unused class variable counter_,
10747
10748         * paragraph.[Ch] (getFirstCounter): delete unused function
10749
10750         * counters.C: include LAssert.h
10751         (reset): add a new function with no arg, change other version to
10752         not have def. arg and to not allow empty arg.
10753
10754         * text2.C (setCounter): remove empty arg from call to Counters::reset
10755
10756 2002-08-11  John Levon  <levon@movementarian.org>
10757
10758         * Makefile.am: add WordLangTuple.h
10759
10760 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10761
10762         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10763         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10764
10765         * insets/insettext.C: InsetList changes
10766
10767         * graphics/GraphicsSupport.C (operator()): InsetList changes
10768
10769         * toc.C (getTocList): InsetList changes
10770
10771         * paragraph_pimpl.[Ch]: InsetList changes
10772
10773         * paragraph.[Ch]: InsetList changes
10774
10775         * buffer.C (inset_iterator): InsetList changes
10776         (setParagraph): ditto
10777         * buffer.h (inset_iterator): ditto
10778         * iterators.C (operator++): ditto
10779         * iterators.h: ditto
10780
10781         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10782
10783         * InsetList.[Ch]: new files, most InsetList handling moved out of
10784         paragraph.C.
10785
10786         * BufferView2.C (removeAutoInsets): InsetList changes
10787         (lockInset): ditto
10788         (ChangeInsets): ditto
10789
10790 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10791
10792         * paragraph_pimpl.h (empty): new function
10793
10794         * paragraph.[Ch] (empty): new function
10795
10796         * other files: use the new Paragraph::empty function
10797
10798 2002-08-09  John Levon  <levon@movementarian.org>
10799
10800         * lyxtext.h: remove unused refresh_height
10801
10802 2002-08-09  John Levon  <levon@movementarian.org>
10803
10804         * Makefile.am:
10805         * sgml.h:
10806         * sgml.C:
10807         * buffer.C:
10808         * paragraph.h:
10809         * paragraph.C: move sgml char escaping out of paragraph
10810
10811         * paragraph.h:
10812         * paragraph.C: remove id setter
10813
10814         * buffer.C:
10815         * paragraph.C:
10816         * paragraph_pimpl.C: remove dead tex_code_break_column
10817
10818         * bufferview_funcs.C: small cleanup
10819
10820         * lyxfunc.C: remove dead proto
10821
10822         * lyxtext.h: make some stuff private. Remove some dead stuff.
10823
10824         * lyxgluelength.C: make as[LyX]String() readable
10825
10826 2002-08-08  John Levon  <levon@movementarian.org>
10827
10828         * LyXAction.h:
10829         * LyXAction.C:
10830         * MenuBackend.C:
10831         * ToolbarDefaults.C:
10832         * lyxfunc.C:
10833         * lyxrc.C:
10834         * toc.C: lyxaction cleanup
10835
10836 2002-08-08  John Levon  <levon@movementarian.org>
10837
10838         * BufferView2.C: small cleanup
10839
10840         * lyxfind.h:
10841         * lyxfind.C: move unnecessary header into the .C
10842
10843 2002-08-08  John Levon  <levon@movementarian.org>
10844
10845         * funcrequest.h: just tedious nonsense
10846
10847         * lyx_main.h:
10848         * lyx_main.C: cleanups
10849
10850         * buffer.C:
10851         * vspace.C: remove dead header lyx_main.h
10852
10853 2002-08-07  Angus Leeming  <leeming@lyx.org>
10854
10855         * Paragraph.[Ch]:
10856         * paragraph_pimpl.h:
10857         Forward declare class Counters in paragraph.h by moving the ctrs member
10858         variable into Paragraph::Pimpl.
10859         (counters): new method, returning a reference to pimpl_->ctrs.
10860
10861         * text2.C: ensuing changes.
10862
10863 2002-08-07  John Levon  <levon@movementarian.org>
10864
10865         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10866
10867         * BufferView_pimpl.C: announce X selection on double/triple
10868           click
10869
10870         * lyx_main.C: use correct bool in batch dispatch
10871
10872         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10873
10874 2002-08-07  André Pönitz <poenitz@gmx.net>
10875
10876         * funcrequest.h: new class to wrap a kb_action and its argument
10877
10878         * BufferView.[Ch]:
10879         * BufferView_pimpl[Ch]:
10880         * LaTeX.C:
10881         * LyXAction.[Ch]:
10882         * lyxfunc.[Ch]:
10883         * lyxrc.C: subsequent changes
10884
10885
10886 2002-08-07  John Levon  <levon@movementarian.org>
10887
10888         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10889           document options change.
10890
10891 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10892
10893         * counters.[Ch]
10894         * text2.C
10895         * paragraph.[Ch]
10896         * makefile.am: move counters functionality over from
10897         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10898
10899 2002-08-06  John Levon  <levon@movementarian.org>
10900
10901         * WordLangTuple.h: new file for word + language code tuple
10902
10903         * SpellBase.h:
10904         * pspell.h:
10905         * pspell.C:
10906         * ispell.h:
10907         * ispell.C:
10908         * lyxtext.h:
10909         * text.C:
10910         * text2.C:
10911         * BufferView.h:
10912         * BufferView2.C: use WordLangTuple
10913
10914         * layout.h:
10915         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10916
10917 2002-08-06  John Levon  <levon@movementarian.org>
10918
10919         * lyx_main.C: fix cmdline batch handling
10920
10921 2002-08-06  André Pönitz <poenitz@gmx.net>
10922
10923         * lyxrc.C: set default for show_banner to true
10924
10925 2002-08-06  John Levon  <levon@movementarian.org>
10926
10927         * pspell.C: fix a crash, and allow new aspell to work
10928
10929 2002-08-06  John Levon  <levon@movementarian.org>
10930
10931         * lyxfunc.C:
10932         * kbmap.C: small cleanup
10933
10934         * vspace.h:
10935         * vspace.C: add const
10936
10937 2002-08-05  John Levon  <levon@movementarian.org>
10938
10939         * LyXAction.C: back to tabular-insert
10940
10941 2002-08-04  John Levon  <levon@movementarian.org>
10942
10943         * BufferView.h:
10944         * BufferView.C: cosmetic change
10945
10946         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10947
10948         * bufferlist.C:
10949         * buffer.h:
10950         * buffer.C:
10951         * lyxcb.h:
10952         * lyxcb.C:
10953         * lyxserver.C:
10954         * lyxvc.C:
10955         * vc-backend.C:
10956         * BufferView2.C: purge all "Lyx" not "LyX" strings
10957
10958         * lyxcursor.h:
10959         * lyxcursor.C: attempt to add some documentation
10960
10961         * lyxfunc.C:
10962         * commandtags.h:
10963         * LyXAction.C:
10964         * ToolbarDefaults.C:
10965         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10966           merge with LFUN_TABULAR_INSERT
10967
10968         * Makefile.am:
10969         * SpellBase.h:
10970         * ispell.h:
10971         * ispell.C:
10972         * pspell.h:
10973         * pspell.C: split up i/pspell implementations into separate
10974           files, many cleanups
10975
10976         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10977
10978         * text2.C: some cleanup
10979
10980         * lyxfunc.C: don't check for isp_command == "none" any more, it
10981           didn't make any sense
10982
10983 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10984
10985         * counters.[Ch]
10986         * text2.C
10987         * paragraph.[Ch]
10988         * makefile.am: move counters functionality over
10989         from text2.C/paragraph.[Ch] to counters.[Ch], and
10990         make proper C++.
10991 2002-08-02  John Levon  <levon@movementarian.org>
10992
10993         * buffer.C: s/lyxconvert/lyx2lyx/
10994
10995 2002-08-02  Angus Leeming  <leeming@lyx.org>
10996
10997         * lyxlex.C: revert John's change as it breaks reading of the user
10998         preamble.
10999
11000 2002-08-02  Angus Leeming  <leeming@lyx.org>
11001
11002         * importer.C (Import):
11003         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11004         changes due to LyXView::view() now returning a boost::shared_ptr.
11005
11006 2002-08-02  John Levon  <levon@movementarian.org>
11007
11008         * lyxlex.C: small cleanup
11009
11010 2002-08-02  John Levon  <levon@movementarian.org>
11011
11012         * text2.C (status): small cleanup, no logic change
11013
11014 2002-08-01  John Levon  <levon@movementarian.org>
11015
11016         * buffer.h:
11017         * buffer.C (writeFile): don't output alerts, caller
11018           handles this
11019
11020         * bufferlist.C:
11021         * lyx_cb.C: from above
11022
11023         * lyxfunc.C: allow to open non-existent files
11024
11025 2002-07-31  John Levon  <levon@movementarian.org>
11026
11027         * lyxserver.C: don't let incidental errors get
11028           in the way (errno)
11029
11030 2002-07-30  John Levon  <levon@movementarian.org>
11031
11032         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11033
11034 2002-07-30  John Levon  <levon@movementarian.org>
11035
11036         * lyxserver.h:
11037         * lyxserver.C: remove I/O callback too
11038
11039 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11040
11041         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11042         log.
11043
11044 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11045
11046         * many files: strip,frontStrip -> trim,ltrim,rtrim
11047
11048 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11049
11050         * PrinterParams.h: remove extern containsOnly, and include
11051         support/lstrings.h instead.
11052
11053         * LaTeX.C (scanAuxFile): modify because of strip changes
11054         (deplog): ditto
11055         * buffer.C (makeLaTeXFile): ditto
11056         * bufferparams.C (writeFile): ditt
11057         * lyxfont.C (stateText): ditto
11058         * lyxserver.C (read_ready): ditto
11059         * vc-backend.C (scanMaster): ditto
11060
11061         * BufferView_pimpl.h: ws changes
11062
11063         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11064
11065 2002-07-26  André Pönitz <poenitz@gmx.net>
11066
11067         * kb_sequence.C: remove unnedred usings
11068
11069 2002-07-26  Juergen Vigna  <jug@sad.it>
11070
11071         * lyxfind.C (LyXReplace): we have to check better if the returned
11072         text is not of theLockingInset()->getLockingInset().
11073
11074 2002-07-25  Juergen Vigna  <jug@sad.it>
11075
11076         * lyxfind.C (LyXReplace): don't replace if we don't get the
11077         right LyXText.
11078
11079         * undo_funcs.C (createUndo): remove debugging code.
11080
11081 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11082
11083         * buffer.C (parseSingleLyXformat2Token): Use default placement
11084         when reading old floats.
11085
11086         * FloatList.C (FloatList): Change the default placement of figure
11087         and tables to "tbp".
11088
11089 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11090
11091         * MenuBackend.C: using std::max
11092
11093 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11094
11095         * MenuBackend.C (expandToc):
11096         (expandToc2): code moved from xforms menu frontend. It is now
11097         generic and TOCs are transparent to menu frontends.
11098
11099 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11100
11101         * toc.C (getTocList): protect against buf=0
11102
11103         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11104         Menu as first parameter. Now, this calls itself recursively to
11105         expand a whole tree (this will be useful for TOC handling)
11106         (expandFloatInsert): remove 'wide' version of floats
11107
11108         * MenuBackend.h (submenuname): returns the name of the submenu.
11109         (submenu): returns the submenu itself, provided it has been
11110         created by MenuBackend::expand
11111
11112 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11113
11114         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11115         insets which have noFontChange == true. (bug #172)
11116
11117 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11118
11119         * BufferView_pimpl.C: add connection objects and use them...
11120         (Pimpl): here.
11121
11122 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11123
11124         * MenuBackend.C (expandLastfiles):
11125         (expandDocuments):
11126         (expandFormats):
11127         (expandFloatListInsert):
11128         (expandFloatInsert):
11129         (expand): split expand in parts
11130
11131 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11132
11133         * lyx_gui.C: use lyx_gui::exit()
11134
11135 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11136
11137         * LyXAction.C: show the failing pseudo action
11138
11139 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11140
11141         * buffer.C (readFile): Run the lyxconvert script in order to read
11142         old files.
11143
11144 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11145
11146         * LyXAction.C:
11147         * commandtags.h:
11148         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11149
11150 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11151
11152         * LyXAction.C:
11153         * commandtags.h:
11154         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11155
11156 2002-07-22  Herbert Voss  <voss@lyx.org>
11157
11158         * lengthcommon.C:
11159         * lyxlength.[Ch]: add support for the vertical lengths
11160
11161 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11162
11163         * toc.[Ch]: std:: fixes
11164
11165 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11166
11167         * lyxrc.C: do not include lyx_main.h
11168
11169         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11170         for layouts
11171
11172         * lyxrc.C:
11173         * encoding.C:
11174         * bufferlist.C:
11175         * BufferView2.C: include "lyxlex.h"
11176
11177         * tabular.h:
11178         * bufferparams.h: do not #include "lyxlex.h"
11179
11180         * lyxtextclasslist.C (Add): remove method
11181         (classlist): renamed to classlist_
11182
11183         * paragraph_pimpl.C:
11184         * paragraph.C:
11185         * text2.C:
11186         * CutAndPaste.C:
11187         * bufferview_funcs.C:
11188         * bufferlist.C:
11189         * text.C:
11190         * LaTeXFeatures.C:
11191         * buffer.C:
11192         * toc.C (getTocList): use BufferParams::getLyXTextClass
11193
11194         * toc.C (getTocList): use InsetFloat::addToToc
11195
11196         * toc.[Ch]: new files, containing helper functions to handle table
11197         of contents
11198
11199         * lyxfunc.C (dispatch): no need to remove spaces around command
11200         given as a string
11201         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11202         first command of the sequence; it is not very clever, but I do not
11203         have a better idea, actually
11204
11205         * LyXAction.C (LookupFunc): make sure to remove space at the
11206         beginning and end of the command
11207
11208 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11209
11210         * MenuBackend.C (getMenubar): new method: return the menubar of
11211         this menu set
11212         (read): treat differently reading of menu and menubar (in
11213         particular, the menubar has no name now)
11214         (Menu::menubar): remove
11215
11216         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11217         saving is finished
11218
11219 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11220
11221         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11222         a bibitem inset in a RTL paragraph.
11223
11224 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11225
11226         * paragraph_pimpl.C: constify
11227
11228         * BufferView_pimpl.C:
11229         * LaTeX.C:
11230         * lyxfunc.C: fix dispatch in a nicer way
11231
11232 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11233
11234         * lyxfunc.C (dispatch):
11235         * BufferView_pimpl.C:
11236         * BufferView_pimpl.h:
11237         * BufferView.C:
11238         * BufferView.h: rename Dispatch() to dispatch()
11239
11240         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11241
11242         * lyxlayout.C (Read): honor DependsOn tag
11243
11244         * lyxlayout.[Ch] (depends_on): new method
11245
11246         * version.C.in: update lyx_docversion
11247
11248         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11249
11250         * paragraph.C (validate): remove from here...
11251         * paragraph_pimpl.C (validate): ... and move here
11252         (isTextAt): make it const
11253
11254         * buffer.C (getLists): ws cleanup
11255
11256 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11257
11258         * language.C (read): Use iso8859-1 encoding in latex_lang
11259         (this prevents LyX from crashing when using iso10646-1 encoding).
11260
11261 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11262
11263         * text2.C (toggleInset): if cursor is inside an inset, close the
11264         inset and leave cursor _after_ it
11265
11266 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11267
11268         * lyxfunc.C: move minibuffer completion handling out of here
11269
11270 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11271
11272         * BufferView_pimpl.C:
11273         * LaTeX.C: fix dispatch calls
11274
11275 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11276
11277         * text.C (drawChars): Fix Arabic text rendering.
11278
11279 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11280
11281         * LyXAction.C:
11282         * commandtags.h:
11283         * lyxfunc.C: remove message-push/pop
11284
11285         * lyxserver.C:
11286         * lyxfunc.h:
11287         * lyxfunc.C: rationalise some code by removing verboseDispatch
11288           in favour of a bool argument to dispatch()
11289
11290 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11291
11292         * lyx_main.C (init): make sure to read symlinks as absolute paths
11293
11294 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11295
11296         * lyxfunc.h:
11297         * lyxfunc.C: no need for commandshortcut to be a member
11298
11299 2002-07-15  André Pönitz <poenitz@gmx.net>
11300
11301         * converter.C: add support for $$s (scripts from lib/scripts dir)
11302         * lyx_main.C: white space
11303
11304 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11305
11306         * bufferlist.C:
11307         * lyxrc.h:
11308         * lyxrc.C: remove second exit confirmation
11309
11310 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11311
11312         * BufferView.h:
11313         * BufferView.C:
11314         * BufferView2.C:
11315         * BufferView_pimpl.h:
11316         * BufferView_pimpl.C:
11317         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11318
11319 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11320
11321         * MenuBackend.C (expand): add numeric shortcuts to document menu
11322
11323         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11324
11325 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11326
11327         * lyxfont.C (setLyXFamily):
11328         (setLyXSeries):
11329         (setLyXShape):
11330         (setLyXSize):
11331         (setLyXMisc):
11332         (lyxRead):
11333         * debug.C (value):
11334         * buffer.C (asciiParagraph): use ascii_lowercase
11335
11336 2002-07-15  Mike Fabian  <mfabian@suse.de>
11337
11338         * lyxlex_pimpl.C (search_kw):
11339         * lyxlex.C (getLongString):
11340         * converter.h (operator<):
11341         * converter.C (operator<):
11342         * buffer.C (parseSingleLyXformat2Token):
11343         (asciiParagraph):
11344         * ToolbarDefaults.C (read):
11345         * MenuBackend.C (checkShortcuts):
11346         (read):
11347         * LColor.C (getFromGUIName):
11348         (getFromLyXName): use the compare_ascii_no_case instead of
11349         compare_no_case, because in turkish, 'i' is not the lowercase
11350         version of 'I', and thus turkish locale breaks parsing of tags.
11351
11352 2002-07-16  Angus Leeming  <leeming@lyx.org>
11353
11354         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11355         now takes a Buffer const & argument.
11356
11357 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11358
11359         * BufferView.C (resize): check there's a buffer to resize
11360
11361 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11362
11363         * lyxfunc.C: remove dead code
11364
11365         * lyxserver.h:
11366         * lyxserver.C: use lyx_guii::set_read_callback
11367
11368 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11369
11370         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11371         an inset in a RTL paragraph.
11372
11373 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11374
11375         * lyxfunc.C: repaint after a font size update
11376
11377 2002-07-15  André Pönitz <poenitz@gmx.net>
11378
11379         * lyxlength.C: inBP should be able to return negative values
11380
11381 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11382
11383         * lyxfunc.C: use lyx_gui::update_fonts()
11384
11385 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11386
11387         * lyxfunc.C: use lyx_gui::update_color()
11388
11389 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11390
11391         * bufferlist.C:
11392         * lyxfunc.h:
11393         * lyxfunc.C:
11394         * lyxrc.h:
11395         * lyxrc.C: remove file->new asks for name option, and let
11396           buffer-new take an argument
11397
11398 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11399
11400         * BufferView_pimpl.C: remove unneeded extra repaint()
11401
11402 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11403
11404         * LyXAction.C: allow command-sequence with NoBuffer
11405
11406         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11407
11408 2002-07-10  Angus Leeming  <leeming@lyx.org>
11409
11410         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11411
11412 2002-07-09  Angus Leeming  <leeming@lyx.org>
11413
11414         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11415
11416 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11417
11418         * lengthcommon.h: whitespace
11419
11420         * lyxfunc.C: update scrollbar after goto paragraph
11421
11422         * lyxtext.h: factor out page break drawing, and fix it so
11423           page break/added space paints as selected nicely
11424
11425 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11426
11427         * BufferView_pimpl.C: add FIXMEs, clean up a little
11428
11429 2002-07-09  André Pönitz <poenitz@gmx.net>
11430
11431         * lyxfont.[Ch]: support for wasy symbols
11432
11433 2002-07-08  André Pönitz <poenitz@gmx.net>
11434
11435         * BufferView_pimpl.C: apply John's patch for #93.
11436
11437 2002-07-05  Angus Leeming  <leeming@lyx.org>
11438
11439         * BufferView_pimpl.C (buffer): generate previews if desired.
11440
11441         * LColor.h: add "preview" to the color enum.
11442
11443         * LColor.C (LColor): add a corresponding entry to the items array.
11444
11445         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11446         with this buffer.
11447
11448 2002-07-05  Angus Leeming  <leeming@lyx.org>
11449
11450         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11451         The body of the code is now in the method that is passed an ostream &
11452         rather than a file name.
11453         Pass an additional only_preamble parameter, useful for the forthcoming
11454         preview stuff.
11455
11456 2002-07-03  André Pönitz <poenitz@gmx.net>
11457
11458         * lyxfunc.C: simplify getStatus() a bit for math stuff
11459
11460 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11461
11462         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11463
11464 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11465
11466         * text.C (changeRegionCase): do not change case of all the
11467         document when region ends at paragraph end (bug #461)
11468
11469 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11470
11471         * paragraph.C (startTeXParParams):
11472         (endTeXParParams): add \protect when necessary
11473
11474 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11475
11476         * BufferView_pimpl.C (workAreaExpose): remove warning
11477
11478 2002-06-27  Angus Leeming  <leeming@lyx.org>
11479
11480         * Makefile.am: add lyxlayout_ptr_fwd.h.
11481
11482 2002-06-26  André Pönitz <poenitz@gmx.net>
11483
11484         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11485
11486 2002-06-25  Angus Leeming  <leeming@lyx.org>
11487
11488         * lyxfunc.C (dispatch): Comment out the call to
11489         grfx::GCache::changeDisplay. The method no longer exists now that the
11490         pixmap generation part of the graphics loader has been moved into
11491         InsetGraphics.
11492
11493 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11494
11495         * text2.C: layout as layout
11496
11497         * text.C: layout as layout
11498
11499         * tabular.C (OldFormatRead): layout as layout
11500
11501         * paragraph_pimpl.C (TeXDeeper): layout as layout
11502         (realizeFont): layout as layout
11503
11504         * paragraph.C (writeFile): layout as layout
11505         (validate): layout as layout
11506         (getFont): layout as layout
11507         (getLabelFont): layout as layout
11508         (getLayoutFont): layout as layout
11509         (breakParagraph): layout as layout
11510         (stripLeadingSpaces): layout as layout
11511         (getEndLabel): layout as layout
11512         (getMaxDepthAfter): layout as layout
11513         (applyLayout): layout as layout
11514         (TeXOnePar): layout as layout
11515         (simpleTeXOnePar): layout as layout
11516         (TeXEnvironment): layout as layout
11517         (layout): layout as layout
11518         (layout): layout as layout
11519
11520         * lyxtextclass.C (compare_name): new functor to work with
11521         shared_ptr, layout as layout
11522         (Read): layout as layout
11523         (hasLayout): layout as layout
11524         (operator): layout as layout
11525         (delete_layout): layout as layout
11526         (defaultLayout): layout as layout
11527
11528         * lyxlayout_ptr_fwd.h: new file
11529
11530         * lyxlayout.C (Read): layout as layout
11531
11532         * lyx_cb.C (MenuInsertLabel): layout as layout
11533
11534         * bufferlist.C (newFile): layout as layout
11535
11536         * buffer.C (readLyXformat2): layout as layout
11537         (parseSingleLyXformat2Token): layout as layout
11538         (insertStringAsLines): layout as layout
11539         (asciiParagraph): layout as layout
11540         (latexParagraphs): layout as layout
11541         (makeLinuxDocFile): layout as layout
11542         (simpleLinuxDocOnePar): layout as layout
11543         (makeDocBookFile): layout as layout
11544         (simpleDocBookOnePar): layout as layout
11545         (getLists): layout as layout
11546
11547         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11548
11549         * CutAndPaste.C (cutSelection): layout as layout
11550         (pasteSelection): layout as layout
11551         (SwitchLayoutsBetweenClasses): layout as layout
11552
11553         * BufferView_pimpl.C (Dispatch): layout as layout
11554         (smartQuote): layout as layout
11555
11556         * BufferView2.C (unlockInset): layout as layout
11557
11558 2002-06-24  André Pönitz <poenitz@gmx.net>
11559
11560         * lyxfunc.C: fix #487
11561
11562 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11563
11564         * lyxrc.h:
11565         * lyxrc.C:
11566         * lyxfunc.C: remove display_shortcuts, show_banner
11567
11568 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11569
11570         * Buffer_pimpl.C: oops, update on resize
11571
11572 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11573
11574         * buffer.C:
11575         * converter.C:
11576         * exporter.C:
11577         * lyxfunc.C:
11578         * BufferView.h:
11579         * BufferView.C: use repaint()
11580
11581         * BufferView_pimpl.h:
11582         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11583           as it's a clearer description. Remove superfluous
11584           redraws.
11585
11586 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11587
11588         * text.C: fix bug 488. Not ideal, but getting
11589           getWord() to work properly for the insets that
11590           matter is more difficult ...
11591
11592 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11593
11594         * BufferView_pimpl.C:
11595         * LyXAction.C:
11596         * commandtags.h:
11597         * lyxfunc.C: remove the six million index lyxfuncs to just
11598           one, and DTRT (bug 458)
11599
11600 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11601
11602         * BufferView.h:
11603         * BufferView.C:
11604         * BufferView_pimpl.h:
11605         * BufferView_pimpl.C: clean up resize() stuff,
11606           and unnecessary updateScreen()s
11607
11608 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11609
11610         * BufferView.h:
11611         * BufferView.C:
11612         * BufferView_pimpl.h:
11613         * BufferView_pimpl.C:
11614         * lyxfind.h:
11615         * lyxfind.C:
11616         * minibuffer.C: remove focus management of workarea,
11617           not needed. Use screen's greyOut()
11618
11619 2002-06-17  Herbert Voss  <voss@lyx.org>
11620
11621         * converter.C: (convert) do not post a message, when converting
11622         fails, let the calling function decide what to do in this case
11623
11624 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11625
11626         * lyxfunc.C: tidy up a little
11627
11628 2002-06-16    <alstrup@diku.dk>
11629
11630         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11631         Got rid of FORMS_H_LOCATION include. Now we are
11632         GUII.
11633
11634 2002-06-15  LyX Development team  <lyx@rilke>
11635
11636         * buffer.[Ch] (sgmlOpenTag):
11637         (sgmlCloseTag): Added support for avoiding pernicious mixed
11638         content. Return number of lines written.
11639
11640         (makeLinuxDocFile):
11641         (makeDocBookFile): Fixed calls to sgml*Tag.
11642         Simple white space clean.
11643
11644         (simpleDocBookOnePar): Simple white space clean.
11645
11646         * tabular.[Ch] (docBook): Renamed to docbook and got another
11647         argument to related with the pernicious mixed content.
11648
11649         (docbookRow): Fixed calls for docbook inset method.
11650
11651 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11652
11653         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11654         so it's X11 independent.
11655
11656         * kb*.[Ch]: ditto.
11657
11658         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11659
11660 2002-06-15  Lyx Development team  <lyx@electronia>
11661
11662         * intl.h: Renamed getTrans to getTransManager.
11663
11664 2002-06-14  Angus Leeming  <leeming@lyx.org>
11665
11666         * Makefile.am: nuke forgotten stl_string_fwd.h.
11667
11668 2002-06-12  Angus Leeming  <leeming@lyx.org>
11669
11670         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11671
11672 2002-06-13  Angus Leeming  <leeming@lyx.org>
11673
11674         * LaTeX.C:
11675         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11676
11677 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11678
11679         * kbmap.C (getiso): add support for cyrillic and greek
11680
11681 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11682
11683         * BufferView.h:
11684         * BufferView.C:
11685         * BufferView_pimpl.h:
11686         * BufferView_pimpl.C: move bogus scrolling logic
11687           to xforms
11688
11689 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11690
11691         * lyxfunc.C:
11692         * BufferView_pimpl.C: view->resize() change
11693
11694 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11695
11696         * BufferView_pimpl.C: topCursorVisible
11697           prototype change
11698
11699 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11700
11701         * Makefile.am:
11702         * lyx_gui.h:
11703         * lyx_gui.C: move to frontends/
11704
11705         * main.C:
11706         * lyx_main.h:
11707         * lyx_main.C: changes from above
11708
11709 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11710
11711         * intl.C:
11712         * intl.h:
11713         * kbmap.C:
11714         * kbsequence.C:
11715         * lyx_cb.C:
11716         * lyx_main.C: minor tidy
11717
11718 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11719
11720         * BufferView_pimpl.h:
11721         * BufferView_pimpl.C:
11722         * BufferView.h:
11723         * BufferView.C: make painter() const,
11724           remove dead code
11725
11726         * BufferView2.C: use screen() accessor
11727
11728         * lyx_main.h:
11729         * lyx_main.C: some minor cleanup
11730
11731 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11732
11733         * BufferView_pimpl.h:
11734         * BufferView_pimpl.C: remove enter/leaveView,
11735           use workHeight()
11736
11737 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11738
11739         * BufferView.h:
11740         * BufferView.C:
11741         * BufferView2.C:
11742         * BufferView_pimpl.h:
11743         * BufferView_pimpl.C: only construct screen once,
11744           rename
11745
11746         * lyxrc.C: remove pointless comment
11747
11748 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11749
11750         * BufferView.h:
11751         * BufferView.C: remove active() and belowMouse()
11752
11753         * BufferView_pimpl.h:
11754         * BufferView_pimpl.C: use workarea() not workarea_,
11755           and make it use a scoped_ptr instead
11756
11757 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11758
11759         * lyx_gui.C: add debug message on BadWindow
11760
11761 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11762
11763         * sp_spell.C: fdopen is not part of the C++ standard.
11764
11765         * paragraph.C (InsetIterator): use >= instead of ==
11766
11767 2002-06-07  Angus Leeming  <leeming@lyx.org>
11768
11769         Fixes needed to compile with Compaq cxx 6.5.
11770         * BufferView_pimpl.C:
11771         * DepTable.C:
11772         * buffer.C:
11773         * converter.C:
11774         * encoding.C:
11775         * lyx_gui.C:
11776         * lyx_main.C:
11777         * lyxtextclasslist.C:
11778         * minibuffer.C:
11779         * sp_spell.C:
11780         * tabular_funcs.C:
11781         * vc-backend.C:
11782         all c-library variables have been moved into namespace std. Wrap
11783         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11784
11785         * lyxlength.C:
11786         * tabular-old.C:
11787         * tabular.C:
11788         Add a using std::abs declaration.
11789
11790         * kbmap.h (modifier_pair):
11791         * paragraph.h (InsetTable, InsetList):
11792         * lyxfont.h (FontBits):
11793         type definition made public.
11794
11795         * bufferlist.C (emergencyWriteAll): the compiler complains that
11796         there is more than one possible lyx::class_fun template to choose from.
11797         I re-named the void specialisation as lyx::void_class_fun.
11798
11799         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11800
11801         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11802         the compiler is is unable to find tostr in write_attribute.
11803
11804 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11805
11806         * buffer.C (sgmlError): hide #warning
11807
11808 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11809
11810         * xtl/*: get rid of xtl, which is not in use anyway
11811
11812         * LyXAction.C (init):
11813         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11814         were unimplemented xtl experimentation
11815
11816 2002-06-04  André Pönitz <poenitz@gmx.net>
11817
11818         * lyxfunc.C: disable array operation on simple formulae
11819
11820 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11821
11822         * converter.C: constify a bit
11823
11824 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11825
11826         * lyx_gui.C: check xforms version correctly
11827
11828 2002-04-30  Herbert Voss  <voss@lyx.org>
11829
11830         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11831         "keep" option
11832
11833 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11834
11835         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11836           attempt to register it with a VCS)
11837
11838 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11839
11840         * lyx_main.C (init): honor variables LYX_DIR_13x and
11841         LYX_USERDIR_13x
11842
11843 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11844
11845         * buffer.h:
11846         * buffer.C:
11847         * lyx_main.C: fix a crash on bad command line,
11848           and give a useful exit status on error
11849
11850         * lyxfunc.C (doImport): allow -i lyx to work
11851
11852 2002-03-30  André Pönitz <poenitz@gmx.net>
11853
11854         * lyxfunc.C: mathed font changes
11855
11856 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11857
11858         * LaTeX.C:
11859         * importer.h:
11860         * importer.C:
11861         * lyx_sty.h:
11862         * lyx_sty.C:
11863         * lyxlex.C:
11864         * lyxrow.h:
11865         * lyxtext.h:
11866         * paragraph.h:
11867         * paragraph.C:
11868         * texrow.h:
11869         * texrow.C:
11870         * text.C:
11871         * trans_mgr.h: srcdocs, and some minor cleanups
11872
11873 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11874
11875         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11876         call getFont all the time)
11877
11878 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11879
11880         * switch from SigC signals to boost::signals
11881
11882 2002-05-29  André Pönitz <poenitz@gmx.net>
11883
11884         * paragraph_pimpl.C (getChar): don't call size() too often...
11885
11886 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11887
11888         * paragraph_pimpl.C (insertChar): do not try to update tables when
11889         appending (pos == size())
11890
11891         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11892         in order to reduce drastically the number of comparisons needed to
11893         parse a large document
11894
11895 2002-05-29  André Pönitz <poenitz@gmx.net>
11896
11897         * text.C:
11898         * text2.C:
11899         * lyxtextclass.C:
11900         * sp_pspell.h:
11901         * textclasslist.[Ch]:
11902         * sp_ispell.h: whitespace change
11903
11904 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11905
11906         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11907         lyxaction directly now.
11908
11909 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11910
11911         * trans.C:
11912         * lyxfont.C:
11913         * lyxvc.C: remove unused headers
11914
11915 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11916
11917         * Makefile.am:
11918         * buffer.h:
11919         * undostack.h:
11920         * undostack.C:
11921         * undo_funcs.h:
11922         * undo_funcs.C: some cleanups. Use shared_ptr
11923           and a template for the undo stacks.
11924
11925 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11926
11927         * BufferView_pimpl.h:
11928         * BufferView_pimpl.C:
11929         * kbmap.h:
11930         * kbmap.C:
11931         * kbsequence.h:
11932         * kbsequence.C:
11933         * lyxfunc.h:
11934         * lyxfunc.C:
11935         * text2.C: use key_state/mouse_state
11936
11937 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11938
11939         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11940         and LSubstring
11941
11942         * chset.C: change include order
11943         (loadFile): use boost regex and get rid of LRegex and LSubstring
11944
11945         * Makefile.am (BOOST_LIBS): new variable
11946         (lyx_LDADD): use it
11947
11948         * LaTeX.C: change include order.
11949         (scanAuxFile): use boost regex and get rid of LRegex and
11950         LSubstring
11951         (deplog): ditto
11952
11953 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11954
11955         * ColorHandler.h:
11956         * ColorHandler.C:
11957         * FontInfo.h:
11958         * FontInfo.C: moved to frontends/xforms/
11959
11960         * FontLoader.h:
11961         * FontLoader.C: moved into frontends for GUIIzation
11962
11963         * Makefile.am:
11964         * lyx_gui.C:
11965         * lyxfont.C:
11966         * lyxfunc.C: changes from above
11967
11968 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11969
11970         * LColor.C: remove spurious X include
11971
11972         * BufferView_pimpl.C:
11973         * Makefile.am:
11974         * font.h:
11975         * font.C:
11976         * text.C:
11977         * text2.C: move font metrics to frontends/
11978
11979 2002-05-24  Juergen Vigna  <jug@sad.it>
11980
11981         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11982         setting the undo_cursor.
11983
11984         * ParagraphParameters.h: include local includes first.
11985
11986 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11987
11988         * BufferView_pimpl.C:
11989         * BufferView_pimpl.h:
11990         * Makefile.am:
11991         * WorkArea.h:
11992         * WorkArea.C:
11993         * screen.C: move WorkArea into frontends/
11994
11995         * lyxscreen.h:
11996         * screen.C:
11997         * text.C:
11998         * BufferView.C:
11999         * BufferView2.C: move LyXScreen into frontends/
12000
12001         * lyxlookup.h:
12002         * lyxlookup.C:
12003         * lyx_gui.C: move lyxlookup into frontends/xforms/
12004
12005 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12006
12007         * BufferView2.C:
12008         * BufferView_pimpl.C:
12009         * FontLoader.C:
12010         * LyXView.h:
12011         * LyXView.C:
12012         * Makefile.am:
12013         * WorkArea.C:
12014         * XFormsView.h:
12015         * XFormsView.C:
12016         * buffer.C:
12017         * bufferlist.C:
12018         * bufferview_funcs.C:
12019         * converter.C:
12020         * importer.C:
12021         * lyx_cb.C:
12022         * lyx_gui.C:
12023         * lyx_main.C:
12024         * lyx_find.C:
12025         * lyxfunc.C:
12026         * lyxvc.C:
12027         * minibuffer.C:
12028         * text.C:
12029         * text2.C:
12030         * trans.C:
12031         * vc-backend.C: move LyX/XFormsView into frontends/
12032
12033 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12034
12035         * Makefile.am:
12036         * PainterBase.C:
12037         * PainterBase.h:
12038         * Painter.C:
12039         * Painter.h:
12040         * WorkArea.C:
12041         * WorkArea.h:
12042         * screen.C:
12043         * tabular.C:
12044         * text.C:
12045         * text2.C: move Painter to frontends/
12046
12047 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12048
12049         * buffer.C: comment out some some code that depend upon lyx_format
12050         < 220
12051
12052         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12053         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12054
12055         * buffer.h (NO_COMPABILITY): turn off compability
12056
12057         * ColorHandler.C: include scoped_array.hpp
12058
12059         * font.C: Use more specific smart_ptr header.
12060         * Painter.C: ditto
12061         * gettext.C: ditto
12062         * ShareContainer.h: ditto
12063         * lyx_main.h: ditto
12064         * kbmap.h: ditto
12065         * FontInfo.h: ditto
12066         * BufferView_pimpl.h: ditto
12067         * ColorHandler.h: ditto
12068
12069         * kbmap.C (defkey): change call to shared_ptr::reset
12070
12071 2002-05-21  Juergen Vigna  <jug@sad.it>
12072
12073         * buffer.C (insertErtContents): fix to insert ert asis if it is
12074         non empty. Skip it completely if it contains only whitespaces.
12075
12076 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12077
12078         * BufferView_pimpl.C:
12079         * BufferView2.C: clear selection on paste (bug 393)
12080
12081 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12082
12083         * DepTable.C: include ctime
12084
12085 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12086
12087         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12088
12089 2002-05-14  Juergen Vigna  <jug@sad.it>
12090
12091         * text.C (breakParagraph): fixed function to honor the keepempty
12092         layout in the right maner and also to permit the right breaking
12093         algorithm on empty or non empyt keepempty paragraphs.
12094
12095         * paragraph.C (breakParagraph): we have to check also if the par
12096         is really empty (!size()) for isempty otherwise we do the wrong
12097         paragraph break.
12098
12099 2002-05-10  Juergen Vigna  <jug@sad.it>
12100
12101         * buffer.[Ch] : The following are only changes to the ert
12102         compatibility read reading old LaTeX layout and font stuff and
12103         convert it to ERTInsets.
12104
12105         * buffer.h: added isErtInset().
12106
12107         * buffer.C (struct ErtComp): add a fromlayout bool to check
12108         if we're inside a LaTeX layout.
12109         (isErtInset): new helper function.
12110         (insertErtContents): look for other ert insets before this one
12111         and insert the contents there, so that we don't have subsequent
12112         ERT insets with nothing between them. This way we create only one
12113         inset with multiple paragraphs. Also check if we don't insert only
12114         spaces ' ' as they are ignored anyway afterwards in the .tex file
12115         so if we have only spaces we will ignore this latex part in the
12116         new file.
12117         (parseSingleLyXformat2Token \\layout): better compatibility when
12118         reading layout-latex stuff.
12119         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12120         language tag.
12121         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12122         stuff after reading the inset only get the information back from
12123         the stack.
12124
12125 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12126
12127         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12128
12129         * LaTeXFeatures.C (getBabelOptions): New method.
12130
12131 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12132
12133         * BufferView_pimpl.C (Dispatch): work around missing argument for
12134         'layout'
12135
12136 2002-05-08  Juergen Vigna  <jug@sad.it>
12137
12138         * text.C (leftMargin): handle paragraph leftindent.
12139
12140         * paragraph.C (writeFile): write the new \\leftindent tag.
12141         (validate): handle leftindent code.
12142         (TeXEnvironment): handle paragraphleftindent code again.
12143
12144         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12145
12146         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12147         for paragrap_extra indent code and new token \\leftindent.
12148         (latexParagraphs): handle the leftindent as environment.
12149
12150         * ParameterStruct.h: added leftindent support.
12151
12152         * ParagraphParameters.C (leftIndent): added support functions for
12153         the paragraph left indent.
12154
12155         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12156         more appropriate.
12157
12158 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12159
12160         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12161         inside insetERT.
12162
12163         * text.C (computeBidiTables): No bidi in insetERT.
12164
12165         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12166         in RTL documents.
12167
12168 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12169
12170         * version.C.in: pre 5
12171
12172 2002-05-02  José Matos  <jamatos@fep.up.pt>
12173         * buffer.C (makeDocBookFile): white space changes, add newline to
12174         command styles.
12175         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12176
12177         * tabular.C (docBook): fix typo.
12178
12179 2002-05-03  Juergen Vigna  <jug@sad.it>
12180
12181         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12182         change in LyXText as we can not be sure it was not freed.
12183         (drawOneRow): remove unused code.
12184
12185         * text.C (drawInset): redo the calculation of the need_break_row as
12186         it could have a row which was already freed.
12187         (draw): look at the return value of drawInset and return false if
12188         it also returned false.
12189         (paintRowText): look at the return value of draw and return false if
12190         it also returned false.
12191
12192         * lyxtext.h: added bool return type to drawInset() and draw() so that
12193         if we have a change in the row so that the rowbreak has to be redone
12194         we abort drawing as it will be called again.
12195
12196 2002-05-02  Juergen Vigna  <jug@sad.it>
12197
12198         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12199         a change in the maintext also if we're inside an inset.
12200         (Dispatch): set the cursor again after a break line and after the
12201         screen has been updated as it could be we're in a different row.
12202
12203         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12204         to set the cursor behind the pargraph with > size().
12205         (setCursor): check also for the same paragraph when checking where
12206         to put the cursor if we have a NFR inset.
12207
12208         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12209         parts of layout read further up as it still was in the wrong
12210         position.
12211
12212 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12213
12214         * screen.C (drawFromTo): change sine fullRebreak always return
12215         true.
12216
12217         * buffer.C (parseSingleLyXformat2Token): reindent some
12218
12219         * BufferView_pimpl.C (update): change since fullRebreak always
12220         return true.
12221         (Dispatch): git rid of the last hardcoded "Standard"s.
12222
12223 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12224
12225         * text2.[Ch] (fullRebreak): make it return void now that we always
12226         returned true.
12227
12228 2002-04-30  Juergen Vigna  <jug@sad.it>
12229
12230         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12231         ert compatibility check for "latex" layout.
12232
12233 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12234
12235         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12236         minipages: use col% instead of p%, and also use the current font.
12237         (makeLaTeXFile): Fix use babel condition.
12238         (parseSingleLyXformat2Token): Correct font when reading old floats.
12239
12240 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12241
12242         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12243         inserting list of floats.
12244
12245 2002-04-25  Herbert Voss  <voss@lyx.org>
12246
12247         * MenuBackend.C (expand): don't add the graphics extensions to the
12248         export menu
12249
12250 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12251
12252         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12253         non-existing layout, do not complain if it was the default layout
12254         of the original class (bug #342)
12255
12256 2002-04-24  Juergen Vigna  <jug@sad.it>
12257
12258         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12259         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12260
12261 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12262
12263         * buffer.C (getBibkeyList): If using \bibliography, return the
12264         option field with the reference itself. Enables us to provide natbib
12265         support when using \bibliography.
12266
12267 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12268
12269         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12270
12271         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12272         natbib is provided by the LaTeX class.
12273
12274 2002-04-23  Juergen Vigna  <jug@sad.it>
12275
12276         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12277         Wakeup functions.
12278
12279         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12280
12281 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12282
12283         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12284
12285         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12286         ensuremath around textordmasculine, textordfeminine and
12287         textdegree.
12288
12289 2002-04-19  Juergen Vigna  <jug@sad.it>
12290
12291         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12292         reinitializing the buffer otherwise row-dimensions may be wrong.
12293         (update): reset also the selection cursors if they do exits otherwise
12294         their x/y positions may be wrong.
12295
12296         * text2.C (cursorDown): don't enter the inset if we came from a row
12297         above and are one row over the inset.
12298
12299         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12300         really leaving an inset.
12301
12302 2002-04-18  Juergen Vigna  <jug@sad.it>
12303
12304         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12305         of the selected paragraph does not have the selected layout also if
12306         the last one had!
12307
12308         * text2.C (setLayout): fixed bug which did not change last selected
12309         paragraph.
12310
12311         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12312         changed the read and substituted \\end_float with \\end_inset!
12313
12314         * BufferView_pimpl.C (cursorPrevious):
12315         (cursorNext): fixed to make it work with rows heigher than the work
12316         area without moving the cursor only the draw of the row.
12317         (workAreaMotionNotify): fix jumping over high rows.
12318
12319 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12320
12321         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12322         Ressler.
12323
12324 2002-04-16  Juergen Vigna  <jug@sad.it>
12325
12326         * text2.C (setCursor): set also the irow().
12327         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12328         (cursorUp):
12329         (cursorDown): support for locking an inset if the x_fix value goes
12330         inside it. That way I can transverse insets too with cursor up/down.
12331
12332         * lyxrow.h: added irow helper function same as other (i) functions.
12333
12334         * BufferView_pimpl.C (cursorPrevious):
12335         (cursorNext): fixed for insets!
12336
12337 2002-04-15  Juergen Vigna  <jug@sad.it>
12338
12339         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12340         position otherwise it is wrong in some cases.
12341
12342         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12343         inside the inset before the call.
12344
12345 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12346
12347         * buffer.[Ch] (getBibkeyList): make it const.
12348
12349 2002-04-12  Juergen Vigna  <jug@sad.it>
12350
12351         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12352
12353         * text2.C (getCursorX): new helper function
12354         (setCursor): compute also ix_
12355         (setCursorFromCoordinates): set also ix.
12356
12357         * lyxcursor.h: added ix_ and helper functions.
12358
12359         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12360
12361         * buffer.C (insertStringAsLines): dont break paragraph if the this
12362         paragraph is inside an inset which does not permit it!
12363
12364         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12365         also with no chars on this paragraph.
12366         (paintRowText): only paint stuff if it's inside the workarea!
12367
12368         * paragraph.C (breakParagraph): honor keepempty flag and break the
12369         paragraph always below not above.
12370
12371         * BufferView2.C (unlockInset): update the paragraph layout on inset
12372         unlock as we changed paragraph in such a case.
12373
12374         * lyxfind.C (LyXFind): clear the former selection if not found!
12375
12376         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12377         again called in insertChar().
12378
12379         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12380         an inset which uses the whole row!
12381         (rightMargin): ditto.
12382         (insertChar): force a rebreak if we inserted an inset!
12383
12384 2002-03-28  Herbert Voss  <voss@lyx.org>
12385
12386         * lyxlength.[Ch]: add inBP() to get the right PS-point
12387         units (BigPoint). With inPixels we have rounding errors
12388
12389 2002-04-11  Juergen Vigna  <jug@sad.it>
12390
12391         * text2.C (setCursorFromCoordinates): set iy to the right value.
12392         (setCursor): add check if row->previous exists!
12393
12394         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12395         an old float_type as this was the case in the old code!
12396
12397         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12398
12399         * BufferView2.C (showLockedInsetCursor): use iy
12400         (fitLockedInsetCursor): ditto
12401
12402         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12403         locked insets as there we have the right value now.
12404
12405         * lyxcursor.C: added iy_ variable and iy functions to set to the
12406         baseline of cursor-y of the locked inset.
12407
12408         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12409         (setCursor): fixed for insets which need a full row.
12410
12411         * text.C (rowLastPrintable): don't ignore the last space when before
12412         an inset which needs a full row.
12413         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12414         as last character of a row when before a inset which needs a full row.
12415
12416 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12417
12418         * version.C.in: update date
12419
12420         * text2.C (fullRebreak): try to always return true and see what
12421         happens...
12422
12423 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12424
12425         * MenuBackend.C (expand): use Floating::listName
12426
12427         * FloatList.C (FloatList): add listName argument to the built-in
12428         floats
12429
12430         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12431         text associated with the float.
12432
12433 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12434
12435         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12436
12437 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12438
12439         * ShareContainer.h: add a couple of missing typenames.
12440
12441 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12442
12443         * lyxrc.C (getDescription): use _() correctly rather than N_().
12444
12445 2002-03-28  Herbert Voss  <voss@lyx.org>
12446
12447         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12448         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12449
12450 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12451
12452         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12453         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12454
12455 2002-03-29  Juergen Vigna  <jug@sad.it>
12456
12457         * lyxfunc.C (dispatch): add a missing fitCursor call.
12458
12459         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12460         it was scrolled by a cursor move, so return the bool status.
12461
12462         * BufferView.C (fitCursor): return the bool flag also to the outside
12463         world as this is needed.
12464
12465         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12466
12467         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12468         call the edit() as it is not needed (and wrong) IMO.
12469         (workAreaButtonPress): set the screen_first variable before evt.
12470         unlock the inset as this may change screen_first and then we have
12471         a wrong y position for the click!
12472
12473 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12474
12475         * MenuBackend.C (expand): another translation that I missed
12476
12477 2002-03-28  Juergen Vigna  <jug@sad.it>
12478
12479         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12480
12481         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12482
12483 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12484
12485         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12486
12487         * MenuBackend.C (expand): fix export/view/update when there is no
12488         document open.
12489
12490 2002-03-27  Herbert Voss  <voss@lyx.org>
12491
12492         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12493         and text%
12494
12495 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12496
12497         * bufferview_funcs.C (currentState): only show paragraph number
12498         for is DEVEL_VERSION is set.
12499
12500         * lyxfunc.C (dispatch): put warning in INFO channel
12501
12502         * MenuBackend.C (expand): translate the name of floats
12503
12504         * FloatList.C (FloatList): mark the float names for translation
12505
12506         * converter.C (convert): use LibScriptSearch
12507
12508 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12509
12510         * MenuBackend.C (defaults): fix default menu (we might as well get
12511         rid of it...)
12512
12513 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12514
12515         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12516         directory.
12517
12518 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12519
12520         * lyxvc.C: reorder includes.
12521
12522 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12523
12524         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12525           properly
12526
12527 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12528
12529         * CutAndPaste.C: change layouts earlier on paste
12530           to avoid crashing when calling getFont()
12531
12532 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12533
12534         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12535         irritating #error.
12536
12537 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12538
12539         * WorkArea.C: remove 'Pending' debug message.
12540
12541         * most files: ws cleanup
12542
12543         * buffer.[Ch]: ws changes
12544
12545         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12546
12547 2002-03-21  Juergen Vigna  <jug@sad.it>
12548
12549         * tabular.C (SetMultiColumn): collapse also the contents of the
12550         cells and set the last border right. Added a Buffer const * param.
12551
12552 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12553
12554         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12555         linking or not.
12556
12557 2002-03-19  Juergen Vigna  <jug@sad.it>
12558
12559         * text2.C (clearSelection): reset also xsel_cache.
12560
12561         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12562         where it needs to be called (John tells us to do so too :)
12563         (selectionLost): reset sel_cache.
12564
12565         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12566
12567 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12568
12569         * text2.C (setCursorIntern): put debuging code in INSETS channel
12570
12571 2002-03-19  André Pönitz <poenitz@gmx.net>
12572
12573         * lyxfunc.C: tiny whitespace change
12574
12575 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12576
12577         * ToolbarDefaults.C (init):
12578         * LyXAction.C (init):
12579         * commandtags.h:
12580         * BufferView_pimpl.C (Dispatch):
12581         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12582
12583 2002-03-19  Allan Rae  <rae@lyx.org>
12584
12585         * exporter.C (Export): removeAutoInsets before doing anything else.
12586         While I've just introduced a dependency on BufferView this really is
12587         the best place to clean the buffer otherwise you need to cleanup in
12588         a dozen places before calling export or cleanup in a dozen functions
12589         that export calls.
12590
12591         * converter.C (runLaTeX):
12592         (scanLog): Better handling of removeAutoInsets and screen updates.
12593
12594         * lyxfunc.C (dispatch): small whitespace changes
12595
12596 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12597
12598         * WorkArea.C (C_WorkAreaEvent): return a value.
12599         (event_cb): return 1 if we handled the event, 0 otherwise.
12600
12601         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12602
12603 2002-03-18  Juergen Vigna  <jug@sad.it>
12604
12605         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12606         (GetAdditionalWidth): ditto.
12607         (RightLine): ditto.
12608         (LeftLine): ditto.
12609
12610         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12611         inset if we're there actually (probably not used right now but this
12612         is the direction to go for unifying code).
12613         (paste): disable code to clear the selection.
12614
12615         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12616         inside an InsetText and move the check further up as it is in the
12617         wrong place.
12618
12619         * text2.C (pasteSelection): set a selection over the pasted text.
12620
12621 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12622
12623         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12624         and libgraphics to build on Cygwin.
12625
12626 2002-03-15  Juergen Vigna  <jug@sad.it>
12627
12628         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12629         inserting an Inset into the paragraph. I know this is not the best
12630         fix but we already use current_view in CutAndPaste so we will remove
12631         all of it's using at the same time.
12632
12633         * buffer.C (sgmlError): deactivated function till it is rewritten in
12634         the right mode, now it can create problems.
12635
12636         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12637         before accessing it.
12638
12639 2002-03-14  Juergen Vigna  <jug@sad.it>
12640
12641         * undo_funcs.C (textHandleUndo): do the right thing when updating
12642         the inset after the undo/redo.
12643
12644         * text2.C (setCursor): just some testcode for #44 not ready yet.
12645
12646         * undo_funcs.C (textHandleUndo): set the next() and previous()
12647         pointers of the paragraph to 0 before deleting otherwise we have
12648         problems with the Paragraph::[destructor].
12649
12650         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12651         on a paragraph insertion.
12652
12653 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12654
12655         * buffer.C (asciiParagraph): use += operator for char append to
12656         string.
12657
12658         * paragraph.C (getFontSettings): compare >= not just >
12659         (highestFontInRange): ditto
12660         (setFont): ditto
12661
12662 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12663
12664         * paragraph.C: change several algorithm to be more appripriate for
12665         the problem domain. This is lookip in FontList and in the InsetList.
12666
12667 2002-03-13  André Pönitz <poenitz@gmx.net>
12668
12669         * commandtags.h:
12670         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12671
12672 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * commandtags.h:
12675         * LyXAction.C:
12676         * lyxfunc.C:
12677         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12678
12679 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12680
12681         * Painter.C (display): anon helper function, adjust code for this
12682         change.
12683         (pixmap): remove function.
12684
12685         * Painter.h: remove private display variable.
12686
12687         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12688
12689 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12690
12691         * WorkArea.[Ch]: remove figinset_canvas cruft.
12692
12693 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12694
12695         * lyxtextclass.C (operator): add one item cache optimization.
12696
12697         * bufferlist.h: doxy changes
12698
12699         * bufferlist.C: ws changes
12700
12701         * DepTable.[Ch] (ext_exist): place const in the right spot.
12702
12703         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12704         call resizeInsets.
12705         (workAreaExpose): call resizeInsets when the with BufferView changes.
12706         (Dispatch): adjust for protectedBlank removal
12707         (specialChar): call updateInset if the insert went ok.
12708
12709         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12710         specialChar instead.
12711
12712         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12713
12714         * BufferView.h: doxy change
12715
12716         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12717
12718         * lyxtextclass.C (operator[]): remove non-const version
12719         (defaultLayout): remove non-const version
12720
12721 2002-03-12  Juergen Vigna  <jug@sad.it>
12722
12723         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12724         did resize the LyXText too.
12725
12726         * buffer.C (readLyXformat2): set layout information on newly allocated
12727         paragraphs.
12728
12729         * tabular.C (OldFormatRead): set layout information on the paragraph.
12730
12731 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12732
12733         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12734
12735 2002-03-11  Juergen Vigna  <jug@sad.it>
12736
12737         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12738         plainly wrong.
12739         (resizeCurrentBuffer): force also the insets to resize themselfes.
12740         (moveCursorUpdate): fixed up for InsetText.
12741
12742 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12743
12744         * commandtags.h:
12745         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12746         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12747         value of Dialogs::tooltipsEnabled().
12748         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12749
12750 2002-03-08  Juergen Vigna  <jug@sad.it>
12751
12752         * BufferView_pimpl.C (updateInset): update inset inside inset also
12753         if it isn't inside theLockingInset().
12754
12755 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12756
12757         * buffer.C (asciiParagraph): redo some of the word and line length
12758         handling.
12759         (getLists): look for Caption instead of caption.
12760
12761 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12762
12763         * buffer.C (Buffer): initialize niceFile to true
12764         (makeLaTeXFile):
12765         (makeLinuxDocFile):
12766         (makeDocBookFile): make sure niceFile is true on exit
12767
12768 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12769
12770         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12771
12772 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12773
12774         * LyXSendto.C: remove.
12775         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12776         * lyx_gui.C: remove now-redundant comment.
12777         * ColorHandler.h: remove forward declaration of class WorkArea.
12778         * lyxfunc.C: remove #include "WorkArea.h".
12779
12780 2002-03-07  Juergen Vigna  <jug@sad.it>
12781
12782         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12783         got moved away with the DEPM and also set the inset_owner always
12784         right which before could have been omitted.
12785
12786 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12787
12788         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12789         wanted layout is not found.
12790
12791 2002-03-07  Juergen Vigna  <jug@sad.it>
12792
12793         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12794
12795 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12796
12797         * paragraph.C (breakParagraph): use default layout not layout of
12798         prev paragraph.
12799         (Paragraph): clear ParagraphParameters.
12800
12801 2002-03-06  Juergen Vigna  <jug@sad.it>
12802
12803         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12804         otherwise it would not be a valid lenght. Fixed a special case in
12805         the minipage compatibility read where we end the document with a
12806         minipage.
12807
12808         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12809         was set as it could be 0 for InsetTexts first entry.
12810
12811 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12812
12813         * paragraph.C (writeFile): if layout is empty write out
12814         defaultLayoutName().
12815
12816         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12817         file without named layout we set layout to defaultLayoutName().
12818
12819 2002-03-06  Juergen Vigna  <jug@sad.it>
12820
12821         * CutAndPaste.C (copySelection): set layout for new paragraph.
12822
12823         * text.C (prepareToPrint): leave ERT inset left aligned
12824         (leftMargin): don't indent paragraphs inside ERT insets
12825
12826 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12827
12828         * paragraph.C (breakParagraph): dont call clear do the work manually
12829
12830         * paragraph.[Ch] (clear): remove function
12831
12832 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12833
12834         * paragraph.C (Paragraph): dont call clear, the work has already
12835         been done.
12836
12837         * lyxtextclass.C (operator): assert if n is empty
12838
12839         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12840         work manually instead.
12841
12842 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12843
12844         * BufferView_pimpl.C: protect selectionLost against text == 0
12845
12846 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12847
12848         * text.C (breakParagraph): fix a setting layout to '0' problem.
12849
12850 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12851
12852         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12853         final location of file, for the included files, and graphics.
12854
12855 2002-03-05  Juergen Vigna  <jug@sad.it>
12856
12857         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12858
12859 2002-03-04  Juergen Vigna  <jug@sad.it>
12860
12861         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12862
12863         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12864         last column of multicolumn cells.
12865         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12866
12867 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12868
12869         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12870         file if it doesn't go to a temporary file.
12871
12872         * buffer.C (sgmlOpenTag):
12873         (sgmlCloseTag):  remove extra newline insertion.
12874
12875 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12876
12877         * text.C (getRowNearY): comment out debug msg
12878
12879 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12880
12881         * text2.C: first -> first_y
12882
12883         * text.C (getRowNearY): add some attemts at a possible
12884         optimization, not working.
12885
12886         * tabular.[Ch]: add BufferParams to several function so that newly
12887         created paragraph can be initialized to he default layotu for the
12888         buffers textclass.
12889
12890         * tabular-old.C (ReadOld): add buf->params to call of Init
12891
12892         * screen.C: rename text->first to text->first_y
12893
12894         * paragraph.C (breakParagraph): always set layout in the broken
12895         paragraph
12896
12897         * lyxtextclass.C (Read): remove lowercase
12898         (hasLayout): ditto
12899         (operator): ditto
12900         (delete_layout): ditto
12901
12902         * lyxtext.h: rename first -> first_y
12903
12904         * lyxlayout.C (Read): remove lowercase
12905         (name): ditto
12906         (setName): ditto
12907         (obsoleted_by): ditto
12908
12909         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12910
12911         * buffer.C (insertErtContents): add params are to InsetERT
12912         (parseSingleLyXformat2Token): add code to check if a paragraphs
12913         layout really exist.
12914         (parseSingleLyXformat2Token): add params to several inset
12915         constructors
12916         (asciiParagraph): remove lowercase, do the layout comparisons with
12917         no_case
12918
12919         * BufferView_pimpl.C (cursorNext): first -> first_y
12920         (resizeCurrentBuffer): first -> first_y
12921         (updateScrollbar): first -> first_y
12922         (scrollCB): first -> first_y
12923         (workAreaMotionNotify): first -> first_y
12924         (workAreaButtonPress): first -> first_y
12925         (checkInsetHit): first -> first_y
12926         (cursorPrevious): first -> first_y
12927         (cursorNext): first -> first_y
12928         (Dispatch): add buffer_->params to severl inset contructors
12929
12930 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12931
12932         * lyxlayout.C (Read): remove some debug info that I forgot.
12933
12934         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12935         clean up the code slightly.
12936         (makeLinuxDocFile): ditto
12937         (makeDocBookFile): ditto
12938
12939         * text2.C: layout as string
12940
12941         * text.C: layout as string
12942
12943         * paragraph_pimpl.C: layout as string
12944
12945         * paragraph.[Ch]: layout as string
12946
12947         * lyxtextclasslist.[Ch]: layout as string
12948
12949         * lyxtextclass.[Ch]: layout as string
12950
12951         * lyxtext.h: layout as string
12952
12953         * lyxlayout.[Ch]: layout as string
12954
12955         * lyx_cb.C: layout as string
12956
12957         * bufferview_funcs.C: layout as string
12958
12959         * bufferparams.C: layout as string
12960
12961         * buffer.C: layout as string
12962
12963         * LyXView.[Ch]: layout as string
12964
12965         * LaTeXFeatures.[Ch]: layout as string
12966
12967         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12968
12969         * BufferView_pimpl.C: change current_layout to string, remove
12970         lyx::layout_type.
12971         (Dispatch):
12972         (smartQuote):
12973         (insertInset):
12974         (workAreaButtonRelease): layout as string
12975
12976         * BufferView2.C (unlockInset): adjust
12977
12978         * vspace.C (asLatexCommand): use an explict temp variable.
12979
12980 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12981
12982         * Makefile.am: use FRONTEND_*
12983
12984 2002-03-01  Juergen Vigna  <jug@sad.it>
12985
12986         * tabular.C (SetWidthOfMulticolCell): changed to something better
12987         I hope but still work in progress.
12988         (recalculateMulticolumnsOfColumn): renamed function from
12989         recalculateMulticolCells as it is more appropriate now.
12990         (SetWidthOfCell): calculate multicols better.
12991
12992 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12993
12994         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12995
12996         * lyxfunc.C (processKeySym): print sequence also if it is
12997         `deleted' (complete)
12998
12999         * kbsequence.C (print): print sequence even if it is deleted
13000         (complete would be a better word, actually).
13001
13002         * lyxfunc.C (dispatch): print complete options after a prefix key
13003
13004         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13005
13006 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13007
13008         * text2.C (setCharFont): eliminate setCharFont code duplication.
13009
13010 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13011
13012         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13013         LFUN_TABULAR_FEATURE (bug #177)
13014
13015 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13016
13017         * Makefile.am: remove figure.h
13018
13019 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13020
13021         * Bufferview_pimpl.C:
13022         * CutAndPasteC:
13023         * LaTeX.C:
13024         * LyXSendto.C:
13025         * buffer.C:
13026         * bufferlist.C:
13027         * converter.C:
13028         * language.C:
13029         * lyxfunc.C:
13030         * lyxvc.C:
13031         * paragraph.C:
13032         * text.C:
13033         * text2.C: remove #include "lyx_gui_misc.h".
13034
13035         * LaTeX.C: added #include <cstdio>
13036
13037 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13038
13039         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13040         that the paragraph following this one can have.
13041
13042         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13043
13044         * vspace.C (asLatexCommand): fix bogus gcc warning
13045
13046         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13047
13048 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13049
13050         * text2.C (setLayout): get rid of redundant code
13051
13052 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13053
13054         * text2.C (incDepth): make sure depth cannot be increased beyond
13055         reasonable values.
13056
13057 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13058
13059         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13060         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13061
13062         * PainterBase.h (image):
13063         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13064         a LyXImage const *.
13065
13066 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13067
13068         * BufferView.C:
13069         * BufferView.h:
13070         * BufferView_pimpl.C:
13071         * BufferView_pimpl.h:
13072         * LaTeXFeatures.C:
13073         * LyXAction.C:
13074         * LyXView.C:
13075         * Makefile.am:
13076         * UpdateList.h:
13077         * UpdateList.C:
13078         * buffer.C:
13079         * figure.h:
13080         * figureForm.C:
13081         * figureForm.h:
13082         * figure_form.C:
13083         * figure_form.h:
13084         * lyx_cb.C:
13085         * lyx_gui.C:
13086         * lyx_gui_misc.C:
13087         * lyxfunc.C:
13088         * sp_base.h:
13089         * sp_ispell.h:
13090         * sp_pspell.h:
13091         * sp_spell.C: remove fig inset, and the crap house of
13092           cards that follows it
13093
13094 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13095
13096         * Makefile.am:
13097         * lyxserver.C:
13098         * os2_defines.h:
13099         * os2_errortable.h:
13100         * nt_defines.h: move .h into support/
13101
13102         * vms_defines.h: remove
13103
13104         * WorkArea.C: add space in debug output
13105
13106         * text2.C:
13107         * paragraph.C:
13108         * buffer.C: add WITH_WARNINGS
13109
13110         * vc-backend.h:
13111         * vc-backend.C:
13112         * bufferlist.C: s/retrive/retrieve/, add docs
13113
13114         * vspace.h:
13115         * vspace.C:
13116         * kbmap.h:
13117         * lyxlength.h:
13118         * lyxgluelength.h:
13119         * length_common.h:
13120         * chset.h:
13121         * chset.C: add docs
13122
13123         * lyxgui.C: add ID to X error handler
13124
13125         * lyxtestclass.c: fix typo
13126
13127 2002-02-26  Juergen Vigna  <jug@sad.it>
13128
13129         * tabular_funcs.C (write_attribute): changed so that some default
13130         attributes are not written at all.
13131         (getTokenValue): set default values before trying to read the
13132         value so we have the return value always set as default if we don't
13133         find the token we search for.
13134
13135         * tabular.C (Write): write bools as bools not as strings!
13136
13137 2002-02-22  Juergen Vigna  <jug@sad.it>
13138
13139         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13140         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13141
13142         * text.C (leftMargin): don't add an indent for paragraphs inside
13143         tabular cells (fix #208).
13144
13145 2002-02-21  José Matos  <jamatos@fep.up.pt>
13146
13147         * tabular.C (docBook): fixed support for long tables.
13148
13149 2002-02-20  Juergen Vigna  <jug@sad.it>
13150
13151         * text2.C (getFont): get the drawing font of the Inset if this
13152         paragraph is inside an inset (only important for InsetERT for now).
13153
13154         * buffer.C (insertErtContents): use new lanugage params in ERT
13155         constructor.
13156
13157         * CutAndPaste.C: commenting out seemingly uneeded code.
13158
13159 2002-02-19  Allan Rae  <rae@lyx.org>
13160
13161         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13162         Iterators might be simple to use but they also get invalidated.
13163         (removeAutoInsets): renamed saved cursor tracking variables and added
13164         some comments to clarify what everything does.
13165
13166 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13167
13168         * Chktex.C:
13169         * LaTeX.C:
13170         * LyXSendto.C:
13171         * converter.C:
13172         * lyx_cb.C:
13173         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13174         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13175
13176         * lyxfunc.C:
13177         * vc-backend.h: remove #include "support/syscall.h"
13178
13179         * LaTeX.C:
13180         * LyXSendto.C:
13181         * converter.C: rearrange #includes in Lars' approved fashion.
13182
13183         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13184         forward declare class Timeout in the header file.
13185
13186         * XFormsView.C: changes due to the above.
13187
13188         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13189         similar to LyXView.
13190
13191         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13192         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13193
13194 2002-02-18  José Matos  <jamatos@fep.up.pt>
13195
13196         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13197         insets contents.
13198
13199 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13200
13201         * a lot of small ws changes
13202         * add a lot of using std::XXX
13203         * use std construcs some places where approp.
13204         * use some exisint stuff from lyxfunctional where approp.
13205         * Make file changes to use partial linking (lets test this now...)
13206
13207 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13208
13209         * Chktex.C:
13210         * buffer.C:
13211         remove #include "support/syscontr.h" as it's redundant. Always has been.
13212
13213         * Chktex.C:
13214         * LaTeX.C:
13215         * LyXSendto.C:
13216         * converter.C:
13217         * lyx_cb.C:
13218         * vc-backend.C:
13219         change Systemcalls::System to Systemcalls::Wait and
13220         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13221         No change of functionality, just reflects the stripped down Systemcalls
13222         class.
13223
13224 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13225
13226         * debug.[Ch]: add a GRAPHICS type to the enum.
13227
13228 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13229
13230         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13231
13232         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13233         there is an inset.
13234
13235 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13236
13237         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13238         match the changes below.
13239
13240         * text2.C (toggleInset): if there is not editable inset at cursor
13241         position, try to see if cursor is _inside_ a collapsable inset
13242         and close it.
13243
13244 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13245
13246         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13247         document menu has a nice checkbox
13248
13249 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13250
13251         * lyxlength.C (asLatexString): change PW to output as percent of
13252         \textwidth.
13253
13254         * lengthcommon.C: change '%' to 't%'
13255
13256         * lyxfunc.C (dispatch): a few comments from Martin
13257
13258 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13259
13260         * WorkArea.h:
13261         * WorkArea.C:
13262         * BufferView_pimpl.h:
13263         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13264           the X selection.
13265
13266 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13267
13268         * vspace.C (inPixels): fix compiler warning
13269
13270 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13271
13272         * lyxfunc.C (getStatus): fix status message for disabled commands.
13273
13274 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13275
13276         * BufferView_pimpl.C: fix crash on close buffer
13277         during selection (#227)
13278
13279 2002-01-27  Herbert Voss  <voss@lyx.org>
13280
13281         * buffer.C: link old Figure to new graphic inset
13282
13283 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13284
13285         * FontLoader.C (getFontinfo): Change the latex font names in order
13286         to match the names of type1inst.
13287
13288 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13289
13290         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13291
13292         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13293         (extchanged): ditto
13294         (ext_exist): ditto
13295         (remove_files_with_extension): ditto
13296         (remove_file): ditto
13297         (write): ditto
13298
13299         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13300         document is smaller than the work area height. Do not initialize
13301         static variables to 0.
13302
13303 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13304
13305         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13306
13307         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13308         LFUN_LAYOUT_PARAGRAPHS.
13309
13310         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13311         tabular. It is possible to provide a possible cell, which will
13312         typically be the actcell from the corresponding insettabular
13313
13314         * lyxfunc.C (getStatus): small cleanup; disable
13315         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13316         true
13317
13318 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13319
13320         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13321
13322         * paragraph.C (startTeXParParams):
13323         (endTeXParParams): new methods. The LaTeX code to
13324         start/end paragraph formatting
13325         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13326         empty (fixes bug #200)
13327
13328         * vspace.C (inPixels): adapt to the change below
13329         (inPixels): [later] more cleanups (remove unused variables)
13330
13331         * lyxlength.C (inPixels): change to use a width and a height as
13332         parameter.
13333
13334 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13335
13336         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13337         Replaced with \paperwidth
13338
13339         * DepTable.C (insert): add std:: qualifier
13340
13341 2002-01-18  Allan Rae  <rae@lyx.org>
13342
13343         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13344         updated also?
13345
13346         * text.C (drawInset): Turned out I didn't know enough about how
13347         rebreaking worked.  This fixes most of the redraw problems.  I see
13348         an occasional cursor trail when a line is broken now and the cursor
13349         placement can seem out by a few pixels also after a rebreak.
13350
13351 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13352
13353         * buffer.C (parseSingleLyXformat2Token): update because minipage
13354         width is now a LyXLength
13355
13356         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13357
13358         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13359         math insets
13360
13361 2002-01-17  Juergen Vigna  <jug@sad.it>
13362
13363         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13364
13365         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13366         is set correctly and the inset is updated correctly.
13367
13368 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13369
13370         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13371         the beginning of the loop.
13372
13373 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13374
13375         * lyxrc.C: improve help for use_scalable_fonts
13376
13377 2002-01-17  Allan Rae  <rae@lyx.org>
13378
13379         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13380
13381 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13382
13383         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13384         make sure to set their inset_owner to the right value (bug #171)
13385
13386 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13387
13388         * DepTable.h
13389         * DepTable.C: Implement mtime checking to reduce time spent doing
13390         CRCs.
13391
13392 2002-01-16  Juergen Vigna  <jug@sad.it>
13393
13394         * tabular.C (GetAdditionalHeight): one of error fixed.
13395
13396         * lyxrc.C (output): small fix in writing use_pspell.
13397
13398 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13399
13400         * sp_base.h: #include LString.h
13401
13402 2002-01-16  Allan Rae  <rae@lyx.org>
13403
13404         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13405         Can someone check this please?
13406
13407         * text.C (drawInset): It was possible that p.row would be removed by
13408         breakAgainOneRow upsetting a few other settings.  There may be another
13409         small tweak possible by setting need_break_row = 0 when p.row has been
13410         removed but I don't know enough about the logic here.
13411
13412 2002-01-15  Allan Rae  <rae@lyx.org>
13413
13414         * text.C (insertChar): removed conditional truism.
13415
13416         * BufferView2.C (removeAutoInsets): More tweaks.
13417         cur_par_prev could be a stray pointer.  Check for trailing empty line
13418         in case last line was cur_par and only had an error inset on it.
13419
13420 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13421
13422         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13423         absolute
13424
13425         * vc-backend.C (most methods):
13426         * exporter.C (Export):
13427         * converter.C (convert):
13428         (runLaTeX):
13429         * LyXSendto.C (SendtoApplyCB):
13430         * lyxfunc.C (dispatch):
13431         (menuNew):
13432         (open):
13433         (doImport):
13434         * lyx_cb.C (AutoSave):
13435         (InsertAsciiFile):
13436         * BufferView_pimpl.C (MenuInsertLyXFile):
13437         * buffer.C (runChktex): use Buffer::filePath().
13438
13439         * buffer.h: rename filename to filename_; rename filepath to
13440         filepath_ and make it private
13441         (filePath): new method
13442
13443         * buffer.C (writeFile): use fileName()
13444         (getLatexName):
13445
13446         * lyx_main.C (init): fix starting  of LyX when the binary is a
13447         link from so,ewhere else.
13448
13449         * minibuffer.C: include <cctype> for isprint
13450
13451 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13452
13453         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13454         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13455         name clash with InsetCollapsable's width function.
13456
13457 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13458
13459         * lastfiles.C: include <iterator>
13460
13461 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13462
13463         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13464         std::count.
13465
13466         * buffer.C (makeLaTeXFile): ditto.
13467         Also make loop operation more transparent.
13468
13469 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13470
13471         * ToolbarDefaults.C: remove trailing comma closing namespace.
13472
13473         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13474
13475         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13476         as in WorkArea.
13477
13478         * trans.C (Load): comment out unused variable, allowed.
13479
13480 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13481
13482         * minibuffer.[Ch] (append_char): new method to recieve input from the
13483         drop-down completion browser. If a key was pressed, then recieve this
13484         char and append it to the existing string.
13485         (peek_event): modify the positioning data passed to the completion
13486         browser so that it can be placed above the minibuffer rather than below.
13487 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13488
13489         * LyXAction.C (init): alloe error-next for readonly documents.
13490
13491         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13492         count.
13493
13494 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13495
13496         * bufferlist.C (readFile): create the buffer _after_ checking that
13497         the file exists.
13498
13499         * lyxfunc.C (verboseDispatch): fix handling of arguments
13500
13501         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13502
13503         * lyxrc.C: use string::erase() instead of initializing to "".
13504
13505
13506 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13507
13508         * BufferView_pimpl.h:
13509         * BufferView_pimpl.C:
13510         * WorkArea.h:
13511         * WorkArea.C:
13512         * text2.C: tell X when we have made a selection for copying
13513
13514 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13515
13516         * BufferView_pimpl.C (MenuInsertLyXFile):
13517         * lyxfunc.C (menuNew):
13518         (open):
13519         (doImport): add shortcuts to directory buttons
13520
13521         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13522         open a float)
13523
13524         * lyxfunc.C (setStatusMessage):
13525         (getStatusMessage): new methods
13526         (getStatus):use setStatusMessage instead of setErrorMessage
13527         (dispatch): when function is disabled, set error message here
13528         [instead of in getStatus previously]
13529
13530         * BufferView_pimpl.C (workAreaButtonRelease): update
13531         toolbar/menubar here too.
13532
13533 2002-01-13  Allan Rae  <rae@lyx.org>
13534
13535         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13536         Now seems indestructible.  Remaining task is to audit all other
13537         code affected by deleteEmptyParagraphMechanism.  One small quirk
13538         left is that an empty document with an error in the preamble can
13539         be made to report an error but no error box appears.  I don't know
13540         where it goes.
13541         (removeAutoInsets): Improved comments.
13542
13543 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13544
13545         * Thesaurus.h:
13546         * Thesaurus.C: update for Aiksaurus 0.14
13547
13548 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13549
13550         * text2.C (firstParagraph): removed member function, all uses
13551         replaces with ownerParagraph
13552         (redoParagraphs): here
13553         (updateInset): here
13554         (toggleAppendix): here
13555         * BufferView2.C (insertErrors): here
13556         (setCursorFromRow): here
13557
13558 2002-01-13  Allan Rae  <rae@lyx.org>
13559
13560         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13561         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13562         There is still a way to segfault this although you may have to do this
13563         multiple times: Have an InsetERT with an unknown command in it.
13564         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13565         <down-arrow>, <Enter> again, View->DVI, BANG!
13566
13567         * text2.C (setCursor):
13568         (deleteEmptyParagraphMechanism):
13569         * lyxtext.h (setCursor):
13570         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13571         Making use of the return value may help fix other bugs.
13572
13573 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13574
13575         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13576
13577         * LyXView.C (updateMenubar): call MenuBar::update here
13578         (updateToolbar): but not here
13579         (showState): do not update toolbar/menubar
13580
13581         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13582         should need to care about that.
13583
13584         * lyxfunc.C (verboseDispatch): simplify a bit
13585         (getStatus): have a version which takes a pseudoaction, and
13586         another which requires a (kb_action,string).
13587
13588         * LyXAction.C (retrieveActionArg): make it work also when action
13589         is not a pseudo-action.
13590         (getActionName): simplify a bit
13591         (helpText):
13592
13593 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13594
13595         * lyxfunc.C (verboseDispatch): new families of methods with
13596         several ways to specify a command and a bool to indicate whether
13597         the command name and shortcut should be displayed in minibuffer
13598         (eventually, we could extend that to a finer bitmask like
13599         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13600         (dispatch): the pristine dispatch command which just, well,
13601         dispatchs! Note it still sets its result to minibuffer; I'm not
13602         sure we want that.
13603
13604         * lyxfunc.h: remove setHintMessage
13605
13606         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13607
13608 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13609
13610         * BufferView_pimpl.C (specialChar): delete new inset if we have
13611         not been able to insert it.
13612
13613         * kbmap.C: revert to using int instead of kb_action, since all we
13614         are dealing with is pseudo-actions.
13615
13616         * LyXAction.C (searchActionArg): change to return int instead of
13617         kb_action, since the result is a pseudoaction.
13618
13619 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13620
13621         * buffer.C (insertErtContents): Fix (partially) the font bug.
13622
13623 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13624
13625         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13626         as the other one is broken on my machine!
13627
13628 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13629
13630         * commandtags.h:
13631         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13632
13633 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13634
13635         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13636         reflect their actual use. Provide compatibility code for older lyxrc
13637         files.
13638
13639         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13640         FL_NORMAL_STYLE.
13641         change names of popup font variables in line with the changes to lyxrc.C
13642
13643 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13644
13645         * buffer.C (asciiParagraph): avoid outputing a word twice after
13646         an inset.
13647
13648         * lyxrc.C (getDescription): document that document_path and
13649         template_path can be empty.
13650
13651 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13652
13653         * LaTeXFeatures.C (getMacros):
13654         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13655
13656         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13657
13658         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13659         getPackages.
13660         (getPackages): rename feature "floats" to "float". Use an array to
13661         iterate over 'simple' features (i.e. just a \usepackage). Add
13662         handling of "amsmath" (renamed from "amsstyle").
13663
13664 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13665
13666         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13667         features list.
13668
13669 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13670
13671         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13672         FuncStaus::FuncStatus & FuncStaus::some_method().
13673
13674 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13675
13676         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13677         of the func_satus stuff. Edited and massaged in various ways by
13678         JMarc.
13679
13680         * lyxfunc.C (getStatus): use FuncStatus
13681
13682 2002-01-08  Juergen Vigna  <jug@sad.it>
13683
13684         * text.C (nextBreakPoint): use function Inset::isChar().
13685
13686         * paragraph.C (TeXOnePar): use function
13687         Inset::forceDefaultParagraphs.
13688
13689         * buffer.C (latexParagraphs): use function
13690         Inset::forceDefaultParagraphs.
13691
13692 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13693
13694         * lyx_gui.C (init): set the style of the menu popups to
13695         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13696
13697 2002-01-07  Juergen Vigna  <jug@sad.it>
13698
13699         * text.C (setHeightOfRow): small fix
13700         (prepareToPrint): don't look at alignment if we don't have the place
13701         for doing it.
13702
13703 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13704
13705         * box.C: New file. Move the Box methods and functions out of box.h,
13706         following Lars' suggestion.
13707
13708 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13709
13710         * box.h: #include "support/LOstream.h", needed for inlined function.
13711
13712         * lyxtextclass.C:
13713         * lyxtextclasslist.C: added some using std declarations.
13714
13715 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13716
13717         * box.h: make signed dimensions to allow insets wider than
13718           the screen (bug #162)
13719
13720         * BufferView_pimpl.C: add some insetHit debug
13721
13722 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13723
13724         * vc-backend.C: add FIXME
13725
13726 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13727
13728         * lyxfunc.C (getStatus): enable code for showing math font status
13729         in toolbar/menu.
13730
13731 2002-01-07  Juergen Vigna  <jug@sad.it>
13732
13733         * text.C (nextBreakPoint): removed debug output not needed anymore.
13734
13735 2002-01-06  Juergen Vigna  <jug@sad.it>
13736
13737         * text.C (nextBreakPoint): fixed up this function we had this bug
13738         since ever but now hopefully we break row better.
13739         (insertChar): we have to check if an inset is the next char as it
13740         could now happen that a large inset is causing a break.
13741
13742 2002-01-05  Juergen Vigna  <jug@sad.it>
13743
13744         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13745         if it doesn't like to be drawed.
13746
13747 2002-01-04  Juergen Vigna  <jug@sad.it>
13748
13749         * BufferView2.C (lockInset): forgot to set a cursor.
13750
13751         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13752
13753 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13754
13755         * FormMathsPanel.C:
13756         * FormMathsPanel.h
13757         * MathsSymbols.C:
13758         * form_maths_panel.C:
13759         * form_maths_panel.h:
13760         * form_maths_panel.fd: implemented sub- and super- buttons in math
13761         panel.
13762
13763         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13764         (or ^ space) to be used as in TeX (req'd by André).
13765
13766         * lyxfunc.C: Allow ^ and _ again to be used both as
13767         super/subscript (mathed) and as themselves (in text).
13768
13769 2002-01-03  Allan Rae  <rae@lyx.org>
13770
13771         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13772         "LyX" or the filename of the current buffer if it has one.  This is a
13773         modified form of John Levon's patch.
13774
13775         * XFormsView.C (setWindowTitle): also set icon title.
13776
13777         * LyXView.h (setWindowTitle): signature changed.
13778         * XFormsView.h (setWindowTitle): ditto.
13779
13780 2002-01-02  Juergen Vigna  <jug@sad.it>
13781
13782         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13783
13784 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13785
13786         * screen.C (topCursorVisible): introduce a temp var for
13787         text->cursor.row(), handle the case where this row is null. (kindo
13788         hachish)
13789
13790         * text2.C (setCursor): add a couple of asserts.
13791
13792         * paragraph.h (inset_iterator): add -> operator
13793
13794         * paragraph.[Ch] (autoDeleteInsets): remove member function
13795
13796         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13797         cursor pos correctly and handle inset deletion by itself.
13798         (insertErrors): move iterator declaration out of for expression
13799
13800         * lyxtextclass.C: add <algorithm>
13801
13802         * Makefile.am: added the new files to sources, removed layout.C
13803
13804         * layout.C: removed file
13805
13806         * layout.h: remove LYX_DUMMY_LAYOUT
13807
13808         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13809         layout.
13810
13811         * lyxlayout.[Ch]:
13812         * lyxtextclass.[Ch]:
13813         * lyxtextclasslist.[Ch]: new files
13814
13815         * include order changes to a lot of files, also changes because of
13816         the six new files.
13817
13818 2001-12-27  Juergen Vigna  <jug@sad.it>
13819
13820         * buffer.C (asciiParagraph): more fixes.
13821
13822         * tabular.C (ascii): make ascii export support export of only the
13823         data separated by a column-delimiter.
13824         (ascii): better support for ascii export.
13825
13826         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13827
13828 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13829
13830         * tabular_funcs.C: use a "using std::getline" instead of the
13831         previous fix from Angus (necessary for cxx + lyxstring)
13832
13833 2001-12-24  Juergen Vigna  <jug@sad.it>
13834
13835         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13836
13837         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13838         problems. First check a minipage also if we have some ert-contents
13839         (not only on par->size(), second set the right depth of the paragraph
13840         on the relink to the root-paragraph-list!
13841
13842         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13843         which then did not anymore update the main paragraphs on undo/redo!
13844
13845 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13846
13847         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13848         code. Support all font-changing funcs (even those which are not in
13849         menu currently). Support for reporting font settings in
13850         mathed (disabled until Andre provides a function on mathed's side).
13851
13852         * func_status.h (toggle): small helper function to set toggle
13853         state on a flag.
13854
13855 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13856
13857         * tabular_funcs.C: getline -> std::getline
13858
13859 2001-12-21  Juergen Vigna  <jug@sad.it>
13860
13861         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13862         accessed and could be 0 (I couldn't generate this but it seems
13863         Michael could!).
13864
13865 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13866
13867         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13868         * tabular_funcs.h: here and include iosfwd
13869
13870 2001-12-20  Juergen Vigna  <jug@sad.it>
13871
13872         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13873         inside inset but undo_par was.
13874
13875 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13876
13877         * Thesaurus.C: always include <config.h> in sources.
13878
13879         * Painter.h:
13880         * lyxlookup.h:
13881         * box.h: do not include <config.h> in header files
13882
13883         * text.C (paintLastRow): remove unused variable
13884
13885         * text.C (transformChar):
13886         (insertChar):
13887         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13888
13889         * Painter.C (text):
13890         * font.C (width): rewrite to use uppercase() instead of
13891         islower/toupper.
13892
13893         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13894
13895 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13896
13897         * lyxfind.C: clean up of find failure position change
13898
13899 2001-12-20  Juergen Vigna  <jug@sad.it>
13900
13901         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13902
13903         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13904         (TeXRow): added to LaTeX a single tabular row.
13905         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13906         (Latex): simplified and finally good LT-h/f support.
13907         (various_functions): just small adaptions for LT-h/f support.
13908
13909         * tabular_funcs.[hC]: added and moved here all not classfunctions
13910         of LyXTabular.
13911
13912 2001-12-19  Juergen Vigna  <jug@sad.it>
13913
13914         * tabular.[Ch]: better support for longtabular options (not finished
13915         yet!)
13916
13917 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13918
13919         * text.C (paintLastRow): use the label font instead of the font of
13920         the last character to compute the size of *_BOX. This makes more
13921         sense and avoids a crash with empty paragraphs.
13922         Use Painter::rectangle to draw EMPTY_BOX.
13923
13924 2001-12-19  Juergen Vigna  <jug@sad.it>
13925
13926         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13927         the paragraphs if the replaced paragraph is not the first one!
13928         Tried to delete not used paragraphs but does not work yet so for
13929         now it's inside #ifdef's and by default off!
13930
13931 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13932
13933         * MenuBackend.C: include "lyx_main.h" instead of declaring
13934         lastfiles (actually was declared as LastFiles* instead of a
13935         scoped_ptr).
13936
13937 2001-12-17  Juergen Vigna  <jug@sad.it>
13938
13939         * tabular.C (AppendColumn): applied John's fix
13940
13941 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13942
13943         * BufferView.h:
13944         * BufferView.C:
13945         * BufferView_pimpl.h:
13946         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13947
13948         * Makefile.am:
13949         * box.h: new start of class for above
13950
13951         * lyxfunc.C: ignore space-only minibuffer dispatches.
13952           Show the command name when it doesn't exist
13953
13954         * minibuffer.C: don't add empty lines to the history
13955
13956         * minibuffer.C: add a space on dropdown completion
13957
13958 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13959
13960         * text.C: fix line above/below drawing in insets
13961
13962 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13963
13964         * lyxlength.C (LyXLength): Initialize private variables.
13965
13966 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13967
13968         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13969         when inserting error insets.
13970
13971 2001-12-13  Juergen Vigna  <jug@sad.it>
13972
13973         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13974         actually sometimes the before-paragraph.
13975         (setUndo): don't clear the redostack if we're not actually undoing!
13976
13977 2001-12-06  Juergen Vigna  <jug@sad.it>
13978
13979         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13980         and fixed redoing of main paragraph, so we can use it now ;)
13981
13982         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13983
13984 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13985
13986         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13987         Juergen's request
13988
13989 2001-12-13  André Pönitz <poenitz@gmx.net>
13990
13991         * undostack.[Ch]:
13992         * undo_func.C: minor cleanup
13993
13994 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13995
13996         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13997         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13998         font in urw-fonts package which is marked as -urw-fontspecific and
13999         does not work (incidentally, changing the encoding in the
14000         fonts.dir of this package to -adobe-fontspecific fixes the
14001         problem).
14002
14003         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14004         is a crash when undoing first paragraph (Juergen, please take a
14005         look). THis does not mean the undo fix is wrong, just that it
14006         uncovers problems.
14007
14008         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14009         the (Paragraph*) version when needed instead of duplicating the
14010         code.
14011
14012         * text.C (workWidth): use Inset::parOwner to find out where the
14013         inset has been inserted. This is a huge performance gain for large
14014         documents with lots of insets. If Inset::parOwner is not set, fall
14015         back on the brute force method
14016
14017         * paragraph_pimpl.C (insertInset):
14018         * paragraph.C (Paragraph):
14019         (cutIntoMinibuffer): set parOwner of insets when
14020         inserting/removing them
14021
14022         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14023
14024 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14025
14026         * commandtags.h:
14027         * LyXAction.C:
14028         * lyx_main.C:
14029         * lyxfunc.C:
14030         * mathed/formulabase.C:
14031         * mathed/math_cursor.[Ch]:
14032         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14033
14034
14035 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14036
14037         * lyxlength.[Ch] (operator!=): new function
14038
14039 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14040
14041         * text.C (workWidth): use Inset::parOwner to find out where the
14042         inset has been inserted. This is a huge performance gain for large
14043         documents with lots of insets. If Inset::parOwner is not set, fall
14044         back on the brute force method
14045
14046         * paragraph_pimpl.C (insertInset):
14047         * paragraph.C (Paragraph):
14048         (cutIntoMinibuffer): set parOwner of insets when
14049         inserting/removing them
14050
14051         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14052
14053 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14054
14055         * tabular-old.C (getTokenValue):
14056         * tabular.C (getTokenValue):
14057         (write_attribute): new versions for LyXLength
14058         (everywhere): adjust the use of widths
14059
14060         * tabular.h: change the type of widths from string to LyXLength
14061
14062 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14063
14064         * paragraph.C: fixed missing line number count when exporting
14065         Environments to LaTeX file
14066
14067         * buffer.C: added informational message for checking line numbers.
14068
14069 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14070
14071         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14072         paragraph, do the 'double space' part, but not the 'empty
14073         paragraph' one.
14074
14075         * text.C (workWidth): small optimization
14076         (getLengthMarkerHeight): use minimal size for negative lengths.
14077
14078 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14079
14080         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14081
14082         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14083
14084 2001-12-11  André Pönitz <poenitz@gmx.net>
14085
14086         * FontLoader.C:
14087         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14088
14089 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14090
14091         * text2.C: keep selection on a setFont()
14092
14093 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14094
14095         * lyx_cb.C: another bv->text misuse, from insert label
14096
14097 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14098
14099         * kbsequence.h:
14100         * kbsequence.C: re-instate nmodifier mask
14101
14102 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14103
14104         * lyx_main.h: make lyxGUI private.
14105
14106 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14107
14108         * lyxfind.C: place the cursor correctly on failed search
14109
14110 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14111
14112         * text.C (getLengthMarkerHeight): for small heights, the arrows
14113         are not always on top/bottom of the text
14114         (drawLengthMarker): smaller arrows; take the left margin in
14115         account; draw also vfills.
14116         (paintFirstRow):
14117         (paintLastRow): remove special code for vfill and standard spaces,
14118         since everything is handled in drawLengthMarker now.
14119
14120 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14121
14122         * buffer.C (insertErtContents): try to handle font and language
14123         interaction a bit better.g
14124
14125         * ColorHandler.C (updateColor): change the hash to cover the whole
14126         LColor enum, ws cleanup
14127         (getGCLinepars): ditto
14128         (getGCLinepars): only lookup in the linecache once.
14129
14130 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14131
14132         * iterators.C (operator++): Make the iterator more robust
14133
14134         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14135         (John's patch)
14136         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14137
14138 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14139
14140         * lyxtext.h:
14141         * text.C: better added space drawing
14142
14143 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14144
14145         * LyXView.C:
14146         * BufferView2.C: fix layout combo update on inset unlock
14147
14148 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14149
14150         * Makefile.am: don't compile unused files
14151
14152 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14153
14154         * lyxfunc.C:
14155         * commandtags.h:
14156         * LyXAction.C: remove old LFUN_LAYOUTNO
14157
14158 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14159
14160         * paragraph_pimpl.h:
14161         * paragraph_pimpl.C: isTextAt() doesn't need font param
14162
14163 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14164
14165         * lyxlex.h:
14166         * lyxlex.C: little cleanup
14167
14168 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14169
14170         * BufferView_pimpl.C: fix insertAscii for insets
14171
14172 2001-12-05  Juergen Vigna  <jug@sad.it>
14173
14174         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14175         set the right font on the "multi" paragraph paste!
14176
14177 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14178
14179         * trans_decl.h:
14180         * trans_mgr.[Ch]:
14181         * trans.[Ch]:
14182         * lyxgluelength.C:
14183         * lyxlength.C: remove out-commented code.
14184
14185         * BufferView_pimpl:
14186         * CutAndPaste.C:
14187         * DepTable.C:
14188         * buffer.C:
14189         * chset.C:
14190         * lastfiles.C:
14191         * lyxlex.C:
14192         * lyxlex_pimpl.C:
14193         * lyxserver.C:
14194         * screen.C:
14195         * tabular-old.C:
14196         * tabular.C:
14197         * text.C:
14198         * trans_mgr.C:
14199         * vc-backend.C: change "while(" to "while ("
14200
14201         * lyxlength.[Ch]: add zero function to check if length is zero or
14202         not
14203         * lyxgluelength.C: use it
14204
14205 2001-12-05  Allan Rae  <rae@lyx.org>
14206
14207         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14208         Works for 2.95.3, from what I understand of Garst's reports this should
14209         work for other g++ versions.  We're screwed if the abs(int) definition
14210         changed between bugfix releases of gcc.
14211
14212 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14213
14214         * text.C: fix chapter label offset !
14215
14216 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14217
14218         * lyxtext.h:
14219         * text.C: fix hfill at end of line, clean up
14220
14221 2001-12-04  Juergen Vigna  <jug@sad.it>
14222
14223         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14224         that we force an update of the inset and it's owners if neccessary.
14225
14226 2001-12-03  Juergen Vigna  <jug@sad.it>
14227
14228         * text.C (rowLast): simplified code
14229
14230 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14231
14232         * lyxfunc.C: fix show options on timeout
14233
14234 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14235
14236         * screen.C (topCursorVisible): scroll half a page when the cursor
14237         reached top of bottom of screen
14238
14239 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14240
14241         * minibuffer.C: deactivate on loss of focus
14242
14243 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14244
14245         * vspace.[Ch] (operator!=): add operator.
14246
14247 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14248
14249         * BufferView_pimpl.C: refuse to open an inset when
14250         there's a selection.
14251
14252 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14253
14254         * BufferView_pimpl.C: allow to click on RHS of full row insets
14255
14256 2001-11-30  Juergen Vigna  <jug@sad.it>
14257
14258         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14259         insets for undo reasons.
14260
14261 2001-11-28  André Pönitz <poenitz@gmx.net>
14262
14263         * vspace.[Ch]: cosmetical changes
14264
14265 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14266
14267         * LyXAction.h:
14268         * LyXAction.C:
14269         * lyxfunc.h:
14270         * lyxfunc.C:
14271         * kbmap.h:
14272         * kbmap.C:
14273         * lyxrc.C:
14274         * kbsequence.h:
14275         * kbsequence.C: part re-write of old kb code
14276
14277         * Painter.C:
14278         * WorkArea.C: remove Lgb_bug_find_hack
14279
14280 2001-11-30  José Matos <jamatos@fep.up.pt>
14281
14282         * buffer.C (makeDocBookFile): add a comment to point a hack.
14283         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14284         Fixed a double write of labels.
14285
14286 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14287
14288         * LaTeX.C:
14289         * LaTeX.h Fixed bug in LaTeX class where it would not
14290         re-run latex if no depfiles were changed, but the .dvi was removed.
14291
14292 2001-11-28  André Pönitz <poenitz@gmx.net>
14293
14294         * all the files from the change on 2001/11/26:
14295         use lyx::layout_type instead of LyXTextClass::size_type
14296         use lyx::textclass_type instead of LyXTextClassList::size_type
14297
14298 2001-11-29  Juergen Vigna  <jug@sad.it>
14299
14300         * text.C: added support for paragraph::isFreeSpacing()
14301
14302         * buffer.C: same as above
14303
14304         * paragraph.h: inserted isFreeSpacing() function to enable
14305         FreeSpacing inside InsetERT.
14306
14307         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14308         of the paragraph's in the cut/copy buffer to 0!
14309
14310         * text2.C (removeRow): remove the assert as it can!
14311
14312         * lyxtext.h: added helper function firstRow returning firstrow and
14313         made firstrow private again.
14314
14315         * BufferView2.C (lockInset): don't relock if we're already locked!
14316
14317         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14318         the only paragraph.
14319         (removeRow): added Assert::(firstrow)
14320
14321         * debug.C: forgot to add INSETTEXT here.
14322
14323 2001-11-28  Juergen Vigna  <jug@sad.it>
14324
14325         * sp_spell.C (initialize): changed error text to more general
14326         spellchecker command use (not only ispell!)
14327
14328         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14329
14330         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14331
14332 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14333
14334         * vspace.C: initialise lyxgluelength on failure
14335
14336 2001-11-28  Allan Rae  <rae@lyx.org>
14337
14338         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14339         declaration & definition that looks like a function declaration.
14340
14341 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14342
14343         * BufferView2.C (copy):
14344         (copyEnvironment): do not clear the selection when doing a copy.
14345
14346         * text.C (paintFirstRow): compilation fix
14347
14348 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14349
14350         * tabular.C (Latex): correct line count when writing latex.
14351
14352 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14353
14354         * paragraph_pimpl.h:
14355         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14356           bug a bit
14357
14358 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14359
14360         * text.C:
14361         * LColor.h:
14362         * LColor.C: change vfillline->added_space
14363
14364         * text.C: add markers and text for added space
14365
14366         * vspace.C: fix comment
14367
14368 2001-11-28  André Pönitz <poenitz@gmx.net>
14369
14370         * paragraph.C: whitespace changes
14371         * all the other files from the change on 2001/11/26:
14372         change *::pos_type into lyx::pos_type
14373
14374 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14375
14376         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14377         language of the document when inserting error insets.
14378
14379 2001-11-26  André Pönitz <poenitz@gmx.net>
14380
14381         * BufferView_pimpl.[Ch]:
14382         *       CutAndPaste.C:
14383         * buffer.[Ch]:
14384         * lyxcursor.[Ch]:
14385         * lyxfind.C:
14386         * lyxfunc.C:
14387         * lyxrow.[Ch]:
14388         * paragraph.[Ch]:
14389         * paragraph_pimpl.[Ch]:
14390         * sp_spell.C:
14391         * text.C:
14392         * text2.C: reduce header dependencies, introduce type for positions
14393
14394 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14395
14396         * <various>: change to use Alert.h
14397
14398 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14399
14400         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14401         when encountering an unknown token.
14402         (readLyXformat2): Show an error message if there were unknown tokens.
14403
14404 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14405
14406         * BufferView2.C:
14407         * BufferView_pimpl.C:
14408         * buffer.C:
14409         * paragraph.h:
14410         * text.C:
14411         * text2.C: use par->isInset()
14412
14413 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14414
14415         * paragraph_pimpl.h:
14416         * paragraph_pimpl.C: cleanup
14417
14418 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14419
14420         * text2.C (removeRow):
14421         * text.C (setHeightOfRow): remove useless (and costly) call to
14422         getRow.
14423
14424 2001-11-20  Allan Rae  <rae@lyx.org>
14425
14426         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14427         Now need Inset*::checkInsertChar() to return true for appropriate
14428         cases so that the characters in the minibuffer will actually be
14429         inserted.
14430
14431 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14432
14433         * text.C: change the order of the includes.
14434         (workWidth): initialize it at once.
14435         (workWidth): make maxw unsigned
14436         (setHeightOfRow): remove unused variable (inset)
14437         (selectSelectedWord): remove unused variable (inset)
14438         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14439
14440 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14441
14442         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14443         server is not running.
14444         (openConnection):
14445         (closeConnection): add debug info when server is disabled.
14446
14447         * ColorHandler.C (getGCForeground): send debug message to GUI
14448         channel.
14449
14450         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14451
14452         * kbmap.C (bind): modify because return conventions of
14453         kb_sequence::parse have changed.
14454
14455         * kbsequence.C (parse): only ignore spaces and not any stupid
14456         control character. This avoids tests like s[i] <= ' ', which are
14457         guaranteed to fail with 8bit characters and signed chars.
14458         Change return code to string::npos when there have been no error
14459         (0 was a bad idea when error is at first character)
14460
14461 2001-11-14  José Matos  <jamatos@fep.up.pt>
14462
14463         * buffer.h:
14464         * buffer.C (simpleDocBookOnePar): removed unused argument.
14465
14466 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14467
14468         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14469         insets which are part of a word. Paragraph::isLetter takes care of
14470         that now. Use Paragraph::isInset to identify insets.
14471         (selectSelectedWord): do not test for hyphenation break.
14472
14473         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14474         that protected spaces are considered as spaces.
14475
14476         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14477         Inset::isLetter.
14478
14479 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14480
14481         * lyxserver.h:
14482         * lyxserver.C: fix it. and small cleanup.
14483
14484 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14485
14486         * BufferView_pimpl.C: use inline helpers
14487
14488         * LaTeXFeatures.h:
14489         * LaTeXFeatures.C: fix typos
14490
14491         * Spacing.h:
14492         * Spacing.C: move spacing_string into class
14493
14494         * ToolbarDefaults.C: move stuff into namespace anon
14495
14496         * layout.h: update enum
14497
14498         * lyxfunc.C: use better debug
14499
14500         * minibuffer.h: fix typo
14501
14502         * debug.h:
14503         * debug.C:
14504         * WorkArea.C: add and use Debug::WORKAREA
14505
14506         * lyxtext.h:
14507         * text.C:
14508         * text2.C: code re-organisation, inline helpers
14509
14510 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14511
14512         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14513         std::vector.empty().
14514
14515 2001-11-09  Allan Rae  <rae@lyx.org>
14516
14517         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14518         '\n's after tables.  Tabular and ERT inset work now makes this no
14519         longer necessary.
14520
14521 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14522
14523         * minibuffer.h:
14524         * minibuffer.C: fix crash, improve drop-down completion
14525
14526 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14527
14528         * lyxserver.h:
14529         * lyxserver.C: invalidate fd's when doing endPipe()
14530
14531 2001-11-08  José Matos  <jamatos@fep.up.pt>
14532
14533         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14534         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14535
14536         * paragraph.h:
14537         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14538
14539 2001-11-07  José Matos  <jamatos@fep.up.pt>
14540
14541         * buffer.h:
14542         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14543         const qualifier.
14544
14545         * buffer.C (sgmlOpenTag):
14546         * buffer.C (sgmlCloseTag): removed debug info.
14547
14548         * buffer.h (sgmlOpenTag):
14549         * buffer.h (sgmlCloseTag): made public.
14550
14551 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14552
14553         * buffer.C (saveParamsAsDefaults):
14554         * lyx_cb.C (MenuLayoutSave): remove
14555
14556         * LyXAction.C (init):
14557         * commandtags.h:
14558         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14559
14560 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14561
14562         * buffer.C (setPaperStuff): removed from here...
14563
14564         * bufferparams.C (setPaperStuff): ... and moved there.
14565
14566 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14567
14568         * minibuffer.h:
14569         * minibuffer.C:
14570         * XFormsView.C: add support for drop-down completion
14571
14572 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14573
14574         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14575         commands.
14576
14577 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14578
14579         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14580         disabled.
14581
14582 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14583
14584         * lyx_main.C: change ref to known bugs
14585
14586 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14587
14588         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14589         to work around older babel problems.
14590
14591 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14592
14593         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14594
14595 2001-10-24  Juergen Vigna  <jug@sad.it>
14596
14597         * tabular-old.C (ReadOld): below variable changes reflected.
14598
14599         * tabular.[Ch]: added ltType struct for longtable header/footer
14600         defines and changed all instances where they are used. Added
14601         future support for double top/bottom rows.
14602
14603 2001-10-24  José Matos  <jamatos@fep.up.pt>
14604
14605         * buffer.h (docbookHandleCaption):
14606         * buffer.C (docbookHandleCaption): removed unused function.
14607         (makeDocBookFile): moved docbook supported version to v4.1.
14608
14609 2001-10-24  José Matos  <jamatos@fep.up.pt>
14610
14611         * tabular.h:
14612         * tabular.C (docbookRow): new function to export docbook code of a row.
14613         (DocBook): now honors the longtable flags.
14614
14615 2001-10-23  José Matos  <jamatos@fep.up.pt>
14616
14617         * LaTeXFeatures.h:
14618         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14619         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14620
14621         * buffer.C (makeLinuxDocFile):
14622         (makeDocBookFile): reworked the preamble, more clean, and with
14623         support for lyx defined entities. Changed the document declaration
14624         to be more XML friendly.
14625
14626         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14627         if we need to output XML that should be done with a filter.
14628
14629 2001-10-22  Juergen Vigna  <jug@sad.it>
14630
14631         * sp_pspell.h (class PSpell): add alive function needed in the
14632         controller to see if the spellchecker could be started.
14633
14634 2001-10-22  Juergen Vigna  <jug@sad.it>
14635
14636         * buffer.C (insertStringAsLines): modify the font for inserting
14637         chars in certain conditions by calling checkInsertChar(font).
14638
14639 2001-10-19  Juergen Vigna  <jug@sad.it>
14640
14641         * text.C (workWidth): use getRow instead of wrong algorithm.
14642         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14643
14644 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14645
14646         * lyxserver.h:
14647         * lyxserver.C:
14648         * lyx_main.h:
14649         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14650
14651 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14652
14653         * text.C (workWidth): do not search for the exact row when
14654         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14655         optimization for big documents.
14656
14657 2001-10-18  Juergen Vigna  <jug@sad.it>
14658
14659         * text.C (workWidth): new function with added Inset * parameter.
14660
14661 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14662
14663         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14664
14665         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14666         change return type of getColumnNearX.
14667
14668
14669         * text.C (changeRegionCase): use uppercase/lowercase instead of
14670         toupper/tolower.
14671         (leftMargin):
14672         (rightMargin): simplify code by factoring out the uses of
14673         textclasslist.
14674         (labelFill):
14675         (numberOfHfills):
14676         (setHeightOfRow):
14677         (appendParagraph): use Paragraph::size_type
14678
14679 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14680
14681         * vspace.C (asLatexString): add a missing break
14682
14683 2001-10-15  Herbert Voss  <voss@perce.de>
14684
14685         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14686
14687 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14688
14689         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14690         is not available.
14691
14692 2001-10-10  André Pönitz <poenitz@gmx.net>
14693
14694         * lyxfunc.C: removed greek_kb_flag.
14695
14696 2001-10-10  Herbert Voss  <voss@perce.de>
14697
14698         * lyx_main.C: delete global string help_lyxdir.
14699
14700 2001-10-09  Herbert Voss  <voss@perce.de>
14701
14702         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14703
14704         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14705
14706         * lyx_main.C: added global string help_lyxdir.
14707
14708         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14709
14710 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14711
14712         * lyxrc.C (set_font_norm_type): support iso8859-4
14713
14714 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14715
14716         * LaTeX.C (deplog): add another regex for MikTeX
14717
14718 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14719
14720         * lyxrc.C (set_font_norm_type): support iso8859-3
14721
14722 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14723
14724         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14725
14726         * LaTeXFeatures.C: remove special case of french and index
14727
14728         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14729         before \begin{document}). This solves several incompatibilities.
14730
14731 2001-10-03  Garst Reese  <reese@isn.net>
14732
14733         * lyx_cb.C: change CheckTex error msg.
14734
14735 2001-10-03  José Matos  <jamatos@fep.up.pt>
14736
14737         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14738
14739 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14740
14741         * .cvsignore: update
14742
14743         * lyx_main.C (commandLineVersionInfo): use new style version info.
14744
14745         * buffer.C (writeFile):
14746         (makeLaTeXFile):
14747         (makeLinuxDocFile):
14748         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14749
14750         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14751
14752         * version.h: update to use stuff in version.C
14753
14754         * version.C.in: new file. Contains version information determined
14755         at compile time. This is a merging of version.h and
14756         version_info.h.in.
14757
14758 2001-10-03  Juergen Vigna  <jug@sad.it>
14759
14760         * BufferView_pimpl.C (update): don't change "dirty" status in
14761         updateInset call.
14762
14763 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14764
14765         * WorkArea.C (c-tor): re-position version string slightly.
14766
14767 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14768
14769         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14770         revert to previous code.
14771
14772         WorkArea.[Ch]: (show, destroySplash): methods removed.
14773
14774         WorkArea.C: rework code so that it's an amalgam of the codes before and
14775         after the splash screen was moved to WorkArea.
14776
14777 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14778
14779         * lyxrc.C (read):
14780         * vspace.C (inPixels):
14781         (lyx_advance):
14782         * kbmap.C (bind):
14783         * buffer.C (insertStringAsLines):
14784         (asciiParagraph): fix types to be large enough
14785
14786         * lyxlex_pimpl.h: change member status from short to int
14787
14788         * layout.h: fix type of endlabeltype
14789
14790         * kbmap.C (bind):
14791         * kbsequence.C (parse): change return type to string::size_type
14792
14793         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14794         variable
14795
14796         * Bullet.C (bulletSize):
14797         (bulletEntry): do not use short ints as parameters
14798
14799         * BufferView2.C (insertLyXFile): change a char to an int.
14800
14801         * WorkArea.C (WorkArea): remove unneeded floats in computation
14802
14803 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14804
14805         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14806
14807         * paragraph.C (asString): Do not ignore newline/hfill chars when
14808         copying to the clipboard.
14809
14810 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14811
14812         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14813         after a multi-line inset.
14814
14815 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14816
14817         * paragraph.C (validate): Set NeedLyXFootnoteCode
14818
14819 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14820
14821         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14822         and decrease-error to decrease.
14823
14824 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14825
14826         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14827         it more readable (should be equivalent)
14828
14829 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14830
14831         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14832
14833 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14834
14835         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14836         of a cursor (row, etc.) after a character has been deleted
14837         (deleteEmptyParagraphMechanism): call the method above on _all_
14838         cursors held by the LyXText when a double space has been
14839         detected/deleted.
14840
14841 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14842
14843         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14844         pixmap.
14845         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14846
14847         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14848         background. Use greyOut() and the new show() methods to toggle between
14849         the foreground and background. Add code to remove the splash after
14850         its initial showing.
14851
14852         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14853         (create_forms): no longer call Dialogs::showSplash.
14854
14855 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14856
14857         * .cvsignore: add version_info.h
14858
14859 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14860
14861         * version_info.h.in: new file
14862
14863         * Makefile.am: add version_info.h.in
14864
14865         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14866         version_info.h instead of VERSION_INFO
14867
14868 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14869
14870         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14871         The ERT inset now returns string().
14872
14873 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14874
14875         * lyxtext.h, text.C (selectNextWord): renamed as
14876         selectNextWordToSpellcheck.
14877
14878         * text.C (selectNextWordToSpellcheck): Modified to not select
14879         words inside an ERT inset.
14880
14881 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14882
14883         * lyx_cb.C (MenuLayoutSave): change a bit the question
14884
14885         * sp_base.h: include <sys/types.h>
14886
14887 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14888
14889         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14890
14891 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14892
14893         * several files: fix typos in user-visible strings
14894
14895 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14896
14897         * text2.C (pasteSelection): do not set the selection, since it
14898         will be cleared later. Actually, the intent was to fix the way the
14899         selection was set, but I figured rmoving the code was just as good.
14900
14901 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14902
14903         * FontLoader.C (available): Check if font is available without
14904         loading the font.
14905
14906 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14907
14908         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14909
14910 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14911
14912         * lyxrc.[Ch]: added display_graphics variable and associated code.
14913
14914 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14915
14916         * bufferparams.C (hasClassDefaults): new method. Returns true if
14917         the buffer parameters correspond to known class defaults
14918
14919 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14920
14921         * XFormsView.C (show): set minimum size to the main window.
14922
14923 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14924
14925         * text2.C (copySelection):
14926         (cutSelection):
14927         * lyxfind.C (LyXReplace):
14928         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14929         LyXText::selectionAsString.
14930
14931         * paragraph.C (asString): add "label" argument to the second form
14932
14933         * text2.C (selectionAsString): add "label" argument and pass it to
14934         Paragraph::asString.
14935
14936 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14937
14938         * lyx_main.C (commandLineHelp): remove version information
14939
14940 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14941
14942         * lyx_main.C: add -version commandline option
14943
14944 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14945
14946         * paragraph.h: make the optional constructor arg required instead.
14947         some modifications to other files because of this.
14948
14949         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14950
14951         * lyxserver.C (C_LyXComm_callback): make it static
14952
14953         * lyx_main.C (error_handler): make it static
14954
14955         * lyx_gui.C (LyX_XErrHandler): make it static
14956
14957         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14958
14959         * WorkArea.C: make the extern "C" methods static.
14960
14961         * Makefile.am (lyx_LDADD): simplify
14962
14963 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14964
14965         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14966         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14967
14968         * LyXAction.C (init):
14969         * lyxfunc.C (dispatch): associated code removal.
14970
14971 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14972
14973         * lyxfont.h (isSymbolFont): shut off warning
14974
14975         * text.C (setHeightOfRow):
14976         (getVisibleRow): fix crash with empty paragraphs which have a
14977         bottom line
14978
14979 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14980
14981         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14982         code.
14983
14984 2001-09-04  José Matos  <jamatos@fep.up.pt>
14985         * buffer.C
14986         * buffer.h
14987         * tabular.C (docbook): rename docBook method to docbook.
14988
14989 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14990
14991         * Makefile.am: add dependencies to main.o.
14992
14993 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
14994
14995         * FontLoader.C (available): Return false if !lyxrc.use_gui
14996
14997 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14998
14999         * FontInfo.C (query):
15000         * converter.C (view):
15001         * importer.C (Import):
15002         * exporter.C (Export): Can not -> cannot.
15003
15004 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15005
15006         * BufferView_pimpl.C: allow to create index inset even if
15007           string is empty
15008
15009 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15010
15011         * buffer.C (getLists): replace boost::tie code with an explicit pair
15012         as boost::tie can break some compilers.
15013
15014         * iterators.h: Added a std:: declaration to the return type of
15015         ParIterator::size.
15016
15017 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15018
15019         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15020           case.
15021
15022 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15023
15024         * iterators.[Ch]: New files. Provide paragraph iterators.
15025
15026         * buffer.C (changeLanguage): Use paragraph iterators.
15027         (isMultiLingual): ditto
15028
15029         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15030
15031 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15032
15033         * FontLoader.C: Support for cmr font.
15034
15035 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15036
15037         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15038         (available): New method.
15039
15040         * FontInfo.C (getFontname): Use scalable fonts even when
15041         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15042         found.
15043
15044 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15045
15046         * converter.C (Formats::view): reverted! Incorrect fix.
15047
15048 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15049
15050         * converter.C (Formats::view): only output the -paper option
15051         if the dvi viewer is xdvi, thereby fixing bug #233429.
15052
15053 2001-08-23  Herbert Voss  <voss@perce>
15054
15055         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15056
15057 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15058
15059         * Spacing.h (Spacing): Set space to Default on in the default
15060         constructor.
15061
15062 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15063
15064         * vc-backend.h (RCS::versionString): add RCS to version
15065         (CVS::versionString): add CVS to version
15066
15067         * vc-backend.C (scanMaster): do not add CVS to version.
15068         (scanMaster): do not add RCS to version
15069
15070         * lyxvc.C (versionString): new method
15071
15072         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15073
15074 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15075
15076         * Spacing.C (set): initialize fval
15077
15078 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15079
15080         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15081         " or \.
15082
15083 2001-08-16  Juergen Vigna  <jug@sad.it>
15084
15085         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15086
15087 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15088
15089         * BufferView_pimpl.C:
15090         * figureForm.C:
15091         * lyxtext.h:
15092         * text2.C: setParagraph takes linespacing now
15093
15094 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15095
15096         * LyxAction.C: add internal LFUN_CITATION_INSERT
15097
15098         * LyXView.C: actually apply fix
15099
15100         * bufferlist.C: fix open non-existent file
15101
15102         * lyxfind.C: fix indentation
15103
15104         * lyxfunc.C: remove unneeded assert, fix typo
15105
15106 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15107
15108         * MenuBackend.C: use "Floatname List"
15109
15110 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15111
15112         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15113         when converting LaTeX layout to insetERT.
15114         Generate a non-collapsed float when reading old float
15115
15116 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15117
15118         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15119         ERT insets.
15120
15121 2001-08-13  Juergen Vigna  <jug@sad.it>
15122
15123         * text.C (fill): return 0 instead of 20 as this seems to be the more
15124         correct value.
15125
15126 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15127
15128         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15129         lyxrc.font_norm.
15130
15131 2001-08-13  Juergen Vigna  <jug@sad.it>
15132
15133         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15134         casesensitive off.
15135         (SearchBackward): comment out the unlocking of the inset_owner this
15136         should not be needed!
15137
15138 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15139
15140         * Many files: Remove inherit_language, and add latex_language
15141
15142         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15143         collapsible insets.
15144
15145 2001-08-10  Juergen Vigna  <jug@sad.it>
15146
15147         * text.C (prepareToPrint): fixed hfill-width in draw!
15148
15149         * BufferView2.C (selectLastWord): save the selection cursor as this
15150         now is cleared in the function LyXText::clearSelection!
15151
15152 2001-08-08  Juergen Vigna  <jug@sad.it>
15153
15154         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15155         BACKSPACE type functions.
15156
15157         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15158         is only cutted from the document but not put in the cut-buffer, where
15159         still the old stuff should be.
15160
15161         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15162
15163         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15164
15165         * tabular.C (SetWidthOfCell): fixed special case where the width
15166         was not updated!
15167         (LeftLine): handle '|' in align_special.
15168         (RightLine): ditto
15169         (LeftAlreadyDrawed): ditto
15170         (SetWidthOfCell): ditto
15171
15172 2001-08-07  Juergen Vigna  <jug@sad.it>
15173
15174         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15175
15176 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15177
15178         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15179         * lyxlex.[hC]: ditto
15180
15181 2001-08-06  Juergen Vigna  <jug@sad.it>
15182
15183         * text.C (getVisibleRow): fix up row clearing a bit.
15184
15185 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15186
15187         * minibuffer.C: make sure the X server sees the changes in the input.
15188
15189 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15190
15191         * paragraph.C (getFont): split into...
15192         (getLabelFont): this
15193         (getLayoutFont): and this
15194         * paragraph_pimpl.C (realizeFont): calling this
15195
15196         * text2.C (getFont): split into...
15197         (getLayoutFont): this
15198         (getLabelFont): and this
15199         (realizeFont): all three calling this
15200
15201         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15202         files where used.
15203
15204 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15205
15206         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15207
15208 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15209
15210         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15211         layouts from the Quote inset insertion.
15212
15213 2001-08-03  Juergen Vigna  <jug@sad.it>
15214
15215         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15216
15217         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15218         only if status not is already CHANGED_IN_DRAW (second level).
15219
15220         * text.C (draw): don't set the need_break_row when inside an
15221         InsetText LyXText.
15222
15223 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15224
15225         * buffer.C (parseSingleLyXformat2Token): handle more latex
15226         conversion cases.
15227
15228         * bufferview_funcs.[hC]: change function names to
15229         begin with small char, adjust other files.
15230
15231 2001-08-02  André Pönitz <poenitz@gmx.net>
15232
15233         * lyxfunc.C:
15234         BufferView_pimpl.C: remove broken special code for math-greek
15235
15236 2001-08-02  Juergen Vigna  <jug@sad.it>
15237
15238         * BufferView_pimpl.C (update): redone this function so that we
15239         update the text again if there was a CHANGE_IN_DRAW.
15240
15241         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15242         (drawFromTo): added a new internal bool which is used by draw() and
15243         redraw() function.
15244         (general): some cursor drawing problems fixed.
15245
15246 2001-08-01  Juergen Vigna  <jug@sad.it>
15247
15248         * lyxfind.C (LyXFind): fixed
15249         (SearchForward): ditto
15250         (SearchBackward): ditto
15251
15252         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15253         spurius drawing of the cursor in the main area.
15254
15255         * text2.C (status): small fix which could lead to a segfault!
15256         (clearSelection): remove unneeded BufferView param.
15257
15258 2001-08-01  André Pönitz <poenitz@gmx.net>
15259
15260         * lyxfunc.C: small change due to changed mathed interface
15261
15262 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15263
15264         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15265
15266 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15267
15268         * lyxfunc.c: fail gracefully if file doesn't exist
15269
15270         * LyXSendto.C:
15271         * buffer.C:
15272         * lyxfunc.C:
15273         * BufferView_pimpl.C: IsDirWriteable() proto changed
15274
15275         * LyXView.C: fix updateWindowTitle() to store the last title
15276
15277 2001-07-31  Juergen Vigna  <jug@sad.it>
15278
15279         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15280         the font (wrong since using of Paragraph::highestFontInRange).
15281
15282         * paragraph.C (highestFontInRange): added a default_size parameter.
15283
15284         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15285         (setHeightOfRow): reformat
15286
15287 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15288
15289         * converter.[hC] + affected files: move to (inital-char)lowercase
15290         function names.
15291
15292         * ParagraphParameters.C (ParagraphParameters): remove commented code
15293
15294         * PainterBase.[Ch]: remove commented code
15295
15296         * LaTeXFeatures.h: add "bool floats" for float.sty
15297
15298         * LaTeXFeatures.C (LaTeXFeatures): init floats
15299         (require): handle float
15300         (getPackages): do it with floats
15301
15302 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15303
15304         * BufferView_pimpl.C (Dispatch): improve handling of
15305         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15306
15307         * commandtags.h: #include lyxfont.h here temporarily to avoid
15308         keybinding bug.
15309
15310         * bufferlist.h: include LString.h here.
15311
15312 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15313
15314         * text2.C (getStringToIndex): new method.
15315
15316 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15317
15318         * *: Reduced header file dependencies all over.
15319
15320 2001-07-30  Baruch Even  <baruch@lyx.org>
15321
15322         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15323
15324 2001-07-29  Baruch Even  <baruch@lyx.org>
15325
15326         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15327
15328 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15329
15330         * ParameterStruct.h (endif): add a default constructor to make
15331         sure that all variables is initialized.
15332
15333         * ParagraphParameters.C (ParagraphParameters): adjust
15334
15335 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15336
15337         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15338         index; also, check that there is something to index, and that it
15339         does not span over several paragraphs.
15340         (doubleClick): use WHOLE_WORD_STRICT for double click.
15341
15342         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15343
15344         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15345         scheme.
15346
15347 2001-07-26  Baruch Even  <baruch@lyx.org>
15348
15349         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15350         an InsetFig figure, backwards compatible reading of old figure code.
15351
15352 2001-07-27  Juergen Vigna  <jug@sad.it>
15353
15354         * text2.C: font.realize function adaption.
15355
15356         * text.C (draw): add a warnings lyxerr text if needed.
15357
15358         * layout.C: font.realize function adaption.
15359
15360         * language.C: add inherit_language and implement it's handlings
15361
15362         * bufferview_funcs.C (StyleReset): remove language parameter from
15363         font creation (should be language_inherit now).
15364
15365         * bufferparams.C (writeFile): handle ignore_language.
15366
15367         * paragraph.C (getFontSettings): the language has to be resolved
15368         otherwise we have problems in LyXFont!
15369
15370         * lyxfont.C (lyxWriteChanges): added document_language parameter
15371         (update): removed unneeded language parameter
15372
15373         * paragraph.C (validate): fixed wrong output of color-package when
15374         using interface colors for certain fonts in certain environments,
15375         which should not seen as that on the final output.
15376
15377 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15378
15379         * BufferView_pimpl.C:
15380         * Thesaurus.h:
15381         * Thesaurus.C:
15382         * Makefile.am:
15383         * commandtags.h:
15384         * LyXAction.C: add thesaurus support
15385
15386         * lyxfind.h:
15387         * lyxfind.C: add "once" parameter, for thesaurus, to not
15388           move to the next match
15389
15390 2001-07-26  Juergen Vigna  <jug@sad.it>
15391
15392         * lyxfont.C (realize): honor ignore_language too!
15393         (resolved): ditto.
15394
15395         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15396
15397         * text.C (draw): one place more for ignore_language to not draw
15398         itself!
15399
15400 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15401
15402         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15403
15404 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15405
15406         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15407         the minipage conversion problem.
15408
15409 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15410
15411         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15412         insert an inset.
15413
15414 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15415
15416         * BufferView.h: don't forward declare WorkArea
15417
15418         * BufferView.C: don't include WorkArea.h
15419
15420 2001-07-25  André Pönitz <poenitz@gmx.net>
15421
15422         * commandtags.h:
15423         * LyXAction.C:
15424         * lyxfunc.C:  new LFUN 'math-space'
15425
15426         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15427
15428 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15429
15430         * text2.C (toggleInset): call open/close
15431
15432 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15433
15434         * lyxfunc.C (dispatch): add debug for the disabled case
15435
15436         * font.C (buttonText): make similar to rectText
15437
15438         * buffer.C (readInset): comment out parsing of insetlist and
15439         insttheorem
15440
15441         * PainterBase.C (rectText): small correction
15442
15443         * BufferView_pimpl.C: comment out insettheorem and insetlist
15444         * LyXAction.C: ditto
15445         * commandtags.h: ditto
15446
15447 2001-07-24  Juergen Vigna  <jug@sad.it>
15448
15449         * text.C (draw): honor the ignore_language.
15450
15451         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15452
15453 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15454
15455         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15456         char inset.
15457
15458 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15459
15460         * lyxtext.h: remove unused (and unimplemented) methods
15461
15462 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15463
15464         * text.C (getVisibleRow): honor background color
15465
15466         * PainterBase.h:
15467         * Painter.h: remove default color argument for fillRectangle
15468
15469         * text.C (backgroundColor): new method
15470
15471 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15472
15473         * text.C (getVisibleRow): adjust
15474
15475         * font.[Ch] (rectText): new method, metrics
15476         (buttonText): new method, metrics
15477
15478         * PainterBase.[hC]: make rectText and buttonText always draw and take
15479         fewer paramteres.
15480
15481 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15482
15483         * ToolbarDefaults.C (read):
15484         * MenuBackend.C (read): allow escaping in all strings
15485
15486         * BufferView_pimpl.C (insertAndEditInset): new method.
15487         (Dispatch): use insertAndEditInset whenever appropriate.
15488
15489         * BufferView_pimpl.C (insertNote): removed
15490
15491         * BufferView_pimpl.C (smartQuote): new method, moved from
15492         BufferView; if an insetquote cannot be inserted, insert a '"'
15493         character instead.
15494
15495         * BufferView2.C: remove insertCorrectQuote();
15496
15497         * lyxfunc.C (getStatus): Add support for all remaingin
15498         inset-insert lfuns.
15499
15500         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15501
15502         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15503         command (necessary to pass " as parameter of self-insert.
15504
15505         * text.C (selectWordWhenUnderCursor):
15506         (selectWord): add word_location parameter
15507         (selectWordWhenUnderCursor): same + remove special code for word
15508         boundary.
15509         (selectNextWord): use kind() to guess type of insetspecialchar,
15510         not latex().
15511
15512         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15513         (insertErtContents): create ert insets as collapsed.
15514         (readInset): better compatibility code for Info inset.
15515
15516 2001-07-20  Juergen Vigna  <jug@sad.it>
15517
15518         * lyxfunc.C (dispatch): use always LyXFind now!
15519
15520         * text2.C (init): add a reinit flag so that the LyXText can be
15521         reinited instead of deleted and reallocated (used in InsetText).
15522
15523         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15524
15525         * text.C: ditto
15526
15527         * text2.C: ditto
15528
15529 2001-07-18  Juergen Vigna  <jug@sad.it>
15530
15531         * text.C (selectNextWord): handle insets inside inset by calling
15532         always the bv->text functions so that we can go up the_locking_inset!
15533
15534         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15535         in strange locations when inside an inset!
15536
15537         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15538         handling to include insets.
15539
15540         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15541
15542 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15543
15544         * LyXAction.C (init):
15545         * commandtags.h:
15546         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15547         LIGATURE_BREAK, since the name is so stupid.
15548
15549 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15550
15551         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15552         InsetInfos.
15553
15554         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15555
15556         * sp_form.[Ch]: remove.
15557
15558         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15559
15560         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15561         InsetInfo.
15562
15563         * src/buffer.C (readInset): ditto.
15564
15565 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15566
15567         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15568         menuSeparator(), endOfSentenceDot(), ldots() and
15569         hyphenationPoint(), which are therefore removed.
15570         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15571
15572         * LyXAction.C (init):
15573         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15574
15575         * paragraph.C (getWord): removed.
15576
15577         * BufferView_pimpl.C (Dispatch): use last word or selection for
15578         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15579
15580         * lyx_main.C (queryUserLyXDir): do not ask before creating
15581         user_dir, except if it has been named explicitely.
15582
15583 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15584
15585         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15586         a document of zero size.
15587
15588 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15589
15590         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15591         approriately in the c-tor and in require().
15592         (getPackages): output the appropriate LaTeX for natbib support.
15593
15594         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15595         variables "use_natbib" and "use_numerical_citations" when reading the
15596         LyX file.
15597         (readInset): read the various natbib cite commands.
15598         (validate): white-space change.
15599
15600         * bufferparams.[Ch]: new variables "bool use_natbib" and
15601         "bool use_numerical_citations".
15602         (writeFile): output them in the LyX file.
15603
15604 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15605
15606         * lyxfunc.C (getStatus): add support for all the inset insertion
15607         commands.
15608
15609         * text2.C (insertInset):
15610         * paragraph.C (insetAllowed):
15611         * BufferView_pimpl.C (insertInset): update to take in account the
15612         renaming of insertInsetAllowed
15613
15614         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15615
15616         * text2.C (getInset): new method. returns inset at cursor position.
15617
15618         * BufferView_pimpl.C (Dispatch): changes because of this.
15619
15620         * LyXAction.C (init): rename open-stuff to inset-toggle.
15621
15622         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15623
15624         * text2.C (toggleInset): renamed from openStuff; use
15625         Inset::open().
15626
15627 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15628
15629         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15630
15631         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15632
15633 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15634
15635         * buffer.C (readLyXformat2): Add filename to the error dialog
15636
15637 2001-07-18  Juergen Vigna  <jug@sad.it>
15638
15639         * tabular.C (GetCellNumber): put an assert here instead of the check!
15640
15641 2001-07-17  Juergen Vigna  <jug@sad.it>
15642
15643         * BufferView_pimpl.C (toggleSelection): adapted too.
15644
15645         * text.C (selectNextWord): adapted for use with insets.
15646         (selectSelectedWord): ditto
15647
15648 2001-07-17  Juergen Vigna  <jug@sad.it>
15649
15650         * sp_spell.C (PSpell): fix initialitation order.
15651
15652 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15653
15654         * paragraph.C: spacing
15655
15656 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15657
15658         * sp_spell.C: repair language selection for pspell
15659
15660 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15661
15662         * lyxfunc.h: change more methods to begin with lower char.
15663
15664 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15665
15666         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15667         for unknown layouts.
15668
15669 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15670
15671         * buffer.C (readLyXformat2): Generate an error dialog if there are
15672         unknown layouts.
15673
15674 2001-07-16  Juergen Vigna  <jug@sad.it>
15675
15676         * sp_spell.C: always compile ISpell part.
15677
15678         * lyxrc.C: added use_pspell entry and it's handling.
15679
15680 2001-07-13  Juergen Vigna  <jug@sad.it>
15681
15682         * sp_spell.C: removed double includes.
15683
15684 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15685
15686         Consistent use of Lsstream.h:
15687         * Lsstream.h: added using std::stringstream for consistencies sake.
15688
15689         * buffer.C: removed using std::stringstream
15690
15691         * lyxfont.C (stateText):
15692         * paragraph.C (asString):
15693         * text.C (selectNextWord, selectSelectedWord):
15694         * text2.C (setCounter):
15695         * vspace.C (asString, asLatexString):
15696         std::ostringstream -> ostringstream.
15697
15698 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15699
15700         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15701         * commandtags.h: add LFUN_HELP_ABOUTLYX
15702         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15703
15704 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15705
15706         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15707         cursorToggle()
15708         * lyx_gui_misc.C: remove spellchecker
15709         * lyxfunc.C: showSpellchecker
15710         * sp_base.h: added
15711         * sp_ispell.h: added
15712         * sp_pspell.h: added
15713         * sp_spell.C: added
15714         * sp_form.[Ch]: removed
15715         * spellchecker.[Ch]: removed
15716
15717 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15718
15719         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15720         is set.
15721         (simpleTeXSpecialChars): Simply print the input character without
15722         any special translation if pass_thru is set.
15723
15724         * layout.h: Added bool pass_thru to layout class for being able to
15725         implement pass through of a paragraph for Literate Programming.
15726
15727         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15728         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15729         * layout.C (Read): add "passthru" to list of layout tags and add
15730         code to set the pass_thru boolean when it is read.
15731
15732 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15733
15734         * trans_decl.h: remove allowed from KmodInfo
15735
15736         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15737         remove allowed code
15738         (Load): adjust
15739
15740         * paragraph_pimpl.C (erase): use boost::prior
15741
15742         * Painter.C (text): use data() instead of c_str() when length is
15743         also provided.
15744         * WorkArea.C (putClipboard): ditto
15745         * font.h (width): ditto
15746
15747         * BufferView2.C: use it-> instead of (*it). for iterators
15748         * texrow.C: ditto
15749         * paragraph_pimpl.C: ditto
15750         * paragraph.C: ditto
15751         * minibuffer.C: ditto
15752         * language.C: ditto
15753         * kbmap.C: ditto
15754         * encoding.C: ditto
15755         * counters.C: ditto
15756         * converter.C: ditto
15757         * chset.C: ditto
15758         * Variables.C: ditto
15759         * TextCache.C: ditto
15760         * MenuBackend.C: ditto
15761         * LyXAction.C: ditto
15762         * LColor.C: ditto
15763         * FloatList.C: ditto
15764         * DepTable.C: ditto
15765         * ColorHandler.C (LyXColorHandler): ditto
15766
15767 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15768
15769         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15770
15771         * text2.C (openStuff): reintroduce this method (which had been
15772         nuked in NEW_INSETS frenzy).
15773
15774         * lyxfunc.C (Dispatch): when an action has not been handled, use
15775         its name in the error message, not its number.
15776
15777         * paragraph.C (inInset): change method name to begin with lowercase.
15778
15779         * undo_funcs.C:
15780         * text2.C: updates because of this.
15781
15782 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15783
15784         * ToolbarDefaults.C (add): add spaces in error message
15785
15786 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15787
15788         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15789         (readLyXformat2): rename return_par to first_par, use lyxlex's
15790         pushToken and remove the manual push handling.
15791         (parseSingleLyXformat2Token): add another ert comp. variable:
15792         in_tabular, rename return_par to first_par. handle newlines better
15793
15794 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15795
15796         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15797
15798 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15799
15800         * text2.C (getParFromID): removed
15801
15802         * buffer.C (getParFromID): new method moved form lyxtext.
15803         * BufferView2.C (insertErrors): adjust
15804         (setCursorFromRow): adjust
15805         * BufferView_pimpl.C (restorePosition): adjust
15806         * lyxfunc.C (Dispatch): adjust
15807         * undo_funcs.C (textUndo): adjust
15808         (textRedo): adjust
15809         (textHandleUndo): adjust
15810         (textHandleUndo): adjust
15811
15812 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15813
15814         * buffer.C: up' the LYX_FORMAT
15815
15816         * lyxfont.h: turn NO_LATEX on as default
15817
15818         * buffer.C (insertErtContents): new methods of tex style compability.
15819         (parseSingleLyXformat2Token): use it several places.
15820         * tabular.C (OldFormatRead): and here
15821
15822 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15823
15824         * text2.C: remove some commented code.
15825         reindent file.
15826
15827         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15828         * trans.C: changes because of the above.
15829
15830 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15831
15832         * text2.C (setCounter): Fix counters bug with bibliography layout.
15833
15834 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15835
15836         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15837         own member functions
15838         (simpleTeXSpecialChars): ditto
15839
15840 2001-07-06  Juergen Vigna  <jug@sad.it>
15841
15842         * a lot of files: changed the access to LyXText::status and the
15843         call of undo-functions.
15844
15845         * undo.[Ch]: added a inset_id to the undo informations.
15846
15847         * undo_funcs.[Ch]: added and moved here all undo functions.
15848
15849         * lyxtext.h: give the status enum a weight, made status_ a private
15850         variable and made accessor functions for it, removed the whole bunch
15851         of undo-functions as they are now in their own file, make some
15852         functions publically available. Added function ownerParagraph with
15853         int parameter.
15854
15855         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15856         made InInset() a const function, added getParFromID() function.
15857
15858         * buffer.[Ch]: added const version for inset_iterator functions,
15859         added getInsetFromID() function.
15860
15861         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15862         changed undo functions for new version.
15863
15864 2001-07-05  Juergen Vigna  <jug@sad.it>
15865
15866         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15867         unknow mechanism does not call the proper constructor but only this
15868         one also if I request the other!?
15869
15870 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15871
15872         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15873
15874         * text2.C (LyXText): use initialization lists.
15875
15876         * lyxtext.h (Selection): initialize set_ and mark_
15877         (init): remove method
15878
15879 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15880
15881         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15882
15883 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15884
15885         * screen.[Ch]: change method names to begin with lowercase
15886
15887         * BufferView_pimpl.C (updateScrollbar): simplify further and
15888         hopefully make it a bit faster.
15889
15890 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15891
15892         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15893         calling directly xforms functions.
15894
15895         * Painter.C (Painter):
15896         * lyx_cb.C (MenuWrite):
15897         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15898         fl_display.
15899
15900         * lyx_gui.C: remove bogus guiruntime extern declaration.
15901
15902 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15903
15904         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15905         in NEW_INSETS
15906         (redoDrawingOfParagraph): ditto
15907         (redoParagraphs): ditto
15908         (cutSelection): don't create a object for CutAndPaste use the
15909         static method directly
15910         (pasteSelection): ditto
15911
15912         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15913         LyXview (+ rename)
15914
15915 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15916
15917         * modifications to some other files because of this.
15918
15919         * Makefile.am (lyx_SOURCES): add XFormsView
15920
15921         * XFormsView.[Ch]: new files
15922
15923         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15924         the main window. Move the gui dependent stuff to XFormsView
15925
15926 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15927
15928         * tabular.C (GetCellInset): update cur_cell also in the row/col
15929         version of this function.
15930
15931         * lyxfunc.C: no need to include figure_form.h here.
15932
15933         * FontLoader.h:
15934         * lyxfunc.h:
15935         * lyxscreen.h:
15936         * text2.C:
15937         * lyxvc.C: no need to include forms.h here.
15938
15939 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15940
15941         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15942
15943         * lyxfunc.C (Dispatch):
15944         * Spacing.C (set):
15945         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15946         constructor argument.
15947
15948 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15949
15950         * paragraph.C (Paragraph): dont't clear, and just set layout.
15951         (makeSameLayout): use params's copy contructor.
15952
15953         * ParagraphParameters.[Ch] (makeSame): delete method
15954
15955 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15956
15957         * Variables.[Ch]: fix indentation, rename set to isSet
15958
15959 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15960
15961         * lyxfunc.C (Dispatch): fix typo
15962
15963 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15964
15965         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15966         upper_bound.
15967
15968         * bufferlist.C: include assert.h for emergencyWrite().
15969
15970 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15971
15972         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15973           give up at last (bug #425202) !
15974
15975 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15976
15977         * lyx_gui_misc.C:
15978         * sp_form.h:
15979         * sp_form.C:
15980         * spellchecker.h:
15981         * spellchecker.C: strip spellchecker options and bring up
15982           preferences tab instead
15983
15984 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15985
15986         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15987         the istringstream constructor
15988
15989 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15990
15991         * paragraph.C (getLayout): fix return value
15992
15993         * paragraph.h: do not declare getLayout as inline.
15994
15995         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15996
15997 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15998
15999         * lyxcursor.h (operator<): new func
16000         (operator>): new func
16001         (operator>=): new func
16002         (operator<=): new func
16003
16004         * text.C (changeCase): use selection.start and selection.end
16005         (changeRegionCase): require from to be <= to. Require par to be a
16006         valid paragraph.
16007
16008         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16009
16010 2001-06-27  Juergen Vigna  <jug@sad.it>
16011
16012         * text.C (cursorLeftOneWord): changed to return the cursor and added
16013         overlay with BufferView * parameter which calls this one.
16014         (getWord): added
16015         (selectWord): use new getWord function.
16016         (changeCase): renamed from changeWordCase as and extended to work
16017         also on selections.
16018
16019         * lyxtext.h: added enum word_location
16020
16021         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16022         changeCase as this operates now also on selections.
16023
16024 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16025
16026         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16027
16028         * many files: send debug output to Debug::INFO instead of
16029         Debug::ANY.
16030
16031         * converter.C (View):
16032         (Convert):
16033         (Move): send debug output to Debug::FILES instead of console.
16034
16035 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16036
16037         * lyxfunc.C (getStatus): use func_status
16038
16039         * func_status.h: new header, describing the results of
16040         LyXFunc::getStatus;
16041
16042         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16043         LFUN_MATH_HALIGN.
16044
16045 2001-06-25  The LyX Project  <jug@sad.it>
16046
16047         * buffer.C (sgmlOpenTag):
16048         (sgmlCloseTag):
16049         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16050
16051 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16052
16053         * text2.C: remove some dead code
16054
16055         * tabular.C (GetCellInset): store the last cell checked (gotten)
16056
16057         * tabular.h: add the helper for the speedup
16058
16059         * lyxtext.h: remove some dead code
16060
16061 2001-06-26  The LyX Project  <Asger>
16062
16063         * paragraph.C: Change export to LaTeX of alignment to
16064         \begin{center} and family for better roundtrip work with reLyX.
16065
16066         * Tune the math drawing a bit.
16067
16068 2001-06-25  The LyX Project  <Asger>
16069
16070         * LColor.C (LColor): New color for math background. New color
16071         for buttons.
16072
16073 2001-06-25  The LyX Project  <jug@sad.it>
16074
16075         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16076
16077         * lyxfunc.C (Open):
16078         * bufferlist.C (newFile): do not restrict to files ending with
16079         .lyx
16080
16081         * BufferView_pimpl.C (MenuInsertLyXFile):
16082
16083 2001-06-24  The LyX Project  <jug@sad.it>
16084
16085         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16086         of compare_no_case
16087
16088 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16089
16090         * lyxtext.h: rename most methods to begin with a small char.
16091         Lots of changes because of this.
16092
16093         * paragraph.C (Paragraph): do not call fitToSize
16094         (erase): call Pimpl::erase
16095         (insertChar): call Pimpl::insertChar
16096         (insertInset): call Pipl::insertInset
16097         (breakParagraph): do not call fitToSize
16098         (breakParagraphConservative): do not call fitToSize
16099         (fitToSize): remove method
16100
16101         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16102
16103 2001-06-24  The LyX Project  <Asger>
16104
16105         * Fix Qt compilation^2
16106
16107 2001-06-24  The LyX Project  <jug@sad.it>
16108
16109         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16110         depthHook(getDepth()-1).
16111
16112         * paragraph.h:
16113         * ParagraphParameters.h:
16114         * ParameterStruct.h: change type of depth to unsigned int ==
16115         depth_type. Many adaptations to other files before of that.
16116
16117 2001-06-24  The LyX Project  <Asger>
16118
16119         * Fix Qt compilation.
16120
16121 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16122
16123         * paragraph.h: renamed several methods to begin with small letter.
16124         several changes to many parts of the code because of this.
16125
16126 2001-06-23  The LyX Project  <jug@sad.it>
16127
16128         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16129         rewritten to discard all double spaces when KeepEmpty is off
16130         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16131         to only handle newlines but not fiddle with spaces and friends.
16132
16133         * lyxfunc.C (MenuNew): when doing 'new from template', use
16134         template_path as default directory
16135
16136 2001-06-23  The LyX Project  <Asger>
16137
16138         * Clean-up of header file includes all over
16139         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16140
16141 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16142
16143         * paragraph.h: renamed from lyxparagraph.h
16144
16145 2001-06-23  Asger  <lyx@violet.home.sad.it>
16146
16147         * Buffer.h: Removed Buffer::resize
16148         * BufferList.h: Removed BufferList::resize
16149         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16150         the document lazily when we change the width, or the font settings.
16151
16152 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16153
16154         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16155
16156 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16157
16158         * buffer.h: remove out of date comment
16159
16160 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16161
16162         * lyxscreen.h:
16163         * screen.C: fix "theoretical" GC leak
16164
16165 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16166
16167         * LaTeX.C (scanAuxFile):
16168         (deplog): remove trailing \r when reading stream (useful under
16169         win32)
16170
16171 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16172
16173         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16174         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16175         and BufferView::theLockingInset(Inset*), so should use them and not
16176         access bv_->text->the_locking_inset directly.
16177
16178         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16179
16180 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16181
16182         * Makefile.am:
16183         * tex-defs.h: remove old unused file
16184
16185 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16186
16187         * BufferView_pimpl.C: fix typo, remove minibuffer message
16188           when buffer has loaded
16189
16190 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16191
16192         * lyxfunc.C (Dispatch): use stringstream
16193         (MenuNew): use stringstream
16194         (Open): use stringstream
16195
16196         * importer.C (Import): use stringstream
16197
16198         * bufferview_funcs.C (CurrentState): use stringstream
16199
16200         * LaTeX.C (run): use stringstream
16201
16202         * BufferView_pimpl.C (savePosition): use stringstream
16203         (restorePosition): use stringstream
16204         (MenuInsertLyXFile): use stringstream
16205
16206 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16207
16208         * BufferView.C:
16209         * Bullet.C:
16210         * ColorHandler.C:
16211         * FontInfo.C:
16212         * FontLoader.C:
16213         * LColor.C:
16214         * LaTeXFeatures.C:
16215         * Painter.C:
16216         * gettext.C:
16217         * lyx_gui_misc.C:
16218         * lyxserver.C:
16219         * vspace.C: removed // -*- C++ -*- as first line.
16220
16221         * lyxfind.h:
16222         * version.h: added // -*- C++ -*- as first line.
16223
16224 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16225
16226         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16227
16228         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16229         of string
16230
16231 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16232
16233         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16234         of floats.
16235
16236 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16237
16238         * gettext.C: include LString.h even when --disable-nls is on.
16239
16240 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16241
16242         * converter.h (Get): changed argument type from int to
16243         FormatList::size_type to avoid unnecessary conversion.
16244
16245         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16246         before using it.
16247
16248 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16249
16250         * gettext.h: include LString.h even when --disable-nls is on.
16251
16252 2001-06-07  Juergen Vigna  <jug@sad.it>
16253
16254         * text.C (BreakAgain): subst spaces with tabs.
16255
16256         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16257         (resizeInsetsLyXText): set force on resizeLyXText.
16258
16259 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16260
16261         * gettext.h (gettext_init):
16262         (locale_init): use a real definition instead of a macro
16263
16264 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16265
16266         * Bufferview_pimpl.C:
16267         * LColor.h:
16268         * LColor.C: further lcolor tidies
16269
16270 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16271
16272         * BufferView_pimpl.C (updateScrollbar): simplify.
16273
16274         * BufferView2.C: don't include insets/insetinfo.h, change
16275         prototype for insertInset and call the Pimpl version. let
16276         updateInset call Pimpl version.
16277
16278         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16279         gotoInset to BufferView::Pimpl
16280
16281 2001-06-01  Juergen Vigna  <jug@sad.it>
16282
16283         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16284         inside a LockingInset (is the update needed at all?).
16285
16286 2001-05-31  Juergen Vigna  <jug@sad.it>
16287
16288         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16289         here not the old one otherwise how should we compare it afterwards
16290         if it's the same!
16291
16292 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16293
16294         * lyxfont.C:
16295         * tabular.C:
16296         * tabular-old.C:
16297         * FontInfo.C: bring C functions into global namespace when
16298         necessary
16299
16300 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16301
16302         * LString.h: make sure config.h has been loaded before LString.h.
16303
16304         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16305         (one for each char read by EatLine!).
16306
16307         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16308         variables.
16309
16310 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16311
16312         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16313         to the same as the par we break from
16314
16315 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16316
16317         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16318
16319         * MenuBackend.C (expand): also create menu entries for wide
16320         versions of the floats.
16321
16322         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16323
16324         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16325
16326         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16327         frontends/Makefile.am
16328
16329         * text2.C: adjust
16330         * text.C: adjust
16331
16332
16333         * tabular.C (getTokenValue): add std::
16334
16335         * tabular-old.C (getTokenValue): add std::
16336         (getTokenValue): ditto
16337         (getTokenValue): ditto
16338
16339         * screen.C (ToggleSelection): adjust
16340
16341         * lyxtext.h: put selection cursors inside a Selection struct.
16342
16343         * lyxfunc.C (moveCursorUpdate): adjust
16344
16345         * lyxfont.C (latexWriteStartChanges): add std::
16346
16347         * lyxfind.C: adjust
16348
16349         * font.h: delete with(char const *, LyXFont const &)
16350
16351         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16352
16353         * FontInfo.C (getFontname): add std::
16354
16355         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16356         (workAreaButtonPress): adjust
16357         (tripleClick): adjust
16358         (update): adjust
16359         (moveCursorUpdate): adjust
16360         (Dispatch): adjust
16361
16362         * BufferView2.C (gotoInset): adjust
16363
16364 2001-05-30  Juergen Vigna  <jug@sad.it>
16365
16366         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16367         to check pspell I add this as default as I now have new pspell
16368         libraries and they seem to use this.
16369
16370 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16371
16372         * text2.C (CutSelection): make the cursor valid before the call to
16373         ClearSelection.
16374
16375 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16376
16377         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16378         relied on 0 terminated strings and other horrors. Bug found due to
16379         the new assert in lyxstring!
16380
16381         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16382         KP_ keys.
16383
16384 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16385
16386         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16387         to latinkeys.bind.
16388
16389         * lyxfunc.C (processKeySym): change method of getting to the
16390         self-insert char.
16391
16392         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16393         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16394         * BufferView_pimpl.[Ch]: here as private methods.
16395
16396 2001-05-28  Juergen Vigna  <jug@sad.it>
16397
16398         * text.C (SetHeightOfRow): added the update() call again as it is
16399         needed to initialize inset dimensions!
16400
16401 2001-05-16  Juergen Vigna  <jug@sad.it>
16402
16403         * text2.C (SetCharFont): Add new function with BufferView * and
16404         bool toggleall parameters for setting insets internal fonts.
16405         (SetFont): Freeze the undo as we may change fonts in Insets and
16406         all this change should be inside only one Undo!
16407
16408         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16409         setting font's in insets as for them we have the SetFont function!
16410
16411 2001-05-15  Juergen Vigna  <jug@sad.it>
16412
16413         * text2.C (ClearSelection): to be sure we REALLY don't have any
16414         selection anymore!
16415
16416         * tabular.C (TeXCellPreamble): fixed the left border problem for
16417         multicolumn cells.
16418
16419 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16420
16421         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16422         dependancy file
16423
16424 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16425
16426         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16427         LFUN_BREAKPARAGRAPH.
16428
16429         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16430         help test to "internal only", similar for LFUN_INSERT_URL
16431
16432         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16433         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16434         auto_region_delete and deadkeys.
16435
16436 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16437
16438         * LColor.h:
16439         * LColor.C: remove some dead entries, tidy a little
16440
16441 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16442
16443         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16444         commented code.
16445         (Dispatch): implement LFUN_ESCAPE
16446
16447         * commandtags.h: add LFUN_ESCAPE
16448
16449         * LyXAction.C (init): add entry for LFUN_ESCAPE
16450
16451         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16452         Remove commented code.
16453         (insertNote): moved here
16454         (open_new_inset): moved here
16455
16456         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16457         BufferView_pimpl
16458
16459 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16460
16461         * kbmap.C (findbinding): clean it up and make it work correctly.
16462
16463         * lyx_main.C (init): do not pass argc and argv as parameters
16464
16465 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16466
16467         * buffer.C: fix path for OS/2 & Win32
16468
16469         * lyx_gui.C:
16470         * lyx_main:
16471         * lyx_main.C: Added os:: class.
16472
16473         * os2_defines.h: update
16474
16475 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16476
16477         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16478         better by trying again with reduced state.
16479
16480 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16481
16482         * lyxrc.C (read): print error about invalid key sequence only when
16483         debugging (because not all latinX keysyms are known to some X
16484         servers)
16485
16486         * kbsequence.C (getiso): add a few std:: qualifiers
16487         (getiso): comment out extra return statement.
16488
16489 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16490
16491         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16492         handling.
16493         (Dispatch): enhance the accent inset a bit. (not perfect)
16494
16495 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16496
16497         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16498
16499 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16500
16501         * bufferlist.C (emergencyWrite): fix assert() call
16502
16503 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16504
16505         * text.C (InsertChar): Added trivial patch to only send the "you
16506         can not do multiple spaces this way" message once during a
16507         session.
16508
16509 2001-05-08  Baruch Even  <baruch@lyx.org>
16510
16511         * Makefile.am: Changed order of libraries to get LyX to link properly
16512         with the gnome frontend.
16513
16514 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16515
16516         * LaTeXFeatures.h: add a std:: qualifier
16517
16518 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16519
16520         * paragraph.C (String): use stringstream
16521
16522 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16523
16524         * paragraph.C (writeFile): remove footflag arg
16525
16526         * buffer.C (makeLaTeXFile): use stringstream
16527         (latexParagraphs): remove footnot gurba
16528
16529         * LaTeXFeatures.C (getPackages): use stringstream
16530         (getMacros): likewise
16531         (getTClassPreamble): likewise
16532         (getFloatDefinitions): new method
16533
16534         * paragraph.C (writeFile): reindent
16535         (Erase): reindent
16536
16537         * WorkArea.h: revert the xpos + etc changes.
16538
16539         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16540
16541         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16542
16543         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16544         (pasteSelection): likewise
16545         * text2.C (CreateUndo): likewise
16546
16547 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16548
16549         * minibuffer.C (peek_event): temporarily reduce the functionality
16550         of the minibuffer (to allow args on lfuns)
16551
16552         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16553         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16554
16555         * buffer.C (readInset): add compability reading of old float
16556         lists, add reading of new style float list.
16557         (readInset): avoid reevaluation of inscmd.getCmdName()
16558         (getLists): reindent
16559
16560         * MenuBackend.C (MenuItem): implement parsing of
16561         md_floatlistinsert and md_floatinsert.
16562         (expand::LastFiles): move initalizaton of iterators out of loop,
16563         avoid reevaluation.
16564         (expand::Documents): introduce typdedef vector<string> Strings,
16565         and use it.
16566         (expand::ExportFormats): introduce typedef vector<Format const *>
16567         Formats, and use it.
16568         (expand): implement FloatListInsert and FloatInsert.
16569
16570         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16571         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16572         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16573
16574         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16575         handling.
16576         (Dispatch::LFUN_FLOAT_LIST): implement
16577
16578 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16579
16580         * LaTeX.C (run): Fix problem with --export code.
16581
16582 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16583
16584         * BufferView.[Ch] (workarea): removed.
16585         (getClipboard) new method; wrapper for workarea()->getClipboard()
16586
16587         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16588         bug.
16589
16590         * WorkArea.h (width, height, xpos, ypos): These methods all
16591         returned the dimensions of the work_area sub-area of WorkArea,
16592         resulting in a position error if the WorkArea were resized. Now
16593         return the dimensions of the entire WorkArea.
16594
16595         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16596
16597 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16598
16599         * LaTeX.C (deplog): correct the syntax of regex reg1
16600
16601 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16602
16603         * undo.C: remove !NEW_INSETS cruft
16604
16605 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16606
16607         * text2.C: remove !NEW_INSETS cruft
16608
16609         * text.C: remove !NEW_INSETS cruft
16610
16611         * tabular.C: remove !NEW_INSETS cruft
16612
16613         * spellchecker.C: remove !NEW_INSETS cruft
16614
16615         * lyxtext.h: remove !NEW_INSETS cruft
16616
16617         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16618
16619         * lyxfunc.C: remove !NEW_INSETS cruft
16620
16621         * lyxfind.C: remove !NEW_INSETS cruft
16622
16623         * lyx_cb.C: remove !NEW_INSETS cruft
16624
16625         * figureForm.C: remove  !NEW_INSETS cruft
16626
16627         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16628
16629         * buffer.[Ch]: remove !NEW_INSETS cruft
16630
16631         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16632
16633         * CutAndPaste.C: remove !NEW_INSETS cruft
16634
16635         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16636
16637         * BufferView2.C: remove !NEW_INSETS cruft
16638
16639         * BufferView.h: remove !NEW_INSETS cruft
16640
16641 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16642
16643         * Lsstream.h: include LString.h before the sstream headers to
16644         fix problem with gcc 2.95.3 and lyxstring
16645
16646 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16647
16648         * lyx_main.C: add using directives when needed for C functions
16649         declared in std:: namespace.
16650
16651 2001-04-27  Juergen Vigna  <jug@sad.it>
16652
16653         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16654         (SetHeightOfRow): comment out the update call should not be needed!
16655
16656 2001-04-13  Juergen Vigna  <jug@sad.it>
16657
16658         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16659         (LyXTabular): tried to minimize operator= operations (and realized
16660         hopfully Lars wish).
16661
16662 2001-04-27  Juergen Vigna  <jug@sad.it>
16663
16664         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16665
16666 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16667
16668         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16669
16670         * buffer.C (readInset): hack to make listof algorithm work
16671
16672         * BufferView_pimpl.C: hack to make listof algorithm work
16673
16674 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16675
16676         * LyXAction.C: removed all !NEW_INSETS cruft
16677         (init): moved lfun_item in method
16678
16679         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16680
16681 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16682
16683         * BufferView2.C (theLockingInset): white space.
16684
16685 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16686
16687         * minibuffer.C: include <iostream>
16688
16689         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16690
16691         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16692
16693         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16694
16695         * text.[Ch] (TransposeChars): new method
16696
16697 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16698
16699         * call message directly through LyXView instead of through LyXFunc
16700         * BufferView2.C: adjust
16701         * BufferView_pimpl.C: adjust
16702         * FontLoader.C: adjust
16703         * buffer.C: adjust
16704         * bufferview_funcs.C: adjust
16705         * converter.C: adjust
16706         * figureForm.C: adjust
16707         * importer.C: adjust
16708         * lyx_cb.C: adjust
16709         * lyx_gui_misc.C: adjust
16710         * lyxfunc.C: adjust
16711         * lyxvc.C: adjust
16712         * text2.C: adjust
16713         + more files in subdirs
16714
16715         * lyxparagraph.h (size): move up int file
16716         (GetLayout): ditto
16717
16718         * adjust all uses of Assert to lyx::Assert.
16719
16720         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16721         lyxfunctional in namespace lyx
16722         * layout.C (hasLayout): ditto
16723         (GetLayout): ditto
16724         (GetLayout): ditto
16725         (delete_layout): ditto
16726         (NumberOfClass): ditto
16727         * converter.C (GetFormat): ditto
16728         (GetNumber): ditto
16729         (Add): ditto
16730         (Delete): ditto
16731         (SetViewer): ditto
16732         * bufferlist.C (getFileNames): ditto
16733         (emergencyWriteAll): ditto
16734         (exists): ditto
16735         (getBuffer): ditto
16736         * MenuBackend.C (hasSubmenu): ditto
16737         (hasMenu): ditto
16738         (getMenu): ditto
16739         * BufferView_pimpl.C (getInsetByCode): ditto
16740
16741 2001-04-18  Juergen Vigna  <jug@sad.it>
16742
16743         * vspace.C (asLatexString): fixed the 100% problem.
16744
16745 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16746
16747         * lyxfunc.C (Dispatch):
16748         * minibuffer.C:
16749         * minibuffer.h: add a few std:: qualifiers
16750
16751 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16752
16753         * minibuffer.[Ch]: reimplement so that commands is initiated and
16754         run from lyxfunc, simplified som handling, and made the completion
16755         and history code for complete. wip.
16756
16757         * lyxfunc.C (processKeySym): call message
16758         (miniDispatch): new temporary method
16759         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16760         (LFUN_MESSAGE): implement
16761         (LFUN_MESSAGE_PUSH): implement
16762         (LFUN_MESSAGE_POP): implement
16763         (initMiniBuffer): the initial/defualt minibuffer message.
16764
16765         * lyxfont.[Ch]: inline some more getters
16766
16767         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16768
16769         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16770
16771         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16772         (AutoSave): use LFUN_MESSAGE
16773         (Reconfigure): ditto
16774
16775         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16776
16777         * figureForm.C: use LFUN_MESSAGE
16778
16779         * converter.C (runLaTeX): use LFUN_MESSAGE
16780
16781         * bufferview_funcs.C: use LFUN_MESSAGE
16782         (Melt): ditto
16783         (changeDepth): ditto
16784
16785         * bufferparams.h: use boost::
16786
16787         * bufferlist.h: inherit privately from noncopyable
16788
16789         * bufferlist.C (loadLyXFile): remove some commented code.
16790
16791         * buffer.C (runChktex): use LFUN_MESSAGE
16792
16793         * ShareContainer.h: inherit privately from noncopyable
16794
16795         * ParagraphParameters.[hC] (depth): inline it.
16796
16797         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16798         methods.
16799         (message): new method
16800         (messagePush): ditto
16801         (messagePop): ditto
16802         (show): init minibuffer
16803         (showState): direct call
16804
16805         * LaTeX.[Ch]: inherit privately from noncopyable
16806         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16807         instead of WriteStatus.
16808
16809         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16810
16811         * BufferView_pimpl.C (buffer): don't init minibuffer
16812         (workAreaButtonPress): use LFUN_MESSAGE
16813         (workAreaButtonRelease): ditto
16814         (savePosition): ditto
16815         (restorePosition): ditto
16816         (MenuInsertLyXFile): ditto
16817         (workAreaExpose): don't init minibuffer
16818         (update): remove commented code, simplify
16819
16820         * BufferView2.C (openStuff): use LFUN_MESSAGE
16821         (toggleFloat): ditto
16822         (menuUndo): ditto
16823         (menuRedo): ditto
16824         (copyEnvironment): ditto
16825         (pasteEnvironment): ditto
16826         (copy): ditto
16827         (cut): ditto
16828         (paste): ditto
16829         (gotoInset): ditto
16830         (updateInset): remove some commented code
16831
16832         * lastfiles.h: inherit privately from noncopyable
16833         * layout.h: ditto
16834         * lyx_gui.h: ditto
16835         * lyx_main.h: ditto
16836         * lyxlex.h: ditto
16837         * lyxlex_pimpl.h: ditto
16838
16839         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16840         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16841         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16842
16843         * LyXAction.h: inherit privately from noncopyable, add methods
16844         func_begin, func_end, returning iterators to the func map.
16845
16846         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16847         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16848         (func_begin): new method
16849         (func_end): new method
16850
16851         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16852         and not)
16853         (copySelection): ditto
16854         (pasteSelection): ditto
16855
16856         * BufferView.C: whitespace change
16857         * BufferView.h: inherit privately from noncopyable
16858
16859 2001-04-16  Allan Rae  <rae@lyx.org>
16860
16861         * tabular-old.C (l_getline):
16862         * spellchecker.C (sc_check_word):
16863         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16864         an unrecognised preprocessor directive.  So ensure they're wrapped.
16865
16866 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16867
16868         * src/exporter.C (Export): Give an error message when path to file
16869         contains spaces.
16870
16871 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16872
16873         * LaTeX.C (deplog): Always check that foundfile exists.
16874
16875 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16876
16877         * lyx_main.h:
16878         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16879
16880 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16881
16882         * tabular.[Ch] (getLabelList): implement new method
16883
16884         * minibuffer.h: comment ouf setTiimer
16885
16886         * minibuffer.C (ExecutingCB): constify res
16887         (peek_event): constify s
16888         (Set): constify ntext
16889         (Init): constify nicename
16890
16891         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16892
16893         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16894         (savePosition): use two params to Minibuffer::Set
16895         (restorePosition): ditto
16896
16897 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16898
16899         * lyx_main.C: include language.h
16900
16901         * Makefile.am (lyx_main.o): add language.h
16902
16903 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16904
16905         * exporter.C:
16906         * paragraph.C:
16907         * screen.C:
16908         * tabular.C:
16909         * CutAndPaste.C: include gettext.h
16910
16911         * lyxfont.h: remove old hack with ON and OFF.
16912
16913         * lyxparagraph.h:
16914         * lyxfont.h: do not include language.h...
16915
16916         * BufferView2.C:
16917         * LaTeXFeatures.C:
16918         * Painter.C:
16919         * bufferview_funcs.C:
16920         * font.C:
16921         * lyxfont.C:
16922         * text.C:
16923         * text2.C:
16924         * trans_mgr.C:
16925         * paragraph.C: ... but do it here instead
16926
16927 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16928
16929         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16930
16931         * tabular.C: small reformat
16932
16933         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16934         NEW_INSETS version
16935         (GetChar): ditto
16936         (BreakParagraph): ditto
16937         (SetOnlyLayout): ditto
16938         (SetLayout): ditto
16939
16940         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16941         with one arg less.
16942
16943         * lastfiles.C: removed most using decl, add std:: where needed
16944
16945         * buffer.C: ws changes
16946
16947         * MenuBackend.C (class compare_format): put into anon namespace
16948         (expand): constify label, names, action, action2
16949         (expand):
16950
16951         * text.C (SingleWidth): constify font
16952         (IsBoundary): constify rtl2
16953         (GetVisibleRow): constify ww
16954
16955         * LaTeX.C (deplog): constify logfile
16956
16957         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16958         start_x, end_x
16959         (workAreaExpose): constify widthChange, heightChange
16960
16961         * lyxrow.C (par): moved
16962         (height): moved
16963         (next): moved
16964         * lyxrow.h: as inlines here
16965
16966         * lyxfont.h (shape): moved from lyxfont.C
16967         (emph): moved from lyxfont.C
16968
16969         * lyxfont.C (LyXFont): use initialization list for all
16970         constructors
16971         (shape): move to lyxfont.h as inline
16972         (emph): move to lyxfont.h as inline
16973
16974
16975 2001-04-04  Juergen Vigna  <jug@sad.it>
16976
16977         * vspace.C: had to include stdio.h for use of sscanf
16978
16979 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16980
16981         * BufferView.h:
16982         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16983         independent of xforms.
16984
16985 2001-04-02  Juergen Vigna  <jug@sad.it>
16986
16987         * spellchecker.C: fixed namespace placing!
16988
16989 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16990
16991         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16992         the LyXParagraph * is 0.
16993
16994 2001-03-29  Juergen Vigna  <jug@sad.it>
16995
16996         * vspace.C: added support for %, c%, p%, l%.
16997         (stringFromUnit): added helper function.
16998         (asLatexString): changed to give right results for the %-values.
16999
17000         * buffer.C: convert the widthp in a width%.
17001
17002 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17003
17004         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17005         figureForm.[Ch].
17006
17007         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17008         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17009
17010         * lyx_cb.[Ch]: see above.
17011
17012         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17013         form1.[Ch].
17014
17015         * form1.[Ch]:
17016         * lyx.[Ch]: replaced by figure_form.[Ch].
17017
17018         * lyx_gui.C:
17019         * lyx_gui_misc.C:
17020         * lyxfunc.C: changed headers associated with above changes.
17021
17022 2001-03-27  Juergen Vigna  <jug@sad.it>
17023
17024         * BufferView_pimpl.C: set the temporary cursor right!
17025
17026 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17027
17028         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17029
17030 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17031
17032         * LString.h: removed "using std::getline"!
17033
17034         * BufferView_pimpl.C (Dispatch): changes due to changes in
17035         InsetInclude::Params.
17036
17037         * buffer.C (tag_name): removed redundant break statements as they were
17038         producing lots of warnings with my compiler.
17039
17040 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17041
17042         * LString.h: add "using std::getline" when using the real <string>.
17043
17044 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17045
17046         * buffer.C: removed bitset usage.
17047         PAR_TAG moved to an anonymous name space.
17048         (tag_name): new funtion, also in the anonymous namespace.
17049         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17050         (makeDocBookFile): clean code. Completed transition from string arrays
17051         to string vectors.
17052         (SimpleDocBookOnePar): code clean.
17053
17054 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17055
17056         * tabular.C: add some comments.
17057
17058 2001-03-22  Juergen Vigna  <jug@sad.it>
17059
17060         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17061         compatibility read a bit and fixed bug with minipage in different
17062         depth.
17063
17064 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17065
17066         * buffer.C (pop_tag): removed.
17067         (push_tag): removed.
17068         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17069         array replaced with vector. Added support for CDATA sections.
17070         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17071         at any nest level.
17072         (makeDocBookFile): XML conformant declaration of CDATA section,
17073         fixed bug related to <emphasis> in the first paragraph char.
17074         (sgmlOpenTag): exclude empty tags.
17075         (sgmlCloseTag): ditto.
17076
17077         * buffer.h (pop_tag): removed.
17078         (push_tag): removed.
17079
17080 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17081
17082         * language.h (Languages): added size_type and size().
17083
17084 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17085
17086         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17087         response on compability reading of minipages. One probliem is that
17088         the old usage of minipages was «flertydig»
17089
17090         * several files here and in subdirs: don't use static at file
17091         scope use anon namespaces instead.
17092
17093 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17094
17095         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17096         LaTeX output. This is necessary for Literate document
17097         processing.
17098
17099 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17100
17101         * buffer.C: insert hfill when needed.
17102
17103         * tabular.C (l_getline): use string::erase, small whitespace change.
17104
17105         * BufferView_pimpl.C: try the anon namespace.
17106         * WorkArea.C: ditto
17107
17108 2001-03-16  Juergen Vigna  <jug@sad.it>
17109
17110         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17111         otherwise it won't open options-dialogs.
17112
17113         * buffer.C: honor pextraWidth(p) on converting minipages.
17114
17115         * tabular.C (l_getline): changed the functions to strip trailing \r.
17116
17117 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17118
17119         * BufferView_pimpl.C:
17120         * minibuffer..C: added "using SigC::slot" declaration.
17121
17122 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17123
17124         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17125
17126         * text2.C: ditto
17127
17128         * text.C: ditto
17129
17130         * paragraph.C: ditto
17131
17132         * lyxtext.h: NO_PEXTRA
17133
17134         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17135
17136         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17137         * ParameterStruct.h: ditto
17138         * ParagraphParameters.h: ditto
17139         * lyxparagraph.h: ditto
17140
17141 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17142
17143         * buffer.C: add compability for minipage alignment.
17144         (latexParagraphs): remove unwanted pextra check.
17145
17146         * several files: remove CXX_WORKING_NAMESPACES
17147
17148         * buffer.C (pop_tag): tie is in namespace boost
17149
17150         * BufferView.h: noncopyable is in namespace boost
17151         * lyxlex.h: ditto
17152         * lyx_main.h: ditto
17153         * lyx_gui.h: ditto
17154         * layout.h: ditto
17155         * lastfiles.h: ditto
17156         * bufferlist.h: ditto
17157         * ShareContainer.h: ditto
17158         * LyXView.h: ditto
17159         * LyXAction.h: ditto
17160         * LaTeX.h: ditto
17161
17162 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17163
17164         * Merging changes from BRANCH_MVC back into HEAD.
17165
17166         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17167
17168 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17169
17170         * BufferView_pimpl.C: change from intl.C
17171
17172         * combox.h:
17173         * combox.C:
17174         * Makefile.am: move combox.*
17175
17176         * form1.h:
17177         * form1.C:
17178         * lyx_gui.C:
17179         * intl.h:
17180         * intl.C: remove dialog (covered by prefs)
17181
17182 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17183
17184         * lyxfunc.C (Dispatch): removed redundant break statement.
17185
17186 2001-03-14  Juergen Vigna  <jug@sad.it>
17187
17188         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17189
17190 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17191
17192         * buffer.C: add hack to fix compability reading of minipages.
17193
17194 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17195
17196         * buffer.C (getLists): Cleanup.
17197
17198 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17199
17200         * lyxfont.C (update): don't honor toggleall on font size.
17201
17202 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17203
17204         * bmtable.c:
17205         * bmtable.h:
17206         * Makefile.am: moved to frontends/xforms/
17207
17208         * lyx_gui_misc.C:
17209         * lyxfunc.C:
17210         * BufferView_pimpl.C: changes for moved mathpanel
17211
17212 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17213
17214         * gettext.h: fix gettext_init() in --disable-nls
17215
17216 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17217
17218         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17219
17220 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17221
17222         * lyx.C:
17223         * lyx.h: strip external form
17224
17225 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17226
17227         * BufferView_pimpl.C: add comment, destroySplash()
17228
17229 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17230
17231         * BufferView_pimpl.C:
17232         * LyXAction.C:
17233         * buffer.C:
17234         * commandtags.h:
17235         * lyxfunc.C: use re-worked insetinclude
17236
17237 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17238
17239         * buffer.C: add using std::stringstream.
17240
17241         * lyx_cb.C: readd using std::ios.
17242
17243         * buffer.C: add using std::map.
17244
17245         * BufferView_pimpl.C: add using std::vector.
17246
17247         * ShareContainer.h: add std:: to swap.
17248
17249         * buffer.h: add some typedefs
17250         * buffer.C (getLists): use them
17251         (getLists): renamed from getTocList.
17252         add a counter for the different float types and use it in the
17253         generated string.
17254         (getLists): use the same counter for the NEW_INSETS and the "non"
17255         NEW_INSETS
17256
17257         * lyx_cb.h: remove unused items, includes, using etc.
17258
17259         * ShareContainer.h: remove some commented code, add more comments
17260         and "documentation".
17261
17262 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17263
17264         * buffer.C (getTocList): make the list also when NEW_INSETS is
17265         defined.
17266
17267         * buffer.h: remove TocType
17268
17269         * buffer.C (getTocList): change to return a map<string,
17270         vector<TocItem> >, implement for dynamic number of list.
17271
17272         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17273         * text2.C (PasteSelection): adjust
17274         * CutAndPaste.C (pasteSelection): adjust
17275
17276         * FloatList.C (FloatList): update from the new_insets branch.
17277         * Floating.[Ch]: ditto
17278         * LaTeXFeatures.C: ditto
17279         * buffer.C: ditto
17280         * lyxlex_pimpl.C: ditto
17281
17282         * paragraph.C (Last): remove when NEW_INSETS is defined.
17283
17284         * other file: changes because of the above.
17285
17286 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17287
17288         * lyxparagraph.h: rename next to next_, previous to previous_,
17289         make them private for NEW_INSETS. Rename Next() to next(),
17290         Previous() to previous().
17291
17292         * other files: changes because of the above.
17293
17294 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17295
17296         * BufferView.h:
17297         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17298         problem.
17299
17300 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17301
17302         * main.C (main): pass lyx_localedir to gettext_init().
17303
17304         * gettext.h: remove locale_init and gettext_init macros
17305
17306         * gettext.C (locale_init): new function
17307         (gettext_init): new function
17308
17309         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17310         setlocale().
17311
17312 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17313
17314         * Moved credits to frontends:
17315         * credits.[Ch]: removed
17316         * credits_form.[Ch]: removed
17317         * lyx_gui_misc.C: remove credits stuff
17318         * Makefile.am:
17319
17320 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17321
17322         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17323
17324         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17325         unneeded destructor.
17326
17327         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17328         a standalone pointer again.
17329
17330         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17331
17332 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17333
17334         * Makefile.am:
17335         * filedlg.h:
17336         * filedlg.C:
17337         * LyXAction.C:
17338         * ToolbarDefaults.C:
17339         * bufferlist.C:
17340         * commandtags.h:
17341         * form1.C:
17342         * form1.h:
17343         * lyx_cb.C:
17344         * lyx_cb.h:
17345         * lyxfunc.h:
17346         * lyxfunc.C:
17347         * BufferView_pimpl.C: use new file dialog in GUII
17348
17349         * lyx_cb.h:
17350         * lyx_cb.C: remove LayoutsCB to Toolbar
17351
17352 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17353
17354         * ShareContainer.h (get): add std:: qualifier
17355
17356 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17357
17358         * ShareContainer.h: define a proper ShareContainer::value_type
17359         type (and use typename to please compaq cxx)
17360
17361 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17362
17363         * lyxparagraph.h: move serveral local vars to
17364         ParameterStruct/ParagraphParameters., use ShareContainer in
17365         FontTable., make vars in FontTable private and add getter and
17366         setter.
17367
17368         * paragraph.C: changes because of the above.
17369
17370         * lyxfont.h: remove copy constructor and copy assignment. (the
17371         default ones is ok), move number inside FontBits. move inlines to
17372         lyxfont.C
17373
17374         * lyxfont.C: add number to initializaton of statics, move several
17375         inlines here. constify several local vars. some whitespace
17376         cleanup. Dont hide outerscope variables.
17377
17378         * Spacing.h: add two new constructors to match the set methods.
17379
17380         * ShareContainer.h: new file, will perhaps be moved to support
17381
17382         * ParameterStruct.h: new file
17383
17384         * ParagraphParameters.h: new file
17385
17386         * ParagraphParameters.C: new file
17387
17388         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17389         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17390
17391         * BufferView_pimpl.C: ParagraphParameter changes.
17392         * buffer.C: Likewise.
17393         * bufferview_funcs.C: Likewise.
17394         * text.C: Likewise.
17395         * text2.C: Likewise.
17396
17397 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17398
17399         * lyxfind.C (LyXReplace): do not redefine default argument in
17400         implementation.
17401         (IsStringInText): ditto
17402         (SearchForward): ditto
17403         (SearchBackward): ditto
17404
17405 2001-03-06  Juergen Vigna  <jug@sad.it>
17406
17407         * lyxfind.C (IsStringInText): put parentes around expressions.
17408
17409 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17410
17411         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17412
17413 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17414
17415         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17416
17417         * stl_string_fwd.h: add comment
17418
17419         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17420
17421         * tabular.h:
17422         * tabular.C: remove unused DocBook methods
17423
17424         * intl.C:
17425         * language.C:
17426         * paragraph.C:
17427         * buffer.C:
17428         killed DO_USE_DEFAULT_LANGUAGE
17429
17430 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17431
17432         * lyx_gui.C: do not include language.h.
17433
17434         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17435         arguments in function implementation.
17436
17437 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17438
17439         * BufferView_pimpl.C: add <ctime>
17440
17441 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17442
17443         * BufferView_pimpl.C: add using std::find_if
17444
17445 2001-02-27  José Matos  <jamatos@fep.up.pt>
17446
17447         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17448         by OnlyPath.
17449
17450 2001-02-11  José Matos  <jamatos@fep.up.pt>
17451
17452         * buffer.C (makeDocBookFile): command styles now have a parameter as
17453         "title" by default.
17454
17455 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17456
17457         * layout_forms.[Ch]: removed
17458         * lyx_cb.[Ch]: out character
17459         * lyx_gui.C: out character
17460         * lyx_gui_misc.C: out character
17461         * bufferview_funcs.C: : out character,
17462         added toggleall as parameter in ToggleAndShow
17463
17464 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17465
17466         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17467
17468         * text2.C (SetCurrentFont): Disable number property at boundary.
17469
17470 2001-02-26  Juergen Vigna  <jug@sad.it>
17471
17472         * lyxfunc.C (getStatus): added a string argument override function so
17473         that this is correctly called from LyXFunc::Dispatch if it contains a
17474         do_not_use_argument which is used!
17475         (Dispatch): added check for "custom" export and call appropriate func.
17476
17477 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17478
17479         * lyxrc.C: Add language_command_local, language_use_babel and
17480         language_global_options.
17481
17482         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17483
17484         * buffer.C (makeLaTeXFile): Use language_use_babel and
17485         language_global_options.
17486
17487 2001-02-23  Juergen Vigna  <jug@sad.it>
17488
17489         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17490         which works with LyXText and putted it inside BufferView. Here now we
17491         only call for that part the BufferView::Dispatch() function.
17492
17493         * BufferView.C (Dispatch): added.
17494
17495         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17496         functions which needs to use a LyXText over from LyXFunc.
17497         (MenuInsertLyXFile): added
17498         (getInsetByCode): added
17499         (moveCursorUpdate): added
17500         (static TEXT): added
17501
17502 2001-02-22  Juergen Vigna  <jug@sad.it>
17503
17504         * BufferView_pimpl.C (update): call a status update to see if LyXText
17505         needs it.
17506
17507 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17508
17509         * vc-backend.C (revert): implement for CVS
17510         (getLog): implement for CVS
17511
17512 2001-02-20  Juergen Vigna  <jug@sad.it>
17513
17514         * text2.C (ClearSelection): added BufferView param for inset_owner call
17515
17516         * lyxfunc.C (TEXT): added this function and use it instead of
17517         directly owner->view()-text of getLyXText().
17518
17519 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17520
17521         * src/layout_forms.C: out preamble
17522         * src/layout_forms.h: out preamble
17523         * src/lyx_cb.C: out preamble
17524         * src/lyx_cb.h: out preamble
17525         * src/lyx_gui.C: out preamble
17526         * src/lyx_gui_misc.C: out preamble
17527         * src/lyxfunc.C: connect with guii preamble
17528
17529 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17530
17531         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17532
17533 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17534
17535         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17536         whether to run bibtex.
17537
17538 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17539
17540         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17541
17542 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17543
17544         * Makefile.am (lyx_SOURCES): removed bibforms.h
17545
17546         * vspace.h: doxygen
17547
17548         * text.C (GetVisibleRow): make several local vars const
17549
17550         * tabular.C: small cleanup.
17551
17552         * lyxserver.C (callback): use compare instead of strncmp
17553
17554         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17555         inlines to after class or to paragraph.C
17556
17557         * lyxfont.h: remove friend operator!=
17558
17559         * converter.h: move friend bool operator< to non friend and after
17560         class def.
17561
17562         * combox.h: small cleanup
17563
17564         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17565         to inlines after class def.
17566
17567         * buffer.C (pop_tag): use string operations instead of strcmp
17568
17569         * bmtable.c: doxygen, small cleanup
17570
17571         * LaTeX.h: remove friend operator==
17572
17573 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17574
17575         * screen.C:
17576         * lyxrc.[Ch]:
17577         * lyxfunc.C:
17578         * lyxfont.[Ch]:
17579         * lyx_cb.C:
17580         * intl.[Ch]:
17581         * commandtags.h:
17582         * buffer.C:
17583         * WorkArea.[Ch]:
17584         * LyXAction.C:
17585         * BufferView_pimpl.C:
17586         * BufferView.[Ch]: remove cruft
17587
17588 2001-02-14  Juergen Vigna  <jug@sad.it>
17589
17590         * lyxfunc.C: removed #if 0 unused code
17591
17592         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17593
17594         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17595
17596         * text2.C (SetSelection): added a BufferView * parameter
17597
17598 2001-02-13  Juergen Vigna  <jug@sad.it>
17599
17600         * lyxfunc.C (Dispatch): fixed protected blank problem.
17601         * BufferView2.C (protectedBlank): added LyxText * parameter.
17602
17603         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17604         (AppendColumn): same as above for column_info.
17605
17606         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17607         (moveCursorUpdate): use a LyXText param for support of InsetText.
17608
17609         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17610         (tripleClick): ditto
17611
17612         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17613
17614         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17615
17616         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17617
17618         * text2.C (SetSelection): set correct update status if inset_owner
17619         (ToggleFree): ditto
17620
17621 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17622
17623         * tabular.C: remove some commented code.
17624
17625 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17626
17627         * BufferView_pimpl.C: call hideSplash()
17628
17629         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17630
17631         * include_form.h:
17632         * bibforms.h: remove
17633
17634         * lyxfunc.C:
17635         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17636           add LFUN_CHILD_CREATE
17637
17638         * counters.h: fix tiny typo
17639
17640         * lyx_cb.C:
17641         * lyx.h:
17642         * lyx_gui.C:
17643         * lyx.C: move splash to frontends/xforms/
17644
17645         * lyx_gui_misc.C: move Include and Bibform to frontends
17646
17647         * lyxvc.h: clarify comment
17648
17649         * vspace.C: tiny housekeeping
17650
17651 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17652
17653         * text.C (PrepareToPrint): RTL Fix.
17654
17655         * paragraph.C (GetUChar): New method.
17656         (String):  Use GetUChar.
17657
17658         * buffer.C (asciiParagraph): Use GetUChar.
17659
17660 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17661
17662         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17663
17664 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17665
17666         * buffer.h:
17667         * buffer.C: rename to getLogName(), handle
17668           build log / latex log nicely
17669
17670 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17671
17672         * MenuBackend.C:
17673         * MenuBackend.h: remove support for reference menuitem type.
17674
17675 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17676
17677         * BufferView_pimpl.C: housekeeping
17678         * BufferView_pimpl.h:
17679         * LyXView.h:
17680         * Makefile.am:
17681         * Timeout.C:
17682         * Timeout.h:
17683         * minibuffer.h: move Timeout GUI-I
17684
17685 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17686
17687         * lyxrc.C (read): Update converters data-structures.
17688
17689 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17690
17691         * LaTeX.h (operator!=): add operator != for Aux_Info
17692
17693 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17694
17695         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17696
17697         * LaTeXLog.C: deleted, useful code moved to Buffer
17698
17699         * buffer.h:
17700         * buffer.C: new function getLatexLogName()
17701
17702         * lyx_gui_misc.C:
17703         * lyx_gui.C:
17704         * lyxvc.C:
17705         * lyxvc.h:
17706         * lyxfunc.C: use frontends for LaTeX and VC logs
17707
17708 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17709
17710         * LaTeX.h: yet another std:: that Allan forgot.
17711
17712         * Variables.C (set): renamed from isset(), because this clashes
17713         with some HP-UX macros (grr).
17714
17715 2001-02-06  Allan Rae  <rae@lyx.org>
17716
17717         * LaTeX.h: Another bug fix.  Missing std:: this time.
17718
17719 2001-02-04  Allan Rae  <rae@lyx.org>
17720
17721         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17722         floats problem. I've left it commented out because it's not quite
17723         correct.  It should also test that the current object is a table or
17724         figure inset.  But I haven't gotten around to figuring out how to do
17725         that.  I *think* it'll be something like: "table" == inset.type()
17726
17727         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17728         bool.
17729
17730 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17731
17732         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17733         all the citation/databases/styles in the auxilary file.
17734         (run): Rerun latex if there was a babel language error.
17735
17736 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17737
17738         * text.C (Backspace): Preserve the font when changing newline char
17739         with a space.
17740         (BreakParagraph): If the cursor is before a space, delete the space.
17741
17742         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17743
17744 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17745
17746         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17747         new argument (code).
17748         (ChangeCitationsIfUnique): New method.
17749
17750         * paragraph.C (GetPositionOfInset): Handle bibkey.
17751
17752 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17753
17754         * BufferView_pimpl.h: change type of Position::par_pos to
17755         LyXParagraph::size_type.
17756
17757 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17758
17759         * BufferView_pimpl.C (savePosition, restorePosition): Write
17760         messages to minibuffer.
17761
17762 2001-01-28  José Matos  <jamatos@fep.up.pt>
17763
17764         * buffer.C (makeDocBookFile): adds support for document language.
17765         A silly restriction on the name of LatexCommand types where removed.
17766         Added support for CDATA sections, allows to chars unescaped, used
17767         among others in code, to avoid escape < and >.
17768
17769 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17770
17771         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17772         saved positions instrad of a stack. Furthermore, a position is
17773         stored using paragraph id/paragraph position.
17774
17775         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17776         Remove LFUN_REF_BACK.
17777
17778 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17779
17780         * converter.C (dvipdfm_options): New method.
17781
17782 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17783
17784         * vspace.C (isValidLength): Fix for empty input string.
17785
17786 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17787
17788         * LyXAction.C (init): change description of LFUN_FIGURE to
17789         "Insert Graphics"
17790
17791 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17792
17793         * LaTeX.C: add using directive
17794
17795 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17796
17797         * MenuBackend.C (expand): Fix the sorting of the formats.
17798
17799 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17800
17801         * lyx_main.C: tiny error message fix
17802
17803 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17804
17805         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17806         calling fl_initialize(). This fixes the problem with ',' as
17807         decimal separator in text files.
17808
17809 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17810
17811         * trans.C (process): Fix the keymap bug.
17812
17813 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17814
17815         * LaTeX.C (scanAuxFiles): New method. Provides support for
17816         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17817         (scanLogFile) Scan for "run BibTeX" messages.
17818
17819         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17820         OT1 font encoding. Also, load the aecompl package if the ae
17821         package is loaded.
17822
17823         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17824
17825 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17826
17827         * texrow.C (increasePos): turn two error messages into debug
17828         messages.
17829
17830 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17831
17832         * LaTeX.C (scanAux): Handle the \@input macro.
17833         (runBibTeX): Use scanAux().
17834
17835         * language.C (latex_options_): New field.
17836
17837         * LaTeXFeatures.C (getMacros): Add language macros.
17838
17839         * buffer.C (makeLaTeXFile): Small fix.
17840
17841 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17842
17843         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17844
17845         * text2.C: add a using directive.
17846
17847 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17848
17849         * BufferView2.C:
17850         * lyx_gui_misc.h:
17851         * lyxfr1.C:
17852         * lyxfunc.C: kill LyXBell.
17853
17854 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17855
17856         * text.C (IsBoundary): Remove the error message
17857
17858         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17859
17860         * lyxrc.C (setDefaults): Correct initialization value for
17861         font_norm_type.
17862
17863 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17864
17865         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17866         gotoError().
17867
17868         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17869         and GotoNextNote().
17870
17871         * src/LyXAction.C: Added reference-next.
17872
17873         * text.C (InsertChar): Use contains instead of strchr.
17874
17875         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17876
17877 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17878
17879         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17880         alignment commands (when needed).
17881
17882         * text.C (InsertChar): Add ':' to number separator chars.