]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
dd1793e37d01e4eda565bb246b9541279eb2b7d0
[lyx.git] / src / ChangeLog
1 2005-07-15  Juergen Vigna <jug@lyx.org>
2
3         * lyxfunc.C (dispatch): save and restore the cursor after a
4         textclass switch.
5
6 2005-07-15    <lgb@tandberg.net>
7
8         * text.C (backspace): bug 806 for empty keepempty paragraphs we
9         change the layout to default before letting DEPM do its thing.
10
11         * paragraph_funcs.C (breakParagraph): dont reset the layout on
12         keepEmpty paragraphs
13
14         * text.C (setCursorFromCoordinates): add a debug statement
15
16         * text2.C (getColumnNearX): bug 1825 make sure that we don't
17         return a pos that is not on the row
18
19         * output_latex.C (TeXDeeper): get rid of potential dereferencing
20         of past the end iterator
21
22 2005-07-14  André Pönitz  <poenitz@gmx.net>
23
24         * undo.C (recordUndoFullBuffer): implement undo for
25   textclass switches
26
27 2005-07-14  André Pönitz  <poenitz@gmx.net>
28
29         * cursor.C (setSelection): open insets when selection is set there
30   to avoid crashs with cold coord cache
31
32 2005-07-14  André Pönitz  <poenitz@gmx.net>
33
34         * trans_mgr.C (insert): move cursor to the right after inserting
35   a char.
36
37 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
38
39         * BufferView_pimpl.C (update): dampen some of the debug blabbering
40         * factory.C (readInset): ditto
41         * text.C, text2.C: ditto
42
43 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
44
45         * buffer.C: format incremented to 242. There is no file format per
46         se, but the "frenchb" language has been removed from lib/language
47         and has to be translated to "french" by lyx2lyx.
48
49 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
50
51         * cursor_slice.h, dociterator.h: add some documentation
52         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
53
54 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
55
56         * text.C (leftMargin): do not add identation to display() style
57         insets, because they are always centered (bug 1293).
58
59 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
60
61         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
62         formatted_time methods in support/lyxtime.
63
64 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
65
66         * toc.[Ch]: new method getGuiName, which is used by the frontends 
67         to set the toc combo (fixes bug 1870). Make TOC string translatable.
68
69 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
70
71         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
72         StableDocIterator const &)
73         * undo.C (recordUndo): use the above instead of cell.size() comparison
74         (fixes bug 1808; instructed by André).
75
76 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
77
78         * cursor_slice.h: 
79         * dociterator.h: Fix the assert when copying rows/cols in math
80
81 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
82
83         * BufferView_pimpl.C:
84         * LyXAction.C:
85         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
86
87         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
88         (findInset): new functions, refactored from goto Inset that return 
89         the position of a certain inset without setting the buffer's cursor
90         (by Jean-Marc); 
91         (gotoInset): rewrite to call findInset and then set the cursor
92         (by Jean-Marc).
93
94 2005-06-16  Angus Leeming  <leeming@lyx.org>
95
96         * lyxrc.C (output, read): wrap all input and output of paths with
97         calls to os::internal_path and os::external_path, respectively.
98         (output): wrap bind_file inside quotes.
99
100         * format.C (view): enable the viewer to use the '$$s' placeholder.
101
102 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
103
104         * LColor.[Ch] (getFromLaTeXName): new
105
106 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
107
108         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
109
110 2005-06-14  Angus Leeming  <leeming@lyx.org>
111
112         * lyx_main.C (init): ensure that the LyX binary dir is the first
113         element in the PATH on non-POSIX builds.
114
115 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
116
117         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
118
119 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
120
121         * rowpainter.C (paintInset, paintHebrewComposeChar)
122         (paintArabicComposeChar, paintChars): add a LyXFont argument.
123         (paintChars): use getFontSpan to reduce calls to getFont to a
124         minimum; use Paragraph::lookupChange instead of isXXXText.
125         (paintForeignMark): rename LyXFont argument.
126         (paintFromPos): pass a LyXFont object to the various paintXXX
127         methods.
128
129         * FontIterator.C (FontIterator, operator++): use
130         Paragraph::getFontSpan
131
132         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
133         version that returns the font span as a pair.
134
135 2005-06-09  Angus Leeming  <leeming@lyx.org>
136
137         * converter.C (convert): Don't forget "outfile = real_outfile" as
138         the final step in a conversion where the input and output file names
139         are the same. Otherwise, future conversion steps won't work...
140
141 2005-06-09  Angus Leeming  <leeming@lyx.org>
142
143         * lyxsocket.C: remove stub code as it isn't needed by
144         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
145
146 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
147
148         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
149         effectively disabled -x
150
151 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
152
153         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
154         when it actually makes sense.
155
156 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
157
158         * BufferView_pimpl.C: revert to showCursor in connection with
159         Lars's front-end stack
160
161 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
162
163         * text.C (redoParagraph): move cursor right after a bibitem
164         has been inserted.
165
166         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
167
168 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
169
170         * buffer_funcs.C (bufferErrors): fix computation of the end of an
171         error range.
172
173 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
174
175         * BufferView.[Ch] (update):
176         * BufferView_pimpl.[Ch] (update, metrics):
177         * dimension.h (operator==):
178         * lyxfunc.C (dispatch):
179         * metricsinfo.h (ViewMetricsInfo):
180         * rowpainter.C (paintText):
181         * lyxtext.h:
182         * text.C (redoParagraph):
183         * text3.C (dispatch): Make LyX only repaint current paragraph in
184         case of character insert --> speedup. Also fix cursor draw
185         artifacts
186
187 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
188
189         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
190         avoid a crash (bug 1891)
191
192 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
193
194         Fix bug 1892:
195
196         * text2.C (getStringToIndex): constify cur argument.
197
198         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
199         argument has been given
200         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
201         try to invoke LFUN_INSET_APPLY).
202
203         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
204         if no inset was created by doInsertInset
205         (doInsertInset): return true if an inset has been inserted.
206
207 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
208
209         * vspace.C (asGUIName): new method. A version of the space
210         suitable for showing on screen.
211
212 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
213
214         * MenuBackend.C:
215         * lyxrc.C: rename "ASCII" to "Plain Text"
216
217 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
218
219         * buffer_funcs.C (expandLabel): take a Buffer as argument;
220         translate the labelstring.
221         (setCounter): translate labelstring as needed.
222
223         * output_docbook.C (makeCommand): fix expandLabel invokation
224
225 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
226
227         * BufferView.C: fix dialog title
228
229 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
230
231         * lyx_main.C (priv_exec): fix logic error with help from Angus
232         * lyx_main.C (parse_execute): set is_gui = false and remove now
233         obsolete comment about a segfault
234
235 2005-05-18  Angus Leeming  <leeming@lyx.org>
236
237         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
238
239 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
240
241         * tabular.[hC]: added setCellInset to fix tabular paste.
242
243 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
244
245         * buffer.C (save): check if destination is writable before trying
246         to copy a file
247
248 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
249
250         * BufferView_pimpl.C (update): fix processEvents -caused update
251         recursion bug
252
253 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
254
255         * buffer_funcs.C (setCounter): fix test for numbering of
256         environments.
257
258         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
259         depth correctly; use optional argument when it exists
260
261         * lyxtextclass.C: remove unused MaxCounterTags enum
262         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
263         (max_toclevel, min_toclevel): new methods.
264
265         * MenuBackend.C (expandToc2): fix case where depth is smaller than
266         the smallest depth in toc.
267
268         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
269         layouts that should not appear in a table of contents.
270
271 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
272
273         * cursor.h (undispatched, noUpdate): add comments from André
274
275 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
276
277         * lfuns.h:
278         * LyXAction.C:
279         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
280
281 2005-05-07  André Pönitz  <poenitz@gmx.net>
282
283         * cursor.[Ch] (leaveInset): new function
284
285 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
286
287         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
288
289 2005-05-04  Angus Leeming  <leeming@lyx.org>
290
291         * lyxfunc.C (getStatus): disable the spell checker dialog if
292         none of USE_[AIP]SPELL are defined.
293
294 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
295
296         * tabular.C (setWidthOfCell): remove obsolete comment
297
298 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
299
300         * paragraph.C (bibitem):
301         * buffer_funcs.C (setCounter):
302         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
303
304 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
305
306         * text3.C (getStatus): immediately return after setOnOff
307
308         * rowpainter.C: fix drawing of appendix start
309
310 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
311
312         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
313         SwitchBetweenClasses and remove the unused return value.
314         Handle character styles, too
315
316 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
317
318         * factory.C (createInset): handle undefined character styles
319
320 2005-05-02  Angus Leeming  <leeming@lyx.org>
321
322         * buffer.C: protect the #include of utime.h with a preprocessor
323         guard.
324
325 2005-05-02  Angus Leeming  <leeming@lyx.org>
326
327         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
328         function so that auto-saving works, albeit in a blocking manner.
329
330         * Makefile.am: make compilation of the client sub directory, of
331         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
332         on conditionals set at configure time.
333
334         * SpellBase.[Ch]: no longer an abstract base class. Instead,
335         it can be compiled in its own right but has no-op functionality.
336
337         * aspell.C, pspell.C: remove preprocessor guards. The files should
338         be compiled only if the necessary functionality exists.
339
340         * lyxserver.C, lyxsocket.C: disable on Windows.
341
342 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
343
344         * text.C (leftMargin): Fix the parindent use bug (1764)
345         by dirty trick
346
347 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
348
349         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
350         argument.
351
352 2005-04-25  Angus Leeming  <leeming@lyx.org>
353
354         * Bidi.[Ch]:
355         * coordcache.[Ch]:
356         * ispell.C:
357         * lyxserver.C:
358         * mover.C:
359         * pch.h:
360         include <config.h> in .C files, not .h ones.
361         add licence blurb.
362         protect headers inside preprocessor guards.
363
364 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
365
366         * FuncStatus.h (StatusCodes): document
367
368 2005-04-21  André Pönitz  <poenitz@gmx.net>
369
370         * FuncStatus.h (enabled, onoff): document
371
372 2005-04-19  Angus Leeming  <leeming@lyx.org>
373
374         * BufferView_pimpl.C (cursorToggle): no longer test whether
375         any child processes have been reaped before calling
376         handleCompletedProcesses().
377
378 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
379
380         * text3.C (dispatch): fix, finally fix, the language problem in
381         new lyxtexts, without disabling on-the-fly font changes (Helge's
382         bug report)
383
384 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
385
386         * text3.C (dispatch): set cursor on double/triple click events
387         (bug 1811)
388
389 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
390
391         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
392         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
393
394         * rowpainter.C (paintFirst): simplify the code a little bit. In
395         particular, remove the test for secnumdepth.
396         * text.C (setHeightOfRow): only allocate space for chapter number
397         when updateCounters provided an actual label, instead of looking
398         at secnumdepth directly.
399
400         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
401
402         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
403         paragraphs when secnumdepth is large enough or, for environments,
404         when they are not the first in a sequence.
405
406 2005-04-17  Angus Leeming  <leeming@lyx.org>
407
408         * buffer.C (makeLaTeXFile): replace code to manipulate a path
409         containing space and '~' characters with a call to latex_path().
410
411 2005-04-17  Angus Leeming  <leeming@lyx.org>
412
413         * converter.C (convert): protect all args of convertDefault.sh
414         script with quotes.
415
416 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
417
418         * text3.C (dispatch): change the layout to "Caption" after inserting
419         a float.
420
421 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
422
423         * text3.C (dispatch): fix language problem in newly created
424         textinsets (and main text) in non-english docs
425
426 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
427
428         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
429         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
430         * text3.C (getStatus): disable LFUN_INSET_MODIFY
431
432 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
433
434         * lyxtext.h:
435         * text.C (metrics):
436         * text2.C (getFont):
437         * rowpainter.C (getFont): Fix metrics bug introduced by inset
438         fonts fix
439
440 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
441
442         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
443         output of \item arguments without trailing text.
444
445 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
446
447         * FontIterator.C (operator*): avoid a copy of the font.
448
449 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
450
451         * rowpainter.C (getFont): fix language bug from previous fix
452
453 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
454
455         * rowpainter.C (RowPainter, getFont): fix font inside inset
456         (bugs 1766, 1809)
457
458 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
459
460         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
461         preventing inserted font, deco, delim insets jumping to start of
462         surrounding inset.
463
464 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
465
466         * lyxfunc.C (dispatch): translate message before sending it to the
467         minibuffer.
468
469 2005-03-29  Angus Leeming  <leeming@lyx.org>
470
471         * lyx_main.C (priv_exec): call os::internal_path on each file passed
472         to LyX on the command line.
473
474 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
475
476         * vc-backend.C: use QuoteName to protect file names wherever
477         necessary.
478
479 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
480
481         * buffer.[Ch]:
482         * BranchList.h: fix bugs 1844,1845: document settings don't
483         stick
484
485 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
486
487         * lyxrc.C (setDefaults, read, output, getDescription): add support
488         for tex_allows_spaces.
489
490         * exporter.C (Export): allows files in directory containing spaces
491         if tex_allows_spaces is true.
492
493         * buffer.C (makeLaTeXFile): if the document path contains spaces,
494         output it in double quotes.
495
496 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
497
498         * rowpainter.C: use default text height for drawing change tracker
499         strikeout lines.
500
501 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
502
503         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
504
505 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
508         directory is missing.
509
510 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
511
512         * text2.C: fixed the fix, extended to other case.
513
514 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
515
516         * text2.C: fix for cursor up/down stuck in math [bug 1792]
517
518 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
519
520         * text2.C (cursorUp): get rid of a crash
521         * text.C (x2pos): add an assert
522
523 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
524
525         * lyxfunc.C (getStatus): fix warning when assertions are disabled
526
527         * text3.C:
528         * lyxfunc.C:
529         * dociterator.C: include <boost/current_function.hpp>, which is
530         needed when assertions are disabled.
531
532 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
533
534         * text2.C: fix for stuck cursor when traversing two
535         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
536
537 2005-02-25  Andreas Vox  <avox@arcor.de>
538
539         * output_docbook.C (makeParagraph): suppress trailing newline
540         after a run of paragraphs
541
542 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
543
544         * paragraph.C: fix for confused change tracker when pasting
545         text that begins with a lineseparator. [bug 1827]
546         (setChange(0, Change::INSERTED);)
547
548         * paragraph_funcs.C: fix for lost changes on triple-paste
549         in change tracking mode [bug 1827] (par.setChange()).
550
551 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
552
553         * text2.C (updateCounters, setCounter, expandLabel): move to
554         buffer_funcs.
555
556         * buffer_funcs.C (updateCounters): turn into a free standing
557         function and add a buffer parameter. Remove dead code for tracking
558         labelstring change.
559         (setCounter): change into a free-standing function which gets a
560         dociterator as argument. Use this iterator to fix captions in a
561         simple way. When no float is found above the caption, use the
562         labelstring of the caption layout as default.
563
564         * text.C (breakParagraph, backspace):
565         * text2.C (init, setLayout, changeDepth):
566         * text3.C (dispatch):
567         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
568         updateCounters.
569
570         * dociterator.C (forwardPar): make it much faster by calling
571         forwardPos() only when really necessary.
572
573         * output_docbook.C (makeCommand): adapt to expandLabel move.
574
575         * cursor.C: remove unused variable
576
577 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
578
579         * paragraph_funcs.C: fix crash when pasting insets in change
580         tracking mode [bug 1277] (honour change type in moveItem).
581
582 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
583
584         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
585
586 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
587
588         * BufferView.C (setCursor): change to use a DocIterator.
589         (gotoLabel): use BufferView::setCursor (other part of bug 781).
590         (putSelectionAt): adapt to BufferView::setCursor change.
591
592         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
593         moved here from LyXText and rewritten to use proper cursor
594         methods. Fixes bug 1787, 616 and 835.
595
596         * BufferView_pimpl.C (restorePosition): set the cursor correctly
597         when inside an inset (part of bug 781).
598         (dispatch): adapt to change of BufferView::setCursor.
599         (getStatus, dispatch): handle LFUN_GOTOERROR,
600         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
601
602         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
603         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
604         * text3.C (gotoNextInset, gotoInset): removed.
605
606 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
607
608         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
609
610 2005-02-15  Angus Leeming  <leeming@lyx.org>
611
612         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
613         can be used meaningfully in a comparison.
614
615 2005-02-13  André Pönitz  <poenitz@gmx.net>
616
617         * bufferview_funcs.C (coordOffset): improve cursor drawing
618
619 2005-02-13  André Pönitz  <poenitz@gmx.net>
620
621         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
622         * Cursor.C (dispatch): use fixIfBroken
623         * lyxfunc.C (getStatus): use fixIfBroken
624
625 2005-02-15  Angus Leeming  <leeming@lyx.org>
626
627         * lyx_main.C (error_handler):
628         * lyxfunc.C:
629         * lyxrc.C (setDefaults):
630         s/GetEnv/getEnv/.
631         #include "environment.h".
632
633         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
634
635 2005-02-15  Angus Leeming  <leeming@lyx.org>
636
637         * lyxserver.C (startPipe): squash MSVC warning "local variable
638         'fd' used without having been initialized".
639
640 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
641
642         * BufferView_pimpl.C: revert accidental commit.
643
644 2005-02-14  André Pönitz  <poenitz@gmx.net>
645
646         * dociterator.[Ch]: new member forwardPosNoDescent(),
647         which doesn't enter nested insets.
648         * text2.C (setFont): use forwardPosNoDescent() instead
649         of ForwardPos() (fixes crash on font change).
650
651 2005-02-13  Angus Leeming  <leeming@lyx.org>
652
653         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
654         only if lyxrc.path_prefix is not empty.
655
656 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
657
658         * bufferparams.C (readGraphicsDriver): prevent crash
659
660 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
661
662         * text2.C (setCounter): check for inInset() == 0
663
664 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
665
666         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
667         but use update() to get correct screen display; use convert
668         instead of istringstream.
669         (getStatus): handle LFUN_GOTO_PARAGRAPH
670
671         * lyxfunc.C (dispatch, getStatus): do not handle
672         LFUN_GOTO_PARAGRAPH here.
673
674 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
675
676         * text3.C (dispatch): size() -> depth()
677
678         * text2.C: remove some debug output
679
680         * paragraph.C: ws changes only
681
682         * lyxfunc.C (getStatus): size() -> depth()
683
684         * dociterator.h (clear, push_back, pop_back, internalData,
685         operator[], resize, empty): new functions
686         Make StableDocIterator and operator== be friends. Don't inherit
687         from std::vector use a privat class variable slices_ instead.
688         Modify to fit.
689
690         * dociterator.C: update because of not inheriting from std::vector
691         anymore. Call explictly to slices_ instead. Use depth() instead of
692         size() and top() instead of back()
693
694         * cursor.C: chagne size() -> depth and back() -> top(). Also
695         remove some direct operator[](i) calls in favour of foo[i]
696         (getFont): remove some dead code
697
698         * bufferview_funcs.C (coordOffset): size() -> depth()
699
700         * buffer.C: ws changes only
701
702         * CutAndPaste.C (eraseSelection): back() -> top()
703
704         * BufferView_pimpl.C (selectionRequested): back() -> top()
705
706         * BufferView.C (setCursor): size() -> depth()
707
708 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
709
710         * text3.C (cursorPrevious): return true if depm changed something
711         (cursorNext): ditto
712         (dispatch): rename sl to oldTopSlice, remove moving use the new
713         NoUpdate func attrib instead. Make sure that needsUpdate is set
714         for function that have NoUpdate, but where depm might have changed
715         the buffer anyway.
716
717         * text2.C (cursorLeft): make us return true if depm changed
718         something
719         (cursorRight): ditto
720         (cursorUpParagraph): ditto
721         (curosrDownParagraph): ditto
722         (cursorUp, cursorDown): ditto, make sure to read comments in code
723         (deleteEmptyParagraphMechanism): remove an assert, also return
724         true if just a single char was deleted.
725
726         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
727         cursor that we modify, to avoid modifying an active cursor before
728         we call setCursor. This allows depm to run. Also return true if
729         depm deleted something.
730
731         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
732         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
733         cursorDownParagraph, cursorPrevious and cursorNext, return true if
734         something was changed in the buffer because of them (ie. depm run)
735
736         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
737         debug messages. Make update by default be false. Make sure that
738         the result of update is retained throught several calls down to
739         dispatch.
740
741         * LyXAction.h: add a new func_attrib: NoUpdate
742
743         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
744         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
745         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
746         and LFUN_WORDLEFT
747         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
748
749 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
750
751         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
752         bv_->owner(), bv_->buffer() by direct references to the private
753         members.
754         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
755         (getStatus): isSavedPosition() is in BufferView::Pimpl.
756         (fitCursor): center() is in BufferView::Pimpl.
757         (getStatus, trackChanges, dispatch): no need for a temporary buf
758         variable
759         (fitCursor, workAreaDispatch): use workarea().workheight()
760
761 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
762
763         * CutAndPaste.C (pasteSelectionHelper): fix a crash
764
765 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
766
767         * buffer.C: format up to 241.
768         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
769         break if pasting into ERT
770         * lyxfunc.C (getStatus): suppress mathpanel and
771         LFUN_DIALOG_SHOW_NEW_INSET in ERT
772
773 2005-02-01  Angus Leeming  <leeming@lyx.org>
774
775         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
776
777 2005-02-01  Angus Leeming  <leeming@lyx.org>
778
779         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
780         calling fs::is_directory().
781
782 2005-01-31  Angus Leeming  <leeming@lyx.org>
783
784         * lyx_main.C (priv_exec): specify explicitly the relative location
785         of the top level build directory when run in-place.
786
787 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
788
789         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
790         LyXText containing the cursor, not the top-level one.
791
792         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
793         true.
794         (insertStringAsLines): rename par to pit; use temporary variable
795         par to hold a Paragraph; do not store par.layout() in a variable,
796         since the pointer may die when breaking paragraphs; pass pars to
797         breakParagraph() instead of Buffer::paragraphs().
798
799 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
800
801         * lyxlex_pimpl.h: #include <fstream>.
802
803         * BufferView.[Ch] (getLyXText): add a const version.
804
805         * BufferView_pimpl.C: add debug aids.
806
807         * RowList_fwd.h:
808         * buffer.h:
809         * lyxrow.h:
810         * paragraph_funcs.h: add commentary explaining what the class does.
811
812
813         * coordcache.[Ch]: add lots of commentary.
814         (startUpdating, doneUpdating): debug aids.
815         (arrays, insets, parPos, getParPos): accessors to private data.
816
817         * cursor_slice.[Ch] (text): add a const version.
818         * dociterator.[Ch] (text, innerText): add const versions.
819
820         * lyxtext.h (breakParagraph): change the keep_layout arg to a
821         bool.
822
823         * paragraph.C (getRow, pos2ros): add asserts.
824
825         * paragraph.h: add commentary. Lots of.
826
827         * paragraph.[Ch] (metrucs, draw): removed.
828
829         * cursor.C:
830         * rowpainter.[Ch]: const-correct changes.
831
832         * text.C: various obvious clean-ups. Removal of ancient cruft.
833         Bug fixes, even.
834
835 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
836
837         * vc-backend.C (find_file): rewrite to use boost.filesystem
838         (scanMaster): ditto
839
840         * main.C (main): set default name check for boost.filesystem to
841         no check
842
843         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
844         (open): ditto
845         (doImport): ditto
846         (actOnUpdatedPrefs): ditto
847
848         * lyx_main.C (init): rewrite to use boost.filesystem
849         (queryUserLyXDir): ditto
850
851         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
852         (getContentsOfAsciiFile): ditto
853
854         * lastfiles.C (readFile): rewrite to use boost.filesystem
855
856         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
857
858         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
859         (loadLyXFile): ditto
860
861         * buffer.C (Buffer): adjust for destroydir
862         (getLogName): rewrite to use boost.filesystem
863         (setFileName): ditto
864         (save): use fs::copy_file (from fs_extras)
865
866         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
867
868         * LaTeX.C (run): rewrite to use boost.filesystem
869         (scanAuxFiles): ditto
870         (handleFoundFile): ditto
871
872 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
873
874         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
875
876         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
877
878 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
879
880         * lyxlayout.[Ch]: change some vars from float to double
881
882         * buffer.C (readFile): make a local var const
883
884         * Several files: use convert<> instead of atoi,strToXXX and friends
885
886 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
887
888         * LaTeXFeatures.[Ch]: Add a static list packages_ that
889         holds the contents of packages.lst. New functions getAvailable
890         and isAvailable to parse and check that list, resp.
891
892         * LyXAction.C:
893         * lfuns.h:
894         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
895
896         * bufferparams.[Ch]: new param output_changes.
897
898         * Buffer.C: increase file format to 240.
899         Use output_changes and isVailable.
900
901         * changes.[Ch]:
902         * paragraph.C:
903         * paragraph_pimpl.C: Use output_changes and isVailable.
904
905 2005-01-23  Angus Leeming  <leeming@lyx.org>
906
907         * output_latex.C: #include "insetbibitem.h", rather than
908         forward declare function bibitemWidest.
909
910 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
911
912         * lyx_main.C (init): make it compile on the Mac.
913
914 2005-01-20  Angus Leeming  <leeming@lyx.org>
915
916         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
917         (setLyXMisc): (char string literal) != (char string literal) is
918         performing a comparison on the addresses. Convert one operand
919         explicitly to string to guarantee expected behaviour.
920         From MSVC warning.
921
922 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
923
924         * buffer.C:
925         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
926
927         * output_plaintext.C: remove unneeded #include gzstream.h.
928
929 2005-01-20  Angus Leeming  <leeming@lyx.org>
930
931         * SpellBase.h: rename some of the elements of the Result enum.
932
933         * aspell_local.h:
934         * ispell.h:
935         * pspell.h:
936         * aspell.C (check):
937         * ispell.C (check):
938         * pspell.C (check): ditto
939
940 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
941
942         * buffer.C: add #include <fstream>.
943
944         * lyx_main.C (init): Compile fix.
945
946         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
947
948 2005-01-20  Angus Leeming  <leeming@lyx.org>
949
950         * mover.h: change commentary to reflect the changed meaning of
951         the $$s placeholder.
952
953 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
954
955         * output_linuxdoc.C (linuxdocParagraphs): silence warning
956
957         * lyxfind.C (MatchString::operator()): remove bogus semicolon
958
959 2005-01-20  Angus Leeming  <leeming@lyx.org>
960
961         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
962         printing diagnostic data by not dereferecing an iterator past the
963         end.
964
965 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
966
967         * buffer.C (readHeader): use "&&" rather than "and".
968
969         * lyxserver.h (inPipeName, outPipeName): make these const.
970
971 2005-01-19  Angus Leeming  <leeming@lyx.org>
972
973         * lyx_main.C (error_handler, init): protect SIGHUP with
974         #ifdef SIGHUP guards.
975
976 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
977
978         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
979
980 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
981
982         * text.C (setHeightOfRow): add a margin at the top and bottom of
983         the document (bug 1761)
984
985 2005-01-17  Angus Leeming  <leeming@lyx.org>
986
987         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
988         with "python ". Workaround for a brain-dead Windows.
989
990 2005-01-16  Angus Leeming  <leeming@lyx.org>
991
992         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
993         for MacOSX and Windows to use prependEnvPath.
994         Strip out the hard-coded block to add elements to the PATH for
995         MacOSX and replace it with a call to prependEnvPath using the
996         contents of LyXRC::path_prefix.
997         (queryUserLyXDir): strip out the code to run reconfigure, instead
998         returning a boolean indicating the necessity to do so.
999         (reconfigureUserLyXDir): contains the code to reconfigure the
1000         user support directory. Is now called after the various LyXRC data
1001         files have been read.
1002
1003         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1004
1005 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1006
1007         * converter.[Ch] (convert): take a new parameter try_default. Use
1008         a default converter (imagemagick) if try_default is true.
1009
1010 2005-01-13  Angus Leeming  <leeming@lyx.org>
1011
1012         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1013         os::cygwin_path_fix.
1014         (write): output LyXRC::cygwin_path_fix as necessary.
1015
1016 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1017
1018         * lyxrc.h:
1019         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1020
1021 2005-01-12  Angus Leeming  <leeming@lyx.org>
1022
1023         * lyx_main.C (init): set the PATH variable to include the
1024         directory containing the LyX binary when running on Mac or Windows.
1025
1026 2005-01-12  Angus Leeming  <leeming@lyx.org>
1027
1028         * lyx_main.C (init): remove cruft that purports to set the locale
1029         dir. It doesn't and is not needed anyway.
1030
1031 2005-01-10  Angus Leeming  <leeming@lyx.org>
1032
1033         * Makefile.am: remove the lyx_main.C special casing.
1034
1035         * BufferView_pimpl.C:
1036         * bufferlist.C:
1037         * exporter.C:
1038         * lyx_cb.C:
1039         * lyx_main.C:
1040         * lyxfunc.C:
1041         * messages.C: use support/package.h to provide the paths to the
1042         various directories used by LyX.
1043
1044 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1045
1046         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1047         layout if pasting into an empty paragraph)
1048
1049 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1050
1051         * tex-accent.C: add <string>
1052
1053 2005-01-06  José Matos  <jamatos@lyx.org>
1054
1055         * ParagraphParameters.C (write): put every parameter in its own line.
1056         * paragraph.C (write): reduce number of consecutive empty lines exported.
1057         * buffer.C (LYX_FORMAT): increase file format to 239.
1058
1059 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1060
1061         * everywhere: change support/tostr.h -> support/convert.h
1062
1063         * tabular.C: make all write_attributes templates, tostr -> convert
1064
1065         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1066         (emptyTag): and -> &&, and fix type for ret from getChar
1067         (getFirstWord): fix type for ret from getChar
1068         (onlyText): and -> &&
1069         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1070         getChar
1071
1072         * toc.C (goTo, action):
1073         * text3.C (dispatch):
1074         * text.C (currentState):
1075         * tex-accent.C (DoAccent):
1076         * sgml.C:
1077         * lyxrc.C:
1078         * lyxfunc.C (menuNew):
1079         * lyxfinc.C (replace):
1080         * counters.C (laberItem):
1081         * bufferview_funcs.C (font2string):
1082         * bufferparams.C (writeFile):
1083         * buffer.C (readFile):
1084         * Spacing.C (set):
1085         * MenuBackend.C: tostr -> convert
1086
1087         * LaTeX.C (runMessage): fix format
1088         (scanAuxFiles): tostr -> convert
1089
1090         * BufferView_pimpl.C (savePosition): fix format
1091         (restorePosition): ditto
1092         (dispatch): ditto
1093
1094 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1095
1096         * Spacing.[Ch]: New method getValueAsString().
1097
1098         * Spacing.[Ch]:
1099         * bufferparams.C:
1100         * ParagraphParameters.C:
1101         * lyxlayout.C:
1102         * text.C:
1103         * text3.C: store/read spacing value as string.
1104
1105         * rowpainter.C: change float value (spacing_val) to double.
1106
1107         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1108         broken custom document spacing).
1109
1110 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1111
1112         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1113         namespace, also more use of temp references and const
1114
1115         * cursor.[Ch] (getStatus): move to lyxfunc.C
1116
1117         * bufferparams.C: reformat slightly
1118
1119         * bufferview_funcs.C (font2string): constify arg
1120
1121         * changes.C:
1122         * converter.C:
1123         * counters.C:
1124         * bufferlist.C:
1125         * buffer_funcs.C: (many funcs): constify arg on function
1126         definitions, also make more local vars const, also add ASSERTS on
1127         pointer args.
1128
1129         * buffer.C (LYX_FORMAT): put const in correct place
1130         (many funcs): constify arg on function definitions, also make
1131         more local vars const
1132
1133         * aspell_local.h: remove "struct" from typdef setup
1134
1135         * aspell.C (check): make word_ok const
1136         (nextMiss): simplify slightly
1137         (error): ditto
1138
1139 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1140
1141         * lyxrc.[Ch]: store all float values as strings.
1142         use int (not float) for lyxrc.dpi.
1143
1144 2005-01-04  Angus Leeming  <leeming@lyx.org>
1145
1146         * lyx_cb.C (Reconfigure):
1147         * lyx_main.C (queryUserLyXDir):
1148         to run the <system_lyxdir>/configure correctly on Windows, prefix
1149         the path to the script with "sh " when generating the string that
1150         is passed to system().
1151
1152 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1153
1154         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1155
1156 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1157
1158         * lyxlength.C (asLatexString): get rid of setprecision
1159
1160 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1161
1162         * text2.C (setLayout): remove unused variable endpit.
1163         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1164
1165         * paragraph.C (onlyText): remove unused variable style.
1166
1167         * cursor.C (bruteFind): remove unused variables beg and end.
1168
1169         * Makefile.am (dist_noinset_DATA): not needed anymore
1170
1171         * cheaders/*: remove.
1172
1173 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1174
1175         * text3.C: fix LFUN_MATH_MODE.
1176
1177 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1178
1179         * buffer_funcs.C (countWords): new function. Counts words between
1180         two iterators.
1181
1182         * BufferView_pimpl.C (getStatus, dispatch): handle
1183         LFUN_WORDS_COUNT.
1184
1185         * LyXAction.C (init):
1186         * lfuns.h: add LFUN_WORDS_COUNT.
1187
1188 2004-12-19  Angus Leeming  <leeming@lyx.org>
1189
1190         * buffer.C (save): s/slashify_path/internal_path/.
1191
1192 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1193
1194         * lyxfind.C (findChange): do not search for end of pars, because
1195         the change tracker cannot handle this (fixes bug 1719).
1196
1197 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1198
1199         * paragraph.[Ch] (autoBreakRows): remove
1200
1201         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1202
1203         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1204         avoid using the paragraph one
1205
1206         * text2.C (LyXText, insertStringAsLines): adjust
1207
1208 2004-12-16  Angus Leeming  <leeming@lyx.org>
1209
1210         * bufferlist.C:
1211         * lyx_main.C:
1212         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1213
1214 2004-12-14  Angus Leeming  <leeming@lyx.org>
1215
1216         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1217
1218         * bufferlist.C (emergencyWrite):
1219         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1220         GetEnvPath("HOME").
1221
1222 2004-12-14  Angus Leeming  <leeming@lyx.org>
1223
1224         * main.C: (main): no longer pass pointers to os::init.
1225
1226 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1227
1228         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1229         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1230
1231 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1232
1233         * lyxfunc.C:
1234         * text3.C: remove selection_possible global flag
1235
1236 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1237
1238         * text2.C (getSelectionSpan): remove
1239         (changeDepth, changeDepthAllowed): adjust
1240
1241 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1242
1243         * Makefile.am (BOOST_LIBS): use boost variables
1244
1245 2004-12-03  José Matos  <jamatos@lyx.org>
1246
1247         * buffer.C: format up to 238.
1248
1249 2004-12-03  José Matos  <jamatos@lyx.org>
1250
1251         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1252
1253 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1254
1255         * cursor.C (goUpDown): remove call to idxUpDown2
1256
1257 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1258
1259         * tabular.[Ch]: use size_t-like types for cell, row and column
1260         indices
1261
1262 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1263
1264         * lyxfunc.C (getStatus): do not lose previous information when
1265         calling BufferView::getStatus; do not set a default "Command
1266         disabled" message at the beginning, but just before returning.
1267
1268 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1269
1270         * cursor.h (getStatus): add better comment from src/cursor.C
1271
1272 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1273
1274         * text3.C (getStatus): return false when the lfun is not handled
1275
1276 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1277
1278         * broken_headers.h: remove
1279
1280         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1281
1282 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1283
1284         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1285         offset_ref accessors
1286
1287         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1288         top_y_, merge fitcursor with update
1289         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1290         coord scheme
1291         (metrics): introduce
1292         (workAreaDispatch): adapt to new coord scheme
1293         (redoCurrentBuffer): remove
1294
1295         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1296
1297         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1298         CurStatus enum.
1299
1300         * coordcache.[Ch]: add paragraph cache and helpers
1301
1302         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1303         adjust everywhere
1304
1305         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1306         (targetX, setTargetX): introduce
1307
1308         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1309         baseline -> ascent, as the rest of lyx
1310
1311         * lyxtext.h: remove redoParagraphs, updateParPositions,
1312         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1313         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1314         have ascent/descent (ascent is ascent of first par)
1315
1316         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1317         step of BufferView
1318
1319         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1320
1321         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1322
1323         * pariterator.C: fix infinite loop introduced in par->pit renaming
1324
1325         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1326         in insets and LyXText, draw two off-screen paragraphs using
1327         NullPainter, and adapt to new coord scheme
1328
1329         * text.C:
1330         * text2.C:
1331         * text3.C: adapt lfun handlers to the new coord scheme, which
1332         means: there's only guaranteed coord information for onscreen pars
1333         plus one above and one below. This implies that one can do search
1334         from y coordinates in the range [-1,workHeight]
1335
1336 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1337
1338         * rename a lot of InsetOld to InsetBase
1339
1340 2004-11-25  Angus Leeming  <leeming@lyx.org>
1341
1342         * BufferView_pimpl.C:
1343         * lyx_cb.C:
1344         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1345
1346 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1347
1348         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1349         call BufferView::getStatus if LCursor::getStatus did nothing
1350         (setStatusMessage, getStatusMessage): removed.
1351
1352         * FuncStatus.C (message): new methods. Used to provide an error
1353         message indicating why a command is disabled.
1354         (clear, |=, FuncStatus): update for message.
1355
1356 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1357
1358         * lyxfunc.C (dispatch): always call sendDispatchMessage
1359
1360 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1361
1362         * BufferView.C:
1363         * BufferView_pimpl.C:
1364         * CutAndPaste.C:
1365         * FontIterator.C:
1366         * buffer.C:
1367         * cursor.C:
1368         * cursor_slice.[Ch]:
1369         * dociterator.[Ch]:
1370         * lyxfind.C:
1371         * paragraph_funcs.C:
1372         * pariterator.C:
1373         * rowpainter.C:
1374         * text.C:
1375         * text2.C:
1376         * text3.C:
1377         * undo.C: par->pit renaming
1378
1379 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1380
1381         * tabular.C (cellstruct): use initialization, store a shared_ptr
1382         to insettext instead of the insettext directly, adjust to fit.
1383         (operator=):  new function
1384         (swap): new function
1385         (rowstruct): use initialization
1386         (columnstruct): use initialization
1387         (ltType): use initialization
1388
1389
1390         * lyxlength.h (swap): new function
1391
1392         * LColor.[Ch] (operator=): use the common semantics
1393
1394 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1395
1396         * lyxfind.C (findNextChange): update the bufferview after setting
1397         the selection.
1398
1399 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1400
1401         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1402         number of InsetOptArgs has already been inserted.
1403
1404         * output_latex.C (latexOptArgInsets): new method. This outputs all
1405         the optarg insets, up to the limit defined in the layout file.
1406         (optArgInset): removed
1407         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1408
1409 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1410
1411         * paragraph.C (isLetter): remove special spellchecker-related
1412         code; return true also for digits
1413         (isWord, isKomma): remove
1414
1415         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1416         * lyxfind.C (MatchString()): use isLetter instead of isWord
1417
1418 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1419
1420         * pariterator.h (operatir=): comment out un-implemented member
1421         function.
1422
1423         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1424         static cast.
1425
1426 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1427
1428         * lyxfont.h: include LColor.h to satisfy concept checks.
1429
1430 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1431
1432         * pariterator.h: add typdefs for value_type, difference_type,
1433         pointer and reference to satisfy concept checks. Also add default
1434         constructor for same reason.
1435
1436         * pariterator.C (operator++): add post-increment operator to
1437         satisfy concept checks.
1438
1439         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1440         checks.
1441
1442         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1443
1444         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1445         checks. Also rename base_type to BaseType to follow naming
1446         standard better.
1447
1448         * FloatList.h: include Floating.h to satisfy concept checks.
1449
1450 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1451
1452         * lyxfunc.C (getStatus): when the origin of the request is menu or
1453         toolbar, and the LyXView does not have focus, do as if there was
1454         no buffer (bug 1720)
1455
1456         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1457         FuncRequest to individual entries of LFUN_SEQUENCE
1458
1459 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1460
1461         * output_latex.C (TeXOnePar): override runparams.moving_arg
1462         according to the needprotect value of the current paragraph (bug
1463         1739)
1464
1465         * paragraph.C (simpleTeXOnePar): no need to override
1466         runparams.moving_args here
1467
1468 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1469
1470         * vspace.C: fix off-by-one-error, related to fix #1682
1471
1472 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1473
1474         * lengthcommon.C: a more general fix for bug 1682
1475
1476 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1477
1478         * text.C (backspace): fix crash
1479
1480 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1481
1482         * format.[Ch] (getFormatFromFile): new method
1483         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1484
1485 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1486
1487         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1488
1489 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1490
1491         * lyxfunc.C (dispatch): remove the verbose argument
1492         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1493         instead
1494
1495         * kbmap.C (defkey): set the origin of func to KEYBOARD
1496
1497         * MenuBackend.C (MenuItem):
1498         * ToolbarBackend.C (add): set the origin of func to UI
1499
1500         * funcrequest.[Ch]: add origin member, which indicates which part
1501         of LyX requests an action
1502
1503 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1504
1505         * converter.C (move): don't lie in the error message
1506         * converter.h (isReachable, move): document
1507
1508 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1509
1510         * buffer.C: remove unused using lyx::support::atoi
1511         * paragraph_funcs.C: ditto
1512
1513 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1514
1515         * bufferlist.C (exists): use bind and equal_to instead of
1516         compare_memfun
1517         (getBuffer): ditto
1518         * lyxtextclasslist.C (NumberOfClass): ditto
1519
1520         * cursor.C (insert): use for_each instead of explicit for loop
1521
1522         * bufferlist.C (getFileNames): use std::transform and
1523         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1524
1525         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1526         for loop
1527
1528         * buffer.C (changeLanguage): use for_each instead of explicit for
1529         loop
1530         (hasParWithID): implement using getParFromID
1531
1532         * LaTeXFeatures.C: ws change only
1533
1534         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1535         to cleanup a bit.
1536
1537         * BufferView_pimpl.C (trackChanges): use for_each instead of
1538         expilicit for loop
1539
1540 2004-11-04  André Pönitz  <poenitz@gmx.net>
1541
1542         * undo.h:
1543         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1544
1545         * dociterator.C (asDocIterator): use hard assert again.
1546
1547 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1548
1549         * lyxlength.C (asLatexString): rewrite so that it does not use
1550         snprintf anymore
1551
1552 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1553
1554         * text3.C (specialChar, dispatch): make sure cursor moves to the
1555         right after inserting an inset
1556
1557 2004-11-02  José Matos  <jamatos@lyx.org>
1558
1559         * output_docbook.C (docbook):
1560         * paragraph.C (getID):
1561         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1562         garantee that the output is always legal.
1563
1564         * tabular.C (docbook):
1565         * outputprams.[Ch]: remove mixed contents.
1566
1567 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1568
1569         * text2.C (setCounter): prevent endless loop
1570
1571 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1572
1573         * exporter.C (copyFile): use the mover instead of support::copy()
1574         * exporter.C (Export): pass format and latex name to copyFile()
1575         * exporter.h (addExternalFile): document
1576         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1577
1578 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1579
1580         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1581
1582 2004-10-30  José Matos  <jamatos@lyx.org>
1583
1584         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1585         text and no inset or font change. This allows to use CDATA
1586         sections just for the whole paragraph.
1587
1588 2004-10-30  José Matos  <jamatos@lyx.org>
1589
1590         * paragraph.C (getFirstWord): remove unused variable.
1591
1592 2004-10-30  José Matos  <jamatos@lyx.org>
1593
1594         * paragraph.C (getFirstWord): the content should always be escaped
1595         there.
1596         (simpleDocBookOnePar):
1597         * output_docbook.C (makeEnvironment): replace reference to CDATA
1598         to style pass_thru.
1599
1600 2004-10-30  José Matos  <jamatos@lyx.org>
1601
1602         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1603
1604 2004-10-30  José Matos  <jamatos@lyx.org>
1605
1606         * output_docbook.C (makeParagraphs):
1607         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1608         standard paragraph has only a given type of content drop the wrapper.
1609
1610 2004-10-29  José Matos  <jamatos@lyx.org>
1611
1612         * output_docbook.C (makeEnvironment):
1613         * sgml.C (openTag):
1614         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1615
1616 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1617
1618         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1619         (cleanID): sanitize any id.
1620
1621 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1622
1623         * buffer.C, lyxlex_pimpl.C:
1624         * lyxlex_pimpl.C (setFile):
1625         s/getExtFromContents/getFormatFromContents/
1626
1627 2004-10-28  José Matos  <jamatos@lyx.org>
1628
1629         * output_docbook.C (makeEnvironment): move id to broadest possible
1630         scope.
1631
1632         * sgml.C (openTag): apply substitution of <> for all attributes.
1633
1634 2004-10-28  José Matos  <jamatos@lyx.org>
1635
1636         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1637         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1638         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1639
1640         * sgml.[Ch]: new version for open and closeTag for paragraph and
1641         for strings. Now they handle the ids of paragraphs.
1642
1643 2004-10-26  Angus Leeming  <leeming@lyx.org>
1644
1645         * Makefile.am: add mover.[Ch].
1646
1647         * converter.C (convert, move): use the new Movers to move external
1648         files to the temp directory.
1649
1650         * lyx_main.C (init): ensure that the global system_movers data
1651         is initialised.
1652
1653         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1654         preferences file.
1655
1656         * mover.[Ch]: new files, defining a Mover as a utility to move an
1657         external file between directories and, if necessary, manipulate this
1658         file using a helper script.
1659
1660 2004-10-25  José Matos  <jamatos@lyx.org>
1661
1662         * output_docbook.C (makeCommand): merge two if's that tested the
1663         same condition.
1664
1665 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1666
1667         * sgml.C (escapeString): fix warning in a better way
1668
1669 2004-10-25  José Matos  <jamatos@lyx.org>
1670
1671         * sgml.C (escapeString): import the require boosts header file for
1672         tie, and avoid a signed unsigned comparison.
1673
1674 2004-10-25  José Matos  <jamatos@lyx.org>
1675
1676         * sgml.h: add #include <string>
1677
1678 2004-10-25  José Matos  <jamatos@lyx.org>
1679
1680         * sgml.[Ch] (escapeString): new function to escape all the string.
1681
1682 2004-10-24  José Matos  <jamatos@lyx.org>
1683
1684         * paragraph.[Ch] (getFirstWord): new function to get the first
1685         word. Useful for description.
1686         (simpleDocBookOnePar): remove depth argument, add another that
1687         says where to start the paragraph.
1688
1689         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1690         use the new functions to fix cleanly the support for descriptions.
1691
1692 2004-10-24  José Matos  <jamatos@lyx.org>
1693
1694         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1695         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1696         * output_linuxdoc.C (linuxdocParagraphs):
1697         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1698         add buffer as argument.
1699
1700 2004-10-24  José Matos  <jamatos@lyx.org>
1701
1702         * output_docbook.C (makeEnvironment, searchEnvironment): place
1703         CDATA inside paragraphs and fix scope for listitems.
1704
1705 2004-10-24  José Matos  <jamatos@lyx.org>
1706
1707         * output_docbook.C: remove using statement for stack.
1708
1709 2004-10-23  José Matos  <jamatos@lyx.org>
1710
1711         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1712         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1713         docbook. The new scheme is recursive and makes use of iterators, the
1714         same as latex export works.
1715         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1716         directly with the paragraph contents. This code was moved up to
1717         output_docbook.C (docbookParagraphs).
1718         * sgml.C (openTag, closeTag): removed unneeded newlines.
1719         (closeEnvTags) removed.
1720
1721 2004-10-23  André Pönitz  <poenitz@gmx.net>
1722
1723         * undo.C (textUndoOrRedo):
1724         * dociterator.C (asDocIterator): work around crash
1725
1726         * cursor.C (getStatus): replace ASSERT by more verbose error message
1727           and manual correction of the problem. Should increase stability
1728           while providing more sensible information.
1729
1730 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1731
1732         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1733
1734         * bufferlist.C (previous, next): new methods
1735
1736         * lfuns.h:
1737         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1738
1739 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1740
1741         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1742         entities to preamble.
1743
1744 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1745
1746         * messages.C (Pimpl): strip off translation context information
1747
1748 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1749
1750         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1751         the cursor is correct (bug 1694)
1752
1753 2004-10-13  José Matos  <jamatos@lyx.org>
1754
1755         * output_docbook.C (docbookParagraphs): fix closing tags in the
1756         end of the document.
1757
1758 2004-10-09  José Matos  <jamatos@lyx.org>
1759
1760         * buffer.C: format up to 237.
1761         * bufferparams.C (write): use tostr to convert booleans to strings.
1762
1763 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1764
1765         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1766
1767 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1768
1769         * LaTeX.C: implement use of babel language in xindy.
1770
1771 2004-10-05  José Matos  <jamatos@lyx.org>
1772
1773         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1774         Add new translators to help reading and writing the lyx file.
1775
1776 2004-10-05  José Matos  <jamatos@lyx.org>
1777
1778         * ParagraphParameters.C (read):
1779         * text.C (readParToken): replace nexToken by more appropriate lex
1780         methods.
1781
1782 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1783
1784         * LaTeX.C (runMakeIndex):
1785         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1786         (usually 'makeindex') configurable.
1787
1788         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1789         with a variable rather than with a number.
1790
1791 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1792
1793         * output_latex.C (TeXOnePar): make sure font setting is the first
1794         thing that gets output (and the last at the end). Should fix bug
1795         1404.
1796
1797 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1798
1799         * pch.h: use proper signal include
1800
1801         * LaTeX.h: Use preferred calling of Boost.Signal
1802         * buffer.h: ditto
1803
1804 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1805
1806         * pch.h: dont include <boost/function/function0.hpp>
1807
1808         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1809
1810         * paragraph_pimpl.h: remove usage of ShareContainer
1811
1812         * paragraph_pimpl.C: remove initialization of ShareContainer.
1813
1814 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1815
1816         Fix bug #1666
1817
1818         * BufferView.C (putSelectionAt): change the semantics when
1819         backwards == true: now, this just swaps cursor and anchor wrt the
1820         forward case
1821
1822         * BufferView.h (putSelectionAt): add some documentation
1823
1824         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1825         make sure backwardChar is done at least once (to avoid getting
1826         stuck)
1827         (findNextChange): use putSelectionAt in the forward direction
1828         (operator()): use Paragraph::isWord
1829
1830 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1831
1832         * Spacing.C (set): c_str fix
1833
1834 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1835
1836         * lyx_cb.C (Reconfigure): quote the name of configure script in
1837         case it contains spaces
1838
1839 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1840
1841         * client: new dir
1842
1843         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1844         (BOOST_LIBS): use top_buildir when looking for the file
1845
1846 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1847
1848         * pch.h: do not use include boost/format.hpp, multiple symbols
1849                 will result (gcc bug)
1850
1851
1852 2004-08-23  José Matos  <jamatos@lyx.org>
1853
1854         * bufferparams.C (readToken): fix reading of the author field.
1855
1856 2004-08-20  José Matos  <jamatos@lyx.org>
1857
1858         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1859
1860 2004-08-20  José Matos  <jamatos@lyx.org>
1861
1862         * lyxlex.[Ch] (findToken): remove function.
1863
1864         * ParagraphParameters.C (findToken):
1865         * bufferparams.C (findToken): replace call for previous function
1866         with local copy. This local function has one more argument, the
1867         read string argument.
1868
1869 2004-08-16  José Matos  <jamatos@lyx.org>
1870
1871         * ParagraphParameters.C (write):
1872         * Spacing.C (writeFile):
1873         * bufferparams.C (writeLaTeX):
1874         * lyx_cb.C (Reconfigure):
1875         * paragraph.C (write):
1876         * tabular.C (write): remove unnecessary space at end of line.
1877
1878
1879 2004-08-16  José Matos  <jamatos@lyx.org>
1880
1881         * text.C (readParagraph): remove debug message.
1882
1883 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1884
1885         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1886         crash
1887
1888         * output_plaintext.C (asciiParagraph): set depth correctly
1889
1890         * outputparams.h: add member depth
1891
1892         * paragraph_funcs.C (ownerPar): remove.
1893
1894         * text2.C (setCounter): remove first_pit; comment out some
1895         non-working code that uses ownerPar
1896
1897         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1898         uses ownerPar
1899
1900 2004-08-16  José Matos  <jamatos@lyx.org>
1901
1902         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1903         For the same level of importance use the same chanel to report problems.
1904         (read): add code to deal with \begin_body and \end_body.
1905
1906
1907 2004-08-15  José Matos  <jamatos@lyx.org>
1908
1909         * lyxlex.C (getString): fix comment, buffer::readBody is now
1910         buffer:readDocument.
1911
1912         * tex-strings.C (string_papersize): Default -> default,
1913         Custom -> custom, for consistency with other options.
1914
1915 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1916
1917         * pch.h: new file
1918
1919         * Makefile.am: support pch
1920
1921 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1922
1923         * text.C (readParToken): remove the static LyXFont variable and
1924         pass it as a parameter instead. This fixes a nasty bug where an
1925         inset will be inserted with a bad font in some situations
1926         (readParagraph): adapt
1927
1928         * text2.C (setCounter): reduce number of calls to pars_[pit]
1929
1930         * text.C (singleWidth): add an assert, fix a test
1931
1932         * rowpainter.C (paintText): reduce number of calls to singleWidth
1933
1934         * paragraph.C (isHfill):
1935         (isNewline): ws only
1936
1937 2004-08-14  André Pönitz  <poenitz@gmx.net>
1938
1939         * text.C:
1940         * text2.C:
1941         * rowpainter.C:
1942         * lyxtext.h (several functions): use a Paragraph & argument
1943         instead of par_type
1944
1945 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1946
1947         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1948
1949         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1950
1951         * text.C (singleWidth): remove useless test
1952
1953 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1954
1955         * tabular.h: remove bogus comments
1956
1957         * tabular.C (getDescentOfRow):
1958         (isPartOfMultiColumn): add assertions
1959
1960         * lyxlength.C (inPixels): remove #warning
1961
1962 2004-08-14  André Pönitz  <poenitz@gmx.net>
1963
1964         * paragraph.h: inline getChar()
1965
1966         * BufferView.h: remove unused declarations
1967
1968 2004-08-14  José Matos  <jamatos@lyx.org>
1969
1970         * Buffer.[Ch] (readDocument): new name for old readBody.
1971         * Buffer.C: new file format, new keywords: \begin_document,
1972         \begin_header, \begin_body, \end_body.
1973
1974         * bufferparams.C (readToken): replace all calls to lex.nextToken
1975         by lex.next(). Do the same to eatLine except where really needed.
1976
1977         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1978         line when writing to the lyx file.
1979
1980         * output_plaintext.C (asciiParagraph): fix Bibliography style
1981         handling.
1982
1983         * text.C (read): fix end of file handling.
1984
1985 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1986
1987         * MenuBackend.C (Menu::operator[]): new method to access
1988         individual menu items
1989         (Menu::hasFunc): new method. search for an item that corresponds
1990         to a given func
1991         (MenuBackend::specialMenu): new method
1992         (MenuBackend::expand): if a special menu has been set, skip
1993         entries whose func() appears in this menu
1994
1995 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1996
1997         * text3.C: use Debug::DEBUG a bit more
1998
1999         * text.C (leftMargin): try to simplify a tiny bit change var x to
2000         l_margin. Dont output the wide margins always.
2001         (rightMargin): no margin in inner texts
2002
2003         * rowpainter.h (nestMargin): new func
2004         (changebarMargin): new func
2005         (rightMargin): new func
2006
2007         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2008         now functions.
2009         (paintLast): ditto
2010
2011         * factory.C (createInset): modify setDrawFrame
2012
2013         * cursor.C: use Debug::DEBUG a bit more
2014
2015 2004-08-14  André Pönitz  <poenitz@gmx.net>
2016
2017         * coordcache.[Ch]:
2018         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2019         cache for all insets in (at least partially) visible (top-level)
2020         paragraphs.
2021
2022         * BufferView_pimpl.C: reset external coord cache before every update.
2023         This means the coord cache only contains valid entries.
2024
2025 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2026
2027         bug 1096
2028         * BufferView_pimpl.C (getInsetByCode): move function out of class
2029         and change in to a template in anon namespace. Also fix to do what
2030         suits us better.
2031
2032 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2033
2034         bug 1305
2035         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2036         of char
2037         (breakParagraph): rename par to par_offset and use a local
2038         reference. Add code to keep the language over a rebreak.
2039         (breakParagraphConservative): rename par to par_offset, use a
2040         local reference
2041         (mergeParagraph): ditto
2042         (outerHook): ditto
2043         (isFirstInSequence): ditto
2044         (outerFont): rename pit to par_offset
2045
2046         * paragraph.C: ws change
2047         * paragraph.h: ditto
2048         * text3.C: ditto
2049         * text.C: ditto
2050
2051 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2052
2053         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2054         treatment for ']'
2055
2056         * paragraph.C (simpleTeXOnePar): when we have a \item with
2057         optional argument, enclose the argument with curly brackets (in
2058         case it contains a closing square bracket)
2059
2060         * text2.C (editXY):
2061         * text2.C (editXY):
2062         * text3.C (checkInsetHit): constify
2063
2064 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2065
2066         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2067         documents (bug 1629)
2068
2069 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2070
2071         Fix toggling of collapsable insets with the mouse (bug 1558)
2072
2073         * lyxfunc.C (dispatch): adapt to LCursor changes
2074
2075         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2076         make sure that dispatch is not invoked twice
2077
2078         * cursor.C (needsUpdate): new method
2079         (dispatch): return void
2080         (result): new method, to access the DispatchResult of the cursor.
2081
2082 2004-08-13  José Matos  <jamatos@lyx.org>
2083
2084         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2085
2086 2004-08-13  André Pönitz  <poenitz@gmx.net>
2087
2088         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2089
2090         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2091           multiple cells
2092
2093 2004-08-12  André Pönitz  <poenitz@gmx.net>
2094
2095         * text3.C: take out the 'cursor right' form insertInset and only
2096         do it in those places when it is really needed. Fixes crash on
2097         C-m...
2098
2099 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2100
2101         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2102
2103         * BufferView_pimpl.C (setBuffer): initialize the current font of
2104         the underlying LyXText
2105
2106 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2107
2108         * kbsequence.C (print): use UI native formatting for menu
2109         shortcuts
2110
2111         * text.C (insertChar): call Paragraph::insertChar with a font
2112         argument (cosmetic)
2113
2114         * paragraph.C (insertInset, insertChar): the version that takes a
2115         LyXFont argument is now a wrapper around the other one (the
2116         opposite used to be true).
2117
2118         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2119         argument. Font setting is done in Paragraph now.
2120
2121 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2122
2123         * outputparams.h: add new members intitle and lang.
2124
2125         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2126         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2127
2128 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2129
2130         * text3.C (dispatch): remove special handling of button 4 and 5,
2131         it is now taken care of in the frontend code.
2132
2133 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2134
2135         * Spacing.h: add <string> (STLPort compile fix)
2136
2137 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2138
2139         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2140
2141 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2142
2143         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2144         to bool.
2145
2146         * converter.C (showMessage): inherit from unary_function, make
2147         operator() const.
2148
2149         * buffer.C (writeFile): initialize retval
2150
2151         * InsetList.h: rename private variable list to list_
2152         * InsetList.[Ch]: adjust accordingly.
2153
2154 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2155
2156         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2157         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2158         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2159         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2160         * ParagraphParameters.C, LaTeXFeatures.C: replace
2161         "support/std_sstream.h" with <sstream>
2162
2163 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2164
2165         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2166         * lyxsocket.C (LyXServerSocket): ditto
2167         (serverCallback): ditto
2168
2169 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2170
2171         * LaTeXFeatures.C: check release date when loading jurabib.
2172
2173 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2174
2175         * lyxserver.C (startPipe): call register_socket_callback
2176         (endPipe): call unregister_socket_callback
2177
2178 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2179
2180         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2181         (LyXServerSocket): register the callback
2182         (LyXServerSocket): unregister the callback
2183         (fd): delete function
2184         (serverCallback): improve error checking and setup the callbacks.
2185         (dataCallback): change arg to fd.
2186         (writeln): new func (copied fro the client socket) used for server
2187         write to client.
2188         (LyXDataSocket): simplify
2189         (~LyXDataSocket): close ann unregiser callback
2190         (server): delete function
2191         (fd): delete function
2192         (readln): small changes, improve some std::string usage
2193         (writeln): constify a bit
2194
2195 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2196
2197         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2198         Qt frontend
2199
2200 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2201
2202         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2203         after it has been populated
2204
2205 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2206
2207         * text2.C (insertInset): move cursor when inserting inset.
2208
2209 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2210
2211         * kbmap.C (findbindings): a couple of new methods. returns a
2212         container of kb_sequence objects. The real work is done by the
2213         private recursive version
2214         (printbindings): uses findbindings to print out a bracketed list
2215         of bindings (renamed from findbinding).
2216
2217         * MenuBackend.C (binding): use kb_keymap::findbindings
2218
2219         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2220
2221 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2222
2223         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2224
2225 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2226
2227         * paragraph.C (isWord): return true on insets that report
2228         isLetter().
2229
2230         * text.C (getWord): use Paragraph::isWord to decide what is in a
2231         word and what is not; fix bug 1609.
2232
2233 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2234
2235         * tex-strings.C: add "none" to string_paperpackages[], fixes
2236         off-by-one-error in the paperpackage selection.
2237
2238         * lyxlex.[Ch]:
2239         * tex-strings.[Ch]: char const * string[n]
2240         -> char const * const string[]
2241
2242 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2243
2244         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2245         command, return early.
2246
2247 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2248
2249         * debug.h: add DEBUG to enum and fix size of ANY.
2250
2251         * debug.C: add support for Debug::DEBUG
2252         (showTags): cast errorTags.level to unsigned int
2253
2254         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2255         (redoCurrentBuffer): ditto
2256         (updateScrollbar): ditto
2257         * cursor.C (dispatch): ditto
2258         * text2.C (setLayout): ditto
2259         (setFont): ditto
2260         (updateCounters): ditto
2261         (editXY): ditto
2262         (deleteEmptyParagraphMechanism): ditto
2263
2264 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2265
2266         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2267         annotations to cleanup the Makefile slightly.
2268
2269 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2270
2271         * lyxrc.C: do not set user_email to a default value but use empty
2272         instead. The entry used to be translated, which does not work
2273         since at the point where lyxrc is constructed there is no
2274         translation service available
2275
2276         * messages.C (getLocaleDir): remove and use directly
2277         lyx_localedir() instead
2278
2279 2004-06-02  Angus Leeming  <leeming@lyx.org>
2280
2281         Fix crash caused by dereferencing null pointer 'exportdata' in
2282         OutputParams by creating a new ExportData variable on the heap,
2283         storing it in a boost::shared_ptr.
2284         The crash was triggered when generating an Instant Preview
2285         of an external inset.
2286
2287         * Makefile.am: add outputparams.C
2288
2289         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2290         (c-tor): allocate memory to it.
2291
2292         * exporter.C (c-tor): associated changes.
2293
2294 2004-06-01  Angus Leeming  <leeming@lyx.org>
2295
2296         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2297         contains data before calling isInset(0). (Bug 1513.)
2298
2299 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2300
2301         * exporter.C (checkOverwrite): new method
2302         * exporter.C (copyFile): new method
2303         * exporter.C (Export): copy referenced files to the document dir
2304         * exporter.[Ch]: new class ExportedFile
2305         * exporter.[Ch]: new class ExportData. Contains currently the
2306         names of referenced external files
2307         * outputparams.h: add exportdata member.
2308
2309 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2310
2311         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2312         version.C-tmp
2313
2314 2004-05-19  Angus Leeming  <leeming@lyx.org>
2315
2316         * LaTeXFeatures.C:
2317         * ToolbarBackend.C:
2318         * bufferparams.C:
2319         * lyxfunc.C: small changes due to the introduction of namespace
2320         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2321
2322 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2323
2324         * text3.C (dispatch): supress update when only moving the cursor
2325         * cursor.C (selHandle): remove commented code
2326
2327 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2328
2329         * paragraph.C (startTeXParParams): correct column count
2330         * CutAndPaste.C (pasteSelection): remove const_cast
2331         * output_docbook.C (docbookParagraphs): remove const_cast
2332         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2333         const_cast and return ParagraphList::const_iterator
2334         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2335         * output_plaintext.C (writeFileAscii): remove const_cast
2336         * paragraph.[Ch] (simpleTeXOnePar): make const
2337         * paragraph_funcs.C (outerPar): use const iterators
2338         * paragraph_pimpl.C (validate): use const iterators
2339         * text.C (setHeightOfRow): use const iterators
2340
2341 2004-05-17  Angus Leeming  <leeming@lyx.org>
2342
2343         * lfuns.h:
2344         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2345
2346         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2347         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2348         if the citation engine has changed.
2349
2350 2004-05-14  José Matos  <jamatos@lyx.org>
2351
2352         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2353         if the textclass does not provide it. Have it different for sgml and
2354         xml.
2355         support the language of document.
2356         * output_docbook.C (docbookParagraphs):
2357         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2358         first anchor as the id of the paragraph, remove special case code.
2359         * sgml.C (escapeChar): escape only < & >.
2360
2361 2004-05-14  Angus Leeming  <leeming@lyx.org>
2362
2363         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2364         dependencies on src/frontends/controllers/biblio.h. Define a
2365         CiteEngine_enum wrapper class to enable the enum to be forward
2366         declared.
2367
2368 2004-05-12  Angus Leeming  <leeming@lyx.org>
2369
2370         * buffer.C: up LYX_FORMAT to 234.
2371         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2372         use_numerical_citations with a single biblio::CiteEngine cite_engine
2373         variable.
2374         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2375
2376 2004-05-13  José Matos  <jamatos@lyx.org>
2377
2378         * converter.h:
2379         * converter.C (Converter, readFlags): add xml member.
2380         * outputparams.h: add XML flavor.
2381         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2382
2383 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2384
2385         * lyxfunc.C (dispatch):
2386         (getStatus): fix handling of LFUN_SEQUENCE
2387
2388 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2389
2390         * debug.C (showLevel): do not forget the end-of-line marker
2391
2392 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2393
2394         * kbmap.C (read): do not stop parsing a bind file when an error
2395         occurs (bug 1575)
2396
2397 2004-04-29  Angus Leeming  <leeming@lyx.org>
2398
2399         * cursor.C:
2400         * factory.C:
2401         * pariterator.C:
2402         * text2.C: wrap a bunch of #warning statements
2403         inside #ifdef WITH_WARNINGS blocks.
2404
2405 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2406
2407         * buffer.C: increment format to 233.
2408
2409 2004-04-28  Angus Leeming  <leeming@lyx.org>
2410
2411         * BufferView_pimpl.C:
2412         * lyxfunc.C:
2413         * text3.C:
2414         s/updateToolbar()/updateToolbars()/
2415         s/Toolbar.h/Toolbars.h/
2416
2417 2004-04-28  Angus Leeming  <leeming@lyx.org>
2418
2419         * BufferView.[Ch] (c-tor):
2420         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2421         No longer passes these data to the WorkArea generator.
2422
2423 2004-04-28  Angus Leeming  <leeming@lyx.org>
2424
2425         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2426
2427 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2428
2429         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2430
2431 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2432
2433         * output_latex.C (TeXEnvironment): make sure that there is a line
2434         break before \end{foo} for the last paragraph of a document
2435         (TeXOnePar): if the paragraph is at the end of the document (or
2436         inset) and the language has to be reset, then make sure that the
2437         line break is _before_ the language command, not after (fixes bug
2438         1225); also make sure that the language reset command is the first
2439         thing after the paragraph (to ensure proper nesting of
2440         environments and thus fix bug 1404)
2441
2442 2004-04-21  John Levon  <levon@movementarian.org>
2443
2444         * ToolbarBackend.h:
2445         * ToolbarBackend.C: make "name" be a programmatic name
2446         and a gui_name field.
2447
2448         * lyxfunc.C: display the minibuffer on M-x
2449
2450 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2451
2452         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2453         (bug 1526)
2454
2455 2004-04-19  Angus Leeming  <leeming@lyx.org>
2456
2457         * BufferView_pimpl.C (setBuffer): changed preview interface.
2458
2459         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2460         possible values.
2461
2462 2004-04-19  John Levon  <levon@movementarian.org>
2463
2464         * BufferView_pimpl.C:
2465         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2466
2467 2004-04-05  Angus Leeming  <leeming@lyx.org>
2468
2469         * text.C (redoParagraphs): add call to updateCounters(), thereby
2470         fixing the missing "Figure #:" label from the caption of a
2471         figure float.
2472
2473 2004-04-13  Angus Leeming  <leeming@lyx.org>
2474
2475         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2476         cursor is clicked out of an inset.
2477
2478 2004-04-13  Angus Leeming  <leeming@lyx.org>
2479
2480         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2481         than an InsetOld one.
2482
2483 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2484
2485         * format.[Ch]: add editor to Format
2486         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2487         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2488
2489 2004-04-08  André Pönitz  <poenitz@gmx.net>
2490
2491         * metricsinfo.h: remove PainterInfo::width member
2492
2493 2004-04-08  Angus Leeming  <leeming@lyx.org>
2494
2495         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2496         "\providecommand" rather than "\newcommand", thereby preventing
2497         clashes with packages that define "\boldsymbol" themselves.
2498         Eg, beamer.
2499
2500 2004-04-08  Angus Leeming  <leeming@lyx.org>
2501
2502         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2503         thereby squashing an unnecessary warning.
2504
2505 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2506
2507         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2508         setBuffer()
2509
2510 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2511
2512         * BufferView.C (setCursor): call redoParagraph (some insets could
2513         have been opened)
2514         (putSelectionAt): remove the 'double update' trick
2515
2516         * BufferView_pimpl.C (fitCursor): call refreshPar
2517         (workAreaDispatch): remove an uneeded update call
2518         (dispatch): remove some manual update calls
2519
2520         * cursor.[Ch]: remove cached_y_, updatePos
2521         (selHandle): set noUpdate when appropriate
2522
2523         * lyxfunc.C (dispatch): track if we need an update
2524
2525         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2526
2527         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2528         (paintSelection): cheap optimization, do not call cursorX when not
2529         needed
2530         (paintPars): change signature
2531         (refreshPar): add
2532         (paintText): adjust
2533         (paintTextInset): adjust
2534
2535         * text.C: adjust
2536
2537 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2538
2539         * lengthcommon.C: compilation fix: remove explicit array size from
2540         unit_name[] and friends
2541
2542 2004-04-05  Angus Leeming  <leeming@lyx.org>
2543
2544         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2545
2546         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2547         present only for the preferences dialog.
2548         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2549
2550 2004-04-05  Angus Leeming  <leeming@lyx.org>
2551
2552         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2553         to enable the frontends to export changes to lyxrc correctly.
2554
2555         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2556
2557 2004-04-07  André Pönitz  <poenitz@gmx.net>
2558
2559         * cursor.[Ch] (selClear, adjust): remove math
2560
2561         * cursor_slice.C: more agressive assert
2562
2563         * lyxfunc.C:
2564         * BufferView_pimpl.C: rework mouse event dispatch
2565
2566         * dociterator.C:
2567         * paragraph.C:
2568         * text2.C:
2569         * text3.C: adjust
2570
2571 2004-04-05  André Pönitz  <poenitz@gmx.net>
2572
2573         * cursor.[Ch] (valign, halign...): remove unneeded functions
2574
2575 2004-04-05  Angus Leeming  <leeming@lyx.org>
2576
2577         * lyxlength.[Ch] (unit_name et al.): const-correct.
2578
2579 2004-04-05  Angus Leeming  <leeming@lyx.org>
2580
2581         * BufferView_pimpl.C:
2582         * buffer.C:
2583         * counters.C:
2584         * cursor.C:
2585         * lyxfunc.C
2586         * paragraph.C:
2587         * pariterator.C:
2588         * text.C:
2589         * text2.C:
2590         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2591
2592 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2593
2594         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2595
2596 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2597
2598         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2599         * BufferView_pimpl.[Ch] (getStatus)
2600         * BufferView.[Ch] (getStatus): add
2601         * lyxfunc.C (getStatus): move lfuns handled in
2602         BufferView::dispatch to te function above
2603         * Cursor.C (setSelection): set selection() = true
2604
2605 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2606
2607         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2608
2609 2004-03-31  Angus Leeming  <leeming@lyx.org>
2610
2611         * lyxfunc.C (dispatch): Fall through to the generic
2612         Dialogs::show("preamble").
2613
2614 2004-03-31  Angus Leeming  <leeming@lyx.org>
2615
2616         * lyxfunc.C (dispatch): Fall through to the generic
2617         Dialogs::show("spellchecker").
2618
2619 2004-03-31  Angus Leeming  <leeming@lyx.org>
2620
2621         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2622         preferences dialog.
2623
2624 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2625
2626         * BufferView.C
2627         * cursor.[Ch]
2628         * dociterator.[Ch]:
2629         * insetiterator.[Ch]:
2630         * lyxfind.C:
2631         * lyxfunc.C:
2632         * pariterator.[Ch]:
2633         * text2.C:
2634         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2635
2636 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2637
2638         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2639         insets where we are putting the cursor.
2640
2641 2004-03-31  Angus Leeming  <leeming@lyx.org>
2642
2643         * lfuns.h:
2644         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2645
2646         * lyxrc.[Ch] (read, write): overloaded member functions taking
2647         a std::[io]stream arguments.
2648
2649         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2650
2651 2004-03-31  Angus Leeming  <leeming@lyx.org>
2652
2653         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2654         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2655
2656         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2657         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2658
2659 2004-03-31  Angus Leeming  <leeming@lyx.org>
2660
2661         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2662         the LFUN_ALL_INSETS_TOGGLE code.
2663
2664 2004-03-30  Angus Leeming  <leeming@lyx.org>
2665
2666         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2667         has died. Fall through to the generic Dialogs::show("document").
2668
2669 2004-03-30  Angus Leeming  <leeming@lyx.org>
2670
2671         * lfuns.h:
2672         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2673         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2674
2675         * lyxfunc.C (getStatus, dispatch): define the actions for these
2676         lfuns. Little more than a cut and pste job from ControlDocument.C
2677
2678         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2679
2680 2004-03-30  Angus Leeming  <leeming@lyx.org>
2681
2682         * lfuns.h:
2683         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2684         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2685
2686         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2687         open/closed state of ollapsable insets. Usage:
2688
2689         all-inset-toggle <state> <name>, where
2690         <state> == "open" || "closed" || "toggle" and
2691         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2692
2693         * lyxtext.h, text2.C (toggleInset): removed.
2694
2695         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2696         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2697         now passes LFUN_INSET_TOGGLE to the found inset.
2698
2699         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2700         is now invoked as "all-insets-toggle toggle branch".
2701
2702 2004-03-30  Angus Leeming  <leeming@lyx.org>
2703
2704         * dociterator.C:
2705         * insetiterator.C:
2706         * pariterator.[Ch]: added/corrected header blurb.
2707
2708 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2709
2710         * dociterator.[Ch]: add an inset_ member
2711         (backwardPos): implemented
2712         (backwardPos, forwardPos): use inset_ when the stack is empty.
2713         (doc_iterator_begin, doc_iterator_end): implemented
2714         * pariterator.[Ch]: adjust, add begin, end
2715         * insetiterator.[Ch]: adjust, add begin, end
2716         * cursor.C:
2717         * document.C:
2718         * BufferView.C:
2719         * BufferView_pimpl.C:
2720         * CutAndPaste.C: adjust
2721
2722 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2723
2724         * buffer.C: increment file format to 232.
2725         * LaTeXFeatures.C: add bibtopic package.
2726         * bufferparams.[Ch]: param \use_bibtopic.
2727
2728         * lyxrc.[Ch]: add lyxrc bibtex_command
2729         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2730
2731         * buffer.C: increment file format to 231.
2732
2733 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2734
2735         * dociterator.C: implement forwardPar
2736         * iterators.[Ch]: remove, replaced by
2737         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2738         * BufferView.C:
2739         * BufferView_pimpl.C:
2740         * CutAndPaste.C:
2741         * buffer.C:
2742         * bufferview_funcs.C:
2743         * cursor.C:
2744         * lyxfind.C
2745         * lyxfunc.C
2746         * paragraph_funcs.C
2747         * toc.C:
2748         * Makefile.am: adjust
2749
2750 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2751
2752         * CutAndPaste.C (pasteSelection): fix 2 crashes
2753         (eraseSelection): fix a crash
2754         * paragraph_funcs.C: remove a warning
2755
2756 2004-03-28  Angus Leeming  <leeming@lyx.org>
2757
2758         * lfuns.h:
2759         * LyXAction.C (init): new LFUN_PRINT.
2760
2761         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2762
2763 2004-03-27  Angus Leeming  <leeming@lyx.org>
2764
2765         * lfuns.h:
2766         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2767
2768         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2769
2770 2004-03-27  Angus Leeming  <leeming@lyx.org>
2771
2772         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2773         insetlist always contains non-null pointers to insets.
2774
2775 2004-03-26  Angus Leeming  <leeming@lyx.org>
2776
2777         * src/BufferView_pimpl.C:
2778         * src/CutAndPaste.C:
2779         * src/buffer.C:
2780         * src/iterators.C:
2781         * src/output_plaintext.C:
2782         * src/outputparams.h:
2783         * src/paragraph_funcs.C:
2784         * src/rowpainter.C:
2785         * src/text.C:
2786         * src/text2.C:
2787         * src/frontends/controllers/ControlErrorList.C:
2788         * src/frontends/gtk/FileDialogPrivate.C:
2789         * src/frontends/gtk/GPainter.C:
2790         * src/frontends/gtk/GToolbar.C:
2791         * src/frontends/qt2/QRef.C:
2792         * src/mathed/math_scriptinset.C: squash compiler warnings.
2793
2794 2004-03-26  Angus Leeming  <leeming@lyx.org>
2795
2796         * ispell.C (LaunchIspell::start):
2797         * lyx_cb.C (AutoSaveBuffer::start):
2798         invoke run(DontWait) rather than runNonBlocking().
2799
2800 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2801
2802         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2803
2804 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2805
2806         * kbsequence.C (print): adjust
2807
2808         * kbmap.C (printKeySym): rename and change signature
2809         (printKey): use LyXKeySym::print()
2810
2811 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2812
2813         * undo.C: add using std::advance to compile for stlport
2814
2815 2004-03-24  Angus Leeming  <leeming@lyx.org>
2816
2817         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2818         it leads to a crash when no buffer is present.
2819
2820 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2821             Martin Vermeer  <martin.vermeer@hut.fi>
2822
2823         * lyxfunc.C (dispatch):
2824         * bufferparams.C (readToken): use the new LColor::setColor
2825
2826         * LColor.[Ch] (setColor): new version that takes two strings as
2827         argument and creates a new color entry if necessary
2828
2829 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2830
2831         * buffer.C (makeLaTeXFile): if the main latex file that is
2832         processed is usually a subdocument of some master, then pretend
2833         for a while that it is actually the master
2834
2835 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2836
2837         * buffer.C (getLabelList):
2838         (getBibkeyList): use getMasterBuffer()
2839         (getMasterBuffer): new method. Returns the main document in the
2840         case where one is using included documents.
2841
2842 2004-03-25  André Pönitz  <poenitz@gmx.net>
2843
2844         * Makefile.am:
2845         * iterators.[Ch]:
2846         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2847
2848         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2849
2850         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2851         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2852
2853         * ParameterStruct.h: merge with ParagraphParameters
2854
2855         * lyxtext.h: remove LyXText::parOffset() and getPar()
2856
2857         * text3.C: Remove all 'manual' update calls. We do now one per user
2858         interaction which is completely sufficient.
2859
2860         * Bidi.C:
2861         * BufferView.[Ch]:
2862         * BufferView_pimpl.C:
2863         * FontIterator.[Ch]:
2864         * MenuBackend.C:
2865         * ParagraphParameters.[Ch]:
2866         * buffer.C:
2867         * buffer.h:
2868         * bufferlist.C:
2869         * cursor.[Ch]:
2870         * cursor_slice.[Ch]:
2871         * dociterator.[Ch]:
2872         * errorlist.[Ch]:
2873         * factory.C:
2874         * lfuns.h:
2875         * lyxfind.C:
2876         * lyxfunc.C:
2877         * output_docbook.[Ch]:
2878         * output_latex.[Ch]:
2879         * output_linuxdoc.[Ch]:
2880         * output_plaintext.[Ch]:
2881         * paragraph.[Ch]:
2882         * paragraph_funcs.[Ch]:
2883         * paragraph_pimpl.[Ch]:
2884         * rowpainter.C:
2885         * tabular.[Ch]:
2886         * text.C:
2887         * text2.C:
2888         * toc.C:
2889         * undo.[Ch]: adjust
2890
2891         * frontends/controllers/ControlDocument.C:
2892         * frontends/controllers/ControlErrorList.C:
2893         * frontends/controllers/ControlSpellchecker.C:
2894         * insets/inset.C:
2895         * insets/inset.h:
2896         * insets/insetbase.h:
2897         * insets/insetbibitem.C:
2898         * insets/insetbox.C:
2899         * insets/insetbranch.C:
2900         * insets/insetcaption.C:
2901         * insets/insetcharstyle.C:
2902         * insets/insetcharstyle.h:
2903         * insets/insetcollapsable.C:
2904         * insets/insetcollapsable.h:
2905         * insets/insetert.C:
2906         * insets/insetfloat.C:
2907         * insets/insetfoot.C:
2908         * insets/insetmarginal.C:
2909         * insets/insetnote.C:
2910         * insets/insetoptarg.C:
2911         * insets/insettabular.C:
2912         * insets/insettext.C:
2913         * insets/insettext.h:
2914         * insets/insetwrap.C:
2915         * mathed/math_mboxinset.C:
2916         * mathed/math_nestinset.C:
2917         * mathed/math_scriptinset.C:
2918         * mathed/math_scriptinset.h:
2919         * support/types.h:
2920
2921 2004-03-24  Angus Leeming  <leeming@lyx.org>
2922
2923         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2924         deal with any child processes that have finished but are waiting to
2925         communicate this fact to the rest of LyX.
2926
2927 2004-03-24  Angus Leeming  <leeming@lyx.org>
2928
2929         64-bit compile fixes.
2930
2931         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2932         (c-tor): pass lyx::pos_types rather than ints.
2933
2934         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2935         lyx::pos_type.
2936
2937         * text.C (Delete): compile fix.
2938         (getPar): ensure that function declaration is the same as that in
2939         the header file.
2940
2941 2004-03-23  Angus Leeming  <leeming@lyx.org>
2942
2943         * ispell.C (LaunchIspell):
2944         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2945         a boost::shred_ptr rather than a std::auto_ptr.
2946
2947 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2948
2949         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2950         handle LFUN_FILE_INSERT_*
2951
2952         * lyxrc.C (setDefaults, getDescription, output, read):
2953         * lyxrc.h: remove ps_command
2954
2955 2004-03-22  Angus Leeming  <leeming@lyx.org>
2956
2957         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2958         Ensure that error_handler is processed once only and that all data
2959         is saved before attempting to output any warning messages.
2960
2961         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2962
2963 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2964
2965         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2966
2967 2004-03-19  André Pönitz  <poenitz@gmx.net>
2968
2969         * cursor.[Ch] (reset): take main text inset as argument
2970
2971         * BufferView: adjust
2972         * BufferView_pimpl.C: adjust
2973
2974         * paragraph.[Ch]: fix completely broken operator=()
2975
2976 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2977
2978         * LColor.C (getFromLyXName): make sure that the color name is used
2979         as lowercase.
2980
2981 2004-03-17  Angus Leeming  <leeming@lyx.org>
2982
2983         * lfuns.h:
2984         * LyXAction.C (init): remove LFUN_FORKS_KILL.
2985
2986         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2987         dialog and to kill a forked process.
2988
2989 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2990
2991         * text2.C (setCursorFromCoordinates): fix font problem
2992
2993 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
2994
2995         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2996         bogus "rebuild cursor" code
2997
2998 2004-03-11  André Pönitz  <poenitz@gmx.net>
2999
3000         * buffer.[Ch]: use InsetText instead of LyXText as container for
3001         the main lyx text.
3002
3003         * dociterator.[Ch]: drop the BufferView * member which is not needed
3004         anymore after the change to buffer.C
3005
3006         * paragraph_funcs.C:
3007         * text.C:
3008         * text2.C:
3009         * BufferView.[Ch]:
3010         * BufferView_pimpl.[Ch]:
3011         * cursor.[Ch]:
3012         * cursor_slice.[Ch]: adjust
3013
3014         * text3.C: fix bug in mathDispatch
3015
3016 2004-03-08  André Pönitz  <poenitz@gmx.net>
3017
3018         * undo.[Ch]: use 'StableDocumentIterator' as base for
3019         the Undo struct.
3020
3021 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3022
3023         * LaTeXFeatures.C:
3024         * bufferparams.[Ch]: add jurabib support and param.
3025
3026         * LaTeX.C: add FIXME/comment.
3027
3028 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3029
3030         * buffer.C: increment file format to 230.
3031
3032 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3033
3034         * cursor.C (dispatch): avoid infinite loops
3035
3036 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3037
3038         * rowpainter.C (paintSelection): fix x coordinates
3039
3040 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3041
3042         * text.C (rowBreakPoint): fix breaking before displayed insets
3043
3044 2004-03-01  André Pönitz  <poenitz@gmx.net>
3045
3046         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3047
3048         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3049
3050         * Makefile.am:
3051         * BufferView.C:
3052         * BufferView_pimpl.C:
3053         * buffer.C:
3054         * lyxfind.C:
3055         * lyxfunc.C:
3056         * text.C:
3057         * text2.C:
3058         * text3.C: adjust
3059
3060 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3061
3062         * lyxtext.h:
3063         * text.C:
3064         * text2.C:
3065         * rowpainter.C:
3066         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3067         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3068
3069 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3070
3071         * Bidi.[Ch] (computeTables): const correctness
3072         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3073         fill_hfill, fill_label_hfill and x from Row
3074         * lyxtext.h: prepareToPrint returns a RowMetrics
3075         * rowPainter.C: adjust
3076         * text.C (prepareToPrint): use width, not textWidth. adjust
3077         (redoParagraphInternal, cursorX): adjust
3078         * text2.C (getColumnNearX): adjust
3079         (init): put a default value to the top LyXText::width
3080
3081 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3082
3083         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3084
3085 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3086
3087         * lyxtext.h: add FontIterator class
3088
3089         * text.C (FontIterator, operator*, operator->, operator++): add
3090         (rowBreakPoint, setRowWidth): adjust (fixing a
3091         rebreaking bug)
3092
3093 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3094
3095         * BufferView_pimpl.C (workAreaDispatch): allow also
3096         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3097
3098 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3099
3100         * text.C (rowBreakPoint): fix a bug showing with very large insets
3101
3102 2004-02-25  André Pönitz  <poenitz@gmx.net>
3103
3104         * text3.C:
3105         * cursor.[Ch]: move some mathed specific code to mathed
3106
3107 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3108
3109         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3110         use_tempdir in preferences
3111         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3112         tempfile creation
3113         * lyx_main.C: ensure that tempdir is valid
3114         * lyxlex.h: correct typo
3115         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3116         * paragraph.[Ch] (isMultiLingual): make const
3117         * cursor.[Ch] (openable): make const
3118
3119 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3120
3121         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3122
3123 2004-02-20  André Pönitz  <poenitz@gmx.net>
3124
3125         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3126
3127         * cursor.[Ch]: prepare for localized getStatus()
3128
3129         * lyxtext.h:
3130         * tabular.C:
3131         * text.C:
3132         * text2.C:
3133         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3134
3135 2004-02-20  André Pönitz  <poenitz@gmx.net>
3136
3137         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3138
3139 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3140
3141         * text2.C (setCursorFromCoordinates): switch to absolute coords
3142         (cursorUp): adjust
3143         (cursorDown): adjust
3144         * text3.C (dispatch): adjust
3145
3146 2004-02-16  André Pönitz  <poenitz@gmx.net>
3147
3148         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3149           insets/ChangeLog)
3150
3151         * cursor_slice.[Ch]: remove unneeded acessor function
3152
3153         * lyxtext.h: rename rtl() to isRTL()
3154
3155         * rowpainter.C:
3156         * tabular.C:
3157         * text.C:
3158         * text2.C:
3159         * text3.C: adjust
3160
3161 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3162
3163         * rowpainter.C (paintSelection): coord fix
3164
3165 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3166
3167         * Spacing.C: compile fix
3168
3169 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3170
3171         * cursor.C (dispatch): restore current_ before returning
3172
3173 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3174
3175         * text2.C (cursorUp, cursorDown): fix coords
3176         (moveUp): fix crash
3177
3178 2004-02-12  André Pönitz  <poenitz@gmx.net>
3179
3180         * lyxtext.h:
3181         * text.C:
3182         * text2.C:
3183         * text3.C: add LCursor & parameter to most cursor movement functions
3184           remove usage of LyXText::cursorRow() and cursorPar()
3185
3186         * cursor.[Ch]: add textRow() needed members
3187
3188         * BufferView.C:
3189         * BufferView_pimpl.C:
3190         * paragraph.[Ch]:
3191         * BufferView.C:
3192         * BufferView_pimpl.C: adjust
3193
3194 2004-02-11  André Pönitz  <poenitz@gmx.net>
3195
3196         * lyxfunc.C:
3197         * BufferView.[Ch]:
3198         * BufferView_pimpl.C: shift undo/redo handling
3199
3200         * cursor.[Ch]: fix mathed crash
3201
3202         * lyxfind.C:
3203         * lyxtext.h: move selectionAsText to LCursor
3204
3205         * output_latex.C:
3206         * paragraph.C:
3207         * text.C:
3208         * text2.C:
3209         * text3.C: adjust
3210
3211         * rowpainter.C: fix excessive drawing
3212
3213 2004-02-06  André Pönitz  <poenitz@gmx.net>
3214
3215         * BufferView.[Ch]:
3216         * BufferView_pimpl.[Ch]:
3217         * text3.C: move some text specific LFUN handling
3218
3219 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3220
3221         * text3.C (checkInsetHit): adjust coords
3222         * text2.C (getColumnNearX): adjust coords
3223         (edit): adjust coords
3224         * text.C (getRowNearY): add two asserts
3225
3226 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3227
3228         * converter.C:
3229         * format.C: add using std::distance to compile on gcc 2.95/stlport
3230
3231 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3232
3233         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3234
3235 2004-02-04  André Pönitz  <poenitz@gmx.net>
3236
3237         * BufferView.[Ch] (insertInset):
3238         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3239
3240         * text2.C:
3241         * text3.C: adjust
3242
3243 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3244
3245         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3246         on the default clause of the switch
3247         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3248         wasn't catched by LCursor::dispatch
3249
3250 2004-02-03  André Pönitz  <poenitz@gmx.net>
3251
3252         * BufferView.C:
3253         * cursor.[Ch]: some additional asserts
3254
3255         * undo.[Ch]: remove LyXText dependency in interface
3256
3257         * lyxfunc.C: adjust
3258
3259         * lyxtext.h (firstPar, lastPar): remove dead functions
3260
3261         * text.C:
3262         * text2.C:
3263         * text3.C:
3264         * paragraph.[Ch]: adjust
3265
3266 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3267
3268         * lyxfind.C (find): fix argument order in call to ::find
3269
3270 2004-02-02  André Pönitz  <poenitz@gmx.net>
3271
3272         * cursor.[Ch]: remove direct access to anchor
3273
3274         * text.C: remove findText() hack
3275
3276 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3277
3278         * iterators.[Ch] (lockPath): remove in favour of...
3279         * BufferView.[Ch] (setCursor): this addition
3280         * BufferView.C (putSelectionAt): adjust
3281         * undo.C (performUndoOrRedo): adjust
3282         * lyxfunc.C (dispatch): adjust
3283
3284 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3285
3286         * iterators.C (lockPath): add a missing slice
3287         * undo.C (performUndoOrRedo): remove redundant positioning code
3288
3289 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3290
3291         * vc-backend.C (scanMaster): ";" -> ';'
3292
3293 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3294
3295         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3296         std::binary_function
3297
3298         * lyxtextclass.C (compare_name): rename to...
3299         (LayoutNamesEqual): ...this
3300
3301         * lyxlex_pimpl.C (compare_tags): inherit from
3302         std::binary_function, put back into anon namespace
3303
3304         * lyxfind.C (MatchString): inherig from std::binary_function
3305         (findChange): use empty() istead of !size()
3306
3307         * format.C (FormatNamesEqual): new functor
3308         (getFormat): use it
3309         (getNumber): use it
3310         (add): use it
3311         (erase): use it
3312         (setViewer): use it
3313
3314         * converter.C (compare_Converter): rename to...
3315         (ConverterEqual): ...this, and fixup a bit.
3316         (getConverter): use it, and make function const
3317         (getNumber): use it, and make function const
3318         (add): use it
3319         (erase): use it:
3320
3321         * bufferlist.C: add using boost::bind
3322
3323         * MenuBackend.C (MenuNamesEqual): new functor
3324         (hasMenu): use it, and make function const
3325         (hasSubmenu): use nested bind to get rid of compare_memfun.
3326
3327 2004-01-30  André Pönitz  <poenitz@gmx.net>
3328
3329         * BufferView_pimpl.C:
3330         * cursor.C:
3331         * cursor.h:
3332         * cursor_slice.[Ch]:
3333         * lyxfunc.C:
3334         * lyxtext.h:
3335         * paragraph_funcs.C:
3336         * paragraph_funcs.h:
3337         * rowpainter.C:
3338         * text.C:
3339         * text2.C:
3340         * text3.C: move some of the edit(x,y) handling to the insets
3341         some coordinate changes.
3342
3343 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3344
3345         * text.C: add using statements for std::advance and std::distance
3346
3347         * paragraph.C: add using statement for std::distance
3348
3349         * lyxfind.C: add using statement for std::advance
3350
3351         * cursor.C (region): remove std:: from swap
3352         (openable): use nucleus in stead of operator->
3353
3354         * BufferView.C: add using statements for std::distance and std::swap
3355
3356 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3357
3358         * iterators.C: Remove the pimple, move the needed structures to
3359         the header file. Create accessor for the positions stack.
3360         (asPosIterator): remove function
3361
3362         * PosIterator.C (PosIterator): move constructors to top of file
3363         (PosIterator): reimplement the constructor taking a ParIterator in
3364         terms of setFrom.
3365         (setFrom): new function
3366         (operator!=): inline it
3367
3368 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3369
3370         * lyxfind.C (replaceAll): use std::advance
3371
3372         * iterators.h: inherit from std::iterator.
3373
3374         * PosIterator.C (advance, distance): remove
3375         * PosIterator.h: interit from std::iterator.
3376
3377 2004-01-26  André Pönitz  <poenitz@gmx.net>
3378
3379         * BufferView.[Ch]:
3380         * BufferView_pimpl.[Ch]:
3381         * InsetList.[Ch]:
3382         * PosIterator.[Ch]:
3383         * buffer.h:
3384         * bufferview_funcs.C:
3385         * cursor.[Ch]:
3386         * cursor_slice.h:
3387         * factory.[Ch]:
3388         * iterators.[Ch]:
3389         * lyxfind.C:
3390         * lyxfunc.C:
3391         * lyxtext.h:
3392         * output_docbook.C:
3393         * output_latex.C:
3394         * output_linuxdoc.C:
3395         * output_plaintext.C:
3396         * paragraph.[Ch]:
3397         * paragraph_funcs.[Ch]:
3398         * paragraph_pimpl.[Ch]:
3399         * rowpainter.C:
3400         * tabular.C:
3401         * tabular.h:
3402         * text.C:
3403         * text2.C:
3404         * text3.C: more IU:  dumps most of the rest of the mathcursor
3405     implementation into cursor.[Ch]; "globalize" a bit of it.
3406
3407 2004-01-25  Angus Leeming  <leeming@lyx.org>
3408
3409         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3410
3411 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3412
3413         * LaTeXFeatures.h: add nice_ and nice() const
3414         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3415
3416 2004-01-20  André Pönitz  <poenitz@gmx.net>
3417
3418         * BufferView.[Ch]:
3419         * BufferView_pimpl.C:
3420         * PosIterator.C:
3421         * bufferview_funcs.C:
3422         * cursor.[Ch]:
3423         * cursor_slice.[Ch]:
3424         * factory.C:
3425         * iterators.C:
3426         * lyx_cb.C:
3427         * lyxfind.C:
3428         * lyxfunc.C:
3429         * lyxtext.h:
3430         * rowpainter.C:
3431         * text.C:
3432         * text2.C:
3433         * text3.C:
3434         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3435           LCursor and mathcursor parts to LCursor and InsetBase.
3436
3437 2004-01-15  André Pönitz  <poenitz@gmx.net>
3438
3439         * cursor_slice.[Ch]: add a few covienience functions
3440
3441         * funcrequest.[Ch]: remove BufferView * member
3442
3443         * BufferView_pimpl.C:
3444         * cursor.C:
3445         * factory.[Ch]:
3446         * lyxfind.[Ch]:
3447         * lyxfunc.C:
3448         * lyxtext.h:
3449         * text3.C:
3450         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3451
3452 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3453
3454         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3455         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3456
3457 2004-01-13  André Pönitz  <poenitz@gmx.net>
3458
3459         * textcursor.[Ch]:
3460         * lyxtext.h: hide cursor and selection anchor behind accessor function
3461
3462         * BufferView.C:
3463         * BufferView_pimpl.[Ch]:
3464         * PosIterator.C:
3465         * bufferview_funcs.C:
3466         * cursor.h:
3467         * lyxfind.C:
3468         * lyxfunc.C:
3469         * text.C:
3470         * text2.C:
3471         * text3.C:
3472         * undo.C: adjust
3473
3474         * cursor.h:
3475         * cursor_slice.[Ch]: some integer type changes for inset unification
3476
3477         * lyxcursor.[hC]: remove, it's CursorSlice now.
3478
3479         * Makefile.am:
3480         * BufferView_pimpl.[Ch]:
3481         * bufferview_funcs.C:
3482         * cursor_slice.C:
3483         * lyxtext.h:
3484         * text.C:
3485         * text2.C:
3486         * text3.C:
3487         * textcursor.[Ch]: adjust
3488
3489 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3490
3491         * text2.C (undoSpan): add and use
3492         * text.C (breakParagraph): use undoSpan (fix bug 578)
3493         * lyxtext.h: adjust
3494
3495 2004-01-08  Angus Leeming  <leeming@lyx.org>
3496
3497         * BufferView_pimpl.C (MenuInsertLyXFile):
3498         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3499         * lyxfunc.C (menuNew, open, doImport):
3500         FileFilterList change to the FileDialog open and save functions.
3501
3502 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3503
3504         * ShareContainer.h: make isEqual and isUnique adaptable
3505
3506         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3507
3508 2004-01-07  Angus Leeming  <leeming@lyx.org>
3509
3510         * LyXAction.C:
3511         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3512
3513         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3514
3515         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3516         functions replacing find, replace and replaceAll.
3517
3518         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3519         LFUN_WORDFIND(FORWARD|BACKWARD).
3520
3521 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3522
3523         * text.C (breakParagraph): remove an outdated #warning
3524
3525 2004-01-07  André Pönitz  <poenitz@gmx.net>
3526
3527         * lyxfind.C: somewhat clearer logic
3528
3529         * text.C: prevent crash in cursorX on unitialized row cache
3530
3531 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3532
3533         * lyxcursor.[Ch] (operator>): add
3534         * textcursor.C (selStart, selEnd): use std::min and std::max
3535
3536 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3537
3538         * Chktex.C: include boost/format.hpp
3539
3540 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3541
3542         * InsetList.C: replace functor MathcIt with adaptable functor
3543         InsetTablePosLess
3544         (insetIterator): modify accordingly
3545
3546         * BranchList.h: move the BranchNamesEqual functor here from...
3547         * BranchList.C: ... to here
3548
3549         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3550         SameName and match.
3551         (add): replace a finding loop with std::find_if.
3552
3553 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3554
3555         * output_docbook.C: moving LatexParam functionality into
3556         .layout files
3557
3558 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3559
3560         * buffer.C: increment format to 229.
3561
3562 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3563
3564         * LaTeXFeatures.C:
3565         * lyx_sty.[Ch]: remove minipageindent_def
3566
3567         * LyXAction.C:
3568         * factory.C:
3569         * lfuns.h:
3570         * lyxfunc.C:
3571         * text3.C: remove LFUN_INSET_MINIPAGE
3572
3573 2003-12-28  Angus Leeming  <leeming@lyx.org>
3574
3575         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3576
3577 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3578
3579         * text2.C (setParagraph): fix off-by-one crash
3580
3581 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3582
3583         * output_docbook.C: header stuff for AGU
3584
3585 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3586
3587         * text2.C (redoCursor): remove
3588         * text.C:
3589         * text3.C:
3590         * BufferView_pimpl.C: remove calls to redoCursor and
3591         setCursor(cursor.par(), cursor.pos()) all around
3592
3593 2003-12-15  Angus Leeming  <leeming@lyx.org>
3594
3595         * buffer.C: up the format to 228.
3596
3597 2003-12-15  André Pönitz  <poenitz@gmx.net>
3598
3599         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3600         slices
3601
3602         * Makefile.am:
3603
3604         * BufferView_pimpl.C:
3605         * cursor.[Ch]:
3606         * lyxcursor.[Ch]:
3607         * rowpainter.[Ch]:
3608         * lyxtext.h:
3609         * text.C:
3610         * text2.C:
3611         * text3.C: adjust
3612
3613 2003-12-15  Angus Leeming  <leeming@lyx.org>
3614
3615         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3616         than getFromGUIName to manipulate the color.
3617
3618 2003-12-14  Angus Leeming  <leeming@lyx.org>
3619
3620         * BranchList.[Ch]: minimize the API.
3621         (Branch::getBranch, getColor): now return a 'const &'.
3622         (Branch::setSelected) now returns a bool set to true if the
3623         selection status changes.
3624         (BranchList::clear, size, getColor, setColor, setSelected,
3625         allBranches, allSelected, separator): removed.
3626         (BranchList::find): new functions, returning the Branch with
3627         the given name.
3628         (BranchList::add, remove): return a bool indicating that
3629         the operation was successful.
3630
3631         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3632         new InsetBranch::isBranchSlected member function.
3633
3634         * LColor.[Ch]: mimimize the API.
3635         (fill): renamed as addColor and made private.
3636         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3637         versions of these functions taking a string arg have been removed.
3638
3639         * bufferparams.C (readToken):
3640         * lyxfunc.C (dispatch):
3641         * lyxrc.C (read): changes due to the altered BranchList and
3642         LColor APIs.
3643
3644         * factory.C (createInset, readInset): changes due to altered
3645         InsetBranch c-tor.
3646
3647 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3648
3649         * factory.C:
3650         * lyxfunc.C: remove insetminipage. "minipage-insert"
3651         now produces a frameless minipage box inset.
3652
3653 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3654
3655         * textcursor.[Ch] (selStart,selEnd): add new methods
3656         remove selection::start, end, use LyXCursor::operator<
3657         * lyxcursor.[Ch] (operator<): add
3658         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3659         * BufferView.[Ch] (unsetXSel): add
3660         * text2.C (clearSelection): use unsetXSel,adjust
3661         * text.C: adjust
3662         * text3.C: adjust
3663         * rowpainter.C: adjust
3664         * bufferview_funcs.C (put_selection_at): adjust
3665
3666 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3667
3668         * BufferView_pimpl.C: small coord. correction
3669
3670 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3671
3672         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3673         dragging over the splash screen.
3674
3675 2003-12-11  Angus Leeming  <leeming@lyx.org>
3676
3677         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3678         as it is now handled in LyXText::dispatch.
3679
3680         * text3.C (doInsertInset): remove a level of nesting.
3681
3682 2003-12-11  Angus Leeming  <leeming@lyx.org>
3683
3684         * factory.C (createInset): changes due to the changed interface to
3685         InsetCommandMailer::string2params.
3686
3687 2003-12-10  Angus Leeming  <leeming@lyx.org>
3688
3689         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3690         'dialog-show-new-inset <inset name>'
3691
3692 2003-12-10  Angus Leeming  <leeming@lyx.org>
3693
3694         * buffer.C: up the format to 227.
3695
3696         * factory.C: the box inset is now identified simply by 'Box'.
3697
3698 2003-12-10  Angus Leeming  <leeming@lyx.org>
3699
3700         * buffer.C: up the format to 226.
3701
3702         * factory.C: the note inset is now identified simply by 'Note'.
3703
3704 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3705
3706         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3707         when a pit is enough. Standarize a couple of loops.
3708
3709 2003-12-05  Angus Leeming  <leeming@lyx.org>
3710
3711         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3712         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3713         data to the re-worked "log" dialog.
3714
3715 2003-12-03  André Pönitz  <poenitz@gmx.net>
3716
3717         * PosIterator.C:
3718         * iterators.C:
3719         * lyxtext.h:
3720         * output_latex.C:
3721         * paragraph_funcs.C:
3722         * text.C:
3723         * text2.C: use Inset::getText instead of Inset::getParagraph
3724
3725 2003-12-03  André Pönitz  <poenitz@gmx.net>
3726
3727         * buffer.[Ch]:
3728         * lyxtext.h:
3729         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3730         InsetText::read() as LyXText::read()
3731
3732 2003-12-02  Angus Leeming  <leeming@lyx.org>
3733
3734         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3735         type. Add a comment in the implementation that the function uses
3736         the stream's bad() function rather than fail() as the std::streams
3737         would do.
3738
3739 2003-12-02  André Pönitz  <poenitz@gmx.net>
3740
3741         * lyxlex.[Ch]: make interface more similar to std::stream
3742
3743         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3744
3745 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3746
3747         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3748
3749 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3750
3751         * vspace.[Ch]: remove VSpace::NONE
3752
3753 2003-12-01  André Pönitz  <poenitz@gmx.net>
3754
3755         * buffer.[Ch]:
3756         * lyxtext.h: move ParagraphList member to LyXText
3757         rename LyXText::ownerParagraphs to LyXText::paragraph
3758
3759         * CutAndPaste.C:
3760         * bufferview_funcs.C:
3761         * iterators.[Ch]:
3762         * lyx_cb.C:
3763         * paragraph.C:
3764         * rowpainter.C:
3765         * tabular.C:
3766         * text.C:
3767         * text2.C:
3768         * text3.C: adjust
3769
3770         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3771
3772         * undo.C: fix cursor positioning
3773
3774 2003-12-01  John Levon  <levon@movementarian.org>
3775
3776         * BufferView_pimpl.C: fix a crash on exit with
3777         a buffer open
3778
3779 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3780
3781         * BranchList.C: fix setSelected() method.
3782
3783 2003-11-28  André Pönitz  <poenitz@gmx.net>
3784
3785         * ParagraphParameters.[Ch]:
3786         * ParameterStruct.h: remove space above/below from Paragraph to
3787          InsetVSpace
3788
3789         * BufferView_pimpl.C:
3790         * factory.C:
3791         * lyxfunc.C:
3792         * lyxtext.h:
3793         * output_latex.C:
3794         * paragraph.C:
3795         * paragraph_funcs.C:
3796         * rowpainter.[Ch]:
3797         * text.C:
3798         * text2.C:
3799         * text3.C: adjust
3800
3801 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3802
3803         * factory.C: Syntax change for CharStyles
3804
3805 2003-11-28  André Pönitz  <poenitz@gmx.net>
3806
3807         * BufferView.[Ch]:
3808         * BufferView.[Ch]:
3809         * buffer.[Ch]:
3810         * buffer.[Ch]: move LyXText member
3811
3812 2003-11-28  André Pönitz  <poenitz@gmx.net>
3813
3814         * BufferView.[Ch]: make LyXText * text a private member
3815
3816         * BufferView_pimpl.C:
3817         * cursor.C:
3818         * iterators.C:
3819         * lyx_cb.C:
3820         * lyxfind.C:
3821         * lyxtext.h:
3822         * rowpainter.[Ch]:
3823         * text.C:
3824         * text2.C:
3825         * undo.C: adjust
3826
3827         * output_plaintext.C: cleanup
3828
3829 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3830
3831         * buffer.C:
3832         * lyxtextclass.[Ch]: parametrize SGML document header
3833
3834 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3835
3836         * converter.[Ch]:
3837         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3838         getFlavor().
3839
3840 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3841
3842         * text2.C (setFont): rework using PosIterator (no more recursive)
3843         (setCharFont): no more needed
3844         (setLayout): no more selection cursors fiddling (done by redoCursor)
3845         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3846         destroy remaining ones)
3847
3848 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3849
3850         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3851         * lyxtext.h: ditto
3852         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3853         selection cursors
3854         * lyxfunc.C: adjust
3855         * text3.C: adjust + re-allow multi par depth changes
3856         * textcursor.C: simplify a bit
3857
3858 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3859
3860         * src/buffer.C:
3861         * src/lyxlayout.C:
3862         * src/lyxlayout.h:
3863         * src/lyxtext.h:
3864         * src/output_docbook.C:
3865         * src/output_latex.C:
3866         * src/paragraph.C:
3867         * src/paragraph.h:
3868         * src/sgml.C:
3869         * src/sgml.h:
3870         * src/text2.C: Introducing a number of tags parametrizing various
3871         XML formats that we may want to support
3872
3873 2003-11-25  André Pönitz  <poenitz@gmx.net>
3874
3875         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3876
3877         * lyxtext.h (leftMargin/rightMargin): simplify interface
3878
3879         * rowpainter.C:
3880         * text.C:
3881         * text2.C:
3882         * text3.C: adjust
3883
3884 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3885
3886         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3887         master file to any child files. Fixes bug 546.
3888
3889 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3890
3891         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3892
3893 2003-11-24  André Pönitz  <poenitz@gmx.net>
3894
3895         * rowpainter.C: simplification
3896
3897         * text2.C (updateCounters): remove call to redoParagraph on
3898         changed labels as this is far too expensive.
3899
3900 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3901
3902         * converter.C (convert): fix a crash: this function gets
3903         called with buffer == 0 from importer code.
3904
3905 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3906
3907         * text3.C (cursorPrevious): make sure that we do not compare
3908         iterators form different containers.
3909         (cursorNext): ditto
3910
3911         * rowpainter.C (paintSelection): make sure that we do not compare
3912         iterators from different containers.
3913
3914         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3915         iterators from different ParagraphList containers.
3916         [NEXT] ditto
3917
3918         * text2.C (LyXText): change order of initialization slightly
3919         (operator=): new function. copy all variables except cache_par_
3920         (moveUp): make sure that we do not compare iterators from
3921         different ParagraphList constainers.
3922         (moveDown): ditto
3923
3924         * text.C (firstPar): new function
3925         (lastPar): new function
3926         (endPar): new function
3927
3928         * lyxtext.h: move things around and group public functions, public
3929         variables, private functions, private variables
3930
3931 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3932
3933         * factory.C: change call to InsetERT constructor to avoid
3934         additional invocation of method status
3935         * text2.C (toggleInset): remove redundant update() call
3936         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3937         instead of a Bufferview pointer
3938
3939 2003-11-21  André Pönitz  <poenitz@gmx.net>
3940
3941         * rowpainter.C: simplification
3942
3943 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3944
3945         * text3.C (dispatch): make possible to extend a word/row selection
3946         with the mouse
3947
3948 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3949
3950         * lyxtext.h: x0_,y0_ -> xo_,yo_
3951         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3952         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3953         * rowpainter.C (paintRows): paint full paragraphs
3954
3955 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3956
3957         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3958         screen coordinates)
3959
3960 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3961
3962         * lyxtext.h: add x0_, y0_
3963         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3964         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3965
3966 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3967
3968         * text2.C (setCursorIntern): move the x_target update here *
3969         * text3.C: change some bv() to true/false in calls to
3970         cursorUp/Down/Right/Left
3971         * cursor.C: use helper function.
3972
3973 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3974
3975         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3976         * paragraph_funcs.[Ch]: correct comment
3977         * rowpainter.C: do not paint selections away from bv->cursor()
3978         Fix a long standing selection painting bug.
3979         * text3.C: generalize mouse-selection code to LyXTexts other that
3980         top one
3981         * textcursor.C: do not use y coords if we can use par offsets
3982
3983 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
3984
3985         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3986         cursor position after e.g. inset insert)
3987
3988 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
3989
3990         * lyxfind.C (replace): adjust to locking removal + some
3991         code simplification
3992
3993 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
3994
3995         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3996         of the path
3997
3998 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
3999
4000         * lyxlayout.[Ch]:
4001         * output_docbook.C: XML sanitation: new layout
4002         parameters InnerTag and CommandDepth
4003
4004 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4005
4006         * BufferView_pimpl.C:
4007         * factory.C:
4008         * text3.C: Fix the insertion and modification of button-style
4009         insets
4010
4011 2003-11-13  André Pönitz  <poenitz@gmx.net>
4012
4013         * InsetList.[Ch]: remove deleteLyXText
4014
4015         * paragraph.[Ch]: cache beginOfBody position
4016
4017         * Bidi.C:
4018         * text.C:
4019         * text2.C:
4020         * text3.C: remove superfluous update() calls
4021
4022         * vspace.C: cleanup
4023
4024 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4025
4026         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4027         * BufferView.C (fitLockedInsetCursor): remove
4028         * cursor.[Ch] (getDim): add
4029         * text.C (getRowNearY): add faster version
4030         * text3.C: remove some update calls
4031
4032 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4033
4034         * LaTeXFeatures.C:
4035         * LyXAction.C:
4036         * MenuBackend.C:
4037         * MenuBackend.h:
4038         * dispatchresult.h:
4039         * factory.C:
4040         * lfuns.h:
4041         * lyxfunc.C:
4042         * lyxtextclass.C:
4043         * lyxtextclass.h:
4044         * text3.C: The Character Style /XML short element patch.
4045
4046 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4047
4048         * text3.C:
4049         * factory.C: Small step to solving 'unable to insert some insets'
4050         problem
4051
4052 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4053
4054         * cursor.[Ch] (updatePos): new function for updating the y
4055         position of the tip inset
4056         * bufferview_funcs.C (put_selection_at):
4057         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4058
4059 2003-11-11  André Pönitz  <poenitz@gmx.net>
4060
4061         * text.C: remove big comment on invalid Paragraph pointers as it is
4062         not valid anymore
4063
4064 2003-11-11  André Pönitz  <poenitz@gmx.net>
4065
4066         * text_funcs.[Ch]: merge with ...
4067
4068         * text.C: ... this
4069
4070         * lyxtext.h:
4071         * text2.C:
4072         * text3.C: adjust
4073
4074         * Makefile.am: remove text_funcs.[Ch]
4075
4076 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4077
4078         * cursor.C (getPos): return absolute cached y coord
4079
4080         * BufferView_pimpl.C (fitCursor): new simplistic code
4081         (workAreaDispatch): add a fitCursor call
4082
4083 2003-11-10  André Pönitz  <poenitz@gmx.net>
4084
4085         * BufferView.[Ch]:
4086         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4087
4088 2003-11-10  André Pönitz  <poenitz@gmx.net>
4089
4090         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4091         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4092         indicate that the cursor needs to leave an inset
4093
4094         * lyxtext.h: remove inset locking
4095
4096         * cursor.[Ch]: re-implement functionality provided by inset locking
4097
4098         * BufferView.[Ch]:
4099         * BufferView_pimpl.[Ch]:
4100         * LyXAction.C:
4101         * bufferview_funcs.[Ch]:
4102         * factory.C:
4103         * funcrequest.[Ch]:
4104         * iterators.C:
4105         * lyx_cb.C:
4106         * lyxfind.C:
4107         * lyxfunc.C:
4108         * text.C:
4109         * text2.C:
4110         * text3.C:
4111         * undo.C: adjust
4112
4113 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4114
4115         * PosIterator.[Ch]: replace the stack with a vector, add inset
4116         accesor
4117         * iterators.[C]: adjust
4118
4119 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4120
4121         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4122         replaced
4123         * paragraph_funcs.C (readParToken): put the correct id in the
4124         error item, not the id of the top paragraph
4125
4126 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4127
4128         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4129         * bufferview_funcs.C (put_selection_at): use the above
4130
4131 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4132
4133         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4134
4135 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4136
4137         * output_linuxdoc.h:
4138         * output_plaintext.h:
4139         * output.h:
4140         * output_docbook.h: add #include statements
4141
4142 2003-11-05  José Matos  <jamatos@lyx.org>
4143
4144         * output_docbook.[Ch]:
4145         * output_latex.[Ch]:
4146         * output_linuxdoc.[Ch]:
4147         * output_plaintext.[Ch]: New files for output formats.
4148         * output.[Ch]: New file for helper functions.
4149
4150         * buffer.[Ch]:
4151         * paragraph_funcs.[Ch]: output functions moved to new files.
4152
4153         * outputparams.h: rename of latexrunparams.h
4154
4155         * LaTeX.[Ch]:
4156         * buffer.[Ch]:
4157         * bufferlist.[Ch]:
4158         * converter.[Ch]:
4159         * exporter.C:
4160         * paragraph.[Ch]:
4161         * paragraph_funcs.[Ch]:
4162         * paragraph_pimpl.[Ch]:
4163         * tabular.[Ch]: rename ascii to plaintext
4164         and LatexRunParams to OutputParams.
4165
4166 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4167
4168         * iterators.[Ch] (text): require bv argument
4169         * undo.C (recordUndo):
4170         * lyxfunc.C (dispatch):
4171         * bufferview_funcs.C (put_selection_at): adjust
4172
4173 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4174
4175         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4176
4177 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4178
4179         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4180         nestings
4181
4182 2003-11-04  André Pönitz  <poenitz@gmx.net>
4183
4184         * cursor.[Ch]: restructure
4185
4186         * BufferView.[Ch]:
4187         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4188
4189         * iterators.[Ch] (asCursor): remove
4190
4191         * lfuns.h: remove LFUN_INSET_EDIT
4192
4193         * lyxfunc.C:
4194         * tabular.C:
4195         * text.C:
4196         * text2.C:
4197         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4198
4199 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4200
4201         * lyxfind.[Ch]: complete overhaul
4202         * BufferView_pimpl.C:
4203         * lyxfunc.C: adjust
4204         * paragraph.[Ch] (insert): add
4205
4206 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4207
4208         * BufferView.[Ch]:
4209         * lyxtext.h:
4210         * text.C: remove dead spellcheck code
4211
4212 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4213
4214         * dispatchresult.h: add a val setter
4215
4216         * cursor.C (dispatch): use a tempvar for data_[i]
4217
4218 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4219
4220         * PosIterator.[Ch]: compile fix
4221
4222 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4223
4224         * text.C (cursorPar): deactivate the cursor cache
4225
4226 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4227
4228         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4229
4230 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4231
4232         * text3.C (dispatch): adjust for new DisptchResult semantics.
4233
4234         * lyxfunc.C (dispatch): handle update when return from
4235         Cursor::dispatch, adjust for new DispatchResult semantics.
4236
4237         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4238         DispatchResult(true) mean to not update. Add class functions for
4239         setting dispatched and update, as well as reading.
4240
4241         * cursor.C (dispatch): don't handle update here
4242
4243 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4244
4245         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4246         * trans_mgr.C: adjust
4247
4248         * paragraph_funcs.C (readParToken): exception safety
4249
4250         * lyxvc.h: store the vcs pointer in a scoped_ptr
4251         * lyxvc.C: adjust
4252
4253         * lyxsocket.C (serverCallback): exception safety
4254
4255         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4256
4257         * ispell.C (clone): make it return a auto_ptr
4258
4259         * factory.C (createInset): exception safety
4260         (readInset): exception safety
4261
4262         * bufferlist.C (newBuffer): exception safety
4263
4264         * Thesaurus.C (Thesaurus): use initialization for aik_
4265
4266         * MenuBackend.C (expandToc): exception safety.
4267
4268 2003-11-03  André Pönitz  <poenitz@gmx.net>
4269
4270         * buffer.C:
4271         * buffer.h:
4272         * bufferview_funcs.C: remove getInsetFromId()
4273
4274         * lyxcursor.[Ch]:
4275         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4276
4277         * lyxfunc.C:
4278         * text2.C:
4279         * text3.C: adjust
4280
4281 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4282
4283         * PosIterator.C (distance, advance): new
4284         * bufferview_funcs.[Ch] (put_selection_at): new
4285         * iterators.[Ch] (lockPath): new
4286
4287 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4288
4289         * iterators.[Ch] (asPosIterator): added
4290         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4291         * PosIterator.[Ch]: added
4292
4293 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4294
4295         * text3.C:
4296         * lyxfunc.C:
4297         * cursor.C (dispatch):
4298         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4299
4300         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4301         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4302         contructor, add a class function dispatched. Remove operator>=
4303
4304 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4305
4306         * debug.C: only use the default constructor for debugstream
4307         (lyxerr) here.
4308
4309         * main.C (main): include debug.h and setup the lyxerr streambuf
4310         here.
4311
4312 2003-10-31  José Matos  <jamatos@lyx.org>
4313
4314         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4315
4316         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4317         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4318         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4319         * paragraph_pimpl.C (simpleTeXSpecialC):
4320         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4321         add LatexRunParams argument.
4322
4323         * exporter.C (Export): change call accordingly.
4324
4325         * latexrunparams.h: add new member to take care of the other backends.
4326 2003-10-30  José Matos  <jamatos@lyx.org>
4327
4328         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4329         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4330         factorise code for paragraph output.
4331         * buffer.[Ch]:
4332         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4333         move functions.
4334
4335 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4336
4337         * text3.C (dispatch):
4338         * lyxfunc.C (dispatch):
4339         * cursor.C (dispatch):
4340         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4341
4342         * dispatchresult.h: make the dispatch_result_t ctor explicit
4343
4344 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4345
4346         * sgml.[Ch]:
4347         * buffer.C: small refactoring of docbook stuff
4348
4349 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4350
4351         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4352         meaning.
4353
4354 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4355
4356         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4357         operator dispatch_result_t, and operators for == != and >=
4358
4359         * cursor.C (dispatch): adjust for operator dispatch_result_t
4360         removal. comment out call to update
4361
4362         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4363
4364 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4365
4366         * text3.C:
4367         * text2.C:
4368         * text.C:
4369         * lyxtext.h:
4370         * lyxfunc.C:
4371         * cursor.C:
4372         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4373         (dispatch):
4374
4375         * dispatchresult.h: new file, DispatchResult broken out of
4376         insets/insetbase.h
4377
4378         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4379
4380 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4381
4382         * text.C (rowBreakPoint): put a hack inside #if 0
4383
4384 2003-10-28  André Pönitz  <poenitz@gmx.net>
4385
4386         * lyxtext.h:
4387         * metricsinfo.C:
4388         * paragraph_funcs.C:
4389         * rowpainter.C:
4390         * text.C:
4391         * text2.C: general cleanup (lots of small stuff)
4392
4393 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4394
4395         * text2.C (cursorEnd): simple fix to the "end key goes to one
4396         before the end on last row" bug
4397
4398 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4399
4400         * text.C (backspace): fix the "zombie characters"
4401
4402 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4403
4404         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4405
4406 2003-10-27  André Pönitz  <poenitz@gmx.net>
4407
4408         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4409
4410         * factory.C: handle new InsetPagebreak, InsetLine
4411
4412         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4413         and move handling into new InsetPagebreak, InsetLine
4414
4415         * BufferView_pimpl.C:
4416         * LyXAction.C:
4417         * ParagraphParameters.C:
4418         * ParameterStruct.h:
4419         * lyxfunc.C:
4420         * lyxtext.h:
4421         * paragraph.C:
4422         * paragraph.h:
4423         * paragraph_funcs.C:
4424         * paragraph_pimpl.C:
4425         * rowpainter.C:
4426         * text.C:
4427         * text2.C:
4428         * text3.C: adjust
4429
4430 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4431
4432         * text.C:
4433         * lyxrow_funcs.[Ch]:
4434         * Bidi.C:
4435         * paragraph.C:
4436         * lyxtext.h:
4437         * rowpainter.C:
4438         * text2.C:
4439         * text3.C: remove lastPos uses in favour of Row::endpos
4440
4441 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4442
4443         * undo.C (performUndoOrRedo): fix two crashes by setting a
4444         cursor by hand and reordering some calls. Use bv->lockInset instead
4445         of inset->edit because the latter loses cursor information
4446
4447 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4448
4449         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4450         by Martin
4451         (rowBreakPoint): fix width. change point to point + 1.
4452         Add a missing check.
4453
4454 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4455
4456         * MenuBackend.C:
4457         * lyxfunc.C: fix (at least partly) the problems
4458         with the Nav menu and headers inside branch insets
4459         reported by Kayvan
4460
4461 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4462
4463         * paragraph.C (getChar): add strong asserts
4464
4465         * lyxrow_funcs.C (lastPos): remove hideous hack
4466
4467         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4468         (fill): adjust to that (avoid an infinite loop)
4469
4470 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4471
4472         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4473
4474 2003-10-23  André Pönitz  <poenitz@gmx.net>
4475
4476         * RowList_fwd.h: change list<> to vector<> to gain speed
4477         after suggestion from Alfredo
4478
4479 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4480
4481         * lyxtext.h: move the bidi stuff from here...
4482         * text.C: and here
4483         * text2.C: and here
4484         * Bidi.[Ch]: ... to here
4485
4486 2003-10-23  André Pönitz  <poenitz@gmx.net>
4487
4488         * lyxtext.h:
4489         * text.C (isLastRow, isFirstRow): new functions
4490
4491         * paragraph.h: new width cache member
4492
4493         * rowpainter.C: replace RowList::iterator with Row & where possible
4494
4495         * lyxfunc.C: replace several view()->text with a single call
4496
4497         * toc.C: fix 'unused' warning
4498
4499 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4500
4501         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4502         when woring with stream::pos_type
4503         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4504
4505 2003-10-22  André Pönitz  <poenitz@gmx.net>
4506
4507         * lyxtext.h:
4508         * text.C: use Row & instead of RowList::iterator
4509
4510         * lyxrow.h: rename end() to endpos()
4511
4512         * rowpainter.C:
4513         * text.C:
4514         * text2.C: adjust
4515
4516 2003-10-22  Angus Leeming  <leeming@lyx.org>
4517
4518         * buffer.[Ch] (fully_loaded): new member function, returning true
4519         only when the file has been loaded fully.
4520         Used to prevent the premature generation of previews and by the
4521         citation inset to prevent computation of the natbib-style label.
4522
4523         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4524         templates are all set up.
4525
4526         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4527
4528 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4529
4530         * text.C: fixed an "oops" in the "is a bit silly"
4531         bug fix
4532
4533 2003-10-21  André Pönitz  <poenitz@gmx.net>
4534
4535         * FuncStatus.[Ch]: small stuff, whitespace
4536
4537         * lyxfont.[Ch]: operator<<() for debug reasons
4538
4539         * lyxfunc.C:
4540         * lyxrow_funcs.C:
4541         * lyxtext.h: whitespace, spelling
4542
4543         * paragraph.C: naming of variables
4544
4545         * text.C:
4546         * text2.C: small stuff
4547
4548
4549 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4550
4551         * text.C: (1) finish off the inset display() work;
4552         (2) fix the "is a bit silly" bug (accessing char
4553         past end of par).
4554
4555 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4556
4557         * text.C: re-introduce display() for insets, fixing the
4558         various bugs (stretch of line above, math inset
4559         positioning, ...)
4560
4561 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4562
4563         * text.C (rightMargin): remove spurious semicolon
4564
4565         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4566         1415)
4567
4568 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4569
4570         * text3.C: fix one crash due to wrong cursor def
4571
4572 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4573
4574         * vc-backend.C (scanMaster): make the regex static
4575
4576         * LaTeX.C (scanAuxFile): make the regexs static
4577
4578         * text3.C (doInsertInset, dispatch, dispatch):
4579         * text2.C (cursorUp, cursorDown):
4580         * text.C (selectNextWordToSpellcheck):
4581         * BufferView_pimpl.C (dispatch):
4582         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4583
4584 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4585
4586         * lyxsocket.C: include <cerrno>
4587
4588 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4589
4590         * lyxfunc.C (dispatch): remove textcache stuff
4591
4592         * bufferlist.C (release): remove textcache stuff
4593         (closeAll): ditto
4594
4595         * TextCache.C: delete file
4596         * TextCache.h: delete file
4597
4598         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4599
4600         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4601         delete of the bv_->text.
4602         (resizeCurrentBuffer): remove texcache stuff
4603         (workAreaResize): ditto
4604
4605 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4606
4607         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4608         action.
4609
4610 2003-10-16  André Pönitz  <poenitz@gmx.net>
4611
4612         * lyxrow.[Ch]:
4613         * paragraph.h:
4614         * rowpainter.C:
4615         * text.C:
4616         * text2.C:
4617         * text3.C: speed up by storing y positions per paragraph plus per-row
4618         offset instead of having a 'full' y position in the row.
4619
4620 2003-10-15  André Pönitz  <poenitz@gmx.net>
4621
4622         * iterators.[Ch]:
4623         * iterators.[Ch]:
4624         * undo.[Ch]: make undo aware of inner insets
4625
4626 2003-10-14  Angus Leeming  <leeming@lyx.org>
4627
4628         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4629         static member functions LyX::ref() and LyX::cref.
4630         (lastfiles): new accessor functions for the new lastfiles_ member var.
4631         (addLyXView, views_): add a new LyXView to the list of views_.
4632         (updateInset): loop over all LyXViews to call their own updateInset
4633         member function, returning a pointer to the Buffer owning the inset.
4634
4635         * BufferView_pimpl.C (loadLyXFile):
4636         * MenuBackend.C (expandLastfiles):
4637         * bufferlist.C (MenuWrite, QuitLyX):
4638         lastfiles is no longer a global variable.
4639         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4640
4641         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4642         static function. Access through LyX::cref().emergencyCleanup().
4643
4644 2003-10-14  André Pönitz  <poenitz@gmx.net>
4645
4646         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4647
4648         * undo.[Ch]: restoring part of 'undo in insets'
4649
4650         * Makefile.am:
4651         * undo_funcs.[Ch]: merge with undo.[Ch]
4652
4653         * tabular.C: small cleansing stuff
4654
4655 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4656
4657         * paragraph_funcs.C (readParToken): report unknown insets as error
4658         boxes. Use the outer paragraph as location (also for unknown
4659         tokens).
4660
4661         * factory.C (readInset): do not abort on reading an unknown inset.
4662         Eat it and return 0.
4663
4664 2003-10-13  Angus Leeming  <leeming@lyx.org>
4665
4666         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4667
4668         * lyxrc.C: displayTranslator is now a function,
4669         declared in GraphicsTypes.h.
4670
4671 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4672
4673         * format.C: new placeholder $$a to pass the socket address.
4674
4675         * bufferlist.[Ch]: new function getBufferFromTmp.
4676
4677         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4678           files in the temporary dir.
4679
4680 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4681
4682         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4683
4684         * Makefile.am: add lyxsocket.[Ch].
4685
4686         * lyx_main.C (error_handler): handle SIGPIPE.
4687
4688 2003-10-13  André Pönitz  <poenitz@gmx.net>
4689
4690         * BufferView_pimpl.C:
4691         * lyxtext.h:
4692         * text.C:
4693         * text2.C:
4694         * text3.C:
4695         * undo_funcs.[Ch]: use paroffset_type instead of
4696           ParagraphList::iterators to prevent multiple conversion
4697           (and get a more robust interface)
4698
4699 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4700
4701         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4702         * lyxtext.h: ditto
4703         * text3.C (dispatch): ditto
4704
4705 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4706
4707         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4708         move the onlyfile, use onlyfile instead of foundfile in a couple
4709         of places.
4710
4711         * DepTable.C (update): flush the error stream a bit more
4712
4713 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4714
4715         * lyxserver.C (callback): adjust
4716
4717         * lyxfunc.C (getStatus): add a missing brace in commented code
4718         (ensureBufferClean): reindent
4719         (dispatch): delete version taking a string
4720
4721 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4722
4723         * LaTeX.C (deplog): move found file handlig from here...
4724         (handleFoundFile): .. to new function here.
4725         (deplog): make sure to discover several files mentioned on the
4726         same log line.
4727
4728 2003-10-10  André Pönitz  <poenitz@gmx.net>
4729
4730         * lyxfunc.C:
4731         * lyxtext.h:
4732         * tabular.C:
4733         * text.C:
4734         * text2.C:
4735         * text3.C: fix some of the tabular crashes
4736
4737 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4738
4739         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4740
4741         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4742
4743 2003-10-09  André Pönitz  <poenitz@gmx.net>
4744
4745         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4746
4747         * BufferView.C:
4748         * BufferView_pimpl.C:
4749         * bufferview_funcs.C:
4750         * lyx_cb.C:
4751         * lyxcursor.C:
4752         * lyxfind.C:
4753         * lyxfunc.C:
4754         * lyxtext.h:
4755         * text.C:
4756         * text2.C:
4757         * text3.C:
4758         * text_funcs.[Ch]:
4759         * textcursor.[Ch]:
4760         * undo_funcs.C: adjust
4761
4762 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4763
4764         * text2.C (incrementItemDepth): new function, use a backtracking
4765         algorithm to discover the correct item depth.
4766         (resetEnumCounterIfNeeded): new function, use a backtracking
4767         algorithm to discover if counter reset is needed.
4768         (setCounter): use them. Simplify a bit. Add different labels for
4769         different item depths for itemize.
4770
4771         * paragraph.C (Paragraph): remove initialization of enumdepth
4772         (operator=): ditto
4773
4774         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4775         enumerate and itemize. Change the type of itemdepth to signed char.
4776
4777 2003-10-08  André Pönitz  <poenitz@gmx.net>
4778
4779         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4780           thing assignable.
4781         * text.C:
4782         * text2.C: adjust
4783
4784         * tabular.[Ch]: fix crash after 'row-insert'
4785
4786 2003-10-08  Angus Leeming  <leeming@lyx.org>
4787
4788         Fix doxygen warnings.
4789
4790         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4791         Remove CutAndPaste:: prefix from header file declaration.
4792
4793         * LColor.h (fill): remove LColor:: prefix from declaration.
4794
4795         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4796         use lyx::depth_type rather than Paragraph::depth_type so that
4797         header file and .C file match.
4798
4799         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4800
4801         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4802         * aspell.C: \file aspell_local.C -> \file aspell.C
4803         * gettext.C: \file gettext.C -> \file src/gettext.C
4804         * gettext.h: \file gettext.h -> \file src/gettext.h
4805         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4806         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4807         * text.C: \file text.C -> \file src/text.C
4808
4809         * toc.C: move comment so that doxygen is not confused.
4810
4811 2003-10-07  Angus Leeming  <leeming@lyx.org>
4812
4813         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4814
4815 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4816
4817         * aspell.C:
4818         * aspell_local.h: add forgotten std::string's.
4819
4820 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4821
4822         * LaTeXFeatures.C:
4823         * LyXAction.C:
4824         * factory.C:
4825         * lfuns.h:
4826         * lyxfunc.C:
4827         * text3.C: The Box patch. Fancybox support, minipage, parbox
4828
4829 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4830
4831         * CutAndPaste.h:
4832         * DepTable.h:
4833         * FloatList.h:
4834         * LaTeXFeatures.h:
4835         * ParagraphParameters.h:
4836         * TextCache.h:
4837         * Thesaurus.h:
4838         * bufferlist.h:
4839         * exporter.h:
4840         * importer.h:
4841         * lastfiles.h:
4842         * lyxfind.h:
4843         * lyxfont.h:
4844         * lyxlex.h:
4845         * lyxtextclasslist.h:
4846         * messages.h:
4847         * paragraph.h:
4848         * paragraph_pimpl.C:
4849         * textcursor.h: add <string> and other small fixes to make Lars'
4850         std::string patch compile with STLport.
4851
4852 2003-10-06  Angus Leeming  <leeming@lyx.org>
4853
4854         * LColor.h: Add missing #include <string>.
4855
4856 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4857
4858         * All most all file in all subdirs: Make <string> be the prefered
4859         way of getting to std::string, add using declarations.
4860
4861 2003-10-06  André Pönitz  <poenitz@gmx.net>
4862
4863         * metricsinfo.C: initialize LyXFont before changing attribute.
4864         (fixes the 'math in \emph is upright' bug)
4865
4866 2003-10-06  André Pönitz  <poenitz@gmx.net>
4867
4868         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4869
4870 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4871
4872         * graph.C:
4873         * paragraph_pimpl.C: Small fixes to build using STLport
4874
4875 2003-10-02  André Pönitz  <poenitz@gmx.net>
4876
4877         * lyxfunc.C:
4878         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4879
4880 2003-10-01  André Pönitz  <poenitz@gmx.net>
4881
4882         * factory.C: assert early
4883
4884 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4885
4886         * lyx_main.C: remove the global debug object
4887
4888         * debug.h: adjust for new debugstream
4889
4890         * debug.C: adjust for new debugstream and keep the global debug
4891         object here.
4892
4893 2003-09-22  Angus Leeming  <leeming@lyx.org>
4894
4895         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4896         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4897         an incomplete class LyXFont.
4898
4899 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4900
4901         * factory.C: bug fix in branches
4902
4903 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4904
4905         * lyxfunc.C (processKeySym): adjust
4906         (dispatch): adjust
4907         (dispatch): change arg name from ev to func, adjust
4908         (sendDispatchMessage): ditto
4909
4910         * lyx_main.C (defaultKeyBindings): adjust keybindings
4911         (deadKeyBindings): ditto
4912
4913         * kbsequence.C (addkey): return a FuncRequest
4914
4915         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4916
4917         * kbmap.C (bind): take a FuncRequest as arg, adjust
4918         (read): adjust
4919         (lookup): adjust
4920         (defkey): change to take a FuncRequest as arg, adjust
4921         (findbinding): take a FuncRequest as arg, adjust.
4922
4923         * funcrequest.h (operator=): added
4924
4925         * funcrequest.C (FuncRequest): default kb_action changed from
4926         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4927
4928         * buffer.C (dispatch): simplify
4929         (dispatch): adjust to take a FuncRequest as arg, adjust
4930
4931         * boost.C (assertion_failed): change assertion message slightly
4932
4933         * ToolbarBackend.C (read): simplify
4934
4935         * MenuBackend.C (binding): adjust call to findbinding, add a
4936         message if no binding is found.
4937         (read): simplify
4938         (expandToc): correct by adding a empty FuncRequest
4939
4940         * LyXAction.C: include <boost/assert.hpp>
4941         (isPseudoAction): delete function
4942         (LookupFunc): change name to...
4943         (lookupFunc): this. change return type to FuncRequest.
4944         (getActionName): take kb_action as arg, simplify
4945         (funcHasFlag): add an assert, simplify.
4946
4947 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4948
4949         * toc.C (action): return a FuncRequest, simplify
4950
4951         * lyxfunc.C (processKeySym): adjust
4952         (getStatus): delete version that takes an int.
4953         (getStatus): adjust
4954         (dispatch): delete version that takes action as int
4955         (dispatch): adjust
4956         (sendDispatchMessage): simplify and adjust
4957
4958         * funcrequest.C (getArg): take unsigned int as arg
4959
4960         * ToolbarBackend.C (read): adjust
4961         (add): delete version that takes func as a string.
4962         (getIton): take a FuncRequest as arg
4963
4964         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4965         action.
4966
4967         * MenuBackend.C (MenuItem): add a new construct that only takes a
4968         Kind, simplify the constructor use for submenus.
4969         (add): adjust
4970         (expandLastfiles): adjust
4971         (expandDocuments): adjust
4972         (expandFormats): adjust
4973         (expandFloatListInsert): adjust
4974         (expandFloatInsert): adjust
4975         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4976
4977         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4978         Remove class variables lyx_pseudo_map and lyx_arg_map
4979
4980         * LyXAction.C (searchActionArg): delete function
4981         (getPseudoAction): delete function
4982         (retrieveActionArg): delete function
4983         (LookupFunc): make it return kb_action, simplify.
4984         (getActionName): simplify
4985
4986         * factory.C (createInset): fix new bug
4987
4988 2003-09-19  Angus Leeming  <leeming@lyx.org>
4989
4990         * CutAndPaste.C (pasteSelection): remove fudge used to set the
4991         masterFilename_ parameter in the include inset.
4992
4993         * factory.C (createInset): changes due to the changes to InsetInclude.
4994
4995 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4996
4997         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4998
4999 2003-09-18  Angus Leeming  <leeming@lyx.org>
5000
5001         * buffer.C:
5002         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5003         Inset::fillWithBibKeys.
5004         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5005
5006 2003-09-18  Angus Leeming  <leeming@lyx.org>
5007
5008         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5009         variables.
5010         (ctor): pass and store a 'Buffer const &'
5011         (buffer): new member function.
5012
5013         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5014         '*this' to the LaTeXFeatures ctor.
5015
5016 2003-09-18  Angus Leeming  <leeming@lyx.org>
5017
5018         * LColor.h:
5019         * lyxfont.C:
5020         * lyxfont.h:
5021         * lyxtext.h:
5022         * text.C: rename EnumLColor as LColor_color.
5023
5024 2003-09-18  Angus Leeming  <leeming@lyx.org>
5025
5026         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5027         remove #include "insets/insetbase.h" from cursor.h.
5028
5029 2003-09-18  Angus Leeming  <leeming@lyx.org>
5030
5031         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5032         InsetOld_code to remove #include "inset.h".
5033
5034         * iterators.C: add #include "insets/inset.h"
5035
5036 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5037
5038         * BufferView.C: remove more locking stuff that apparently doesn't
5039         do anything sensible.
5040
5041 2003-09-16  André Pönitz  <poenitz@gmx.net>
5042
5043         * paragraph.[Ch]:
5044         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5045           performance boost.
5046
5047 2003-09-16  Angus Leeming  <leeming@lyx.org>
5048
5049         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5050
5051         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5052         arg/return type.
5053
5054         * paragraph.h: remove #include "lyxfont.h". Forward declare
5055         LyXFont_size.
5056
5057 2003-09-16  Angus Leeming  <leeming@lyx.org>
5058
5059         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5060         of support/textutils.h.
5061         (isWord): move the contents of support/textutils.h's IsWordChar here.
5062
5063         * buffer.C:
5064         * lyxfind.C:
5065         * rowpainter.C:
5066         * text.C:
5067         * text2.C: add #include "paragraph.h".
5068
5069         * rowpainter.C:
5070         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5071
5072 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5073
5074         * main.C:
5075         * lyx_main.C:
5076         * lyx_cb.C:
5077         * buffer.C:
5078         * LaTeX.C: use namespace alias for lyx::support::os
5079
5080 2003-09-16  Angus Leeming  <leeming@lyx.org>
5081
5082         * bufferparams.C:
5083         * bufferview_funcs.C:
5084         * factory.C:
5085         * lyxfunc.C:
5086         * paragraph_pimpl.C:
5087         * rowpainter.C:
5088         * text.C: add #include "LColor.h".
5089
5090 2003-09-16  Angus Leeming  <leeming@lyx.org>
5091
5092         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5093         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5094         return LyXFont &.
5095         Store the FontBits::color variable as an int rather than as an
5096         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5097         file.
5098
5099         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5100         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5101         string calls together.
5102
5103         * lyxrc.C: add #include "LColor.h".
5104
5105 2003-09-15  Angus Leeming  <leeming@lyx.org>
5106
5107         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5108         a cow_ptr.
5109
5110 2003-09-15  Angus Leeming  <leeming@lyx.org>
5111
5112         * LColor.h: add an EnumLColor wrapper for LColor::color.
5113
5114         * lyxfont.[Ch] (color, setColor, realColor):
5115         * lyxtext.h, text.C (backgroundColor):
5116         pass EnumLColor args to/from the functions, rather than LColor::color
5117         ones.
5118
5119         * lyxfont.h:
5120         * lyxtext.h: forward declare EnumLColor.
5121
5122         * lyx_main.C: add #include "LColor.h".
5123
5124 2003-09-15  Angus Leeming  <leeming@lyx.org>
5125
5126         * .cvsignore: add lyx-gtk.
5127
5128 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5129
5130         * Chktex.C
5131         * LaTeX.C
5132         * LaTeXFeatures.C
5133         * ParagraphParameters.C
5134         * Spacing.C
5135         * buffer.C
5136         * bufferparams.C
5137         * bufferview_funcs.C
5138         * chset.C
5139         * counters.C
5140         * funcrequest.C
5141         * lyxfont.C
5142         * lyxgluelength.C
5143         * lyxlength.C
5144         * paragraph.C
5145         * paragraph_funcs.C
5146         * text3.C
5147         * vc-backend.C: remove usage of STRCONV
5148
5149 2003-09-15  Angus Leeming  <leeming@lyx.org>
5150
5151         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5152         explicitly define the color passed to the painter.
5153
5154 2003-09-15  Angus Leeming  <leeming@lyx.org>
5155
5156         * bufferparams.C (BufferParams): reorder member initializers to avoid
5157         compiler warning.
5158
5159 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5160
5161         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5162         * text.C (updateRowPositions): remove an unusual nop
5163
5164 2003-09-12  André Pönitz  <poenitz@gmx.net>
5165
5166         * BufferView_pimpl.C:
5167         * Bullet.C:
5168         * layout.h:
5169         * lyxfunc.C:
5170         * lyxlayout.[Ch]:
5171         * lyxtextclass.C:
5172         * rowpainter.C:
5173         * text.C:
5174         * text2.C:
5175         * Counters.[Ch]: finish the 'automatic counters' job
5176
5177 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5178
5179         * aspell.C: include <boost/assert.cpp> (compile fix)
5180
5181 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5182
5183         * boost.C (assertion_failed): use lyx::support::abort instead of
5184         assert.
5185
5186 2003-09-10  Angus Leeming  <leeming@lyx.org>
5187
5188         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5189         with their _fwd progeny.
5190
5191 2003-09-09  Angus Leeming  <leeming@lyx.org>
5192
5193         134 files throughtout the source tree: replace 'using namespace abc;'
5194         directives with the appropriate 'using abc::xyz;' declarations.
5195
5196 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5197
5198         * boost.C (emergencyCleanup): moved here from LAssert.c
5199         (assertion_failed): new function, called by BOOST_ASSERT
5200
5201         * several files: change Assert to BOOST_ASSERT
5202
5203 2003-09-09  Angus Leeming  <leeming@lyx.org>
5204
5205         * buffer.[Ch]: Add an Impl class and move Buffer's member
5206         variables into it. As a result move several header files out of
5207         buffer.h.
5208
5209         Add header files to lots of .C files all over the tree as a result.
5210
5211 2003-09-09  Angus Leeming  <leeming@lyx.org>
5212
5213         * buffer.[Ch]: make Buffer's member variables private. Add
5214         accessor functions.
5215
5216         Lots of changes all over the tree as a result.
5217
5218 2003-09-08  Angus Leeming  <leeming@lyx.org>
5219
5220         * graph.C: #include <config.h>.
5221
5222 2003-09-08  Angus Leeming  <leeming@lyx.org>
5223
5224         * BranchList.C:
5225         * BufferView.C:
5226         * BufferView_pimpl.C:
5227         * CutAndPaste.C:
5228         * DepTable.C:
5229         * LaTeX.C:
5230         * LaTeXFeatures.C:
5231         * LyXAction.C:
5232         * MenuBackend.C:
5233         * TextCache.C:
5234         * aspell.C:
5235         * buffer.C:
5236         * bufferlist.C:
5237         * changes.C:
5238         * chset.C:
5239         * converter.C:
5240         * counters.C:
5241         * debug.C:
5242         * graph.C:
5243         * ispell.C:
5244         * lyx_cb.C:
5245         * lyxfind.C:
5246         * lyxfunc.C:
5247         * lyxlex_pimpl.C:
5248         * lyxrc.C:
5249         * lyxrow.C:
5250         * paragraph.C:
5251         * rowpainter.C:
5252         * texrow.C:
5253         * text.C:
5254         * text2.C:
5255         * toc.C: remove redundant using directives.
5256
5257 2003-09-07  Angus Leeming  <leeming@lyx.org>
5258
5259         * LaTeXFeatures.h: remove #include "support/types.h".
5260         * ToolbarBackend.h: remove #include <algorithm>.
5261         * changes.h: remove #include <ctime>.
5262         * debug.h: remove #include <iosfwd>.
5263         * graph.h: remove #include "support/std_string.h".
5264         * lyx_main.h: remove #include <csignal>.
5265         * lyxlex_pimpl.h: remove #include <fstream>.
5266         * sgml.h: remove #include <algorithm>, <utility>.
5267         * toc.h: remove #include "support/std_ostream.h".
5268         Add #include <iosfwd>.
5269
5270 2003-09-07  Angus Leeming  <leeming@lyx.org>
5271
5272         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5273
5274         * converter.h: forward declare LatexRunParams.
5275         * encoding.h: remove #include "lyxrc.h".
5276         * lyxtext.h: remove #include "LColor.h".
5277         * lyxtextclass.h: remove #include "support/types.h".
5278         * trans.h: remove #include "tex-accent.h".
5279         * trans_mgr.h: remove #include "tex-accent.h".
5280         * insets/inset.h: remove #include "support/types.h", <vector>.
5281         * insets/insetcollapsable.h: remove #include "LColor.h".
5282         * insets/insetinclude.h: remove #include "dimension.h".
5283         * insets/insetlatexaccent.h: remove #include "dimension.h".
5284         * insets/insetoptarg.h:: remove #include "insettext.h".
5285         * insets/insettext.h: remove #include "dimension.h",
5286         <boost/shared_ptr.hpp>
5287
5288         * insets/renderers.h: add #include "dimension.h".
5289         * insets/updatableinset.h: add #include "support/types.h".
5290
5291         * many .C files: Associated changes.
5292
5293 2003-09-06  Angus Leeming  <leeming@lyx.org>
5294
5295         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5296         one, inside testInvariant.
5297
5298         * PrinterParams.C: new file.
5299         * PrinterParams.[Ch]: move the function bodies out of line.
5300
5301 2003-09-06  Angus Leeming  <leeming@lyx.org>
5302
5303         * ParagraphParameters.h: forward declare ParameterStruct rather than
5304         including its header file.
5305         (depth): moved out-of-line.
5306
5307 2003-09-06  Angus Leeming  <leeming@lyx.org>
5308
5309         * BufferView_pimpl.h:
5310         * kbmap.h:
5311         * kbsequence.h:
5312         * lyxfunc.h: forward declare LyXKeySym rather than
5313         #include "frontends/LyXKeySym.h".
5314
5315         * BufferView_pimpl.C:
5316         * kbmap.C:
5317         * kbsequence.C:
5318         * lyxfunc.C: associated changes.
5319
5320 2003-09-06  Angus Leeming  <leeming@lyx.org>
5321
5322         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5323         As a result, can remove the #include "insets/inset.h" from BufferView.h
5324
5325 2003-09-06  Angus Leeming  <leeming@lyx.org>
5326
5327         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5328         As a result, can remove the #include "insets/inset.h" from BufferView.h
5329
5330 2003-09-06  Angus Leeming  <leeming@lyx.org>
5331
5332         * buffer_funcs.C:
5333         * buffer.h:
5334         * bufferlist.C:
5335         * BufferView.C:
5336         * bufferview_funcs.C:
5337         * BufferView_pimpl.C:
5338         * CutAndPaste.C:
5339         * lyx_cb.C:
5340         * lyxfunc.C:
5341         * paragraph.h:
5342         * ParagraphParameters.C:
5343         * tabular.C:
5344         * text3.C:
5345         * toc.C:
5346         * undo_funcs.C:
5347         * frontends/controllers/ControlDocument.C:
5348         * insets/insetcaption.C: rearrange the #includes into some sort of
5349         coherent order.
5350
5351         * buffer.h: remove #includes ErrorList.h, undo.h
5352
5353 2003-09-06  Angus Leeming  <leeming@lyx.org>
5354
5355         * support/types.h: add a 'depth_type' typedef, used to store the
5356         nesting depth of a paragraph.
5357
5358         * paragraph.h:
5359         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5360         defining explicitly.
5361
5362         * buffer.h:
5363         * paragraph_funcs.h:
5364         * ParagraphParameters.h:
5365         * sgml.h: use lyx::depth_type rather than Paragraph or
5366         ParameterStruct's depth_type.
5367
5368         * buffer.h
5369         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5370
5371         * BufferView.C:
5372         * BufferView_pimpl.C:
5373         * CutAndPaste.C:
5374         * ParagraphParameters.C:
5375         * buffer_funcs.C:
5376         * bufferlist.C:
5377         * bufferview_funcs.C:
5378         * lyx_cb.C:
5379         * lyxfunc.C:
5380         * tabular.C:
5381         * text3.C:
5382         * toc.C:
5383         * undo_funcs.C:
5384         * frontends/LyXView.C:
5385         * frontends/controllers/ControlDocument.C:
5386         * frontends/controllers/ControlErrorList.C:
5387         * insets/insetbibitem.C:
5388         * insets/insetbranch.C:
5389         * insets/insetcaption.C:
5390         * insets/insetcollapsable.C:
5391         * insets/insetenv.C:
5392         * insets/insetert.C:
5393         * insets/insetfloat.C:
5394         * insets/insetfoot.C:
5395         * insets/insetfootlike.C:
5396         * insets/insetnewline.C:
5397         * insets/insetquotes.C:
5398         * insets/insettabular.C:
5399         * insets/insettext.C:
5400         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5401
5402         * frontends/controllers/ControlChanges.C: #include "changes.h".
5403
5404 2003-09-06  Angus Leeming  <leeming@lyx.org>
5405
5406         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5407         than #including paragraph.h.
5408
5409         * ParagraphList.h:
5410         * RowList.h: deleted. Superfluous.
5411
5412         * CutAndPaste.h:
5413         * iterators.h:
5414         * lyxcursor.h:
5415         * lyxtext.h:
5416         * text_funcs.h:
5417         * undo.h:
5418         * undo_funcs.h:
5419         * insets/inset.h:
5420         * insets/insettext.h: use ParagraphList_fwd.h rather than
5421         ParagraphList.h.
5422
5423         * paragraph.h: don't forward declare ParagraphList.
5424
5425         * buffer.h:
5426         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5427         rather than ParagraphList.h. paragraph.h is still needed for the
5428         Paragraph::depth_type parameters.
5429
5430         * textcursor.h: enable it to compile stand-alone in light of the
5431         above changes.
5432
5433         * bufferview_funcs.C:
5434         * iterators.C:
5435         * lyxfunc.C:
5436         * lyxrow_funcs.C:
5437         * paragraph.C:
5438         * rowpainter.C:
5439         * text.C:
5440         * text2.C:
5441         * text3.C:
5442         * text_funcs.C:
5443         * textcursor.C:
5444         * undo.C:
5445         * frontends/controllers/ControlParagraph.C:
5446         * frontends/controllers/ControlTabular.C:
5447         * insets/insetmarginal.C:
5448         * insets/insetminipage.C:
5449         * insets/insetnote.C:
5450         * insets/insetoptarg.C: add header files needed to compile again.
5451
5452 2003-09-06  Angus Leeming  <leeming@lyx.org>
5453
5454         * RowList_fwd.h: new file, forward-declaring Row rather than
5455         #including lyxrow.h.
5456
5457         * lyxrow_funcs.h:
5458         * lyxtext.h:
5459         * paragraph.h:
5460         * insets/insettext.h: use it instead of RowList.h
5461
5462         * bufferview_funcs.C:
5463         * lyxfunc.C:
5464         * lyxrow_funcs.C:
5465         * paragraph.C:
5466         * rowpainter.C:
5467         * text.C:
5468         * text2.C:
5469         * text3.C: #include "RowList.h".
5470
5471 2003-09-05  Angus Leeming  <leeming@lyx.org>
5472
5473         * factory.C (createInset):
5474         * vspace.C (c-tor): replace sscanf call with an istringstream.
5475         * ispell.C: re-add missing HP/UX headers.
5476         * lyxserver.C: re-add missing  os2 headers.
5477
5478 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5479
5480         * BranchList.C:
5481         * graph.C:
5482         * ispell.C:
5483         * lastfiles.C:
5484         * lyx_cb.C:
5485         * lyxserver.C:
5486         * texrow.C:
5487         * text3.C: re-add missing system headers, needed for 2.95.2.
5488
5489 2003-09-05  Angus Leeming  <leeming@lyx.org>
5490
5491         Changes most place everywhere due to the removal of using directives
5492         from support/std_sstream.h.
5493
5494 2003-09-05  Angus Leeming  <leeming@lyx.org>
5495
5496         Replace LString.h with support/std_string.h,
5497         Lsstream.h with support/std_sstream.h,
5498         support/LIstream.h with support/std_istream.h,
5499         support/LOstream.h with support/std_ostream.h.
5500
5501         Changes resulting throughout the tree.
5502
5503 2003-09-05  Angus Leeming  <leeming@lyx.org>
5504
5505         * sgml.h: ensure that the header file can be compiled stand-alone.
5506         * *.C: strip out redundant #includes. (320 in total.)
5507
5508 2003-09-04  Angus Leeming  <leeming@lyx.org>
5509
5510         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5511         here (from getPackages).
5512
5513         * debug.[Ch]: add a new EXTERNAL tag.
5514
5515 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5516
5517         * text2.C (cursorEnd): simplify
5518         (setCursor): adjust
5519         (getColumnNearX): adjust
5520
5521         * text.C (computeBidiTables): adjust
5522         (fill): adjust
5523
5524         * rowpainter.C (paintChars): adjust
5525         (paintSelection): adjust
5526         (paintChangeBar): adjust
5527         (paintText): adjust
5528
5529         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5530         lastPos instead.
5531         (numberOfSeparators): adjust
5532
5533 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5534
5535         * LyXAction.C:
5536         * box.[Ch]:
5537         * lfuns.h:
5538         * lyxfunc.C:
5539         * text3.C: Restricts the mouse click functionality
5540         of insets like bibtex, include, toc and floatlist to the visible
5541         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5542         up the dialogs. Cursor has to be in front of the inset (i.e.
5543         start of row) for this to function.
5544
5545 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5546
5547         * bufferview_funcs.C (currentState): output row information
5548
5549 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5550
5551         * bufferview_funcs.C (currentState): output paragraph position
5552
5553 2003-09-04  Angus Leeming  <leeming@lyx.org>
5554
5555         * FloatList.h: move out #include "Floating.h".
5556         * LaTeX.h: move out #include "DepTable.h".
5557         * LyXAction.h: move out #include "funcrequest.h".
5558         * buffer.h: move out #include "author.h", "iterators.h".
5559         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5560         * lyx_main.h: move out #include "errorlist.h".
5561         * lyxfunc.h: move out #include "FuncStatus.h".
5562         * lyxtext: move out #include "lyxcursor.h".
5563         * paragraph_pimpl.h: move out #include "counters.h".
5564
5565 2003-09-03  Angus Leeming  <leeming@lyx.org>
5566
5567         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5568         preamble_snippets list, enabling us to add snippets to the preamble
5569         only if the snippet was not there already.
5570
5571 2003-09-04  Angus Leeming  <leeming@lyx.org>
5572
5573         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5574
5575 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5576
5577         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5578         update
5579
5580 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5581
5582         * BranchList.C: point fix, earlier forgotten
5583
5584 2003-09-02  Angus Leeming  <leeming@lyx.org>
5585
5586         * box.C (contains): renamed from 'contained' after a fantastic
5587         amount of hot air.
5588
5589 2003-09-02  John Levon  <levon@movementarian.org>
5590
5591         * BufferView.C:
5592         * lyxcursor.h:
5593         * lyxcursor.C:
5594         * lyxfunc.C:
5595         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5596
5597 2003-09-02  John Levon  <levon@movementarian.org>
5598
5599         * text2.C: simplification of cursorEnd(), including partial
5600         fix for bug 1376
5601
5602 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5603
5604         * buffer.C (readFile): add a space
5605
5606 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5607
5608         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5609
5610 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5611
5612         * buffer.C (readFile): new function, take a filename and a
5613         ParagraphList::iterator
5614         (readFile): adjust
5615         (readFile): adjust, make it private. don't use setStream, make
5616         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5617         always contain the filename.
5618
5619         * BufferView.C (insertLyXFile): simplify and make it work for
5620         gzipped files.
5621
5622 2003-08-30  John Levon  <levon@movementarian.org>
5623
5624         * Makefile.am: fix dist (from Kayvan)
5625
5626 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5627
5628         * most files: change to use const Buffer refs
5629
5630 2003-08-27  André Pönitz  <poenitz@gmx.net>
5631
5632         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5633         on top of ownerPar().
5634
5635 2003-08-27  John Levon  <levon@movementarian.org>
5636
5637         * funcrequest.C: properly initialise POD members
5638
5639 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5640
5641         * lyxtext.h (top_y): move top_y from here
5642         * text.C:
5643         * text2.C:
5644         * text3.C:
5645         * BufferView.[Ch]:
5646         * BufferView_pimpl.[Ch]: to here
5647         * frontends/screen.C:
5648         * insets/insettabular.C:
5649         * insets/insettext.C: adjust
5650         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5651
5652 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5653
5654         * BufferView.[Ch]:
5655         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5656
5657 2003-08-26  André Pönitz  <poenitz@gmx.net>
5658
5659         * paragraph_func.[Ch] (outerPar): new function
5660
5661         * paragraph.C:
5662         * paragraph_funcs.C:
5663         * paragraph_funcs.h:
5664         * paragraph_pimpl.C:
5665         * text2.C: remove Inset::par_owner
5666
5667 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5668
5669         * lyxrow_funcs.C:
5670         * lyxtext.h:
5671         * text.C:
5672         * text2.C: eliminates the needFullRow/display() stuff
5673         altogether, putting the logic in metrics/draw in the insets.
5674
5675 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5676
5677         * text2.C (redoParagraphInternal, redoParagraphs):
5678         * text.C (redoParagraph): add a call to updateRowPositions at the
5679         end of each 'metrics-like' call. Remove all others.
5680         (getRow): remove the 'y-computing' version.
5681         (getRowNearY): do not compute nor return the real y. Solve the
5682         'y < 0' problem and simplify.
5683
5684 2003-08-22  Angus Leeming  <leeming@lyx.org>
5685
5686         * *.[Ch]: clean-up of licence and author blurbs.
5687         Also move config.h out of a few .h files and into a few .C files.
5688
5689 2003-08-22  André Pönitz  <poenitz@gmx.net>
5690
5691         * lyxrow.[Ch]: add x_ and *fill_ members
5692
5693         * lyxtext.h:
5694         * text.C:
5695         * rowpainter.C:
5696         * text2.C: adjust/remove prepareToPrint() calls
5697
5698 2003-08-22  André Pönitz  <poenitz@gmx.net>
5699
5700         * lyxrow.[Ch]: add  end_ member
5701
5702         * lyxrow_funcs.C: use LyXRow::end_
5703
5704         * lyxtext.h (singleWidth): add LyXFont parameter
5705
5706         * rowpainter.C:
5707         * text2.C: adjust LyXText::singleWidth() calls
5708
5709         * text.C (redoParagraph): simplify row breaking logic
5710
5711
5712 2003-08-19  André Pönitz  <poenitz@gmx.net>
5713
5714         * funcrequest.C: initialize button_ member
5715
5716         * text3.C:
5717         * rowpainter.[Ch]: interface consolidation
5718
5719 2003-08-18  André Pönitz  <poenitz@gmx.net>
5720
5721         * BufferView.C:
5722         * BufferView_pimpl.C:
5723         * lyxfind.C:
5724         * paragraph_funcs.C:
5725         * rowpainter.C:
5726         * text3.C: remove LyXScreen::draw() and fitCursor calls
5727
5728         * BranchList.h: remove spurious semicolons
5729
5730         * MenuBackend.C: fix branchlist related crash
5731
5732 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5733
5734         * BranchList.[Ch]:
5735         * InsetList.[Ch]:
5736         * LColor.[Ch]:
5737         * LyXAction.C:
5738         * Makefile.am:
5739         * MenuBackend.[Ch]:
5740         * bufferparams.[Ch]:
5741         * factory.C:
5742         * lfuns.h:
5743         * lyxfunc.C:
5744         * text3.C: implements the 'branch inset'
5745         idea. This allows the output of various versions of a document
5746         from a single source version, selectively outputing or suppressing
5747         output of parts of the text.
5748         This implementation contains a 'branch list editor' in a separate
5749         tab of the document settings dialog. Branches are user definable
5750         and have a "display colour" to distinguish them on-screen.
5751
5752         ColorHandler was somewhat cleaned up.
5753         (1) make possible a dynamically growing LColor list by allowing
5754         the graphic context cache to grow along (vector);
5755         (2) eliminate an IMHO unnecessary step in colour allocation.
5756
5757 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5758
5759         * BufferView_pimpl.C: compile fix
5760
5761 2003-08-15  André Pönitz  <poenitz@gmx.net>
5762
5763         * rowpainter.C: remove extra metrics calls
5764
5765         * lyxtext.h: merge the two constructors into a single one,
5766           pass reference to owner's par list
5767
5768         * BufferView_pimpl.C:
5769         * text.C:
5770         * text2.C: adjust
5771
5772 2003-08-15  André Pönitz  <poenitz@gmx.net>
5773
5774         * lyxrow_funcs.[Ch]:
5775         * lyxtext.h:
5776         * paragraph.h:
5777         * paragraph_funcs.C:
5778         * rowpainter.C:
5779         * text.C:
5780         * text2.C:
5781         * text3.C:
5782         * text_funcs.C: split LyXText::rowlist_ into individual
5783         Paragraph::rows_ chunks
5784
5785         * BufferView.[Ch]:
5786         * BufferView_pimpl.[Ch]:
5787         * lyxfind.C:
5788         * lyxtext.h:
5789         * text3.C: remove toggleSelection()
5790
5791 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5792
5793         * bufferlist.C: beautify two alerts (shorter text of buttons)
5794         * buffer.C: Remove redundant ' ' from message
5795         * tabular.h:
5796         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5797         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5798         rename VALIGN_CENTER to VALIGN_MIDDLE
5799
5800 2003-08-11  André Pönitz  <poenitz@gmx.net>
5801
5802         * lyxtext.h (getPar):
5803         * text.C: new function
5804
5805 2003-08-11  André Pönitz  <poenitz@gmx.net>
5806
5807         * Makefile.am:
5808         * tracer.[Ch]: remove unneeded files
5809
5810         * InsetList.[Ch]: remove resizeInsetsLyXText()
5811
5812         * lyxtext.h:
5813         * text.C:
5814         * text2.C:
5815         * text3.C: merge insertParagraphs() and appendParagraph()
5816         remove breakAgain(), update()
5817
5818         * BufferView_pimpl.[Ch]:
5819         * bufferview_funcs.[Ch]:
5820         * lyxfunc.C:
5821         * paragraph.[Ch]:
5822         * rowpainter.C:
5823         * tabular.C: adjust after text & InsetList changes.
5824
5825 2003-08-08  André Pönitz  <poenitz@gmx.net>
5826
5827         * text.C (insertChar, backspace): replace rowlist fiddling
5828         with rebreak of full par
5829
5830         * lyxtext.h:
5831         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5832         checkParagraph, updateInset): removed
5833
5834 2003-08-07  André Pönitz  <poenitz@gmx.net>
5835
5836         * paragraph.C:
5837         * text3.C: merge some LFUN handlers, remove dead code
5838
5839 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5840
5841         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5842
5843 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5844
5845         * text2.C (DEPM): fix part of bug 1255 and 1256
5846
5847 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5848
5849         * BufferView_pimpl.C (workAreaDispatch): change to use
5850         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5851         that are no mouse related.
5852
5853 2003-08-05  André Pönitz  <poenitz@gmx.net>
5854
5855         * BufferView.[Ch]:
5856         * BufferView_pimpl.[Ch]:
5857         * bufferview_funcs.C:
5858         * text2.C:
5859         * text3.C: rip out "deep update"
5860
5861         * textcursor.[Ch] (last_sel_cursor): remove unused member
5862
5863 2003-08-04  André Pönitz  <poenitz@gmx.net>
5864
5865         * BufferView.[Ch]:
5866         * BufferView_pimpl.[Ch]:
5867         * ParagraphParameters.C:
5868         * bufferview_funcs.C:
5869         * lyx_cb.C:
5870         * lyxfind.C:
5871         * lyxfunc.C:
5872         * text.C:
5873         * text2.C:
5874         * text3.C: replace "complicated" BufferView::update(...) calls with
5875         simpler ones.
5876
5877         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5878
5879 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5880
5881         * Makefile.am (lyx_SOURCES): add paper.h
5882
5883 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5884
5885         * Makefile.am: move things around so that both lyx-qt and
5886         lyx-xforms can be built (according to --with-frontend). Then lyx
5887         is a symbolic link to lyx-[firstfrontend]
5888
5889 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5890
5891         * Always use std::endl with lyxerr
5892
5893 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5894
5895         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5896
5897 2003-08-01  André Pönitz  <poenitz@gmx.net>
5898
5899         * BufferView.[Ch]:
5900         * BufferView_pimpl.[Ch]:
5901         * lyxfunc.C:
5902         * text3.C: merge BufferView::repaint() and BufferView::update()
5903
5904 2003-08-01  José Matos  <jamatos@lyx.org>
5905
5906         * buffer.[Ch]: file_format is no longer a buffer data element.
5907
5908 2003-08-01  André Pönitz  <poenitz@gmx.net>
5909
5910         * BufferView.C:
5911         * lyxtext.h:
5912         * text.C:
5913         * text2.C: make redoParagraph more independent of current cursor
5914
5915         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5916         * text.C:
5917         * text2.C: remove unneeded members
5918
5919 2003-07-30  André Pönitz  <poenitz@gmx.net>
5920
5921         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5922
5923         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5924           create a single function...
5925
5926         * paragraph_funcs.C (moveItem): ... here.
5927
5928         * text.C:
5929           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5930
5931 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5932
5933         * LColor.[Ch]: Add comment and greyedout logical colors.
5934
5935 2003-07-30  André Pönitz  <poenitz@gmx.net>
5936
5937         * tabular.C: don't use Assert too heavily. This crashes where it
5938           shouldn't
5939
5940 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5941
5942         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5943         is disabled (bug 1232)
5944
5945 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5946
5947         * factory.C: limited 'arg' scope
5948
5949 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5950
5951         * factory.C: fixed Note submenu issues
5952
5953 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5954
5955         * factory.C: submenu for Note/Comment/Greyedout
5956
5957 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5958
5959         * lyx_main.C (LyX):
5960         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5961
5962 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5963
5964         * LaTeXFeatures.C:
5965         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5966         greyedout. Patch provided by Jürgen Spitzmüller.
5967
5968 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5969
5970         * kbmap.C (read): fix error message when reading bind files
5971
5972 2003-07-29  Angus Leeming  <leeming@lyx.org>
5973
5974         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5975         certainly does not do what it purports to do. I am doing it, and
5976         us, a favour by killing it.
5977
5978 2003-07-28  José Matos  <jamatos@lyx.org>
5979
5980         * buffer.C (readBody, do_writeFile):
5981         * paragraph.C(readParagraph): \end_document replaces \the_end.
5982
5983 2003-07-29  André Pönitz  <poenitz@gmx.net>
5984
5985         * BufferView.[Ch]:
5986         * BufferView_pimpl.[Ch]:
5987         * lyxfunc.C:
5988         * text2.C:
5989         * text3.C:
5990         * textcursor.[Ch]: remove toggleToggle & Co
5991
5992 2003-07-28  José Matos  <jamatos@fep.up.pt>
5993
5994         * buffer.C (readParagraph):
5995         * params_func (readParToken, readParagraph):
5996         * paragraph.C (write): \layout -> \begin_layout.
5997
5998 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5999
6000         * lyxlex_pimpl.C (setFile): clean up slightly.
6001
6002         * bufferparams.h: add compressed var
6003
6004         * buffer_funcs.C (readFile): adjust for LyXLex change
6005         (newFile): ditto + simplify
6006
6007         * buffer.C (writeFile): handle writing of compressed files
6008
6009         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6010         Check if the file is compressed and set a bufferparm if so.
6011
6012         * Makefile.am (lyx_LDADD): remove explicit -lz
6013
6014 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6015
6016         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6017         makeDocBookFile): put the real LyX version in the first line of
6018         the file
6019
6020         * version.h:
6021         * version.C.in: remove lyx_docversion
6022
6023         * tabular.C (write_attribute): add a template-based version to
6024         write enums properly
6025
6026 2003-07-28  André Pönitz  <poenitz@gmx.net>
6027
6028         * lyxtext.h:
6029         * text.C:
6030         * text2.C:
6031         * text3.C: use doubles again for x-coordinates. They are needed.
6032
6033 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6034
6035         * messages.C (getLocaleDir): use lyx_localedir()
6036
6037         * lyxlex_pimpl.C (setFile): compress stuff
6038
6039         * buffer.C (writeFile): add some compression stuff
6040         (do_writeFile): new func, dont call expliti close... will this
6041         breake anything?
6042
6043         * Makefile.am (lyx_LDADD): add -lz
6044
6045 2003-07-28  José Matos  <jamatos@fep.up.pt>
6046
6047         * buffer.C: increment file format.
6048         * paragraph_funcs (readParagraph, readParToken):
6049         * paragraph.C (readParagraph): add \end_layout.
6050
6051 2003-07-27  Angus Leeming  <leeming@lyx.org>
6052
6053         * Makefile.am: remove special casing for configure-time setting of
6054         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6055
6056         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6057         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6058
6059 2003-07-26  André Pönitz  <poenitz@gmx.net>
6060
6061         * paragraph_func.[Ch]:
6062         * paragraph.C (realizeFont): inline it whereever it is used
6063
6064         * rowpainter.C:
6065         * text.C:
6066         * text2.C:
6067         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6068
6069
6070 2003-07-26  André Pönitz  <poenitz@gmx.net>
6071
6072         *       lyxtext.h:
6073         * text.C:
6074         * text2.C: get rid of LyXText::need_break_row
6075
6076 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6077
6078         * toc.[Ch]: put namespace toc inside namespace lyx
6079
6080         * MenuBackend.C (expandToc2): adjust for lyx::toc
6081         (expandToc): ditto
6082
6083         * lyxfunc.C (dispatch): adjust for lyx::find
6084
6085         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6086         lyx::find instead. Reorganize a bit.
6087         (LyXReplace): rename to replace
6088         (LyXFind): rename to find
6089
6090         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6091         (dispatch): ditto
6092
6093 2003-07-26  André Pönitz  <poenitz@gmx.net>
6094
6095         * text.C (setHeightOfRow): restrict scope of temporary variable
6096
6097         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6098           code (never has been used?)
6099
6100 2003-07-27  Asger Alstrup  <alstrup@local>
6101
6102         * text.C (fill): Optimise algorithm to exploit that we can reuse
6103         the LyXFont for many characters.
6104         (setHeightOfRow): Same thing.
6105         (rowBreakPoint): Same thing.
6106
6107 2003-07-26  Asger Alstrup  <alstrup@local>
6108
6109         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6110
6111         * text.C (singleWidth): Spurious font copying in hot-spot
6112         singleWidth avoided. Reorder tests for arabic for efficiency.
6113
6114         * text.C (fill): handle empty paragraphs better.
6115
6116 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6117
6118         * ispell.C:
6119         * encoding.h: add includes
6120
6121         * lyxrc.C: remove reading of bind files
6122
6123         * lyx_main.C (init): setup bindings and menus only if we have a
6124         gui.
6125
6126         * kbmap.C (read): new method. Do the actual reading of bind
6127         files.
6128
6129         * converter.C (dvipdfm_options):
6130         * bufferparams.C:
6131         * lyxrc.C (read):
6132         (output): adapt PAPER_* enums.
6133
6134         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6135
6136         * bufferparams.h: remove paper-related enums from there
6137
6138         * paper.h: New file. A trivial header file to hold paper-related
6139         enums. It should later expand to contain many paper-related
6140         horrors access.
6141
6142         * lyxrc.C: declare extern displayTranslator
6143
6144 2003-07-27  José Matos  <jamatos@fep.up.pt>
6145
6146         * tabular.[Ch] (linuxdoc): add support for tables and figures
6147         (linuxdoc).
6148
6149 2003-07-27  José Matos  <jamatos@fep.up.pt>
6150
6151         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6152         consistency in both functions.
6153         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6154
6155 2003-07-26  Asger Alstrup  <alstrup@local>
6156
6157         * rowpainter.C (paintRows): Change algorithm to work directly on
6158         the insets rather than asking every character in the document
6159         whether its an inset.
6160
6161 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6162
6163         * buffer.C (openFileWrite): factorize some code
6164
6165 2003-07-26  Angus Leeming  <leeming@lyx.org>
6166
6167         * lyx_cb.C:
6168         * lyx_main.[Ch]: replace occurances of system_tempdir with
6169         os::getTmpDir().
6170
6171 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6172
6173         * rename Inset to InsetOld
6174
6175 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6176
6177         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6178         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6179         which I think is a bit clearer. EDIT is gone, since it was
6180         premature optimisation, and broken for mathed anyway.
6181         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6182         with cursor positioning in insets as well (math insets still do not
6183         work, but that's a different story anyway.) It mysteriously
6184         crashes sometimes with undo in the first paragraph, but I'm fairly
6185         confident that this is a compiler bug.
6186
6187 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6188
6189         * paragraph.C (Paragraph): adjust for new clone return type
6190         (operator==): ditto
6191         (copyIntoMinibuffer): ditto
6192
6193 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6194
6195         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6196         by not having a special case, and always doing a full rebreak of
6197         the document after undo.
6198
6199 2003-07-23  Angus Leeming  <leeming@lyx.org>
6200
6201         * factory.C (createInset): InsetExternal::setParams now takes a
6202         Buffer const * arg.
6203
6204 2003-07-23  Angus Leeming  <leeming@lyx.org>
6205
6206         * factory.C (createInset): changed interface to the external and
6207         graphics mailers' string2params functions.
6208
6209 2003-07-23  Angus Leeming  <leeming@lyx.org>
6210
6211         * factory.C (createInset): pass a
6212         Buffer const * parameter to InsetExternalMailer's string2params.
6213
6214 2003-07-22  John Levon  <levon@movementarian.org>
6215
6216         * Thesaurus.h: include the right aiksaurus header
6217
6218 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6219
6220         * MenuBackend.C (expand): check menu shortcuts unconditionally
6221
6222 2003-07-21  Angus Leeming  <leeming@lyx.org>
6223
6224         * factory.C (createInset): pass a
6225         buffer_path parameter to InsetGraphicsMailer's string2params.
6226
6227 2003-07-21  Angus Leeming  <leeming@lyx.org>
6228
6229         * BufferView_pimpl.C (buffer):
6230         * buffer.C (d-tor):
6231         * lyx_main.C (LyX):
6232         * lyxfunc.C (dispatch):
6233         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6234         rather than the grfx shortcut.
6235
6236 2003-07-21  André Pönitz  <poenitz@gmx.net>
6237
6238         * rowpainter.C: remove unused variables
6239
6240         * tabular_funcs.C:
6241         * tabular_funcs.h: move to tabular.C
6242         * Makefile.am: adjust
6243
6244         * tabular.[Ch]: basic optical cleaning
6245
6246         * author.h: pass references, not values
6247
6248 2003-07-18  André Pönitz  <poenitz@gmx.net>
6249
6250         * lyxtext.h:
6251         * metricsinfo.C:
6252         * metricsinfo.h:
6253         * rowpainter.C:
6254         * text.C:
6255         * text2.C:
6256         * text3.C: two-phase drawing for InsetText and InsetTabular
6257         some float -> int changes.
6258
6259 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6260
6261         * lyx_main.C: fix the fix
6262
6263 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6264
6265         * lyx_main.C: fix a crash in batch mode if no files specified
6266         * converter.C: ws
6267
6268 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6269
6270         * format.[Ch] (papersize): moved to BufferParams
6271         * converter.[Ch] (dvips_options): moved to BufferParams
6272         (dvipdfm_options): moved to anon namespace
6273         * bufferparams.[Ch]: added above functions.
6274
6275 2003-07-17  André Pönitz  <poenitz@gmx.net>
6276
6277         * lyxtext.h:
6278         * rowpainter.C:
6279         * text2.C: don't call inset->update() anymore
6280
6281         * metricsinfo.[Ch]: add convenience constructor
6282
6283 2003-07-16  André Pönitz  <poenitz@gmx.net>
6284
6285         * lyxcursor.[Ch]:
6286         * lyxfunc.[Ch]:
6287         * text.C:
6288         * text2.C: replace the LyXCursor::irow_ member with
6289          on-demand computation of the value
6290
6291 2003-07-16  John Levon  <levon@movementarian.org>
6292
6293         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6294
6295 2003-07-15  André Pönitz  <poenitz@gmx.net>
6296
6297         * text.C:
6298         * text2.C: remove no more needed refresh_row
6299
6300 2003-07-15  André Pönitz  <poenitz@gmx.net>
6301
6302         * lyxtext.h:
6303         * rowpainter.C:
6304         * text2.C:
6305         * text3.C: refresh_status tristate -> need_update bool
6306
6307 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6308
6309         * lyxtext.h (init): remove reinit argument (act as if always true)
6310         * text2.C: adjust to that
6311
6312 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6313
6314         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6315         * text3.C: use it to delete selections in some cases
6316         (bugs 441, 673, 702, 954).
6317
6318 2003-07-14  André Pönitz  <poenitz@gmx.net>
6319
6320         * rowpainter.[Ch]: reduce interface
6321
6322 2003-07-14  André Pönitz  <poenitz@gmx.net>
6323
6324         * BufferView_pimpl.C:
6325         * text2.C: adjust after removing unused BufferView * argument
6326
6327 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6328
6329         * text2.C (init): fix a crash fired on resize
6330
6331 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6332
6333         * buffer.[Ch]: added new closing signal
6334         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6335         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6336         BufferView::Pimpl via the closing the signal
6337
6338 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6339
6340         * buffer.[Ch]: take out all bv-related from buffer
6341         * BufferView.C:
6342         * BufferView_pimpl.[Ch]: connect to new signals
6343         * CutAndPaste.C: removed useless asserts
6344         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6345         * lyxvc.[Ch]:
6346         * vc-backend.[Ch]:
6347         * lyxfunc.C: moved view-related funciontality from vc here
6348         * paragraph.C: removed outdated comments
6349         * text.C: ws
6350
6351 2003-07-10  André Pönitz  <poenitz@gmx.net>
6352
6353         * BufferView_pimpl.C:
6354         * tabular.h:
6355         * tabular_funcs.C:
6356         * text.C:
6357         * text2.C: remove InsetText::InnerCache, clean up consequences
6358
6359 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6360
6361         * ispell.C: fix two typos in error messages
6362
6363 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6364
6365         * Extend Note inset to other forms of annotation like Comment
6366         and Greyedout. Right button click gives dialog.
6367
6368         Files modified or added (+):
6369
6370         * insetnote.[Ch]
6371         * FormNote.[Ch]      +
6372         * ControlNote.[Ch]   +
6373         * form_note.fd       +
6374         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6375         frontends/controllers
6376         * xforms/Dialogs.C
6377         * factory.C
6378
6379 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6380
6381         * aspell.C: add missing namespace lyx::support
6382
6383 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6384
6385         * BufferView.[Ch] (newFile): Add
6386         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6387         * LaTeX.[Ch] (message): added this signal and use it
6388         * buffer.[Ch] (busy, message): added these signals and use them
6389         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6390         * converter.C:
6391         * exporter.C:
6392         * format.C:
6393         * importer.C: use buffer signals instead of direct bv calling
6394         * lyx_cb.[Ch] (ShowMessage): removed
6395         * lyx_main.C:
6396         * lyxfunc.C:
6397         * paragraph_funcs.C:
6398         * text2.C: use buffer signals
6399
6400 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6401
6402         * introduce namespace lyx::graphics
6403
6404 2003-07-02  André Pönitz  <poenitz@gmx.net>
6405
6406         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6407
6408 2003-07-01  André Pönitz  <poenitz@gmx.net>
6409
6410         * text.C:
6411         * text2.C:
6412         * text3.C:
6413         * text_funcs.[Ch]:
6414         * textcursor.h:
6415         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6416           text*.C to text_func.C
6417
6418 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6419
6420         * introduce namespace lyx::support
6421
6422 2003-06-30  André Pönitz  <poenitz@gmx.net>
6423
6424         * Chktex.C:
6425         * funcrequest.C:
6426         * lyxtext.h:
6427         * text.C: re-enable --with-included-string
6428
6429 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6430
6431         * textcursor.C: add <config.h>
6432
6433         * text.C (getWord): remove const from word_location arg
6434
6435         * lyxvc.C (getLogFile): fix const type order
6436
6437         * lyxtext.h: remove const from word_location arg, add arg name
6438
6439         * lyxlayout.h: currect type on labeltype.
6440
6441         * importer.C: correct \file
6442
6443         * converter.C (intToFormat): use std:: on ret val, ws changes
6444
6445         * bufferlist.h: correct \file
6446
6447         * buffer.C (makeLinuxDocFile): fix const type order
6448         (makeDocBookFile): ditto
6449         (fillWithBibKeys): use std:: on stdlib args.
6450
6451         * CutAndPaste.C: fix authors.
6452         (availableSelections): use std:: on return vector
6453
6454 2003-06-27  André Pönitz  <poenitz@gmx.net>
6455
6456         * BufferView_pimpl.C:
6457         * bufferview_funcs.C:
6458         * lyxcursor.C:
6459         * lyxcursor.h:
6460         * lyxfunc.C:
6461         * lyxtext.h:
6462         * rowpainter.C:
6463         * text.C:
6464         * text2.C:
6465         * text3.C: remove LyXCursor::row_ member
6466
6467         * lyxtext.h:
6468         * text.C: rename fullRebreak() to partialRebreak() and implement
6469           a fullRebreak() that really bereks fully
6470
6471         * textcursor.h: new struct for cursor-related data
6472
6473 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6474
6475         * lyx_main.C (LyX): get full path of document loaded on the
6476         command line
6477
6478 2003-06-26  André Pönitz  <poenitz@gmx.net>
6479
6480         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6481           remove unused/broken operator>,<,>=.
6482
6483         *       text.C: remove only use of broken operator<= in an Assert().
6484
6485 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6486
6487         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6488         moved errorlist_.clear to showErrorList
6489
6490 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6491
6492         * converter.C (scanLog, runLaTeX):
6493         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6494         move the bv->showErrorList call to the callers
6495         * lyxfunc.C: i.e. here...
6496         * text2.C: and here
6497         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6498         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6499         namespace, the second to...
6500         * buffer_funcs (BufferFormat, parseErrors): added
6501         * errorlist.C (ErrorList(TeXErrors const &)): removed
6502
6503 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6504
6505         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6506
6507 2003-06-24  "Garst R. Reese" <reese@isn.net>
6508
6509         * debug.C: fix typo
6510
6511 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6512
6513         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6514
6515         * version.C.in: change docversion to 1.4
6516
6517 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6518
6519         * buffer.C: fix a bug just introduced
6520
6521 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6522
6523         * buffer.[Ch]: added the parseError signal and use it, removed
6524         sgmlError
6525         * BufferView.[Ch] (addError): moved to ...
6526         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6527         to the Buffer::parseError signal to catch (guess what) parse errors
6528         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6529
6530 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6531
6532         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6533         ability to create a buffer and to return an existing one from
6534         the list. Moved these functions to...
6535         * buffer_funcs.[Ch]: added
6536         * BufferView.[Ch] (loadLyXFile): added
6537         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6538         job removed from bufferlist::loadLyXFile.
6539         * buffer.C (setReadOnly): make it work without view
6540         (i.e added an if (users))
6541
6542 2003-06-19  Angus Leeming  <leeming@lyx.org>
6543
6544         * lfuns.h:
6545         * LyXAction.C (init):
6546         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6547         with LFUN_DIALOG_SHOW <name> <data>.
6548
6549 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6550
6551         * CutAndPaste.C (availableSelections): small compilation fix for
6552         ancient (gcc 2.9x) compilers
6553
6554 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6555
6556         * text3.C (cursorNext): add tmp var
6557
6558         * text2.C (updateCounters): for function calling out of for clause
6559         (replaceSelectionWithString): ditto
6560         (insertStringAsParagraphs): ditto
6561         (getColumnNearX): add tmp var
6562         (setCursorFromCoordinates): add tmp var
6563         (cursorDownParagraph): add tmp var
6564         (deleteEmptyParagraphMechanism): add tmp var
6565
6566         * text.C (insertChar): add tmp var
6567
6568         * rowpainter.C (paintDepthBar): add tmp var
6569
6570         * CutAndPaste.C (availableSelections): potentially check all
6571         paragraphs in a cut to fill the shown strings.
6572
6573 2003-06-18  André Pönitz  <poenitz@gmx.net>
6574
6575         * kbmap.[Ch]: use vector<> instead of list<>
6576
6577 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6578
6579         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6580         pasteSelection with index
6581
6582         * text2.C (pasteSelection): modify, call pasteSelection with index
6583
6584         * paragraph.C (asString): reimplement version with no interval to
6585         call the one with interval.
6586
6587         * lyxtext.h: add index arg to pasteSelection
6588
6589         * MenuBackend.C (MenuItem): handle PasteRecent
6590         (Menu::read::Menutags): add md_pasterecent
6591         (read): handle it
6592         (expandPasteRecent): new function
6593         (expand): use it
6594
6595         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6596
6597         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6598         the limited stack
6599         (availableSelections): new function
6600
6601 2003-06-17  Angus Leeming  <leeming@lyx.org>
6602
6603         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6604
6605 2003-06-17  Angus Leeming  <leeming@lyx.org>
6606
6607         * lfuns.h:
6608         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6609
6610         * lyxfunc.C (dispatch): invoke it.
6611
6612 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6613
6614         * iterators.C (operator++, ParPosition): reintroduce some
6615         const_cast for the benefit of older compilers.
6616
6617 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6618
6619         * text3.C (dispatch): do not modify clipboard when doing
6620         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6621         LFUN_DELETE_SKIP on a selection selection
6622
6623 2003-06-16  André Pönitz  <poenitz@gmx.net>
6624
6625         * BufferView.C:
6626         * buffer.C:
6627         * buffer.h:
6628         * paragraph.C:
6629         * tabular.[Ch]: IU of clone() and getLabelList();
6630
6631 2003-06-13  André Pönitz  <poenitz@gmx.net>
6632
6633         * tabular.h: compactification
6634
6635 2003-06-12  André Pönitz  <poenitz@gmx.net>
6636
6637         * tabular.C:
6638         * tabular.h:
6639         * tabular_funcs.h: some renaming plus whitespace
6640
6641 2003-06-12  André Pönitz  <poenitz@gmx.net>
6642
6643         * BufferView.C:
6644         * BufferView_pimpl.C:
6645         * CutAndPaste.C:
6646         * buffer.C:
6647         * iterators.[Ch]:
6648         * lyxfunc.C:
6649         * text.C:
6650         * toc.C: Return a Paragraph & for ParIterator::operator*()
6651
6652 2003-06-11  John Levon  <levon@movementarian.org>
6653
6654         * lyx_main.C:
6655         * ToolbarBackend.h:
6656         * ToolbarBackend.C: add "Toolbars" section and
6657         put the flags there
6658
6659 2003-06-10  Angus Leeming  <leeming@lyx.org>
6660
6661         * lfuns.h:
6662         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6663
6664         * lyxfunc.C (dispatch): invoke it.
6665
6666 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6667
6668         * main.C: protect <ios> with HAVE_IOS
6669         (main): protect sync_with_stdio with HAVE_IOS
6670
6671 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6672
6673         * text2.C (cutSelection): adjust
6674         (pasteSelection): adjust
6675
6676         * messages.C: handle get of empty string
6677
6678         * main.C (main): use sync_with_stdio(false)
6679
6680         * lyxfunc.C (dispatch): adjust
6681
6682         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6683         (WriteAs): remove unneeded BufferView arg.
6684
6685         * bufferparams.h: use correct types on papersize, papersize2 and
6686         paperpackage.
6687
6688         * bufferparams.C (readToken): adjust for type
6689         (writeLaTeX): add missing cases to switch.
6690
6691         * bufferlist.C (quitWriteBuffer): adjust
6692         (close): adjust
6693
6694         * buffer.C (asciiParagraph): remove some commented code.
6695
6696         * CutAndPaste.C: remove current_view extern variable.
6697         (cutSelection): add BufferParams arg.
6698         (eraseSelection): add BufferParams arg.
6699         (pasteSelection): add Buffer const & arg
6700
6701 2003-06-07  John Levon  <levon@movementarian.org>
6702
6703         * buffer.C:
6704         * paragraph_funcs.C:
6705         * paragraph_pimpl.C:
6706         * text.C:
6707         * text2.C:
6708         * paragraph.h:
6709         * paragraph.C: allow InsetERT to freely space lines,
6710         and some consolidation of code
6711
6712 2003-06-06  José Matos  <jamatos@fep.up.pt>
6713
6714         * buffer.C (makeDocBookFile): fix bug #821
6715
6716 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6717
6718         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6719
6720 2003-06-04  Angus Leeming  <leeming@lyx.org>
6721
6722         * buffer.C: bump format to 224.
6723
6724 2003-06-05  André Pönitz  <poenitz@gmx.net>
6725
6726         * text2.C (redoParagraphs): remove two const_cast<>
6727
6728 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6729
6730         * ParagraphList.h: remove last remnants of NO_STD_LIST
6731
6732 2003-06-03  Angus Leeming  <leeming@lyx.org>
6733
6734         * factory.C (createInset): small change to the way InsetExternal's params
6735         are set.
6736
6737 2003-06-04  André Pönitz  <poenitz@gmx.net>
6738
6739         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6740
6741         * paragraph_pimpl.h:
6742         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6743
6744         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6745
6746         * undo_funcs.C: make some simple cases of undo work again
6747
6748 2003-06-03  John Levon  <levon@movementarian.org>
6749
6750         * ispell.C: HPUX doesn't have sys/select.h
6751         (from Albert Chin)
6752
6753 2003-06-03  John Levon  <levon@movementarian.org>
6754
6755         * CutAndPaste.C: update tabular and include inset
6756         buffer references
6757
6758         * buffer.h:
6759         * paragraph.h:
6760         * paragraph.C: remove owningBuffer(), don't pass Buffer
6761         to clone()
6762
6763         * factory.C: insetGraphicsParams changed
6764
6765 2003-06-02  John Levon  <levon@movementarian.org>
6766
6767         * LyXAction.C:
6768         * factory.C:
6769         * lfuns.h:
6770         * lyxfunc.C:
6771         * text3.C: remove insetparent
6772
6773 2003-06-02  John Levon  <levon@movementarian.org>
6774
6775         * buffer.h:
6776         * buffer.C: fix inset_iterator.end(), move out of line
6777         (bug 1149)
6778
6779 2003-06-01  John Levon  <levon@movementarian.org>
6780
6781         * text3.C: use a proper cut/paste when doing inset
6782         insert (from Jürgen Spitzmüller)
6783
6784 2003-06-01  John Levon  <levon@movementarian.org>
6785
6786         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6787
6788 2003-05-30  André Pönitz  <poenitz@gmx.net>
6789
6790         * rowpainter.C: unify second drawing phase
6791
6792 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6793
6794         * trans_mgr.C: remove one case of current_view
6795
6796         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6797
6798         * paragraph_funcs.h: remove paragraph.h include
6799
6800         * paragraph.h: delete NO_STD_LIST stuff
6801
6802         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6803
6804         * buffer.h: remove paragraph.h include
6805
6806         * ParagraphList.C: delete file
6807
6808         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6809
6810         * toc.C (getTocList): adjust
6811
6812         * paragraph_pimpl.C (validate): adjust
6813
6814         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6815
6816         * paragraph.C (Paragraph): adjust
6817         (getPositionOfInset): use const_iterator, adjust
6818         (bibitem): use const_iterator, adjust
6819         (setInsetOwner): adjust
6820
6821         * iterators.C (operator++): adjust
6822
6823         * InsetList.[Ch]: Replace selfmade iterator with standard
6824         vector::iterator also introduce const_iterator. Remove getPos,
6825         getInset and setInset from InsetTable. Adjust accordingly.
6826
6827         * BufferView.C (lockInset): adjust
6828         (ChangeInsets): adjust
6829
6830         * tabular.[Ch]: delete commented same_id functions
6831
6832 2003-05-28  John Levon  <levon@movementarian.org>
6833
6834         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6835
6836 2003-05-28  André Pönitz  <poenitz@gmx.net>
6837
6838         * metricsinfo.[Ch]: remove 'fullredraw' member
6839
6840 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6841
6842         * lyxtextclass.C (operator): remove caching.
6843
6844 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6845
6846         * text3.C: adjust
6847
6848         * text2.C (cursorBottom): adjust
6849         (setCounter): use ParagraphList::find, adjust
6850
6851         * text.C (workWidth): use ParagraphList::find, adjust
6852
6853         * lyxcursor.C (LyXCursor): adjust
6854
6855         * buffer.C (inset_iterator): adjust
6856
6857         * ParagraphList.h: make iterator(value_type) private, make
6858         ParagraphList a friend of iterator.
6859
6860         * ParagraphList.C (find): new function
6861
6862         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6863
6864 2003-05-27  André Pönitz  <poenitz@gmx.net>
6865
6866         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6867
6868 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6869
6870         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6871
6872 2003-05-26  John Levon  <levon@movementarian.org>
6873
6874         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6875
6876 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6877
6878         * remove same_id from function signatures, adjust.
6879
6880 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6881
6882         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6883
6884         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6885
6886         * paragraph.C (Paragraph): get rid of same_ids parameter
6887
6888         * ParagraphList.C (insert): adjust
6889         (push_back): adjust
6890
6891 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6892
6893         * paragraph_funcs.C (breakParagraph): adjust
6894         (breakParagraphConservative): adjust
6895
6896         * buffer.C (readParagraph): adjust
6897
6898         * ParagraphList.C (insert): take a reference instead of a pointer
6899         (insert): adjust
6900
6901         * paragraph.[Ch] (id): new function
6902
6903         * bufferlist.C (newFile): adjust
6904
6905         * ParagraphList.C (ParagraphList): adjust
6906         (assign): adjust
6907         (push_back): take a reference instead of a pointer.
6908
6909         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6910
6911         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6912         instead.
6913
6914         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6915         set else use old code.
6916
6917         * ParagraphList.C: remove all NO_NEXT code and only compile this
6918         code of NO_STD_LIST is set.
6919
6920 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6921
6922         * BufferView_pimpl.C:
6923         * TextCache.C:
6924         * TextCache.h:
6925         * bufferlist.C:
6926         * errorlist.h:
6927         * format.C:
6928         * format.h:
6929         * graph.C:
6930         * lyxfunc.C:
6931         * lyxrc.C:
6932         * graphics/GraphicsConverter.C:
6933         * graphics/PreviewLoader.C: header adjustment
6934
6935 2003-05-23  Angus Leeming  <leeming@lyx.org>
6936
6937         * LaTeXFeatures.[Ch] (useBabel): new method.
6938         * bufferparams.C (writeLaTeX): use it.
6939
6940 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6941
6942         * ParagraphList.h (set): remove unused function.
6943
6944 2003-05-23  André Pönitz  <poenitz@gmx.net>
6945
6946         * BufferView.C:
6947         * BufferView_pimpl.C:
6948         * buffer.C:
6949         * buffer.h:
6950         * lyxfunc.C:
6951         * undo_funcs.C: setUndo reworked
6952
6953         * iterators.[Ch]: add access to topmost ParagraphList
6954
6955         * lyxtext.[Ch] (workWidth): add a const
6956
6957 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6958
6959         * texrow.[Ch] (increasePos): remove function
6960         * exporter.C (export): removed unused var and outdated comment
6961
6962 2003-05-23  Angus Leeming  <leeming@lyx.org>
6963
6964         * latexrunparams.h: rename fragile as moving_arg.
6965         * paragraph.C (simpleTeXOnePar): ditto.
6966         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6967
6968 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6969
6970         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6971         (createUndo): ditto
6972         (textUndoOrRedo): comment out a currently unused var.
6973
6974         * paragraph.h (NO_NEXT): enable NO_NEXT
6975
6976         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6977
6978         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6979
6980         * exporter.C (Export): adjust for removeAutoInsets removal.
6981
6982         * buffer.C (runChktex): adjust for removeAutoInsets removal.
6983
6984         * LyXAction.C (init): remove LFUN_REMOVEERRORS
6985
6986         * BufferView.[Ch] (removeAutoInsets): delete function
6987
6988 2003-05-22  Angus Leeming  <leeming@lyx.org>
6989
6990         * latexrunparams.h: add a free_spacing variable.
6991
6992         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6993         to pass moving_arg, as the data is stored in runparams.fragile.
6994
6995         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6996         to Inset::latexOptional or to simpleTeXOnePar.
6997
6998         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6999         free_spacing arg to Inset::latexOptional.
7000
7001         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7002         free_spacing arg.
7003
7004 2003-05-22  Angus Leeming  <leeming@lyx.org>
7005
7006         * latexrunparams.h: add fragile and use_babel variables.
7007
7008         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7009         * buffer.C (makeLaTeXFile): store this returned value in
7010         runparams.use_babel, thus passing it to the inset::latex methods.
7011
7012         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7013         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7014
7015         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7016         longer has a fragile arg, as it is stored in runparams.fragile.
7017
7018         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7019         moving_arg parameter as the data is stored in runparams.fragile.
7020
7021         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7022         a fragile parameter as the data is stored in runparams.fragile.
7023
7024 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7025
7026         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7027
7028 2003-05-22  Angus Leeming  <leeming@lyx.org>
7029
7030         * latexrunparams.h: add a 'bool nice' which defaults to false.
7031
7032         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7033         now encapsulated within runparams.
7034
7035         * bufferlist.C (updateIncludedTeXfiles):
7036         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7037
7038 2003-05-22  Angus Leeming  <leeming@lyx.org>
7039
7040         * latexrunparams.h: new file containing struct LatexRunParams.
7041         * Makefile.am: add new file.
7042
7043         * LaTeX.[Ch] (c-tor, run):
7044         * buffer.[Ch] (makeLaTeXFile):
7045         * bufferlist.[Ch] (updateIncludedTeXfiles):
7046         * converter.C (convert, scanLog):
7047         * converter.[Ch] (runLaTeX):
7048         * exporter.C (Export):
7049         * paragraph.[Ch] (simpleTeXOnePar):
7050         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7051         * paragraph_funcs.[Ch] (latexParagraphs):
7052         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7053         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7054         pass around a LatexRunParams parameter.
7055
7056 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * paragraph.[Ch]: remove unused constructor
7059
7060         * ParagraphList.C (erase): new function, taking two iterators
7061
7062 2003-05-22  André Pönitz  <poenitz@gmx.net>
7063
7064         * undo_funcs.C: remove duplicated code
7065
7066         * iterator.[Ch]: operator=
7067
7068 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7069
7070         * tabular.C (SetMultiColumn): ws changes
7071
7072         * rowpainter.C (paintFirst): get rid of a ->previous
7073
7074         * lyx_cb.C (getPossibleLabel): parlist simplification
7075
7076         * BufferView.C (ChangeInsets): simplify slightly.
7077
7078 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7079
7080         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7081         * lfuns.h: new LFUN_SPACE
7082         * lyxfunc.C: protected space has a new lfun
7083         * paragraph_funcs.C: read new space insets
7084         * text3.C:
7085         * factory.C: handle new space insets
7086
7087 2003-05-22  André Pönitz  <poenitz@gmx.net>
7088
7089         * BufferView.C:
7090         * BufferView_pimpl.C:
7091         * buffer.[Ch]:
7092         * lyxfunc.C:
7093         * undo_funcs.C: return a ParIterator from getParFromID.
7094
7095         * iterators.[Ch]: add two const's
7096
7097 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7098
7099         * toc.C (getTocList): adjust
7100
7101         * iterators.[Ch]: rework for parlist
7102
7103         * buffer.C (par_iterator_begin): adjust
7104         (par_iterator_end): adjust
7105
7106         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7107
7108         * BufferView.C (removeAutoInsets): adjust
7109         (ChangeInsets): adjust
7110
7111 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7112
7113         * text.C (top_y): fix bug 1110
7114
7115 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7116
7117         * errorlist.[Ch]: added
7118         * buffer.C:
7119         * BufferView.[Ch]:
7120         * BufferView_pimpl.C:
7121         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7122         instead
7123
7124 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7125
7126         * Makefile.am: ensure that lyx is relinked upon changes to the
7127         various "convenience" libs.
7128
7129 2003-05-20  Angus Leeming  <leeming@lyx.org>
7130
7131         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7132         files are compiled in alphabetical order again.
7133
7134         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7135
7136 2003-05-19  Angus Leeming  <leeming@lyx.org>
7137
7138         * gettext.[Ch]: remove "char const * _(char const *)".
7139
7140 2003-05-19  André Pönitz  <poenitz@gmx.net>
7141
7142         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7143
7144         * Makefile.am:
7145         * BufferView.C:
7146         * DepTable.h:
7147         * LaTeXFeatures.C:
7148         * buffer.C:
7149         * lyxfont.C:
7150         * lyxlex.h:
7151         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7152
7153 2003-05-19  André Pönitz  <poenitz@gmx.net>
7154
7155         * buffer.C:
7156         * lyxlayout.[Ch]:
7157         * lyxtextclass.[Ch]:
7158         * paragraph.C:
7159         * paragraph_funcs.[Ch]:
7160         * text2.C:
7161         * text3.C: more insetenv work
7162
7163 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7164
7165         * ParagraphParameters.C (params2string): small bug fixed
7166
7167 2003-05-16  André Pönitz  <poenitz@gmx.net>
7168
7169         * debug.C:
7170         * bufferview_funcs.C: patch from Kornel Benko to prevent
7171           crash when _(...) is called twice in a statement
7172
7173 2003-05-16  André Pönitz  <poenitz@gmx.net>
7174
7175         * BufferView.C:
7176         * lyxfunc.C:
7177         * text.C:
7178         * text2.C:
7179         * text3.C:
7180         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7181
7182 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7183
7184         * lyx_main.C (init): remove spurious static_cast
7185
7186 2003-05-14  André Pönitz  <poenitz@gmx.net>
7187
7188         * BufferView.C: fix format string
7189
7190 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7191
7192         * BufferView.[Ch] (insertErrors): removed
7193         * BufferView.[Ch] (showErrorList): added
7194         * buffer.C (runChkTeX):
7195         * converter.C (scanLog): call showErrorList instead of inserterrors
7196
7197 2003-05-13  André Pönitz  <poenitz@gmx.net>
7198
7199         * BufferView_pimpl.C:
7200         * buffer.C:
7201         * bufferview_func.C:
7202         * MenuBackend.C:
7203         * lyxfunc.C:
7204         * lyxrc.C:
7205         * tex-accent.C:
7206         * text3.C:
7207         * toc.C:
7208         * tabular_funcs.h: tostr() from its own header
7209
7210         * ParagraphParameters.C:
7211         * ToolbarBackend.C:
7212         * bufferparams.C:
7213         * format.C:
7214         * lyxlex_pimpl.C:
7215         * text3.C: STRCONV()
7216
7217 2003-05-12  André Pönitz  <poenitz@gmx.net>
7218
7219         * BufferView.C:
7220         * BufferView_pimpl.C:
7221         * CutAndPaste.C:
7222         * LaTeX.C:
7223         * LaTeXFeatures.C:
7224         * ParagraphParameters.C:
7225         * buffer.C:
7226         * bufferlist.C:
7227         * bufferparams.C:
7228         * bufferview_funcs.C:
7229         * converter.C:
7230         * counters.C:
7231         * debug.C:
7232         * exporter.C:
7233         * format.C:
7234         * importer.C:
7235         * lyx_cb.C:
7236         * lyx_main.C:
7237         * lyxfont.C:
7238         * lyxfunc.C:
7239         * lyxvc.C:
7240         * paragraph.C:
7241         * paragraph_funcs.C:
7242         * tabular.C:
7243         * tabular_funcs.C:
7244         * text2.C:
7245         * text3.C:  boost::format -> bformat  all over the place
7246
7247
7248 2003-05-09  André Pönitz  <poenitz@gmx.net>
7249
7250         * LColor.[Ch]: Pimpl the #include <map> away
7251
7252 2003-05-09  John Levon  <levon@movementarian.org>
7253
7254         * bufferlist.C: never remove emergency saves
7255
7256 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7257
7258         * Makefile.am: better lib building
7259
7260 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7261
7262         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7263         instead.
7264         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7265         (simpleTeXSpecialChars): adjust
7266         (simpleTeXSpecialChars): adjust
7267         * paragraph.C (simpleTeXOnePar): adjust
7268         * buffer.C (makeLaTeXFile): adjust
7269
7270         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7271
7272         * text2.C (changeDepth): parlist cleanup
7273         (getColumnNearX): ditto
7274
7275         * rowpainter.C (getLabelFont): parlist cleanup
7276
7277         * bufferlist.C (newFile): parlist cleanup
7278
7279         * CutAndPaste.C (eraseSelection): parlist cleanup
7280
7281         * BufferView_pimpl.C (trackChanges): parlist cleanup
7282         (dispatch): ditto
7283
7284         * BufferView.C (lockInset): parlist cleanup.
7285         (ChangeInsets): ditto
7286
7287 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7288
7289         * CutAndPaste.h: Update file header.
7290
7291         * CutAndPaste.C: Update file header.
7292         Store the parts cut out of the Document in a limited_stack.
7293         (copySelection): adjust
7294         (pasteSelection): new function, takes the index in the limited stack.
7295         (nrOfParagraphs): adjust
7296         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7297         simplify error inset insertion.
7298         (checkPastePossible): adjust
7299
7300 2003-05-06  John Levon  <levon@movementarian.org>
7301
7302         * text2.C: don't cast wrap inset to float
7303
7304 2003-05-05  André Pönitz  <poenitz@gmx.net>
7305
7306         * iterator.C:
7307         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7308
7309         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7310           few naked Paragraph *.
7311
7312 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7313
7314         * bufferparams.C: Output warning if a document with missing
7315         TeX document class is loaded
7316         * exporter.C: Disable TeX exports if the document class is missing
7317         * lyxtextclass.C:
7318         * lyxtextclass.h:
7319         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7320         isTeXClassAvailable()
7321
7322 2003-05-03  John Levon  <levon@movementarian.org>
7323
7324         * BufferView.h:
7325         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7326         explicit cursor show/hide
7327
7328         * BufferView_pimpl.h:
7329         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7330         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7331
7332         * lyxfunc.C: hide cursor before dispatching.
7333
7334         * lyx_cb.C:
7335         * lyxfind.C:
7336         * text.C:
7337         * text3.C: remove explicit cursor hides
7338
7339 2003-05-02  André Pönitz  <poenitz@gmx.net>
7340
7341         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7342
7343         * undo_funcs.C:
7344         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7345           linked lists
7346
7347         * text2.C: tiny whitespace
7348
7349 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7350
7351         * undo_funcs.C: almost only ws changes.
7352
7353         * ParagraphList.C (splice): just return if pl is empty.
7354
7355 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7356
7357         * ParagraphList.C (splice): new function.
7358
7359         * CutAndPaste.C (pasteSelection): use it
7360
7361 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7362
7363         * CutAndPaste.C (pasteSelection): remove the last next and
7364         previous from this file.
7365
7366 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7367
7368         * CutAndPaste.C (pasteSelection): more clean up, user proper
7369         ParagraphList functions for pasteing.
7370
7371         * ParagraphList.C (insert): new function, three arg insert
7372
7373 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7374
7375         * ParagraphList.C (insert): new function, three arg insert
7376
7377         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7378         not on paragraphs.
7379
7380 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7381
7382         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7383
7384 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7385
7386         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7387
7388 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7389
7390         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7391         (copySelection): clean up a bit.
7392         (pasteSelection): use make_pair
7393
7394         * ParagraphList.C (ParagraphList): implement copy constructor
7395         (operator=): implement, base on copy constructor.
7396         (assign): new func
7397
7398         * paragraph.C (erase): return a bool
7399
7400         * paragraph_pimpl.C (erasePos): remove function, move contents...
7401         (erase): ... here. Return a bool.
7402         (erase): call erase instead of erasePos.
7403
7404 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7405
7406         * ParagraphList.h: define PitPosPair
7407         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7408         ParagraphList, fix a bug on pasting multiple pars
7409         * text2.C: change interface to C&P
7410
7411 2003-04-30  André Pönitz  <poenitz@gmx.net>
7412
7413         * undo_func.C: revert part of yesterday's patch 2
7414
7415 2003-04-30  John Levon  <levon@movementarian.org>
7416
7417         * LColor.C: s/tabular/table/
7418
7419 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7420
7421         * text3.C (dispatch): do not convert iterator -> pointer
7422         * undo_funcs.C (setCursorParUndo): ditto
7423         * text_funcs.C (transposeChars): ditto
7424
7425         * text2.C (setLayout): ws changes only
7426
7427         * text.C (breakParagraph): do not convert iterator -> pointer
7428         (insertChar): ditto
7429         (acceptChange): ditto
7430         (rejectChange): ditto
7431         (changeCase): ditto
7432         (Delete): ditto
7433         (backspace): ditto
7434
7435         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7436         pointer
7437
7438 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7439
7440         * text3.C (gotoInset): YABG (yet another bad getChar)
7441
7442 2003-04-29  André Pönitz  <poenitz@gmx.net>
7443
7444         * paragraph.h: make operator= private unimplemented as long as
7445           it is unusable
7446
7447         * ParagraphList.C: whitespace
7448
7449         * paragraph.[Ch]:
7450         * paragraph_pimpl.[Ch]:
7451         * paragraph_funcs.C:
7452         * CutAndPaste.C:
7453         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7454
7455         * text2.C:
7456           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7457
7458 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7459
7460         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7461         * paragraph.[Ch] (erase):
7462         * paragraph_pimpl.[Ch] (erase): change return type and value
7463         * text2.C (cutSelection): some rework
7464
7465 2003-04-28  John Levon  <levon@movementarian.org>
7466
7467         * bufferlist.C: changes for unsaved changes dialog
7468
7469 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7470
7471         * bufferlist.C (newFile): set language (messages_) for new
7472         documents also.
7473
7474         * buffer.C (readFile): ws changes only.
7475
7476 2003-04-28  André Pönitz  <poenitz@gmx.net>
7477
7478         * undo_funcs.C:
7479         * lyxfunc.C:
7480         * buffer.[Ch]:
7481         * BufferView_pimpl.C:
7482         * BufferView.C: getParFromID related ParagraphList::iterator changes
7483
7484 2003-04-28  André Pönitz  <poenitz@gmx.net>
7485
7486         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7487           Changes
7488
7489 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7490
7491         * messages.C: remove one more localedir class variable.
7492
7493 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7494
7495         * messages.C (getLocaleDir): singleton generation function
7496         (Pimpl): use it.
7497         (Messages): add a default constructor.
7498
7499         * main.C (main): do not setup localedir here, do not call
7500         gettext_init.
7501
7502         * gettext.C (_): use it.
7503         (gettext_init): delete funciton
7504
7505 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7506
7507         * gettext.C (getLyXMessages): new singleton generating function.
7508
7509         * buffer.C (updateDocLang): adjust
7510
7511         * Makefile.am (messages.o): add target
7512         (main.o): remove target
7513
7514 2003-04-27  John Levon  <levon@movementarian.org>
7515
7516         * bufferlist.C:
7517         * lyx_cb.C:
7518         * lyxfunc.C:
7519         * lyxvc.C: specify cancel button in Alert::prompt
7520
7521 2003-04-26  John Levon  <levon@movementarian.org>
7522
7523         * text3.C:
7524         * lyxfunc.C:
7525         * lfuns.h:
7526         * LyXAction.C: add LFUN_INSET_SETTINGS
7527
7528         * lyxfunc.C: don't enable tabular-feature when there's
7529         just any locking inset
7530
7531 2003-04-26  John Levon  <levon@movementarian.org>
7532
7533         * bufferlist.C: re-add Cancel to buffer close question
7534
7535         * lyxfunc.C: fix import UI a bit
7536
7537 2003-04-25  John Levon  <levon@movementarian.org>
7538
7539         * gettext.C: remove the broken asserts for now
7540
7541 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7542
7543         * messages.C: make case where setlocale cannot comply work better.
7544
7545         * buffer.C (updateDocLang): new function
7546         (changeLanguage): use it
7547         (readFile): use it
7548
7549         * text2.C (setCounter): use B_ a bit.
7550
7551         * lyxlayout.C (Read): be sure to trim the label strings.
7552
7553         * messages.C (Messages): fix typo in comment
7554
7555         * buffer.C (readFile): set message_ after file is loaded.
7556         (makeDocBookFile): remove double return
7557         (changeLanguage): reset message_ upon language change.
7558         (B_): new func, use this to get translated buffer strings.
7559
7560         * main.C: add myself and Jean Marc as authors.
7561
7562 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7563
7564         * messages.[hC]: pimplify Messages, and three different pimpls to be
7565         used in different circumstances.
7566
7567         * gettext.[Ch]: change for use with new message code.
7568
7569 2003-04-24 André Pönitz <poenitz@gmx.net>
7570
7571         * factory.C: support for eqref
7572
7573 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7574
7575         * messages.[Ch]: add missing char
7576
7577         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7578
7579         * messages.[Ch]: New files
7580
7581 2003-04-18  John Levon  <levon@movementarian.org>
7582
7583         * BufferView.h:
7584         * BufferView.C:
7585         * BufferView_pimpl.C:
7586         * lfuns.h:
7587         * LyXAction.C:
7588         * lyxtext.h:
7589         * text2.C: remove layout-copy/paste (bug 778)
7590
7591 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7592
7593         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7594
7595 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7596
7597         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7598         if they succeed. Act accordingly.
7599
7600 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7601
7602         * text2.C (setCharFont): adjust
7603         (setCounter): adjust
7604         (insertStringAsLines): adjust
7605
7606         * text.C (leftMargin): adjust
7607         (setHeightOfRow): adjust
7608
7609         * rowpainter.C (paintFirst): adjust
7610         (paintLast): adjust
7611
7612         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7613         (outerHook): ditto
7614         (isFirstInSequence): ditto
7615         (getEndLabel): ditto
7616         (outerFont): adjust
7617
7618         * paragraph.C (getParLanguage): comment out some hard stuff.
7619
7620         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7621         (sgmlError): ditto
7622         (simpleDocBookOnePar): ditto
7623         (makeDocBookFile): use ParagraphList::iterator
7624
7625         * CutAndPaste.C (pasteSelection): adjust
7626
7627 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7628
7629         * text2.C (getFont): adjust
7630         (getLayoutFont): adjust
7631         (getLabelFont): adjust
7632
7633         * paragraph_funcs.C (TeXOnePar): adjust
7634
7635         * buffer.C (simpleLinuxDocOnePar): adjust
7636         (simpleDocBookOnePar): adjust
7637
7638         * CutAndPaste.C (pasteSelection): adjust
7639
7640         * BufferView.C (getEncoding): adjust
7641
7642         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7643
7644 2003-04-16  John Levon  <levon@movementarian.org>
7645
7646         * lyxfind.C: use parlist stuff for search/changes
7647
7648 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7649
7650         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7651
7652         * text2.C (deleteEmptyParagraphMechanism): adjust
7653
7654         * text2.[Ch] (ownerParagraph): delete func (both of them
7655
7656 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7657
7658         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7659
7660 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7661
7662         * ParagraphList.C: prepare for NO_NEXT
7663
7664 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7665
7666         * text2.C (getFont): adjust
7667         (getLayoutFont): adjust
7668         (getLabelFont): adjust
7669
7670         * paragraph.C (getFont): adjust
7671         (getLabelFont): adjust
7672         (getLayoutFont): adjust
7673
7674         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7675
7676 2003-04-15  John Levon  <levon@movementarian.org>
7677
7678         From Angus Leeming
7679
7680         * lyx_main.C: handle Include in .ui files
7681
7682 2003-04-15  John Levon  <levon@movementarian.org>
7683
7684         * MenuBackend.C: make the doc files length shorter
7685
7686         * ToolbarBackend.h:
7687         * ToolbarBackend.C: handle toolbar placement flags,
7688         Minibuffer
7689
7690 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7691
7692         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7693         adjust
7694
7695         * paragraph_funcs.C (TeXOnePar): adjust
7696
7697         * paragraph.C (getLabelFont): add outerfont arg, adjust
7698         (getLayoutFont): ditto
7699         (simpleTeXOnePar): adjust
7700
7701         * paragraph_pimpl.C (realizeFont): delete func
7702
7703 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7704
7705         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7706         row argument, constify cur argument.
7707
7708 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7709
7710         * text2.C (getFont): adjust
7711         (getLayoutFont): adjust
7712         (getLabelFont): adjust
7713
7714         * paragraph_funcs.C (TeXOnePar): adjust
7715         (outerFont): new func...
7716         (realizeFont): ...moved out from here, changed this to facilitate
7717         transition
7718
7719         * paragraph.C (getFont): take outerfont as arg, adjust
7720         (simpleTeXOnePar): add outerfont arg, adjust
7721
7722         * buffer.C (simpleLinuxDocOnePar): adjust
7723         (simpleDocBookOnePar): adjust
7724
7725         * CutAndPaste.C (pasteSelection): adjust
7726
7727         * BufferView.C (getEncoding): adjust
7728
7729 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7730
7731         * text2.C (setCharFont): adjust
7732         (setCounter): adjust
7733
7734         * text.C (leftMargin): adjust
7735         (setHeightOfRow): adjust
7736
7737         * rowpainter.C (paintFirst): adjust
7738         (paintLast): adjust
7739
7740         * paragraph_pimpl.C (realizeFont): adjust
7741
7742         * paragraph.C (isFirstInSequence): move from here...
7743         * paragraph_funcs.C (isFirstInSequence): ...to here
7744
7745         * paragraph.C (outerHook): move from here...
7746         * paragraph_funcs.C (outerHook): ...to here
7747
7748         * paragraph.C (depthHook): move from here...
7749         * paragraph_funcs.C (depthHook): ...to here
7750
7751         * paragraph.C (getEndLabel): move from here...
7752         * paragraph_funcs.C (getEndLabel): ...to here
7753
7754         * text2.C (realizeFont): move from here...
7755         * paragraph_funcs.C (realizeFont): ...to here
7756
7757 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7758
7759         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7760
7761 2003-04-14  Angus Leeming  <leeming@lyx.org>
7762
7763         * LColor.[Ch]: scrap LColor mathcursor.
7764
7765 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7766
7767         * lyxlex.[Ch] (text): delete function
7768         * trans.C (Load): adjust
7769         * paragraph_funcs.C (readParToken): adjust
7770
7771 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7772
7773         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7774         vector<char> instead of a char[].
7775
7776         * lyxlex_pimpl.C (getString): adjust
7777         (next): adjust
7778         (lex): use getString
7779         (eatLine): adjust
7780         (nextToken): adjust
7781
7782         * lyxlex.C (text): use pimpl_->getString()
7783         (getBool): ditto
7784         (findToken): ditto
7785
7786 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7787
7788         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7789         (makeFontEntriesLayoutSpecific): temp var for par.size()
7790         (setLayout): temp var for ownerParagraphs().end()
7791         (fullRebreak): temp var for rows().end()
7792         (selectionAsString): temp var for boost::next(startpit), realize
7793         that the while really is a regular for loop.
7794         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7795         setCursor in one place.
7796         (setParagraph): temp vr for ownerParagraphs().end()
7797         (updateCounters): make the while loop a for loop
7798         (cutSelection): temp var for ownerParagraphs().end()
7799         (updateInset): make the do {} while() a regular for loop
7800         (getCursorX): use temp vars
7801         (setCurrentFont): use temp vars
7802         (getColumnNearX): use temp vars
7803
7804 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7805
7806         * text.C (transformChar): use temp var for getChar
7807         (computeBidiTables): use temp var for row->par()
7808         (fill): move temp vars for row->par() and pit->layout() earlier in
7809         the function.
7810         (labelFill): use temp var for row->par()
7811         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7812         asc and desc, realize that pit never changes and that firstpit is
7813         just a duplicate and not needed. Exchange rit->par() with pit in a
7814         lot of places.
7815         (breakAgain): use a temp var for boost::next(rit)
7816         (breakAgainOneRow): ditto
7817         (breakParagraph): use a temp var for rows().begin()
7818         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7819         (cursorRightOneWord): use temp var for cursor.par() and
7820         cursor.pos(), remove usage of tmpcursor.
7821         (cursorLeftOneWord): use temp var for cursor.par() and
7822         cursor.pos() only set cur at end of function.
7823
7824 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7825
7826         * text.C, text2.C: exchange all usage of Paragraph::next with
7827         boost::next(ParagraphList::iterator)
7828
7829         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7830
7831         * text2.C (cursorTop): simplify implementation
7832         (cursorBottom): ditto
7833         (setParagraph): use ParagraphList::iterator
7834         (setCurrentFont): adjust
7835         (getColumnNearX): adjust
7836         (cursorRight): adjust
7837         (cursorLeft): remove usage of Paragraph::previous
7838         (cursorUpParagraph): ditto
7839         (deleteEmptyParagraphMechanism): slight cleanup
7840
7841         * text.C (isBoundary): take a Paragraph const & instead of a
7842         pointer as arg.
7843         (addressBreakPoint): ditto
7844         (leftMargin): remove usage of Paragraph::previous.
7845         (setHeightOfRow): ditto
7846         (cursorLeftOneWord): ditto
7847         (selectNextWordToSpellcheck): ditto
7848         (Delete): ditto
7849         (backspace): ditto
7850         (breakParagraph): remove one usage of Paragraph::next
7851         (redoParagraph): ditto
7852         (acceptChange): ditto
7853         (insertChar): adjust
7854         (rowBreakPoint): adjust
7855
7856         * bufferview_funcs.C (toggleAndShow): adjust
7857
7858 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7859
7860         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7861         methods to access it.
7862         * lyxtext.h:
7863         * text.C: Added updateRowPositions to compute all row positions.
7864         Make top_y and getRowNearY() to use the cached y position
7865
7866 2003-04-11  John Levon  <levon@movementarian.org>
7867
7868         * text.C (rowBreakPoint): reintroduce the labelEnd
7869         checks, code copied from the row fill stuff. Deep voodoo.
7870
7871         * text.C (fill): add a comment and debugging for the
7872         next poor soul.
7873
7874 2003-04-11  John Levon  <levon@movementarian.org>
7875
7876         * text.C: make sure fullrow insets get wrapped to the next line,
7877         even when they're in a manual label
7878
7879 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7880
7881         * text2.C (insertParagraph): make it take ParagraphList::iterator
7882         as arg.
7883         (setLayout): make it return ParagraphList::iterator
7884         (redoParagraphs): ditto
7885         (setCounter): ditto
7886         (checkParagraph): ditto
7887
7888         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7889
7890         * text2.C: adjust several funcs.
7891         (realizeFont): take a ParagraphList::iterator as arg.
7892         (getLayoutFont): ditto
7893         (getLabelFont): ditto
7894         (setCharFont): ditto
7895
7896         * text.C: adjust several funcs.
7897
7898 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7899
7900         * text.C (selectNextWordToSpellcheck): don't accidentally
7901         skip insets
7902
7903 2003-04-10  John Levon  <levon@movementarian.org>
7904
7905         * ToolbarBackend.C (getIcon): special handling for
7906         LFUN_MATH_DELIM
7907
7908 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7909
7910         * text2.C (cursorRight): a getChar assert fixed
7911
7912 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7913
7914         * text2.C (getFont): change to take a ParagraphList::iterator
7915         instead of Paragraph*
7916         Adjust several functions.
7917
7918         * text.C (transformChar): change to take a ParagraphList::iterator
7919         instead of Paragraph*
7920         (singleWidth): ditto
7921         Adjust several functions.
7922
7923         * rowpainter.C: adjust several functions
7924         * rowpainter.h:store a ParagraphList::iterator and not a
7925         Paragraph&.
7926
7927
7928 2003-04-09  John Levon  <levon@movementarian.org>
7929
7930         * lyxfunc.C:
7931         * lfuns.h:
7932         * LyXAction.h:
7933         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7934         and the "help" bits as well
7935
7936 2003-04-09  John Levon  <levon@movementarian.org>
7937
7938         * ToolbarBackend.h:
7939         * ToolbarBackend.C: allow multiple toolbars
7940
7941 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7942
7943         * undo_funcs.C (setCursorParUndo): adjust
7944
7945         * text_funcs.C (transposeChars): adjust
7946
7947         * text3.C (gotoNextInset): adjust
7948         (dispatch): adjust
7949
7950         * text2.C (setLayout): adjust
7951         (changeDepth): adjust
7952         (setFont): adjust
7953         (redoParagraphs): adjust
7954         (selectionAsString): adjust
7955         (setParagraph): adjust
7956         (insertInset): adjust
7957         (cutSelection): adjust
7958         (copySelection): adjust
7959         (pasteSelection): adjust
7960         (insertStringAsLines): adjust
7961         (updateInset): adjust
7962         (setCursor): change to take a ParagraphList::iterator parameter
7963         (setCursorIntern): change to take a ParagraphList::iterator parameter
7964         (setCurrentFont): adjust
7965         (cursorLeft): adjust
7966         (cursorRight): adjust
7967         (deleteEmptyParagraphMechanism): adjust
7968
7969         * text.C (breakParagraph): adjust
7970         (insertChar): adjust
7971         (acceptChange): adjust
7972         (rejectChange): adjust
7973         (selectNextWordToSpellcheck): adjust
7974         (changeCase): adjust
7975         (Delete): adjust
7976         (backspace): adjust
7977
7978         * lyxfind.C (SearchForward): adjust
7979         (SearchBackward): adjust
7980         (nextChange): adjust
7981
7982         * lyxcursor.C (par): adjust
7983
7984         * lyxcursor.h: store a ParagraphList::iterator instead of a
7985         Paragraph*
7986
7987         * lyx_cb.C (getPossibleLabel): adjust
7988
7989         * bufferview_funcs.C (toggleAndShow): adjust
7990
7991         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7992         (dispatch): adjust
7993
7994         * BufferView.C (removeAutoInsets): adjust
7995         (lockedInsetStoreUndo): adjust
7996
7997 2003-04-09  John Levon  <levon@movementarian.org>
7998
7999         * ToolbarBackend.C: try icon without argument
8000         if with argument fails
8001
8002 2003-04-08  John Levon  <levon@movementarian.org>
8003
8004         * ToolbarBackend.h:
8005         * ToolbarBackend.C: add getIcon(), handle tooltip,
8006         and change from "Icon" to "Item".
8007
8008 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8009
8010         * BufferView.C (lockInset): another bad getchar crunched
8011
8012 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8013
8014         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8015         again)
8016
8017 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8018
8019         * lyxfind.C (searchForward, searchBackwards): bug 782
8020
8021 2003-04-07  John Levon  <levon@movementarian.org>
8022
8023         * paragraph.C: remove dead comment
8024
8025         * text.C: remove troublesome depth-fiddling code
8026         in leftMargin() and rightMargin() (bug 1017)
8027
8028         * text.C: fix breaking of rows in nested lists
8029         (bug 1004)
8030
8031         * text2.C (updateCounters): fix up depth values
8032         (bug 1013)
8033
8034 2003-04-07  John Levon  <levon@movementarian.org>
8035
8036         * BufferView_pimpl.C: clear message when doc finishes resizing,
8037         and after a mouse event
8038
8039         * lyxfunc.C: clear message after exiting inset
8040
8041 2003-04-07  John Levon  <levon@movementarian.org>
8042
8043         * bufferview_funcs.C: show math status not outside
8044         status in the statusbar
8045
8046 2003-04-07  John Levon  <levon@movementarian.org>
8047
8048         * lyxfunc.C: note status changed after a depth change
8049
8050 2003-04-04  Angus Leeming  <leeming@lyx.org>
8051
8052         * LaTeX.h: move AuxInfo operator==, != out of line.
8053         Remove LaTeX virtual destructor; nothing derives from it.
8054         Move operator()() out of public area and rename it startscript().
8055         Change protected for private.
8056
8057 2003-04-04  Angus Leeming  <leeming@lyx.org>
8058
8059         * lyxfunc.C:
8060         * text2.C: remove unneeded #includes.
8061
8062 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8063
8064         * text2.C (dEPM): fix the heigth of the next row
8065
8066 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8067
8068         * text.C: squashed an invalid getChar requester + some ws changes
8069
8070 2003-04-03  John Levon  <levon@movementarian.org>
8071
8072         * bufferview_funcs.h:
8073         * bufferview_funcs.C:
8074         * lyxfunc.C:
8075         * lyxtext.h:
8076         * text2.C: make getStatus work for the env depth lfuns
8077
8078 2003-04-03  John Levon  <levon@movementarian.org>
8079
8080         * bufferview_funcs.h:
8081         * bufferview_funcs.C:
8082         * lyxfunc.C:
8083         * lyxtext.h:
8084         * text2.C: parlistize decDepth(), by merging it with incDepth()
8085
8086 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8087
8088         * lyxrow.h: store a ParagraphList::iterator instead of a
8089         Paragraph* and adjust other class functions to suit.
8090
8091         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8092         above.
8093
8094 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8095
8096         * text2.C (setCursor): do not anchor to cursor row for the time being
8097
8098 2003-04-02  John Levon  <levon@movementarian.org>
8099
8100         * LyXAction.C:
8101         * lfuns.h:
8102         * lyx_main.C:
8103         * lyxtext.h:
8104         * text.C:
8105         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8106
8107 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8108
8109         * paragraph.h: make ParagraphList and ParagraphList::iterator
8110         friends of Paragraph.
8111
8112         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8113
8114         * ParagraphList.C: Use the private next_ and previous_ from
8115         Paragraph.
8116
8117 2003-04-01  John Levon  <levon@movementarian.org>
8118
8119         * ToolbarBackend.h:
8120         * ToolbarBackend.C:
8121         * Makefile.am: rename, remove defaults gunk
8122
8123         * MenuBackend.h:
8124         * MenuBackend.C: remove defaults gunk
8125
8126         * Languages.h:
8127         * Languages.C: remove defaults gunk
8128
8129         * lyx_main.h:
8130         * lyx_main.C: error out if files couldn't be found.
8131
8132 2003-04-02  John Levon  <levon@movementarian.org>
8133
8134         * text2.C: make incDepth() use parlist
8135
8136 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8137
8138         * undo_funcs.C (firstUndoParagraph): adjust
8139
8140         * text3.C (gotoInset): adjust
8141         (dispatch): adjust, and rewrite loop.
8142
8143         * text2.C (init): adjust, and rewrite loop.
8144         (redoParagraphs): adjust
8145         (updateInset): adjust, and rewrite loop.
8146         (deleteEmptyParagraphMechanism): adjust
8147
8148         * tabular.C (LyXTabular): adjust
8149         (SetMultiColumn): adjust
8150         (TeXRow): adjust
8151
8152         * lyxtext.[Ch] (ownerParagraph): delete function
8153         (ownerParagraphs): new function returns a ParagraphList.
8154
8155         * BufferView.C (removeAutoInsets): adjust
8156         (insertErrors): adjust
8157         (setCursorFromRow): adjust
8158
8159 2003-04-01  Angus Leeming  <leeming@lyx.org>
8160
8161         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8162         in the frontends.
8163
8164 2003-04-02  John Levon  <levon@movementarian.org>
8165
8166         * lyxtext.h:
8167         * text.C:
8168         * Makefile.am:
8169         * text_funcs.h:
8170         * text_funcs.C: make transposeChars a free function
8171
8172         * lyxrow_funcs.C: remove wrong comment
8173
8174 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8175
8176         * lyxtext.h: adjust
8177         * rowpainter.C: adjust
8178         * text.C: adjust
8179         * text2.C: adjust
8180         * text3.C: adjust
8181
8182         * lyxrow_funcs. [Ch]: new files
8183
8184         * lyxrow.[Ch]: remove next and previous pointers
8185         (next,previous): remove accessor functions
8186         (isParEnd): move to lyxrow_funcs
8187         (lastPos): move to lyxrow_funcs
8188         (nextRowIsAllInset): move to lyxrow_funcs
8189         (lastPrintablePos): move to lyxrow_funcs
8190         (numberOfSeparators): move to lyxrow_funcs
8191         (numberOfHfills): move to lyxrow_funcs
8192         (numberOfLabelHfills): move to lyxrow_funcs
8193         (hfillExpansion): move to lyxrow_funcs
8194
8195         * lyxfunc.C: adjust
8196
8197         * bufferview_funcs.C (toggleAndShow): adjust
8198
8199         * RowList.h: Remove class RowList from file leave just a
8200         std::list<Row>.
8201
8202         * RowList.C: delete file
8203
8204         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8205         and lyxrow_funcs.h
8206
8207 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8208
8209         * text3.C (cursorPrevious): adjust
8210         (cursorNext): adjust
8211         (dispatch): adjust
8212
8213         * text2.C (redoHeightOfParagraph): adjust
8214         (redoDrawingOfParagraph): adjust
8215         (setCursor): adjust
8216
8217         * text.C (breakParagraph): adjust
8218         (insertChar): adjust
8219         (backspace): adjust
8220
8221         * rowpainter.C (RowPainter): adjust
8222         (leftMargin): simplify and adjust
8223         (most rowpainter functions): adjust.
8224
8225         * rowpainter.h: store the row as RowList::iterator not as Row*
8226
8227         * lyxcursor.C (row): taka RowList::iterator as arg
8228         (irow): ditto
8229
8230         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8231         of Row*.
8232
8233 2003-04-01  Angus Leeming  <leeming@lyx.org>
8234
8235         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8236         stuff like bool Bool.
8237
8238 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8239
8240         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8241         rewrite a loop
8242
8243 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8244
8245         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8246         RowList::iterator.
8247
8248         * lyxtext.h (rows): drop one version and leve a const variant that
8249         returns a RowList::iterator.
8250
8251 2003-03-31  Angus Leeming  <leeming@lyx.org>
8252
8253         * text.C (fill): ensure that the signature is the same as that in the
8254         header file.
8255
8256 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8257
8258         * text2.C (redoParagraphs): adjust
8259         (updateCounters): adjust
8260         (checkParagraph): adjust
8261         (getColumnNearX): adjust and reformat a bit.
8262
8263         * text.C (top_y): adjust
8264         (workWidth): adjust
8265         (leftMargin): adjust
8266         (prepareToPrint): adjust
8267         (getRow): adjust
8268         (getRowNearY): adjust
8269
8270         * lyxtext.h: make rowlist_ mutable.
8271
8272         * RowList.h: add const_iterator
8273         * RowList.C: adjust for RowList::const_iterator.
8274
8275         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8276         adjust.
8277
8278 2003-03-31  John Levon  <levon@movementarian.org>
8279
8280         * lyxrc.h:
8281         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8282
8283         * lyx_main.C: set default fonts from using lyx_gui funcs
8284
8285         * exporter.C: pdf_mode moved from lyxrc
8286
8287         * lyx_cb.C:
8288         * lyxfunc.C: changes from above
8289
8290 2003-03-31  John Levon  <levon@movementarian.org>
8291
8292         * lyx_main.C: fix to the last fix
8293
8294 2003-03-31  John Levon  <levon@movementarian.org>
8295
8296         * bufferlist.C: "Load original" -> "Load Original"
8297
8298         * converter.C:
8299         * exporter.C:
8300         * importer.C:
8301         * lyx_main.C:
8302         * format.C: more Alert cleanups
8303
8304 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8305
8306         * text2.C (removeParagraph): make it take a RowList::iterator as
8307         arg, adjust.
8308         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8309         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8310
8311         * text.C (anchor_row): make it take a RowList::iterator as arg,
8312         adjust.
8313         (computeBidiTables): make it take a const reference to Row instead
8314         of Row pointer, adjust.
8315         (leftMargin): make it take a RowList::iterator as arg, adjust.
8316         (rowBreakPoint): adjust
8317         (breakAgainOneRow): make it take a RowList::iterator as arg,
8318         adjust.
8319         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8320
8321         * bufferview_funcs.C (toggleAndShow): adjust
8322
8323 2003-03-30  John Levon  <levon@movementarian.org>
8324
8325         * Makefile.am:
8326         * BoostFormat.h:
8327         * boost-inst.C: moved to support
8328
8329         * several files: changes as a result
8330
8331 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8332
8333         * text2.C (LyXText): adjust.
8334         (init): adjust
8335         (removeRow): make it take a RowList::iterator as arg, adjust.
8336         (fullRebreak): adjust
8337         (deleteEmptyParagraphMechanism): adjust
8338         (clearPaint): adjust
8339         (postPaint): adjust
8340
8341         * text.C (top_y): adjust
8342         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8343         (breakAgain): make it take a RowList::iterator as arg, adjust.
8344         (breakParagraph): adjust
8345         (insertChar): adjust
8346         (backspace): adjust
8347
8348         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8349         need_break_row, and refresh_row.
8350
8351         * text3.C (dispatch): adjust
8352
8353         * text2.C (checkParagraph): adjust
8354         (setCursor): adjust
8355         (setCursorFromCoordinates): adjust
8356
8357         * text.C (top_y): adjust
8358         (workWidth): adjust
8359         (getRow): make it return a RowList::iterator, adjust
8360         (getRowNearY): make it return a RowList::iterator, adjust
8361
8362         * text2.C (init): adjust
8363         (insertRow): remove function
8364         (insertParagraph): adjust
8365         (redoParagraphs): adjust
8366         (fullRebreak): adjust
8367         (updateCounters): adjust
8368
8369         * text.C (top_y): rewrite to use RowList iterators.
8370         (top_y): adjust
8371         (setHeightOfRow): rewrite to sue RowList iterators.
8372         (appendParagraph): adjust
8373         (breakAgain): adjust
8374         (breakAgainOneRow): adjust
8375         (breakParagraph): adjust
8376         (getRow): adjust
8377         (getRowNearY): adjust, and remove commented code.
8378
8379         * lyxtext.h (firstRow): delete function
8380         (lastRow): delete function
8381         (rows): new function (const and non-const versions.)
8382         (insertRow): delete function
8383
8384         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8385
8386 2003-03-29  John Levon  <levon@movementarian.org>
8387
8388         * BufferView_pimpl.C: always update scrollbar top
8389         because pasting text when we're anchored could mean we
8390         miss an update altogether
8391
8392 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8393
8394         * text2.C (init): use rowlist_.end() and not 0.
8395         (insertRow): change to take a RowList::iterator as arg, adjust
8396         for this.
8397         (insertParagraph): change to take a RowList::iterator as arg,
8398         adjust for this.
8399         (redoParagraphs): remove some debug msgs.
8400
8401         * text.C (appendParagraph): change to take a RowList::iterator
8402         arg, adjust for this.
8403         (breakAgain): add an assert
8404         (breakAgainOneRow): ditto
8405
8406 2003-03-29  John Levon  <levon@movementarian.org>
8407
8408         * text2.C: do not clear selection after inc/decDepth
8409         (bug 550)
8410
8411 2003-03-29  John Levon  <levon@movementarian.org>
8412
8413         * BufferView.C:
8414         * buffer.C: fix broken strerrors according to Lars
8415
8416 2003-03-29  John Levon  <levon@movementarian.org>
8417
8418         * converters.C: more Alert cleanups
8419
8420 2003-03-29  John Levon  <levon@movementarian.org>
8421
8422         * bufferview_funcs.C: remove pointless Alert
8423
8424         * buffer.C: fix confusing error message when
8425         a template is chmoded 000
8426
8427 2003-03-29  John Levon  <levon@movementarian.org>
8428
8429         * BufferView.C:
8430         * BufferView.h:
8431         * BufferView_pimpl.C: Alert fixes
8432
8433         * Makefile.am:
8434         * tabular.C:
8435         * tabular-old.C: remove unused table compat reading
8436
8437 2003-03-29  John Levon  <levon@movementarian.org>
8438
8439         * BufferView.C:
8440         * buffer.C:
8441         * lyx_cb.h:
8442         * lyx_cb.C: more Alert cleanups
8443
8444         * lyxfunc.C: don't allow chktex if not latex document
8445
8446 2003-03-29  John Levon  <levon@movementarian.org>
8447
8448         * lyx_cb.C:
8449         * BufferView.C:
8450         * buffer.C: warnings pushed down from support/,
8451         kill err_alert
8452
8453 2003-03-29  John Levon  <levon@movementarian.org>
8454
8455         * lyxfunc.C: safety check for C-r (revert)
8456
8457 2003-03-29  John Levon  <levon@movementarian.org>
8458
8459         * bufferlist.h:
8460         * bufferlist.C: several UI fixes using Alert::prompt.
8461         Fix the pointless looping quit code. Fix stupid revert
8462         behaviour (bug 938)
8463
8464         * lyxvc.h:
8465         * lyxvc.C:
8466         * lyx_cb.C: use Alert::prompt
8467
8468         * lyx_main.C: remove a silly question
8469
8470         * lyxfunc.C: remove a couple of silly questions,
8471         use Alert::prompt
8472
8473 2003-03-28  John Levon  <levon@movementarian.org>
8474
8475         * text2.C: fix bug 974 (End on empty par)
8476
8477 2003-03-28  John Levon  <levon@movementarian.org>
8478
8479         * BufferView_pimpl.C:
8480         * LyXAction.C:
8481         * lfuns.h: remove do-nothing math greek lfuns
8482
8483 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8484
8485         * lyxgluelength.h (isValidGlueLength): add default arg on
8486         parameter 2. Remove default arg from friend in class.
8487
8488         * lyxlength.h (isValidLength): add default arg on parameter 2.
8489         Remove default arg from friend in class.
8490
8491         * text2.C (LyXText): adjust, initialize refresh_row.
8492         (init): adjust
8493         (removeRow): adjust
8494         (insertRow): adjust
8495         (insertParagraph): adjst
8496         (redoParagraphs): adjust
8497         (fullRebreak): adjust
8498         (updateCounters): adjust
8499         (deleteEmptyParagraphMechanism): first attempt at fixing a
8500         crashing bug.
8501
8502         * text.C (top_y): adjust
8503         (setHeightOfRow): adjust
8504         (getRow): adjust
8505         (getRowNearY): adjust
8506
8507         * lyxtext.h: include RowList.h
8508         (~LyXText): not needed anymore, deleted.
8509         (firstRow): modify for RowList
8510         (lastRow): new function
8511         Delete firstrow and lastrow class variables, add a Rowlist
8512         rowlist_ class variable.
8513
8514         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8515         paragraph is empty.
8516
8517         * RowList.C (insert): fix case where it == begin().
8518
8519 2003-03-26  Angus Leeming  <leeming@lyx.org>
8520
8521         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8522         the thesaurus dialog.
8523
8524 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8525
8526         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8527
8528         * RowList.[Ch]: new files
8529
8530         * ParagraphList.C (erase): handle the case where it == begin
8531         correctly.
8532
8533 2003-03-25  John Levon  <levon@movementarian.org>
8534
8535         * Makefile.am:
8536         * aspell_local.h:
8537         * aspell.C: add new aspell support
8538
8539         * lyxrc.h:
8540         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8541         have it accessible.
8542
8543 2003-03-25  Angus Leeming  <leeming@lyx.org>
8544
8545         * lfuns.h:
8546         * LyXAction.C (init): new LFUN_INSET_INSERT.
8547
8548         * BufferView_pimpl.C (dispatch): split out part of the
8549         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8550
8551         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8552         LFUN_INSET_APPLY.
8553
8554 2003-03-25  Angus Leeming  <leeming@lyx.org>
8555
8556         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8557
8558 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8559
8560         * text2.C:
8561         * text3.C: remove useless row->height(0)
8562
8563 2003-03-25  John Levon  <levon@movementarian.org>
8564
8565         * lyxtext.h:
8566         * text2.C:
8567         * text3.C: rename the refreshing stuff to better names
8568
8569 2003-03-24  John Levon  <levon@movementarian.org>
8570
8571         * BufferView_pimpl.h:
8572         * BufferView_pimpl.C: update layout choice on a mouse
8573         press/release
8574
8575 2003-03-23  John Levon  <levon@movementarian.org>
8576
8577         * Makefile.am: fix commandtags.h reference
8578
8579 2003-03-22  John Levon  <levon@movementarian.org>
8580
8581         * BufferView_pimpl.C:
8582         * lyxtext.h:
8583         * rowpainter.C:
8584         * rowpainter.h:
8585         * text.C:
8586         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8587
8588 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8589
8590         * lyxtext.h:
8591         * text.C: take the rtl methods out of line
8592
8593 2003-03-21 André Pönitz <poenitz@gmx.net>
8594
8595         * metricsinfo.[Ch]: new files containing structures to be passed around
8596         during the two-phase-drawing...
8597
8598 2003-03-21 André Pönitz <poenitz@gmx.net>
8599
8600         * lyxtextclass.C: read 'environment' tag.
8601
8602 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8603
8604         * text2.C (removeRow): fix bug 964
8605
8606 2003-03-20  John Levon  <levon@movementarian.org>
8607
8608         * rowpainter.C:
8609         * text.C:
8610         * text2.C: paint cleanups. Inset::update() dropped font
8611         parameter
8612
8613 2003-03-19  John Levon  <levon@movementarian.org>
8614
8615         * lyxfunc.C: only fitcursor/markDirty if available()
8616
8617 2003-03-19  John Levon  <levon@movementarian.org>
8618
8619         * commandtags.h: rename to ...
8620
8621         * lfuns.h: ... this, and renumber / cleanup
8622
8623 2003-03-19  John Levon  <levon@movementarian.org>
8624
8625         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8626         fit the cursor after an lfun
8627
8628         * BufferView.h:
8629         * BufferView.C:
8630         * BufferView_pimpl.h:
8631         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8632
8633         * LyXAction.C: layout-character should have ReadOnly
8634
8635         * ParagraphParameters.C:
8636         * buffer.C:
8637         * bufferview_funcs.C:
8638         * lyx_cb.C:
8639         * lyxfind.C:
8640         * lyxtext.h:
8641         * text.C:
8642         * text2.C:
8643         * text3.C:
8644         * undo_funcs.C: changes from above
8645
8646 2003-03-18  John Levon  <levon@movementarian.org>
8647
8648         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8649         remove it from update()
8650
8651         * lyxfunc.C: update layout choice after an lfun
8652
8653         * text3.C: remove extra updateLayoutChoice()s
8654
8655 2003-03-18  John Levon  <levon@movementarian.org>
8656
8657         * text.C: top_y change means full repaint, fix
8658         a drawing bug with cursor movement
8659
8660 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8661
8662         * lyxtext.h:
8663         * text.C:
8664         * text2.C: anchor row on setCursor
8665
8666 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8667
8668         * lyxtext.h: remove almost all mutable keywords
8669         * text.C:
8670         * text2.C:
8671         * text3.C: remove const keywords accordingly
8672
8673 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8674
8675         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8676         anon namespace
8677         (TeXEnvironment): ditto
8678         (TeXOnePar): ditto
8679
8680 2003-03-17  John Levon  <levon@movementarian.org>
8681
8682         * text.C (rowBreakPoint): remove attempt to fix displayed
8683         math insets inside a manual label
8684
8685 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8686
8687         * lyxtext.h: remove BufferView* as first arg from almost all class
8688         functions.
8689         * other files: adjust.
8690
8691 2003-03-17  John Levon  <levon@movementarian.org>
8692
8693         * lyxtext.h:
8694         * undo_funcs.C:
8695         * text2.C: more paint cleanups
8696
8697         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8698
8699         * rowpainter.h:
8700         * rowpainter.C: remove "smart" background painting code
8701
8702 2003-03-16  John Levon  <levon@movementarian.org>
8703
8704         * lyxtext.h:
8705         * text.C:
8706         * text2.C:
8707         * text3.C: add helper functions for setting refresh_row/y
8708
8709 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8710
8711         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8712         newline inset which *can* get inserted in the pass_thru layouts.
8713         This is primarily for literate documents.
8714
8715 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8716
8717         * buffer.C: increment LYX_FORMAT to 223
8718
8719 2003-03-14 André Pönitz <poenitz@gmx.net>
8720
8721         * textclass.h: prepare for environment handling, ws changes
8722         * lyxlayout.C: read latexheader and latexfooter tags
8723
8724 2003-03-14  John Levon  <levon@movementarian.org>
8725
8726         * text2.C: rewrite ::status() a bit
8727
8728 2003-03-13  John Levon  <levon@movementarian.org>
8729
8730         * lyxtext.h: add some docs
8731
8732 2003-03-13  John Levon  <levon@movementarian.org>
8733
8734         * lyxtext.h:
8735         * text.C:
8736         * text2.C:
8737         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8738
8739 2003-03-13  John Levon  <levon@movementarian.org>
8740
8741         * text3.C: fix appendix redrawing
8742
8743 2003-03-13  John Levon  <levon@movementarian.org>
8744
8745         * text.C (setHeightOfRow):
8746         * rowpainter.h:
8747         * rowpainter.C: make appendix mark have the text
8748           "Appendix" so the user knows what it is
8749
8750         * LColor.h:
8751         * LColor.C: s/appendixline/appendix/ from above
8752
8753 2003-03-13  John Levon  <levon@movementarian.org>
8754
8755         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8756
8757         * text.C: fix a getChar(pos) bug properly
8758
8759 2003-03-13  Angus Leeming  <leeming@lyx.org>
8760
8761         * commandtags.h:
8762         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8763         Probably only temporary. Let's see how things pan out.
8764
8765         * BufferView.C (unlockInset):
8766         * BufferView_pimpl.C (fitCursor):
8767         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8768
8769         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8770         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8771
8772         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8773         new functions that convert ParagraphParameters to and from a string.
8774
8775         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8776         BufferView::Pimpl's dispatch.
8777         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8778
8779 2003-03-13 André Pönitz <poenitz@gmx.net>
8780
8781         * lyxfunc.C:
8782         * text3.C:
8783         * factory.C: make it aware of InsetEnv
8784
8785 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8786
8787         * text2.C (setCursor): never ask for one past last
8788         (setCursor): add some debugging messages.
8789
8790         * text.C (singleWidth): never ask for one past last
8791         (singleWidth): ditto
8792         (leftMargin): ditto
8793         (rightMargin): ditto
8794         (rowBreakPoint): ditto
8795         (setHeightOfRow): ditto
8796         (prepareToPrint): ditto
8797
8798         * rowpainter.C (paintBackground): never ask for one past last
8799         (paintText): never ask for one past last
8800
8801         * paragraph_pimpl.C (getChar): make the assert stricter, never
8802         allow the one past last pos to be taken
8803
8804         * paragraph.C (getChar): ws changes only
8805
8806         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8807         (numberOfSeparators): ditto
8808         (numberOfHfills): ditto
8809
8810 2003-03-12  John Levon  <levon@movementarian.org>
8811
8812         * author.h:
8813         * author.C:
8814         * bufferparams.h:
8815         * bufferparams.C:
8816         * paragraph_funcs.C: fix per-buffer authorlists
8817
8818 2003-03-12  John Levon  <levon@movementarian.org>
8819
8820         * text.C: fix newline in right address
8821
8822 2003-03-12  Angus Leeming  <leeming@lyx.org>
8823
8824         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8825         duplicate those in LyXFunc::dispatch.
8826
8827         * commandtags.h:
8828         * LyXAction.C:
8829         * ToolbarDefaults.C:
8830         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8831         Add LFUN_FONTFREE_UPDATE.
8832
8833         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8834         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8835
8836         * bufferview_func.[Ch]: several new functions to facilliate
8837         transfer of data to and from the character dialog.
8838
8839 2003-03-12  John Levon  <levon@movementarian.org>
8840
8841         * buffer.C:
8842         * paragraph.h:
8843         * paragraph.C:
8844         * paragraph_funcs.C:
8845         * paragraph_pimpl.C:
8846         * sgml.C:
8847         * tabular.C:
8848         * text.C:
8849         * text3.C: remove META_NEWLINE in favour of an inset
8850
8851         * rowpainter.h:
8852         * rowpainter.C: remove paintNewline (done by inset)
8853
8854 2003-03-12  John Levon  <levon@movementarian.org>
8855
8856         * paragraph_pimpl.C: complain about bad getChar()s
8857         for a while at least
8858
8859 2003-03-12  John Levon  <levon@movementarian.org>
8860
8861         * buffer.h:
8862         * buffer.C: move paragraph read into a separate function,
8863         a little renaming to reflect that.
8864
8865         * bufferparams.h:
8866         * bufferparams.C: remove the author_ids map, not necessary now
8867
8868         * factory.h:
8869         * factory.C: moved Buffer::readInset to here
8870
8871         * paragraph_funcs.h:
8872         * paragraph_funcs.C: readParagraph free function moved from
8873         buffer.C
8874
8875         * tabular.C: name change
8876
8877 2003-03-12  John Levon  <levon@movementarian.org>
8878
8879         * buffer.C:
8880         * ParagraphParameters.C: move par params input to
8881         a read() method
8882
8883         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8884         behave like a normal read from the stream wrt reading
8885         a line vs. a \\token
8886
8887 2003-03-12  John Levon  <levon@movementarian.org>
8888
8889         * paragraph.C:
8890         * ParagraphParameters.h:
8891         * ParagraphParameters.C: move output code to a
8892         ::write() method
8893
8894 2003-03-12  John Levon  <levon@movementarian.org>
8895
8896         * BufferView.C (insertLyXFile):
8897         * buffer.h:
8898         * buffer.C:
8899         * tabular.C: use a parlist iterator for creating the
8900           document.
8901
8902 2003-03-12  John Levon  <levon@movementarian.org>
8903
8904         * buffer.C: make current_change static local not
8905           static file-scope
8906
8907 2003-03-12  John Levon  <levon@movementarian.org>
8908
8909         * buffer.C: fix insertStringAsLines for change tracking
8910
8911 2003-03-12  John Levon  <levon@movementarian.org>
8912
8913         * BufferView.C:
8914         * tabular.C:
8915         * buffer.h:
8916         * buffer.C:
8917         * bufferparams.h:
8918         * bufferparams.C: move author list into params. Rename some
8919           functions. Move the header reading into a separate token
8920           loop. Move the header token reading into BufferParams.
8921
8922 2003-03-12  John Levon  <levon@movementarian.org>
8923
8924         * changes.C: put debug inside lyxerr.debugging() checks
8925
8926 2003-03-11 André Pönitz <poenitz@gmx.net>
8927
8928         * factory.C: make it aware of InsetHFill
8929
8930 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8931
8932         * buffer.C (latexParagraphs): move function from here...
8933         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8934         args.
8935
8936 2003-03-10  Angus Leeming  <leeming@lyx.org>
8937
8938         * LyXAction.C (init): fix bug in poplating array with multiple entries
8939         with the same LFUN (spotted by JMarc).
8940
8941 2003-03-10  John Levon  <levon@movementarian.org>
8942
8943         * text.C:
8944         * text2.C: move getColumnNearX() near its
8945         only call site
8946
8947 2003-03-10  John Levon  <levon@movementarian.org>
8948
8949         * text.C: fix break before a minipage
8950
8951 2003-03-10  John Levon  <levon@movementarian.org>
8952
8953         * text.C: fix the last commit
8954
8955 2003-03-09  John Levon  <levon@movementarian.org>
8956
8957         * lyxtext.h:
8958         * text.C:
8959         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8960         bug 365 (don't break before insets unless needed). Don't
8961         return a value > last under any circumstances.
8962
8963 2003-03-09  Angus Leeming  <leeming@lyx.org>
8964
8965         * BufferView_pimpl.C (trackChanges, dispatch): call
8966         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8967
8968 2003-03-09  Angus Leeming  <leeming@lyx.org>
8969
8970         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8971         than Dialogs::showAboutlyx().
8972
8973 2003-03-09  Angus Leeming  <leeming@lyx.org>
8974
8975         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8976         than Dialogs::showTabularCreate().
8977
8978 2003-03-09  John Levon  <levon@movementarian.org>
8979
8980         * lyxtext.h:
8981         * text.C:
8982         * text2.C: 3rd arg to nextBreakPoint was always the same.
8983           Use references.
8984
8985 2003-03-08  John Levon  <levon@movementarian.org>
8986
8987         * lyxrow.C:
8988         * paragraph.C:
8989         * paragraph.h:
8990         * rowpainter.C:
8991         * text.C:
8992         * text2.C: Remove the "main" bit from the "main body"
8993           notion.
8994
8995 2003-03-08  John Levon  <levon@movementarian.org>
8996
8997         * text.C (leftMargin): The left margin of an empty
8998         manual label paragraph should not include the label width
8999         string length.
9000
9001         * text.C (prepareToPrint): don't attempt to measure hfills
9002         for empty manual label paragraphs - the answer should be 0
9003
9004 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9005
9006         * CutAndPaste.C: remove commented code and reindent.
9007
9008 2003-03-08  John Levon  <levon@movementarian.org>
9009
9010         * lyxfunc.h:
9011         * lyxfunc.C: move reloadBuffer()
9012
9013         * BufferView.h:
9014         * BufferView.C: to here
9015
9016         * lyxvc.C: add comment
9017
9018         * vc-backend.h:
9019         * vc-backend.C: call bv->reload() to avoid
9020           getStatus() check on MENURELOAD
9021
9022 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9023
9024         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9025         to an old format .dep file.
9026
9027 2003-03-07  Angus Leeming  <leeming@lyx.org>
9028
9029         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9030         when the LFUN_MOUSE_RELEASE should have been handled by
9031         inset->localDispatch.
9032
9033 2003-03-07  Angus Leeming  <leeming@lyx.org>
9034
9035         * BufferView_pimpl.C (dispatch):
9036         * LyXAction.C (init):
9037         * ToolbarDefaults.C (init):
9038         * commandtags.h:
9039         * lyxfunc.C (getStatus):
9040         remove LFUN_INSET_GRAPHICS.
9041
9042         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9043
9044 2003-03-07  Angus Leeming  <leeming@lyx.org>
9045
9046         * commandtags.h:
9047         * LyXAction.C (init):
9048         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9049
9050         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9051
9052         * commandtags.h:
9053         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9054
9055         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9056         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9057
9058 2003-03-07  Angus Leeming  <leeming@lyx.org>
9059
9060         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9061         remove "ert".
9062
9063 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9064
9065         * ParagraphList.C (front): new function
9066         (back): implement
9067
9068 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9069
9070         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9071         and top_row_offset_. removed var first_y.
9072         * text.C (top_y):
9073         * text2.C (LyXText, removeRow):
9074         * text3.C:
9075         * BufferView_pimpl.C:
9076         use these methods instead of using first_y
9077
9078 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9079
9080         * text2.C (pasteSelection): adjust for checkPastePossible
9081
9082         * CutAndPaste.C: remove Paragraph * buf and replace with
9083         ParagraphList paragraphs.
9084         (DeleteBuffer): delete
9085         (cutSelection): change the tc type to textclass_type
9086         (copySelection): change the tc type to textclass_type
9087         (copySelection): adjust for ParagraphList
9088         (pasteSelection): change the tc type to textclass_type
9089         (pasteSelection): adjust for Paragraphlist
9090         (nrOfParagraphs): simplify for ParagraphList
9091         (checkPastePossible): simplify for ParagraphList
9092         (checkPastePossible): remove unused arg
9093
9094         * ParagraphList.C (insert): handle the case where there are no
9095         paragraphs yet.
9096
9097         * CutAndPaste.h: make CutAndPaste a namespace.
9098
9099         * text3.C (dispatch): adjust
9100
9101         * text.C (breakParagraph): add a ParagraphList as arg
9102
9103         * paragraph_funcs.C (breakParagraph): change to take a
9104         BufferParams and a ParagraphList as args.
9105         (breakParagraphConservative): ditto
9106         (mergeParagraph): ditto
9107         (TeXDeeper): add a ParagraphList arg
9108         (TeXEnvironment): ditto
9109         (TeXOnePar): ditto
9110
9111         * buffer.C (readLyXformat2): adjust
9112         (insertStringAsLines): adjust
9113         (latexParagraphs): adjust
9114
9115         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9116         (cutSelection): adjust
9117         (pasteSelection): adjust
9118
9119         * BufferView_pimpl.C (insertInset): adjust
9120
9121 2003-03-05  Angus Leeming  <leeming@lyx.org>
9122
9123         * commandtags.h:
9124         * LyXAction.C (init):
9125         * BufferView_pimpl.C (dispatch):
9126         * lyxfunc.C (getStatus):
9127         remove LFUN_CHILD_INSERT.
9128
9129         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9130
9131 2003-03-05  Angus Leeming  <leeming@lyx.org>
9132
9133         * commandtags.h:
9134         * LyXAction.C (init):
9135         * src/factory.C (createInset):
9136         * lyxfunc.C (getStatus):
9137         * text3.C (dispatch):
9138         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9139
9140         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9141
9142 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9143
9144         * ParagraphList.C (insert): handle insert right before end()
9145         (erase): fix cases where it can be first or last paragraph.
9146
9147 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9148
9149         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9150         Paragraph::next and Paragraph::previous
9151         (TeXOnePar): ditto
9152
9153         * text.C (breakParagraph): adjust
9154
9155         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9156         BufferParams& as arg.
9157         (breakParagraph): use ParagraphList::insert
9158         (breakParagraphConservative): take a Buffer* instead of a
9159         BufferParams& as arg.
9160         (breakParagraphConservative): use ParagraphList::insert.
9161
9162         * buffer.C (insertStringAsLines): un-const it
9163         (insertStringAsLines): adjust
9164
9165         * ParagraphList.C (insert): new function
9166
9167         * CutAndPaste.C (pasteSelection): adjust
9168
9169         * text.C (backspace): adjust
9170
9171         * tabular.C (SetMultiColumn): adjust
9172
9173         * CutAndPaste.C (cutSelection): adjust
9174         (pasteSelection): adjust
9175
9176         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9177         Buffer const * as arg
9178
9179         * ParagraphList.C (erase): new function
9180         * paragraph_funcs.C (mergeParagraph): use it
9181         (mergeParagraph): make it take a Buffer* instead of a
9182         BufferParams* as arg
9183
9184         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9185         as arg
9186         (breakParagraphConservative): ditto
9187
9188         * paragraph.h: remove the breakParagraph friend
9189
9190         * paragraph.C (eraseIntern): new function
9191         (setChange): new function
9192
9193         * paragraph_funcs.C (mergeParagraph): make it take a
9194         ParagraphList::iterator instead of a Paragraph *, adjust
9195         accordingly.
9196
9197         * paragraph.h: move an #endif so that the change tracking stuff
9198         also works in the NO_NEXT case.
9199
9200 2003-03-04  Angus Leeming  <leeming@lyx.org>
9201
9202         * commandtags.h:
9203         * LyXAction.C: new LFUN_INSET_MODIFY.
9204
9205         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9206         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9207
9208 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9209
9210         * several files: ws changes only
9211
9212         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9213         (TeXEnvironment): ditto
9214         (TeXDeeper): ditto
9215
9216         * buffer.C (makeLaTeXFile): adjust
9217         (latexParagraphs): make it take ParagraphList::iterator as args
9218
9219 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9220
9221         * buffer.C (latexParagraphs): adjust
9222
9223         * paragraph.C (TeXOnePar): move function...
9224         (optArgInset): move function...
9225         (TeXEnvironment): move function...
9226         * paragraph_pimpl.C (TeXDeeper): move function...
9227         * paragraph_funcs.C: ...here
9228
9229         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9230
9231 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9232
9233         * buffer.C (readInset): remove compability code for old Figure and
9234         InsetInfo insets
9235
9236 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9237
9238         * buffer.C: ws changes
9239         (readInset):
9240
9241         * BufferView_pimpl.C: ditto
9242         * author.C: ditto
9243         * buffer.h: ditto
9244         * bufferlist.h: ditto
9245         * changes.h: ditto
9246         * lyxfunc.C: ditto
9247
9248 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9249
9250         * converter.[Ch]: split into itself +
9251         * graph.[Ch]
9252         * format.[Ch]
9253         * Makefile.am: += graph.[Ch] + format.[Ch]
9254         * MenuBackend.C
9255         * buffer.C
9256         * exporter.C
9257         * importer.C
9258         * lyx_main.C
9259         * lyxfunc.C
9260         * lyxrc.C: added #include "format.h"
9261
9262 2003-02-27  Angus Leeming  <leeming@lyx.org>
9263
9264         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9265           a label.
9266
9267         * factory.C (createInset): add "label" to the factory.
9268
9269         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9270           string and do no more.
9271
9272 2003-02-27  Angus Leeming  <leeming@lyx.org>
9273
9274         * commandtags.h:
9275         * LyXAction.C (init):
9276         * factory.C (createInset):
9277         * BufferView_pimpl.C (dispatch):
9278           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9279
9280         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9281
9282         * lyxfunc.C (dispatch):
9283         * text3.C (dispatch): pass name to params2string.
9284
9285 2003-02-26  Angus Leeming  <leeming@lyx.org>
9286
9287         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9288           blocks together.
9289           Rearrange the ~includes. Strip out the unnecessary ones.
9290
9291         * factory.C (createInset): reformat.
9292           create new insets for the various LFUN_XYZ_APPLY lfuns.
9293
9294 2003-02-26  John Levon  <levon@movementarian.org>
9295
9296         * lyxrow.h:
9297         * lyxrow.C: add isParStart,isParEnd helpers
9298
9299         * paragraph.h: make isInserted/DeletedText take refs
9300
9301         * paragraph_funcs.h:
9302         * paragraph_funcs.C: remove #if 0'd code
9303
9304         * lyxtext.h:
9305         * text3.C:
9306         * text2.C:
9307         * text.C: use lyxrow helpers above.
9308           Move draw and paint routines to RowPainter.
9309           Make several methods use refs not pointers.
9310           Make backgroundColor() const.
9311           Add markChangeInDraw(), isInInset().
9312           Merge changeRegionCase into changeCase.
9313           Make workWidth() shouldn't-happen code into an Assert.
9314
9315         * rowpainter.h:
9316         * rowpainter.C: new class for painting a row.
9317
9318         * vspace.h:
9319         * vspace.C: make inPixels take a ref
9320
9321 2003-02-26  Angus Leeming  <leeming@lyx.org>
9322
9323         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9324         LFUN_REF_APPLY.
9325
9326 2003-02-25  John Levon  <levon@movementarian.org>
9327
9328         * ispell.C: give the forked command a more accurate name
9329
9330 2003-02-22  John Levon  <levon@movementarian.org>
9331
9332         * toc.h:
9333         * toc.C: make TocItem store an id not a Paragraph *
9334           (bug #913)
9335
9336 2003-02-21  Angus Leeming  <leeming@lyx.org>
9337
9338         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9339           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9340           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9341           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9342           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9343           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9344
9345         * BufferView_pimpl.C (dispatch):
9346         * LyXAction.C (init):
9347         * factory.C (createInset):
9348         * lyxfunc.C (getStatus, dispatch):
9349         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9350
9351 2003-02-21  Angus Leeming  <leeming@lyx.org>
9352
9353         * BufferView_pimpl.C (MenuInsertLyXFile):
9354         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9355         * lyxfunc.C (menuNew, open, doImport):
9356           no longer pass a LyXView & to fileDlg.
9357
9358 2003-02-21  Angus Leeming  <leeming@lyx.org>
9359
9360         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9361         * LyXAction.C: change, BIBKEY to BIBITEM.
9362         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9363         Change InsetBibKey to InsetBibitem.
9364         Change BIBKEY_CODE to BIBITEM_CODE.
9365         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9366         * factory.C: replace insetbib.h with insetbibitem.h.
9367         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9368         * paragraph.C: replace insetbib.h with insetbibitem.h.
9369         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9370         Change bibkey() to bibitem().
9371         * text.C: remove insetbib.h.
9372         * text2.C: replace insetbib.h with insetbibitem.h.
9373         change bibkey() to bibitem().
9374         * text3.C: remove insetbib.h.
9375         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9376
9377 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9378
9379         * lyxrc.C (output): enclose user email in quotes (in case there are
9380         several words)
9381
9382 2003-02-18  John Levon  <levon@movementarian.org>
9383
9384         * buffer.h: add std::
9385
9386 2003-02-17  John Levon  <levon@movementarian.org>
9387
9388         * SpellBase.h:
9389         * ispell.h:
9390         * ispell.C:
9391         * pspell.h:
9392         * pspell.C: reworking. Especially in ispell, a large
9393           number of clean ups and bug fixes.
9394
9395         * lyxfunc.C: fix revert to behave sensibly
9396
9397 2003-02-17 André Pönitz <poenitz@gmx.net>
9398
9399         * LyXAction.C:
9400         * commandtags.h: new LFUN_INSERT_BIBKEY
9401
9402         * layout.h:
9403         * lyxlayout.C:
9404         * buffer.C:
9405         * factory.C:
9406         * text.C:
9407         * text2.C:
9408         * text3.C:
9409         * paragraph.[Ch]:
9410         * paragraph_func.C: remove special bibkey handling
9411
9412 2003-02-17  John Levon  <levon@movementarian.org>
9413
9414         * text.C (Delete): fix case where delete at the end of
9415           the very first paragraph would not merge the pars
9416
9417 2003-02-17  John Levon  <levon@movementarian.org>
9418
9419         * lyxrow.C: fix lastPrintablePos()
9420
9421 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9422
9423         * bufferparams.C (writeLaTeX): add a std:here
9424
9425         * buffer.C: and remove a using directive there
9426
9427 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9428
9429         * buffer.C (makeLaTeXFile): move the code that generates the
9430           preamble...
9431
9432         * bufferparams.C (writeLaTeX): ... in this new method
9433
9434         * LaTeXFeatures.C (getEncodingSet): make const
9435           (getLanguages): make const
9436
9437         * MenuBackend.C (binding): returns the binding associated to this
9438           action
9439           (add): sets the status of each item by calling getStatus. Adds
9440           some intelligence.
9441           (read): add support for OptSubMenu
9442           (expand): remove extra separator at the end of expanded menu
9443
9444 2003-02-15  John Levon  <levon@movementarian.org>
9445
9446         * BufferView.C:
9447         * BufferView_pimpl.C:
9448         * bufferlist.h:
9449         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9450           inset code that had no actual effect. Remove unneeded status
9451           code.
9452
9453 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9454
9455         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9456           in preamble
9457
9458 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9459
9460         * text.C (drawLengthMarker): also draw an arrow marker for
9461           symbolic lengths (medskip...)
9462
9463 2003-02-14  John Levon  <levon@movementarian.org>
9464
9465         * tabular.h:
9466         * tabular.C: better method names
9467
9468 2003-02-14  John Levon  <levon@movementarian.org>
9469
9470         * BufferView_pimpl.C:
9471         * bufferlist.C:
9472         * buffer.C:
9473         * converter.C:
9474         * lyx_cb.C:
9475         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9476           it's a more accurate name. Remove some pointless uses.
9477
9478 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9479
9480         * text2.C (LyXText): change order of initilizers to shut off
9481           warnings
9482
9483 2003-02-14  John Levon  <levon@movementarian.org>
9484
9485         * buffer.C: use ParIterator for getParFromID()
9486
9487         * paragraph.h:
9488         * paragraph.C:
9489         * paragraph_pimpl.h:
9490         * paragraph_pimpl.C: remove unused getParFromID()
9491
9492 2003-02-14  John Levon  <levon@movementarian.org>
9493
9494         * buffer.C: remove some very old #if 0'd parse code
9495
9496 2003-02-13  John Levon  <levon@movementarian.org>
9497
9498         * text.h:
9499         * text.C:
9500         * text2.C: move hfillExpansion(), numberOfSeparators(),
9501           rowLast(), rowLastPrintable(), numberofHfills(),
9502           numberOfLabelHfills() ...
9503
9504         * lyxrow.h:
9505         * lyxrow.C: ... to member functions here.
9506
9507         * paragraph.h:
9508         * paragraph.C:
9509         * lyxtext.h:
9510         * text.C: remove LyXText::beginningOfMainBody(), and call
9511           p->beginningOfMainBody() directly. Move the check for
9512           LABEL_MANUAL into the latter.
9513
9514         * text.h:
9515         * text.C:
9516         * text2.C:
9517         * vspace.C:
9518         * BufferView.h:
9519         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9520
9521         * text.h:
9522         * text.C:
9523         * text2.C:
9524         * text3.C:
9525         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9526           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9527
9528 2003-02-13  John Levon  <levon@movementarian.org>
9529
9530         * CutAndPaste.C: remove debug
9531
9532 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9533
9534         * paragraph.C (asString): remove two unused variables
9535
9536         * lyxtextclass.C (readTitleType):
9537           (Read):
9538           (LyXTextClass): handle new members titletype_ and titlename_
9539
9540         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9541
9542 2003-02-09  John Levon  <levon@movementarian.org>
9543
9544         * buffer.h:
9545         * buffer.C: replace hand-coded list with a map for the dep clean
9546
9547 2003-02-08  John Levon  <levon@movementarian.org>
9548
9549         * LaTeX.C: consolidate code into showRunMessage() helper
9550
9551 2003-02-08  John Levon  <levon@movementarian.org>
9552
9553         * lyxfind.C:
9554         * lyxtext.h:
9555         * text2.C:
9556         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9557           and pass the size in explicitly
9558
9559         * BufferView_pimpl.h:
9560         * BufferView_pimpl.C:
9561         * BufferView.h:
9562         * BufferView.C: add getCurrentChange()
9563
9564         * BufferView_pimpl.h:
9565         * BufferView_pimpl.C: handle change lfuns
9566
9567         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9568           for changes. Mark pasted paragraphs as new.
9569
9570         * support/lyxtime.h:
9571         * support/lyxtime.C:
9572         * DepTable.C: abstract time_t as lyx::time_type
9573
9574         * LColor.h:
9575         * LColor.C: add colours for new text, deleted text, changebars
9576
9577         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9578           package use "usenames" option.
9579
9580         * commandtags.h:
9581         * lyxfunc.C:
9582         * LyXAction.C: add change lfuns
9583
9584         * Makefile.am:
9585         * author.h:
9586         * author.C: author handling
9587
9588         * buffer.h:
9589         * buffer.C: add a per-buffer author list, with first entry as
9590           current author. Handle new .lyx tokens for change tracking. Output
9591           author list to .lyx file. Output dvipost stuff to .tex preamble.
9592           Bump lyx format to 222.
9593
9594         * bufferlist.h:
9595         * bufferlist.C: add setCurrentAuthor() to reset current author details
9596           in all buffers.
9597
9598         * bufferparams.h:
9599         * bufferparams.C: add param for tracking
9600
9601         * bufferview_funcs.C: output change info in minibuffer
9602
9603         * Makefile.am:
9604         * changes.h:
9605         * changes.C: add change-tracking structure
9606
9607         * debug.h:
9608         * debug.C: add CHANGES debug flag
9609
9610         * lyxfind.h:
9611         * lyxfind.C: add code for finding the next change piece
9612
9613         * lyxrc.h:
9614         * lyxrc.C: add user_name and user_email
9615
9616         * lyxrow.h:
9617         * lyxrow.C: add a metric for the top of the text line
9618
9619         * lyxtext.h:
9620         * text.C: implement accept/rejectChange()
9621
9622         * lyxtext.h:
9623         * text.C: paint changebars. Paint new/deleted text in the chosen
9624         colours. Strike through deleted text.
9625
9626         * paragraph.h:
9627         * paragraph.C:
9628         * paragraph_pimpl.h:
9629         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9630           in the current change to the insert functions. Rework erase to
9631           mark text as deleted, adding an eraseIntern() and a range-based
9632           erase(). Implement per-paragraph change lookup and
9633           accept/reject.
9634
9635         * paragraph_funcs.C: Fixup paste for change tracking.
9636
9637         * tabular.C: mark added row/columns as new.
9638
9639         * text.C: fix rowLast() to never return -1. Don't allow
9640           spellchecking of deleted text. Track transpose changes. Don't
9641           allow paragraph break or merge where appropriate.
9642
9643         * text2.C: leave cursor at end of selection after a cut.
9644
9645 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9646
9647         * text.C (getLengthMarkerHeight):
9648         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9649         visible on screen too.
9650
9651 2003-02-07  John Levon  <levon@movementarian.org>
9652
9653         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9654
9655 2003-02-05  Angus Leeming  <leeming@lyx.org>
9656
9657         * lyxserver.C (read_ready): revert my patch of 11 September last year
9658         as it sends PC cpu through the roof. Presumably this means that
9659         the lyxserver will no longer run on an Alpha...
9660
9661 2003-01-30  Angus Leeming  <leeming@lyx.org>
9662
9663         * factory.C (createInset): create an InsetCommandParam of type "index"
9664         and use it to 'do the right thing'.
9665
9666         * text2.C (getStringToIndex): ensure that cursor position is always
9667         reset to the reset_cursor position.
9668
9669 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9670
9671         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9672         disabled.
9673
9674 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9675
9676         * bufferview.C:
9677         * lyxcb.C:
9678         * lyxfunc.C: Output messages with identical spelling, punctuation,
9679         and spaces
9680
9681 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9682
9683         * MenuBackend.C (expandFormats): List only viewable export formats
9684         in "View" menu
9685
9686         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9687         message
9688
9689         * lyxfunc.C (getStatus): Make sure that formats other than
9690         "fax" can also be disabled
9691
9692 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9693
9694         * text3.C (dispatch): put the lfuns that insert insets in 3
9695         groups, and call doInsertInset with appropriate arguments.
9696         (doInsertInset): new function, that creates an inset and inserts
9697         it according to some boolean parameters.
9698
9699 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9700
9701         * buffer.C (readFile): remember to pass on 'par' when calling
9702         readFile recursively.
9703
9704 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9705
9706         * MenuBackend.C (expandFormats): add "..." to import formats.
9707
9708 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9709
9710         * paragraph.C (asString): Remove XForms RTL hacks.
9711
9712 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9713         * buffer.C: fix typo
9714
9715 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9716
9717         * Makefile.am (LIBS): delete var
9718         (lyx_LDADD): add @LIBS@ here instead.
9719
9720 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9721
9722         * Clarify the meaning of "wheel mouse jump"
9723
9724 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9725
9726         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9727         tabular in a float
9728
9729 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9730
9731         * importer.C (Loaders): do not preallocate 3 elements in the
9732         vector, since one ends up with 6 elements otherwise
9733
9734 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9735
9736         * DepTable.C (write): write the file name as last element of the
9737         .dep file (because it may contain spaces)
9738         (read): read info in the right order
9739
9740 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9741
9742         * paragraph_pimpl.C (simpleTeXBlanks):
9743         (simpleTeXSpecialChars):
9744         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9745
9746         * tabular.C (latex): add some missing case statements. Reindent.
9747
9748         * MenuBackend.C (expandToc): remove unused variable.
9749
9750 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9751
9752         * LColor.C:
9753         * LaTeX.C:
9754         * LyXAction.C:
9755         * MenuBackend.C:
9756         * buffer.C:
9757         * exporter.C:
9758         * lyxfunc.C:
9759         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9760         and the like.
9761
9762 2003-01-05  John Levon  <levon@movementarian.org>
9763
9764         * BufferView.h:
9765         * BufferView.C: add getEncoding()
9766
9767         * kbsequence.h:
9768         * kbsequence.C: do not store last keypress
9769
9770         * lyxfunc.h:
9771         * lyxfunc.C: store last keypress here instead. Pass encoding
9772           to getISOEncoded()
9773
9774 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9775
9776         * lyx_main.C (init): remove annoying error message when following
9777         symbolic links (bug #780)
9778
9779 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9780
9781         * text.C (insertChar):
9782         * lyxrc.C (getDescription): remove extra spaces
9783
9784 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9785
9786         * lyxrc.C (getDescription): remove extra spaces
9787
9788 2002-12-20  John Levon  <levon@movementarian.org>
9789
9790         * text3.C: hack fix for page up/down across tall rows
9791
9792 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9793
9794         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9795         not been invoked
9796
9797 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9798
9799         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9800         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9801         thesaurus is not compiled in
9802
9803 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9804
9805         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9806
9807 2002-12-16  Angus Leeming  <leeming@lyx.org>
9808
9809         * lyxrc.[Ch]:
9810         * lyx_main.C (init): remove override_x_deadkeys stuff.
9811
9812 2002-12-12  John Levon  <levon@movementarian.org>
9813
9814         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9815           insert. Only remove shift modifier under strict
9816           circumstances.
9817
9818 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9819
9820         * MenuBackend.C (expandToc): fix crash.
9821
9822 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9823
9824         * MenuBackend.C (expandToc): gettext on float names.
9825
9826 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9827
9828         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9829         implement bool empty() [bug 490]
9830
9831 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9832
9833         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9834
9835 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9836
9837         * several files: ws changes
9838
9839 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9840
9841         * text2.C (setCounter): clean up a bit, use boost.format.
9842         (updateCounters): initialize par upon declaration.
9843
9844         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9845         if the layout exists. We do not just store the layout any more.
9846         (SwitchLayoutsBetweenClasses): use boost.format
9847
9848 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9849
9850         * converter.C (convert): if from and to files are the same, use a
9851         temporary files as intermediary
9852
9853 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9854
9855         * commandtags.h:
9856         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9857
9858 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9859
9860         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9861
9862 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9863
9864         * tabular.C (asciiPrintCell): use string(size, char) instead of
9865         explicit loop.
9866
9867         * sgml.C (openTag): fix order of arguments to string constructor
9868         (closeTag): ditto
9869
9870         * lyxfunc.C (dispatch): use boost.format
9871
9872         * lots of files: change "c" -> 'c'
9873
9874 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9875
9876         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9877
9878 2002-11-25  Angus Leeming  <leeming@lyx.org>
9879
9880         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9881
9882         * lyx_main.C (init): compile fix.
9883
9884 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9885
9886         * lyx_cb.C (start): boost.formatify
9887         do not include <iostream>
9888
9889         * lengthcommon.C: ws only
9890
9891         * boost-inst.C,BoostFormat.h: add more explict instantations
9892
9893 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9894
9895         * lots of files: handle USE_BOOST_FORMAT
9896
9897 2002-11-21  John Levon  <levon@movementarian.org>
9898
9899         * pspell.C: fix compile
9900
9901 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9902
9903         * lyxfunc.C (dispatch): use boost::format
9904         (open): ditto
9905         (doImport): ditto
9906
9907         * lyxfont.C (stateText): use boost::format
9908
9909         * lyx_main.C (LyX): use boost::format
9910         (init): ditto
9911         (queryUserLyXDir): ditto
9912         (readRcFile): ditto
9913         (parse_dbg): ditto
9914         (typedef boost::function): use the recommened syntax.
9915
9916         * importer.C (Import): use boost::format
9917
9918         * debug.C (showLevel): use boost::format
9919
9920         * converter.C (view): use boost::format
9921         (convert): ditto
9922         (move): ditto
9923         (scanLog): ditto
9924
9925         * bufferview_funcs.C (currentState): use boost::format
9926
9927         * bufferlist.C (emergencyWrite): use boost::format
9928
9929         * buffer.C (readLyXformat2): use boost::format
9930         (parseSingleLyXformat2Token): ditto
9931
9932         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9933
9934         * LaTeX.C (run): use boost::format
9935
9936         * Chktex.C (scanLogFile): use boost::format
9937
9938         * BufferView_pimpl.C (savePosition): use boost::format
9939         (restorePosition): ditto
9940         (MenuInsertLyXFile): ditto
9941
9942         * BoostFormat.h: help file for explicit instation.
9943
9944 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9945
9946         * tabular.C (latex): Support for block alignment in fixed width
9947         columns.
9948
9949 2002-11-17  John Levon  <levon@movementarian.org>
9950
9951         * BufferView_pimpl.C:
9952         * lyx_cb.C:
9953         * lyxfunc.C: split filedialog into open/save
9954
9955 2002-11-08  Juergen Vigna  <jug@sad.it>
9956
9957         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9958         by my last patch (hopefully).
9959
9960 2002-11-08  John Levon  <levon@movementarian.org>
9961
9962         * iterators.h:
9963         * iterators.C:
9964         * buffer.h:
9965         * buffer.C:
9966         * paragraph.h:
9967         * paragraph.C:
9968         * toc.h:
9969         * toc.C: ParConstIterator, and use it (from Lars)
9970
9971 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
9972
9973         * lyxtextclass.[Ch]: revise and add doxygen comments
9974
9975 2002-11-07  John Levon  <levon@movementarian.org>
9976
9977         * text.C: fix progress value for spellchecker
9978
9979         * toc.C: fix navigate menu for insetwrap inside minipage
9980
9981         * paragraph_funcs.C: added FIXME for suspect code
9982
9983 2002-11-07  John Levon  <levon@movementarian.org>
9984
9985         * BufferView_pimpl.C: fix redrawing of insets
9986           on buffer switch
9987
9988 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9989
9990         * text2.C (updateCounters): fix bug 668
9991
9992 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
9993
9994         * text3.C (dispatch): Do not make the buffer dirty when moving the
9995         cursor.
9996
9997 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9998
9999         * vc-backend.C: STRCONV
10000         (scanMaster): ditto
10001
10002         * text2.C (setCounter): STRCONV
10003
10004         * paragraph.C (asString): STRCONV
10005
10006         * lyxlength.C (asString): STRCONV
10007         (asLatexString): ditto
10008
10009         * lyxgluelength.C (asString): STRCONV
10010         (asLatexString): ditto
10011
10012         * lyxfunc.C (dispatch): STRCONV
10013         (open): ditto
10014
10015         * lyxfont.C (stateText): STRCONV
10016
10017         * importer.C (Import): STRCONV
10018
10019         * counters.C (labelItem): STRCONV
10020         (numberLabel): ditto
10021         (numberLabel): remove unused ostringstream o
10022
10023         * chset.C: STRCONV
10024         (loadFile): ditto
10025
10026         * bufferview_funcs.C (currentState): STRCONV
10027
10028         * buffer.C (readFile): STRCONV
10029         (asciiParagraph): ditto
10030         (makeLaTeXFile): ditto
10031
10032         * Spacing.C (writeEnvirBegin): STRCONV
10033
10034         * LaTeXFeatures.C (getLanguages): STRCONV
10035         (getPackages): ditto
10036         (getMacros): ditto
10037         (getBabelOptions): ditto
10038         (getTClassPreamble): ditto
10039         (getLyXSGMLEntities): ditto
10040         (getIncludedFiles): ditto
10041
10042         * LaTeX.C: STRCONV
10043         (run): ditto
10044         (scanAuxFile): ditto
10045         (deplog): ditto
10046
10047         * LString.h: add the STRCONV macros
10048
10049         * BufferView_pimpl.C (savePosition): STRCONV
10050         (restorePosition): ditto
10051         (MenuInsertLyXFile): ditto
10052
10053         * vc-backend.C (scanMaster): change from submatch[...] to
10054         submatch.str(...)
10055
10056         * funcrequest.C: include config.h
10057
10058         * factory.C: include config.h
10059
10060         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10061
10062         * box.C: include config.h
10063
10064         * LaTeX.C (scanAuxFile): change from submatch[...] to
10065         submatch.str(...)
10066         (deplog): ditto
10067
10068 2002-10-25  Angus Leeming  <leeming@lyx.org>
10069
10070         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10071
10072         * ispell.[Ch] (setError): new method.
10073         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10074         Use setError() insetead of goto END.
10075
10076         * lyx_cb.C (AutoSave): move out child process into new class
10077         AutoSaveBuffer.
10078
10079 2002-10-30  John Levon  <levon@movementarian.org>
10080
10081         * text3.C: make start appendix undoable
10082
10083 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10084
10085         * lyxlength.C (inPixels): Fix returned value.
10086
10087         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10088         environment.
10089
10090 2002-10-24  Angus Leeming  <leeming@lyx.org>
10091
10092         * lyxgluelength.h: no need to forward declare BufferParams
10093         or BufferView, so don't.
10094
10095 2002-10-21  John Levon  <levon@movementarian.org>
10096
10097         * BufferView.C: menuUndo ->undo, redo
10098
10099         * BufferView.h: document, remove dead, make some methods private
10100
10101         * paragraph_funcs.h:
10102         * paragraph_funcs.C:
10103         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10104
10105         * buffer.h:
10106         * buffer.C:
10107         * sgml.h:
10108         * sgml.C: move sgml open/close tag into sgml.C
10109
10110         * bufferview_funcs.h: unused prototype
10111
10112         * lyxfunc.h:
10113         * lyxfunc.C: remove unused
10114
10115         * lyxtext.h:
10116         * text.C: remove unused
10117
10118 2002-10-21  John Levon  <levon@movementarian.org>
10119
10120         * BufferView.h:
10121         * BufferView.C:
10122         * BufferView_pimpl.h:
10123         * BufferView_pimpl.C: fix mouse wheel handling based on
10124           patch from Darren Freeman
10125
10126 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10127
10128         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10129
10130 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10131
10132         * lyxlength.C (inPixels): Fix hanfling of negative length.
10133         Fix LyXLength::MU case.
10134
10135 2002-10-16  John Levon  <levon@movementarian.org>
10136
10137         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10138
10139 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10140
10141         * converter.C (view): add support for $$i (file name) and $$p
10142         (file path) for the viewer command. If $$i is not specified, then
10143         it is appended to the command (for compatibility with old syntax)
10144
10145 2002-10-14  Juergen Vigna  <jug@sad.it>
10146
10147         * undo_funcs.C (textHandleUndo): alter the order in which the
10148         new undopar is added to the LyXText, as we have to set first
10149         the right prev/next and then add it as otherwise the rebuild of
10150         LyXText is not correct. Also reset the cursor to the right paragraph,
10151         with this IMO we could remove the hack in "redoParagraphs()".
10152
10153 2002-10-09  Angus Leeming  <leeming@lyx.org>
10154
10155         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10156         to turn off an optimisation if a new inset is to be inserted.
10157
10158 2002-10-11 André Pönitz <poenitz@gmx.net>
10159
10160         * lyxtext.h: make some functions public to allow access
10161         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10162
10163 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10164
10165         * text3.C (dispatch): when changing layout, avoid an infinite loop
10166         [bug #652]
10167
10168 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10169
10170         * lyxrc.C (read): treat a viewer or converter command of "none" as
10171         if it were empty.
10172
10173         * MenuBackend.C (expandFormats): for an update, also allow the
10174         formats that are not viewable
10175
10176         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10177         script if it is newer than the lyxrc.defaults in user directory
10178
10179 2002-10-07 André Pönitz <poenitz@gmx.net>
10180
10181         * text.C: Vitaly Lipatov's small i18n fix
10182
10183 2002-09-25  Angus Leeming  <leeming@lyx.org>
10184
10185         * ispell.h: doxygen fix.
10186
10187 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10188
10189         * buffer.h (readFile): Add a new argument to the method, to allow
10190         reading of old-format templates.
10191
10192 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10193
10194         * toc.C (getTocList): Get TOC from InsetWrap.
10195
10196 2002-09-16  John Levon  <levon@movementarian.org>
10197
10198         * lyxfunc.C: check tabular for cut/copy too
10199
10200 2002-09-12  John Levon  <levon@movementarian.org>
10201
10202         * LyXAction.C: tidy
10203
10204         * factory.h:
10205         * factory.C: add header
10206
10207         * paragraph_funcs.h:
10208         * paragraph_funcs.C: cleanup
10209
10210 2002-09-11  John Levon  <levon@movementarian.org>
10211
10212         * PrinterParams.h: odd/even default to true
10213
10214 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10215
10216         * PrinterParams.h: update printer parameters for new xforms dialog
10217
10218 2002-09-11  Angus Leeming  <leeming@lyx.org>
10219
10220         * lyxserver.C (read_ready): re-write to make it more transparent
10221         and to make it work in coherent fashion under Tru64 Unix.
10222
10223 2002-09-11  André Pönitz <poenitz@gmx.net>
10224
10225         * commandtags.h:
10226         * LyXAction.C:
10227         * text3.C: implement LFUN_WORDSEL
10228
10229 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10230
10231         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10232         make floatlist_ a boost::shared_ptr<FloatList>
10233
10234         * lyxtextclass.C: include FloatList.h
10235         (LyXTextClass): initialize floatlist_
10236         (TextClassTags): add TC_NOFLOAT
10237         (Read): match "nofloat" to TC_NOFLOAT and use it.
10238         (readFloat): modify call to floatlist_
10239         (floats): ditto
10240         (floats): ditto
10241
10242         * FloatList.[Ch] (FloatList): remove commented out float
10243         initialization.
10244         (erase): new function
10245
10246 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10247
10248         * MenuBackend.C (expandToc): fix crash when there is no document
10249         open
10250
10251 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10252
10253         * many files: Add insetwrap.
10254
10255 2002-09-09  John Levon  <levon@movementarian.org>
10256
10257         * text2.C: remove confusing and awkward depth wraparound
10258
10259 2002-09-09  John Levon  <levon@movementarian.org>
10260
10261         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10262
10263         * buffer.h:
10264         * buffer.C: remove getIncludeonlyList()
10265
10266         * paragraph.C:
10267         * lyxfunc.C: remove headers
10268
10269 2002-09-09  Juergen Vigna  <jug@sad.it>
10270
10271         * text.C (getColumnNearX): fix form Michael this is most
10272         probably a cut&paste bug.
10273
10274 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10275
10276         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10277
10278         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10279         references, ws changes.
10280
10281         * text2.C (init): update counters after init
10282         (insertParagraph): no need to set counter on idividual paragraphs.
10283         (setCounter): access the counters object in the textclass object
10284         on in the buffer object.
10285         (updateCounters): ditto
10286
10287         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10288         shared_ptr<Counters> to avoid loading counters.h in all
10289         compilation units.
10290         (LyXTextClass): initialize ctrs_
10291         (TextClassTags): add TC_COUNTER, and ...
10292         (Read): use it here.
10293         (CounterTags): new tags
10294         (readCounter): new function
10295         (counters): new funtion
10296         (defaultLayoutName): return a const reference
10297
10298         * counters.C (Counters): remove contructor
10299         (newCounter): remove a couple of unneeded statements.
10300         (newCounter): simplify a bit.
10301         (numberLabel): some small formatting changes.
10302
10303         * buffer.[Ch]: remove all traces of counters, move the Counters
10304         object to the LyXTextClass.
10305
10306 2002-09-06  Alain Castera  <castera@in2p3.fr>
10307
10308         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10309         package to set the horizontal alignment on fixed width columns.
10310
10311         * lyx_sty.C:
10312         * lyx_sty.h: added tabularnewline macro def.
10313
10314         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10315
10316 2002-09-06  John Levon  <levon@movementarian.org>
10317
10318         * LyXAction.C: tooltips for sub/superscript
10319
10320         * MenuBackend.C: a bit more verbose
10321
10322         * lyxfunc.C: tiny clean
10323
10324         * undo_funcs.C: document undo_frozen
10325
10326 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10327
10328         * counters.C (Counters): add missing algorithm counter.
10329
10330         * text2.C (setCounter): lookup the counter with layouts latexname
10331         instead of by section number.
10332         (setCounter): use a hackish way to lookup the correct enum
10333         counter.
10334         a float name->type change
10335         reset enum couners with counter name directly instead of depth value.
10336
10337         * counters.C (Counters): remove the push_backs, change to use the
10338         float type not the float name.
10339         (labelItem): remove unused string, float name->type change
10340
10341         * counters.h: don't include vector, loose the enums and sects vectors
10342
10343 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10344
10345         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10346         (Read): add float->TC_FLOAT to textclassTags
10347         (Read): and handle it in the switch
10348         (readFloat): new function
10349
10350         * FloatList.C (FloatList): comment out the hardcoded float
10351         definitions.
10352
10353         * lyxlayout.h: ws change.
10354
10355 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10356
10357         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10358
10359 2002-09-03  Angus Leeming  <leeming@lyx.org>
10360
10361         * BufferView_pimpl.h: qualified name is not allowed in member
10362         declaration: WorkArea & Pimpl::workarea() const;
10363
10364         * factory.C: added using std::endl directive.
10365
10366         * text3.C: added using std::find and std::vector directives.
10367
10368 2002-08-29  André Pönitz <poenitz@gmx.net>
10369
10370         * lyxtext.h:
10371         * text2.C: remove unused member number_of_rows
10372
10373         * Makefile.am:
10374         * BufferView2.C: remove file, move contents to...
10375         * BufferView.C: ... here
10376
10377         * BufferView_pimpl.C:
10378         * factory.C: move more inset creation to factory
10379
10380         * vspace.C: avoid direct usage of LyXText, ws changes
10381
10382         * BufferView.[Ch]:
10383                 don't provide direct access to WorkArea, use two simple
10384                 acessors haveSelction() and workHeight() instead
10385
10386
10387 2002-08-29  John Levon  <levon@movementarian.org>
10388
10389         * BufferView_pimpl.C (dispatch): do not continue when
10390           no buffer
10391
10392 2002-08-28  André Pönitz <poenitz@gmx.net>
10393
10394         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10395
10396         * BufferView.h:
10397         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10398
10399 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10400
10401         * buffer.C: increment LYX_FORMAT to 221
10402
10403         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10404         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10405
10406         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10407
10408         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10409
10410 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10411
10412         * factory.C (createInset): use LyXTextClass::floats
10413
10414         * MenuBackend.C (expandFloatListInsert):
10415         (expandFloatInsert):
10416         (expandToc):
10417
10418         * text2.C (setCounter):
10419
10420         * LaTeXFeatures.C (useFloat):
10421         (getFloatDefinitions):
10422
10423         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10424
10425         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10426         floatlist_, with accessor floats().
10427
10428         * FloatList.h: remove global FloatList
10429
10430 2002-08-26  André Pönitz <poenitz@gmx.net>
10431
10432         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10433
10434         * BufferView.h:
10435         * BufferView2.C:
10436         * BufferView_pimpl.C:
10437         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10438
10439 2002-08-25  John Levon  <levon@movementarian.org>
10440
10441         * LyXAction.C: fix margin note description
10442
10443 2002-08-24  John Levon  <levon@movementarian.org>
10444
10445         * buffer.C:
10446         * bufferlist.C:
10447         * bufferview_funcs.C:
10448         * lyxfont.C:
10449         * undo_funcs.C: cleanups
10450
10451         * lyxfunc.C: disable CUT/COPY when no selection
10452
10453 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10454
10455         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10456         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10457
10458         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10459         Add backward compatibility to "mono", "gray" and "no".
10460
10461 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10462
10463         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10464         (and file_format >= 200).
10465
10466 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10467
10468         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10469
10470 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10471
10472         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10473
10474 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10475
10476         * BufferView_pimpl.C:
10477         * LyXAction.C:
10478         * buffer.C:
10479         * commandtags.h:
10480         * lyxfunc.C:
10481         * paragraph.[Ch]:
10482         * text2.C:
10483         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10484         inset and code to make it  work with the paragraph code. The inset
10485         can be anywhere in the paragraph, but will only do the expected
10486         thing in LaTeX if the layout file contains the parameter line
10487                         OptionalArgs    1
10488         (or more generally, a nonzero value) for that layout.
10489
10490 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10491
10492         * paragraph.h: remove the declaration of undefined counters class
10493         function.
10494
10495 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10496
10497         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10498         Dr. Richard Hawkins.
10499
10500 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10501
10502         * paragraph_funcs.h: remove some unneeded includes
10503
10504         * text.C (backspace): pasteParagraph now in global scipe
10505
10506         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10507         (pasteSelection): ditto
10508
10509         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10510         * paragraph_funcs.C (pasteParagraph): ... here
10511
10512 2002-08-20  André Pönitz <poenitz@gmx.net>
10513
10514         * commandtags.h: new LFUNs for swapping/copying table row/colums
10515
10516         * LyXAction.C:
10517         * lyxfunc.C: support for new lfuns
10518
10519 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10520
10521         * tabular.C:
10522         * buffer.[Ch]: remove NO_COMPABILITY stuff
10523
10524 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10525
10526         * boost.C (throw_exception): new file, with helper function for
10527         boost compiled without exceptions.
10528
10529         * paragraph.h:
10530         * lyxlength.C:
10531         * buffer.C:
10532         * ParameterStruct.h:
10533         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10534
10535         * bufferlist.C (emergencyWriteAll): use boost bind
10536
10537         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10538
10539         * text.C: include paragraph_funcs.h
10540         (breakParagraph): breakParagraph is now in global scope
10541
10542         * paragraph_funcs.[Ch]: new files
10543
10544         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10545         global scope
10546
10547         * buffer.C: include paragraph_funcs.h
10548         (insertStringAsLines): breakParagraph is now in global scope
10549
10550         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10551         paragraph_funcs.C
10552
10553         * CutAndPaste.C: include paragraph_funcs.h
10554         (cutSelection): breakParagraphConservative is now in global scope
10555         (pasteSelection): ditto
10556
10557         * buffer.h: declare oprator== and operator!= for
10558         Buffer::inset_iterator
10559
10560         * bufferlist.C (emergencyWrite): don't use fmt(...)
10561
10562         * text3.C: add using std::endl
10563
10564         * BufferView.C (moveCursorUpdate): remove default arg
10565
10566 2002-08-20  André Pönitz <poenitz@gmx.net>
10567
10568         * buffer.[Ch]: move inline functions to .C
10569
10570         * BufferView2.C:
10571         * BufferView_pimpl.C:
10572         * text.C:
10573         * buffer.[Ch]: use improved inset_iterator
10574
10575         * buffer.C:
10576         * paragraph.[Ch]: write one paragraph at a time
10577
10578 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10579
10580         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10581         style if style is not specified.
10582
10583 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10584
10585         * text2.C (setCounter): when searching for right label for a
10586         caption, make sure to recurse to parent insets (so that a caption
10587         in a minipage in a figure float works) (bug #568)
10588
10589 2002-08-20  André Pönitz <poenitz@gmx.net>
10590
10591         * text3.C: new file for LyXText::dispatch() and helpers
10592
10593         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10594
10595         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10596
10597 2002-08-19  André Pönitz <poenitz@gmx.net>
10598
10599         * lyxtext.h:
10600         * text.C: new LyXText::dispatch()
10601
10602         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10603
10604 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10605
10606         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10607
10608         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10609         Hebrew text.
10610
10611 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10612
10613         * Makefile.am: use $(variables) instead of @substitutions@
10614
10615 2002-08-15  André Pönitz <poenitz@gmx.net>
10616
10617         * lyxfunc.C:
10618         * BufferView_pimpl.C: streamlining mathed <-> outer world
10619         interaction
10620
10621         * commandtags.h:
10622         * LyXAction.C: remove unused LFUN_MATH
10623
10624 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10625
10626         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10627
10628 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10629
10630         * paragraph.C (Paragraph): reformat a bit
10631         (cutIntoMinibuffer): use builtin InsetList function instad of
10632         doing it manually.
10633         (getInset): ditto
10634
10635         * buffer.C: include boost/bind.hpp, add using std::for_each
10636         (writeFileAscii): use ParagraphList iterators
10637         (validate): use for_each for validate traversal of paragraphs
10638         (getBibkeyList): use ParagraphList iterators
10639         (resizeInsets): use for_each to resizeInsetsLyXText for all
10640         paragraphs.
10641         (getParFromID): use ParagraphList iterators
10642
10643         * BufferView2.C (lockInset): use paragraph list and iterators
10644
10645 2002-08-14  John Levon  <levon@movementarian.org>
10646
10647         * lyxserver.C: remove spurious xforms include
10648
10649 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10650
10651         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10652
10653 2002-08-13  André Pönitz <poenitz@gmx.net>
10654
10655         * LyXAction.[Ch]:
10656         * lyxfunc.C: further cleaning
10657
10658 2002-08-13  André Pönitz <poenitz@gmx.net>
10659
10660         * funcrequest.h: new constructor
10661
10662         * funcrequest.C: move stuff here from .h
10663
10664         * Makefile.am:
10665         * BufferView_pimpl.C:
10666         * LyXAction.C:
10667         * toc.C:
10668         * lyxfunc.C: subsequent changes
10669
10670         * lyxfunc.h: new view() member function
10671
10672         * lyxfunc.C: subsequent changes
10673
10674 2002-08-13  Angus Leeming  <leeming@lyx.org>
10675
10676         * BufferView2.C:
10677         * BufferView_pimpl.C:
10678         * buffer.C:
10679         * converter.C:
10680         * importer.C:
10681         * lyxfunc.C:
10682         * lyxvc.C:
10683         * toc.C:
10684         * vc-backend.C:
10685         changes due to the changed LyXView interface that now returns references
10686         to member variables not pointers.
10687
10688 2002-08-13  Angus Leeming  <leeming@lyx.org>
10689
10690         * WordLangTuple (word, lang_code): return references to strings,
10691         not strings.
10692
10693         * BufferView.h:
10694         * SpellBase.h:
10695         * lyxtext.h: forward-declare WordLangTuple.
10696
10697         * BufferView2.C:
10698         * ispell.C:
10699         * pspell.C:
10700         * text.C: #include "WordLangTuple.h".
10701
10702         * lyxtext.h:
10703         * text.C: (selectNextWordToSpellcheck): constify return type.
10704
10705 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10706
10707         * buffer.C:
10708         * buffer.h:
10709         * lyxtext.h:
10710         * paragraph.C:
10711         * paragraph_pimpl.h:
10712         * text.C:
10713         * text2.C:
10714         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10715         suggested by Angus.
10716         Made updateCounter always count from start of buffer, and removed
10717         second argument (par).
10718         Reverted floats number display to '#'. Perhaps I'll try again when the
10719         code base is sanitized a bit.
10720
10721 2002-08-12  Angus Leeming  <leeming@lyx.org>
10722
10723         * buffer.[Ch] (getLabelList): constify.
10724
10725 2002-08-07  André Pönitz <poenitz@gmx.net>
10726
10727         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10728
10729         * funcrequest.h: extension to keep mouse (x,y) position
10730
10731 2002-08-12  Juergen Vigna  <jug@sad.it>
10732
10733         * BufferView2.C (insertErrors): forbid undo when inserting error
10734         insets.
10735
10736         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10737
10738 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10739
10740         * ParagraphList.[Ch]: new files
10741
10742         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10743
10744         * BufferView2.C (lockInset): ParagraphList changes
10745         * toc.C: ditto
10746         * text2.C: ditto
10747         * bufferlist.C: ditto
10748         * buffer.h: ditto
10749         * buffer.C: ditto
10750
10751 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10752
10753         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10754         unused class variable counter_,
10755
10756         * paragraph.[Ch] (getFirstCounter): delete unused function
10757
10758         * counters.C: include LAssert.h
10759         (reset): add a new function with no arg, change other version to
10760         not have def. arg and to not allow empty arg.
10761
10762         * text2.C (setCounter): remove empty arg from call to Counters::reset
10763
10764 2002-08-11  John Levon  <levon@movementarian.org>
10765
10766         * Makefile.am: add WordLangTuple.h
10767
10768 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10769
10770         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10771         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10772
10773         * insets/insettext.C: InsetList changes
10774
10775         * graphics/GraphicsSupport.C (operator()): InsetList changes
10776
10777         * toc.C (getTocList): InsetList changes
10778
10779         * paragraph_pimpl.[Ch]: InsetList changes
10780
10781         * paragraph.[Ch]: InsetList changes
10782
10783         * buffer.C (inset_iterator): InsetList changes
10784         (setParagraph): ditto
10785         * buffer.h (inset_iterator): ditto
10786         * iterators.C (operator++): ditto
10787         * iterators.h: ditto
10788
10789         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10790
10791         * InsetList.[Ch]: new files, most InsetList handling moved out of
10792         paragraph.C.
10793
10794         * BufferView2.C (removeAutoInsets): InsetList changes
10795         (lockInset): ditto
10796         (ChangeInsets): ditto
10797
10798 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10799
10800         * paragraph_pimpl.h (empty): new function
10801
10802         * paragraph.[Ch] (empty): new function
10803
10804         * other files: use the new Paragraph::empty function
10805
10806 2002-08-09  John Levon  <levon@movementarian.org>
10807
10808         * lyxtext.h: remove unused refresh_height
10809
10810 2002-08-09  John Levon  <levon@movementarian.org>
10811
10812         * Makefile.am:
10813         * sgml.h:
10814         * sgml.C:
10815         * buffer.C:
10816         * paragraph.h:
10817         * paragraph.C: move sgml char escaping out of paragraph
10818
10819         * paragraph.h:
10820         * paragraph.C: remove id setter
10821
10822         * buffer.C:
10823         * paragraph.C:
10824         * paragraph_pimpl.C: remove dead tex_code_break_column
10825
10826         * bufferview_funcs.C: small cleanup
10827
10828         * lyxfunc.C: remove dead proto
10829
10830         * lyxtext.h: make some stuff private. Remove some dead stuff.
10831
10832         * lyxgluelength.C: make as[LyX]String() readable
10833
10834 2002-08-08  John Levon  <levon@movementarian.org>
10835
10836         * LyXAction.h:
10837         * LyXAction.C:
10838         * MenuBackend.C:
10839         * ToolbarDefaults.C:
10840         * lyxfunc.C:
10841         * lyxrc.C:
10842         * toc.C: lyxaction cleanup
10843
10844 2002-08-08  John Levon  <levon@movementarian.org>
10845
10846         * BufferView2.C: small cleanup
10847
10848         * lyxfind.h:
10849         * lyxfind.C: move unnecessary header into the .C
10850
10851 2002-08-08  John Levon  <levon@movementarian.org>
10852
10853         * funcrequest.h: just tedious nonsense
10854
10855         * lyx_main.h:
10856         * lyx_main.C: cleanups
10857
10858         * buffer.C:
10859         * vspace.C: remove dead header lyx_main.h
10860
10861 2002-08-07  Angus Leeming  <leeming@lyx.org>
10862
10863         * Paragraph.[Ch]:
10864         * paragraph_pimpl.h:
10865         Forward declare class Counters in paragraph.h by moving the ctrs member
10866         variable into Paragraph::Pimpl.
10867         (counters): new method, returning a reference to pimpl_->ctrs.
10868
10869         * text2.C: ensuing changes.
10870
10871 2002-08-07  John Levon  <levon@movementarian.org>
10872
10873         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10874
10875         * BufferView_pimpl.C: announce X selection on double/triple
10876           click
10877
10878         * lyx_main.C: use correct bool in batch dispatch
10879
10880         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10881
10882 2002-08-07  André Pönitz <poenitz@gmx.net>
10883
10884         * funcrequest.h: new class to wrap a kb_action and its argument
10885
10886         * BufferView.[Ch]:
10887         * BufferView_pimpl[Ch]:
10888         * LaTeX.C:
10889         * LyXAction.[Ch]:
10890         * lyxfunc.[Ch]:
10891         * lyxrc.C: subsequent changes
10892
10893
10894 2002-08-07  John Levon  <levon@movementarian.org>
10895
10896         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10897           document options change.
10898
10899 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10900
10901         * counters.[Ch]
10902         * text2.C
10903         * paragraph.[Ch]
10904         * makefile.am: move counters functionality over from
10905         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10906
10907 2002-08-06  John Levon  <levon@movementarian.org>
10908
10909         * WordLangTuple.h: new file for word + language code tuple
10910
10911         * SpellBase.h:
10912         * pspell.h:
10913         * pspell.C:
10914         * ispell.h:
10915         * ispell.C:
10916         * lyxtext.h:
10917         * text.C:
10918         * text2.C:
10919         * BufferView.h:
10920         * BufferView2.C: use WordLangTuple
10921
10922         * layout.h:
10923         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10924
10925 2002-08-06  John Levon  <levon@movementarian.org>
10926
10927         * lyx_main.C: fix cmdline batch handling
10928
10929 2002-08-06  André Pönitz <poenitz@gmx.net>
10930
10931         * lyxrc.C: set default for show_banner to true
10932
10933 2002-08-06  John Levon  <levon@movementarian.org>
10934
10935         * pspell.C: fix a crash, and allow new aspell to work
10936
10937 2002-08-06  John Levon  <levon@movementarian.org>
10938
10939         * lyxfunc.C:
10940         * kbmap.C: small cleanup
10941
10942         * vspace.h:
10943         * vspace.C: add const
10944
10945 2002-08-05  John Levon  <levon@movementarian.org>
10946
10947         * LyXAction.C: back to tabular-insert
10948
10949 2002-08-04  John Levon  <levon@movementarian.org>
10950
10951         * BufferView.h:
10952         * BufferView.C: cosmetic change
10953
10954         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10955
10956         * bufferlist.C:
10957         * buffer.h:
10958         * buffer.C:
10959         * lyxcb.h:
10960         * lyxcb.C:
10961         * lyxserver.C:
10962         * lyxvc.C:
10963         * vc-backend.C:
10964         * BufferView2.C: purge all "Lyx" not "LyX" strings
10965
10966         * lyxcursor.h:
10967         * lyxcursor.C: attempt to add some documentation
10968
10969         * lyxfunc.C:
10970         * commandtags.h:
10971         * LyXAction.C:
10972         * ToolbarDefaults.C:
10973         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10974           merge with LFUN_TABULAR_INSERT
10975
10976         * Makefile.am:
10977         * SpellBase.h:
10978         * ispell.h:
10979         * ispell.C:
10980         * pspell.h:
10981         * pspell.C: split up i/pspell implementations into separate
10982           files, many cleanups
10983
10984         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10985
10986         * text2.C: some cleanup
10987
10988         * lyxfunc.C: don't check for isp_command == "none" any more, it
10989           didn't make any sense
10990
10991 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
10992
10993         * counters.[Ch]
10994         * text2.C
10995         * paragraph.[Ch]
10996         * makefile.am: move counters functionality over
10997         from text2.C/paragraph.[Ch] to counters.[Ch], and
10998         make proper C++.
10999 2002-08-02  John Levon  <levon@movementarian.org>
11000
11001         * buffer.C: s/lyxconvert/lyx2lyx/
11002
11003 2002-08-02  Angus Leeming  <leeming@lyx.org>
11004
11005         * lyxlex.C: revert John's change as it breaks reading of the user
11006         preamble.
11007
11008 2002-08-02  Angus Leeming  <leeming@lyx.org>
11009
11010         * importer.C (Import):
11011         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11012         changes due to LyXView::view() now returning a boost::shared_ptr.
11013
11014 2002-08-02  John Levon  <levon@movementarian.org>
11015
11016         * lyxlex.C: small cleanup
11017
11018 2002-08-02  John Levon  <levon@movementarian.org>
11019
11020         * text2.C (status): small cleanup, no logic change
11021
11022 2002-08-01  John Levon  <levon@movementarian.org>
11023
11024         * buffer.h:
11025         * buffer.C (writeFile): don't output alerts, caller
11026           handles this
11027
11028         * bufferlist.C:
11029         * lyx_cb.C: from above
11030
11031         * lyxfunc.C: allow to open non-existent files
11032
11033 2002-07-31  John Levon  <levon@movementarian.org>
11034
11035         * lyxserver.C: don't let incidental errors get
11036           in the way (errno)
11037
11038 2002-07-30  John Levon  <levon@movementarian.org>
11039
11040         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11041
11042 2002-07-30  John Levon  <levon@movementarian.org>
11043
11044         * lyxserver.h:
11045         * lyxserver.C: remove I/O callback too
11046
11047 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11048
11049         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11050         log.
11051
11052 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11053
11054         * many files: strip,frontStrip -> trim,ltrim,rtrim
11055
11056 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11057
11058         * PrinterParams.h: remove extern containsOnly, and include
11059         support/lstrings.h instead.
11060
11061         * LaTeX.C (scanAuxFile): modify because of strip changes
11062         (deplog): ditto
11063         * buffer.C (makeLaTeXFile): ditto
11064         * bufferparams.C (writeFile): ditt
11065         * lyxfont.C (stateText): ditto
11066         * lyxserver.C (read_ready): ditto
11067         * vc-backend.C (scanMaster): ditto
11068
11069         * BufferView_pimpl.h: ws changes
11070
11071         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11072
11073 2002-07-26  André Pönitz <poenitz@gmx.net>
11074
11075         * kb_sequence.C: remove unnedred usings
11076
11077 2002-07-26  Juergen Vigna  <jug@sad.it>
11078
11079         * lyxfind.C (LyXReplace): we have to check better if the returned
11080         text is not of theLockingInset()->getLockingInset().
11081
11082 2002-07-25  Juergen Vigna  <jug@sad.it>
11083
11084         * lyxfind.C (LyXReplace): don't replace if we don't get the
11085         right LyXText.
11086
11087         * undo_funcs.C (createUndo): remove debugging code.
11088
11089 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11090
11091         * buffer.C (parseSingleLyXformat2Token): Use default placement
11092         when reading old floats.
11093
11094         * FloatList.C (FloatList): Change the default placement of figure
11095         and tables to "tbp".
11096
11097 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11098
11099         * MenuBackend.C: using std::max
11100
11101 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11102
11103         * MenuBackend.C (expandToc):
11104         (expandToc2): code moved from xforms menu frontend. It is now
11105         generic and TOCs are transparent to menu frontends.
11106
11107 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11108
11109         * toc.C (getTocList): protect against buf=0
11110
11111         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11112         Menu as first parameter. Now, this calls itself recursively to
11113         expand a whole tree (this will be useful for TOC handling)
11114         (expandFloatInsert): remove 'wide' version of floats
11115
11116         * MenuBackend.h (submenuname): returns the name of the submenu.
11117         (submenu): returns the submenu itself, provided it has been
11118         created by MenuBackend::expand
11119
11120 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11121
11122         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11123         insets which have noFontChange == true. (bug #172)
11124
11125 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11126
11127         * BufferView_pimpl.C: add connection objects and use them...
11128         (Pimpl): here.
11129
11130 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11131
11132         * MenuBackend.C (expandLastfiles):
11133         (expandDocuments):
11134         (expandFormats):
11135         (expandFloatListInsert):
11136         (expandFloatInsert):
11137         (expand): split expand in parts
11138
11139 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11140
11141         * lyx_gui.C: use lyx_gui::exit()
11142
11143 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11144
11145         * LyXAction.C: show the failing pseudo action
11146
11147 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11148
11149         * buffer.C (readFile): Run the lyxconvert script in order to read
11150         old files.
11151
11152 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11153
11154         * LyXAction.C:
11155         * commandtags.h:
11156         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11157
11158 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11159
11160         * LyXAction.C:
11161         * commandtags.h:
11162         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11163
11164 2002-07-22  Herbert Voss  <voss@lyx.org>
11165
11166         * lengthcommon.C:
11167         * lyxlength.[Ch]: add support for the vertical lengths
11168
11169 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11170
11171         * toc.[Ch]: std:: fixes
11172
11173 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11174
11175         * lyxrc.C: do not include lyx_main.h
11176
11177         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11178         for layouts
11179
11180         * lyxrc.C:
11181         * encoding.C:
11182         * bufferlist.C:
11183         * BufferView2.C: include "lyxlex.h"
11184
11185         * tabular.h:
11186         * bufferparams.h: do not #include "lyxlex.h"
11187
11188         * lyxtextclasslist.C (Add): remove method
11189         (classlist): renamed to classlist_
11190
11191         * paragraph_pimpl.C:
11192         * paragraph.C:
11193         * text2.C:
11194         * CutAndPaste.C:
11195         * bufferview_funcs.C:
11196         * bufferlist.C:
11197         * text.C:
11198         * LaTeXFeatures.C:
11199         * buffer.C:
11200         * toc.C (getTocList): use BufferParams::getLyXTextClass
11201
11202         * toc.C (getTocList): use InsetFloat::addToToc
11203
11204         * toc.[Ch]: new files, containing helper functions to handle table
11205         of contents
11206
11207         * lyxfunc.C (dispatch): no need to remove spaces around command
11208         given as a string
11209         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11210         first command of the sequence; it is not very clever, but I do not
11211         have a better idea, actually
11212
11213         * LyXAction.C (LookupFunc): make sure to remove space at the
11214         beginning and end of the command
11215
11216 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11217
11218         * MenuBackend.C (getMenubar): new method: return the menubar of
11219         this menu set
11220         (read): treat differently reading of menu and menubar (in
11221         particular, the menubar has no name now)
11222         (Menu::menubar): remove
11223
11224         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11225         saving is finished
11226
11227 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11228
11229         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11230         a bibitem inset in a RTL paragraph.
11231
11232 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11233
11234         * paragraph_pimpl.C: constify
11235
11236         * BufferView_pimpl.C:
11237         * LaTeX.C:
11238         * lyxfunc.C: fix dispatch in a nicer way
11239
11240 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11241
11242         * lyxfunc.C (dispatch):
11243         * BufferView_pimpl.C:
11244         * BufferView_pimpl.h:
11245         * BufferView.C:
11246         * BufferView.h: rename Dispatch() to dispatch()
11247
11248         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11249
11250         * lyxlayout.C (Read): honor DependsOn tag
11251
11252         * lyxlayout.[Ch] (depends_on): new method
11253
11254         * version.C.in: update lyx_docversion
11255
11256         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11257
11258         * paragraph.C (validate): remove from here...
11259         * paragraph_pimpl.C (validate): ... and move here
11260         (isTextAt): make it const
11261
11262         * buffer.C (getLists): ws cleanup
11263
11264 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11265
11266         * language.C (read): Use iso8859-1 encoding in latex_lang
11267         (this prevents LyX from crashing when using iso10646-1 encoding).
11268
11269 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11270
11271         * text2.C (toggleInset): if cursor is inside an inset, close the
11272         inset and leave cursor _after_ it
11273
11274 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11275
11276         * lyxfunc.C: move minibuffer completion handling out of here
11277
11278 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11279
11280         * BufferView_pimpl.C:
11281         * LaTeX.C: fix dispatch calls
11282
11283 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11284
11285         * text.C (drawChars): Fix Arabic text rendering.
11286
11287 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11288
11289         * LyXAction.C:
11290         * commandtags.h:
11291         * lyxfunc.C: remove message-push/pop
11292
11293         * lyxserver.C:
11294         * lyxfunc.h:
11295         * lyxfunc.C: rationalise some code by removing verboseDispatch
11296           in favour of a bool argument to dispatch()
11297
11298 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11299
11300         * lyx_main.C (init): make sure to read symlinks as absolute paths
11301
11302 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11303
11304         * lyxfunc.h:
11305         * lyxfunc.C: no need for commandshortcut to be a member
11306
11307 2002-07-15  André Pönitz <poenitz@gmx.net>
11308
11309         * converter.C: add support for $$s (scripts from lib/scripts dir)
11310         * lyx_main.C: white space
11311
11312 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11313
11314         * bufferlist.C:
11315         * lyxrc.h:
11316         * lyxrc.C: remove second exit confirmation
11317
11318 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11319
11320         * BufferView.h:
11321         * BufferView.C:
11322         * BufferView2.C:
11323         * BufferView_pimpl.h:
11324         * BufferView_pimpl.C:
11325         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11326
11327 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11328
11329         * MenuBackend.C (expand): add numeric shortcuts to document menu
11330
11331         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11332
11333 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11334
11335         * lyxfont.C (setLyXFamily):
11336         (setLyXSeries):
11337         (setLyXShape):
11338         (setLyXSize):
11339         (setLyXMisc):
11340         (lyxRead):
11341         * debug.C (value):
11342         * buffer.C (asciiParagraph): use ascii_lowercase
11343
11344 2002-07-15  Mike Fabian  <mfabian@suse.de>
11345
11346         * lyxlex_pimpl.C (search_kw):
11347         * lyxlex.C (getLongString):
11348         * converter.h (operator<):
11349         * converter.C (operator<):
11350         * buffer.C (parseSingleLyXformat2Token):
11351         (asciiParagraph):
11352         * ToolbarDefaults.C (read):
11353         * MenuBackend.C (checkShortcuts):
11354         (read):
11355         * LColor.C (getFromGUIName):
11356         (getFromLyXName): use the compare_ascii_no_case instead of
11357         compare_no_case, because in turkish, 'i' is not the lowercase
11358         version of 'I', and thus turkish locale breaks parsing of tags.
11359
11360 2002-07-16  Angus Leeming  <leeming@lyx.org>
11361
11362         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11363         now takes a Buffer const & argument.
11364
11365 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11366
11367         * BufferView.C (resize): check there's a buffer to resize
11368
11369 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11370
11371         * lyxfunc.C: remove dead code
11372
11373         * lyxserver.h:
11374         * lyxserver.C: use lyx_guii::set_read_callback
11375
11376 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11377
11378         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11379         an inset in a RTL paragraph.
11380
11381 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11382
11383         * lyxfunc.C: repaint after a font size update
11384
11385 2002-07-15  André Pönitz <poenitz@gmx.net>
11386
11387         * lyxlength.C: inBP should be able to return negative values
11388
11389 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11390
11391         * lyxfunc.C: use lyx_gui::update_fonts()
11392
11393 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11394
11395         * lyxfunc.C: use lyx_gui::update_color()
11396
11397 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11398
11399         * bufferlist.C:
11400         * lyxfunc.h:
11401         * lyxfunc.C:
11402         * lyxrc.h:
11403         * lyxrc.C: remove file->new asks for name option, and let
11404           buffer-new take an argument
11405
11406 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11407
11408         * BufferView_pimpl.C: remove unneeded extra repaint()
11409
11410 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11411
11412         * LyXAction.C: allow command-sequence with NoBuffer
11413
11414         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11415
11416 2002-07-10  Angus Leeming  <leeming@lyx.org>
11417
11418         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11419
11420 2002-07-09  Angus Leeming  <leeming@lyx.org>
11421
11422         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11423
11424 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11425
11426         * lengthcommon.h: whitespace
11427
11428         * lyxfunc.C: update scrollbar after goto paragraph
11429
11430         * lyxtext.h: factor out page break drawing, and fix it so
11431           page break/added space paints as selected nicely
11432
11433 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11434
11435         * BufferView_pimpl.C: add FIXMEs, clean up a little
11436
11437 2002-07-09  André Pönitz <poenitz@gmx.net>
11438
11439         * lyxfont.[Ch]: support for wasy symbols
11440
11441 2002-07-08  André Pönitz <poenitz@gmx.net>
11442
11443         * BufferView_pimpl.C: apply John's patch for #93.
11444
11445 2002-07-05  Angus Leeming  <leeming@lyx.org>
11446
11447         * BufferView_pimpl.C (buffer): generate previews if desired.
11448
11449         * LColor.h: add "preview" to the color enum.
11450
11451         * LColor.C (LColor): add a corresponding entry to the items array.
11452
11453         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11454         with this buffer.
11455
11456 2002-07-05  Angus Leeming  <leeming@lyx.org>
11457
11458         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11459         The body of the code is now in the method that is passed an ostream &
11460         rather than a file name.
11461         Pass an additional only_preamble parameter, useful for the forthcoming
11462         preview stuff.
11463
11464 2002-07-03  André Pönitz <poenitz@gmx.net>
11465
11466         * lyxfunc.C: simplify getStatus() a bit for math stuff
11467
11468 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11469
11470         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11471
11472 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11473
11474         * text.C (changeRegionCase): do not change case of all the
11475         document when region ends at paragraph end (bug #461)
11476
11477 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11478
11479         * paragraph.C (startTeXParParams):
11480         (endTeXParParams): add \protect when necessary
11481
11482 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11483
11484         * BufferView_pimpl.C (workAreaExpose): remove warning
11485
11486 2002-06-27  Angus Leeming  <leeming@lyx.org>
11487
11488         * Makefile.am: add lyxlayout_ptr_fwd.h.
11489
11490 2002-06-26  André Pönitz <poenitz@gmx.net>
11491
11492         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11493
11494 2002-06-25  Angus Leeming  <leeming@lyx.org>
11495
11496         * lyxfunc.C (dispatch): Comment out the call to
11497         grfx::GCache::changeDisplay. The method no longer exists now that the
11498         pixmap generation part of the graphics loader has been moved into
11499         InsetGraphics.
11500
11501 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11502
11503         * text2.C: layout as layout
11504
11505         * text.C: layout as layout
11506
11507         * tabular.C (OldFormatRead): layout as layout
11508
11509         * paragraph_pimpl.C (TeXDeeper): layout as layout
11510         (realizeFont): layout as layout
11511
11512         * paragraph.C (writeFile): layout as layout
11513         (validate): layout as layout
11514         (getFont): layout as layout
11515         (getLabelFont): layout as layout
11516         (getLayoutFont): layout as layout
11517         (breakParagraph): layout as layout
11518         (stripLeadingSpaces): layout as layout
11519         (getEndLabel): layout as layout
11520         (getMaxDepthAfter): layout as layout
11521         (applyLayout): layout as layout
11522         (TeXOnePar): layout as layout
11523         (simpleTeXOnePar): layout as layout
11524         (TeXEnvironment): layout as layout
11525         (layout): layout as layout
11526         (layout): layout as layout
11527
11528         * lyxtextclass.C (compare_name): new functor to work with
11529         shared_ptr, layout as layout
11530         (Read): layout as layout
11531         (hasLayout): layout as layout
11532         (operator): layout as layout
11533         (delete_layout): layout as layout
11534         (defaultLayout): layout as layout
11535
11536         * lyxlayout_ptr_fwd.h: new file
11537
11538         * lyxlayout.C (Read): layout as layout
11539
11540         * lyx_cb.C (MenuInsertLabel): layout as layout
11541
11542         * bufferlist.C (newFile): layout as layout
11543
11544         * buffer.C (readLyXformat2): layout as layout
11545         (parseSingleLyXformat2Token): layout as layout
11546         (insertStringAsLines): layout as layout
11547         (asciiParagraph): layout as layout
11548         (latexParagraphs): layout as layout
11549         (makeLinuxDocFile): layout as layout
11550         (simpleLinuxDocOnePar): layout as layout
11551         (makeDocBookFile): layout as layout
11552         (simpleDocBookOnePar): layout as layout
11553         (getLists): layout as layout
11554
11555         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11556
11557         * CutAndPaste.C (cutSelection): layout as layout
11558         (pasteSelection): layout as layout
11559         (SwitchLayoutsBetweenClasses): layout as layout
11560
11561         * BufferView_pimpl.C (Dispatch): layout as layout
11562         (smartQuote): layout as layout
11563
11564         * BufferView2.C (unlockInset): layout as layout
11565
11566 2002-06-24  André Pönitz <poenitz@gmx.net>
11567
11568         * lyxfunc.C: fix #487
11569
11570 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11571
11572         * lyxrc.h:
11573         * lyxrc.C:
11574         * lyxfunc.C: remove display_shortcuts, show_banner
11575
11576 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11577
11578         * Buffer_pimpl.C: oops, update on resize
11579
11580 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11581
11582         * buffer.C:
11583         * converter.C:
11584         * exporter.C:
11585         * lyxfunc.C:
11586         * BufferView.h:
11587         * BufferView.C: use repaint()
11588
11589         * BufferView_pimpl.h:
11590         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11591           as it's a clearer description. Remove superfluous
11592           redraws.
11593
11594 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11595
11596         * text.C: fix bug 488. Not ideal, but getting
11597           getWord() to work properly for the insets that
11598           matter is more difficult ...
11599
11600 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11601
11602         * BufferView_pimpl.C:
11603         * LyXAction.C:
11604         * commandtags.h:
11605         * lyxfunc.C: remove the six million index lyxfuncs to just
11606           one, and DTRT (bug 458)
11607
11608 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11609
11610         * BufferView.h:
11611         * BufferView.C:
11612         * BufferView_pimpl.h:
11613         * BufferView_pimpl.C: clean up resize() stuff,
11614           and unnecessary updateScreen()s
11615
11616 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11617
11618         * BufferView.h:
11619         * BufferView.C:
11620         * BufferView_pimpl.h:
11621         * BufferView_pimpl.C:
11622         * lyxfind.h:
11623         * lyxfind.C:
11624         * minibuffer.C: remove focus management of workarea,
11625           not needed. Use screen's greyOut()
11626
11627 2002-06-17  Herbert Voss  <voss@lyx.org>
11628
11629         * converter.C: (convert) do not post a message, when converting
11630         fails, let the calling function decide what to do in this case
11631
11632 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11633
11634         * lyxfunc.C: tidy up a little
11635
11636 2002-06-16    <alstrup@diku.dk>
11637
11638         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11639         Got rid of FORMS_H_LOCATION include. Now we are
11640         GUII.
11641
11642 2002-06-15  LyX Development team  <lyx@rilke>
11643
11644         * buffer.[Ch] (sgmlOpenTag):
11645         (sgmlCloseTag): Added support for avoiding pernicious mixed
11646         content. Return number of lines written.
11647
11648         (makeLinuxDocFile):
11649         (makeDocBookFile): Fixed calls to sgml*Tag.
11650         Simple white space clean.
11651
11652         (simpleDocBookOnePar): Simple white space clean.
11653
11654         * tabular.[Ch] (docBook): Renamed to docbook and got another
11655         argument to related with the pernicious mixed content.
11656
11657         (docbookRow): Fixed calls for docbook inset method.
11658
11659 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11660
11661         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11662         so it's X11 independent.
11663
11664         * kb*.[Ch]: ditto.
11665
11666         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11667
11668 2002-06-15  Lyx Development team  <lyx@electronia>
11669
11670         * intl.h: Renamed getTrans to getTransManager.
11671
11672 2002-06-14  Angus Leeming  <leeming@lyx.org>
11673
11674         * Makefile.am: nuke forgotten stl_string_fwd.h.
11675
11676 2002-06-12  Angus Leeming  <leeming@lyx.org>
11677
11678         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11679
11680 2002-06-13  Angus Leeming  <leeming@lyx.org>
11681
11682         * LaTeX.C:
11683         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11684
11685 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11686
11687         * kbmap.C (getiso): add support for cyrillic and greek
11688
11689 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11690
11691         * BufferView.h:
11692         * BufferView.C:
11693         * BufferView_pimpl.h:
11694         * BufferView_pimpl.C: move bogus scrolling logic
11695           to xforms
11696
11697 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11698
11699         * lyxfunc.C:
11700         * BufferView_pimpl.C: view->resize() change
11701
11702 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11703
11704         * BufferView_pimpl.C: topCursorVisible
11705           prototype change
11706
11707 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11708
11709         * Makefile.am:
11710         * lyx_gui.h:
11711         * lyx_gui.C: move to frontends/
11712
11713         * main.C:
11714         * lyx_main.h:
11715         * lyx_main.C: changes from above
11716
11717 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11718
11719         * intl.C:
11720         * intl.h:
11721         * kbmap.C:
11722         * kbsequence.C:
11723         * lyx_cb.C:
11724         * lyx_main.C: minor tidy
11725
11726 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11727
11728         * BufferView_pimpl.h:
11729         * BufferView_pimpl.C:
11730         * BufferView.h:
11731         * BufferView.C: make painter() const,
11732           remove dead code
11733
11734         * BufferView2.C: use screen() accessor
11735
11736         * lyx_main.h:
11737         * lyx_main.C: some minor cleanup
11738
11739 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11740
11741         * BufferView_pimpl.h:
11742         * BufferView_pimpl.C: remove enter/leaveView,
11743           use workHeight()
11744
11745 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11746
11747         * BufferView.h:
11748         * BufferView.C:
11749         * BufferView2.C:
11750         * BufferView_pimpl.h:
11751         * BufferView_pimpl.C: only construct screen once,
11752           rename
11753
11754         * lyxrc.C: remove pointless comment
11755
11756 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11757
11758         * BufferView.h:
11759         * BufferView.C: remove active() and belowMouse()
11760
11761         * BufferView_pimpl.h:
11762         * BufferView_pimpl.C: use workarea() not workarea_,
11763           and make it use a scoped_ptr instead
11764
11765 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11766
11767         * lyx_gui.C: add debug message on BadWindow
11768
11769 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11770
11771         * sp_spell.C: fdopen is not part of the C++ standard.
11772
11773         * paragraph.C (InsetIterator): use >= instead of ==
11774
11775 2002-06-07  Angus Leeming  <leeming@lyx.org>
11776
11777         Fixes needed to compile with Compaq cxx 6.5.
11778         * BufferView_pimpl.C:
11779         * DepTable.C:
11780         * buffer.C:
11781         * converter.C:
11782         * encoding.C:
11783         * lyx_gui.C:
11784         * lyx_main.C:
11785         * lyxtextclasslist.C:
11786         * minibuffer.C:
11787         * sp_spell.C:
11788         * tabular_funcs.C:
11789         * vc-backend.C:
11790         all c-library variables have been moved into namespace std. Wrap
11791         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11792
11793         * lyxlength.C:
11794         * tabular-old.C:
11795         * tabular.C:
11796         Add a using std::abs declaration.
11797
11798         * kbmap.h (modifier_pair):
11799         * paragraph.h (InsetTable, InsetList):
11800         * lyxfont.h (FontBits):
11801         type definition made public.
11802
11803         * bufferlist.C (emergencyWriteAll): the compiler complains that
11804         there is more than one possible lyx::class_fun template to choose from.
11805         I re-named the void specialisation as lyx::void_class_fun.
11806
11807         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11808
11809         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11810         the compiler is is unable to find tostr in write_attribute.
11811
11812 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11813
11814         * buffer.C (sgmlError): hide #warning
11815
11816 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11817
11818         * xtl/*: get rid of xtl, which is not in use anyway
11819
11820         * LyXAction.C (init):
11821         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11822         were unimplemented xtl experimentation
11823
11824 2002-06-04  André Pönitz <poenitz@gmx.net>
11825
11826         * lyxfunc.C: disable array operation on simple formulae
11827
11828 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11829
11830         * converter.C: constify a bit
11831
11832 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11833
11834         * lyx_gui.C: check xforms version correctly
11835
11836 2002-04-30  Herbert Voss  <voss@lyx.org>
11837
11838         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11839         "keep" option
11840
11841 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11842
11843         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11844           attempt to register it with a VCS)
11845
11846 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11847
11848         * lyx_main.C (init): honor variables LYX_DIR_13x and
11849         LYX_USERDIR_13x
11850
11851 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11852
11853         * buffer.h:
11854         * buffer.C:
11855         * lyx_main.C: fix a crash on bad command line,
11856           and give a useful exit status on error
11857
11858         * lyxfunc.C (doImport): allow -i lyx to work
11859
11860 2002-03-30  André Pönitz <poenitz@gmx.net>
11861
11862         * lyxfunc.C: mathed font changes
11863
11864 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11865
11866         * LaTeX.C:
11867         * importer.h:
11868         * importer.C:
11869         * lyx_sty.h:
11870         * lyx_sty.C:
11871         * lyxlex.C:
11872         * lyxrow.h:
11873         * lyxtext.h:
11874         * paragraph.h:
11875         * paragraph.C:
11876         * texrow.h:
11877         * texrow.C:
11878         * text.C:
11879         * trans_mgr.h: srcdocs, and some minor cleanups
11880
11881 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11882
11883         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11884         call getFont all the time)
11885
11886 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11887
11888         * switch from SigC signals to boost::signals
11889
11890 2002-05-29  André Pönitz <poenitz@gmx.net>
11891
11892         * paragraph_pimpl.C (getChar): don't call size() too often...
11893
11894 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11895
11896         * paragraph_pimpl.C (insertChar): do not try to update tables when
11897         appending (pos == size())
11898
11899         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11900         in order to reduce drastically the number of comparisons needed to
11901         parse a large document
11902
11903 2002-05-29  André Pönitz <poenitz@gmx.net>
11904
11905         * text.C:
11906         * text2.C:
11907         * lyxtextclass.C:
11908         * sp_pspell.h:
11909         * textclasslist.[Ch]:
11910         * sp_ispell.h: whitespace change
11911
11912 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11913
11914         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11915         lyxaction directly now.
11916
11917 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11918
11919         * trans.C:
11920         * lyxfont.C:
11921         * lyxvc.C: remove unused headers
11922
11923 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11924
11925         * Makefile.am:
11926         * buffer.h:
11927         * undostack.h:
11928         * undostack.C:
11929         * undo_funcs.h:
11930         * undo_funcs.C: some cleanups. Use shared_ptr
11931           and a template for the undo stacks.
11932
11933 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11934
11935         * BufferView_pimpl.h:
11936         * BufferView_pimpl.C:
11937         * kbmap.h:
11938         * kbmap.C:
11939         * kbsequence.h:
11940         * kbsequence.C:
11941         * lyxfunc.h:
11942         * lyxfunc.C:
11943         * text2.C: use key_state/mouse_state
11944
11945 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11946
11947         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11948         and LSubstring
11949
11950         * chset.C: change include order
11951         (loadFile): use boost regex and get rid of LRegex and LSubstring
11952
11953         * Makefile.am (BOOST_LIBS): new variable
11954         (lyx_LDADD): use it
11955
11956         * LaTeX.C: change include order.
11957         (scanAuxFile): use boost regex and get rid of LRegex and
11958         LSubstring
11959         (deplog): ditto
11960
11961 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11962
11963         * ColorHandler.h:
11964         * ColorHandler.C:
11965         * FontInfo.h:
11966         * FontInfo.C: moved to frontends/xforms/
11967
11968         * FontLoader.h:
11969         * FontLoader.C: moved into frontends for GUIIzation
11970
11971         * Makefile.am:
11972         * lyx_gui.C:
11973         * lyxfont.C:
11974         * lyxfunc.C: changes from above
11975
11976 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11977
11978         * LColor.C: remove spurious X include
11979
11980         * BufferView_pimpl.C:
11981         * Makefile.am:
11982         * font.h:
11983         * font.C:
11984         * text.C:
11985         * text2.C: move font metrics to frontends/
11986
11987 2002-05-24  Juergen Vigna  <jug@sad.it>
11988
11989         * undo_funcs.C (textHandleUndo): fix the cursor selection after
11990         setting the undo_cursor.
11991
11992         * ParagraphParameters.h: include local includes first.
11993
11994 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11995
11996         * BufferView_pimpl.C:
11997         * BufferView_pimpl.h:
11998         * Makefile.am:
11999         * WorkArea.h:
12000         * WorkArea.C:
12001         * screen.C: move WorkArea into frontends/
12002
12003         * lyxscreen.h:
12004         * screen.C:
12005         * text.C:
12006         * BufferView.C:
12007         * BufferView2.C: move LyXScreen into frontends/
12008
12009         * lyxlookup.h:
12010         * lyxlookup.C:
12011         * lyx_gui.C: move lyxlookup into frontends/xforms/
12012
12013 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12014
12015         * BufferView2.C:
12016         * BufferView_pimpl.C:
12017         * FontLoader.C:
12018         * LyXView.h:
12019         * LyXView.C:
12020         * Makefile.am:
12021         * WorkArea.C:
12022         * XFormsView.h:
12023         * XFormsView.C:
12024         * buffer.C:
12025         * bufferlist.C:
12026         * bufferview_funcs.C:
12027         * converter.C:
12028         * importer.C:
12029         * lyx_cb.C:
12030         * lyx_gui.C:
12031         * lyx_main.C:
12032         * lyx_find.C:
12033         * lyxfunc.C:
12034         * lyxvc.C:
12035         * minibuffer.C:
12036         * text.C:
12037         * text2.C:
12038         * trans.C:
12039         * vc-backend.C: move LyX/XFormsView into frontends/
12040
12041 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12042
12043         * Makefile.am:
12044         * PainterBase.C:
12045         * PainterBase.h:
12046         * Painter.C:
12047         * Painter.h:
12048         * WorkArea.C:
12049         * WorkArea.h:
12050         * screen.C:
12051         * tabular.C:
12052         * text.C:
12053         * text2.C: move Painter to frontends/
12054
12055 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12056
12057         * buffer.C: comment out some some code that depend upon lyx_format
12058         < 220
12059
12060         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12061         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12062
12063         * buffer.h (NO_COMPABILITY): turn off compability
12064
12065         * ColorHandler.C: include scoped_array.hpp
12066
12067         * font.C: Use more specific smart_ptr header.
12068         * Painter.C: ditto
12069         * gettext.C: ditto
12070         * ShareContainer.h: ditto
12071         * lyx_main.h: ditto
12072         * kbmap.h: ditto
12073         * FontInfo.h: ditto
12074         * BufferView_pimpl.h: ditto
12075         * ColorHandler.h: ditto
12076
12077         * kbmap.C (defkey): change call to shared_ptr::reset
12078
12079 2002-05-21  Juergen Vigna  <jug@sad.it>
12080
12081         * buffer.C (insertErtContents): fix to insert ert asis if it is
12082         non empty. Skip it completely if it contains only whitespaces.
12083
12084 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12085
12086         * BufferView_pimpl.C:
12087         * BufferView2.C: clear selection on paste (bug 393)
12088
12089 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12090
12091         * DepTable.C: include ctime
12092
12093 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12094
12095         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12096
12097 2002-05-14  Juergen Vigna  <jug@sad.it>
12098
12099         * text.C (breakParagraph): fixed function to honor the keepempty
12100         layout in the right maner and also to permit the right breaking
12101         algorithm on empty or non empyt keepempty paragraphs.
12102
12103         * paragraph.C (breakParagraph): we have to check also if the par
12104         is really empty (!size()) for isempty otherwise we do the wrong
12105         paragraph break.
12106
12107 2002-05-10  Juergen Vigna  <jug@sad.it>
12108
12109         * buffer.[Ch] : The following are only changes to the ert
12110         compatibility read reading old LaTeX layout and font stuff and
12111         convert it to ERTInsets.
12112
12113         * buffer.h: added isErtInset().
12114
12115         * buffer.C (struct ErtComp): add a fromlayout bool to check
12116         if we're inside a LaTeX layout.
12117         (isErtInset): new helper function.
12118         (insertErtContents): look for other ert insets before this one
12119         and insert the contents there, so that we don't have subsequent
12120         ERT insets with nothing between them. This way we create only one
12121         inset with multiple paragraphs. Also check if we don't insert only
12122         spaces ' ' as they are ignored anyway afterwards in the .tex file
12123         so if we have only spaces we will ignore this latex part in the
12124         new file.
12125         (parseSingleLyXformat2Token \\layout): better compatibility when
12126         reading layout-latex stuff.
12127         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12128         language tag.
12129         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12130         stuff after reading the inset only get the information back from
12131         the stack.
12132
12133 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12134
12135         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12136
12137         * LaTeXFeatures.C (getBabelOptions): New method.
12138
12139 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12140
12141         * BufferView_pimpl.C (Dispatch): work around missing argument for
12142         'layout'
12143
12144 2002-05-08  Juergen Vigna  <jug@sad.it>
12145
12146         * text.C (leftMargin): handle paragraph leftindent.
12147
12148         * paragraph.C (writeFile): write the new \\leftindent tag.
12149         (validate): handle leftindent code.
12150         (TeXEnvironment): handle paragraphleftindent code again.
12151
12152         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12153
12154         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12155         for paragrap_extra indent code and new token \\leftindent.
12156         (latexParagraphs): handle the leftindent as environment.
12157
12158         * ParameterStruct.h: added leftindent support.
12159
12160         * ParagraphParameters.C (leftIndent): added support functions for
12161         the paragraph left indent.
12162
12163         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12164         more appropriate.
12165
12166 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12167
12168         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12169         inside insetERT.
12170
12171         * text.C (computeBidiTables): No bidi in insetERT.
12172
12173         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12174         in RTL documents.
12175
12176 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12177
12178         * version.C.in: pre 5
12179
12180 2002-05-02  José Matos  <jamatos@fep.up.pt>
12181         * buffer.C (makeDocBookFile): white space changes, add newline to
12182         command styles.
12183         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12184
12185         * tabular.C (docBook): fix typo.
12186
12187 2002-05-03  Juergen Vigna  <jug@sad.it>
12188
12189         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12190         change in LyXText as we can not be sure it was not freed.
12191         (drawOneRow): remove unused code.
12192
12193         * text.C (drawInset): redo the calculation of the need_break_row as
12194         it could have a row which was already freed.
12195         (draw): look at the return value of drawInset and return false if
12196         it also returned false.
12197         (paintRowText): look at the return value of draw and return false if
12198         it also returned false.
12199
12200         * lyxtext.h: added bool return type to drawInset() and draw() so that
12201         if we have a change in the row so that the rowbreak has to be redone
12202         we abort drawing as it will be called again.
12203
12204 2002-05-02  Juergen Vigna  <jug@sad.it>
12205
12206         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12207         a change in the maintext also if we're inside an inset.
12208         (Dispatch): set the cursor again after a break line and after the
12209         screen has been updated as it could be we're in a different row.
12210
12211         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12212         to set the cursor behind the pargraph with > size().
12213         (setCursor): check also for the same paragraph when checking where
12214         to put the cursor if we have a NFR inset.
12215
12216         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12217         parts of layout read further up as it still was in the wrong
12218         position.
12219
12220 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12221
12222         * screen.C (drawFromTo): change sine fullRebreak always return
12223         true.
12224
12225         * buffer.C (parseSingleLyXformat2Token): reindent some
12226
12227         * BufferView_pimpl.C (update): change since fullRebreak always
12228         return true.
12229         (Dispatch): git rid of the last hardcoded "Standard"s.
12230
12231 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12232
12233         * text2.[Ch] (fullRebreak): make it return void now that we always
12234         returned true.
12235
12236 2002-04-30  Juergen Vigna  <jug@sad.it>
12237
12238         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12239         ert compatibility check for "latex" layout.
12240
12241 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12242
12243         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12244         minipages: use col% instead of p%, and also use the current font.
12245         (makeLaTeXFile): Fix use babel condition.
12246         (parseSingleLyXformat2Token): Correct font when reading old floats.
12247
12248 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12249
12250         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12251         inserting list of floats.
12252
12253 2002-04-25  Herbert Voss  <voss@lyx.org>
12254
12255         * MenuBackend.C (expand): don't add the graphics extensions to the
12256         export menu
12257
12258 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12259
12260         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12261         non-existing layout, do not complain if it was the default layout
12262         of the original class (bug #342)
12263
12264 2002-04-24  Juergen Vigna  <jug@sad.it>
12265
12266         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12267         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12268
12269 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12270
12271         * buffer.C (getBibkeyList): If using \bibliography, return the
12272         option field with the reference itself. Enables us to provide natbib
12273         support when using \bibliography.
12274
12275 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12276
12277         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12278
12279         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12280         natbib is provided by the LaTeX class.
12281
12282 2002-04-23  Juergen Vigna  <jug@sad.it>
12283
12284         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12285         Wakeup functions.
12286
12287         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12288
12289 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12290
12291         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12292
12293         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12294         ensuremath around textordmasculine, textordfeminine and
12295         textdegree.
12296
12297 2002-04-19  Juergen Vigna  <jug@sad.it>
12298
12299         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12300         reinitializing the buffer otherwise row-dimensions may be wrong.
12301         (update): reset also the selection cursors if they do exits otherwise
12302         their x/y positions may be wrong.
12303
12304         * text2.C (cursorDown): don't enter the inset if we came from a row
12305         above and are one row over the inset.
12306
12307         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12308         really leaving an inset.
12309
12310 2002-04-18  Juergen Vigna  <jug@sad.it>
12311
12312         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12313         of the selected paragraph does not have the selected layout also if
12314         the last one had!
12315
12316         * text2.C (setLayout): fixed bug which did not change last selected
12317         paragraph.
12318
12319         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12320         changed the read and substituted \\end_float with \\end_inset!
12321
12322         * BufferView_pimpl.C (cursorPrevious):
12323         (cursorNext): fixed to make it work with rows heigher than the work
12324         area without moving the cursor only the draw of the row.
12325         (workAreaMotionNotify): fix jumping over high rows.
12326
12327 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12328
12329         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12330         Ressler.
12331
12332 2002-04-16  Juergen Vigna  <jug@sad.it>
12333
12334         * text2.C (setCursor): set also the irow().
12335         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12336         (cursorUp):
12337         (cursorDown): support for locking an inset if the x_fix value goes
12338         inside it. That way I can transverse insets too with cursor up/down.
12339
12340         * lyxrow.h: added irow helper function same as other (i) functions.
12341
12342         * BufferView_pimpl.C (cursorPrevious):
12343         (cursorNext): fixed for insets!
12344
12345 2002-04-15  Juergen Vigna  <jug@sad.it>
12346
12347         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12348         position otherwise it is wrong in some cases.
12349
12350         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12351         inside the inset before the call.
12352
12353 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12354
12355         * buffer.[Ch] (getBibkeyList): make it const.
12356
12357 2002-04-12  Juergen Vigna  <jug@sad.it>
12358
12359         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12360
12361         * text2.C (getCursorX): new helper function
12362         (setCursor): compute also ix_
12363         (setCursorFromCoordinates): set also ix.
12364
12365         * lyxcursor.h: added ix_ and helper functions.
12366
12367         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12368
12369         * buffer.C (insertStringAsLines): dont break paragraph if the this
12370         paragraph is inside an inset which does not permit it!
12371
12372         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12373         also with no chars on this paragraph.
12374         (paintRowText): only paint stuff if it's inside the workarea!
12375
12376         * paragraph.C (breakParagraph): honor keepempty flag and break the
12377         paragraph always below not above.
12378
12379         * BufferView2.C (unlockInset): update the paragraph layout on inset
12380         unlock as we changed paragraph in such a case.
12381
12382         * lyxfind.C (LyXFind): clear the former selection if not found!
12383
12384         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12385         again called in insertChar().
12386
12387         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12388         an inset which uses the whole row!
12389         (rightMargin): ditto.
12390         (insertChar): force a rebreak if we inserted an inset!
12391
12392 2002-03-28  Herbert Voss  <voss@lyx.org>
12393
12394         * lyxlength.[Ch]: add inBP() to get the right PS-point
12395         units (BigPoint). With inPixels we have rounding errors
12396
12397 2002-04-11  Juergen Vigna  <jug@sad.it>
12398
12399         * text2.C (setCursorFromCoordinates): set iy to the right value.
12400         (setCursor): add check if row->previous exists!
12401
12402         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12403         an old float_type as this was the case in the old code!
12404
12405         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12406
12407         * BufferView2.C (showLockedInsetCursor): use iy
12408         (fitLockedInsetCursor): ditto
12409
12410         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12411         locked insets as there we have the right value now.
12412
12413         * lyxcursor.C: added iy_ variable and iy functions to set to the
12414         baseline of cursor-y of the locked inset.
12415
12416         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12417         (setCursor): fixed for insets which need a full row.
12418
12419         * text.C (rowLastPrintable): don't ignore the last space when before
12420         an inset which needs a full row.
12421         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12422         as last character of a row when before a inset which needs a full row.
12423
12424 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12425
12426         * version.C.in: update date
12427
12428         * text2.C (fullRebreak): try to always return true and see what
12429         happens...
12430
12431 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12432
12433         * MenuBackend.C (expand): use Floating::listName
12434
12435         * FloatList.C (FloatList): add listName argument to the built-in
12436         floats
12437
12438         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12439         text associated with the float.
12440
12441 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12442
12443         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12444
12445 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12446
12447         * ShareContainer.h: add a couple of missing typenames.
12448
12449 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12450
12451         * lyxrc.C (getDescription): use _() correctly rather than N_().
12452
12453 2002-03-28  Herbert Voss  <voss@lyx.org>
12454
12455         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12456         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12457
12458 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12459
12460         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12461         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12462
12463 2002-03-29  Juergen Vigna  <jug@sad.it>
12464
12465         * lyxfunc.C (dispatch): add a missing fitCursor call.
12466
12467         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12468         it was scrolled by a cursor move, so return the bool status.
12469
12470         * BufferView.C (fitCursor): return the bool flag also to the outside
12471         world as this is needed.
12472
12473         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12474
12475         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12476         call the edit() as it is not needed (and wrong) IMO.
12477         (workAreaButtonPress): set the screen_first variable before evt.
12478         unlock the inset as this may change screen_first and then we have
12479         a wrong y position for the click!
12480
12481 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12482
12483         * MenuBackend.C (expand): another translation that I missed
12484
12485 2002-03-28  Juergen Vigna  <jug@sad.it>
12486
12487         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12488
12489         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12490
12491 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12492
12493         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12494
12495         * MenuBackend.C (expand): fix export/view/update when there is no
12496         document open.
12497
12498 2002-03-27  Herbert Voss  <voss@lyx.org>
12499
12500         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12501         and text%
12502
12503 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12504
12505         * bufferview_funcs.C (currentState): only show paragraph number
12506         for is DEVEL_VERSION is set.
12507
12508         * lyxfunc.C (dispatch): put warning in INFO channel
12509
12510         * MenuBackend.C (expand): translate the name of floats
12511
12512         * FloatList.C (FloatList): mark the float names for translation
12513
12514         * converter.C (convert): use LibScriptSearch
12515
12516 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12517
12518         * MenuBackend.C (defaults): fix default menu (we might as well get
12519         rid of it...)
12520
12521 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12522
12523         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12524         directory.
12525
12526 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12527
12528         * lyxvc.C: reorder includes.
12529
12530 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12531
12532         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12533           properly
12534
12535 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12536
12537         * CutAndPaste.C: change layouts earlier on paste
12538           to avoid crashing when calling getFont()
12539
12540 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12541
12542         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12543         irritating #error.
12544
12545 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12546
12547         * WorkArea.C: remove 'Pending' debug message.
12548
12549         * most files: ws cleanup
12550
12551         * buffer.[Ch]: ws changes
12552
12553         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12554
12555 2002-03-21  Juergen Vigna  <jug@sad.it>
12556
12557         * tabular.C (SetMultiColumn): collapse also the contents of the
12558         cells and set the last border right. Added a Buffer const * param.
12559
12560 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12561
12562         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12563         linking or not.
12564
12565 2002-03-19  Juergen Vigna  <jug@sad.it>
12566
12567         * text2.C (clearSelection): reset also xsel_cache.
12568
12569         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12570         where it needs to be called (John tells us to do so too :)
12571         (selectionLost): reset sel_cache.
12572
12573         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12574
12575 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12576
12577         * text2.C (setCursorIntern): put debuging code in INSETS channel
12578
12579 2002-03-19  André Pönitz <poenitz@gmx.net>
12580
12581         * lyxfunc.C: tiny whitespace change
12582
12583 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12584
12585         * ToolbarDefaults.C (init):
12586         * LyXAction.C (init):
12587         * commandtags.h:
12588         * BufferView_pimpl.C (Dispatch):
12589         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12590
12591 2002-03-19  Allan Rae  <rae@lyx.org>
12592
12593         * exporter.C (Export): removeAutoInsets before doing anything else.
12594         While I've just introduced a dependency on BufferView this really is
12595         the best place to clean the buffer otherwise you need to cleanup in
12596         a dozen places before calling export or cleanup in a dozen functions
12597         that export calls.
12598
12599         * converter.C (runLaTeX):
12600         (scanLog): Better handling of removeAutoInsets and screen updates.
12601
12602         * lyxfunc.C (dispatch): small whitespace changes
12603
12604 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12605
12606         * WorkArea.C (C_WorkAreaEvent): return a value.
12607         (event_cb): return 1 if we handled the event, 0 otherwise.
12608
12609         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12610
12611 2002-03-18  Juergen Vigna  <jug@sad.it>
12612
12613         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12614         (GetAdditionalWidth): ditto.
12615         (RightLine): ditto.
12616         (LeftLine): ditto.
12617
12618         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12619         inset if we're there actually (probably not used right now but this
12620         is the direction to go for unifying code).
12621         (paste): disable code to clear the selection.
12622
12623         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12624         inside an InsetText and move the check further up as it is in the
12625         wrong place.
12626
12627         * text2.C (pasteSelection): set a selection over the pasted text.
12628
12629 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12630
12631         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12632         and libgraphics to build on Cygwin.
12633
12634 2002-03-15  Juergen Vigna  <jug@sad.it>
12635
12636         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12637         inserting an Inset into the paragraph. I know this is not the best
12638         fix but we already use current_view in CutAndPaste so we will remove
12639         all of it's using at the same time.
12640
12641         * buffer.C (sgmlError): deactivated function till it is rewritten in
12642         the right mode, now it can create problems.
12643
12644         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12645         before accessing it.
12646
12647 2002-03-14  Juergen Vigna  <jug@sad.it>
12648
12649         * undo_funcs.C (textHandleUndo): do the right thing when updating
12650         the inset after the undo/redo.
12651
12652         * text2.C (setCursor): just some testcode for #44 not ready yet.
12653
12654         * undo_funcs.C (textHandleUndo): set the next() and previous()
12655         pointers of the paragraph to 0 before deleting otherwise we have
12656         problems with the Paragraph::[destructor].
12657
12658         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12659         on a paragraph insertion.
12660
12661 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12662
12663         * buffer.C (asciiParagraph): use += operator for char append to
12664         string.
12665
12666         * paragraph.C (getFontSettings): compare >= not just >
12667         (highestFontInRange): ditto
12668         (setFont): ditto
12669
12670 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12671
12672         * paragraph.C: change several algorithm to be more appripriate for
12673         the problem domain. This is lookip in FontList and in the InsetList.
12674
12675 2002-03-13  André Pönitz <poenitz@gmx.net>
12676
12677         * commandtags.h:
12678         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12679
12680 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12681
12682         * commandtags.h:
12683         * LyXAction.C:
12684         * lyxfunc.C:
12685         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12686
12687 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12688
12689         * Painter.C (display): anon helper function, adjust code for this
12690         change.
12691         (pixmap): remove function.
12692
12693         * Painter.h: remove private display variable.
12694
12695         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12696
12697 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12698
12699         * WorkArea.[Ch]: remove figinset_canvas cruft.
12700
12701 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12702
12703         * lyxtextclass.C (operator): add one item cache optimization.
12704
12705         * bufferlist.h: doxy changes
12706
12707         * bufferlist.C: ws changes
12708
12709         * DepTable.[Ch] (ext_exist): place const in the right spot.
12710
12711         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12712         call resizeInsets.
12713         (workAreaExpose): call resizeInsets when the with BufferView changes.
12714         (Dispatch): adjust for protectedBlank removal
12715         (specialChar): call updateInset if the insert went ok.
12716
12717         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12718         specialChar instead.
12719
12720         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12721
12722         * BufferView.h: doxy change
12723
12724         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12725
12726         * lyxtextclass.C (operator[]): remove non-const version
12727         (defaultLayout): remove non-const version
12728
12729 2002-03-12  Juergen Vigna  <jug@sad.it>
12730
12731         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12732         did resize the LyXText too.
12733
12734         * buffer.C (readLyXformat2): set layout information on newly allocated
12735         paragraphs.
12736
12737         * tabular.C (OldFormatRead): set layout information on the paragraph.
12738
12739 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12740
12741         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12742
12743 2002-03-11  Juergen Vigna  <jug@sad.it>
12744
12745         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12746         plainly wrong.
12747         (resizeCurrentBuffer): force also the insets to resize themselfes.
12748         (moveCursorUpdate): fixed up for InsetText.
12749
12750 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12751
12752         * commandtags.h:
12753         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12754         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12755         value of Dialogs::tooltipsEnabled().
12756         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12757
12758 2002-03-08  Juergen Vigna  <jug@sad.it>
12759
12760         * BufferView_pimpl.C (updateInset): update inset inside inset also
12761         if it isn't inside theLockingInset().
12762
12763 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12764
12765         * buffer.C (asciiParagraph): redo some of the word and line length
12766         handling.
12767         (getLists): look for Caption instead of caption.
12768
12769 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12770
12771         * buffer.C (Buffer): initialize niceFile to true
12772         (makeLaTeXFile):
12773         (makeLinuxDocFile):
12774         (makeDocBookFile): make sure niceFile is true on exit
12775
12776 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12777
12778         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12779
12780 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12781
12782         * LyXSendto.C: remove.
12783         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12784         * lyx_gui.C: remove now-redundant comment.
12785         * ColorHandler.h: remove forward declaration of class WorkArea.
12786         * lyxfunc.C: remove #include "WorkArea.h".
12787
12788 2002-03-07  Juergen Vigna  <jug@sad.it>
12789
12790         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12791         got moved away with the DEPM and also set the inset_owner always
12792         right which before could have been omitted.
12793
12794 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12795
12796         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12797         wanted layout is not found.
12798
12799 2002-03-07  Juergen Vigna  <jug@sad.it>
12800
12801         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12802
12803 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * paragraph.C (breakParagraph): use default layout not layout of
12806         prev paragraph.
12807         (Paragraph): clear ParagraphParameters.
12808
12809 2002-03-06  Juergen Vigna  <jug@sad.it>
12810
12811         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12812         otherwise it would not be a valid lenght. Fixed a special case in
12813         the minipage compatibility read where we end the document with a
12814         minipage.
12815
12816         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12817         was set as it could be 0 for InsetTexts first entry.
12818
12819 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12820
12821         * paragraph.C (writeFile): if layout is empty write out
12822         defaultLayoutName().
12823
12824         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12825         file without named layout we set layout to defaultLayoutName().
12826
12827 2002-03-06  Juergen Vigna  <jug@sad.it>
12828
12829         * CutAndPaste.C (copySelection): set layout for new paragraph.
12830
12831         * text.C (prepareToPrint): leave ERT inset left aligned
12832         (leftMargin): don't indent paragraphs inside ERT insets
12833
12834 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12835
12836         * paragraph.C (breakParagraph): dont call clear do the work manually
12837
12838         * paragraph.[Ch] (clear): remove function
12839
12840 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12841
12842         * paragraph.C (Paragraph): dont call clear, the work has already
12843         been done.
12844
12845         * lyxtextclass.C (operator): assert if n is empty
12846
12847         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12848         work manually instead.
12849
12850 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12851
12852         * BufferView_pimpl.C: protect selectionLost against text == 0
12853
12854 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12855
12856         * text.C (breakParagraph): fix a setting layout to '0' problem.
12857
12858 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12859
12860         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12861         final location of file, for the included files, and graphics.
12862
12863 2002-03-05  Juergen Vigna  <jug@sad.it>
12864
12865         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12866
12867 2002-03-04  Juergen Vigna  <jug@sad.it>
12868
12869         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12870
12871         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12872         last column of multicolumn cells.
12873         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12874
12875 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12876
12877         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12878         file if it doesn't go to a temporary file.
12879
12880         * buffer.C (sgmlOpenTag):
12881         (sgmlCloseTag):  remove extra newline insertion.
12882
12883 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12884
12885         * text.C (getRowNearY): comment out debug msg
12886
12887 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12888
12889         * text2.C: first -> first_y
12890
12891         * text.C (getRowNearY): add some attemts at a possible
12892         optimization, not working.
12893
12894         * tabular.[Ch]: add BufferParams to several function so that newly
12895         created paragraph can be initialized to he default layotu for the
12896         buffers textclass.
12897
12898         * tabular-old.C (ReadOld): add buf->params to call of Init
12899
12900         * screen.C: rename text->first to text->first_y
12901
12902         * paragraph.C (breakParagraph): always set layout in the broken
12903         paragraph
12904
12905         * lyxtextclass.C (Read): remove lowercase
12906         (hasLayout): ditto
12907         (operator): ditto
12908         (delete_layout): ditto
12909
12910         * lyxtext.h: rename first -> first_y
12911
12912         * lyxlayout.C (Read): remove lowercase
12913         (name): ditto
12914         (setName): ditto
12915         (obsoleted_by): ditto
12916
12917         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12918
12919         * buffer.C (insertErtContents): add params are to InsetERT
12920         (parseSingleLyXformat2Token): add code to check if a paragraphs
12921         layout really exist.
12922         (parseSingleLyXformat2Token): add params to several inset
12923         constructors
12924         (asciiParagraph): remove lowercase, do the layout comparisons with
12925         no_case
12926
12927         * BufferView_pimpl.C (cursorNext): first -> first_y
12928         (resizeCurrentBuffer): first -> first_y
12929         (updateScrollbar): first -> first_y
12930         (scrollCB): first -> first_y
12931         (workAreaMotionNotify): first -> first_y
12932         (workAreaButtonPress): first -> first_y
12933         (checkInsetHit): first -> first_y
12934         (cursorPrevious): first -> first_y
12935         (cursorNext): first -> first_y
12936         (Dispatch): add buffer_->params to severl inset contructors
12937
12938 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12939
12940         * lyxlayout.C (Read): remove some debug info that I forgot.
12941
12942         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12943         clean up the code slightly.
12944         (makeLinuxDocFile): ditto
12945         (makeDocBookFile): ditto
12946
12947         * text2.C: layout as string
12948
12949         * text.C: layout as string
12950
12951         * paragraph_pimpl.C: layout as string
12952
12953         * paragraph.[Ch]: layout as string
12954
12955         * lyxtextclasslist.[Ch]: layout as string
12956
12957         * lyxtextclass.[Ch]: layout as string
12958
12959         * lyxtext.h: layout as string
12960
12961         * lyxlayout.[Ch]: layout as string
12962
12963         * lyx_cb.C: layout as string
12964
12965         * bufferview_funcs.C: layout as string
12966
12967         * bufferparams.C: layout as string
12968
12969         * buffer.C: layout as string
12970
12971         * LyXView.[Ch]: layout as string
12972
12973         * LaTeXFeatures.[Ch]: layout as string
12974
12975         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12976
12977         * BufferView_pimpl.C: change current_layout to string, remove
12978         lyx::layout_type.
12979         (Dispatch):
12980         (smartQuote):
12981         (insertInset):
12982         (workAreaButtonRelease): layout as string
12983
12984         * BufferView2.C (unlockInset): adjust
12985
12986         * vspace.C (asLatexCommand): use an explict temp variable.
12987
12988 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12989
12990         * Makefile.am: use FRONTEND_*
12991
12992 2002-03-01  Juergen Vigna  <jug@sad.it>
12993
12994         * tabular.C (SetWidthOfMulticolCell): changed to something better
12995         I hope but still work in progress.
12996         (recalculateMulticolumnsOfColumn): renamed function from
12997         recalculateMulticolCells as it is more appropriate now.
12998         (SetWidthOfCell): calculate multicols better.
12999
13000 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13001
13002         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13003
13004         * lyxfunc.C (processKeySym): print sequence also if it is
13005         `deleted' (complete)
13006
13007         * kbsequence.C (print): print sequence even if it is deleted
13008         (complete would be a better word, actually).
13009
13010         * lyxfunc.C (dispatch): print complete options after a prefix key
13011
13012         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13013
13014 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13015
13016         * text2.C (setCharFont): eliminate setCharFont code duplication.
13017
13018 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13019
13020         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13021         LFUN_TABULAR_FEATURE (bug #177)
13022
13023 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13024
13025         * Makefile.am: remove figure.h
13026
13027 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13028
13029         * Bufferview_pimpl.C:
13030         * CutAndPasteC:
13031         * LaTeX.C:
13032         * LyXSendto.C:
13033         * buffer.C:
13034         * bufferlist.C:
13035         * converter.C:
13036         * language.C:
13037         * lyxfunc.C:
13038         * lyxvc.C:
13039         * paragraph.C:
13040         * text.C:
13041         * text2.C: remove #include "lyx_gui_misc.h".
13042
13043         * LaTeX.C: added #include <cstdio>
13044
13045 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13046
13047         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13048         that the paragraph following this one can have.
13049
13050         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13051
13052         * vspace.C (asLatexCommand): fix bogus gcc warning
13053
13054         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13055
13056 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13057
13058         * text2.C (setLayout): get rid of redundant code
13059
13060 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13061
13062         * text2.C (incDepth): make sure depth cannot be increased beyond
13063         reasonable values.
13064
13065 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13066
13067         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13068         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13069
13070         * PainterBase.h (image):
13071         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13072         a LyXImage const *.
13073
13074 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13075
13076         * BufferView.C:
13077         * BufferView.h:
13078         * BufferView_pimpl.C:
13079         * BufferView_pimpl.h:
13080         * LaTeXFeatures.C:
13081         * LyXAction.C:
13082         * LyXView.C:
13083         * Makefile.am:
13084         * UpdateList.h:
13085         * UpdateList.C:
13086         * buffer.C:
13087         * figure.h:
13088         * figureForm.C:
13089         * figureForm.h:
13090         * figure_form.C:
13091         * figure_form.h:
13092         * lyx_cb.C:
13093         * lyx_gui.C:
13094         * lyx_gui_misc.C:
13095         * lyxfunc.C:
13096         * sp_base.h:
13097         * sp_ispell.h:
13098         * sp_pspell.h:
13099         * sp_spell.C: remove fig inset, and the crap house of
13100           cards that follows it
13101
13102 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13103
13104         * Makefile.am:
13105         * lyxserver.C:
13106         * os2_defines.h:
13107         * os2_errortable.h:
13108         * nt_defines.h: move .h into support/
13109
13110         * vms_defines.h: remove
13111
13112         * WorkArea.C: add space in debug output
13113
13114         * text2.C:
13115         * paragraph.C:
13116         * buffer.C: add WITH_WARNINGS
13117
13118         * vc-backend.h:
13119         * vc-backend.C:
13120         * bufferlist.C: s/retrive/retrieve/, add docs
13121
13122         * vspace.h:
13123         * vspace.C:
13124         * kbmap.h:
13125         * lyxlength.h:
13126         * lyxgluelength.h:
13127         * length_common.h:
13128         * chset.h:
13129         * chset.C: add docs
13130
13131         * lyxgui.C: add ID to X error handler
13132
13133         * lyxtestclass.c: fix typo
13134
13135 2002-02-26  Juergen Vigna  <jug@sad.it>
13136
13137         * tabular_funcs.C (write_attribute): changed so that some default
13138         attributes are not written at all.
13139         (getTokenValue): set default values before trying to read the
13140         value so we have the return value always set as default if we don't
13141         find the token we search for.
13142
13143         * tabular.C (Write): write bools as bools not as strings!
13144
13145 2002-02-22  Juergen Vigna  <jug@sad.it>
13146
13147         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13148         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13149
13150         * text.C (leftMargin): don't add an indent for paragraphs inside
13151         tabular cells (fix #208).
13152
13153 2002-02-21  José Matos  <jamatos@fep.up.pt>
13154
13155         * tabular.C (docBook): fixed support for long tables.
13156
13157 2002-02-20  Juergen Vigna  <jug@sad.it>
13158
13159         * text2.C (getFont): get the drawing font of the Inset if this
13160         paragraph is inside an inset (only important for InsetERT for now).
13161
13162         * buffer.C (insertErtContents): use new lanugage params in ERT
13163         constructor.
13164
13165         * CutAndPaste.C: commenting out seemingly uneeded code.
13166
13167 2002-02-19  Allan Rae  <rae@lyx.org>
13168
13169         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13170         Iterators might be simple to use but they also get invalidated.
13171         (removeAutoInsets): renamed saved cursor tracking variables and added
13172         some comments to clarify what everything does.
13173
13174 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13175
13176         * Chktex.C:
13177         * LaTeX.C:
13178         * LyXSendto.C:
13179         * converter.C:
13180         * lyx_cb.C:
13181         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13182         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13183
13184         * lyxfunc.C:
13185         * vc-backend.h: remove #include "support/syscall.h"
13186
13187         * LaTeX.C:
13188         * LyXSendto.C:
13189         * converter.C: rearrange #includes in Lars' approved fashion.
13190
13191         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13192         forward declare class Timeout in the header file.
13193
13194         * XFormsView.C: changes due to the above.
13195
13196         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13197         similar to LyXView.
13198
13199         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13200         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13201
13202 2002-02-18  José Matos  <jamatos@fep.up.pt>
13203
13204         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13205         insets contents.
13206
13207 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13208
13209         * a lot of small ws changes
13210         * add a lot of using std::XXX
13211         * use std construcs some places where approp.
13212         * use some exisint stuff from lyxfunctional where approp.
13213         * Make file changes to use partial linking (lets test this now...)
13214
13215 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13216
13217         * Chktex.C:
13218         * buffer.C:
13219         remove #include "support/syscontr.h" as it's redundant. Always has been.
13220
13221         * Chktex.C:
13222         * LaTeX.C:
13223         * LyXSendto.C:
13224         * converter.C:
13225         * lyx_cb.C:
13226         * vc-backend.C:
13227         change Systemcalls::System to Systemcalls::Wait and
13228         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13229         No change of functionality, just reflects the stripped down Systemcalls
13230         class.
13231
13232 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13233
13234         * debug.[Ch]: add a GRAPHICS type to the enum.
13235
13236 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13237
13238         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13239
13240         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13241         there is an inset.
13242
13243 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13244
13245         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13246         match the changes below.
13247
13248         * text2.C (toggleInset): if there is not editable inset at cursor
13249         position, try to see if cursor is _inside_ a collapsable inset
13250         and close it.
13251
13252 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13253
13254         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13255         document menu has a nice checkbox
13256
13257 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13258
13259         * lyxlength.C (asLatexString): change PW to output as percent of
13260         \textwidth.
13261
13262         * lengthcommon.C: change '%' to 't%'
13263
13264         * lyxfunc.C (dispatch): a few comments from Martin
13265
13266 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13267
13268         * WorkArea.h:
13269         * WorkArea.C:
13270         * BufferView_pimpl.h:
13271         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13272           the X selection.
13273
13274 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13275
13276         * vspace.C (inPixels): fix compiler warning
13277
13278 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13279
13280         * lyxfunc.C (getStatus): fix status message for disabled commands.
13281
13282 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13283
13284         * BufferView_pimpl.C: fix crash on close buffer
13285         during selection (#227)
13286
13287 2002-01-27  Herbert Voss  <voss@lyx.org>
13288
13289         * buffer.C: link old Figure to new graphic inset
13290
13291 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13292
13293         * FontLoader.C (getFontinfo): Change the latex font names in order
13294         to match the names of type1inst.
13295
13296 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13297
13298         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13299
13300         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13301         (extchanged): ditto
13302         (ext_exist): ditto
13303         (remove_files_with_extension): ditto
13304         (remove_file): ditto
13305         (write): ditto
13306
13307         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13308         document is smaller than the work area height. Do not initialize
13309         static variables to 0.
13310
13311 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13312
13313         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13314
13315         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13316         LFUN_LAYOUT_PARAGRAPHS.
13317
13318         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13319         tabular. It is possible to provide a possible cell, which will
13320         typically be the actcell from the corresponding insettabular
13321
13322         * lyxfunc.C (getStatus): small cleanup; disable
13323         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13324         true
13325
13326 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13327
13328         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13329
13330         * paragraph.C (startTeXParParams):
13331         (endTeXParParams): new methods. The LaTeX code to
13332         start/end paragraph formatting
13333         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13334         empty (fixes bug #200)
13335
13336         * vspace.C (inPixels): adapt to the change below
13337         (inPixels): [later] more cleanups (remove unused variables)
13338
13339         * lyxlength.C (inPixels): change to use a width and a height as
13340         parameter.
13341
13342 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13343
13344         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13345         Replaced with \paperwidth
13346
13347         * DepTable.C (insert): add std:: qualifier
13348
13349 2002-01-18  Allan Rae  <rae@lyx.org>
13350
13351         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13352         updated also?
13353
13354         * text.C (drawInset): Turned out I didn't know enough about how
13355         rebreaking worked.  This fixes most of the redraw problems.  I see
13356         an occasional cursor trail when a line is broken now and the cursor
13357         placement can seem out by a few pixels also after a rebreak.
13358
13359 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13360
13361         * buffer.C (parseSingleLyXformat2Token): update because minipage
13362         width is now a LyXLength
13363
13364         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13365
13366         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13367         math insets
13368
13369 2002-01-17  Juergen Vigna  <jug@sad.it>
13370
13371         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13372
13373         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13374         is set correctly and the inset is updated correctly.
13375
13376 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13377
13378         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13379         the beginning of the loop.
13380
13381 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13382
13383         * lyxrc.C: improve help for use_scalable_fonts
13384
13385 2002-01-17  Allan Rae  <rae@lyx.org>
13386
13387         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13388
13389 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13390
13391         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13392         make sure to set their inset_owner to the right value (bug #171)
13393
13394 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13395
13396         * DepTable.h
13397         * DepTable.C: Implement mtime checking to reduce time spent doing
13398         CRCs.
13399
13400 2002-01-16  Juergen Vigna  <jug@sad.it>
13401
13402         * tabular.C (GetAdditionalHeight): one of error fixed.
13403
13404         * lyxrc.C (output): small fix in writing use_pspell.
13405
13406 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13407
13408         * sp_base.h: #include LString.h
13409
13410 2002-01-16  Allan Rae  <rae@lyx.org>
13411
13412         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13413         Can someone check this please?
13414
13415         * text.C (drawInset): It was possible that p.row would be removed by
13416         breakAgainOneRow upsetting a few other settings.  There may be another
13417         small tweak possible by setting need_break_row = 0 when p.row has been
13418         removed but I don't know enough about the logic here.
13419
13420 2002-01-15  Allan Rae  <rae@lyx.org>
13421
13422         * text.C (insertChar): removed conditional truism.
13423
13424         * BufferView2.C (removeAutoInsets): More tweaks.
13425         cur_par_prev could be a stray pointer.  Check for trailing empty line
13426         in case last line was cur_par and only had an error inset on it.
13427
13428 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13429
13430         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13431         absolute
13432
13433         * vc-backend.C (most methods):
13434         * exporter.C (Export):
13435         * converter.C (convert):
13436         (runLaTeX):
13437         * LyXSendto.C (SendtoApplyCB):
13438         * lyxfunc.C (dispatch):
13439         (menuNew):
13440         (open):
13441         (doImport):
13442         * lyx_cb.C (AutoSave):
13443         (InsertAsciiFile):
13444         * BufferView_pimpl.C (MenuInsertLyXFile):
13445         * buffer.C (runChktex): use Buffer::filePath().
13446
13447         * buffer.h: rename filename to filename_; rename filepath to
13448         filepath_ and make it private
13449         (filePath): new method
13450
13451         * buffer.C (writeFile): use fileName()
13452         (getLatexName):
13453
13454         * lyx_main.C (init): fix starting  of LyX when the binary is a
13455         link from so,ewhere else.
13456
13457         * minibuffer.C: include <cctype> for isprint
13458
13459 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13460
13461         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13462         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13463         name clash with InsetCollapsable's width function.
13464
13465 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13466
13467         * lastfiles.C: include <iterator>
13468
13469 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13470
13471         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13472         std::count.
13473
13474         * buffer.C (makeLaTeXFile): ditto.
13475         Also make loop operation more transparent.
13476
13477 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13478
13479         * ToolbarDefaults.C: remove trailing comma closing namespace.
13480
13481         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13482
13483         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13484         as in WorkArea.
13485
13486         * trans.C (Load): comment out unused variable, allowed.
13487
13488 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13489
13490         * minibuffer.[Ch] (append_char): new method to recieve input from the
13491         drop-down completion browser. If a key was pressed, then recieve this
13492         char and append it to the existing string.
13493         (peek_event): modify the positioning data passed to the completion
13494         browser so that it can be placed above the minibuffer rather than below.
13495 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13496
13497         * LyXAction.C (init): alloe error-next for readonly documents.
13498
13499         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13500         count.
13501
13502 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13503
13504         * bufferlist.C (readFile): create the buffer _after_ checking that
13505         the file exists.
13506
13507         * lyxfunc.C (verboseDispatch): fix handling of arguments
13508
13509         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13510
13511         * lyxrc.C: use string::erase() instead of initializing to "".
13512
13513
13514 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13515
13516         * BufferView_pimpl.h:
13517         * BufferView_pimpl.C:
13518         * WorkArea.h:
13519         * WorkArea.C:
13520         * text2.C: tell X when we have made a selection for copying
13521
13522 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13523
13524         * BufferView_pimpl.C (MenuInsertLyXFile):
13525         * lyxfunc.C (menuNew):
13526         (open):
13527         (doImport): add shortcuts to directory buttons
13528
13529         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13530         open a float)
13531
13532         * lyxfunc.C (setStatusMessage):
13533         (getStatusMessage): new methods
13534         (getStatus):use setStatusMessage instead of setErrorMessage
13535         (dispatch): when function is disabled, set error message here
13536         [instead of in getStatus previously]
13537
13538         * BufferView_pimpl.C (workAreaButtonRelease): update
13539         toolbar/menubar here too.
13540
13541 2002-01-13  Allan Rae  <rae@lyx.org>
13542
13543         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13544         Now seems indestructible.  Remaining task is to audit all other
13545         code affected by deleteEmptyParagraphMechanism.  One small quirk
13546         left is that an empty document with an error in the preamble can
13547         be made to report an error but no error box appears.  I don't know
13548         where it goes.
13549         (removeAutoInsets): Improved comments.
13550
13551 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13552
13553         * Thesaurus.h:
13554         * Thesaurus.C: update for Aiksaurus 0.14
13555
13556 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13557
13558         * text2.C (firstParagraph): removed member function, all uses
13559         replaces with ownerParagraph
13560         (redoParagraphs): here
13561         (updateInset): here
13562         (toggleAppendix): here
13563         * BufferView2.C (insertErrors): here
13564         (setCursorFromRow): here
13565
13566 2002-01-13  Allan Rae  <rae@lyx.org>
13567
13568         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13569         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13570         There is still a way to segfault this although you may have to do this
13571         multiple times: Have an InsetERT with an unknown command in it.
13572         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13573         <down-arrow>, <Enter> again, View->DVI, BANG!
13574
13575         * text2.C (setCursor):
13576         (deleteEmptyParagraphMechanism):
13577         * lyxtext.h (setCursor):
13578         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13579         Making use of the return value may help fix other bugs.
13580
13581 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13582
13583         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13584
13585         * LyXView.C (updateMenubar): call MenuBar::update here
13586         (updateToolbar): but not here
13587         (showState): do not update toolbar/menubar
13588
13589         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13590         should need to care about that.
13591
13592         * lyxfunc.C (verboseDispatch): simplify a bit
13593         (getStatus): have a version which takes a pseudoaction, and
13594         another which requires a (kb_action,string).
13595
13596         * LyXAction.C (retrieveActionArg): make it work also when action
13597         is not a pseudo-action.
13598         (getActionName): simplify a bit
13599         (helpText):
13600
13601 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13602
13603         * lyxfunc.C (verboseDispatch): new families of methods with
13604         several ways to specify a command and a bool to indicate whether
13605         the command name and shortcut should be displayed in minibuffer
13606         (eventually, we could extend that to a finer bitmask like
13607         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13608         (dispatch): the pristine dispatch command which just, well,
13609         dispatchs! Note it still sets its result to minibuffer; I'm not
13610         sure we want that.
13611
13612         * lyxfunc.h: remove setHintMessage
13613
13614         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13615
13616 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13617
13618         * BufferView_pimpl.C (specialChar): delete new inset if we have
13619         not been able to insert it.
13620
13621         * kbmap.C: revert to using int instead of kb_action, since all we
13622         are dealing with is pseudo-actions.
13623
13624         * LyXAction.C (searchActionArg): change to return int instead of
13625         kb_action, since the result is a pseudoaction.
13626
13627 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13628
13629         * buffer.C (insertErtContents): Fix (partially) the font bug.
13630
13631 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13632
13633         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13634         as the other one is broken on my machine!
13635
13636 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13637
13638         * commandtags.h:
13639         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13640
13641 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13642
13643         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13644         reflect their actual use. Provide compatibility code for older lyxrc
13645         files.
13646
13647         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13648         FL_NORMAL_STYLE.
13649         change names of popup font variables in line with the changes to lyxrc.C
13650
13651 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13652
13653         * buffer.C (asciiParagraph): avoid outputing a word twice after
13654         an inset.
13655
13656         * lyxrc.C (getDescription): document that document_path and
13657         template_path can be empty.
13658
13659 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13660
13661         * LaTeXFeatures.C (getMacros):
13662         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13663
13664         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13665
13666         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13667         getPackages.
13668         (getPackages): rename feature "floats" to "float". Use an array to
13669         iterate over 'simple' features (i.e. just a \usepackage). Add
13670         handling of "amsmath" (renamed from "amsstyle").
13671
13672 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13673
13674         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13675         features list.
13676
13677 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13678
13679         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13680         FuncStaus::FuncStatus & FuncStaus::some_method().
13681
13682 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13683
13684         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13685         of the func_satus stuff. Edited and massaged in various ways by
13686         JMarc.
13687
13688         * lyxfunc.C (getStatus): use FuncStatus
13689
13690 2002-01-08  Juergen Vigna  <jug@sad.it>
13691
13692         * text.C (nextBreakPoint): use function Inset::isChar().
13693
13694         * paragraph.C (TeXOnePar): use function
13695         Inset::forceDefaultParagraphs.
13696
13697         * buffer.C (latexParagraphs): use function
13698         Inset::forceDefaultParagraphs.
13699
13700 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13701
13702         * lyx_gui.C (init): set the style of the menu popups to
13703         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13704
13705 2002-01-07  Juergen Vigna  <jug@sad.it>
13706
13707         * text.C (setHeightOfRow): small fix
13708         (prepareToPrint): don't look at alignment if we don't have the place
13709         for doing it.
13710
13711 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13712
13713         * box.C: New file. Move the Box methods and functions out of box.h,
13714         following Lars' suggestion.
13715
13716 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13717
13718         * box.h: #include "support/LOstream.h", needed for inlined function.
13719
13720         * lyxtextclass.C:
13721         * lyxtextclasslist.C: added some using std declarations.
13722
13723 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13724
13725         * box.h: make signed dimensions to allow insets wider than
13726           the screen (bug #162)
13727
13728         * BufferView_pimpl.C: add some insetHit debug
13729
13730 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13731
13732         * vc-backend.C: add FIXME
13733
13734 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13735
13736         * lyxfunc.C (getStatus): enable code for showing math font status
13737         in toolbar/menu.
13738
13739 2002-01-07  Juergen Vigna  <jug@sad.it>
13740
13741         * text.C (nextBreakPoint): removed debug output not needed anymore.
13742
13743 2002-01-06  Juergen Vigna  <jug@sad.it>
13744
13745         * text.C (nextBreakPoint): fixed up this function we had this bug
13746         since ever but now hopefully we break row better.
13747         (insertChar): we have to check if an inset is the next char as it
13748         could now happen that a large inset is causing a break.
13749
13750 2002-01-05  Juergen Vigna  <jug@sad.it>
13751
13752         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13753         if it doesn't like to be drawed.
13754
13755 2002-01-04  Juergen Vigna  <jug@sad.it>
13756
13757         * BufferView2.C (lockInset): forgot to set a cursor.
13758
13759         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13760
13761 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13762
13763         * FormMathsPanel.C:
13764         * FormMathsPanel.h
13765         * MathsSymbols.C:
13766         * form_maths_panel.C:
13767         * form_maths_panel.h:
13768         * form_maths_panel.fd: implemented sub- and super- buttons in math
13769         panel.
13770
13771         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13772         (or ^ space) to be used as in TeX (req'd by André).
13773
13774         * lyxfunc.C: Allow ^ and _ again to be used both as
13775         super/subscript (mathed) and as themselves (in text).
13776
13777 2002-01-03  Allan Rae  <rae@lyx.org>
13778
13779         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13780         "LyX" or the filename of the current buffer if it has one.  This is a
13781         modified form of John Levon's patch.
13782
13783         * XFormsView.C (setWindowTitle): also set icon title.
13784
13785         * LyXView.h (setWindowTitle): signature changed.
13786         * XFormsView.h (setWindowTitle): ditto.
13787
13788 2002-01-02  Juergen Vigna  <jug@sad.it>
13789
13790         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13791
13792 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13793
13794         * screen.C (topCursorVisible): introduce a temp var for
13795         text->cursor.row(), handle the case where this row is null. (kindo
13796         hachish)
13797
13798         * text2.C (setCursor): add a couple of asserts.
13799
13800         * paragraph.h (inset_iterator): add -> operator
13801
13802         * paragraph.[Ch] (autoDeleteInsets): remove member function
13803
13804         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13805         cursor pos correctly and handle inset deletion by itself.
13806         (insertErrors): move iterator declaration out of for expression
13807
13808         * lyxtextclass.C: add <algorithm>
13809
13810         * Makefile.am: added the new files to sources, removed layout.C
13811
13812         * layout.C: removed file
13813
13814         * layout.h: remove LYX_DUMMY_LAYOUT
13815
13816         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13817         layout.
13818
13819         * lyxlayout.[Ch]:
13820         * lyxtextclass.[Ch]:
13821         * lyxtextclasslist.[Ch]: new files
13822
13823         * include order changes to a lot of files, also changes because of
13824         the six new files.
13825
13826 2001-12-27  Juergen Vigna  <jug@sad.it>
13827
13828         * buffer.C (asciiParagraph): more fixes.
13829
13830         * tabular.C (ascii): make ascii export support export of only the
13831         data separated by a column-delimiter.
13832         (ascii): better support for ascii export.
13833
13834         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13835
13836 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13837
13838         * tabular_funcs.C: use a "using std::getline" instead of the
13839         previous fix from Angus (necessary for cxx + lyxstring)
13840
13841 2001-12-24  Juergen Vigna  <jug@sad.it>
13842
13843         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13844
13845         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13846         problems. First check a minipage also if we have some ert-contents
13847         (not only on par->size(), second set the right depth of the paragraph
13848         on the relink to the root-paragraph-list!
13849
13850         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13851         which then did not anymore update the main paragraphs on undo/redo!
13852
13853 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13854
13855         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13856         code. Support all font-changing funcs (even those which are not in
13857         menu currently). Support for reporting font settings in
13858         mathed (disabled until Andre provides a function on mathed's side).
13859
13860         * func_status.h (toggle): small helper function to set toggle
13861         state on a flag.
13862
13863 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13864
13865         * tabular_funcs.C: getline -> std::getline
13866
13867 2001-12-21  Juergen Vigna  <jug@sad.it>
13868
13869         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13870         accessed and could be 0 (I couldn't generate this but it seems
13871         Michael could!).
13872
13873 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13874
13875         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13876         * tabular_funcs.h: here and include iosfwd
13877
13878 2001-12-20  Juergen Vigna  <jug@sad.it>
13879
13880         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13881         inside inset but undo_par was.
13882
13883 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13884
13885         * Thesaurus.C: always include <config.h> in sources.
13886
13887         * Painter.h:
13888         * lyxlookup.h:
13889         * box.h: do not include <config.h> in header files
13890
13891         * text.C (paintLastRow): remove unused variable
13892
13893         * text.C (transformChar):
13894         (insertChar):
13895         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13896
13897         * Painter.C (text):
13898         * font.C (width): rewrite to use uppercase() instead of
13899         islower/toupper.
13900
13901         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13902
13903 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13904
13905         * lyxfind.C: clean up of find failure position change
13906
13907 2001-12-20  Juergen Vigna  <jug@sad.it>
13908
13909         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13910
13911         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13912         (TeXRow): added to LaTeX a single tabular row.
13913         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13914         (Latex): simplified and finally good LT-h/f support.
13915         (various_functions): just small adaptions for LT-h/f support.
13916
13917         * tabular_funcs.[hC]: added and moved here all not classfunctions
13918         of LyXTabular.
13919
13920 2001-12-19  Juergen Vigna  <jug@sad.it>
13921
13922         * tabular.[Ch]: better support for longtabular options (not finished
13923         yet!)
13924
13925 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13926
13927         * text.C (paintLastRow): use the label font instead of the font of
13928         the last character to compute the size of *_BOX. This makes more
13929         sense and avoids a crash with empty paragraphs.
13930         Use Painter::rectangle to draw EMPTY_BOX.
13931
13932 2001-12-19  Juergen Vigna  <jug@sad.it>
13933
13934         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13935         the paragraphs if the replaced paragraph is not the first one!
13936         Tried to delete not used paragraphs but does not work yet so for
13937         now it's inside #ifdef's and by default off!
13938
13939 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13940
13941         * MenuBackend.C: include "lyx_main.h" instead of declaring
13942         lastfiles (actually was declared as LastFiles* instead of a
13943         scoped_ptr).
13944
13945 2001-12-17  Juergen Vigna  <jug@sad.it>
13946
13947         * tabular.C (AppendColumn): applied John's fix
13948
13949 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13950
13951         * BufferView.h:
13952         * BufferView.C:
13953         * BufferView_pimpl.h:
13954         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13955
13956         * Makefile.am:
13957         * box.h: new start of class for above
13958
13959         * lyxfunc.C: ignore space-only minibuffer dispatches.
13960           Show the command name when it doesn't exist
13961
13962         * minibuffer.C: don't add empty lines to the history
13963
13964         * minibuffer.C: add a space on dropdown completion
13965
13966 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13967
13968         * text.C: fix line above/below drawing in insets
13969
13970 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13971
13972         * lyxlength.C (LyXLength): Initialize private variables.
13973
13974 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
13975
13976         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13977         when inserting error insets.
13978
13979 2001-12-13  Juergen Vigna  <jug@sad.it>
13980
13981         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13982         actually sometimes the before-paragraph.
13983         (setUndo): don't clear the redostack if we're not actually undoing!
13984
13985 2001-12-06  Juergen Vigna  <jug@sad.it>
13986
13987         * undo_funcs.C (textHandleUndo): well after John's hint I got here
13988         and fixed redoing of main paragraph, so we can use it now ;)
13989
13990         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13991
13992 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13993
13994         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13995         Juergen's request
13996
13997 2001-12-13  André Pönitz <poenitz@gmx.net>
13998
13999         * undostack.[Ch]:
14000         * undo_func.C: minor cleanup
14001
14002 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14003
14004         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14005         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14006         font in urw-fonts package which is marked as -urw-fontspecific and
14007         does not work (incidentally, changing the encoding in the
14008         fonts.dir of this package to -adobe-fontspecific fixes the
14009         problem).
14010
14011         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14012         is a crash when undoing first paragraph (Juergen, please take a
14013         look). THis does not mean the undo fix is wrong, just that it
14014         uncovers problems.
14015
14016         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14017         the (Paragraph*) version when needed instead of duplicating the
14018         code.
14019
14020         * text.C (workWidth): use Inset::parOwner to find out where the
14021         inset has been inserted. This is a huge performance gain for large
14022         documents with lots of insets. If Inset::parOwner is not set, fall
14023         back on the brute force method
14024
14025         * paragraph_pimpl.C (insertInset):
14026         * paragraph.C (Paragraph):
14027         (cutIntoMinibuffer): set parOwner of insets when
14028         inserting/removing them
14029
14030         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14031
14032 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14033
14034         * commandtags.h:
14035         * LyXAction.C:
14036         * lyx_main.C:
14037         * lyxfunc.C:
14038         * mathed/formulabase.C:
14039         * mathed/math_cursor.[Ch]:
14040         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14041
14042
14043 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14044
14045         * lyxlength.[Ch] (operator!=): new function
14046
14047 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14048
14049         * text.C (workWidth): use Inset::parOwner to find out where the
14050         inset has been inserted. This is a huge performance gain for large
14051         documents with lots of insets. If Inset::parOwner is not set, fall
14052         back on the brute force method
14053
14054         * paragraph_pimpl.C (insertInset):
14055         * paragraph.C (Paragraph):
14056         (cutIntoMinibuffer): set parOwner of insets when
14057         inserting/removing them
14058
14059         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14060
14061 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14062
14063         * tabular-old.C (getTokenValue):
14064         * tabular.C (getTokenValue):
14065         (write_attribute): new versions for LyXLength
14066         (everywhere): adjust the use of widths
14067
14068         * tabular.h: change the type of widths from string to LyXLength
14069
14070 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14071
14072         * paragraph.C: fixed missing line number count when exporting
14073         Environments to LaTeX file
14074
14075         * buffer.C: added informational message for checking line numbers.
14076
14077 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14078
14079         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14080         paragraph, do the 'double space' part, but not the 'empty
14081         paragraph' one.
14082
14083         * text.C (workWidth): small optimization
14084         (getLengthMarkerHeight): use minimal size for negative lengths.
14085
14086 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14087
14088         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14089
14090         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14091
14092 2001-12-11  André Pönitz <poenitz@gmx.net>
14093
14094         * FontLoader.C:
14095         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14096
14097 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14098
14099         * text2.C: keep selection on a setFont()
14100
14101 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14102
14103         * lyx_cb.C: another bv->text misuse, from insert label
14104
14105 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14106
14107         * kbsequence.h:
14108         * kbsequence.C: re-instate nmodifier mask
14109
14110 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14111
14112         * lyx_main.h: make lyxGUI private.
14113
14114 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14115
14116         * lyxfind.C: place the cursor correctly on failed search
14117
14118 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14119
14120         * text.C (getLengthMarkerHeight): for small heights, the arrows
14121         are not always on top/bottom of the text
14122         (drawLengthMarker): smaller arrows; take the left margin in
14123         account; draw also vfills.
14124         (paintFirstRow):
14125         (paintLastRow): remove special code for vfill and standard spaces,
14126         since everything is handled in drawLengthMarker now.
14127
14128 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14129
14130         * buffer.C (insertErtContents): try to handle font and language
14131         interaction a bit better.g
14132
14133         * ColorHandler.C (updateColor): change the hash to cover the whole
14134         LColor enum, ws cleanup
14135         (getGCLinepars): ditto
14136         (getGCLinepars): only lookup in the linecache once.
14137
14138 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14139
14140         * iterators.C (operator++): Make the iterator more robust
14141
14142         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14143         (John's patch)
14144         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14145
14146 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14147
14148         * lyxtext.h:
14149         * text.C: better added space drawing
14150
14151 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14152
14153         * LyXView.C:
14154         * BufferView2.C: fix layout combo update on inset unlock
14155
14156 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14157
14158         * Makefile.am: don't compile unused files
14159
14160 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14161
14162         * lyxfunc.C:
14163         * commandtags.h:
14164         * LyXAction.C: remove old LFUN_LAYOUTNO
14165
14166 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14167
14168         * paragraph_pimpl.h:
14169         * paragraph_pimpl.C: isTextAt() doesn't need font param
14170
14171 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14172
14173         * lyxlex.h:
14174         * lyxlex.C: little cleanup
14175
14176 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14177
14178         * BufferView_pimpl.C: fix insertAscii for insets
14179
14180 2001-12-05  Juergen Vigna  <jug@sad.it>
14181
14182         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14183         set the right font on the "multi" paragraph paste!
14184
14185 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14186
14187         * trans_decl.h:
14188         * trans_mgr.[Ch]:
14189         * trans.[Ch]:
14190         * lyxgluelength.C:
14191         * lyxlength.C: remove out-commented code.
14192
14193         * BufferView_pimpl:
14194         * CutAndPaste.C:
14195         * DepTable.C:
14196         * buffer.C:
14197         * chset.C:
14198         * lastfiles.C:
14199         * lyxlex.C:
14200         * lyxlex_pimpl.C:
14201         * lyxserver.C:
14202         * screen.C:
14203         * tabular-old.C:
14204         * tabular.C:
14205         * text.C:
14206         * trans_mgr.C:
14207         * vc-backend.C: change "while(" to "while ("
14208
14209         * lyxlength.[Ch]: add zero function to check if length is zero or
14210         not
14211         * lyxgluelength.C: use it
14212
14213 2001-12-05  Allan Rae  <rae@lyx.org>
14214
14215         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14216         Works for 2.95.3, from what I understand of Garst's reports this should
14217         work for other g++ versions.  We're screwed if the abs(int) definition
14218         changed between bugfix releases of gcc.
14219
14220 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14221
14222         * text.C: fix chapter label offset !
14223
14224 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14225
14226         * lyxtext.h:
14227         * text.C: fix hfill at end of line, clean up
14228
14229 2001-12-04  Juergen Vigna  <jug@sad.it>
14230
14231         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14232         that we force an update of the inset and it's owners if neccessary.
14233
14234 2001-12-03  Juergen Vigna  <jug@sad.it>
14235
14236         * text.C (rowLast): simplified code
14237
14238 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14239
14240         * lyxfunc.C: fix show options on timeout
14241
14242 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14243
14244         * screen.C (topCursorVisible): scroll half a page when the cursor
14245         reached top of bottom of screen
14246
14247 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14248
14249         * minibuffer.C: deactivate on loss of focus
14250
14251 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14252
14253         * vspace.[Ch] (operator!=): add operator.
14254
14255 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14256
14257         * BufferView_pimpl.C: refuse to open an inset when
14258         there's a selection.
14259
14260 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14261
14262         * BufferView_pimpl.C: allow to click on RHS of full row insets
14263
14264 2001-11-30  Juergen Vigna  <jug@sad.it>
14265
14266         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14267         insets for undo reasons.
14268
14269 2001-11-28  André Pönitz <poenitz@gmx.net>
14270
14271         * vspace.[Ch]: cosmetical changes
14272
14273 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14274
14275         * LyXAction.h:
14276         * LyXAction.C:
14277         * lyxfunc.h:
14278         * lyxfunc.C:
14279         * kbmap.h:
14280         * kbmap.C:
14281         * lyxrc.C:
14282         * kbsequence.h:
14283         * kbsequence.C: part re-write of old kb code
14284
14285         * Painter.C:
14286         * WorkArea.C: remove Lgb_bug_find_hack
14287
14288 2001-11-30  José Matos <jamatos@fep.up.pt>
14289
14290         * buffer.C (makeDocBookFile): add a comment to point a hack.
14291         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14292         Fixed a double write of labels.
14293
14294 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14295
14296         * LaTeX.C:
14297         * LaTeX.h Fixed bug in LaTeX class where it would not
14298         re-run latex if no depfiles were changed, but the .dvi was removed.
14299
14300 2001-11-28  André Pönitz <poenitz@gmx.net>
14301
14302         * all the files from the change on 2001/11/26:
14303         use lyx::layout_type instead of LyXTextClass::size_type
14304         use lyx::textclass_type instead of LyXTextClassList::size_type
14305
14306 2001-11-29  Juergen Vigna  <jug@sad.it>
14307
14308         * text.C: added support for paragraph::isFreeSpacing()
14309
14310         * buffer.C: same as above
14311
14312         * paragraph.h: inserted isFreeSpacing() function to enable
14313         FreeSpacing inside InsetERT.
14314
14315         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14316         of the paragraph's in the cut/copy buffer to 0!
14317
14318         * text2.C (removeRow): remove the assert as it can!
14319
14320         * lyxtext.h: added helper function firstRow returning firstrow and
14321         made firstrow private again.
14322
14323         * BufferView2.C (lockInset): don't relock if we're already locked!
14324
14325         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14326         the only paragraph.
14327         (removeRow): added Assert::(firstrow)
14328
14329         * debug.C: forgot to add INSETTEXT here.
14330
14331 2001-11-28  Juergen Vigna  <jug@sad.it>
14332
14333         * sp_spell.C (initialize): changed error text to more general
14334         spellchecker command use (not only ispell!)
14335
14336         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14337
14338         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14339
14340 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14341
14342         * vspace.C: initialise lyxgluelength on failure
14343
14344 2001-11-28  Allan Rae  <rae@lyx.org>
14345
14346         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14347         declaration & definition that looks like a function declaration.
14348
14349 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14350
14351         * BufferView2.C (copy):
14352         (copyEnvironment): do not clear the selection when doing a copy.
14353
14354         * text.C (paintFirstRow): compilation fix
14355
14356 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14357
14358         * tabular.C (Latex): correct line count when writing latex.
14359
14360 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14361
14362         * paragraph_pimpl.h:
14363         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14364           bug a bit
14365
14366 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14367
14368         * text.C:
14369         * LColor.h:
14370         * LColor.C: change vfillline->added_space
14371
14372         * text.C: add markers and text for added space
14373
14374         * vspace.C: fix comment
14375
14376 2001-11-28  André Pönitz <poenitz@gmx.net>
14377
14378         * paragraph.C: whitespace changes
14379         * all the other files from the change on 2001/11/26:
14380         change *::pos_type into lyx::pos_type
14381
14382 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14383
14384         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14385         language of the document when inserting error insets.
14386
14387 2001-11-26  André Pönitz <poenitz@gmx.net>
14388
14389         * BufferView_pimpl.[Ch]:
14390         *       CutAndPaste.C:
14391         * buffer.[Ch]:
14392         * lyxcursor.[Ch]:
14393         * lyxfind.C:
14394         * lyxfunc.C:
14395         * lyxrow.[Ch]:
14396         * paragraph.[Ch]:
14397         * paragraph_pimpl.[Ch]:
14398         * sp_spell.C:
14399         * text.C:
14400         * text2.C: reduce header dependencies, introduce type for positions
14401
14402 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14403
14404         * <various>: change to use Alert.h
14405
14406 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14407
14408         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14409         when encountering an unknown token.
14410         (readLyXformat2): Show an error message if there were unknown tokens.
14411
14412 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14413
14414         * BufferView2.C:
14415         * BufferView_pimpl.C:
14416         * buffer.C:
14417         * paragraph.h:
14418         * text.C:
14419         * text2.C: use par->isInset()
14420
14421 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14422
14423         * paragraph_pimpl.h:
14424         * paragraph_pimpl.C: cleanup
14425
14426 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14427
14428         * text2.C (removeRow):
14429         * text.C (setHeightOfRow): remove useless (and costly) call to
14430         getRow.
14431
14432 2001-11-20  Allan Rae  <rae@lyx.org>
14433
14434         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14435         Now need Inset*::checkInsertChar() to return true for appropriate
14436         cases so that the characters in the minibuffer will actually be
14437         inserted.
14438
14439 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14440
14441         * text.C: change the order of the includes.
14442         (workWidth): initialize it at once.
14443         (workWidth): make maxw unsigned
14444         (setHeightOfRow): remove unused variable (inset)
14445         (selectSelectedWord): remove unused variable (inset)
14446         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14447
14448 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14449
14450         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14451         server is not running.
14452         (openConnection):
14453         (closeConnection): add debug info when server is disabled.
14454
14455         * ColorHandler.C (getGCForeground): send debug message to GUI
14456         channel.
14457
14458         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14459
14460         * kbmap.C (bind): modify because return conventions of
14461         kb_sequence::parse have changed.
14462
14463         * kbsequence.C (parse): only ignore spaces and not any stupid
14464         control character. This avoids tests like s[i] <= ' ', which are
14465         guaranteed to fail with 8bit characters and signed chars.
14466         Change return code to string::npos when there have been no error
14467         (0 was a bad idea when error is at first character)
14468
14469 2001-11-14  José Matos  <jamatos@fep.up.pt>
14470
14471         * buffer.h:
14472         * buffer.C (simpleDocBookOnePar): removed unused argument.
14473
14474 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14475
14476         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14477         insets which are part of a word. Paragraph::isLetter takes care of
14478         that now. Use Paragraph::isInset to identify insets.
14479         (selectSelectedWord): do not test for hyphenation break.
14480
14481         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14482         that protected spaces are considered as spaces.
14483
14484         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14485         Inset::isLetter.
14486
14487 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14488
14489         * lyxserver.h:
14490         * lyxserver.C: fix it. and small cleanup.
14491
14492 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14493
14494         * BufferView_pimpl.C: use inline helpers
14495
14496         * LaTeXFeatures.h:
14497         * LaTeXFeatures.C: fix typos
14498
14499         * Spacing.h:
14500         * Spacing.C: move spacing_string into class
14501
14502         * ToolbarDefaults.C: move stuff into namespace anon
14503
14504         * layout.h: update enum
14505
14506         * lyxfunc.C: use better debug
14507
14508         * minibuffer.h: fix typo
14509
14510         * debug.h:
14511         * debug.C:
14512         * WorkArea.C: add and use Debug::WORKAREA
14513
14514         * lyxtext.h:
14515         * text.C:
14516         * text2.C: code re-organisation, inline helpers
14517
14518 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14519
14520         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14521         std::vector.empty().
14522
14523 2001-11-09  Allan Rae  <rae@lyx.org>
14524
14525         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14526         '\n's after tables.  Tabular and ERT inset work now makes this no
14527         longer necessary.
14528
14529 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14530
14531         * minibuffer.h:
14532         * minibuffer.C: fix crash, improve drop-down completion
14533
14534 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14535
14536         * lyxserver.h:
14537         * lyxserver.C: invalidate fd's when doing endPipe()
14538
14539 2001-11-08  José Matos  <jamatos@fep.up.pt>
14540
14541         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14542         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14543
14544         * paragraph.h:
14545         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14546
14547 2001-11-07  José Matos  <jamatos@fep.up.pt>
14548
14549         * buffer.h:
14550         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14551         const qualifier.
14552
14553         * buffer.C (sgmlOpenTag):
14554         * buffer.C (sgmlCloseTag): removed debug info.
14555
14556         * buffer.h (sgmlOpenTag):
14557         * buffer.h (sgmlCloseTag): made public.
14558
14559 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14560
14561         * buffer.C (saveParamsAsDefaults):
14562         * lyx_cb.C (MenuLayoutSave): remove
14563
14564         * LyXAction.C (init):
14565         * commandtags.h:
14566         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14567
14568 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14569
14570         * buffer.C (setPaperStuff): removed from here...
14571
14572         * bufferparams.C (setPaperStuff): ... and moved there.
14573
14574 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14575
14576         * minibuffer.h:
14577         * minibuffer.C:
14578         * XFormsView.C: add support for drop-down completion
14579
14580 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14581
14582         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14583         commands.
14584
14585 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14586
14587         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14588         disabled.
14589
14590 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14591
14592         * lyx_main.C: change ref to known bugs
14593
14594 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14595
14596         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14597         to work around older babel problems.
14598
14599 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14600
14601         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14602
14603 2001-10-24  Juergen Vigna  <jug@sad.it>
14604
14605         * tabular-old.C (ReadOld): below variable changes reflected.
14606
14607         * tabular.[Ch]: added ltType struct for longtable header/footer
14608         defines and changed all instances where they are used. Added
14609         future support for double top/bottom rows.
14610
14611 2001-10-24  José Matos  <jamatos@fep.up.pt>
14612
14613         * buffer.h (docbookHandleCaption):
14614         * buffer.C (docbookHandleCaption): removed unused function.
14615         (makeDocBookFile): moved docbook supported version to v4.1.
14616
14617 2001-10-24  José Matos  <jamatos@fep.up.pt>
14618
14619         * tabular.h:
14620         * tabular.C (docbookRow): new function to export docbook code of a row.
14621         (DocBook): now honors the longtable flags.
14622
14623 2001-10-23  José Matos  <jamatos@fep.up.pt>
14624
14625         * LaTeXFeatures.h:
14626         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14627         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14628
14629         * buffer.C (makeLinuxDocFile):
14630         (makeDocBookFile): reworked the preamble, more clean, and with
14631         support for lyx defined entities. Changed the document declaration
14632         to be more XML friendly.
14633
14634         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14635         if we need to output XML that should be done with a filter.
14636
14637 2001-10-22  Juergen Vigna  <jug@sad.it>
14638
14639         * sp_pspell.h (class PSpell): add alive function needed in the
14640         controller to see if the spellchecker could be started.
14641
14642 2001-10-22  Juergen Vigna  <jug@sad.it>
14643
14644         * buffer.C (insertStringAsLines): modify the font for inserting
14645         chars in certain conditions by calling checkInsertChar(font).
14646
14647 2001-10-19  Juergen Vigna  <jug@sad.it>
14648
14649         * text.C (workWidth): use getRow instead of wrong algorithm.
14650         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14651
14652 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14653
14654         * lyxserver.h:
14655         * lyxserver.C:
14656         * lyx_main.h:
14657         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14658
14659 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14660
14661         * text.C (workWidth): do not search for the exact row when
14662         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14663         optimization for big documents.
14664
14665 2001-10-18  Juergen Vigna  <jug@sad.it>
14666
14667         * text.C (workWidth): new function with added Inset * parameter.
14668
14669 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14670
14671         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14672
14673         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14674         change return type of getColumnNearX.
14675
14676
14677         * text.C (changeRegionCase): use uppercase/lowercase instead of
14678         toupper/tolower.
14679         (leftMargin):
14680         (rightMargin): simplify code by factoring out the uses of
14681         textclasslist.
14682         (labelFill):
14683         (numberOfHfills):
14684         (setHeightOfRow):
14685         (appendParagraph): use Paragraph::size_type
14686
14687 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14688
14689         * vspace.C (asLatexString): add a missing break
14690
14691 2001-10-15  Herbert Voss  <voss@perce.de>
14692
14693         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14694
14695 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14696
14697         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14698         is not available.
14699
14700 2001-10-10  André Pönitz <poenitz@gmx.net>
14701
14702         * lyxfunc.C: removed greek_kb_flag.
14703
14704 2001-10-10  Herbert Voss  <voss@perce.de>
14705
14706         * lyx_main.C: delete global string help_lyxdir.
14707
14708 2001-10-09  Herbert Voss  <voss@perce.de>
14709
14710         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14711
14712         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14713
14714         * lyx_main.C: added global string help_lyxdir.
14715
14716         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14717
14718 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14719
14720         * lyxrc.C (set_font_norm_type): support iso8859-4
14721
14722 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14723
14724         * LaTeX.C (deplog): add another regex for MikTeX
14725
14726 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14727
14728         * lyxrc.C (set_font_norm_type): support iso8859-3
14729
14730 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14731
14732         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14733
14734         * LaTeXFeatures.C: remove special case of french and index
14735
14736         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14737         before \begin{document}). This solves several incompatibilities.
14738
14739 2001-10-03  Garst Reese  <reese@isn.net>
14740
14741         * lyx_cb.C: change CheckTex error msg.
14742
14743 2001-10-03  José Matos  <jamatos@fep.up.pt>
14744
14745         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14746
14747 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14748
14749         * .cvsignore: update
14750
14751         * lyx_main.C (commandLineVersionInfo): use new style version info.
14752
14753         * buffer.C (writeFile):
14754         (makeLaTeXFile):
14755         (makeLinuxDocFile):
14756         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14757
14758         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14759
14760         * version.h: update to use stuff in version.C
14761
14762         * version.C.in: new file. Contains version information determined
14763         at compile time. This is a merging of version.h and
14764         version_info.h.in.
14765
14766 2001-10-03  Juergen Vigna  <jug@sad.it>
14767
14768         * BufferView_pimpl.C (update): don't change "dirty" status in
14769         updateInset call.
14770
14771 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14772
14773         * WorkArea.C (c-tor): re-position version string slightly.
14774
14775 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14776
14777         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14778         revert to previous code.
14779
14780         WorkArea.[Ch]: (show, destroySplash): methods removed.
14781
14782         WorkArea.C: rework code so that it's an amalgam of the codes before and
14783         after the splash screen was moved to WorkArea.
14784
14785 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14786
14787         * lyxrc.C (read):
14788         * vspace.C (inPixels):
14789         (lyx_advance):
14790         * kbmap.C (bind):
14791         * buffer.C (insertStringAsLines):
14792         (asciiParagraph): fix types to be large enough
14793
14794         * lyxlex_pimpl.h: change member status from short to int
14795
14796         * layout.h: fix type of endlabeltype
14797
14798         * kbmap.C (bind):
14799         * kbsequence.C (parse): change return type to string::size_type
14800
14801         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14802         variable
14803
14804         * Bullet.C (bulletSize):
14805         (bulletEntry): do not use short ints as parameters
14806
14807         * BufferView2.C (insertLyXFile): change a char to an int.
14808
14809         * WorkArea.C (WorkArea): remove unneeded floats in computation
14810
14811 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14812
14813         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14814
14815         * paragraph.C (asString): Do not ignore newline/hfill chars when
14816         copying to the clipboard.
14817
14818 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14819
14820         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14821         after a multi-line inset.
14822
14823 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14824
14825         * paragraph.C (validate): Set NeedLyXFootnoteCode
14826
14827 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14828
14829         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14830         and decrease-error to decrease.
14831
14832 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14833
14834         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14835         it more readable (should be equivalent)
14836
14837 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14838
14839         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14840
14841 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14842
14843         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14844         of a cursor (row, etc.) after a character has been deleted
14845         (deleteEmptyParagraphMechanism): call the method above on _all_
14846         cursors held by the LyXText when a double space has been
14847         detected/deleted.
14848
14849 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14850
14851         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14852         pixmap.
14853         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14854
14855         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14856         background. Use greyOut() and the new show() methods to toggle between
14857         the foreground and background. Add code to remove the splash after
14858         its initial showing.
14859
14860         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14861         (create_forms): no longer call Dialogs::showSplash.
14862
14863 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14864
14865         * .cvsignore: add version_info.h
14866
14867 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14868
14869         * version_info.h.in: new file
14870
14871         * Makefile.am: add version_info.h.in
14872
14873         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14874         version_info.h instead of VERSION_INFO
14875
14876 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14877
14878         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14879         The ERT inset now returns string().
14880
14881 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14882
14883         * lyxtext.h, text.C (selectNextWord): renamed as
14884         selectNextWordToSpellcheck.
14885
14886         * text.C (selectNextWordToSpellcheck): Modified to not select
14887         words inside an ERT inset.
14888
14889 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14890
14891         * lyx_cb.C (MenuLayoutSave): change a bit the question
14892
14893         * sp_base.h: include <sys/types.h>
14894
14895 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14896
14897         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14898
14899 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14900
14901         * several files: fix typos in user-visible strings
14902
14903 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14904
14905         * text2.C (pasteSelection): do not set the selection, since it
14906         will be cleared later. Actually, the intent was to fix the way the
14907         selection was set, but I figured rmoving the code was just as good.
14908
14909 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14910
14911         * FontLoader.C (available): Check if font is available without
14912         loading the font.
14913
14914 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14915
14916         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14917
14918 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14919
14920         * lyxrc.[Ch]: added display_graphics variable and associated code.
14921
14922 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14923
14924         * bufferparams.C (hasClassDefaults): new method. Returns true if
14925         the buffer parameters correspond to known class defaults
14926
14927 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14928
14929         * XFormsView.C (show): set minimum size to the main window.
14930
14931 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14932
14933         * text2.C (copySelection):
14934         (cutSelection):
14935         * lyxfind.C (LyXReplace):
14936         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14937         LyXText::selectionAsString.
14938
14939         * paragraph.C (asString): add "label" argument to the second form
14940
14941         * text2.C (selectionAsString): add "label" argument and pass it to
14942         Paragraph::asString.
14943
14944 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14945
14946         * lyx_main.C (commandLineHelp): remove version information
14947
14948 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14949
14950         * lyx_main.C: add -version commandline option
14951
14952 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14953
14954         * paragraph.h: make the optional constructor arg required instead.
14955         some modifications to other files because of this.
14956
14957         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14958
14959         * lyxserver.C (C_LyXComm_callback): make it static
14960
14961         * lyx_main.C (error_handler): make it static
14962
14963         * lyx_gui.C (LyX_XErrHandler): make it static
14964
14965         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14966
14967         * WorkArea.C: make the extern "C" methods static.
14968
14969         * Makefile.am (lyx_LDADD): simplify
14970
14971 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14972
14973         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14974         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14975
14976         * LyXAction.C (init):
14977         * lyxfunc.C (dispatch): associated code removal.
14978
14979 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14980
14981         * lyxfont.h (isSymbolFont): shut off warning
14982
14983         * text.C (setHeightOfRow):
14984         (getVisibleRow): fix crash with empty paragraphs which have a
14985         bottom line
14986
14987 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
14988
14989         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14990         code.
14991
14992 2001-09-04  José Matos  <jamatos@fep.up.pt>
14993         * buffer.C
14994         * buffer.h
14995         * tabular.C (docbook): rename docBook method to docbook.
14996
14997 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14998
14999         * Makefile.am: add dependencies to main.o.
15000
15001 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15002
15003         * FontLoader.C (available): Return false if !lyxrc.use_gui
15004
15005 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15006
15007         * FontInfo.C (query):
15008         * converter.C (view):
15009         * importer.C (Import):
15010         * exporter.C (Export): Can not -> cannot.
15011
15012 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15013
15014         * BufferView_pimpl.C: allow to create index inset even if
15015           string is empty
15016
15017 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15018
15019         * buffer.C (getLists): replace boost::tie code with an explicit pair
15020         as boost::tie can break some compilers.
15021
15022         * iterators.h: Added a std:: declaration to the return type of
15023         ParIterator::size.
15024
15025 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15026
15027         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15028           case.
15029
15030 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15031
15032         * iterators.[Ch]: New files. Provide paragraph iterators.
15033
15034         * buffer.C (changeLanguage): Use paragraph iterators.
15035         (isMultiLingual): ditto
15036
15037         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15038
15039 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15040
15041         * FontLoader.C: Support for cmr font.
15042
15043 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15044
15045         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15046         (available): New method.
15047
15048         * FontInfo.C (getFontname): Use scalable fonts even when
15049         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15050         found.
15051
15052 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15053
15054         * converter.C (Formats::view): reverted! Incorrect fix.
15055
15056 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15057
15058         * converter.C (Formats::view): only output the -paper option
15059         if the dvi viewer is xdvi, thereby fixing bug #233429.
15060
15061 2001-08-23  Herbert Voss  <voss@perce>
15062
15063         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15064
15065 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15066
15067         * Spacing.h (Spacing): Set space to Default on in the default
15068         constructor.
15069
15070 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15071
15072         * vc-backend.h (RCS::versionString): add RCS to version
15073         (CVS::versionString): add CVS to version
15074
15075         * vc-backend.C (scanMaster): do not add CVS to version.
15076         (scanMaster): do not add RCS to version
15077
15078         * lyxvc.C (versionString): new method
15079
15080         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15081
15082 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15083
15084         * Spacing.C (set): initialize fval
15085
15086 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15087
15088         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15089         " or \.
15090
15091 2001-08-16  Juergen Vigna  <jug@sad.it>
15092
15093         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15094
15095 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15096
15097         * BufferView_pimpl.C:
15098         * figureForm.C:
15099         * lyxtext.h:
15100         * text2.C: setParagraph takes linespacing now
15101
15102 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15103
15104         * LyxAction.C: add internal LFUN_CITATION_INSERT
15105
15106         * LyXView.C: actually apply fix
15107
15108         * bufferlist.C: fix open non-existent file
15109
15110         * lyxfind.C: fix indentation
15111
15112         * lyxfunc.C: remove unneeded assert, fix typo
15113
15114 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15115
15116         * MenuBackend.C: use "Floatname List"
15117
15118 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15119
15120         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15121         when converting LaTeX layout to insetERT.
15122         Generate a non-collapsed float when reading old float
15123
15124 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15125
15126         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15127         ERT insets.
15128
15129 2001-08-13  Juergen Vigna  <jug@sad.it>
15130
15131         * text.C (fill): return 0 instead of 20 as this seems to be the more
15132         correct value.
15133
15134 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15135
15136         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15137         lyxrc.font_norm.
15138
15139 2001-08-13  Juergen Vigna  <jug@sad.it>
15140
15141         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15142         casesensitive off.
15143         (SearchBackward): comment out the unlocking of the inset_owner this
15144         should not be needed!
15145
15146 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15147
15148         * Many files: Remove inherit_language, and add latex_language
15149
15150         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15151         collapsible insets.
15152
15153 2001-08-10  Juergen Vigna  <jug@sad.it>
15154
15155         * text.C (prepareToPrint): fixed hfill-width in draw!
15156
15157         * BufferView2.C (selectLastWord): save the selection cursor as this
15158         now is cleared in the function LyXText::clearSelection!
15159
15160 2001-08-08  Juergen Vigna  <jug@sad.it>
15161
15162         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15163         BACKSPACE type functions.
15164
15165         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15166         is only cutted from the document but not put in the cut-buffer, where
15167         still the old stuff should be.
15168
15169         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15170
15171         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15172
15173         * tabular.C (SetWidthOfCell): fixed special case where the width
15174         was not updated!
15175         (LeftLine): handle '|' in align_special.
15176         (RightLine): ditto
15177         (LeftAlreadyDrawed): ditto
15178         (SetWidthOfCell): ditto
15179
15180 2001-08-07  Juergen Vigna  <jug@sad.it>
15181
15182         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15183
15184 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15185
15186         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15187         * lyxlex.[hC]: ditto
15188
15189 2001-08-06  Juergen Vigna  <jug@sad.it>
15190
15191         * text.C (getVisibleRow): fix up row clearing a bit.
15192
15193 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15194
15195         * minibuffer.C: make sure the X server sees the changes in the input.
15196
15197 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15198
15199         * paragraph.C (getFont): split into...
15200         (getLabelFont): this
15201         (getLayoutFont): and this
15202         * paragraph_pimpl.C (realizeFont): calling this
15203
15204         * text2.C (getFont): split into...
15205         (getLayoutFont): this
15206         (getLabelFont): and this
15207         (realizeFont): all three calling this
15208
15209         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15210         files where used.
15211
15212 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15213
15214         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15215
15216 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15217
15218         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15219         layouts from the Quote inset insertion.
15220
15221 2001-08-03  Juergen Vigna  <jug@sad.it>
15222
15223         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15224
15225         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15226         only if status not is already CHANGED_IN_DRAW (second level).
15227
15228         * text.C (draw): don't set the need_break_row when inside an
15229         InsetText LyXText.
15230
15231 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15232
15233         * buffer.C (parseSingleLyXformat2Token): handle more latex
15234         conversion cases.
15235
15236         * bufferview_funcs.[hC]: change function names to
15237         begin with small char, adjust other files.
15238
15239 2001-08-02  André Pönitz <poenitz@gmx.net>
15240
15241         * lyxfunc.C:
15242         BufferView_pimpl.C: remove broken special code for math-greek
15243
15244 2001-08-02  Juergen Vigna  <jug@sad.it>
15245
15246         * BufferView_pimpl.C (update): redone this function so that we
15247         update the text again if there was a CHANGE_IN_DRAW.
15248
15249         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15250         (drawFromTo): added a new internal bool which is used by draw() and
15251         redraw() function.
15252         (general): some cursor drawing problems fixed.
15253
15254 2001-08-01  Juergen Vigna  <jug@sad.it>
15255
15256         * lyxfind.C (LyXFind): fixed
15257         (SearchForward): ditto
15258         (SearchBackward): ditto
15259
15260         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15261         spurius drawing of the cursor in the main area.
15262
15263         * text2.C (status): small fix which could lead to a segfault!
15264         (clearSelection): remove unneeded BufferView param.
15265
15266 2001-08-01  André Pönitz <poenitz@gmx.net>
15267
15268         * lyxfunc.C: small change due to changed mathed interface
15269
15270 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15271
15272         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15273
15274 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15275
15276         * lyxfunc.c: fail gracefully if file doesn't exist
15277
15278         * LyXSendto.C:
15279         * buffer.C:
15280         * lyxfunc.C:
15281         * BufferView_pimpl.C: IsDirWriteable() proto changed
15282
15283         * LyXView.C: fix updateWindowTitle() to store the last title
15284
15285 2001-07-31  Juergen Vigna  <jug@sad.it>
15286
15287         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15288         the font (wrong since using of Paragraph::highestFontInRange).
15289
15290         * paragraph.C (highestFontInRange): added a default_size parameter.
15291
15292         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15293         (setHeightOfRow): reformat
15294
15295 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15296
15297         * converter.[hC] + affected files: move to (inital-char)lowercase
15298         function names.
15299
15300         * ParagraphParameters.C (ParagraphParameters): remove commented code
15301
15302         * PainterBase.[Ch]: remove commented code
15303
15304         * LaTeXFeatures.h: add "bool floats" for float.sty
15305
15306         * LaTeXFeatures.C (LaTeXFeatures): init floats
15307         (require): handle float
15308         (getPackages): do it with floats
15309
15310 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15311
15312         * BufferView_pimpl.C (Dispatch): improve handling of
15313         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15314
15315         * commandtags.h: #include lyxfont.h here temporarily to avoid
15316         keybinding bug.
15317
15318         * bufferlist.h: include LString.h here.
15319
15320 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15321
15322         * text2.C (getStringToIndex): new method.
15323
15324 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15325
15326         * *: Reduced header file dependencies all over.
15327
15328 2001-07-30  Baruch Even  <baruch@lyx.org>
15329
15330         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15331
15332 2001-07-29  Baruch Even  <baruch@lyx.org>
15333
15334         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15335
15336 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15337
15338         * ParameterStruct.h (endif): add a default constructor to make
15339         sure that all variables is initialized.
15340
15341         * ParagraphParameters.C (ParagraphParameters): adjust
15342
15343 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15344
15345         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15346         index; also, check that there is something to index, and that it
15347         does not span over several paragraphs.
15348         (doubleClick): use WHOLE_WORD_STRICT for double click.
15349
15350         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15351
15352         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15353         scheme.
15354
15355 2001-07-26  Baruch Even  <baruch@lyx.org>
15356
15357         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15358         an InsetFig figure, backwards compatible reading of old figure code.
15359
15360 2001-07-27  Juergen Vigna  <jug@sad.it>
15361
15362         * text2.C: font.realize function adaption.
15363
15364         * text.C (draw): add a warnings lyxerr text if needed.
15365
15366         * layout.C: font.realize function adaption.
15367
15368         * language.C: add inherit_language and implement it's handlings
15369
15370         * bufferview_funcs.C (StyleReset): remove language parameter from
15371         font creation (should be language_inherit now).
15372
15373         * bufferparams.C (writeFile): handle ignore_language.
15374
15375         * paragraph.C (getFontSettings): the language has to be resolved
15376         otherwise we have problems in LyXFont!
15377
15378         * lyxfont.C (lyxWriteChanges): added document_language parameter
15379         (update): removed unneeded language parameter
15380
15381         * paragraph.C (validate): fixed wrong output of color-package when
15382         using interface colors for certain fonts in certain environments,
15383         which should not seen as that on the final output.
15384
15385 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15386
15387         * BufferView_pimpl.C:
15388         * Thesaurus.h:
15389         * Thesaurus.C:
15390         * Makefile.am:
15391         * commandtags.h:
15392         * LyXAction.C: add thesaurus support
15393
15394         * lyxfind.h:
15395         * lyxfind.C: add "once" parameter, for thesaurus, to not
15396           move to the next match
15397
15398 2001-07-26  Juergen Vigna  <jug@sad.it>
15399
15400         * lyxfont.C (realize): honor ignore_language too!
15401         (resolved): ditto.
15402
15403         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15404
15405         * text.C (draw): one place more for ignore_language to not draw
15406         itself!
15407
15408 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15409
15410         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15411
15412 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15413
15414         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15415         the minipage conversion problem.
15416
15417 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15418
15419         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15420         insert an inset.
15421
15422 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15423
15424         * BufferView.h: don't forward declare WorkArea
15425
15426         * BufferView.C: don't include WorkArea.h
15427
15428 2001-07-25  André Pönitz <poenitz@gmx.net>
15429
15430         * commandtags.h:
15431         * LyXAction.C:
15432         * lyxfunc.C:  new LFUN 'math-space'
15433
15434         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15435
15436 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15437
15438         * text2.C (toggleInset): call open/close
15439
15440 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15441
15442         * lyxfunc.C (dispatch): add debug for the disabled case
15443
15444         * font.C (buttonText): make similar to rectText
15445
15446         * buffer.C (readInset): comment out parsing of insetlist and
15447         insttheorem
15448
15449         * PainterBase.C (rectText): small correction
15450
15451         * BufferView_pimpl.C: comment out insettheorem and insetlist
15452         * LyXAction.C: ditto
15453         * commandtags.h: ditto
15454
15455 2001-07-24  Juergen Vigna  <jug@sad.it>
15456
15457         * text.C (draw): honor the ignore_language.
15458
15459         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15460
15461 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15462
15463         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15464         char inset.
15465
15466 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15467
15468         * lyxtext.h: remove unused (and unimplemented) methods
15469
15470 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15471
15472         * text.C (getVisibleRow): honor background color
15473
15474         * PainterBase.h:
15475         * Painter.h: remove default color argument for fillRectangle
15476
15477         * text.C (backgroundColor): new method
15478
15479 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15480
15481         * text.C (getVisibleRow): adjust
15482
15483         * font.[Ch] (rectText): new method, metrics
15484         (buttonText): new method, metrics
15485
15486         * PainterBase.[hC]: make rectText and buttonText always draw and take
15487         fewer paramteres.
15488
15489 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15490
15491         * ToolbarDefaults.C (read):
15492         * MenuBackend.C (read): allow escaping in all strings
15493
15494         * BufferView_pimpl.C (insertAndEditInset): new method.
15495         (Dispatch): use insertAndEditInset whenever appropriate.
15496
15497         * BufferView_pimpl.C (insertNote): removed
15498
15499         * BufferView_pimpl.C (smartQuote): new method, moved from
15500         BufferView; if an insetquote cannot be inserted, insert a '"'
15501         character instead.
15502
15503         * BufferView2.C: remove insertCorrectQuote();
15504
15505         * lyxfunc.C (getStatus): Add support for all remaingin
15506         inset-insert lfuns.
15507
15508         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15509
15510         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15511         command (necessary to pass " as parameter of self-insert.
15512
15513         * text.C (selectWordWhenUnderCursor):
15514         (selectWord): add word_location parameter
15515         (selectWordWhenUnderCursor): same + remove special code for word
15516         boundary.
15517         (selectNextWord): use kind() to guess type of insetspecialchar,
15518         not latex().
15519
15520         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15521         (insertErtContents): create ert insets as collapsed.
15522         (readInset): better compatibility code for Info inset.
15523
15524 2001-07-20  Juergen Vigna  <jug@sad.it>
15525
15526         * lyxfunc.C (dispatch): use always LyXFind now!
15527
15528         * text2.C (init): add a reinit flag so that the LyXText can be
15529         reinited instead of deleted and reallocated (used in InsetText).
15530
15531         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15532
15533         * text.C: ditto
15534
15535         * text2.C: ditto
15536
15537 2001-07-18  Juergen Vigna  <jug@sad.it>
15538
15539         * text.C (selectNextWord): handle insets inside inset by calling
15540         always the bv->text functions so that we can go up the_locking_inset!
15541
15542         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15543         in strange locations when inside an inset!
15544
15545         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15546         handling to include insets.
15547
15548         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15549
15550 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15551
15552         * LyXAction.C (init):
15553         * commandtags.h:
15554         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15555         LIGATURE_BREAK, since the name is so stupid.
15556
15557 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15558
15559         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15560         InsetInfos.
15561
15562         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15563
15564         * sp_form.[Ch]: remove.
15565
15566         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15567
15568         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15569         InsetInfo.
15570
15571         * src/buffer.C (readInset): ditto.
15572
15573 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15574
15575         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15576         menuSeparator(), endOfSentenceDot(), ldots() and
15577         hyphenationPoint(), which are therefore removed.
15578         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15579
15580         * LyXAction.C (init):
15581         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15582
15583         * paragraph.C (getWord): removed.
15584
15585         * BufferView_pimpl.C (Dispatch): use last word or selection for
15586         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15587
15588         * lyx_main.C (queryUserLyXDir): do not ask before creating
15589         user_dir, except if it has been named explicitely.
15590
15591 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15592
15593         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15594         a document of zero size.
15595
15596 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15597
15598         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15599         approriately in the c-tor and in require().
15600         (getPackages): output the appropriate LaTeX for natbib support.
15601
15602         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15603         variables "use_natbib" and "use_numerical_citations" when reading the
15604         LyX file.
15605         (readInset): read the various natbib cite commands.
15606         (validate): white-space change.
15607
15608         * bufferparams.[Ch]: new variables "bool use_natbib" and
15609         "bool use_numerical_citations".
15610         (writeFile): output them in the LyX file.
15611
15612 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15613
15614         * lyxfunc.C (getStatus): add support for all the inset insertion
15615         commands.
15616
15617         * text2.C (insertInset):
15618         * paragraph.C (insetAllowed):
15619         * BufferView_pimpl.C (insertInset): update to take in account the
15620         renaming of insertInsetAllowed
15621
15622         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15623
15624         * text2.C (getInset): new method. returns inset at cursor position.
15625
15626         * BufferView_pimpl.C (Dispatch): changes because of this.
15627
15628         * LyXAction.C (init): rename open-stuff to inset-toggle.
15629
15630         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15631
15632         * text2.C (toggleInset): renamed from openStuff; use
15633         Inset::open().
15634
15635 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15636
15637         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15638
15639         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15640
15641 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15642
15643         * buffer.C (readLyXformat2): Add filename to the error dialog
15644
15645 2001-07-18  Juergen Vigna  <jug@sad.it>
15646
15647         * tabular.C (GetCellNumber): put an assert here instead of the check!
15648
15649 2001-07-17  Juergen Vigna  <jug@sad.it>
15650
15651         * BufferView_pimpl.C (toggleSelection): adapted too.
15652
15653         * text.C (selectNextWord): adapted for use with insets.
15654         (selectSelectedWord): ditto
15655
15656 2001-07-17  Juergen Vigna  <jug@sad.it>
15657
15658         * sp_spell.C (PSpell): fix initialitation order.
15659
15660 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15661
15662         * paragraph.C: spacing
15663
15664 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15665
15666         * sp_spell.C: repair language selection for pspell
15667
15668 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15669
15670         * lyxfunc.h: change more methods to begin with lower char.
15671
15672 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15673
15674         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15675         for unknown layouts.
15676
15677 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15678
15679         * buffer.C (readLyXformat2): Generate an error dialog if there are
15680         unknown layouts.
15681
15682 2001-07-16  Juergen Vigna  <jug@sad.it>
15683
15684         * sp_spell.C: always compile ISpell part.
15685
15686         * lyxrc.C: added use_pspell entry and it's handling.
15687
15688 2001-07-13  Juergen Vigna  <jug@sad.it>
15689
15690         * sp_spell.C: removed double includes.
15691
15692 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15693
15694         Consistent use of Lsstream.h:
15695         * Lsstream.h: added using std::stringstream for consistencies sake.
15696
15697         * buffer.C: removed using std::stringstream
15698
15699         * lyxfont.C (stateText):
15700         * paragraph.C (asString):
15701         * text.C (selectNextWord, selectSelectedWord):
15702         * text2.C (setCounter):
15703         * vspace.C (asString, asLatexString):
15704         std::ostringstream -> ostringstream.
15705
15706 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15707
15708         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15709         * commandtags.h: add LFUN_HELP_ABOUTLYX
15710         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15711
15712 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15713
15714         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15715         cursorToggle()
15716         * lyx_gui_misc.C: remove spellchecker
15717         * lyxfunc.C: showSpellchecker
15718         * sp_base.h: added
15719         * sp_ispell.h: added
15720         * sp_pspell.h: added
15721         * sp_spell.C: added
15722         * sp_form.[Ch]: removed
15723         * spellchecker.[Ch]: removed
15724
15725 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15726
15727         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15728         is set.
15729         (simpleTeXSpecialChars): Simply print the input character without
15730         any special translation if pass_thru is set.
15731
15732         * layout.h: Added bool pass_thru to layout class for being able to
15733         implement pass through of a paragraph for Literate Programming.
15734
15735         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15736         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15737         * layout.C (Read): add "passthru" to list of layout tags and add
15738         code to set the pass_thru boolean when it is read.
15739
15740 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15741
15742         * trans_decl.h: remove allowed from KmodInfo
15743
15744         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15745         remove allowed code
15746         (Load): adjust
15747
15748         * paragraph_pimpl.C (erase): use boost::prior
15749
15750         * Painter.C (text): use data() instead of c_str() when length is
15751         also provided.
15752         * WorkArea.C (putClipboard): ditto
15753         * font.h (width): ditto
15754
15755         * BufferView2.C: use it-> instead of (*it). for iterators
15756         * texrow.C: ditto
15757         * paragraph_pimpl.C: ditto
15758         * paragraph.C: ditto
15759         * minibuffer.C: ditto
15760         * language.C: ditto
15761         * kbmap.C: ditto
15762         * encoding.C: ditto
15763         * counters.C: ditto
15764         * converter.C: ditto
15765         * chset.C: ditto
15766         * Variables.C: ditto
15767         * TextCache.C: ditto
15768         * MenuBackend.C: ditto
15769         * LyXAction.C: ditto
15770         * LColor.C: ditto
15771         * FloatList.C: ditto
15772         * DepTable.C: ditto
15773         * ColorHandler.C (LyXColorHandler): ditto
15774
15775 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15776
15777         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15778
15779         * text2.C (openStuff): reintroduce this method (which had been
15780         nuked in NEW_INSETS frenzy).
15781
15782         * lyxfunc.C (Dispatch): when an action has not been handled, use
15783         its name in the error message, not its number.
15784
15785         * paragraph.C (inInset): change method name to begin with lowercase.
15786
15787         * undo_funcs.C:
15788         * text2.C: updates because of this.
15789
15790 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15791
15792         * ToolbarDefaults.C (add): add spaces in error message
15793
15794 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15795
15796         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15797         (readLyXformat2): rename return_par to first_par, use lyxlex's
15798         pushToken and remove the manual push handling.
15799         (parseSingleLyXformat2Token): add another ert comp. variable:
15800         in_tabular, rename return_par to first_par. handle newlines better
15801
15802 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15803
15804         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15805
15806 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15807
15808         * text2.C (getParFromID): removed
15809
15810         * buffer.C (getParFromID): new method moved form lyxtext.
15811         * BufferView2.C (insertErrors): adjust
15812         (setCursorFromRow): adjust
15813         * BufferView_pimpl.C (restorePosition): adjust
15814         * lyxfunc.C (Dispatch): adjust
15815         * undo_funcs.C (textUndo): adjust
15816         (textRedo): adjust
15817         (textHandleUndo): adjust
15818         (textHandleUndo): adjust
15819
15820 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15821
15822         * buffer.C: up' the LYX_FORMAT
15823
15824         * lyxfont.h: turn NO_LATEX on as default
15825
15826         * buffer.C (insertErtContents): new methods of tex style compability.
15827         (parseSingleLyXformat2Token): use it several places.
15828         * tabular.C (OldFormatRead): and here
15829
15830 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15831
15832         * text2.C: remove some commented code.
15833         reindent file.
15834
15835         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15836         * trans.C: changes because of the above.
15837
15838 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15839
15840         * text2.C (setCounter): Fix counters bug with bibliography layout.
15841
15842 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15843
15844         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15845         own member functions
15846         (simpleTeXSpecialChars): ditto
15847
15848 2001-07-06  Juergen Vigna  <jug@sad.it>
15849
15850         * a lot of files: changed the access to LyXText::status and the
15851         call of undo-functions.
15852
15853         * undo.[Ch]: added a inset_id to the undo informations.
15854
15855         * undo_funcs.[Ch]: added and moved here all undo functions.
15856
15857         * lyxtext.h: give the status enum a weight, made status_ a private
15858         variable and made accessor functions for it, removed the whole bunch
15859         of undo-functions as they are now in their own file, make some
15860         functions publically available. Added function ownerParagraph with
15861         int parameter.
15862
15863         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15864         made InInset() a const function, added getParFromID() function.
15865
15866         * buffer.[Ch]: added const version for inset_iterator functions,
15867         added getInsetFromID() function.
15868
15869         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15870         changed undo functions for new version.
15871
15872 2001-07-05  Juergen Vigna  <jug@sad.it>
15873
15874         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15875         unknow mechanism does not call the proper constructor but only this
15876         one also if I request the other!?
15877
15878 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15879
15880         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15881
15882         * text2.C (LyXText): use initialization lists.
15883
15884         * lyxtext.h (Selection): initialize set_ and mark_
15885         (init): remove method
15886
15887 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15888
15889         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15890
15891 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15892
15893         * screen.[Ch]: change method names to begin with lowercase
15894
15895         * BufferView_pimpl.C (updateScrollbar): simplify further and
15896         hopefully make it a bit faster.
15897
15898 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15899
15900         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15901         calling directly xforms functions.
15902
15903         * Painter.C (Painter):
15904         * lyx_cb.C (MenuWrite):
15905         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15906         fl_display.
15907
15908         * lyx_gui.C: remove bogus guiruntime extern declaration.
15909
15910 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15911
15912         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15913         in NEW_INSETS
15914         (redoDrawingOfParagraph): ditto
15915         (redoParagraphs): ditto
15916         (cutSelection): don't create a object for CutAndPaste use the
15917         static method directly
15918         (pasteSelection): ditto
15919
15920         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15921         LyXview (+ rename)
15922
15923 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15924
15925         * modifications to some other files because of this.
15926
15927         * Makefile.am (lyx_SOURCES): add XFormsView
15928
15929         * XFormsView.[Ch]: new files
15930
15931         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15932         the main window. Move the gui dependent stuff to XFormsView
15933
15934 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15935
15936         * tabular.C (GetCellInset): update cur_cell also in the row/col
15937         version of this function.
15938
15939         * lyxfunc.C: no need to include figure_form.h here.
15940
15941         * FontLoader.h:
15942         * lyxfunc.h:
15943         * lyxscreen.h:
15944         * text2.C:
15945         * lyxvc.C: no need to include forms.h here.
15946
15947 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15948
15949         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15950
15951         * lyxfunc.C (Dispatch):
15952         * Spacing.C (set):
15953         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15954         constructor argument.
15955
15956 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15957
15958         * paragraph.C (Paragraph): dont't clear, and just set layout.
15959         (makeSameLayout): use params's copy contructor.
15960
15961         * ParagraphParameters.[Ch] (makeSame): delete method
15962
15963 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15964
15965         * Variables.[Ch]: fix indentation, rename set to isSet
15966
15967 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15968
15969         * lyxfunc.C (Dispatch): fix typo
15970
15971 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15972
15973         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15974         upper_bound.
15975
15976         * bufferlist.C: include assert.h for emergencyWrite().
15977
15978 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15979
15980         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15981           give up at last (bug #425202) !
15982
15983 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
15984
15985         * lyx_gui_misc.C:
15986         * sp_form.h:
15987         * sp_form.C:
15988         * spellchecker.h:
15989         * spellchecker.C: strip spellchecker options and bring up
15990           preferences tab instead
15991
15992 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15993
15994         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15995         the istringstream constructor
15996
15997 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15998
15999         * paragraph.C (getLayout): fix return value
16000
16001         * paragraph.h: do not declare getLayout as inline.
16002
16003         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16004
16005 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16006
16007         * lyxcursor.h (operator<): new func
16008         (operator>): new func
16009         (operator>=): new func
16010         (operator<=): new func
16011
16012         * text.C (changeCase): use selection.start and selection.end
16013         (changeRegionCase): require from to be <= to. Require par to be a
16014         valid paragraph.
16015
16016         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16017
16018 2001-06-27  Juergen Vigna  <jug@sad.it>
16019
16020         * text.C (cursorLeftOneWord): changed to return the cursor and added
16021         overlay with BufferView * parameter which calls this one.
16022         (getWord): added
16023         (selectWord): use new getWord function.
16024         (changeCase): renamed from changeWordCase as and extended to work
16025         also on selections.
16026
16027         * lyxtext.h: added enum word_location
16028
16029         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16030         changeCase as this operates now also on selections.
16031
16032 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16033
16034         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16035
16036         * many files: send debug output to Debug::INFO instead of
16037         Debug::ANY.
16038
16039         * converter.C (View):
16040         (Convert):
16041         (Move): send debug output to Debug::FILES instead of console.
16042
16043 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16044
16045         * lyxfunc.C (getStatus): use func_status
16046
16047         * func_status.h: new header, describing the results of
16048         LyXFunc::getStatus;
16049
16050         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16051         LFUN_MATH_HALIGN.
16052
16053 2001-06-25  The LyX Project  <jug@sad.it>
16054
16055         * buffer.C (sgmlOpenTag):
16056         (sgmlCloseTag):
16057         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16058
16059 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16060
16061         * text2.C: remove some dead code
16062
16063         * tabular.C (GetCellInset): store the last cell checked (gotten)
16064
16065         * tabular.h: add the helper for the speedup
16066
16067         * lyxtext.h: remove some dead code
16068
16069 2001-06-26  The LyX Project  <Asger>
16070
16071         * paragraph.C: Change export to LaTeX of alignment to
16072         \begin{center} and family for better roundtrip work with reLyX.
16073
16074         * Tune the math drawing a bit.
16075
16076 2001-06-25  The LyX Project  <Asger>
16077
16078         * LColor.C (LColor): New color for math background. New color
16079         for buttons.
16080
16081 2001-06-25  The LyX Project  <jug@sad.it>
16082
16083         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16084
16085         * lyxfunc.C (Open):
16086         * bufferlist.C (newFile): do not restrict to files ending with
16087         .lyx
16088
16089         * BufferView_pimpl.C (MenuInsertLyXFile):
16090
16091 2001-06-24  The LyX Project  <jug@sad.it>
16092
16093         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16094         of compare_no_case
16095
16096 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16097
16098         * lyxtext.h: rename most methods to begin with a small char.
16099         Lots of changes because of this.
16100
16101         * paragraph.C (Paragraph): do not call fitToSize
16102         (erase): call Pimpl::erase
16103         (insertChar): call Pimpl::insertChar
16104         (insertInset): call Pipl::insertInset
16105         (breakParagraph): do not call fitToSize
16106         (breakParagraphConservative): do not call fitToSize
16107         (fitToSize): remove method
16108
16109         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16110
16111 2001-06-24  The LyX Project  <Asger>
16112
16113         * Fix Qt compilation^2
16114
16115 2001-06-24  The LyX Project  <jug@sad.it>
16116
16117         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16118         depthHook(getDepth()-1).
16119
16120         * paragraph.h:
16121         * ParagraphParameters.h:
16122         * ParameterStruct.h: change type of depth to unsigned int ==
16123         depth_type. Many adaptations to other files before of that.
16124
16125 2001-06-24  The LyX Project  <Asger>
16126
16127         * Fix Qt compilation.
16128
16129 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16130
16131         * paragraph.h: renamed several methods to begin with small letter.
16132         several changes to many parts of the code because of this.
16133
16134 2001-06-23  The LyX Project  <jug@sad.it>
16135
16136         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16137         rewritten to discard all double spaces when KeepEmpty is off
16138         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16139         to only handle newlines but not fiddle with spaces and friends.
16140
16141         * lyxfunc.C (MenuNew): when doing 'new from template', use
16142         template_path as default directory
16143
16144 2001-06-23  The LyX Project  <Asger>
16145
16146         * Clean-up of header file includes all over
16147         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16148
16149 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16150
16151         * paragraph.h: renamed from lyxparagraph.h
16152
16153 2001-06-23  Asger  <lyx@violet.home.sad.it>
16154
16155         * Buffer.h: Removed Buffer::resize
16156         * BufferList.h: Removed BufferList::resize
16157         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16158         the document lazily when we change the width, or the font settings.
16159
16160 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16161
16162         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16163
16164 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16165
16166         * buffer.h: remove out of date comment
16167
16168 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16169
16170         * lyxscreen.h:
16171         * screen.C: fix "theoretical" GC leak
16172
16173 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16174
16175         * LaTeX.C (scanAuxFile):
16176         (deplog): remove trailing \r when reading stream (useful under
16177         win32)
16178
16179 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16180
16181         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16182         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16183         and BufferView::theLockingInset(Inset*), so should use them and not
16184         access bv_->text->the_locking_inset directly.
16185
16186         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16187
16188 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16189
16190         * Makefile.am:
16191         * tex-defs.h: remove old unused file
16192
16193 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16194
16195         * BufferView_pimpl.C: fix typo, remove minibuffer message
16196           when buffer has loaded
16197
16198 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16199
16200         * lyxfunc.C (Dispatch): use stringstream
16201         (MenuNew): use stringstream
16202         (Open): use stringstream
16203
16204         * importer.C (Import): use stringstream
16205
16206         * bufferview_funcs.C (CurrentState): use stringstream
16207
16208         * LaTeX.C (run): use stringstream
16209
16210         * BufferView_pimpl.C (savePosition): use stringstream
16211         (restorePosition): use stringstream
16212         (MenuInsertLyXFile): use stringstream
16213
16214 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16215
16216         * BufferView.C:
16217         * Bullet.C:
16218         * ColorHandler.C:
16219         * FontInfo.C:
16220         * FontLoader.C:
16221         * LColor.C:
16222         * LaTeXFeatures.C:
16223         * Painter.C:
16224         * gettext.C:
16225         * lyx_gui_misc.C:
16226         * lyxserver.C:
16227         * vspace.C: removed // -*- C++ -*- as first line.
16228
16229         * lyxfind.h:
16230         * version.h: added // -*- C++ -*- as first line.
16231
16232 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16233
16234         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16235
16236         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16237         of string
16238
16239 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16240
16241         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16242         of floats.
16243
16244 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16245
16246         * gettext.C: include LString.h even when --disable-nls is on.
16247
16248 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16249
16250         * converter.h (Get): changed argument type from int to
16251         FormatList::size_type to avoid unnecessary conversion.
16252
16253         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16254         before using it.
16255
16256 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16257
16258         * gettext.h: include LString.h even when --disable-nls is on.
16259
16260 2001-06-07  Juergen Vigna  <jug@sad.it>
16261
16262         * text.C (BreakAgain): subst spaces with tabs.
16263
16264         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16265         (resizeInsetsLyXText): set force on resizeLyXText.
16266
16267 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16268
16269         * gettext.h (gettext_init):
16270         (locale_init): use a real definition instead of a macro
16271
16272 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16273
16274         * Bufferview_pimpl.C:
16275         * LColor.h:
16276         * LColor.C: further lcolor tidies
16277
16278 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16279
16280         * BufferView_pimpl.C (updateScrollbar): simplify.
16281
16282         * BufferView2.C: don't include insets/insetinfo.h, change
16283         prototype for insertInset and call the Pimpl version. let
16284         updateInset call Pimpl version.
16285
16286         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16287         gotoInset to BufferView::Pimpl
16288
16289 2001-06-01  Juergen Vigna  <jug@sad.it>
16290
16291         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16292         inside a LockingInset (is the update needed at all?).
16293
16294 2001-05-31  Juergen Vigna  <jug@sad.it>
16295
16296         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16297         here not the old one otherwise how should we compare it afterwards
16298         if it's the same!
16299
16300 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16301
16302         * lyxfont.C:
16303         * tabular.C:
16304         * tabular-old.C:
16305         * FontInfo.C: bring C functions into global namespace when
16306         necessary
16307
16308 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16309
16310         * LString.h: make sure config.h has been loaded before LString.h.
16311
16312         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16313         (one for each char read by EatLine!).
16314
16315         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16316         variables.
16317
16318 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16319
16320         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16321         to the same as the par we break from
16322
16323 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16324
16325         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16326
16327         * MenuBackend.C (expand): also create menu entries for wide
16328         versions of the floats.
16329
16330         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16331
16332         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16333
16334         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16335         frontends/Makefile.am
16336
16337         * text2.C: adjust
16338         * text.C: adjust
16339
16340
16341         * tabular.C (getTokenValue): add std::
16342
16343         * tabular-old.C (getTokenValue): add std::
16344         (getTokenValue): ditto
16345         (getTokenValue): ditto
16346
16347         * screen.C (ToggleSelection): adjust
16348
16349         * lyxtext.h: put selection cursors inside a Selection struct.
16350
16351         * lyxfunc.C (moveCursorUpdate): adjust
16352
16353         * lyxfont.C (latexWriteStartChanges): add std::
16354
16355         * lyxfind.C: adjust
16356
16357         * font.h: delete with(char const *, LyXFont const &)
16358
16359         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16360
16361         * FontInfo.C (getFontname): add std::
16362
16363         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16364         (workAreaButtonPress): adjust
16365         (tripleClick): adjust
16366         (update): adjust
16367         (moveCursorUpdate): adjust
16368         (Dispatch): adjust
16369
16370         * BufferView2.C (gotoInset): adjust
16371
16372 2001-05-30  Juergen Vigna  <jug@sad.it>
16373
16374         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16375         to check pspell I add this as default as I now have new pspell
16376         libraries and they seem to use this.
16377
16378 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16379
16380         * text2.C (CutSelection): make the cursor valid before the call to
16381         ClearSelection.
16382
16383 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16384
16385         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16386         relied on 0 terminated strings and other horrors. Bug found due to
16387         the new assert in lyxstring!
16388
16389         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16390         KP_ keys.
16391
16392 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16393
16394         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16395         to latinkeys.bind.
16396
16397         * lyxfunc.C (processKeySym): change method of getting to the
16398         self-insert char.
16399
16400         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16401         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16402         * BufferView_pimpl.[Ch]: here as private methods.
16403
16404 2001-05-28  Juergen Vigna  <jug@sad.it>
16405
16406         * text.C (SetHeightOfRow): added the update() call again as it is
16407         needed to initialize inset dimensions!
16408
16409 2001-05-16  Juergen Vigna  <jug@sad.it>
16410
16411         * text2.C (SetCharFont): Add new function with BufferView * and
16412         bool toggleall parameters for setting insets internal fonts.
16413         (SetFont): Freeze the undo as we may change fonts in Insets and
16414         all this change should be inside only one Undo!
16415
16416         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16417         setting font's in insets as for them we have the SetFont function!
16418
16419 2001-05-15  Juergen Vigna  <jug@sad.it>
16420
16421         * text2.C (ClearSelection): to be sure we REALLY don't have any
16422         selection anymore!
16423
16424         * tabular.C (TeXCellPreamble): fixed the left border problem for
16425         multicolumn cells.
16426
16427 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16428
16429         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16430         dependancy file
16431
16432 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16433
16434         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16435         LFUN_BREAKPARAGRAPH.
16436
16437         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16438         help test to "internal only", similar for LFUN_INSERT_URL
16439
16440         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16441         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16442         auto_region_delete and deadkeys.
16443
16444 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16445
16446         * LColor.h:
16447         * LColor.C: remove some dead entries, tidy a little
16448
16449 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16450
16451         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16452         commented code.
16453         (Dispatch): implement LFUN_ESCAPE
16454
16455         * commandtags.h: add LFUN_ESCAPE
16456
16457         * LyXAction.C (init): add entry for LFUN_ESCAPE
16458
16459         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16460         Remove commented code.
16461         (insertNote): moved here
16462         (open_new_inset): moved here
16463
16464         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16465         BufferView_pimpl
16466
16467 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16468
16469         * kbmap.C (findbinding): clean it up and make it work correctly.
16470
16471         * lyx_main.C (init): do not pass argc and argv as parameters
16472
16473 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16474
16475         * buffer.C: fix path for OS/2 & Win32
16476
16477         * lyx_gui.C:
16478         * lyx_main:
16479         * lyx_main.C: Added os:: class.
16480
16481         * os2_defines.h: update
16482
16483 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16484
16485         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16486         better by trying again with reduced state.
16487
16488 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16489
16490         * lyxrc.C (read): print error about invalid key sequence only when
16491         debugging (because not all latinX keysyms are known to some X
16492         servers)
16493
16494         * kbsequence.C (getiso): add a few std:: qualifiers
16495         (getiso): comment out extra return statement.
16496
16497 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16498
16499         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16500         handling.
16501         (Dispatch): enhance the accent inset a bit. (not perfect)
16502
16503 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16504
16505         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16506
16507 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16508
16509         * bufferlist.C (emergencyWrite): fix assert() call
16510
16511 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16512
16513         * text.C (InsertChar): Added trivial patch to only send the "you
16514         can not do multiple spaces this way" message once during a
16515         session.
16516
16517 2001-05-08  Baruch Even  <baruch@lyx.org>
16518
16519         * Makefile.am: Changed order of libraries to get LyX to link properly
16520         with the gnome frontend.
16521
16522 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16523
16524         * LaTeXFeatures.h: add a std:: qualifier
16525
16526 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16527
16528         * paragraph.C (String): use stringstream
16529
16530 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16531
16532         * paragraph.C (writeFile): remove footflag arg
16533
16534         * buffer.C (makeLaTeXFile): use stringstream
16535         (latexParagraphs): remove footnot gurba
16536
16537         * LaTeXFeatures.C (getPackages): use stringstream
16538         (getMacros): likewise
16539         (getTClassPreamble): likewise
16540         (getFloatDefinitions): new method
16541
16542         * paragraph.C (writeFile): reindent
16543         (Erase): reindent
16544
16545         * WorkArea.h: revert the xpos + etc changes.
16546
16547         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16548
16549         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16550
16551         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16552         (pasteSelection): likewise
16553         * text2.C (CreateUndo): likewise
16554
16555 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16556
16557         * minibuffer.C (peek_event): temporarily reduce the functionality
16558         of the minibuffer (to allow args on lfuns)
16559
16560         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16561         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16562
16563         * buffer.C (readInset): add compability reading of old float
16564         lists, add reading of new style float list.
16565         (readInset): avoid reevaluation of inscmd.getCmdName()
16566         (getLists): reindent
16567
16568         * MenuBackend.C (MenuItem): implement parsing of
16569         md_floatlistinsert and md_floatinsert.
16570         (expand::LastFiles): move initalizaton of iterators out of loop,
16571         avoid reevaluation.
16572         (expand::Documents): introduce typdedef vector<string> Strings,
16573         and use it.
16574         (expand::ExportFormats): introduce typedef vector<Format const *>
16575         Formats, and use it.
16576         (expand): implement FloatListInsert and FloatInsert.
16577
16578         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16579         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16580         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16581
16582         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16583         handling.
16584         (Dispatch::LFUN_FLOAT_LIST): implement
16585
16586 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16587
16588         * LaTeX.C (run): Fix problem with --export code.
16589
16590 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16591
16592         * BufferView.[Ch] (workarea): removed.
16593         (getClipboard) new method; wrapper for workarea()->getClipboard()
16594
16595         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16596         bug.
16597
16598         * WorkArea.h (width, height, xpos, ypos): These methods all
16599         returned the dimensions of the work_area sub-area of WorkArea,
16600         resulting in a position error if the WorkArea were resized. Now
16601         return the dimensions of the entire WorkArea.
16602
16603         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16604
16605 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16606
16607         * LaTeX.C (deplog): correct the syntax of regex reg1
16608
16609 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16610
16611         * undo.C: remove !NEW_INSETS cruft
16612
16613 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16614
16615         * text2.C: remove !NEW_INSETS cruft
16616
16617         * text.C: remove !NEW_INSETS cruft
16618
16619         * tabular.C: remove !NEW_INSETS cruft
16620
16621         * spellchecker.C: remove !NEW_INSETS cruft
16622
16623         * lyxtext.h: remove !NEW_INSETS cruft
16624
16625         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16626
16627         * lyxfunc.C: remove !NEW_INSETS cruft
16628
16629         * lyxfind.C: remove !NEW_INSETS cruft
16630
16631         * lyx_cb.C: remove !NEW_INSETS cruft
16632
16633         * figureForm.C: remove  !NEW_INSETS cruft
16634
16635         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16636
16637         * buffer.[Ch]: remove !NEW_INSETS cruft
16638
16639         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16640
16641         * CutAndPaste.C: remove !NEW_INSETS cruft
16642
16643         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16644
16645         * BufferView2.C: remove !NEW_INSETS cruft
16646
16647         * BufferView.h: remove !NEW_INSETS cruft
16648
16649 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16650
16651         * Lsstream.h: include LString.h before the sstream headers to
16652         fix problem with gcc 2.95.3 and lyxstring
16653
16654 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16655
16656         * lyx_main.C: add using directives when needed for C functions
16657         declared in std:: namespace.
16658
16659 2001-04-27  Juergen Vigna  <jug@sad.it>
16660
16661         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16662         (SetHeightOfRow): comment out the update call should not be needed!
16663
16664 2001-04-13  Juergen Vigna  <jug@sad.it>
16665
16666         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16667         (LyXTabular): tried to minimize operator= operations (and realized
16668         hopfully Lars wish).
16669
16670 2001-04-27  Juergen Vigna  <jug@sad.it>
16671
16672         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16673
16674 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16675
16676         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16677
16678         * buffer.C (readInset): hack to make listof algorithm work
16679
16680         * BufferView_pimpl.C: hack to make listof algorithm work
16681
16682 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16683
16684         * LyXAction.C: removed all !NEW_INSETS cruft
16685         (init): moved lfun_item in method
16686
16687         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16688
16689 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16690
16691         * BufferView2.C (theLockingInset): white space.
16692
16693 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16694
16695         * minibuffer.C: include <iostream>
16696
16697         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16698
16699         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16700
16701         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16702
16703         * text.[Ch] (TransposeChars): new method
16704
16705 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16706
16707         * call message directly through LyXView instead of through LyXFunc
16708         * BufferView2.C: adjust
16709         * BufferView_pimpl.C: adjust
16710         * FontLoader.C: adjust
16711         * buffer.C: adjust
16712         * bufferview_funcs.C: adjust
16713         * converter.C: adjust
16714         * figureForm.C: adjust
16715         * importer.C: adjust
16716         * lyx_cb.C: adjust
16717         * lyx_gui_misc.C: adjust
16718         * lyxfunc.C: adjust
16719         * lyxvc.C: adjust
16720         * text2.C: adjust
16721         + more files in subdirs
16722
16723         * lyxparagraph.h (size): move up int file
16724         (GetLayout): ditto
16725
16726         * adjust all uses of Assert to lyx::Assert.
16727
16728         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16729         lyxfunctional in namespace lyx
16730         * layout.C (hasLayout): ditto
16731         (GetLayout): ditto
16732         (GetLayout): ditto
16733         (delete_layout): ditto
16734         (NumberOfClass): ditto
16735         * converter.C (GetFormat): ditto
16736         (GetNumber): ditto
16737         (Add): ditto
16738         (Delete): ditto
16739         (SetViewer): ditto
16740         * bufferlist.C (getFileNames): ditto
16741         (emergencyWriteAll): ditto
16742         (exists): ditto
16743         (getBuffer): ditto
16744         * MenuBackend.C (hasSubmenu): ditto
16745         (hasMenu): ditto
16746         (getMenu): ditto
16747         * BufferView_pimpl.C (getInsetByCode): ditto
16748
16749 2001-04-18  Juergen Vigna  <jug@sad.it>
16750
16751         * vspace.C (asLatexString): fixed the 100% problem.
16752
16753 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16754
16755         * lyxfunc.C (Dispatch):
16756         * minibuffer.C:
16757         * minibuffer.h: add a few std:: qualifiers
16758
16759 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16760
16761         * minibuffer.[Ch]: reimplement so that commands is initiated and
16762         run from lyxfunc, simplified som handling, and made the completion
16763         and history code for complete. wip.
16764
16765         * lyxfunc.C (processKeySym): call message
16766         (miniDispatch): new temporary method
16767         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16768         (LFUN_MESSAGE): implement
16769         (LFUN_MESSAGE_PUSH): implement
16770         (LFUN_MESSAGE_POP): implement
16771         (initMiniBuffer): the initial/defualt minibuffer message.
16772
16773         * lyxfont.[Ch]: inline some more getters
16774
16775         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16776
16777         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16778
16779         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16780         (AutoSave): use LFUN_MESSAGE
16781         (Reconfigure): ditto
16782
16783         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16784
16785         * figureForm.C: use LFUN_MESSAGE
16786
16787         * converter.C (runLaTeX): use LFUN_MESSAGE
16788
16789         * bufferview_funcs.C: use LFUN_MESSAGE
16790         (Melt): ditto
16791         (changeDepth): ditto
16792
16793         * bufferparams.h: use boost::
16794
16795         * bufferlist.h: inherit privately from noncopyable
16796
16797         * bufferlist.C (loadLyXFile): remove some commented code.
16798
16799         * buffer.C (runChktex): use LFUN_MESSAGE
16800
16801         * ShareContainer.h: inherit privately from noncopyable
16802
16803         * ParagraphParameters.[hC] (depth): inline it.
16804
16805         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16806         methods.
16807         (message): new method
16808         (messagePush): ditto
16809         (messagePop): ditto
16810         (show): init minibuffer
16811         (showState): direct call
16812
16813         * LaTeX.[Ch]: inherit privately from noncopyable
16814         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16815         instead of WriteStatus.
16816
16817         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16818
16819         * BufferView_pimpl.C (buffer): don't init minibuffer
16820         (workAreaButtonPress): use LFUN_MESSAGE
16821         (workAreaButtonRelease): ditto
16822         (savePosition): ditto
16823         (restorePosition): ditto
16824         (MenuInsertLyXFile): ditto
16825         (workAreaExpose): don't init minibuffer
16826         (update): remove commented code, simplify
16827
16828         * BufferView2.C (openStuff): use LFUN_MESSAGE
16829         (toggleFloat): ditto
16830         (menuUndo): ditto
16831         (menuRedo): ditto
16832         (copyEnvironment): ditto
16833         (pasteEnvironment): ditto
16834         (copy): ditto
16835         (cut): ditto
16836         (paste): ditto
16837         (gotoInset): ditto
16838         (updateInset): remove some commented code
16839
16840         * lastfiles.h: inherit privately from noncopyable
16841         * layout.h: ditto
16842         * lyx_gui.h: ditto
16843         * lyx_main.h: ditto
16844         * lyxlex.h: ditto
16845         * lyxlex_pimpl.h: ditto
16846
16847         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16848         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16849         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16850
16851         * LyXAction.h: inherit privately from noncopyable, add methods
16852         func_begin, func_end, returning iterators to the func map.
16853
16854         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16855         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16856         (func_begin): new method
16857         (func_end): new method
16858
16859         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16860         and not)
16861         (copySelection): ditto
16862         (pasteSelection): ditto
16863
16864         * BufferView.C: whitespace change
16865         * BufferView.h: inherit privately from noncopyable
16866
16867 2001-04-16  Allan Rae  <rae@lyx.org>
16868
16869         * tabular-old.C (l_getline):
16870         * spellchecker.C (sc_check_word):
16871         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16872         an unrecognised preprocessor directive.  So ensure they're wrapped.
16873
16874 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16875
16876         * src/exporter.C (Export): Give an error message when path to file
16877         contains spaces.
16878
16879 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16880
16881         * LaTeX.C (deplog): Always check that foundfile exists.
16882
16883 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16884
16885         * lyx_main.h:
16886         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16887
16888 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16889
16890         * tabular.[Ch] (getLabelList): implement new method
16891
16892         * minibuffer.h: comment ouf setTiimer
16893
16894         * minibuffer.C (ExecutingCB): constify res
16895         (peek_event): constify s
16896         (Set): constify ntext
16897         (Init): constify nicename
16898
16899         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16900
16901         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16902         (savePosition): use two params to Minibuffer::Set
16903         (restorePosition): ditto
16904
16905 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16906
16907         * lyx_main.C: include language.h
16908
16909         * Makefile.am (lyx_main.o): add language.h
16910
16911 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16912
16913         * exporter.C:
16914         * paragraph.C:
16915         * screen.C:
16916         * tabular.C:
16917         * CutAndPaste.C: include gettext.h
16918
16919         * lyxfont.h: remove old hack with ON and OFF.
16920
16921         * lyxparagraph.h:
16922         * lyxfont.h: do not include language.h...
16923
16924         * BufferView2.C:
16925         * LaTeXFeatures.C:
16926         * Painter.C:
16927         * bufferview_funcs.C:
16928         * font.C:
16929         * lyxfont.C:
16930         * text.C:
16931         * text2.C:
16932         * trans_mgr.C:
16933         * paragraph.C: ... but do it here instead
16934
16935 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16936
16937         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16938
16939         * tabular.C: small reformat
16940
16941         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16942         NEW_INSETS version
16943         (GetChar): ditto
16944         (BreakParagraph): ditto
16945         (SetOnlyLayout): ditto
16946         (SetLayout): ditto
16947
16948         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16949         with one arg less.
16950
16951         * lastfiles.C: removed most using decl, add std:: where needed
16952
16953         * buffer.C: ws changes
16954
16955         * MenuBackend.C (class compare_format): put into anon namespace
16956         (expand): constify label, names, action, action2
16957         (expand):
16958
16959         * text.C (SingleWidth): constify font
16960         (IsBoundary): constify rtl2
16961         (GetVisibleRow): constify ww
16962
16963         * LaTeX.C (deplog): constify logfile
16964
16965         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16966         start_x, end_x
16967         (workAreaExpose): constify widthChange, heightChange
16968
16969         * lyxrow.C (par): moved
16970         (height): moved
16971         (next): moved
16972         * lyxrow.h: as inlines here
16973
16974         * lyxfont.h (shape): moved from lyxfont.C
16975         (emph): moved from lyxfont.C
16976
16977         * lyxfont.C (LyXFont): use initialization list for all
16978         constructors
16979         (shape): move to lyxfont.h as inline
16980         (emph): move to lyxfont.h as inline
16981
16982
16983 2001-04-04  Juergen Vigna  <jug@sad.it>
16984
16985         * vspace.C: had to include stdio.h for use of sscanf
16986
16987 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
16988
16989         * BufferView.h:
16990         * BufferView_pimpl.h: remove xforms cruft. Both classes are
16991         independent of xforms.
16992
16993 2001-04-02  Juergen Vigna  <jug@sad.it>
16994
16995         * spellchecker.C: fixed namespace placing!
16996
16997 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
16998
16999         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17000         the LyXParagraph * is 0.
17001
17002 2001-03-29  Juergen Vigna  <jug@sad.it>
17003
17004         * vspace.C: added support for %, c%, p%, l%.
17005         (stringFromUnit): added helper function.
17006         (asLatexString): changed to give right results for the %-values.
17007
17008         * buffer.C: convert the widthp in a width%.
17009
17010 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17011
17012         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17013         figureForm.[Ch].
17014
17015         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17016         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17017
17018         * lyx_cb.[Ch]: see above.
17019
17020         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17021         form1.[Ch].
17022
17023         * form1.[Ch]:
17024         * lyx.[Ch]: replaced by figure_form.[Ch].
17025
17026         * lyx_gui.C:
17027         * lyx_gui_misc.C:
17028         * lyxfunc.C: changed headers associated with above changes.
17029
17030 2001-03-27  Juergen Vigna  <jug@sad.it>
17031
17032         * BufferView_pimpl.C: set the temporary cursor right!
17033
17034 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17035
17036         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17037
17038 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17039
17040         * LString.h: removed "using std::getline"!
17041
17042         * BufferView_pimpl.C (Dispatch): changes due to changes in
17043         InsetInclude::Params.
17044
17045         * buffer.C (tag_name): removed redundant break statements as they were
17046         producing lots of warnings with my compiler.
17047
17048 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17049
17050         * LString.h: add "using std::getline" when using the real <string>.
17051
17052 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17053
17054         * buffer.C: removed bitset usage.
17055         PAR_TAG moved to an anonymous name space.
17056         (tag_name): new funtion, also in the anonymous namespace.
17057         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17058         (makeDocBookFile): clean code. Completed transition from string arrays
17059         to string vectors.
17060         (SimpleDocBookOnePar): code clean.
17061
17062 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17063
17064         * tabular.C: add some comments.
17065
17066 2001-03-22  Juergen Vigna  <jug@sad.it>
17067
17068         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17069         compatibility read a bit and fixed bug with minipage in different
17070         depth.
17071
17072 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17073
17074         * buffer.C (pop_tag): removed.
17075         (push_tag): removed.
17076         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17077         array replaced with vector. Added support for CDATA sections.
17078         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17079         at any nest level.
17080         (makeDocBookFile): XML conformant declaration of CDATA section,
17081         fixed bug related to <emphasis> in the first paragraph char.
17082         (sgmlOpenTag): exclude empty tags.
17083         (sgmlCloseTag): ditto.
17084
17085         * buffer.h (pop_tag): removed.
17086         (push_tag): removed.
17087
17088 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17089
17090         * language.h (Languages): added size_type and size().
17091
17092 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17093
17094         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17095         response on compability reading of minipages. One probliem is that
17096         the old usage of minipages was «flertydig»
17097
17098         * several files here and in subdirs: don't use static at file
17099         scope use anon namespaces instead.
17100
17101 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17102
17103         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17104         LaTeX output. This is necessary for Literate document
17105         processing.
17106
17107 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17108
17109         * buffer.C: insert hfill when needed.
17110
17111         * tabular.C (l_getline): use string::erase, small whitespace change.
17112
17113         * BufferView_pimpl.C: try the anon namespace.
17114         * WorkArea.C: ditto
17115
17116 2001-03-16  Juergen Vigna  <jug@sad.it>
17117
17118         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17119         otherwise it won't open options-dialogs.
17120
17121         * buffer.C: honor pextraWidth(p) on converting minipages.
17122
17123         * tabular.C (l_getline): changed the functions to strip trailing \r.
17124
17125 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17126
17127         * BufferView_pimpl.C:
17128         * minibuffer..C: added "using SigC::slot" declaration.
17129
17130 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17131
17132         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17133
17134         * text2.C: ditto
17135
17136         * text.C: ditto
17137
17138         * paragraph.C: ditto
17139
17140         * lyxtext.h: NO_PEXTRA
17141
17142         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17143
17144         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17145         * ParameterStruct.h: ditto
17146         * ParagraphParameters.h: ditto
17147         * lyxparagraph.h: ditto
17148
17149 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17150
17151         * buffer.C: add compability for minipage alignment.
17152         (latexParagraphs): remove unwanted pextra check.
17153
17154         * several files: remove CXX_WORKING_NAMESPACES
17155
17156         * buffer.C (pop_tag): tie is in namespace boost
17157
17158         * BufferView.h: noncopyable is in namespace boost
17159         * lyxlex.h: ditto
17160         * lyx_main.h: ditto
17161         * lyx_gui.h: ditto
17162         * layout.h: ditto
17163         * lastfiles.h: ditto
17164         * bufferlist.h: ditto
17165         * ShareContainer.h: ditto
17166         * LyXView.h: ditto
17167         * LyXAction.h: ditto
17168         * LaTeX.h: ditto
17169
17170 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17171
17172         * Merging changes from BRANCH_MVC back into HEAD.
17173
17174         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17175
17176 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17177
17178         * BufferView_pimpl.C: change from intl.C
17179
17180         * combox.h:
17181         * combox.C:
17182         * Makefile.am: move combox.*
17183
17184         * form1.h:
17185         * form1.C:
17186         * lyx_gui.C:
17187         * intl.h:
17188         * intl.C: remove dialog (covered by prefs)
17189
17190 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17191
17192         * lyxfunc.C (Dispatch): removed redundant break statement.
17193
17194 2001-03-14  Juergen Vigna  <jug@sad.it>
17195
17196         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17197
17198 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17199
17200         * buffer.C: add hack to fix compability reading of minipages.
17201
17202 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17203
17204         * buffer.C (getLists): Cleanup.
17205
17206 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17207
17208         * lyxfont.C (update): don't honor toggleall on font size.
17209
17210 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17211
17212         * bmtable.c:
17213         * bmtable.h:
17214         * Makefile.am: moved to frontends/xforms/
17215
17216         * lyx_gui_misc.C:
17217         * lyxfunc.C:
17218         * BufferView_pimpl.C: changes for moved mathpanel
17219
17220 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17221
17222         * gettext.h: fix gettext_init() in --disable-nls
17223
17224 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17225
17226         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17227
17228 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17229
17230         * lyx.C:
17231         * lyx.h: strip external form
17232
17233 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17234
17235         * BufferView_pimpl.C: add comment, destroySplash()
17236
17237 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17238
17239         * BufferView_pimpl.C:
17240         * LyXAction.C:
17241         * buffer.C:
17242         * commandtags.h:
17243         * lyxfunc.C: use re-worked insetinclude
17244
17245 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17246
17247         * buffer.C: add using std::stringstream.
17248
17249         * lyx_cb.C: readd using std::ios.
17250
17251         * buffer.C: add using std::map.
17252
17253         * BufferView_pimpl.C: add using std::vector.
17254
17255         * ShareContainer.h: add std:: to swap.
17256
17257         * buffer.h: add some typedefs
17258         * buffer.C (getLists): use them
17259         (getLists): renamed from getTocList.
17260         add a counter for the different float types and use it in the
17261         generated string.
17262         (getLists): use the same counter for the NEW_INSETS and the "non"
17263         NEW_INSETS
17264
17265         * lyx_cb.h: remove unused items, includes, using etc.
17266
17267         * ShareContainer.h: remove some commented code, add more comments
17268         and "documentation".
17269
17270 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17271
17272         * buffer.C (getTocList): make the list also when NEW_INSETS is
17273         defined.
17274
17275         * buffer.h: remove TocType
17276
17277         * buffer.C (getTocList): change to return a map<string,
17278         vector<TocItem> >, implement for dynamic number of list.
17279
17280         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17281         * text2.C (PasteSelection): adjust
17282         * CutAndPaste.C (pasteSelection): adjust
17283
17284         * FloatList.C (FloatList): update from the new_insets branch.
17285         * Floating.[Ch]: ditto
17286         * LaTeXFeatures.C: ditto
17287         * buffer.C: ditto
17288         * lyxlex_pimpl.C: ditto
17289
17290         * paragraph.C (Last): remove when NEW_INSETS is defined.
17291
17292         * other file: changes because of the above.
17293
17294 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17295
17296         * lyxparagraph.h: rename next to next_, previous to previous_,
17297         make them private for NEW_INSETS. Rename Next() to next(),
17298         Previous() to previous().
17299
17300         * other files: changes because of the above.
17301
17302 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17303
17304         * BufferView.h:
17305         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17306         problem.
17307
17308 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17309
17310         * main.C (main): pass lyx_localedir to gettext_init().
17311
17312         * gettext.h: remove locale_init and gettext_init macros
17313
17314         * gettext.C (locale_init): new function
17315         (gettext_init): new function
17316
17317         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17318         setlocale().
17319
17320 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17321
17322         * Moved credits to frontends:
17323         * credits.[Ch]: removed
17324         * credits_form.[Ch]: removed
17325         * lyx_gui_misc.C: remove credits stuff
17326         * Makefile.am:
17327
17328 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17329
17330         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17331
17332         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17333         unneeded destructor.
17334
17335         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17336         a standalone pointer again.
17337
17338         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17339
17340 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17341
17342         * Makefile.am:
17343         * filedlg.h:
17344         * filedlg.C:
17345         * LyXAction.C:
17346         * ToolbarDefaults.C:
17347         * bufferlist.C:
17348         * commandtags.h:
17349         * form1.C:
17350         * form1.h:
17351         * lyx_cb.C:
17352         * lyx_cb.h:
17353         * lyxfunc.h:
17354         * lyxfunc.C:
17355         * BufferView_pimpl.C: use new file dialog in GUII
17356
17357         * lyx_cb.h:
17358         * lyx_cb.C: remove LayoutsCB to Toolbar
17359
17360 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17361
17362         * ShareContainer.h (get): add std:: qualifier
17363
17364 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17365
17366         * ShareContainer.h: define a proper ShareContainer::value_type
17367         type (and use typename to please compaq cxx)
17368
17369 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17370
17371         * lyxparagraph.h: move serveral local vars to
17372         ParameterStruct/ParagraphParameters., use ShareContainer in
17373         FontTable., make vars in FontTable private and add getter and
17374         setter.
17375
17376         * paragraph.C: changes because of the above.
17377
17378         * lyxfont.h: remove copy constructor and copy assignment. (the
17379         default ones is ok), move number inside FontBits. move inlines to
17380         lyxfont.C
17381
17382         * lyxfont.C: add number to initializaton of statics, move several
17383         inlines here. constify several local vars. some whitespace
17384         cleanup. Dont hide outerscope variables.
17385
17386         * Spacing.h: add two new constructors to match the set methods.
17387
17388         * ShareContainer.h: new file, will perhaps be moved to support
17389
17390         * ParameterStruct.h: new file
17391
17392         * ParagraphParameters.h: new file
17393
17394         * ParagraphParameters.C: new file
17395
17396         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17397         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17398
17399         * BufferView_pimpl.C: ParagraphParameter changes.
17400         * buffer.C: Likewise.
17401         * bufferview_funcs.C: Likewise.
17402         * text.C: Likewise.
17403         * text2.C: Likewise.
17404
17405 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17406
17407         * lyxfind.C (LyXReplace): do not redefine default argument in
17408         implementation.
17409         (IsStringInText): ditto
17410         (SearchForward): ditto
17411         (SearchBackward): ditto
17412
17413 2001-03-06  Juergen Vigna  <jug@sad.it>
17414
17415         * lyxfind.C (IsStringInText): put parentes around expressions.
17416
17417 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17418
17419         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17420
17421 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17422
17423         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17424
17425         * stl_string_fwd.h: add comment
17426
17427         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17428
17429         * tabular.h:
17430         * tabular.C: remove unused DocBook methods
17431
17432         * intl.C:
17433         * language.C:
17434         * paragraph.C:
17435         * buffer.C:
17436         killed DO_USE_DEFAULT_LANGUAGE
17437
17438 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17439
17440         * lyx_gui.C: do not include language.h.
17441
17442         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17443         arguments in function implementation.
17444
17445 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17446
17447         * BufferView_pimpl.C: add <ctime>
17448
17449 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17450
17451         * BufferView_pimpl.C: add using std::find_if
17452
17453 2001-02-27  José Matos  <jamatos@fep.up.pt>
17454
17455         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17456         by OnlyPath.
17457
17458 2001-02-11  José Matos  <jamatos@fep.up.pt>
17459
17460         * buffer.C (makeDocBookFile): command styles now have a parameter as
17461         "title" by default.
17462
17463 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17464
17465         * layout_forms.[Ch]: removed
17466         * lyx_cb.[Ch]: out character
17467         * lyx_gui.C: out character
17468         * lyx_gui_misc.C: out character
17469         * bufferview_funcs.C: : out character,
17470         added toggleall as parameter in ToggleAndShow
17471
17472 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17473
17474         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17475
17476         * text2.C (SetCurrentFont): Disable number property at boundary.
17477
17478 2001-02-26  Juergen Vigna  <jug@sad.it>
17479
17480         * lyxfunc.C (getStatus): added a string argument override function so
17481         that this is correctly called from LyXFunc::Dispatch if it contains a
17482         do_not_use_argument which is used!
17483         (Dispatch): added check for "custom" export and call appropriate func.
17484
17485 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17486
17487         * lyxrc.C: Add language_command_local, language_use_babel and
17488         language_global_options.
17489
17490         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17491
17492         * buffer.C (makeLaTeXFile): Use language_use_babel and
17493         language_global_options.
17494
17495 2001-02-23  Juergen Vigna  <jug@sad.it>
17496
17497         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17498         which works with LyXText and putted it inside BufferView. Here now we
17499         only call for that part the BufferView::Dispatch() function.
17500
17501         * BufferView.C (Dispatch): added.
17502
17503         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17504         functions which needs to use a LyXText over from LyXFunc.
17505         (MenuInsertLyXFile): added
17506         (getInsetByCode): added
17507         (moveCursorUpdate): added
17508         (static TEXT): added
17509
17510 2001-02-22  Juergen Vigna  <jug@sad.it>
17511
17512         * BufferView_pimpl.C (update): call a status update to see if LyXText
17513         needs it.
17514
17515 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17516
17517         * vc-backend.C (revert): implement for CVS
17518         (getLog): implement for CVS
17519
17520 2001-02-20  Juergen Vigna  <jug@sad.it>
17521
17522         * text2.C (ClearSelection): added BufferView param for inset_owner call
17523
17524         * lyxfunc.C (TEXT): added this function and use it instead of
17525         directly owner->view()-text of getLyXText().
17526
17527 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17528
17529         * src/layout_forms.C: out preamble
17530         * src/layout_forms.h: out preamble
17531         * src/lyx_cb.C: out preamble
17532         * src/lyx_cb.h: out preamble
17533         * src/lyx_gui.C: out preamble
17534         * src/lyx_gui_misc.C: out preamble
17535         * src/lyxfunc.C: connect with guii preamble
17536
17537 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17538
17539         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17540
17541 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17542
17543         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17544         whether to run bibtex.
17545
17546 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17547
17548         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17549
17550 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17551
17552         * Makefile.am (lyx_SOURCES): removed bibforms.h
17553
17554         * vspace.h: doxygen
17555
17556         * text.C (GetVisibleRow): make several local vars const
17557
17558         * tabular.C: small cleanup.
17559
17560         * lyxserver.C (callback): use compare instead of strncmp
17561
17562         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17563         inlines to after class or to paragraph.C
17564
17565         * lyxfont.h: remove friend operator!=
17566
17567         * converter.h: move friend bool operator< to non friend and after
17568         class def.
17569
17570         * combox.h: small cleanup
17571
17572         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17573         to inlines after class def.
17574
17575         * buffer.C (pop_tag): use string operations instead of strcmp
17576
17577         * bmtable.c: doxygen, small cleanup
17578
17579         * LaTeX.h: remove friend operator==
17580
17581 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17582
17583         * screen.C:
17584         * lyxrc.[Ch]:
17585         * lyxfunc.C:
17586         * lyxfont.[Ch]:
17587         * lyx_cb.C:
17588         * intl.[Ch]:
17589         * commandtags.h:
17590         * buffer.C:
17591         * WorkArea.[Ch]:
17592         * LyXAction.C:
17593         * BufferView_pimpl.C:
17594         * BufferView.[Ch]: remove cruft
17595
17596 2001-02-14  Juergen Vigna  <jug@sad.it>
17597
17598         * lyxfunc.C: removed #if 0 unused code
17599
17600         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17601
17602         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17603
17604         * text2.C (SetSelection): added a BufferView * parameter
17605
17606 2001-02-13  Juergen Vigna  <jug@sad.it>
17607
17608         * lyxfunc.C (Dispatch): fixed protected blank problem.
17609         * BufferView2.C (protectedBlank): added LyxText * parameter.
17610
17611         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17612         (AppendColumn): same as above for column_info.
17613
17614         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17615         (moveCursorUpdate): use a LyXText param for support of InsetText.
17616
17617         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17618         (tripleClick): ditto
17619
17620         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17621
17622         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17623
17624         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17625
17626         * text2.C (SetSelection): set correct update status if inset_owner
17627         (ToggleFree): ditto
17628
17629 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17630
17631         * tabular.C: remove some commented code.
17632
17633 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17634
17635         * BufferView_pimpl.C: call hideSplash()
17636
17637         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17638
17639         * include_form.h:
17640         * bibforms.h: remove
17641
17642         * lyxfunc.C:
17643         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17644           add LFUN_CHILD_CREATE
17645
17646         * counters.h: fix tiny typo
17647
17648         * lyx_cb.C:
17649         * lyx.h:
17650         * lyx_gui.C:
17651         * lyx.C: move splash to frontends/xforms/
17652
17653         * lyx_gui_misc.C: move Include and Bibform to frontends
17654
17655         * lyxvc.h: clarify comment
17656
17657         * vspace.C: tiny housekeeping
17658
17659 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17660
17661         * text.C (PrepareToPrint): RTL Fix.
17662
17663         * paragraph.C (GetUChar): New method.
17664         (String):  Use GetUChar.
17665
17666         * buffer.C (asciiParagraph): Use GetUChar.
17667
17668 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17669
17670         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17671
17672 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17673
17674         * buffer.h:
17675         * buffer.C: rename to getLogName(), handle
17676           build log / latex log nicely
17677
17678 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17679
17680         * MenuBackend.C:
17681         * MenuBackend.h: remove support for reference menuitem type.
17682
17683 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17684
17685         * BufferView_pimpl.C: housekeeping
17686         * BufferView_pimpl.h:
17687         * LyXView.h:
17688         * Makefile.am:
17689         * Timeout.C:
17690         * Timeout.h:
17691         * minibuffer.h: move Timeout GUI-I
17692
17693 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17694
17695         * lyxrc.C (read): Update converters data-structures.
17696
17697 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17698
17699         * LaTeX.h (operator!=): add operator != for Aux_Info
17700
17701 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17702
17703         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17704
17705         * LaTeXLog.C: deleted, useful code moved to Buffer
17706
17707         * buffer.h:
17708         * buffer.C: new function getLatexLogName()
17709
17710         * lyx_gui_misc.C:
17711         * lyx_gui.C:
17712         * lyxvc.C:
17713         * lyxvc.h:
17714         * lyxfunc.C: use frontends for LaTeX and VC logs
17715
17716 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17717
17718         * LaTeX.h: yet another std:: that Allan forgot.
17719
17720         * Variables.C (set): renamed from isset(), because this clashes
17721         with some HP-UX macros (grr).
17722
17723 2001-02-06  Allan Rae  <rae@lyx.org>
17724
17725         * LaTeX.h: Another bug fix.  Missing std:: this time.
17726
17727 2001-02-04  Allan Rae  <rae@lyx.org>
17728
17729         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17730         floats problem. I've left it commented out because it's not quite
17731         correct.  It should also test that the current object is a table or
17732         figure inset.  But I haven't gotten around to figuring out how to do
17733         that.  I *think* it'll be something like: "table" == inset.type()
17734
17735         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17736         bool.
17737
17738 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17739
17740         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17741         all the citation/databases/styles in the auxilary file.
17742         (run): Rerun latex if there was a babel language error.
17743
17744 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17745
17746         * text.C (Backspace): Preserve the font when changing newline char
17747         with a space.
17748         (BreakParagraph): If the cursor is before a space, delete the space.
17749
17750         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17751
17752 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17753
17754         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17755         new argument (code).
17756         (ChangeCitationsIfUnique): New method.
17757
17758         * paragraph.C (GetPositionOfInset): Handle bibkey.
17759
17760 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17761
17762         * BufferView_pimpl.h: change type of Position::par_pos to
17763         LyXParagraph::size_type.
17764
17765 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17766
17767         * BufferView_pimpl.C (savePosition, restorePosition): Write
17768         messages to minibuffer.
17769
17770 2001-01-28  José Matos  <jamatos@fep.up.pt>
17771
17772         * buffer.C (makeDocBookFile): adds support for document language.
17773         A silly restriction on the name of LatexCommand types where removed.
17774         Added support for CDATA sections, allows to chars unescaped, used
17775         among others in code, to avoid escape < and >.
17776
17777 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17778
17779         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17780         saved positions instrad of a stack. Furthermore, a position is
17781         stored using paragraph id/paragraph position.
17782
17783         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17784         Remove LFUN_REF_BACK.
17785
17786 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17787
17788         * converter.C (dvipdfm_options): New method.
17789
17790 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17791
17792         * vspace.C (isValidLength): Fix for empty input string.
17793
17794 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17795
17796         * LyXAction.C (init): change description of LFUN_FIGURE to
17797         "Insert Graphics"
17798
17799 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17800
17801         * LaTeX.C: add using directive
17802
17803 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17804
17805         * MenuBackend.C (expand): Fix the sorting of the formats.
17806
17807 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17808
17809         * lyx_main.C: tiny error message fix
17810
17811 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17812
17813         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17814         calling fl_initialize(). This fixes the problem with ',' as
17815         decimal separator in text files.
17816
17817 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17818
17819         * trans.C (process): Fix the keymap bug.
17820
17821 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17822
17823         * LaTeX.C (scanAuxFiles): New method. Provides support for
17824         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17825         (scanLogFile) Scan for "run BibTeX" messages.
17826
17827         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17828         OT1 font encoding. Also, load the aecompl package if the ae
17829         package is loaded.
17830
17831         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17832
17833 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17834
17835         * texrow.C (increasePos): turn two error messages into debug
17836         messages.
17837
17838 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17839
17840         * LaTeX.C (scanAux): Handle the \@input macro.
17841         (runBibTeX): Use scanAux().
17842
17843         * language.C (latex_options_): New field.
17844
17845         * LaTeXFeatures.C (getMacros): Add language macros.
17846
17847         * buffer.C (makeLaTeXFile): Small fix.
17848
17849 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17850
17851         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17852
17853         * text2.C: add a using directive.
17854
17855 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17856
17857         * BufferView2.C:
17858         * lyx_gui_misc.h:
17859         * lyxfr1.C:
17860         * lyxfunc.C: kill LyXBell.
17861
17862 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17863
17864         * text.C (IsBoundary): Remove the error message
17865
17866         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17867
17868         * lyxrc.C (setDefaults): Correct initialization value for
17869         font_norm_type.
17870
17871 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17872
17873         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17874         gotoError().
17875
17876         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17877         and GotoNextNote().
17878
17879         * src/LyXAction.C: Added reference-next.
17880
17881         * text.C (InsertChar): Use contains instead of strchr.
17882
17883         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17884
17885 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17886
17887         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17888         alignment commands (when needed).
17889
17890         * text.C (InsertChar): Add ':' to number separator chars.