]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
remove InsetText::updateLocal. Was neither missed nor active for a while now
[lyx.git] / src / ChangeLog
1 2005-07-15  José Matos <jamatos@lyx.org>
2
3         * output_plaintext.[Ch] (writeFileAscii): control reference title
4         printing.
5         (asciiParagraph): noparbreak was already deal and was incorrectly
6         used.
7
8 2005-07-15  Juergen Vigna <jug@lyx.org>
9
10         * lyxfunc.C (dispatch): save and restore the cursor after a
11         textclass switch.
12
13 2005-07-15    <lgb@tandberg.net>
14
15         * text.C (backspace): bug 806 for empty keepempty paragraphs we
16         change the layout to default before letting DEPM do its thing.
17
18         * paragraph_funcs.C (breakParagraph): dont reset the layout on
19         keepEmpty paragraphs
20
21         * text.C (setCursorFromCoordinates): add a debug statement
22
23         * text2.C (getColumnNearX): bug 1825 make sure that we don't
24         return a pos that is not on the row
25
26         * output_latex.C (TeXDeeper): get rid of potential dereferencing
27         of past the end iterator
28
29 2005-07-14  André Pönitz  <poenitz@gmx.net>
30
31         * undo.C (recordUndoFullBuffer): implement undo for
32   textclass switches
33
34 2005-07-14  André Pönitz  <poenitz@gmx.net>
35
36         * cursor.C (setSelection): open insets when selection is set there
37   to avoid crashs with cold coord cache
38
39 2005-07-14  André Pönitz  <poenitz@gmx.net>
40
41         * trans_mgr.C (insert): move cursor to the right after inserting
42   a char.
43
44 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
45
46         * BufferView_pimpl.C (update): dampen some of the debug blabbering
47         * factory.C (readInset): ditto
48         * text.C, text2.C: ditto
49
50 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
51
52         * buffer.C: format incremented to 242. There is no file format per
53         se, but the "frenchb" language has been removed from lib/language
54         and has to be translated to "french" by lyx2lyx.
55
56 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
57
58         * cursor_slice.h, dociterator.h: add some documentation
59         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
60
61 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
62
63         * text.C (leftMargin): do not add identation to display() style
64         insets, because they are always centered (bug 1293).
65
66 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
67
68         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
69         formatted_time methods in support/lyxtime.
70
71 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
72
73         * toc.[Ch]: new method getGuiName, which is used by the frontends 
74         to set the toc combo (fixes bug 1870). Make TOC string translatable.
75
76 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
77
78         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
79         StableDocIterator const &)
80         * undo.C (recordUndo): use the above instead of cell.size() comparison
81         (fixes bug 1808; instructed by André).
82
83 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
84
85         * cursor_slice.h: 
86         * dociterator.h: Fix the assert when copying rows/cols in math
87
88 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
89
90         * BufferView_pimpl.C:
91         * LyXAction.C:
92         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
93
94         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
95         (findInset): new functions, refactored from goto Inset that return 
96         the position of a certain inset without setting the buffer's cursor
97         (by Jean-Marc); 
98         (gotoInset): rewrite to call findInset and then set the cursor
99         (by Jean-Marc).
100
101 2005-06-16  Angus Leeming  <leeming@lyx.org>
102
103         * lyxrc.C (output, read): wrap all input and output of paths with
104         calls to os::internal_path and os::external_path, respectively.
105         (output): wrap bind_file inside quotes.
106
107         * format.C (view): enable the viewer to use the '$$s' placeholder.
108
109 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
110
111         * LColor.[Ch] (getFromLaTeXName): new
112
113 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
114
115         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
116
117 2005-06-14  Angus Leeming  <leeming@lyx.org>
118
119         * lyx_main.C (init): ensure that the LyX binary dir is the first
120         element in the PATH on non-POSIX builds.
121
122 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
123
124         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
125
126 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
127
128         * rowpainter.C (paintInset, paintHebrewComposeChar)
129         (paintArabicComposeChar, paintChars): add a LyXFont argument.
130         (paintChars): use getFontSpan to reduce calls to getFont to a
131         minimum; use Paragraph::lookupChange instead of isXXXText.
132         (paintForeignMark): rename LyXFont argument.
133         (paintFromPos): pass a LyXFont object to the various paintXXX
134         methods.
135
136         * FontIterator.C (FontIterator, operator++): use
137         Paragraph::getFontSpan
138
139         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
140         version that returns the font span as a pair.
141
142 2005-06-09  Angus Leeming  <leeming@lyx.org>
143
144         * converter.C (convert): Don't forget "outfile = real_outfile" as
145         the final step in a conversion where the input and output file names
146         are the same. Otherwise, future conversion steps won't work...
147
148 2005-06-09  Angus Leeming  <leeming@lyx.org>
149
150         * lyxsocket.C: remove stub code as it isn't needed by
151         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
152
153 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
154
155         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
156         effectively disabled -x
157
158 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
159
160         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
161         when it actually makes sense.
162
163 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
164
165         * BufferView_pimpl.C: revert to showCursor in connection with
166         Lars's front-end stack
167
168 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
169
170         * text.C (redoParagraph): move cursor right after a bibitem
171         has been inserted.
172
173         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
174
175 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
176
177         * buffer_funcs.C (bufferErrors): fix computation of the end of an
178         error range.
179
180 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
181
182         * BufferView.[Ch] (update):
183         * BufferView_pimpl.[Ch] (update, metrics):
184         * dimension.h (operator==):
185         * lyxfunc.C (dispatch):
186         * metricsinfo.h (ViewMetricsInfo):
187         * rowpainter.C (paintText):
188         * lyxtext.h:
189         * text.C (redoParagraph):
190         * text3.C (dispatch): Make LyX only repaint current paragraph in
191         case of character insert --> speedup. Also fix cursor draw
192         artifacts
193
194 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
195
196         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
197         avoid a crash (bug 1891)
198
199 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
200
201         Fix bug 1892:
202
203         * text2.C (getStringToIndex): constify cur argument.
204
205         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
206         argument has been given
207         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
208         try to invoke LFUN_INSET_APPLY).
209
210         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
211         if no inset was created by doInsertInset
212         (doInsertInset): return true if an inset has been inserted.
213
214 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
215
216         * vspace.C (asGUIName): new method. A version of the space
217         suitable for showing on screen.
218
219 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
220
221         * MenuBackend.C:
222         * lyxrc.C: rename "ASCII" to "Plain Text"
223
224 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
225
226         * buffer_funcs.C (expandLabel): take a Buffer as argument;
227         translate the labelstring.
228         (setCounter): translate labelstring as needed.
229
230         * output_docbook.C (makeCommand): fix expandLabel invokation
231
232 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
233
234         * BufferView.C: fix dialog title
235
236 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
237
238         * lyx_main.C (priv_exec): fix logic error with help from Angus
239         * lyx_main.C (parse_execute): set is_gui = false and remove now
240         obsolete comment about a segfault
241
242 2005-05-18  Angus Leeming  <leeming@lyx.org>
243
244         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
245
246 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
247
248         * tabular.[hC]: added setCellInset to fix tabular paste.
249
250 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
251
252         * buffer.C (save): check if destination is writable before trying
253         to copy a file
254
255 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
256
257         * BufferView_pimpl.C (update): fix processEvents -caused update
258         recursion bug
259
260 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
261
262         * buffer_funcs.C (setCounter): fix test for numbering of
263         environments.
264
265         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
266         depth correctly; use optional argument when it exists
267
268         * lyxtextclass.C: remove unused MaxCounterTags enum
269         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
270         (max_toclevel, min_toclevel): new methods.
271
272         * MenuBackend.C (expandToc2): fix case where depth is smaller than
273         the smallest depth in toc.
274
275         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
276         layouts that should not appear in a table of contents.
277
278 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
279
280         * cursor.h (undispatched, noUpdate): add comments from André
281
282 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
283
284         * lfuns.h:
285         * LyXAction.C:
286         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
287
288 2005-05-07  André Pönitz  <poenitz@gmx.net>
289
290         * cursor.[Ch] (leaveInset): new function
291
292 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
293
294         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
295
296 2005-05-04  Angus Leeming  <leeming@lyx.org>
297
298         * lyxfunc.C (getStatus): disable the spell checker dialog if
299         none of USE_[AIP]SPELL are defined.
300
301 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
302
303         * tabular.C (setWidthOfCell): remove obsolete comment
304
305 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
306
307         * paragraph.C (bibitem):
308         * buffer_funcs.C (setCounter):
309         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
310
311 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
312
313         * text3.C (getStatus): immediately return after setOnOff
314
315         * rowpainter.C: fix drawing of appendix start
316
317 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
318
319         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
320         SwitchBetweenClasses and remove the unused return value.
321         Handle character styles, too
322
323 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
324
325         * factory.C (createInset): handle undefined character styles
326
327 2005-05-02  Angus Leeming  <leeming@lyx.org>
328
329         * buffer.C: protect the #include of utime.h with a preprocessor
330         guard.
331
332 2005-05-02  Angus Leeming  <leeming@lyx.org>
333
334         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
335         function so that auto-saving works, albeit in a blocking manner.
336
337         * Makefile.am: make compilation of the client sub directory, of
338         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
339         on conditionals set at configure time.
340
341         * SpellBase.[Ch]: no longer an abstract base class. Instead,
342         it can be compiled in its own right but has no-op functionality.
343
344         * aspell.C, pspell.C: remove preprocessor guards. The files should
345         be compiled only if the necessary functionality exists.
346
347         * lyxserver.C, lyxsocket.C: disable on Windows.
348
349 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
350
351         * text.C (leftMargin): Fix the parindent use bug (1764)
352         by dirty trick
353
354 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
355
356         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
357         argument.
358
359 2005-04-25  Angus Leeming  <leeming@lyx.org>
360
361         * Bidi.[Ch]:
362         * coordcache.[Ch]:
363         * ispell.C:
364         * lyxserver.C:
365         * mover.C:
366         * pch.h:
367         include <config.h> in .C files, not .h ones.
368         add licence blurb.
369         protect headers inside preprocessor guards.
370
371 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
372
373         * FuncStatus.h (StatusCodes): document
374
375 2005-04-21  André Pönitz  <poenitz@gmx.net>
376
377         * FuncStatus.h (enabled, onoff): document
378
379 2005-04-19  Angus Leeming  <leeming@lyx.org>
380
381         * BufferView_pimpl.C (cursorToggle): no longer test whether
382         any child processes have been reaped before calling
383         handleCompletedProcesses().
384
385 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
386
387         * text3.C (dispatch): fix, finally fix, the language problem in
388         new lyxtexts, without disabling on-the-fly font changes (Helge's
389         bug report)
390
391 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
392
393         * text3.C (dispatch): set cursor on double/triple click events
394         (bug 1811)
395
396 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
397
398         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
399         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
400
401         * rowpainter.C (paintFirst): simplify the code a little bit. In
402         particular, remove the test for secnumdepth.
403         * text.C (setHeightOfRow): only allocate space for chapter number
404         when updateCounters provided an actual label, instead of looking
405         at secnumdepth directly.
406
407         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
408
409         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
410         paragraphs when secnumdepth is large enough or, for environments,
411         when they are not the first in a sequence.
412
413 2005-04-17  Angus Leeming  <leeming@lyx.org>
414
415         * buffer.C (makeLaTeXFile): replace code to manipulate a path
416         containing space and '~' characters with a call to latex_path().
417
418 2005-04-17  Angus Leeming  <leeming@lyx.org>
419
420         * converter.C (convert): protect all args of convertDefault.sh
421         script with quotes.
422
423 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
424
425         * text3.C (dispatch): change the layout to "Caption" after inserting
426         a float.
427
428 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
429
430         * text3.C (dispatch): fix language problem in newly created
431         textinsets (and main text) in non-english docs
432
433 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
434
435         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
436         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
437         * text3.C (getStatus): disable LFUN_INSET_MODIFY
438
439 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
440
441         * lyxtext.h:
442         * text.C (metrics):
443         * text2.C (getFont):
444         * rowpainter.C (getFont): Fix metrics bug introduced by inset
445         fonts fix
446
447 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
448
449         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
450         output of \item arguments without trailing text.
451
452 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
453
454         * FontIterator.C (operator*): avoid a copy of the font.
455
456 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
457
458         * rowpainter.C (getFont): fix language bug from previous fix
459
460 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
461
462         * rowpainter.C (RowPainter, getFont): fix font inside inset
463         (bugs 1766, 1809)
464
465 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
466
467         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
468         preventing inserted font, deco, delim insets jumping to start of
469         surrounding inset.
470
471 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
472
473         * lyxfunc.C (dispatch): translate message before sending it to the
474         minibuffer.
475
476 2005-03-29  Angus Leeming  <leeming@lyx.org>
477
478         * lyx_main.C (priv_exec): call os::internal_path on each file passed
479         to LyX on the command line.
480
481 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
482
483         * vc-backend.C: use QuoteName to protect file names wherever
484         necessary.
485
486 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
487
488         * buffer.[Ch]:
489         * BranchList.h: fix bugs 1844,1845: document settings don't
490         stick
491
492 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
493
494         * lyxrc.C (setDefaults, read, output, getDescription): add support
495         for tex_allows_spaces.
496
497         * exporter.C (Export): allows files in directory containing spaces
498         if tex_allows_spaces is true.
499
500         * buffer.C (makeLaTeXFile): if the document path contains spaces,
501         output it in double quotes.
502
503 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
504
505         * rowpainter.C: use default text height for drawing change tracker
506         strikeout lines.
507
508 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
509
510         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
511
512 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
513
514         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
515         directory is missing.
516
517 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
518
519         * text2.C: fixed the fix, extended to other case.
520
521 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
522
523         * text2.C: fix for cursor up/down stuck in math [bug 1792]
524
525 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
526
527         * text2.C (cursorUp): get rid of a crash
528         * text.C (x2pos): add an assert
529
530 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
531
532         * lyxfunc.C (getStatus): fix warning when assertions are disabled
533
534         * text3.C:
535         * lyxfunc.C:
536         * dociterator.C: include <boost/current_function.hpp>, which is
537         needed when assertions are disabled.
538
539 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
540
541         * text2.C: fix for stuck cursor when traversing two
542         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
543
544 2005-02-25  Andreas Vox  <avox@arcor.de>
545
546         * output_docbook.C (makeParagraph): suppress trailing newline
547         after a run of paragraphs
548
549 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
550
551         * paragraph.C: fix for confused change tracker when pasting
552         text that begins with a lineseparator. [bug 1827]
553         (setChange(0, Change::INSERTED);)
554
555         * paragraph_funcs.C: fix for lost changes on triple-paste
556         in change tracking mode [bug 1827] (par.setChange()).
557
558 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
559
560         * text2.C (updateCounters, setCounter, expandLabel): move to
561         buffer_funcs.
562
563         * buffer_funcs.C (updateCounters): turn into a free standing
564         function and add a buffer parameter. Remove dead code for tracking
565         labelstring change.
566         (setCounter): change into a free-standing function which gets a
567         dociterator as argument. Use this iterator to fix captions in a
568         simple way. When no float is found above the caption, use the
569         labelstring of the caption layout as default.
570
571         * text.C (breakParagraph, backspace):
572         * text2.C (init, setLayout, changeDepth):
573         * text3.C (dispatch):
574         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
575         updateCounters.
576
577         * dociterator.C (forwardPar): make it much faster by calling
578         forwardPos() only when really necessary.
579
580         * output_docbook.C (makeCommand): adapt to expandLabel move.
581
582         * cursor.C: remove unused variable
583
584 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
585
586         * paragraph_funcs.C: fix crash when pasting insets in change
587         tracking mode [bug 1277] (honour change type in moveItem).
588
589 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
590
591         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
592
593 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
594
595         * BufferView.C (setCursor): change to use a DocIterator.
596         (gotoLabel): use BufferView::setCursor (other part of bug 781).
597         (putSelectionAt): adapt to BufferView::setCursor change.
598
599         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
600         moved here from LyXText and rewritten to use proper cursor
601         methods. Fixes bug 1787, 616 and 835.
602
603         * BufferView_pimpl.C (restorePosition): set the cursor correctly
604         when inside an inset (part of bug 781).
605         (dispatch): adapt to change of BufferView::setCursor.
606         (getStatus, dispatch): handle LFUN_GOTOERROR,
607         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
608
609         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
610         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
611         * text3.C (gotoNextInset, gotoInset): removed.
612
613 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
614
615         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
616
617 2005-02-15  Angus Leeming  <leeming@lyx.org>
618
619         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
620         can be used meaningfully in a comparison.
621
622 2005-02-13  André Pönitz  <poenitz@gmx.net>
623
624         * bufferview_funcs.C (coordOffset): improve cursor drawing
625
626 2005-02-13  André Pönitz  <poenitz@gmx.net>
627
628         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
629         * Cursor.C (dispatch): use fixIfBroken
630         * lyxfunc.C (getStatus): use fixIfBroken
631
632 2005-02-15  Angus Leeming  <leeming@lyx.org>
633
634         * lyx_main.C (error_handler):
635         * lyxfunc.C:
636         * lyxrc.C (setDefaults):
637         s/GetEnv/getEnv/.
638         #include "environment.h".
639
640         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
641
642 2005-02-15  Angus Leeming  <leeming@lyx.org>
643
644         * lyxserver.C (startPipe): squash MSVC warning "local variable
645         'fd' used without having been initialized".
646
647 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
648
649         * BufferView_pimpl.C: revert accidental commit.
650
651 2005-02-14  André Pönitz  <poenitz@gmx.net>
652
653         * dociterator.[Ch]: new member forwardPosNoDescent(),
654         which doesn't enter nested insets.
655         * text2.C (setFont): use forwardPosNoDescent() instead
656         of ForwardPos() (fixes crash on font change).
657
658 2005-02-13  Angus Leeming  <leeming@lyx.org>
659
660         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
661         only if lyxrc.path_prefix is not empty.
662
663 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
664
665         * bufferparams.C (readGraphicsDriver): prevent crash
666
667 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
668
669         * text2.C (setCounter): check for inInset() == 0
670
671 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
672
673         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
674         but use update() to get correct screen display; use convert
675         instead of istringstream.
676         (getStatus): handle LFUN_GOTO_PARAGRAPH
677
678         * lyxfunc.C (dispatch, getStatus): do not handle
679         LFUN_GOTO_PARAGRAPH here.
680
681 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
682
683         * text3.C (dispatch): size() -> depth()
684
685         * text2.C: remove some debug output
686
687         * paragraph.C: ws changes only
688
689         * lyxfunc.C (getStatus): size() -> depth()
690
691         * dociterator.h (clear, push_back, pop_back, internalData,
692         operator[], resize, empty): new functions
693         Make StableDocIterator and operator== be friends. Don't inherit
694         from std::vector use a privat class variable slices_ instead.
695         Modify to fit.
696
697         * dociterator.C: update because of not inheriting from std::vector
698         anymore. Call explictly to slices_ instead. Use depth() instead of
699         size() and top() instead of back()
700
701         * cursor.C: chagne size() -> depth and back() -> top(). Also
702         remove some direct operator[](i) calls in favour of foo[i]
703         (getFont): remove some dead code
704
705         * bufferview_funcs.C (coordOffset): size() -> depth()
706
707         * buffer.C: ws changes only
708
709         * CutAndPaste.C (eraseSelection): back() -> top()
710
711         * BufferView_pimpl.C (selectionRequested): back() -> top()
712
713         * BufferView.C (setCursor): size() -> depth()
714
715 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
716
717         * text3.C (cursorPrevious): return true if depm changed something
718         (cursorNext): ditto
719         (dispatch): rename sl to oldTopSlice, remove moving use the new
720         NoUpdate func attrib instead. Make sure that needsUpdate is set
721         for function that have NoUpdate, but where depm might have changed
722         the buffer anyway.
723
724         * text2.C (cursorLeft): make us return true if depm changed
725         something
726         (cursorRight): ditto
727         (cursorUpParagraph): ditto
728         (curosrDownParagraph): ditto
729         (cursorUp, cursorDown): ditto, make sure to read comments in code
730         (deleteEmptyParagraphMechanism): remove an assert, also return
731         true if just a single char was deleted.
732
733         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
734         cursor that we modify, to avoid modifying an active cursor before
735         we call setCursor. This allows depm to run. Also return true if
736         depm deleted something.
737
738         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
739         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
740         cursorDownParagraph, cursorPrevious and cursorNext, return true if
741         something was changed in the buffer because of them (ie. depm run)
742
743         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
744         debug messages. Make update by default be false. Make sure that
745         the result of update is retained throught several calls down to
746         dispatch.
747
748         * LyXAction.h: add a new func_attrib: NoUpdate
749
750         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
751         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
752         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
753         and LFUN_WORDLEFT
754         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
755
756 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
757
758         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
759         bv_->owner(), bv_->buffer() by direct references to the private
760         members.
761         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
762         (getStatus): isSavedPosition() is in BufferView::Pimpl.
763         (fitCursor): center() is in BufferView::Pimpl.
764         (getStatus, trackChanges, dispatch): no need for a temporary buf
765         variable
766         (fitCursor, workAreaDispatch): use workarea().workheight()
767
768 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
769
770         * CutAndPaste.C (pasteSelectionHelper): fix a crash
771
772 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
773
774         * buffer.C: format up to 241.
775         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
776         break if pasting into ERT
777         * lyxfunc.C (getStatus): suppress mathpanel and
778         LFUN_DIALOG_SHOW_NEW_INSET in ERT
779
780 2005-02-01  Angus Leeming  <leeming@lyx.org>
781
782         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
783
784 2005-02-01  Angus Leeming  <leeming@lyx.org>
785
786         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
787         calling fs::is_directory().
788
789 2005-01-31  Angus Leeming  <leeming@lyx.org>
790
791         * lyx_main.C (priv_exec): specify explicitly the relative location
792         of the top level build directory when run in-place.
793
794 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
795
796         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
797         LyXText containing the cursor, not the top-level one.
798
799         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
800         true.
801         (insertStringAsLines): rename par to pit; use temporary variable
802         par to hold a Paragraph; do not store par.layout() in a variable,
803         since the pointer may die when breaking paragraphs; pass pars to
804         breakParagraph() instead of Buffer::paragraphs().
805
806 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
807
808         * lyxlex_pimpl.h: #include <fstream>.
809
810         * BufferView.[Ch] (getLyXText): add a const version.
811
812         * BufferView_pimpl.C: add debug aids.
813
814         * RowList_fwd.h:
815         * buffer.h:
816         * lyxrow.h:
817         * paragraph_funcs.h: add commentary explaining what the class does.
818
819
820         * coordcache.[Ch]: add lots of commentary.
821         (startUpdating, doneUpdating): debug aids.
822         (arrays, insets, parPos, getParPos): accessors to private data.
823
824         * cursor_slice.[Ch] (text): add a const version.
825         * dociterator.[Ch] (text, innerText): add const versions.
826
827         * lyxtext.h (breakParagraph): change the keep_layout arg to a
828         bool.
829
830         * paragraph.C (getRow, pos2ros): add asserts.
831
832         * paragraph.h: add commentary. Lots of.
833
834         * paragraph.[Ch] (metrucs, draw): removed.
835
836         * cursor.C:
837         * rowpainter.[Ch]: const-correct changes.
838
839         * text.C: various obvious clean-ups. Removal of ancient cruft.
840         Bug fixes, even.
841
842 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
843
844         * vc-backend.C (find_file): rewrite to use boost.filesystem
845         (scanMaster): ditto
846
847         * main.C (main): set default name check for boost.filesystem to
848         no check
849
850         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
851         (open): ditto
852         (doImport): ditto
853         (actOnUpdatedPrefs): ditto
854
855         * lyx_main.C (init): rewrite to use boost.filesystem
856         (queryUserLyXDir): ditto
857
858         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
859         (getContentsOfAsciiFile): ditto
860
861         * lastfiles.C (readFile): rewrite to use boost.filesystem
862
863         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
864
865         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
866         (loadLyXFile): ditto
867
868         * buffer.C (Buffer): adjust for destroydir
869         (getLogName): rewrite to use boost.filesystem
870         (setFileName): ditto
871         (save): use fs::copy_file (from fs_extras)
872
873         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
874
875         * LaTeX.C (run): rewrite to use boost.filesystem
876         (scanAuxFiles): ditto
877         (handleFoundFile): ditto
878
879 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
880
881         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
882
883         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
884
885 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
886
887         * lyxlayout.[Ch]: change some vars from float to double
888
889         * buffer.C (readFile): make a local var const
890
891         * Several files: use convert<> instead of atoi,strToXXX and friends
892
893 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
894
895         * LaTeXFeatures.[Ch]: Add a static list packages_ that
896         holds the contents of packages.lst. New functions getAvailable
897         and isAvailable to parse and check that list, resp.
898
899         * LyXAction.C:
900         * lfuns.h:
901         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
902
903         * bufferparams.[Ch]: new param output_changes.
904
905         * Buffer.C: increase file format to 240.
906         Use output_changes and isVailable.
907
908         * changes.[Ch]:
909         * paragraph.C:
910         * paragraph_pimpl.C: Use output_changes and isVailable.
911
912 2005-01-23  Angus Leeming  <leeming@lyx.org>
913
914         * output_latex.C: #include "insetbibitem.h", rather than
915         forward declare function bibitemWidest.
916
917 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
918
919         * lyx_main.C (init): make it compile on the Mac.
920
921 2005-01-20  Angus Leeming  <leeming@lyx.org>
922
923         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
924         (setLyXMisc): (char string literal) != (char string literal) is
925         performing a comparison on the addresses. Convert one operand
926         explicitly to string to guarantee expected behaviour.
927         From MSVC warning.
928
929 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
930
931         * buffer.C:
932         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
933
934         * output_plaintext.C: remove unneeded #include gzstream.h.
935
936 2005-01-20  Angus Leeming  <leeming@lyx.org>
937
938         * SpellBase.h: rename some of the elements of the Result enum.
939
940         * aspell_local.h:
941         * ispell.h:
942         * pspell.h:
943         * aspell.C (check):
944         * ispell.C (check):
945         * pspell.C (check): ditto
946
947 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
948
949         * buffer.C: add #include <fstream>.
950
951         * lyx_main.C (init): Compile fix.
952
953         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
954
955 2005-01-20  Angus Leeming  <leeming@lyx.org>
956
957         * mover.h: change commentary to reflect the changed meaning of
958         the $$s placeholder.
959
960 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
961
962         * output_linuxdoc.C (linuxdocParagraphs): silence warning
963
964         * lyxfind.C (MatchString::operator()): remove bogus semicolon
965
966 2005-01-20  Angus Leeming  <leeming@lyx.org>
967
968         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
969         printing diagnostic data by not dereferecing an iterator past the
970         end.
971
972 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
973
974         * buffer.C (readHeader): use "&&" rather than "and".
975
976         * lyxserver.h (inPipeName, outPipeName): make these const.
977
978 2005-01-19  Angus Leeming  <leeming@lyx.org>
979
980         * lyx_main.C (error_handler, init): protect SIGHUP with
981         #ifdef SIGHUP guards.
982
983 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
984
985         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
986
987 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
988
989         * text.C (setHeightOfRow): add a margin at the top and bottom of
990         the document (bug 1761)
991
992 2005-01-17  Angus Leeming  <leeming@lyx.org>
993
994         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
995         with "python ". Workaround for a brain-dead Windows.
996
997 2005-01-16  Angus Leeming  <leeming@lyx.org>
998
999         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1000         for MacOSX and Windows to use prependEnvPath.
1001         Strip out the hard-coded block to add elements to the PATH for
1002         MacOSX and replace it with a call to prependEnvPath using the
1003         contents of LyXRC::path_prefix.
1004         (queryUserLyXDir): strip out the code to run reconfigure, instead
1005         returning a boolean indicating the necessity to do so.
1006         (reconfigureUserLyXDir): contains the code to reconfigure the
1007         user support directory. Is now called after the various LyXRC data
1008         files have been read.
1009
1010         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1011
1012 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1013
1014         * converter.[Ch] (convert): take a new parameter try_default. Use
1015         a default converter (imagemagick) if try_default is true.
1016
1017 2005-01-13  Angus Leeming  <leeming@lyx.org>
1018
1019         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1020         os::cygwin_path_fix.
1021         (write): output LyXRC::cygwin_path_fix as necessary.
1022
1023 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1024
1025         * lyxrc.h:
1026         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1027
1028 2005-01-12  Angus Leeming  <leeming@lyx.org>
1029
1030         * lyx_main.C (init): set the PATH variable to include the
1031         directory containing the LyX binary when running on Mac or Windows.
1032
1033 2005-01-12  Angus Leeming  <leeming@lyx.org>
1034
1035         * lyx_main.C (init): remove cruft that purports to set the locale
1036         dir. It doesn't and is not needed anyway.
1037
1038 2005-01-10  Angus Leeming  <leeming@lyx.org>
1039
1040         * Makefile.am: remove the lyx_main.C special casing.
1041
1042         * BufferView_pimpl.C:
1043         * bufferlist.C:
1044         * exporter.C:
1045         * lyx_cb.C:
1046         * lyx_main.C:
1047         * lyxfunc.C:
1048         * messages.C: use support/package.h to provide the paths to the
1049         various directories used by LyX.
1050
1051 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1052
1053         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1054         layout if pasting into an empty paragraph)
1055
1056 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1057
1058         * tex-accent.C: add <string>
1059
1060 2005-01-06  José Matos  <jamatos@lyx.org>
1061
1062         * ParagraphParameters.C (write): put every parameter in its own line.
1063         * paragraph.C (write): reduce number of consecutive empty lines exported.
1064         * buffer.C (LYX_FORMAT): increase file format to 239.
1065
1066 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1067
1068         * everywhere: change support/tostr.h -> support/convert.h
1069
1070         * tabular.C: make all write_attributes templates, tostr -> convert
1071
1072         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1073         (emptyTag): and -> &&, and fix type for ret from getChar
1074         (getFirstWord): fix type for ret from getChar
1075         (onlyText): and -> &&
1076         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1077         getChar
1078
1079         * toc.C (goTo, action):
1080         * text3.C (dispatch):
1081         * text.C (currentState):
1082         * tex-accent.C (DoAccent):
1083         * sgml.C:
1084         * lyxrc.C:
1085         * lyxfunc.C (menuNew):
1086         * lyxfinc.C (replace):
1087         * counters.C (laberItem):
1088         * bufferview_funcs.C (font2string):
1089         * bufferparams.C (writeFile):
1090         * buffer.C (readFile):
1091         * Spacing.C (set):
1092         * MenuBackend.C: tostr -> convert
1093
1094         * LaTeX.C (runMessage): fix format
1095         (scanAuxFiles): tostr -> convert
1096
1097         * BufferView_pimpl.C (savePosition): fix format
1098         (restorePosition): ditto
1099         (dispatch): ditto
1100
1101 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1102
1103         * Spacing.[Ch]: New method getValueAsString().
1104
1105         * Spacing.[Ch]:
1106         * bufferparams.C:
1107         * ParagraphParameters.C:
1108         * lyxlayout.C:
1109         * text.C:
1110         * text3.C: store/read spacing value as string.
1111
1112         * rowpainter.C: change float value (spacing_val) to double.
1113
1114         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1115         broken custom document spacing).
1116
1117 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1118
1119         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1120         namespace, also more use of temp references and const
1121
1122         * cursor.[Ch] (getStatus): move to lyxfunc.C
1123
1124         * bufferparams.C: reformat slightly
1125
1126         * bufferview_funcs.C (font2string): constify arg
1127
1128         * changes.C:
1129         * converter.C:
1130         * counters.C:
1131         * bufferlist.C:
1132         * buffer_funcs.C: (many funcs): constify arg on function
1133         definitions, also make more local vars const, also add ASSERTS on
1134         pointer args.
1135
1136         * buffer.C (LYX_FORMAT): put const in correct place
1137         (many funcs): constify arg on function definitions, also make
1138         more local vars const
1139
1140         * aspell_local.h: remove "struct" from typdef setup
1141
1142         * aspell.C (check): make word_ok const
1143         (nextMiss): simplify slightly
1144         (error): ditto
1145
1146 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1147
1148         * lyxrc.[Ch]: store all float values as strings.
1149         use int (not float) for lyxrc.dpi.
1150
1151 2005-01-04  Angus Leeming  <leeming@lyx.org>
1152
1153         * lyx_cb.C (Reconfigure):
1154         * lyx_main.C (queryUserLyXDir):
1155         to run the <system_lyxdir>/configure correctly on Windows, prefix
1156         the path to the script with "sh " when generating the string that
1157         is passed to system().
1158
1159 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1160
1161         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1162
1163 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1164
1165         * lyxlength.C (asLatexString): get rid of setprecision
1166
1167 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1168
1169         * text2.C (setLayout): remove unused variable endpit.
1170         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1171
1172         * paragraph.C (onlyText): remove unused variable style.
1173
1174         * cursor.C (bruteFind): remove unused variables beg and end.
1175
1176         * Makefile.am (dist_noinset_DATA): not needed anymore
1177
1178         * cheaders/*: remove.
1179
1180 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1181
1182         * text3.C: fix LFUN_MATH_MODE.
1183
1184 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1185
1186         * buffer_funcs.C (countWords): new function. Counts words between
1187         two iterators.
1188
1189         * BufferView_pimpl.C (getStatus, dispatch): handle
1190         LFUN_WORDS_COUNT.
1191
1192         * LyXAction.C (init):
1193         * lfuns.h: add LFUN_WORDS_COUNT.
1194
1195 2004-12-19  Angus Leeming  <leeming@lyx.org>
1196
1197         * buffer.C (save): s/slashify_path/internal_path/.
1198
1199 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1200
1201         * lyxfind.C (findChange): do not search for end of pars, because
1202         the change tracker cannot handle this (fixes bug 1719).
1203
1204 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1205
1206         * paragraph.[Ch] (autoBreakRows): remove
1207
1208         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1209
1210         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1211         avoid using the paragraph one
1212
1213         * text2.C (LyXText, insertStringAsLines): adjust
1214
1215 2004-12-16  Angus Leeming  <leeming@lyx.org>
1216
1217         * bufferlist.C:
1218         * lyx_main.C:
1219         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1220
1221 2004-12-14  Angus Leeming  <leeming@lyx.org>
1222
1223         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1224
1225         * bufferlist.C (emergencyWrite):
1226         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1227         GetEnvPath("HOME").
1228
1229 2004-12-14  Angus Leeming  <leeming@lyx.org>
1230
1231         * main.C: (main): no longer pass pointers to os::init.
1232
1233 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1234
1235         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1236         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1237
1238 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1239
1240         * lyxfunc.C:
1241         * text3.C: remove selection_possible global flag
1242
1243 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1244
1245         * text2.C (getSelectionSpan): remove
1246         (changeDepth, changeDepthAllowed): adjust
1247
1248 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1249
1250         * Makefile.am (BOOST_LIBS): use boost variables
1251
1252 2004-12-03  José Matos  <jamatos@lyx.org>
1253
1254         * buffer.C: format up to 238.
1255
1256 2004-12-03  José Matos  <jamatos@lyx.org>
1257
1258         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1259
1260 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1261
1262         * cursor.C (goUpDown): remove call to idxUpDown2
1263
1264 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1265
1266         * tabular.[Ch]: use size_t-like types for cell, row and column
1267         indices
1268
1269 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1270
1271         * lyxfunc.C (getStatus): do not lose previous information when
1272         calling BufferView::getStatus; do not set a default "Command
1273         disabled" message at the beginning, but just before returning.
1274
1275 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1276
1277         * cursor.h (getStatus): add better comment from src/cursor.C
1278
1279 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1280
1281         * text3.C (getStatus): return false when the lfun is not handled
1282
1283 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1284
1285         * broken_headers.h: remove
1286
1287         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1288
1289 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1290
1291         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1292         offset_ref accessors
1293
1294         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1295         top_y_, merge fitcursor with update
1296         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1297         coord scheme
1298         (metrics): introduce
1299         (workAreaDispatch): adapt to new coord scheme
1300         (redoCurrentBuffer): remove
1301
1302         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1303
1304         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1305         CurStatus enum.
1306
1307         * coordcache.[Ch]: add paragraph cache and helpers
1308
1309         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1310         adjust everywhere
1311
1312         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1313         (targetX, setTargetX): introduce
1314
1315         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1316         baseline -> ascent, as the rest of lyx
1317
1318         * lyxtext.h: remove redoParagraphs, updateParPositions,
1319         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1320         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1321         have ascent/descent (ascent is ascent of first par)
1322
1323         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1324         step of BufferView
1325
1326         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1327
1328         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1329
1330         * pariterator.C: fix infinite loop introduced in par->pit renaming
1331
1332         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1333         in insets and LyXText, draw two off-screen paragraphs using
1334         NullPainter, and adapt to new coord scheme
1335
1336         * text.C:
1337         * text2.C:
1338         * text3.C: adapt lfun handlers to the new coord scheme, which
1339         means: there's only guaranteed coord information for onscreen pars
1340         plus one above and one below. This implies that one can do search
1341         from y coordinates in the range [-1,workHeight]
1342
1343 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1344
1345         * rename a lot of InsetOld to InsetBase
1346
1347 2004-11-25  Angus Leeming  <leeming@lyx.org>
1348
1349         * BufferView_pimpl.C:
1350         * lyx_cb.C:
1351         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1352
1353 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1354
1355         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1356         call BufferView::getStatus if LCursor::getStatus did nothing
1357         (setStatusMessage, getStatusMessage): removed.
1358
1359         * FuncStatus.C (message): new methods. Used to provide an error
1360         message indicating why a command is disabled.
1361         (clear, |=, FuncStatus): update for message.
1362
1363 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1364
1365         * lyxfunc.C (dispatch): always call sendDispatchMessage
1366
1367 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1368
1369         * BufferView.C:
1370         * BufferView_pimpl.C:
1371         * CutAndPaste.C:
1372         * FontIterator.C:
1373         * buffer.C:
1374         * cursor.C:
1375         * cursor_slice.[Ch]:
1376         * dociterator.[Ch]:
1377         * lyxfind.C:
1378         * paragraph_funcs.C:
1379         * pariterator.C:
1380         * rowpainter.C:
1381         * text.C:
1382         * text2.C:
1383         * text3.C:
1384         * undo.C: par->pit renaming
1385
1386 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1387
1388         * tabular.C (cellstruct): use initialization, store a shared_ptr
1389         to insettext instead of the insettext directly, adjust to fit.
1390         (operator=):  new function
1391         (swap): new function
1392         (rowstruct): use initialization
1393         (columnstruct): use initialization
1394         (ltType): use initialization
1395
1396
1397         * lyxlength.h (swap): new function
1398
1399         * LColor.[Ch] (operator=): use the common semantics
1400
1401 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1402
1403         * lyxfind.C (findNextChange): update the bufferview after setting
1404         the selection.
1405
1406 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1407
1408         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1409         number of InsetOptArgs has already been inserted.
1410
1411         * output_latex.C (latexOptArgInsets): new method. This outputs all
1412         the optarg insets, up to the limit defined in the layout file.
1413         (optArgInset): removed
1414         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1415
1416 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1417
1418         * paragraph.C (isLetter): remove special spellchecker-related
1419         code; return true also for digits
1420         (isWord, isKomma): remove
1421
1422         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1423         * lyxfind.C (MatchString()): use isLetter instead of isWord
1424
1425 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1426
1427         * pariterator.h (operatir=): comment out un-implemented member
1428         function.
1429
1430         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1431         static cast.
1432
1433 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1434
1435         * lyxfont.h: include LColor.h to satisfy concept checks.
1436
1437 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1438
1439         * pariterator.h: add typdefs for value_type, difference_type,
1440         pointer and reference to satisfy concept checks. Also add default
1441         constructor for same reason.
1442
1443         * pariterator.C (operator++): add post-increment operator to
1444         satisfy concept checks.
1445
1446         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1447         checks.
1448
1449         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1450
1451         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1452         checks. Also rename base_type to BaseType to follow naming
1453         standard better.
1454
1455         * FloatList.h: include Floating.h to satisfy concept checks.
1456
1457 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1458
1459         * lyxfunc.C (getStatus): when the origin of the request is menu or
1460         toolbar, and the LyXView does not have focus, do as if there was
1461         no buffer (bug 1720)
1462
1463         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1464         FuncRequest to individual entries of LFUN_SEQUENCE
1465
1466 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1467
1468         * output_latex.C (TeXOnePar): override runparams.moving_arg
1469         according to the needprotect value of the current paragraph (bug
1470         1739)
1471
1472         * paragraph.C (simpleTeXOnePar): no need to override
1473         runparams.moving_args here
1474
1475 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1476
1477         * vspace.C: fix off-by-one-error, related to fix #1682
1478
1479 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1480
1481         * lengthcommon.C: a more general fix for bug 1682
1482
1483 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1484
1485         * text.C (backspace): fix crash
1486
1487 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1488
1489         * format.[Ch] (getFormatFromFile): new method
1490         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1491
1492 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1493
1494         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1495
1496 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1497
1498         * lyxfunc.C (dispatch): remove the verbose argument
1499         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1500         instead
1501
1502         * kbmap.C (defkey): set the origin of func to KEYBOARD
1503
1504         * MenuBackend.C (MenuItem):
1505         * ToolbarBackend.C (add): set the origin of func to UI
1506
1507         * funcrequest.[Ch]: add origin member, which indicates which part
1508         of LyX requests an action
1509
1510 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1511
1512         * converter.C (move): don't lie in the error message
1513         * converter.h (isReachable, move): document
1514
1515 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1516
1517         * buffer.C: remove unused using lyx::support::atoi
1518         * paragraph_funcs.C: ditto
1519
1520 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1521
1522         * bufferlist.C (exists): use bind and equal_to instead of
1523         compare_memfun
1524         (getBuffer): ditto
1525         * lyxtextclasslist.C (NumberOfClass): ditto
1526
1527         * cursor.C (insert): use for_each instead of explicit for loop
1528
1529         * bufferlist.C (getFileNames): use std::transform and
1530         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1531
1532         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1533         for loop
1534
1535         * buffer.C (changeLanguage): use for_each instead of explicit for
1536         loop
1537         (hasParWithID): implement using getParFromID
1538
1539         * LaTeXFeatures.C: ws change only
1540
1541         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1542         to cleanup a bit.
1543
1544         * BufferView_pimpl.C (trackChanges): use for_each instead of
1545         expilicit for loop
1546
1547 2004-11-04  André Pönitz  <poenitz@gmx.net>
1548
1549         * undo.h:
1550         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1551
1552         * dociterator.C (asDocIterator): use hard assert again.
1553
1554 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1555
1556         * lyxlength.C (asLatexString): rewrite so that it does not use
1557         snprintf anymore
1558
1559 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1560
1561         * text3.C (specialChar, dispatch): make sure cursor moves to the
1562         right after inserting an inset
1563
1564 2004-11-02  José Matos  <jamatos@lyx.org>
1565
1566         * output_docbook.C (docbook):
1567         * paragraph.C (getID):
1568         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1569         garantee that the output is always legal.
1570
1571         * tabular.C (docbook):
1572         * outputprams.[Ch]: remove mixed contents.
1573
1574 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1575
1576         * text2.C (setCounter): prevent endless loop
1577
1578 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1579
1580         * exporter.C (copyFile): use the mover instead of support::copy()
1581         * exporter.C (Export): pass format and latex name to copyFile()
1582         * exporter.h (addExternalFile): document
1583         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1584
1585 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1586
1587         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1588
1589 2004-10-30  José Matos  <jamatos@lyx.org>
1590
1591         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1592         text and no inset or font change. This allows to use CDATA
1593         sections just for the whole paragraph.
1594
1595 2004-10-30  José Matos  <jamatos@lyx.org>
1596
1597         * paragraph.C (getFirstWord): remove unused variable.
1598
1599 2004-10-30  José Matos  <jamatos@lyx.org>
1600
1601         * paragraph.C (getFirstWord): the content should always be escaped
1602         there.
1603         (simpleDocBookOnePar):
1604         * output_docbook.C (makeEnvironment): replace reference to CDATA
1605         to style pass_thru.
1606
1607 2004-10-30  José Matos  <jamatos@lyx.org>
1608
1609         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1610
1611 2004-10-30  José Matos  <jamatos@lyx.org>
1612
1613         * output_docbook.C (makeParagraphs):
1614         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1615         standard paragraph has only a given type of content drop the wrapper.
1616
1617 2004-10-29  José Matos  <jamatos@lyx.org>
1618
1619         * output_docbook.C (makeEnvironment):
1620         * sgml.C (openTag):
1621         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1622
1623 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1624
1625         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1626         (cleanID): sanitize any id.
1627
1628 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1629
1630         * buffer.C, lyxlex_pimpl.C:
1631         * lyxlex_pimpl.C (setFile):
1632         s/getExtFromContents/getFormatFromContents/
1633
1634 2004-10-28  José Matos  <jamatos@lyx.org>
1635
1636         * output_docbook.C (makeEnvironment): move id to broadest possible
1637         scope.
1638
1639         * sgml.C (openTag): apply substitution of <> for all attributes.
1640
1641 2004-10-28  José Matos  <jamatos@lyx.org>
1642
1643         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1644         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1645         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1646
1647         * sgml.[Ch]: new version for open and closeTag for paragraph and
1648         for strings. Now they handle the ids of paragraphs.
1649
1650 2004-10-26  Angus Leeming  <leeming@lyx.org>
1651
1652         * Makefile.am: add mover.[Ch].
1653
1654         * converter.C (convert, move): use the new Movers to move external
1655         files to the temp directory.
1656
1657         * lyx_main.C (init): ensure that the global system_movers data
1658         is initialised.
1659
1660         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1661         preferences file.
1662
1663         * mover.[Ch]: new files, defining a Mover as a utility to move an
1664         external file between directories and, if necessary, manipulate this
1665         file using a helper script.
1666
1667 2004-10-25  José Matos  <jamatos@lyx.org>
1668
1669         * output_docbook.C (makeCommand): merge two if's that tested the
1670         same condition.
1671
1672 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1673
1674         * sgml.C (escapeString): fix warning in a better way
1675
1676 2004-10-25  José Matos  <jamatos@lyx.org>
1677
1678         * sgml.C (escapeString): import the require boosts header file for
1679         tie, and avoid a signed unsigned comparison.
1680
1681 2004-10-25  José Matos  <jamatos@lyx.org>
1682
1683         * sgml.h: add #include <string>
1684
1685 2004-10-25  José Matos  <jamatos@lyx.org>
1686
1687         * sgml.[Ch] (escapeString): new function to escape all the string.
1688
1689 2004-10-24  José Matos  <jamatos@lyx.org>
1690
1691         * paragraph.[Ch] (getFirstWord): new function to get the first
1692         word. Useful for description.
1693         (simpleDocBookOnePar): remove depth argument, add another that
1694         says where to start the paragraph.
1695
1696         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1697         use the new functions to fix cleanly the support for descriptions.
1698
1699 2004-10-24  José Matos  <jamatos@lyx.org>
1700
1701         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1702         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1703         * output_linuxdoc.C (linuxdocParagraphs):
1704         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1705         add buffer as argument.
1706
1707 2004-10-24  José Matos  <jamatos@lyx.org>
1708
1709         * output_docbook.C (makeEnvironment, searchEnvironment): place
1710         CDATA inside paragraphs and fix scope for listitems.
1711
1712 2004-10-24  José Matos  <jamatos@lyx.org>
1713
1714         * output_docbook.C: remove using statement for stack.
1715
1716 2004-10-23  José Matos  <jamatos@lyx.org>
1717
1718         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1719         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1720         docbook. The new scheme is recursive and makes use of iterators, the
1721         same as latex export works.
1722         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1723         directly with the paragraph contents. This code was moved up to
1724         output_docbook.C (docbookParagraphs).
1725         * sgml.C (openTag, closeTag): removed unneeded newlines.
1726         (closeEnvTags) removed.
1727
1728 2004-10-23  André Pönitz  <poenitz@gmx.net>
1729
1730         * undo.C (textUndoOrRedo):
1731         * dociterator.C (asDocIterator): work around crash
1732
1733         * cursor.C (getStatus): replace ASSERT by more verbose error message
1734           and manual correction of the problem. Should increase stability
1735           while providing more sensible information.
1736
1737 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1738
1739         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1740
1741         * bufferlist.C (previous, next): new methods
1742
1743         * lfuns.h:
1744         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1745
1746 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1747
1748         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1749         entities to preamble.
1750
1751 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1752
1753         * messages.C (Pimpl): strip off translation context information
1754
1755 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1756
1757         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1758         the cursor is correct (bug 1694)
1759
1760 2004-10-13  José Matos  <jamatos@lyx.org>
1761
1762         * output_docbook.C (docbookParagraphs): fix closing tags in the
1763         end of the document.
1764
1765 2004-10-09  José Matos  <jamatos@lyx.org>
1766
1767         * buffer.C: format up to 237.
1768         * bufferparams.C (write): use tostr to convert booleans to strings.
1769
1770 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1771
1772         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1773
1774 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1775
1776         * LaTeX.C: implement use of babel language in xindy.
1777
1778 2004-10-05  José Matos  <jamatos@lyx.org>
1779
1780         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1781         Add new translators to help reading and writing the lyx file.
1782
1783 2004-10-05  José Matos  <jamatos@lyx.org>
1784
1785         * ParagraphParameters.C (read):
1786         * text.C (readParToken): replace nexToken by more appropriate lex
1787         methods.
1788
1789 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1790
1791         * LaTeX.C (runMakeIndex):
1792         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1793         (usually 'makeindex') configurable.
1794
1795         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1796         with a variable rather than with a number.
1797
1798 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1799
1800         * output_latex.C (TeXOnePar): make sure font setting is the first
1801         thing that gets output (and the last at the end). Should fix bug
1802         1404.
1803
1804 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1805
1806         * pch.h: use proper signal include
1807
1808         * LaTeX.h: Use preferred calling of Boost.Signal
1809         * buffer.h: ditto
1810
1811 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1812
1813         * pch.h: dont include <boost/function/function0.hpp>
1814
1815         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1816
1817         * paragraph_pimpl.h: remove usage of ShareContainer
1818
1819         * paragraph_pimpl.C: remove initialization of ShareContainer.
1820
1821 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1822
1823         Fix bug #1666
1824
1825         * BufferView.C (putSelectionAt): change the semantics when
1826         backwards == true: now, this just swaps cursor and anchor wrt the
1827         forward case
1828
1829         * BufferView.h (putSelectionAt): add some documentation
1830
1831         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1832         make sure backwardChar is done at least once (to avoid getting
1833         stuck)
1834         (findNextChange): use putSelectionAt in the forward direction
1835         (operator()): use Paragraph::isWord
1836
1837 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1838
1839         * Spacing.C (set): c_str fix
1840
1841 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1842
1843         * lyx_cb.C (Reconfigure): quote the name of configure script in
1844         case it contains spaces
1845
1846 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1847
1848         * client: new dir
1849
1850         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1851         (BOOST_LIBS): use top_buildir when looking for the file
1852
1853 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1854
1855         * pch.h: do not use include boost/format.hpp, multiple symbols
1856                 will result (gcc bug)
1857
1858
1859 2004-08-23  José Matos  <jamatos@lyx.org>
1860
1861         * bufferparams.C (readToken): fix reading of the author field.
1862
1863 2004-08-20  José Matos  <jamatos@lyx.org>
1864
1865         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1866
1867 2004-08-20  José Matos  <jamatos@lyx.org>
1868
1869         * lyxlex.[Ch] (findToken): remove function.
1870
1871         * ParagraphParameters.C (findToken):
1872         * bufferparams.C (findToken): replace call for previous function
1873         with local copy. This local function has one more argument, the
1874         read string argument.
1875
1876 2004-08-16  José Matos  <jamatos@lyx.org>
1877
1878         * ParagraphParameters.C (write):
1879         * Spacing.C (writeFile):
1880         * bufferparams.C (writeLaTeX):
1881         * lyx_cb.C (Reconfigure):
1882         * paragraph.C (write):
1883         * tabular.C (write): remove unnecessary space at end of line.
1884
1885
1886 2004-08-16  José Matos  <jamatos@lyx.org>
1887
1888         * text.C (readParagraph): remove debug message.
1889
1890 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1891
1892         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1893         crash
1894
1895         * output_plaintext.C (asciiParagraph): set depth correctly
1896
1897         * outputparams.h: add member depth
1898
1899         * paragraph_funcs.C (ownerPar): remove.
1900
1901         * text2.C (setCounter): remove first_pit; comment out some
1902         non-working code that uses ownerPar
1903
1904         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1905         uses ownerPar
1906
1907 2004-08-16  José Matos  <jamatos@lyx.org>
1908
1909         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1910         For the same level of importance use the same chanel to report problems.
1911         (read): add code to deal with \begin_body and \end_body.
1912
1913
1914 2004-08-15  José Matos  <jamatos@lyx.org>
1915
1916         * lyxlex.C (getString): fix comment, buffer::readBody is now
1917         buffer:readDocument.
1918
1919         * tex-strings.C (string_papersize): Default -> default,
1920         Custom -> custom, for consistency with other options.
1921
1922 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1923
1924         * pch.h: new file
1925
1926         * Makefile.am: support pch
1927
1928 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1929
1930         * text.C (readParToken): remove the static LyXFont variable and
1931         pass it as a parameter instead. This fixes a nasty bug where an
1932         inset will be inserted with a bad font in some situations
1933         (readParagraph): adapt
1934
1935         * text2.C (setCounter): reduce number of calls to pars_[pit]
1936
1937         * text.C (singleWidth): add an assert, fix a test
1938
1939         * rowpainter.C (paintText): reduce number of calls to singleWidth
1940
1941         * paragraph.C (isHfill):
1942         (isNewline): ws only
1943
1944 2004-08-14  André Pönitz  <poenitz@gmx.net>
1945
1946         * text.C:
1947         * text2.C:
1948         * rowpainter.C:
1949         * lyxtext.h (several functions): use a Paragraph & argument
1950         instead of par_type
1951
1952 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1953
1954         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1955
1956         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1957
1958         * text.C (singleWidth): remove useless test
1959
1960 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1961
1962         * tabular.h: remove bogus comments
1963
1964         * tabular.C (getDescentOfRow):
1965         (isPartOfMultiColumn): add assertions
1966
1967         * lyxlength.C (inPixels): remove #warning
1968
1969 2004-08-14  André Pönitz  <poenitz@gmx.net>
1970
1971         * paragraph.h: inline getChar()
1972
1973         * BufferView.h: remove unused declarations
1974
1975 2004-08-14  José Matos  <jamatos@lyx.org>
1976
1977         * Buffer.[Ch] (readDocument): new name for old readBody.
1978         * Buffer.C: new file format, new keywords: \begin_document,
1979         \begin_header, \begin_body, \end_body.
1980
1981         * bufferparams.C (readToken): replace all calls to lex.nextToken
1982         by lex.next(). Do the same to eatLine except where really needed.
1983
1984         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1985         line when writing to the lyx file.
1986
1987         * output_plaintext.C (asciiParagraph): fix Bibliography style
1988         handling.
1989
1990         * text.C (read): fix end of file handling.
1991
1992 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1993
1994         * MenuBackend.C (Menu::operator[]): new method to access
1995         individual menu items
1996         (Menu::hasFunc): new method. search for an item that corresponds
1997         to a given func
1998         (MenuBackend::specialMenu): new method
1999         (MenuBackend::expand): if a special menu has been set, skip
2000         entries whose func() appears in this menu
2001
2002 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2003
2004         * text3.C: use Debug::DEBUG a bit more
2005
2006         * text.C (leftMargin): try to simplify a tiny bit change var x to
2007         l_margin. Dont output the wide margins always.
2008         (rightMargin): no margin in inner texts
2009
2010         * rowpainter.h (nestMargin): new func
2011         (changebarMargin): new func
2012         (rightMargin): new func
2013
2014         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2015         now functions.
2016         (paintLast): ditto
2017
2018         * factory.C (createInset): modify setDrawFrame
2019
2020         * cursor.C: use Debug::DEBUG a bit more
2021
2022 2004-08-14  André Pönitz  <poenitz@gmx.net>
2023
2024         * coordcache.[Ch]:
2025         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2026         cache for all insets in (at least partially) visible (top-level)
2027         paragraphs.
2028
2029         * BufferView_pimpl.C: reset external coord cache before every update.
2030         This means the coord cache only contains valid entries.
2031
2032 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2033
2034         bug 1096
2035         * BufferView_pimpl.C (getInsetByCode): move function out of class
2036         and change in to a template in anon namespace. Also fix to do what
2037         suits us better.
2038
2039 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2040
2041         bug 1305
2042         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2043         of char
2044         (breakParagraph): rename par to par_offset and use a local
2045         reference. Add code to keep the language over a rebreak.
2046         (breakParagraphConservative): rename par to par_offset, use a
2047         local reference
2048         (mergeParagraph): ditto
2049         (outerHook): ditto
2050         (isFirstInSequence): ditto
2051         (outerFont): rename pit to par_offset
2052
2053         * paragraph.C: ws change
2054         * paragraph.h: ditto
2055         * text3.C: ditto
2056         * text.C: ditto
2057
2058 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2059
2060         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2061         treatment for ']'
2062
2063         * paragraph.C (simpleTeXOnePar): when we have a \item with
2064         optional argument, enclose the argument with curly brackets (in
2065         case it contains a closing square bracket)
2066
2067         * text2.C (editXY):
2068         * text2.C (editXY):
2069         * text3.C (checkInsetHit): constify
2070
2071 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2072
2073         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2074         documents (bug 1629)
2075
2076 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2077
2078         Fix toggling of collapsable insets with the mouse (bug 1558)
2079
2080         * lyxfunc.C (dispatch): adapt to LCursor changes
2081
2082         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2083         make sure that dispatch is not invoked twice
2084
2085         * cursor.C (needsUpdate): new method
2086         (dispatch): return void
2087         (result): new method, to access the DispatchResult of the cursor.
2088
2089 2004-08-13  José Matos  <jamatos@lyx.org>
2090
2091         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2092
2093 2004-08-13  André Pönitz  <poenitz@gmx.net>
2094
2095         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2096
2097         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2098           multiple cells
2099
2100 2004-08-12  André Pönitz  <poenitz@gmx.net>
2101
2102         * text3.C: take out the 'cursor right' form insertInset and only
2103         do it in those places when it is really needed. Fixes crash on
2104         C-m...
2105
2106 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2107
2108         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2109
2110         * BufferView_pimpl.C (setBuffer): initialize the current font of
2111         the underlying LyXText
2112
2113 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2114
2115         * kbsequence.C (print): use UI native formatting for menu
2116         shortcuts
2117
2118         * text.C (insertChar): call Paragraph::insertChar with a font
2119         argument (cosmetic)
2120
2121         * paragraph.C (insertInset, insertChar): the version that takes a
2122         LyXFont argument is now a wrapper around the other one (the
2123         opposite used to be true).
2124
2125         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2126         argument. Font setting is done in Paragraph now.
2127
2128 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2129
2130         * outputparams.h: add new members intitle and lang.
2131
2132         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2133         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2134
2135 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2136
2137         * text3.C (dispatch): remove special handling of button 4 and 5,
2138         it is now taken care of in the frontend code.
2139
2140 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2141
2142         * Spacing.h: add <string> (STLPort compile fix)
2143
2144 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2145
2146         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2147
2148 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2149
2150         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2151         to bool.
2152
2153         * converter.C (showMessage): inherit from unary_function, make
2154         operator() const.
2155
2156         * buffer.C (writeFile): initialize retval
2157
2158         * InsetList.h: rename private variable list to list_
2159         * InsetList.[Ch]: adjust accordingly.
2160
2161 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2162
2163         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2164         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2165         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2166         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2167         * ParagraphParameters.C, LaTeXFeatures.C: replace
2168         "support/std_sstream.h" with <sstream>
2169
2170 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2171
2172         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2173         * lyxsocket.C (LyXServerSocket): ditto
2174         (serverCallback): ditto
2175
2176 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2177
2178         * LaTeXFeatures.C: check release date when loading jurabib.
2179
2180 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2181
2182         * lyxserver.C (startPipe): call register_socket_callback
2183         (endPipe): call unregister_socket_callback
2184
2185 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2186
2187         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2188         (LyXServerSocket): register the callback
2189         (LyXServerSocket): unregister the callback
2190         (fd): delete function
2191         (serverCallback): improve error checking and setup the callbacks.
2192         (dataCallback): change arg to fd.
2193         (writeln): new func (copied fro the client socket) used for server
2194         write to client.
2195         (LyXDataSocket): simplify
2196         (~LyXDataSocket): close ann unregiser callback
2197         (server): delete function
2198         (fd): delete function
2199         (readln): small changes, improve some std::string usage
2200         (writeln): constify a bit
2201
2202 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2203
2204         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2205         Qt frontend
2206
2207 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2208
2209         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2210         after it has been populated
2211
2212 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2213
2214         * text2.C (insertInset): move cursor when inserting inset.
2215
2216 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2217
2218         * kbmap.C (findbindings): a couple of new methods. returns a
2219         container of kb_sequence objects. The real work is done by the
2220         private recursive version
2221         (printbindings): uses findbindings to print out a bracketed list
2222         of bindings (renamed from findbinding).
2223
2224         * MenuBackend.C (binding): use kb_keymap::findbindings
2225
2226         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2227
2228 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2229
2230         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2231
2232 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2233
2234         * paragraph.C (isWord): return true on insets that report
2235         isLetter().
2236
2237         * text.C (getWord): use Paragraph::isWord to decide what is in a
2238         word and what is not; fix bug 1609.
2239
2240 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2241
2242         * tex-strings.C: add "none" to string_paperpackages[], fixes
2243         off-by-one-error in the paperpackage selection.
2244
2245         * lyxlex.[Ch]:
2246         * tex-strings.[Ch]: char const * string[n]
2247         -> char const * const string[]
2248
2249 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2250
2251         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2252         command, return early.
2253
2254 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2255
2256         * debug.h: add DEBUG to enum and fix size of ANY.
2257
2258         * debug.C: add support for Debug::DEBUG
2259         (showTags): cast errorTags.level to unsigned int
2260
2261         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2262         (redoCurrentBuffer): ditto
2263         (updateScrollbar): ditto
2264         * cursor.C (dispatch): ditto
2265         * text2.C (setLayout): ditto
2266         (setFont): ditto
2267         (updateCounters): ditto
2268         (editXY): ditto
2269         (deleteEmptyParagraphMechanism): ditto
2270
2271 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2272
2273         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2274         annotations to cleanup the Makefile slightly.
2275
2276 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2277
2278         * lyxrc.C: do not set user_email to a default value but use empty
2279         instead. The entry used to be translated, which does not work
2280         since at the point where lyxrc is constructed there is no
2281         translation service available
2282
2283         * messages.C (getLocaleDir): remove and use directly
2284         lyx_localedir() instead
2285
2286 2004-06-02  Angus Leeming  <leeming@lyx.org>
2287
2288         Fix crash caused by dereferencing null pointer 'exportdata' in
2289         OutputParams by creating a new ExportData variable on the heap,
2290         storing it in a boost::shared_ptr.
2291         The crash was triggered when generating an Instant Preview
2292         of an external inset.
2293
2294         * Makefile.am: add outputparams.C
2295
2296         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2297         (c-tor): allocate memory to it.
2298
2299         * exporter.C (c-tor): associated changes.
2300
2301 2004-06-01  Angus Leeming  <leeming@lyx.org>
2302
2303         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2304         contains data before calling isInset(0). (Bug 1513.)
2305
2306 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2307
2308         * exporter.C (checkOverwrite): new method
2309         * exporter.C (copyFile): new method
2310         * exporter.C (Export): copy referenced files to the document dir
2311         * exporter.[Ch]: new class ExportedFile
2312         * exporter.[Ch]: new class ExportData. Contains currently the
2313         names of referenced external files
2314         * outputparams.h: add exportdata member.
2315
2316 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2317
2318         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2319         version.C-tmp
2320
2321 2004-05-19  Angus Leeming  <leeming@lyx.org>
2322
2323         * LaTeXFeatures.C:
2324         * ToolbarBackend.C:
2325         * bufferparams.C:
2326         * lyxfunc.C: small changes due to the introduction of namespace
2327         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2328
2329 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2330
2331         * text3.C (dispatch): supress update when only moving the cursor
2332         * cursor.C (selHandle): remove commented code
2333
2334 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2335
2336         * paragraph.C (startTeXParParams): correct column count
2337         * CutAndPaste.C (pasteSelection): remove const_cast
2338         * output_docbook.C (docbookParagraphs): remove const_cast
2339         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2340         const_cast and return ParagraphList::const_iterator
2341         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2342         * output_plaintext.C (writeFileAscii): remove const_cast
2343         * paragraph.[Ch] (simpleTeXOnePar): make const
2344         * paragraph_funcs.C (outerPar): use const iterators
2345         * paragraph_pimpl.C (validate): use const iterators
2346         * text.C (setHeightOfRow): use const iterators
2347
2348 2004-05-17  Angus Leeming  <leeming@lyx.org>
2349
2350         * lfuns.h:
2351         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2352
2353         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2354         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2355         if the citation engine has changed.
2356
2357 2004-05-14  José Matos  <jamatos@lyx.org>
2358
2359         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2360         if the textclass does not provide it. Have it different for sgml and
2361         xml.
2362         support the language of document.
2363         * output_docbook.C (docbookParagraphs):
2364         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2365         first anchor as the id of the paragraph, remove special case code.
2366         * sgml.C (escapeChar): escape only < & >.
2367
2368 2004-05-14  Angus Leeming  <leeming@lyx.org>
2369
2370         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2371         dependencies on src/frontends/controllers/biblio.h. Define a
2372         CiteEngine_enum wrapper class to enable the enum to be forward
2373         declared.
2374
2375 2004-05-12  Angus Leeming  <leeming@lyx.org>
2376
2377         * buffer.C: up LYX_FORMAT to 234.
2378         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2379         use_numerical_citations with a single biblio::CiteEngine cite_engine
2380         variable.
2381         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2382
2383 2004-05-13  José Matos  <jamatos@lyx.org>
2384
2385         * converter.h:
2386         * converter.C (Converter, readFlags): add xml member.
2387         * outputparams.h: add XML flavor.
2388         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2389
2390 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2391
2392         * lyxfunc.C (dispatch):
2393         (getStatus): fix handling of LFUN_SEQUENCE
2394
2395 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2396
2397         * debug.C (showLevel): do not forget the end-of-line marker
2398
2399 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2400
2401         * kbmap.C (read): do not stop parsing a bind file when an error
2402         occurs (bug 1575)
2403
2404 2004-04-29  Angus Leeming  <leeming@lyx.org>
2405
2406         * cursor.C:
2407         * factory.C:
2408         * pariterator.C:
2409         * text2.C: wrap a bunch of #warning statements
2410         inside #ifdef WITH_WARNINGS blocks.
2411
2412 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2413
2414         * buffer.C: increment format to 233.
2415
2416 2004-04-28  Angus Leeming  <leeming@lyx.org>
2417
2418         * BufferView_pimpl.C:
2419         * lyxfunc.C:
2420         * text3.C:
2421         s/updateToolbar()/updateToolbars()/
2422         s/Toolbar.h/Toolbars.h/
2423
2424 2004-04-28  Angus Leeming  <leeming@lyx.org>
2425
2426         * BufferView.[Ch] (c-tor):
2427         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2428         No longer passes these data to the WorkArea generator.
2429
2430 2004-04-28  Angus Leeming  <leeming@lyx.org>
2431
2432         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2433
2434 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2435
2436         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2437
2438 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2439
2440         * output_latex.C (TeXEnvironment): make sure that there is a line
2441         break before \end{foo} for the last paragraph of a document
2442         (TeXOnePar): if the paragraph is at the end of the document (or
2443         inset) and the language has to be reset, then make sure that the
2444         line break is _before_ the language command, not after (fixes bug
2445         1225); also make sure that the language reset command is the first
2446         thing after the paragraph (to ensure proper nesting of
2447         environments and thus fix bug 1404)
2448
2449 2004-04-21  John Levon  <levon@movementarian.org>
2450
2451         * ToolbarBackend.h:
2452         * ToolbarBackend.C: make "name" be a programmatic name
2453         and a gui_name field.
2454
2455         * lyxfunc.C: display the minibuffer on M-x
2456
2457 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2458
2459         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2460         (bug 1526)
2461
2462 2004-04-19  Angus Leeming  <leeming@lyx.org>
2463
2464         * BufferView_pimpl.C (setBuffer): changed preview interface.
2465
2466         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2467         possible values.
2468
2469 2004-04-19  John Levon  <levon@movementarian.org>
2470
2471         * BufferView_pimpl.C:
2472         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2473
2474 2004-04-05  Angus Leeming  <leeming@lyx.org>
2475
2476         * text.C (redoParagraphs): add call to updateCounters(), thereby
2477         fixing the missing "Figure #:" label from the caption of a
2478         figure float.
2479
2480 2004-04-13  Angus Leeming  <leeming@lyx.org>
2481
2482         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2483         cursor is clicked out of an inset.
2484
2485 2004-04-13  Angus Leeming  <leeming@lyx.org>
2486
2487         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2488         than an InsetOld one.
2489
2490 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2491
2492         * format.[Ch]: add editor to Format
2493         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2494         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2495
2496 2004-04-08  André Pönitz  <poenitz@gmx.net>
2497
2498         * metricsinfo.h: remove PainterInfo::width member
2499
2500 2004-04-08  Angus Leeming  <leeming@lyx.org>
2501
2502         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2503         "\providecommand" rather than "\newcommand", thereby preventing
2504         clashes with packages that define "\boldsymbol" themselves.
2505         Eg, beamer.
2506
2507 2004-04-08  Angus Leeming  <leeming@lyx.org>
2508
2509         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2510         thereby squashing an unnecessary warning.
2511
2512 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2513
2514         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2515         setBuffer()
2516
2517 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2518
2519         * BufferView.C (setCursor): call redoParagraph (some insets could
2520         have been opened)
2521         (putSelectionAt): remove the 'double update' trick
2522
2523         * BufferView_pimpl.C (fitCursor): call refreshPar
2524         (workAreaDispatch): remove an uneeded update call
2525         (dispatch): remove some manual update calls
2526
2527         * cursor.[Ch]: remove cached_y_, updatePos
2528         (selHandle): set noUpdate when appropriate
2529
2530         * lyxfunc.C (dispatch): track if we need an update
2531
2532         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2533
2534         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2535         (paintSelection): cheap optimization, do not call cursorX when not
2536         needed
2537         (paintPars): change signature
2538         (refreshPar): add
2539         (paintText): adjust
2540         (paintTextInset): adjust
2541
2542         * text.C: adjust
2543
2544 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2545
2546         * lengthcommon.C: compilation fix: remove explicit array size from
2547         unit_name[] and friends
2548
2549 2004-04-05  Angus Leeming  <leeming@lyx.org>
2550
2551         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2552
2553         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2554         present only for the preferences dialog.
2555         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2556
2557 2004-04-05  Angus Leeming  <leeming@lyx.org>
2558
2559         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2560         to enable the frontends to export changes to lyxrc correctly.
2561
2562         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2563
2564 2004-04-07  André Pönitz  <poenitz@gmx.net>
2565
2566         * cursor.[Ch] (selClear, adjust): remove math
2567
2568         * cursor_slice.C: more agressive assert
2569
2570         * lyxfunc.C:
2571         * BufferView_pimpl.C: rework mouse event dispatch
2572
2573         * dociterator.C:
2574         * paragraph.C:
2575         * text2.C:
2576         * text3.C: adjust
2577
2578 2004-04-05  André Pönitz  <poenitz@gmx.net>
2579
2580         * cursor.[Ch] (valign, halign...): remove unneeded functions
2581
2582 2004-04-05  Angus Leeming  <leeming@lyx.org>
2583
2584         * lyxlength.[Ch] (unit_name et al.): const-correct.
2585
2586 2004-04-05  Angus Leeming  <leeming@lyx.org>
2587
2588         * BufferView_pimpl.C:
2589         * buffer.C:
2590         * counters.C:
2591         * cursor.C:
2592         * lyxfunc.C
2593         * paragraph.C:
2594         * pariterator.C:
2595         * text.C:
2596         * text2.C:
2597         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2598
2599 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2600
2601         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2602
2603 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2604
2605         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2606         * BufferView_pimpl.[Ch] (getStatus)
2607         * BufferView.[Ch] (getStatus): add
2608         * lyxfunc.C (getStatus): move lfuns handled in
2609         BufferView::dispatch to te function above
2610         * Cursor.C (setSelection): set selection() = true
2611
2612 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2613
2614         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2615
2616 2004-03-31  Angus Leeming  <leeming@lyx.org>
2617
2618         * lyxfunc.C (dispatch): Fall through to the generic
2619         Dialogs::show("preamble").
2620
2621 2004-03-31  Angus Leeming  <leeming@lyx.org>
2622
2623         * lyxfunc.C (dispatch): Fall through to the generic
2624         Dialogs::show("spellchecker").
2625
2626 2004-03-31  Angus Leeming  <leeming@lyx.org>
2627
2628         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2629         preferences dialog.
2630
2631 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2632
2633         * BufferView.C
2634         * cursor.[Ch]
2635         * dociterator.[Ch]:
2636         * insetiterator.[Ch]:
2637         * lyxfind.C:
2638         * lyxfunc.C:
2639         * pariterator.[Ch]:
2640         * text2.C:
2641         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2642
2643 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2644
2645         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2646         insets where we are putting the cursor.
2647
2648 2004-03-31  Angus Leeming  <leeming@lyx.org>
2649
2650         * lfuns.h:
2651         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2652
2653         * lyxrc.[Ch] (read, write): overloaded member functions taking
2654         a std::[io]stream arguments.
2655
2656         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2657
2658 2004-03-31  Angus Leeming  <leeming@lyx.org>
2659
2660         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2661         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2662
2663         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2664         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2665
2666 2004-03-31  Angus Leeming  <leeming@lyx.org>
2667
2668         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2669         the LFUN_ALL_INSETS_TOGGLE code.
2670
2671 2004-03-30  Angus Leeming  <leeming@lyx.org>
2672
2673         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2674         has died. Fall through to the generic Dialogs::show("document").
2675
2676 2004-03-30  Angus Leeming  <leeming@lyx.org>
2677
2678         * lfuns.h:
2679         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2680         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2681
2682         * lyxfunc.C (getStatus, dispatch): define the actions for these
2683         lfuns. Little more than a cut and pste job from ControlDocument.C
2684
2685         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2686
2687 2004-03-30  Angus Leeming  <leeming@lyx.org>
2688
2689         * lfuns.h:
2690         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2691         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2692
2693         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2694         open/closed state of ollapsable insets. Usage:
2695
2696         all-inset-toggle <state> <name>, where
2697         <state> == "open" || "closed" || "toggle" and
2698         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2699
2700         * lyxtext.h, text2.C (toggleInset): removed.
2701
2702         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2703         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2704         now passes LFUN_INSET_TOGGLE to the found inset.
2705
2706         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2707         is now invoked as "all-insets-toggle toggle branch".
2708
2709 2004-03-30  Angus Leeming  <leeming@lyx.org>
2710
2711         * dociterator.C:
2712         * insetiterator.C:
2713         * pariterator.[Ch]: added/corrected header blurb.
2714
2715 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2716
2717         * dociterator.[Ch]: add an inset_ member
2718         (backwardPos): implemented
2719         (backwardPos, forwardPos): use inset_ when the stack is empty.
2720         (doc_iterator_begin, doc_iterator_end): implemented
2721         * pariterator.[Ch]: adjust, add begin, end
2722         * insetiterator.[Ch]: adjust, add begin, end
2723         * cursor.C:
2724         * document.C:
2725         * BufferView.C:
2726         * BufferView_pimpl.C:
2727         * CutAndPaste.C: adjust
2728
2729 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2730
2731         * buffer.C: increment file format to 232.
2732         * LaTeXFeatures.C: add bibtopic package.
2733         * bufferparams.[Ch]: param \use_bibtopic.
2734
2735         * lyxrc.[Ch]: add lyxrc bibtex_command
2736         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2737
2738         * buffer.C: increment file format to 231.
2739
2740 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2741
2742         * dociterator.C: implement forwardPar
2743         * iterators.[Ch]: remove, replaced by
2744         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2745         * BufferView.C:
2746         * BufferView_pimpl.C:
2747         * CutAndPaste.C:
2748         * buffer.C:
2749         * bufferview_funcs.C:
2750         * cursor.C:
2751         * lyxfind.C
2752         * lyxfunc.C
2753         * paragraph_funcs.C
2754         * toc.C:
2755         * Makefile.am: adjust
2756
2757 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2758
2759         * CutAndPaste.C (pasteSelection): fix 2 crashes
2760         (eraseSelection): fix a crash
2761         * paragraph_funcs.C: remove a warning
2762
2763 2004-03-28  Angus Leeming  <leeming@lyx.org>
2764
2765         * lfuns.h:
2766         * LyXAction.C (init): new LFUN_PRINT.
2767
2768         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2769
2770 2004-03-27  Angus Leeming  <leeming@lyx.org>
2771
2772         * lfuns.h:
2773         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2774
2775         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2776
2777 2004-03-27  Angus Leeming  <leeming@lyx.org>
2778
2779         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2780         insetlist always contains non-null pointers to insets.
2781
2782 2004-03-26  Angus Leeming  <leeming@lyx.org>
2783
2784         * src/BufferView_pimpl.C:
2785         * src/CutAndPaste.C:
2786         * src/buffer.C:
2787         * src/iterators.C:
2788         * src/output_plaintext.C:
2789         * src/outputparams.h:
2790         * src/paragraph_funcs.C:
2791         * src/rowpainter.C:
2792         * src/text.C:
2793         * src/text2.C:
2794         * src/frontends/controllers/ControlErrorList.C:
2795         * src/frontends/gtk/FileDialogPrivate.C:
2796         * src/frontends/gtk/GPainter.C:
2797         * src/frontends/gtk/GToolbar.C:
2798         * src/frontends/qt2/QRef.C:
2799         * src/mathed/math_scriptinset.C: squash compiler warnings.
2800
2801 2004-03-26  Angus Leeming  <leeming@lyx.org>
2802
2803         * ispell.C (LaunchIspell::start):
2804         * lyx_cb.C (AutoSaveBuffer::start):
2805         invoke run(DontWait) rather than runNonBlocking().
2806
2807 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2808
2809         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2810
2811 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2812
2813         * kbsequence.C (print): adjust
2814
2815         * kbmap.C (printKeySym): rename and change signature
2816         (printKey): use LyXKeySym::print()
2817
2818 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2819
2820         * undo.C: add using std::advance to compile for stlport
2821
2822 2004-03-24  Angus Leeming  <leeming@lyx.org>
2823
2824         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2825         it leads to a crash when no buffer is present.
2826
2827 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2828             Martin Vermeer  <martin.vermeer@hut.fi>
2829
2830         * lyxfunc.C (dispatch):
2831         * bufferparams.C (readToken): use the new LColor::setColor
2832
2833         * LColor.[Ch] (setColor): new version that takes two strings as
2834         argument and creates a new color entry if necessary
2835
2836 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2837
2838         * buffer.C (makeLaTeXFile): if the main latex file that is
2839         processed is usually a subdocument of some master, then pretend
2840         for a while that it is actually the master
2841
2842 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2843
2844         * buffer.C (getLabelList):
2845         (getBibkeyList): use getMasterBuffer()
2846         (getMasterBuffer): new method. Returns the main document in the
2847         case where one is using included documents.
2848
2849 2004-03-25  André Pönitz  <poenitz@gmx.net>
2850
2851         * Makefile.am:
2852         * iterators.[Ch]:
2853         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2854
2855         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2856
2857         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2858         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2859
2860         * ParameterStruct.h: merge with ParagraphParameters
2861
2862         * lyxtext.h: remove LyXText::parOffset() and getPar()
2863
2864         * text3.C: Remove all 'manual' update calls. We do now one per user
2865         interaction which is completely sufficient.
2866
2867         * Bidi.C:
2868         * BufferView.[Ch]:
2869         * BufferView_pimpl.C:
2870         * FontIterator.[Ch]:
2871         * MenuBackend.C:
2872         * ParagraphParameters.[Ch]:
2873         * buffer.C:
2874         * buffer.h:
2875         * bufferlist.C:
2876         * cursor.[Ch]:
2877         * cursor_slice.[Ch]:
2878         * dociterator.[Ch]:
2879         * errorlist.[Ch]:
2880         * factory.C:
2881         * lfuns.h:
2882         * lyxfind.C:
2883         * lyxfunc.C:
2884         * output_docbook.[Ch]:
2885         * output_latex.[Ch]:
2886         * output_linuxdoc.[Ch]:
2887         * output_plaintext.[Ch]:
2888         * paragraph.[Ch]:
2889         * paragraph_funcs.[Ch]:
2890         * paragraph_pimpl.[Ch]:
2891         * rowpainter.C:
2892         * tabular.[Ch]:
2893         * text.C:
2894         * text2.C:
2895         * toc.C:
2896         * undo.[Ch]: adjust
2897
2898         * frontends/controllers/ControlDocument.C:
2899         * frontends/controllers/ControlErrorList.C:
2900         * frontends/controllers/ControlSpellchecker.C:
2901         * insets/inset.C:
2902         * insets/inset.h:
2903         * insets/insetbase.h:
2904         * insets/insetbibitem.C:
2905         * insets/insetbox.C:
2906         * insets/insetbranch.C:
2907         * insets/insetcaption.C:
2908         * insets/insetcharstyle.C:
2909         * insets/insetcharstyle.h:
2910         * insets/insetcollapsable.C:
2911         * insets/insetcollapsable.h:
2912         * insets/insetert.C:
2913         * insets/insetfloat.C:
2914         * insets/insetfoot.C:
2915         * insets/insetmarginal.C:
2916         * insets/insetnote.C:
2917         * insets/insetoptarg.C:
2918         * insets/insettabular.C:
2919         * insets/insettext.C:
2920         * insets/insettext.h:
2921         * insets/insetwrap.C:
2922         * mathed/math_mboxinset.C:
2923         * mathed/math_nestinset.C:
2924         * mathed/math_scriptinset.C:
2925         * mathed/math_scriptinset.h:
2926         * support/types.h:
2927
2928 2004-03-24  Angus Leeming  <leeming@lyx.org>
2929
2930         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2931         deal with any child processes that have finished but are waiting to
2932         communicate this fact to the rest of LyX.
2933
2934 2004-03-24  Angus Leeming  <leeming@lyx.org>
2935
2936         64-bit compile fixes.
2937
2938         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2939         (c-tor): pass lyx::pos_types rather than ints.
2940
2941         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2942         lyx::pos_type.
2943
2944         * text.C (Delete): compile fix.
2945         (getPar): ensure that function declaration is the same as that in
2946         the header file.
2947
2948 2004-03-23  Angus Leeming  <leeming@lyx.org>
2949
2950         * ispell.C (LaunchIspell):
2951         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2952         a boost::shred_ptr rather than a std::auto_ptr.
2953
2954 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2955
2956         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2957         handle LFUN_FILE_INSERT_*
2958
2959         * lyxrc.C (setDefaults, getDescription, output, read):
2960         * lyxrc.h: remove ps_command
2961
2962 2004-03-22  Angus Leeming  <leeming@lyx.org>
2963
2964         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2965         Ensure that error_handler is processed once only and that all data
2966         is saved before attempting to output any warning messages.
2967
2968         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2969
2970 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2971
2972         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2973
2974 2004-03-19  André Pönitz  <poenitz@gmx.net>
2975
2976         * cursor.[Ch] (reset): take main text inset as argument
2977
2978         * BufferView: adjust
2979         * BufferView_pimpl.C: adjust
2980
2981         * paragraph.[Ch]: fix completely broken operator=()
2982
2983 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2984
2985         * LColor.C (getFromLyXName): make sure that the color name is used
2986         as lowercase.
2987
2988 2004-03-17  Angus Leeming  <leeming@lyx.org>
2989
2990         * lfuns.h:
2991         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2992
2993         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2994         dialog and to kill a forked process.
2995
2996 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2997
2998         * text2.C (setCursorFromCoordinates): fix font problem
2999
3000 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3001
3002         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3003         bogus "rebuild cursor" code
3004
3005 2004-03-11  André Pönitz  <poenitz@gmx.net>
3006
3007         * buffer.[Ch]: use InsetText instead of LyXText as container for
3008         the main lyx text.
3009
3010         * dociterator.[Ch]: drop the BufferView * member which is not needed
3011         anymore after the change to buffer.C
3012
3013         * paragraph_funcs.C:
3014         * text.C:
3015         * text2.C:
3016         * BufferView.[Ch]:
3017         * BufferView_pimpl.[Ch]:
3018         * cursor.[Ch]:
3019         * cursor_slice.[Ch]: adjust
3020
3021         * text3.C: fix bug in mathDispatch
3022
3023 2004-03-08  André Pönitz  <poenitz@gmx.net>
3024
3025         * undo.[Ch]: use 'StableDocumentIterator' as base for
3026         the Undo struct.
3027
3028 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3029
3030         * LaTeXFeatures.C:
3031         * bufferparams.[Ch]: add jurabib support and param.
3032
3033         * LaTeX.C: add FIXME/comment.
3034
3035 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3036
3037         * buffer.C: increment file format to 230.
3038
3039 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3040
3041         * cursor.C (dispatch): avoid infinite loops
3042
3043 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3044
3045         * rowpainter.C (paintSelection): fix x coordinates
3046
3047 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3048
3049         * text.C (rowBreakPoint): fix breaking before displayed insets
3050
3051 2004-03-01  André Pönitz  <poenitz@gmx.net>
3052
3053         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3054
3055         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3056
3057         * Makefile.am:
3058         * BufferView.C:
3059         * BufferView_pimpl.C:
3060         * buffer.C:
3061         * lyxfind.C:
3062         * lyxfunc.C:
3063         * text.C:
3064         * text2.C:
3065         * text3.C: adjust
3066
3067 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3068
3069         * lyxtext.h:
3070         * text.C:
3071         * text2.C:
3072         * rowpainter.C:
3073         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3074         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3075
3076 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3077
3078         * Bidi.[Ch] (computeTables): const correctness
3079         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3080         fill_hfill, fill_label_hfill and x from Row
3081         * lyxtext.h: prepareToPrint returns a RowMetrics
3082         * rowPainter.C: adjust
3083         * text.C (prepareToPrint): use width, not textWidth. adjust
3084         (redoParagraphInternal, cursorX): adjust
3085         * text2.C (getColumnNearX): adjust
3086         (init): put a default value to the top LyXText::width
3087
3088 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3089
3090         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3091
3092 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3093
3094         * lyxtext.h: add FontIterator class
3095
3096         * text.C (FontIterator, operator*, operator->, operator++): add
3097         (rowBreakPoint, setRowWidth): adjust (fixing a
3098         rebreaking bug)
3099
3100 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3101
3102         * BufferView_pimpl.C (workAreaDispatch): allow also
3103         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3104
3105 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3106
3107         * text.C (rowBreakPoint): fix a bug showing with very large insets
3108
3109 2004-02-25  André Pönitz  <poenitz@gmx.net>
3110
3111         * text3.C:
3112         * cursor.[Ch]: move some mathed specific code to mathed
3113
3114 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3115
3116         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3117         use_tempdir in preferences
3118         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3119         tempfile creation
3120         * lyx_main.C: ensure that tempdir is valid
3121         * lyxlex.h: correct typo
3122         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3123         * paragraph.[Ch] (isMultiLingual): make const
3124         * cursor.[Ch] (openable): make const
3125
3126 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3127
3128         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3129
3130 2004-02-20  André Pönitz  <poenitz@gmx.net>
3131
3132         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3133
3134         * cursor.[Ch]: prepare for localized getStatus()
3135
3136         * lyxtext.h:
3137         * tabular.C:
3138         * text.C:
3139         * text2.C:
3140         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3141
3142 2004-02-20  André Pönitz  <poenitz@gmx.net>
3143
3144         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3145
3146 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3147
3148         * text2.C (setCursorFromCoordinates): switch to absolute coords
3149         (cursorUp): adjust
3150         (cursorDown): adjust
3151         * text3.C (dispatch): adjust
3152
3153 2004-02-16  André Pönitz  <poenitz@gmx.net>
3154
3155         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3156           insets/ChangeLog)
3157
3158         * cursor_slice.[Ch]: remove unneeded acessor function
3159
3160         * lyxtext.h: rename rtl() to isRTL()
3161
3162         * rowpainter.C:
3163         * tabular.C:
3164         * text.C:
3165         * text2.C:
3166         * text3.C: adjust
3167
3168 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3169
3170         * rowpainter.C (paintSelection): coord fix
3171
3172 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3173
3174         * Spacing.C: compile fix
3175
3176 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3177
3178         * cursor.C (dispatch): restore current_ before returning
3179
3180 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3181
3182         * text2.C (cursorUp, cursorDown): fix coords
3183         (moveUp): fix crash
3184
3185 2004-02-12  André Pönitz  <poenitz@gmx.net>
3186
3187         * lyxtext.h:
3188         * text.C:
3189         * text2.C:
3190         * text3.C: add LCursor & parameter to most cursor movement functions
3191           remove usage of LyXText::cursorRow() and cursorPar()
3192
3193         * cursor.[Ch]: add textRow() needed members
3194
3195         * BufferView.C:
3196         * BufferView_pimpl.C:
3197         * paragraph.[Ch]:
3198         * BufferView.C:
3199         * BufferView_pimpl.C: adjust
3200
3201 2004-02-11  André Pönitz  <poenitz@gmx.net>
3202
3203         * lyxfunc.C:
3204         * BufferView.[Ch]:
3205         * BufferView_pimpl.C: shift undo/redo handling
3206
3207         * cursor.[Ch]: fix mathed crash
3208
3209         * lyxfind.C:
3210         * lyxtext.h: move selectionAsText to LCursor
3211
3212         * output_latex.C:
3213         * paragraph.C:
3214         * text.C:
3215         * text2.C:
3216         * text3.C: adjust
3217
3218         * rowpainter.C: fix excessive drawing
3219
3220 2004-02-06  André Pönitz  <poenitz@gmx.net>
3221
3222         * BufferView.[Ch]:
3223         * BufferView_pimpl.[Ch]:
3224         * text3.C: move some text specific LFUN handling
3225
3226 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3227
3228         * text3.C (checkInsetHit): adjust coords
3229         * text2.C (getColumnNearX): adjust coords
3230         (edit): adjust coords
3231         * text.C (getRowNearY): add two asserts
3232
3233 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3234
3235         * converter.C:
3236         * format.C: add using std::distance to compile on gcc 2.95/stlport
3237
3238 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3239
3240         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3241
3242 2004-02-04  André Pönitz  <poenitz@gmx.net>
3243
3244         * BufferView.[Ch] (insertInset):
3245         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3246
3247         * text2.C:
3248         * text3.C: adjust
3249
3250 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3251
3252         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3253         on the default clause of the switch
3254         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3255         wasn't catched by LCursor::dispatch
3256
3257 2004-02-03  André Pönitz  <poenitz@gmx.net>
3258
3259         * BufferView.C:
3260         * cursor.[Ch]: some additional asserts
3261
3262         * undo.[Ch]: remove LyXText dependency in interface
3263
3264         * lyxfunc.C: adjust
3265
3266         * lyxtext.h (firstPar, lastPar): remove dead functions
3267
3268         * text.C:
3269         * text2.C:
3270         * text3.C:
3271         * paragraph.[Ch]: adjust
3272
3273 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3274
3275         * lyxfind.C (find): fix argument order in call to ::find
3276
3277 2004-02-02  André Pönitz  <poenitz@gmx.net>
3278
3279         * cursor.[Ch]: remove direct access to anchor
3280
3281         * text.C: remove findText() hack
3282
3283 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3284
3285         * iterators.[Ch] (lockPath): remove in favour of...
3286         * BufferView.[Ch] (setCursor): this addition
3287         * BufferView.C (putSelectionAt): adjust
3288         * undo.C (performUndoOrRedo): adjust
3289         * lyxfunc.C (dispatch): adjust
3290
3291 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3292
3293         * iterators.C (lockPath): add a missing slice
3294         * undo.C (performUndoOrRedo): remove redundant positioning code
3295
3296 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3297
3298         * vc-backend.C (scanMaster): ";" -> ';'
3299
3300 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3301
3302         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3303         std::binary_function
3304
3305         * lyxtextclass.C (compare_name): rename to...
3306         (LayoutNamesEqual): ...this
3307
3308         * lyxlex_pimpl.C (compare_tags): inherit from
3309         std::binary_function, put back into anon namespace
3310
3311         * lyxfind.C (MatchString): inherig from std::binary_function
3312         (findChange): use empty() istead of !size()
3313
3314         * format.C (FormatNamesEqual): new functor
3315         (getFormat): use it
3316         (getNumber): use it
3317         (add): use it
3318         (erase): use it
3319         (setViewer): use it
3320
3321         * converter.C (compare_Converter): rename to...
3322         (ConverterEqual): ...this, and fixup a bit.
3323         (getConverter): use it, and make function const
3324         (getNumber): use it, and make function const
3325         (add): use it
3326         (erase): use it:
3327
3328         * bufferlist.C: add using boost::bind
3329
3330         * MenuBackend.C (MenuNamesEqual): new functor
3331         (hasMenu): use it, and make function const
3332         (hasSubmenu): use nested bind to get rid of compare_memfun.
3333
3334 2004-01-30  André Pönitz  <poenitz@gmx.net>
3335
3336         * BufferView_pimpl.C:
3337         * cursor.C:
3338         * cursor.h:
3339         * cursor_slice.[Ch]:
3340         * lyxfunc.C:
3341         * lyxtext.h:
3342         * paragraph_funcs.C:
3343         * paragraph_funcs.h:
3344         * rowpainter.C:
3345         * text.C:
3346         * text2.C:
3347         * text3.C: move some of the edit(x,y) handling to the insets
3348         some coordinate changes.
3349
3350 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3351
3352         * text.C: add using statements for std::advance and std::distance
3353
3354         * paragraph.C: add using statement for std::distance
3355
3356         * lyxfind.C: add using statement for std::advance
3357
3358         * cursor.C (region): remove std:: from swap
3359         (openable): use nucleus in stead of operator->
3360
3361         * BufferView.C: add using statements for std::distance and std::swap
3362
3363 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3364
3365         * iterators.C: Remove the pimple, move the needed structures to
3366         the header file. Create accessor for the positions stack.
3367         (asPosIterator): remove function
3368
3369         * PosIterator.C (PosIterator): move constructors to top of file
3370         (PosIterator): reimplement the constructor taking a ParIterator in
3371         terms of setFrom.
3372         (setFrom): new function
3373         (operator!=): inline it
3374
3375 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3376
3377         * lyxfind.C (replaceAll): use std::advance
3378
3379         * iterators.h: inherit from std::iterator.
3380
3381         * PosIterator.C (advance, distance): remove
3382         * PosIterator.h: interit from std::iterator.
3383
3384 2004-01-26  André Pönitz  <poenitz@gmx.net>
3385
3386         * BufferView.[Ch]:
3387         * BufferView_pimpl.[Ch]:
3388         * InsetList.[Ch]:
3389         * PosIterator.[Ch]:
3390         * buffer.h:
3391         * bufferview_funcs.C:
3392         * cursor.[Ch]:
3393         * cursor_slice.h:
3394         * factory.[Ch]:
3395         * iterators.[Ch]:
3396         * lyxfind.C:
3397         * lyxfunc.C:
3398         * lyxtext.h:
3399         * output_docbook.C:
3400         * output_latex.C:
3401         * output_linuxdoc.C:
3402         * output_plaintext.C:
3403         * paragraph.[Ch]:
3404         * paragraph_funcs.[Ch]:
3405         * paragraph_pimpl.[Ch]:
3406         * rowpainter.C:
3407         * tabular.C:
3408         * tabular.h:
3409         * text.C:
3410         * text2.C:
3411         * text3.C: more IU:  dumps most of the rest of the mathcursor
3412     implementation into cursor.[Ch]; "globalize" a bit of it.
3413
3414 2004-01-25  Angus Leeming  <leeming@lyx.org>
3415
3416         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3417
3418 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3419
3420         * LaTeXFeatures.h: add nice_ and nice() const
3421         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3422
3423 2004-01-20  André Pönitz  <poenitz@gmx.net>
3424
3425         * BufferView.[Ch]:
3426         * BufferView_pimpl.C:
3427         * PosIterator.C:
3428         * bufferview_funcs.C:
3429         * cursor.[Ch]:
3430         * cursor_slice.[Ch]:
3431         * factory.C:
3432         * iterators.C:
3433         * lyx_cb.C:
3434         * lyxfind.C:
3435         * lyxfunc.C:
3436         * lyxtext.h:
3437         * rowpainter.C:
3438         * text.C:
3439         * text2.C:
3440         * text3.C:
3441         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3442           LCursor and mathcursor parts to LCursor and InsetBase.
3443
3444 2004-01-15  André Pönitz  <poenitz@gmx.net>
3445
3446         * cursor_slice.[Ch]: add a few covienience functions
3447
3448         * funcrequest.[Ch]: remove BufferView * member
3449
3450         * BufferView_pimpl.C:
3451         * cursor.C:
3452         * factory.[Ch]:
3453         * lyxfind.[Ch]:
3454         * lyxfunc.C:
3455         * lyxtext.h:
3456         * text3.C:
3457         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3458
3459 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3460
3461         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3462         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3463
3464 2004-01-13  André Pönitz  <poenitz@gmx.net>
3465
3466         * textcursor.[Ch]:
3467         * lyxtext.h: hide cursor and selection anchor behind accessor function
3468
3469         * BufferView.C:
3470         * BufferView_pimpl.[Ch]:
3471         * PosIterator.C:
3472         * bufferview_funcs.C:
3473         * cursor.h:
3474         * lyxfind.C:
3475         * lyxfunc.C:
3476         * text.C:
3477         * text2.C:
3478         * text3.C:
3479         * undo.C: adjust
3480
3481         * cursor.h:
3482         * cursor_slice.[Ch]: some integer type changes for inset unification
3483
3484         * lyxcursor.[hC]: remove, it's CursorSlice now.
3485
3486         * Makefile.am:
3487         * BufferView_pimpl.[Ch]:
3488         * bufferview_funcs.C:
3489         * cursor_slice.C:
3490         * lyxtext.h:
3491         * text.C:
3492         * text2.C:
3493         * text3.C:
3494         * textcursor.[Ch]: adjust
3495
3496 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3497
3498         * text2.C (undoSpan): add and use
3499         * text.C (breakParagraph): use undoSpan (fix bug 578)
3500         * lyxtext.h: adjust
3501
3502 2004-01-08  Angus Leeming  <leeming@lyx.org>
3503
3504         * BufferView_pimpl.C (MenuInsertLyXFile):
3505         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3506         * lyxfunc.C (menuNew, open, doImport):
3507         FileFilterList change to the FileDialog open and save functions.
3508
3509 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3510
3511         * ShareContainer.h: make isEqual and isUnique adaptable
3512
3513         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3514
3515 2004-01-07  Angus Leeming  <leeming@lyx.org>
3516
3517         * LyXAction.C:
3518         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3519
3520         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3521
3522         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3523         functions replacing find, replace and replaceAll.
3524
3525         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3526         LFUN_WORDFIND(FORWARD|BACKWARD).
3527
3528 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3529
3530         * text.C (breakParagraph): remove an outdated #warning
3531
3532 2004-01-07  André Pönitz  <poenitz@gmx.net>
3533
3534         * lyxfind.C: somewhat clearer logic
3535
3536         * text.C: prevent crash in cursorX on unitialized row cache
3537
3538 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3539
3540         * lyxcursor.[Ch] (operator>): add
3541         * textcursor.C (selStart, selEnd): use std::min and std::max
3542
3543 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3544
3545         * Chktex.C: include boost/format.hpp
3546
3547 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3548
3549         * InsetList.C: replace functor MathcIt with adaptable functor
3550         InsetTablePosLess
3551         (insetIterator): modify accordingly
3552
3553         * BranchList.h: move the BranchNamesEqual functor here from...
3554         * BranchList.C: ... to here
3555
3556         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3557         SameName and match.
3558         (add): replace a finding loop with std::find_if.
3559
3560 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3561
3562         * output_docbook.C: moving LatexParam functionality into
3563         .layout files
3564
3565 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3566
3567         * buffer.C: increment format to 229.
3568
3569 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3570
3571         * LaTeXFeatures.C:
3572         * lyx_sty.[Ch]: remove minipageindent_def
3573
3574         * LyXAction.C:
3575         * factory.C:
3576         * lfuns.h:
3577         * lyxfunc.C:
3578         * text3.C: remove LFUN_INSET_MINIPAGE
3579
3580 2003-12-28  Angus Leeming  <leeming@lyx.org>
3581
3582         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3583
3584 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3585
3586         * text2.C (setParagraph): fix off-by-one crash
3587
3588 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3589
3590         * output_docbook.C: header stuff for AGU
3591
3592 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3593
3594         * text2.C (redoCursor): remove
3595         * text.C:
3596         * text3.C:
3597         * BufferView_pimpl.C: remove calls to redoCursor and
3598         setCursor(cursor.par(), cursor.pos()) all around
3599
3600 2003-12-15  Angus Leeming  <leeming@lyx.org>
3601
3602         * buffer.C: up the format to 228.
3603
3604 2003-12-15  André Pönitz  <poenitz@gmx.net>
3605
3606         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3607         slices
3608
3609         * Makefile.am:
3610
3611         * BufferView_pimpl.C:
3612         * cursor.[Ch]:
3613         * lyxcursor.[Ch]:
3614         * rowpainter.[Ch]:
3615         * lyxtext.h:
3616         * text.C:
3617         * text2.C:
3618         * text3.C: adjust
3619
3620 2003-12-15  Angus Leeming  <leeming@lyx.org>
3621
3622         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3623         than getFromGUIName to manipulate the color.
3624
3625 2003-12-14  Angus Leeming  <leeming@lyx.org>
3626
3627         * BranchList.[Ch]: minimize the API.
3628         (Branch::getBranch, getColor): now return a 'const &'.
3629         (Branch::setSelected) now returns a bool set to true if the
3630         selection status changes.
3631         (BranchList::clear, size, getColor, setColor, setSelected,
3632         allBranches, allSelected, separator): removed.
3633         (BranchList::find): new functions, returning the Branch with
3634         the given name.
3635         (BranchList::add, remove): return a bool indicating that
3636         the operation was successful.
3637
3638         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3639         new InsetBranch::isBranchSlected member function.
3640
3641         * LColor.[Ch]: mimimize the API.
3642         (fill): renamed as addColor and made private.
3643         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3644         versions of these functions taking a string arg have been removed.
3645
3646         * bufferparams.C (readToken):
3647         * lyxfunc.C (dispatch):
3648         * lyxrc.C (read): changes due to the altered BranchList and
3649         LColor APIs.
3650
3651         * factory.C (createInset, readInset): changes due to altered
3652         InsetBranch c-tor.
3653
3654 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3655
3656         * factory.C:
3657         * lyxfunc.C: remove insetminipage. "minipage-insert"
3658         now produces a frameless minipage box inset.
3659
3660 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3661
3662         * textcursor.[Ch] (selStart,selEnd): add new methods
3663         remove selection::start, end, use LyXCursor::operator<
3664         * lyxcursor.[Ch] (operator<): add
3665         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3666         * BufferView.[Ch] (unsetXSel): add
3667         * text2.C (clearSelection): use unsetXSel,adjust
3668         * text.C: adjust
3669         * text3.C: adjust
3670         * rowpainter.C: adjust
3671         * bufferview_funcs.C (put_selection_at): adjust
3672
3673 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3674
3675         * BufferView_pimpl.C: small coord. correction
3676
3677 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3678
3679         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3680         dragging over the splash screen.
3681
3682 2003-12-11  Angus Leeming  <leeming@lyx.org>
3683
3684         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3685         as it is now handled in LyXText::dispatch.
3686
3687         * text3.C (doInsertInset): remove a level of nesting.
3688
3689 2003-12-11  Angus Leeming  <leeming@lyx.org>
3690
3691         * factory.C (createInset): changes due to the changed interface to
3692         InsetCommandMailer::string2params.
3693
3694 2003-12-10  Angus Leeming  <leeming@lyx.org>
3695
3696         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3697         'dialog-show-new-inset <inset name>'
3698
3699 2003-12-10  Angus Leeming  <leeming@lyx.org>
3700
3701         * buffer.C: up the format to 227.
3702
3703         * factory.C: the box inset is now identified simply by 'Box'.
3704
3705 2003-12-10  Angus Leeming  <leeming@lyx.org>
3706
3707         * buffer.C: up the format to 226.
3708
3709         * factory.C: the note inset is now identified simply by 'Note'.
3710
3711 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3712
3713         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3714         when a pit is enough. Standarize a couple of loops.
3715
3716 2003-12-05  Angus Leeming  <leeming@lyx.org>
3717
3718         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3719         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3720         data to the re-worked "log" dialog.
3721
3722 2003-12-03  André Pönitz  <poenitz@gmx.net>
3723
3724         * PosIterator.C:
3725         * iterators.C:
3726         * lyxtext.h:
3727         * output_latex.C:
3728         * paragraph_funcs.C:
3729         * text.C:
3730         * text2.C: use Inset::getText instead of Inset::getParagraph
3731
3732 2003-12-03  André Pönitz  <poenitz@gmx.net>
3733
3734         * buffer.[Ch]:
3735         * lyxtext.h:
3736         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3737         InsetText::read() as LyXText::read()
3738
3739 2003-12-02  Angus Leeming  <leeming@lyx.org>
3740
3741         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3742         type. Add a comment in the implementation that the function uses
3743         the stream's bad() function rather than fail() as the std::streams
3744         would do.
3745
3746 2003-12-02  André Pönitz  <poenitz@gmx.net>
3747
3748         * lyxlex.[Ch]: make interface more similar to std::stream
3749
3750         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3751
3752 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3753
3754         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3755
3756 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3757
3758         * vspace.[Ch]: remove VSpace::NONE
3759
3760 2003-12-01  André Pönitz  <poenitz@gmx.net>
3761
3762         * buffer.[Ch]:
3763         * lyxtext.h: move ParagraphList member to LyXText
3764         rename LyXText::ownerParagraphs to LyXText::paragraph
3765
3766         * CutAndPaste.C:
3767         * bufferview_funcs.C:
3768         * iterators.[Ch]:
3769         * lyx_cb.C:
3770         * paragraph.C:
3771         * rowpainter.C:
3772         * tabular.C:
3773         * text.C:
3774         * text2.C:
3775         * text3.C: adjust
3776
3777         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3778
3779         * undo.C: fix cursor positioning
3780
3781 2003-12-01  John Levon  <levon@movementarian.org>
3782
3783         * BufferView_pimpl.C: fix a crash on exit with
3784         a buffer open
3785
3786 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3787
3788         * BranchList.C: fix setSelected() method.
3789
3790 2003-11-28  André Pönitz  <poenitz@gmx.net>
3791
3792         * ParagraphParameters.[Ch]:
3793         * ParameterStruct.h: remove space above/below from Paragraph to
3794          InsetVSpace
3795
3796         * BufferView_pimpl.C:
3797         * factory.C:
3798         * lyxfunc.C:
3799         * lyxtext.h:
3800         * output_latex.C:
3801         * paragraph.C:
3802         * paragraph_funcs.C:
3803         * rowpainter.[Ch]:
3804         * text.C:
3805         * text2.C:
3806         * text3.C: adjust
3807
3808 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3809
3810         * factory.C: Syntax change for CharStyles
3811
3812 2003-11-28  André Pönitz  <poenitz@gmx.net>
3813
3814         * BufferView.[Ch]:
3815         * BufferView.[Ch]:
3816         * buffer.[Ch]:
3817         * buffer.[Ch]: move LyXText member
3818
3819 2003-11-28  André Pönitz  <poenitz@gmx.net>
3820
3821         * BufferView.[Ch]: make LyXText * text a private member
3822
3823         * BufferView_pimpl.C:
3824         * cursor.C:
3825         * iterators.C:
3826         * lyx_cb.C:
3827         * lyxfind.C:
3828         * lyxtext.h:
3829         * rowpainter.[Ch]:
3830         * text.C:
3831         * text2.C:
3832         * undo.C: adjust
3833
3834         * output_plaintext.C: cleanup
3835
3836 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3837
3838         * buffer.C:
3839         * lyxtextclass.[Ch]: parametrize SGML document header
3840
3841 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3842
3843         * converter.[Ch]:
3844         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3845         getFlavor().
3846
3847 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3848
3849         * text2.C (setFont): rework using PosIterator (no more recursive)
3850         (setCharFont): no more needed
3851         (setLayout): no more selection cursors fiddling (done by redoCursor)
3852         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3853         destroy remaining ones)
3854
3855 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3856
3857         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3858         * lyxtext.h: ditto
3859         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3860         selection cursors
3861         * lyxfunc.C: adjust
3862         * text3.C: adjust + re-allow multi par depth changes
3863         * textcursor.C: simplify a bit
3864
3865 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3866
3867         * src/buffer.C:
3868         * src/lyxlayout.C:
3869         * src/lyxlayout.h:
3870         * src/lyxtext.h:
3871         * src/output_docbook.C:
3872         * src/output_latex.C:
3873         * src/paragraph.C:
3874         * src/paragraph.h:
3875         * src/sgml.C:
3876         * src/sgml.h:
3877         * src/text2.C: Introducing a number of tags parametrizing various
3878         XML formats that we may want to support
3879
3880 2003-11-25  André Pönitz  <poenitz@gmx.net>
3881
3882         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3883
3884         * lyxtext.h (leftMargin/rightMargin): simplify interface
3885
3886         * rowpainter.C:
3887         * text.C:
3888         * text2.C:
3889         * text3.C: adjust
3890
3891 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3892
3893         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3894         master file to any child files. Fixes bug 546.
3895
3896 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3897
3898         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3899
3900 2003-11-24  André Pönitz  <poenitz@gmx.net>
3901
3902         * rowpainter.C: simplification
3903
3904         * text2.C (updateCounters): remove call to redoParagraph on
3905         changed labels as this is far too expensive.
3906
3907 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3908
3909         * converter.C (convert): fix a crash: this function gets
3910         called with buffer == 0 from importer code.
3911
3912 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3913
3914         * text3.C (cursorPrevious): make sure that we do not compare
3915         iterators form different containers.
3916         (cursorNext): ditto
3917
3918         * rowpainter.C (paintSelection): make sure that we do not compare
3919         iterators from different containers.
3920
3921         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3922         iterators from different ParagraphList containers.
3923         [NEXT] ditto
3924
3925         * text2.C (LyXText): change order of initialization slightly
3926         (operator=): new function. copy all variables except cache_par_
3927         (moveUp): make sure that we do not compare iterators from
3928         different ParagraphList constainers.
3929         (moveDown): ditto
3930
3931         * text.C (firstPar): new function
3932         (lastPar): new function
3933         (endPar): new function
3934
3935         * lyxtext.h: move things around and group public functions, public
3936         variables, private functions, private variables
3937
3938 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3939
3940         * factory.C: change call to InsetERT constructor to avoid
3941         additional invocation of method status
3942         * text2.C (toggleInset): remove redundant update() call
3943         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3944         instead of a Bufferview pointer
3945
3946 2003-11-21  André Pönitz  <poenitz@gmx.net>
3947
3948         * rowpainter.C: simplification
3949
3950 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3951
3952         * text3.C (dispatch): make possible to extend a word/row selection
3953         with the mouse
3954
3955 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3956
3957         * lyxtext.h: x0_,y0_ -> xo_,yo_
3958         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3959         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3960         * rowpainter.C (paintRows): paint full paragraphs
3961
3962 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3963
3964         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3965         screen coordinates)
3966
3967 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3968
3969         * lyxtext.h: add x0_, y0_
3970         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3971         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3972
3973 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3974
3975         * text2.C (setCursorIntern): move the x_target update here *
3976         * text3.C: change some bv() to true/false in calls to
3977         cursorUp/Down/Right/Left
3978         * cursor.C: use helper function.
3979
3980 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3981
3982         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3983         * paragraph_funcs.[Ch]: correct comment
3984         * rowpainter.C: do not paint selections away from bv->cursor()
3985         Fix a long standing selection painting bug.
3986         * text3.C: generalize mouse-selection code to LyXTexts other that
3987         top one
3988         * textcursor.C: do not use y coords if we can use par offsets
3989
3990 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3991
3992         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3993         cursor position after e.g. inset insert)
3994
3995 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3996
3997         * lyxfind.C (replace): adjust to locking removal + some
3998         code simplification
3999
4000 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4001
4002         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4003         of the path
4004
4005 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4006
4007         * lyxlayout.[Ch]:
4008         * output_docbook.C: XML sanitation: new layout
4009         parameters InnerTag and CommandDepth
4010
4011 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4012
4013         * BufferView_pimpl.C:
4014         * factory.C:
4015         * text3.C: Fix the insertion and modification of button-style
4016         insets
4017
4018 2003-11-13  André Pönitz  <poenitz@gmx.net>
4019
4020         * InsetList.[Ch]: remove deleteLyXText
4021
4022         * paragraph.[Ch]: cache beginOfBody position
4023
4024         * Bidi.C:
4025         * text.C:
4026         * text2.C:
4027         * text3.C: remove superfluous update() calls
4028
4029         * vspace.C: cleanup
4030
4031 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4032
4033         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4034         * BufferView.C (fitLockedInsetCursor): remove
4035         * cursor.[Ch] (getDim): add
4036         * text.C (getRowNearY): add faster version
4037         * text3.C: remove some update calls
4038
4039 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4040
4041         * LaTeXFeatures.C:
4042         * LyXAction.C:
4043         * MenuBackend.C:
4044         * MenuBackend.h:
4045         * dispatchresult.h:
4046         * factory.C:
4047         * lfuns.h:
4048         * lyxfunc.C:
4049         * lyxtextclass.C:
4050         * lyxtextclass.h:
4051         * text3.C: The Character Style /XML short element patch.
4052
4053 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4054
4055         * text3.C:
4056         * factory.C: Small step to solving 'unable to insert some insets'
4057         problem
4058
4059 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4060
4061         * cursor.[Ch] (updatePos): new function for updating the y
4062         position of the tip inset
4063         * bufferview_funcs.C (put_selection_at):
4064         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4065
4066 2003-11-11  André Pönitz  <poenitz@gmx.net>
4067
4068         * text.C: remove big comment on invalid Paragraph pointers as it is
4069         not valid anymore
4070
4071 2003-11-11  André Pönitz  <poenitz@gmx.net>
4072
4073         * text_funcs.[Ch]: merge with ...
4074
4075         * text.C: ... this
4076
4077         * lyxtext.h:
4078         * text2.C:
4079         * text3.C: adjust
4080
4081         * Makefile.am: remove text_funcs.[Ch]
4082
4083 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4084
4085         * cursor.C (getPos): return absolute cached y coord
4086
4087         * BufferView_pimpl.C (fitCursor): new simplistic code
4088         (workAreaDispatch): add a fitCursor call
4089
4090 2003-11-10  André Pönitz  <poenitz@gmx.net>
4091
4092         * BufferView.[Ch]:
4093         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4094
4095 2003-11-10  André Pönitz  <poenitz@gmx.net>
4096
4097         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4098         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4099         indicate that the cursor needs to leave an inset
4100
4101         * lyxtext.h: remove inset locking
4102
4103         * cursor.[Ch]: re-implement functionality provided by inset locking
4104
4105         * BufferView.[Ch]:
4106         * BufferView_pimpl.[Ch]:
4107         * LyXAction.C:
4108         * bufferview_funcs.[Ch]:
4109         * factory.C:
4110         * funcrequest.[Ch]:
4111         * iterators.C:
4112         * lyx_cb.C:
4113         * lyxfind.C:
4114         * lyxfunc.C:
4115         * text.C:
4116         * text2.C:
4117         * text3.C:
4118         * undo.C: adjust
4119
4120 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4121
4122         * PosIterator.[Ch]: replace the stack with a vector, add inset
4123         accesor
4124         * iterators.[C]: adjust
4125
4126 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4127
4128         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4129         replaced
4130         * paragraph_funcs.C (readParToken): put the correct id in the
4131         error item, not the id of the top paragraph
4132
4133 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4134
4135         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4136         * bufferview_funcs.C (put_selection_at): use the above
4137
4138 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4139
4140         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4141
4142 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4143
4144         * output_linuxdoc.h:
4145         * output_plaintext.h:
4146         * output.h:
4147         * output_docbook.h: add #include statements
4148
4149 2003-11-05  José Matos  <jamatos@lyx.org>
4150
4151         * output_docbook.[Ch]:
4152         * output_latex.[Ch]:
4153         * output_linuxdoc.[Ch]:
4154         * output_plaintext.[Ch]: New files for output formats.
4155         * output.[Ch]: New file for helper functions.
4156
4157         * buffer.[Ch]:
4158         * paragraph_funcs.[Ch]: output functions moved to new files.
4159
4160         * outputparams.h: rename of latexrunparams.h
4161
4162         * LaTeX.[Ch]:
4163         * buffer.[Ch]:
4164         * bufferlist.[Ch]:
4165         * converter.[Ch]:
4166         * exporter.C:
4167         * paragraph.[Ch]:
4168         * paragraph_funcs.[Ch]:
4169         * paragraph_pimpl.[Ch]:
4170         * tabular.[Ch]: rename ascii to plaintext
4171         and LatexRunParams to OutputParams.
4172
4173 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4174
4175         * iterators.[Ch] (text): require bv argument
4176         * undo.C (recordUndo):
4177         * lyxfunc.C (dispatch):
4178         * bufferview_funcs.C (put_selection_at): adjust
4179
4180 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4181
4182         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4183
4184 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4185
4186         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4187         nestings
4188
4189 2003-11-04  André Pönitz  <poenitz@gmx.net>
4190
4191         * cursor.[Ch]: restructure
4192
4193         * BufferView.[Ch]:
4194         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4195
4196         * iterators.[Ch] (asCursor): remove
4197
4198         * lfuns.h: remove LFUN_INSET_EDIT
4199
4200         * lyxfunc.C:
4201         * tabular.C:
4202         * text.C:
4203         * text2.C:
4204         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4205
4206 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4207
4208         * lyxfind.[Ch]: complete overhaul
4209         * BufferView_pimpl.C:
4210         * lyxfunc.C: adjust
4211         * paragraph.[Ch] (insert): add
4212
4213 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4214
4215         * BufferView.[Ch]:
4216         * lyxtext.h:
4217         * text.C: remove dead spellcheck code
4218
4219 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4220
4221         * dispatchresult.h: add a val setter
4222
4223         * cursor.C (dispatch): use a tempvar for data_[i]
4224
4225 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4226
4227         * PosIterator.[Ch]: compile fix
4228
4229 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4230
4231         * text.C (cursorPar): deactivate the cursor cache
4232
4233 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4234
4235         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4236
4237 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4238
4239         * text3.C (dispatch): adjust for new DisptchResult semantics.
4240
4241         * lyxfunc.C (dispatch): handle update when return from
4242         Cursor::dispatch, adjust for new DispatchResult semantics.
4243
4244         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4245         DispatchResult(true) mean to not update. Add class functions for
4246         setting dispatched and update, as well as reading.
4247
4248         * cursor.C (dispatch): don't handle update here
4249
4250 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4251
4252         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4253         * trans_mgr.C: adjust
4254
4255         * paragraph_funcs.C (readParToken): exception safety
4256
4257         * lyxvc.h: store the vcs pointer in a scoped_ptr
4258         * lyxvc.C: adjust
4259
4260         * lyxsocket.C (serverCallback): exception safety
4261
4262         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4263
4264         * ispell.C (clone): make it return a auto_ptr
4265
4266         * factory.C (createInset): exception safety
4267         (readInset): exception safety
4268
4269         * bufferlist.C (newBuffer): exception safety
4270
4271         * Thesaurus.C (Thesaurus): use initialization for aik_
4272
4273         * MenuBackend.C (expandToc): exception safety.
4274
4275 2003-11-03  André Pönitz  <poenitz@gmx.net>
4276
4277         * buffer.C:
4278         * buffer.h:
4279         * bufferview_funcs.C: remove getInsetFromId()
4280
4281         * lyxcursor.[Ch]:
4282         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4283
4284         * lyxfunc.C:
4285         * text2.C:
4286         * text3.C: adjust
4287
4288 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4289
4290         * PosIterator.C (distance, advance): new
4291         * bufferview_funcs.[Ch] (put_selection_at): new
4292         * iterators.[Ch] (lockPath): new
4293
4294 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4295
4296         * iterators.[Ch] (asPosIterator): added
4297         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4298         * PosIterator.[Ch]: added
4299
4300 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4301
4302         * text3.C:
4303         * lyxfunc.C:
4304         * cursor.C (dispatch):
4305         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4306
4307         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4308         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4309         contructor, add a class function dispatched. Remove operator>=
4310
4311 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4312
4313         * debug.C: only use the default constructor for debugstream
4314         (lyxerr) here.
4315
4316         * main.C (main): include debug.h and setup the lyxerr streambuf
4317         here.
4318
4319 2003-10-31  José Matos  <jamatos@lyx.org>
4320
4321         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4322
4323         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4324         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4325         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4326         * paragraph_pimpl.C (simpleTeXSpecialC):
4327         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4328         add LatexRunParams argument.
4329
4330         * exporter.C (Export): change call accordingly.
4331
4332         * latexrunparams.h: add new member to take care of the other backends.
4333 2003-10-30  José Matos  <jamatos@lyx.org>
4334
4335         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4336         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4337         factorise code for paragraph output.
4338         * buffer.[Ch]:
4339         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4340         move functions.
4341
4342 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4343
4344         * text3.C (dispatch):
4345         * lyxfunc.C (dispatch):
4346         * cursor.C (dispatch):
4347         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4348
4349         * dispatchresult.h: make the dispatch_result_t ctor explicit
4350
4351 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4352
4353         * sgml.[Ch]:
4354         * buffer.C: small refactoring of docbook stuff
4355
4356 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4357
4358         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4359         meaning.
4360
4361 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4362
4363         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4364         operator dispatch_result_t, and operators for == != and >=
4365
4366         * cursor.C (dispatch): adjust for operator dispatch_result_t
4367         removal. comment out call to update
4368
4369         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4370
4371 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4372
4373         * text3.C:
4374         * text2.C:
4375         * text.C:
4376         * lyxtext.h:
4377         * lyxfunc.C:
4378         * cursor.C:
4379         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4380         (dispatch):
4381
4382         * dispatchresult.h: new file, DispatchResult broken out of
4383         insets/insetbase.h
4384
4385         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4386
4387 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4388
4389         * text.C (rowBreakPoint): put a hack inside #if 0
4390
4391 2003-10-28  André Pönitz  <poenitz@gmx.net>
4392
4393         * lyxtext.h:
4394         * metricsinfo.C:
4395         * paragraph_funcs.C:
4396         * rowpainter.C:
4397         * text.C:
4398         * text2.C: general cleanup (lots of small stuff)
4399
4400 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4401
4402         * text2.C (cursorEnd): simple fix to the "end key goes to one
4403         before the end on last row" bug
4404
4405 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4406
4407         * text.C (backspace): fix the "zombie characters"
4408
4409 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4410
4411         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4412
4413 2003-10-27  André Pönitz  <poenitz@gmx.net>
4414
4415         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4416
4417         * factory.C: handle new InsetPagebreak, InsetLine
4418
4419         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4420         and move handling into new InsetPagebreak, InsetLine
4421
4422         * BufferView_pimpl.C:
4423         * LyXAction.C:
4424         * ParagraphParameters.C:
4425         * ParameterStruct.h:
4426         * lyxfunc.C:
4427         * lyxtext.h:
4428         * paragraph.C:
4429         * paragraph.h:
4430         * paragraph_funcs.C:
4431         * paragraph_pimpl.C:
4432         * rowpainter.C:
4433         * text.C:
4434         * text2.C:
4435         * text3.C: adjust
4436
4437 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4438
4439         * text.C:
4440         * lyxrow_funcs.[Ch]:
4441         * Bidi.C:
4442         * paragraph.C:
4443         * lyxtext.h:
4444         * rowpainter.C:
4445         * text2.C:
4446         * text3.C: remove lastPos uses in favour of Row::endpos
4447
4448 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4449
4450         * undo.C (performUndoOrRedo): fix two crashes by setting a
4451         cursor by hand and reordering some calls. Use bv->lockInset instead
4452         of inset->edit because the latter loses cursor information
4453
4454 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4455
4456         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4457         by Martin
4458         (rowBreakPoint): fix width. change point to point + 1.
4459         Add a missing check.
4460
4461 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4462
4463         * MenuBackend.C:
4464         * lyxfunc.C: fix (at least partly) the problems
4465         with the Nav menu and headers inside branch insets
4466         reported by Kayvan
4467
4468 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4469
4470         * paragraph.C (getChar): add strong asserts
4471
4472         * lyxrow_funcs.C (lastPos): remove hideous hack
4473
4474         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4475         (fill): adjust to that (avoid an infinite loop)
4476
4477 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4478
4479         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4480
4481 2003-10-23  André Pönitz  <poenitz@gmx.net>
4482
4483         * RowList_fwd.h: change list<> to vector<> to gain speed
4484         after suggestion from Alfredo
4485
4486 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4487
4488         * lyxtext.h: move the bidi stuff from here...
4489         * text.C: and here
4490         * text2.C: and here
4491         * Bidi.[Ch]: ... to here
4492
4493 2003-10-23  André Pönitz  <poenitz@gmx.net>
4494
4495         * lyxtext.h:
4496         * text.C (isLastRow, isFirstRow): new functions
4497
4498         * paragraph.h: new width cache member
4499
4500         * rowpainter.C: replace RowList::iterator with Row & where possible
4501
4502         * lyxfunc.C: replace several view()->text with a single call
4503
4504         * toc.C: fix 'unused' warning
4505
4506 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4507
4508         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4509         when woring with stream::pos_type
4510         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4511
4512 2003-10-22  André Pönitz  <poenitz@gmx.net>
4513
4514         * lyxtext.h:
4515         * text.C: use Row & instead of RowList::iterator
4516
4517         * lyxrow.h: rename end() to endpos()
4518
4519         * rowpainter.C:
4520         * text.C:
4521         * text2.C: adjust
4522
4523 2003-10-22  Angus Leeming  <leeming@lyx.org>
4524
4525         * buffer.[Ch] (fully_loaded): new member function, returning true
4526         only when the file has been loaded fully.
4527         Used to prevent the premature generation of previews and by the
4528         citation inset to prevent computation of the natbib-style label.
4529
4530         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4531         templates are all set up.
4532
4533         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4534
4535 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4536
4537         * text.C: fixed an "oops" in the "is a bit silly"
4538         bug fix
4539
4540 2003-10-21  André Pönitz  <poenitz@gmx.net>
4541
4542         * FuncStatus.[Ch]: small stuff, whitespace
4543
4544         * lyxfont.[Ch]: operator<<() for debug reasons
4545
4546         * lyxfunc.C:
4547         * lyxrow_funcs.C:
4548         * lyxtext.h: whitespace, spelling
4549
4550         * paragraph.C: naming of variables
4551
4552         * text.C:
4553         * text2.C: small stuff
4554
4555
4556 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4557
4558         * text.C: (1) finish off the inset display() work;
4559         (2) fix the "is a bit silly" bug (accessing char
4560         past end of par).
4561
4562 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4563
4564         * text.C: re-introduce display() for insets, fixing the
4565         various bugs (stretch of line above, math inset
4566         positioning, ...)
4567
4568 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4569
4570         * text.C (rightMargin): remove spurious semicolon
4571
4572         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4573         1415)
4574
4575 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4576
4577         * text3.C: fix one crash due to wrong cursor def
4578
4579 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4580
4581         * vc-backend.C (scanMaster): make the regex static
4582
4583         * LaTeX.C (scanAuxFile): make the regexs static
4584
4585         * text3.C (doInsertInset, dispatch, dispatch):
4586         * text2.C (cursorUp, cursorDown):
4587         * text.C (selectNextWordToSpellcheck):
4588         * BufferView_pimpl.C (dispatch):
4589         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4590
4591 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4592
4593         * lyxsocket.C: include <cerrno>
4594
4595 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4596
4597         * lyxfunc.C (dispatch): remove textcache stuff
4598
4599         * bufferlist.C (release): remove textcache stuff
4600         (closeAll): ditto
4601
4602         * TextCache.C: delete file
4603         * TextCache.h: delete file
4604
4605         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4606
4607         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4608         delete of the bv_->text.
4609         (resizeCurrentBuffer): remove texcache stuff
4610         (workAreaResize): ditto
4611
4612 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4613
4614         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4615         action.
4616
4617 2003-10-16  André Pönitz  <poenitz@gmx.net>
4618
4619         * lyxrow.[Ch]:
4620         * paragraph.h:
4621         * rowpainter.C:
4622         * text.C:
4623         * text2.C:
4624         * text3.C: speed up by storing y positions per paragraph plus per-row
4625         offset instead of having a 'full' y position in the row.
4626
4627 2003-10-15  André Pönitz  <poenitz@gmx.net>
4628
4629         * iterators.[Ch]:
4630         * iterators.[Ch]:
4631         * undo.[Ch]: make undo aware of inner insets
4632
4633 2003-10-14  Angus Leeming  <leeming@lyx.org>
4634
4635         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4636         static member functions LyX::ref() and LyX::cref.
4637         (lastfiles): new accessor functions for the new lastfiles_ member var.
4638         (addLyXView, views_): add a new LyXView to the list of views_.
4639         (updateInset): loop over all LyXViews to call their own updateInset
4640         member function, returning a pointer to the Buffer owning the inset.
4641
4642         * BufferView_pimpl.C (loadLyXFile):
4643         * MenuBackend.C (expandLastfiles):
4644         * bufferlist.C (MenuWrite, QuitLyX):
4645         lastfiles is no longer a global variable.
4646         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4647
4648         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4649         static function. Access through LyX::cref().emergencyCleanup().
4650
4651 2003-10-14  André Pönitz  <poenitz@gmx.net>
4652
4653         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4654
4655         * undo.[Ch]: restoring part of 'undo in insets'
4656
4657         * Makefile.am:
4658         * undo_funcs.[Ch]: merge with undo.[Ch]
4659
4660         * tabular.C: small cleansing stuff
4661
4662 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4663
4664         * paragraph_funcs.C (readParToken): report unknown insets as error
4665         boxes. Use the outer paragraph as location (also for unknown
4666         tokens).
4667
4668         * factory.C (readInset): do not abort on reading an unknown inset.
4669         Eat it and return 0.
4670
4671 2003-10-13  Angus Leeming  <leeming@lyx.org>
4672
4673         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4674
4675         * lyxrc.C: displayTranslator is now a function,
4676         declared in GraphicsTypes.h.
4677
4678 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4679
4680         * format.C: new placeholder $$a to pass the socket address.
4681
4682         * bufferlist.[Ch]: new function getBufferFromTmp.
4683
4684         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4685           files in the temporary dir.
4686
4687 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4688
4689         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4690
4691         * Makefile.am: add lyxsocket.[Ch].
4692
4693         * lyx_main.C (error_handler): handle SIGPIPE.
4694
4695 2003-10-13  André Pönitz  <poenitz@gmx.net>
4696
4697         * BufferView_pimpl.C:
4698         * lyxtext.h:
4699         * text.C:
4700         * text2.C:
4701         * text3.C:
4702         * undo_funcs.[Ch]: use paroffset_type instead of
4703           ParagraphList::iterators to prevent multiple conversion
4704           (and get a more robust interface)
4705
4706 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4707
4708         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4709         * lyxtext.h: ditto
4710         * text3.C (dispatch): ditto
4711
4712 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4713
4714         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4715         move the onlyfile, use onlyfile instead of foundfile in a couple
4716         of places.
4717
4718         * DepTable.C (update): flush the error stream a bit more
4719
4720 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4721
4722         * lyxserver.C (callback): adjust
4723
4724         * lyxfunc.C (getStatus): add a missing brace in commented code
4725         (ensureBufferClean): reindent
4726         (dispatch): delete version taking a string
4727
4728 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4729
4730         * LaTeX.C (deplog): move found file handlig from here...
4731         (handleFoundFile): .. to new function here.
4732         (deplog): make sure to discover several files mentioned on the
4733         same log line.
4734
4735 2003-10-10  André Pönitz  <poenitz@gmx.net>
4736
4737         * lyxfunc.C:
4738         * lyxtext.h:
4739         * tabular.C:
4740         * text.C:
4741         * text2.C:
4742         * text3.C: fix some of the tabular crashes
4743
4744 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4745
4746         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4747
4748         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4749
4750 2003-10-09  André Pönitz  <poenitz@gmx.net>
4751
4752         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4753
4754         * BufferView.C:
4755         * BufferView_pimpl.C:
4756         * bufferview_funcs.C:
4757         * lyx_cb.C:
4758         * lyxcursor.C:
4759         * lyxfind.C:
4760         * lyxfunc.C:
4761         * lyxtext.h:
4762         * text.C:
4763         * text2.C:
4764         * text3.C:
4765         * text_funcs.[Ch]:
4766         * textcursor.[Ch]:
4767         * undo_funcs.C: adjust
4768
4769 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4770
4771         * text2.C (incrementItemDepth): new function, use a backtracking
4772         algorithm to discover the correct item depth.
4773         (resetEnumCounterIfNeeded): new function, use a backtracking
4774         algorithm to discover if counter reset is needed.
4775         (setCounter): use them. Simplify a bit. Add different labels for
4776         different item depths for itemize.
4777
4778         * paragraph.C (Paragraph): remove initialization of enumdepth
4779         (operator=): ditto
4780
4781         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4782         enumerate and itemize. Change the type of itemdepth to signed char.
4783
4784 2003-10-08  André Pönitz  <poenitz@gmx.net>
4785
4786         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4787           thing assignable.
4788         * text.C:
4789         * text2.C: adjust
4790
4791         * tabular.[Ch]: fix crash after 'row-insert'
4792
4793 2003-10-08  Angus Leeming  <leeming@lyx.org>
4794
4795         Fix doxygen warnings.
4796
4797         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4798         Remove CutAndPaste:: prefix from header file declaration.
4799
4800         * LColor.h (fill): remove LColor:: prefix from declaration.
4801
4802         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4803         use lyx::depth_type rather than Paragraph::depth_type so that
4804         header file and .C file match.
4805
4806         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4807
4808         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4809         * aspell.C: \file aspell_local.C -> \file aspell.C
4810         * gettext.C: \file gettext.C -> \file src/gettext.C
4811         * gettext.h: \file gettext.h -> \file src/gettext.h
4812         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4813         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4814         * text.C: \file text.C -> \file src/text.C
4815
4816         * toc.C: move comment so that doxygen is not confused.
4817
4818 2003-10-07  Angus Leeming  <leeming@lyx.org>
4819
4820         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4821
4822 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4823
4824         * aspell.C:
4825         * aspell_local.h: add forgotten std::string's.
4826
4827 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4828
4829         * LaTeXFeatures.C:
4830         * LyXAction.C:
4831         * factory.C:
4832         * lfuns.h:
4833         * lyxfunc.C:
4834         * text3.C: The Box patch. Fancybox support, minipage, parbox
4835
4836 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4837
4838         * CutAndPaste.h:
4839         * DepTable.h:
4840         * FloatList.h:
4841         * LaTeXFeatures.h:
4842         * ParagraphParameters.h:
4843         * TextCache.h:
4844         * Thesaurus.h:
4845         * bufferlist.h:
4846         * exporter.h:
4847         * importer.h:
4848         * lastfiles.h:
4849         * lyxfind.h:
4850         * lyxfont.h:
4851         * lyxlex.h:
4852         * lyxtextclasslist.h:
4853         * messages.h:
4854         * paragraph.h:
4855         * paragraph_pimpl.C:
4856         * textcursor.h: add <string> and other small fixes to make Lars'
4857         std::string patch compile with STLport.
4858
4859 2003-10-06  Angus Leeming  <leeming@lyx.org>
4860
4861         * LColor.h: Add missing #include <string>.
4862
4863 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4864
4865         * All most all file in all subdirs: Make <string> be the prefered
4866         way of getting to std::string, add using declarations.
4867
4868 2003-10-06  André Pönitz  <poenitz@gmx.net>
4869
4870         * metricsinfo.C: initialize LyXFont before changing attribute.
4871         (fixes the 'math in \emph is upright' bug)
4872
4873 2003-10-06  André Pönitz  <poenitz@gmx.net>
4874
4875         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4876
4877 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4878
4879         * graph.C:
4880         * paragraph_pimpl.C: Small fixes to build using STLport
4881
4882 2003-10-02  André Pönitz  <poenitz@gmx.net>
4883
4884         * lyxfunc.C:
4885         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4886
4887 2003-10-01  André Pönitz  <poenitz@gmx.net>
4888
4889         * factory.C: assert early
4890
4891 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4892
4893         * lyx_main.C: remove the global debug object
4894
4895         * debug.h: adjust for new debugstream
4896
4897         * debug.C: adjust for new debugstream and keep the global debug
4898         object here.
4899
4900 2003-09-22  Angus Leeming  <leeming@lyx.org>
4901
4902         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4903         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4904         an incomplete class LyXFont.
4905
4906 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4907
4908         * factory.C: bug fix in branches
4909
4910 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4911
4912         * lyxfunc.C (processKeySym): adjust
4913         (dispatch): adjust
4914         (dispatch): change arg name from ev to func, adjust
4915         (sendDispatchMessage): ditto
4916
4917         * lyx_main.C (defaultKeyBindings): adjust keybindings
4918         (deadKeyBindings): ditto
4919
4920         * kbsequence.C (addkey): return a FuncRequest
4921
4922         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4923
4924         * kbmap.C (bind): take a FuncRequest as arg, adjust
4925         (read): adjust
4926         (lookup): adjust
4927         (defkey): change to take a FuncRequest as arg, adjust
4928         (findbinding): take a FuncRequest as arg, adjust.
4929
4930         * funcrequest.h (operator=): added
4931
4932         * funcrequest.C (FuncRequest): default kb_action changed from
4933         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4934
4935         * buffer.C (dispatch): simplify
4936         (dispatch): adjust to take a FuncRequest as arg, adjust
4937
4938         * boost.C (assertion_failed): change assertion message slightly
4939
4940         * ToolbarBackend.C (read): simplify
4941
4942         * MenuBackend.C (binding): adjust call to findbinding, add a
4943         message if no binding is found.
4944         (read): simplify
4945         (expandToc): correct by adding a empty FuncRequest
4946
4947         * LyXAction.C: include <boost/assert.hpp>
4948         (isPseudoAction): delete function
4949         (LookupFunc): change name to...
4950         (lookupFunc): this. change return type to FuncRequest.
4951         (getActionName): take kb_action as arg, simplify
4952         (funcHasFlag): add an assert, simplify.
4953
4954 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4955
4956         * toc.C (action): return a FuncRequest, simplify
4957
4958         * lyxfunc.C (processKeySym): adjust
4959         (getStatus): delete version that takes an int.
4960         (getStatus): adjust
4961         (dispatch): delete version that takes action as int
4962         (dispatch): adjust
4963         (sendDispatchMessage): simplify and adjust
4964
4965         * funcrequest.C (getArg): take unsigned int as arg
4966
4967         * ToolbarBackend.C (read): adjust
4968         (add): delete version that takes func as a string.
4969         (getIton): take a FuncRequest as arg
4970
4971         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4972         action.
4973
4974         * MenuBackend.C (MenuItem): add a new construct that only takes a
4975         Kind, simplify the constructor use for submenus.
4976         (add): adjust
4977         (expandLastfiles): adjust
4978         (expandDocuments): adjust
4979         (expandFormats): adjust
4980         (expandFloatListInsert): adjust
4981         (expandFloatInsert): adjust
4982         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4983
4984         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4985         Remove class variables lyx_pseudo_map and lyx_arg_map
4986
4987         * LyXAction.C (searchActionArg): delete function
4988         (getPseudoAction): delete function
4989         (retrieveActionArg): delete function
4990         (LookupFunc): make it return kb_action, simplify.
4991         (getActionName): simplify
4992
4993         * factory.C (createInset): fix new bug
4994
4995 2003-09-19  Angus Leeming  <leeming@lyx.org>
4996
4997         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4998         masterFilename_ parameter in the include inset.
4999
5000         * factory.C (createInset): changes due to the changes to InsetInclude.
5001
5002 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5003
5004         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5005
5006 2003-09-18  Angus Leeming  <leeming@lyx.org>
5007
5008         * buffer.C:
5009         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5010         Inset::fillWithBibKeys.
5011         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5012
5013 2003-09-18  Angus Leeming  <leeming@lyx.org>
5014
5015         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5016         variables.
5017         (ctor): pass and store a 'Buffer const &'
5018         (buffer): new member function.
5019
5020         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5021         '*this' to the LaTeXFeatures ctor.
5022
5023 2003-09-18  Angus Leeming  <leeming@lyx.org>
5024
5025         * LColor.h:
5026         * lyxfont.C:
5027         * lyxfont.h:
5028         * lyxtext.h:
5029         * text.C: rename EnumLColor as LColor_color.
5030
5031 2003-09-18  Angus Leeming  <leeming@lyx.org>
5032
5033         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5034         remove #include "insets/insetbase.h" from cursor.h.
5035
5036 2003-09-18  Angus Leeming  <leeming@lyx.org>
5037
5038         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5039         InsetOld_code to remove #include "inset.h".
5040
5041         * iterators.C: add #include "insets/inset.h"
5042
5043 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5044
5045         * BufferView.C: remove more locking stuff that apparently doesn't
5046         do anything sensible.
5047
5048 2003-09-16  André Pönitz  <poenitz@gmx.net>
5049
5050         * paragraph.[Ch]:
5051         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5052           performance boost.
5053
5054 2003-09-16  Angus Leeming  <leeming@lyx.org>
5055
5056         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5057
5058         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5059         arg/return type.
5060
5061         * paragraph.h: remove #include "lyxfont.h". Forward declare
5062         LyXFont_size.
5063
5064 2003-09-16  Angus Leeming  <leeming@lyx.org>
5065
5066         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5067         of support/textutils.h.
5068         (isWord): move the contents of support/textutils.h's IsWordChar here.
5069
5070         * buffer.C:
5071         * lyxfind.C:
5072         * rowpainter.C:
5073         * text.C:
5074         * text2.C: add #include "paragraph.h".
5075
5076         * rowpainter.C:
5077         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5078
5079 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5080
5081         * main.C:
5082         * lyx_main.C:
5083         * lyx_cb.C:
5084         * buffer.C:
5085         * LaTeX.C: use namespace alias for lyx::support::os
5086
5087 2003-09-16  Angus Leeming  <leeming@lyx.org>
5088
5089         * bufferparams.C:
5090         * bufferview_funcs.C:
5091         * factory.C:
5092         * lyxfunc.C:
5093         * paragraph_pimpl.C:
5094         * rowpainter.C:
5095         * text.C: add #include "LColor.h".
5096
5097 2003-09-16  Angus Leeming  <leeming@lyx.org>
5098
5099         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5100         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5101         return LyXFont &.
5102         Store the FontBits::color variable as an int rather than as an
5103         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5104         file.
5105
5106         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5107         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5108         string calls together.
5109
5110         * lyxrc.C: add #include "LColor.h".
5111
5112 2003-09-15  Angus Leeming  <leeming@lyx.org>
5113
5114         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5115         a cow_ptr.
5116
5117 2003-09-15  Angus Leeming  <leeming@lyx.org>
5118
5119         * LColor.h: add an EnumLColor wrapper for LColor::color.
5120
5121         * lyxfont.[Ch] (color, setColor, realColor):
5122         * lyxtext.h, text.C (backgroundColor):
5123         pass EnumLColor args to/from the functions, rather than LColor::color
5124         ones.
5125
5126         * lyxfont.h:
5127         * lyxtext.h: forward declare EnumLColor.
5128
5129         * lyx_main.C: add #include "LColor.h".
5130
5131 2003-09-15  Angus Leeming  <leeming@lyx.org>
5132
5133         * .cvsignore: add lyx-gtk.
5134
5135 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5136
5137         * Chktex.C
5138         * LaTeX.C
5139         * LaTeXFeatures.C
5140         * ParagraphParameters.C
5141         * Spacing.C
5142         * buffer.C
5143         * bufferparams.C
5144         * bufferview_funcs.C
5145         * chset.C
5146         * counters.C
5147         * funcrequest.C
5148         * lyxfont.C
5149         * lyxgluelength.C
5150         * lyxlength.C
5151         * paragraph.C
5152         * paragraph_funcs.C
5153         * text3.C
5154         * vc-backend.C: remove usage of STRCONV
5155
5156 2003-09-15  Angus Leeming  <leeming@lyx.org>
5157
5158         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5159         explicitly define the color passed to the painter.
5160
5161 2003-09-15  Angus Leeming  <leeming@lyx.org>
5162
5163         * bufferparams.C (BufferParams): reorder member initializers to avoid
5164         compiler warning.
5165
5166 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5167
5168         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5169         * text.C (updateRowPositions): remove an unusual nop
5170
5171 2003-09-12  André Pönitz  <poenitz@gmx.net>
5172
5173         * BufferView_pimpl.C:
5174         * Bullet.C:
5175         * layout.h:
5176         * lyxfunc.C:
5177         * lyxlayout.[Ch]:
5178         * lyxtextclass.C:
5179         * rowpainter.C:
5180         * text.C:
5181         * text2.C:
5182         * Counters.[Ch]: finish the 'automatic counters' job
5183
5184 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5185
5186         * aspell.C: include <boost/assert.cpp> (compile fix)
5187
5188 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5189
5190         * boost.C (assertion_failed): use lyx::support::abort instead of
5191         assert.
5192
5193 2003-09-10  Angus Leeming  <leeming@lyx.org>
5194
5195         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5196         with their _fwd progeny.
5197
5198 2003-09-09  Angus Leeming  <leeming@lyx.org>
5199
5200         134 files throughtout the source tree: replace 'using namespace abc;'
5201         directives with the appropriate 'using abc::xyz;' declarations.
5202
5203 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5204
5205         * boost.C (emergencyCleanup): moved here from LAssert.c
5206         (assertion_failed): new function, called by BOOST_ASSERT
5207
5208         * several files: change Assert to BOOST_ASSERT
5209
5210 2003-09-09  Angus Leeming  <leeming@lyx.org>
5211
5212         * buffer.[Ch]: Add an Impl class and move Buffer's member
5213         variables into it. As a result move several header files out of
5214         buffer.h.
5215
5216         Add header files to lots of .C files all over the tree as a result.
5217
5218 2003-09-09  Angus Leeming  <leeming@lyx.org>
5219
5220         * buffer.[Ch]: make Buffer's member variables private. Add
5221         accessor functions.
5222
5223         Lots of changes all over the tree as a result.
5224
5225 2003-09-08  Angus Leeming  <leeming@lyx.org>
5226
5227         * graph.C: #include <config.h>.
5228
5229 2003-09-08  Angus Leeming  <leeming@lyx.org>
5230
5231         * BranchList.C:
5232         * BufferView.C:
5233         * BufferView_pimpl.C:
5234         * CutAndPaste.C:
5235         * DepTable.C:
5236         * LaTeX.C:
5237         * LaTeXFeatures.C:
5238         * LyXAction.C:
5239         * MenuBackend.C:
5240         * TextCache.C:
5241         * aspell.C:
5242         * buffer.C:
5243         * bufferlist.C:
5244         * changes.C:
5245         * chset.C:
5246         * converter.C:
5247         * counters.C:
5248         * debug.C:
5249         * graph.C:
5250         * ispell.C:
5251         * lyx_cb.C:
5252         * lyxfind.C:
5253         * lyxfunc.C:
5254         * lyxlex_pimpl.C:
5255         * lyxrc.C:
5256         * lyxrow.C:
5257         * paragraph.C:
5258         * rowpainter.C:
5259         * texrow.C:
5260         * text.C:
5261         * text2.C:
5262         * toc.C: remove redundant using directives.
5263
5264 2003-09-07  Angus Leeming  <leeming@lyx.org>
5265
5266         * LaTeXFeatures.h: remove #include "support/types.h".
5267         * ToolbarBackend.h: remove #include <algorithm>.
5268         * changes.h: remove #include <ctime>.
5269         * debug.h: remove #include <iosfwd>.
5270         * graph.h: remove #include "support/std_string.h".
5271         * lyx_main.h: remove #include <csignal>.
5272         * lyxlex_pimpl.h: remove #include <fstream>.
5273         * sgml.h: remove #include <algorithm>, <utility>.
5274         * toc.h: remove #include "support/std_ostream.h".
5275         Add #include <iosfwd>.
5276
5277 2003-09-07  Angus Leeming  <leeming@lyx.org>
5278
5279         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5280
5281         * converter.h: forward declare LatexRunParams.
5282         * encoding.h: remove #include "lyxrc.h".
5283         * lyxtext.h: remove #include "LColor.h".
5284         * lyxtextclass.h: remove #include "support/types.h".
5285         * trans.h: remove #include "tex-accent.h".
5286         * trans_mgr.h: remove #include "tex-accent.h".
5287         * insets/inset.h: remove #include "support/types.h", <vector>.
5288         * insets/insetcollapsable.h: remove #include "LColor.h".
5289         * insets/insetinclude.h: remove #include "dimension.h".
5290         * insets/insetlatexaccent.h: remove #include "dimension.h".
5291         * insets/insetoptarg.h:: remove #include "insettext.h".
5292         * insets/insettext.h: remove #include "dimension.h",
5293         <boost/shared_ptr.hpp>
5294
5295         * insets/renderers.h: add #include "dimension.h".
5296         * insets/updatableinset.h: add #include "support/types.h".
5297
5298         * many .C files: Associated changes.
5299
5300 2003-09-06  Angus Leeming  <leeming@lyx.org>
5301
5302         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5303         one, inside testInvariant.
5304
5305         * PrinterParams.C: new file.
5306         * PrinterParams.[Ch]: move the function bodies out of line.
5307
5308 2003-09-06  Angus Leeming  <leeming@lyx.org>
5309
5310         * ParagraphParameters.h: forward declare ParameterStruct rather than
5311         including its header file.
5312         (depth): moved out-of-line.
5313
5314 2003-09-06  Angus Leeming  <leeming@lyx.org>
5315
5316         * BufferView_pimpl.h:
5317         * kbmap.h:
5318         * kbsequence.h:
5319         * lyxfunc.h: forward declare LyXKeySym rather than
5320         #include "frontends/LyXKeySym.h".
5321
5322         * BufferView_pimpl.C:
5323         * kbmap.C:
5324         * kbsequence.C:
5325         * lyxfunc.C: associated changes.
5326
5327 2003-09-06  Angus Leeming  <leeming@lyx.org>
5328
5329         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5330         As a result, can remove the #include "insets/inset.h" from BufferView.h
5331
5332 2003-09-06  Angus Leeming  <leeming@lyx.org>
5333
5334         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5335         As a result, can remove the #include "insets/inset.h" from BufferView.h
5336
5337 2003-09-06  Angus Leeming  <leeming@lyx.org>
5338
5339         * buffer_funcs.C:
5340         * buffer.h:
5341         * bufferlist.C:
5342         * BufferView.C:
5343         * bufferview_funcs.C:
5344         * BufferView_pimpl.C:
5345         * CutAndPaste.C:
5346         * lyx_cb.C:
5347         * lyxfunc.C:
5348         * paragraph.h:
5349         * ParagraphParameters.C:
5350         * tabular.C:
5351         * text3.C:
5352         * toc.C:
5353         * undo_funcs.C:
5354         * frontends/controllers/ControlDocument.C:
5355         * insets/insetcaption.C: rearrange the #includes into some sort of
5356         coherent order.
5357
5358         * buffer.h: remove #includes ErrorList.h, undo.h
5359
5360 2003-09-06  Angus Leeming  <leeming@lyx.org>
5361
5362         * support/types.h: add a 'depth_type' typedef, used to store the
5363         nesting depth of a paragraph.
5364
5365         * paragraph.h:
5366         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5367         defining explicitly.
5368
5369         * buffer.h:
5370         * paragraph_funcs.h:
5371         * ParagraphParameters.h:
5372         * sgml.h: use lyx::depth_type rather than Paragraph or
5373         ParameterStruct's depth_type.
5374
5375         * buffer.h
5376         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5377
5378         * BufferView.C:
5379         * BufferView_pimpl.C:
5380         * CutAndPaste.C:
5381         * ParagraphParameters.C:
5382         * buffer_funcs.C:
5383         * bufferlist.C:
5384         * bufferview_funcs.C:
5385         * lyx_cb.C:
5386         * lyxfunc.C:
5387         * tabular.C:
5388         * text3.C:
5389         * toc.C:
5390         * undo_funcs.C:
5391         * frontends/LyXView.C:
5392         * frontends/controllers/ControlDocument.C:
5393         * frontends/controllers/ControlErrorList.C:
5394         * insets/insetbibitem.C:
5395         * insets/insetbranch.C:
5396         * insets/insetcaption.C:
5397         * insets/insetcollapsable.C:
5398         * insets/insetenv.C:
5399         * insets/insetert.C:
5400         * insets/insetfloat.C:
5401         * insets/insetfoot.C:
5402         * insets/insetfootlike.C:
5403         * insets/insetnewline.C:
5404         * insets/insetquotes.C:
5405         * insets/insettabular.C:
5406         * insets/insettext.C:
5407         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5408
5409         * frontends/controllers/ControlChanges.C: #include "changes.h".
5410
5411 2003-09-06  Angus Leeming  <leeming@lyx.org>
5412
5413         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5414         than #including paragraph.h.
5415
5416         * ParagraphList.h:
5417         * RowList.h: deleted. Superfluous.
5418
5419         * CutAndPaste.h:
5420         * iterators.h:
5421         * lyxcursor.h:
5422         * lyxtext.h:
5423         * text_funcs.h:
5424         * undo.h:
5425         * undo_funcs.h:
5426         * insets/inset.h:
5427         * insets/insettext.h: use ParagraphList_fwd.h rather than
5428         ParagraphList.h.
5429
5430         * paragraph.h: don't forward declare ParagraphList.
5431
5432         * buffer.h:
5433         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5434         rather than ParagraphList.h. paragraph.h is still needed for the
5435         Paragraph::depth_type parameters.
5436
5437         * textcursor.h: enable it to compile stand-alone in light of the
5438         above changes.
5439
5440         * bufferview_funcs.C:
5441         * iterators.C:
5442         * lyxfunc.C:
5443         * lyxrow_funcs.C:
5444         * paragraph.C:
5445         * rowpainter.C:
5446         * text.C:
5447         * text2.C:
5448         * text3.C:
5449         * text_funcs.C:
5450         * textcursor.C:
5451         * undo.C:
5452         * frontends/controllers/ControlParagraph.C:
5453         * frontends/controllers/ControlTabular.C:
5454         * insets/insetmarginal.C:
5455         * insets/insetminipage.C:
5456         * insets/insetnote.C:
5457         * insets/insetoptarg.C: add header files needed to compile again.
5458
5459 2003-09-06  Angus Leeming  <leeming@lyx.org>
5460
5461         * RowList_fwd.h: new file, forward-declaring Row rather than
5462         #including lyxrow.h.
5463
5464         * lyxrow_funcs.h:
5465         * lyxtext.h:
5466         * paragraph.h:
5467         * insets/insettext.h: use it instead of RowList.h
5468
5469         * bufferview_funcs.C:
5470         * lyxfunc.C:
5471         * lyxrow_funcs.C:
5472         * paragraph.C:
5473         * rowpainter.C:
5474         * text.C:
5475         * text2.C:
5476         * text3.C: #include "RowList.h".
5477
5478 2003-09-05  Angus Leeming  <leeming@lyx.org>
5479
5480         * factory.C (createInset):
5481         * vspace.C (c-tor): replace sscanf call with an istringstream.
5482         * ispell.C: re-add missing HP/UX headers.
5483         * lyxserver.C: re-add missing  os2 headers.
5484
5485 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5486
5487         * BranchList.C:
5488         * graph.C:
5489         * ispell.C:
5490         * lastfiles.C:
5491         * lyx_cb.C:
5492         * lyxserver.C:
5493         * texrow.C:
5494         * text3.C: re-add missing system headers, needed for 2.95.2.
5495
5496 2003-09-05  Angus Leeming  <leeming@lyx.org>
5497
5498         Changes most place everywhere due to the removal of using directives
5499         from support/std_sstream.h.
5500
5501 2003-09-05  Angus Leeming  <leeming@lyx.org>
5502
5503         Replace LString.h with support/std_string.h,
5504         Lsstream.h with support/std_sstream.h,
5505         support/LIstream.h with support/std_istream.h,
5506         support/LOstream.h with support/std_ostream.h.
5507
5508         Changes resulting throughout the tree.
5509
5510 2003-09-05  Angus Leeming  <leeming@lyx.org>
5511
5512         * sgml.h: ensure that the header file can be compiled stand-alone.
5513         * *.C: strip out redundant #includes. (320 in total.)
5514
5515 2003-09-04  Angus Leeming  <leeming@lyx.org>
5516
5517         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5518         here (from getPackages).
5519
5520         * debug.[Ch]: add a new EXTERNAL tag.
5521
5522 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5523
5524         * text2.C (cursorEnd): simplify
5525         (setCursor): adjust
5526         (getColumnNearX): adjust
5527
5528         * text.C (computeBidiTables): adjust
5529         (fill): adjust
5530
5531         * rowpainter.C (paintChars): adjust
5532         (paintSelection): adjust
5533         (paintChangeBar): adjust
5534         (paintText): adjust
5535
5536         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5537         lastPos instead.
5538         (numberOfSeparators): adjust
5539
5540 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5541
5542         * LyXAction.C:
5543         * box.[Ch]:
5544         * lfuns.h:
5545         * lyxfunc.C:
5546         * text3.C: Restricts the mouse click functionality
5547         of insets like bibtex, include, toc and floatlist to the visible
5548         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5549         up the dialogs. Cursor has to be in front of the inset (i.e.
5550         start of row) for this to function.
5551
5552 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5553
5554         * bufferview_funcs.C (currentState): output row information
5555
5556 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5557
5558         * bufferview_funcs.C (currentState): output paragraph position
5559
5560 2003-09-04  Angus Leeming  <leeming@lyx.org>
5561
5562         * FloatList.h: move out #include "Floating.h".
5563         * LaTeX.h: move out #include "DepTable.h".
5564         * LyXAction.h: move out #include "funcrequest.h".
5565         * buffer.h: move out #include "author.h", "iterators.h".
5566         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5567         * lyx_main.h: move out #include "errorlist.h".
5568         * lyxfunc.h: move out #include "FuncStatus.h".
5569         * lyxtext: move out #include "lyxcursor.h".
5570         * paragraph_pimpl.h: move out #include "counters.h".
5571
5572 2003-09-03  Angus Leeming  <leeming@lyx.org>
5573
5574         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5575         preamble_snippets list, enabling us to add snippets to the preamble
5576         only if the snippet was not there already.
5577
5578 2003-09-04  Angus Leeming  <leeming@lyx.org>
5579
5580         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5581
5582 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5583
5584         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5585         update
5586
5587 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5588
5589         * BranchList.C: point fix, earlier forgotten
5590
5591 2003-09-02  Angus Leeming  <leeming@lyx.org>
5592
5593         * box.C (contains): renamed from 'contained' after a fantastic
5594         amount of hot air.
5595
5596 2003-09-02  John Levon  <levon@movementarian.org>
5597
5598         * BufferView.C:
5599         * lyxcursor.h:
5600         * lyxcursor.C:
5601         * lyxfunc.C:
5602         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5603
5604 2003-09-02  John Levon  <levon@movementarian.org>
5605
5606         * text2.C: simplification of cursorEnd(), including partial
5607         fix for bug 1376
5608
5609 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5610
5611         * buffer.C (readFile): add a space
5612
5613 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5614
5615         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5616
5617 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5618
5619         * buffer.C (readFile): new function, take a filename and a
5620         ParagraphList::iterator
5621         (readFile): adjust
5622         (readFile): adjust, make it private. don't use setStream, make
5623         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5624         always contain the filename.
5625
5626         * BufferView.C (insertLyXFile): simplify and make it work for
5627         gzipped files.
5628
5629 2003-08-30  John Levon  <levon@movementarian.org>
5630
5631         * Makefile.am: fix dist (from Kayvan)
5632
5633 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5634
5635         * most files: change to use const Buffer refs
5636
5637 2003-08-27  André Pönitz  <poenitz@gmx.net>
5638
5639         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5640         on top of ownerPar().
5641
5642 2003-08-27  John Levon  <levon@movementarian.org>
5643
5644         * funcrequest.C: properly initialise POD members
5645
5646 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5647
5648         * lyxtext.h (top_y): move top_y from here
5649         * text.C:
5650         * text2.C:
5651         * text3.C:
5652         * BufferView.[Ch]:
5653         * BufferView_pimpl.[Ch]: to here
5654         * frontends/screen.C:
5655         * insets/insettabular.C:
5656         * insets/insettext.C: adjust
5657         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5658
5659 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5660
5661         * BufferView.[Ch]:
5662         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5663
5664 2003-08-26  André Pönitz  <poenitz@gmx.net>
5665
5666         * paragraph_func.[Ch] (outerPar): new function
5667
5668         * paragraph.C:
5669         * paragraph_funcs.C:
5670         * paragraph_funcs.h:
5671         * paragraph_pimpl.C:
5672         * text2.C: remove Inset::par_owner
5673
5674 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5675
5676         * lyxrow_funcs.C:
5677         * lyxtext.h:
5678         * text.C:
5679         * text2.C: eliminates the needFullRow/display() stuff
5680         altogether, putting the logic in metrics/draw in the insets.
5681
5682 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5683
5684         * text2.C (redoParagraphInternal, redoParagraphs):
5685         * text.C (redoParagraph): add a call to updateRowPositions at the
5686         end of each 'metrics-like' call. Remove all others.
5687         (getRow): remove the 'y-computing' version.
5688         (getRowNearY): do not compute nor return the real y. Solve the
5689         'y < 0' problem and simplify.
5690
5691 2003-08-22  Angus Leeming  <leeming@lyx.org>
5692
5693         * *.[Ch]: clean-up of licence and author blurbs.
5694         Also move config.h out of a few .h files and into a few .C files.
5695
5696 2003-08-22  André Pönitz  <poenitz@gmx.net>
5697
5698         * lyxrow.[Ch]: add x_ and *fill_ members
5699
5700         * lyxtext.h:
5701         * text.C:
5702         * rowpainter.C:
5703         * text2.C: adjust/remove prepareToPrint() calls
5704
5705 2003-08-22  André Pönitz  <poenitz@gmx.net>
5706
5707         * lyxrow.[Ch]: add  end_ member
5708
5709         * lyxrow_funcs.C: use LyXRow::end_
5710
5711         * lyxtext.h (singleWidth): add LyXFont parameter
5712
5713         * rowpainter.C:
5714         * text2.C: adjust LyXText::singleWidth() calls
5715
5716         * text.C (redoParagraph): simplify row breaking logic
5717
5718
5719 2003-08-19  André Pönitz  <poenitz@gmx.net>
5720
5721         * funcrequest.C: initialize button_ member
5722
5723         * text3.C:
5724         * rowpainter.[Ch]: interface consolidation
5725
5726 2003-08-18  André Pönitz  <poenitz@gmx.net>
5727
5728         * BufferView.C:
5729         * BufferView_pimpl.C:
5730         * lyxfind.C:
5731         * paragraph_funcs.C:
5732         * rowpainter.C:
5733         * text3.C: remove LyXScreen::draw() and fitCursor calls
5734
5735         * BranchList.h: remove spurious semicolons
5736
5737         * MenuBackend.C: fix branchlist related crash
5738
5739 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5740
5741         * BranchList.[Ch]:
5742         * InsetList.[Ch]:
5743         * LColor.[Ch]:
5744         * LyXAction.C:
5745         * Makefile.am:
5746         * MenuBackend.[Ch]:
5747         * bufferparams.[Ch]:
5748         * factory.C:
5749         * lfuns.h:
5750         * lyxfunc.C:
5751         * text3.C: implements the 'branch inset'
5752         idea. This allows the output of various versions of a document
5753         from a single source version, selectively outputing or suppressing
5754         output of parts of the text.
5755         This implementation contains a 'branch list editor' in a separate
5756         tab of the document settings dialog. Branches are user definable
5757         and have a "display colour" to distinguish them on-screen.
5758
5759         ColorHandler was somewhat cleaned up.
5760         (1) make possible a dynamically growing LColor list by allowing
5761         the graphic context cache to grow along (vector);
5762         (2) eliminate an IMHO unnecessary step in colour allocation.
5763
5764 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5765
5766         * BufferView_pimpl.C: compile fix
5767
5768 2003-08-15  André Pönitz  <poenitz@gmx.net>
5769
5770         * rowpainter.C: remove extra metrics calls
5771
5772         * lyxtext.h: merge the two constructors into a single one,
5773           pass reference to owner's par list
5774
5775         * BufferView_pimpl.C:
5776         * text.C:
5777         * text2.C: adjust
5778
5779 2003-08-15  André Pönitz  <poenitz@gmx.net>
5780
5781         * lyxrow_funcs.[Ch]:
5782         * lyxtext.h:
5783         * paragraph.h:
5784         * paragraph_funcs.C:
5785         * rowpainter.C:
5786         * text.C:
5787         * text2.C:
5788         * text3.C:
5789         * text_funcs.C: split LyXText::rowlist_ into individual
5790         Paragraph::rows_ chunks
5791
5792         * BufferView.[Ch]:
5793         * BufferView_pimpl.[Ch]:
5794         * lyxfind.C:
5795         * lyxtext.h:
5796         * text3.C: remove toggleSelection()
5797
5798 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5799
5800         * bufferlist.C: beautify two alerts (shorter text of buttons)
5801         * buffer.C: Remove redundant ' ' from message
5802         * tabular.h:
5803         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5804         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5805         rename VALIGN_CENTER to VALIGN_MIDDLE
5806
5807 2003-08-11  André Pönitz  <poenitz@gmx.net>
5808
5809         * lyxtext.h (getPar):
5810         * text.C: new function
5811
5812 2003-08-11  André Pönitz  <poenitz@gmx.net>
5813
5814         * Makefile.am:
5815         * tracer.[Ch]: remove unneeded files
5816
5817         * InsetList.[Ch]: remove resizeInsetsLyXText()
5818
5819         * lyxtext.h:
5820         * text.C:
5821         * text2.C:
5822         * text3.C: merge insertParagraphs() and appendParagraph()
5823         remove breakAgain(), update()
5824
5825         * BufferView_pimpl.[Ch]:
5826         * bufferview_funcs.[Ch]:
5827         * lyxfunc.C:
5828         * paragraph.[Ch]:
5829         * rowpainter.C:
5830         * tabular.C: adjust after text & InsetList changes.
5831
5832 2003-08-08  André Pönitz  <poenitz@gmx.net>
5833
5834         * text.C (insertChar, backspace): replace rowlist fiddling
5835         with rebreak of full par
5836
5837         * lyxtext.h:
5838         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5839         checkParagraph, updateInset): removed
5840
5841 2003-08-07  André Pönitz  <poenitz@gmx.net>
5842
5843         * paragraph.C:
5844         * text3.C: merge some LFUN handlers, remove dead code
5845
5846 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5847
5848         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5849
5850 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5851
5852         * text2.C (DEPM): fix part of bug 1255 and 1256
5853
5854 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5855
5856         * BufferView_pimpl.C (workAreaDispatch): change to use
5857         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5858         that are no mouse related.
5859
5860 2003-08-05  André Pönitz  <poenitz@gmx.net>
5861
5862         * BufferView.[Ch]:
5863         * BufferView_pimpl.[Ch]:
5864         * bufferview_funcs.C:
5865         * text2.C:
5866         * text3.C: rip out "deep update"
5867
5868         * textcursor.[Ch] (last_sel_cursor): remove unused member
5869
5870 2003-08-04  André Pönitz  <poenitz@gmx.net>
5871
5872         * BufferView.[Ch]:
5873         * BufferView_pimpl.[Ch]:
5874         * ParagraphParameters.C:
5875         * bufferview_funcs.C:
5876         * lyx_cb.C:
5877         * lyxfind.C:
5878         * lyxfunc.C:
5879         * text.C:
5880         * text2.C:
5881         * text3.C: replace "complicated" BufferView::update(...) calls with
5882         simpler ones.
5883
5884         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5885
5886 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5887
5888         * Makefile.am (lyx_SOURCES): add paper.h
5889
5890 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5891
5892         * Makefile.am: move things around so that both lyx-qt and
5893         lyx-xforms can be built (according to --with-frontend). Then lyx
5894         is a symbolic link to lyx-[firstfrontend]
5895
5896 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5897
5898         * Always use std::endl with lyxerr
5899
5900 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5901
5902         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5903
5904 2003-08-01  André Pönitz  <poenitz@gmx.net>
5905
5906         * BufferView.[Ch]:
5907         * BufferView_pimpl.[Ch]:
5908         * lyxfunc.C:
5909         * text3.C: merge BufferView::repaint() and BufferView::update()
5910
5911 2003-08-01  José Matos  <jamatos@lyx.org>
5912
5913         * buffer.[Ch]: file_format is no longer a buffer data element.
5914
5915 2003-08-01  André Pönitz  <poenitz@gmx.net>
5916
5917         * BufferView.C:
5918         * lyxtext.h:
5919         * text.C:
5920         * text2.C: make redoParagraph more independent of current cursor
5921
5922         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5923         * text.C:
5924         * text2.C: remove unneeded members
5925
5926 2003-07-30  André Pönitz  <poenitz@gmx.net>
5927
5928         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5929
5930         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5931           create a single function...
5932
5933         * paragraph_funcs.C (moveItem): ... here.
5934
5935         * text.C:
5936           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5937
5938 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5939
5940         * LColor.[Ch]: Add comment and greyedout logical colors.
5941
5942 2003-07-30  André Pönitz  <poenitz@gmx.net>
5943
5944         * tabular.C: don't use Assert too heavily. This crashes where it
5945           shouldn't
5946
5947 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5948
5949         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5950         is disabled (bug 1232)
5951
5952 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5953
5954         * factory.C: limited 'arg' scope
5955
5956 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5957
5958         * factory.C: fixed Note submenu issues
5959
5960 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5961
5962         * factory.C: submenu for Note/Comment/Greyedout
5963
5964 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5965
5966         * lyx_main.C (LyX):
5967         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5968
5969 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5970
5971         * LaTeXFeatures.C:
5972         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5973         greyedout. Patch provided by Jürgen Spitzmüller.
5974
5975 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5976
5977         * kbmap.C (read): fix error message when reading bind files
5978
5979 2003-07-29  Angus Leeming  <leeming@lyx.org>
5980
5981         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5982         certainly does not do what it purports to do. I am doing it, and
5983         us, a favour by killing it.
5984
5985 2003-07-28  José Matos  <jamatos@lyx.org>
5986
5987         * buffer.C (readBody, do_writeFile):
5988         * paragraph.C(readParagraph): \end_document replaces \the_end.
5989
5990 2003-07-29  André Pönitz  <poenitz@gmx.net>
5991
5992         * BufferView.[Ch]:
5993         * BufferView_pimpl.[Ch]:
5994         * lyxfunc.C:
5995         * text2.C:
5996         * text3.C:
5997         * textcursor.[Ch]: remove toggleToggle & Co
5998
5999 2003-07-28  José Matos  <jamatos@fep.up.pt>
6000
6001         * buffer.C (readParagraph):
6002         * params_func (readParToken, readParagraph):
6003         * paragraph.C (write): \layout -> \begin_layout.
6004
6005 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6006
6007         * lyxlex_pimpl.C (setFile): clean up slightly.
6008
6009         * bufferparams.h: add compressed var
6010
6011         * buffer_funcs.C (readFile): adjust for LyXLex change
6012         (newFile): ditto + simplify
6013
6014         * buffer.C (writeFile): handle writing of compressed files
6015
6016         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6017         Check if the file is compressed and set a bufferparm if so.
6018
6019         * Makefile.am (lyx_LDADD): remove explicit -lz
6020
6021 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6022
6023         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6024         makeDocBookFile): put the real LyX version in the first line of
6025         the file
6026
6027         * version.h:
6028         * version.C.in: remove lyx_docversion
6029
6030         * tabular.C (write_attribute): add a template-based version to
6031         write enums properly
6032
6033 2003-07-28  André Pönitz  <poenitz@gmx.net>
6034
6035         * lyxtext.h:
6036         * text.C:
6037         * text2.C:
6038         * text3.C: use doubles again for x-coordinates. They are needed.
6039
6040 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6041
6042         * messages.C (getLocaleDir): use lyx_localedir()
6043
6044         * lyxlex_pimpl.C (setFile): compress stuff
6045
6046         * buffer.C (writeFile): add some compression stuff
6047         (do_writeFile): new func, dont call expliti close... will this
6048         breake anything?
6049
6050         * Makefile.am (lyx_LDADD): add -lz
6051
6052 2003-07-28  José Matos  <jamatos@fep.up.pt>
6053
6054         * buffer.C: increment file format.
6055         * paragraph_funcs (readParagraph, readParToken):
6056         * paragraph.C (readParagraph): add \end_layout.
6057
6058 2003-07-27  Angus Leeming  <leeming@lyx.org>
6059
6060         * Makefile.am: remove special casing for configure-time setting of
6061         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6062
6063         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6064         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6065
6066 2003-07-26  André Pönitz  <poenitz@gmx.net>
6067
6068         * paragraph_func.[Ch]:
6069         * paragraph.C (realizeFont): inline it whereever it is used
6070
6071         * rowpainter.C:
6072         * text.C:
6073         * text2.C:
6074         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6075
6076
6077 2003-07-26  André Pönitz  <poenitz@gmx.net>
6078
6079         *       lyxtext.h:
6080         * text.C:
6081         * text2.C: get rid of LyXText::need_break_row
6082
6083 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6084
6085         * toc.[Ch]: put namespace toc inside namespace lyx
6086
6087         * MenuBackend.C (expandToc2): adjust for lyx::toc
6088         (expandToc): ditto
6089
6090         * lyxfunc.C (dispatch): adjust for lyx::find
6091
6092         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6093         lyx::find instead. Reorganize a bit.
6094         (LyXReplace): rename to replace
6095         (LyXFind): rename to find
6096
6097         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6098         (dispatch): ditto
6099
6100 2003-07-26  André Pönitz  <poenitz@gmx.net>
6101
6102         * text.C (setHeightOfRow): restrict scope of temporary variable
6103
6104         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6105           code (never has been used?)
6106
6107 2003-07-27  Asger Alstrup  <alstrup@local>
6108
6109         * text.C (fill): Optimise algorithm to exploit that we can reuse
6110         the LyXFont for many characters.
6111         (setHeightOfRow): Same thing.
6112         (rowBreakPoint): Same thing.
6113
6114 2003-07-26  Asger Alstrup  <alstrup@local>
6115
6116         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6117
6118         * text.C (singleWidth): Spurious font copying in hot-spot
6119         singleWidth avoided. Reorder tests for arabic for efficiency.
6120
6121         * text.C (fill): handle empty paragraphs better.
6122
6123 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6124
6125         * ispell.C:
6126         * encoding.h: add includes
6127
6128         * lyxrc.C: remove reading of bind files
6129
6130         * lyx_main.C (init): setup bindings and menus only if we have a
6131         gui.
6132
6133         * kbmap.C (read): new method. Do the actual reading of bind
6134         files.
6135
6136         * converter.C (dvipdfm_options):
6137         * bufferparams.C:
6138         * lyxrc.C (read):
6139         (output): adapt PAPER_* enums.
6140
6141         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6142
6143         * bufferparams.h: remove paper-related enums from there
6144
6145         * paper.h: New file. A trivial header file to hold paper-related
6146         enums. It should later expand to contain many paper-related
6147         horrors access.
6148
6149         * lyxrc.C: declare extern displayTranslator
6150
6151 2003-07-27  José Matos  <jamatos@fep.up.pt>
6152
6153         * tabular.[Ch] (linuxdoc): add support for tables and figures
6154         (linuxdoc).
6155
6156 2003-07-27  José Matos  <jamatos@fep.up.pt>
6157
6158         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6159         consistency in both functions.
6160         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6161
6162 2003-07-26  Asger Alstrup  <alstrup@local>
6163
6164         * rowpainter.C (paintRows): Change algorithm to work directly on
6165         the insets rather than asking every character in the document
6166         whether its an inset.
6167
6168 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6169
6170         * buffer.C (openFileWrite): factorize some code
6171
6172 2003-07-26  Angus Leeming  <leeming@lyx.org>
6173
6174         * lyx_cb.C:
6175         * lyx_main.[Ch]: replace occurances of system_tempdir with
6176         os::getTmpDir().
6177
6178 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6179
6180         * rename Inset to InsetOld
6181
6182 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6183
6184         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6185         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6186         which I think is a bit clearer. EDIT is gone, since it was
6187         premature optimisation, and broken for mathed anyway.
6188         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6189         with cursor positioning in insets as well (math insets still do not
6190         work, but that's a different story anyway.) It mysteriously
6191         crashes sometimes with undo in the first paragraph, but I'm fairly
6192         confident that this is a compiler bug.
6193
6194 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6195
6196         * paragraph.C (Paragraph): adjust for new clone return type
6197         (operator==): ditto
6198         (copyIntoMinibuffer): ditto
6199
6200 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6201
6202         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6203         by not having a special case, and always doing a full rebreak of
6204         the document after undo.
6205
6206 2003-07-23  Angus Leeming  <leeming@lyx.org>
6207
6208         * factory.C (createInset): InsetExternal::setParams now takes a
6209         Buffer const * arg.
6210
6211 2003-07-23  Angus Leeming  <leeming@lyx.org>
6212
6213         * factory.C (createInset): changed interface to the external and
6214         graphics mailers' string2params functions.
6215
6216 2003-07-23  Angus Leeming  <leeming@lyx.org>
6217
6218         * factory.C (createInset): pass a
6219         Buffer const * parameter to InsetExternalMailer's string2params.
6220
6221 2003-07-22  John Levon  <levon@movementarian.org>
6222
6223         * Thesaurus.h: include the right aiksaurus header
6224
6225 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6226
6227         * MenuBackend.C (expand): check menu shortcuts unconditionally
6228
6229 2003-07-21  Angus Leeming  <leeming@lyx.org>
6230
6231         * factory.C (createInset): pass a
6232         buffer_path parameter to InsetGraphicsMailer's string2params.
6233
6234 2003-07-21  Angus Leeming  <leeming@lyx.org>
6235
6236         * BufferView_pimpl.C (buffer):
6237         * buffer.C (d-tor):
6238         * lyx_main.C (LyX):
6239         * lyxfunc.C (dispatch):
6240         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6241         rather than the grfx shortcut.
6242
6243 2003-07-21  André Pönitz  <poenitz@gmx.net>
6244
6245         * rowpainter.C: remove unused variables
6246
6247         * tabular_funcs.C:
6248         * tabular_funcs.h: move to tabular.C
6249         * Makefile.am: adjust
6250
6251         * tabular.[Ch]: basic optical cleaning
6252
6253         * author.h: pass references, not values
6254
6255 2003-07-18  André Pönitz  <poenitz@gmx.net>
6256
6257         * lyxtext.h:
6258         * metricsinfo.C:
6259         * metricsinfo.h:
6260         * rowpainter.C:
6261         * text.C:
6262         * text2.C:
6263         * text3.C: two-phase drawing for InsetText and InsetTabular
6264         some float -> int changes.
6265
6266 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6267
6268         * lyx_main.C: fix the fix
6269
6270 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6271
6272         * lyx_main.C: fix a crash in batch mode if no files specified
6273         * converter.C: ws
6274
6275 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6276
6277         * format.[Ch] (papersize): moved to BufferParams
6278         * converter.[Ch] (dvips_options): moved to BufferParams
6279         (dvipdfm_options): moved to anon namespace
6280         * bufferparams.[Ch]: added above functions.
6281
6282 2003-07-17  André Pönitz  <poenitz@gmx.net>
6283
6284         * lyxtext.h:
6285         * rowpainter.C:
6286         * text2.C: don't call inset->update() anymore
6287
6288         * metricsinfo.[Ch]: add convenience constructor
6289
6290 2003-07-16  André Pönitz  <poenitz@gmx.net>
6291
6292         * lyxcursor.[Ch]:
6293         * lyxfunc.[Ch]:
6294         * text.C:
6295         * text2.C: replace the LyXCursor::irow_ member with
6296          on-demand computation of the value
6297
6298 2003-07-16  John Levon  <levon@movementarian.org>
6299
6300         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6301
6302 2003-07-15  André Pönitz  <poenitz@gmx.net>
6303
6304         * text.C:
6305         * text2.C: remove no more needed refresh_row
6306
6307 2003-07-15  André Pönitz  <poenitz@gmx.net>
6308
6309         * lyxtext.h:
6310         * rowpainter.C:
6311         * text2.C:
6312         * text3.C: refresh_status tristate -> need_update bool
6313
6314 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6315
6316         * lyxtext.h (init): remove reinit argument (act as if always true)
6317         * text2.C: adjust to that
6318
6319 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6320
6321         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6322         * text3.C: use it to delete selections in some cases
6323         (bugs 441, 673, 702, 954).
6324
6325 2003-07-14  André Pönitz  <poenitz@gmx.net>
6326
6327         * rowpainter.[Ch]: reduce interface
6328
6329 2003-07-14  André Pönitz  <poenitz@gmx.net>
6330
6331         * BufferView_pimpl.C:
6332         * text2.C: adjust after removing unused BufferView * argument
6333
6334 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6335
6336         * text2.C (init): fix a crash fired on resize
6337
6338 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6339
6340         * buffer.[Ch]: added new closing signal
6341         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6342         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6343         BufferView::Pimpl via the closing the signal
6344
6345 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6346
6347         * buffer.[Ch]: take out all bv-related from buffer
6348         * BufferView.C:
6349         * BufferView_pimpl.[Ch]: connect to new signals
6350         * CutAndPaste.C: removed useless asserts
6351         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6352         * lyxvc.[Ch]:
6353         * vc-backend.[Ch]:
6354         * lyxfunc.C: moved view-related funciontality from vc here
6355         * paragraph.C: removed outdated comments
6356         * text.C: ws
6357
6358 2003-07-10  André Pönitz  <poenitz@gmx.net>
6359
6360         * BufferView_pimpl.C:
6361         * tabular.h:
6362         * tabular_funcs.C:
6363         * text.C:
6364         * text2.C: remove InsetText::InnerCache, clean up consequences
6365
6366 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6367
6368         * ispell.C: fix two typos in error messages
6369
6370 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6371
6372         * Extend Note inset to other forms of annotation like Comment
6373         and Greyedout. Right button click gives dialog.
6374
6375         Files modified or added (+):
6376
6377         * insetnote.[Ch]
6378         * FormNote.[Ch]      +
6379         * ControlNote.[Ch]   +
6380         * form_note.fd       +
6381         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6382         frontends/controllers
6383         * xforms/Dialogs.C
6384         * factory.C
6385
6386 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6387
6388         * aspell.C: add missing namespace lyx::support
6389
6390 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6391
6392         * BufferView.[Ch] (newFile): Add
6393         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6394         * LaTeX.[Ch] (message): added this signal and use it
6395         * buffer.[Ch] (busy, message): added these signals and use them
6396         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6397         * converter.C:
6398         * exporter.C:
6399         * format.C:
6400         * importer.C: use buffer signals instead of direct bv calling
6401         * lyx_cb.[Ch] (ShowMessage): removed
6402         * lyx_main.C:
6403         * lyxfunc.C:
6404         * paragraph_funcs.C:
6405         * text2.C: use buffer signals
6406
6407 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6408
6409         * introduce namespace lyx::graphics
6410
6411 2003-07-02  André Pönitz  <poenitz@gmx.net>
6412
6413         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6414
6415 2003-07-01  André Pönitz  <poenitz@gmx.net>
6416
6417         * text.C:
6418         * text2.C:
6419         * text3.C:
6420         * text_funcs.[Ch]:
6421         * textcursor.h:
6422         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6423           text*.C to text_func.C
6424
6425 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6426
6427         * introduce namespace lyx::support
6428
6429 2003-06-30  André Pönitz  <poenitz@gmx.net>
6430
6431         * Chktex.C:
6432         * funcrequest.C:
6433         * lyxtext.h:
6434         * text.C: re-enable --with-included-string
6435
6436 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6437
6438         * textcursor.C: add <config.h>
6439
6440         * text.C (getWord): remove const from word_location arg
6441
6442         * lyxvc.C (getLogFile): fix const type order
6443
6444         * lyxtext.h: remove const from word_location arg, add arg name
6445
6446         * lyxlayout.h: currect type on labeltype.
6447
6448         * importer.C: correct \file
6449
6450         * converter.C (intToFormat): use std:: on ret val, ws changes
6451
6452         * bufferlist.h: correct \file
6453
6454         * buffer.C (makeLinuxDocFile): fix const type order
6455         (makeDocBookFile): ditto
6456         (fillWithBibKeys): use std:: on stdlib args.
6457
6458         * CutAndPaste.C: fix authors.
6459         (availableSelections): use std:: on return vector
6460
6461 2003-06-27  André Pönitz  <poenitz@gmx.net>
6462
6463         * BufferView_pimpl.C:
6464         * bufferview_funcs.C:
6465         * lyxcursor.C:
6466         * lyxcursor.h:
6467         * lyxfunc.C:
6468         * lyxtext.h:
6469         * rowpainter.C:
6470         * text.C:
6471         * text2.C:
6472         * text3.C: remove LyXCursor::row_ member
6473
6474         * lyxtext.h:
6475         * text.C: rename fullRebreak() to partialRebreak() and implement
6476           a fullRebreak() that really bereks fully
6477
6478         * textcursor.h: new struct for cursor-related data
6479
6480 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6481
6482         * lyx_main.C (LyX): get full path of document loaded on the
6483         command line
6484
6485 2003-06-26  André Pönitz  <poenitz@gmx.net>
6486
6487         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6488           remove unused/broken operator>,<,>=.
6489
6490         *       text.C: remove only use of broken operator<= in an Assert().
6491
6492 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6493
6494         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6495         moved errorlist_.clear to showErrorList
6496
6497 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6498
6499         * converter.C (scanLog, runLaTeX):
6500         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6501         move the bv->showErrorList call to the callers
6502         * lyxfunc.C: i.e. here...
6503         * text2.C: and here
6504         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6505         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6506         namespace, the second to...
6507         * buffer_funcs (BufferFormat, parseErrors): added
6508         * errorlist.C (ErrorList(TeXErrors const &)): removed
6509
6510 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6511
6512         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6513
6514 2003-06-24  "Garst R. Reese" <reese@isn.net>
6515
6516         * debug.C: fix typo
6517
6518 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6519
6520         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6521
6522         * version.C.in: change docversion to 1.4
6523
6524 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6525
6526         * buffer.C: fix a bug just introduced
6527
6528 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6529
6530         * buffer.[Ch]: added the parseError signal and use it, removed
6531         sgmlError
6532         * BufferView.[Ch] (addError): moved to ...
6533         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6534         to the Buffer::parseError signal to catch (guess what) parse errors
6535         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6536
6537 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6538
6539         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6540         ability to create a buffer and to return an existing one from
6541         the list. Moved these functions to...
6542         * buffer_funcs.[Ch]: added
6543         * BufferView.[Ch] (loadLyXFile): added
6544         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6545         job removed from bufferlist::loadLyXFile.
6546         * buffer.C (setReadOnly): make it work without view
6547         (i.e added an if (users))
6548
6549 2003-06-19  Angus Leeming  <leeming@lyx.org>
6550
6551         * lfuns.h:
6552         * LyXAction.C (init):
6553         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6554         with LFUN_DIALOG_SHOW <name> <data>.
6555
6556 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6557
6558         * CutAndPaste.C (availableSelections): small compilation fix for
6559         ancient (gcc 2.9x) compilers
6560
6561 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6562
6563         * text3.C (cursorNext): add tmp var
6564
6565         * text2.C (updateCounters): for function calling out of for clause
6566         (replaceSelectionWithString): ditto
6567         (insertStringAsParagraphs): ditto
6568         (getColumnNearX): add tmp var
6569         (setCursorFromCoordinates): add tmp var
6570         (cursorDownParagraph): add tmp var
6571         (deleteEmptyParagraphMechanism): add tmp var
6572
6573         * text.C (insertChar): add tmp var
6574
6575         * rowpainter.C (paintDepthBar): add tmp var
6576
6577         * CutAndPaste.C (availableSelections): potentially check all
6578         paragraphs in a cut to fill the shown strings.
6579
6580 2003-06-18  André Pönitz  <poenitz@gmx.net>
6581
6582         * kbmap.[Ch]: use vector<> instead of list<>
6583
6584 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6585
6586         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6587         pasteSelection with index
6588
6589         * text2.C (pasteSelection): modify, call pasteSelection with index
6590
6591         * paragraph.C (asString): reimplement version with no interval to
6592         call the one with interval.
6593
6594         * lyxtext.h: add index arg to pasteSelection
6595
6596         * MenuBackend.C (MenuItem): handle PasteRecent
6597         (Menu::read::Menutags): add md_pasterecent
6598         (read): handle it
6599         (expandPasteRecent): new function
6600         (expand): use it
6601
6602         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6603
6604         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6605         the limited stack
6606         (availableSelections): new function
6607
6608 2003-06-17  Angus Leeming  <leeming@lyx.org>
6609
6610         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6611
6612 2003-06-17  Angus Leeming  <leeming@lyx.org>
6613
6614         * lfuns.h:
6615         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6616
6617         * lyxfunc.C (dispatch): invoke it.
6618
6619 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6620
6621         * iterators.C (operator++, ParPosition): reintroduce some
6622         const_cast for the benefit of older compilers.
6623
6624 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6625
6626         * text3.C (dispatch): do not modify clipboard when doing
6627         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6628         LFUN_DELETE_SKIP on a selection selection
6629
6630 2003-06-16  André Pönitz  <poenitz@gmx.net>
6631
6632         * BufferView.C:
6633         * buffer.C:
6634         * buffer.h:
6635         * paragraph.C:
6636         * tabular.[Ch]: IU of clone() and getLabelList();
6637
6638 2003-06-13  André Pönitz  <poenitz@gmx.net>
6639
6640         * tabular.h: compactification
6641
6642 2003-06-12  André Pönitz  <poenitz@gmx.net>
6643
6644         * tabular.C:
6645         * tabular.h:
6646         * tabular_funcs.h: some renaming plus whitespace
6647
6648 2003-06-12  André Pönitz  <poenitz@gmx.net>
6649
6650         * BufferView.C:
6651         * BufferView_pimpl.C:
6652         * CutAndPaste.C:
6653         * buffer.C:
6654         * iterators.[Ch]:
6655         * lyxfunc.C:
6656         * text.C:
6657         * toc.C: Return a Paragraph & for ParIterator::operator*()
6658
6659 2003-06-11  John Levon  <levon@movementarian.org>
6660
6661         * lyx_main.C:
6662         * ToolbarBackend.h:
6663         * ToolbarBackend.C: add "Toolbars" section and
6664         put the flags there
6665
6666 2003-06-10  Angus Leeming  <leeming@lyx.org>
6667
6668         * lfuns.h:
6669         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6670
6671         * lyxfunc.C (dispatch): invoke it.
6672
6673 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6674
6675         * main.C: protect <ios> with HAVE_IOS
6676         (main): protect sync_with_stdio with HAVE_IOS
6677
6678 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6679
6680         * text2.C (cutSelection): adjust
6681         (pasteSelection): adjust
6682
6683         * messages.C: handle get of empty string
6684
6685         * main.C (main): use sync_with_stdio(false)
6686
6687         * lyxfunc.C (dispatch): adjust
6688
6689         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6690         (WriteAs): remove unneeded BufferView arg.
6691
6692         * bufferparams.h: use correct types on papersize, papersize2 and
6693         paperpackage.
6694
6695         * bufferparams.C (readToken): adjust for type
6696         (writeLaTeX): add missing cases to switch.
6697
6698         * bufferlist.C (quitWriteBuffer): adjust
6699         (close): adjust
6700
6701         * buffer.C (asciiParagraph): remove some commented code.
6702
6703         * CutAndPaste.C: remove current_view extern variable.
6704         (cutSelection): add BufferParams arg.
6705         (eraseSelection): add BufferParams arg.
6706         (pasteSelection): add Buffer const & arg
6707
6708 2003-06-07  John Levon  <levon@movementarian.org>
6709
6710         * buffer.C:
6711         * paragraph_funcs.C:
6712         * paragraph_pimpl.C:
6713         * text.C:
6714         * text2.C:
6715         * paragraph.h:
6716         * paragraph.C: allow InsetERT to freely space lines,
6717         and some consolidation of code
6718
6719 2003-06-06  José Matos  <jamatos@fep.up.pt>
6720
6721         * buffer.C (makeDocBookFile): fix bug #821
6722
6723 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6724
6725         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6726
6727 2003-06-04  Angus Leeming  <leeming@lyx.org>
6728
6729         * buffer.C: bump format to 224.
6730
6731 2003-06-05  André Pönitz  <poenitz@gmx.net>
6732
6733         * text2.C (redoParagraphs): remove two const_cast<>
6734
6735 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6736
6737         * ParagraphList.h: remove last remnants of NO_STD_LIST
6738
6739 2003-06-03  Angus Leeming  <leeming@lyx.org>
6740
6741         * factory.C (createInset): small change to the way InsetExternal's params
6742         are set.
6743
6744 2003-06-04  André Pönitz  <poenitz@gmx.net>
6745
6746         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6747
6748         * paragraph_pimpl.h:
6749         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6750
6751         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6752
6753         * undo_funcs.C: make some simple cases of undo work again
6754
6755 2003-06-03  John Levon  <levon@movementarian.org>
6756
6757         * ispell.C: HPUX doesn't have sys/select.h
6758         (from Albert Chin)
6759
6760 2003-06-03  John Levon  <levon@movementarian.org>
6761
6762         * CutAndPaste.C: update tabular and include inset
6763         buffer references
6764
6765         * buffer.h:
6766         * paragraph.h:
6767         * paragraph.C: remove owningBuffer(), don't pass Buffer
6768         to clone()
6769
6770         * factory.C: insetGraphicsParams changed
6771
6772 2003-06-02  John Levon  <levon@movementarian.org>
6773
6774         * LyXAction.C:
6775         * factory.C:
6776         * lfuns.h:
6777         * lyxfunc.C:
6778         * text3.C: remove insetparent
6779
6780 2003-06-02  John Levon  <levon@movementarian.org>
6781
6782         * buffer.h:
6783         * buffer.C: fix inset_iterator.end(), move out of line
6784         (bug 1149)
6785
6786 2003-06-01  John Levon  <levon@movementarian.org>
6787
6788         * text3.C: use a proper cut/paste when doing inset
6789         insert (from Jürgen Spitzmüller)
6790
6791 2003-06-01  John Levon  <levon@movementarian.org>
6792
6793         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6794
6795 2003-05-30  André Pönitz  <poenitz@gmx.net>
6796
6797         * rowpainter.C: unify second drawing phase
6798
6799 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6800
6801         * trans_mgr.C: remove one case of current_view
6802
6803         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6804
6805         * paragraph_funcs.h: remove paragraph.h include
6806
6807         * paragraph.h: delete NO_STD_LIST stuff
6808
6809         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6810
6811         * buffer.h: remove paragraph.h include
6812
6813         * ParagraphList.C: delete file
6814
6815         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6816
6817         * toc.C (getTocList): adjust
6818
6819         * paragraph_pimpl.C (validate): adjust
6820
6821         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6822
6823         * paragraph.C (Paragraph): adjust
6824         (getPositionOfInset): use const_iterator, adjust
6825         (bibitem): use const_iterator, adjust
6826         (setInsetOwner): adjust
6827
6828         * iterators.C (operator++): adjust
6829
6830         * InsetList.[Ch]: Replace selfmade iterator with standard
6831         vector::iterator also introduce const_iterator. Remove getPos,
6832         getInset and setInset from InsetTable. Adjust accordingly.
6833
6834         * BufferView.C (lockInset): adjust
6835         (ChangeInsets): adjust
6836
6837         * tabular.[Ch]: delete commented same_id functions
6838
6839 2003-05-28  John Levon  <levon@movementarian.org>
6840
6841         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6842
6843 2003-05-28  André Pönitz  <poenitz@gmx.net>
6844
6845         * metricsinfo.[Ch]: remove 'fullredraw' member
6846
6847 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6848
6849         * lyxtextclass.C (operator): remove caching.
6850
6851 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6852
6853         * text3.C: adjust
6854
6855         * text2.C (cursorBottom): adjust
6856         (setCounter): use ParagraphList::find, adjust
6857
6858         * text.C (workWidth): use ParagraphList::find, adjust
6859
6860         * lyxcursor.C (LyXCursor): adjust
6861
6862         * buffer.C (inset_iterator): adjust
6863
6864         * ParagraphList.h: make iterator(value_type) private, make
6865         ParagraphList a friend of iterator.
6866
6867         * ParagraphList.C (find): new function
6868
6869         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6870
6871 2003-05-27  André Pönitz  <poenitz@gmx.net>
6872
6873         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6874
6875 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6876
6877         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6878
6879 2003-05-26  John Levon  <levon@movementarian.org>
6880
6881         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6882
6883 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6884
6885         * remove same_id from function signatures, adjust.
6886
6887 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6888
6889         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6890
6891         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6892
6893         * paragraph.C (Paragraph): get rid of same_ids parameter
6894
6895         * ParagraphList.C (insert): adjust
6896         (push_back): adjust
6897
6898 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6899
6900         * paragraph_funcs.C (breakParagraph): adjust
6901         (breakParagraphConservative): adjust
6902
6903         * buffer.C (readParagraph): adjust
6904
6905         * ParagraphList.C (insert): take a reference instead of a pointer
6906         (insert): adjust
6907
6908         * paragraph.[Ch] (id): new function
6909
6910         * bufferlist.C (newFile): adjust
6911
6912         * ParagraphList.C (ParagraphList): adjust
6913         (assign): adjust
6914         (push_back): take a reference instead of a pointer.
6915
6916         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6917
6918         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6919         instead.
6920
6921         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6922         set else use old code.
6923
6924         * ParagraphList.C: remove all NO_NEXT code and only compile this
6925         code of NO_STD_LIST is set.
6926
6927 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6928
6929         * BufferView_pimpl.C:
6930         * TextCache.C:
6931         * TextCache.h:
6932         * bufferlist.C:
6933         * errorlist.h:
6934         * format.C:
6935         * format.h:
6936         * graph.C:
6937         * lyxfunc.C:
6938         * lyxrc.C:
6939         * graphics/GraphicsConverter.C:
6940         * graphics/PreviewLoader.C: header adjustment
6941
6942 2003-05-23  Angus Leeming  <leeming@lyx.org>
6943
6944         * LaTeXFeatures.[Ch] (useBabel): new method.
6945         * bufferparams.C (writeLaTeX): use it.
6946
6947 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6948
6949         * ParagraphList.h (set): remove unused function.
6950
6951 2003-05-23  André Pönitz  <poenitz@gmx.net>
6952
6953         * BufferView.C:
6954         * BufferView_pimpl.C:
6955         * buffer.C:
6956         * buffer.h:
6957         * lyxfunc.C:
6958         * undo_funcs.C: setUndo reworked
6959
6960         * iterators.[Ch]: add access to topmost ParagraphList
6961
6962         * lyxtext.[Ch] (workWidth): add a const
6963
6964 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6965
6966         * texrow.[Ch] (increasePos): remove function
6967         * exporter.C (export): removed unused var and outdated comment
6968
6969 2003-05-23  Angus Leeming  <leeming@lyx.org>
6970
6971         * latexrunparams.h: rename fragile as moving_arg.
6972         * paragraph.C (simpleTeXOnePar): ditto.
6973         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6974
6975 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6976
6977         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6978         (createUndo): ditto
6979         (textUndoOrRedo): comment out a currently unused var.
6980
6981         * paragraph.h (NO_NEXT): enable NO_NEXT
6982
6983         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6984
6985         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6986
6987         * exporter.C (Export): adjust for removeAutoInsets removal.
6988
6989         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6990
6991         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6992
6993         * BufferView.[Ch] (removeAutoInsets): delete function
6994
6995 2003-05-22  Angus Leeming  <leeming@lyx.org>
6996
6997         * latexrunparams.h: add a free_spacing variable.
6998
6999         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7000         to pass moving_arg, as the data is stored in runparams.fragile.
7001
7002         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7003         to Inset::latexOptional or to simpleTeXOnePar.
7004
7005         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7006         free_spacing arg to Inset::latexOptional.
7007
7008         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7009         free_spacing arg.
7010
7011 2003-05-22  Angus Leeming  <leeming@lyx.org>
7012
7013         * latexrunparams.h: add fragile and use_babel variables.
7014
7015         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7016         * buffer.C (makeLaTeXFile): store this returned value in
7017         runparams.use_babel, thus passing it to the inset::latex methods.
7018
7019         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7020         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7021
7022         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7023         longer has a fragile arg, as it is stored in runparams.fragile.
7024
7025         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7026         moving_arg parameter as the data is stored in runparams.fragile.
7027
7028         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7029         a fragile parameter as the data is stored in runparams.fragile.
7030
7031 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7032
7033         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7034
7035 2003-05-22  Angus Leeming  <leeming@lyx.org>
7036
7037         * latexrunparams.h: add a 'bool nice' which defaults to false.
7038
7039         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7040         now encapsulated within runparams.
7041
7042         * bufferlist.C (updateIncludedTeXfiles):
7043         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7044
7045 2003-05-22  Angus Leeming  <leeming@lyx.org>
7046
7047         * latexrunparams.h: new file containing struct LatexRunParams.
7048         * Makefile.am: add new file.
7049
7050         * LaTeX.[Ch] (c-tor, run):
7051         * buffer.[Ch] (makeLaTeXFile):
7052         * bufferlist.[Ch] (updateIncludedTeXfiles):
7053         * converter.C (convert, scanLog):
7054         * converter.[Ch] (runLaTeX):
7055         * exporter.C (Export):
7056         * paragraph.[Ch] (simpleTeXOnePar):
7057         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7058         * paragraph_funcs.[Ch] (latexParagraphs):
7059         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7060         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7061         pass around a LatexRunParams parameter.
7062
7063 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7064
7065         * paragraph.[Ch]: remove unused constructor
7066
7067         * ParagraphList.C (erase): new function, taking two iterators
7068
7069 2003-05-22  André Pönitz  <poenitz@gmx.net>
7070
7071         * undo_funcs.C: remove duplicated code
7072
7073         * iterator.[Ch]: operator=
7074
7075 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7076
7077         * tabular.C (SetMultiColumn): ws changes
7078
7079         * rowpainter.C (paintFirst): get rid of a ->previous
7080
7081         * lyx_cb.C (getPossibleLabel): parlist simplification
7082
7083         * BufferView.C (ChangeInsets): simplify slightly.
7084
7085 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7086
7087         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7088         * lfuns.h: new LFUN_SPACE
7089         * lyxfunc.C: protected space has a new lfun
7090         * paragraph_funcs.C: read new space insets
7091         * text3.C:
7092         * factory.C: handle new space insets
7093
7094 2003-05-22  André Pönitz  <poenitz@gmx.net>
7095
7096         * BufferView.C:
7097         * BufferView_pimpl.C:
7098         * buffer.[Ch]:
7099         * lyxfunc.C:
7100         * undo_funcs.C: return a ParIterator from getParFromID.
7101
7102         * iterators.[Ch]: add two const's
7103
7104 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7105
7106         * toc.C (getTocList): adjust
7107
7108         * iterators.[Ch]: rework for parlist
7109
7110         * buffer.C (par_iterator_begin): adjust
7111         (par_iterator_end): adjust
7112
7113         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7114
7115         * BufferView.C (removeAutoInsets): adjust
7116         (ChangeInsets): adjust
7117
7118 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7119
7120         * text.C (top_y): fix bug 1110
7121
7122 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7123
7124         * errorlist.[Ch]: added
7125         * buffer.C:
7126         * BufferView.[Ch]:
7127         * BufferView_pimpl.C:
7128         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7129         instead
7130
7131 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * Makefile.am: ensure that lyx is relinked upon changes to the
7134         various "convenience" libs.
7135
7136 2003-05-20  Angus Leeming  <leeming@lyx.org>
7137
7138         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7139         files are compiled in alphabetical order again.
7140
7141         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7142
7143 2003-05-19  Angus Leeming  <leeming@lyx.org>
7144
7145         * gettext.[Ch]: remove "char const * _(char const *)".
7146
7147 2003-05-19  André Pönitz  <poenitz@gmx.net>
7148
7149         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7150
7151         * Makefile.am:
7152         * BufferView.C:
7153         * DepTable.h:
7154         * LaTeXFeatures.C:
7155         * buffer.C:
7156         * lyxfont.C:
7157         * lyxlex.h:
7158         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7159
7160 2003-05-19  André Pönitz  <poenitz@gmx.net>
7161
7162         * buffer.C:
7163         * lyxlayout.[Ch]:
7164         * lyxtextclass.[Ch]:
7165         * paragraph.C:
7166         * paragraph_funcs.[Ch]:
7167         * text2.C:
7168         * text3.C: more insetenv work
7169
7170 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7171
7172         * ParagraphParameters.C (params2string): small bug fixed
7173
7174 2003-05-16  André Pönitz  <poenitz@gmx.net>
7175
7176         * debug.C:
7177         * bufferview_funcs.C: patch from Kornel Benko to prevent
7178           crash when _(...) is called twice in a statement
7179
7180 2003-05-16  André Pönitz  <poenitz@gmx.net>
7181
7182         * BufferView.C:
7183         * lyxfunc.C:
7184         * text.C:
7185         * text2.C:
7186         * text3.C:
7187         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7188
7189 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7190
7191         * lyx_main.C (init): remove spurious static_cast
7192
7193 2003-05-14  André Pönitz  <poenitz@gmx.net>
7194
7195         * BufferView.C: fix format string
7196
7197 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7198
7199         * BufferView.[Ch] (insertErrors): removed
7200         * BufferView.[Ch] (showErrorList): added
7201         * buffer.C (runChkTeX):
7202         * converter.C (scanLog): call showErrorList instead of inserterrors
7203
7204 2003-05-13  André Pönitz  <poenitz@gmx.net>
7205
7206         * BufferView_pimpl.C:
7207         * buffer.C:
7208         * bufferview_func.C:
7209         * MenuBackend.C:
7210         * lyxfunc.C:
7211         * lyxrc.C:
7212         * tex-accent.C:
7213         * text3.C:
7214         * toc.C:
7215         * tabular_funcs.h: tostr() from its own header
7216
7217         * ParagraphParameters.C:
7218         * ToolbarBackend.C:
7219         * bufferparams.C:
7220         * format.C:
7221         * lyxlex_pimpl.C:
7222         * text3.C: STRCONV()
7223
7224 2003-05-12  André Pönitz  <poenitz@gmx.net>
7225
7226         * BufferView.C:
7227         * BufferView_pimpl.C:
7228         * CutAndPaste.C:
7229         * LaTeX.C:
7230         * LaTeXFeatures.C:
7231         * ParagraphParameters.C:
7232         * buffer.C:
7233         * bufferlist.C:
7234         * bufferparams.C:
7235         * bufferview_funcs.C:
7236         * converter.C:
7237         * counters.C:
7238         * debug.C:
7239         * exporter.C:
7240         * format.C:
7241         * importer.C:
7242         * lyx_cb.C:
7243         * lyx_main.C:
7244         * lyxfont.C:
7245         * lyxfunc.C:
7246         * lyxvc.C:
7247         * paragraph.C:
7248         * paragraph_funcs.C:
7249         * tabular.C:
7250         * tabular_funcs.C:
7251         * text2.C:
7252         * text3.C:  boost::format -> bformat  all over the place
7253
7254
7255 2003-05-09  André Pönitz  <poenitz@gmx.net>
7256
7257         * LColor.[Ch]: Pimpl the #include <map> away
7258
7259 2003-05-09  John Levon  <levon@movementarian.org>
7260
7261         * bufferlist.C: never remove emergency saves
7262
7263 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7264
7265         * Makefile.am: better lib building
7266
7267 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7268
7269         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7270         instead.
7271         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7272         (simpleTeXSpecialChars): adjust
7273         (simpleTeXSpecialChars): adjust
7274         * paragraph.C (simpleTeXOnePar): adjust
7275         * buffer.C (makeLaTeXFile): adjust
7276
7277         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7278
7279         * text2.C (changeDepth): parlist cleanup
7280         (getColumnNearX): ditto
7281
7282         * rowpainter.C (getLabelFont): parlist cleanup
7283
7284         * bufferlist.C (newFile): parlist cleanup
7285
7286         * CutAndPaste.C (eraseSelection): parlist cleanup
7287
7288         * BufferView_pimpl.C (trackChanges): parlist cleanup
7289         (dispatch): ditto
7290
7291         * BufferView.C (lockInset): parlist cleanup.
7292         (ChangeInsets): ditto
7293
7294 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7295
7296         * CutAndPaste.h: Update file header.
7297
7298         * CutAndPaste.C: Update file header.
7299         Store the parts cut out of the Document in a limited_stack.
7300         (copySelection): adjust
7301         (pasteSelection): new function, takes the index in the limited stack.
7302         (nrOfParagraphs): adjust
7303         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7304         simplify error inset insertion.
7305         (checkPastePossible): adjust
7306
7307 2003-05-06  John Levon  <levon@movementarian.org>
7308
7309         * text2.C: don't cast wrap inset to float
7310
7311 2003-05-05  André Pönitz  <poenitz@gmx.net>
7312
7313         * iterator.C:
7314         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7315
7316         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7317           few naked Paragraph *.
7318
7319 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7320
7321         * bufferparams.C: Output warning if a document with missing
7322         TeX document class is loaded
7323         * exporter.C: Disable TeX exports if the document class is missing
7324         * lyxtextclass.C:
7325         * lyxtextclass.h:
7326         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7327         isTeXClassAvailable()
7328
7329 2003-05-03  John Levon  <levon@movementarian.org>
7330
7331         * BufferView.h:
7332         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7333         explicit cursor show/hide
7334
7335         * BufferView_pimpl.h:
7336         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7337         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7338
7339         * lyxfunc.C: hide cursor before dispatching.
7340
7341         * lyx_cb.C:
7342         * lyxfind.C:
7343         * text.C:
7344         * text3.C: remove explicit cursor hides
7345
7346 2003-05-02  André Pönitz  <poenitz@gmx.net>
7347
7348         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7349
7350         * undo_funcs.C:
7351         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7352           linked lists
7353
7354         * text2.C: tiny whitespace
7355
7356 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7357
7358         * undo_funcs.C: almost only ws changes.
7359
7360         * ParagraphList.C (splice): just return if pl is empty.
7361
7362 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7363
7364         * ParagraphList.C (splice): new function.
7365
7366         * CutAndPaste.C (pasteSelection): use it
7367
7368 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7369
7370         * CutAndPaste.C (pasteSelection): remove the last next and
7371         previous from this file.
7372
7373 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7374
7375         * CutAndPaste.C (pasteSelection): more clean up, user proper
7376         ParagraphList functions for pasteing.
7377
7378         * ParagraphList.C (insert): new function, three arg insert
7379
7380 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7381
7382         * ParagraphList.C (insert): new function, three arg insert
7383
7384         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7385         not on paragraphs.
7386
7387 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7388
7389         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7390
7391 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7392
7393         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7394
7395 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7396
7397         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7398         (copySelection): clean up a bit.
7399         (pasteSelection): use make_pair
7400
7401         * ParagraphList.C (ParagraphList): implement copy constructor
7402         (operator=): implement, base on copy constructor.
7403         (assign): new func
7404
7405         * paragraph.C (erase): return a bool
7406
7407         * paragraph_pimpl.C (erasePos): remove function, move contents...
7408         (erase): ... here. Return a bool.
7409         (erase): call erase instead of erasePos.
7410
7411 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7412
7413         * ParagraphList.h: define PitPosPair
7414         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7415         ParagraphList, fix a bug on pasting multiple pars
7416         * text2.C: change interface to C&P
7417
7418 2003-04-30  André Pönitz  <poenitz@gmx.net>
7419
7420         * undo_func.C: revert part of yesterday's patch 2
7421
7422 2003-04-30  John Levon  <levon@movementarian.org>
7423
7424         * LColor.C: s/tabular/table/
7425
7426 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7427
7428         * text3.C (dispatch): do not convert iterator -> pointer
7429         * undo_funcs.C (setCursorParUndo): ditto
7430         * text_funcs.C (transposeChars): ditto
7431
7432         * text2.C (setLayout): ws changes only
7433
7434         * text.C (breakParagraph): do not convert iterator -> pointer
7435         (insertChar): ditto
7436         (acceptChange): ditto
7437         (rejectChange): ditto
7438         (changeCase): ditto
7439         (Delete): ditto
7440         (backspace): ditto
7441
7442         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7443         pointer
7444
7445 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7446
7447         * text3.C (gotoInset): YABG (yet another bad getChar)
7448
7449 2003-04-29  André Pönitz  <poenitz@gmx.net>
7450
7451         * paragraph.h: make operator= private unimplemented as long as
7452           it is unusable
7453
7454         * ParagraphList.C: whitespace
7455
7456         * paragraph.[Ch]:
7457         * paragraph_pimpl.[Ch]:
7458         * paragraph_funcs.C:
7459         * CutAndPaste.C:
7460         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7461
7462         * text2.C:
7463           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7464
7465 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7466
7467         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7468         * paragraph.[Ch] (erase):
7469         * paragraph_pimpl.[Ch] (erase): change return type and value
7470         * text2.C (cutSelection): some rework
7471
7472 2003-04-28  John Levon  <levon@movementarian.org>
7473
7474         * bufferlist.C: changes for unsaved changes dialog
7475
7476 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7477
7478         * bufferlist.C (newFile): set language (messages_) for new
7479         documents also.
7480
7481         * buffer.C (readFile): ws changes only.
7482
7483 2003-04-28  André Pönitz  <poenitz@gmx.net>
7484
7485         * undo_funcs.C:
7486         * lyxfunc.C:
7487         * buffer.[Ch]:
7488         * BufferView_pimpl.C:
7489         * BufferView.C: getParFromID related ParagraphList::iterator changes
7490
7491 2003-04-28  André Pönitz  <poenitz@gmx.net>
7492
7493         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7494           Changes
7495
7496 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7497
7498         * messages.C: remove one more localedir class variable.
7499
7500 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7501
7502         * messages.C (getLocaleDir): singleton generation function
7503         (Pimpl): use it.
7504         (Messages): add a default constructor.
7505
7506         * main.C (main): do not setup localedir here, do not call
7507         gettext_init.
7508
7509         * gettext.C (_): use it.
7510         (gettext_init): delete funciton
7511
7512 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7513
7514         * gettext.C (getLyXMessages): new singleton generating function.
7515
7516         * buffer.C (updateDocLang): adjust
7517
7518         * Makefile.am (messages.o): add target
7519         (main.o): remove target
7520
7521 2003-04-27  John Levon  <levon@movementarian.org>
7522
7523         * bufferlist.C:
7524         * lyx_cb.C:
7525         * lyxfunc.C:
7526         * lyxvc.C: specify cancel button in Alert::prompt
7527
7528 2003-04-26  John Levon  <levon@movementarian.org>
7529
7530         * text3.C:
7531         * lyxfunc.C:
7532         * lfuns.h:
7533         * LyXAction.C: add LFUN_INSET_SETTINGS
7534
7535         * lyxfunc.C: don't enable tabular-feature when there's
7536         just any locking inset
7537
7538 2003-04-26  John Levon  <levon@movementarian.org>
7539
7540         * bufferlist.C: re-add Cancel to buffer close question
7541
7542         * lyxfunc.C: fix import UI a bit
7543
7544 2003-04-25  John Levon  <levon@movementarian.org>
7545
7546         * gettext.C: remove the broken asserts for now
7547
7548 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7549
7550         * messages.C: make case where setlocale cannot comply work better.
7551
7552         * buffer.C (updateDocLang): new function
7553         (changeLanguage): use it
7554         (readFile): use it
7555
7556         * text2.C (setCounter): use B_ a bit.
7557
7558         * lyxlayout.C (Read): be sure to trim the label strings.
7559
7560         * messages.C (Messages): fix typo in comment
7561
7562         * buffer.C (readFile): set message_ after file is loaded.
7563         (makeDocBookFile): remove double return
7564         (changeLanguage): reset message_ upon language change.
7565         (B_): new func, use this to get translated buffer strings.
7566
7567         * main.C: add myself and Jean Marc as authors.
7568
7569 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7570
7571         * messages.[hC]: pimplify Messages, and three different pimpls to be
7572         used in different circumstances.
7573
7574         * gettext.[Ch]: change for use with new message code.
7575
7576 2003-04-24 André Pönitz <poenitz@gmx.net>
7577
7578         * factory.C: support for eqref
7579
7580 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7581
7582         * messages.[Ch]: add missing char
7583
7584         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7585
7586         * messages.[Ch]: New files
7587
7588 2003-04-18  John Levon  <levon@movementarian.org>
7589
7590         * BufferView.h:
7591         * BufferView.C:
7592         * BufferView_pimpl.C:
7593         * lfuns.h:
7594         * LyXAction.C:
7595         * lyxtext.h:
7596         * text2.C: remove layout-copy/paste (bug 778)
7597
7598 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7599
7600         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7601
7602 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7603
7604         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7605         if they succeed. Act accordingly.
7606
7607 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7608
7609         * text2.C (setCharFont): adjust
7610         (setCounter): adjust
7611         (insertStringAsLines): adjust
7612
7613         * text.C (leftMargin): adjust
7614         (setHeightOfRow): adjust
7615
7616         * rowpainter.C (paintFirst): adjust
7617         (paintLast): adjust
7618
7619         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7620         (outerHook): ditto
7621         (isFirstInSequence): ditto
7622         (getEndLabel): ditto
7623         (outerFont): adjust
7624
7625         * paragraph.C (getParLanguage): comment out some hard stuff.
7626
7627         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7628         (sgmlError): ditto
7629         (simpleDocBookOnePar): ditto
7630         (makeDocBookFile): use ParagraphList::iterator
7631
7632         * CutAndPaste.C (pasteSelection): adjust
7633
7634 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7635
7636         * text2.C (getFont): adjust
7637         (getLayoutFont): adjust
7638         (getLabelFont): adjust
7639
7640         * paragraph_funcs.C (TeXOnePar): adjust
7641
7642         * buffer.C (simpleLinuxDocOnePar): adjust
7643         (simpleDocBookOnePar): adjust
7644
7645         * CutAndPaste.C (pasteSelection): adjust
7646
7647         * BufferView.C (getEncoding): adjust
7648
7649         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7650
7651 2003-04-16  John Levon  <levon@movementarian.org>
7652
7653         * lyxfind.C: use parlist stuff for search/changes
7654
7655 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7656
7657         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7658
7659         * text2.C (deleteEmptyParagraphMechanism): adjust
7660
7661         * text2.[Ch] (ownerParagraph): delete func (both of them
7662
7663 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7664
7665         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7666
7667 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7668
7669         * ParagraphList.C: prepare for NO_NEXT
7670
7671 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7672
7673         * text2.C (getFont): adjust
7674         (getLayoutFont): adjust
7675         (getLabelFont): adjust
7676
7677         * paragraph.C (getFont): adjust
7678         (getLabelFont): adjust
7679         (getLayoutFont): adjust
7680
7681         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7682
7683 2003-04-15  John Levon  <levon@movementarian.org>
7684
7685         From Angus Leeming
7686
7687         * lyx_main.C: handle Include in .ui files
7688
7689 2003-04-15  John Levon  <levon@movementarian.org>
7690
7691         * MenuBackend.C: make the doc files length shorter
7692
7693         * ToolbarBackend.h:
7694         * ToolbarBackend.C: handle toolbar placement flags,
7695         Minibuffer
7696
7697 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7698
7699         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7700         adjust
7701
7702         * paragraph_funcs.C (TeXOnePar): adjust
7703
7704         * paragraph.C (getLabelFont): add outerfont arg, adjust
7705         (getLayoutFont): ditto
7706         (simpleTeXOnePar): adjust
7707
7708         * paragraph_pimpl.C (realizeFont): delete func
7709
7710 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7711
7712         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7713         row argument, constify cur argument.
7714
7715 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7716
7717         * text2.C (getFont): adjust
7718         (getLayoutFont): adjust
7719         (getLabelFont): adjust
7720
7721         * paragraph_funcs.C (TeXOnePar): adjust
7722         (outerFont): new func...
7723         (realizeFont): ...moved out from here, changed this to facilitate
7724         transition
7725
7726         * paragraph.C (getFont): take outerfont as arg, adjust
7727         (simpleTeXOnePar): add outerfont arg, adjust
7728
7729         * buffer.C (simpleLinuxDocOnePar): adjust
7730         (simpleDocBookOnePar): adjust
7731
7732         * CutAndPaste.C (pasteSelection): adjust
7733
7734         * BufferView.C (getEncoding): adjust
7735
7736 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7737
7738         * text2.C (setCharFont): adjust
7739         (setCounter): adjust
7740
7741         * text.C (leftMargin): adjust
7742         (setHeightOfRow): adjust
7743
7744         * rowpainter.C (paintFirst): adjust
7745         (paintLast): adjust
7746
7747         * paragraph_pimpl.C (realizeFont): adjust
7748
7749         * paragraph.C (isFirstInSequence): move from here...
7750         * paragraph_funcs.C (isFirstInSequence): ...to here
7751
7752         * paragraph.C (outerHook): move from here...
7753         * paragraph_funcs.C (outerHook): ...to here
7754
7755         * paragraph.C (depthHook): move from here...
7756         * paragraph_funcs.C (depthHook): ...to here
7757
7758         * paragraph.C (getEndLabel): move from here...
7759         * paragraph_funcs.C (getEndLabel): ...to here
7760
7761         * text2.C (realizeFont): move from here...
7762         * paragraph_funcs.C (realizeFont): ...to here
7763
7764 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7765
7766         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7767
7768 2003-04-14  Angus Leeming  <leeming@lyx.org>
7769
7770         * LColor.[Ch]: scrap LColor mathcursor.
7771
7772 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7773
7774         * lyxlex.[Ch] (text): delete function
7775         * trans.C (Load): adjust
7776         * paragraph_funcs.C (readParToken): adjust
7777
7778 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7779
7780         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7781         vector<char> instead of a char[].
7782
7783         * lyxlex_pimpl.C (getString): adjust
7784         (next): adjust
7785         (lex): use getString
7786         (eatLine): adjust
7787         (nextToken): adjust
7788
7789         * lyxlex.C (text): use pimpl_->getString()
7790         (getBool): ditto
7791         (findToken): ditto
7792
7793 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7794
7795         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7796         (makeFontEntriesLayoutSpecific): temp var for par.size()
7797         (setLayout): temp var for ownerParagraphs().end()
7798         (fullRebreak): temp var for rows().end()
7799         (selectionAsString): temp var for boost::next(startpit), realize
7800         that the while really is a regular for loop.
7801         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7802         setCursor in one place.
7803         (setParagraph): temp vr for ownerParagraphs().end()
7804         (updateCounters): make the while loop a for loop
7805         (cutSelection): temp var for ownerParagraphs().end()
7806         (updateInset): make the do {} while() a regular for loop
7807         (getCursorX): use temp vars
7808         (setCurrentFont): use temp vars
7809         (getColumnNearX): use temp vars
7810
7811 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7812
7813         * text.C (transformChar): use temp var for getChar
7814         (computeBidiTables): use temp var for row->par()
7815         (fill): move temp vars for row->par() and pit->layout() earlier in
7816         the function.
7817         (labelFill): use temp var for row->par()
7818         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7819         asc and desc, realize that pit never changes and that firstpit is
7820         just a duplicate and not needed. Exchange rit->par() with pit in a
7821         lot of places.
7822         (breakAgain): use a temp var for boost::next(rit)
7823         (breakAgainOneRow): ditto
7824         (breakParagraph): use a temp var for rows().begin()
7825         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7826         (cursorRightOneWord): use temp var for cursor.par() and
7827         cursor.pos(), remove usage of tmpcursor.
7828         (cursorLeftOneWord): use temp var for cursor.par() and
7829         cursor.pos() only set cur at end of function.
7830
7831 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7832
7833         * text.C, text2.C: exchange all usage of Paragraph::next with
7834         boost::next(ParagraphList::iterator)
7835
7836         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7837
7838         * text2.C (cursorTop): simplify implementation
7839         (cursorBottom): ditto
7840         (setParagraph): use ParagraphList::iterator
7841         (setCurrentFont): adjust
7842         (getColumnNearX): adjust
7843         (cursorRight): adjust
7844         (cursorLeft): remove usage of Paragraph::previous
7845         (cursorUpParagraph): ditto
7846         (deleteEmptyParagraphMechanism): slight cleanup
7847
7848         * text.C (isBoundary): take a Paragraph const & instead of a
7849         pointer as arg.
7850         (addressBreakPoint): ditto
7851         (leftMargin): remove usage of Paragraph::previous.
7852         (setHeightOfRow): ditto
7853         (cursorLeftOneWord): ditto
7854         (selectNextWordToSpellcheck): ditto
7855         (Delete): ditto
7856         (backspace): ditto
7857         (breakParagraph): remove one usage of Paragraph::next
7858         (redoParagraph): ditto
7859         (acceptChange): ditto
7860         (insertChar): adjust
7861         (rowBreakPoint): adjust
7862
7863         * bufferview_funcs.C (toggleAndShow): adjust
7864
7865 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7866
7867         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7868         methods to access it.
7869         * lyxtext.h:
7870         * text.C: Added updateRowPositions to compute all row positions.
7871         Make top_y and getRowNearY() to use the cached y position
7872
7873 2003-04-11  John Levon  <levon@movementarian.org>
7874
7875         * text.C (rowBreakPoint): reintroduce the labelEnd
7876         checks, code copied from the row fill stuff. Deep voodoo.
7877
7878         * text.C (fill): add a comment and debugging for the
7879         next poor soul.
7880
7881 2003-04-11  John Levon  <levon@movementarian.org>
7882
7883         * text.C: make sure fullrow insets get wrapped to the next line,
7884         even when they're in a manual label
7885
7886 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7887
7888         * text2.C (insertParagraph): make it take ParagraphList::iterator
7889         as arg.
7890         (setLayout): make it return ParagraphList::iterator
7891         (redoParagraphs): ditto
7892         (setCounter): ditto
7893         (checkParagraph): ditto
7894
7895         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7896
7897         * text2.C: adjust several funcs.
7898         (realizeFont): take a ParagraphList::iterator as arg.
7899         (getLayoutFont): ditto
7900         (getLabelFont): ditto
7901         (setCharFont): ditto
7902
7903         * text.C: adjust several funcs.
7904
7905 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7906
7907         * text.C (selectNextWordToSpellcheck): don't accidentally
7908         skip insets
7909
7910 2003-04-10  John Levon  <levon@movementarian.org>
7911
7912         * ToolbarBackend.C (getIcon): special handling for
7913         LFUN_MATH_DELIM
7914
7915 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7916
7917         * text2.C (cursorRight): a getChar assert fixed
7918
7919 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7920
7921         * text2.C (getFont): change to take a ParagraphList::iterator
7922         instead of Paragraph*
7923         Adjust several functions.
7924
7925         * text.C (transformChar): change to take a ParagraphList::iterator
7926         instead of Paragraph*
7927         (singleWidth): ditto
7928         Adjust several functions.
7929
7930         * rowpainter.C: adjust several functions
7931         * rowpainter.h:store a ParagraphList::iterator and not a
7932         Paragraph&.
7933
7934
7935 2003-04-09  John Levon  <levon@movementarian.org>
7936
7937         * lyxfunc.C:
7938         * lfuns.h:
7939         * LyXAction.h:
7940         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7941         and the "help" bits as well
7942
7943 2003-04-09  John Levon  <levon@movementarian.org>
7944
7945         * ToolbarBackend.h:
7946         * ToolbarBackend.C: allow multiple toolbars
7947
7948 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7949
7950         * undo_funcs.C (setCursorParUndo): adjust
7951
7952         * text_funcs.C (transposeChars): adjust
7953
7954         * text3.C (gotoNextInset): adjust
7955         (dispatch): adjust
7956
7957         * text2.C (setLayout): adjust
7958         (changeDepth): adjust
7959         (setFont): adjust
7960         (redoParagraphs): adjust
7961         (selectionAsString): adjust
7962         (setParagraph): adjust
7963         (insertInset): adjust
7964         (cutSelection): adjust
7965         (copySelection): adjust
7966         (pasteSelection): adjust
7967         (insertStringAsLines): adjust
7968         (updateInset): adjust
7969         (setCursor): change to take a ParagraphList::iterator parameter
7970         (setCursorIntern): change to take a ParagraphList::iterator parameter
7971         (setCurrentFont): adjust
7972         (cursorLeft): adjust
7973         (cursorRight): adjust
7974         (deleteEmptyParagraphMechanism): adjust
7975
7976         * text.C (breakParagraph): adjust
7977         (insertChar): adjust
7978         (acceptChange): adjust
7979         (rejectChange): adjust
7980         (selectNextWordToSpellcheck): adjust
7981         (changeCase): adjust
7982         (Delete): adjust
7983         (backspace): adjust
7984
7985         * lyxfind.C (SearchForward): adjust
7986         (SearchBackward): adjust
7987         (nextChange): adjust
7988
7989         * lyxcursor.C (par): adjust
7990
7991         * lyxcursor.h: store a ParagraphList::iterator instead of a
7992         Paragraph*
7993
7994         * lyx_cb.C (getPossibleLabel): adjust
7995
7996         * bufferview_funcs.C (toggleAndShow): adjust
7997
7998         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7999         (dispatch): adjust
8000
8001         * BufferView.C (removeAutoInsets): adjust
8002         (lockedInsetStoreUndo): adjust
8003
8004 2003-04-09  John Levon  <levon@movementarian.org>
8005
8006         * ToolbarBackend.C: try icon without argument
8007         if with argument fails
8008
8009 2003-04-08  John Levon  <levon@movementarian.org>
8010
8011         * ToolbarBackend.h:
8012         * ToolbarBackend.C: add getIcon(), handle tooltip,
8013         and change from "Icon" to "Item".
8014
8015 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8016
8017         * BufferView.C (lockInset): another bad getchar crunched
8018
8019 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8020
8021         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8022         again)
8023
8024 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8025
8026         * lyxfind.C (searchForward, searchBackwards): bug 782
8027
8028 2003-04-07  John Levon  <levon@movementarian.org>
8029
8030         * paragraph.C: remove dead comment
8031
8032         * text.C: remove troublesome depth-fiddling code
8033         in leftMargin() and rightMargin() (bug 1017)
8034
8035         * text.C: fix breaking of rows in nested lists
8036         (bug 1004)
8037
8038         * text2.C (updateCounters): fix up depth values
8039         (bug 1013)
8040
8041 2003-04-07  John Levon  <levon@movementarian.org>
8042
8043         * BufferView_pimpl.C: clear message when doc finishes resizing,
8044         and after a mouse event
8045
8046         * lyxfunc.C: clear message after exiting inset
8047
8048 2003-04-07  John Levon  <levon@movementarian.org>
8049
8050         * bufferview_funcs.C: show math status not outside
8051         status in the statusbar
8052
8053 2003-04-07  John Levon  <levon@movementarian.org>
8054
8055         * lyxfunc.C: note status changed after a depth change
8056
8057 2003-04-04  Angus Leeming  <leeming@lyx.org>
8058
8059         * LaTeX.h: move AuxInfo operator==, != out of line.
8060         Remove LaTeX virtual destructor; nothing derives from it.
8061         Move operator()() out of public area and rename it startscript().
8062         Change protected for private.
8063
8064 2003-04-04  Angus Leeming  <leeming@lyx.org>
8065
8066         * lyxfunc.C:
8067         * text2.C: remove unneeded #includes.
8068
8069 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8070
8071         * text2.C (dEPM): fix the heigth of the next row
8072
8073 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8074
8075         * text.C: squashed an invalid getChar requester + some ws changes
8076
8077 2003-04-03  John Levon  <levon@movementarian.org>
8078
8079         * bufferview_funcs.h:
8080         * bufferview_funcs.C:
8081         * lyxfunc.C:
8082         * lyxtext.h:
8083         * text2.C: make getStatus work for the env depth lfuns
8084
8085 2003-04-03  John Levon  <levon@movementarian.org>
8086
8087         * bufferview_funcs.h:
8088         * bufferview_funcs.C:
8089         * lyxfunc.C:
8090         * lyxtext.h:
8091         * text2.C: parlistize decDepth(), by merging it with incDepth()
8092
8093 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * lyxrow.h: store a ParagraphList::iterator instead of a
8096         Paragraph* and adjust other class functions to suit.
8097
8098         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8099         above.
8100
8101 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8102
8103         * text2.C (setCursor): do not anchor to cursor row for the time being
8104
8105 2003-04-02  John Levon  <levon@movementarian.org>
8106
8107         * LyXAction.C:
8108         * lfuns.h:
8109         * lyx_main.C:
8110         * lyxtext.h:
8111         * text.C:
8112         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8113
8114 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8115
8116         * paragraph.h: make ParagraphList and ParagraphList::iterator
8117         friends of Paragraph.
8118
8119         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8120
8121         * ParagraphList.C: Use the private next_ and previous_ from
8122         Paragraph.
8123
8124 2003-04-01  John Levon  <levon@movementarian.org>
8125
8126         * ToolbarBackend.h:
8127         * ToolbarBackend.C:
8128         * Makefile.am: rename, remove defaults gunk
8129
8130         * MenuBackend.h:
8131         * MenuBackend.C: remove defaults gunk
8132
8133         * Languages.h:
8134         * Languages.C: remove defaults gunk
8135
8136         * lyx_main.h:
8137         * lyx_main.C: error out if files couldn't be found.
8138
8139 2003-04-02  John Levon  <levon@movementarian.org>
8140
8141         * text2.C: make incDepth() use parlist
8142
8143 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8144
8145         * undo_funcs.C (firstUndoParagraph): adjust
8146
8147         * text3.C (gotoInset): adjust
8148         (dispatch): adjust, and rewrite loop.
8149
8150         * text2.C (init): adjust, and rewrite loop.
8151         (redoParagraphs): adjust
8152         (updateInset): adjust, and rewrite loop.
8153         (deleteEmptyParagraphMechanism): adjust
8154
8155         * tabular.C (LyXTabular): adjust
8156         (SetMultiColumn): adjust
8157         (TeXRow): adjust
8158
8159         * lyxtext.[Ch] (ownerParagraph): delete function
8160         (ownerParagraphs): new function returns a ParagraphList.
8161
8162         * BufferView.C (removeAutoInsets): adjust
8163         (insertErrors): adjust
8164         (setCursorFromRow): adjust
8165
8166 2003-04-01  Angus Leeming  <leeming@lyx.org>
8167
8168         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8169         in the frontends.
8170
8171 2003-04-02  John Levon  <levon@movementarian.org>
8172
8173         * lyxtext.h:
8174         * text.C:
8175         * Makefile.am:
8176         * text_funcs.h:
8177         * text_funcs.C: make transposeChars a free function
8178
8179         * lyxrow_funcs.C: remove wrong comment
8180
8181 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8182
8183         * lyxtext.h: adjust
8184         * rowpainter.C: adjust
8185         * text.C: adjust
8186         * text2.C: adjust
8187         * text3.C: adjust
8188
8189         * lyxrow_funcs. [Ch]: new files
8190
8191         * lyxrow.[Ch]: remove next and previous pointers
8192         (next,previous): remove accessor functions
8193         (isParEnd): move to lyxrow_funcs
8194         (lastPos): move to lyxrow_funcs
8195         (nextRowIsAllInset): move to lyxrow_funcs
8196         (lastPrintablePos): move to lyxrow_funcs
8197         (numberOfSeparators): move to lyxrow_funcs
8198         (numberOfHfills): move to lyxrow_funcs
8199         (numberOfLabelHfills): move to lyxrow_funcs
8200         (hfillExpansion): move to lyxrow_funcs
8201
8202         * lyxfunc.C: adjust
8203
8204         * bufferview_funcs.C (toggleAndShow): adjust
8205
8206         * RowList.h: Remove class RowList from file leave just a
8207         std::list<Row>.
8208
8209         * RowList.C: delete file
8210
8211         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8212         and lyxrow_funcs.h
8213
8214 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8215
8216         * text3.C (cursorPrevious): adjust
8217         (cursorNext): adjust
8218         (dispatch): adjust
8219
8220         * text2.C (redoHeightOfParagraph): adjust
8221         (redoDrawingOfParagraph): adjust
8222         (setCursor): adjust
8223
8224         * text.C (breakParagraph): adjust
8225         (insertChar): adjust
8226         (backspace): adjust
8227
8228         * rowpainter.C (RowPainter): adjust
8229         (leftMargin): simplify and adjust
8230         (most rowpainter functions): adjust.
8231
8232         * rowpainter.h: store the row as RowList::iterator not as Row*
8233
8234         * lyxcursor.C (row): taka RowList::iterator as arg
8235         (irow): ditto
8236
8237         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8238         of Row*.
8239
8240 2003-04-01  Angus Leeming  <leeming@lyx.org>
8241
8242         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8243         stuff like bool Bool.
8244
8245 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8246
8247         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8248         rewrite a loop
8249
8250 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8251
8252         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8253         RowList::iterator.
8254
8255         * lyxtext.h (rows): drop one version and leve a const variant that
8256         returns a RowList::iterator.
8257
8258 2003-03-31  Angus Leeming  <leeming@lyx.org>
8259
8260         * text.C (fill): ensure that the signature is the same as that in the
8261         header file.
8262
8263 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8264
8265         * text2.C (redoParagraphs): adjust
8266         (updateCounters): adjust
8267         (checkParagraph): adjust
8268         (getColumnNearX): adjust and reformat a bit.
8269
8270         * text.C (top_y): adjust
8271         (workWidth): adjust
8272         (leftMargin): adjust
8273         (prepareToPrint): adjust
8274         (getRow): adjust
8275         (getRowNearY): adjust
8276
8277         * lyxtext.h: make rowlist_ mutable.
8278
8279         * RowList.h: add const_iterator
8280         * RowList.C: adjust for RowList::const_iterator.
8281
8282         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8283         adjust.
8284
8285 2003-03-31  John Levon  <levon@movementarian.org>
8286
8287         * lyxrc.h:
8288         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8289
8290         * lyx_main.C: set default fonts from using lyx_gui funcs
8291
8292         * exporter.C: pdf_mode moved from lyxrc
8293
8294         * lyx_cb.C:
8295         * lyxfunc.C: changes from above
8296
8297 2003-03-31  John Levon  <levon@movementarian.org>
8298
8299         * lyx_main.C: fix to the last fix
8300
8301 2003-03-31  John Levon  <levon@movementarian.org>
8302
8303         * bufferlist.C: "Load original" -> "Load Original"
8304
8305         * converter.C:
8306         * exporter.C:
8307         * importer.C:
8308         * lyx_main.C:
8309         * format.C: more Alert cleanups
8310
8311 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8312
8313         * text2.C (removeParagraph): make it take a RowList::iterator as
8314         arg, adjust.
8315         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8316         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8317
8318         * text.C (anchor_row): make it take a RowList::iterator as arg,
8319         adjust.
8320         (computeBidiTables): make it take a const reference to Row instead
8321         of Row pointer, adjust.
8322         (leftMargin): make it take a RowList::iterator as arg, adjust.
8323         (rowBreakPoint): adjust
8324         (breakAgainOneRow): make it take a RowList::iterator as arg,
8325         adjust.
8326         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8327
8328         * bufferview_funcs.C (toggleAndShow): adjust
8329
8330 2003-03-30  John Levon  <levon@movementarian.org>
8331
8332         * Makefile.am:
8333         * BoostFormat.h:
8334         * boost-inst.C: moved to support
8335
8336         * several files: changes as a result
8337
8338 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8339
8340         * text2.C (LyXText): adjust.
8341         (init): adjust
8342         (removeRow): make it take a RowList::iterator as arg, adjust.
8343         (fullRebreak): adjust
8344         (deleteEmptyParagraphMechanism): adjust
8345         (clearPaint): adjust
8346         (postPaint): adjust
8347
8348         * text.C (top_y): adjust
8349         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8350         (breakAgain): make it take a RowList::iterator as arg, adjust.
8351         (breakParagraph): adjust
8352         (insertChar): adjust
8353         (backspace): adjust
8354
8355         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8356         need_break_row, and refresh_row.
8357
8358         * text3.C (dispatch): adjust
8359
8360         * text2.C (checkParagraph): adjust
8361         (setCursor): adjust
8362         (setCursorFromCoordinates): adjust
8363
8364         * text.C (top_y): adjust
8365         (workWidth): adjust
8366         (getRow): make it return a RowList::iterator, adjust
8367         (getRowNearY): make it return a RowList::iterator, adjust
8368
8369         * text2.C (init): adjust
8370         (insertRow): remove function
8371         (insertParagraph): adjust
8372         (redoParagraphs): adjust
8373         (fullRebreak): adjust
8374         (updateCounters): adjust
8375
8376         * text.C (top_y): rewrite to use RowList iterators.
8377         (top_y): adjust
8378         (setHeightOfRow): rewrite to sue RowList iterators.
8379         (appendParagraph): adjust
8380         (breakAgain): adjust
8381         (breakAgainOneRow): adjust
8382         (breakParagraph): adjust
8383         (getRow): adjust
8384         (getRowNearY): adjust, and remove commented code.
8385
8386         * lyxtext.h (firstRow): delete function
8387         (lastRow): delete function
8388         (rows): new function (const and non-const versions.)
8389         (insertRow): delete function
8390
8391         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8392
8393 2003-03-29  John Levon  <levon@movementarian.org>
8394
8395         * BufferView_pimpl.C: always update scrollbar top
8396         because pasting text when we're anchored could mean we
8397         miss an update altogether
8398
8399 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8400
8401         * text2.C (init): use rowlist_.end() and not 0.
8402         (insertRow): change to take a RowList::iterator as arg, adjust
8403         for this.
8404         (insertParagraph): change to take a RowList::iterator as arg,
8405         adjust for this.
8406         (redoParagraphs): remove some debug msgs.
8407
8408         * text.C (appendParagraph): change to take a RowList::iterator
8409         arg, adjust for this.
8410         (breakAgain): add an assert
8411         (breakAgainOneRow): ditto
8412
8413 2003-03-29  John Levon  <levon@movementarian.org>
8414
8415         * text2.C: do not clear selection after inc/decDepth
8416         (bug 550)
8417
8418 2003-03-29  John Levon  <levon@movementarian.org>
8419
8420         * BufferView.C:
8421         * buffer.C: fix broken strerrors according to Lars
8422
8423 2003-03-29  John Levon  <levon@movementarian.org>
8424
8425         * converters.C: more Alert cleanups
8426
8427 2003-03-29  John Levon  <levon@movementarian.org>
8428
8429         * bufferview_funcs.C: remove pointless Alert
8430
8431         * buffer.C: fix confusing error message when
8432         a template is chmoded 000
8433
8434 2003-03-29  John Levon  <levon@movementarian.org>
8435
8436         * BufferView.C:
8437         * BufferView.h:
8438         * BufferView_pimpl.C: Alert fixes
8439
8440         * Makefile.am:
8441         * tabular.C:
8442         * tabular-old.C: remove unused table compat reading
8443
8444 2003-03-29  John Levon  <levon@movementarian.org>
8445
8446         * BufferView.C:
8447         * buffer.C:
8448         * lyx_cb.h:
8449         * lyx_cb.C: more Alert cleanups
8450
8451         * lyxfunc.C: don't allow chktex if not latex document
8452
8453 2003-03-29  John Levon  <levon@movementarian.org>
8454
8455         * lyx_cb.C:
8456         * BufferView.C:
8457         * buffer.C: warnings pushed down from support/,
8458         kill err_alert
8459
8460 2003-03-29  John Levon  <levon@movementarian.org>
8461
8462         * lyxfunc.C: safety check for C-r (revert)
8463
8464 2003-03-29  John Levon  <levon@movementarian.org>
8465
8466         * bufferlist.h:
8467         * bufferlist.C: several UI fixes using Alert::prompt.
8468         Fix the pointless looping quit code. Fix stupid revert
8469         behaviour (bug 938)
8470
8471         * lyxvc.h:
8472         * lyxvc.C:
8473         * lyx_cb.C: use Alert::prompt
8474
8475         * lyx_main.C: remove a silly question
8476
8477         * lyxfunc.C: remove a couple of silly questions,
8478         use Alert::prompt
8479
8480 2003-03-28  John Levon  <levon@movementarian.org>
8481
8482         * text2.C: fix bug 974 (End on empty par)
8483
8484 2003-03-28  John Levon  <levon@movementarian.org>
8485
8486         * BufferView_pimpl.C:
8487         * LyXAction.C:
8488         * lfuns.h: remove do-nothing math greek lfuns
8489
8490 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8491
8492         * lyxgluelength.h (isValidGlueLength): add default arg on
8493         parameter 2. Remove default arg from friend in class.
8494
8495         * lyxlength.h (isValidLength): add default arg on parameter 2.
8496         Remove default arg from friend in class.
8497
8498         * text2.C (LyXText): adjust, initialize refresh_row.
8499         (init): adjust
8500         (removeRow): adjust
8501         (insertRow): adjust
8502         (insertParagraph): adjst
8503         (redoParagraphs): adjust
8504         (fullRebreak): adjust
8505         (updateCounters): adjust
8506         (deleteEmptyParagraphMechanism): first attempt at fixing a
8507         crashing bug.
8508
8509         * text.C (top_y): adjust
8510         (setHeightOfRow): adjust
8511         (getRow): adjust
8512         (getRowNearY): adjust
8513
8514         * lyxtext.h: include RowList.h
8515         (~LyXText): not needed anymore, deleted.
8516         (firstRow): modify for RowList
8517         (lastRow): new function
8518         Delete firstrow and lastrow class variables, add a Rowlist
8519         rowlist_ class variable.
8520
8521         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8522         paragraph is empty.
8523
8524         * RowList.C (insert): fix case where it == begin().
8525
8526 2003-03-26  Angus Leeming  <leeming@lyx.org>
8527
8528         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8529         the thesaurus dialog.
8530
8531 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8532
8533         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8534
8535         * RowList.[Ch]: new files
8536
8537         * ParagraphList.C (erase): handle the case where it == begin
8538         correctly.
8539
8540 2003-03-25  John Levon  <levon@movementarian.org>
8541
8542         * Makefile.am:
8543         * aspell_local.h:
8544         * aspell.C: add new aspell support
8545
8546         * lyxrc.h:
8547         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8548         have it accessible.
8549
8550 2003-03-25  Angus Leeming  <leeming@lyx.org>
8551
8552         * lfuns.h:
8553         * LyXAction.C (init): new LFUN_INSET_INSERT.
8554
8555         * BufferView_pimpl.C (dispatch): split out part of the
8556         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8557
8558         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8559         LFUN_INSET_APPLY.
8560
8561 2003-03-25  Angus Leeming  <leeming@lyx.org>
8562
8563         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8564
8565 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8566
8567         * text2.C:
8568         * text3.C: remove useless row->height(0)
8569
8570 2003-03-25  John Levon  <levon@movementarian.org>
8571
8572         * lyxtext.h:
8573         * text2.C:
8574         * text3.C: rename the refreshing stuff to better names
8575
8576 2003-03-24  John Levon  <levon@movementarian.org>
8577
8578         * BufferView_pimpl.h:
8579         * BufferView_pimpl.C: update layout choice on a mouse
8580         press/release
8581
8582 2003-03-23  John Levon  <levon@movementarian.org>
8583
8584         * Makefile.am: fix commandtags.h reference
8585
8586 2003-03-22  John Levon  <levon@movementarian.org>
8587
8588         * BufferView_pimpl.C:
8589         * lyxtext.h:
8590         * rowpainter.C:
8591         * rowpainter.h:
8592         * text.C:
8593         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8594
8595 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8596
8597         * lyxtext.h:
8598         * text.C: take the rtl methods out of line
8599
8600 2003-03-21 André Pönitz <poenitz@gmx.net>
8601
8602         * metricsinfo.[Ch]: new files containing structures to be passed around
8603         during the two-phase-drawing...
8604
8605 2003-03-21 André Pönitz <poenitz@gmx.net>
8606
8607         * lyxtextclass.C: read 'environment' tag.
8608
8609 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8610
8611         * text2.C (removeRow): fix bug 964
8612
8613 2003-03-20  John Levon  <levon@movementarian.org>
8614
8615         * rowpainter.C:
8616         * text.C:
8617         * text2.C: paint cleanups. Inset::update() dropped font
8618         parameter
8619
8620 2003-03-19  John Levon  <levon@movementarian.org>
8621
8622         * lyxfunc.C: only fitcursor/markDirty if available()
8623
8624 2003-03-19  John Levon  <levon@movementarian.org>
8625
8626         * commandtags.h: rename to ...
8627
8628         * lfuns.h: ... this, and renumber / cleanup
8629
8630 2003-03-19  John Levon  <levon@movementarian.org>
8631
8632         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8633         fit the cursor after an lfun
8634
8635         * BufferView.h:
8636         * BufferView.C:
8637         * BufferView_pimpl.h:
8638         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8639
8640         * LyXAction.C: layout-character should have ReadOnly
8641
8642         * ParagraphParameters.C:
8643         * buffer.C:
8644         * bufferview_funcs.C:
8645         * lyx_cb.C:
8646         * lyxfind.C:
8647         * lyxtext.h:
8648         * text.C:
8649         * text2.C:
8650         * text3.C:
8651         * undo_funcs.C: changes from above
8652
8653 2003-03-18  John Levon  <levon@movementarian.org>
8654
8655         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8656         remove it from update()
8657
8658         * lyxfunc.C: update layout choice after an lfun
8659
8660         * text3.C: remove extra updateLayoutChoice()s
8661
8662 2003-03-18  John Levon  <levon@movementarian.org>
8663
8664         * text.C: top_y change means full repaint, fix
8665         a drawing bug with cursor movement
8666
8667 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8668
8669         * lyxtext.h:
8670         * text.C:
8671         * text2.C: anchor row on setCursor
8672
8673 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8674
8675         * lyxtext.h: remove almost all mutable keywords
8676         * text.C:
8677         * text2.C:
8678         * text3.C: remove const keywords accordingly
8679
8680 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8681
8682         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8683         anon namespace
8684         (TeXEnvironment): ditto
8685         (TeXOnePar): ditto
8686
8687 2003-03-17  John Levon  <levon@movementarian.org>
8688
8689         * text.C (rowBreakPoint): remove attempt to fix displayed
8690         math insets inside a manual label
8691
8692 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8693
8694         * lyxtext.h: remove BufferView* as first arg from almost all class
8695         functions.
8696         * other files: adjust.
8697
8698 2003-03-17  John Levon  <levon@movementarian.org>
8699
8700         * lyxtext.h:
8701         * undo_funcs.C:
8702         * text2.C: more paint cleanups
8703
8704         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8705
8706         * rowpainter.h:
8707         * rowpainter.C: remove "smart" background painting code
8708
8709 2003-03-16  John Levon  <levon@movementarian.org>
8710
8711         * lyxtext.h:
8712         * text.C:
8713         * text2.C:
8714         * text3.C: add helper functions for setting refresh_row/y
8715
8716 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8717
8718         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8719         newline inset which *can* get inserted in the pass_thru layouts.
8720         This is primarily for literate documents.
8721
8722 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8723
8724         * buffer.C: increment LYX_FORMAT to 223
8725
8726 2003-03-14 André Pönitz <poenitz@gmx.net>
8727
8728         * textclass.h: prepare for environment handling, ws changes
8729         * lyxlayout.C: read latexheader and latexfooter tags
8730
8731 2003-03-14  John Levon  <levon@movementarian.org>
8732
8733         * text2.C: rewrite ::status() a bit
8734
8735 2003-03-13  John Levon  <levon@movementarian.org>
8736
8737         * lyxtext.h: add some docs
8738
8739 2003-03-13  John Levon  <levon@movementarian.org>
8740
8741         * lyxtext.h:
8742         * text.C:
8743         * text2.C:
8744         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8745
8746 2003-03-13  John Levon  <levon@movementarian.org>
8747
8748         * text3.C: fix appendix redrawing
8749
8750 2003-03-13  John Levon  <levon@movementarian.org>
8751
8752         * text.C (setHeightOfRow):
8753         * rowpainter.h:
8754         * rowpainter.C: make appendix mark have the text
8755           "Appendix" so the user knows what it is
8756
8757         * LColor.h:
8758         * LColor.C: s/appendixline/appendix/ from above
8759
8760 2003-03-13  John Levon  <levon@movementarian.org>
8761
8762         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8763
8764         * text.C: fix a getChar(pos) bug properly
8765
8766 2003-03-13  Angus Leeming  <leeming@lyx.org>
8767
8768         * commandtags.h:
8769         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8770         Probably only temporary. Let's see how things pan out.
8771
8772         * BufferView.C (unlockInset):
8773         * BufferView_pimpl.C (fitCursor):
8774         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8775
8776         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8777         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8778
8779         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8780         new functions that convert ParagraphParameters to and from a string.
8781
8782         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8783         BufferView::Pimpl's dispatch.
8784         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8785
8786 2003-03-13 André Pönitz <poenitz@gmx.net>
8787
8788         * lyxfunc.C:
8789         * text3.C:
8790         * factory.C: make it aware of InsetEnv
8791
8792 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8793
8794         * text2.C (setCursor): never ask for one past last
8795         (setCursor): add some debugging messages.
8796
8797         * text.C (singleWidth): never ask for one past last
8798         (singleWidth): ditto
8799         (leftMargin): ditto
8800         (rightMargin): ditto
8801         (rowBreakPoint): ditto
8802         (setHeightOfRow): ditto
8803         (prepareToPrint): ditto
8804
8805         * rowpainter.C (paintBackground): never ask for one past last
8806         (paintText): never ask for one past last
8807
8808         * paragraph_pimpl.C (getChar): make the assert stricter, never
8809         allow the one past last pos to be taken
8810
8811         * paragraph.C (getChar): ws changes only
8812
8813         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8814         (numberOfSeparators): ditto
8815         (numberOfHfills): ditto
8816
8817 2003-03-12  John Levon  <levon@movementarian.org>
8818
8819         * author.h:
8820         * author.C:
8821         * bufferparams.h:
8822         * bufferparams.C:
8823         * paragraph_funcs.C: fix per-buffer authorlists
8824
8825 2003-03-12  John Levon  <levon@movementarian.org>
8826
8827         * text.C: fix newline in right address
8828
8829 2003-03-12  Angus Leeming  <leeming@lyx.org>
8830
8831         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8832         duplicate those in LyXFunc::dispatch.
8833
8834         * commandtags.h:
8835         * LyXAction.C:
8836         * ToolbarDefaults.C:
8837         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8838         Add LFUN_FONTFREE_UPDATE.
8839
8840         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8841         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8842
8843         * bufferview_func.[Ch]: several new functions to facilliate
8844         transfer of data to and from the character dialog.
8845
8846 2003-03-12  John Levon  <levon@movementarian.org>
8847
8848         * buffer.C:
8849         * paragraph.h:
8850         * paragraph.C:
8851         * paragraph_funcs.C:
8852         * paragraph_pimpl.C:
8853         * sgml.C:
8854         * tabular.C:
8855         * text.C:
8856         * text3.C: remove META_NEWLINE in favour of an inset
8857
8858         * rowpainter.h:
8859         * rowpainter.C: remove paintNewline (done by inset)
8860
8861 2003-03-12  John Levon  <levon@movementarian.org>
8862
8863         * paragraph_pimpl.C: complain about bad getChar()s
8864         for a while at least
8865
8866 2003-03-12  John Levon  <levon@movementarian.org>
8867
8868         * buffer.h:
8869         * buffer.C: move paragraph read into a separate function,
8870         a little renaming to reflect that.
8871
8872         * bufferparams.h:
8873         * bufferparams.C: remove the author_ids map, not necessary now
8874
8875         * factory.h:
8876         * factory.C: moved Buffer::readInset to here
8877
8878         * paragraph_funcs.h:
8879         * paragraph_funcs.C: readParagraph free function moved from
8880         buffer.C
8881
8882         * tabular.C: name change
8883
8884 2003-03-12  John Levon  <levon@movementarian.org>
8885
8886         * buffer.C:
8887         * ParagraphParameters.C: move par params input to
8888         a read() method
8889
8890         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8891         behave like a normal read from the stream wrt reading
8892         a line vs. a \\token
8893
8894 2003-03-12  John Levon  <levon@movementarian.org>
8895
8896         * paragraph.C:
8897         * ParagraphParameters.h:
8898         * ParagraphParameters.C: move output code to a
8899         ::write() method
8900
8901 2003-03-12  John Levon  <levon@movementarian.org>
8902
8903         * BufferView.C (insertLyXFile):
8904         * buffer.h:
8905         * buffer.C:
8906         * tabular.C: use a parlist iterator for creating the
8907           document.
8908
8909 2003-03-12  John Levon  <levon@movementarian.org>
8910
8911         * buffer.C: make current_change static local not
8912           static file-scope
8913
8914 2003-03-12  John Levon  <levon@movementarian.org>
8915
8916         * buffer.C: fix insertStringAsLines for change tracking
8917
8918 2003-03-12  John Levon  <levon@movementarian.org>
8919
8920         * BufferView.C:
8921         * tabular.C:
8922         * buffer.h:
8923         * buffer.C:
8924         * bufferparams.h:
8925         * bufferparams.C: move author list into params. Rename some
8926           functions. Move the header reading into a separate token
8927           loop. Move the header token reading into BufferParams.
8928
8929 2003-03-12  John Levon  <levon@movementarian.org>
8930
8931         * changes.C: put debug inside lyxerr.debugging() checks
8932
8933 2003-03-11 André Pönitz <poenitz@gmx.net>
8934
8935         * factory.C: make it aware of InsetHFill
8936
8937 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8938
8939         * buffer.C (latexParagraphs): move function from here...
8940         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8941         args.
8942
8943 2003-03-10  Angus Leeming  <leeming@lyx.org>
8944
8945         * LyXAction.C (init): fix bug in poplating array with multiple entries
8946         with the same LFUN (spotted by JMarc).
8947
8948 2003-03-10  John Levon  <levon@movementarian.org>
8949
8950         * text.C:
8951         * text2.C: move getColumnNearX() near its
8952         only call site
8953
8954 2003-03-10  John Levon  <levon@movementarian.org>
8955
8956         * text.C: fix break before a minipage
8957
8958 2003-03-10  John Levon  <levon@movementarian.org>
8959
8960         * text.C: fix the last commit
8961
8962 2003-03-09  John Levon  <levon@movementarian.org>
8963
8964         * lyxtext.h:
8965         * text.C:
8966         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8967         bug 365 (don't break before insets unless needed). Don't
8968         return a value > last under any circumstances.
8969
8970 2003-03-09  Angus Leeming  <leeming@lyx.org>
8971
8972         * BufferView_pimpl.C (trackChanges, dispatch): call
8973         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8974
8975 2003-03-09  Angus Leeming  <leeming@lyx.org>
8976
8977         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8978         than Dialogs::showAboutlyx().
8979
8980 2003-03-09  Angus Leeming  <leeming@lyx.org>
8981
8982         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8983         than Dialogs::showTabularCreate().
8984
8985 2003-03-09  John Levon  <levon@movementarian.org>
8986
8987         * lyxtext.h:
8988         * text.C:
8989         * text2.C: 3rd arg to nextBreakPoint was always the same.
8990           Use references.
8991
8992 2003-03-08  John Levon  <levon@movementarian.org>
8993
8994         * lyxrow.C:
8995         * paragraph.C:
8996         * paragraph.h:
8997         * rowpainter.C:
8998         * text.C:
8999         * text2.C: Remove the "main" bit from the "main body"
9000           notion.
9001
9002 2003-03-08  John Levon  <levon@movementarian.org>
9003
9004         * text.C (leftMargin): The left margin of an empty
9005         manual label paragraph should not include the label width
9006         string length.
9007
9008         * text.C (prepareToPrint): don't attempt to measure hfills
9009         for empty manual label paragraphs - the answer should be 0
9010
9011 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9012
9013         * CutAndPaste.C: remove commented code and reindent.
9014
9015 2003-03-08  John Levon  <levon@movementarian.org>
9016
9017         * lyxfunc.h:
9018         * lyxfunc.C: move reloadBuffer()
9019
9020         * BufferView.h:
9021         * BufferView.C: to here
9022
9023         * lyxvc.C: add comment
9024
9025         * vc-backend.h:
9026         * vc-backend.C: call bv->reload() to avoid
9027           getStatus() check on MENURELOAD
9028
9029 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9030
9031         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9032         to an old format .dep file.
9033
9034 2003-03-07  Angus Leeming  <leeming@lyx.org>
9035
9036         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9037         when the LFUN_MOUSE_RELEASE should have been handled by
9038         inset->localDispatch.
9039
9040 2003-03-07  Angus Leeming  <leeming@lyx.org>
9041
9042         * BufferView_pimpl.C (dispatch):
9043         * LyXAction.C (init):
9044         * ToolbarDefaults.C (init):
9045         * commandtags.h:
9046         * lyxfunc.C (getStatus):
9047         remove LFUN_INSET_GRAPHICS.
9048
9049         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9050
9051 2003-03-07  Angus Leeming  <leeming@lyx.org>
9052
9053         * commandtags.h:
9054         * LyXAction.C (init):
9055         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9056
9057         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9058
9059         * commandtags.h:
9060         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9061
9062         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9063         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9064
9065 2003-03-07  Angus Leeming  <leeming@lyx.org>
9066
9067         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9068         remove "ert".
9069
9070 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9071
9072         * ParagraphList.C (front): new function
9073         (back): implement
9074
9075 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9076
9077         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9078         and top_row_offset_. removed var first_y.
9079         * text.C (top_y):
9080         * text2.C (LyXText, removeRow):
9081         * text3.C:
9082         * BufferView_pimpl.C:
9083         use these methods instead of using first_y
9084
9085 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9086
9087         * text2.C (pasteSelection): adjust for checkPastePossible
9088
9089         * CutAndPaste.C: remove Paragraph * buf and replace with
9090         ParagraphList paragraphs.
9091         (DeleteBuffer): delete
9092         (cutSelection): change the tc type to textclass_type
9093         (copySelection): change the tc type to textclass_type
9094         (copySelection): adjust for ParagraphList
9095         (pasteSelection): change the tc type to textclass_type
9096         (pasteSelection): adjust for Paragraphlist
9097         (nrOfParagraphs): simplify for ParagraphList
9098         (checkPastePossible): simplify for ParagraphList
9099         (checkPastePossible): remove unused arg
9100
9101         * ParagraphList.C (insert): handle the case where there are no
9102         paragraphs yet.
9103
9104         * CutAndPaste.h: make CutAndPaste a namespace.
9105
9106         * text3.C (dispatch): adjust
9107
9108         * text.C (breakParagraph): add a ParagraphList as arg
9109
9110         * paragraph_funcs.C (breakParagraph): change to take a
9111         BufferParams and a ParagraphList as args.
9112         (breakParagraphConservative): ditto
9113         (mergeParagraph): ditto
9114         (TeXDeeper): add a ParagraphList arg
9115         (TeXEnvironment): ditto
9116         (TeXOnePar): ditto
9117
9118         * buffer.C (readLyXformat2): adjust
9119         (insertStringAsLines): adjust
9120         (latexParagraphs): adjust
9121
9122         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9123         (cutSelection): adjust
9124         (pasteSelection): adjust
9125
9126         * BufferView_pimpl.C (insertInset): adjust
9127
9128 2003-03-05  Angus Leeming  <leeming@lyx.org>
9129
9130         * commandtags.h:
9131         * LyXAction.C (init):
9132         * BufferView_pimpl.C (dispatch):
9133         * lyxfunc.C (getStatus):
9134         remove LFUN_CHILD_INSERT.
9135
9136         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9137
9138 2003-03-05  Angus Leeming  <leeming@lyx.org>
9139
9140         * commandtags.h:
9141         * LyXAction.C (init):
9142         * src/factory.C (createInset):
9143         * lyxfunc.C (getStatus):
9144         * text3.C (dispatch):
9145         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9146
9147         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9148
9149 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9150
9151         * ParagraphList.C (insert): handle insert right before end()
9152         (erase): fix cases where it can be first or last paragraph.
9153
9154 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9155
9156         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9157         Paragraph::next and Paragraph::previous
9158         (TeXOnePar): ditto
9159
9160         * text.C (breakParagraph): adjust
9161
9162         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9163         BufferParams& as arg.
9164         (breakParagraph): use ParagraphList::insert
9165         (breakParagraphConservative): take a Buffer* instead of a
9166         BufferParams& as arg.
9167         (breakParagraphConservative): use ParagraphList::insert.
9168
9169         * buffer.C (insertStringAsLines): un-const it
9170         (insertStringAsLines): adjust
9171
9172         * ParagraphList.C (insert): new function
9173
9174         * CutAndPaste.C (pasteSelection): adjust
9175
9176         * text.C (backspace): adjust
9177
9178         * tabular.C (SetMultiColumn): adjust
9179
9180         * CutAndPaste.C (cutSelection): adjust
9181         (pasteSelection): adjust
9182
9183         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9184         Buffer const * as arg
9185
9186         * ParagraphList.C (erase): new function
9187         * paragraph_funcs.C (mergeParagraph): use it
9188         (mergeParagraph): make it take a Buffer* instead of a
9189         BufferParams* as arg
9190
9191         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9192         as arg
9193         (breakParagraphConservative): ditto
9194
9195         * paragraph.h: remove the breakParagraph friend
9196
9197         * paragraph.C (eraseIntern): new function
9198         (setChange): new function
9199
9200         * paragraph_funcs.C (mergeParagraph): make it take a
9201         ParagraphList::iterator instead of a Paragraph *, adjust
9202         accordingly.
9203
9204         * paragraph.h: move an #endif so that the change tracking stuff
9205         also works in the NO_NEXT case.
9206
9207 2003-03-04  Angus Leeming  <leeming@lyx.org>
9208
9209         * commandtags.h:
9210         * LyXAction.C: new LFUN_INSET_MODIFY.
9211
9212         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9213         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9214
9215 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9216
9217         * several files: ws changes only
9218
9219         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9220         (TeXEnvironment): ditto
9221         (TeXDeeper): ditto
9222
9223         * buffer.C (makeLaTeXFile): adjust
9224         (latexParagraphs): make it take ParagraphList::iterator as args
9225
9226 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9227
9228         * buffer.C (latexParagraphs): adjust
9229
9230         * paragraph.C (TeXOnePar): move function...
9231         (optArgInset): move function...
9232         (TeXEnvironment): move function...
9233         * paragraph_pimpl.C (TeXDeeper): move function...
9234         * paragraph_funcs.C: ...here
9235
9236         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9237
9238 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9239
9240         * buffer.C (readInset): remove compability code for old Figure and
9241         InsetInfo insets
9242
9243 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9244
9245         * buffer.C: ws changes
9246         (readInset):
9247
9248         * BufferView_pimpl.C: ditto
9249         * author.C: ditto
9250         * buffer.h: ditto
9251         * bufferlist.h: ditto
9252         * changes.h: ditto
9253         * lyxfunc.C: ditto
9254
9255 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9256
9257         * converter.[Ch]: split into itself +
9258         * graph.[Ch]
9259         * format.[Ch]
9260         * Makefile.am: += graph.[Ch] + format.[Ch]
9261         * MenuBackend.C
9262         * buffer.C
9263         * exporter.C
9264         * importer.C
9265         * lyx_main.C
9266         * lyxfunc.C
9267         * lyxrc.C: added #include "format.h"
9268
9269 2003-02-27  Angus Leeming  <leeming@lyx.org>
9270
9271         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9272           a label.
9273
9274         * factory.C (createInset): add "label" to the factory.
9275
9276         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9277           string and do no more.
9278
9279 2003-02-27  Angus Leeming  <leeming@lyx.org>
9280
9281         * commandtags.h:
9282         * LyXAction.C (init):
9283         * factory.C (createInset):
9284         * BufferView_pimpl.C (dispatch):
9285           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9286
9287         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9288
9289         * lyxfunc.C (dispatch):
9290         * text3.C (dispatch): pass name to params2string.
9291
9292 2003-02-26  Angus Leeming  <leeming@lyx.org>
9293
9294         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9295           blocks together.
9296           Rearrange the ~includes. Strip out the unnecessary ones.
9297
9298         * factory.C (createInset): reformat.
9299           create new insets for the various LFUN_XYZ_APPLY lfuns.
9300
9301 2003-02-26  John Levon  <levon@movementarian.org>
9302
9303         * lyxrow.h:
9304         * lyxrow.C: add isParStart,isParEnd helpers
9305
9306         * paragraph.h: make isInserted/DeletedText take refs
9307
9308         * paragraph_funcs.h:
9309         * paragraph_funcs.C: remove #if 0'd code
9310
9311         * lyxtext.h:
9312         * text3.C:
9313         * text2.C:
9314         * text.C: use lyxrow helpers above.
9315           Move draw and paint routines to RowPainter.
9316           Make several methods use refs not pointers.
9317           Make backgroundColor() const.
9318           Add markChangeInDraw(), isInInset().
9319           Merge changeRegionCase into changeCase.
9320           Make workWidth() shouldn't-happen code into an Assert.
9321
9322         * rowpainter.h:
9323         * rowpainter.C: new class for painting a row.
9324
9325         * vspace.h:
9326         * vspace.C: make inPixels take a ref
9327
9328 2003-02-26  Angus Leeming  <leeming@lyx.org>
9329
9330         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9331         LFUN_REF_APPLY.
9332
9333 2003-02-25  John Levon  <levon@movementarian.org>
9334
9335         * ispell.C: give the forked command a more accurate name
9336
9337 2003-02-22  John Levon  <levon@movementarian.org>
9338
9339         * toc.h:
9340         * toc.C: make TocItem store an id not a Paragraph *
9341           (bug #913)
9342
9343 2003-02-21  Angus Leeming  <leeming@lyx.org>
9344
9345         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9346           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9347           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9348           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9349           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9350           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9351
9352         * BufferView_pimpl.C (dispatch):
9353         * LyXAction.C (init):
9354         * factory.C (createInset):
9355         * lyxfunc.C (getStatus, dispatch):
9356         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9357
9358 2003-02-21  Angus Leeming  <leeming@lyx.org>
9359
9360         * BufferView_pimpl.C (MenuInsertLyXFile):
9361         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9362         * lyxfunc.C (menuNew, open, doImport):
9363           no longer pass a LyXView & to fileDlg.
9364
9365 2003-02-21  Angus Leeming  <leeming@lyx.org>
9366
9367         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9368         * LyXAction.C: change, BIBKEY to BIBITEM.
9369         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9370         Change InsetBibKey to InsetBibitem.
9371         Change BIBKEY_CODE to BIBITEM_CODE.
9372         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9373         * factory.C: replace insetbib.h with insetbibitem.h.
9374         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9375         * paragraph.C: replace insetbib.h with insetbibitem.h.
9376         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9377         Change bibkey() to bibitem().
9378         * text.C: remove insetbib.h.
9379         * text2.C: replace insetbib.h with insetbibitem.h.
9380         change bibkey() to bibitem().
9381         * text3.C: remove insetbib.h.
9382         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9383
9384 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9385
9386         * lyxrc.C (output): enclose user email in quotes (in case there are
9387         several words)
9388
9389 2003-02-18  John Levon  <levon@movementarian.org>
9390
9391         * buffer.h: add std::
9392
9393 2003-02-17  John Levon  <levon@movementarian.org>
9394
9395         * SpellBase.h:
9396         * ispell.h:
9397         * ispell.C:
9398         * pspell.h:
9399         * pspell.C: reworking. Especially in ispell, a large
9400           number of clean ups and bug fixes.
9401
9402         * lyxfunc.C: fix revert to behave sensibly
9403
9404 2003-02-17 André Pönitz <poenitz@gmx.net>
9405
9406         * LyXAction.C:
9407         * commandtags.h: new LFUN_INSERT_BIBKEY
9408
9409         * layout.h:
9410         * lyxlayout.C:
9411         * buffer.C:
9412         * factory.C:
9413         * text.C:
9414         * text2.C:
9415         * text3.C:
9416         * paragraph.[Ch]:
9417         * paragraph_func.C: remove special bibkey handling
9418
9419 2003-02-17  John Levon  <levon@movementarian.org>
9420
9421         * text.C (Delete): fix case where delete at the end of
9422           the very first paragraph would not merge the pars
9423
9424 2003-02-17  John Levon  <levon@movementarian.org>
9425
9426         * lyxrow.C: fix lastPrintablePos()
9427
9428 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9429
9430         * bufferparams.C (writeLaTeX): add a std:here
9431
9432         * buffer.C: and remove a using directive there
9433
9434 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9435
9436         * buffer.C (makeLaTeXFile): move the code that generates the
9437           preamble...
9438
9439         * bufferparams.C (writeLaTeX): ... in this new method
9440
9441         * LaTeXFeatures.C (getEncodingSet): make const
9442           (getLanguages): make const
9443
9444         * MenuBackend.C (binding): returns the binding associated to this
9445           action
9446           (add): sets the status of each item by calling getStatus. Adds
9447           some intelligence.
9448           (read): add support for OptSubMenu
9449           (expand): remove extra separator at the end of expanded menu
9450
9451 2003-02-15  John Levon  <levon@movementarian.org>
9452
9453         * BufferView.C:
9454         * BufferView_pimpl.C:
9455         * bufferlist.h:
9456         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9457           inset code that had no actual effect. Remove unneeded status
9458           code.
9459
9460 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9461
9462         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9463           in preamble
9464
9465 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9466
9467         * text.C (drawLengthMarker): also draw an arrow marker for
9468           symbolic lengths (medskip...)
9469
9470 2003-02-14  John Levon  <levon@movementarian.org>
9471
9472         * tabular.h:
9473         * tabular.C: better method names
9474
9475 2003-02-14  John Levon  <levon@movementarian.org>
9476
9477         * BufferView_pimpl.C:
9478         * bufferlist.C:
9479         * buffer.C:
9480         * converter.C:
9481         * lyx_cb.C:
9482         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9483           it's a more accurate name. Remove some pointless uses.
9484
9485 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9486
9487         * text2.C (LyXText): change order of initilizers to shut off
9488           warnings
9489
9490 2003-02-14  John Levon  <levon@movementarian.org>
9491
9492         * buffer.C: use ParIterator for getParFromID()
9493
9494         * paragraph.h:
9495         * paragraph.C:
9496         * paragraph_pimpl.h:
9497         * paragraph_pimpl.C: remove unused getParFromID()
9498
9499 2003-02-14  John Levon  <levon@movementarian.org>
9500
9501         * buffer.C: remove some very old #if 0'd parse code
9502
9503 2003-02-13  John Levon  <levon@movementarian.org>
9504
9505         * text.h:
9506         * text.C:
9507         * text2.C: move hfillExpansion(), numberOfSeparators(),
9508           rowLast(), rowLastPrintable(), numberofHfills(),
9509           numberOfLabelHfills() ...
9510
9511         * lyxrow.h:
9512         * lyxrow.C: ... to member functions here.
9513
9514         * paragraph.h:
9515         * paragraph.C:
9516         * lyxtext.h:
9517         * text.C: remove LyXText::beginningOfMainBody(), and call
9518           p->beginningOfMainBody() directly. Move the check for
9519           LABEL_MANUAL into the latter.
9520
9521         * text.h:
9522         * text.C:
9523         * text2.C:
9524         * vspace.C:
9525         * BufferView.h:
9526         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9527
9528         * text.h:
9529         * text.C:
9530         * text2.C:
9531         * text3.C:
9532         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9533           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9534
9535 2003-02-13  John Levon  <levon@movementarian.org>
9536
9537         * CutAndPaste.C: remove debug
9538
9539 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9540
9541         * paragraph.C (asString): remove two unused variables
9542
9543         * lyxtextclass.C (readTitleType):
9544           (Read):
9545           (LyXTextClass): handle new members titletype_ and titlename_
9546
9547         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9548
9549 2003-02-09  John Levon  <levon@movementarian.org>
9550
9551         * buffer.h:
9552         * buffer.C: replace hand-coded list with a map for the dep clean
9553
9554 2003-02-08  John Levon  <levon@movementarian.org>
9555
9556         * LaTeX.C: consolidate code into showRunMessage() helper
9557
9558 2003-02-08  John Levon  <levon@movementarian.org>
9559
9560         * lyxfind.C:
9561         * lyxtext.h:
9562         * text2.C:
9563         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9564           and pass the size in explicitly
9565
9566         * BufferView_pimpl.h:
9567         * BufferView_pimpl.C:
9568         * BufferView.h:
9569         * BufferView.C: add getCurrentChange()
9570
9571         * BufferView_pimpl.h:
9572         * BufferView_pimpl.C: handle change lfuns
9573
9574         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9575           for changes. Mark pasted paragraphs as new.
9576
9577         * support/lyxtime.h:
9578         * support/lyxtime.C:
9579         * DepTable.C: abstract time_t as lyx::time_type
9580
9581         * LColor.h:
9582         * LColor.C: add colours for new text, deleted text, changebars
9583
9584         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9585           package use "usenames" option.
9586
9587         * commandtags.h:
9588         * lyxfunc.C:
9589         * LyXAction.C: add change lfuns
9590
9591         * Makefile.am:
9592         * author.h:
9593         * author.C: author handling
9594
9595         * buffer.h:
9596         * buffer.C: add a per-buffer author list, with first entry as
9597           current author. Handle new .lyx tokens for change tracking. Output
9598           author list to .lyx file. Output dvipost stuff to .tex preamble.
9599           Bump lyx format to 222.
9600
9601         * bufferlist.h:
9602         * bufferlist.C: add setCurrentAuthor() to reset current author details
9603           in all buffers.
9604
9605         * bufferparams.h:
9606         * bufferparams.C: add param for tracking
9607
9608         * bufferview_funcs.C: output change info in minibuffer
9609
9610         * Makefile.am:
9611         * changes.h:
9612         * changes.C: add change-tracking structure
9613
9614         * debug.h:
9615         * debug.C: add CHANGES debug flag
9616
9617         * lyxfind.h:
9618         * lyxfind.C: add code for finding the next change piece
9619
9620         * lyxrc.h:
9621         * lyxrc.C: add user_name and user_email
9622
9623         * lyxrow.h:
9624         * lyxrow.C: add a metric for the top of the text line
9625
9626         * lyxtext.h:
9627         * text.C: implement accept/rejectChange()
9628
9629         * lyxtext.h:
9630         * text.C: paint changebars. Paint new/deleted text in the chosen
9631         colours. Strike through deleted text.
9632
9633         * paragraph.h:
9634         * paragraph.C:
9635         * paragraph_pimpl.h:
9636         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9637           in the current change to the insert functions. Rework erase to
9638           mark text as deleted, adding an eraseIntern() and a range-based
9639           erase(). Implement per-paragraph change lookup and
9640           accept/reject.
9641
9642         * paragraph_funcs.C: Fixup paste for change tracking.
9643
9644         * tabular.C: mark added row/columns as new.
9645
9646         * text.C: fix rowLast() to never return -1. Don't allow
9647           spellchecking of deleted text. Track transpose changes. Don't
9648           allow paragraph break or merge where appropriate.
9649
9650         * text2.C: leave cursor at end of selection after a cut.
9651
9652 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9653
9654         * text.C (getLengthMarkerHeight):
9655         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9656         visible on screen too.
9657
9658 2003-02-07  John Levon  <levon@movementarian.org>
9659
9660         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9661
9662 2003-02-05  Angus Leeming  <leeming@lyx.org>
9663
9664         * lyxserver.C (read_ready): revert my patch of 11 September last year
9665         as it sends PC cpu through the roof. Presumably this means that
9666         the lyxserver will no longer run on an Alpha...
9667
9668 2003-01-30  Angus Leeming  <leeming@lyx.org>
9669
9670         * factory.C (createInset): create an InsetCommandParam of type "index"
9671         and use it to 'do the right thing'.
9672
9673         * text2.C (getStringToIndex): ensure that cursor position is always
9674         reset to the reset_cursor position.
9675
9676 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9677
9678         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9679         disabled.
9680
9681 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9682
9683         * bufferview.C:
9684         * lyxcb.C:
9685         * lyxfunc.C: Output messages with identical spelling, punctuation,
9686         and spaces
9687
9688 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9689
9690         * MenuBackend.C (expandFormats): List only viewable export formats
9691         in "View" menu
9692
9693         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9694         message
9695
9696         * lyxfunc.C (getStatus): Make sure that formats other than
9697         "fax" can also be disabled
9698
9699 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9700
9701         * text3.C (dispatch): put the lfuns that insert insets in 3
9702         groups, and call doInsertInset with appropriate arguments.
9703         (doInsertInset): new function, that creates an inset and inserts
9704         it according to some boolean parameters.
9705
9706 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9707
9708         * buffer.C (readFile): remember to pass on 'par' when calling
9709         readFile recursively.
9710
9711 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9712
9713         * MenuBackend.C (expandFormats): add "..." to import formats.
9714
9715 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9716
9717         * paragraph.C (asString): Remove XForms RTL hacks.
9718
9719 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9720         * buffer.C: fix typo
9721
9722 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9723
9724         * Makefile.am (LIBS): delete var
9725         (lyx_LDADD): add @LIBS@ here instead.
9726
9727 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9728
9729         * Clarify the meaning of "wheel mouse jump"
9730
9731 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9732
9733         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9734         tabular in a float
9735
9736 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9737
9738         * importer.C (Loaders): do not preallocate 3 elements in the
9739         vector, since one ends up with 6 elements otherwise
9740
9741 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9742
9743         * DepTable.C (write): write the file name as last element of the
9744         .dep file (because it may contain spaces)
9745         (read): read info in the right order
9746
9747 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9748
9749         * paragraph_pimpl.C (simpleTeXBlanks):
9750         (simpleTeXSpecialChars):
9751         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9752
9753         * tabular.C (latex): add some missing case statements. Reindent.
9754
9755         * MenuBackend.C (expandToc): remove unused variable.
9756
9757 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9758
9759         * LColor.C:
9760         * LaTeX.C:
9761         * LyXAction.C:
9762         * MenuBackend.C:
9763         * buffer.C:
9764         * exporter.C:
9765         * lyxfunc.C:
9766         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9767         and the like.
9768
9769 2003-01-05  John Levon  <levon@movementarian.org>
9770
9771         * BufferView.h:
9772         * BufferView.C: add getEncoding()
9773
9774         * kbsequence.h:
9775         * kbsequence.C: do not store last keypress
9776
9777         * lyxfunc.h:
9778         * lyxfunc.C: store last keypress here instead. Pass encoding
9779           to getISOEncoded()
9780
9781 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9782
9783         * lyx_main.C (init): remove annoying error message when following
9784         symbolic links (bug #780)
9785
9786 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9787
9788         * text.C (insertChar):
9789         * lyxrc.C (getDescription): remove extra spaces
9790
9791 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9792
9793         * lyxrc.C (getDescription): remove extra spaces
9794
9795 2002-12-20  John Levon  <levon@movementarian.org>
9796
9797         * text3.C: hack fix for page up/down across tall rows
9798
9799 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9800
9801         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9802         not been invoked
9803
9804 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9805
9806         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9807         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9808         thesaurus is not compiled in
9809
9810 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9811
9812         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9813
9814 2002-12-16  Angus Leeming  <leeming@lyx.org>
9815
9816         * lyxrc.[Ch]:
9817         * lyx_main.C (init): remove override_x_deadkeys stuff.
9818
9819 2002-12-12  John Levon  <levon@movementarian.org>
9820
9821         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9822           insert. Only remove shift modifier under strict
9823           circumstances.
9824
9825 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9826
9827         * MenuBackend.C (expandToc): fix crash.
9828
9829 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9830
9831         * MenuBackend.C (expandToc): gettext on float names.
9832
9833 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9834
9835         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9836         implement bool empty() [bug 490]
9837
9838 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9839
9840         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9841
9842 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9843
9844         * several files: ws changes
9845
9846 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9847
9848         * text2.C (setCounter): clean up a bit, use boost.format.
9849         (updateCounters): initialize par upon declaration.
9850
9851         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9852         if the layout exists. We do not just store the layout any more.
9853         (SwitchLayoutsBetweenClasses): use boost.format
9854
9855 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9856
9857         * converter.C (convert): if from and to files are the same, use a
9858         temporary files as intermediary
9859
9860 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9861
9862         * commandtags.h:
9863         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9864
9865 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9866
9867         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9868
9869 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9870
9871         * tabular.C (asciiPrintCell): use string(size, char) instead of
9872         explicit loop.
9873
9874         * sgml.C (openTag): fix order of arguments to string constructor
9875         (closeTag): ditto
9876
9877         * lyxfunc.C (dispatch): use boost.format
9878
9879         * lots of files: change "c" -> 'c'
9880
9881 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9882
9883         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9884
9885 2002-11-25  Angus Leeming  <leeming@lyx.org>
9886
9887         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9888
9889         * lyx_main.C (init): compile fix.
9890
9891 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9892
9893         * lyx_cb.C (start): boost.formatify
9894         do not include <iostream>
9895
9896         * lengthcommon.C: ws only
9897
9898         * boost-inst.C,BoostFormat.h: add more explict instantations
9899
9900 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9901
9902         * lots of files: handle USE_BOOST_FORMAT
9903
9904 2002-11-21  John Levon  <levon@movementarian.org>
9905
9906         * pspell.C: fix compile
9907
9908 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9909
9910         * lyxfunc.C (dispatch): use boost::format
9911         (open): ditto
9912         (doImport): ditto
9913
9914         * lyxfont.C (stateText): use boost::format
9915
9916         * lyx_main.C (LyX): use boost::format
9917         (init): ditto
9918         (queryUserLyXDir): ditto
9919         (readRcFile): ditto
9920         (parse_dbg): ditto
9921         (typedef boost::function): use the recommened syntax.
9922
9923         * importer.C (Import): use boost::format
9924
9925         * debug.C (showLevel): use boost::format
9926
9927         * converter.C (view): use boost::format
9928         (convert): ditto
9929         (move): ditto
9930         (scanLog): ditto
9931
9932         * bufferview_funcs.C (currentState): use boost::format
9933
9934         * bufferlist.C (emergencyWrite): use boost::format
9935
9936         * buffer.C (readLyXformat2): use boost::format
9937         (parseSingleLyXformat2Token): ditto
9938
9939         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9940
9941         * LaTeX.C (run): use boost::format
9942
9943         * Chktex.C (scanLogFile): use boost::format
9944
9945         * BufferView_pimpl.C (savePosition): use boost::format
9946         (restorePosition): ditto
9947         (MenuInsertLyXFile): ditto
9948
9949         * BoostFormat.h: help file for explicit instation.
9950
9951 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9952
9953         * tabular.C (latex): Support for block alignment in fixed width
9954         columns.
9955
9956 2002-11-17  John Levon  <levon@movementarian.org>
9957
9958         * BufferView_pimpl.C:
9959         * lyx_cb.C:
9960         * lyxfunc.C: split filedialog into open/save
9961
9962 2002-11-08  Juergen Vigna  <jug@sad.it>
9963
9964         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9965         by my last patch (hopefully).
9966
9967 2002-11-08  John Levon  <levon@movementarian.org>
9968
9969         * iterators.h:
9970         * iterators.C:
9971         * buffer.h:
9972         * buffer.C:
9973         * paragraph.h:
9974         * paragraph.C:
9975         * toc.h:
9976         * toc.C: ParConstIterator, and use it (from Lars)
9977
9978 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9979
9980         * lyxtextclass.[Ch]: revise and add doxygen comments
9981
9982 2002-11-07  John Levon  <levon@movementarian.org>
9983
9984         * text.C: fix progress value for spellchecker
9985
9986         * toc.C: fix navigate menu for insetwrap inside minipage
9987
9988         * paragraph_funcs.C: added FIXME for suspect code
9989
9990 2002-11-07  John Levon  <levon@movementarian.org>
9991
9992         * BufferView_pimpl.C: fix redrawing of insets
9993           on buffer switch
9994
9995 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9996
9997         * text2.C (updateCounters): fix bug 668
9998
9999 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10000
10001         * text3.C (dispatch): Do not make the buffer dirty when moving the
10002         cursor.
10003
10004 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10005
10006         * vc-backend.C: STRCONV
10007         (scanMaster): ditto
10008
10009         * text2.C (setCounter): STRCONV
10010
10011         * paragraph.C (asString): STRCONV
10012
10013         * lyxlength.C (asString): STRCONV
10014         (asLatexString): ditto
10015
10016         * lyxgluelength.C (asString): STRCONV
10017         (asLatexString): ditto
10018
10019         * lyxfunc.C (dispatch): STRCONV
10020         (open): ditto
10021
10022         * lyxfont.C (stateText): STRCONV
10023
10024         * importer.C (Import): STRCONV
10025
10026         * counters.C (labelItem): STRCONV
10027         (numberLabel): ditto
10028         (numberLabel): remove unused ostringstream o
10029
10030         * chset.C: STRCONV
10031         (loadFile): ditto
10032
10033         * bufferview_funcs.C (currentState): STRCONV
10034
10035         * buffer.C (readFile): STRCONV
10036         (asciiParagraph): ditto
10037         (makeLaTeXFile): ditto
10038
10039         * Spacing.C (writeEnvirBegin): STRCONV
10040
10041         * LaTeXFeatures.C (getLanguages): STRCONV
10042         (getPackages): ditto
10043         (getMacros): ditto
10044         (getBabelOptions): ditto
10045         (getTClassPreamble): ditto
10046         (getLyXSGMLEntities): ditto
10047         (getIncludedFiles): ditto
10048
10049         * LaTeX.C: STRCONV
10050         (run): ditto
10051         (scanAuxFile): ditto
10052         (deplog): ditto
10053
10054         * LString.h: add the STRCONV macros
10055
10056         * BufferView_pimpl.C (savePosition): STRCONV
10057         (restorePosition): ditto
10058         (MenuInsertLyXFile): ditto
10059
10060         * vc-backend.C (scanMaster): change from submatch[...] to
10061         submatch.str(...)
10062
10063         * funcrequest.C: include config.h
10064
10065         * factory.C: include config.h
10066
10067         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10068
10069         * box.C: include config.h
10070
10071         * LaTeX.C (scanAuxFile): change from submatch[...] to
10072         submatch.str(...)
10073         (deplog): ditto
10074
10075 2002-10-25  Angus Leeming  <leeming@lyx.org>
10076
10077         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10078
10079         * ispell.[Ch] (setError): new method.
10080         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10081         Use setError() insetead of goto END.
10082
10083         * lyx_cb.C (AutoSave): move out child process into new class
10084         AutoSaveBuffer.
10085
10086 2002-10-30  John Levon  <levon@movementarian.org>
10087
10088         * text3.C: make start appendix undoable
10089
10090 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10091
10092         * lyxlength.C (inPixels): Fix returned value.
10093
10094         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10095         environment.
10096
10097 2002-10-24  Angus Leeming  <leeming@lyx.org>
10098
10099         * lyxgluelength.h: no need to forward declare BufferParams
10100         or BufferView, so don't.
10101
10102 2002-10-21  John Levon  <levon@movementarian.org>
10103
10104         * BufferView.C: menuUndo ->undo, redo
10105
10106         * BufferView.h: document, remove dead, make some methods private
10107
10108         * paragraph_funcs.h:
10109         * paragraph_funcs.C:
10110         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10111
10112         * buffer.h:
10113         * buffer.C:
10114         * sgml.h:
10115         * sgml.C: move sgml open/close tag into sgml.C
10116
10117         * bufferview_funcs.h: unused prototype
10118
10119         * lyxfunc.h:
10120         * lyxfunc.C: remove unused
10121
10122         * lyxtext.h:
10123         * text.C: remove unused
10124
10125 2002-10-21  John Levon  <levon@movementarian.org>
10126
10127         * BufferView.h:
10128         * BufferView.C:
10129         * BufferView_pimpl.h:
10130         * BufferView_pimpl.C: fix mouse wheel handling based on
10131           patch from Darren Freeman
10132
10133 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10134
10135         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10136
10137 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10138
10139         * lyxlength.C (inPixels): Fix hanfling of negative length.
10140         Fix LyXLength::MU case.
10141
10142 2002-10-16  John Levon  <levon@movementarian.org>
10143
10144         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10145
10146 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10147
10148         * converter.C (view): add support for $$i (file name) and $$p
10149         (file path) for the viewer command. If $$i is not specified, then
10150         it is appended to the command (for compatibility with old syntax)
10151
10152 2002-10-14  Juergen Vigna  <jug@sad.it>
10153
10154         * undo_funcs.C (textHandleUndo): alter the order in which the
10155         new undopar is added to the LyXText, as we have to set first
10156         the right prev/next and then add it as otherwise the rebuild of
10157         LyXText is not correct. Also reset the cursor to the right paragraph,
10158         with this IMO we could remove the hack in "redoParagraphs()".
10159
10160 2002-10-09  Angus Leeming  <leeming@lyx.org>
10161
10162         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10163         to turn off an optimisation if a new inset is to be inserted.
10164
10165 2002-10-11 André Pönitz <poenitz@gmx.net>
10166
10167         * lyxtext.h: make some functions public to allow access
10168         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10169
10170 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10171
10172         * text3.C (dispatch): when changing layout, avoid an infinite loop
10173         [bug #652]
10174
10175 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10176
10177         * lyxrc.C (read): treat a viewer or converter command of "none" as
10178         if it were empty.
10179
10180         * MenuBackend.C (expandFormats): for an update, also allow the
10181         formats that are not viewable
10182
10183         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10184         script if it is newer than the lyxrc.defaults in user directory
10185
10186 2002-10-07 André Pönitz <poenitz@gmx.net>
10187
10188         * text.C: Vitaly Lipatov's small i18n fix
10189
10190 2002-09-25  Angus Leeming  <leeming@lyx.org>
10191
10192         * ispell.h: doxygen fix.
10193
10194 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10195
10196         * buffer.h (readFile): Add a new argument to the method, to allow
10197         reading of old-format templates.
10198
10199 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10200
10201         * toc.C (getTocList): Get TOC from InsetWrap.
10202
10203 2002-09-16  John Levon  <levon@movementarian.org>
10204
10205         * lyxfunc.C: check tabular for cut/copy too
10206
10207 2002-09-12  John Levon  <levon@movementarian.org>
10208
10209         * LyXAction.C: tidy
10210
10211         * factory.h:
10212         * factory.C: add header
10213
10214         * paragraph_funcs.h:
10215         * paragraph_funcs.C: cleanup
10216
10217 2002-09-11  John Levon  <levon@movementarian.org>
10218
10219         * PrinterParams.h: odd/even default to true
10220
10221 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10222
10223         * PrinterParams.h: update printer parameters for new xforms dialog
10224
10225 2002-09-11  Angus Leeming  <leeming@lyx.org>
10226
10227         * lyxserver.C (read_ready): re-write to make it more transparent
10228         and to make it work in coherent fashion under Tru64 Unix.
10229
10230 2002-09-11  André Pönitz <poenitz@gmx.net>
10231
10232         * commandtags.h:
10233         * LyXAction.C:
10234         * text3.C: implement LFUN_WORDSEL
10235
10236 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10237
10238         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10239         make floatlist_ a boost::shared_ptr<FloatList>
10240
10241         * lyxtextclass.C: include FloatList.h
10242         (LyXTextClass): initialize floatlist_
10243         (TextClassTags): add TC_NOFLOAT
10244         (Read): match "nofloat" to TC_NOFLOAT and use it.
10245         (readFloat): modify call to floatlist_
10246         (floats): ditto
10247         (floats): ditto
10248
10249         * FloatList.[Ch] (FloatList): remove commented out float
10250         initialization.
10251         (erase): new function
10252
10253 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10254
10255         * MenuBackend.C (expandToc): fix crash when there is no document
10256         open
10257
10258 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10259
10260         * many files: Add insetwrap.
10261
10262 2002-09-09  John Levon  <levon@movementarian.org>
10263
10264         * text2.C: remove confusing and awkward depth wraparound
10265
10266 2002-09-09  John Levon  <levon@movementarian.org>
10267
10268         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10269
10270         * buffer.h:
10271         * buffer.C: remove getIncludeonlyList()
10272
10273         * paragraph.C:
10274         * lyxfunc.C: remove headers
10275
10276 2002-09-09  Juergen Vigna  <jug@sad.it>
10277
10278         * text.C (getColumnNearX): fix form Michael this is most
10279         probably a cut&paste bug.
10280
10281 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10282
10283         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10284
10285         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10286         references, ws changes.
10287
10288         * text2.C (init): update counters after init
10289         (insertParagraph): no need to set counter on idividual paragraphs.
10290         (setCounter): access the counters object in the textclass object
10291         on in the buffer object.
10292         (updateCounters): ditto
10293
10294         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10295         shared_ptr<Counters> to avoid loading counters.h in all
10296         compilation units.
10297         (LyXTextClass): initialize ctrs_
10298         (TextClassTags): add TC_COUNTER, and ...
10299         (Read): use it here.
10300         (CounterTags): new tags
10301         (readCounter): new function
10302         (counters): new funtion
10303         (defaultLayoutName): return a const reference
10304
10305         * counters.C (Counters): remove contructor
10306         (newCounter): remove a couple of unneeded statements.
10307         (newCounter): simplify a bit.
10308         (numberLabel): some small formatting changes.
10309
10310         * buffer.[Ch]: remove all traces of counters, move the Counters
10311         object to the LyXTextClass.
10312
10313 2002-09-06  Alain Castera  <castera@in2p3.fr>
10314
10315         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10316         package to set the horizontal alignment on fixed width columns.
10317
10318         * lyx_sty.C:
10319         * lyx_sty.h: added tabularnewline macro def.
10320
10321         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10322
10323 2002-09-06  John Levon  <levon@movementarian.org>
10324
10325         * LyXAction.C: tooltips for sub/superscript
10326
10327         * MenuBackend.C: a bit more verbose
10328
10329         * lyxfunc.C: tiny clean
10330
10331         * undo_funcs.C: document undo_frozen
10332
10333 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10334
10335         * counters.C (Counters): add missing algorithm counter.
10336
10337         * text2.C (setCounter): lookup the counter with layouts latexname
10338         instead of by section number.
10339         (setCounter): use a hackish way to lookup the correct enum
10340         counter.
10341         a float name->type change
10342         reset enum couners with counter name directly instead of depth value.
10343
10344         * counters.C (Counters): remove the push_backs, change to use the
10345         float type not the float name.
10346         (labelItem): remove unused string, float name->type change
10347
10348         * counters.h: don't include vector, loose the enums and sects vectors
10349
10350 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10351
10352         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10353         (Read): add float->TC_FLOAT to textclassTags
10354         (Read): and handle it in the switch
10355         (readFloat): new function
10356
10357         * FloatList.C (FloatList): comment out the hardcoded float
10358         definitions.
10359
10360         * lyxlayout.h: ws change.
10361
10362 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10363
10364         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10365
10366 2002-09-03  Angus Leeming  <leeming@lyx.org>
10367
10368         * BufferView_pimpl.h: qualified name is not allowed in member
10369         declaration: WorkArea & Pimpl::workarea() const;
10370
10371         * factory.C: added using std::endl directive.
10372
10373         * text3.C: added using std::find and std::vector directives.
10374
10375 2002-08-29  André Pönitz <poenitz@gmx.net>
10376
10377         * lyxtext.h:
10378         * text2.C: remove unused member number_of_rows
10379
10380         * Makefile.am:
10381         * BufferView2.C: remove file, move contents to...
10382         * BufferView.C: ... here
10383
10384         * BufferView_pimpl.C:
10385         * factory.C: move more inset creation to factory
10386
10387         * vspace.C: avoid direct usage of LyXText, ws changes
10388
10389         * BufferView.[Ch]:
10390                 don't provide direct access to WorkArea, use two simple
10391                 acessors haveSelction() and workHeight() instead
10392
10393
10394 2002-08-29  John Levon  <levon@movementarian.org>
10395
10396         * BufferView_pimpl.C (dispatch): do not continue when
10397           no buffer
10398
10399 2002-08-28  André Pönitz <poenitz@gmx.net>
10400
10401         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10402
10403         * BufferView.h:
10404         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10405
10406 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10407
10408         * buffer.C: increment LYX_FORMAT to 221
10409
10410         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10411         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10412
10413         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10414
10415         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10416
10417 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10418
10419         * factory.C (createInset): use LyXTextClass::floats
10420
10421         * MenuBackend.C (expandFloatListInsert):
10422         (expandFloatInsert):
10423         (expandToc):
10424
10425         * text2.C (setCounter):
10426
10427         * LaTeXFeatures.C (useFloat):
10428         (getFloatDefinitions):
10429
10430         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10431
10432         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10433         floatlist_, with accessor floats().
10434
10435         * FloatList.h: remove global FloatList
10436
10437 2002-08-26  André Pönitz <poenitz@gmx.net>
10438
10439         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10440
10441         * BufferView.h:
10442         * BufferView2.C:
10443         * BufferView_pimpl.C:
10444         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10445
10446 2002-08-25  John Levon  <levon@movementarian.org>
10447
10448         * LyXAction.C: fix margin note description
10449
10450 2002-08-24  John Levon  <levon@movementarian.org>
10451
10452         * buffer.C:
10453         * bufferlist.C:
10454         * bufferview_funcs.C:
10455         * lyxfont.C:
10456         * undo_funcs.C: cleanups
10457
10458         * lyxfunc.C: disable CUT/COPY when no selection
10459
10460 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10461
10462         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10463         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10464
10465         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10466         Add backward compatibility to "mono", "gray" and "no".
10467
10468 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10469
10470         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10471         (and file_format >= 200).
10472
10473 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10474
10475         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10476
10477 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10478
10479         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10480
10481 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10482
10483         * BufferView_pimpl.C:
10484         * LyXAction.C:
10485         * buffer.C:
10486         * commandtags.h:
10487         * lyxfunc.C:
10488         * paragraph.[Ch]:
10489         * text2.C:
10490         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10491         inset and code to make it  work with the paragraph code. The inset
10492         can be anywhere in the paragraph, but will only do the expected
10493         thing in LaTeX if the layout file contains the parameter line
10494                         OptionalArgs    1
10495         (or more generally, a nonzero value) for that layout.
10496
10497 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10498
10499         * paragraph.h: remove the declaration of undefined counters class
10500         function.
10501
10502 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10503
10504         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10505         Dr. Richard Hawkins.
10506
10507 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10508
10509         * paragraph_funcs.h: remove some unneeded includes
10510
10511         * text.C (backspace): pasteParagraph now in global scipe
10512
10513         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10514         (pasteSelection): ditto
10515
10516         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10517         * paragraph_funcs.C (pasteParagraph): ... here
10518
10519 2002-08-20  André Pönitz <poenitz@gmx.net>
10520
10521         * commandtags.h: new LFUNs for swapping/copying table row/colums
10522
10523         * LyXAction.C:
10524         * lyxfunc.C: support for new lfuns
10525
10526 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10527
10528         * tabular.C:
10529         * buffer.[Ch]: remove NO_COMPABILITY stuff
10530
10531 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10532
10533         * boost.C (throw_exception): new file, with helper function for
10534         boost compiled without exceptions.
10535
10536         * paragraph.h:
10537         * lyxlength.C:
10538         * buffer.C:
10539         * ParameterStruct.h:
10540         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10541
10542         * bufferlist.C (emergencyWriteAll): use boost bind
10543
10544         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10545
10546         * text.C: include paragraph_funcs.h
10547         (breakParagraph): breakParagraph is now in global scope
10548
10549         * paragraph_funcs.[Ch]: new files
10550
10551         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10552         global scope
10553
10554         * buffer.C: include paragraph_funcs.h
10555         (insertStringAsLines): breakParagraph is now in global scope
10556
10557         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10558         paragraph_funcs.C
10559
10560         * CutAndPaste.C: include paragraph_funcs.h
10561         (cutSelection): breakParagraphConservative is now in global scope
10562         (pasteSelection): ditto
10563
10564         * buffer.h: declare oprator== and operator!= for
10565         Buffer::inset_iterator
10566
10567         * bufferlist.C (emergencyWrite): don't use fmt(...)
10568
10569         * text3.C: add using std::endl
10570
10571         * BufferView.C (moveCursorUpdate): remove default arg
10572
10573 2002-08-20  André Pönitz <poenitz@gmx.net>
10574
10575         * buffer.[Ch]: move inline functions to .C
10576
10577         * BufferView2.C:
10578         * BufferView_pimpl.C:
10579         * text.C:
10580         * buffer.[Ch]: use improved inset_iterator
10581
10582         * buffer.C:
10583         * paragraph.[Ch]: write one paragraph at a time
10584
10585 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10586
10587         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10588         style if style is not specified.
10589
10590 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10591
10592         * text2.C (setCounter): when searching for right label for a
10593         caption, make sure to recurse to parent insets (so that a caption
10594         in a minipage in a figure float works) (bug #568)
10595
10596 2002-08-20  André Pönitz <poenitz@gmx.net>
10597
10598         * text3.C: new file for LyXText::dispatch() and helpers
10599
10600         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10601
10602         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10603
10604 2002-08-19  André Pönitz <poenitz@gmx.net>
10605
10606         * lyxtext.h:
10607         * text.C: new LyXText::dispatch()
10608
10609         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10610
10611 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10612
10613         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10614
10615         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10616         Hebrew text.
10617
10618 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10619
10620         * Makefile.am: use $(variables) instead of @substitutions@
10621
10622 2002-08-15  André Pönitz <poenitz@gmx.net>
10623
10624         * lyxfunc.C:
10625         * BufferView_pimpl.C: streamlining mathed <-> outer world
10626         interaction
10627
10628         * commandtags.h:
10629         * LyXAction.C: remove unused LFUN_MATH
10630
10631 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10632
10633         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10634
10635 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10636
10637         * paragraph.C (Paragraph): reformat a bit
10638         (cutIntoMinibuffer): use builtin InsetList function instad of
10639         doing it manually.
10640         (getInset): ditto
10641
10642         * buffer.C: include boost/bind.hpp, add using std::for_each
10643         (writeFileAscii): use ParagraphList iterators
10644         (validate): use for_each for validate traversal of paragraphs
10645         (getBibkeyList): use ParagraphList iterators
10646         (resizeInsets): use for_each to resizeInsetsLyXText for all
10647         paragraphs.
10648         (getParFromID): use ParagraphList iterators
10649
10650         * BufferView2.C (lockInset): use paragraph list and iterators
10651
10652 2002-08-14  John Levon  <levon@movementarian.org>
10653
10654         * lyxserver.C: remove spurious xforms include
10655
10656 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10657
10658         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10659
10660 2002-08-13  André Pönitz <poenitz@gmx.net>
10661
10662         * LyXAction.[Ch]:
10663         * lyxfunc.C: further cleaning
10664
10665 2002-08-13  André Pönitz <poenitz@gmx.net>
10666
10667         * funcrequest.h: new constructor
10668
10669         * funcrequest.C: move stuff here from .h
10670
10671         * Makefile.am:
10672         * BufferView_pimpl.C:
10673         * LyXAction.C:
10674         * toc.C:
10675         * lyxfunc.C: subsequent changes
10676
10677         * lyxfunc.h: new view() member function
10678
10679         * lyxfunc.C: subsequent changes
10680
10681 2002-08-13  Angus Leeming  <leeming@lyx.org>
10682
10683         * BufferView2.C:
10684         * BufferView_pimpl.C:
10685         * buffer.C:
10686         * converter.C:
10687         * importer.C:
10688         * lyxfunc.C:
10689         * lyxvc.C:
10690         * toc.C:
10691         * vc-backend.C:
10692         changes due to the changed LyXView interface that now returns references
10693         to member variables not pointers.
10694
10695 2002-08-13  Angus Leeming  <leeming@lyx.org>
10696
10697         * WordLangTuple (word, lang_code): return references to strings,
10698         not strings.
10699
10700         * BufferView.h:
10701         * SpellBase.h:
10702         * lyxtext.h: forward-declare WordLangTuple.
10703
10704         * BufferView2.C:
10705         * ispell.C:
10706         * pspell.C:
10707         * text.C: #include "WordLangTuple.h".
10708
10709         * lyxtext.h:
10710         * text.C: (selectNextWordToSpellcheck): constify return type.
10711
10712 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10713
10714         * buffer.C:
10715         * buffer.h:
10716         * lyxtext.h:
10717         * paragraph.C:
10718         * paragraph_pimpl.h:
10719         * text.C:
10720         * text2.C:
10721         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10722         suggested by Angus.
10723         Made updateCounter always count from start of buffer, and removed
10724         second argument (par).
10725         Reverted floats number display to '#'. Perhaps I'll try again when the
10726         code base is sanitized a bit.
10727
10728 2002-08-12  Angus Leeming  <leeming@lyx.org>
10729
10730         * buffer.[Ch] (getLabelList): constify.
10731
10732 2002-08-07  André Pönitz <poenitz@gmx.net>
10733
10734         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10735
10736         * funcrequest.h: extension to keep mouse (x,y) position
10737
10738 2002-08-12  Juergen Vigna  <jug@sad.it>
10739
10740         * BufferView2.C (insertErrors): forbid undo when inserting error
10741         insets.
10742
10743         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10744
10745 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10746
10747         * ParagraphList.[Ch]: new files
10748
10749         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10750
10751         * BufferView2.C (lockInset): ParagraphList changes
10752         * toc.C: ditto
10753         * text2.C: ditto
10754         * bufferlist.C: ditto
10755         * buffer.h: ditto
10756         * buffer.C: ditto
10757
10758 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10759
10760         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10761         unused class variable counter_,
10762
10763         * paragraph.[Ch] (getFirstCounter): delete unused function
10764
10765         * counters.C: include LAssert.h
10766         (reset): add a new function with no arg, change other version to
10767         not have def. arg and to not allow empty arg.
10768
10769         * text2.C (setCounter): remove empty arg from call to Counters::reset
10770
10771 2002-08-11  John Levon  <levon@movementarian.org>
10772
10773         * Makefile.am: add WordLangTuple.h
10774
10775 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10776
10777         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10778         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10779
10780         * insets/insettext.C: InsetList changes
10781
10782         * graphics/GraphicsSupport.C (operator()): InsetList changes
10783
10784         * toc.C (getTocList): InsetList changes
10785
10786         * paragraph_pimpl.[Ch]: InsetList changes
10787
10788         * paragraph.[Ch]: InsetList changes
10789
10790         * buffer.C (inset_iterator): InsetList changes
10791         (setParagraph): ditto
10792         * buffer.h (inset_iterator): ditto
10793         * iterators.C (operator++): ditto
10794         * iterators.h: ditto
10795
10796         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10797
10798         * InsetList.[Ch]: new files, most InsetList handling moved out of
10799         paragraph.C.
10800
10801         * BufferView2.C (removeAutoInsets): InsetList changes
10802         (lockInset): ditto
10803         (ChangeInsets): ditto
10804
10805 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10806
10807         * paragraph_pimpl.h (empty): new function
10808
10809         * paragraph.[Ch] (empty): new function
10810
10811         * other files: use the new Paragraph::empty function
10812
10813 2002-08-09  John Levon  <levon@movementarian.org>
10814
10815         * lyxtext.h: remove unused refresh_height
10816
10817 2002-08-09  John Levon  <levon@movementarian.org>
10818
10819         * Makefile.am:
10820         * sgml.h:
10821         * sgml.C:
10822         * buffer.C:
10823         * paragraph.h:
10824         * paragraph.C: move sgml char escaping out of paragraph
10825
10826         * paragraph.h:
10827         * paragraph.C: remove id setter
10828
10829         * buffer.C:
10830         * paragraph.C:
10831         * paragraph_pimpl.C: remove dead tex_code_break_column
10832
10833         * bufferview_funcs.C: small cleanup
10834
10835         * lyxfunc.C: remove dead proto
10836
10837         * lyxtext.h: make some stuff private. Remove some dead stuff.
10838
10839         * lyxgluelength.C: make as[LyX]String() readable
10840
10841 2002-08-08  John Levon  <levon@movementarian.org>
10842
10843         * LyXAction.h:
10844         * LyXAction.C:
10845         * MenuBackend.C:
10846         * ToolbarDefaults.C:
10847         * lyxfunc.C:
10848         * lyxrc.C:
10849         * toc.C: lyxaction cleanup
10850
10851 2002-08-08  John Levon  <levon@movementarian.org>
10852
10853         * BufferView2.C: small cleanup
10854
10855         * lyxfind.h:
10856         * lyxfind.C: move unnecessary header into the .C
10857
10858 2002-08-08  John Levon  <levon@movementarian.org>
10859
10860         * funcrequest.h: just tedious nonsense
10861
10862         * lyx_main.h:
10863         * lyx_main.C: cleanups
10864
10865         * buffer.C:
10866         * vspace.C: remove dead header lyx_main.h
10867
10868 2002-08-07  Angus Leeming  <leeming@lyx.org>
10869
10870         * Paragraph.[Ch]:
10871         * paragraph_pimpl.h:
10872         Forward declare class Counters in paragraph.h by moving the ctrs member
10873         variable into Paragraph::Pimpl.
10874         (counters): new method, returning a reference to pimpl_->ctrs.
10875
10876         * text2.C: ensuing changes.
10877
10878 2002-08-07  John Levon  <levon@movementarian.org>
10879
10880         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10881
10882         * BufferView_pimpl.C: announce X selection on double/triple
10883           click
10884
10885         * lyx_main.C: use correct bool in batch dispatch
10886
10887         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10888
10889 2002-08-07  André Pönitz <poenitz@gmx.net>
10890
10891         * funcrequest.h: new class to wrap a kb_action and its argument
10892
10893         * BufferView.[Ch]:
10894         * BufferView_pimpl[Ch]:
10895         * LaTeX.C:
10896         * LyXAction.[Ch]:
10897         * lyxfunc.[Ch]:
10898         * lyxrc.C: subsequent changes
10899
10900
10901 2002-08-07  John Levon  <levon@movementarian.org>
10902
10903         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10904           document options change.
10905
10906 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10907
10908         * counters.[Ch]
10909         * text2.C
10910         * paragraph.[Ch]
10911         * makefile.am: move counters functionality over from
10912         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10913
10914 2002-08-06  John Levon  <levon@movementarian.org>
10915
10916         * WordLangTuple.h: new file for word + language code tuple
10917
10918         * SpellBase.h:
10919         * pspell.h:
10920         * pspell.C:
10921         * ispell.h:
10922         * ispell.C:
10923         * lyxtext.h:
10924         * text.C:
10925         * text2.C:
10926         * BufferView.h:
10927         * BufferView2.C: use WordLangTuple
10928
10929         * layout.h:
10930         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10931
10932 2002-08-06  John Levon  <levon@movementarian.org>
10933
10934         * lyx_main.C: fix cmdline batch handling
10935
10936 2002-08-06  André Pönitz <poenitz@gmx.net>
10937
10938         * lyxrc.C: set default for show_banner to true
10939
10940 2002-08-06  John Levon  <levon@movementarian.org>
10941
10942         * pspell.C: fix a crash, and allow new aspell to work
10943
10944 2002-08-06  John Levon  <levon@movementarian.org>
10945
10946         * lyxfunc.C:
10947         * kbmap.C: small cleanup
10948
10949         * vspace.h:
10950         * vspace.C: add const
10951
10952 2002-08-05  John Levon  <levon@movementarian.org>
10953
10954         * LyXAction.C: back to tabular-insert
10955
10956 2002-08-04  John Levon  <levon@movementarian.org>
10957
10958         * BufferView.h:
10959         * BufferView.C: cosmetic change
10960
10961         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10962
10963         * bufferlist.C:
10964         * buffer.h:
10965         * buffer.C:
10966         * lyxcb.h:
10967         * lyxcb.C:
10968         * lyxserver.C:
10969         * lyxvc.C:
10970         * vc-backend.C:
10971         * BufferView2.C: purge all "Lyx" not "LyX" strings
10972
10973         * lyxcursor.h:
10974         * lyxcursor.C: attempt to add some documentation
10975
10976         * lyxfunc.C:
10977         * commandtags.h:
10978         * LyXAction.C:
10979         * ToolbarDefaults.C:
10980         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10981           merge with LFUN_TABULAR_INSERT
10982
10983         * Makefile.am:
10984         * SpellBase.h:
10985         * ispell.h:
10986         * ispell.C:
10987         * pspell.h:
10988         * pspell.C: split up i/pspell implementations into separate
10989           files, many cleanups
10990
10991         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10992
10993         * text2.C: some cleanup
10994
10995         * lyxfunc.C: don't check for isp_command == "none" any more, it
10996           didn't make any sense
10997
10998 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10999
11000         * counters.[Ch]
11001         * text2.C
11002         * paragraph.[Ch]
11003         * makefile.am: move counters functionality over
11004         from text2.C/paragraph.[Ch] to counters.[Ch], and
11005         make proper C++.
11006 2002-08-02  John Levon  <levon@movementarian.org>
11007
11008         * buffer.C: s/lyxconvert/lyx2lyx/
11009
11010 2002-08-02  Angus Leeming  <leeming@lyx.org>
11011
11012         * lyxlex.C: revert John's change as it breaks reading of the user
11013         preamble.
11014
11015 2002-08-02  Angus Leeming  <leeming@lyx.org>
11016
11017         * importer.C (Import):
11018         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11019         changes due to LyXView::view() now returning a boost::shared_ptr.
11020
11021 2002-08-02  John Levon  <levon@movementarian.org>
11022
11023         * lyxlex.C: small cleanup
11024
11025 2002-08-02  John Levon  <levon@movementarian.org>
11026
11027         * text2.C (status): small cleanup, no logic change
11028
11029 2002-08-01  John Levon  <levon@movementarian.org>
11030
11031         * buffer.h:
11032         * buffer.C (writeFile): don't output alerts, caller
11033           handles this
11034
11035         * bufferlist.C:
11036         * lyx_cb.C: from above
11037
11038         * lyxfunc.C: allow to open non-existent files
11039
11040 2002-07-31  John Levon  <levon@movementarian.org>
11041
11042         * lyxserver.C: don't let incidental errors get
11043           in the way (errno)
11044
11045 2002-07-30  John Levon  <levon@movementarian.org>
11046
11047         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11048
11049 2002-07-30  John Levon  <levon@movementarian.org>
11050
11051         * lyxserver.h:
11052         * lyxserver.C: remove I/O callback too
11053
11054 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11055
11056         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11057         log.
11058
11059 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11060
11061         * many files: strip,frontStrip -> trim,ltrim,rtrim
11062
11063 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11064
11065         * PrinterParams.h: remove extern containsOnly, and include
11066         support/lstrings.h instead.
11067
11068         * LaTeX.C (scanAuxFile): modify because of strip changes
11069         (deplog): ditto
11070         * buffer.C (makeLaTeXFile): ditto
11071         * bufferparams.C (writeFile): ditt
11072         * lyxfont.C (stateText): ditto
11073         * lyxserver.C (read_ready): ditto
11074         * vc-backend.C (scanMaster): ditto
11075
11076         * BufferView_pimpl.h: ws changes
11077
11078         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11079
11080 2002-07-26  André Pönitz <poenitz@gmx.net>
11081
11082         * kb_sequence.C: remove unnedred usings
11083
11084 2002-07-26  Juergen Vigna  <jug@sad.it>
11085
11086         * lyxfind.C (LyXReplace): we have to check better if the returned
11087         text is not of theLockingInset()->getLockingInset().
11088
11089 2002-07-25  Juergen Vigna  <jug@sad.it>
11090
11091         * lyxfind.C (LyXReplace): don't replace if we don't get the
11092         right LyXText.
11093
11094         * undo_funcs.C (createUndo): remove debugging code.
11095
11096 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11097
11098         * buffer.C (parseSingleLyXformat2Token): Use default placement
11099         when reading old floats.
11100
11101         * FloatList.C (FloatList): Change the default placement of figure
11102         and tables to "tbp".
11103
11104 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11105
11106         * MenuBackend.C: using std::max
11107
11108 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11109
11110         * MenuBackend.C (expandToc):
11111         (expandToc2): code moved from xforms menu frontend. It is now
11112         generic and TOCs are transparent to menu frontends.
11113
11114 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11115
11116         * toc.C (getTocList): protect against buf=0
11117
11118         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11119         Menu as first parameter. Now, this calls itself recursively to
11120         expand a whole tree (this will be useful for TOC handling)
11121         (expandFloatInsert): remove 'wide' version of floats
11122
11123         * MenuBackend.h (submenuname): returns the name of the submenu.
11124         (submenu): returns the submenu itself, provided it has been
11125         created by MenuBackend::expand
11126
11127 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11128
11129         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11130         insets which have noFontChange == true. (bug #172)
11131
11132 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11133
11134         * BufferView_pimpl.C: add connection objects and use them...
11135         (Pimpl): here.
11136
11137 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11138
11139         * MenuBackend.C (expandLastfiles):
11140         (expandDocuments):
11141         (expandFormats):
11142         (expandFloatListInsert):
11143         (expandFloatInsert):
11144         (expand): split expand in parts
11145
11146 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11147
11148         * lyx_gui.C: use lyx_gui::exit()
11149
11150 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11151
11152         * LyXAction.C: show the failing pseudo action
11153
11154 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11155
11156         * buffer.C (readFile): Run the lyxconvert script in order to read
11157         old files.
11158
11159 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11160
11161         * LyXAction.C:
11162         * commandtags.h:
11163         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11164
11165 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11166
11167         * LyXAction.C:
11168         * commandtags.h:
11169         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11170
11171 2002-07-22  Herbert Voss  <voss@lyx.org>
11172
11173         * lengthcommon.C:
11174         * lyxlength.[Ch]: add support for the vertical lengths
11175
11176 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11177
11178         * toc.[Ch]: std:: fixes
11179
11180 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11181
11182         * lyxrc.C: do not include lyx_main.h
11183
11184         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11185         for layouts
11186
11187         * lyxrc.C:
11188         * encoding.C:
11189         * bufferlist.C:
11190         * BufferView2.C: include "lyxlex.h"
11191
11192         * tabular.h:
11193         * bufferparams.h: do not #include "lyxlex.h"
11194
11195         * lyxtextclasslist.C (Add): remove method
11196         (classlist): renamed to classlist_
11197
11198         * paragraph_pimpl.C:
11199         * paragraph.C:
11200         * text2.C:
11201         * CutAndPaste.C:
11202         * bufferview_funcs.C:
11203         * bufferlist.C:
11204         * text.C:
11205         * LaTeXFeatures.C:
11206         * buffer.C:
11207         * toc.C (getTocList): use BufferParams::getLyXTextClass
11208
11209         * toc.C (getTocList): use InsetFloat::addToToc
11210
11211         * toc.[Ch]: new files, containing helper functions to handle table
11212         of contents
11213
11214         * lyxfunc.C (dispatch): no need to remove spaces around command
11215         given as a string
11216         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11217         first command of the sequence; it is not very clever, but I do not
11218         have a better idea, actually
11219
11220         * LyXAction.C (LookupFunc): make sure to remove space at the
11221         beginning and end of the command
11222
11223 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11224
11225         * MenuBackend.C (getMenubar): new method: return the menubar of
11226         this menu set
11227         (read): treat differently reading of menu and menubar (in
11228         particular, the menubar has no name now)
11229         (Menu::menubar): remove
11230
11231         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11232         saving is finished
11233
11234 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11235
11236         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11237         a bibitem inset in a RTL paragraph.
11238
11239 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11240
11241         * paragraph_pimpl.C: constify
11242
11243         * BufferView_pimpl.C:
11244         * LaTeX.C:
11245         * lyxfunc.C: fix dispatch in a nicer way
11246
11247 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11248
11249         * lyxfunc.C (dispatch):
11250         * BufferView_pimpl.C:
11251         * BufferView_pimpl.h:
11252         * BufferView.C:
11253         * BufferView.h: rename Dispatch() to dispatch()
11254
11255         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11256
11257         * lyxlayout.C (Read): honor DependsOn tag
11258
11259         * lyxlayout.[Ch] (depends_on): new method
11260
11261         * version.C.in: update lyx_docversion
11262
11263         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11264
11265         * paragraph.C (validate): remove from here...
11266         * paragraph_pimpl.C (validate): ... and move here
11267         (isTextAt): make it const
11268
11269         * buffer.C (getLists): ws cleanup
11270
11271 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11272
11273         * language.C (read): Use iso8859-1 encoding in latex_lang
11274         (this prevents LyX from crashing when using iso10646-1 encoding).
11275
11276 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11277
11278         * text2.C (toggleInset): if cursor is inside an inset, close the
11279         inset and leave cursor _after_ it
11280
11281 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11282
11283         * lyxfunc.C: move minibuffer completion handling out of here
11284
11285 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11286
11287         * BufferView_pimpl.C:
11288         * LaTeX.C: fix dispatch calls
11289
11290 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11291
11292         * text.C (drawChars): Fix Arabic text rendering.
11293
11294 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11295
11296         * LyXAction.C:
11297         * commandtags.h:
11298         * lyxfunc.C: remove message-push/pop
11299
11300         * lyxserver.C:
11301         * lyxfunc.h:
11302         * lyxfunc.C: rationalise some code by removing verboseDispatch
11303           in favour of a bool argument to dispatch()
11304
11305 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11306
11307         * lyx_main.C (init): make sure to read symlinks as absolute paths
11308
11309 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11310
11311         * lyxfunc.h:
11312         * lyxfunc.C: no need for commandshortcut to be a member
11313
11314 2002-07-15  André Pönitz <poenitz@gmx.net>
11315
11316         * converter.C: add support for $$s (scripts from lib/scripts dir)
11317         * lyx_main.C: white space
11318
11319 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11320
11321         * bufferlist.C:
11322         * lyxrc.h:
11323         * lyxrc.C: remove second exit confirmation
11324
11325 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11326
11327         * BufferView.h:
11328         * BufferView.C:
11329         * BufferView2.C:
11330         * BufferView_pimpl.h:
11331         * BufferView_pimpl.C:
11332         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11333
11334 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11335
11336         * MenuBackend.C (expand): add numeric shortcuts to document menu
11337
11338         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11339
11340 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11341
11342         * lyxfont.C (setLyXFamily):
11343         (setLyXSeries):
11344         (setLyXShape):
11345         (setLyXSize):
11346         (setLyXMisc):
11347         (lyxRead):
11348         * debug.C (value):
11349         * buffer.C (asciiParagraph): use ascii_lowercase
11350
11351 2002-07-15  Mike Fabian  <mfabian@suse.de>
11352
11353         * lyxlex_pimpl.C (search_kw):
11354         * lyxlex.C (getLongString):
11355         * converter.h (operator<):
11356         * converter.C (operator<):
11357         * buffer.C (parseSingleLyXformat2Token):
11358         (asciiParagraph):
11359         * ToolbarDefaults.C (read):
11360         * MenuBackend.C (checkShortcuts):
11361         (read):
11362         * LColor.C (getFromGUIName):
11363         (getFromLyXName): use the compare_ascii_no_case instead of
11364         compare_no_case, because in turkish, 'i' is not the lowercase
11365         version of 'I', and thus turkish locale breaks parsing of tags.
11366
11367 2002-07-16  Angus Leeming  <leeming@lyx.org>
11368
11369         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11370         now takes a Buffer const & argument.
11371
11372 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11373
11374         * BufferView.C (resize): check there's a buffer to resize
11375
11376 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11377
11378         * lyxfunc.C: remove dead code
11379
11380         * lyxserver.h:
11381         * lyxserver.C: use lyx_guii::set_read_callback
11382
11383 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11384
11385         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11386         an inset in a RTL paragraph.
11387
11388 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11389
11390         * lyxfunc.C: repaint after a font size update
11391
11392 2002-07-15  André Pönitz <poenitz@gmx.net>
11393
11394         * lyxlength.C: inBP should be able to return negative values
11395
11396 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11397
11398         * lyxfunc.C: use lyx_gui::update_fonts()
11399
11400 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11401
11402         * lyxfunc.C: use lyx_gui::update_color()
11403
11404 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11405
11406         * bufferlist.C:
11407         * lyxfunc.h:
11408         * lyxfunc.C:
11409         * lyxrc.h:
11410         * lyxrc.C: remove file->new asks for name option, and let
11411           buffer-new take an argument
11412
11413 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11414
11415         * BufferView_pimpl.C: remove unneeded extra repaint()
11416
11417 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11418
11419         * LyXAction.C: allow command-sequence with NoBuffer
11420
11421         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11422
11423 2002-07-10  Angus Leeming  <leeming@lyx.org>
11424
11425         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11426
11427 2002-07-09  Angus Leeming  <leeming@lyx.org>
11428
11429         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11430
11431 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11432
11433         * lengthcommon.h: whitespace
11434
11435         * lyxfunc.C: update scrollbar after goto paragraph
11436
11437         * lyxtext.h: factor out page break drawing, and fix it so
11438           page break/added space paints as selected nicely
11439
11440 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11441
11442         * BufferView_pimpl.C: add FIXMEs, clean up a little
11443
11444 2002-07-09  André Pönitz <poenitz@gmx.net>
11445
11446         * lyxfont.[Ch]: support for wasy symbols
11447
11448 2002-07-08  André Pönitz <poenitz@gmx.net>
11449
11450         * BufferView_pimpl.C: apply John's patch for #93.
11451
11452 2002-07-05  Angus Leeming  <leeming@lyx.org>
11453
11454         * BufferView_pimpl.C (buffer): generate previews if desired.
11455
11456         * LColor.h: add "preview" to the color enum.
11457
11458         * LColor.C (LColor): add a corresponding entry to the items array.
11459
11460         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11461         with this buffer.
11462
11463 2002-07-05  Angus Leeming  <leeming@lyx.org>
11464
11465         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11466         The body of the code is now in the method that is passed an ostream &
11467         rather than a file name.
11468         Pass an additional only_preamble parameter, useful for the forthcoming
11469         preview stuff.
11470
11471 2002-07-03  André Pönitz <poenitz@gmx.net>
11472
11473         * lyxfunc.C: simplify getStatus() a bit for math stuff
11474
11475 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11476
11477         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11478
11479 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11480
11481         * text.C (changeRegionCase): do not change case of all the
11482         document when region ends at paragraph end (bug #461)
11483
11484 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11485
11486         * paragraph.C (startTeXParParams):
11487         (endTeXParParams): add \protect when necessary
11488
11489 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11490
11491         * BufferView_pimpl.C (workAreaExpose): remove warning
11492
11493 2002-06-27  Angus Leeming  <leeming@lyx.org>
11494
11495         * Makefile.am: add lyxlayout_ptr_fwd.h.
11496
11497 2002-06-26  André Pönitz <poenitz@gmx.net>
11498
11499         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11500
11501 2002-06-25  Angus Leeming  <leeming@lyx.org>
11502
11503         * lyxfunc.C (dispatch): Comment out the call to
11504         grfx::GCache::changeDisplay. The method no longer exists now that the
11505         pixmap generation part of the graphics loader has been moved into
11506         InsetGraphics.
11507
11508 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11509
11510         * text2.C: layout as layout
11511
11512         * text.C: layout as layout
11513
11514         * tabular.C (OldFormatRead): layout as layout
11515
11516         * paragraph_pimpl.C (TeXDeeper): layout as layout
11517         (realizeFont): layout as layout
11518
11519         * paragraph.C (writeFile): layout as layout
11520         (validate): layout as layout
11521         (getFont): layout as layout
11522         (getLabelFont): layout as layout
11523         (getLayoutFont): layout as layout
11524         (breakParagraph): layout as layout
11525         (stripLeadingSpaces): layout as layout
11526         (getEndLabel): layout as layout
11527         (getMaxDepthAfter): layout as layout
11528         (applyLayout): layout as layout
11529         (TeXOnePar): layout as layout
11530         (simpleTeXOnePar): layout as layout
11531         (TeXEnvironment): layout as layout
11532         (layout): layout as layout
11533         (layout): layout as layout
11534
11535         * lyxtextclass.C (compare_name): new functor to work with
11536         shared_ptr, layout as layout
11537         (Read): layout as layout
11538         (hasLayout): layout as layout
11539         (operator): layout as layout
11540         (delete_layout): layout as layout
11541         (defaultLayout): layout as layout
11542
11543         * lyxlayout_ptr_fwd.h: new file
11544
11545         * lyxlayout.C (Read): layout as layout
11546
11547         * lyx_cb.C (MenuInsertLabel): layout as layout
11548
11549         * bufferlist.C (newFile): layout as layout
11550
11551         * buffer.C (readLyXformat2): layout as layout
11552         (parseSingleLyXformat2Token): layout as layout
11553         (insertStringAsLines): layout as layout
11554         (asciiParagraph): layout as layout
11555         (latexParagraphs): layout as layout
11556         (makeLinuxDocFile): layout as layout
11557         (simpleLinuxDocOnePar): layout as layout
11558         (makeDocBookFile): layout as layout
11559         (simpleDocBookOnePar): layout as layout
11560         (getLists): layout as layout
11561
11562         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11563
11564         * CutAndPaste.C (cutSelection): layout as layout
11565         (pasteSelection): layout as layout
11566         (SwitchLayoutsBetweenClasses): layout as layout
11567
11568         * BufferView_pimpl.C (Dispatch): layout as layout
11569         (smartQuote): layout as layout
11570
11571         * BufferView2.C (unlockInset): layout as layout
11572
11573 2002-06-24  André Pönitz <poenitz@gmx.net>
11574
11575         * lyxfunc.C: fix #487
11576
11577 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11578
11579         * lyxrc.h:
11580         * lyxrc.C:
11581         * lyxfunc.C: remove display_shortcuts, show_banner
11582
11583 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11584
11585         * Buffer_pimpl.C: oops, update on resize
11586
11587 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11588
11589         * buffer.C:
11590         * converter.C:
11591         * exporter.C:
11592         * lyxfunc.C:
11593         * BufferView.h:
11594         * BufferView.C: use repaint()
11595
11596         * BufferView_pimpl.h:
11597         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11598           as it's a clearer description. Remove superfluous
11599           redraws.
11600
11601 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11602
11603         * text.C: fix bug 488. Not ideal, but getting
11604           getWord() to work properly for the insets that
11605           matter is more difficult ...
11606
11607 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11608
11609         * BufferView_pimpl.C:
11610         * LyXAction.C:
11611         * commandtags.h:
11612         * lyxfunc.C: remove the six million index lyxfuncs to just
11613           one, and DTRT (bug 458)
11614
11615 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11616
11617         * BufferView.h:
11618         * BufferView.C:
11619         * BufferView_pimpl.h:
11620         * BufferView_pimpl.C: clean up resize() stuff,
11621           and unnecessary updateScreen()s
11622
11623 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11624
11625         * BufferView.h:
11626         * BufferView.C:
11627         * BufferView_pimpl.h:
11628         * BufferView_pimpl.C:
11629         * lyxfind.h:
11630         * lyxfind.C:
11631         * minibuffer.C: remove focus management of workarea,
11632           not needed. Use screen's greyOut()
11633
11634 2002-06-17  Herbert Voss  <voss@lyx.org>
11635
11636         * converter.C: (convert) do not post a message, when converting
11637         fails, let the calling function decide what to do in this case
11638
11639 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11640
11641         * lyxfunc.C: tidy up a little
11642
11643 2002-06-16    <alstrup@diku.dk>
11644
11645         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11646         Got rid of FORMS_H_LOCATION include. Now we are
11647         GUII.
11648
11649 2002-06-15  LyX Development team  <lyx@rilke>
11650
11651         * buffer.[Ch] (sgmlOpenTag):
11652         (sgmlCloseTag): Added support for avoiding pernicious mixed
11653         content. Return number of lines written.
11654
11655         (makeLinuxDocFile):
11656         (makeDocBookFile): Fixed calls to sgml*Tag.
11657         Simple white space clean.
11658
11659         (simpleDocBookOnePar): Simple white space clean.
11660
11661         * tabular.[Ch] (docBook): Renamed to docbook and got another
11662         argument to related with the pernicious mixed content.
11663
11664         (docbookRow): Fixed calls for docbook inset method.
11665
11666 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11667
11668         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11669         so it's X11 independent.
11670
11671         * kb*.[Ch]: ditto.
11672
11673         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11674
11675 2002-06-15  Lyx Development team  <lyx@electronia>
11676
11677         * intl.h: Renamed getTrans to getTransManager.
11678
11679 2002-06-14  Angus Leeming  <leeming@lyx.org>
11680
11681         * Makefile.am: nuke forgotten stl_string_fwd.h.
11682
11683 2002-06-12  Angus Leeming  <leeming@lyx.org>
11684
11685         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11686
11687 2002-06-13  Angus Leeming  <leeming@lyx.org>
11688
11689         * LaTeX.C:
11690         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11691
11692 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11693
11694         * kbmap.C (getiso): add support for cyrillic and greek
11695
11696 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11697
11698         * BufferView.h:
11699         * BufferView.C:
11700         * BufferView_pimpl.h:
11701         * BufferView_pimpl.C: move bogus scrolling logic
11702           to xforms
11703
11704 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11705
11706         * lyxfunc.C:
11707         * BufferView_pimpl.C: view->resize() change
11708
11709 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11710
11711         * BufferView_pimpl.C: topCursorVisible
11712           prototype change
11713
11714 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11715
11716         * Makefile.am:
11717         * lyx_gui.h:
11718         * lyx_gui.C: move to frontends/
11719
11720         * main.C:
11721         * lyx_main.h:
11722         * lyx_main.C: changes from above
11723
11724 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11725
11726         * intl.C:
11727         * intl.h:
11728         * kbmap.C:
11729         * kbsequence.C:
11730         * lyx_cb.C:
11731         * lyx_main.C: minor tidy
11732
11733 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11734
11735         * BufferView_pimpl.h:
11736         * BufferView_pimpl.C:
11737         * BufferView.h:
11738         * BufferView.C: make painter() const,
11739           remove dead code
11740
11741         * BufferView2.C: use screen() accessor
11742
11743         * lyx_main.h:
11744         * lyx_main.C: some minor cleanup
11745
11746 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11747
11748         * BufferView_pimpl.h:
11749         * BufferView_pimpl.C: remove enter/leaveView,
11750           use workHeight()
11751
11752 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11753
11754         * BufferView.h:
11755         * BufferView.C:
11756         * BufferView2.C:
11757         * BufferView_pimpl.h:
11758         * BufferView_pimpl.C: only construct screen once,
11759           rename
11760
11761         * lyxrc.C: remove pointless comment
11762
11763 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11764
11765         * BufferView.h:
11766         * BufferView.C: remove active() and belowMouse()
11767
11768         * BufferView_pimpl.h:
11769         * BufferView_pimpl.C: use workarea() not workarea_,
11770           and make it use a scoped_ptr instead
11771
11772 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11773
11774         * lyx_gui.C: add debug message on BadWindow
11775
11776 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11777
11778         * sp_spell.C: fdopen is not part of the C++ standard.
11779
11780         * paragraph.C (InsetIterator): use >= instead of ==
11781
11782 2002-06-07  Angus Leeming  <leeming@lyx.org>
11783
11784         Fixes needed to compile with Compaq cxx 6.5.
11785         * BufferView_pimpl.C:
11786         * DepTable.C:
11787         * buffer.C:
11788         * converter.C:
11789         * encoding.C:
11790         * lyx_gui.C:
11791         * lyx_main.C:
11792         * lyxtextclasslist.C:
11793         * minibuffer.C:
11794         * sp_spell.C:
11795         * tabular_funcs.C:
11796         * vc-backend.C:
11797         all c-library variables have been moved into namespace std. Wrap
11798         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11799
11800         * lyxlength.C:
11801         * tabular-old.C:
11802         * tabular.C:
11803         Add a using std::abs declaration.
11804
11805         * kbmap.h (modifier_pair):
11806         * paragraph.h (InsetTable, InsetList):
11807         * lyxfont.h (FontBits):
11808         type definition made public.
11809
11810         * bufferlist.C (emergencyWriteAll): the compiler complains that
11811         there is more than one possible lyx::class_fun template to choose from.
11812         I re-named the void specialisation as lyx::void_class_fun.
11813
11814         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11815
11816         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11817         the compiler is is unable to find tostr in write_attribute.
11818
11819 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11820
11821         * buffer.C (sgmlError): hide #warning
11822
11823 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11824
11825         * xtl/*: get rid of xtl, which is not in use anyway
11826
11827         * LyXAction.C (init):
11828         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11829         were unimplemented xtl experimentation
11830
11831 2002-06-04  André Pönitz <poenitz@gmx.net>
11832
11833         * lyxfunc.C: disable array operation on simple formulae
11834
11835 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11836
11837         * converter.C: constify a bit
11838
11839 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11840
11841         * lyx_gui.C: check xforms version correctly
11842
11843 2002-04-30  Herbert Voss  <voss@lyx.org>
11844
11845         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11846         "keep" option
11847
11848 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11849
11850         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11851           attempt to register it with a VCS)
11852
11853 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11854
11855         * lyx_main.C (init): honor variables LYX_DIR_13x and
11856         LYX_USERDIR_13x
11857
11858 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11859
11860         * buffer.h:
11861         * buffer.C:
11862         * lyx_main.C: fix a crash on bad command line,
11863           and give a useful exit status on error
11864
11865         * lyxfunc.C (doImport): allow -i lyx to work
11866
11867 2002-03-30  André Pönitz <poenitz@gmx.net>
11868
11869         * lyxfunc.C: mathed font changes
11870
11871 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11872
11873         * LaTeX.C:
11874         * importer.h:
11875         * importer.C:
11876         * lyx_sty.h:
11877         * lyx_sty.C:
11878         * lyxlex.C:
11879         * lyxrow.h:
11880         * lyxtext.h:
11881         * paragraph.h:
11882         * paragraph.C:
11883         * texrow.h:
11884         * texrow.C:
11885         * text.C:
11886         * trans_mgr.h: srcdocs, and some minor cleanups
11887
11888 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11889
11890         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11891         call getFont all the time)
11892
11893 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11894
11895         * switch from SigC signals to boost::signals
11896
11897 2002-05-29  André Pönitz <poenitz@gmx.net>
11898
11899         * paragraph_pimpl.C (getChar): don't call size() too often...
11900
11901 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11902
11903         * paragraph_pimpl.C (insertChar): do not try to update tables when
11904         appending (pos == size())
11905
11906         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11907         in order to reduce drastically the number of comparisons needed to
11908         parse a large document
11909
11910 2002-05-29  André Pönitz <poenitz@gmx.net>
11911
11912         * text.C:
11913         * text2.C:
11914         * lyxtextclass.C:
11915         * sp_pspell.h:
11916         * textclasslist.[Ch]:
11917         * sp_ispell.h: whitespace change
11918
11919 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11920
11921         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11922         lyxaction directly now.
11923
11924 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11925
11926         * trans.C:
11927         * lyxfont.C:
11928         * lyxvc.C: remove unused headers
11929
11930 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11931
11932         * Makefile.am:
11933         * buffer.h:
11934         * undostack.h:
11935         * undostack.C:
11936         * undo_funcs.h:
11937         * undo_funcs.C: some cleanups. Use shared_ptr
11938           and a template for the undo stacks.
11939
11940 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11941
11942         * BufferView_pimpl.h:
11943         * BufferView_pimpl.C:
11944         * kbmap.h:
11945         * kbmap.C:
11946         * kbsequence.h:
11947         * kbsequence.C:
11948         * lyxfunc.h:
11949         * lyxfunc.C:
11950         * text2.C: use key_state/mouse_state
11951
11952 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11953
11954         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11955         and LSubstring
11956
11957         * chset.C: change include order
11958         (loadFile): use boost regex and get rid of LRegex and LSubstring
11959
11960         * Makefile.am (BOOST_LIBS): new variable
11961         (lyx_LDADD): use it
11962
11963         * LaTeX.C: change include order.
11964         (scanAuxFile): use boost regex and get rid of LRegex and
11965         LSubstring
11966         (deplog): ditto
11967
11968 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11969
11970         * ColorHandler.h:
11971         * ColorHandler.C:
11972         * FontInfo.h:
11973         * FontInfo.C: moved to frontends/xforms/
11974
11975         * FontLoader.h:
11976         * FontLoader.C: moved into frontends for GUIIzation
11977
11978         * Makefile.am:
11979         * lyx_gui.C:
11980         * lyxfont.C:
11981         * lyxfunc.C: changes from above
11982
11983 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11984
11985         * LColor.C: remove spurious X include
11986
11987         * BufferView_pimpl.C:
11988         * Makefile.am:
11989         * font.h:
11990         * font.C:
11991         * text.C:
11992         * text2.C: move font metrics to frontends/
11993
11994 2002-05-24  Juergen Vigna  <jug@sad.it>
11995
11996         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11997         setting the undo_cursor.
11998
11999         * ParagraphParameters.h: include local includes first.
12000
12001 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12002
12003         * BufferView_pimpl.C:
12004         * BufferView_pimpl.h:
12005         * Makefile.am:
12006         * WorkArea.h:
12007         * WorkArea.C:
12008         * screen.C: move WorkArea into frontends/
12009
12010         * lyxscreen.h:
12011         * screen.C:
12012         * text.C:
12013         * BufferView.C:
12014         * BufferView2.C: move LyXScreen into frontends/
12015
12016         * lyxlookup.h:
12017         * lyxlookup.C:
12018         * lyx_gui.C: move lyxlookup into frontends/xforms/
12019
12020 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12021
12022         * BufferView2.C:
12023         * BufferView_pimpl.C:
12024         * FontLoader.C:
12025         * LyXView.h:
12026         * LyXView.C:
12027         * Makefile.am:
12028         * WorkArea.C:
12029         * XFormsView.h:
12030         * XFormsView.C:
12031         * buffer.C:
12032         * bufferlist.C:
12033         * bufferview_funcs.C:
12034         * converter.C:
12035         * importer.C:
12036         * lyx_cb.C:
12037         * lyx_gui.C:
12038         * lyx_main.C:
12039         * lyx_find.C:
12040         * lyxfunc.C:
12041         * lyxvc.C:
12042         * minibuffer.C:
12043         * text.C:
12044         * text2.C:
12045         * trans.C:
12046         * vc-backend.C: move LyX/XFormsView into frontends/
12047
12048 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12049
12050         * Makefile.am:
12051         * PainterBase.C:
12052         * PainterBase.h:
12053         * Painter.C:
12054         * Painter.h:
12055         * WorkArea.C:
12056         * WorkArea.h:
12057         * screen.C:
12058         * tabular.C:
12059         * text.C:
12060         * text2.C: move Painter to frontends/
12061
12062 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12063
12064         * buffer.C: comment out some some code that depend upon lyx_format
12065         < 220
12066
12067         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12068         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12069
12070         * buffer.h (NO_COMPABILITY): turn off compability
12071
12072         * ColorHandler.C: include scoped_array.hpp
12073
12074         * font.C: Use more specific smart_ptr header.
12075         * Painter.C: ditto
12076         * gettext.C: ditto
12077         * ShareContainer.h: ditto
12078         * lyx_main.h: ditto
12079         * kbmap.h: ditto
12080         * FontInfo.h: ditto
12081         * BufferView_pimpl.h: ditto
12082         * ColorHandler.h: ditto
12083
12084         * kbmap.C (defkey): change call to shared_ptr::reset
12085
12086 2002-05-21  Juergen Vigna  <jug@sad.it>
12087
12088         * buffer.C (insertErtContents): fix to insert ert asis if it is
12089         non empty. Skip it completely if it contains only whitespaces.
12090
12091 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12092
12093         * BufferView_pimpl.C:
12094         * BufferView2.C: clear selection on paste (bug 393)
12095
12096 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12097
12098         * DepTable.C: include ctime
12099
12100 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12101
12102         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12103
12104 2002-05-14  Juergen Vigna  <jug@sad.it>
12105
12106         * text.C (breakParagraph): fixed function to honor the keepempty
12107         layout in the right maner and also to permit the right breaking
12108         algorithm on empty or non empyt keepempty paragraphs.
12109
12110         * paragraph.C (breakParagraph): we have to check also if the par
12111         is really empty (!size()) for isempty otherwise we do the wrong
12112         paragraph break.
12113
12114 2002-05-10  Juergen Vigna  <jug@sad.it>
12115
12116         * buffer.[Ch] : The following are only changes to the ert
12117         compatibility read reading old LaTeX layout and font stuff and
12118         convert it to ERTInsets.
12119
12120         * buffer.h: added isErtInset().
12121
12122         * buffer.C (struct ErtComp): add a fromlayout bool to check
12123         if we're inside a LaTeX layout.
12124         (isErtInset): new helper function.
12125         (insertErtContents): look for other ert insets before this one
12126         and insert the contents there, so that we don't have subsequent
12127         ERT insets with nothing between them. This way we create only one
12128         inset with multiple paragraphs. Also check if we don't insert only
12129         spaces ' ' as they are ignored anyway afterwards in the .tex file
12130         so if we have only spaces we will ignore this latex part in the
12131         new file.
12132         (parseSingleLyXformat2Token \\layout): better compatibility when
12133         reading layout-latex stuff.
12134         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12135         language tag.
12136         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12137         stuff after reading the inset only get the information back from
12138         the stack.
12139
12140 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12141
12142         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12143
12144         * LaTeXFeatures.C (getBabelOptions): New method.
12145
12146 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12147
12148         * BufferView_pimpl.C (Dispatch): work around missing argument for
12149         'layout'
12150
12151 2002-05-08  Juergen Vigna  <jug@sad.it>
12152
12153         * text.C (leftMargin): handle paragraph leftindent.
12154
12155         * paragraph.C (writeFile): write the new \\leftindent tag.
12156         (validate): handle leftindent code.
12157         (TeXEnvironment): handle paragraphleftindent code again.
12158
12159         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12160
12161         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12162         for paragrap_extra indent code and new token \\leftindent.
12163         (latexParagraphs): handle the leftindent as environment.
12164
12165         * ParameterStruct.h: added leftindent support.
12166
12167         * ParagraphParameters.C (leftIndent): added support functions for
12168         the paragraph left indent.
12169
12170         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12171         more appropriate.
12172
12173 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12174
12175         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12176         inside insetERT.
12177
12178         * text.C (computeBidiTables): No bidi in insetERT.
12179
12180         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12181         in RTL documents.
12182
12183 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12184
12185         * version.C.in: pre 5
12186
12187 2002-05-02  José Matos  <jamatos@fep.up.pt>
12188         * buffer.C (makeDocBookFile): white space changes, add newline to
12189         command styles.
12190         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12191
12192         * tabular.C (docBook): fix typo.
12193
12194 2002-05-03  Juergen Vigna  <jug@sad.it>
12195
12196         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12197         change in LyXText as we can not be sure it was not freed.
12198         (drawOneRow): remove unused code.
12199
12200         * text.C (drawInset): redo the calculation of the need_break_row as
12201         it could have a row which was already freed.
12202         (draw): look at the return value of drawInset and return false if
12203         it also returned false.
12204         (paintRowText): look at the return value of draw and return false if
12205         it also returned false.
12206
12207         * lyxtext.h: added bool return type to drawInset() and draw() so that
12208         if we have a change in the row so that the rowbreak has to be redone
12209         we abort drawing as it will be called again.
12210
12211 2002-05-02  Juergen Vigna  <jug@sad.it>
12212
12213         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12214         a change in the maintext also if we're inside an inset.
12215         (Dispatch): set the cursor again after a break line and after the
12216         screen has been updated as it could be we're in a different row.
12217
12218         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12219         to set the cursor behind the pargraph with > size().
12220         (setCursor): check also for the same paragraph when checking where
12221         to put the cursor if we have a NFR inset.
12222
12223         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12224         parts of layout read further up as it still was in the wrong
12225         position.
12226
12227 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12228
12229         * screen.C (drawFromTo): change sine fullRebreak always return
12230         true.
12231
12232         * buffer.C (parseSingleLyXformat2Token): reindent some
12233
12234         * BufferView_pimpl.C (update): change since fullRebreak always
12235         return true.
12236         (Dispatch): git rid of the last hardcoded "Standard"s.
12237
12238 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12239
12240         * text2.[Ch] (fullRebreak): make it return void now that we always
12241         returned true.
12242
12243 2002-04-30  Juergen Vigna  <jug@sad.it>
12244
12245         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12246         ert compatibility check for "latex" layout.
12247
12248 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12249
12250         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12251         minipages: use col% instead of p%, and also use the current font.
12252         (makeLaTeXFile): Fix use babel condition.
12253         (parseSingleLyXformat2Token): Correct font when reading old floats.
12254
12255 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12256
12257         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12258         inserting list of floats.
12259
12260 2002-04-25  Herbert Voss  <voss@lyx.org>
12261
12262         * MenuBackend.C (expand): don't add the graphics extensions to the
12263         export menu
12264
12265 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12266
12267         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12268         non-existing layout, do not complain if it was the default layout
12269         of the original class (bug #342)
12270
12271 2002-04-24  Juergen Vigna  <jug@sad.it>
12272
12273         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12274         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12275
12276 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12277
12278         * buffer.C (getBibkeyList): If using \bibliography, return the
12279         option field with the reference itself. Enables us to provide natbib
12280         support when using \bibliography.
12281
12282 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12283
12284         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12285
12286         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12287         natbib is provided by the LaTeX class.
12288
12289 2002-04-23  Juergen Vigna  <jug@sad.it>
12290
12291         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12292         Wakeup functions.
12293
12294         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12295
12296 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12297
12298         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12299
12300         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12301         ensuremath around textordmasculine, textordfeminine and
12302         textdegree.
12303
12304 2002-04-19  Juergen Vigna  <jug@sad.it>
12305
12306         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12307         reinitializing the buffer otherwise row-dimensions may be wrong.
12308         (update): reset also the selection cursors if they do exits otherwise
12309         their x/y positions may be wrong.
12310
12311         * text2.C (cursorDown): don't enter the inset if we came from a row
12312         above and are one row over the inset.
12313
12314         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12315         really leaving an inset.
12316
12317 2002-04-18  Juergen Vigna  <jug@sad.it>
12318
12319         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12320         of the selected paragraph does not have the selected layout also if
12321         the last one had!
12322
12323         * text2.C (setLayout): fixed bug which did not change last selected
12324         paragraph.
12325
12326         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12327         changed the read and substituted \\end_float with \\end_inset!
12328
12329         * BufferView_pimpl.C (cursorPrevious):
12330         (cursorNext): fixed to make it work with rows heigher than the work
12331         area without moving the cursor only the draw of the row.
12332         (workAreaMotionNotify): fix jumping over high rows.
12333
12334 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12335
12336         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12337         Ressler.
12338
12339 2002-04-16  Juergen Vigna  <jug@sad.it>
12340
12341         * text2.C (setCursor): set also the irow().
12342         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12343         (cursorUp):
12344         (cursorDown): support for locking an inset if the x_fix value goes
12345         inside it. That way I can transverse insets too with cursor up/down.
12346
12347         * lyxrow.h: added irow helper function same as other (i) functions.
12348
12349         * BufferView_pimpl.C (cursorPrevious):
12350         (cursorNext): fixed for insets!
12351
12352 2002-04-15  Juergen Vigna  <jug@sad.it>
12353
12354         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12355         position otherwise it is wrong in some cases.
12356
12357         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12358         inside the inset before the call.
12359
12360 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12361
12362         * buffer.[Ch] (getBibkeyList): make it const.
12363
12364 2002-04-12  Juergen Vigna  <jug@sad.it>
12365
12366         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12367
12368         * text2.C (getCursorX): new helper function
12369         (setCursor): compute also ix_
12370         (setCursorFromCoordinates): set also ix.
12371
12372         * lyxcursor.h: added ix_ and helper functions.
12373
12374         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12375
12376         * buffer.C (insertStringAsLines): dont break paragraph if the this
12377         paragraph is inside an inset which does not permit it!
12378
12379         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12380         also with no chars on this paragraph.
12381         (paintRowText): only paint stuff if it's inside the workarea!
12382
12383         * paragraph.C (breakParagraph): honor keepempty flag and break the
12384         paragraph always below not above.
12385
12386         * BufferView2.C (unlockInset): update the paragraph layout on inset
12387         unlock as we changed paragraph in such a case.
12388
12389         * lyxfind.C (LyXFind): clear the former selection if not found!
12390
12391         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12392         again called in insertChar().
12393
12394         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12395         an inset which uses the whole row!
12396         (rightMargin): ditto.
12397         (insertChar): force a rebreak if we inserted an inset!
12398
12399 2002-03-28  Herbert Voss  <voss@lyx.org>
12400
12401         * lyxlength.[Ch]: add inBP() to get the right PS-point
12402         units (BigPoint). With inPixels we have rounding errors
12403
12404 2002-04-11  Juergen Vigna  <jug@sad.it>
12405
12406         * text2.C (setCursorFromCoordinates): set iy to the right value.
12407         (setCursor): add check if row->previous exists!
12408
12409         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12410         an old float_type as this was the case in the old code!
12411
12412         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12413
12414         * BufferView2.C (showLockedInsetCursor): use iy
12415         (fitLockedInsetCursor): ditto
12416
12417         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12418         locked insets as there we have the right value now.
12419
12420         * lyxcursor.C: added iy_ variable and iy functions to set to the
12421         baseline of cursor-y of the locked inset.
12422
12423         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12424         (setCursor): fixed for insets which need a full row.
12425
12426         * text.C (rowLastPrintable): don't ignore the last space when before
12427         an inset which needs a full row.
12428         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12429         as last character of a row when before a inset which needs a full row.
12430
12431 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12432
12433         * version.C.in: update date
12434
12435         * text2.C (fullRebreak): try to always return true and see what
12436         happens...
12437
12438 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12439
12440         * MenuBackend.C (expand): use Floating::listName
12441
12442         * FloatList.C (FloatList): add listName argument to the built-in
12443         floats
12444
12445         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12446         text associated with the float.
12447
12448 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12449
12450         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12451
12452 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12453
12454         * ShareContainer.h: add a couple of missing typenames.
12455
12456 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12457
12458         * lyxrc.C (getDescription): use _() correctly rather than N_().
12459
12460 2002-03-28  Herbert Voss  <voss@lyx.org>
12461
12462         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12463         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12464
12465 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12466
12467         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12468         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12469
12470 2002-03-29  Juergen Vigna  <jug@sad.it>
12471
12472         * lyxfunc.C (dispatch): add a missing fitCursor call.
12473
12474         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12475         it was scrolled by a cursor move, so return the bool status.
12476
12477         * BufferView.C (fitCursor): return the bool flag also to the outside
12478         world as this is needed.
12479
12480         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12481
12482         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12483         call the edit() as it is not needed (and wrong) IMO.
12484         (workAreaButtonPress): set the screen_first variable before evt.
12485         unlock the inset as this may change screen_first and then we have
12486         a wrong y position for the click!
12487
12488 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12489
12490         * MenuBackend.C (expand): another translation that I missed
12491
12492 2002-03-28  Juergen Vigna  <jug@sad.it>
12493
12494         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12495
12496         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12497
12498 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12499
12500         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12501
12502         * MenuBackend.C (expand): fix export/view/update when there is no
12503         document open.
12504
12505 2002-03-27  Herbert Voss  <voss@lyx.org>
12506
12507         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12508         and text%
12509
12510 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12511
12512         * bufferview_funcs.C (currentState): only show paragraph number
12513         for is DEVEL_VERSION is set.
12514
12515         * lyxfunc.C (dispatch): put warning in INFO channel
12516
12517         * MenuBackend.C (expand): translate the name of floats
12518
12519         * FloatList.C (FloatList): mark the float names for translation
12520
12521         * converter.C (convert): use LibScriptSearch
12522
12523 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12524
12525         * MenuBackend.C (defaults): fix default menu (we might as well get
12526         rid of it...)
12527
12528 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12529
12530         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12531         directory.
12532
12533 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12534
12535         * lyxvc.C: reorder includes.
12536
12537 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12538
12539         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12540           properly
12541
12542 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12543
12544         * CutAndPaste.C: change layouts earlier on paste
12545           to avoid crashing when calling getFont()
12546
12547 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12548
12549         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12550         irritating #error.
12551
12552 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12553
12554         * WorkArea.C: remove 'Pending' debug message.
12555
12556         * most files: ws cleanup
12557
12558         * buffer.[Ch]: ws changes
12559
12560         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12561
12562 2002-03-21  Juergen Vigna  <jug@sad.it>
12563
12564         * tabular.C (SetMultiColumn): collapse also the contents of the
12565         cells and set the last border right. Added a Buffer const * param.
12566
12567 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12568
12569         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12570         linking or not.
12571
12572 2002-03-19  Juergen Vigna  <jug@sad.it>
12573
12574         * text2.C (clearSelection): reset also xsel_cache.
12575
12576         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12577         where it needs to be called (John tells us to do so too :)
12578         (selectionLost): reset sel_cache.
12579
12580         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12581
12582 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12583
12584         * text2.C (setCursorIntern): put debuging code in INSETS channel
12585
12586 2002-03-19  André Pönitz <poenitz@gmx.net>
12587
12588         * lyxfunc.C: tiny whitespace change
12589
12590 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12591
12592         * ToolbarDefaults.C (init):
12593         * LyXAction.C (init):
12594         * commandtags.h:
12595         * BufferView_pimpl.C (Dispatch):
12596         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12597
12598 2002-03-19  Allan Rae  <rae@lyx.org>
12599
12600         * exporter.C (Export): removeAutoInsets before doing anything else.
12601         While I've just introduced a dependency on BufferView this really is
12602         the best place to clean the buffer otherwise you need to cleanup in
12603         a dozen places before calling export or cleanup in a dozen functions
12604         that export calls.
12605
12606         * converter.C (runLaTeX):
12607         (scanLog): Better handling of removeAutoInsets and screen updates.
12608
12609         * lyxfunc.C (dispatch): small whitespace changes
12610
12611 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12612
12613         * WorkArea.C (C_WorkAreaEvent): return a value.
12614         (event_cb): return 1 if we handled the event, 0 otherwise.
12615
12616         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12617
12618 2002-03-18  Juergen Vigna  <jug@sad.it>
12619
12620         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12621         (GetAdditionalWidth): ditto.
12622         (RightLine): ditto.
12623         (LeftLine): ditto.
12624
12625         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12626         inset if we're there actually (probably not used right now but this
12627         is the direction to go for unifying code).
12628         (paste): disable code to clear the selection.
12629
12630         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12631         inside an InsetText and move the check further up as it is in the
12632         wrong place.
12633
12634         * text2.C (pasteSelection): set a selection over the pasted text.
12635
12636 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12637
12638         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12639         and libgraphics to build on Cygwin.
12640
12641 2002-03-15  Juergen Vigna  <jug@sad.it>
12642
12643         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12644         inserting an Inset into the paragraph. I know this is not the best
12645         fix but we already use current_view in CutAndPaste so we will remove
12646         all of it's using at the same time.
12647
12648         * buffer.C (sgmlError): deactivated function till it is rewritten in
12649         the right mode, now it can create problems.
12650
12651         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12652         before accessing it.
12653
12654 2002-03-14  Juergen Vigna  <jug@sad.it>
12655
12656         * undo_funcs.C (textHandleUndo): do the right thing when updating
12657         the inset after the undo/redo.
12658
12659         * text2.C (setCursor): just some testcode for #44 not ready yet.
12660
12661         * undo_funcs.C (textHandleUndo): set the next() and previous()
12662         pointers of the paragraph to 0 before deleting otherwise we have
12663         problems with the Paragraph::[destructor].
12664
12665         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12666         on a paragraph insertion.
12667
12668 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12669
12670         * buffer.C (asciiParagraph): use += operator for char append to
12671         string.
12672
12673         * paragraph.C (getFontSettings): compare >= not just >
12674         (highestFontInRange): ditto
12675         (setFont): ditto
12676
12677 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12678
12679         * paragraph.C: change several algorithm to be more appripriate for
12680         the problem domain. This is lookip in FontList and in the InsetList.
12681
12682 2002-03-13  André Pönitz <poenitz@gmx.net>
12683
12684         * commandtags.h:
12685         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12686
12687 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12688
12689         * commandtags.h:
12690         * LyXAction.C:
12691         * lyxfunc.C:
12692         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12693
12694 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12695
12696         * Painter.C (display): anon helper function, adjust code for this
12697         change.
12698         (pixmap): remove function.
12699
12700         * Painter.h: remove private display variable.
12701
12702         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12703
12704 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12705
12706         * WorkArea.[Ch]: remove figinset_canvas cruft.
12707
12708 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12709
12710         * lyxtextclass.C (operator): add one item cache optimization.
12711
12712         * bufferlist.h: doxy changes
12713
12714         * bufferlist.C: ws changes
12715
12716         * DepTable.[Ch] (ext_exist): place const in the right spot.
12717
12718         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12719         call resizeInsets.
12720         (workAreaExpose): call resizeInsets when the with BufferView changes.
12721         (Dispatch): adjust for protectedBlank removal
12722         (specialChar): call updateInset if the insert went ok.
12723
12724         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12725         specialChar instead.
12726
12727         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12728
12729         * BufferView.h: doxy change
12730
12731         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12732
12733         * lyxtextclass.C (operator[]): remove non-const version
12734         (defaultLayout): remove non-const version
12735
12736 2002-03-12  Juergen Vigna  <jug@sad.it>
12737
12738         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12739         did resize the LyXText too.
12740
12741         * buffer.C (readLyXformat2): set layout information on newly allocated
12742         paragraphs.
12743
12744         * tabular.C (OldFormatRead): set layout information on the paragraph.
12745
12746 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12747
12748         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12749
12750 2002-03-11  Juergen Vigna  <jug@sad.it>
12751
12752         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12753         plainly wrong.
12754         (resizeCurrentBuffer): force also the insets to resize themselfes.
12755         (moveCursorUpdate): fixed up for InsetText.
12756
12757 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12758
12759         * commandtags.h:
12760         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12761         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12762         value of Dialogs::tooltipsEnabled().
12763         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12764
12765 2002-03-08  Juergen Vigna  <jug@sad.it>
12766
12767         * BufferView_pimpl.C (updateInset): update inset inside inset also
12768         if it isn't inside theLockingInset().
12769
12770 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12771
12772         * buffer.C (asciiParagraph): redo some of the word and line length
12773         handling.
12774         (getLists): look for Caption instead of caption.
12775
12776 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12777
12778         * buffer.C (Buffer): initialize niceFile to true
12779         (makeLaTeXFile):
12780         (makeLinuxDocFile):
12781         (makeDocBookFile): make sure niceFile is true on exit
12782
12783 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12784
12785         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12786
12787 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12788
12789         * LyXSendto.C: remove.
12790         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12791         * lyx_gui.C: remove now-redundant comment.
12792         * ColorHandler.h: remove forward declaration of class WorkArea.
12793         * lyxfunc.C: remove #include "WorkArea.h".
12794
12795 2002-03-07  Juergen Vigna  <jug@sad.it>
12796
12797         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12798         got moved away with the DEPM and also set the inset_owner always
12799         right which before could have been omitted.
12800
12801 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12802
12803         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12804         wanted layout is not found.
12805
12806 2002-03-07  Juergen Vigna  <jug@sad.it>
12807
12808         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12809
12810 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12811
12812         * paragraph.C (breakParagraph): use default layout not layout of
12813         prev paragraph.
12814         (Paragraph): clear ParagraphParameters.
12815
12816 2002-03-06  Juergen Vigna  <jug@sad.it>
12817
12818         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12819         otherwise it would not be a valid lenght. Fixed a special case in
12820         the minipage compatibility read where we end the document with a
12821         minipage.
12822
12823         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12824         was set as it could be 0 for InsetTexts first entry.
12825
12826 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12827
12828         * paragraph.C (writeFile): if layout is empty write out
12829         defaultLayoutName().
12830
12831         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12832         file without named layout we set layout to defaultLayoutName().
12833
12834 2002-03-06  Juergen Vigna  <jug@sad.it>
12835
12836         * CutAndPaste.C (copySelection): set layout for new paragraph.
12837
12838         * text.C (prepareToPrint): leave ERT inset left aligned
12839         (leftMargin): don't indent paragraphs inside ERT insets
12840
12841 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12842
12843         * paragraph.C (breakParagraph): dont call clear do the work manually
12844
12845         * paragraph.[Ch] (clear): remove function
12846
12847 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12848
12849         * paragraph.C (Paragraph): dont call clear, the work has already
12850         been done.
12851
12852         * lyxtextclass.C (operator): assert if n is empty
12853
12854         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12855         work manually instead.
12856
12857 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12858
12859         * BufferView_pimpl.C: protect selectionLost against text == 0
12860
12861 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12862
12863         * text.C (breakParagraph): fix a setting layout to '0' problem.
12864
12865 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12866
12867         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12868         final location of file, for the included files, and graphics.
12869
12870 2002-03-05  Juergen Vigna  <jug@sad.it>
12871
12872         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12873
12874 2002-03-04  Juergen Vigna  <jug@sad.it>
12875
12876         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12877
12878         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12879         last column of multicolumn cells.
12880         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12881
12882 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12883
12884         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12885         file if it doesn't go to a temporary file.
12886
12887         * buffer.C (sgmlOpenTag):
12888         (sgmlCloseTag):  remove extra newline insertion.
12889
12890 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12891
12892         * text.C (getRowNearY): comment out debug msg
12893
12894 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12895
12896         * text2.C: first -> first_y
12897
12898         * text.C (getRowNearY): add some attemts at a possible
12899         optimization, not working.
12900
12901         * tabular.[Ch]: add BufferParams to several function so that newly
12902         created paragraph can be initialized to he default layotu for the
12903         buffers textclass.
12904
12905         * tabular-old.C (ReadOld): add buf->params to call of Init
12906
12907         * screen.C: rename text->first to text->first_y
12908
12909         * paragraph.C (breakParagraph): always set layout in the broken
12910         paragraph
12911
12912         * lyxtextclass.C (Read): remove lowercase
12913         (hasLayout): ditto
12914         (operator): ditto
12915         (delete_layout): ditto
12916
12917         * lyxtext.h: rename first -> first_y
12918
12919         * lyxlayout.C (Read): remove lowercase
12920         (name): ditto
12921         (setName): ditto
12922         (obsoleted_by): ditto
12923
12924         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12925
12926         * buffer.C (insertErtContents): add params are to InsetERT
12927         (parseSingleLyXformat2Token): add code to check if a paragraphs
12928         layout really exist.
12929         (parseSingleLyXformat2Token): add params to several inset
12930         constructors
12931         (asciiParagraph): remove lowercase, do the layout comparisons with
12932         no_case
12933
12934         * BufferView_pimpl.C (cursorNext): first -> first_y
12935         (resizeCurrentBuffer): first -> first_y
12936         (updateScrollbar): first -> first_y
12937         (scrollCB): first -> first_y
12938         (workAreaMotionNotify): first -> first_y
12939         (workAreaButtonPress): first -> first_y
12940         (checkInsetHit): first -> first_y
12941         (cursorPrevious): first -> first_y
12942         (cursorNext): first -> first_y
12943         (Dispatch): add buffer_->params to severl inset contructors
12944
12945 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12946
12947         * lyxlayout.C (Read): remove some debug info that I forgot.
12948
12949         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12950         clean up the code slightly.
12951         (makeLinuxDocFile): ditto
12952         (makeDocBookFile): ditto
12953
12954         * text2.C: layout as string
12955
12956         * text.C: layout as string
12957
12958         * paragraph_pimpl.C: layout as string
12959
12960         * paragraph.[Ch]: layout as string
12961
12962         * lyxtextclasslist.[Ch]: layout as string
12963
12964         * lyxtextclass.[Ch]: layout as string
12965
12966         * lyxtext.h: layout as string
12967
12968         * lyxlayout.[Ch]: layout as string
12969
12970         * lyx_cb.C: layout as string
12971
12972         * bufferview_funcs.C: layout as string
12973
12974         * bufferparams.C: layout as string
12975
12976         * buffer.C: layout as string
12977
12978         * LyXView.[Ch]: layout as string
12979
12980         * LaTeXFeatures.[Ch]: layout as string
12981
12982         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12983
12984         * BufferView_pimpl.C: change current_layout to string, remove
12985         lyx::layout_type.
12986         (Dispatch):
12987         (smartQuote):
12988         (insertInset):
12989         (workAreaButtonRelease): layout as string
12990
12991         * BufferView2.C (unlockInset): adjust
12992
12993         * vspace.C (asLatexCommand): use an explict temp variable.
12994
12995 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12996
12997         * Makefile.am: use FRONTEND_*
12998
12999 2002-03-01  Juergen Vigna  <jug@sad.it>
13000
13001         * tabular.C (SetWidthOfMulticolCell): changed to something better
13002         I hope but still work in progress.
13003         (recalculateMulticolumnsOfColumn): renamed function from
13004         recalculateMulticolCells as it is more appropriate now.
13005         (SetWidthOfCell): calculate multicols better.
13006
13007 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13008
13009         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13010
13011         * lyxfunc.C (processKeySym): print sequence also if it is
13012         `deleted' (complete)
13013
13014         * kbsequence.C (print): print sequence even if it is deleted
13015         (complete would be a better word, actually).
13016
13017         * lyxfunc.C (dispatch): print complete options after a prefix key
13018
13019         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13020
13021 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13022
13023         * text2.C (setCharFont): eliminate setCharFont code duplication.
13024
13025 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13026
13027         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13028         LFUN_TABULAR_FEATURE (bug #177)
13029
13030 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13031
13032         * Makefile.am: remove figure.h
13033
13034 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13035
13036         * Bufferview_pimpl.C:
13037         * CutAndPasteC:
13038         * LaTeX.C:
13039         * LyXSendto.C:
13040         * buffer.C:
13041         * bufferlist.C:
13042         * converter.C:
13043         * language.C:
13044         * lyxfunc.C:
13045         * lyxvc.C:
13046         * paragraph.C:
13047         * text.C:
13048         * text2.C: remove #include "lyx_gui_misc.h".
13049
13050         * LaTeX.C: added #include <cstdio>
13051
13052 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13053
13054         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13055         that the paragraph following this one can have.
13056
13057         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13058
13059         * vspace.C (asLatexCommand): fix bogus gcc warning
13060
13061         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13062
13063 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13064
13065         * text2.C (setLayout): get rid of redundant code
13066
13067 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13068
13069         * text2.C (incDepth): make sure depth cannot be increased beyond
13070         reasonable values.
13071
13072 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13073
13074         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13075         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13076
13077         * PainterBase.h (image):
13078         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13079         a LyXImage const *.
13080
13081 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13082
13083         * BufferView.C:
13084         * BufferView.h:
13085         * BufferView_pimpl.C:
13086         * BufferView_pimpl.h:
13087         * LaTeXFeatures.C:
13088         * LyXAction.C:
13089         * LyXView.C:
13090         * Makefile.am:
13091         * UpdateList.h:
13092         * UpdateList.C:
13093         * buffer.C:
13094         * figure.h:
13095         * figureForm.C:
13096         * figureForm.h:
13097         * figure_form.C:
13098         * figure_form.h:
13099         * lyx_cb.C:
13100         * lyx_gui.C:
13101         * lyx_gui_misc.C:
13102         * lyxfunc.C:
13103         * sp_base.h:
13104         * sp_ispell.h:
13105         * sp_pspell.h:
13106         * sp_spell.C: remove fig inset, and the crap house of
13107           cards that follows it
13108
13109 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13110
13111         * Makefile.am:
13112         * lyxserver.C:
13113         * os2_defines.h:
13114         * os2_errortable.h:
13115         * nt_defines.h: move .h into support/
13116
13117         * vms_defines.h: remove
13118
13119         * WorkArea.C: add space in debug output
13120
13121         * text2.C:
13122         * paragraph.C:
13123         * buffer.C: add WITH_WARNINGS
13124
13125         * vc-backend.h:
13126         * vc-backend.C:
13127         * bufferlist.C: s/retrive/retrieve/, add docs
13128
13129         * vspace.h:
13130         * vspace.C:
13131         * kbmap.h:
13132         * lyxlength.h:
13133         * lyxgluelength.h:
13134         * length_common.h:
13135         * chset.h:
13136         * chset.C: add docs
13137
13138         * lyxgui.C: add ID to X error handler
13139
13140         * lyxtestclass.c: fix typo
13141
13142 2002-02-26  Juergen Vigna  <jug@sad.it>
13143
13144         * tabular_funcs.C (write_attribute): changed so that some default
13145         attributes are not written at all.
13146         (getTokenValue): set default values before trying to read the
13147         value so we have the return value always set as default if we don't
13148         find the token we search for.
13149
13150         * tabular.C (Write): write bools as bools not as strings!
13151
13152 2002-02-22  Juergen Vigna  <jug@sad.it>
13153
13154         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13155         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13156
13157         * text.C (leftMargin): don't add an indent for paragraphs inside
13158         tabular cells (fix #208).
13159
13160 2002-02-21  José Matos  <jamatos@fep.up.pt>
13161
13162         * tabular.C (docBook): fixed support for long tables.
13163
13164 2002-02-20  Juergen Vigna  <jug@sad.it>
13165
13166         * text2.C (getFont): get the drawing font of the Inset if this
13167         paragraph is inside an inset (only important for InsetERT for now).
13168
13169         * buffer.C (insertErtContents): use new lanugage params in ERT
13170         constructor.
13171
13172         * CutAndPaste.C: commenting out seemingly uneeded code.
13173
13174 2002-02-19  Allan Rae  <rae@lyx.org>
13175
13176         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13177         Iterators might be simple to use but they also get invalidated.
13178         (removeAutoInsets): renamed saved cursor tracking variables and added
13179         some comments to clarify what everything does.
13180
13181 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13182
13183         * Chktex.C:
13184         * LaTeX.C:
13185         * LyXSendto.C:
13186         * converter.C:
13187         * lyx_cb.C:
13188         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13189         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13190
13191         * lyxfunc.C:
13192         * vc-backend.h: remove #include "support/syscall.h"
13193
13194         * LaTeX.C:
13195         * LyXSendto.C:
13196         * converter.C: rearrange #includes in Lars' approved fashion.
13197
13198         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13199         forward declare class Timeout in the header file.
13200
13201         * XFormsView.C: changes due to the above.
13202
13203         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13204         similar to LyXView.
13205
13206         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13207         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13208
13209 2002-02-18  José Matos  <jamatos@fep.up.pt>
13210
13211         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13212         insets contents.
13213
13214 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13215
13216         * a lot of small ws changes
13217         * add a lot of using std::XXX
13218         * use std construcs some places where approp.
13219         * use some exisint stuff from lyxfunctional where approp.
13220         * Make file changes to use partial linking (lets test this now...)
13221
13222 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13223
13224         * Chktex.C:
13225         * buffer.C:
13226         remove #include "support/syscontr.h" as it's redundant. Always has been.
13227
13228         * Chktex.C:
13229         * LaTeX.C:
13230         * LyXSendto.C:
13231         * converter.C:
13232         * lyx_cb.C:
13233         * vc-backend.C:
13234         change Systemcalls::System to Systemcalls::Wait and
13235         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13236         No change of functionality, just reflects the stripped down Systemcalls
13237         class.
13238
13239 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13240
13241         * debug.[Ch]: add a GRAPHICS type to the enum.
13242
13243 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13244
13245         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13246
13247         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13248         there is an inset.
13249
13250 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13251
13252         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13253         match the changes below.
13254
13255         * text2.C (toggleInset): if there is not editable inset at cursor
13256         position, try to see if cursor is _inside_ a collapsable inset
13257         and close it.
13258
13259 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13260
13261         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13262         document menu has a nice checkbox
13263
13264 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13265
13266         * lyxlength.C (asLatexString): change PW to output as percent of
13267         \textwidth.
13268
13269         * lengthcommon.C: change '%' to 't%'
13270
13271         * lyxfunc.C (dispatch): a few comments from Martin
13272
13273 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13274
13275         * WorkArea.h:
13276         * WorkArea.C:
13277         * BufferView_pimpl.h:
13278         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13279           the X selection.
13280
13281 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13282
13283         * vspace.C (inPixels): fix compiler warning
13284
13285 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13286
13287         * lyxfunc.C (getStatus): fix status message for disabled commands.
13288
13289 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13290
13291         * BufferView_pimpl.C: fix crash on close buffer
13292         during selection (#227)
13293
13294 2002-01-27  Herbert Voss  <voss@lyx.org>
13295
13296         * buffer.C: link old Figure to new graphic inset
13297
13298 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13299
13300         * FontLoader.C (getFontinfo): Change the latex font names in order
13301         to match the names of type1inst.
13302
13303 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13304
13305         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13306
13307         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13308         (extchanged): ditto
13309         (ext_exist): ditto
13310         (remove_files_with_extension): ditto
13311         (remove_file): ditto
13312         (write): ditto
13313
13314         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13315         document is smaller than the work area height. Do not initialize
13316         static variables to 0.
13317
13318 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13319
13320         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13321
13322         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13323         LFUN_LAYOUT_PARAGRAPHS.
13324
13325         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13326         tabular. It is possible to provide a possible cell, which will
13327         typically be the actcell from the corresponding insettabular
13328
13329         * lyxfunc.C (getStatus): small cleanup; disable
13330         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13331         true
13332
13333 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13334
13335         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13336
13337         * paragraph.C (startTeXParParams):
13338         (endTeXParParams): new methods. The LaTeX code to
13339         start/end paragraph formatting
13340         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13341         empty (fixes bug #200)
13342
13343         * vspace.C (inPixels): adapt to the change below
13344         (inPixels): [later] more cleanups (remove unused variables)
13345
13346         * lyxlength.C (inPixels): change to use a width and a height as
13347         parameter.
13348
13349 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13350
13351         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13352         Replaced with \paperwidth
13353
13354         * DepTable.C (insert): add std:: qualifier
13355
13356 2002-01-18  Allan Rae  <rae@lyx.org>
13357
13358         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13359         updated also?
13360
13361         * text.C (drawInset): Turned out I didn't know enough about how
13362         rebreaking worked.  This fixes most of the redraw problems.  I see
13363         an occasional cursor trail when a line is broken now and the cursor
13364         placement can seem out by a few pixels also after a rebreak.
13365
13366 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13367
13368         * buffer.C (parseSingleLyXformat2Token): update because minipage
13369         width is now a LyXLength
13370
13371         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13372
13373         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13374         math insets
13375
13376 2002-01-17  Juergen Vigna  <jug@sad.it>
13377
13378         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13379
13380         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13381         is set correctly and the inset is updated correctly.
13382
13383 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13384
13385         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13386         the beginning of the loop.
13387
13388 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13389
13390         * lyxrc.C: improve help for use_scalable_fonts
13391
13392 2002-01-17  Allan Rae  <rae@lyx.org>
13393
13394         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13395
13396 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13397
13398         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13399         make sure to set their inset_owner to the right value (bug #171)
13400
13401 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13402
13403         * DepTable.h
13404         * DepTable.C: Implement mtime checking to reduce time spent doing
13405         CRCs.
13406
13407 2002-01-16  Juergen Vigna  <jug@sad.it>
13408
13409         * tabular.C (GetAdditionalHeight): one of error fixed.
13410
13411         * lyxrc.C (output): small fix in writing use_pspell.
13412
13413 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13414
13415         * sp_base.h: #include LString.h
13416
13417 2002-01-16  Allan Rae  <rae@lyx.org>
13418
13419         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13420         Can someone check this please?
13421
13422         * text.C (drawInset): It was possible that p.row would be removed by
13423         breakAgainOneRow upsetting a few other settings.  There may be another
13424         small tweak possible by setting need_break_row = 0 when p.row has been
13425         removed but I don't know enough about the logic here.
13426
13427 2002-01-15  Allan Rae  <rae@lyx.org>
13428
13429         * text.C (insertChar): removed conditional truism.
13430
13431         * BufferView2.C (removeAutoInsets): More tweaks.
13432         cur_par_prev could be a stray pointer.  Check for trailing empty line
13433         in case last line was cur_par and only had an error inset on it.
13434
13435 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13436
13437         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13438         absolute
13439
13440         * vc-backend.C (most methods):
13441         * exporter.C (Export):
13442         * converter.C (convert):
13443         (runLaTeX):
13444         * LyXSendto.C (SendtoApplyCB):
13445         * lyxfunc.C (dispatch):
13446         (menuNew):
13447         (open):
13448         (doImport):
13449         * lyx_cb.C (AutoSave):
13450         (InsertAsciiFile):
13451         * BufferView_pimpl.C (MenuInsertLyXFile):
13452         * buffer.C (runChktex): use Buffer::filePath().
13453
13454         * buffer.h: rename filename to filename_; rename filepath to
13455         filepath_ and make it private
13456         (filePath): new method
13457
13458         * buffer.C (writeFile): use fileName()
13459         (getLatexName):
13460
13461         * lyx_main.C (init): fix starting  of LyX when the binary is a
13462         link from so,ewhere else.
13463
13464         * minibuffer.C: include <cctype> for isprint
13465
13466 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13467
13468         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13469         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13470         name clash with InsetCollapsable's width function.
13471
13472 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13473
13474         * lastfiles.C: include <iterator>
13475
13476 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13477
13478         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13479         std::count.
13480
13481         * buffer.C (makeLaTeXFile): ditto.
13482         Also make loop operation more transparent.
13483
13484 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13485
13486         * ToolbarDefaults.C: remove trailing comma closing namespace.
13487
13488         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13489
13490         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13491         as in WorkArea.
13492
13493         * trans.C (Load): comment out unused variable, allowed.
13494
13495 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13496
13497         * minibuffer.[Ch] (append_char): new method to recieve input from the
13498         drop-down completion browser. If a key was pressed, then recieve this
13499         char and append it to the existing string.
13500         (peek_event): modify the positioning data passed to the completion
13501         browser so that it can be placed above the minibuffer rather than below.
13502 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13503
13504         * LyXAction.C (init): alloe error-next for readonly documents.
13505
13506         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13507         count.
13508
13509 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13510
13511         * bufferlist.C (readFile): create the buffer _after_ checking that
13512         the file exists.
13513
13514         * lyxfunc.C (verboseDispatch): fix handling of arguments
13515
13516         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13517
13518         * lyxrc.C: use string::erase() instead of initializing to "".
13519
13520
13521 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13522
13523         * BufferView_pimpl.h:
13524         * BufferView_pimpl.C:
13525         * WorkArea.h:
13526         * WorkArea.C:
13527         * text2.C: tell X when we have made a selection for copying
13528
13529 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13530
13531         * BufferView_pimpl.C (MenuInsertLyXFile):
13532         * lyxfunc.C (menuNew):
13533         (open):
13534         (doImport): add shortcuts to directory buttons
13535
13536         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13537         open a float)
13538
13539         * lyxfunc.C (setStatusMessage):
13540         (getStatusMessage): new methods
13541         (getStatus):use setStatusMessage instead of setErrorMessage
13542         (dispatch): when function is disabled, set error message here
13543         [instead of in getStatus previously]
13544
13545         * BufferView_pimpl.C (workAreaButtonRelease): update
13546         toolbar/menubar here too.
13547
13548 2002-01-13  Allan Rae  <rae@lyx.org>
13549
13550         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13551         Now seems indestructible.  Remaining task is to audit all other
13552         code affected by deleteEmptyParagraphMechanism.  One small quirk
13553         left is that an empty document with an error in the preamble can
13554         be made to report an error but no error box appears.  I don't know
13555         where it goes.
13556         (removeAutoInsets): Improved comments.
13557
13558 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13559
13560         * Thesaurus.h:
13561         * Thesaurus.C: update for Aiksaurus 0.14
13562
13563 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13564
13565         * text2.C (firstParagraph): removed member function, all uses
13566         replaces with ownerParagraph
13567         (redoParagraphs): here
13568         (updateInset): here
13569         (toggleAppendix): here
13570         * BufferView2.C (insertErrors): here
13571         (setCursorFromRow): here
13572
13573 2002-01-13  Allan Rae  <rae@lyx.org>
13574
13575         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13576         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13577         There is still a way to segfault this although you may have to do this
13578         multiple times: Have an InsetERT with an unknown command in it.
13579         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13580         <down-arrow>, <Enter> again, View->DVI, BANG!
13581
13582         * text2.C (setCursor):
13583         (deleteEmptyParagraphMechanism):
13584         * lyxtext.h (setCursor):
13585         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13586         Making use of the return value may help fix other bugs.
13587
13588 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13589
13590         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13591
13592         * LyXView.C (updateMenubar): call MenuBar::update here
13593         (updateToolbar): but not here
13594         (showState): do not update toolbar/menubar
13595
13596         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13597         should need to care about that.
13598
13599         * lyxfunc.C (verboseDispatch): simplify a bit
13600         (getStatus): have a version which takes a pseudoaction, and
13601         another which requires a (kb_action,string).
13602
13603         * LyXAction.C (retrieveActionArg): make it work also when action
13604         is not a pseudo-action.
13605         (getActionName): simplify a bit
13606         (helpText):
13607
13608 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13609
13610         * lyxfunc.C (verboseDispatch): new families of methods with
13611         several ways to specify a command and a bool to indicate whether
13612         the command name and shortcut should be displayed in minibuffer
13613         (eventually, we could extend that to a finer bitmask like
13614         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13615         (dispatch): the pristine dispatch command which just, well,
13616         dispatchs! Note it still sets its result to minibuffer; I'm not
13617         sure we want that.
13618
13619         * lyxfunc.h: remove setHintMessage
13620
13621         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13622
13623 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13624
13625         * BufferView_pimpl.C (specialChar): delete new inset if we have
13626         not been able to insert it.
13627
13628         * kbmap.C: revert to using int instead of kb_action, since all we
13629         are dealing with is pseudo-actions.
13630
13631         * LyXAction.C (searchActionArg): change to return int instead of
13632         kb_action, since the result is a pseudoaction.
13633
13634 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13635
13636         * buffer.C (insertErtContents): Fix (partially) the font bug.
13637
13638 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13639
13640         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13641         as the other one is broken on my machine!
13642
13643 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13644
13645         * commandtags.h:
13646         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13647
13648 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13649
13650         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13651         reflect their actual use. Provide compatibility code for older lyxrc
13652         files.
13653
13654         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13655         FL_NORMAL_STYLE.
13656         change names of popup font variables in line with the changes to lyxrc.C
13657
13658 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13659
13660         * buffer.C (asciiParagraph): avoid outputing a word twice after
13661         an inset.
13662
13663         * lyxrc.C (getDescription): document that document_path and
13664         template_path can be empty.
13665
13666 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13667
13668         * LaTeXFeatures.C (getMacros):
13669         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13670
13671         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13672
13673         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13674         getPackages.
13675         (getPackages): rename feature "floats" to "float". Use an array to
13676         iterate over 'simple' features (i.e. just a \usepackage). Add
13677         handling of "amsmath" (renamed from "amsstyle").
13678
13679 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13680
13681         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13682         features list.
13683
13684 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13685
13686         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13687         FuncStaus::FuncStatus & FuncStaus::some_method().
13688
13689 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13690
13691         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13692         of the func_satus stuff. Edited and massaged in various ways by
13693         JMarc.
13694
13695         * lyxfunc.C (getStatus): use FuncStatus
13696
13697 2002-01-08  Juergen Vigna  <jug@sad.it>
13698
13699         * text.C (nextBreakPoint): use function Inset::isChar().
13700
13701         * paragraph.C (TeXOnePar): use function
13702         Inset::forceDefaultParagraphs.
13703
13704         * buffer.C (latexParagraphs): use function
13705         Inset::forceDefaultParagraphs.
13706
13707 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13708
13709         * lyx_gui.C (init): set the style of the menu popups to
13710         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13711
13712 2002-01-07  Juergen Vigna  <jug@sad.it>
13713
13714         * text.C (setHeightOfRow): small fix
13715         (prepareToPrint): don't look at alignment if we don't have the place
13716         for doing it.
13717
13718 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13719
13720         * box.C: New file. Move the Box methods and functions out of box.h,
13721         following Lars' suggestion.
13722
13723 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13724
13725         * box.h: #include "support/LOstream.h", needed for inlined function.
13726
13727         * lyxtextclass.C:
13728         * lyxtextclasslist.C: added some using std declarations.
13729
13730 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13731
13732         * box.h: make signed dimensions to allow insets wider than
13733           the screen (bug #162)
13734
13735         * BufferView_pimpl.C: add some insetHit debug
13736
13737 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13738
13739         * vc-backend.C: add FIXME
13740
13741 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13742
13743         * lyxfunc.C (getStatus): enable code for showing math font status
13744         in toolbar/menu.
13745
13746 2002-01-07  Juergen Vigna  <jug@sad.it>
13747
13748         * text.C (nextBreakPoint): removed debug output not needed anymore.
13749
13750 2002-01-06  Juergen Vigna  <jug@sad.it>
13751
13752         * text.C (nextBreakPoint): fixed up this function we had this bug
13753         since ever but now hopefully we break row better.
13754         (insertChar): we have to check if an inset is the next char as it
13755         could now happen that a large inset is causing a break.
13756
13757 2002-01-05  Juergen Vigna  <jug@sad.it>
13758
13759         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13760         if it doesn't like to be drawed.
13761
13762 2002-01-04  Juergen Vigna  <jug@sad.it>
13763
13764         * BufferView2.C (lockInset): forgot to set a cursor.
13765
13766         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13767
13768 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13769
13770         * FormMathsPanel.C:
13771         * FormMathsPanel.h
13772         * MathsSymbols.C:
13773         * form_maths_panel.C:
13774         * form_maths_panel.h:
13775         * form_maths_panel.fd: implemented sub- and super- buttons in math
13776         panel.
13777
13778         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13779         (or ^ space) to be used as in TeX (req'd by André).
13780
13781         * lyxfunc.C: Allow ^ and _ again to be used both as
13782         super/subscript (mathed) and as themselves (in text).
13783
13784 2002-01-03  Allan Rae  <rae@lyx.org>
13785
13786         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13787         "LyX" or the filename of the current buffer if it has one.  This is a
13788         modified form of John Levon's patch.
13789
13790         * XFormsView.C (setWindowTitle): also set icon title.
13791
13792         * LyXView.h (setWindowTitle): signature changed.
13793         * XFormsView.h (setWindowTitle): ditto.
13794
13795 2002-01-02  Juergen Vigna  <jug@sad.it>
13796
13797         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13798
13799 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13800
13801         * screen.C (topCursorVisible): introduce a temp var for
13802         text->cursor.row(), handle the case where this row is null. (kindo
13803         hachish)
13804
13805         * text2.C (setCursor): add a couple of asserts.
13806
13807         * paragraph.h (inset_iterator): add -> operator
13808
13809         * paragraph.[Ch] (autoDeleteInsets): remove member function
13810
13811         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13812         cursor pos correctly and handle inset deletion by itself.
13813         (insertErrors): move iterator declaration out of for expression
13814
13815         * lyxtextclass.C: add <algorithm>
13816
13817         * Makefile.am: added the new files to sources, removed layout.C
13818
13819         * layout.C: removed file
13820
13821         * layout.h: remove LYX_DUMMY_LAYOUT
13822
13823         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13824         layout.
13825
13826         * lyxlayout.[Ch]:
13827         * lyxtextclass.[Ch]:
13828         * lyxtextclasslist.[Ch]: new files
13829
13830         * include order changes to a lot of files, also changes because of
13831         the six new files.
13832
13833 2001-12-27  Juergen Vigna  <jug@sad.it>
13834
13835         * buffer.C (asciiParagraph): more fixes.
13836
13837         * tabular.C (ascii): make ascii export support export of only the
13838         data separated by a column-delimiter.
13839         (ascii): better support for ascii export.
13840
13841         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13842
13843 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13844
13845         * tabular_funcs.C: use a "using std::getline" instead of the
13846         previous fix from Angus (necessary for cxx + lyxstring)
13847
13848 2001-12-24  Juergen Vigna  <jug@sad.it>
13849
13850         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13851
13852         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13853         problems. First check a minipage also if we have some ert-contents
13854         (not only on par->size(), second set the right depth of the paragraph
13855         on the relink to the root-paragraph-list!
13856
13857         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13858         which then did not anymore update the main paragraphs on undo/redo!
13859
13860 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13861
13862         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13863         code. Support all font-changing funcs (even those which are not in
13864         menu currently). Support for reporting font settings in
13865         mathed (disabled until Andre provides a function on mathed's side).
13866
13867         * func_status.h (toggle): small helper function to set toggle
13868         state on a flag.
13869
13870 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13871
13872         * tabular_funcs.C: getline -> std::getline
13873
13874 2001-12-21  Juergen Vigna  <jug@sad.it>
13875
13876         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13877         accessed and could be 0 (I couldn't generate this but it seems
13878         Michael could!).
13879
13880 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13881
13882         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13883         * tabular_funcs.h: here and include iosfwd
13884
13885 2001-12-20  Juergen Vigna  <jug@sad.it>
13886
13887         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13888         inside inset but undo_par was.
13889
13890 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13891
13892         * Thesaurus.C: always include <config.h> in sources.
13893
13894         * Painter.h:
13895         * lyxlookup.h:
13896         * box.h: do not include <config.h> in header files
13897
13898         * text.C (paintLastRow): remove unused variable
13899
13900         * text.C (transformChar):
13901         (insertChar):
13902         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13903
13904         * Painter.C (text):
13905         * font.C (width): rewrite to use uppercase() instead of
13906         islower/toupper.
13907
13908         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13909
13910 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13911
13912         * lyxfind.C: clean up of find failure position change
13913
13914 2001-12-20  Juergen Vigna  <jug@sad.it>
13915
13916         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13917
13918         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13919         (TeXRow): added to LaTeX a single tabular row.
13920         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13921         (Latex): simplified and finally good LT-h/f support.
13922         (various_functions): just small adaptions for LT-h/f support.
13923
13924         * tabular_funcs.[hC]: added and moved here all not classfunctions
13925         of LyXTabular.
13926
13927 2001-12-19  Juergen Vigna  <jug@sad.it>
13928
13929         * tabular.[Ch]: better support for longtabular options (not finished
13930         yet!)
13931
13932 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13933
13934         * text.C (paintLastRow): use the label font instead of the font of
13935         the last character to compute the size of *_BOX. This makes more
13936         sense and avoids a crash with empty paragraphs.
13937         Use Painter::rectangle to draw EMPTY_BOX.
13938
13939 2001-12-19  Juergen Vigna  <jug@sad.it>
13940
13941         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13942         the paragraphs if the replaced paragraph is not the first one!
13943         Tried to delete not used paragraphs but does not work yet so for
13944         now it's inside #ifdef's and by default off!
13945
13946 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13947
13948         * MenuBackend.C: include "lyx_main.h" instead of declaring
13949         lastfiles (actually was declared as LastFiles* instead of a
13950         scoped_ptr).
13951
13952 2001-12-17  Juergen Vigna  <jug@sad.it>
13953
13954         * tabular.C (AppendColumn): applied John's fix
13955
13956 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13957
13958         * BufferView.h:
13959         * BufferView.C:
13960         * BufferView_pimpl.h:
13961         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13962
13963         * Makefile.am:
13964         * box.h: new start of class for above
13965
13966         * lyxfunc.C: ignore space-only minibuffer dispatches.
13967           Show the command name when it doesn't exist
13968
13969         * minibuffer.C: don't add empty lines to the history
13970
13971         * minibuffer.C: add a space on dropdown completion
13972
13973 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13974
13975         * text.C: fix line above/below drawing in insets
13976
13977 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13978
13979         * lyxlength.C (LyXLength): Initialize private variables.
13980
13981 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13982
13983         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13984         when inserting error insets.
13985
13986 2001-12-13  Juergen Vigna  <jug@sad.it>
13987
13988         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13989         actually sometimes the before-paragraph.
13990         (setUndo): don't clear the redostack if we're not actually undoing!
13991
13992 2001-12-06  Juergen Vigna  <jug@sad.it>
13993
13994         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13995         and fixed redoing of main paragraph, so we can use it now ;)
13996
13997         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13998
13999 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14000
14001         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14002         Juergen's request
14003
14004 2001-12-13  André Pönitz <poenitz@gmx.net>
14005
14006         * undostack.[Ch]:
14007         * undo_func.C: minor cleanup
14008
14009 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14010
14011         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14012         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14013         font in urw-fonts package which is marked as -urw-fontspecific and
14014         does not work (incidentally, changing the encoding in the
14015         fonts.dir of this package to -adobe-fontspecific fixes the
14016         problem).
14017
14018         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14019         is a crash when undoing first paragraph (Juergen, please take a
14020         look). THis does not mean the undo fix is wrong, just that it
14021         uncovers problems.
14022
14023         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14024         the (Paragraph*) version when needed instead of duplicating the
14025         code.
14026
14027         * text.C (workWidth): use Inset::parOwner to find out where the
14028         inset has been inserted. This is a huge performance gain for large
14029         documents with lots of insets. If Inset::parOwner is not set, fall
14030         back on the brute force method
14031
14032         * paragraph_pimpl.C (insertInset):
14033         * paragraph.C (Paragraph):
14034         (cutIntoMinibuffer): set parOwner of insets when
14035         inserting/removing them
14036
14037         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14038
14039 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14040
14041         * commandtags.h:
14042         * LyXAction.C:
14043         * lyx_main.C:
14044         * lyxfunc.C:
14045         * mathed/formulabase.C:
14046         * mathed/math_cursor.[Ch]:
14047         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14048
14049
14050 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14051
14052         * lyxlength.[Ch] (operator!=): new function
14053
14054 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14055
14056         * text.C (workWidth): use Inset::parOwner to find out where the
14057         inset has been inserted. This is a huge performance gain for large
14058         documents with lots of insets. If Inset::parOwner is not set, fall
14059         back on the brute force method
14060
14061         * paragraph_pimpl.C (insertInset):
14062         * paragraph.C (Paragraph):
14063         (cutIntoMinibuffer): set parOwner of insets when
14064         inserting/removing them
14065
14066         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14067
14068 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14069
14070         * tabular-old.C (getTokenValue):
14071         * tabular.C (getTokenValue):
14072         (write_attribute): new versions for LyXLength
14073         (everywhere): adjust the use of widths
14074
14075         * tabular.h: change the type of widths from string to LyXLength
14076
14077 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14078
14079         * paragraph.C: fixed missing line number count when exporting
14080         Environments to LaTeX file
14081
14082         * buffer.C: added informational message for checking line numbers.
14083
14084 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14085
14086         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14087         paragraph, do the 'double space' part, but not the 'empty
14088         paragraph' one.
14089
14090         * text.C (workWidth): small optimization
14091         (getLengthMarkerHeight): use minimal size for negative lengths.
14092
14093 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14094
14095         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14096
14097         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14098
14099 2001-12-11  André Pönitz <poenitz@gmx.net>
14100
14101         * FontLoader.C:
14102         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14103
14104 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14105
14106         * text2.C: keep selection on a setFont()
14107
14108 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14109
14110         * lyx_cb.C: another bv->text misuse, from insert label
14111
14112 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14113
14114         * kbsequence.h:
14115         * kbsequence.C: re-instate nmodifier mask
14116
14117 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14118
14119         * lyx_main.h: make lyxGUI private.
14120
14121 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14122
14123         * lyxfind.C: place the cursor correctly on failed search
14124
14125 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14126
14127         * text.C (getLengthMarkerHeight): for small heights, the arrows
14128         are not always on top/bottom of the text
14129         (drawLengthMarker): smaller arrows; take the left margin in
14130         account; draw also vfills.
14131         (paintFirstRow):
14132         (paintLastRow): remove special code for vfill and standard spaces,
14133         since everything is handled in drawLengthMarker now.
14134
14135 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14136
14137         * buffer.C (insertErtContents): try to handle font and language
14138         interaction a bit better.g
14139
14140         * ColorHandler.C (updateColor): change the hash to cover the whole
14141         LColor enum, ws cleanup
14142         (getGCLinepars): ditto
14143         (getGCLinepars): only lookup in the linecache once.
14144
14145 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14146
14147         * iterators.C (operator++): Make the iterator more robust
14148
14149         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14150         (John's patch)
14151         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14152
14153 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14154
14155         * lyxtext.h:
14156         * text.C: better added space drawing
14157
14158 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14159
14160         * LyXView.C:
14161         * BufferView2.C: fix layout combo update on inset unlock
14162
14163 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14164
14165         * Makefile.am: don't compile unused files
14166
14167 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14168
14169         * lyxfunc.C:
14170         * commandtags.h:
14171         * LyXAction.C: remove old LFUN_LAYOUTNO
14172
14173 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14174
14175         * paragraph_pimpl.h:
14176         * paragraph_pimpl.C: isTextAt() doesn't need font param
14177
14178 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14179
14180         * lyxlex.h:
14181         * lyxlex.C: little cleanup
14182
14183 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14184
14185         * BufferView_pimpl.C: fix insertAscii for insets
14186
14187 2001-12-05  Juergen Vigna  <jug@sad.it>
14188
14189         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14190         set the right font on the "multi" paragraph paste!
14191
14192 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14193
14194         * trans_decl.h:
14195         * trans_mgr.[Ch]:
14196         * trans.[Ch]:
14197         * lyxgluelength.C:
14198         * lyxlength.C: remove out-commented code.
14199
14200         * BufferView_pimpl:
14201         * CutAndPaste.C:
14202         * DepTable.C:
14203         * buffer.C:
14204         * chset.C:
14205         * lastfiles.C:
14206         * lyxlex.C:
14207         * lyxlex_pimpl.C:
14208         * lyxserver.C:
14209         * screen.C:
14210         * tabular-old.C:
14211         * tabular.C:
14212         * text.C:
14213         * trans_mgr.C:
14214         * vc-backend.C: change "while(" to "while ("
14215
14216         * lyxlength.[Ch]: add zero function to check if length is zero or
14217         not
14218         * lyxgluelength.C: use it
14219
14220 2001-12-05  Allan Rae  <rae@lyx.org>
14221
14222         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14223         Works for 2.95.3, from what I understand of Garst's reports this should
14224         work for other g++ versions.  We're screwed if the abs(int) definition
14225         changed between bugfix releases of gcc.
14226
14227 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14228
14229         * text.C: fix chapter label offset !
14230
14231 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14232
14233         * lyxtext.h:
14234         * text.C: fix hfill at end of line, clean up
14235
14236 2001-12-04  Juergen Vigna  <jug@sad.it>
14237
14238         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14239         that we force an update of the inset and it's owners if neccessary.
14240
14241 2001-12-03  Juergen Vigna  <jug@sad.it>
14242
14243         * text.C (rowLast): simplified code
14244
14245 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14246
14247         * lyxfunc.C: fix show options on timeout
14248
14249 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14250
14251         * screen.C (topCursorVisible): scroll half a page when the cursor
14252         reached top of bottom of screen
14253
14254 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14255
14256         * minibuffer.C: deactivate on loss of focus
14257
14258 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14259
14260         * vspace.[Ch] (operator!=): add operator.
14261
14262 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14263
14264         * BufferView_pimpl.C: refuse to open an inset when
14265         there's a selection.
14266
14267 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14268
14269         * BufferView_pimpl.C: allow to click on RHS of full row insets
14270
14271 2001-11-30  Juergen Vigna  <jug@sad.it>
14272
14273         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14274         insets for undo reasons.
14275
14276 2001-11-28  André Pönitz <poenitz@gmx.net>
14277
14278         * vspace.[Ch]: cosmetical changes
14279
14280 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14281
14282         * LyXAction.h:
14283         * LyXAction.C:
14284         * lyxfunc.h:
14285         * lyxfunc.C:
14286         * kbmap.h:
14287         * kbmap.C:
14288         * lyxrc.C:
14289         * kbsequence.h:
14290         * kbsequence.C: part re-write of old kb code
14291
14292         * Painter.C:
14293         * WorkArea.C: remove Lgb_bug_find_hack
14294
14295 2001-11-30  José Matos <jamatos@fep.up.pt>
14296
14297         * buffer.C (makeDocBookFile): add a comment to point a hack.
14298         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14299         Fixed a double write of labels.
14300
14301 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14302
14303         * LaTeX.C:
14304         * LaTeX.h Fixed bug in LaTeX class where it would not
14305         re-run latex if no depfiles were changed, but the .dvi was removed.
14306
14307 2001-11-28  André Pönitz <poenitz@gmx.net>
14308
14309         * all the files from the change on 2001/11/26:
14310         use lyx::layout_type instead of LyXTextClass::size_type
14311         use lyx::textclass_type instead of LyXTextClassList::size_type
14312
14313 2001-11-29  Juergen Vigna  <jug@sad.it>
14314
14315         * text.C: added support for paragraph::isFreeSpacing()
14316
14317         * buffer.C: same as above
14318
14319         * paragraph.h: inserted isFreeSpacing() function to enable
14320         FreeSpacing inside InsetERT.
14321
14322         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14323         of the paragraph's in the cut/copy buffer to 0!
14324
14325         * text2.C (removeRow): remove the assert as it can!
14326
14327         * lyxtext.h: added helper function firstRow returning firstrow and
14328         made firstrow private again.
14329
14330         * BufferView2.C (lockInset): don't relock if we're already locked!
14331
14332         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14333         the only paragraph.
14334         (removeRow): added Assert::(firstrow)
14335
14336         * debug.C: forgot to add INSETTEXT here.
14337
14338 2001-11-28  Juergen Vigna  <jug@sad.it>
14339
14340         * sp_spell.C (initialize): changed error text to more general
14341         spellchecker command use (not only ispell!)
14342
14343         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14344
14345         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14346
14347 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14348
14349         * vspace.C: initialise lyxgluelength on failure
14350
14351 2001-11-28  Allan Rae  <rae@lyx.org>
14352
14353         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14354         declaration & definition that looks like a function declaration.
14355
14356 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14357
14358         * BufferView2.C (copy):
14359         (copyEnvironment): do not clear the selection when doing a copy.
14360
14361         * text.C (paintFirstRow): compilation fix
14362
14363 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14364
14365         * tabular.C (Latex): correct line count when writing latex.
14366
14367 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14368
14369         * paragraph_pimpl.h:
14370         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14371           bug a bit
14372
14373 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14374
14375         * text.C:
14376         * LColor.h:
14377         * LColor.C: change vfillline->added_space
14378
14379         * text.C: add markers and text for added space
14380
14381         * vspace.C: fix comment
14382
14383 2001-11-28  André Pönitz <poenitz@gmx.net>
14384
14385         * paragraph.C: whitespace changes
14386         * all the other files from the change on 2001/11/26:
14387         change *::pos_type into lyx::pos_type
14388
14389 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14390
14391         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14392         language of the document when inserting error insets.
14393
14394 2001-11-26  André Pönitz <poenitz@gmx.net>
14395
14396         * BufferView_pimpl.[Ch]:
14397         *       CutAndPaste.C:
14398         * buffer.[Ch]:
14399         * lyxcursor.[Ch]:
14400         * lyxfind.C:
14401         * lyxfunc.C:
14402         * lyxrow.[Ch]:
14403         * paragraph.[Ch]:
14404         * paragraph_pimpl.[Ch]:
14405         * sp_spell.C:
14406         * text.C:
14407         * text2.C: reduce header dependencies, introduce type for positions
14408
14409 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14410
14411         * <various>: change to use Alert.h
14412
14413 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14414
14415         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14416         when encountering an unknown token.
14417         (readLyXformat2): Show an error message if there were unknown tokens.
14418
14419 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14420
14421         * BufferView2.C:
14422         * BufferView_pimpl.C:
14423         * buffer.C:
14424         * paragraph.h:
14425         * text.C:
14426         * text2.C: use par->isInset()
14427
14428 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14429
14430         * paragraph_pimpl.h:
14431         * paragraph_pimpl.C: cleanup
14432
14433 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14434
14435         * text2.C (removeRow):
14436         * text.C (setHeightOfRow): remove useless (and costly) call to
14437         getRow.
14438
14439 2001-11-20  Allan Rae  <rae@lyx.org>
14440
14441         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14442         Now need Inset*::checkInsertChar() to return true for appropriate
14443         cases so that the characters in the minibuffer will actually be
14444         inserted.
14445
14446 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14447
14448         * text.C: change the order of the includes.
14449         (workWidth): initialize it at once.
14450         (workWidth): make maxw unsigned
14451         (setHeightOfRow): remove unused variable (inset)
14452         (selectSelectedWord): remove unused variable (inset)
14453         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14454
14455 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14456
14457         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14458         server is not running.
14459         (openConnection):
14460         (closeConnection): add debug info when server is disabled.
14461
14462         * ColorHandler.C (getGCForeground): send debug message to GUI
14463         channel.
14464
14465         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14466
14467         * kbmap.C (bind): modify because return conventions of
14468         kb_sequence::parse have changed.
14469
14470         * kbsequence.C (parse): only ignore spaces and not any stupid
14471         control character. This avoids tests like s[i] <= ' ', which are
14472         guaranteed to fail with 8bit characters and signed chars.
14473         Change return code to string::npos when there have been no error
14474         (0 was a bad idea when error is at first character)
14475
14476 2001-11-14  José Matos  <jamatos@fep.up.pt>
14477
14478         * buffer.h:
14479         * buffer.C (simpleDocBookOnePar): removed unused argument.
14480
14481 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14482
14483         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14484         insets which are part of a word. Paragraph::isLetter takes care of
14485         that now. Use Paragraph::isInset to identify insets.
14486         (selectSelectedWord): do not test for hyphenation break.
14487
14488         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14489         that protected spaces are considered as spaces.
14490
14491         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14492         Inset::isLetter.
14493
14494 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14495
14496         * lyxserver.h:
14497         * lyxserver.C: fix it. and small cleanup.
14498
14499 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14500
14501         * BufferView_pimpl.C: use inline helpers
14502
14503         * LaTeXFeatures.h:
14504         * LaTeXFeatures.C: fix typos
14505
14506         * Spacing.h:
14507         * Spacing.C: move spacing_string into class
14508
14509         * ToolbarDefaults.C: move stuff into namespace anon
14510
14511         * layout.h: update enum
14512
14513         * lyxfunc.C: use better debug
14514
14515         * minibuffer.h: fix typo
14516
14517         * debug.h:
14518         * debug.C:
14519         * WorkArea.C: add and use Debug::WORKAREA
14520
14521         * lyxtext.h:
14522         * text.C:
14523         * text2.C: code re-organisation, inline helpers
14524
14525 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14526
14527         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14528         std::vector.empty().
14529
14530 2001-11-09  Allan Rae  <rae@lyx.org>
14531
14532         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14533         '\n's after tables.  Tabular and ERT inset work now makes this no
14534         longer necessary.
14535
14536 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14537
14538         * minibuffer.h:
14539         * minibuffer.C: fix crash, improve drop-down completion
14540
14541 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14542
14543         * lyxserver.h:
14544         * lyxserver.C: invalidate fd's when doing endPipe()
14545
14546 2001-11-08  José Matos  <jamatos@fep.up.pt>
14547
14548         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14549         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14550
14551         * paragraph.h:
14552         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14553
14554 2001-11-07  José Matos  <jamatos@fep.up.pt>
14555
14556         * buffer.h:
14557         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14558         const qualifier.
14559
14560         * buffer.C (sgmlOpenTag):
14561         * buffer.C (sgmlCloseTag): removed debug info.
14562
14563         * buffer.h (sgmlOpenTag):
14564         * buffer.h (sgmlCloseTag): made public.
14565
14566 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14567
14568         * buffer.C (saveParamsAsDefaults):
14569         * lyx_cb.C (MenuLayoutSave): remove
14570
14571         * LyXAction.C (init):
14572         * commandtags.h:
14573         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14574
14575 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14576
14577         * buffer.C (setPaperStuff): removed from here...
14578
14579         * bufferparams.C (setPaperStuff): ... and moved there.
14580
14581 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14582
14583         * minibuffer.h:
14584         * minibuffer.C:
14585         * XFormsView.C: add support for drop-down completion
14586
14587 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14588
14589         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14590         commands.
14591
14592 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14593
14594         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14595         disabled.
14596
14597 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14598
14599         * lyx_main.C: change ref to known bugs
14600
14601 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14602
14603         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14604         to work around older babel problems.
14605
14606 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14607
14608         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14609
14610 2001-10-24  Juergen Vigna  <jug@sad.it>
14611
14612         * tabular-old.C (ReadOld): below variable changes reflected.
14613
14614         * tabular.[Ch]: added ltType struct for longtable header/footer
14615         defines and changed all instances where they are used. Added
14616         future support for double top/bottom rows.
14617
14618 2001-10-24  José Matos  <jamatos@fep.up.pt>
14619
14620         * buffer.h (docbookHandleCaption):
14621         * buffer.C (docbookHandleCaption): removed unused function.
14622         (makeDocBookFile): moved docbook supported version to v4.1.
14623
14624 2001-10-24  José Matos  <jamatos@fep.up.pt>
14625
14626         * tabular.h:
14627         * tabular.C (docbookRow): new function to export docbook code of a row.
14628         (DocBook): now honors the longtable flags.
14629
14630 2001-10-23  José Matos  <jamatos@fep.up.pt>
14631
14632         * LaTeXFeatures.h:
14633         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14634         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14635
14636         * buffer.C (makeLinuxDocFile):
14637         (makeDocBookFile): reworked the preamble, more clean, and with
14638         support for lyx defined entities. Changed the document declaration
14639         to be more XML friendly.
14640
14641         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14642         if we need to output XML that should be done with a filter.
14643
14644 2001-10-22  Juergen Vigna  <jug@sad.it>
14645
14646         * sp_pspell.h (class PSpell): add alive function needed in the
14647         controller to see if the spellchecker could be started.
14648
14649 2001-10-22  Juergen Vigna  <jug@sad.it>
14650
14651         * buffer.C (insertStringAsLines): modify the font for inserting
14652         chars in certain conditions by calling checkInsertChar(font).
14653
14654 2001-10-19  Juergen Vigna  <jug@sad.it>
14655
14656         * text.C (workWidth): use getRow instead of wrong algorithm.
14657         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14658
14659 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14660
14661         * lyxserver.h:
14662         * lyxserver.C:
14663         * lyx_main.h:
14664         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14665
14666 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14667
14668         * text.C (workWidth): do not search for the exact row when
14669         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14670         optimization for big documents.
14671
14672 2001-10-18  Juergen Vigna  <jug@sad.it>
14673
14674         * text.C (workWidth): new function with added Inset * parameter.
14675
14676 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14677
14678         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14679
14680         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14681         change return type of getColumnNearX.
14682
14683
14684         * text.C (changeRegionCase): use uppercase/lowercase instead of
14685         toupper/tolower.
14686         (leftMargin):
14687         (rightMargin): simplify code by factoring out the uses of
14688         textclasslist.
14689         (labelFill):
14690         (numberOfHfills):
14691         (setHeightOfRow):
14692         (appendParagraph): use Paragraph::size_type
14693
14694 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14695
14696         * vspace.C (asLatexString): add a missing break
14697
14698 2001-10-15  Herbert Voss  <voss@perce.de>
14699
14700         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14701
14702 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14703
14704         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14705         is not available.
14706
14707 2001-10-10  André Pönitz <poenitz@gmx.net>
14708
14709         * lyxfunc.C: removed greek_kb_flag.
14710
14711 2001-10-10  Herbert Voss  <voss@perce.de>
14712
14713         * lyx_main.C: delete global string help_lyxdir.
14714
14715 2001-10-09  Herbert Voss  <voss@perce.de>
14716
14717         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14718
14719         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14720
14721         * lyx_main.C: added global string help_lyxdir.
14722
14723         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14724
14725 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14726
14727         * lyxrc.C (set_font_norm_type): support iso8859-4
14728
14729 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14730
14731         * LaTeX.C (deplog): add another regex for MikTeX
14732
14733 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14734
14735         * lyxrc.C (set_font_norm_type): support iso8859-3
14736
14737 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14738
14739         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14740
14741         * LaTeXFeatures.C: remove special case of french and index
14742
14743         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14744         before \begin{document}). This solves several incompatibilities.
14745
14746 2001-10-03  Garst Reese  <reese@isn.net>
14747
14748         * lyx_cb.C: change CheckTex error msg.
14749
14750 2001-10-03  José Matos  <jamatos@fep.up.pt>
14751
14752         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14753
14754 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14755
14756         * .cvsignore: update
14757
14758         * lyx_main.C (commandLineVersionInfo): use new style version info.
14759
14760         * buffer.C (writeFile):
14761         (makeLaTeXFile):
14762         (makeLinuxDocFile):
14763         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14764
14765         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14766
14767         * version.h: update to use stuff in version.C
14768
14769         * version.C.in: new file. Contains version information determined
14770         at compile time. This is a merging of version.h and
14771         version_info.h.in.
14772
14773 2001-10-03  Juergen Vigna  <jug@sad.it>
14774
14775         * BufferView_pimpl.C (update): don't change "dirty" status in
14776         updateInset call.
14777
14778 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14779
14780         * WorkArea.C (c-tor): re-position version string slightly.
14781
14782 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14783
14784         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14785         revert to previous code.
14786
14787         WorkArea.[Ch]: (show, destroySplash): methods removed.
14788
14789         WorkArea.C: rework code so that it's an amalgam of the codes before and
14790         after the splash screen was moved to WorkArea.
14791
14792 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14793
14794         * lyxrc.C (read):
14795         * vspace.C (inPixels):
14796         (lyx_advance):
14797         * kbmap.C (bind):
14798         * buffer.C (insertStringAsLines):
14799         (asciiParagraph): fix types to be large enough
14800
14801         * lyxlex_pimpl.h: change member status from short to int
14802
14803         * layout.h: fix type of endlabeltype
14804
14805         * kbmap.C (bind):
14806         * kbsequence.C (parse): change return type to string::size_type
14807
14808         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14809         variable
14810
14811         * Bullet.C (bulletSize):
14812         (bulletEntry): do not use short ints as parameters
14813
14814         * BufferView2.C (insertLyXFile): change a char to an int.
14815
14816         * WorkArea.C (WorkArea): remove unneeded floats in computation
14817
14818 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14819
14820         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14821
14822         * paragraph.C (asString): Do not ignore newline/hfill chars when
14823         copying to the clipboard.
14824
14825 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14826
14827         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14828         after a multi-line inset.
14829
14830 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14831
14832         * paragraph.C (validate): Set NeedLyXFootnoteCode
14833
14834 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14835
14836         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14837         and decrease-error to decrease.
14838
14839 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14840
14841         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14842         it more readable (should be equivalent)
14843
14844 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14845
14846         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14847
14848 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14849
14850         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14851         of a cursor (row, etc.) after a character has been deleted
14852         (deleteEmptyParagraphMechanism): call the method above on _all_
14853         cursors held by the LyXText when a double space has been
14854         detected/deleted.
14855
14856 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14857
14858         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14859         pixmap.
14860         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14861
14862         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14863         background. Use greyOut() and the new show() methods to toggle between
14864         the foreground and background. Add code to remove the splash after
14865         its initial showing.
14866
14867         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14868         (create_forms): no longer call Dialogs::showSplash.
14869
14870 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14871
14872         * .cvsignore: add version_info.h
14873
14874 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14875
14876         * version_info.h.in: new file
14877
14878         * Makefile.am: add version_info.h.in
14879
14880         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14881         version_info.h instead of VERSION_INFO
14882
14883 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14884
14885         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14886         The ERT inset now returns string().
14887
14888 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14889
14890         * lyxtext.h, text.C (selectNextWord): renamed as
14891         selectNextWordToSpellcheck.
14892
14893         * text.C (selectNextWordToSpellcheck): Modified to not select
14894         words inside an ERT inset.
14895
14896 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14897
14898         * lyx_cb.C (MenuLayoutSave): change a bit the question
14899
14900         * sp_base.h: include <sys/types.h>
14901
14902 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14903
14904         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14905
14906 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14907
14908         * several files: fix typos in user-visible strings
14909
14910 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14911
14912         * text2.C (pasteSelection): do not set the selection, since it
14913         will be cleared later. Actually, the intent was to fix the way the
14914         selection was set, but I figured rmoving the code was just as good.
14915
14916 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14917
14918         * FontLoader.C (available): Check if font is available without
14919         loading the font.
14920
14921 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14922
14923         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14924
14925 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14926
14927         * lyxrc.[Ch]: added display_graphics variable and associated code.
14928
14929 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14930
14931         * bufferparams.C (hasClassDefaults): new method. Returns true if
14932         the buffer parameters correspond to known class defaults
14933
14934 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14935
14936         * XFormsView.C (show): set minimum size to the main window.
14937
14938 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14939
14940         * text2.C (copySelection):
14941         (cutSelection):
14942         * lyxfind.C (LyXReplace):
14943         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14944         LyXText::selectionAsString.
14945
14946         * paragraph.C (asString): add "label" argument to the second form
14947
14948         * text2.C (selectionAsString): add "label" argument and pass it to
14949         Paragraph::asString.
14950
14951 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14952
14953         * lyx_main.C (commandLineHelp): remove version information
14954
14955 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14956
14957         * lyx_main.C: add -version commandline option
14958
14959 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14960
14961         * paragraph.h: make the optional constructor arg required instead.
14962         some modifications to other files because of this.
14963
14964         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14965
14966         * lyxserver.C (C_LyXComm_callback): make it static
14967
14968         * lyx_main.C (error_handler): make it static
14969
14970         * lyx_gui.C (LyX_XErrHandler): make it static
14971
14972         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14973
14974         * WorkArea.C: make the extern "C" methods static.
14975
14976         * Makefile.am (lyx_LDADD): simplify
14977
14978 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14979
14980         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14981         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14982
14983         * LyXAction.C (init):
14984         * lyxfunc.C (dispatch): associated code removal.
14985
14986 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14987
14988         * lyxfont.h (isSymbolFont): shut off warning
14989
14990         * text.C (setHeightOfRow):
14991         (getVisibleRow): fix crash with empty paragraphs which have a
14992         bottom line
14993
14994 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14995
14996         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14997         code.
14998
14999 2001-09-04  José Matos  <jamatos@fep.up.pt>
15000         * buffer.C
15001         * buffer.h
15002         * tabular.C (docbook): rename docBook method to docbook.
15003
15004 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15005
15006         * Makefile.am: add dependencies to main.o.
15007
15008 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15009
15010         * FontLoader.C (available): Return false if !lyxrc.use_gui
15011
15012 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15013
15014         * FontInfo.C (query):
15015         * converter.C (view):
15016         * importer.C (Import):
15017         * exporter.C (Export): Can not -> cannot.
15018
15019 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15020
15021         * BufferView_pimpl.C: allow to create index inset even if
15022           string is empty
15023
15024 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15025
15026         * buffer.C (getLists): replace boost::tie code with an explicit pair
15027         as boost::tie can break some compilers.
15028
15029         * iterators.h: Added a std:: declaration to the return type of
15030         ParIterator::size.
15031
15032 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15033
15034         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15035           case.
15036
15037 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15038
15039         * iterators.[Ch]: New files. Provide paragraph iterators.
15040
15041         * buffer.C (changeLanguage): Use paragraph iterators.
15042         (isMultiLingual): ditto
15043
15044         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15045
15046 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15047
15048         * FontLoader.C: Support for cmr font.
15049
15050 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15051
15052         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15053         (available): New method.
15054
15055         * FontInfo.C (getFontname): Use scalable fonts even when
15056         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15057         found.
15058
15059 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15060
15061         * converter.C (Formats::view): reverted! Incorrect fix.
15062
15063 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15064
15065         * converter.C (Formats::view): only output the -paper option
15066         if the dvi viewer is xdvi, thereby fixing bug #233429.
15067
15068 2001-08-23  Herbert Voss  <voss@perce>
15069
15070         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15071
15072 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15073
15074         * Spacing.h (Spacing): Set space to Default on in the default
15075         constructor.
15076
15077 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15078
15079         * vc-backend.h (RCS::versionString): add RCS to version
15080         (CVS::versionString): add CVS to version
15081
15082         * vc-backend.C (scanMaster): do not add CVS to version.
15083         (scanMaster): do not add RCS to version
15084
15085         * lyxvc.C (versionString): new method
15086
15087         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15088
15089 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15090
15091         * Spacing.C (set): initialize fval
15092
15093 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15094
15095         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15096         " or \.
15097
15098 2001-08-16  Juergen Vigna  <jug@sad.it>
15099
15100         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15101
15102 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15103
15104         * BufferView_pimpl.C:
15105         * figureForm.C:
15106         * lyxtext.h:
15107         * text2.C: setParagraph takes linespacing now
15108
15109 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15110
15111         * LyxAction.C: add internal LFUN_CITATION_INSERT
15112
15113         * LyXView.C: actually apply fix
15114
15115         * bufferlist.C: fix open non-existent file
15116
15117         * lyxfind.C: fix indentation
15118
15119         * lyxfunc.C: remove unneeded assert, fix typo
15120
15121 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15122
15123         * MenuBackend.C: use "Floatname List"
15124
15125 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15126
15127         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15128         when converting LaTeX layout to insetERT.
15129         Generate a non-collapsed float when reading old float
15130
15131 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15132
15133         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15134         ERT insets.
15135
15136 2001-08-13  Juergen Vigna  <jug@sad.it>
15137
15138         * text.C (fill): return 0 instead of 20 as this seems to be the more
15139         correct value.
15140
15141 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15142
15143         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15144         lyxrc.font_norm.
15145
15146 2001-08-13  Juergen Vigna  <jug@sad.it>
15147
15148         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15149         casesensitive off.
15150         (SearchBackward): comment out the unlocking of the inset_owner this
15151         should not be needed!
15152
15153 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15154
15155         * Many files: Remove inherit_language, and add latex_language
15156
15157         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15158         collapsible insets.
15159
15160 2001-08-10  Juergen Vigna  <jug@sad.it>
15161
15162         * text.C (prepareToPrint): fixed hfill-width in draw!
15163
15164         * BufferView2.C (selectLastWord): save the selection cursor as this
15165         now is cleared in the function LyXText::clearSelection!
15166
15167 2001-08-08  Juergen Vigna  <jug@sad.it>
15168
15169         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15170         BACKSPACE type functions.
15171
15172         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15173         is only cutted from the document but not put in the cut-buffer, where
15174         still the old stuff should be.
15175
15176         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15177
15178         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15179
15180         * tabular.C (SetWidthOfCell): fixed special case where the width
15181         was not updated!
15182         (LeftLine): handle '|' in align_special.
15183         (RightLine): ditto
15184         (LeftAlreadyDrawed): ditto
15185         (SetWidthOfCell): ditto
15186
15187 2001-08-07  Juergen Vigna  <jug@sad.it>
15188
15189         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15190
15191 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15192
15193         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15194         * lyxlex.[hC]: ditto
15195
15196 2001-08-06  Juergen Vigna  <jug@sad.it>
15197
15198         * text.C (getVisibleRow): fix up row clearing a bit.
15199
15200 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15201
15202         * minibuffer.C: make sure the X server sees the changes in the input.
15203
15204 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15205
15206         * paragraph.C (getFont): split into...
15207         (getLabelFont): this
15208         (getLayoutFont): and this
15209         * paragraph_pimpl.C (realizeFont): calling this
15210
15211         * text2.C (getFont): split into...
15212         (getLayoutFont): this
15213         (getLabelFont): and this
15214         (realizeFont): all three calling this
15215
15216         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15217         files where used.
15218
15219 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15220
15221         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15222
15223 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15224
15225         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15226         layouts from the Quote inset insertion.
15227
15228 2001-08-03  Juergen Vigna  <jug@sad.it>
15229
15230         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15231
15232         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15233         only if status not is already CHANGED_IN_DRAW (second level).
15234
15235         * text.C (draw): don't set the need_break_row when inside an
15236         InsetText LyXText.
15237
15238 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15239
15240         * buffer.C (parseSingleLyXformat2Token): handle more latex
15241         conversion cases.
15242
15243         * bufferview_funcs.[hC]: change function names to
15244         begin with small char, adjust other files.
15245
15246 2001-08-02  André Pönitz <poenitz@gmx.net>
15247
15248         * lyxfunc.C:
15249         BufferView_pimpl.C: remove broken special code for math-greek
15250
15251 2001-08-02  Juergen Vigna  <jug@sad.it>
15252
15253         * BufferView_pimpl.C (update): redone this function so that we
15254         update the text again if there was a CHANGE_IN_DRAW.
15255
15256         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15257         (drawFromTo): added a new internal bool which is used by draw() and
15258         redraw() function.
15259         (general): some cursor drawing problems fixed.
15260
15261 2001-08-01  Juergen Vigna  <jug@sad.it>
15262
15263         * lyxfind.C (LyXFind): fixed
15264         (SearchForward): ditto
15265         (SearchBackward): ditto
15266
15267         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15268         spurius drawing of the cursor in the main area.
15269
15270         * text2.C (status): small fix which could lead to a segfault!
15271         (clearSelection): remove unneeded BufferView param.
15272
15273 2001-08-01  André Pönitz <poenitz@gmx.net>
15274
15275         * lyxfunc.C: small change due to changed mathed interface
15276
15277 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15278
15279         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15280
15281 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15282
15283         * lyxfunc.c: fail gracefully if file doesn't exist
15284
15285         * LyXSendto.C:
15286         * buffer.C:
15287         * lyxfunc.C:
15288         * BufferView_pimpl.C: IsDirWriteable() proto changed
15289
15290         * LyXView.C: fix updateWindowTitle() to store the last title
15291
15292 2001-07-31  Juergen Vigna  <jug@sad.it>
15293
15294         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15295         the font (wrong since using of Paragraph::highestFontInRange).
15296
15297         * paragraph.C (highestFontInRange): added a default_size parameter.
15298
15299         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15300         (setHeightOfRow): reformat
15301
15302 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15303
15304         * converter.[hC] + affected files: move to (inital-char)lowercase
15305         function names.
15306
15307         * ParagraphParameters.C (ParagraphParameters): remove commented code
15308
15309         * PainterBase.[Ch]: remove commented code
15310
15311         * LaTeXFeatures.h: add "bool floats" for float.sty
15312
15313         * LaTeXFeatures.C (LaTeXFeatures): init floats
15314         (require): handle float
15315         (getPackages): do it with floats
15316
15317 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15318
15319         * BufferView_pimpl.C (Dispatch): improve handling of
15320         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15321
15322         * commandtags.h: #include lyxfont.h here temporarily to avoid
15323         keybinding bug.
15324
15325         * bufferlist.h: include LString.h here.
15326
15327 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15328
15329         * text2.C (getStringToIndex): new method.
15330
15331 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15332
15333         * *: Reduced header file dependencies all over.
15334
15335 2001-07-30  Baruch Even  <baruch@lyx.org>
15336
15337         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15338
15339 2001-07-29  Baruch Even  <baruch@lyx.org>
15340
15341         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15342
15343 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15344
15345         * ParameterStruct.h (endif): add a default constructor to make
15346         sure that all variables is initialized.
15347
15348         * ParagraphParameters.C (ParagraphParameters): adjust
15349
15350 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15351
15352         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15353         index; also, check that there is something to index, and that it
15354         does not span over several paragraphs.
15355         (doubleClick): use WHOLE_WORD_STRICT for double click.
15356
15357         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15358
15359         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15360         scheme.
15361
15362 2001-07-26  Baruch Even  <baruch@lyx.org>
15363
15364         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15365         an InsetFig figure, backwards compatible reading of old figure code.
15366
15367 2001-07-27  Juergen Vigna  <jug@sad.it>
15368
15369         * text2.C: font.realize function adaption.
15370
15371         * text.C (draw): add a warnings lyxerr text if needed.
15372
15373         * layout.C: font.realize function adaption.
15374
15375         * language.C: add inherit_language and implement it's handlings
15376
15377         * bufferview_funcs.C (StyleReset): remove language parameter from
15378         font creation (should be language_inherit now).
15379
15380         * bufferparams.C (writeFile): handle ignore_language.
15381
15382         * paragraph.C (getFontSettings): the language has to be resolved
15383         otherwise we have problems in LyXFont!
15384
15385         * lyxfont.C (lyxWriteChanges): added document_language parameter
15386         (update): removed unneeded language parameter
15387
15388         * paragraph.C (validate): fixed wrong output of color-package when
15389         using interface colors for certain fonts in certain environments,
15390         which should not seen as that on the final output.
15391
15392 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15393
15394         * BufferView_pimpl.C:
15395         * Thesaurus.h:
15396         * Thesaurus.C:
15397         * Makefile.am:
15398         * commandtags.h:
15399         * LyXAction.C: add thesaurus support
15400
15401         * lyxfind.h:
15402         * lyxfind.C: add "once" parameter, for thesaurus, to not
15403           move to the next match
15404
15405 2001-07-26  Juergen Vigna  <jug@sad.it>
15406
15407         * lyxfont.C (realize): honor ignore_language too!
15408         (resolved): ditto.
15409
15410         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15411
15412         * text.C (draw): one place more for ignore_language to not draw
15413         itself!
15414
15415 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15416
15417         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15418
15419 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15420
15421         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15422         the minipage conversion problem.
15423
15424 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15425
15426         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15427         insert an inset.
15428
15429 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15430
15431         * BufferView.h: don't forward declare WorkArea
15432
15433         * BufferView.C: don't include WorkArea.h
15434
15435 2001-07-25  André Pönitz <poenitz@gmx.net>
15436
15437         * commandtags.h:
15438         * LyXAction.C:
15439         * lyxfunc.C:  new LFUN 'math-space'
15440
15441         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15442
15443 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15444
15445         * text2.C (toggleInset): call open/close
15446
15447 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15448
15449         * lyxfunc.C (dispatch): add debug for the disabled case
15450
15451         * font.C (buttonText): make similar to rectText
15452
15453         * buffer.C (readInset): comment out parsing of insetlist and
15454         insttheorem
15455
15456         * PainterBase.C (rectText): small correction
15457
15458         * BufferView_pimpl.C: comment out insettheorem and insetlist
15459         * LyXAction.C: ditto
15460         * commandtags.h: ditto
15461
15462 2001-07-24  Juergen Vigna  <jug@sad.it>
15463
15464         * text.C (draw): honor the ignore_language.
15465
15466         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15467
15468 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15469
15470         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15471         char inset.
15472
15473 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15474
15475         * lyxtext.h: remove unused (and unimplemented) methods
15476
15477 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15478
15479         * text.C (getVisibleRow): honor background color
15480
15481         * PainterBase.h:
15482         * Painter.h: remove default color argument for fillRectangle
15483
15484         * text.C (backgroundColor): new method
15485
15486 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15487
15488         * text.C (getVisibleRow): adjust
15489
15490         * font.[Ch] (rectText): new method, metrics
15491         (buttonText): new method, metrics
15492
15493         * PainterBase.[hC]: make rectText and buttonText always draw and take
15494         fewer paramteres.
15495
15496 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15497
15498         * ToolbarDefaults.C (read):
15499         * MenuBackend.C (read): allow escaping in all strings
15500
15501         * BufferView_pimpl.C (insertAndEditInset): new method.
15502         (Dispatch): use insertAndEditInset whenever appropriate.
15503
15504         * BufferView_pimpl.C (insertNote): removed
15505
15506         * BufferView_pimpl.C (smartQuote): new method, moved from
15507         BufferView; if an insetquote cannot be inserted, insert a '"'
15508         character instead.
15509
15510         * BufferView2.C: remove insertCorrectQuote();
15511
15512         * lyxfunc.C (getStatus): Add support for all remaingin
15513         inset-insert lfuns.
15514
15515         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15516
15517         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15518         command (necessary to pass " as parameter of self-insert.
15519
15520         * text.C (selectWordWhenUnderCursor):
15521         (selectWord): add word_location parameter
15522         (selectWordWhenUnderCursor): same + remove special code for word
15523         boundary.
15524         (selectNextWord): use kind() to guess type of insetspecialchar,
15525         not latex().
15526
15527         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15528         (insertErtContents): create ert insets as collapsed.
15529         (readInset): better compatibility code for Info inset.
15530
15531 2001-07-20  Juergen Vigna  <jug@sad.it>
15532
15533         * lyxfunc.C (dispatch): use always LyXFind now!
15534
15535         * text2.C (init): add a reinit flag so that the LyXText can be
15536         reinited instead of deleted and reallocated (used in InsetText).
15537
15538         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15539
15540         * text.C: ditto
15541
15542         * text2.C: ditto
15543
15544 2001-07-18  Juergen Vigna  <jug@sad.it>
15545
15546         * text.C (selectNextWord): handle insets inside inset by calling
15547         always the bv->text functions so that we can go up the_locking_inset!
15548
15549         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15550         in strange locations when inside an inset!
15551
15552         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15553         handling to include insets.
15554
15555         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15556
15557 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15558
15559         * LyXAction.C (init):
15560         * commandtags.h:
15561         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15562         LIGATURE_BREAK, since the name is so stupid.
15563
15564 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15565
15566         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15567         InsetInfos.
15568
15569         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15570
15571         * sp_form.[Ch]: remove.
15572
15573         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15574
15575         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15576         InsetInfo.
15577
15578         * src/buffer.C (readInset): ditto.
15579
15580 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15581
15582         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15583         menuSeparator(), endOfSentenceDot(), ldots() and
15584         hyphenationPoint(), which are therefore removed.
15585         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15586
15587         * LyXAction.C (init):
15588         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15589
15590         * paragraph.C (getWord): removed.
15591
15592         * BufferView_pimpl.C (Dispatch): use last word or selection for
15593         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15594
15595         * lyx_main.C (queryUserLyXDir): do not ask before creating
15596         user_dir, except if it has been named explicitely.
15597
15598 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15599
15600         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15601         a document of zero size.
15602
15603 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15604
15605         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15606         approriately in the c-tor and in require().
15607         (getPackages): output the appropriate LaTeX for natbib support.
15608
15609         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15610         variables "use_natbib" and "use_numerical_citations" when reading the
15611         LyX file.
15612         (readInset): read the various natbib cite commands.
15613         (validate): white-space change.
15614
15615         * bufferparams.[Ch]: new variables "bool use_natbib" and
15616         "bool use_numerical_citations".
15617         (writeFile): output them in the LyX file.
15618
15619 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15620
15621         * lyxfunc.C (getStatus): add support for all the inset insertion
15622         commands.
15623
15624         * text2.C (insertInset):
15625         * paragraph.C (insetAllowed):
15626         * BufferView_pimpl.C (insertInset): update to take in account the
15627         renaming of insertInsetAllowed
15628
15629         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15630
15631         * text2.C (getInset): new method. returns inset at cursor position.
15632
15633         * BufferView_pimpl.C (Dispatch): changes because of this.
15634
15635         * LyXAction.C (init): rename open-stuff to inset-toggle.
15636
15637         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15638
15639         * text2.C (toggleInset): renamed from openStuff; use
15640         Inset::open().
15641
15642 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15643
15644         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15645
15646         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15647
15648 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15649
15650         * buffer.C (readLyXformat2): Add filename to the error dialog
15651
15652 2001-07-18  Juergen Vigna  <jug@sad.it>
15653
15654         * tabular.C (GetCellNumber): put an assert here instead of the check!
15655
15656 2001-07-17  Juergen Vigna  <jug@sad.it>
15657
15658         * BufferView_pimpl.C (toggleSelection): adapted too.
15659
15660         * text.C (selectNextWord): adapted for use with insets.
15661         (selectSelectedWord): ditto
15662
15663 2001-07-17  Juergen Vigna  <jug@sad.it>
15664
15665         * sp_spell.C (PSpell): fix initialitation order.
15666
15667 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15668
15669         * paragraph.C: spacing
15670
15671 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15672
15673         * sp_spell.C: repair language selection for pspell
15674
15675 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15676
15677         * lyxfunc.h: change more methods to begin with lower char.
15678
15679 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15680
15681         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15682         for unknown layouts.
15683
15684 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15685
15686         * buffer.C (readLyXformat2): Generate an error dialog if there are
15687         unknown layouts.
15688
15689 2001-07-16  Juergen Vigna  <jug@sad.it>
15690
15691         * sp_spell.C: always compile ISpell part.
15692
15693         * lyxrc.C: added use_pspell entry and it's handling.
15694
15695 2001-07-13  Juergen Vigna  <jug@sad.it>
15696
15697         * sp_spell.C: removed double includes.
15698
15699 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15700
15701         Consistent use of Lsstream.h:
15702         * Lsstream.h: added using std::stringstream for consistencies sake.
15703
15704         * buffer.C: removed using std::stringstream
15705
15706         * lyxfont.C (stateText):
15707         * paragraph.C (asString):
15708         * text.C (selectNextWord, selectSelectedWord):
15709         * text2.C (setCounter):
15710         * vspace.C (asString, asLatexString):
15711         std::ostringstream -> ostringstream.
15712
15713 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15714
15715         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15716         * commandtags.h: add LFUN_HELP_ABOUTLYX
15717         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15718
15719 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15720
15721         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15722         cursorToggle()
15723         * lyx_gui_misc.C: remove spellchecker
15724         * lyxfunc.C: showSpellchecker
15725         * sp_base.h: added
15726         * sp_ispell.h: added
15727         * sp_pspell.h: added
15728         * sp_spell.C: added
15729         * sp_form.[Ch]: removed
15730         * spellchecker.[Ch]: removed
15731
15732 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15733
15734         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15735         is set.
15736         (simpleTeXSpecialChars): Simply print the input character without
15737         any special translation if pass_thru is set.
15738
15739         * layout.h: Added bool pass_thru to layout class for being able to
15740         implement pass through of a paragraph for Literate Programming.
15741
15742         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15743         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15744         * layout.C (Read): add "passthru" to list of layout tags and add
15745         code to set the pass_thru boolean when it is read.
15746
15747 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15748
15749         * trans_decl.h: remove allowed from KmodInfo
15750
15751         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15752         remove allowed code
15753         (Load): adjust
15754
15755         * paragraph_pimpl.C (erase): use boost::prior
15756
15757         * Painter.C (text): use data() instead of c_str() when length is
15758         also provided.
15759         * WorkArea.C (putClipboard): ditto
15760         * font.h (width): ditto
15761
15762         * BufferView2.C: use it-> instead of (*it). for iterators
15763         * texrow.C: ditto
15764         * paragraph_pimpl.C: ditto
15765         * paragraph.C: ditto
15766         * minibuffer.C: ditto
15767         * language.C: ditto
15768         * kbmap.C: ditto
15769         * encoding.C: ditto
15770         * counters.C: ditto
15771         * converter.C: ditto
15772         * chset.C: ditto
15773         * Variables.C: ditto
15774         * TextCache.C: ditto
15775         * MenuBackend.C: ditto
15776         * LyXAction.C: ditto
15777         * LColor.C: ditto
15778         * FloatList.C: ditto
15779         * DepTable.C: ditto
15780         * ColorHandler.C (LyXColorHandler): ditto
15781
15782 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15783
15784         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15785
15786         * text2.C (openStuff): reintroduce this method (which had been
15787         nuked in NEW_INSETS frenzy).
15788
15789         * lyxfunc.C (Dispatch): when an action has not been handled, use
15790         its name in the error message, not its number.
15791
15792         * paragraph.C (inInset): change method name to begin with lowercase.
15793
15794         * undo_funcs.C:
15795         * text2.C: updates because of this.
15796
15797 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15798
15799         * ToolbarDefaults.C (add): add spaces in error message
15800
15801 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15802
15803         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15804         (readLyXformat2): rename return_par to first_par, use lyxlex's
15805         pushToken and remove the manual push handling.
15806         (parseSingleLyXformat2Token): add another ert comp. variable:
15807         in_tabular, rename return_par to first_par. handle newlines better
15808
15809 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15810
15811         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15812
15813 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15814
15815         * text2.C (getParFromID): removed
15816
15817         * buffer.C (getParFromID): new method moved form lyxtext.
15818         * BufferView2.C (insertErrors): adjust
15819         (setCursorFromRow): adjust
15820         * BufferView_pimpl.C (restorePosition): adjust
15821         * lyxfunc.C (Dispatch): adjust
15822         * undo_funcs.C (textUndo): adjust
15823         (textRedo): adjust
15824         (textHandleUndo): adjust
15825         (textHandleUndo): adjust
15826
15827 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15828
15829         * buffer.C: up' the LYX_FORMAT
15830
15831         * lyxfont.h: turn NO_LATEX on as default
15832
15833         * buffer.C (insertErtContents): new methods of tex style compability.
15834         (parseSingleLyXformat2Token): use it several places.
15835         * tabular.C (OldFormatRead): and here
15836
15837 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15838
15839         * text2.C: remove some commented code.
15840         reindent file.
15841
15842         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15843         * trans.C: changes because of the above.
15844
15845 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15846
15847         * text2.C (setCounter): Fix counters bug with bibliography layout.
15848
15849 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15850
15851         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15852         own member functions
15853         (simpleTeXSpecialChars): ditto
15854
15855 2001-07-06  Juergen Vigna  <jug@sad.it>
15856
15857         * a lot of files: changed the access to LyXText::status and the
15858         call of undo-functions.
15859
15860         * undo.[Ch]: added a inset_id to the undo informations.
15861
15862         * undo_funcs.[Ch]: added and moved here all undo functions.
15863
15864         * lyxtext.h: give the status enum a weight, made status_ a private
15865         variable and made accessor functions for it, removed the whole bunch
15866         of undo-functions as they are now in their own file, make some
15867         functions publically available. Added function ownerParagraph with
15868         int parameter.
15869
15870         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15871         made InInset() a const function, added getParFromID() function.
15872
15873         * buffer.[Ch]: added const version for inset_iterator functions,
15874         added getInsetFromID() function.
15875
15876         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15877         changed undo functions for new version.
15878
15879 2001-07-05  Juergen Vigna  <jug@sad.it>
15880
15881         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15882         unknow mechanism does not call the proper constructor but only this
15883         one also if I request the other!?
15884
15885 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15886
15887         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15888
15889         * text2.C (LyXText): use initialization lists.
15890
15891         * lyxtext.h (Selection): initialize set_ and mark_
15892         (init): remove method
15893
15894 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15895
15896         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15897
15898 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15899
15900         * screen.[Ch]: change method names to begin with lowercase
15901
15902         * BufferView_pimpl.C (updateScrollbar): simplify further and
15903         hopefully make it a bit faster.
15904
15905 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15906
15907         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15908         calling directly xforms functions.
15909
15910         * Painter.C (Painter):
15911         * lyx_cb.C (MenuWrite):
15912         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15913         fl_display.
15914
15915         * lyx_gui.C: remove bogus guiruntime extern declaration.
15916
15917 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15918
15919         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15920         in NEW_INSETS
15921         (redoDrawingOfParagraph): ditto
15922         (redoParagraphs): ditto
15923         (cutSelection): don't create a object for CutAndPaste use the
15924         static method directly
15925         (pasteSelection): ditto
15926
15927         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15928         LyXview (+ rename)
15929
15930 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15931
15932         * modifications to some other files because of this.
15933
15934         * Makefile.am (lyx_SOURCES): add XFormsView
15935
15936         * XFormsView.[Ch]: new files
15937
15938         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15939         the main window. Move the gui dependent stuff to XFormsView
15940
15941 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15942
15943         * tabular.C (GetCellInset): update cur_cell also in the row/col
15944         version of this function.
15945
15946         * lyxfunc.C: no need to include figure_form.h here.
15947
15948         * FontLoader.h:
15949         * lyxfunc.h:
15950         * lyxscreen.h:
15951         * text2.C:
15952         * lyxvc.C: no need to include forms.h here.
15953
15954 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15955
15956         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15957
15958         * lyxfunc.C (Dispatch):
15959         * Spacing.C (set):
15960         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15961         constructor argument.
15962
15963 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15964
15965         * paragraph.C (Paragraph): dont't clear, and just set layout.
15966         (makeSameLayout): use params's copy contructor.
15967
15968         * ParagraphParameters.[Ch] (makeSame): delete method
15969
15970 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15971
15972         * Variables.[Ch]: fix indentation, rename set to isSet
15973
15974 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15975
15976         * lyxfunc.C (Dispatch): fix typo
15977
15978 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15979
15980         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15981         upper_bound.
15982
15983         * bufferlist.C: include assert.h for emergencyWrite().
15984
15985 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15986
15987         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15988           give up at last (bug #425202) !
15989
15990 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15991
15992         * lyx_gui_misc.C:
15993         * sp_form.h:
15994         * sp_form.C:
15995         * spellchecker.h:
15996         * spellchecker.C: strip spellchecker options and bring up
15997           preferences tab instead
15998
15999 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16000
16001         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16002         the istringstream constructor
16003
16004 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16005
16006         * paragraph.C (getLayout): fix return value
16007
16008         * paragraph.h: do not declare getLayout as inline.
16009
16010         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16011
16012 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16013
16014         * lyxcursor.h (operator<): new func
16015         (operator>): new func
16016         (operator>=): new func
16017         (operator<=): new func
16018
16019         * text.C (changeCase): use selection.start and selection.end
16020         (changeRegionCase): require from to be <= to. Require par to be a
16021         valid paragraph.
16022
16023         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16024
16025 2001-06-27  Juergen Vigna  <jug@sad.it>
16026
16027         * text.C (cursorLeftOneWord): changed to return the cursor and added
16028         overlay with BufferView * parameter which calls this one.
16029         (getWord): added
16030         (selectWord): use new getWord function.
16031         (changeCase): renamed from changeWordCase as and extended to work
16032         also on selections.
16033
16034         * lyxtext.h: added enum word_location
16035
16036         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16037         changeCase as this operates now also on selections.
16038
16039 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16040
16041         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16042
16043         * many files: send debug output to Debug::INFO instead of
16044         Debug::ANY.
16045
16046         * converter.C (View):
16047         (Convert):
16048         (Move): send debug output to Debug::FILES instead of console.
16049
16050 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16051
16052         * lyxfunc.C (getStatus): use func_status
16053
16054         * func_status.h: new header, describing the results of
16055         LyXFunc::getStatus;
16056
16057         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16058         LFUN_MATH_HALIGN.
16059
16060 2001-06-25  The LyX Project  <jug@sad.it>
16061
16062         * buffer.C (sgmlOpenTag):
16063         (sgmlCloseTag):
16064         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16065
16066 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16067
16068         * text2.C: remove some dead code
16069
16070         * tabular.C (GetCellInset): store the last cell checked (gotten)
16071
16072         * tabular.h: add the helper for the speedup
16073
16074         * lyxtext.h: remove some dead code
16075
16076 2001-06-26  The LyX Project  <Asger>
16077
16078         * paragraph.C: Change export to LaTeX of alignment to
16079         \begin{center} and family for better roundtrip work with reLyX.
16080
16081         * Tune the math drawing a bit.
16082
16083 2001-06-25  The LyX Project  <Asger>
16084
16085         * LColor.C (LColor): New color for math background. New color
16086         for buttons.
16087
16088 2001-06-25  The LyX Project  <jug@sad.it>
16089
16090         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16091
16092         * lyxfunc.C (Open):
16093         * bufferlist.C (newFile): do not restrict to files ending with
16094         .lyx
16095
16096         * BufferView_pimpl.C (MenuInsertLyXFile):
16097
16098 2001-06-24  The LyX Project  <jug@sad.it>
16099
16100         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16101         of compare_no_case
16102
16103 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16104
16105         * lyxtext.h: rename most methods to begin with a small char.
16106         Lots of changes because of this.
16107
16108         * paragraph.C (Paragraph): do not call fitToSize
16109         (erase): call Pimpl::erase
16110         (insertChar): call Pimpl::insertChar
16111         (insertInset): call Pipl::insertInset
16112         (breakParagraph): do not call fitToSize
16113         (breakParagraphConservative): do not call fitToSize
16114         (fitToSize): remove method
16115
16116         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16117
16118 2001-06-24  The LyX Project  <Asger>
16119
16120         * Fix Qt compilation^2
16121
16122 2001-06-24  The LyX Project  <jug@sad.it>
16123
16124         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16125         depthHook(getDepth()-1).
16126
16127         * paragraph.h:
16128         * ParagraphParameters.h:
16129         * ParameterStruct.h: change type of depth to unsigned int ==
16130         depth_type. Many adaptations to other files before of that.
16131
16132 2001-06-24  The LyX Project  <Asger>
16133
16134         * Fix Qt compilation.
16135
16136 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16137
16138         * paragraph.h: renamed several methods to begin with small letter.
16139         several changes to many parts of the code because of this.
16140
16141 2001-06-23  The LyX Project  <jug@sad.it>
16142
16143         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16144         rewritten to discard all double spaces when KeepEmpty is off
16145         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16146         to only handle newlines but not fiddle with spaces and friends.
16147
16148         * lyxfunc.C (MenuNew): when doing 'new from template', use
16149         template_path as default directory
16150
16151 2001-06-23  The LyX Project  <Asger>
16152
16153         * Clean-up of header file includes all over
16154         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16155
16156 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16157
16158         * paragraph.h: renamed from lyxparagraph.h
16159
16160 2001-06-23  Asger  <lyx@violet.home.sad.it>
16161
16162         * Buffer.h: Removed Buffer::resize
16163         * BufferList.h: Removed BufferList::resize
16164         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16165         the document lazily when we change the width, or the font settings.
16166
16167 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16168
16169         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16170
16171 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16172
16173         * buffer.h: remove out of date comment
16174
16175 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16176
16177         * lyxscreen.h:
16178         * screen.C: fix "theoretical" GC leak
16179
16180 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16181
16182         * LaTeX.C (scanAuxFile):
16183         (deplog): remove trailing \r when reading stream (useful under
16184         win32)
16185
16186 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16187
16188         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16189         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16190         and BufferView::theLockingInset(Inset*), so should use them and not
16191         access bv_->text->the_locking_inset directly.
16192
16193         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16194
16195 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16196
16197         * Makefile.am:
16198         * tex-defs.h: remove old unused file
16199
16200 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16201
16202         * BufferView_pimpl.C: fix typo, remove minibuffer message
16203           when buffer has loaded
16204
16205 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16206
16207         * lyxfunc.C (Dispatch): use stringstream
16208         (MenuNew): use stringstream
16209         (Open): use stringstream
16210
16211         * importer.C (Import): use stringstream
16212
16213         * bufferview_funcs.C (CurrentState): use stringstream
16214
16215         * LaTeX.C (run): use stringstream
16216
16217         * BufferView_pimpl.C (savePosition): use stringstream
16218         (restorePosition): use stringstream
16219         (MenuInsertLyXFile): use stringstream
16220
16221 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16222
16223         * BufferView.C:
16224         * Bullet.C:
16225         * ColorHandler.C:
16226         * FontInfo.C:
16227         * FontLoader.C:
16228         * LColor.C:
16229         * LaTeXFeatures.C:
16230         * Painter.C:
16231         * gettext.C:
16232         * lyx_gui_misc.C:
16233         * lyxserver.C:
16234         * vspace.C: removed // -*- C++ -*- as first line.
16235
16236         * lyxfind.h:
16237         * version.h: added // -*- C++ -*- as first line.
16238
16239 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16240
16241         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16242
16243         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16244         of string
16245
16246 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16247
16248         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16249         of floats.
16250
16251 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16252
16253         * gettext.C: include LString.h even when --disable-nls is on.
16254
16255 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16256
16257         * converter.h (Get): changed argument type from int to
16258         FormatList::size_type to avoid unnecessary conversion.
16259
16260         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16261         before using it.
16262
16263 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16264
16265         * gettext.h: include LString.h even when --disable-nls is on.
16266
16267 2001-06-07  Juergen Vigna  <jug@sad.it>
16268
16269         * text.C (BreakAgain): subst spaces with tabs.
16270
16271         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16272         (resizeInsetsLyXText): set force on resizeLyXText.
16273
16274 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16275
16276         * gettext.h (gettext_init):
16277         (locale_init): use a real definition instead of a macro
16278
16279 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16280
16281         * Bufferview_pimpl.C:
16282         * LColor.h:
16283         * LColor.C: further lcolor tidies
16284
16285 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16286
16287         * BufferView_pimpl.C (updateScrollbar): simplify.
16288
16289         * BufferView2.C: don't include insets/insetinfo.h, change
16290         prototype for insertInset and call the Pimpl version. let
16291         updateInset call Pimpl version.
16292
16293         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16294         gotoInset to BufferView::Pimpl
16295
16296 2001-06-01  Juergen Vigna  <jug@sad.it>
16297
16298         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16299         inside a LockingInset (is the update needed at all?).
16300
16301 2001-05-31  Juergen Vigna  <jug@sad.it>
16302
16303         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16304         here not the old one otherwise how should we compare it afterwards
16305         if it's the same!
16306
16307 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16308
16309         * lyxfont.C:
16310         * tabular.C:
16311         * tabular-old.C:
16312         * FontInfo.C: bring C functions into global namespace when
16313         necessary
16314
16315 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16316
16317         * LString.h: make sure config.h has been loaded before LString.h.
16318
16319         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16320         (one for each char read by EatLine!).
16321
16322         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16323         variables.
16324
16325 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16326
16327         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16328         to the same as the par we break from
16329
16330 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16331
16332         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16333
16334         * MenuBackend.C (expand): also create menu entries for wide
16335         versions of the floats.
16336
16337         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16338
16339         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16340
16341         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16342         frontends/Makefile.am
16343
16344         * text2.C: adjust
16345         * text.C: adjust
16346
16347
16348         * tabular.C (getTokenValue): add std::
16349
16350         * tabular-old.C (getTokenValue): add std::
16351         (getTokenValue): ditto
16352         (getTokenValue): ditto
16353
16354         * screen.C (ToggleSelection): adjust
16355
16356         * lyxtext.h: put selection cursors inside a Selection struct.
16357
16358         * lyxfunc.C (moveCursorUpdate): adjust
16359
16360         * lyxfont.C (latexWriteStartChanges): add std::
16361
16362         * lyxfind.C: adjust
16363
16364         * font.h: delete with(char const *, LyXFont const &)
16365
16366         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16367
16368         * FontInfo.C (getFontname): add std::
16369
16370         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16371         (workAreaButtonPress): adjust
16372         (tripleClick): adjust
16373         (update): adjust
16374         (moveCursorUpdate): adjust
16375         (Dispatch): adjust
16376
16377         * BufferView2.C (gotoInset): adjust
16378
16379 2001-05-30  Juergen Vigna  <jug@sad.it>
16380
16381         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16382         to check pspell I add this as default as I now have new pspell
16383         libraries and they seem to use this.
16384
16385 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16386
16387         * text2.C (CutSelection): make the cursor valid before the call to
16388         ClearSelection.
16389
16390 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16391
16392         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16393         relied on 0 terminated strings and other horrors. Bug found due to
16394         the new assert in lyxstring!
16395
16396         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16397         KP_ keys.
16398
16399 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16400
16401         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16402         to latinkeys.bind.
16403
16404         * lyxfunc.C (processKeySym): change method of getting to the
16405         self-insert char.
16406
16407         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16408         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16409         * BufferView_pimpl.[Ch]: here as private methods.
16410
16411 2001-05-28  Juergen Vigna  <jug@sad.it>
16412
16413         * text.C (SetHeightOfRow): added the update() call again as it is
16414         needed to initialize inset dimensions!
16415
16416 2001-05-16  Juergen Vigna  <jug@sad.it>
16417
16418         * text2.C (SetCharFont): Add new function with BufferView * and
16419         bool toggleall parameters for setting insets internal fonts.
16420         (SetFont): Freeze the undo as we may change fonts in Insets and
16421         all this change should be inside only one Undo!
16422
16423         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16424         setting font's in insets as for them we have the SetFont function!
16425
16426 2001-05-15  Juergen Vigna  <jug@sad.it>
16427
16428         * text2.C (ClearSelection): to be sure we REALLY don't have any
16429         selection anymore!
16430
16431         * tabular.C (TeXCellPreamble): fixed the left border problem for
16432         multicolumn cells.
16433
16434 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16435
16436         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16437         dependancy file
16438
16439 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16440
16441         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16442         LFUN_BREAKPARAGRAPH.
16443
16444         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16445         help test to "internal only", similar for LFUN_INSERT_URL
16446
16447         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16448         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16449         auto_region_delete and deadkeys.
16450
16451 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16452
16453         * LColor.h:
16454         * LColor.C: remove some dead entries, tidy a little
16455
16456 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16457
16458         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16459         commented code.
16460         (Dispatch): implement LFUN_ESCAPE
16461
16462         * commandtags.h: add LFUN_ESCAPE
16463
16464         * LyXAction.C (init): add entry for LFUN_ESCAPE
16465
16466         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16467         Remove commented code.
16468         (insertNote): moved here
16469         (open_new_inset): moved here
16470
16471         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16472         BufferView_pimpl
16473
16474 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16475
16476         * kbmap.C (findbinding): clean it up and make it work correctly.
16477
16478         * lyx_main.C (init): do not pass argc and argv as parameters
16479
16480 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16481
16482         * buffer.C: fix path for OS/2 & Win32
16483
16484         * lyx_gui.C:
16485         * lyx_main:
16486         * lyx_main.C: Added os:: class.
16487
16488         * os2_defines.h: update
16489
16490 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16491
16492         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16493         better by trying again with reduced state.
16494
16495 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16496
16497         * lyxrc.C (read): print error about invalid key sequence only when
16498         debugging (because not all latinX keysyms are known to some X
16499         servers)
16500
16501         * kbsequence.C (getiso): add a few std:: qualifiers
16502         (getiso): comment out extra return statement.
16503
16504 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16505
16506         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16507         handling.
16508         (Dispatch): enhance the accent inset a bit. (not perfect)
16509
16510 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16511
16512         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16513
16514 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16515
16516         * bufferlist.C (emergencyWrite): fix assert() call
16517
16518 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16519
16520         * text.C (InsertChar): Added trivial patch to only send the "you
16521         can not do multiple spaces this way" message once during a
16522         session.
16523
16524 2001-05-08  Baruch Even  <baruch@lyx.org>
16525
16526         * Makefile.am: Changed order of libraries to get LyX to link properly
16527         with the gnome frontend.
16528
16529 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16530
16531         * LaTeXFeatures.h: add a std:: qualifier
16532
16533 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16534
16535         * paragraph.C (String): use stringstream
16536
16537 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16538
16539         * paragraph.C (writeFile): remove footflag arg
16540
16541         * buffer.C (makeLaTeXFile): use stringstream
16542         (latexParagraphs): remove footnot gurba
16543
16544         * LaTeXFeatures.C (getPackages): use stringstream
16545         (getMacros): likewise
16546         (getTClassPreamble): likewise
16547         (getFloatDefinitions): new method
16548
16549         * paragraph.C (writeFile): reindent
16550         (Erase): reindent
16551
16552         * WorkArea.h: revert the xpos + etc changes.
16553
16554         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16555
16556         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16557
16558         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16559         (pasteSelection): likewise
16560         * text2.C (CreateUndo): likewise
16561
16562 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16563
16564         * minibuffer.C (peek_event): temporarily reduce the functionality
16565         of the minibuffer (to allow args on lfuns)
16566
16567         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16568         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16569
16570         * buffer.C (readInset): add compability reading of old float
16571         lists, add reading of new style float list.
16572         (readInset): avoid reevaluation of inscmd.getCmdName()
16573         (getLists): reindent
16574
16575         * MenuBackend.C (MenuItem): implement parsing of
16576         md_floatlistinsert and md_floatinsert.
16577         (expand::LastFiles): move initalizaton of iterators out of loop,
16578         avoid reevaluation.
16579         (expand::Documents): introduce typdedef vector<string> Strings,
16580         and use it.
16581         (expand::ExportFormats): introduce typedef vector<Format const *>
16582         Formats, and use it.
16583         (expand): implement FloatListInsert and FloatInsert.
16584
16585         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16586         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16587         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16588
16589         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16590         handling.
16591         (Dispatch::LFUN_FLOAT_LIST): implement
16592
16593 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16594
16595         * LaTeX.C (run): Fix problem with --export code.
16596
16597 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16598
16599         * BufferView.[Ch] (workarea): removed.
16600         (getClipboard) new method; wrapper for workarea()->getClipboard()
16601
16602         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16603         bug.
16604
16605         * WorkArea.h (width, height, xpos, ypos): These methods all
16606         returned the dimensions of the work_area sub-area of WorkArea,
16607         resulting in a position error if the WorkArea were resized. Now
16608         return the dimensions of the entire WorkArea.
16609
16610         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16611
16612 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16613
16614         * LaTeX.C (deplog): correct the syntax of regex reg1
16615
16616 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16617
16618         * undo.C: remove !NEW_INSETS cruft
16619
16620 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16621
16622         * text2.C: remove !NEW_INSETS cruft
16623
16624         * text.C: remove !NEW_INSETS cruft
16625
16626         * tabular.C: remove !NEW_INSETS cruft
16627
16628         * spellchecker.C: remove !NEW_INSETS cruft
16629
16630         * lyxtext.h: remove !NEW_INSETS cruft
16631
16632         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16633
16634         * lyxfunc.C: remove !NEW_INSETS cruft
16635
16636         * lyxfind.C: remove !NEW_INSETS cruft
16637
16638         * lyx_cb.C: remove !NEW_INSETS cruft
16639
16640         * figureForm.C: remove  !NEW_INSETS cruft
16641
16642         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16643
16644         * buffer.[Ch]: remove !NEW_INSETS cruft
16645
16646         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16647
16648         * CutAndPaste.C: remove !NEW_INSETS cruft
16649
16650         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16651
16652         * BufferView2.C: remove !NEW_INSETS cruft
16653
16654         * BufferView.h: remove !NEW_INSETS cruft
16655
16656 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16657
16658         * Lsstream.h: include LString.h before the sstream headers to
16659         fix problem with gcc 2.95.3 and lyxstring
16660
16661 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16662
16663         * lyx_main.C: add using directives when needed for C functions
16664         declared in std:: namespace.
16665
16666 2001-04-27  Juergen Vigna  <jug@sad.it>
16667
16668         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16669         (SetHeightOfRow): comment out the update call should not be needed!
16670
16671 2001-04-13  Juergen Vigna  <jug@sad.it>
16672
16673         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16674         (LyXTabular): tried to minimize operator= operations (and realized
16675         hopfully Lars wish).
16676
16677 2001-04-27  Juergen Vigna  <jug@sad.it>
16678
16679         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16680
16681 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16682
16683         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16684
16685         * buffer.C (readInset): hack to make listof algorithm work
16686
16687         * BufferView_pimpl.C: hack to make listof algorithm work
16688
16689 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16690
16691         * LyXAction.C: removed all !NEW_INSETS cruft
16692         (init): moved lfun_item in method
16693
16694         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16695
16696 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16697
16698         * BufferView2.C (theLockingInset): white space.
16699
16700 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16701
16702         * minibuffer.C: include <iostream>
16703
16704         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16705
16706         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16707
16708         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16709
16710         * text.[Ch] (TransposeChars): new method
16711
16712 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16713
16714         * call message directly through LyXView instead of through LyXFunc
16715         * BufferView2.C: adjust
16716         * BufferView_pimpl.C: adjust
16717         * FontLoader.C: adjust
16718         * buffer.C: adjust
16719         * bufferview_funcs.C: adjust
16720         * converter.C: adjust
16721         * figureForm.C: adjust
16722         * importer.C: adjust
16723         * lyx_cb.C: adjust
16724         * lyx_gui_misc.C: adjust
16725         * lyxfunc.C: adjust
16726         * lyxvc.C: adjust
16727         * text2.C: adjust
16728         + more files in subdirs
16729
16730         * lyxparagraph.h (size): move up int file
16731         (GetLayout): ditto
16732
16733         * adjust all uses of Assert to lyx::Assert.
16734
16735         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16736         lyxfunctional in namespace lyx
16737         * layout.C (hasLayout): ditto
16738         (GetLayout): ditto
16739         (GetLayout): ditto
16740         (delete_layout): ditto
16741         (NumberOfClass): ditto
16742         * converter.C (GetFormat): ditto
16743         (GetNumber): ditto
16744         (Add): ditto
16745         (Delete): ditto
16746         (SetViewer): ditto
16747         * bufferlist.C (getFileNames): ditto
16748         (emergencyWriteAll): ditto
16749         (exists): ditto
16750         (getBuffer): ditto
16751         * MenuBackend.C (hasSubmenu): ditto
16752         (hasMenu): ditto
16753         (getMenu): ditto
16754         * BufferView_pimpl.C (getInsetByCode): ditto
16755
16756 2001-04-18  Juergen Vigna  <jug@sad.it>
16757
16758         * vspace.C (asLatexString): fixed the 100% problem.
16759
16760 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16761
16762         * lyxfunc.C (Dispatch):
16763         * minibuffer.C:
16764         * minibuffer.h: add a few std:: qualifiers
16765
16766 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16767
16768         * minibuffer.[Ch]: reimplement so that commands is initiated and
16769         run from lyxfunc, simplified som handling, and made the completion
16770         and history code for complete. wip.
16771
16772         * lyxfunc.C (processKeySym): call message
16773         (miniDispatch): new temporary method
16774         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16775         (LFUN_MESSAGE): implement
16776         (LFUN_MESSAGE_PUSH): implement
16777         (LFUN_MESSAGE_POP): implement
16778         (initMiniBuffer): the initial/defualt minibuffer message.
16779
16780         * lyxfont.[Ch]: inline some more getters
16781
16782         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16783
16784         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16785
16786         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16787         (AutoSave): use LFUN_MESSAGE
16788         (Reconfigure): ditto
16789
16790         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16791
16792         * figureForm.C: use LFUN_MESSAGE
16793
16794         * converter.C (runLaTeX): use LFUN_MESSAGE
16795
16796         * bufferview_funcs.C: use LFUN_MESSAGE
16797         (Melt): ditto
16798         (changeDepth): ditto
16799
16800         * bufferparams.h: use boost::
16801
16802         * bufferlist.h: inherit privately from noncopyable
16803
16804         * bufferlist.C (loadLyXFile): remove some commented code.
16805
16806         * buffer.C (runChktex): use LFUN_MESSAGE
16807
16808         * ShareContainer.h: inherit privately from noncopyable
16809
16810         * ParagraphParameters.[hC] (depth): inline it.
16811
16812         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16813         methods.
16814         (message): new method
16815         (messagePush): ditto
16816         (messagePop): ditto
16817         (show): init minibuffer
16818         (showState): direct call
16819
16820         * LaTeX.[Ch]: inherit privately from noncopyable
16821         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16822         instead of WriteStatus.
16823
16824         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16825
16826         * BufferView_pimpl.C (buffer): don't init minibuffer
16827         (workAreaButtonPress): use LFUN_MESSAGE
16828         (workAreaButtonRelease): ditto
16829         (savePosition): ditto
16830         (restorePosition): ditto
16831         (MenuInsertLyXFile): ditto
16832         (workAreaExpose): don't init minibuffer
16833         (update): remove commented code, simplify
16834
16835         * BufferView2.C (openStuff): use LFUN_MESSAGE
16836         (toggleFloat): ditto
16837         (menuUndo): ditto
16838         (menuRedo): ditto
16839         (copyEnvironment): ditto
16840         (pasteEnvironment): ditto
16841         (copy): ditto
16842         (cut): ditto
16843         (paste): ditto
16844         (gotoInset): ditto
16845         (updateInset): remove some commented code
16846
16847         * lastfiles.h: inherit privately from noncopyable
16848         * layout.h: ditto
16849         * lyx_gui.h: ditto
16850         * lyx_main.h: ditto
16851         * lyxlex.h: ditto
16852         * lyxlex_pimpl.h: ditto
16853
16854         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16855         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16856         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16857
16858         * LyXAction.h: inherit privately from noncopyable, add methods
16859         func_begin, func_end, returning iterators to the func map.
16860
16861         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16862         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16863         (func_begin): new method
16864         (func_end): new method
16865
16866         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16867         and not)
16868         (copySelection): ditto
16869         (pasteSelection): ditto
16870
16871         * BufferView.C: whitespace change
16872         * BufferView.h: inherit privately from noncopyable
16873
16874 2001-04-16  Allan Rae  <rae@lyx.org>
16875
16876         * tabular-old.C (l_getline):
16877         * spellchecker.C (sc_check_word):
16878         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16879         an unrecognised preprocessor directive.  So ensure they're wrapped.
16880
16881 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16882
16883         * src/exporter.C (Export): Give an error message when path to file
16884         contains spaces.
16885
16886 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16887
16888         * LaTeX.C (deplog): Always check that foundfile exists.
16889
16890 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16891
16892         * lyx_main.h:
16893         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16894
16895 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16896
16897         * tabular.[Ch] (getLabelList): implement new method
16898
16899         * minibuffer.h: comment ouf setTiimer
16900
16901         * minibuffer.C (ExecutingCB): constify res
16902         (peek_event): constify s
16903         (Set): constify ntext
16904         (Init): constify nicename
16905
16906         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16907
16908         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16909         (savePosition): use two params to Minibuffer::Set
16910         (restorePosition): ditto
16911
16912 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16913
16914         * lyx_main.C: include language.h
16915
16916         * Makefile.am (lyx_main.o): add language.h
16917
16918 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16919
16920         * exporter.C:
16921         * paragraph.C:
16922         * screen.C:
16923         * tabular.C:
16924         * CutAndPaste.C: include gettext.h
16925
16926         * lyxfont.h: remove old hack with ON and OFF.
16927
16928         * lyxparagraph.h:
16929         * lyxfont.h: do not include language.h...
16930
16931         * BufferView2.C:
16932         * LaTeXFeatures.C:
16933         * Painter.C:
16934         * bufferview_funcs.C:
16935         * font.C:
16936         * lyxfont.C:
16937         * text.C:
16938         * text2.C:
16939         * trans_mgr.C:
16940         * paragraph.C: ... but do it here instead
16941
16942 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16943
16944         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16945
16946         * tabular.C: small reformat
16947
16948         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16949         NEW_INSETS version
16950         (GetChar): ditto
16951         (BreakParagraph): ditto
16952         (SetOnlyLayout): ditto
16953         (SetLayout): ditto
16954
16955         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16956         with one arg less.
16957
16958         * lastfiles.C: removed most using decl, add std:: where needed
16959
16960         * buffer.C: ws changes
16961
16962         * MenuBackend.C (class compare_format): put into anon namespace
16963         (expand): constify label, names, action, action2
16964         (expand):
16965
16966         * text.C (SingleWidth): constify font
16967         (IsBoundary): constify rtl2
16968         (GetVisibleRow): constify ww
16969
16970         * LaTeX.C (deplog): constify logfile
16971
16972         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16973         start_x, end_x
16974         (workAreaExpose): constify widthChange, heightChange
16975
16976         * lyxrow.C (par): moved
16977         (height): moved
16978         (next): moved
16979         * lyxrow.h: as inlines here
16980
16981         * lyxfont.h (shape): moved from lyxfont.C
16982         (emph): moved from lyxfont.C
16983
16984         * lyxfont.C (LyXFont): use initialization list for all
16985         constructors
16986         (shape): move to lyxfont.h as inline
16987         (emph): move to lyxfont.h as inline
16988
16989
16990 2001-04-04  Juergen Vigna  <jug@sad.it>
16991
16992         * vspace.C: had to include stdio.h for use of sscanf
16993
16994 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16995
16996         * BufferView.h:
16997         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16998         independent of xforms.
16999
17000 2001-04-02  Juergen Vigna  <jug@sad.it>
17001
17002         * spellchecker.C: fixed namespace placing!
17003
17004 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17005
17006         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17007         the LyXParagraph * is 0.
17008
17009 2001-03-29  Juergen Vigna  <jug@sad.it>
17010
17011         * vspace.C: added support for %, c%, p%, l%.
17012         (stringFromUnit): added helper function.
17013         (asLatexString): changed to give right results for the %-values.
17014
17015         * buffer.C: convert the widthp in a width%.
17016
17017 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17018
17019         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17020         figureForm.[Ch].
17021
17022         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17023         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17024
17025         * lyx_cb.[Ch]: see above.
17026
17027         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17028         form1.[Ch].
17029
17030         * form1.[Ch]:
17031         * lyx.[Ch]: replaced by figure_form.[Ch].
17032
17033         * lyx_gui.C:
17034         * lyx_gui_misc.C:
17035         * lyxfunc.C: changed headers associated with above changes.
17036
17037 2001-03-27  Juergen Vigna  <jug@sad.it>
17038
17039         * BufferView_pimpl.C: set the temporary cursor right!
17040
17041 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17042
17043         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17044
17045 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17046
17047         * LString.h: removed "using std::getline"!
17048
17049         * BufferView_pimpl.C (Dispatch): changes due to changes in
17050         InsetInclude::Params.
17051
17052         * buffer.C (tag_name): removed redundant break statements as they were
17053         producing lots of warnings with my compiler.
17054
17055 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17056
17057         * LString.h: add "using std::getline" when using the real <string>.
17058
17059 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17060
17061         * buffer.C: removed bitset usage.
17062         PAR_TAG moved to an anonymous name space.
17063         (tag_name): new funtion, also in the anonymous namespace.
17064         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17065         (makeDocBookFile): clean code. Completed transition from string arrays
17066         to string vectors.
17067         (SimpleDocBookOnePar): code clean.
17068
17069 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17070
17071         * tabular.C: add some comments.
17072
17073 2001-03-22  Juergen Vigna  <jug@sad.it>
17074
17075         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17076         compatibility read a bit and fixed bug with minipage in different
17077         depth.
17078
17079 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17080
17081         * buffer.C (pop_tag): removed.
17082         (push_tag): removed.
17083         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17084         array replaced with vector. Added support for CDATA sections.
17085         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17086         at any nest level.
17087         (makeDocBookFile): XML conformant declaration of CDATA section,
17088         fixed bug related to <emphasis> in the first paragraph char.
17089         (sgmlOpenTag): exclude empty tags.
17090         (sgmlCloseTag): ditto.
17091
17092         * buffer.h (pop_tag): removed.
17093         (push_tag): removed.
17094
17095 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17096
17097         * language.h (Languages): added size_type and size().
17098
17099 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17100
17101         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17102         response on compability reading of minipages. One probliem is that
17103         the old usage of minipages was «flertydig»
17104
17105         * several files here and in subdirs: don't use static at file
17106         scope use anon namespaces instead.
17107
17108 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17109
17110         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17111         LaTeX output. This is necessary for Literate document
17112         processing.
17113
17114 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17115
17116         * buffer.C: insert hfill when needed.
17117
17118         * tabular.C (l_getline): use string::erase, small whitespace change.
17119
17120         * BufferView_pimpl.C: try the anon namespace.
17121         * WorkArea.C: ditto
17122
17123 2001-03-16  Juergen Vigna  <jug@sad.it>
17124
17125         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17126         otherwise it won't open options-dialogs.
17127
17128         * buffer.C: honor pextraWidth(p) on converting minipages.
17129
17130         * tabular.C (l_getline): changed the functions to strip trailing \r.
17131
17132 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17133
17134         * BufferView_pimpl.C:
17135         * minibuffer..C: added "using SigC::slot" declaration.
17136
17137 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17138
17139         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17140
17141         * text2.C: ditto
17142
17143         * text.C: ditto
17144
17145         * paragraph.C: ditto
17146
17147         * lyxtext.h: NO_PEXTRA
17148
17149         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17150
17151         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17152         * ParameterStruct.h: ditto
17153         * ParagraphParameters.h: ditto
17154         * lyxparagraph.h: ditto
17155
17156 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17157
17158         * buffer.C: add compability for minipage alignment.
17159         (latexParagraphs): remove unwanted pextra check.
17160
17161         * several files: remove CXX_WORKING_NAMESPACES
17162
17163         * buffer.C (pop_tag): tie is in namespace boost
17164
17165         * BufferView.h: noncopyable is in namespace boost
17166         * lyxlex.h: ditto
17167         * lyx_main.h: ditto
17168         * lyx_gui.h: ditto
17169         * layout.h: ditto
17170         * lastfiles.h: ditto
17171         * bufferlist.h: ditto
17172         * ShareContainer.h: ditto
17173         * LyXView.h: ditto
17174         * LyXAction.h: ditto
17175         * LaTeX.h: ditto
17176
17177 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17178
17179         * Merging changes from BRANCH_MVC back into HEAD.
17180
17181         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17182
17183 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17184
17185         * BufferView_pimpl.C: change from intl.C
17186
17187         * combox.h:
17188         * combox.C:
17189         * Makefile.am: move combox.*
17190
17191         * form1.h:
17192         * form1.C:
17193         * lyx_gui.C:
17194         * intl.h:
17195         * intl.C: remove dialog (covered by prefs)
17196
17197 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17198
17199         * lyxfunc.C (Dispatch): removed redundant break statement.
17200
17201 2001-03-14  Juergen Vigna  <jug@sad.it>
17202
17203         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17204
17205 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17206
17207         * buffer.C: add hack to fix compability reading of minipages.
17208
17209 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17210
17211         * buffer.C (getLists): Cleanup.
17212
17213 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17214
17215         * lyxfont.C (update): don't honor toggleall on font size.
17216
17217 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17218
17219         * bmtable.c:
17220         * bmtable.h:
17221         * Makefile.am: moved to frontends/xforms/
17222
17223         * lyx_gui_misc.C:
17224         * lyxfunc.C:
17225         * BufferView_pimpl.C: changes for moved mathpanel
17226
17227 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17228
17229         * gettext.h: fix gettext_init() in --disable-nls
17230
17231 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17232
17233         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17234
17235 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17236
17237         * lyx.C:
17238         * lyx.h: strip external form
17239
17240 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17241
17242         * BufferView_pimpl.C: add comment, destroySplash()
17243
17244 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17245
17246         * BufferView_pimpl.C:
17247         * LyXAction.C:
17248         * buffer.C:
17249         * commandtags.h:
17250         * lyxfunc.C: use re-worked insetinclude
17251
17252 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17253
17254         * buffer.C: add using std::stringstream.
17255
17256         * lyx_cb.C: readd using std::ios.
17257
17258         * buffer.C: add using std::map.
17259
17260         * BufferView_pimpl.C: add using std::vector.
17261
17262         * ShareContainer.h: add std:: to swap.
17263
17264         * buffer.h: add some typedefs
17265         * buffer.C (getLists): use them
17266         (getLists): renamed from getTocList.
17267         add a counter for the different float types and use it in the
17268         generated string.
17269         (getLists): use the same counter for the NEW_INSETS and the "non"
17270         NEW_INSETS
17271
17272         * lyx_cb.h: remove unused items, includes, using etc.
17273
17274         * ShareContainer.h: remove some commented code, add more comments
17275         and "documentation".
17276
17277 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17278
17279         * buffer.C (getTocList): make the list also when NEW_INSETS is
17280         defined.
17281
17282         * buffer.h: remove TocType
17283
17284         * buffer.C (getTocList): change to return a map<string,
17285         vector<TocItem> >, implement for dynamic number of list.
17286
17287         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17288         * text2.C (PasteSelection): adjust
17289         * CutAndPaste.C (pasteSelection): adjust
17290
17291         * FloatList.C (FloatList): update from the new_insets branch.
17292         * Floating.[Ch]: ditto
17293         * LaTeXFeatures.C: ditto
17294         * buffer.C: ditto
17295         * lyxlex_pimpl.C: ditto
17296
17297         * paragraph.C (Last): remove when NEW_INSETS is defined.
17298
17299         * other file: changes because of the above.
17300
17301 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17302
17303         * lyxparagraph.h: rename next to next_, previous to previous_,
17304         make them private for NEW_INSETS. Rename Next() to next(),
17305         Previous() to previous().
17306
17307         * other files: changes because of the above.
17308
17309 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17310
17311         * BufferView.h:
17312         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17313         problem.
17314
17315 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17316
17317         * main.C (main): pass lyx_localedir to gettext_init().
17318
17319         * gettext.h: remove locale_init and gettext_init macros
17320
17321         * gettext.C (locale_init): new function
17322         (gettext_init): new function
17323
17324         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17325         setlocale().
17326
17327 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17328
17329         * Moved credits to frontends:
17330         * credits.[Ch]: removed
17331         * credits_form.[Ch]: removed
17332         * lyx_gui_misc.C: remove credits stuff
17333         * Makefile.am:
17334
17335 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17336
17337         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17338
17339         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17340         unneeded destructor.
17341
17342         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17343         a standalone pointer again.
17344
17345         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17346
17347 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17348
17349         * Makefile.am:
17350         * filedlg.h:
17351         * filedlg.C:
17352         * LyXAction.C:
17353         * ToolbarDefaults.C:
17354         * bufferlist.C:
17355         * commandtags.h:
17356         * form1.C:
17357         * form1.h:
17358         * lyx_cb.C:
17359         * lyx_cb.h:
17360         * lyxfunc.h:
17361         * lyxfunc.C:
17362         * BufferView_pimpl.C: use new file dialog in GUII
17363
17364         * lyx_cb.h:
17365         * lyx_cb.C: remove LayoutsCB to Toolbar
17366
17367 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17368
17369         * ShareContainer.h (get): add std:: qualifier
17370
17371 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17372
17373         * ShareContainer.h: define a proper ShareContainer::value_type
17374         type (and use typename to please compaq cxx)
17375
17376 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17377
17378         * lyxparagraph.h: move serveral local vars to
17379         ParameterStruct/ParagraphParameters., use ShareContainer in
17380         FontTable., make vars in FontTable private and add getter and
17381         setter.
17382
17383         * paragraph.C: changes because of the above.
17384
17385         * lyxfont.h: remove copy constructor and copy assignment. (the
17386         default ones is ok), move number inside FontBits. move inlines to
17387         lyxfont.C
17388
17389         * lyxfont.C: add number to initializaton of statics, move several
17390         inlines here. constify several local vars. some whitespace
17391         cleanup. Dont hide outerscope variables.
17392
17393         * Spacing.h: add two new constructors to match the set methods.
17394
17395         * ShareContainer.h: new file, will perhaps be moved to support
17396
17397         * ParameterStruct.h: new file
17398
17399         * ParagraphParameters.h: new file
17400
17401         * ParagraphParameters.C: new file
17402
17403         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17404         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17405
17406         * BufferView_pimpl.C: ParagraphParameter changes.
17407         * buffer.C: Likewise.
17408         * bufferview_funcs.C: Likewise.
17409         * text.C: Likewise.
17410         * text2.C: Likewise.
17411
17412 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17413
17414         * lyxfind.C (LyXReplace): do not redefine default argument in
17415         implementation.
17416         (IsStringInText): ditto
17417         (SearchForward): ditto
17418         (SearchBackward): ditto
17419
17420 2001-03-06  Juergen Vigna  <jug@sad.it>
17421
17422         * lyxfind.C (IsStringInText): put parentes around expressions.
17423
17424 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17425
17426         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17427
17428 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17429
17430         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17431
17432         * stl_string_fwd.h: add comment
17433
17434         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17435
17436         * tabular.h:
17437         * tabular.C: remove unused DocBook methods
17438
17439         * intl.C:
17440         * language.C:
17441         * paragraph.C:
17442         * buffer.C:
17443         killed DO_USE_DEFAULT_LANGUAGE
17444
17445 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17446
17447         * lyx_gui.C: do not include language.h.
17448
17449         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17450         arguments in function implementation.
17451
17452 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17453
17454         * BufferView_pimpl.C: add <ctime>
17455
17456 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17457
17458         * BufferView_pimpl.C: add using std::find_if
17459
17460 2001-02-27  José Matos  <jamatos@fep.up.pt>
17461
17462         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17463         by OnlyPath.
17464
17465 2001-02-11  José Matos  <jamatos@fep.up.pt>
17466
17467         * buffer.C (makeDocBookFile): command styles now have a parameter as
17468         "title" by default.
17469
17470 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17471
17472         * layout_forms.[Ch]: removed
17473         * lyx_cb.[Ch]: out character
17474         * lyx_gui.C: out character
17475         * lyx_gui_misc.C: out character
17476         * bufferview_funcs.C: : out character,
17477         added toggleall as parameter in ToggleAndShow
17478
17479 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17480
17481         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17482
17483         * text2.C (SetCurrentFont): Disable number property at boundary.
17484
17485 2001-02-26  Juergen Vigna  <jug@sad.it>
17486
17487         * lyxfunc.C (getStatus): added a string argument override function so
17488         that this is correctly called from LyXFunc::Dispatch if it contains a
17489         do_not_use_argument which is used!
17490         (Dispatch): added check for "custom" export and call appropriate func.
17491
17492 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17493
17494         * lyxrc.C: Add language_command_local, language_use_babel and
17495         language_global_options.
17496
17497         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17498
17499         * buffer.C (makeLaTeXFile): Use language_use_babel and
17500         language_global_options.
17501
17502 2001-02-23  Juergen Vigna  <jug@sad.it>
17503
17504         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17505         which works with LyXText and putted it inside BufferView. Here now we
17506         only call for that part the BufferView::Dispatch() function.
17507
17508         * BufferView.C (Dispatch): added.
17509
17510         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17511         functions which needs to use a LyXText over from LyXFunc.
17512         (MenuInsertLyXFile): added
17513         (getInsetByCode): added
17514         (moveCursorUpdate): added
17515         (static TEXT): added
17516
17517 2001-02-22  Juergen Vigna  <jug@sad.it>
17518
17519         * BufferView_pimpl.C (update): call a status update to see if LyXText
17520         needs it.
17521
17522 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17523
17524         * vc-backend.C (revert): implement for CVS
17525         (getLog): implement for CVS
17526
17527 2001-02-20  Juergen Vigna  <jug@sad.it>
17528
17529         * text2.C (ClearSelection): added BufferView param for inset_owner call
17530
17531         * lyxfunc.C (TEXT): added this function and use it instead of
17532         directly owner->view()-text of getLyXText().
17533
17534 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17535
17536         * src/layout_forms.C: out preamble
17537         * src/layout_forms.h: out preamble
17538         * src/lyx_cb.C: out preamble
17539         * src/lyx_cb.h: out preamble
17540         * src/lyx_gui.C: out preamble
17541         * src/lyx_gui_misc.C: out preamble
17542         * src/lyxfunc.C: connect with guii preamble
17543
17544 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17545
17546         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17547
17548 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17549
17550         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17551         whether to run bibtex.
17552
17553 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17554
17555         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17556
17557 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17558
17559         * Makefile.am (lyx_SOURCES): removed bibforms.h
17560
17561         * vspace.h: doxygen
17562
17563         * text.C (GetVisibleRow): make several local vars const
17564
17565         * tabular.C: small cleanup.
17566
17567         * lyxserver.C (callback): use compare instead of strncmp
17568
17569         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17570         inlines to after class or to paragraph.C
17571
17572         * lyxfont.h: remove friend operator!=
17573
17574         * converter.h: move friend bool operator< to non friend and after
17575         class def.
17576
17577         * combox.h: small cleanup
17578
17579         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17580         to inlines after class def.
17581
17582         * buffer.C (pop_tag): use string operations instead of strcmp
17583
17584         * bmtable.c: doxygen, small cleanup
17585
17586         * LaTeX.h: remove friend operator==
17587
17588 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17589
17590         * screen.C:
17591         * lyxrc.[Ch]:
17592         * lyxfunc.C:
17593         * lyxfont.[Ch]:
17594         * lyx_cb.C:
17595         * intl.[Ch]:
17596         * commandtags.h:
17597         * buffer.C:
17598         * WorkArea.[Ch]:
17599         * LyXAction.C:
17600         * BufferView_pimpl.C:
17601         * BufferView.[Ch]: remove cruft
17602
17603 2001-02-14  Juergen Vigna  <jug@sad.it>
17604
17605         * lyxfunc.C: removed #if 0 unused code
17606
17607         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17608
17609         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17610
17611         * text2.C (SetSelection): added a BufferView * parameter
17612
17613 2001-02-13  Juergen Vigna  <jug@sad.it>
17614
17615         * lyxfunc.C (Dispatch): fixed protected blank problem.
17616         * BufferView2.C (protectedBlank): added LyxText * parameter.
17617
17618         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17619         (AppendColumn): same as above for column_info.
17620
17621         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17622         (moveCursorUpdate): use a LyXText param for support of InsetText.
17623
17624         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17625         (tripleClick): ditto
17626
17627         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17628
17629         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17630
17631         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17632
17633         * text2.C (SetSelection): set correct update status if inset_owner
17634         (ToggleFree): ditto
17635
17636 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17637
17638         * tabular.C: remove some commented code.
17639
17640 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17641
17642         * BufferView_pimpl.C: call hideSplash()
17643
17644         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17645
17646         * include_form.h:
17647         * bibforms.h: remove
17648
17649         * lyxfunc.C:
17650         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17651           add LFUN_CHILD_CREATE
17652
17653         * counters.h: fix tiny typo
17654
17655         * lyx_cb.C:
17656         * lyx.h:
17657         * lyx_gui.C:
17658         * lyx.C: move splash to frontends/xforms/
17659
17660         * lyx_gui_misc.C: move Include and Bibform to frontends
17661
17662         * lyxvc.h: clarify comment
17663
17664         * vspace.C: tiny housekeeping
17665
17666 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17667
17668         * text.C (PrepareToPrint): RTL Fix.
17669
17670         * paragraph.C (GetUChar): New method.
17671         (String):  Use GetUChar.
17672
17673         * buffer.C (asciiParagraph): Use GetUChar.
17674
17675 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17676
17677         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17678
17679 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17680
17681         * buffer.h:
17682         * buffer.C: rename to getLogName(), handle
17683           build log / latex log nicely
17684
17685 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17686
17687         * MenuBackend.C:
17688         * MenuBackend.h: remove support for reference menuitem type.
17689
17690 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17691
17692         * BufferView_pimpl.C: housekeeping
17693         * BufferView_pimpl.h:
17694         * LyXView.h:
17695         * Makefile.am:
17696         * Timeout.C:
17697         * Timeout.h:
17698         * minibuffer.h: move Timeout GUI-I
17699
17700 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17701
17702         * lyxrc.C (read): Update converters data-structures.
17703
17704 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17705
17706         * LaTeX.h (operator!=): add operator != for Aux_Info
17707
17708 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17709
17710         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17711
17712         * LaTeXLog.C: deleted, useful code moved to Buffer
17713
17714         * buffer.h:
17715         * buffer.C: new function getLatexLogName()
17716
17717         * lyx_gui_misc.C:
17718         * lyx_gui.C:
17719         * lyxvc.C:
17720         * lyxvc.h:
17721         * lyxfunc.C: use frontends for LaTeX and VC logs
17722
17723 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17724
17725         * LaTeX.h: yet another std:: that Allan forgot.
17726
17727         * Variables.C (set): renamed from isset(), because this clashes
17728         with some HP-UX macros (grr).
17729
17730 2001-02-06  Allan Rae  <rae@lyx.org>
17731
17732         * LaTeX.h: Another bug fix.  Missing std:: this time.
17733
17734 2001-02-04  Allan Rae  <rae@lyx.org>
17735
17736         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17737         floats problem. I've left it commented out because it's not quite
17738         correct.  It should also test that the current object is a table or
17739         figure inset.  But I haven't gotten around to figuring out how to do
17740         that.  I *think* it'll be something like: "table" == inset.type()
17741
17742         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17743         bool.
17744
17745 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17746
17747         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17748         all the citation/databases/styles in the auxilary file.
17749         (run): Rerun latex if there was a babel language error.
17750
17751 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17752
17753         * text.C (Backspace): Preserve the font when changing newline char
17754         with a space.
17755         (BreakParagraph): If the cursor is before a space, delete the space.
17756
17757         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17758
17759 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17760
17761         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17762         new argument (code).
17763         (ChangeCitationsIfUnique): New method.
17764
17765         * paragraph.C (GetPositionOfInset): Handle bibkey.
17766
17767 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17768
17769         * BufferView_pimpl.h: change type of Position::par_pos to
17770         LyXParagraph::size_type.
17771
17772 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17773
17774         * BufferView_pimpl.C (savePosition, restorePosition): Write
17775         messages to minibuffer.
17776
17777 2001-01-28  José Matos  <jamatos@fep.up.pt>
17778
17779         * buffer.C (makeDocBookFile): adds support for document language.
17780         A silly restriction on the name of LatexCommand types where removed.
17781         Added support for CDATA sections, allows to chars unescaped, used
17782         among others in code, to avoid escape < and >.
17783
17784 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17785
17786         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17787         saved positions instrad of a stack. Furthermore, a position is
17788         stored using paragraph id/paragraph position.
17789
17790         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17791         Remove LFUN_REF_BACK.
17792
17793 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17794
17795         * converter.C (dvipdfm_options): New method.
17796
17797 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17798
17799         * vspace.C (isValidLength): Fix for empty input string.
17800
17801 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17802
17803         * LyXAction.C (init): change description of LFUN_FIGURE to
17804         "Insert Graphics"
17805
17806 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17807
17808         * LaTeX.C: add using directive
17809
17810 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17811
17812         * MenuBackend.C (expand): Fix the sorting of the formats.
17813
17814 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17815
17816         * lyx_main.C: tiny error message fix
17817
17818 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17819
17820         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17821         calling fl_initialize(). This fixes the problem with ',' as
17822         decimal separator in text files.
17823
17824 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17825
17826         * trans.C (process): Fix the keymap bug.
17827
17828 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17829
17830         * LaTeX.C (scanAuxFiles): New method. Provides support for
17831         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17832         (scanLogFile) Scan for "run BibTeX" messages.
17833
17834         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17835         OT1 font encoding. Also, load the aecompl package if the ae
17836         package is loaded.
17837
17838         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17839
17840 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17841
17842         * texrow.C (increasePos): turn two error messages into debug
17843         messages.
17844
17845 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17846
17847         * LaTeX.C (scanAux): Handle the \@input macro.
17848         (runBibTeX): Use scanAux().
17849
17850         * language.C (latex_options_): New field.
17851
17852         * LaTeXFeatures.C (getMacros): Add language macros.
17853
17854         * buffer.C (makeLaTeXFile): Small fix.
17855
17856 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17857
17858         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17859
17860         * text2.C: add a using directive.
17861
17862 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17863
17864         * BufferView2.C:
17865         * lyx_gui_misc.h:
17866         * lyxfr1.C:
17867         * lyxfunc.C: kill LyXBell.
17868
17869 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17870
17871         * text.C (IsBoundary): Remove the error message
17872
17873         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17874
17875         * lyxrc.C (setDefaults): Correct initialization value for
17876         font_norm_type.
17877
17878 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17879
17880         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17881         gotoError().
17882
17883         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17884         and GotoNextNote().
17885
17886         * src/LyXAction.C: Added reference-next.
17887
17888         * text.C (InsertChar): Use contains instead of strchr.
17889
17890         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17891
17892 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17893
17894         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17895         alignment commands (when needed).
17896
17897         * text.C (InsertChar): Add ':' to number separator chars.