]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
cfb74281727a89e90942482a3bb2a04de92bc434
[lyx.git] / src / ChangeLog
1 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
2
3         * lyx_main.C (init): change some reLyX reference to tex2lyx
4
5 2005-07-16  Juergen Vigna  <jug@lyx.org>
6
7         * dociterator.C (DocIterator): initialize boundary
8
9 2005-07-16  Juergen Vigna  <jug@lyx.org>
10
11         * text2.C (getColumnNearX): Consider rows without trailing blank.  
12
13 2005-07-16  André Pönitz  <poenitz@gmx.net>
14
15         * lyxfont.h: Change order of declarations to give the compiler
16         a better chance to inline things
17
18         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
19         questions on unsaved docs for better scritability
20
21 2005-07-16  André Pönitz  <poenitz@gmx.net>
22
23         * paragraph.h (getChar): remove asserts as the same kind of security
24         can be achieved by using a suitable standard library implementation
25         and the function was in the critical path (25.9% in profiler)
26
27 2005-07-16  Juergen Vigna  <jug@lyx.org>
28
29         * cursor.C (bruteFind2):
30         * bufferview_funcs.C (coordOffset): 
31         * text.C (cursorX,cursorY): Handle cursor position after last char
32         in row before a inset which uses a whole row.
33
34 2005-07-15  José Matos <jamatos@lyx.org>
35
36         * output_plaintext.[Ch] (writeFileAscii): control reference title
37         printing.
38         (asciiParagraph): noparbreak was already deal and was incorrectly
39         used.
40
41 2005-07-15  Juergen Vigna <jug@lyx.org>
42
43         * lyxfunc.C (dispatch): save and restore the cursor after a
44         textclass switch.
45
46 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
47
48         * text.C (backspace): bug 806 for empty keepempty paragraphs we
49         change the layout to default before letting DEPM do its thing.
50
51         * paragraph_funcs.C (breakParagraph): dont reset the layout on
52         keepEmpty paragraphs
53
54         * text.C (setCursorFromCoordinates): add a debug statement
55
56         * text2.C (getColumnNearX): bug 1825 make sure that we don't
57         return a pos that is not on the row
58
59         * output_latex.C (TeXDeeper): get rid of potential dereferencing
60         of past the end iterator
61
62 2005-07-14  André Pönitz  <poenitz@gmx.net>
63
64         * undo.C (recordUndoFullBuffer): implement undo for
65         textclass switches
66
67 2005-07-14  André Pönitz  <poenitz@gmx.net>
68
69         * cursor.C (setSelection): open insets when selection is set there
70         to avoid crashs with cold coord cache
71
72 2005-07-14  André Pönitz  <poenitz@gmx.net>
73
74         * trans_mgr.C (insert): move cursor to the right after inserting
75         a char.
76
77 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
78
79         * BufferView_pimpl.C (update): dampen some of the debug blabbering
80         * factory.C (readInset): ditto
81         * text.C, text2.C: ditto
82
83 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
84
85         * buffer.C: format incremented to 242. There is no file format per
86         se, but the "frenchb" language has been removed from lib/language
87         and has to be translated to "french" by lyx2lyx.
88
89 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
90
91         * cursor_slice.h, dociterator.h: add some documentation
92         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
93
94 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
95
96         * text.C (leftMargin): do not add identation to display() style
97         insets, because they are always centered (bug 1293).
98
99 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
100
101         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
102         formatted_time methods in support/lyxtime.
103
104 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
105
106         * toc.[Ch]: new method getGuiName, which is used by the frontends 
107         to set the toc combo (fixes bug 1870). Make TOC string translatable.
108
109 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
110
111         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
112         StableDocIterator const &)
113         * undo.C (recordUndo): use the above instead of cell.size() comparison
114         (fixes bug 1808; instructed by André).
115
116 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
117
118         * cursor_slice.h: 
119         * dociterator.h: Fix the assert when copying rows/cols in math
120
121 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
122
123         * BufferView_pimpl.C:
124         * LyXAction.C:
125         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
126
127         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
128         (findInset): new functions, refactored from goto Inset that return 
129         the position of a certain inset without setting the buffer's cursor
130         (by Jean-Marc); 
131         (gotoInset): rewrite to call findInset and then set the cursor
132         (by Jean-Marc).
133
134 2005-06-16  Angus Leeming  <leeming@lyx.org>
135
136         * lyxrc.C (output, read): wrap all input and output of paths with
137         calls to os::internal_path and os::external_path, respectively.
138         (output): wrap bind_file inside quotes.
139
140         * format.C (view): enable the viewer to use the '$$s' placeholder.
141
142 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
143
144         * LColor.[Ch] (getFromLaTeXName): new
145
146 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
147
148         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
149
150 2005-06-14  Angus Leeming  <leeming@lyx.org>
151
152         * lyx_main.C (init): ensure that the LyX binary dir is the first
153         element in the PATH on non-POSIX builds.
154
155 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
156
157         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
158
159 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
160
161         * rowpainter.C (paintInset, paintHebrewComposeChar)
162         (paintArabicComposeChar, paintChars): add a LyXFont argument.
163         (paintChars): use getFontSpan to reduce calls to getFont to a
164         minimum; use Paragraph::lookupChange instead of isXXXText.
165         (paintForeignMark): rename LyXFont argument.
166         (paintFromPos): pass a LyXFont object to the various paintXXX
167         methods.
168
169         * FontIterator.C (FontIterator, operator++): use
170         Paragraph::getFontSpan
171
172         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
173         version that returns the font span as a pair.
174
175 2005-06-09  Angus Leeming  <leeming@lyx.org>
176
177         * converter.C (convert): Don't forget "outfile = real_outfile" as
178         the final step in a conversion where the input and output file names
179         are the same. Otherwise, future conversion steps won't work...
180
181 2005-06-09  Angus Leeming  <leeming@lyx.org>
182
183         * lyxsocket.C: remove stub code as it isn't needed by
184         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
185
186 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
187
188         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
189         effectively disabled -x
190
191 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
192
193         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
194         when it actually makes sense.
195
196 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
197
198         * BufferView_pimpl.C: revert to showCursor in connection with
199         Lars's front-end stack
200
201 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
202
203         * text.C (redoParagraph): move cursor right after a bibitem
204         has been inserted.
205
206         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
207
208 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
209
210         * buffer_funcs.C (bufferErrors): fix computation of the end of an
211         error range.
212
213 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
214
215         * BufferView.[Ch] (update):
216         * BufferView_pimpl.[Ch] (update, metrics):
217         * dimension.h (operator==):
218         * lyxfunc.C (dispatch):
219         * metricsinfo.h (ViewMetricsInfo):
220         * rowpainter.C (paintText):
221         * lyxtext.h:
222         * text.C (redoParagraph):
223         * text3.C (dispatch): Make LyX only repaint current paragraph in
224         case of character insert --> speedup. Also fix cursor draw
225         artifacts
226
227 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
228
229         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
230         avoid a crash (bug 1891)
231
232 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
233
234         Fix bug 1892:
235
236         * text2.C (getStringToIndex): constify cur argument.
237
238         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
239         argument has been given
240         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
241         try to invoke LFUN_INSET_APPLY).
242
243         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
244         if no inset was created by doInsertInset
245         (doInsertInset): return true if an inset has been inserted.
246
247 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
248
249         * vspace.C (asGUIName): new method. A version of the space
250         suitable for showing on screen.
251
252 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
253
254         * MenuBackend.C:
255         * lyxrc.C: rename "ASCII" to "Plain Text"
256
257 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
258
259         * buffer_funcs.C (expandLabel): take a Buffer as argument;
260         translate the labelstring.
261         (setCounter): translate labelstring as needed.
262
263         * output_docbook.C (makeCommand): fix expandLabel invokation
264
265 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
266
267         * BufferView.C: fix dialog title
268
269 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
270
271         * lyx_main.C (priv_exec): fix logic error with help from Angus
272         * lyx_main.C (parse_execute): set is_gui = false and remove now
273         obsolete comment about a segfault
274
275 2005-05-18  Angus Leeming  <leeming@lyx.org>
276
277         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
278
279 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
280
281         * tabular.[hC]: added setCellInset to fix tabular paste.
282
283 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
284
285         * buffer.C (save): check if destination is writable before trying
286         to copy a file
287
288 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
289
290         * BufferView_pimpl.C (update): fix processEvents -caused update
291         recursion bug
292
293 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
294
295         * buffer_funcs.C (setCounter): fix test for numbering of
296         environments.
297
298         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
299         depth correctly; use optional argument when it exists
300
301         * lyxtextclass.C: remove unused MaxCounterTags enum
302         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
303         (max_toclevel, min_toclevel): new methods.
304
305         * MenuBackend.C (expandToc2): fix case where depth is smaller than
306         the smallest depth in toc.
307
308         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
309         layouts that should not appear in a table of contents.
310
311 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
312
313         * cursor.h (undispatched, noUpdate): add comments from André
314
315 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
316
317         * lfuns.h:
318         * LyXAction.C:
319         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
320
321 2005-05-07  André Pönitz  <poenitz@gmx.net>
322
323         * cursor.[Ch] (leaveInset): new function
324
325 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
326
327         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
328
329 2005-05-04  Angus Leeming  <leeming@lyx.org>
330
331         * lyxfunc.C (getStatus): disable the spell checker dialog if
332         none of USE_[AIP]SPELL are defined.
333
334 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
335
336         * tabular.C (setWidthOfCell): remove obsolete comment
337
338 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
339
340         * paragraph.C (bibitem):
341         * buffer_funcs.C (setCounter):
342         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
343
344 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
345
346         * text3.C (getStatus): immediately return after setOnOff
347
348         * rowpainter.C: fix drawing of appendix start
349
350 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
351
352         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
353         SwitchBetweenClasses and remove the unused return value.
354         Handle character styles, too
355
356 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
357
358         * factory.C (createInset): handle undefined character styles
359
360 2005-05-02  Angus Leeming  <leeming@lyx.org>
361
362         * buffer.C: protect the #include of utime.h with a preprocessor
363         guard.
364
365 2005-05-02  Angus Leeming  <leeming@lyx.org>
366
367         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
368         function so that auto-saving works, albeit in a blocking manner.
369
370         * Makefile.am: make compilation of the client sub directory, of
371         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
372         on conditionals set at configure time.
373
374         * SpellBase.[Ch]: no longer an abstract base class. Instead,
375         it can be compiled in its own right but has no-op functionality.
376
377         * aspell.C, pspell.C: remove preprocessor guards. The files should
378         be compiled only if the necessary functionality exists.
379
380         * lyxserver.C, lyxsocket.C: disable on Windows.
381
382 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
383
384         * text.C (leftMargin): Fix the parindent use bug (1764)
385         by dirty trick
386
387 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
388
389         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
390         argument.
391
392 2005-04-25  Angus Leeming  <leeming@lyx.org>
393
394         * Bidi.[Ch]:
395         * coordcache.[Ch]:
396         * ispell.C:
397         * lyxserver.C:
398         * mover.C:
399         * pch.h:
400         include <config.h> in .C files, not .h ones.
401         add licence blurb.
402         protect headers inside preprocessor guards.
403
404 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
405
406         * FuncStatus.h (StatusCodes): document
407
408 2005-04-21  André Pönitz  <poenitz@gmx.net>
409
410         * FuncStatus.h (enabled, onoff): document
411
412 2005-04-19  Angus Leeming  <leeming@lyx.org>
413
414         * BufferView_pimpl.C (cursorToggle): no longer test whether
415         any child processes have been reaped before calling
416         handleCompletedProcesses().
417
418 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
419
420         * text3.C (dispatch): fix, finally fix, the language problem in
421         new lyxtexts, without disabling on-the-fly font changes (Helge's
422         bug report)
423
424 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
425
426         * text3.C (dispatch): set cursor on double/triple click events
427         (bug 1811)
428
429 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
430
431         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
432         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
433
434         * rowpainter.C (paintFirst): simplify the code a little bit. In
435         particular, remove the test for secnumdepth.
436         * text.C (setHeightOfRow): only allocate space for chapter number
437         when updateCounters provided an actual label, instead of looking
438         at secnumdepth directly.
439
440         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
441
442         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
443         paragraphs when secnumdepth is large enough or, for environments,
444         when they are not the first in a sequence.
445
446 2005-04-17  Angus Leeming  <leeming@lyx.org>
447
448         * buffer.C (makeLaTeXFile): replace code to manipulate a path
449         containing space and '~' characters with a call to latex_path().
450
451 2005-04-17  Angus Leeming  <leeming@lyx.org>
452
453         * converter.C (convert): protect all args of convertDefault.sh
454         script with quotes.
455
456 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
457
458         * text3.C (dispatch): change the layout to "Caption" after inserting
459         a float.
460
461 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
462
463         * text3.C (dispatch): fix language problem in newly created
464         textinsets (and main text) in non-english docs
465
466 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
467
468         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
469         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
470         * text3.C (getStatus): disable LFUN_INSET_MODIFY
471
472 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
473
474         * lyxtext.h:
475         * text.C (metrics):
476         * text2.C (getFont):
477         * rowpainter.C (getFont): Fix metrics bug introduced by inset
478         fonts fix
479
480 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
481
482         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
483         output of \item arguments without trailing text.
484
485 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
486
487         * FontIterator.C (operator*): avoid a copy of the font.
488
489 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
490
491         * rowpainter.C (getFont): fix language bug from previous fix
492
493 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
494
495         * rowpainter.C (RowPainter, getFont): fix font inside inset
496         (bugs 1766, 1809)
497
498 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
499
500         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
501         preventing inserted font, deco, delim insets jumping to start of
502         surrounding inset.
503
504 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
505
506         * lyxfunc.C (dispatch): translate message before sending it to the
507         minibuffer.
508
509 2005-03-29  Angus Leeming  <leeming@lyx.org>
510
511         * lyx_main.C (priv_exec): call os::internal_path on each file passed
512         to LyX on the command line.
513
514 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
515
516         * vc-backend.C: use QuoteName to protect file names wherever
517         necessary.
518
519 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
520
521         * buffer.[Ch]:
522         * BranchList.h: fix bugs 1844,1845: document settings don't
523         stick
524
525 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
526
527         * lyxrc.C (setDefaults, read, output, getDescription): add support
528         for tex_allows_spaces.
529
530         * exporter.C (Export): allows files in directory containing spaces
531         if tex_allows_spaces is true.
532
533         * buffer.C (makeLaTeXFile): if the document path contains spaces,
534         output it in double quotes.
535
536 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
537
538         * rowpainter.C: use default text height for drawing change tracker
539         strikeout lines.
540
541 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
542
543         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
544
545 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
546
547         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
548         directory is missing.
549
550 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
551
552         * text2.C: fixed the fix, extended to other case.
553
554 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
555
556         * text2.C: fix for cursor up/down stuck in math [bug 1792]
557
558 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
559
560         * text2.C (cursorUp): get rid of a crash
561         * text.C (x2pos): add an assert
562
563 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
564
565         * lyxfunc.C (getStatus): fix warning when assertions are disabled
566
567         * text3.C:
568         * lyxfunc.C:
569         * dociterator.C: include <boost/current_function.hpp>, which is
570         needed when assertions are disabled.
571
572 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
573
574         * text2.C: fix for stuck cursor when traversing two
575         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
576
577 2005-02-25  Andreas Vox  <avox@arcor.de>
578
579         * output_docbook.C (makeParagraph): suppress trailing newline
580         after a run of paragraphs
581
582 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
583
584         * paragraph.C: fix for confused change tracker when pasting
585         text that begins with a lineseparator. [bug 1827]
586         (setChange(0, Change::INSERTED);)
587
588         * paragraph_funcs.C: fix for lost changes on triple-paste
589         in change tracking mode [bug 1827] (par.setChange()).
590
591 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
592
593         * text2.C (updateCounters, setCounter, expandLabel): move to
594         buffer_funcs.
595
596         * buffer_funcs.C (updateCounters): turn into a free standing
597         function and add a buffer parameter. Remove dead code for tracking
598         labelstring change.
599         (setCounter): change into a free-standing function which gets a
600         dociterator as argument. Use this iterator to fix captions in a
601         simple way. When no float is found above the caption, use the
602         labelstring of the caption layout as default.
603
604         * text.C (breakParagraph, backspace):
605         * text2.C (init, setLayout, changeDepth):
606         * text3.C (dispatch):
607         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
608         updateCounters.
609
610         * dociterator.C (forwardPar): make it much faster by calling
611         forwardPos() only when really necessary.
612
613         * output_docbook.C (makeCommand): adapt to expandLabel move.
614
615         * cursor.C: remove unused variable
616
617 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
618
619         * paragraph_funcs.C: fix crash when pasting insets in change
620         tracking mode [bug 1277] (honour change type in moveItem).
621
622 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
623
624         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
625
626 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
627
628         * BufferView.C (setCursor): change to use a DocIterator.
629         (gotoLabel): use BufferView::setCursor (other part of bug 781).
630         (putSelectionAt): adapt to BufferView::setCursor change.
631
632         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
633         moved here from LyXText and rewritten to use proper cursor
634         methods. Fixes bug 1787, 616 and 835.
635
636         * BufferView_pimpl.C (restorePosition): set the cursor correctly
637         when inside an inset (part of bug 781).
638         (dispatch): adapt to change of BufferView::setCursor.
639         (getStatus, dispatch): handle LFUN_GOTOERROR,
640         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
641
642         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
643         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
644         * text3.C (gotoNextInset, gotoInset): removed.
645
646 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
647
648         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
649
650 2005-02-15  Angus Leeming  <leeming@lyx.org>
651
652         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
653         can be used meaningfully in a comparison.
654
655 2005-02-13  André Pönitz  <poenitz@gmx.net>
656
657         * bufferview_funcs.C (coordOffset): improve cursor drawing
658
659 2005-02-13  André Pönitz  <poenitz@gmx.net>
660
661         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
662         * Cursor.C (dispatch): use fixIfBroken
663         * lyxfunc.C (getStatus): use fixIfBroken
664
665 2005-02-15  Angus Leeming  <leeming@lyx.org>
666
667         * lyx_main.C (error_handler):
668         * lyxfunc.C:
669         * lyxrc.C (setDefaults):
670         s/GetEnv/getEnv/.
671         #include "environment.h".
672
673         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
674
675 2005-02-15  Angus Leeming  <leeming@lyx.org>
676
677         * lyxserver.C (startPipe): squash MSVC warning "local variable
678         'fd' used without having been initialized".
679
680 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
681
682         * BufferView_pimpl.C: revert accidental commit.
683
684 2005-02-14  André Pönitz  <poenitz@gmx.net>
685
686         * dociterator.[Ch]: new member forwardPosNoDescent(),
687         which doesn't enter nested insets.
688         * text2.C (setFont): use forwardPosNoDescent() instead
689         of ForwardPos() (fixes crash on font change).
690
691 2005-02-13  Angus Leeming  <leeming@lyx.org>
692
693         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
694         only if lyxrc.path_prefix is not empty.
695
696 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
697
698         * bufferparams.C (readGraphicsDriver): prevent crash
699
700 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
701
702         * text2.C (setCounter): check for inInset() == 0
703
704 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
705
706         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
707         but use update() to get correct screen display; use convert
708         instead of istringstream.
709         (getStatus): handle LFUN_GOTO_PARAGRAPH
710
711         * lyxfunc.C (dispatch, getStatus): do not handle
712         LFUN_GOTO_PARAGRAPH here.
713
714 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
715
716         * text3.C (dispatch): size() -> depth()
717
718         * text2.C: remove some debug output
719
720         * paragraph.C: ws changes only
721
722         * lyxfunc.C (getStatus): size() -> depth()
723
724         * dociterator.h (clear, push_back, pop_back, internalData,
725         operator[], resize, empty): new functions
726         Make StableDocIterator and operator== be friends. Don't inherit
727         from std::vector use a privat class variable slices_ instead.
728         Modify to fit.
729
730         * dociterator.C: update because of not inheriting from std::vector
731         anymore. Call explictly to slices_ instead. Use depth() instead of
732         size() and top() instead of back()
733
734         * cursor.C: chagne size() -> depth and back() -> top(). Also
735         remove some direct operator[](i) calls in favour of foo[i]
736         (getFont): remove some dead code
737
738         * bufferview_funcs.C (coordOffset): size() -> depth()
739
740         * buffer.C: ws changes only
741
742         * CutAndPaste.C (eraseSelection): back() -> top()
743
744         * BufferView_pimpl.C (selectionRequested): back() -> top()
745
746         * BufferView.C (setCursor): size() -> depth()
747
748 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
749
750         * text3.C (cursorPrevious): return true if depm changed something
751         (cursorNext): ditto
752         (dispatch): rename sl to oldTopSlice, remove moving use the new
753         NoUpdate func attrib instead. Make sure that needsUpdate is set
754         for function that have NoUpdate, but where depm might have changed
755         the buffer anyway.
756
757         * text2.C (cursorLeft): make us return true if depm changed
758         something
759         (cursorRight): ditto
760         (cursorUpParagraph): ditto
761         (curosrDownParagraph): ditto
762         (cursorUp, cursorDown): ditto, make sure to read comments in code
763         (deleteEmptyParagraphMechanism): remove an assert, also return
764         true if just a single char was deleted.
765
766         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
767         cursor that we modify, to avoid modifying an active cursor before
768         we call setCursor. This allows depm to run. Also return true if
769         depm deleted something.
770
771         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
772         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
773         cursorDownParagraph, cursorPrevious and cursorNext, return true if
774         something was changed in the buffer because of them (ie. depm run)
775
776         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
777         debug messages. Make update by default be false. Make sure that
778         the result of update is retained throught several calls down to
779         dispatch.
780
781         * LyXAction.h: add a new func_attrib: NoUpdate
782
783         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
784         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
785         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
786         and LFUN_WORDLEFT
787         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
788
789 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
790
791         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
792         bv_->owner(), bv_->buffer() by direct references to the private
793         members.
794         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
795         (getStatus): isSavedPosition() is in BufferView::Pimpl.
796         (fitCursor): center() is in BufferView::Pimpl.
797         (getStatus, trackChanges, dispatch): no need for a temporary buf
798         variable
799         (fitCursor, workAreaDispatch): use workarea().workheight()
800
801 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
802
803         * CutAndPaste.C (pasteSelectionHelper): fix a crash
804
805 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
806
807         * buffer.C: format up to 241.
808         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
809         break if pasting into ERT
810         * lyxfunc.C (getStatus): suppress mathpanel and
811         LFUN_DIALOG_SHOW_NEW_INSET in ERT
812
813 2005-02-01  Angus Leeming  <leeming@lyx.org>
814
815         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
816
817 2005-02-01  Angus Leeming  <leeming@lyx.org>
818
819         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
820         calling fs::is_directory().
821
822 2005-01-31  Angus Leeming  <leeming@lyx.org>
823
824         * lyx_main.C (priv_exec): specify explicitly the relative location
825         of the top level build directory when run in-place.
826
827 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
828
829         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
830         LyXText containing the cursor, not the top-level one.
831
832         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
833         true.
834         (insertStringAsLines): rename par to pit; use temporary variable
835         par to hold a Paragraph; do not store par.layout() in a variable,
836         since the pointer may die when breaking paragraphs; pass pars to
837         breakParagraph() instead of Buffer::paragraphs().
838
839 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
840
841         * lyxlex_pimpl.h: #include <fstream>.
842
843         * BufferView.[Ch] (getLyXText): add a const version.
844
845         * BufferView_pimpl.C: add debug aids.
846
847         * RowList_fwd.h:
848         * buffer.h:
849         * lyxrow.h:
850         * paragraph_funcs.h: add commentary explaining what the class does.
851
852
853         * coordcache.[Ch]: add lots of commentary.
854         (startUpdating, doneUpdating): debug aids.
855         (arrays, insets, parPos, getParPos): accessors to private data.
856
857         * cursor_slice.[Ch] (text): add a const version.
858         * dociterator.[Ch] (text, innerText): add const versions.
859
860         * lyxtext.h (breakParagraph): change the keep_layout arg to a
861         bool.
862
863         * paragraph.C (getRow, pos2ros): add asserts.
864
865         * paragraph.h: add commentary. Lots of.
866
867         * paragraph.[Ch] (metrucs, draw): removed.
868
869         * cursor.C:
870         * rowpainter.[Ch]: const-correct changes.
871
872         * text.C: various obvious clean-ups. Removal of ancient cruft.
873         Bug fixes, even.
874
875 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
876
877         * vc-backend.C (find_file): rewrite to use boost.filesystem
878         (scanMaster): ditto
879
880         * main.C (main): set default name check for boost.filesystem to
881         no check
882
883         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
884         (open): ditto
885         (doImport): ditto
886         (actOnUpdatedPrefs): ditto
887
888         * lyx_main.C (init): rewrite to use boost.filesystem
889         (queryUserLyXDir): ditto
890
891         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
892         (getContentsOfAsciiFile): ditto
893
894         * lastfiles.C (readFile): rewrite to use boost.filesystem
895
896         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
897
898         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
899         (loadLyXFile): ditto
900
901         * buffer.C (Buffer): adjust for destroydir
902         (getLogName): rewrite to use boost.filesystem
903         (setFileName): ditto
904         (save): use fs::copy_file (from fs_extras)
905
906         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
907
908         * LaTeX.C (run): rewrite to use boost.filesystem
909         (scanAuxFiles): ditto
910         (handleFoundFile): ditto
911
912 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
913
914         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
915
916         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
917
918 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
919
920         * lyxlayout.[Ch]: change some vars from float to double
921
922         * buffer.C (readFile): make a local var const
923
924         * Several files: use convert<> instead of atoi,strToXXX and friends
925
926 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
927
928         * LaTeXFeatures.[Ch]: Add a static list packages_ that
929         holds the contents of packages.lst. New functions getAvailable
930         and isAvailable to parse and check that list, resp.
931
932         * LyXAction.C:
933         * lfuns.h:
934         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
935
936         * bufferparams.[Ch]: new param output_changes.
937
938         * Buffer.C: increase file format to 240.
939         Use output_changes and isVailable.
940
941         * changes.[Ch]:
942         * paragraph.C:
943         * paragraph_pimpl.C: Use output_changes and isVailable.
944
945 2005-01-23  Angus Leeming  <leeming@lyx.org>
946
947         * output_latex.C: #include "insetbibitem.h", rather than
948         forward declare function bibitemWidest.
949
950 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
951
952         * lyx_main.C (init): make it compile on the Mac.
953
954 2005-01-20  Angus Leeming  <leeming@lyx.org>
955
956         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
957         (setLyXMisc): (char string literal) != (char string literal) is
958         performing a comparison on the addresses. Convert one operand
959         explicitly to string to guarantee expected behaviour.
960         From MSVC warning.
961
962 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
963
964         * buffer.C:
965         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
966
967         * output_plaintext.C: remove unneeded #include gzstream.h.
968
969 2005-01-20  Angus Leeming  <leeming@lyx.org>
970
971         * SpellBase.h: rename some of the elements of the Result enum.
972
973         * aspell_local.h:
974         * ispell.h:
975         * pspell.h:
976         * aspell.C (check):
977         * ispell.C (check):
978         * pspell.C (check): ditto
979
980 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
981
982         * buffer.C: add #include <fstream>.
983
984         * lyx_main.C (init): Compile fix.
985
986         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
987
988 2005-01-20  Angus Leeming  <leeming@lyx.org>
989
990         * mover.h: change commentary to reflect the changed meaning of
991         the $$s placeholder.
992
993 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
994
995         * output_linuxdoc.C (linuxdocParagraphs): silence warning
996
997         * lyxfind.C (MatchString::operator()): remove bogus semicolon
998
999 2005-01-20  Angus Leeming  <leeming@lyx.org>
1000
1001         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1002         printing diagnostic data by not dereferecing an iterator past the
1003         end.
1004
1005 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1006
1007         * buffer.C (readHeader): use "&&" rather than "and".
1008
1009         * lyxserver.h (inPipeName, outPipeName): make these const.
1010
1011 2005-01-19  Angus Leeming  <leeming@lyx.org>
1012
1013         * lyx_main.C (error_handler, init): protect SIGHUP with
1014         #ifdef SIGHUP guards.
1015
1016 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1017
1018         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1019
1020 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1021
1022         * text.C (setHeightOfRow): add a margin at the top and bottom of
1023         the document (bug 1761)
1024
1025 2005-01-17  Angus Leeming  <leeming@lyx.org>
1026
1027         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1028         with "python ". Workaround for a brain-dead Windows.
1029
1030 2005-01-16  Angus Leeming  <leeming@lyx.org>
1031
1032         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1033         for MacOSX and Windows to use prependEnvPath.
1034         Strip out the hard-coded block to add elements to the PATH for
1035         MacOSX and replace it with a call to prependEnvPath using the
1036         contents of LyXRC::path_prefix.
1037         (queryUserLyXDir): strip out the code to run reconfigure, instead
1038         returning a boolean indicating the necessity to do so.
1039         (reconfigureUserLyXDir): contains the code to reconfigure the
1040         user support directory. Is now called after the various LyXRC data
1041         files have been read.
1042
1043         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1044
1045 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1046
1047         * converter.[Ch] (convert): take a new parameter try_default. Use
1048         a default converter (imagemagick) if try_default is true.
1049
1050 2005-01-13  Angus Leeming  <leeming@lyx.org>
1051
1052         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1053         os::cygwin_path_fix.
1054         (write): output LyXRC::cygwin_path_fix as necessary.
1055
1056 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1057
1058         * lyxrc.h:
1059         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1060
1061 2005-01-12  Angus Leeming  <leeming@lyx.org>
1062
1063         * lyx_main.C (init): set the PATH variable to include the
1064         directory containing the LyX binary when running on Mac or Windows.
1065
1066 2005-01-12  Angus Leeming  <leeming@lyx.org>
1067
1068         * lyx_main.C (init): remove cruft that purports to set the locale
1069         dir. It doesn't and is not needed anyway.
1070
1071 2005-01-10  Angus Leeming  <leeming@lyx.org>
1072
1073         * Makefile.am: remove the lyx_main.C special casing.
1074
1075         * BufferView_pimpl.C:
1076         * bufferlist.C:
1077         * exporter.C:
1078         * lyx_cb.C:
1079         * lyx_main.C:
1080         * lyxfunc.C:
1081         * messages.C: use support/package.h to provide the paths to the
1082         various directories used by LyX.
1083
1084 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1085
1086         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1087         layout if pasting into an empty paragraph)
1088
1089 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1090
1091         * tex-accent.C: add <string>
1092
1093 2005-01-06  José Matos  <jamatos@lyx.org>
1094
1095         * ParagraphParameters.C (write): put every parameter in its own line.
1096         * paragraph.C (write): reduce number of consecutive empty lines exported.
1097         * buffer.C (LYX_FORMAT): increase file format to 239.
1098
1099 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1100
1101         * everywhere: change support/tostr.h -> support/convert.h
1102
1103         * tabular.C: make all write_attributes templates, tostr -> convert
1104
1105         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1106         (emptyTag): and -> &&, and fix type for ret from getChar
1107         (getFirstWord): fix type for ret from getChar
1108         (onlyText): and -> &&
1109         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1110         getChar
1111
1112         * toc.C (goTo, action):
1113         * text3.C (dispatch):
1114         * text.C (currentState):
1115         * tex-accent.C (DoAccent):
1116         * sgml.C:
1117         * lyxrc.C:
1118         * lyxfunc.C (menuNew):
1119         * lyxfinc.C (replace):
1120         * counters.C (laberItem):
1121         * bufferview_funcs.C (font2string):
1122         * bufferparams.C (writeFile):
1123         * buffer.C (readFile):
1124         * Spacing.C (set):
1125         * MenuBackend.C: tostr -> convert
1126
1127         * LaTeX.C (runMessage): fix format
1128         (scanAuxFiles): tostr -> convert
1129
1130         * BufferView_pimpl.C (savePosition): fix format
1131         (restorePosition): ditto
1132         (dispatch): ditto
1133
1134 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1135
1136         * Spacing.[Ch]: New method getValueAsString().
1137
1138         * Spacing.[Ch]:
1139         * bufferparams.C:
1140         * ParagraphParameters.C:
1141         * lyxlayout.C:
1142         * text.C:
1143         * text3.C: store/read spacing value as string.
1144
1145         * rowpainter.C: change float value (spacing_val) to double.
1146
1147         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1148         broken custom document spacing).
1149
1150 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1151
1152         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1153         namespace, also more use of temp references and const
1154
1155         * cursor.[Ch] (getStatus): move to lyxfunc.C
1156
1157         * bufferparams.C: reformat slightly
1158
1159         * bufferview_funcs.C (font2string): constify arg
1160
1161         * changes.C:
1162         * converter.C:
1163         * counters.C:
1164         * bufferlist.C:
1165         * buffer_funcs.C: (many funcs): constify arg on function
1166         definitions, also make more local vars const, also add ASSERTS on
1167         pointer args.
1168
1169         * buffer.C (LYX_FORMAT): put const in correct place
1170         (many funcs): constify arg on function definitions, also make
1171         more local vars const
1172
1173         * aspell_local.h: remove "struct" from typdef setup
1174
1175         * aspell.C (check): make word_ok const
1176         (nextMiss): simplify slightly
1177         (error): ditto
1178
1179 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1180
1181         * lyxrc.[Ch]: store all float values as strings.
1182         use int (not float) for lyxrc.dpi.
1183
1184 2005-01-04  Angus Leeming  <leeming@lyx.org>
1185
1186         * lyx_cb.C (Reconfigure):
1187         * lyx_main.C (queryUserLyXDir):
1188         to run the <system_lyxdir>/configure correctly on Windows, prefix
1189         the path to the script with "sh " when generating the string that
1190         is passed to system().
1191
1192 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1193
1194         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1195
1196 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1197
1198         * lyxlength.C (asLatexString): get rid of setprecision
1199
1200 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1201
1202         * text2.C (setLayout): remove unused variable endpit.
1203         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1204
1205         * paragraph.C (onlyText): remove unused variable style.
1206
1207         * cursor.C (bruteFind): remove unused variables beg and end.
1208
1209         * Makefile.am (dist_noinset_DATA): not needed anymore
1210
1211         * cheaders/*: remove.
1212
1213 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1214
1215         * text3.C: fix LFUN_MATH_MODE.
1216
1217 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1218
1219         * buffer_funcs.C (countWords): new function. Counts words between
1220         two iterators.
1221
1222         * BufferView_pimpl.C (getStatus, dispatch): handle
1223         LFUN_WORDS_COUNT.
1224
1225         * LyXAction.C (init):
1226         * lfuns.h: add LFUN_WORDS_COUNT.
1227
1228 2004-12-19  Angus Leeming  <leeming@lyx.org>
1229
1230         * buffer.C (save): s/slashify_path/internal_path/.
1231
1232 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1233
1234         * lyxfind.C (findChange): do not search for end of pars, because
1235         the change tracker cannot handle this (fixes bug 1719).
1236
1237 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1238
1239         * paragraph.[Ch] (autoBreakRows): remove
1240
1241         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1242
1243         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1244         avoid using the paragraph one
1245
1246         * text2.C (LyXText, insertStringAsLines): adjust
1247
1248 2004-12-16  Angus Leeming  <leeming@lyx.org>
1249
1250         * bufferlist.C:
1251         * lyx_main.C:
1252         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1253
1254 2004-12-14  Angus Leeming  <leeming@lyx.org>
1255
1256         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1257
1258         * bufferlist.C (emergencyWrite):
1259         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1260         GetEnvPath("HOME").
1261
1262 2004-12-14  Angus Leeming  <leeming@lyx.org>
1263
1264         * main.C: (main): no longer pass pointers to os::init.
1265
1266 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1267
1268         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1269         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1270
1271 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1272
1273         * lyxfunc.C:
1274         * text3.C: remove selection_possible global flag
1275
1276 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1277
1278         * text2.C (getSelectionSpan): remove
1279         (changeDepth, changeDepthAllowed): adjust
1280
1281 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1282
1283         * Makefile.am (BOOST_LIBS): use boost variables
1284
1285 2004-12-03  José Matos  <jamatos@lyx.org>
1286
1287         * buffer.C: format up to 238.
1288
1289 2004-12-03  José Matos  <jamatos@lyx.org>
1290
1291         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1292
1293 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1294
1295         * cursor.C (goUpDown): remove call to idxUpDown2
1296
1297 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1298
1299         * tabular.[Ch]: use size_t-like types for cell, row and column
1300         indices
1301
1302 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1303
1304         * lyxfunc.C (getStatus): do not lose previous information when
1305         calling BufferView::getStatus; do not set a default "Command
1306         disabled" message at the beginning, but just before returning.
1307
1308 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1309
1310         * cursor.h (getStatus): add better comment from src/cursor.C
1311
1312 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1313
1314         * text3.C (getStatus): return false when the lfun is not handled
1315
1316 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1317
1318         * broken_headers.h: remove
1319
1320         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1321
1322 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1323
1324         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1325         offset_ref accessors
1326
1327         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1328         top_y_, merge fitcursor with update
1329         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1330         coord scheme
1331         (metrics): introduce
1332         (workAreaDispatch): adapt to new coord scheme
1333         (redoCurrentBuffer): remove
1334
1335         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1336
1337         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1338         CurStatus enum.
1339
1340         * coordcache.[Ch]: add paragraph cache and helpers
1341
1342         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1343         adjust everywhere
1344
1345         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1346         (targetX, setTargetX): introduce
1347
1348         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1349         baseline -> ascent, as the rest of lyx
1350
1351         * lyxtext.h: remove redoParagraphs, updateParPositions,
1352         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1353         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1354         have ascent/descent (ascent is ascent of first par)
1355
1356         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1357         step of BufferView
1358
1359         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1360
1361         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1362
1363         * pariterator.C: fix infinite loop introduced in par->pit renaming
1364
1365         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1366         in insets and LyXText, draw two off-screen paragraphs using
1367         NullPainter, and adapt to new coord scheme
1368
1369         * text.C:
1370         * text2.C:
1371         * text3.C: adapt lfun handlers to the new coord scheme, which
1372         means: there's only guaranteed coord information for onscreen pars
1373         plus one above and one below. This implies that one can do search
1374         from y coordinates in the range [-1,workHeight]
1375
1376 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1377
1378         * rename a lot of InsetOld to InsetBase
1379
1380 2004-11-25  Angus Leeming  <leeming@lyx.org>
1381
1382         * BufferView_pimpl.C:
1383         * lyx_cb.C:
1384         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1385
1386 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1387
1388         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1389         call BufferView::getStatus if LCursor::getStatus did nothing
1390         (setStatusMessage, getStatusMessage): removed.
1391
1392         * FuncStatus.C (message): new methods. Used to provide an error
1393         message indicating why a command is disabled.
1394         (clear, |=, FuncStatus): update for message.
1395
1396 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1397
1398         * lyxfunc.C (dispatch): always call sendDispatchMessage
1399
1400 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1401
1402         * BufferView.C:
1403         * BufferView_pimpl.C:
1404         * CutAndPaste.C:
1405         * FontIterator.C:
1406         * buffer.C:
1407         * cursor.C:
1408         * cursor_slice.[Ch]:
1409         * dociterator.[Ch]:
1410         * lyxfind.C:
1411         * paragraph_funcs.C:
1412         * pariterator.C:
1413         * rowpainter.C:
1414         * text.C:
1415         * text2.C:
1416         * text3.C:
1417         * undo.C: par->pit renaming
1418
1419 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1420
1421         * tabular.C (cellstruct): use initialization, store a shared_ptr
1422         to insettext instead of the insettext directly, adjust to fit.
1423         (operator=):  new function
1424         (swap): new function
1425         (rowstruct): use initialization
1426         (columnstruct): use initialization
1427         (ltType): use initialization
1428
1429
1430         * lyxlength.h (swap): new function
1431
1432         * LColor.[Ch] (operator=): use the common semantics
1433
1434 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1435
1436         * lyxfind.C (findNextChange): update the bufferview after setting
1437         the selection.
1438
1439 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1440
1441         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1442         number of InsetOptArgs has already been inserted.
1443
1444         * output_latex.C (latexOptArgInsets): new method. This outputs all
1445         the optarg insets, up to the limit defined in the layout file.
1446         (optArgInset): removed
1447         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1448
1449 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1450
1451         * paragraph.C (isLetter): remove special spellchecker-related
1452         code; return true also for digits
1453         (isWord, isKomma): remove
1454
1455         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1456         * lyxfind.C (MatchString()): use isLetter instead of isWord
1457
1458 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1459
1460         * pariterator.h (operatir=): comment out un-implemented member
1461         function.
1462
1463         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1464         static cast.
1465
1466 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1467
1468         * lyxfont.h: include LColor.h to satisfy concept checks.
1469
1470 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1471
1472         * pariterator.h: add typdefs for value_type, difference_type,
1473         pointer and reference to satisfy concept checks. Also add default
1474         constructor for same reason.
1475
1476         * pariterator.C (operator++): add post-increment operator to
1477         satisfy concept checks.
1478
1479         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1480         checks.
1481
1482         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1483
1484         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1485         checks. Also rename base_type to BaseType to follow naming
1486         standard better.
1487
1488         * FloatList.h: include Floating.h to satisfy concept checks.
1489
1490 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1491
1492         * lyxfunc.C (getStatus): when the origin of the request is menu or
1493         toolbar, and the LyXView does not have focus, do as if there was
1494         no buffer (bug 1720)
1495
1496         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1497         FuncRequest to individual entries of LFUN_SEQUENCE
1498
1499 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1500
1501         * output_latex.C (TeXOnePar): override runparams.moving_arg
1502         according to the needprotect value of the current paragraph (bug
1503         1739)
1504
1505         * paragraph.C (simpleTeXOnePar): no need to override
1506         runparams.moving_args here
1507
1508 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1509
1510         * vspace.C: fix off-by-one-error, related to fix #1682
1511
1512 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1513
1514         * lengthcommon.C: a more general fix for bug 1682
1515
1516 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1517
1518         * text.C (backspace): fix crash
1519
1520 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1521
1522         * format.[Ch] (getFormatFromFile): new method
1523         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1524
1525 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1526
1527         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1528
1529 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1530
1531         * lyxfunc.C (dispatch): remove the verbose argument
1532         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1533         instead
1534
1535         * kbmap.C (defkey): set the origin of func to KEYBOARD
1536
1537         * MenuBackend.C (MenuItem):
1538         * ToolbarBackend.C (add): set the origin of func to UI
1539
1540         * funcrequest.[Ch]: add origin member, which indicates which part
1541         of LyX requests an action
1542
1543 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1544
1545         * converter.C (move): don't lie in the error message
1546         * converter.h (isReachable, move): document
1547
1548 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1549
1550         * buffer.C: remove unused using lyx::support::atoi
1551         * paragraph_funcs.C: ditto
1552
1553 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1554
1555         * bufferlist.C (exists): use bind and equal_to instead of
1556         compare_memfun
1557         (getBuffer): ditto
1558         * lyxtextclasslist.C (NumberOfClass): ditto
1559
1560         * cursor.C (insert): use for_each instead of explicit for loop
1561
1562         * bufferlist.C (getFileNames): use std::transform and
1563         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1564
1565         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1566         for loop
1567
1568         * buffer.C (changeLanguage): use for_each instead of explicit for
1569         loop
1570         (hasParWithID): implement using getParFromID
1571
1572         * LaTeXFeatures.C: ws change only
1573
1574         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1575         to cleanup a bit.
1576
1577         * BufferView_pimpl.C (trackChanges): use for_each instead of
1578         expilicit for loop
1579
1580 2004-11-04  André Pönitz  <poenitz@gmx.net>
1581
1582         * undo.h:
1583         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1584
1585         * dociterator.C (asDocIterator): use hard assert again.
1586
1587 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1588
1589         * lyxlength.C (asLatexString): rewrite so that it does not use
1590         snprintf anymore
1591
1592 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1593
1594         * text3.C (specialChar, dispatch): make sure cursor moves to the
1595         right after inserting an inset
1596
1597 2004-11-02  José Matos  <jamatos@lyx.org>
1598
1599         * output_docbook.C (docbook):
1600         * paragraph.C (getID):
1601         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1602         garantee that the output is always legal.
1603
1604         * tabular.C (docbook):
1605         * outputprams.[Ch]: remove mixed contents.
1606
1607 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1608
1609         * text2.C (setCounter): prevent endless loop
1610
1611 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1612
1613         * exporter.C (copyFile): use the mover instead of support::copy()
1614         * exporter.C (Export): pass format and latex name to copyFile()
1615         * exporter.h (addExternalFile): document
1616         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1617
1618 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1619
1620         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1621
1622 2004-10-30  José Matos  <jamatos@lyx.org>
1623
1624         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1625         text and no inset or font change. This allows to use CDATA
1626         sections just for the whole paragraph.
1627
1628 2004-10-30  José Matos  <jamatos@lyx.org>
1629
1630         * paragraph.C (getFirstWord): remove unused variable.
1631
1632 2004-10-30  José Matos  <jamatos@lyx.org>
1633
1634         * paragraph.C (getFirstWord): the content should always be escaped
1635         there.
1636         (simpleDocBookOnePar):
1637         * output_docbook.C (makeEnvironment): replace reference to CDATA
1638         to style pass_thru.
1639
1640 2004-10-30  José Matos  <jamatos@lyx.org>
1641
1642         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1643
1644 2004-10-30  José Matos  <jamatos@lyx.org>
1645
1646         * output_docbook.C (makeParagraphs):
1647         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1648         standard paragraph has only a given type of content drop the wrapper.
1649
1650 2004-10-29  José Matos  <jamatos@lyx.org>
1651
1652         * output_docbook.C (makeEnvironment):
1653         * sgml.C (openTag):
1654         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1655
1656 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1657
1658         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1659         (cleanID): sanitize any id.
1660
1661 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1662
1663         * buffer.C, lyxlex_pimpl.C:
1664         * lyxlex_pimpl.C (setFile):
1665         s/getExtFromContents/getFormatFromContents/
1666
1667 2004-10-28  José Matos  <jamatos@lyx.org>
1668
1669         * output_docbook.C (makeEnvironment): move id to broadest possible
1670         scope.
1671
1672         * sgml.C (openTag): apply substitution of <> for all attributes.
1673
1674 2004-10-28  José Matos  <jamatos@lyx.org>
1675
1676         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1677         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1678         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1679
1680         * sgml.[Ch]: new version for open and closeTag for paragraph and
1681         for strings. Now they handle the ids of paragraphs.
1682
1683 2004-10-26  Angus Leeming  <leeming@lyx.org>
1684
1685         * Makefile.am: add mover.[Ch].
1686
1687         * converter.C (convert, move): use the new Movers to move external
1688         files to the temp directory.
1689
1690         * lyx_main.C (init): ensure that the global system_movers data
1691         is initialised.
1692
1693         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1694         preferences file.
1695
1696         * mover.[Ch]: new files, defining a Mover as a utility to move an
1697         external file between directories and, if necessary, manipulate this
1698         file using a helper script.
1699
1700 2004-10-25  José Matos  <jamatos@lyx.org>
1701
1702         * output_docbook.C (makeCommand): merge two if's that tested the
1703         same condition.
1704
1705 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1706
1707         * sgml.C (escapeString): fix warning in a better way
1708
1709 2004-10-25  José Matos  <jamatos@lyx.org>
1710
1711         * sgml.C (escapeString): import the require boosts header file for
1712         tie, and avoid a signed unsigned comparison.
1713
1714 2004-10-25  José Matos  <jamatos@lyx.org>
1715
1716         * sgml.h: add #include <string>
1717
1718 2004-10-25  José Matos  <jamatos@lyx.org>
1719
1720         * sgml.[Ch] (escapeString): new function to escape all the string.
1721
1722 2004-10-24  José Matos  <jamatos@lyx.org>
1723
1724         * paragraph.[Ch] (getFirstWord): new function to get the first
1725         word. Useful for description.
1726         (simpleDocBookOnePar): remove depth argument, add another that
1727         says where to start the paragraph.
1728
1729         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1730         use the new functions to fix cleanly the support for descriptions.
1731
1732 2004-10-24  José Matos  <jamatos@lyx.org>
1733
1734         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1735         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1736         * output_linuxdoc.C (linuxdocParagraphs):
1737         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1738         add buffer as argument.
1739
1740 2004-10-24  José Matos  <jamatos@lyx.org>
1741
1742         * output_docbook.C (makeEnvironment, searchEnvironment): place
1743         CDATA inside paragraphs and fix scope for listitems.
1744
1745 2004-10-24  José Matos  <jamatos@lyx.org>
1746
1747         * output_docbook.C: remove using statement for stack.
1748
1749 2004-10-23  José Matos  <jamatos@lyx.org>
1750
1751         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1752         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1753         docbook. The new scheme is recursive and makes use of iterators, the
1754         same as latex export works.
1755         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1756         directly with the paragraph contents. This code was moved up to
1757         output_docbook.C (docbookParagraphs).
1758         * sgml.C (openTag, closeTag): removed unneeded newlines.
1759         (closeEnvTags) removed.
1760
1761 2004-10-23  André Pönitz  <poenitz@gmx.net>
1762
1763         * undo.C (textUndoOrRedo):
1764         * dociterator.C (asDocIterator): work around crash
1765
1766         * cursor.C (getStatus): replace ASSERT by more verbose error message
1767           and manual correction of the problem. Should increase stability
1768           while providing more sensible information.
1769
1770 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1771
1772         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1773
1774         * bufferlist.C (previous, next): new methods
1775
1776         * lfuns.h:
1777         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1778
1779 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1780
1781         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1782         entities to preamble.
1783
1784 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1785
1786         * messages.C (Pimpl): strip off translation context information
1787
1788 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1789
1790         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1791         the cursor is correct (bug 1694)
1792
1793 2004-10-13  José Matos  <jamatos@lyx.org>
1794
1795         * output_docbook.C (docbookParagraphs): fix closing tags in the
1796         end of the document.
1797
1798 2004-10-09  José Matos  <jamatos@lyx.org>
1799
1800         * buffer.C: format up to 237.
1801         * bufferparams.C (write): use tostr to convert booleans to strings.
1802
1803 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1804
1805         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1806
1807 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1808
1809         * LaTeX.C: implement use of babel language in xindy.
1810
1811 2004-10-05  José Matos  <jamatos@lyx.org>
1812
1813         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1814         Add new translators to help reading and writing the lyx file.
1815
1816 2004-10-05  José Matos  <jamatos@lyx.org>
1817
1818         * ParagraphParameters.C (read):
1819         * text.C (readParToken): replace nexToken by more appropriate lex
1820         methods.
1821
1822 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1823
1824         * LaTeX.C (runMakeIndex):
1825         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1826         (usually 'makeindex') configurable.
1827
1828         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1829         with a variable rather than with a number.
1830
1831 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1832
1833         * output_latex.C (TeXOnePar): make sure font setting is the first
1834         thing that gets output (and the last at the end). Should fix bug
1835         1404.
1836
1837 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1838
1839         * pch.h: use proper signal include
1840
1841         * LaTeX.h: Use preferred calling of Boost.Signal
1842         * buffer.h: ditto
1843
1844 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1845
1846         * pch.h: dont include <boost/function/function0.hpp>
1847
1848         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1849
1850         * paragraph_pimpl.h: remove usage of ShareContainer
1851
1852         * paragraph_pimpl.C: remove initialization of ShareContainer.
1853
1854 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1855
1856         Fix bug #1666
1857
1858         * BufferView.C (putSelectionAt): change the semantics when
1859         backwards == true: now, this just swaps cursor and anchor wrt the
1860         forward case
1861
1862         * BufferView.h (putSelectionAt): add some documentation
1863
1864         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1865         make sure backwardChar is done at least once (to avoid getting
1866         stuck)
1867         (findNextChange): use putSelectionAt in the forward direction
1868         (operator()): use Paragraph::isWord
1869
1870 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1871
1872         * Spacing.C (set): c_str fix
1873
1874 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1875
1876         * lyx_cb.C (Reconfigure): quote the name of configure script in
1877         case it contains spaces
1878
1879 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1880
1881         * client: new dir
1882
1883         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1884         (BOOST_LIBS): use top_buildir when looking for the file
1885
1886 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1887
1888         * pch.h: do not use include boost/format.hpp, multiple symbols
1889                 will result (gcc bug)
1890
1891
1892 2004-08-23  José Matos  <jamatos@lyx.org>
1893
1894         * bufferparams.C (readToken): fix reading of the author field.
1895
1896 2004-08-20  José Matos  <jamatos@lyx.org>
1897
1898         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1899
1900 2004-08-20  José Matos  <jamatos@lyx.org>
1901
1902         * lyxlex.[Ch] (findToken): remove function.
1903
1904         * ParagraphParameters.C (findToken):
1905         * bufferparams.C (findToken): replace call for previous function
1906         with local copy. This local function has one more argument, the
1907         read string argument.
1908
1909 2004-08-16  José Matos  <jamatos@lyx.org>
1910
1911         * ParagraphParameters.C (write):
1912         * Spacing.C (writeFile):
1913         * bufferparams.C (writeLaTeX):
1914         * lyx_cb.C (Reconfigure):
1915         * paragraph.C (write):
1916         * tabular.C (write): remove unnecessary space at end of line.
1917
1918
1919 2004-08-16  José Matos  <jamatos@lyx.org>
1920
1921         * text.C (readParagraph): remove debug message.
1922
1923 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1924
1925         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1926         crash
1927
1928         * output_plaintext.C (asciiParagraph): set depth correctly
1929
1930         * outputparams.h: add member depth
1931
1932         * paragraph_funcs.C (ownerPar): remove.
1933
1934         * text2.C (setCounter): remove first_pit; comment out some
1935         non-working code that uses ownerPar
1936
1937         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1938         uses ownerPar
1939
1940 2004-08-16  José Matos  <jamatos@lyx.org>
1941
1942         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1943         For the same level of importance use the same chanel to report problems.
1944         (read): add code to deal with \begin_body and \end_body.
1945
1946
1947 2004-08-15  José Matos  <jamatos@lyx.org>
1948
1949         * lyxlex.C (getString): fix comment, buffer::readBody is now
1950         buffer:readDocument.
1951
1952         * tex-strings.C (string_papersize): Default -> default,
1953         Custom -> custom, for consistency with other options.
1954
1955 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1956
1957         * pch.h: new file
1958
1959         * Makefile.am: support pch
1960
1961 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1962
1963         * text.C (readParToken): remove the static LyXFont variable and
1964         pass it as a parameter instead. This fixes a nasty bug where an
1965         inset will be inserted with a bad font in some situations
1966         (readParagraph): adapt
1967
1968         * text2.C (setCounter): reduce number of calls to pars_[pit]
1969
1970         * text.C (singleWidth): add an assert, fix a test
1971
1972         * rowpainter.C (paintText): reduce number of calls to singleWidth
1973
1974         * paragraph.C (isHfill):
1975         (isNewline): ws only
1976
1977 2004-08-14  André Pönitz  <poenitz@gmx.net>
1978
1979         * text.C:
1980         * text2.C:
1981         * rowpainter.C:
1982         * lyxtext.h (several functions): use a Paragraph & argument
1983         instead of par_type
1984
1985 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1986
1987         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1988
1989         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1990
1991         * text.C (singleWidth): remove useless test
1992
1993 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1994
1995         * tabular.h: remove bogus comments
1996
1997         * tabular.C (getDescentOfRow):
1998         (isPartOfMultiColumn): add assertions
1999
2000         * lyxlength.C (inPixels): remove #warning
2001
2002 2004-08-14  André Pönitz  <poenitz@gmx.net>
2003
2004         * paragraph.h: inline getChar()
2005
2006         * BufferView.h: remove unused declarations
2007
2008 2004-08-14  José Matos  <jamatos@lyx.org>
2009
2010         * Buffer.[Ch] (readDocument): new name for old readBody.
2011         * Buffer.C: new file format, new keywords: \begin_document,
2012         \begin_header, \begin_body, \end_body.
2013
2014         * bufferparams.C (readToken): replace all calls to lex.nextToken
2015         by lex.next(). Do the same to eatLine except where really needed.
2016
2017         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2018         line when writing to the lyx file.
2019
2020         * output_plaintext.C (asciiParagraph): fix Bibliography style
2021         handling.
2022
2023         * text.C (read): fix end of file handling.
2024
2025 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2026
2027         * MenuBackend.C (Menu::operator[]): new method to access
2028         individual menu items
2029         (Menu::hasFunc): new method. search for an item that corresponds
2030         to a given func
2031         (MenuBackend::specialMenu): new method
2032         (MenuBackend::expand): if a special menu has been set, skip
2033         entries whose func() appears in this menu
2034
2035 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2036
2037         * text3.C: use Debug::DEBUG a bit more
2038
2039         * text.C (leftMargin): try to simplify a tiny bit change var x to
2040         l_margin. Dont output the wide margins always.
2041         (rightMargin): no margin in inner texts
2042
2043         * rowpainter.h (nestMargin): new func
2044         (changebarMargin): new func
2045         (rightMargin): new func
2046
2047         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2048         now functions.
2049         (paintLast): ditto
2050
2051         * factory.C (createInset): modify setDrawFrame
2052
2053         * cursor.C: use Debug::DEBUG a bit more
2054
2055 2004-08-14  André Pönitz  <poenitz@gmx.net>
2056
2057         * coordcache.[Ch]:
2058         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2059         cache for all insets in (at least partially) visible (top-level)
2060         paragraphs.
2061
2062         * BufferView_pimpl.C: reset external coord cache before every update.
2063         This means the coord cache only contains valid entries.
2064
2065 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2066
2067         bug 1096
2068         * BufferView_pimpl.C (getInsetByCode): move function out of class
2069         and change in to a template in anon namespace. Also fix to do what
2070         suits us better.
2071
2072 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2073
2074         bug 1305
2075         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2076         of char
2077         (breakParagraph): rename par to par_offset and use a local
2078         reference. Add code to keep the language over a rebreak.
2079         (breakParagraphConservative): rename par to par_offset, use a
2080         local reference
2081         (mergeParagraph): ditto
2082         (outerHook): ditto
2083         (isFirstInSequence): ditto
2084         (outerFont): rename pit to par_offset
2085
2086         * paragraph.C: ws change
2087         * paragraph.h: ditto
2088         * text3.C: ditto
2089         * text.C: ditto
2090
2091 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2092
2093         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2094         treatment for ']'
2095
2096         * paragraph.C (simpleTeXOnePar): when we have a \item with
2097         optional argument, enclose the argument with curly brackets (in
2098         case it contains a closing square bracket)
2099
2100         * text2.C (editXY):
2101         * text2.C (editXY):
2102         * text3.C (checkInsetHit): constify
2103
2104 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2105
2106         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2107         documents (bug 1629)
2108
2109 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2110
2111         Fix toggling of collapsable insets with the mouse (bug 1558)
2112
2113         * lyxfunc.C (dispatch): adapt to LCursor changes
2114
2115         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2116         make sure that dispatch is not invoked twice
2117
2118         * cursor.C (needsUpdate): new method
2119         (dispatch): return void
2120         (result): new method, to access the DispatchResult of the cursor.
2121
2122 2004-08-13  José Matos  <jamatos@lyx.org>
2123
2124         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2125
2126 2004-08-13  André Pönitz  <poenitz@gmx.net>
2127
2128         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2129
2130         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2131           multiple cells
2132
2133 2004-08-12  André Pönitz  <poenitz@gmx.net>
2134
2135         * text3.C: take out the 'cursor right' form insertInset and only
2136         do it in those places when it is really needed. Fixes crash on
2137         C-m...
2138
2139 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2140
2141         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2142
2143         * BufferView_pimpl.C (setBuffer): initialize the current font of
2144         the underlying LyXText
2145
2146 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2147
2148         * kbsequence.C (print): use UI native formatting for menu
2149         shortcuts
2150
2151         * text.C (insertChar): call Paragraph::insertChar with a font
2152         argument (cosmetic)
2153
2154         * paragraph.C (insertInset, insertChar): the version that takes a
2155         LyXFont argument is now a wrapper around the other one (the
2156         opposite used to be true).
2157
2158         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2159         argument. Font setting is done in Paragraph now.
2160
2161 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2162
2163         * outputparams.h: add new members intitle and lang.
2164
2165         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2166         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2167
2168 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2169
2170         * text3.C (dispatch): remove special handling of button 4 and 5,
2171         it is now taken care of in the frontend code.
2172
2173 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2174
2175         * Spacing.h: add <string> (STLPort compile fix)
2176
2177 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2178
2179         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2180
2181 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2182
2183         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2184         to bool.
2185
2186         * converter.C (showMessage): inherit from unary_function, make
2187         operator() const.
2188
2189         * buffer.C (writeFile): initialize retval
2190
2191         * InsetList.h: rename private variable list to list_
2192         * InsetList.[Ch]: adjust accordingly.
2193
2194 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2195
2196         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2197         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2198         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2199         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2200         * ParagraphParameters.C, LaTeXFeatures.C: replace
2201         "support/std_sstream.h" with <sstream>
2202
2203 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2204
2205         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2206         * lyxsocket.C (LyXServerSocket): ditto
2207         (serverCallback): ditto
2208
2209 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2210
2211         * LaTeXFeatures.C: check release date when loading jurabib.
2212
2213 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2214
2215         * lyxserver.C (startPipe): call register_socket_callback
2216         (endPipe): call unregister_socket_callback
2217
2218 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2219
2220         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2221         (LyXServerSocket): register the callback
2222         (LyXServerSocket): unregister the callback
2223         (fd): delete function
2224         (serverCallback): improve error checking and setup the callbacks.
2225         (dataCallback): change arg to fd.
2226         (writeln): new func (copied fro the client socket) used for server
2227         write to client.
2228         (LyXDataSocket): simplify
2229         (~LyXDataSocket): close ann unregiser callback
2230         (server): delete function
2231         (fd): delete function
2232         (readln): small changes, improve some std::string usage
2233         (writeln): constify a bit
2234
2235 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2236
2237         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2238         Qt frontend
2239
2240 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2241
2242         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2243         after it has been populated
2244
2245 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2246
2247         * text2.C (insertInset): move cursor when inserting inset.
2248
2249 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2250
2251         * kbmap.C (findbindings): a couple of new methods. returns a
2252         container of kb_sequence objects. The real work is done by the
2253         private recursive version
2254         (printbindings): uses findbindings to print out a bracketed list
2255         of bindings (renamed from findbinding).
2256
2257         * MenuBackend.C (binding): use kb_keymap::findbindings
2258
2259         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2260
2261 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2262
2263         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2264
2265 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2266
2267         * paragraph.C (isWord): return true on insets that report
2268         isLetter().
2269
2270         * text.C (getWord): use Paragraph::isWord to decide what is in a
2271         word and what is not; fix bug 1609.
2272
2273 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2274
2275         * tex-strings.C: add "none" to string_paperpackages[], fixes
2276         off-by-one-error in the paperpackage selection.
2277
2278         * lyxlex.[Ch]:
2279         * tex-strings.[Ch]: char const * string[n]
2280         -> char const * const string[]
2281
2282 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2283
2284         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2285         command, return early.
2286
2287 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2288
2289         * debug.h: add DEBUG to enum and fix size of ANY.
2290
2291         * debug.C: add support for Debug::DEBUG
2292         (showTags): cast errorTags.level to unsigned int
2293
2294         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2295         (redoCurrentBuffer): ditto
2296         (updateScrollbar): ditto
2297         * cursor.C (dispatch): ditto
2298         * text2.C (setLayout): ditto
2299         (setFont): ditto
2300         (updateCounters): ditto
2301         (editXY): ditto
2302         (deleteEmptyParagraphMechanism): ditto
2303
2304 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2305
2306         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2307         annotations to cleanup the Makefile slightly.
2308
2309 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2310
2311         * lyxrc.C: do not set user_email to a default value but use empty
2312         instead. The entry used to be translated, which does not work
2313         since at the point where lyxrc is constructed there is no
2314         translation service available
2315
2316         * messages.C (getLocaleDir): remove and use directly
2317         lyx_localedir() instead
2318
2319 2004-06-02  Angus Leeming  <leeming@lyx.org>
2320
2321         Fix crash caused by dereferencing null pointer 'exportdata' in
2322         OutputParams by creating a new ExportData variable on the heap,
2323         storing it in a boost::shared_ptr.
2324         The crash was triggered when generating an Instant Preview
2325         of an external inset.
2326
2327         * Makefile.am: add outputparams.C
2328
2329         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2330         (c-tor): allocate memory to it.
2331
2332         * exporter.C (c-tor): associated changes.
2333
2334 2004-06-01  Angus Leeming  <leeming@lyx.org>
2335
2336         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2337         contains data before calling isInset(0). (Bug 1513.)
2338
2339 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2340
2341         * exporter.C (checkOverwrite): new method
2342         * exporter.C (copyFile): new method
2343         * exporter.C (Export): copy referenced files to the document dir
2344         * exporter.[Ch]: new class ExportedFile
2345         * exporter.[Ch]: new class ExportData. Contains currently the
2346         names of referenced external files
2347         * outputparams.h: add exportdata member.
2348
2349 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2350
2351         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2352         version.C-tmp
2353
2354 2004-05-19  Angus Leeming  <leeming@lyx.org>
2355
2356         * LaTeXFeatures.C:
2357         * ToolbarBackend.C:
2358         * bufferparams.C:
2359         * lyxfunc.C: small changes due to the introduction of namespace
2360         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2361
2362 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2363
2364         * text3.C (dispatch): supress update when only moving the cursor
2365         * cursor.C (selHandle): remove commented code
2366
2367 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2368
2369         * paragraph.C (startTeXParParams): correct column count
2370         * CutAndPaste.C (pasteSelection): remove const_cast
2371         * output_docbook.C (docbookParagraphs): remove const_cast
2372         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2373         const_cast and return ParagraphList::const_iterator
2374         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2375         * output_plaintext.C (writeFileAscii): remove const_cast
2376         * paragraph.[Ch] (simpleTeXOnePar): make const
2377         * paragraph_funcs.C (outerPar): use const iterators
2378         * paragraph_pimpl.C (validate): use const iterators
2379         * text.C (setHeightOfRow): use const iterators
2380
2381 2004-05-17  Angus Leeming  <leeming@lyx.org>
2382
2383         * lfuns.h:
2384         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2385
2386         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2387         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2388         if the citation engine has changed.
2389
2390 2004-05-14  José Matos  <jamatos@lyx.org>
2391
2392         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2393         if the textclass does not provide it. Have it different for sgml and
2394         xml.
2395         support the language of document.
2396         * output_docbook.C (docbookParagraphs):
2397         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2398         first anchor as the id of the paragraph, remove special case code.
2399         * sgml.C (escapeChar): escape only < & >.
2400
2401 2004-05-14  Angus Leeming  <leeming@lyx.org>
2402
2403         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2404         dependencies on src/frontends/controllers/biblio.h. Define a
2405         CiteEngine_enum wrapper class to enable the enum to be forward
2406         declared.
2407
2408 2004-05-12  Angus Leeming  <leeming@lyx.org>
2409
2410         * buffer.C: up LYX_FORMAT to 234.
2411         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2412         use_numerical_citations with a single biblio::CiteEngine cite_engine
2413         variable.
2414         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2415
2416 2004-05-13  José Matos  <jamatos@lyx.org>
2417
2418         * converter.h:
2419         * converter.C (Converter, readFlags): add xml member.
2420         * outputparams.h: add XML flavor.
2421         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2422
2423 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2424
2425         * lyxfunc.C (dispatch):
2426         (getStatus): fix handling of LFUN_SEQUENCE
2427
2428 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2429
2430         * debug.C (showLevel): do not forget the end-of-line marker
2431
2432 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2433
2434         * kbmap.C (read): do not stop parsing a bind file when an error
2435         occurs (bug 1575)
2436
2437 2004-04-29  Angus Leeming  <leeming@lyx.org>
2438
2439         * cursor.C:
2440         * factory.C:
2441         * pariterator.C:
2442         * text2.C: wrap a bunch of #warning statements
2443         inside #ifdef WITH_WARNINGS blocks.
2444
2445 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2446
2447         * buffer.C: increment format to 233.
2448
2449 2004-04-28  Angus Leeming  <leeming@lyx.org>
2450
2451         * BufferView_pimpl.C:
2452         * lyxfunc.C:
2453         * text3.C:
2454         s/updateToolbar()/updateToolbars()/
2455         s/Toolbar.h/Toolbars.h/
2456
2457 2004-04-28  Angus Leeming  <leeming@lyx.org>
2458
2459         * BufferView.[Ch] (c-tor):
2460         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2461         No longer passes these data to the WorkArea generator.
2462
2463 2004-04-28  Angus Leeming  <leeming@lyx.org>
2464
2465         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2466
2467 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2468
2469         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2470
2471 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2472
2473         * output_latex.C (TeXEnvironment): make sure that there is a line
2474         break before \end{foo} for the last paragraph of a document
2475         (TeXOnePar): if the paragraph is at the end of the document (or
2476         inset) and the language has to be reset, then make sure that the
2477         line break is _before_ the language command, not after (fixes bug
2478         1225); also make sure that the language reset command is the first
2479         thing after the paragraph (to ensure proper nesting of
2480         environments and thus fix bug 1404)
2481
2482 2004-04-21  John Levon  <levon@movementarian.org>
2483
2484         * ToolbarBackend.h:
2485         * ToolbarBackend.C: make "name" be a programmatic name
2486         and a gui_name field.
2487
2488         * lyxfunc.C: display the minibuffer on M-x
2489
2490 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2491
2492         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2493         (bug 1526)
2494
2495 2004-04-19  Angus Leeming  <leeming@lyx.org>
2496
2497         * BufferView_pimpl.C (setBuffer): changed preview interface.
2498
2499         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2500         possible values.
2501
2502 2004-04-19  John Levon  <levon@movementarian.org>
2503
2504         * BufferView_pimpl.C:
2505         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2506
2507 2004-04-05  Angus Leeming  <leeming@lyx.org>
2508
2509         * text.C (redoParagraphs): add call to updateCounters(), thereby
2510         fixing the missing "Figure #:" label from the caption of a
2511         figure float.
2512
2513 2004-04-13  Angus Leeming  <leeming@lyx.org>
2514
2515         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2516         cursor is clicked out of an inset.
2517
2518 2004-04-13  Angus Leeming  <leeming@lyx.org>
2519
2520         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2521         than an InsetOld one.
2522
2523 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2524
2525         * format.[Ch]: add editor to Format
2526         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2527         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2528
2529 2004-04-08  André Pönitz  <poenitz@gmx.net>
2530
2531         * metricsinfo.h: remove PainterInfo::width member
2532
2533 2004-04-08  Angus Leeming  <leeming@lyx.org>
2534
2535         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2536         "\providecommand" rather than "\newcommand", thereby preventing
2537         clashes with packages that define "\boldsymbol" themselves.
2538         Eg, beamer.
2539
2540 2004-04-08  Angus Leeming  <leeming@lyx.org>
2541
2542         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2543         thereby squashing an unnecessary warning.
2544
2545 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2546
2547         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2548         setBuffer()
2549
2550 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2551
2552         * BufferView.C (setCursor): call redoParagraph (some insets could
2553         have been opened)
2554         (putSelectionAt): remove the 'double update' trick
2555
2556         * BufferView_pimpl.C (fitCursor): call refreshPar
2557         (workAreaDispatch): remove an uneeded update call
2558         (dispatch): remove some manual update calls
2559
2560         * cursor.[Ch]: remove cached_y_, updatePos
2561         (selHandle): set noUpdate when appropriate
2562
2563         * lyxfunc.C (dispatch): track if we need an update
2564
2565         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2566
2567         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2568         (paintSelection): cheap optimization, do not call cursorX when not
2569         needed
2570         (paintPars): change signature
2571         (refreshPar): add
2572         (paintText): adjust
2573         (paintTextInset): adjust
2574
2575         * text.C: adjust
2576
2577 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2578
2579         * lengthcommon.C: compilation fix: remove explicit array size from
2580         unit_name[] and friends
2581
2582 2004-04-05  Angus Leeming  <leeming@lyx.org>
2583
2584         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2585
2586         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2587         present only for the preferences dialog.
2588         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2589
2590 2004-04-05  Angus Leeming  <leeming@lyx.org>
2591
2592         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2593         to enable the frontends to export changes to lyxrc correctly.
2594
2595         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2596
2597 2004-04-07  André Pönitz  <poenitz@gmx.net>
2598
2599         * cursor.[Ch] (selClear, adjust): remove math
2600
2601         * cursor_slice.C: more agressive assert
2602
2603         * lyxfunc.C:
2604         * BufferView_pimpl.C: rework mouse event dispatch
2605
2606         * dociterator.C:
2607         * paragraph.C:
2608         * text2.C:
2609         * text3.C: adjust
2610
2611 2004-04-05  André Pönitz  <poenitz@gmx.net>
2612
2613         * cursor.[Ch] (valign, halign...): remove unneeded functions
2614
2615 2004-04-05  Angus Leeming  <leeming@lyx.org>
2616
2617         * lyxlength.[Ch] (unit_name et al.): const-correct.
2618
2619 2004-04-05  Angus Leeming  <leeming@lyx.org>
2620
2621         * BufferView_pimpl.C:
2622         * buffer.C:
2623         * counters.C:
2624         * cursor.C:
2625         * lyxfunc.C
2626         * paragraph.C:
2627         * pariterator.C:
2628         * text.C:
2629         * text2.C:
2630         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2631
2632 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2633
2634         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2635
2636 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2637
2638         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2639         * BufferView_pimpl.[Ch] (getStatus)
2640         * BufferView.[Ch] (getStatus): add
2641         * lyxfunc.C (getStatus): move lfuns handled in
2642         BufferView::dispatch to te function above
2643         * Cursor.C (setSelection): set selection() = true
2644
2645 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2646
2647         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2648
2649 2004-03-31  Angus Leeming  <leeming@lyx.org>
2650
2651         * lyxfunc.C (dispatch): Fall through to the generic
2652         Dialogs::show("preamble").
2653
2654 2004-03-31  Angus Leeming  <leeming@lyx.org>
2655
2656         * lyxfunc.C (dispatch): Fall through to the generic
2657         Dialogs::show("spellchecker").
2658
2659 2004-03-31  Angus Leeming  <leeming@lyx.org>
2660
2661         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2662         preferences dialog.
2663
2664 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2665
2666         * BufferView.C
2667         * cursor.[Ch]
2668         * dociterator.[Ch]:
2669         * insetiterator.[Ch]:
2670         * lyxfind.C:
2671         * lyxfunc.C:
2672         * pariterator.[Ch]:
2673         * text2.C:
2674         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2675
2676 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2677
2678         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2679         insets where we are putting the cursor.
2680
2681 2004-03-31  Angus Leeming  <leeming@lyx.org>
2682
2683         * lfuns.h:
2684         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2685
2686         * lyxrc.[Ch] (read, write): overloaded member functions taking
2687         a std::[io]stream arguments.
2688
2689         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2690
2691 2004-03-31  Angus Leeming  <leeming@lyx.org>
2692
2693         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2694         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2695
2696         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2697         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2698
2699 2004-03-31  Angus Leeming  <leeming@lyx.org>
2700
2701         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2702         the LFUN_ALL_INSETS_TOGGLE code.
2703
2704 2004-03-30  Angus Leeming  <leeming@lyx.org>
2705
2706         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2707         has died. Fall through to the generic Dialogs::show("document").
2708
2709 2004-03-30  Angus Leeming  <leeming@lyx.org>
2710
2711         * lfuns.h:
2712         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2713         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2714
2715         * lyxfunc.C (getStatus, dispatch): define the actions for these
2716         lfuns. Little more than a cut and pste job from ControlDocument.C
2717
2718         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2719
2720 2004-03-30  Angus Leeming  <leeming@lyx.org>
2721
2722         * lfuns.h:
2723         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2724         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2725
2726         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2727         open/closed state of ollapsable insets. Usage:
2728
2729         all-inset-toggle <state> <name>, where
2730         <state> == "open" || "closed" || "toggle" and
2731         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2732
2733         * lyxtext.h, text2.C (toggleInset): removed.
2734
2735         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2736         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2737         now passes LFUN_INSET_TOGGLE to the found inset.
2738
2739         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2740         is now invoked as "all-insets-toggle toggle branch".
2741
2742 2004-03-30  Angus Leeming  <leeming@lyx.org>
2743
2744         * dociterator.C:
2745         * insetiterator.C:
2746         * pariterator.[Ch]: added/corrected header blurb.
2747
2748 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2749
2750         * dociterator.[Ch]: add an inset_ member
2751         (backwardPos): implemented
2752         (backwardPos, forwardPos): use inset_ when the stack is empty.
2753         (doc_iterator_begin, doc_iterator_end): implemented
2754         * pariterator.[Ch]: adjust, add begin, end
2755         * insetiterator.[Ch]: adjust, add begin, end
2756         * cursor.C:
2757         * document.C:
2758         * BufferView.C:
2759         * BufferView_pimpl.C:
2760         * CutAndPaste.C: adjust
2761
2762 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2763
2764         * buffer.C: increment file format to 232.
2765         * LaTeXFeatures.C: add bibtopic package.
2766         * bufferparams.[Ch]: param \use_bibtopic.
2767
2768         * lyxrc.[Ch]: add lyxrc bibtex_command
2769         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2770
2771         * buffer.C: increment file format to 231.
2772
2773 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2774
2775         * dociterator.C: implement forwardPar
2776         * iterators.[Ch]: remove, replaced by
2777         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2778         * BufferView.C:
2779         * BufferView_pimpl.C:
2780         * CutAndPaste.C:
2781         * buffer.C:
2782         * bufferview_funcs.C:
2783         * cursor.C:
2784         * lyxfind.C
2785         * lyxfunc.C
2786         * paragraph_funcs.C
2787         * toc.C:
2788         * Makefile.am: adjust
2789
2790 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2791
2792         * CutAndPaste.C (pasteSelection): fix 2 crashes
2793         (eraseSelection): fix a crash
2794         * paragraph_funcs.C: remove a warning
2795
2796 2004-03-28  Angus Leeming  <leeming@lyx.org>
2797
2798         * lfuns.h:
2799         * LyXAction.C (init): new LFUN_PRINT.
2800
2801         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2802
2803 2004-03-27  Angus Leeming  <leeming@lyx.org>
2804
2805         * lfuns.h:
2806         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2807
2808         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2809
2810 2004-03-27  Angus Leeming  <leeming@lyx.org>
2811
2812         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2813         insetlist always contains non-null pointers to insets.
2814
2815 2004-03-26  Angus Leeming  <leeming@lyx.org>
2816
2817         * src/BufferView_pimpl.C:
2818         * src/CutAndPaste.C:
2819         * src/buffer.C:
2820         * src/iterators.C:
2821         * src/output_plaintext.C:
2822         * src/outputparams.h:
2823         * src/paragraph_funcs.C:
2824         * src/rowpainter.C:
2825         * src/text.C:
2826         * src/text2.C:
2827         * src/frontends/controllers/ControlErrorList.C:
2828         * src/frontends/gtk/FileDialogPrivate.C:
2829         * src/frontends/gtk/GPainter.C:
2830         * src/frontends/gtk/GToolbar.C:
2831         * src/frontends/qt2/QRef.C:
2832         * src/mathed/math_scriptinset.C: squash compiler warnings.
2833
2834 2004-03-26  Angus Leeming  <leeming@lyx.org>
2835
2836         * ispell.C (LaunchIspell::start):
2837         * lyx_cb.C (AutoSaveBuffer::start):
2838         invoke run(DontWait) rather than runNonBlocking().
2839
2840 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2841
2842         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2843
2844 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2845
2846         * kbsequence.C (print): adjust
2847
2848         * kbmap.C (printKeySym): rename and change signature
2849         (printKey): use LyXKeySym::print()
2850
2851 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2852
2853         * undo.C: add using std::advance to compile for stlport
2854
2855 2004-03-24  Angus Leeming  <leeming@lyx.org>
2856
2857         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2858         it leads to a crash when no buffer is present.
2859
2860 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2861             Martin Vermeer  <martin.vermeer@hut.fi>
2862
2863         * lyxfunc.C (dispatch):
2864         * bufferparams.C (readToken): use the new LColor::setColor
2865
2866         * LColor.[Ch] (setColor): new version that takes two strings as
2867         argument and creates a new color entry if necessary
2868
2869 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2870
2871         * buffer.C (makeLaTeXFile): if the main latex file that is
2872         processed is usually a subdocument of some master, then pretend
2873         for a while that it is actually the master
2874
2875 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2876
2877         * buffer.C (getLabelList):
2878         (getBibkeyList): use getMasterBuffer()
2879         (getMasterBuffer): new method. Returns the main document in the
2880         case where one is using included documents.
2881
2882 2004-03-25  André Pönitz  <poenitz@gmx.net>
2883
2884         * Makefile.am:
2885         * iterators.[Ch]:
2886         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2887
2888         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2889
2890         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2891         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2892
2893         * ParameterStruct.h: merge with ParagraphParameters
2894
2895         * lyxtext.h: remove LyXText::parOffset() and getPar()
2896
2897         * text3.C: Remove all 'manual' update calls. We do now one per user
2898         interaction which is completely sufficient.
2899
2900         * Bidi.C:
2901         * BufferView.[Ch]:
2902         * BufferView_pimpl.C:
2903         * FontIterator.[Ch]:
2904         * MenuBackend.C:
2905         * ParagraphParameters.[Ch]:
2906         * buffer.C:
2907         * buffer.h:
2908         * bufferlist.C:
2909         * cursor.[Ch]:
2910         * cursor_slice.[Ch]:
2911         * dociterator.[Ch]:
2912         * errorlist.[Ch]:
2913         * factory.C:
2914         * lfuns.h:
2915         * lyxfind.C:
2916         * lyxfunc.C:
2917         * output_docbook.[Ch]:
2918         * output_latex.[Ch]:
2919         * output_linuxdoc.[Ch]:
2920         * output_plaintext.[Ch]:
2921         * paragraph.[Ch]:
2922         * paragraph_funcs.[Ch]:
2923         * paragraph_pimpl.[Ch]:
2924         * rowpainter.C:
2925         * tabular.[Ch]:
2926         * text.C:
2927         * text2.C:
2928         * toc.C:
2929         * undo.[Ch]: adjust
2930
2931         * frontends/controllers/ControlDocument.C:
2932         * frontends/controllers/ControlErrorList.C:
2933         * frontends/controllers/ControlSpellchecker.C:
2934         * insets/inset.C:
2935         * insets/inset.h:
2936         * insets/insetbase.h:
2937         * insets/insetbibitem.C:
2938         * insets/insetbox.C:
2939         * insets/insetbranch.C:
2940         * insets/insetcaption.C:
2941         * insets/insetcharstyle.C:
2942         * insets/insetcharstyle.h:
2943         * insets/insetcollapsable.C:
2944         * insets/insetcollapsable.h:
2945         * insets/insetert.C:
2946         * insets/insetfloat.C:
2947         * insets/insetfoot.C:
2948         * insets/insetmarginal.C:
2949         * insets/insetnote.C:
2950         * insets/insetoptarg.C:
2951         * insets/insettabular.C:
2952         * insets/insettext.C:
2953         * insets/insettext.h:
2954         * insets/insetwrap.C:
2955         * mathed/math_mboxinset.C:
2956         * mathed/math_nestinset.C:
2957         * mathed/math_scriptinset.C:
2958         * mathed/math_scriptinset.h:
2959         * support/types.h:
2960
2961 2004-03-24  Angus Leeming  <leeming@lyx.org>
2962
2963         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2964         deal with any child processes that have finished but are waiting to
2965         communicate this fact to the rest of LyX.
2966
2967 2004-03-24  Angus Leeming  <leeming@lyx.org>
2968
2969         64-bit compile fixes.
2970
2971         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2972         (c-tor): pass lyx::pos_types rather than ints.
2973
2974         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2975         lyx::pos_type.
2976
2977         * text.C (Delete): compile fix.
2978         (getPar): ensure that function declaration is the same as that in
2979         the header file.
2980
2981 2004-03-23  Angus Leeming  <leeming@lyx.org>
2982
2983         * ispell.C (LaunchIspell):
2984         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2985         a boost::shred_ptr rather than a std::auto_ptr.
2986
2987 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2988
2989         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2990         handle LFUN_FILE_INSERT_*
2991
2992         * lyxrc.C (setDefaults, getDescription, output, read):
2993         * lyxrc.h: remove ps_command
2994
2995 2004-03-22  Angus Leeming  <leeming@lyx.org>
2996
2997         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2998         Ensure that error_handler is processed once only and that all data
2999         is saved before attempting to output any warning messages.
3000
3001         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3002
3003 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3004
3005         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3006
3007 2004-03-19  André Pönitz  <poenitz@gmx.net>
3008
3009         * cursor.[Ch] (reset): take main text inset as argument
3010
3011         * BufferView: adjust
3012         * BufferView_pimpl.C: adjust
3013
3014         * paragraph.[Ch]: fix completely broken operator=()
3015
3016 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3017
3018         * LColor.C (getFromLyXName): make sure that the color name is used
3019         as lowercase.
3020
3021 2004-03-17  Angus Leeming  <leeming@lyx.org>
3022
3023         * lfuns.h:
3024         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3025
3026         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3027         dialog and to kill a forked process.
3028
3029 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3030
3031         * text2.C (setCursorFromCoordinates): fix font problem
3032
3033 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3034
3035         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3036         bogus "rebuild cursor" code
3037
3038 2004-03-11  André Pönitz  <poenitz@gmx.net>
3039
3040         * buffer.[Ch]: use InsetText instead of LyXText as container for
3041         the main lyx text.
3042
3043         * dociterator.[Ch]: drop the BufferView * member which is not needed
3044         anymore after the change to buffer.C
3045
3046         * paragraph_funcs.C:
3047         * text.C:
3048         * text2.C:
3049         * BufferView.[Ch]:
3050         * BufferView_pimpl.[Ch]:
3051         * cursor.[Ch]:
3052         * cursor_slice.[Ch]: adjust
3053
3054         * text3.C: fix bug in mathDispatch
3055
3056 2004-03-08  André Pönitz  <poenitz@gmx.net>
3057
3058         * undo.[Ch]: use 'StableDocumentIterator' as base for
3059         the Undo struct.
3060
3061 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3062
3063         * LaTeXFeatures.C:
3064         * bufferparams.[Ch]: add jurabib support and param.
3065
3066         * LaTeX.C: add FIXME/comment.
3067
3068 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3069
3070         * buffer.C: increment file format to 230.
3071
3072 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3073
3074         * cursor.C (dispatch): avoid infinite loops
3075
3076 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3077
3078         * rowpainter.C (paintSelection): fix x coordinates
3079
3080 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3081
3082         * text.C (rowBreakPoint): fix breaking before displayed insets
3083
3084 2004-03-01  André Pönitz  <poenitz@gmx.net>
3085
3086         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3087
3088         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3089
3090         * Makefile.am:
3091         * BufferView.C:
3092         * BufferView_pimpl.C:
3093         * buffer.C:
3094         * lyxfind.C:
3095         * lyxfunc.C:
3096         * text.C:
3097         * text2.C:
3098         * text3.C: adjust
3099
3100 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3101
3102         * lyxtext.h:
3103         * text.C:
3104         * text2.C:
3105         * rowpainter.C:
3106         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3107         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3108
3109 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3110
3111         * Bidi.[Ch] (computeTables): const correctness
3112         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3113         fill_hfill, fill_label_hfill and x from Row
3114         * lyxtext.h: prepareToPrint returns a RowMetrics
3115         * rowPainter.C: adjust
3116         * text.C (prepareToPrint): use width, not textWidth. adjust
3117         (redoParagraphInternal, cursorX): adjust
3118         * text2.C (getColumnNearX): adjust
3119         (init): put a default value to the top LyXText::width
3120
3121 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3122
3123         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3124
3125 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3126
3127         * lyxtext.h: add FontIterator class
3128
3129         * text.C (FontIterator, operator*, operator->, operator++): add
3130         (rowBreakPoint, setRowWidth): adjust (fixing a
3131         rebreaking bug)
3132
3133 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3134
3135         * BufferView_pimpl.C (workAreaDispatch): allow also
3136         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3137
3138 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3139
3140         * text.C (rowBreakPoint): fix a bug showing with very large insets
3141
3142 2004-02-25  André Pönitz  <poenitz@gmx.net>
3143
3144         * text3.C:
3145         * cursor.[Ch]: move some mathed specific code to mathed
3146
3147 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3148
3149         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3150         use_tempdir in preferences
3151         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3152         tempfile creation
3153         * lyx_main.C: ensure that tempdir is valid
3154         * lyxlex.h: correct typo
3155         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3156         * paragraph.[Ch] (isMultiLingual): make const
3157         * cursor.[Ch] (openable): make const
3158
3159 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3160
3161         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3162
3163 2004-02-20  André Pönitz  <poenitz@gmx.net>
3164
3165         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3166
3167         * cursor.[Ch]: prepare for localized getStatus()
3168
3169         * lyxtext.h:
3170         * tabular.C:
3171         * text.C:
3172         * text2.C:
3173         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3174
3175 2004-02-20  André Pönitz  <poenitz@gmx.net>
3176
3177         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3178
3179 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3180
3181         * text2.C (setCursorFromCoordinates): switch to absolute coords
3182         (cursorUp): adjust
3183         (cursorDown): adjust
3184         * text3.C (dispatch): adjust
3185
3186 2004-02-16  André Pönitz  <poenitz@gmx.net>
3187
3188         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3189           insets/ChangeLog)
3190
3191         * cursor_slice.[Ch]: remove unneeded acessor function
3192
3193         * lyxtext.h: rename rtl() to isRTL()
3194
3195         * rowpainter.C:
3196         * tabular.C:
3197         * text.C:
3198         * text2.C:
3199         * text3.C: adjust
3200
3201 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3202
3203         * rowpainter.C (paintSelection): coord fix
3204
3205 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3206
3207         * Spacing.C: compile fix
3208
3209 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3210
3211         * cursor.C (dispatch): restore current_ before returning
3212
3213 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3214
3215         * text2.C (cursorUp, cursorDown): fix coords
3216         (moveUp): fix crash
3217
3218 2004-02-12  André Pönitz  <poenitz@gmx.net>
3219
3220         * lyxtext.h:
3221         * text.C:
3222         * text2.C:
3223         * text3.C: add LCursor & parameter to most cursor movement functions
3224           remove usage of LyXText::cursorRow() and cursorPar()
3225
3226         * cursor.[Ch]: add textRow() needed members
3227
3228         * BufferView.C:
3229         * BufferView_pimpl.C:
3230         * paragraph.[Ch]:
3231         * BufferView.C:
3232         * BufferView_pimpl.C: adjust
3233
3234 2004-02-11  André Pönitz  <poenitz@gmx.net>
3235
3236         * lyxfunc.C:
3237         * BufferView.[Ch]:
3238         * BufferView_pimpl.C: shift undo/redo handling
3239
3240         * cursor.[Ch]: fix mathed crash
3241
3242         * lyxfind.C:
3243         * lyxtext.h: move selectionAsText to LCursor
3244
3245         * output_latex.C:
3246         * paragraph.C:
3247         * text.C:
3248         * text2.C:
3249         * text3.C: adjust
3250
3251         * rowpainter.C: fix excessive drawing
3252
3253 2004-02-06  André Pönitz  <poenitz@gmx.net>
3254
3255         * BufferView.[Ch]:
3256         * BufferView_pimpl.[Ch]:
3257         * text3.C: move some text specific LFUN handling
3258
3259 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3260
3261         * text3.C (checkInsetHit): adjust coords
3262         * text2.C (getColumnNearX): adjust coords
3263         (edit): adjust coords
3264         * text.C (getRowNearY): add two asserts
3265
3266 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3267
3268         * converter.C:
3269         * format.C: add using std::distance to compile on gcc 2.95/stlport
3270
3271 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3272
3273         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3274
3275 2004-02-04  André Pönitz  <poenitz@gmx.net>
3276
3277         * BufferView.[Ch] (insertInset):
3278         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3279
3280         * text2.C:
3281         * text3.C: adjust
3282
3283 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3284
3285         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3286         on the default clause of the switch
3287         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3288         wasn't catched by LCursor::dispatch
3289
3290 2004-02-03  André Pönitz  <poenitz@gmx.net>
3291
3292         * BufferView.C:
3293         * cursor.[Ch]: some additional asserts
3294
3295         * undo.[Ch]: remove LyXText dependency in interface
3296
3297         * lyxfunc.C: adjust
3298
3299         * lyxtext.h (firstPar, lastPar): remove dead functions
3300
3301         * text.C:
3302         * text2.C:
3303         * text3.C:
3304         * paragraph.[Ch]: adjust
3305
3306 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3307
3308         * lyxfind.C (find): fix argument order in call to ::find
3309
3310 2004-02-02  André Pönitz  <poenitz@gmx.net>
3311
3312         * cursor.[Ch]: remove direct access to anchor
3313
3314         * text.C: remove findText() hack
3315
3316 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3317
3318         * iterators.[Ch] (lockPath): remove in favour of...
3319         * BufferView.[Ch] (setCursor): this addition
3320         * BufferView.C (putSelectionAt): adjust
3321         * undo.C (performUndoOrRedo): adjust
3322         * lyxfunc.C (dispatch): adjust
3323
3324 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3325
3326         * iterators.C (lockPath): add a missing slice
3327         * undo.C (performUndoOrRedo): remove redundant positioning code
3328
3329 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3330
3331         * vc-backend.C (scanMaster): ";" -> ';'
3332
3333 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3334
3335         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3336         std::binary_function
3337
3338         * lyxtextclass.C (compare_name): rename to...
3339         (LayoutNamesEqual): ...this
3340
3341         * lyxlex_pimpl.C (compare_tags): inherit from
3342         std::binary_function, put back into anon namespace
3343
3344         * lyxfind.C (MatchString): inherig from std::binary_function
3345         (findChange): use empty() istead of !size()
3346
3347         * format.C (FormatNamesEqual): new functor
3348         (getFormat): use it
3349         (getNumber): use it
3350         (add): use it
3351         (erase): use it
3352         (setViewer): use it
3353
3354         * converter.C (compare_Converter): rename to...
3355         (ConverterEqual): ...this, and fixup a bit.
3356         (getConverter): use it, and make function const
3357         (getNumber): use it, and make function const
3358         (add): use it
3359         (erase): use it:
3360
3361         * bufferlist.C: add using boost::bind
3362
3363         * MenuBackend.C (MenuNamesEqual): new functor
3364         (hasMenu): use it, and make function const
3365         (hasSubmenu): use nested bind to get rid of compare_memfun.
3366
3367 2004-01-30  André Pönitz  <poenitz@gmx.net>
3368
3369         * BufferView_pimpl.C:
3370         * cursor.C:
3371         * cursor.h:
3372         * cursor_slice.[Ch]:
3373         * lyxfunc.C:
3374         * lyxtext.h:
3375         * paragraph_funcs.C:
3376         * paragraph_funcs.h:
3377         * rowpainter.C:
3378         * text.C:
3379         * text2.C:
3380         * text3.C: move some of the edit(x,y) handling to the insets
3381         some coordinate changes.
3382
3383 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3384
3385         * text.C: add using statements for std::advance and std::distance
3386
3387         * paragraph.C: add using statement for std::distance
3388
3389         * lyxfind.C: add using statement for std::advance
3390
3391         * cursor.C (region): remove std:: from swap
3392         (openable): use nucleus in stead of operator->
3393
3394         * BufferView.C: add using statements for std::distance and std::swap
3395
3396 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3397
3398         * iterators.C: Remove the pimple, move the needed structures to
3399         the header file. Create accessor for the positions stack.
3400         (asPosIterator): remove function
3401
3402         * PosIterator.C (PosIterator): move constructors to top of file
3403         (PosIterator): reimplement the constructor taking a ParIterator in
3404         terms of setFrom.
3405         (setFrom): new function
3406         (operator!=): inline it
3407
3408 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3409
3410         * lyxfind.C (replaceAll): use std::advance
3411
3412         * iterators.h: inherit from std::iterator.
3413
3414         * PosIterator.C (advance, distance): remove
3415         * PosIterator.h: interit from std::iterator.
3416
3417 2004-01-26  André Pönitz  <poenitz@gmx.net>
3418
3419         * BufferView.[Ch]:
3420         * BufferView_pimpl.[Ch]:
3421         * InsetList.[Ch]:
3422         * PosIterator.[Ch]:
3423         * buffer.h:
3424         * bufferview_funcs.C:
3425         * cursor.[Ch]:
3426         * cursor_slice.h:
3427         * factory.[Ch]:
3428         * iterators.[Ch]:
3429         * lyxfind.C:
3430         * lyxfunc.C:
3431         * lyxtext.h:
3432         * output_docbook.C:
3433         * output_latex.C:
3434         * output_linuxdoc.C:
3435         * output_plaintext.C:
3436         * paragraph.[Ch]:
3437         * paragraph_funcs.[Ch]:
3438         * paragraph_pimpl.[Ch]:
3439         * rowpainter.C:
3440         * tabular.C:
3441         * tabular.h:
3442         * text.C:
3443         * text2.C:
3444         * text3.C: more IU:  dumps most of the rest of the mathcursor
3445     implementation into cursor.[Ch]; "globalize" a bit of it.
3446
3447 2004-01-25  Angus Leeming  <leeming@lyx.org>
3448
3449         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3450
3451 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3452
3453         * LaTeXFeatures.h: add nice_ and nice() const
3454         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3455
3456 2004-01-20  André Pönitz  <poenitz@gmx.net>
3457
3458         * BufferView.[Ch]:
3459         * BufferView_pimpl.C:
3460         * PosIterator.C:
3461         * bufferview_funcs.C:
3462         * cursor.[Ch]:
3463         * cursor_slice.[Ch]:
3464         * factory.C:
3465         * iterators.C:
3466         * lyx_cb.C:
3467         * lyxfind.C:
3468         * lyxfunc.C:
3469         * lyxtext.h:
3470         * rowpainter.C:
3471         * text.C:
3472         * text2.C:
3473         * text3.C:
3474         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3475           LCursor and mathcursor parts to LCursor and InsetBase.
3476
3477 2004-01-15  André Pönitz  <poenitz@gmx.net>
3478
3479         * cursor_slice.[Ch]: add a few covienience functions
3480
3481         * funcrequest.[Ch]: remove BufferView * member
3482
3483         * BufferView_pimpl.C:
3484         * cursor.C:
3485         * factory.[Ch]:
3486         * lyxfind.[Ch]:
3487         * lyxfunc.C:
3488         * lyxtext.h:
3489         * text3.C:
3490         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3491
3492 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3493
3494         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3495         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3496
3497 2004-01-13  André Pönitz  <poenitz@gmx.net>
3498
3499         * textcursor.[Ch]:
3500         * lyxtext.h: hide cursor and selection anchor behind accessor function
3501
3502         * BufferView.C:
3503         * BufferView_pimpl.[Ch]:
3504         * PosIterator.C:
3505         * bufferview_funcs.C:
3506         * cursor.h:
3507         * lyxfind.C:
3508         * lyxfunc.C:
3509         * text.C:
3510         * text2.C:
3511         * text3.C:
3512         * undo.C: adjust
3513
3514         * cursor.h:
3515         * cursor_slice.[Ch]: some integer type changes for inset unification
3516
3517         * lyxcursor.[hC]: remove, it's CursorSlice now.
3518
3519         * Makefile.am:
3520         * BufferView_pimpl.[Ch]:
3521         * bufferview_funcs.C:
3522         * cursor_slice.C:
3523         * lyxtext.h:
3524         * text.C:
3525         * text2.C:
3526         * text3.C:
3527         * textcursor.[Ch]: adjust
3528
3529 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3530
3531         * text2.C (undoSpan): add and use
3532         * text.C (breakParagraph): use undoSpan (fix bug 578)
3533         * lyxtext.h: adjust
3534
3535 2004-01-08  Angus Leeming  <leeming@lyx.org>
3536
3537         * BufferView_pimpl.C (MenuInsertLyXFile):
3538         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3539         * lyxfunc.C (menuNew, open, doImport):
3540         FileFilterList change to the FileDialog open and save functions.
3541
3542 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3543
3544         * ShareContainer.h: make isEqual and isUnique adaptable
3545
3546         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3547
3548 2004-01-07  Angus Leeming  <leeming@lyx.org>
3549
3550         * LyXAction.C:
3551         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3552
3553         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3554
3555         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3556         functions replacing find, replace and replaceAll.
3557
3558         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3559         LFUN_WORDFIND(FORWARD|BACKWARD).
3560
3561 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3562
3563         * text.C (breakParagraph): remove an outdated #warning
3564
3565 2004-01-07  André Pönitz  <poenitz@gmx.net>
3566
3567         * lyxfind.C: somewhat clearer logic
3568
3569         * text.C: prevent crash in cursorX on unitialized row cache
3570
3571 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3572
3573         * lyxcursor.[Ch] (operator>): add
3574         * textcursor.C (selStart, selEnd): use std::min and std::max
3575
3576 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3577
3578         * Chktex.C: include boost/format.hpp
3579
3580 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3581
3582         * InsetList.C: replace functor MathcIt with adaptable functor
3583         InsetTablePosLess
3584         (insetIterator): modify accordingly
3585
3586         * BranchList.h: move the BranchNamesEqual functor here from...
3587         * BranchList.C: ... to here
3588
3589         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3590         SameName and match.
3591         (add): replace a finding loop with std::find_if.
3592
3593 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3594
3595         * output_docbook.C: moving LatexParam functionality into
3596         .layout files
3597
3598 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3599
3600         * buffer.C: increment format to 229.
3601
3602 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3603
3604         * LaTeXFeatures.C:
3605         * lyx_sty.[Ch]: remove minipageindent_def
3606
3607         * LyXAction.C:
3608         * factory.C:
3609         * lfuns.h:
3610         * lyxfunc.C:
3611         * text3.C: remove LFUN_INSET_MINIPAGE
3612
3613 2003-12-28  Angus Leeming  <leeming@lyx.org>
3614
3615         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3616
3617 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3618
3619         * text2.C (setParagraph): fix off-by-one crash
3620
3621 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3622
3623         * output_docbook.C: header stuff for AGU
3624
3625 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3626
3627         * text2.C (redoCursor): remove
3628         * text.C:
3629         * text3.C:
3630         * BufferView_pimpl.C: remove calls to redoCursor and
3631         setCursor(cursor.par(), cursor.pos()) all around
3632
3633 2003-12-15  Angus Leeming  <leeming@lyx.org>
3634
3635         * buffer.C: up the format to 228.
3636
3637 2003-12-15  André Pönitz  <poenitz@gmx.net>
3638
3639         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3640         slices
3641
3642         * Makefile.am:
3643
3644         * BufferView_pimpl.C:
3645         * cursor.[Ch]:
3646         * lyxcursor.[Ch]:
3647         * rowpainter.[Ch]:
3648         * lyxtext.h:
3649         * text.C:
3650         * text2.C:
3651         * text3.C: adjust
3652
3653 2003-12-15  Angus Leeming  <leeming@lyx.org>
3654
3655         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3656         than getFromGUIName to manipulate the color.
3657
3658 2003-12-14  Angus Leeming  <leeming@lyx.org>
3659
3660         * BranchList.[Ch]: minimize the API.
3661         (Branch::getBranch, getColor): now return a 'const &'.
3662         (Branch::setSelected) now returns a bool set to true if the
3663         selection status changes.
3664         (BranchList::clear, size, getColor, setColor, setSelected,
3665         allBranches, allSelected, separator): removed.
3666         (BranchList::find): new functions, returning the Branch with
3667         the given name.
3668         (BranchList::add, remove): return a bool indicating that
3669         the operation was successful.
3670
3671         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3672         new InsetBranch::isBranchSlected member function.
3673
3674         * LColor.[Ch]: mimimize the API.
3675         (fill): renamed as addColor and made private.
3676         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3677         versions of these functions taking a string arg have been removed.
3678
3679         * bufferparams.C (readToken):
3680         * lyxfunc.C (dispatch):
3681         * lyxrc.C (read): changes due to the altered BranchList and
3682         LColor APIs.
3683
3684         * factory.C (createInset, readInset): changes due to altered
3685         InsetBranch c-tor.
3686
3687 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3688
3689         * factory.C:
3690         * lyxfunc.C: remove insetminipage. "minipage-insert"
3691         now produces a frameless minipage box inset.
3692
3693 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3694
3695         * textcursor.[Ch] (selStart,selEnd): add new methods
3696         remove selection::start, end, use LyXCursor::operator<
3697         * lyxcursor.[Ch] (operator<): add
3698         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3699         * BufferView.[Ch] (unsetXSel): add
3700         * text2.C (clearSelection): use unsetXSel,adjust
3701         * text.C: adjust
3702         * text3.C: adjust
3703         * rowpainter.C: adjust
3704         * bufferview_funcs.C (put_selection_at): adjust
3705
3706 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3707
3708         * BufferView_pimpl.C: small coord. correction
3709
3710 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3711
3712         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3713         dragging over the splash screen.
3714
3715 2003-12-11  Angus Leeming  <leeming@lyx.org>
3716
3717         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3718         as it is now handled in LyXText::dispatch.
3719
3720         * text3.C (doInsertInset): remove a level of nesting.
3721
3722 2003-12-11  Angus Leeming  <leeming@lyx.org>
3723
3724         * factory.C (createInset): changes due to the changed interface to
3725         InsetCommandMailer::string2params.
3726
3727 2003-12-10  Angus Leeming  <leeming@lyx.org>
3728
3729         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3730         'dialog-show-new-inset <inset name>'
3731
3732 2003-12-10  Angus Leeming  <leeming@lyx.org>
3733
3734         * buffer.C: up the format to 227.
3735
3736         * factory.C: the box inset is now identified simply by 'Box'.
3737
3738 2003-12-10  Angus Leeming  <leeming@lyx.org>
3739
3740         * buffer.C: up the format to 226.
3741
3742         * factory.C: the note inset is now identified simply by 'Note'.
3743
3744 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3745
3746         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3747         when a pit is enough. Standarize a couple of loops.
3748
3749 2003-12-05  Angus Leeming  <leeming@lyx.org>
3750
3751         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3752         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3753         data to the re-worked "log" dialog.
3754
3755 2003-12-03  André Pönitz  <poenitz@gmx.net>
3756
3757         * PosIterator.C:
3758         * iterators.C:
3759         * lyxtext.h:
3760         * output_latex.C:
3761         * paragraph_funcs.C:
3762         * text.C:
3763         * text2.C: use Inset::getText instead of Inset::getParagraph
3764
3765 2003-12-03  André Pönitz  <poenitz@gmx.net>
3766
3767         * buffer.[Ch]:
3768         * lyxtext.h:
3769         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3770         InsetText::read() as LyXText::read()
3771
3772 2003-12-02  Angus Leeming  <leeming@lyx.org>
3773
3774         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3775         type. Add a comment in the implementation that the function uses
3776         the stream's bad() function rather than fail() as the std::streams
3777         would do.
3778
3779 2003-12-02  André Pönitz  <poenitz@gmx.net>
3780
3781         * lyxlex.[Ch]: make interface more similar to std::stream
3782
3783         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3784
3785 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3786
3787         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3788
3789 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3790
3791         * vspace.[Ch]: remove VSpace::NONE
3792
3793 2003-12-01  André Pönitz  <poenitz@gmx.net>
3794
3795         * buffer.[Ch]:
3796         * lyxtext.h: move ParagraphList member to LyXText
3797         rename LyXText::ownerParagraphs to LyXText::paragraph
3798
3799         * CutAndPaste.C:
3800         * bufferview_funcs.C:
3801         * iterators.[Ch]:
3802         * lyx_cb.C:
3803         * paragraph.C:
3804         * rowpainter.C:
3805         * tabular.C:
3806         * text.C:
3807         * text2.C:
3808         * text3.C: adjust
3809
3810         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3811
3812         * undo.C: fix cursor positioning
3813
3814 2003-12-01  John Levon  <levon@movementarian.org>
3815
3816         * BufferView_pimpl.C: fix a crash on exit with
3817         a buffer open
3818
3819 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3820
3821         * BranchList.C: fix setSelected() method.
3822
3823 2003-11-28  André Pönitz  <poenitz@gmx.net>
3824
3825         * ParagraphParameters.[Ch]:
3826         * ParameterStruct.h: remove space above/below from Paragraph to
3827          InsetVSpace
3828
3829         * BufferView_pimpl.C:
3830         * factory.C:
3831         * lyxfunc.C:
3832         * lyxtext.h:
3833         * output_latex.C:
3834         * paragraph.C:
3835         * paragraph_funcs.C:
3836         * rowpainter.[Ch]:
3837         * text.C:
3838         * text2.C:
3839         * text3.C: adjust
3840
3841 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3842
3843         * factory.C: Syntax change for CharStyles
3844
3845 2003-11-28  André Pönitz  <poenitz@gmx.net>
3846
3847         * BufferView.[Ch]:
3848         * BufferView.[Ch]:
3849         * buffer.[Ch]:
3850         * buffer.[Ch]: move LyXText member
3851
3852 2003-11-28  André Pönitz  <poenitz@gmx.net>
3853
3854         * BufferView.[Ch]: make LyXText * text a private member
3855
3856         * BufferView_pimpl.C:
3857         * cursor.C:
3858         * iterators.C:
3859         * lyx_cb.C:
3860         * lyxfind.C:
3861         * lyxtext.h:
3862         * rowpainter.[Ch]:
3863         * text.C:
3864         * text2.C:
3865         * undo.C: adjust
3866
3867         * output_plaintext.C: cleanup
3868
3869 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3870
3871         * buffer.C:
3872         * lyxtextclass.[Ch]: parametrize SGML document header
3873
3874 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3875
3876         * converter.[Ch]:
3877         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3878         getFlavor().
3879
3880 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3881
3882         * text2.C (setFont): rework using PosIterator (no more recursive)
3883         (setCharFont): no more needed
3884         (setLayout): no more selection cursors fiddling (done by redoCursor)
3885         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3886         destroy remaining ones)
3887
3888 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3889
3890         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3891         * lyxtext.h: ditto
3892         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3893         selection cursors
3894         * lyxfunc.C: adjust
3895         * text3.C: adjust + re-allow multi par depth changes
3896         * textcursor.C: simplify a bit
3897
3898 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3899
3900         * src/buffer.C:
3901         * src/lyxlayout.C:
3902         * src/lyxlayout.h:
3903         * src/lyxtext.h:
3904         * src/output_docbook.C:
3905         * src/output_latex.C:
3906         * src/paragraph.C:
3907         * src/paragraph.h:
3908         * src/sgml.C:
3909         * src/sgml.h:
3910         * src/text2.C: Introducing a number of tags parametrizing various
3911         XML formats that we may want to support
3912
3913 2003-11-25  André Pönitz  <poenitz@gmx.net>
3914
3915         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3916
3917         * lyxtext.h (leftMargin/rightMargin): simplify interface
3918
3919         * rowpainter.C:
3920         * text.C:
3921         * text2.C:
3922         * text3.C: adjust
3923
3924 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3925
3926         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3927         master file to any child files. Fixes bug 546.
3928
3929 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3930
3931         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3932
3933 2003-11-24  André Pönitz  <poenitz@gmx.net>
3934
3935         * rowpainter.C: simplification
3936
3937         * text2.C (updateCounters): remove call to redoParagraph on
3938         changed labels as this is far too expensive.
3939
3940 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3941
3942         * converter.C (convert): fix a crash: this function gets
3943         called with buffer == 0 from importer code.
3944
3945 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3946
3947         * text3.C (cursorPrevious): make sure that we do not compare
3948         iterators form different containers.
3949         (cursorNext): ditto
3950
3951         * rowpainter.C (paintSelection): make sure that we do not compare
3952         iterators from different containers.
3953
3954         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3955         iterators from different ParagraphList containers.
3956         [NEXT] ditto
3957
3958         * text2.C (LyXText): change order of initialization slightly
3959         (operator=): new function. copy all variables except cache_par_
3960         (moveUp): make sure that we do not compare iterators from
3961         different ParagraphList constainers.
3962         (moveDown): ditto
3963
3964         * text.C (firstPar): new function
3965         (lastPar): new function
3966         (endPar): new function
3967
3968         * lyxtext.h: move things around and group public functions, public
3969         variables, private functions, private variables
3970
3971 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3972
3973         * factory.C: change call to InsetERT constructor to avoid
3974         additional invocation of method status
3975         * text2.C (toggleInset): remove redundant update() call
3976         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3977         instead of a Bufferview pointer
3978
3979 2003-11-21  André Pönitz  <poenitz@gmx.net>
3980
3981         * rowpainter.C: simplification
3982
3983 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3984
3985         * text3.C (dispatch): make possible to extend a word/row selection
3986         with the mouse
3987
3988 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3989
3990         * lyxtext.h: x0_,y0_ -> xo_,yo_
3991         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3992         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3993         * rowpainter.C (paintRows): paint full paragraphs
3994
3995 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3996
3997         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3998         screen coordinates)
3999
4000 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4001
4002         * lyxtext.h: add x0_, y0_
4003         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4004         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4005
4006 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4007
4008         * text2.C (setCursorIntern): move the x_target update here *
4009         * text3.C: change some bv() to true/false in calls to
4010         cursorUp/Down/Right/Left
4011         * cursor.C: use helper function.
4012
4013 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4014
4015         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4016         * paragraph_funcs.[Ch]: correct comment
4017         * rowpainter.C: do not paint selections away from bv->cursor()
4018         Fix a long standing selection painting bug.
4019         * text3.C: generalize mouse-selection code to LyXTexts other that
4020         top one
4021         * textcursor.C: do not use y coords if we can use par offsets
4022
4023 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4024
4025         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4026         cursor position after e.g. inset insert)
4027
4028 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4029
4030         * lyxfind.C (replace): adjust to locking removal + some
4031         code simplification
4032
4033 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4034
4035         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4036         of the path
4037
4038 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4039
4040         * lyxlayout.[Ch]:
4041         * output_docbook.C: XML sanitation: new layout
4042         parameters InnerTag and CommandDepth
4043
4044 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4045
4046         * BufferView_pimpl.C:
4047         * factory.C:
4048         * text3.C: Fix the insertion and modification of button-style
4049         insets
4050
4051 2003-11-13  André Pönitz  <poenitz@gmx.net>
4052
4053         * InsetList.[Ch]: remove deleteLyXText
4054
4055         * paragraph.[Ch]: cache beginOfBody position
4056
4057         * Bidi.C:
4058         * text.C:
4059         * text2.C:
4060         * text3.C: remove superfluous update() calls
4061
4062         * vspace.C: cleanup
4063
4064 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4065
4066         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4067         * BufferView.C (fitLockedInsetCursor): remove
4068         * cursor.[Ch] (getDim): add
4069         * text.C (getRowNearY): add faster version
4070         * text3.C: remove some update calls
4071
4072 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4073
4074         * LaTeXFeatures.C:
4075         * LyXAction.C:
4076         * MenuBackend.C:
4077         * MenuBackend.h:
4078         * dispatchresult.h:
4079         * factory.C:
4080         * lfuns.h:
4081         * lyxfunc.C:
4082         * lyxtextclass.C:
4083         * lyxtextclass.h:
4084         * text3.C: The Character Style /XML short element patch.
4085
4086 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4087
4088         * text3.C:
4089         * factory.C: Small step to solving 'unable to insert some insets'
4090         problem
4091
4092 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4093
4094         * cursor.[Ch] (updatePos): new function for updating the y
4095         position of the tip inset
4096         * bufferview_funcs.C (put_selection_at):
4097         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4098
4099 2003-11-11  André Pönitz  <poenitz@gmx.net>
4100
4101         * text.C: remove big comment on invalid Paragraph pointers as it is
4102         not valid anymore
4103
4104 2003-11-11  André Pönitz  <poenitz@gmx.net>
4105
4106         * text_funcs.[Ch]: merge with ...
4107
4108         * text.C: ... this
4109
4110         * lyxtext.h:
4111         * text2.C:
4112         * text3.C: adjust
4113
4114         * Makefile.am: remove text_funcs.[Ch]
4115
4116 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4117
4118         * cursor.C (getPos): return absolute cached y coord
4119
4120         * BufferView_pimpl.C (fitCursor): new simplistic code
4121         (workAreaDispatch): add a fitCursor call
4122
4123 2003-11-10  André Pönitz  <poenitz@gmx.net>
4124
4125         * BufferView.[Ch]:
4126         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4127
4128 2003-11-10  André Pönitz  <poenitz@gmx.net>
4129
4130         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4131         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4132         indicate that the cursor needs to leave an inset
4133
4134         * lyxtext.h: remove inset locking
4135
4136         * cursor.[Ch]: re-implement functionality provided by inset locking
4137
4138         * BufferView.[Ch]:
4139         * BufferView_pimpl.[Ch]:
4140         * LyXAction.C:
4141         * bufferview_funcs.[Ch]:
4142         * factory.C:
4143         * funcrequest.[Ch]:
4144         * iterators.C:
4145         * lyx_cb.C:
4146         * lyxfind.C:
4147         * lyxfunc.C:
4148         * text.C:
4149         * text2.C:
4150         * text3.C:
4151         * undo.C: adjust
4152
4153 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4154
4155         * PosIterator.[Ch]: replace the stack with a vector, add inset
4156         accesor
4157         * iterators.[C]: adjust
4158
4159 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4160
4161         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4162         replaced
4163         * paragraph_funcs.C (readParToken): put the correct id in the
4164         error item, not the id of the top paragraph
4165
4166 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4167
4168         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4169         * bufferview_funcs.C (put_selection_at): use the above
4170
4171 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4172
4173         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4174
4175 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4176
4177         * output_linuxdoc.h:
4178         * output_plaintext.h:
4179         * output.h:
4180         * output_docbook.h: add #include statements
4181
4182 2003-11-05  José Matos  <jamatos@lyx.org>
4183
4184         * output_docbook.[Ch]:
4185         * output_latex.[Ch]:
4186         * output_linuxdoc.[Ch]:
4187         * output_plaintext.[Ch]: New files for output formats.
4188         * output.[Ch]: New file for helper functions.
4189
4190         * buffer.[Ch]:
4191         * paragraph_funcs.[Ch]: output functions moved to new files.
4192
4193         * outputparams.h: rename of latexrunparams.h
4194
4195         * LaTeX.[Ch]:
4196         * buffer.[Ch]:
4197         * bufferlist.[Ch]:
4198         * converter.[Ch]:
4199         * exporter.C:
4200         * paragraph.[Ch]:
4201         * paragraph_funcs.[Ch]:
4202         * paragraph_pimpl.[Ch]:
4203         * tabular.[Ch]: rename ascii to plaintext
4204         and LatexRunParams to OutputParams.
4205
4206 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4207
4208         * iterators.[Ch] (text): require bv argument
4209         * undo.C (recordUndo):
4210         * lyxfunc.C (dispatch):
4211         * bufferview_funcs.C (put_selection_at): adjust
4212
4213 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4214
4215         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4216
4217 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4218
4219         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4220         nestings
4221
4222 2003-11-04  André Pönitz  <poenitz@gmx.net>
4223
4224         * cursor.[Ch]: restructure
4225
4226         * BufferView.[Ch]:
4227         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4228
4229         * iterators.[Ch] (asCursor): remove
4230
4231         * lfuns.h: remove LFUN_INSET_EDIT
4232
4233         * lyxfunc.C:
4234         * tabular.C:
4235         * text.C:
4236         * text2.C:
4237         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4238
4239 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4240
4241         * lyxfind.[Ch]: complete overhaul
4242         * BufferView_pimpl.C:
4243         * lyxfunc.C: adjust
4244         * paragraph.[Ch] (insert): add
4245
4246 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4247
4248         * BufferView.[Ch]:
4249         * lyxtext.h:
4250         * text.C: remove dead spellcheck code
4251
4252 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4253
4254         * dispatchresult.h: add a val setter
4255
4256         * cursor.C (dispatch): use a tempvar for data_[i]
4257
4258 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4259
4260         * PosIterator.[Ch]: compile fix
4261
4262 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4263
4264         * text.C (cursorPar): deactivate the cursor cache
4265
4266 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4267
4268         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4269
4270 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4271
4272         * text3.C (dispatch): adjust for new DisptchResult semantics.
4273
4274         * lyxfunc.C (dispatch): handle update when return from
4275         Cursor::dispatch, adjust for new DispatchResult semantics.
4276
4277         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4278         DispatchResult(true) mean to not update. Add class functions for
4279         setting dispatched and update, as well as reading.
4280
4281         * cursor.C (dispatch): don't handle update here
4282
4283 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4284
4285         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4286         * trans_mgr.C: adjust
4287
4288         * paragraph_funcs.C (readParToken): exception safety
4289
4290         * lyxvc.h: store the vcs pointer in a scoped_ptr
4291         * lyxvc.C: adjust
4292
4293         * lyxsocket.C (serverCallback): exception safety
4294
4295         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4296
4297         * ispell.C (clone): make it return a auto_ptr
4298
4299         * factory.C (createInset): exception safety
4300         (readInset): exception safety
4301
4302         * bufferlist.C (newBuffer): exception safety
4303
4304         * Thesaurus.C (Thesaurus): use initialization for aik_
4305
4306         * MenuBackend.C (expandToc): exception safety.
4307
4308 2003-11-03  André Pönitz  <poenitz@gmx.net>
4309
4310         * buffer.C:
4311         * buffer.h:
4312         * bufferview_funcs.C: remove getInsetFromId()
4313
4314         * lyxcursor.[Ch]:
4315         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4316
4317         * lyxfunc.C:
4318         * text2.C:
4319         * text3.C: adjust
4320
4321 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4322
4323         * PosIterator.C (distance, advance): new
4324         * bufferview_funcs.[Ch] (put_selection_at): new
4325         * iterators.[Ch] (lockPath): new
4326
4327 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4328
4329         * iterators.[Ch] (asPosIterator): added
4330         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4331         * PosIterator.[Ch]: added
4332
4333 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4334
4335         * text3.C:
4336         * lyxfunc.C:
4337         * cursor.C (dispatch):
4338         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4339
4340         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4341         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4342         contructor, add a class function dispatched. Remove operator>=
4343
4344 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4345
4346         * debug.C: only use the default constructor for debugstream
4347         (lyxerr) here.
4348
4349         * main.C (main): include debug.h and setup the lyxerr streambuf
4350         here.
4351
4352 2003-10-31  José Matos  <jamatos@lyx.org>
4353
4354         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4355
4356         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4357         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4358         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4359         * paragraph_pimpl.C (simpleTeXSpecialC):
4360         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4361         add LatexRunParams argument.
4362
4363         * exporter.C (Export): change call accordingly.
4364
4365         * latexrunparams.h: add new member to take care of the other backends.
4366 2003-10-30  José Matos  <jamatos@lyx.org>
4367
4368         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4369         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4370         factorise code for paragraph output.
4371         * buffer.[Ch]:
4372         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4373         move functions.
4374
4375 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4376
4377         * text3.C (dispatch):
4378         * lyxfunc.C (dispatch):
4379         * cursor.C (dispatch):
4380         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4381
4382         * dispatchresult.h: make the dispatch_result_t ctor explicit
4383
4384 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4385
4386         * sgml.[Ch]:
4387         * buffer.C: small refactoring of docbook stuff
4388
4389 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4390
4391         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4392         meaning.
4393
4394 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4395
4396         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4397         operator dispatch_result_t, and operators for == != and >=
4398
4399         * cursor.C (dispatch): adjust for operator dispatch_result_t
4400         removal. comment out call to update
4401
4402         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4403
4404 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4405
4406         * text3.C:
4407         * text2.C:
4408         * text.C:
4409         * lyxtext.h:
4410         * lyxfunc.C:
4411         * cursor.C:
4412         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4413         (dispatch):
4414
4415         * dispatchresult.h: new file, DispatchResult broken out of
4416         insets/insetbase.h
4417
4418         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4419
4420 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4421
4422         * text.C (rowBreakPoint): put a hack inside #if 0
4423
4424 2003-10-28  André Pönitz  <poenitz@gmx.net>
4425
4426         * lyxtext.h:
4427         * metricsinfo.C:
4428         * paragraph_funcs.C:
4429         * rowpainter.C:
4430         * text.C:
4431         * text2.C: general cleanup (lots of small stuff)
4432
4433 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4434
4435         * text2.C (cursorEnd): simple fix to the "end key goes to one
4436         before the end on last row" bug
4437
4438 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4439
4440         * text.C (backspace): fix the "zombie characters"
4441
4442 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4443
4444         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4445
4446 2003-10-27  André Pönitz  <poenitz@gmx.net>
4447
4448         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4449
4450         * factory.C: handle new InsetPagebreak, InsetLine
4451
4452         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4453         and move handling into new InsetPagebreak, InsetLine
4454
4455         * BufferView_pimpl.C:
4456         * LyXAction.C:
4457         * ParagraphParameters.C:
4458         * ParameterStruct.h:
4459         * lyxfunc.C:
4460         * lyxtext.h:
4461         * paragraph.C:
4462         * paragraph.h:
4463         * paragraph_funcs.C:
4464         * paragraph_pimpl.C:
4465         * rowpainter.C:
4466         * text.C:
4467         * text2.C:
4468         * text3.C: adjust
4469
4470 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4471
4472         * text.C:
4473         * lyxrow_funcs.[Ch]:
4474         * Bidi.C:
4475         * paragraph.C:
4476         * lyxtext.h:
4477         * rowpainter.C:
4478         * text2.C:
4479         * text3.C: remove lastPos uses in favour of Row::endpos
4480
4481 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4482
4483         * undo.C (performUndoOrRedo): fix two crashes by setting a
4484         cursor by hand and reordering some calls. Use bv->lockInset instead
4485         of inset->edit because the latter loses cursor information
4486
4487 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4488
4489         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4490         by Martin
4491         (rowBreakPoint): fix width. change point to point + 1.
4492         Add a missing check.
4493
4494 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4495
4496         * MenuBackend.C:
4497         * lyxfunc.C: fix (at least partly) the problems
4498         with the Nav menu and headers inside branch insets
4499         reported by Kayvan
4500
4501 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4502
4503         * paragraph.C (getChar): add strong asserts
4504
4505         * lyxrow_funcs.C (lastPos): remove hideous hack
4506
4507         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4508         (fill): adjust to that (avoid an infinite loop)
4509
4510 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4511
4512         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4513
4514 2003-10-23  André Pönitz  <poenitz@gmx.net>
4515
4516         * RowList_fwd.h: change list<> to vector<> to gain speed
4517         after suggestion from Alfredo
4518
4519 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4520
4521         * lyxtext.h: move the bidi stuff from here...
4522         * text.C: and here
4523         * text2.C: and here
4524         * Bidi.[Ch]: ... to here
4525
4526 2003-10-23  André Pönitz  <poenitz@gmx.net>
4527
4528         * lyxtext.h:
4529         * text.C (isLastRow, isFirstRow): new functions
4530
4531         * paragraph.h: new width cache member
4532
4533         * rowpainter.C: replace RowList::iterator with Row & where possible
4534
4535         * lyxfunc.C: replace several view()->text with a single call
4536
4537         * toc.C: fix 'unused' warning
4538
4539 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4540
4541         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4542         when woring with stream::pos_type
4543         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4544
4545 2003-10-22  André Pönitz  <poenitz@gmx.net>
4546
4547         * lyxtext.h:
4548         * text.C: use Row & instead of RowList::iterator
4549
4550         * lyxrow.h: rename end() to endpos()
4551
4552         * rowpainter.C:
4553         * text.C:
4554         * text2.C: adjust
4555
4556 2003-10-22  Angus Leeming  <leeming@lyx.org>
4557
4558         * buffer.[Ch] (fully_loaded): new member function, returning true
4559         only when the file has been loaded fully.
4560         Used to prevent the premature generation of previews and by the
4561         citation inset to prevent computation of the natbib-style label.
4562
4563         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4564         templates are all set up.
4565
4566         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4567
4568 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4569
4570         * text.C: fixed an "oops" in the "is a bit silly"
4571         bug fix
4572
4573 2003-10-21  André Pönitz  <poenitz@gmx.net>
4574
4575         * FuncStatus.[Ch]: small stuff, whitespace
4576
4577         * lyxfont.[Ch]: operator<<() for debug reasons
4578
4579         * lyxfunc.C:
4580         * lyxrow_funcs.C:
4581         * lyxtext.h: whitespace, spelling
4582
4583         * paragraph.C: naming of variables
4584
4585         * text.C:
4586         * text2.C: small stuff
4587
4588
4589 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4590
4591         * text.C: (1) finish off the inset display() work;
4592         (2) fix the "is a bit silly" bug (accessing char
4593         past end of par).
4594
4595 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4596
4597         * text.C: re-introduce display() for insets, fixing the
4598         various bugs (stretch of line above, math inset
4599         positioning, ...)
4600
4601 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4602
4603         * text.C (rightMargin): remove spurious semicolon
4604
4605         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4606         1415)
4607
4608 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4609
4610         * text3.C: fix one crash due to wrong cursor def
4611
4612 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4613
4614         * vc-backend.C (scanMaster): make the regex static
4615
4616         * LaTeX.C (scanAuxFile): make the regexs static
4617
4618         * text3.C (doInsertInset, dispatch, dispatch):
4619         * text2.C (cursorUp, cursorDown):
4620         * text.C (selectNextWordToSpellcheck):
4621         * BufferView_pimpl.C (dispatch):
4622         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4623
4624 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4625
4626         * lyxsocket.C: include <cerrno>
4627
4628 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4629
4630         * lyxfunc.C (dispatch): remove textcache stuff
4631
4632         * bufferlist.C (release): remove textcache stuff
4633         (closeAll): ditto
4634
4635         * TextCache.C: delete file
4636         * TextCache.h: delete file
4637
4638         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4639
4640         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4641         delete of the bv_->text.
4642         (resizeCurrentBuffer): remove texcache stuff
4643         (workAreaResize): ditto
4644
4645 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4646
4647         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4648         action.
4649
4650 2003-10-16  André Pönitz  <poenitz@gmx.net>
4651
4652         * lyxrow.[Ch]:
4653         * paragraph.h:
4654         * rowpainter.C:
4655         * text.C:
4656         * text2.C:
4657         * text3.C: speed up by storing y positions per paragraph plus per-row
4658         offset instead of having a 'full' y position in the row.
4659
4660 2003-10-15  André Pönitz  <poenitz@gmx.net>
4661
4662         * iterators.[Ch]:
4663         * iterators.[Ch]:
4664         * undo.[Ch]: make undo aware of inner insets
4665
4666 2003-10-14  Angus Leeming  <leeming@lyx.org>
4667
4668         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4669         static member functions LyX::ref() and LyX::cref.
4670         (lastfiles): new accessor functions for the new lastfiles_ member var.
4671         (addLyXView, views_): add a new LyXView to the list of views_.
4672         (updateInset): loop over all LyXViews to call their own updateInset
4673         member function, returning a pointer to the Buffer owning the inset.
4674
4675         * BufferView_pimpl.C (loadLyXFile):
4676         * MenuBackend.C (expandLastfiles):
4677         * bufferlist.C (MenuWrite, QuitLyX):
4678         lastfiles is no longer a global variable.
4679         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4680
4681         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4682         static function. Access through LyX::cref().emergencyCleanup().
4683
4684 2003-10-14  André Pönitz  <poenitz@gmx.net>
4685
4686         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4687
4688         * undo.[Ch]: restoring part of 'undo in insets'
4689
4690         * Makefile.am:
4691         * undo_funcs.[Ch]: merge with undo.[Ch]
4692
4693         * tabular.C: small cleansing stuff
4694
4695 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4696
4697         * paragraph_funcs.C (readParToken): report unknown insets as error
4698         boxes. Use the outer paragraph as location (also for unknown
4699         tokens).
4700
4701         * factory.C (readInset): do not abort on reading an unknown inset.
4702         Eat it and return 0.
4703
4704 2003-10-13  Angus Leeming  <leeming@lyx.org>
4705
4706         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4707
4708         * lyxrc.C: displayTranslator is now a function,
4709         declared in GraphicsTypes.h.
4710
4711 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4712
4713         * format.C: new placeholder $$a to pass the socket address.
4714
4715         * bufferlist.[Ch]: new function getBufferFromTmp.
4716
4717         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4718           files in the temporary dir.
4719
4720 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4721
4722         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4723
4724         * Makefile.am: add lyxsocket.[Ch].
4725
4726         * lyx_main.C (error_handler): handle SIGPIPE.
4727
4728 2003-10-13  André Pönitz  <poenitz@gmx.net>
4729
4730         * BufferView_pimpl.C:
4731         * lyxtext.h:
4732         * text.C:
4733         * text2.C:
4734         * text3.C:
4735         * undo_funcs.[Ch]: use paroffset_type instead of
4736           ParagraphList::iterators to prevent multiple conversion
4737           (and get a more robust interface)
4738
4739 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4740
4741         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4742         * lyxtext.h: ditto
4743         * text3.C (dispatch): ditto
4744
4745 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4746
4747         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4748         move the onlyfile, use onlyfile instead of foundfile in a couple
4749         of places.
4750
4751         * DepTable.C (update): flush the error stream a bit more
4752
4753 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4754
4755         * lyxserver.C (callback): adjust
4756
4757         * lyxfunc.C (getStatus): add a missing brace in commented code
4758         (ensureBufferClean): reindent
4759         (dispatch): delete version taking a string
4760
4761 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4762
4763         * LaTeX.C (deplog): move found file handlig from here...
4764         (handleFoundFile): .. to new function here.
4765         (deplog): make sure to discover several files mentioned on the
4766         same log line.
4767
4768 2003-10-10  André Pönitz  <poenitz@gmx.net>
4769
4770         * lyxfunc.C:
4771         * lyxtext.h:
4772         * tabular.C:
4773         * text.C:
4774         * text2.C:
4775         * text3.C: fix some of the tabular crashes
4776
4777 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4778
4779         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4780
4781         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4782
4783 2003-10-09  André Pönitz  <poenitz@gmx.net>
4784
4785         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4786
4787         * BufferView.C:
4788         * BufferView_pimpl.C:
4789         * bufferview_funcs.C:
4790         * lyx_cb.C:
4791         * lyxcursor.C:
4792         * lyxfind.C:
4793         * lyxfunc.C:
4794         * lyxtext.h:
4795         * text.C:
4796         * text2.C:
4797         * text3.C:
4798         * text_funcs.[Ch]:
4799         * textcursor.[Ch]:
4800         * undo_funcs.C: adjust
4801
4802 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4803
4804         * text2.C (incrementItemDepth): new function, use a backtracking
4805         algorithm to discover the correct item depth.
4806         (resetEnumCounterIfNeeded): new function, use a backtracking
4807         algorithm to discover if counter reset is needed.
4808         (setCounter): use them. Simplify a bit. Add different labels for
4809         different item depths for itemize.
4810
4811         * paragraph.C (Paragraph): remove initialization of enumdepth
4812         (operator=): ditto
4813
4814         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4815         enumerate and itemize. Change the type of itemdepth to signed char.
4816
4817 2003-10-08  André Pönitz  <poenitz@gmx.net>
4818
4819         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4820           thing assignable.
4821         * text.C:
4822         * text2.C: adjust
4823
4824         * tabular.[Ch]: fix crash after 'row-insert'
4825
4826 2003-10-08  Angus Leeming  <leeming@lyx.org>
4827
4828         Fix doxygen warnings.
4829
4830         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4831         Remove CutAndPaste:: prefix from header file declaration.
4832
4833         * LColor.h (fill): remove LColor:: prefix from declaration.
4834
4835         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4836         use lyx::depth_type rather than Paragraph::depth_type so that
4837         header file and .C file match.
4838
4839         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4840
4841         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4842         * aspell.C: \file aspell_local.C -> \file aspell.C
4843         * gettext.C: \file gettext.C -> \file src/gettext.C
4844         * gettext.h: \file gettext.h -> \file src/gettext.h
4845         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4846         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4847         * text.C: \file text.C -> \file src/text.C
4848
4849         * toc.C: move comment so that doxygen is not confused.
4850
4851 2003-10-07  Angus Leeming  <leeming@lyx.org>
4852
4853         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4854
4855 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4856
4857         * aspell.C:
4858         * aspell_local.h: add forgotten std::string's.
4859
4860 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4861
4862         * LaTeXFeatures.C:
4863         * LyXAction.C:
4864         * factory.C:
4865         * lfuns.h:
4866         * lyxfunc.C:
4867         * text3.C: The Box patch. Fancybox support, minipage, parbox
4868
4869 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4870
4871         * CutAndPaste.h:
4872         * DepTable.h:
4873         * FloatList.h:
4874         * LaTeXFeatures.h:
4875         * ParagraphParameters.h:
4876         * TextCache.h:
4877         * Thesaurus.h:
4878         * bufferlist.h:
4879         * exporter.h:
4880         * importer.h:
4881         * lastfiles.h:
4882         * lyxfind.h:
4883         * lyxfont.h:
4884         * lyxlex.h:
4885         * lyxtextclasslist.h:
4886         * messages.h:
4887         * paragraph.h:
4888         * paragraph_pimpl.C:
4889         * textcursor.h: add <string> and other small fixes to make Lars'
4890         std::string patch compile with STLport.
4891
4892 2003-10-06  Angus Leeming  <leeming@lyx.org>
4893
4894         * LColor.h: Add missing #include <string>.
4895
4896 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4897
4898         * All most all file in all subdirs: Make <string> be the prefered
4899         way of getting to std::string, add using declarations.
4900
4901 2003-10-06  André Pönitz  <poenitz@gmx.net>
4902
4903         * metricsinfo.C: initialize LyXFont before changing attribute.
4904         (fixes the 'math in \emph is upright' bug)
4905
4906 2003-10-06  André Pönitz  <poenitz@gmx.net>
4907
4908         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4909
4910 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4911
4912         * graph.C:
4913         * paragraph_pimpl.C: Small fixes to build using STLport
4914
4915 2003-10-02  André Pönitz  <poenitz@gmx.net>
4916
4917         * lyxfunc.C:
4918         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4919
4920 2003-10-01  André Pönitz  <poenitz@gmx.net>
4921
4922         * factory.C: assert early
4923
4924 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4925
4926         * lyx_main.C: remove the global debug object
4927
4928         * debug.h: adjust for new debugstream
4929
4930         * debug.C: adjust for new debugstream and keep the global debug
4931         object here.
4932
4933 2003-09-22  Angus Leeming  <leeming@lyx.org>
4934
4935         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4936         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4937         an incomplete class LyXFont.
4938
4939 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4940
4941         * factory.C: bug fix in branches
4942
4943 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4944
4945         * lyxfunc.C (processKeySym): adjust
4946         (dispatch): adjust
4947         (dispatch): change arg name from ev to func, adjust
4948         (sendDispatchMessage): ditto
4949
4950         * lyx_main.C (defaultKeyBindings): adjust keybindings
4951         (deadKeyBindings): ditto
4952
4953         * kbsequence.C (addkey): return a FuncRequest
4954
4955         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4956
4957         * kbmap.C (bind): take a FuncRequest as arg, adjust
4958         (read): adjust
4959         (lookup): adjust
4960         (defkey): change to take a FuncRequest as arg, adjust
4961         (findbinding): take a FuncRequest as arg, adjust.
4962
4963         * funcrequest.h (operator=): added
4964
4965         * funcrequest.C (FuncRequest): default kb_action changed from
4966         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4967
4968         * buffer.C (dispatch): simplify
4969         (dispatch): adjust to take a FuncRequest as arg, adjust
4970
4971         * boost.C (assertion_failed): change assertion message slightly
4972
4973         * ToolbarBackend.C (read): simplify
4974
4975         * MenuBackend.C (binding): adjust call to findbinding, add a
4976         message if no binding is found.
4977         (read): simplify
4978         (expandToc): correct by adding a empty FuncRequest
4979
4980         * LyXAction.C: include <boost/assert.hpp>
4981         (isPseudoAction): delete function
4982         (LookupFunc): change name to...
4983         (lookupFunc): this. change return type to FuncRequest.
4984         (getActionName): take kb_action as arg, simplify
4985         (funcHasFlag): add an assert, simplify.
4986
4987 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4988
4989         * toc.C (action): return a FuncRequest, simplify
4990
4991         * lyxfunc.C (processKeySym): adjust
4992         (getStatus): delete version that takes an int.
4993         (getStatus): adjust
4994         (dispatch): delete version that takes action as int
4995         (dispatch): adjust
4996         (sendDispatchMessage): simplify and adjust
4997
4998         * funcrequest.C (getArg): take unsigned int as arg
4999
5000         * ToolbarBackend.C (read): adjust
5001         (add): delete version that takes func as a string.
5002         (getIton): take a FuncRequest as arg
5003
5004         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5005         action.
5006
5007         * MenuBackend.C (MenuItem): add a new construct that only takes a
5008         Kind, simplify the constructor use for submenus.
5009         (add): adjust
5010         (expandLastfiles): adjust
5011         (expandDocuments): adjust
5012         (expandFormats): adjust
5013         (expandFloatListInsert): adjust
5014         (expandFloatInsert): adjust
5015         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5016
5017         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5018         Remove class variables lyx_pseudo_map and lyx_arg_map
5019
5020         * LyXAction.C (searchActionArg): delete function
5021         (getPseudoAction): delete function
5022         (retrieveActionArg): delete function
5023         (LookupFunc): make it return kb_action, simplify.
5024         (getActionName): simplify
5025
5026         * factory.C (createInset): fix new bug
5027
5028 2003-09-19  Angus Leeming  <leeming@lyx.org>
5029
5030         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5031         masterFilename_ parameter in the include inset.
5032
5033         * factory.C (createInset): changes due to the changes to InsetInclude.
5034
5035 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5036
5037         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5038
5039 2003-09-18  Angus Leeming  <leeming@lyx.org>
5040
5041         * buffer.C:
5042         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5043         Inset::fillWithBibKeys.
5044         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5045
5046 2003-09-18  Angus Leeming  <leeming@lyx.org>
5047
5048         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5049         variables.
5050         (ctor): pass and store a 'Buffer const &'
5051         (buffer): new member function.
5052
5053         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5054         '*this' to the LaTeXFeatures ctor.
5055
5056 2003-09-18  Angus Leeming  <leeming@lyx.org>
5057
5058         * LColor.h:
5059         * lyxfont.C:
5060         * lyxfont.h:
5061         * lyxtext.h:
5062         * text.C: rename EnumLColor as LColor_color.
5063
5064 2003-09-18  Angus Leeming  <leeming@lyx.org>
5065
5066         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5067         remove #include "insets/insetbase.h" from cursor.h.
5068
5069 2003-09-18  Angus Leeming  <leeming@lyx.org>
5070
5071         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5072         InsetOld_code to remove #include "inset.h".
5073
5074         * iterators.C: add #include "insets/inset.h"
5075
5076 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5077
5078         * BufferView.C: remove more locking stuff that apparently doesn't
5079         do anything sensible.
5080
5081 2003-09-16  André Pönitz  <poenitz@gmx.net>
5082
5083         * paragraph.[Ch]:
5084         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5085           performance boost.
5086
5087 2003-09-16  Angus Leeming  <leeming@lyx.org>
5088
5089         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5090
5091         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5092         arg/return type.
5093
5094         * paragraph.h: remove #include "lyxfont.h". Forward declare
5095         LyXFont_size.
5096
5097 2003-09-16  Angus Leeming  <leeming@lyx.org>
5098
5099         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5100         of support/textutils.h.
5101         (isWord): move the contents of support/textutils.h's IsWordChar here.
5102
5103         * buffer.C:
5104         * lyxfind.C:
5105         * rowpainter.C:
5106         * text.C:
5107         * text2.C: add #include "paragraph.h".
5108
5109         * rowpainter.C:
5110         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5111
5112 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5113
5114         * main.C:
5115         * lyx_main.C:
5116         * lyx_cb.C:
5117         * buffer.C:
5118         * LaTeX.C: use namespace alias for lyx::support::os
5119
5120 2003-09-16  Angus Leeming  <leeming@lyx.org>
5121
5122         * bufferparams.C:
5123         * bufferview_funcs.C:
5124         * factory.C:
5125         * lyxfunc.C:
5126         * paragraph_pimpl.C:
5127         * rowpainter.C:
5128         * text.C: add #include "LColor.h".
5129
5130 2003-09-16  Angus Leeming  <leeming@lyx.org>
5131
5132         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5133         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5134         return LyXFont &.
5135         Store the FontBits::color variable as an int rather than as an
5136         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5137         file.
5138
5139         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5140         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5141         string calls together.
5142
5143         * lyxrc.C: add #include "LColor.h".
5144
5145 2003-09-15  Angus Leeming  <leeming@lyx.org>
5146
5147         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5148         a cow_ptr.
5149
5150 2003-09-15  Angus Leeming  <leeming@lyx.org>
5151
5152         * LColor.h: add an EnumLColor wrapper for LColor::color.
5153
5154         * lyxfont.[Ch] (color, setColor, realColor):
5155         * lyxtext.h, text.C (backgroundColor):
5156         pass EnumLColor args to/from the functions, rather than LColor::color
5157         ones.
5158
5159         * lyxfont.h:
5160         * lyxtext.h: forward declare EnumLColor.
5161
5162         * lyx_main.C: add #include "LColor.h".
5163
5164 2003-09-15  Angus Leeming  <leeming@lyx.org>
5165
5166         * .cvsignore: add lyx-gtk.
5167
5168 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * Chktex.C
5171         * LaTeX.C
5172         * LaTeXFeatures.C
5173         * ParagraphParameters.C
5174         * Spacing.C
5175         * buffer.C
5176         * bufferparams.C
5177         * bufferview_funcs.C
5178         * chset.C
5179         * counters.C
5180         * funcrequest.C
5181         * lyxfont.C
5182         * lyxgluelength.C
5183         * lyxlength.C
5184         * paragraph.C
5185         * paragraph_funcs.C
5186         * text3.C
5187         * vc-backend.C: remove usage of STRCONV
5188
5189 2003-09-15  Angus Leeming  <leeming@lyx.org>
5190
5191         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5192         explicitly define the color passed to the painter.
5193
5194 2003-09-15  Angus Leeming  <leeming@lyx.org>
5195
5196         * bufferparams.C (BufferParams): reorder member initializers to avoid
5197         compiler warning.
5198
5199 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5200
5201         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5202         * text.C (updateRowPositions): remove an unusual nop
5203
5204 2003-09-12  André Pönitz  <poenitz@gmx.net>
5205
5206         * BufferView_pimpl.C:
5207         * Bullet.C:
5208         * layout.h:
5209         * lyxfunc.C:
5210         * lyxlayout.[Ch]:
5211         * lyxtextclass.C:
5212         * rowpainter.C:
5213         * text.C:
5214         * text2.C:
5215         * Counters.[Ch]: finish the 'automatic counters' job
5216
5217 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5218
5219         * aspell.C: include <boost/assert.cpp> (compile fix)
5220
5221 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5222
5223         * boost.C (assertion_failed): use lyx::support::abort instead of
5224         assert.
5225
5226 2003-09-10  Angus Leeming  <leeming@lyx.org>
5227
5228         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5229         with their _fwd progeny.
5230
5231 2003-09-09  Angus Leeming  <leeming@lyx.org>
5232
5233         134 files throughtout the source tree: replace 'using namespace abc;'
5234         directives with the appropriate 'using abc::xyz;' declarations.
5235
5236 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5237
5238         * boost.C (emergencyCleanup): moved here from LAssert.c
5239         (assertion_failed): new function, called by BOOST_ASSERT
5240
5241         * several files: change Assert to BOOST_ASSERT
5242
5243 2003-09-09  Angus Leeming  <leeming@lyx.org>
5244
5245         * buffer.[Ch]: Add an Impl class and move Buffer's member
5246         variables into it. As a result move several header files out of
5247         buffer.h.
5248
5249         Add header files to lots of .C files all over the tree as a result.
5250
5251 2003-09-09  Angus Leeming  <leeming@lyx.org>
5252
5253         * buffer.[Ch]: make Buffer's member variables private. Add
5254         accessor functions.
5255
5256         Lots of changes all over the tree as a result.
5257
5258 2003-09-08  Angus Leeming  <leeming@lyx.org>
5259
5260         * graph.C: #include <config.h>.
5261
5262 2003-09-08  Angus Leeming  <leeming@lyx.org>
5263
5264         * BranchList.C:
5265         * BufferView.C:
5266         * BufferView_pimpl.C:
5267         * CutAndPaste.C:
5268         * DepTable.C:
5269         * LaTeX.C:
5270         * LaTeXFeatures.C:
5271         * LyXAction.C:
5272         * MenuBackend.C:
5273         * TextCache.C:
5274         * aspell.C:
5275         * buffer.C:
5276         * bufferlist.C:
5277         * changes.C:
5278         * chset.C:
5279         * converter.C:
5280         * counters.C:
5281         * debug.C:
5282         * graph.C:
5283         * ispell.C:
5284         * lyx_cb.C:
5285         * lyxfind.C:
5286         * lyxfunc.C:
5287         * lyxlex_pimpl.C:
5288         * lyxrc.C:
5289         * lyxrow.C:
5290         * paragraph.C:
5291         * rowpainter.C:
5292         * texrow.C:
5293         * text.C:
5294         * text2.C:
5295         * toc.C: remove redundant using directives.
5296
5297 2003-09-07  Angus Leeming  <leeming@lyx.org>
5298
5299         * LaTeXFeatures.h: remove #include "support/types.h".
5300         * ToolbarBackend.h: remove #include <algorithm>.
5301         * changes.h: remove #include <ctime>.
5302         * debug.h: remove #include <iosfwd>.
5303         * graph.h: remove #include "support/std_string.h".
5304         * lyx_main.h: remove #include <csignal>.
5305         * lyxlex_pimpl.h: remove #include <fstream>.
5306         * sgml.h: remove #include <algorithm>, <utility>.
5307         * toc.h: remove #include "support/std_ostream.h".
5308         Add #include <iosfwd>.
5309
5310 2003-09-07  Angus Leeming  <leeming@lyx.org>
5311
5312         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5313
5314         * converter.h: forward declare LatexRunParams.
5315         * encoding.h: remove #include "lyxrc.h".
5316         * lyxtext.h: remove #include "LColor.h".
5317         * lyxtextclass.h: remove #include "support/types.h".
5318         * trans.h: remove #include "tex-accent.h".
5319         * trans_mgr.h: remove #include "tex-accent.h".
5320         * insets/inset.h: remove #include "support/types.h", <vector>.
5321         * insets/insetcollapsable.h: remove #include "LColor.h".
5322         * insets/insetinclude.h: remove #include "dimension.h".
5323         * insets/insetlatexaccent.h: remove #include "dimension.h".
5324         * insets/insetoptarg.h:: remove #include "insettext.h".
5325         * insets/insettext.h: remove #include "dimension.h",
5326         <boost/shared_ptr.hpp>
5327
5328         * insets/renderers.h: add #include "dimension.h".
5329         * insets/updatableinset.h: add #include "support/types.h".
5330
5331         * many .C files: Associated changes.
5332
5333 2003-09-06  Angus Leeming  <leeming@lyx.org>
5334
5335         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5336         one, inside testInvariant.
5337
5338         * PrinterParams.C: new file.
5339         * PrinterParams.[Ch]: move the function bodies out of line.
5340
5341 2003-09-06  Angus Leeming  <leeming@lyx.org>
5342
5343         * ParagraphParameters.h: forward declare ParameterStruct rather than
5344         including its header file.
5345         (depth): moved out-of-line.
5346
5347 2003-09-06  Angus Leeming  <leeming@lyx.org>
5348
5349         * BufferView_pimpl.h:
5350         * kbmap.h:
5351         * kbsequence.h:
5352         * lyxfunc.h: forward declare LyXKeySym rather than
5353         #include "frontends/LyXKeySym.h".
5354
5355         * BufferView_pimpl.C:
5356         * kbmap.C:
5357         * kbsequence.C:
5358         * lyxfunc.C: associated changes.
5359
5360 2003-09-06  Angus Leeming  <leeming@lyx.org>
5361
5362         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5363         As a result, can remove the #include "insets/inset.h" from BufferView.h
5364
5365 2003-09-06  Angus Leeming  <leeming@lyx.org>
5366
5367         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5368         As a result, can remove the #include "insets/inset.h" from BufferView.h
5369
5370 2003-09-06  Angus Leeming  <leeming@lyx.org>
5371
5372         * buffer_funcs.C:
5373         * buffer.h:
5374         * bufferlist.C:
5375         * BufferView.C:
5376         * bufferview_funcs.C:
5377         * BufferView_pimpl.C:
5378         * CutAndPaste.C:
5379         * lyx_cb.C:
5380         * lyxfunc.C:
5381         * paragraph.h:
5382         * ParagraphParameters.C:
5383         * tabular.C:
5384         * text3.C:
5385         * toc.C:
5386         * undo_funcs.C:
5387         * frontends/controllers/ControlDocument.C:
5388         * insets/insetcaption.C: rearrange the #includes into some sort of
5389         coherent order.
5390
5391         * buffer.h: remove #includes ErrorList.h, undo.h
5392
5393 2003-09-06  Angus Leeming  <leeming@lyx.org>
5394
5395         * support/types.h: add a 'depth_type' typedef, used to store the
5396         nesting depth of a paragraph.
5397
5398         * paragraph.h:
5399         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5400         defining explicitly.
5401
5402         * buffer.h:
5403         * paragraph_funcs.h:
5404         * ParagraphParameters.h:
5405         * sgml.h: use lyx::depth_type rather than Paragraph or
5406         ParameterStruct's depth_type.
5407
5408         * buffer.h
5409         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5410
5411         * BufferView.C:
5412         * BufferView_pimpl.C:
5413         * CutAndPaste.C:
5414         * ParagraphParameters.C:
5415         * buffer_funcs.C:
5416         * bufferlist.C:
5417         * bufferview_funcs.C:
5418         * lyx_cb.C:
5419         * lyxfunc.C:
5420         * tabular.C:
5421         * text3.C:
5422         * toc.C:
5423         * undo_funcs.C:
5424         * frontends/LyXView.C:
5425         * frontends/controllers/ControlDocument.C:
5426         * frontends/controllers/ControlErrorList.C:
5427         * insets/insetbibitem.C:
5428         * insets/insetbranch.C:
5429         * insets/insetcaption.C:
5430         * insets/insetcollapsable.C:
5431         * insets/insetenv.C:
5432         * insets/insetert.C:
5433         * insets/insetfloat.C:
5434         * insets/insetfoot.C:
5435         * insets/insetfootlike.C:
5436         * insets/insetnewline.C:
5437         * insets/insetquotes.C:
5438         * insets/insettabular.C:
5439         * insets/insettext.C:
5440         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5441
5442         * frontends/controllers/ControlChanges.C: #include "changes.h".
5443
5444 2003-09-06  Angus Leeming  <leeming@lyx.org>
5445
5446         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5447         than #including paragraph.h.
5448
5449         * ParagraphList.h:
5450         * RowList.h: deleted. Superfluous.
5451
5452         * CutAndPaste.h:
5453         * iterators.h:
5454         * lyxcursor.h:
5455         * lyxtext.h:
5456         * text_funcs.h:
5457         * undo.h:
5458         * undo_funcs.h:
5459         * insets/inset.h:
5460         * insets/insettext.h: use ParagraphList_fwd.h rather than
5461         ParagraphList.h.
5462
5463         * paragraph.h: don't forward declare ParagraphList.
5464
5465         * buffer.h:
5466         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5467         rather than ParagraphList.h. paragraph.h is still needed for the
5468         Paragraph::depth_type parameters.
5469
5470         * textcursor.h: enable it to compile stand-alone in light of the
5471         above changes.
5472
5473         * bufferview_funcs.C:
5474         * iterators.C:
5475         * lyxfunc.C:
5476         * lyxrow_funcs.C:
5477         * paragraph.C:
5478         * rowpainter.C:
5479         * text.C:
5480         * text2.C:
5481         * text3.C:
5482         * text_funcs.C:
5483         * textcursor.C:
5484         * undo.C:
5485         * frontends/controllers/ControlParagraph.C:
5486         * frontends/controllers/ControlTabular.C:
5487         * insets/insetmarginal.C:
5488         * insets/insetminipage.C:
5489         * insets/insetnote.C:
5490         * insets/insetoptarg.C: add header files needed to compile again.
5491
5492 2003-09-06  Angus Leeming  <leeming@lyx.org>
5493
5494         * RowList_fwd.h: new file, forward-declaring Row rather than
5495         #including lyxrow.h.
5496
5497         * lyxrow_funcs.h:
5498         * lyxtext.h:
5499         * paragraph.h:
5500         * insets/insettext.h: use it instead of RowList.h
5501
5502         * bufferview_funcs.C:
5503         * lyxfunc.C:
5504         * lyxrow_funcs.C:
5505         * paragraph.C:
5506         * rowpainter.C:
5507         * text.C:
5508         * text2.C:
5509         * text3.C: #include "RowList.h".
5510
5511 2003-09-05  Angus Leeming  <leeming@lyx.org>
5512
5513         * factory.C (createInset):
5514         * vspace.C (c-tor): replace sscanf call with an istringstream.
5515         * ispell.C: re-add missing HP/UX headers.
5516         * lyxserver.C: re-add missing  os2 headers.
5517
5518 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5519
5520         * BranchList.C:
5521         * graph.C:
5522         * ispell.C:
5523         * lastfiles.C:
5524         * lyx_cb.C:
5525         * lyxserver.C:
5526         * texrow.C:
5527         * text3.C: re-add missing system headers, needed for 2.95.2.
5528
5529 2003-09-05  Angus Leeming  <leeming@lyx.org>
5530
5531         Changes most place everywhere due to the removal of using directives
5532         from support/std_sstream.h.
5533
5534 2003-09-05  Angus Leeming  <leeming@lyx.org>
5535
5536         Replace LString.h with support/std_string.h,
5537         Lsstream.h with support/std_sstream.h,
5538         support/LIstream.h with support/std_istream.h,
5539         support/LOstream.h with support/std_ostream.h.
5540
5541         Changes resulting throughout the tree.
5542
5543 2003-09-05  Angus Leeming  <leeming@lyx.org>
5544
5545         * sgml.h: ensure that the header file can be compiled stand-alone.
5546         * *.C: strip out redundant #includes. (320 in total.)
5547
5548 2003-09-04  Angus Leeming  <leeming@lyx.org>
5549
5550         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5551         here (from getPackages).
5552
5553         * debug.[Ch]: add a new EXTERNAL tag.
5554
5555 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5556
5557         * text2.C (cursorEnd): simplify
5558         (setCursor): adjust
5559         (getColumnNearX): adjust
5560
5561         * text.C (computeBidiTables): adjust
5562         (fill): adjust
5563
5564         * rowpainter.C (paintChars): adjust
5565         (paintSelection): adjust
5566         (paintChangeBar): adjust
5567         (paintText): adjust
5568
5569         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5570         lastPos instead.
5571         (numberOfSeparators): adjust
5572
5573 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5574
5575         * LyXAction.C:
5576         * box.[Ch]:
5577         * lfuns.h:
5578         * lyxfunc.C:
5579         * text3.C: Restricts the mouse click functionality
5580         of insets like bibtex, include, toc and floatlist to the visible
5581         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5582         up the dialogs. Cursor has to be in front of the inset (i.e.
5583         start of row) for this to function.
5584
5585 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5586
5587         * bufferview_funcs.C (currentState): output row information
5588
5589 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5590
5591         * bufferview_funcs.C (currentState): output paragraph position
5592
5593 2003-09-04  Angus Leeming  <leeming@lyx.org>
5594
5595         * FloatList.h: move out #include "Floating.h".
5596         * LaTeX.h: move out #include "DepTable.h".
5597         * LyXAction.h: move out #include "funcrequest.h".
5598         * buffer.h: move out #include "author.h", "iterators.h".
5599         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5600         * lyx_main.h: move out #include "errorlist.h".
5601         * lyxfunc.h: move out #include "FuncStatus.h".
5602         * lyxtext: move out #include "lyxcursor.h".
5603         * paragraph_pimpl.h: move out #include "counters.h".
5604
5605 2003-09-03  Angus Leeming  <leeming@lyx.org>
5606
5607         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5608         preamble_snippets list, enabling us to add snippets to the preamble
5609         only if the snippet was not there already.
5610
5611 2003-09-04  Angus Leeming  <leeming@lyx.org>
5612
5613         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5614
5615 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5616
5617         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5618         update
5619
5620 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5621
5622         * BranchList.C: point fix, earlier forgotten
5623
5624 2003-09-02  Angus Leeming  <leeming@lyx.org>
5625
5626         * box.C (contains): renamed from 'contained' after a fantastic
5627         amount of hot air.
5628
5629 2003-09-02  John Levon  <levon@movementarian.org>
5630
5631         * BufferView.C:
5632         * lyxcursor.h:
5633         * lyxcursor.C:
5634         * lyxfunc.C:
5635         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5636
5637 2003-09-02  John Levon  <levon@movementarian.org>
5638
5639         * text2.C: simplification of cursorEnd(), including partial
5640         fix for bug 1376
5641
5642 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5643
5644         * buffer.C (readFile): add a space
5645
5646 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5647
5648         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5649
5650 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5651
5652         * buffer.C (readFile): new function, take a filename and a
5653         ParagraphList::iterator
5654         (readFile): adjust
5655         (readFile): adjust, make it private. don't use setStream, make
5656         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5657         always contain the filename.
5658
5659         * BufferView.C (insertLyXFile): simplify and make it work for
5660         gzipped files.
5661
5662 2003-08-30  John Levon  <levon@movementarian.org>
5663
5664         * Makefile.am: fix dist (from Kayvan)
5665
5666 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5667
5668         * most files: change to use const Buffer refs
5669
5670 2003-08-27  André Pönitz  <poenitz@gmx.net>
5671
5672         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5673         on top of ownerPar().
5674
5675 2003-08-27  John Levon  <levon@movementarian.org>
5676
5677         * funcrequest.C: properly initialise POD members
5678
5679 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5680
5681         * lyxtext.h (top_y): move top_y from here
5682         * text.C:
5683         * text2.C:
5684         * text3.C:
5685         * BufferView.[Ch]:
5686         * BufferView_pimpl.[Ch]: to here
5687         * frontends/screen.C:
5688         * insets/insettabular.C:
5689         * insets/insettext.C: adjust
5690         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5691
5692 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5693
5694         * BufferView.[Ch]:
5695         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5696
5697 2003-08-26  André Pönitz  <poenitz@gmx.net>
5698
5699         * paragraph_func.[Ch] (outerPar): new function
5700
5701         * paragraph.C:
5702         * paragraph_funcs.C:
5703         * paragraph_funcs.h:
5704         * paragraph_pimpl.C:
5705         * text2.C: remove Inset::par_owner
5706
5707 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5708
5709         * lyxrow_funcs.C:
5710         * lyxtext.h:
5711         * text.C:
5712         * text2.C: eliminates the needFullRow/display() stuff
5713         altogether, putting the logic in metrics/draw in the insets.
5714
5715 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5716
5717         * text2.C (redoParagraphInternal, redoParagraphs):
5718         * text.C (redoParagraph): add a call to updateRowPositions at the
5719         end of each 'metrics-like' call. Remove all others.
5720         (getRow): remove the 'y-computing' version.
5721         (getRowNearY): do not compute nor return the real y. Solve the
5722         'y < 0' problem and simplify.
5723
5724 2003-08-22  Angus Leeming  <leeming@lyx.org>
5725
5726         * *.[Ch]: clean-up of licence and author blurbs.
5727         Also move config.h out of a few .h files and into a few .C files.
5728
5729 2003-08-22  André Pönitz  <poenitz@gmx.net>
5730
5731         * lyxrow.[Ch]: add x_ and *fill_ members
5732
5733         * lyxtext.h:
5734         * text.C:
5735         * rowpainter.C:
5736         * text2.C: adjust/remove prepareToPrint() calls
5737
5738 2003-08-22  André Pönitz  <poenitz@gmx.net>
5739
5740         * lyxrow.[Ch]: add  end_ member
5741
5742         * lyxrow_funcs.C: use LyXRow::end_
5743
5744         * lyxtext.h (singleWidth): add LyXFont parameter
5745
5746         * rowpainter.C:
5747         * text2.C: adjust LyXText::singleWidth() calls
5748
5749         * text.C (redoParagraph): simplify row breaking logic
5750
5751
5752 2003-08-19  André Pönitz  <poenitz@gmx.net>
5753
5754         * funcrequest.C: initialize button_ member
5755
5756         * text3.C:
5757         * rowpainter.[Ch]: interface consolidation
5758
5759 2003-08-18  André Pönitz  <poenitz@gmx.net>
5760
5761         * BufferView.C:
5762         * BufferView_pimpl.C:
5763         * lyxfind.C:
5764         * paragraph_funcs.C:
5765         * rowpainter.C:
5766         * text3.C: remove LyXScreen::draw() and fitCursor calls
5767
5768         * BranchList.h: remove spurious semicolons
5769
5770         * MenuBackend.C: fix branchlist related crash
5771
5772 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5773
5774         * BranchList.[Ch]:
5775         * InsetList.[Ch]:
5776         * LColor.[Ch]:
5777         * LyXAction.C:
5778         * Makefile.am:
5779         * MenuBackend.[Ch]:
5780         * bufferparams.[Ch]:
5781         * factory.C:
5782         * lfuns.h:
5783         * lyxfunc.C:
5784         * text3.C: implements the 'branch inset'
5785         idea. This allows the output of various versions of a document
5786         from a single source version, selectively outputing or suppressing
5787         output of parts of the text.
5788         This implementation contains a 'branch list editor' in a separate
5789         tab of the document settings dialog. Branches are user definable
5790         and have a "display colour" to distinguish them on-screen.
5791
5792         ColorHandler was somewhat cleaned up.
5793         (1) make possible a dynamically growing LColor list by allowing
5794         the graphic context cache to grow along (vector);
5795         (2) eliminate an IMHO unnecessary step in colour allocation.
5796
5797 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5798
5799         * BufferView_pimpl.C: compile fix
5800
5801 2003-08-15  André Pönitz  <poenitz@gmx.net>
5802
5803         * rowpainter.C: remove extra metrics calls
5804
5805         * lyxtext.h: merge the two constructors into a single one,
5806           pass reference to owner's par list
5807
5808         * BufferView_pimpl.C:
5809         * text.C:
5810         * text2.C: adjust
5811
5812 2003-08-15  André Pönitz  <poenitz@gmx.net>
5813
5814         * lyxrow_funcs.[Ch]:
5815         * lyxtext.h:
5816         * paragraph.h:
5817         * paragraph_funcs.C:
5818         * rowpainter.C:
5819         * text.C:
5820         * text2.C:
5821         * text3.C:
5822         * text_funcs.C: split LyXText::rowlist_ into individual
5823         Paragraph::rows_ chunks
5824
5825         * BufferView.[Ch]:
5826         * BufferView_pimpl.[Ch]:
5827         * lyxfind.C:
5828         * lyxtext.h:
5829         * text3.C: remove toggleSelection()
5830
5831 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5832
5833         * bufferlist.C: beautify two alerts (shorter text of buttons)
5834         * buffer.C: Remove redundant ' ' from message
5835         * tabular.h:
5836         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5837         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5838         rename VALIGN_CENTER to VALIGN_MIDDLE
5839
5840 2003-08-11  André Pönitz  <poenitz@gmx.net>
5841
5842         * lyxtext.h (getPar):
5843         * text.C: new function
5844
5845 2003-08-11  André Pönitz  <poenitz@gmx.net>
5846
5847         * Makefile.am:
5848         * tracer.[Ch]: remove unneeded files
5849
5850         * InsetList.[Ch]: remove resizeInsetsLyXText()
5851
5852         * lyxtext.h:
5853         * text.C:
5854         * text2.C:
5855         * text3.C: merge insertParagraphs() and appendParagraph()
5856         remove breakAgain(), update()
5857
5858         * BufferView_pimpl.[Ch]:
5859         * bufferview_funcs.[Ch]:
5860         * lyxfunc.C:
5861         * paragraph.[Ch]:
5862         * rowpainter.C:
5863         * tabular.C: adjust after text & InsetList changes.
5864
5865 2003-08-08  André Pönitz  <poenitz@gmx.net>
5866
5867         * text.C (insertChar, backspace): replace rowlist fiddling
5868         with rebreak of full par
5869
5870         * lyxtext.h:
5871         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5872         checkParagraph, updateInset): removed
5873
5874 2003-08-07  André Pönitz  <poenitz@gmx.net>
5875
5876         * paragraph.C:
5877         * text3.C: merge some LFUN handlers, remove dead code
5878
5879 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5880
5881         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5882
5883 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5884
5885         * text2.C (DEPM): fix part of bug 1255 and 1256
5886
5887 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5888
5889         * BufferView_pimpl.C (workAreaDispatch): change to use
5890         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5891         that are no mouse related.
5892
5893 2003-08-05  André Pönitz  <poenitz@gmx.net>
5894
5895         * BufferView.[Ch]:
5896         * BufferView_pimpl.[Ch]:
5897         * bufferview_funcs.C:
5898         * text2.C:
5899         * text3.C: rip out "deep update"
5900
5901         * textcursor.[Ch] (last_sel_cursor): remove unused member
5902
5903 2003-08-04  André Pönitz  <poenitz@gmx.net>
5904
5905         * BufferView.[Ch]:
5906         * BufferView_pimpl.[Ch]:
5907         * ParagraphParameters.C:
5908         * bufferview_funcs.C:
5909         * lyx_cb.C:
5910         * lyxfind.C:
5911         * lyxfunc.C:
5912         * text.C:
5913         * text2.C:
5914         * text3.C: replace "complicated" BufferView::update(...) calls with
5915         simpler ones.
5916
5917         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5918
5919 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5920
5921         * Makefile.am (lyx_SOURCES): add paper.h
5922
5923 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5924
5925         * Makefile.am: move things around so that both lyx-qt and
5926         lyx-xforms can be built (according to --with-frontend). Then lyx
5927         is a symbolic link to lyx-[firstfrontend]
5928
5929 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5930
5931         * Always use std::endl with lyxerr
5932
5933 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5934
5935         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5936
5937 2003-08-01  André Pönitz  <poenitz@gmx.net>
5938
5939         * BufferView.[Ch]:
5940         * BufferView_pimpl.[Ch]:
5941         * lyxfunc.C:
5942         * text3.C: merge BufferView::repaint() and BufferView::update()
5943
5944 2003-08-01  José Matos  <jamatos@lyx.org>
5945
5946         * buffer.[Ch]: file_format is no longer a buffer data element.
5947
5948 2003-08-01  André Pönitz  <poenitz@gmx.net>
5949
5950         * BufferView.C:
5951         * lyxtext.h:
5952         * text.C:
5953         * text2.C: make redoParagraph more independent of current cursor
5954
5955         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5956         * text.C:
5957         * text2.C: remove unneeded members
5958
5959 2003-07-30  André Pönitz  <poenitz@gmx.net>
5960
5961         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5962
5963         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5964           create a single function...
5965
5966         * paragraph_funcs.C (moveItem): ... here.
5967
5968         * text.C:
5969           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5970
5971 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5972
5973         * LColor.[Ch]: Add comment and greyedout logical colors.
5974
5975 2003-07-30  André Pönitz  <poenitz@gmx.net>
5976
5977         * tabular.C: don't use Assert too heavily. This crashes where it
5978           shouldn't
5979
5980 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5981
5982         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5983         is disabled (bug 1232)
5984
5985 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5986
5987         * factory.C: limited 'arg' scope
5988
5989 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5990
5991         * factory.C: fixed Note submenu issues
5992
5993 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5994
5995         * factory.C: submenu for Note/Comment/Greyedout
5996
5997 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5998
5999         * lyx_main.C (LyX):
6000         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6001
6002 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6003
6004         * LaTeXFeatures.C:
6005         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6006         greyedout. Patch provided by Jürgen Spitzmüller.
6007
6008 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6009
6010         * kbmap.C (read): fix error message when reading bind files
6011
6012 2003-07-29  Angus Leeming  <leeming@lyx.org>
6013
6014         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6015         certainly does not do what it purports to do. I am doing it, and
6016         us, a favour by killing it.
6017
6018 2003-07-28  José Matos  <jamatos@lyx.org>
6019
6020         * buffer.C (readBody, do_writeFile):
6021         * paragraph.C(readParagraph): \end_document replaces \the_end.
6022
6023 2003-07-29  André Pönitz  <poenitz@gmx.net>
6024
6025         * BufferView.[Ch]:
6026         * BufferView_pimpl.[Ch]:
6027         * lyxfunc.C:
6028         * text2.C:
6029         * text3.C:
6030         * textcursor.[Ch]: remove toggleToggle & Co
6031
6032 2003-07-28  José Matos  <jamatos@fep.up.pt>
6033
6034         * buffer.C (readParagraph):
6035         * params_func (readParToken, readParagraph):
6036         * paragraph.C (write): \layout -> \begin_layout.
6037
6038 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6039
6040         * lyxlex_pimpl.C (setFile): clean up slightly.
6041
6042         * bufferparams.h: add compressed var
6043
6044         * buffer_funcs.C (readFile): adjust for LyXLex change
6045         (newFile): ditto + simplify
6046
6047         * buffer.C (writeFile): handle writing of compressed files
6048
6049         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6050         Check if the file is compressed and set a bufferparm if so.
6051
6052         * Makefile.am (lyx_LDADD): remove explicit -lz
6053
6054 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6055
6056         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6057         makeDocBookFile): put the real LyX version in the first line of
6058         the file
6059
6060         * version.h:
6061         * version.C.in: remove lyx_docversion
6062
6063         * tabular.C (write_attribute): add a template-based version to
6064         write enums properly
6065
6066 2003-07-28  André Pönitz  <poenitz@gmx.net>
6067
6068         * lyxtext.h:
6069         * text.C:
6070         * text2.C:
6071         * text3.C: use doubles again for x-coordinates. They are needed.
6072
6073 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6074
6075         * messages.C (getLocaleDir): use lyx_localedir()
6076
6077         * lyxlex_pimpl.C (setFile): compress stuff
6078
6079         * buffer.C (writeFile): add some compression stuff
6080         (do_writeFile): new func, dont call expliti close... will this
6081         breake anything?
6082
6083         * Makefile.am (lyx_LDADD): add -lz
6084
6085 2003-07-28  José Matos  <jamatos@fep.up.pt>
6086
6087         * buffer.C: increment file format.
6088         * paragraph_funcs (readParagraph, readParToken):
6089         * paragraph.C (readParagraph): add \end_layout.
6090
6091 2003-07-27  Angus Leeming  <leeming@lyx.org>
6092
6093         * Makefile.am: remove special casing for configure-time setting of
6094         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6095
6096         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6097         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6098
6099 2003-07-26  André Pönitz  <poenitz@gmx.net>
6100
6101         * paragraph_func.[Ch]:
6102         * paragraph.C (realizeFont): inline it whereever it is used
6103
6104         * rowpainter.C:
6105         * text.C:
6106         * text2.C:
6107         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6108
6109
6110 2003-07-26  André Pönitz  <poenitz@gmx.net>
6111
6112         *       lyxtext.h:
6113         * text.C:
6114         * text2.C: get rid of LyXText::need_break_row
6115
6116 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6117
6118         * toc.[Ch]: put namespace toc inside namespace lyx
6119
6120         * MenuBackend.C (expandToc2): adjust for lyx::toc
6121         (expandToc): ditto
6122
6123         * lyxfunc.C (dispatch): adjust for lyx::find
6124
6125         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6126         lyx::find instead. Reorganize a bit.
6127         (LyXReplace): rename to replace
6128         (LyXFind): rename to find
6129
6130         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6131         (dispatch): ditto
6132
6133 2003-07-26  André Pönitz  <poenitz@gmx.net>
6134
6135         * text.C (setHeightOfRow): restrict scope of temporary variable
6136
6137         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6138           code (never has been used?)
6139
6140 2003-07-27  Asger Alstrup  <alstrup@local>
6141
6142         * text.C (fill): Optimise algorithm to exploit that we can reuse
6143         the LyXFont for many characters.
6144         (setHeightOfRow): Same thing.
6145         (rowBreakPoint): Same thing.
6146
6147 2003-07-26  Asger Alstrup  <alstrup@local>
6148
6149         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6150
6151         * text.C (singleWidth): Spurious font copying in hot-spot
6152         singleWidth avoided. Reorder tests for arabic for efficiency.
6153
6154         * text.C (fill): handle empty paragraphs better.
6155
6156 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6157
6158         * ispell.C:
6159         * encoding.h: add includes
6160
6161         * lyxrc.C: remove reading of bind files
6162
6163         * lyx_main.C (init): setup bindings and menus only if we have a
6164         gui.
6165
6166         * kbmap.C (read): new method. Do the actual reading of bind
6167         files.
6168
6169         * converter.C (dvipdfm_options):
6170         * bufferparams.C:
6171         * lyxrc.C (read):
6172         (output): adapt PAPER_* enums.
6173
6174         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6175
6176         * bufferparams.h: remove paper-related enums from there
6177
6178         * paper.h: New file. A trivial header file to hold paper-related
6179         enums. It should later expand to contain many paper-related
6180         horrors access.
6181
6182         * lyxrc.C: declare extern displayTranslator
6183
6184 2003-07-27  José Matos  <jamatos@fep.up.pt>
6185
6186         * tabular.[Ch] (linuxdoc): add support for tables and figures
6187         (linuxdoc).
6188
6189 2003-07-27  José Matos  <jamatos@fep.up.pt>
6190
6191         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6192         consistency in both functions.
6193         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6194
6195 2003-07-26  Asger Alstrup  <alstrup@local>
6196
6197         * rowpainter.C (paintRows): Change algorithm to work directly on
6198         the insets rather than asking every character in the document
6199         whether its an inset.
6200
6201 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6202
6203         * buffer.C (openFileWrite): factorize some code
6204
6205 2003-07-26  Angus Leeming  <leeming@lyx.org>
6206
6207         * lyx_cb.C:
6208         * lyx_main.[Ch]: replace occurances of system_tempdir with
6209         os::getTmpDir().
6210
6211 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * rename Inset to InsetOld
6214
6215 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6216
6217         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6218         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6219         which I think is a bit clearer. EDIT is gone, since it was
6220         premature optimisation, and broken for mathed anyway.
6221         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6222         with cursor positioning in insets as well (math insets still do not
6223         work, but that's a different story anyway.) It mysteriously
6224         crashes sometimes with undo in the first paragraph, but I'm fairly
6225         confident that this is a compiler bug.
6226
6227 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6228
6229         * paragraph.C (Paragraph): adjust for new clone return type
6230         (operator==): ditto
6231         (copyIntoMinibuffer): ditto
6232
6233 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6234
6235         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6236         by not having a special case, and always doing a full rebreak of
6237         the document after undo.
6238
6239 2003-07-23  Angus Leeming  <leeming@lyx.org>
6240
6241         * factory.C (createInset): InsetExternal::setParams now takes a
6242         Buffer const * arg.
6243
6244 2003-07-23  Angus Leeming  <leeming@lyx.org>
6245
6246         * factory.C (createInset): changed interface to the external and
6247         graphics mailers' string2params functions.
6248
6249 2003-07-23  Angus Leeming  <leeming@lyx.org>
6250
6251         * factory.C (createInset): pass a
6252         Buffer const * parameter to InsetExternalMailer's string2params.
6253
6254 2003-07-22  John Levon  <levon@movementarian.org>
6255
6256         * Thesaurus.h: include the right aiksaurus header
6257
6258 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6259
6260         * MenuBackend.C (expand): check menu shortcuts unconditionally
6261
6262 2003-07-21  Angus Leeming  <leeming@lyx.org>
6263
6264         * factory.C (createInset): pass a
6265         buffer_path parameter to InsetGraphicsMailer's string2params.
6266
6267 2003-07-21  Angus Leeming  <leeming@lyx.org>
6268
6269         * BufferView_pimpl.C (buffer):
6270         * buffer.C (d-tor):
6271         * lyx_main.C (LyX):
6272         * lyxfunc.C (dispatch):
6273         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6274         rather than the grfx shortcut.
6275
6276 2003-07-21  André Pönitz  <poenitz@gmx.net>
6277
6278         * rowpainter.C: remove unused variables
6279
6280         * tabular_funcs.C:
6281         * tabular_funcs.h: move to tabular.C
6282         * Makefile.am: adjust
6283
6284         * tabular.[Ch]: basic optical cleaning
6285
6286         * author.h: pass references, not values
6287
6288 2003-07-18  André Pönitz  <poenitz@gmx.net>
6289
6290         * lyxtext.h:
6291         * metricsinfo.C:
6292         * metricsinfo.h:
6293         * rowpainter.C:
6294         * text.C:
6295         * text2.C:
6296         * text3.C: two-phase drawing for InsetText and InsetTabular
6297         some float -> int changes.
6298
6299 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6300
6301         * lyx_main.C: fix the fix
6302
6303 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6304
6305         * lyx_main.C: fix a crash in batch mode if no files specified
6306         * converter.C: ws
6307
6308 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6309
6310         * format.[Ch] (papersize): moved to BufferParams
6311         * converter.[Ch] (dvips_options): moved to BufferParams
6312         (dvipdfm_options): moved to anon namespace
6313         * bufferparams.[Ch]: added above functions.
6314
6315 2003-07-17  André Pönitz  <poenitz@gmx.net>
6316
6317         * lyxtext.h:
6318         * rowpainter.C:
6319         * text2.C: don't call inset->update() anymore
6320
6321         * metricsinfo.[Ch]: add convenience constructor
6322
6323 2003-07-16  André Pönitz  <poenitz@gmx.net>
6324
6325         * lyxcursor.[Ch]:
6326         * lyxfunc.[Ch]:
6327         * text.C:
6328         * text2.C: replace the LyXCursor::irow_ member with
6329          on-demand computation of the value
6330
6331 2003-07-16  John Levon  <levon@movementarian.org>
6332
6333         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6334
6335 2003-07-15  André Pönitz  <poenitz@gmx.net>
6336
6337         * text.C:
6338         * text2.C: remove no more needed refresh_row
6339
6340 2003-07-15  André Pönitz  <poenitz@gmx.net>
6341
6342         * lyxtext.h:
6343         * rowpainter.C:
6344         * text2.C:
6345         * text3.C: refresh_status tristate -> need_update bool
6346
6347 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6348
6349         * lyxtext.h (init): remove reinit argument (act as if always true)
6350         * text2.C: adjust to that
6351
6352 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6353
6354         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6355         * text3.C: use it to delete selections in some cases
6356         (bugs 441, 673, 702, 954).
6357
6358 2003-07-14  André Pönitz  <poenitz@gmx.net>
6359
6360         * rowpainter.[Ch]: reduce interface
6361
6362 2003-07-14  André Pönitz  <poenitz@gmx.net>
6363
6364         * BufferView_pimpl.C:
6365         * text2.C: adjust after removing unused BufferView * argument
6366
6367 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6368
6369         * text2.C (init): fix a crash fired on resize
6370
6371 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6372
6373         * buffer.[Ch]: added new closing signal
6374         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6375         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6376         BufferView::Pimpl via the closing the signal
6377
6378 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6379
6380         * buffer.[Ch]: take out all bv-related from buffer
6381         * BufferView.C:
6382         * BufferView_pimpl.[Ch]: connect to new signals
6383         * CutAndPaste.C: removed useless asserts
6384         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6385         * lyxvc.[Ch]:
6386         * vc-backend.[Ch]:
6387         * lyxfunc.C: moved view-related funciontality from vc here
6388         * paragraph.C: removed outdated comments
6389         * text.C: ws
6390
6391 2003-07-10  André Pönitz  <poenitz@gmx.net>
6392
6393         * BufferView_pimpl.C:
6394         * tabular.h:
6395         * tabular_funcs.C:
6396         * text.C:
6397         * text2.C: remove InsetText::InnerCache, clean up consequences
6398
6399 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6400
6401         * ispell.C: fix two typos in error messages
6402
6403 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6404
6405         * Extend Note inset to other forms of annotation like Comment
6406         and Greyedout. Right button click gives dialog.
6407
6408         Files modified or added (+):
6409
6410         * insetnote.[Ch]
6411         * FormNote.[Ch]      +
6412         * ControlNote.[Ch]   +
6413         * form_note.fd       +
6414         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6415         frontends/controllers
6416         * xforms/Dialogs.C
6417         * factory.C
6418
6419 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6420
6421         * aspell.C: add missing namespace lyx::support
6422
6423 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6424
6425         * BufferView.[Ch] (newFile): Add
6426         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6427         * LaTeX.[Ch] (message): added this signal and use it
6428         * buffer.[Ch] (busy, message): added these signals and use them
6429         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6430         * converter.C:
6431         * exporter.C:
6432         * format.C:
6433         * importer.C: use buffer signals instead of direct bv calling
6434         * lyx_cb.[Ch] (ShowMessage): removed
6435         * lyx_main.C:
6436         * lyxfunc.C:
6437         * paragraph_funcs.C:
6438         * text2.C: use buffer signals
6439
6440 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6441
6442         * introduce namespace lyx::graphics
6443
6444 2003-07-02  André Pönitz  <poenitz@gmx.net>
6445
6446         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6447
6448 2003-07-01  André Pönitz  <poenitz@gmx.net>
6449
6450         * text.C:
6451         * text2.C:
6452         * text3.C:
6453         * text_funcs.[Ch]:
6454         * textcursor.h:
6455         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6456           text*.C to text_func.C
6457
6458 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6459
6460         * introduce namespace lyx::support
6461
6462 2003-06-30  André Pönitz  <poenitz@gmx.net>
6463
6464         * Chktex.C:
6465         * funcrequest.C:
6466         * lyxtext.h:
6467         * text.C: re-enable --with-included-string
6468
6469 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6470
6471         * textcursor.C: add <config.h>
6472
6473         * text.C (getWord): remove const from word_location arg
6474
6475         * lyxvc.C (getLogFile): fix const type order
6476
6477         * lyxtext.h: remove const from word_location arg, add arg name
6478
6479         * lyxlayout.h: currect type on labeltype.
6480
6481         * importer.C: correct \file
6482
6483         * converter.C (intToFormat): use std:: on ret val, ws changes
6484
6485         * bufferlist.h: correct \file
6486
6487         * buffer.C (makeLinuxDocFile): fix const type order
6488         (makeDocBookFile): ditto
6489         (fillWithBibKeys): use std:: on stdlib args.
6490
6491         * CutAndPaste.C: fix authors.
6492         (availableSelections): use std:: on return vector
6493
6494 2003-06-27  André Pönitz  <poenitz@gmx.net>
6495
6496         * BufferView_pimpl.C:
6497         * bufferview_funcs.C:
6498         * lyxcursor.C:
6499         * lyxcursor.h:
6500         * lyxfunc.C:
6501         * lyxtext.h:
6502         * rowpainter.C:
6503         * text.C:
6504         * text2.C:
6505         * text3.C: remove LyXCursor::row_ member
6506
6507         * lyxtext.h:
6508         * text.C: rename fullRebreak() to partialRebreak() and implement
6509           a fullRebreak() that really bereks fully
6510
6511         * textcursor.h: new struct for cursor-related data
6512
6513 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6514
6515         * lyx_main.C (LyX): get full path of document loaded on the
6516         command line
6517
6518 2003-06-26  André Pönitz  <poenitz@gmx.net>
6519
6520         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6521           remove unused/broken operator>,<,>=.
6522
6523         *       text.C: remove only use of broken operator<= in an Assert().
6524
6525 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6526
6527         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6528         moved errorlist_.clear to showErrorList
6529
6530 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6531
6532         * converter.C (scanLog, runLaTeX):
6533         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6534         move the bv->showErrorList call to the callers
6535         * lyxfunc.C: i.e. here...
6536         * text2.C: and here
6537         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6538         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6539         namespace, the second to...
6540         * buffer_funcs (BufferFormat, parseErrors): added
6541         * errorlist.C (ErrorList(TeXErrors const &)): removed
6542
6543 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6544
6545         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6546
6547 2003-06-24  "Garst R. Reese" <reese@isn.net>
6548
6549         * debug.C: fix typo
6550
6551 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6552
6553         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6554
6555         * version.C.in: change docversion to 1.4
6556
6557 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6558
6559         * buffer.C: fix a bug just introduced
6560
6561 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6562
6563         * buffer.[Ch]: added the parseError signal and use it, removed
6564         sgmlError
6565         * BufferView.[Ch] (addError): moved to ...
6566         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6567         to the Buffer::parseError signal to catch (guess what) parse errors
6568         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6569
6570 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6571
6572         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6573         ability to create a buffer and to return an existing one from
6574         the list. Moved these functions to...
6575         * buffer_funcs.[Ch]: added
6576         * BufferView.[Ch] (loadLyXFile): added
6577         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6578         job removed from bufferlist::loadLyXFile.
6579         * buffer.C (setReadOnly): make it work without view
6580         (i.e added an if (users))
6581
6582 2003-06-19  Angus Leeming  <leeming@lyx.org>
6583
6584         * lfuns.h:
6585         * LyXAction.C (init):
6586         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6587         with LFUN_DIALOG_SHOW <name> <data>.
6588
6589 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6590
6591         * CutAndPaste.C (availableSelections): small compilation fix for
6592         ancient (gcc 2.9x) compilers
6593
6594 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6595
6596         * text3.C (cursorNext): add tmp var
6597
6598         * text2.C (updateCounters): for function calling out of for clause
6599         (replaceSelectionWithString): ditto
6600         (insertStringAsParagraphs): ditto
6601         (getColumnNearX): add tmp var
6602         (setCursorFromCoordinates): add tmp var
6603         (cursorDownParagraph): add tmp var
6604         (deleteEmptyParagraphMechanism): add tmp var
6605
6606         * text.C (insertChar): add tmp var
6607
6608         * rowpainter.C (paintDepthBar): add tmp var
6609
6610         * CutAndPaste.C (availableSelections): potentially check all
6611         paragraphs in a cut to fill the shown strings.
6612
6613 2003-06-18  André Pönitz  <poenitz@gmx.net>
6614
6615         * kbmap.[Ch]: use vector<> instead of list<>
6616
6617 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6618
6619         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6620         pasteSelection with index
6621
6622         * text2.C (pasteSelection): modify, call pasteSelection with index
6623
6624         * paragraph.C (asString): reimplement version with no interval to
6625         call the one with interval.
6626
6627         * lyxtext.h: add index arg to pasteSelection
6628
6629         * MenuBackend.C (MenuItem): handle PasteRecent
6630         (Menu::read::Menutags): add md_pasterecent
6631         (read): handle it
6632         (expandPasteRecent): new function
6633         (expand): use it
6634
6635         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6636
6637         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6638         the limited stack
6639         (availableSelections): new function
6640
6641 2003-06-17  Angus Leeming  <leeming@lyx.org>
6642
6643         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6644
6645 2003-06-17  Angus Leeming  <leeming@lyx.org>
6646
6647         * lfuns.h:
6648         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6649
6650         * lyxfunc.C (dispatch): invoke it.
6651
6652 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6653
6654         * iterators.C (operator++, ParPosition): reintroduce some
6655         const_cast for the benefit of older compilers.
6656
6657 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6658
6659         * text3.C (dispatch): do not modify clipboard when doing
6660         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6661         LFUN_DELETE_SKIP on a selection selection
6662
6663 2003-06-16  André Pönitz  <poenitz@gmx.net>
6664
6665         * BufferView.C:
6666         * buffer.C:
6667         * buffer.h:
6668         * paragraph.C:
6669         * tabular.[Ch]: IU of clone() and getLabelList();
6670
6671 2003-06-13  André Pönitz  <poenitz@gmx.net>
6672
6673         * tabular.h: compactification
6674
6675 2003-06-12  André Pönitz  <poenitz@gmx.net>
6676
6677         * tabular.C:
6678         * tabular.h:
6679         * tabular_funcs.h: some renaming plus whitespace
6680
6681 2003-06-12  André Pönitz  <poenitz@gmx.net>
6682
6683         * BufferView.C:
6684         * BufferView_pimpl.C:
6685         * CutAndPaste.C:
6686         * buffer.C:
6687         * iterators.[Ch]:
6688         * lyxfunc.C:
6689         * text.C:
6690         * toc.C: Return a Paragraph & for ParIterator::operator*()
6691
6692 2003-06-11  John Levon  <levon@movementarian.org>
6693
6694         * lyx_main.C:
6695         * ToolbarBackend.h:
6696         * ToolbarBackend.C: add "Toolbars" section and
6697         put the flags there
6698
6699 2003-06-10  Angus Leeming  <leeming@lyx.org>
6700
6701         * lfuns.h:
6702         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6703
6704         * lyxfunc.C (dispatch): invoke it.
6705
6706 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6707
6708         * main.C: protect <ios> with HAVE_IOS
6709         (main): protect sync_with_stdio with HAVE_IOS
6710
6711 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6712
6713         * text2.C (cutSelection): adjust
6714         (pasteSelection): adjust
6715
6716         * messages.C: handle get of empty string
6717
6718         * main.C (main): use sync_with_stdio(false)
6719
6720         * lyxfunc.C (dispatch): adjust
6721
6722         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6723         (WriteAs): remove unneeded BufferView arg.
6724
6725         * bufferparams.h: use correct types on papersize, papersize2 and
6726         paperpackage.
6727
6728         * bufferparams.C (readToken): adjust for type
6729         (writeLaTeX): add missing cases to switch.
6730
6731         * bufferlist.C (quitWriteBuffer): adjust
6732         (close): adjust
6733
6734         * buffer.C (asciiParagraph): remove some commented code.
6735
6736         * CutAndPaste.C: remove current_view extern variable.
6737         (cutSelection): add BufferParams arg.
6738         (eraseSelection): add BufferParams arg.
6739         (pasteSelection): add Buffer const & arg
6740
6741 2003-06-07  John Levon  <levon@movementarian.org>
6742
6743         * buffer.C:
6744         * paragraph_funcs.C:
6745         * paragraph_pimpl.C:
6746         * text.C:
6747         * text2.C:
6748         * paragraph.h:
6749         * paragraph.C: allow InsetERT to freely space lines,
6750         and some consolidation of code
6751
6752 2003-06-06  José Matos  <jamatos@fep.up.pt>
6753
6754         * buffer.C (makeDocBookFile): fix bug #821
6755
6756 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6757
6758         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6759
6760 2003-06-04  Angus Leeming  <leeming@lyx.org>
6761
6762         * buffer.C: bump format to 224.
6763
6764 2003-06-05  André Pönitz  <poenitz@gmx.net>
6765
6766         * text2.C (redoParagraphs): remove two const_cast<>
6767
6768 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6769
6770         * ParagraphList.h: remove last remnants of NO_STD_LIST
6771
6772 2003-06-03  Angus Leeming  <leeming@lyx.org>
6773
6774         * factory.C (createInset): small change to the way InsetExternal's params
6775         are set.
6776
6777 2003-06-04  André Pönitz  <poenitz@gmx.net>
6778
6779         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6780
6781         * paragraph_pimpl.h:
6782         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6783
6784         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6785
6786         * undo_funcs.C: make some simple cases of undo work again
6787
6788 2003-06-03  John Levon  <levon@movementarian.org>
6789
6790         * ispell.C: HPUX doesn't have sys/select.h
6791         (from Albert Chin)
6792
6793 2003-06-03  John Levon  <levon@movementarian.org>
6794
6795         * CutAndPaste.C: update tabular and include inset
6796         buffer references
6797
6798         * buffer.h:
6799         * paragraph.h:
6800         * paragraph.C: remove owningBuffer(), don't pass Buffer
6801         to clone()
6802
6803         * factory.C: insetGraphicsParams changed
6804
6805 2003-06-02  John Levon  <levon@movementarian.org>
6806
6807         * LyXAction.C:
6808         * factory.C:
6809         * lfuns.h:
6810         * lyxfunc.C:
6811         * text3.C: remove insetparent
6812
6813 2003-06-02  John Levon  <levon@movementarian.org>
6814
6815         * buffer.h:
6816         * buffer.C: fix inset_iterator.end(), move out of line
6817         (bug 1149)
6818
6819 2003-06-01  John Levon  <levon@movementarian.org>
6820
6821         * text3.C: use a proper cut/paste when doing inset
6822         insert (from Jürgen Spitzmüller)
6823
6824 2003-06-01  John Levon  <levon@movementarian.org>
6825
6826         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6827
6828 2003-05-30  André Pönitz  <poenitz@gmx.net>
6829
6830         * rowpainter.C: unify second drawing phase
6831
6832 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6833
6834         * trans_mgr.C: remove one case of current_view
6835
6836         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6837
6838         * paragraph_funcs.h: remove paragraph.h include
6839
6840         * paragraph.h: delete NO_STD_LIST stuff
6841
6842         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6843
6844         * buffer.h: remove paragraph.h include
6845
6846         * ParagraphList.C: delete file
6847
6848         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6849
6850         * toc.C (getTocList): adjust
6851
6852         * paragraph_pimpl.C (validate): adjust
6853
6854         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6855
6856         * paragraph.C (Paragraph): adjust
6857         (getPositionOfInset): use const_iterator, adjust
6858         (bibitem): use const_iterator, adjust
6859         (setInsetOwner): adjust
6860
6861         * iterators.C (operator++): adjust
6862
6863         * InsetList.[Ch]: Replace selfmade iterator with standard
6864         vector::iterator also introduce const_iterator. Remove getPos,
6865         getInset and setInset from InsetTable. Adjust accordingly.
6866
6867         * BufferView.C (lockInset): adjust
6868         (ChangeInsets): adjust
6869
6870         * tabular.[Ch]: delete commented same_id functions
6871
6872 2003-05-28  John Levon  <levon@movementarian.org>
6873
6874         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6875
6876 2003-05-28  André Pönitz  <poenitz@gmx.net>
6877
6878         * metricsinfo.[Ch]: remove 'fullredraw' member
6879
6880 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6881
6882         * lyxtextclass.C (operator): remove caching.
6883
6884 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6885
6886         * text3.C: adjust
6887
6888         * text2.C (cursorBottom): adjust
6889         (setCounter): use ParagraphList::find, adjust
6890
6891         * text.C (workWidth): use ParagraphList::find, adjust
6892
6893         * lyxcursor.C (LyXCursor): adjust
6894
6895         * buffer.C (inset_iterator): adjust
6896
6897         * ParagraphList.h: make iterator(value_type) private, make
6898         ParagraphList a friend of iterator.
6899
6900         * ParagraphList.C (find): new function
6901
6902         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6903
6904 2003-05-27  André Pönitz  <poenitz@gmx.net>
6905
6906         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6907
6908 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6909
6910         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6911
6912 2003-05-26  John Levon  <levon@movementarian.org>
6913
6914         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6915
6916 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6917
6918         * remove same_id from function signatures, adjust.
6919
6920 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6921
6922         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6923
6924         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6925
6926         * paragraph.C (Paragraph): get rid of same_ids parameter
6927
6928         * ParagraphList.C (insert): adjust
6929         (push_back): adjust
6930
6931 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6932
6933         * paragraph_funcs.C (breakParagraph): adjust
6934         (breakParagraphConservative): adjust
6935
6936         * buffer.C (readParagraph): adjust
6937
6938         * ParagraphList.C (insert): take a reference instead of a pointer
6939         (insert): adjust
6940
6941         * paragraph.[Ch] (id): new function
6942
6943         * bufferlist.C (newFile): adjust
6944
6945         * ParagraphList.C (ParagraphList): adjust
6946         (assign): adjust
6947         (push_back): take a reference instead of a pointer.
6948
6949         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6950
6951         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6952         instead.
6953
6954         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6955         set else use old code.
6956
6957         * ParagraphList.C: remove all NO_NEXT code and only compile this
6958         code of NO_STD_LIST is set.
6959
6960 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6961
6962         * BufferView_pimpl.C:
6963         * TextCache.C:
6964         * TextCache.h:
6965         * bufferlist.C:
6966         * errorlist.h:
6967         * format.C:
6968         * format.h:
6969         * graph.C:
6970         * lyxfunc.C:
6971         * lyxrc.C:
6972         * graphics/GraphicsConverter.C:
6973         * graphics/PreviewLoader.C: header adjustment
6974
6975 2003-05-23  Angus Leeming  <leeming@lyx.org>
6976
6977         * LaTeXFeatures.[Ch] (useBabel): new method.
6978         * bufferparams.C (writeLaTeX): use it.
6979
6980 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6981
6982         * ParagraphList.h (set): remove unused function.
6983
6984 2003-05-23  André Pönitz  <poenitz@gmx.net>
6985
6986         * BufferView.C:
6987         * BufferView_pimpl.C:
6988         * buffer.C:
6989         * buffer.h:
6990         * lyxfunc.C:
6991         * undo_funcs.C: setUndo reworked
6992
6993         * iterators.[Ch]: add access to topmost ParagraphList
6994
6995         * lyxtext.[Ch] (workWidth): add a const
6996
6997 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6998
6999         * texrow.[Ch] (increasePos): remove function
7000         * exporter.C (export): removed unused var and outdated comment
7001
7002 2003-05-23  Angus Leeming  <leeming@lyx.org>
7003
7004         * latexrunparams.h: rename fragile as moving_arg.
7005         * paragraph.C (simpleTeXOnePar): ditto.
7006         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7007
7008 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7009
7010         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7011         (createUndo): ditto
7012         (textUndoOrRedo): comment out a currently unused var.
7013
7014         * paragraph.h (NO_NEXT): enable NO_NEXT
7015
7016         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7017
7018         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7019
7020         * exporter.C (Export): adjust for removeAutoInsets removal.
7021
7022         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7023
7024         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7025
7026         * BufferView.[Ch] (removeAutoInsets): delete function
7027
7028 2003-05-22  Angus Leeming  <leeming@lyx.org>
7029
7030         * latexrunparams.h: add a free_spacing variable.
7031
7032         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7033         to pass moving_arg, as the data is stored in runparams.fragile.
7034
7035         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7036         to Inset::latexOptional or to simpleTeXOnePar.
7037
7038         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7039         free_spacing arg to Inset::latexOptional.
7040
7041         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7042         free_spacing arg.
7043
7044 2003-05-22  Angus Leeming  <leeming@lyx.org>
7045
7046         * latexrunparams.h: add fragile and use_babel variables.
7047
7048         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7049         * buffer.C (makeLaTeXFile): store this returned value in
7050         runparams.use_babel, thus passing it to the inset::latex methods.
7051
7052         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7053         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7054
7055         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7056         longer has a fragile arg, as it is stored in runparams.fragile.
7057
7058         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7059         moving_arg parameter as the data is stored in runparams.fragile.
7060
7061         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7062         a fragile parameter as the data is stored in runparams.fragile.
7063
7064 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7065
7066         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7067
7068 2003-05-22  Angus Leeming  <leeming@lyx.org>
7069
7070         * latexrunparams.h: add a 'bool nice' which defaults to false.
7071
7072         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7073         now encapsulated within runparams.
7074
7075         * bufferlist.C (updateIncludedTeXfiles):
7076         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7077
7078 2003-05-22  Angus Leeming  <leeming@lyx.org>
7079
7080         * latexrunparams.h: new file containing struct LatexRunParams.
7081         * Makefile.am: add new file.
7082
7083         * LaTeX.[Ch] (c-tor, run):
7084         * buffer.[Ch] (makeLaTeXFile):
7085         * bufferlist.[Ch] (updateIncludedTeXfiles):
7086         * converter.C (convert, scanLog):
7087         * converter.[Ch] (runLaTeX):
7088         * exporter.C (Export):
7089         * paragraph.[Ch] (simpleTeXOnePar):
7090         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7091         * paragraph_funcs.[Ch] (latexParagraphs):
7092         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7093         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7094         pass around a LatexRunParams parameter.
7095
7096 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7097
7098         * paragraph.[Ch]: remove unused constructor
7099
7100         * ParagraphList.C (erase): new function, taking two iterators
7101
7102 2003-05-22  André Pönitz  <poenitz@gmx.net>
7103
7104         * undo_funcs.C: remove duplicated code
7105
7106         * iterator.[Ch]: operator=
7107
7108 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7109
7110         * tabular.C (SetMultiColumn): ws changes
7111
7112         * rowpainter.C (paintFirst): get rid of a ->previous
7113
7114         * lyx_cb.C (getPossibleLabel): parlist simplification
7115
7116         * BufferView.C (ChangeInsets): simplify slightly.
7117
7118 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7119
7120         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7121         * lfuns.h: new LFUN_SPACE
7122         * lyxfunc.C: protected space has a new lfun
7123         * paragraph_funcs.C: read new space insets
7124         * text3.C:
7125         * factory.C: handle new space insets
7126
7127 2003-05-22  André Pönitz  <poenitz@gmx.net>
7128
7129         * BufferView.C:
7130         * BufferView_pimpl.C:
7131         * buffer.[Ch]:
7132         * lyxfunc.C:
7133         * undo_funcs.C: return a ParIterator from getParFromID.
7134
7135         * iterators.[Ch]: add two const's
7136
7137 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7138
7139         * toc.C (getTocList): adjust
7140
7141         * iterators.[Ch]: rework for parlist
7142
7143         * buffer.C (par_iterator_begin): adjust
7144         (par_iterator_end): adjust
7145
7146         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7147
7148         * BufferView.C (removeAutoInsets): adjust
7149         (ChangeInsets): adjust
7150
7151 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7152
7153         * text.C (top_y): fix bug 1110
7154
7155 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7156
7157         * errorlist.[Ch]: added
7158         * buffer.C:
7159         * BufferView.[Ch]:
7160         * BufferView_pimpl.C:
7161         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7162         instead
7163
7164 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7165
7166         * Makefile.am: ensure that lyx is relinked upon changes to the
7167         various "convenience" libs.
7168
7169 2003-05-20  Angus Leeming  <leeming@lyx.org>
7170
7171         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7172         files are compiled in alphabetical order again.
7173
7174         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7175
7176 2003-05-19  Angus Leeming  <leeming@lyx.org>
7177
7178         * gettext.[Ch]: remove "char const * _(char const *)".
7179
7180 2003-05-19  André Pönitz  <poenitz@gmx.net>
7181
7182         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7183
7184         * Makefile.am:
7185         * BufferView.C:
7186         * DepTable.h:
7187         * LaTeXFeatures.C:
7188         * buffer.C:
7189         * lyxfont.C:
7190         * lyxlex.h:
7191         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7192
7193 2003-05-19  André Pönitz  <poenitz@gmx.net>
7194
7195         * buffer.C:
7196         * lyxlayout.[Ch]:
7197         * lyxtextclass.[Ch]:
7198         * paragraph.C:
7199         * paragraph_funcs.[Ch]:
7200         * text2.C:
7201         * text3.C: more insetenv work
7202
7203 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7204
7205         * ParagraphParameters.C (params2string): small bug fixed
7206
7207 2003-05-16  André Pönitz  <poenitz@gmx.net>
7208
7209         * debug.C:
7210         * bufferview_funcs.C: patch from Kornel Benko to prevent
7211           crash when _(...) is called twice in a statement
7212
7213 2003-05-16  André Pönitz  <poenitz@gmx.net>
7214
7215         * BufferView.C:
7216         * lyxfunc.C:
7217         * text.C:
7218         * text2.C:
7219         * text3.C:
7220         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7221
7222 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7223
7224         * lyx_main.C (init): remove spurious static_cast
7225
7226 2003-05-14  André Pönitz  <poenitz@gmx.net>
7227
7228         * BufferView.C: fix format string
7229
7230 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7231
7232         * BufferView.[Ch] (insertErrors): removed
7233         * BufferView.[Ch] (showErrorList): added
7234         * buffer.C (runChkTeX):
7235         * converter.C (scanLog): call showErrorList instead of inserterrors
7236
7237 2003-05-13  André Pönitz  <poenitz@gmx.net>
7238
7239         * BufferView_pimpl.C:
7240         * buffer.C:
7241         * bufferview_func.C:
7242         * MenuBackend.C:
7243         * lyxfunc.C:
7244         * lyxrc.C:
7245         * tex-accent.C:
7246         * text3.C:
7247         * toc.C:
7248         * tabular_funcs.h: tostr() from its own header
7249
7250         * ParagraphParameters.C:
7251         * ToolbarBackend.C:
7252         * bufferparams.C:
7253         * format.C:
7254         * lyxlex_pimpl.C:
7255         * text3.C: STRCONV()
7256
7257 2003-05-12  André Pönitz  <poenitz@gmx.net>
7258
7259         * BufferView.C:
7260         * BufferView_pimpl.C:
7261         * CutAndPaste.C:
7262         * LaTeX.C:
7263         * LaTeXFeatures.C:
7264         * ParagraphParameters.C:
7265         * buffer.C:
7266         * bufferlist.C:
7267         * bufferparams.C:
7268         * bufferview_funcs.C:
7269         * converter.C:
7270         * counters.C:
7271         * debug.C:
7272         * exporter.C:
7273         * format.C:
7274         * importer.C:
7275         * lyx_cb.C:
7276         * lyx_main.C:
7277         * lyxfont.C:
7278         * lyxfunc.C:
7279         * lyxvc.C:
7280         * paragraph.C:
7281         * paragraph_funcs.C:
7282         * tabular.C:
7283         * tabular_funcs.C:
7284         * text2.C:
7285         * text3.C:  boost::format -> bformat  all over the place
7286
7287
7288 2003-05-09  André Pönitz  <poenitz@gmx.net>
7289
7290         * LColor.[Ch]: Pimpl the #include <map> away
7291
7292 2003-05-09  John Levon  <levon@movementarian.org>
7293
7294         * bufferlist.C: never remove emergency saves
7295
7296 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7297
7298         * Makefile.am: better lib building
7299
7300 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7301
7302         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7303         instead.
7304         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7305         (simpleTeXSpecialChars): adjust
7306         (simpleTeXSpecialChars): adjust
7307         * paragraph.C (simpleTeXOnePar): adjust
7308         * buffer.C (makeLaTeXFile): adjust
7309
7310         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7311
7312         * text2.C (changeDepth): parlist cleanup
7313         (getColumnNearX): ditto
7314
7315         * rowpainter.C (getLabelFont): parlist cleanup
7316
7317         * bufferlist.C (newFile): parlist cleanup
7318
7319         * CutAndPaste.C (eraseSelection): parlist cleanup
7320
7321         * BufferView_pimpl.C (trackChanges): parlist cleanup
7322         (dispatch): ditto
7323
7324         * BufferView.C (lockInset): parlist cleanup.
7325         (ChangeInsets): ditto
7326
7327 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7328
7329         * CutAndPaste.h: Update file header.
7330
7331         * CutAndPaste.C: Update file header.
7332         Store the parts cut out of the Document in a limited_stack.
7333         (copySelection): adjust
7334         (pasteSelection): new function, takes the index in the limited stack.
7335         (nrOfParagraphs): adjust
7336         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7337         simplify error inset insertion.
7338         (checkPastePossible): adjust
7339
7340 2003-05-06  John Levon  <levon@movementarian.org>
7341
7342         * text2.C: don't cast wrap inset to float
7343
7344 2003-05-05  André Pönitz  <poenitz@gmx.net>
7345
7346         * iterator.C:
7347         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7348
7349         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7350           few naked Paragraph *.
7351
7352 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7353
7354         * bufferparams.C: Output warning if a document with missing
7355         TeX document class is loaded
7356         * exporter.C: Disable TeX exports if the document class is missing
7357         * lyxtextclass.C:
7358         * lyxtextclass.h:
7359         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7360         isTeXClassAvailable()
7361
7362 2003-05-03  John Levon  <levon@movementarian.org>
7363
7364         * BufferView.h:
7365         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7366         explicit cursor show/hide
7367
7368         * BufferView_pimpl.h:
7369         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7370         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7371
7372         * lyxfunc.C: hide cursor before dispatching.
7373
7374         * lyx_cb.C:
7375         * lyxfind.C:
7376         * text.C:
7377         * text3.C: remove explicit cursor hides
7378
7379 2003-05-02  André Pönitz  <poenitz@gmx.net>
7380
7381         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7382
7383         * undo_funcs.C:
7384         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7385           linked lists
7386
7387         * text2.C: tiny whitespace
7388
7389 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7390
7391         * undo_funcs.C: almost only ws changes.
7392
7393         * ParagraphList.C (splice): just return if pl is empty.
7394
7395 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7396
7397         * ParagraphList.C (splice): new function.
7398
7399         * CutAndPaste.C (pasteSelection): use it
7400
7401 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7402
7403         * CutAndPaste.C (pasteSelection): remove the last next and
7404         previous from this file.
7405
7406 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7407
7408         * CutAndPaste.C (pasteSelection): more clean up, user proper
7409         ParagraphList functions for pasteing.
7410
7411         * ParagraphList.C (insert): new function, three arg insert
7412
7413 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7414
7415         * ParagraphList.C (insert): new function, three arg insert
7416
7417         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7418         not on paragraphs.
7419
7420 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7421
7422         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7423
7424 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7425
7426         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7427
7428 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7429
7430         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7431         (copySelection): clean up a bit.
7432         (pasteSelection): use make_pair
7433
7434         * ParagraphList.C (ParagraphList): implement copy constructor
7435         (operator=): implement, base on copy constructor.
7436         (assign): new func
7437
7438         * paragraph.C (erase): return a bool
7439
7440         * paragraph_pimpl.C (erasePos): remove function, move contents...
7441         (erase): ... here. Return a bool.
7442         (erase): call erase instead of erasePos.
7443
7444 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7445
7446         * ParagraphList.h: define PitPosPair
7447         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7448         ParagraphList, fix a bug on pasting multiple pars
7449         * text2.C: change interface to C&P
7450
7451 2003-04-30  André Pönitz  <poenitz@gmx.net>
7452
7453         * undo_func.C: revert part of yesterday's patch 2
7454
7455 2003-04-30  John Levon  <levon@movementarian.org>
7456
7457         * LColor.C: s/tabular/table/
7458
7459 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7460
7461         * text3.C (dispatch): do not convert iterator -> pointer
7462         * undo_funcs.C (setCursorParUndo): ditto
7463         * text_funcs.C (transposeChars): ditto
7464
7465         * text2.C (setLayout): ws changes only
7466
7467         * text.C (breakParagraph): do not convert iterator -> pointer
7468         (insertChar): ditto
7469         (acceptChange): ditto
7470         (rejectChange): ditto
7471         (changeCase): ditto
7472         (Delete): ditto
7473         (backspace): ditto
7474
7475         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7476         pointer
7477
7478 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7479
7480         * text3.C (gotoInset): YABG (yet another bad getChar)
7481
7482 2003-04-29  André Pönitz  <poenitz@gmx.net>
7483
7484         * paragraph.h: make operator= private unimplemented as long as
7485           it is unusable
7486
7487         * ParagraphList.C: whitespace
7488
7489         * paragraph.[Ch]:
7490         * paragraph_pimpl.[Ch]:
7491         * paragraph_funcs.C:
7492         * CutAndPaste.C:
7493         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7494
7495         * text2.C:
7496           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7497
7498 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7499
7500         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7501         * paragraph.[Ch] (erase):
7502         * paragraph_pimpl.[Ch] (erase): change return type and value
7503         * text2.C (cutSelection): some rework
7504
7505 2003-04-28  John Levon  <levon@movementarian.org>
7506
7507         * bufferlist.C: changes for unsaved changes dialog
7508
7509 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7510
7511         * bufferlist.C (newFile): set language (messages_) for new
7512         documents also.
7513
7514         * buffer.C (readFile): ws changes only.
7515
7516 2003-04-28  André Pönitz  <poenitz@gmx.net>
7517
7518         * undo_funcs.C:
7519         * lyxfunc.C:
7520         * buffer.[Ch]:
7521         * BufferView_pimpl.C:
7522         * BufferView.C: getParFromID related ParagraphList::iterator changes
7523
7524 2003-04-28  André Pönitz  <poenitz@gmx.net>
7525
7526         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7527           Changes
7528
7529 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7530
7531         * messages.C: remove one more localedir class variable.
7532
7533 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * messages.C (getLocaleDir): singleton generation function
7536         (Pimpl): use it.
7537         (Messages): add a default constructor.
7538
7539         * main.C (main): do not setup localedir here, do not call
7540         gettext_init.
7541
7542         * gettext.C (_): use it.
7543         (gettext_init): delete funciton
7544
7545 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7546
7547         * gettext.C (getLyXMessages): new singleton generating function.
7548
7549         * buffer.C (updateDocLang): adjust
7550
7551         * Makefile.am (messages.o): add target
7552         (main.o): remove target
7553
7554 2003-04-27  John Levon  <levon@movementarian.org>
7555
7556         * bufferlist.C:
7557         * lyx_cb.C:
7558         * lyxfunc.C:
7559         * lyxvc.C: specify cancel button in Alert::prompt
7560
7561 2003-04-26  John Levon  <levon@movementarian.org>
7562
7563         * text3.C:
7564         * lyxfunc.C:
7565         * lfuns.h:
7566         * LyXAction.C: add LFUN_INSET_SETTINGS
7567
7568         * lyxfunc.C: don't enable tabular-feature when there's
7569         just any locking inset
7570
7571 2003-04-26  John Levon  <levon@movementarian.org>
7572
7573         * bufferlist.C: re-add Cancel to buffer close question
7574
7575         * lyxfunc.C: fix import UI a bit
7576
7577 2003-04-25  John Levon  <levon@movementarian.org>
7578
7579         * gettext.C: remove the broken asserts for now
7580
7581 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7582
7583         * messages.C: make case where setlocale cannot comply work better.
7584
7585         * buffer.C (updateDocLang): new function
7586         (changeLanguage): use it
7587         (readFile): use it
7588
7589         * text2.C (setCounter): use B_ a bit.
7590
7591         * lyxlayout.C (Read): be sure to trim the label strings.
7592
7593         * messages.C (Messages): fix typo in comment
7594
7595         * buffer.C (readFile): set message_ after file is loaded.
7596         (makeDocBookFile): remove double return
7597         (changeLanguage): reset message_ upon language change.
7598         (B_): new func, use this to get translated buffer strings.
7599
7600         * main.C: add myself and Jean Marc as authors.
7601
7602 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7603
7604         * messages.[hC]: pimplify Messages, and three different pimpls to be
7605         used in different circumstances.
7606
7607         * gettext.[Ch]: change for use with new message code.
7608
7609 2003-04-24 André Pönitz <poenitz@gmx.net>
7610
7611         * factory.C: support for eqref
7612
7613 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7614
7615         * messages.[Ch]: add missing char
7616
7617         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7618
7619         * messages.[Ch]: New files
7620
7621 2003-04-18  John Levon  <levon@movementarian.org>
7622
7623         * BufferView.h:
7624         * BufferView.C:
7625         * BufferView_pimpl.C:
7626         * lfuns.h:
7627         * LyXAction.C:
7628         * lyxtext.h:
7629         * text2.C: remove layout-copy/paste (bug 778)
7630
7631 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7632
7633         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7634
7635 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7636
7637         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7638         if they succeed. Act accordingly.
7639
7640 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7641
7642         * text2.C (setCharFont): adjust
7643         (setCounter): adjust
7644         (insertStringAsLines): adjust
7645
7646         * text.C (leftMargin): adjust
7647         (setHeightOfRow): adjust
7648
7649         * rowpainter.C (paintFirst): adjust
7650         (paintLast): adjust
7651
7652         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7653         (outerHook): ditto
7654         (isFirstInSequence): ditto
7655         (getEndLabel): ditto
7656         (outerFont): adjust
7657
7658         * paragraph.C (getParLanguage): comment out some hard stuff.
7659
7660         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7661         (sgmlError): ditto
7662         (simpleDocBookOnePar): ditto
7663         (makeDocBookFile): use ParagraphList::iterator
7664
7665         * CutAndPaste.C (pasteSelection): adjust
7666
7667 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7668
7669         * text2.C (getFont): adjust
7670         (getLayoutFont): adjust
7671         (getLabelFont): adjust
7672
7673         * paragraph_funcs.C (TeXOnePar): adjust
7674
7675         * buffer.C (simpleLinuxDocOnePar): adjust
7676         (simpleDocBookOnePar): adjust
7677
7678         * CutAndPaste.C (pasteSelection): adjust
7679
7680         * BufferView.C (getEncoding): adjust
7681
7682         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7683
7684 2003-04-16  John Levon  <levon@movementarian.org>
7685
7686         * lyxfind.C: use parlist stuff for search/changes
7687
7688 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7689
7690         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7691
7692         * text2.C (deleteEmptyParagraphMechanism): adjust
7693
7694         * text2.[Ch] (ownerParagraph): delete func (both of them
7695
7696 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7697
7698         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7699
7700 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7701
7702         * ParagraphList.C: prepare for NO_NEXT
7703
7704 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7705
7706         * text2.C (getFont): adjust
7707         (getLayoutFont): adjust
7708         (getLabelFont): adjust
7709
7710         * paragraph.C (getFont): adjust
7711         (getLabelFont): adjust
7712         (getLayoutFont): adjust
7713
7714         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7715
7716 2003-04-15  John Levon  <levon@movementarian.org>
7717
7718         From Angus Leeming
7719
7720         * lyx_main.C: handle Include in .ui files
7721
7722 2003-04-15  John Levon  <levon@movementarian.org>
7723
7724         * MenuBackend.C: make the doc files length shorter
7725
7726         * ToolbarBackend.h:
7727         * ToolbarBackend.C: handle toolbar placement flags,
7728         Minibuffer
7729
7730 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7731
7732         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7733         adjust
7734
7735         * paragraph_funcs.C (TeXOnePar): adjust
7736
7737         * paragraph.C (getLabelFont): add outerfont arg, adjust
7738         (getLayoutFont): ditto
7739         (simpleTeXOnePar): adjust
7740
7741         * paragraph_pimpl.C (realizeFont): delete func
7742
7743 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7744
7745         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7746         row argument, constify cur argument.
7747
7748 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7749
7750         * text2.C (getFont): adjust
7751         (getLayoutFont): adjust
7752         (getLabelFont): adjust
7753
7754         * paragraph_funcs.C (TeXOnePar): adjust
7755         (outerFont): new func...
7756         (realizeFont): ...moved out from here, changed this to facilitate
7757         transition
7758
7759         * paragraph.C (getFont): take outerfont as arg, adjust
7760         (simpleTeXOnePar): add outerfont arg, adjust
7761
7762         * buffer.C (simpleLinuxDocOnePar): adjust
7763         (simpleDocBookOnePar): adjust
7764
7765         * CutAndPaste.C (pasteSelection): adjust
7766
7767         * BufferView.C (getEncoding): adjust
7768
7769 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7770
7771         * text2.C (setCharFont): adjust
7772         (setCounter): adjust
7773
7774         * text.C (leftMargin): adjust
7775         (setHeightOfRow): adjust
7776
7777         * rowpainter.C (paintFirst): adjust
7778         (paintLast): adjust
7779
7780         * paragraph_pimpl.C (realizeFont): adjust
7781
7782         * paragraph.C (isFirstInSequence): move from here...
7783         * paragraph_funcs.C (isFirstInSequence): ...to here
7784
7785         * paragraph.C (outerHook): move from here...
7786         * paragraph_funcs.C (outerHook): ...to here
7787
7788         * paragraph.C (depthHook): move from here...
7789         * paragraph_funcs.C (depthHook): ...to here
7790
7791         * paragraph.C (getEndLabel): move from here...
7792         * paragraph_funcs.C (getEndLabel): ...to here
7793
7794         * text2.C (realizeFont): move from here...
7795         * paragraph_funcs.C (realizeFont): ...to here
7796
7797 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7798
7799         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7800
7801 2003-04-14  Angus Leeming  <leeming@lyx.org>
7802
7803         * LColor.[Ch]: scrap LColor mathcursor.
7804
7805 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7806
7807         * lyxlex.[Ch] (text): delete function
7808         * trans.C (Load): adjust
7809         * paragraph_funcs.C (readParToken): adjust
7810
7811 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7812
7813         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7814         vector<char> instead of a char[].
7815
7816         * lyxlex_pimpl.C (getString): adjust
7817         (next): adjust
7818         (lex): use getString
7819         (eatLine): adjust
7820         (nextToken): adjust
7821
7822         * lyxlex.C (text): use pimpl_->getString()
7823         (getBool): ditto
7824         (findToken): ditto
7825
7826 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7827
7828         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7829         (makeFontEntriesLayoutSpecific): temp var for par.size()
7830         (setLayout): temp var for ownerParagraphs().end()
7831         (fullRebreak): temp var for rows().end()
7832         (selectionAsString): temp var for boost::next(startpit), realize
7833         that the while really is a regular for loop.
7834         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7835         setCursor in one place.
7836         (setParagraph): temp vr for ownerParagraphs().end()
7837         (updateCounters): make the while loop a for loop
7838         (cutSelection): temp var for ownerParagraphs().end()
7839         (updateInset): make the do {} while() a regular for loop
7840         (getCursorX): use temp vars
7841         (setCurrentFont): use temp vars
7842         (getColumnNearX): use temp vars
7843
7844 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7845
7846         * text.C (transformChar): use temp var for getChar
7847         (computeBidiTables): use temp var for row->par()
7848         (fill): move temp vars for row->par() and pit->layout() earlier in
7849         the function.
7850         (labelFill): use temp var for row->par()
7851         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7852         asc and desc, realize that pit never changes and that firstpit is
7853         just a duplicate and not needed. Exchange rit->par() with pit in a
7854         lot of places.
7855         (breakAgain): use a temp var for boost::next(rit)
7856         (breakAgainOneRow): ditto
7857         (breakParagraph): use a temp var for rows().begin()
7858         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7859         (cursorRightOneWord): use temp var for cursor.par() and
7860         cursor.pos(), remove usage of tmpcursor.
7861         (cursorLeftOneWord): use temp var for cursor.par() and
7862         cursor.pos() only set cur at end of function.
7863
7864 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7865
7866         * text.C, text2.C: exchange all usage of Paragraph::next with
7867         boost::next(ParagraphList::iterator)
7868
7869         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7870
7871         * text2.C (cursorTop): simplify implementation
7872         (cursorBottom): ditto
7873         (setParagraph): use ParagraphList::iterator
7874         (setCurrentFont): adjust
7875         (getColumnNearX): adjust
7876         (cursorRight): adjust
7877         (cursorLeft): remove usage of Paragraph::previous
7878         (cursorUpParagraph): ditto
7879         (deleteEmptyParagraphMechanism): slight cleanup
7880
7881         * text.C (isBoundary): take a Paragraph const & instead of a
7882         pointer as arg.
7883         (addressBreakPoint): ditto
7884         (leftMargin): remove usage of Paragraph::previous.
7885         (setHeightOfRow): ditto
7886         (cursorLeftOneWord): ditto
7887         (selectNextWordToSpellcheck): ditto
7888         (Delete): ditto
7889         (backspace): ditto
7890         (breakParagraph): remove one usage of Paragraph::next
7891         (redoParagraph): ditto
7892         (acceptChange): ditto
7893         (insertChar): adjust
7894         (rowBreakPoint): adjust
7895
7896         * bufferview_funcs.C (toggleAndShow): adjust
7897
7898 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7899
7900         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7901         methods to access it.
7902         * lyxtext.h:
7903         * text.C: Added updateRowPositions to compute all row positions.
7904         Make top_y and getRowNearY() to use the cached y position
7905
7906 2003-04-11  John Levon  <levon@movementarian.org>
7907
7908         * text.C (rowBreakPoint): reintroduce the labelEnd
7909         checks, code copied from the row fill stuff. Deep voodoo.
7910
7911         * text.C (fill): add a comment and debugging for the
7912         next poor soul.
7913
7914 2003-04-11  John Levon  <levon@movementarian.org>
7915
7916         * text.C: make sure fullrow insets get wrapped to the next line,
7917         even when they're in a manual label
7918
7919 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7920
7921         * text2.C (insertParagraph): make it take ParagraphList::iterator
7922         as arg.
7923         (setLayout): make it return ParagraphList::iterator
7924         (redoParagraphs): ditto
7925         (setCounter): ditto
7926         (checkParagraph): ditto
7927
7928         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7929
7930         * text2.C: adjust several funcs.
7931         (realizeFont): take a ParagraphList::iterator as arg.
7932         (getLayoutFont): ditto
7933         (getLabelFont): ditto
7934         (setCharFont): ditto
7935
7936         * text.C: adjust several funcs.
7937
7938 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7939
7940         * text.C (selectNextWordToSpellcheck): don't accidentally
7941         skip insets
7942
7943 2003-04-10  John Levon  <levon@movementarian.org>
7944
7945         * ToolbarBackend.C (getIcon): special handling for
7946         LFUN_MATH_DELIM
7947
7948 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7949
7950         * text2.C (cursorRight): a getChar assert fixed
7951
7952 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7953
7954         * text2.C (getFont): change to take a ParagraphList::iterator
7955         instead of Paragraph*
7956         Adjust several functions.
7957
7958         * text.C (transformChar): change to take a ParagraphList::iterator
7959         instead of Paragraph*
7960         (singleWidth): ditto
7961         Adjust several functions.
7962
7963         * rowpainter.C: adjust several functions
7964         * rowpainter.h:store a ParagraphList::iterator and not a
7965         Paragraph&.
7966
7967
7968 2003-04-09  John Levon  <levon@movementarian.org>
7969
7970         * lyxfunc.C:
7971         * lfuns.h:
7972         * LyXAction.h:
7973         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7974         and the "help" bits as well
7975
7976 2003-04-09  John Levon  <levon@movementarian.org>
7977
7978         * ToolbarBackend.h:
7979         * ToolbarBackend.C: allow multiple toolbars
7980
7981 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7982
7983         * undo_funcs.C (setCursorParUndo): adjust
7984
7985         * text_funcs.C (transposeChars): adjust
7986
7987         * text3.C (gotoNextInset): adjust
7988         (dispatch): adjust
7989
7990         * text2.C (setLayout): adjust
7991         (changeDepth): adjust
7992         (setFont): adjust
7993         (redoParagraphs): adjust
7994         (selectionAsString): adjust
7995         (setParagraph): adjust
7996         (insertInset): adjust
7997         (cutSelection): adjust
7998         (copySelection): adjust
7999         (pasteSelection): adjust
8000         (insertStringAsLines): adjust
8001         (updateInset): adjust
8002         (setCursor): change to take a ParagraphList::iterator parameter
8003         (setCursorIntern): change to take a ParagraphList::iterator parameter
8004         (setCurrentFont): adjust
8005         (cursorLeft): adjust
8006         (cursorRight): adjust
8007         (deleteEmptyParagraphMechanism): adjust
8008
8009         * text.C (breakParagraph): adjust
8010         (insertChar): adjust
8011         (acceptChange): adjust
8012         (rejectChange): adjust
8013         (selectNextWordToSpellcheck): adjust
8014         (changeCase): adjust
8015         (Delete): adjust
8016         (backspace): adjust
8017
8018         * lyxfind.C (SearchForward): adjust
8019         (SearchBackward): adjust
8020         (nextChange): adjust
8021
8022         * lyxcursor.C (par): adjust
8023
8024         * lyxcursor.h: store a ParagraphList::iterator instead of a
8025         Paragraph*
8026
8027         * lyx_cb.C (getPossibleLabel): adjust
8028
8029         * bufferview_funcs.C (toggleAndShow): adjust
8030
8031         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8032         (dispatch): adjust
8033
8034         * BufferView.C (removeAutoInsets): adjust
8035         (lockedInsetStoreUndo): adjust
8036
8037 2003-04-09  John Levon  <levon@movementarian.org>
8038
8039         * ToolbarBackend.C: try icon without argument
8040         if with argument fails
8041
8042 2003-04-08  John Levon  <levon@movementarian.org>
8043
8044         * ToolbarBackend.h:
8045         * ToolbarBackend.C: add getIcon(), handle tooltip,
8046         and change from "Icon" to "Item".
8047
8048 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8049
8050         * BufferView.C (lockInset): another bad getchar crunched
8051
8052 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8053
8054         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8055         again)
8056
8057 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8058
8059         * lyxfind.C (searchForward, searchBackwards): bug 782
8060
8061 2003-04-07  John Levon  <levon@movementarian.org>
8062
8063         * paragraph.C: remove dead comment
8064
8065         * text.C: remove troublesome depth-fiddling code
8066         in leftMargin() and rightMargin() (bug 1017)
8067
8068         * text.C: fix breaking of rows in nested lists
8069         (bug 1004)
8070
8071         * text2.C (updateCounters): fix up depth values
8072         (bug 1013)
8073
8074 2003-04-07  John Levon  <levon@movementarian.org>
8075
8076         * BufferView_pimpl.C: clear message when doc finishes resizing,
8077         and after a mouse event
8078
8079         * lyxfunc.C: clear message after exiting inset
8080
8081 2003-04-07  John Levon  <levon@movementarian.org>
8082
8083         * bufferview_funcs.C: show math status not outside
8084         status in the statusbar
8085
8086 2003-04-07  John Levon  <levon@movementarian.org>
8087
8088         * lyxfunc.C: note status changed after a depth change
8089
8090 2003-04-04  Angus Leeming  <leeming@lyx.org>
8091
8092         * LaTeX.h: move AuxInfo operator==, != out of line.
8093         Remove LaTeX virtual destructor; nothing derives from it.
8094         Move operator()() out of public area and rename it startscript().
8095         Change protected for private.
8096
8097 2003-04-04  Angus Leeming  <leeming@lyx.org>
8098
8099         * lyxfunc.C:
8100         * text2.C: remove unneeded #includes.
8101
8102 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8103
8104         * text2.C (dEPM): fix the heigth of the next row
8105
8106 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8107
8108         * text.C: squashed an invalid getChar requester + some ws changes
8109
8110 2003-04-03  John Levon  <levon@movementarian.org>
8111
8112         * bufferview_funcs.h:
8113         * bufferview_funcs.C:
8114         * lyxfunc.C:
8115         * lyxtext.h:
8116         * text2.C: make getStatus work for the env depth lfuns
8117
8118 2003-04-03  John Levon  <levon@movementarian.org>
8119
8120         * bufferview_funcs.h:
8121         * bufferview_funcs.C:
8122         * lyxfunc.C:
8123         * lyxtext.h:
8124         * text2.C: parlistize decDepth(), by merging it with incDepth()
8125
8126 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8127
8128         * lyxrow.h: store a ParagraphList::iterator instead of a
8129         Paragraph* and adjust other class functions to suit.
8130
8131         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8132         above.
8133
8134 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8135
8136         * text2.C (setCursor): do not anchor to cursor row for the time being
8137
8138 2003-04-02  John Levon  <levon@movementarian.org>
8139
8140         * LyXAction.C:
8141         * lfuns.h:
8142         * lyx_main.C:
8143         * lyxtext.h:
8144         * text.C:
8145         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8146
8147 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8148
8149         * paragraph.h: make ParagraphList and ParagraphList::iterator
8150         friends of Paragraph.
8151
8152         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8153
8154         * ParagraphList.C: Use the private next_ and previous_ from
8155         Paragraph.
8156
8157 2003-04-01  John Levon  <levon@movementarian.org>
8158
8159         * ToolbarBackend.h:
8160         * ToolbarBackend.C:
8161         * Makefile.am: rename, remove defaults gunk
8162
8163         * MenuBackend.h:
8164         * MenuBackend.C: remove defaults gunk
8165
8166         * Languages.h:
8167         * Languages.C: remove defaults gunk
8168
8169         * lyx_main.h:
8170         * lyx_main.C: error out if files couldn't be found.
8171
8172 2003-04-02  John Levon  <levon@movementarian.org>
8173
8174         * text2.C: make incDepth() use parlist
8175
8176 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8177
8178         * undo_funcs.C (firstUndoParagraph): adjust
8179
8180         * text3.C (gotoInset): adjust
8181         (dispatch): adjust, and rewrite loop.
8182
8183         * text2.C (init): adjust, and rewrite loop.
8184         (redoParagraphs): adjust
8185         (updateInset): adjust, and rewrite loop.
8186         (deleteEmptyParagraphMechanism): adjust
8187
8188         * tabular.C (LyXTabular): adjust
8189         (SetMultiColumn): adjust
8190         (TeXRow): adjust
8191
8192         * lyxtext.[Ch] (ownerParagraph): delete function
8193         (ownerParagraphs): new function returns a ParagraphList.
8194
8195         * BufferView.C (removeAutoInsets): adjust
8196         (insertErrors): adjust
8197         (setCursorFromRow): adjust
8198
8199 2003-04-01  Angus Leeming  <leeming@lyx.org>
8200
8201         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8202         in the frontends.
8203
8204 2003-04-02  John Levon  <levon@movementarian.org>
8205
8206         * lyxtext.h:
8207         * text.C:
8208         * Makefile.am:
8209         * text_funcs.h:
8210         * text_funcs.C: make transposeChars a free function
8211
8212         * lyxrow_funcs.C: remove wrong comment
8213
8214 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8215
8216         * lyxtext.h: adjust
8217         * rowpainter.C: adjust
8218         * text.C: adjust
8219         * text2.C: adjust
8220         * text3.C: adjust
8221
8222         * lyxrow_funcs. [Ch]: new files
8223
8224         * lyxrow.[Ch]: remove next and previous pointers
8225         (next,previous): remove accessor functions
8226         (isParEnd): move to lyxrow_funcs
8227         (lastPos): move to lyxrow_funcs
8228         (nextRowIsAllInset): move to lyxrow_funcs
8229         (lastPrintablePos): move to lyxrow_funcs
8230         (numberOfSeparators): move to lyxrow_funcs
8231         (numberOfHfills): move to lyxrow_funcs
8232         (numberOfLabelHfills): move to lyxrow_funcs
8233         (hfillExpansion): move to lyxrow_funcs
8234
8235         * lyxfunc.C: adjust
8236
8237         * bufferview_funcs.C (toggleAndShow): adjust
8238
8239         * RowList.h: Remove class RowList from file leave just a
8240         std::list<Row>.
8241
8242         * RowList.C: delete file
8243
8244         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8245         and lyxrow_funcs.h
8246
8247 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8248
8249         * text3.C (cursorPrevious): adjust
8250         (cursorNext): adjust
8251         (dispatch): adjust
8252
8253         * text2.C (redoHeightOfParagraph): adjust
8254         (redoDrawingOfParagraph): adjust
8255         (setCursor): adjust
8256
8257         * text.C (breakParagraph): adjust
8258         (insertChar): adjust
8259         (backspace): adjust
8260
8261         * rowpainter.C (RowPainter): adjust
8262         (leftMargin): simplify and adjust
8263         (most rowpainter functions): adjust.
8264
8265         * rowpainter.h: store the row as RowList::iterator not as Row*
8266
8267         * lyxcursor.C (row): taka RowList::iterator as arg
8268         (irow): ditto
8269
8270         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8271         of Row*.
8272
8273 2003-04-01  Angus Leeming  <leeming@lyx.org>
8274
8275         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8276         stuff like bool Bool.
8277
8278 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8279
8280         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8281         rewrite a loop
8282
8283 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8284
8285         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8286         RowList::iterator.
8287
8288         * lyxtext.h (rows): drop one version and leve a const variant that
8289         returns a RowList::iterator.
8290
8291 2003-03-31  Angus Leeming  <leeming@lyx.org>
8292
8293         * text.C (fill): ensure that the signature is the same as that in the
8294         header file.
8295
8296 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8297
8298         * text2.C (redoParagraphs): adjust
8299         (updateCounters): adjust
8300         (checkParagraph): adjust
8301         (getColumnNearX): adjust and reformat a bit.
8302
8303         * text.C (top_y): adjust
8304         (workWidth): adjust
8305         (leftMargin): adjust
8306         (prepareToPrint): adjust
8307         (getRow): adjust
8308         (getRowNearY): adjust
8309
8310         * lyxtext.h: make rowlist_ mutable.
8311
8312         * RowList.h: add const_iterator
8313         * RowList.C: adjust for RowList::const_iterator.
8314
8315         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8316         adjust.
8317
8318 2003-03-31  John Levon  <levon@movementarian.org>
8319
8320         * lyxrc.h:
8321         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8322
8323         * lyx_main.C: set default fonts from using lyx_gui funcs
8324
8325         * exporter.C: pdf_mode moved from lyxrc
8326
8327         * lyx_cb.C:
8328         * lyxfunc.C: changes from above
8329
8330 2003-03-31  John Levon  <levon@movementarian.org>
8331
8332         * lyx_main.C: fix to the last fix
8333
8334 2003-03-31  John Levon  <levon@movementarian.org>
8335
8336         * bufferlist.C: "Load original" -> "Load Original"
8337
8338         * converter.C:
8339         * exporter.C:
8340         * importer.C:
8341         * lyx_main.C:
8342         * format.C: more Alert cleanups
8343
8344 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8345
8346         * text2.C (removeParagraph): make it take a RowList::iterator as
8347         arg, adjust.
8348         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8349         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8350
8351         * text.C (anchor_row): make it take a RowList::iterator as arg,
8352         adjust.
8353         (computeBidiTables): make it take a const reference to Row instead
8354         of Row pointer, adjust.
8355         (leftMargin): make it take a RowList::iterator as arg, adjust.
8356         (rowBreakPoint): adjust
8357         (breakAgainOneRow): make it take a RowList::iterator as arg,
8358         adjust.
8359         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8360
8361         * bufferview_funcs.C (toggleAndShow): adjust
8362
8363 2003-03-30  John Levon  <levon@movementarian.org>
8364
8365         * Makefile.am:
8366         * BoostFormat.h:
8367         * boost-inst.C: moved to support
8368
8369         * several files: changes as a result
8370
8371 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8372
8373         * text2.C (LyXText): adjust.
8374         (init): adjust
8375         (removeRow): make it take a RowList::iterator as arg, adjust.
8376         (fullRebreak): adjust
8377         (deleteEmptyParagraphMechanism): adjust
8378         (clearPaint): adjust
8379         (postPaint): adjust
8380
8381         * text.C (top_y): adjust
8382         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8383         (breakAgain): make it take a RowList::iterator as arg, adjust.
8384         (breakParagraph): adjust
8385         (insertChar): adjust
8386         (backspace): adjust
8387
8388         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8389         need_break_row, and refresh_row.
8390
8391         * text3.C (dispatch): adjust
8392
8393         * text2.C (checkParagraph): adjust
8394         (setCursor): adjust
8395         (setCursorFromCoordinates): adjust
8396
8397         * text.C (top_y): adjust
8398         (workWidth): adjust
8399         (getRow): make it return a RowList::iterator, adjust
8400         (getRowNearY): make it return a RowList::iterator, adjust
8401
8402         * text2.C (init): adjust
8403         (insertRow): remove function
8404         (insertParagraph): adjust
8405         (redoParagraphs): adjust
8406         (fullRebreak): adjust
8407         (updateCounters): adjust
8408
8409         * text.C (top_y): rewrite to use RowList iterators.
8410         (top_y): adjust
8411         (setHeightOfRow): rewrite to sue RowList iterators.
8412         (appendParagraph): adjust
8413         (breakAgain): adjust
8414         (breakAgainOneRow): adjust
8415         (breakParagraph): adjust
8416         (getRow): adjust
8417         (getRowNearY): adjust, and remove commented code.
8418
8419         * lyxtext.h (firstRow): delete function
8420         (lastRow): delete function
8421         (rows): new function (const and non-const versions.)
8422         (insertRow): delete function
8423
8424         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8425
8426 2003-03-29  John Levon  <levon@movementarian.org>
8427
8428         * BufferView_pimpl.C: always update scrollbar top
8429         because pasting text when we're anchored could mean we
8430         miss an update altogether
8431
8432 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8433
8434         * text2.C (init): use rowlist_.end() and not 0.
8435         (insertRow): change to take a RowList::iterator as arg, adjust
8436         for this.
8437         (insertParagraph): change to take a RowList::iterator as arg,
8438         adjust for this.
8439         (redoParagraphs): remove some debug msgs.
8440
8441         * text.C (appendParagraph): change to take a RowList::iterator
8442         arg, adjust for this.
8443         (breakAgain): add an assert
8444         (breakAgainOneRow): ditto
8445
8446 2003-03-29  John Levon  <levon@movementarian.org>
8447
8448         * text2.C: do not clear selection after inc/decDepth
8449         (bug 550)
8450
8451 2003-03-29  John Levon  <levon@movementarian.org>
8452
8453         * BufferView.C:
8454         * buffer.C: fix broken strerrors according to Lars
8455
8456 2003-03-29  John Levon  <levon@movementarian.org>
8457
8458         * converters.C: more Alert cleanups
8459
8460 2003-03-29  John Levon  <levon@movementarian.org>
8461
8462         * bufferview_funcs.C: remove pointless Alert
8463
8464         * buffer.C: fix confusing error message when
8465         a template is chmoded 000
8466
8467 2003-03-29  John Levon  <levon@movementarian.org>
8468
8469         * BufferView.C:
8470         * BufferView.h:
8471         * BufferView_pimpl.C: Alert fixes
8472
8473         * Makefile.am:
8474         * tabular.C:
8475         * tabular-old.C: remove unused table compat reading
8476
8477 2003-03-29  John Levon  <levon@movementarian.org>
8478
8479         * BufferView.C:
8480         * buffer.C:
8481         * lyx_cb.h:
8482         * lyx_cb.C: more Alert cleanups
8483
8484         * lyxfunc.C: don't allow chktex if not latex document
8485
8486 2003-03-29  John Levon  <levon@movementarian.org>
8487
8488         * lyx_cb.C:
8489         * BufferView.C:
8490         * buffer.C: warnings pushed down from support/,
8491         kill err_alert
8492
8493 2003-03-29  John Levon  <levon@movementarian.org>
8494
8495         * lyxfunc.C: safety check for C-r (revert)
8496
8497 2003-03-29  John Levon  <levon@movementarian.org>
8498
8499         * bufferlist.h:
8500         * bufferlist.C: several UI fixes using Alert::prompt.
8501         Fix the pointless looping quit code. Fix stupid revert
8502         behaviour (bug 938)
8503
8504         * lyxvc.h:
8505         * lyxvc.C:
8506         * lyx_cb.C: use Alert::prompt
8507
8508         * lyx_main.C: remove a silly question
8509
8510         * lyxfunc.C: remove a couple of silly questions,
8511         use Alert::prompt
8512
8513 2003-03-28  John Levon  <levon@movementarian.org>
8514
8515         * text2.C: fix bug 974 (End on empty par)
8516
8517 2003-03-28  John Levon  <levon@movementarian.org>
8518
8519         * BufferView_pimpl.C:
8520         * LyXAction.C:
8521         * lfuns.h: remove do-nothing math greek lfuns
8522
8523 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8524
8525         * lyxgluelength.h (isValidGlueLength): add default arg on
8526         parameter 2. Remove default arg from friend in class.
8527
8528         * lyxlength.h (isValidLength): add default arg on parameter 2.
8529         Remove default arg from friend in class.
8530
8531         * text2.C (LyXText): adjust, initialize refresh_row.
8532         (init): adjust
8533         (removeRow): adjust
8534         (insertRow): adjust
8535         (insertParagraph): adjst
8536         (redoParagraphs): adjust
8537         (fullRebreak): adjust
8538         (updateCounters): adjust
8539         (deleteEmptyParagraphMechanism): first attempt at fixing a
8540         crashing bug.
8541
8542         * text.C (top_y): adjust
8543         (setHeightOfRow): adjust
8544         (getRow): adjust
8545         (getRowNearY): adjust
8546
8547         * lyxtext.h: include RowList.h
8548         (~LyXText): not needed anymore, deleted.
8549         (firstRow): modify for RowList
8550         (lastRow): new function
8551         Delete firstrow and lastrow class variables, add a Rowlist
8552         rowlist_ class variable.
8553
8554         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8555         paragraph is empty.
8556
8557         * RowList.C (insert): fix case where it == begin().
8558
8559 2003-03-26  Angus Leeming  <leeming@lyx.org>
8560
8561         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8562         the thesaurus dialog.
8563
8564 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8565
8566         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8567
8568         * RowList.[Ch]: new files
8569
8570         * ParagraphList.C (erase): handle the case where it == begin
8571         correctly.
8572
8573 2003-03-25  John Levon  <levon@movementarian.org>
8574
8575         * Makefile.am:
8576         * aspell_local.h:
8577         * aspell.C: add new aspell support
8578
8579         * lyxrc.h:
8580         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8581         have it accessible.
8582
8583 2003-03-25  Angus Leeming  <leeming@lyx.org>
8584
8585         * lfuns.h:
8586         * LyXAction.C (init): new LFUN_INSET_INSERT.
8587
8588         * BufferView_pimpl.C (dispatch): split out part of the
8589         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8590
8591         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8592         LFUN_INSET_APPLY.
8593
8594 2003-03-25  Angus Leeming  <leeming@lyx.org>
8595
8596         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8597
8598 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8599
8600         * text2.C:
8601         * text3.C: remove useless row->height(0)
8602
8603 2003-03-25  John Levon  <levon@movementarian.org>
8604
8605         * lyxtext.h:
8606         * text2.C:
8607         * text3.C: rename the refreshing stuff to better names
8608
8609 2003-03-24  John Levon  <levon@movementarian.org>
8610
8611         * BufferView_pimpl.h:
8612         * BufferView_pimpl.C: update layout choice on a mouse
8613         press/release
8614
8615 2003-03-23  John Levon  <levon@movementarian.org>
8616
8617         * Makefile.am: fix commandtags.h reference
8618
8619 2003-03-22  John Levon  <levon@movementarian.org>
8620
8621         * BufferView_pimpl.C:
8622         * lyxtext.h:
8623         * rowpainter.C:
8624         * rowpainter.h:
8625         * text.C:
8626         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8627
8628 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8629
8630         * lyxtext.h:
8631         * text.C: take the rtl methods out of line
8632
8633 2003-03-21 André Pönitz <poenitz@gmx.net>
8634
8635         * metricsinfo.[Ch]: new files containing structures to be passed around
8636         during the two-phase-drawing...
8637
8638 2003-03-21 André Pönitz <poenitz@gmx.net>
8639
8640         * lyxtextclass.C: read 'environment' tag.
8641
8642 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8643
8644         * text2.C (removeRow): fix bug 964
8645
8646 2003-03-20  John Levon  <levon@movementarian.org>
8647
8648         * rowpainter.C:
8649         * text.C:
8650         * text2.C: paint cleanups. Inset::update() dropped font
8651         parameter
8652
8653 2003-03-19  John Levon  <levon@movementarian.org>
8654
8655         * lyxfunc.C: only fitcursor/markDirty if available()
8656
8657 2003-03-19  John Levon  <levon@movementarian.org>
8658
8659         * commandtags.h: rename to ...
8660
8661         * lfuns.h: ... this, and renumber / cleanup
8662
8663 2003-03-19  John Levon  <levon@movementarian.org>
8664
8665         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8666         fit the cursor after an lfun
8667
8668         * BufferView.h:
8669         * BufferView.C:
8670         * BufferView_pimpl.h:
8671         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8672
8673         * LyXAction.C: layout-character should have ReadOnly
8674
8675         * ParagraphParameters.C:
8676         * buffer.C:
8677         * bufferview_funcs.C:
8678         * lyx_cb.C:
8679         * lyxfind.C:
8680         * lyxtext.h:
8681         * text.C:
8682         * text2.C:
8683         * text3.C:
8684         * undo_funcs.C: changes from above
8685
8686 2003-03-18  John Levon  <levon@movementarian.org>
8687
8688         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8689         remove it from update()
8690
8691         * lyxfunc.C: update layout choice after an lfun
8692
8693         * text3.C: remove extra updateLayoutChoice()s
8694
8695 2003-03-18  John Levon  <levon@movementarian.org>
8696
8697         * text.C: top_y change means full repaint, fix
8698         a drawing bug with cursor movement
8699
8700 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8701
8702         * lyxtext.h:
8703         * text.C:
8704         * text2.C: anchor row on setCursor
8705
8706 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8707
8708         * lyxtext.h: remove almost all mutable keywords
8709         * text.C:
8710         * text2.C:
8711         * text3.C: remove const keywords accordingly
8712
8713 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8714
8715         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8716         anon namespace
8717         (TeXEnvironment): ditto
8718         (TeXOnePar): ditto
8719
8720 2003-03-17  John Levon  <levon@movementarian.org>
8721
8722         * text.C (rowBreakPoint): remove attempt to fix displayed
8723         math insets inside a manual label
8724
8725 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8726
8727         * lyxtext.h: remove BufferView* as first arg from almost all class
8728         functions.
8729         * other files: adjust.
8730
8731 2003-03-17  John Levon  <levon@movementarian.org>
8732
8733         * lyxtext.h:
8734         * undo_funcs.C:
8735         * text2.C: more paint cleanups
8736
8737         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8738
8739         * rowpainter.h:
8740         * rowpainter.C: remove "smart" background painting code
8741
8742 2003-03-16  John Levon  <levon@movementarian.org>
8743
8744         * lyxtext.h:
8745         * text.C:
8746         * text2.C:
8747         * text3.C: add helper functions for setting refresh_row/y
8748
8749 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8750
8751         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8752         newline inset which *can* get inserted in the pass_thru layouts.
8753         This is primarily for literate documents.
8754
8755 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8756
8757         * buffer.C: increment LYX_FORMAT to 223
8758
8759 2003-03-14 André Pönitz <poenitz@gmx.net>
8760
8761         * textclass.h: prepare for environment handling, ws changes
8762         * lyxlayout.C: read latexheader and latexfooter tags
8763
8764 2003-03-14  John Levon  <levon@movementarian.org>
8765
8766         * text2.C: rewrite ::status() a bit
8767
8768 2003-03-13  John Levon  <levon@movementarian.org>
8769
8770         * lyxtext.h: add some docs
8771
8772 2003-03-13  John Levon  <levon@movementarian.org>
8773
8774         * lyxtext.h:
8775         * text.C:
8776         * text2.C:
8777         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8778
8779 2003-03-13  John Levon  <levon@movementarian.org>
8780
8781         * text3.C: fix appendix redrawing
8782
8783 2003-03-13  John Levon  <levon@movementarian.org>
8784
8785         * text.C (setHeightOfRow):
8786         * rowpainter.h:
8787         * rowpainter.C: make appendix mark have the text
8788           "Appendix" so the user knows what it is
8789
8790         * LColor.h:
8791         * LColor.C: s/appendixline/appendix/ from above
8792
8793 2003-03-13  John Levon  <levon@movementarian.org>
8794
8795         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8796
8797         * text.C: fix a getChar(pos) bug properly
8798
8799 2003-03-13  Angus Leeming  <leeming@lyx.org>
8800
8801         * commandtags.h:
8802         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8803         Probably only temporary. Let's see how things pan out.
8804
8805         * BufferView.C (unlockInset):
8806         * BufferView_pimpl.C (fitCursor):
8807         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8808
8809         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8810         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8811
8812         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8813         new functions that convert ParagraphParameters to and from a string.
8814
8815         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8816         BufferView::Pimpl's dispatch.
8817         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8818
8819 2003-03-13 André Pönitz <poenitz@gmx.net>
8820
8821         * lyxfunc.C:
8822         * text3.C:
8823         * factory.C: make it aware of InsetEnv
8824
8825 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8826
8827         * text2.C (setCursor): never ask for one past last
8828         (setCursor): add some debugging messages.
8829
8830         * text.C (singleWidth): never ask for one past last
8831         (singleWidth): ditto
8832         (leftMargin): ditto
8833         (rightMargin): ditto
8834         (rowBreakPoint): ditto
8835         (setHeightOfRow): ditto
8836         (prepareToPrint): ditto
8837
8838         * rowpainter.C (paintBackground): never ask for one past last
8839         (paintText): never ask for one past last
8840
8841         * paragraph_pimpl.C (getChar): make the assert stricter, never
8842         allow the one past last pos to be taken
8843
8844         * paragraph.C (getChar): ws changes only
8845
8846         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8847         (numberOfSeparators): ditto
8848         (numberOfHfills): ditto
8849
8850 2003-03-12  John Levon  <levon@movementarian.org>
8851
8852         * author.h:
8853         * author.C:
8854         * bufferparams.h:
8855         * bufferparams.C:
8856         * paragraph_funcs.C: fix per-buffer authorlists
8857
8858 2003-03-12  John Levon  <levon@movementarian.org>
8859
8860         * text.C: fix newline in right address
8861
8862 2003-03-12  Angus Leeming  <leeming@lyx.org>
8863
8864         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8865         duplicate those in LyXFunc::dispatch.
8866
8867         * commandtags.h:
8868         * LyXAction.C:
8869         * ToolbarDefaults.C:
8870         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8871         Add LFUN_FONTFREE_UPDATE.
8872
8873         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8874         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8875
8876         * bufferview_func.[Ch]: several new functions to facilliate
8877         transfer of data to and from the character dialog.
8878
8879 2003-03-12  John Levon  <levon@movementarian.org>
8880
8881         * buffer.C:
8882         * paragraph.h:
8883         * paragraph.C:
8884         * paragraph_funcs.C:
8885         * paragraph_pimpl.C:
8886         * sgml.C:
8887         * tabular.C:
8888         * text.C:
8889         * text3.C: remove META_NEWLINE in favour of an inset
8890
8891         * rowpainter.h:
8892         * rowpainter.C: remove paintNewline (done by inset)
8893
8894 2003-03-12  John Levon  <levon@movementarian.org>
8895
8896         * paragraph_pimpl.C: complain about bad getChar()s
8897         for a while at least
8898
8899 2003-03-12  John Levon  <levon@movementarian.org>
8900
8901         * buffer.h:
8902         * buffer.C: move paragraph read into a separate function,
8903         a little renaming to reflect that.
8904
8905         * bufferparams.h:
8906         * bufferparams.C: remove the author_ids map, not necessary now
8907
8908         * factory.h:
8909         * factory.C: moved Buffer::readInset to here
8910
8911         * paragraph_funcs.h:
8912         * paragraph_funcs.C: readParagraph free function moved from
8913         buffer.C
8914
8915         * tabular.C: name change
8916
8917 2003-03-12  John Levon  <levon@movementarian.org>
8918
8919         * buffer.C:
8920         * ParagraphParameters.C: move par params input to
8921         a read() method
8922
8923         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8924         behave like a normal read from the stream wrt reading
8925         a line vs. a \\token
8926
8927 2003-03-12  John Levon  <levon@movementarian.org>
8928
8929         * paragraph.C:
8930         * ParagraphParameters.h:
8931         * ParagraphParameters.C: move output code to a
8932         ::write() method
8933
8934 2003-03-12  John Levon  <levon@movementarian.org>
8935
8936         * BufferView.C (insertLyXFile):
8937         * buffer.h:
8938         * buffer.C:
8939         * tabular.C: use a parlist iterator for creating the
8940           document.
8941
8942 2003-03-12  John Levon  <levon@movementarian.org>
8943
8944         * buffer.C: make current_change static local not
8945           static file-scope
8946
8947 2003-03-12  John Levon  <levon@movementarian.org>
8948
8949         * buffer.C: fix insertStringAsLines for change tracking
8950
8951 2003-03-12  John Levon  <levon@movementarian.org>
8952
8953         * BufferView.C:
8954         * tabular.C:
8955         * buffer.h:
8956         * buffer.C:
8957         * bufferparams.h:
8958         * bufferparams.C: move author list into params. Rename some
8959           functions. Move the header reading into a separate token
8960           loop. Move the header token reading into BufferParams.
8961
8962 2003-03-12  John Levon  <levon@movementarian.org>
8963
8964         * changes.C: put debug inside lyxerr.debugging() checks
8965
8966 2003-03-11 André Pönitz <poenitz@gmx.net>
8967
8968         * factory.C: make it aware of InsetHFill
8969
8970 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8971
8972         * buffer.C (latexParagraphs): move function from here...
8973         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8974         args.
8975
8976 2003-03-10  Angus Leeming  <leeming@lyx.org>
8977
8978         * LyXAction.C (init): fix bug in poplating array with multiple entries
8979         with the same LFUN (spotted by JMarc).
8980
8981 2003-03-10  John Levon  <levon@movementarian.org>
8982
8983         * text.C:
8984         * text2.C: move getColumnNearX() near its
8985         only call site
8986
8987 2003-03-10  John Levon  <levon@movementarian.org>
8988
8989         * text.C: fix break before a minipage
8990
8991 2003-03-10  John Levon  <levon@movementarian.org>
8992
8993         * text.C: fix the last commit
8994
8995 2003-03-09  John Levon  <levon@movementarian.org>
8996
8997         * lyxtext.h:
8998         * text.C:
8999         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9000         bug 365 (don't break before insets unless needed). Don't
9001         return a value > last under any circumstances.
9002
9003 2003-03-09  Angus Leeming  <leeming@lyx.org>
9004
9005         * BufferView_pimpl.C (trackChanges, dispatch): call
9006         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9007
9008 2003-03-09  Angus Leeming  <leeming@lyx.org>
9009
9010         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9011         than Dialogs::showAboutlyx().
9012
9013 2003-03-09  Angus Leeming  <leeming@lyx.org>
9014
9015         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9016         than Dialogs::showTabularCreate().
9017
9018 2003-03-09  John Levon  <levon@movementarian.org>
9019
9020         * lyxtext.h:
9021         * text.C:
9022         * text2.C: 3rd arg to nextBreakPoint was always the same.
9023           Use references.
9024
9025 2003-03-08  John Levon  <levon@movementarian.org>
9026
9027         * lyxrow.C:
9028         * paragraph.C:
9029         * paragraph.h:
9030         * rowpainter.C:
9031         * text.C:
9032         * text2.C: Remove the "main" bit from the "main body"
9033           notion.
9034
9035 2003-03-08  John Levon  <levon@movementarian.org>
9036
9037         * text.C (leftMargin): The left margin of an empty
9038         manual label paragraph should not include the label width
9039         string length.
9040
9041         * text.C (prepareToPrint): don't attempt to measure hfills
9042         for empty manual label paragraphs - the answer should be 0
9043
9044 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9045
9046         * CutAndPaste.C: remove commented code and reindent.
9047
9048 2003-03-08  John Levon  <levon@movementarian.org>
9049
9050         * lyxfunc.h:
9051         * lyxfunc.C: move reloadBuffer()
9052
9053         * BufferView.h:
9054         * BufferView.C: to here
9055
9056         * lyxvc.C: add comment
9057
9058         * vc-backend.h:
9059         * vc-backend.C: call bv->reload() to avoid
9060           getStatus() check on MENURELOAD
9061
9062 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9063
9064         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9065         to an old format .dep file.
9066
9067 2003-03-07  Angus Leeming  <leeming@lyx.org>
9068
9069         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9070         when the LFUN_MOUSE_RELEASE should have been handled by
9071         inset->localDispatch.
9072
9073 2003-03-07  Angus Leeming  <leeming@lyx.org>
9074
9075         * BufferView_pimpl.C (dispatch):
9076         * LyXAction.C (init):
9077         * ToolbarDefaults.C (init):
9078         * commandtags.h:
9079         * lyxfunc.C (getStatus):
9080         remove LFUN_INSET_GRAPHICS.
9081
9082         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9083
9084 2003-03-07  Angus Leeming  <leeming@lyx.org>
9085
9086         * commandtags.h:
9087         * LyXAction.C (init):
9088         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9089
9090         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9091
9092         * commandtags.h:
9093         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9094
9095         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9096         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9097
9098 2003-03-07  Angus Leeming  <leeming@lyx.org>
9099
9100         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9101         remove "ert".
9102
9103 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9104
9105         * ParagraphList.C (front): new function
9106         (back): implement
9107
9108 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9109
9110         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9111         and top_row_offset_. removed var first_y.
9112         * text.C (top_y):
9113         * text2.C (LyXText, removeRow):
9114         * text3.C:
9115         * BufferView_pimpl.C:
9116         use these methods instead of using first_y
9117
9118 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9119
9120         * text2.C (pasteSelection): adjust for checkPastePossible
9121
9122         * CutAndPaste.C: remove Paragraph * buf and replace with
9123         ParagraphList paragraphs.
9124         (DeleteBuffer): delete
9125         (cutSelection): change the tc type to textclass_type
9126         (copySelection): change the tc type to textclass_type
9127         (copySelection): adjust for ParagraphList
9128         (pasteSelection): change the tc type to textclass_type
9129         (pasteSelection): adjust for Paragraphlist
9130         (nrOfParagraphs): simplify for ParagraphList
9131         (checkPastePossible): simplify for ParagraphList
9132         (checkPastePossible): remove unused arg
9133
9134         * ParagraphList.C (insert): handle the case where there are no
9135         paragraphs yet.
9136
9137         * CutAndPaste.h: make CutAndPaste a namespace.
9138
9139         * text3.C (dispatch): adjust
9140
9141         * text.C (breakParagraph): add a ParagraphList as arg
9142
9143         * paragraph_funcs.C (breakParagraph): change to take a
9144         BufferParams and a ParagraphList as args.
9145         (breakParagraphConservative): ditto
9146         (mergeParagraph): ditto
9147         (TeXDeeper): add a ParagraphList arg
9148         (TeXEnvironment): ditto
9149         (TeXOnePar): ditto
9150
9151         * buffer.C (readLyXformat2): adjust
9152         (insertStringAsLines): adjust
9153         (latexParagraphs): adjust
9154
9155         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9156         (cutSelection): adjust
9157         (pasteSelection): adjust
9158
9159         * BufferView_pimpl.C (insertInset): adjust
9160
9161 2003-03-05  Angus Leeming  <leeming@lyx.org>
9162
9163         * commandtags.h:
9164         * LyXAction.C (init):
9165         * BufferView_pimpl.C (dispatch):
9166         * lyxfunc.C (getStatus):
9167         remove LFUN_CHILD_INSERT.
9168
9169         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9170
9171 2003-03-05  Angus Leeming  <leeming@lyx.org>
9172
9173         * commandtags.h:
9174         * LyXAction.C (init):
9175         * src/factory.C (createInset):
9176         * lyxfunc.C (getStatus):
9177         * text3.C (dispatch):
9178         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9179
9180         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9181
9182 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9183
9184         * ParagraphList.C (insert): handle insert right before end()
9185         (erase): fix cases where it can be first or last paragraph.
9186
9187 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9188
9189         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9190         Paragraph::next and Paragraph::previous
9191         (TeXOnePar): ditto
9192
9193         * text.C (breakParagraph): adjust
9194
9195         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9196         BufferParams& as arg.
9197         (breakParagraph): use ParagraphList::insert
9198         (breakParagraphConservative): take a Buffer* instead of a
9199         BufferParams& as arg.
9200         (breakParagraphConservative): use ParagraphList::insert.
9201
9202         * buffer.C (insertStringAsLines): un-const it
9203         (insertStringAsLines): adjust
9204
9205         * ParagraphList.C (insert): new function
9206
9207         * CutAndPaste.C (pasteSelection): adjust
9208
9209         * text.C (backspace): adjust
9210
9211         * tabular.C (SetMultiColumn): adjust
9212
9213         * CutAndPaste.C (cutSelection): adjust
9214         (pasteSelection): adjust
9215
9216         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9217         Buffer const * as arg
9218
9219         * ParagraphList.C (erase): new function
9220         * paragraph_funcs.C (mergeParagraph): use it
9221         (mergeParagraph): make it take a Buffer* instead of a
9222         BufferParams* as arg
9223
9224         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9225         as arg
9226         (breakParagraphConservative): ditto
9227
9228         * paragraph.h: remove the breakParagraph friend
9229
9230         * paragraph.C (eraseIntern): new function
9231         (setChange): new function
9232
9233         * paragraph_funcs.C (mergeParagraph): make it take a
9234         ParagraphList::iterator instead of a Paragraph *, adjust
9235         accordingly.
9236
9237         * paragraph.h: move an #endif so that the change tracking stuff
9238         also works in the NO_NEXT case.
9239
9240 2003-03-04  Angus Leeming  <leeming@lyx.org>
9241
9242         * commandtags.h:
9243         * LyXAction.C: new LFUN_INSET_MODIFY.
9244
9245         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9246         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9247
9248 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9249
9250         * several files: ws changes only
9251
9252         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9253         (TeXEnvironment): ditto
9254         (TeXDeeper): ditto
9255
9256         * buffer.C (makeLaTeXFile): adjust
9257         (latexParagraphs): make it take ParagraphList::iterator as args
9258
9259 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9260
9261         * buffer.C (latexParagraphs): adjust
9262
9263         * paragraph.C (TeXOnePar): move function...
9264         (optArgInset): move function...
9265         (TeXEnvironment): move function...
9266         * paragraph_pimpl.C (TeXDeeper): move function...
9267         * paragraph_funcs.C: ...here
9268
9269         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9270
9271 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9272
9273         * buffer.C (readInset): remove compability code for old Figure and
9274         InsetInfo insets
9275
9276 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9277
9278         * buffer.C: ws changes
9279         (readInset):
9280
9281         * BufferView_pimpl.C: ditto
9282         * author.C: ditto
9283         * buffer.h: ditto
9284         * bufferlist.h: ditto
9285         * changes.h: ditto
9286         * lyxfunc.C: ditto
9287
9288 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9289
9290         * converter.[Ch]: split into itself +
9291         * graph.[Ch]
9292         * format.[Ch]
9293         * Makefile.am: += graph.[Ch] + format.[Ch]
9294         * MenuBackend.C
9295         * buffer.C
9296         * exporter.C
9297         * importer.C
9298         * lyx_main.C
9299         * lyxfunc.C
9300         * lyxrc.C: added #include "format.h"
9301
9302 2003-02-27  Angus Leeming  <leeming@lyx.org>
9303
9304         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9305           a label.
9306
9307         * factory.C (createInset): add "label" to the factory.
9308
9309         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9310           string and do no more.
9311
9312 2003-02-27  Angus Leeming  <leeming@lyx.org>
9313
9314         * commandtags.h:
9315         * LyXAction.C (init):
9316         * factory.C (createInset):
9317         * BufferView_pimpl.C (dispatch):
9318           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9319
9320         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9321
9322         * lyxfunc.C (dispatch):
9323         * text3.C (dispatch): pass name to params2string.
9324
9325 2003-02-26  Angus Leeming  <leeming@lyx.org>
9326
9327         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9328           blocks together.
9329           Rearrange the ~includes. Strip out the unnecessary ones.
9330
9331         * factory.C (createInset): reformat.
9332           create new insets for the various LFUN_XYZ_APPLY lfuns.
9333
9334 2003-02-26  John Levon  <levon@movementarian.org>
9335
9336         * lyxrow.h:
9337         * lyxrow.C: add isParStart,isParEnd helpers
9338
9339         * paragraph.h: make isInserted/DeletedText take refs
9340
9341         * paragraph_funcs.h:
9342         * paragraph_funcs.C: remove #if 0'd code
9343
9344         * lyxtext.h:
9345         * text3.C:
9346         * text2.C:
9347         * text.C: use lyxrow helpers above.
9348           Move draw and paint routines to RowPainter.
9349           Make several methods use refs not pointers.
9350           Make backgroundColor() const.
9351           Add markChangeInDraw(), isInInset().
9352           Merge changeRegionCase into changeCase.
9353           Make workWidth() shouldn't-happen code into an Assert.
9354
9355         * rowpainter.h:
9356         * rowpainter.C: new class for painting a row.
9357
9358         * vspace.h:
9359         * vspace.C: make inPixels take a ref
9360
9361 2003-02-26  Angus Leeming  <leeming@lyx.org>
9362
9363         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9364         LFUN_REF_APPLY.
9365
9366 2003-02-25  John Levon  <levon@movementarian.org>
9367
9368         * ispell.C: give the forked command a more accurate name
9369
9370 2003-02-22  John Levon  <levon@movementarian.org>
9371
9372         * toc.h:
9373         * toc.C: make TocItem store an id not a Paragraph *
9374           (bug #913)
9375
9376 2003-02-21  Angus Leeming  <leeming@lyx.org>
9377
9378         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9379           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9380           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9381           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9382           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9383           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9384
9385         * BufferView_pimpl.C (dispatch):
9386         * LyXAction.C (init):
9387         * factory.C (createInset):
9388         * lyxfunc.C (getStatus, dispatch):
9389         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9390
9391 2003-02-21  Angus Leeming  <leeming@lyx.org>
9392
9393         * BufferView_pimpl.C (MenuInsertLyXFile):
9394         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9395         * lyxfunc.C (menuNew, open, doImport):
9396           no longer pass a LyXView & to fileDlg.
9397
9398 2003-02-21  Angus Leeming  <leeming@lyx.org>
9399
9400         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9401         * LyXAction.C: change, BIBKEY to BIBITEM.
9402         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9403         Change InsetBibKey to InsetBibitem.
9404         Change BIBKEY_CODE to BIBITEM_CODE.
9405         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9406         * factory.C: replace insetbib.h with insetbibitem.h.
9407         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9408         * paragraph.C: replace insetbib.h with insetbibitem.h.
9409         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9410         Change bibkey() to bibitem().
9411         * text.C: remove insetbib.h.
9412         * text2.C: replace insetbib.h with insetbibitem.h.
9413         change bibkey() to bibitem().
9414         * text3.C: remove insetbib.h.
9415         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9416
9417 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9418
9419         * lyxrc.C (output): enclose user email in quotes (in case there are
9420         several words)
9421
9422 2003-02-18  John Levon  <levon@movementarian.org>
9423
9424         * buffer.h: add std::
9425
9426 2003-02-17  John Levon  <levon@movementarian.org>
9427
9428         * SpellBase.h:
9429         * ispell.h:
9430         * ispell.C:
9431         * pspell.h:
9432         * pspell.C: reworking. Especially in ispell, a large
9433           number of clean ups and bug fixes.
9434
9435         * lyxfunc.C: fix revert to behave sensibly
9436
9437 2003-02-17 André Pönitz <poenitz@gmx.net>
9438
9439         * LyXAction.C:
9440         * commandtags.h: new LFUN_INSERT_BIBKEY
9441
9442         * layout.h:
9443         * lyxlayout.C:
9444         * buffer.C:
9445         * factory.C:
9446         * text.C:
9447         * text2.C:
9448         * text3.C:
9449         * paragraph.[Ch]:
9450         * paragraph_func.C: remove special bibkey handling
9451
9452 2003-02-17  John Levon  <levon@movementarian.org>
9453
9454         * text.C (Delete): fix case where delete at the end of
9455           the very first paragraph would not merge the pars
9456
9457 2003-02-17  John Levon  <levon@movementarian.org>
9458
9459         * lyxrow.C: fix lastPrintablePos()
9460
9461 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9462
9463         * bufferparams.C (writeLaTeX): add a std:here
9464
9465         * buffer.C: and remove a using directive there
9466
9467 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9468
9469         * buffer.C (makeLaTeXFile): move the code that generates the
9470           preamble...
9471
9472         * bufferparams.C (writeLaTeX): ... in this new method
9473
9474         * LaTeXFeatures.C (getEncodingSet): make const
9475           (getLanguages): make const
9476
9477         * MenuBackend.C (binding): returns the binding associated to this
9478           action
9479           (add): sets the status of each item by calling getStatus. Adds
9480           some intelligence.
9481           (read): add support for OptSubMenu
9482           (expand): remove extra separator at the end of expanded menu
9483
9484 2003-02-15  John Levon  <levon@movementarian.org>
9485
9486         * BufferView.C:
9487         * BufferView_pimpl.C:
9488         * bufferlist.h:
9489         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9490           inset code that had no actual effect. Remove unneeded status
9491           code.
9492
9493 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9494
9495         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9496           in preamble
9497
9498 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9499
9500         * text.C (drawLengthMarker): also draw an arrow marker for
9501           symbolic lengths (medskip...)
9502
9503 2003-02-14  John Levon  <levon@movementarian.org>
9504
9505         * tabular.h:
9506         * tabular.C: better method names
9507
9508 2003-02-14  John Levon  <levon@movementarian.org>
9509
9510         * BufferView_pimpl.C:
9511         * bufferlist.C:
9512         * buffer.C:
9513         * converter.C:
9514         * lyx_cb.C:
9515         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9516           it's a more accurate name. Remove some pointless uses.
9517
9518 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9519
9520         * text2.C (LyXText): change order of initilizers to shut off
9521           warnings
9522
9523 2003-02-14  John Levon  <levon@movementarian.org>
9524
9525         * buffer.C: use ParIterator for getParFromID()
9526
9527         * paragraph.h:
9528         * paragraph.C:
9529         * paragraph_pimpl.h:
9530         * paragraph_pimpl.C: remove unused getParFromID()
9531
9532 2003-02-14  John Levon  <levon@movementarian.org>
9533
9534         * buffer.C: remove some very old #if 0'd parse code
9535
9536 2003-02-13  John Levon  <levon@movementarian.org>
9537
9538         * text.h:
9539         * text.C:
9540         * text2.C: move hfillExpansion(), numberOfSeparators(),
9541           rowLast(), rowLastPrintable(), numberofHfills(),
9542           numberOfLabelHfills() ...
9543
9544         * lyxrow.h:
9545         * lyxrow.C: ... to member functions here.
9546
9547         * paragraph.h:
9548         * paragraph.C:
9549         * lyxtext.h:
9550         * text.C: remove LyXText::beginningOfMainBody(), and call
9551           p->beginningOfMainBody() directly. Move the check for
9552           LABEL_MANUAL into the latter.
9553
9554         * text.h:
9555         * text.C:
9556         * text2.C:
9557         * vspace.C:
9558         * BufferView.h:
9559         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9560
9561         * text.h:
9562         * text.C:
9563         * text2.C:
9564         * text3.C:
9565         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9566           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9567
9568 2003-02-13  John Levon  <levon@movementarian.org>
9569
9570         * CutAndPaste.C: remove debug
9571
9572 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9573
9574         * paragraph.C (asString): remove two unused variables
9575
9576         * lyxtextclass.C (readTitleType):
9577           (Read):
9578           (LyXTextClass): handle new members titletype_ and titlename_
9579
9580         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9581
9582 2003-02-09  John Levon  <levon@movementarian.org>
9583
9584         * buffer.h:
9585         * buffer.C: replace hand-coded list with a map for the dep clean
9586
9587 2003-02-08  John Levon  <levon@movementarian.org>
9588
9589         * LaTeX.C: consolidate code into showRunMessage() helper
9590
9591 2003-02-08  John Levon  <levon@movementarian.org>
9592
9593         * lyxfind.C:
9594         * lyxtext.h:
9595         * text2.C:
9596         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9597           and pass the size in explicitly
9598
9599         * BufferView_pimpl.h:
9600         * BufferView_pimpl.C:
9601         * BufferView.h:
9602         * BufferView.C: add getCurrentChange()
9603
9604         * BufferView_pimpl.h:
9605         * BufferView_pimpl.C: handle change lfuns
9606
9607         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9608           for changes. Mark pasted paragraphs as new.
9609
9610         * support/lyxtime.h:
9611         * support/lyxtime.C:
9612         * DepTable.C: abstract time_t as lyx::time_type
9613
9614         * LColor.h:
9615         * LColor.C: add colours for new text, deleted text, changebars
9616
9617         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9618           package use "usenames" option.
9619
9620         * commandtags.h:
9621         * lyxfunc.C:
9622         * LyXAction.C: add change lfuns
9623
9624         * Makefile.am:
9625         * author.h:
9626         * author.C: author handling
9627
9628         * buffer.h:
9629         * buffer.C: add a per-buffer author list, with first entry as
9630           current author. Handle new .lyx tokens for change tracking. Output
9631           author list to .lyx file. Output dvipost stuff to .tex preamble.
9632           Bump lyx format to 222.
9633
9634         * bufferlist.h:
9635         * bufferlist.C: add setCurrentAuthor() to reset current author details
9636           in all buffers.
9637
9638         * bufferparams.h:
9639         * bufferparams.C: add param for tracking
9640
9641         * bufferview_funcs.C: output change info in minibuffer
9642
9643         * Makefile.am:
9644         * changes.h:
9645         * changes.C: add change-tracking structure
9646
9647         * debug.h:
9648         * debug.C: add CHANGES debug flag
9649
9650         * lyxfind.h:
9651         * lyxfind.C: add code for finding the next change piece
9652
9653         * lyxrc.h:
9654         * lyxrc.C: add user_name and user_email
9655
9656         * lyxrow.h:
9657         * lyxrow.C: add a metric for the top of the text line
9658
9659         * lyxtext.h:
9660         * text.C: implement accept/rejectChange()
9661
9662         * lyxtext.h:
9663         * text.C: paint changebars. Paint new/deleted text in the chosen
9664         colours. Strike through deleted text.
9665
9666         * paragraph.h:
9667         * paragraph.C:
9668         * paragraph_pimpl.h:
9669         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9670           in the current change to the insert functions. Rework erase to
9671           mark text as deleted, adding an eraseIntern() and a range-based
9672           erase(). Implement per-paragraph change lookup and
9673           accept/reject.
9674
9675         * paragraph_funcs.C: Fixup paste for change tracking.
9676
9677         * tabular.C: mark added row/columns as new.
9678
9679         * text.C: fix rowLast() to never return -1. Don't allow
9680           spellchecking of deleted text. Track transpose changes. Don't
9681           allow paragraph break or merge where appropriate.
9682
9683         * text2.C: leave cursor at end of selection after a cut.
9684
9685 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9686
9687         * text.C (getLengthMarkerHeight):
9688         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9689         visible on screen too.
9690
9691 2003-02-07  John Levon  <levon@movementarian.org>
9692
9693         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9694
9695 2003-02-05  Angus Leeming  <leeming@lyx.org>
9696
9697         * lyxserver.C (read_ready): revert my patch of 11 September last year
9698         as it sends PC cpu through the roof. Presumably this means that
9699         the lyxserver will no longer run on an Alpha...
9700
9701 2003-01-30  Angus Leeming  <leeming@lyx.org>
9702
9703         * factory.C (createInset): create an InsetCommandParam of type "index"
9704         and use it to 'do the right thing'.
9705
9706         * text2.C (getStringToIndex): ensure that cursor position is always
9707         reset to the reset_cursor position.
9708
9709 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9710
9711         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9712         disabled.
9713
9714 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9715
9716         * bufferview.C:
9717         * lyxcb.C:
9718         * lyxfunc.C: Output messages with identical spelling, punctuation,
9719         and spaces
9720
9721 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9722
9723         * MenuBackend.C (expandFormats): List only viewable export formats
9724         in "View" menu
9725
9726         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9727         message
9728
9729         * lyxfunc.C (getStatus): Make sure that formats other than
9730         "fax" can also be disabled
9731
9732 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9733
9734         * text3.C (dispatch): put the lfuns that insert insets in 3
9735         groups, and call doInsertInset with appropriate arguments.
9736         (doInsertInset): new function, that creates an inset and inserts
9737         it according to some boolean parameters.
9738
9739 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9740
9741         * buffer.C (readFile): remember to pass on 'par' when calling
9742         readFile recursively.
9743
9744 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9745
9746         * MenuBackend.C (expandFormats): add "..." to import formats.
9747
9748 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9749
9750         * paragraph.C (asString): Remove XForms RTL hacks.
9751
9752 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9753         * buffer.C: fix typo
9754
9755 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9756
9757         * Makefile.am (LIBS): delete var
9758         (lyx_LDADD): add @LIBS@ here instead.
9759
9760 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9761
9762         * Clarify the meaning of "wheel mouse jump"
9763
9764 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9765
9766         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9767         tabular in a float
9768
9769 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9770
9771         * importer.C (Loaders): do not preallocate 3 elements in the
9772         vector, since one ends up with 6 elements otherwise
9773
9774 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9775
9776         * DepTable.C (write): write the file name as last element of the
9777         .dep file (because it may contain spaces)
9778         (read): read info in the right order
9779
9780 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9781
9782         * paragraph_pimpl.C (simpleTeXBlanks):
9783         (simpleTeXSpecialChars):
9784         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9785
9786         * tabular.C (latex): add some missing case statements. Reindent.
9787
9788         * MenuBackend.C (expandToc): remove unused variable.
9789
9790 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9791
9792         * LColor.C:
9793         * LaTeX.C:
9794         * LyXAction.C:
9795         * MenuBackend.C:
9796         * buffer.C:
9797         * exporter.C:
9798         * lyxfunc.C:
9799         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9800         and the like.
9801
9802 2003-01-05  John Levon  <levon@movementarian.org>
9803
9804         * BufferView.h:
9805         * BufferView.C: add getEncoding()
9806
9807         * kbsequence.h:
9808         * kbsequence.C: do not store last keypress
9809
9810         * lyxfunc.h:
9811         * lyxfunc.C: store last keypress here instead. Pass encoding
9812           to getISOEncoded()
9813
9814 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9815
9816         * lyx_main.C (init): remove annoying error message when following
9817         symbolic links (bug #780)
9818
9819 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9820
9821         * text.C (insertChar):
9822         * lyxrc.C (getDescription): remove extra spaces
9823
9824 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9825
9826         * lyxrc.C (getDescription): remove extra spaces
9827
9828 2002-12-20  John Levon  <levon@movementarian.org>
9829
9830         * text3.C: hack fix for page up/down across tall rows
9831
9832 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9833
9834         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9835         not been invoked
9836
9837 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9838
9839         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9840         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9841         thesaurus is not compiled in
9842
9843 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9844
9845         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9846
9847 2002-12-16  Angus Leeming  <leeming@lyx.org>
9848
9849         * lyxrc.[Ch]:
9850         * lyx_main.C (init): remove override_x_deadkeys stuff.
9851
9852 2002-12-12  John Levon  <levon@movementarian.org>
9853
9854         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9855           insert. Only remove shift modifier under strict
9856           circumstances.
9857
9858 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9859
9860         * MenuBackend.C (expandToc): fix crash.
9861
9862 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9863
9864         * MenuBackend.C (expandToc): gettext on float names.
9865
9866 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9867
9868         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9869         implement bool empty() [bug 490]
9870
9871 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9872
9873         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9874
9875 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9876
9877         * several files: ws changes
9878
9879 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9880
9881         * text2.C (setCounter): clean up a bit, use boost.format.
9882         (updateCounters): initialize par upon declaration.
9883
9884         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9885         if the layout exists. We do not just store the layout any more.
9886         (SwitchLayoutsBetweenClasses): use boost.format
9887
9888 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9889
9890         * converter.C (convert): if from and to files are the same, use a
9891         temporary files as intermediary
9892
9893 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9894
9895         * commandtags.h:
9896         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9897
9898 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9899
9900         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9901
9902 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9903
9904         * tabular.C (asciiPrintCell): use string(size, char) instead of
9905         explicit loop.
9906
9907         * sgml.C (openTag): fix order of arguments to string constructor
9908         (closeTag): ditto
9909
9910         * lyxfunc.C (dispatch): use boost.format
9911
9912         * lots of files: change "c" -> 'c'
9913
9914 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9915
9916         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9917
9918 2002-11-25  Angus Leeming  <leeming@lyx.org>
9919
9920         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9921
9922         * lyx_main.C (init): compile fix.
9923
9924 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9925
9926         * lyx_cb.C (start): boost.formatify
9927         do not include <iostream>
9928
9929         * lengthcommon.C: ws only
9930
9931         * boost-inst.C,BoostFormat.h: add more explict instantations
9932
9933 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9934
9935         * lots of files: handle USE_BOOST_FORMAT
9936
9937 2002-11-21  John Levon  <levon@movementarian.org>
9938
9939         * pspell.C: fix compile
9940
9941 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9942
9943         * lyxfunc.C (dispatch): use boost::format
9944         (open): ditto
9945         (doImport): ditto
9946
9947         * lyxfont.C (stateText): use boost::format
9948
9949         * lyx_main.C (LyX): use boost::format
9950         (init): ditto
9951         (queryUserLyXDir): ditto
9952         (readRcFile): ditto
9953         (parse_dbg): ditto
9954         (typedef boost::function): use the recommened syntax.
9955
9956         * importer.C (Import): use boost::format
9957
9958         * debug.C (showLevel): use boost::format
9959
9960         * converter.C (view): use boost::format
9961         (convert): ditto
9962         (move): ditto
9963         (scanLog): ditto
9964
9965         * bufferview_funcs.C (currentState): use boost::format
9966
9967         * bufferlist.C (emergencyWrite): use boost::format
9968
9969         * buffer.C (readLyXformat2): use boost::format
9970         (parseSingleLyXformat2Token): ditto
9971
9972         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9973
9974         * LaTeX.C (run): use boost::format
9975
9976         * Chktex.C (scanLogFile): use boost::format
9977
9978         * BufferView_pimpl.C (savePosition): use boost::format
9979         (restorePosition): ditto
9980         (MenuInsertLyXFile): ditto
9981
9982         * BoostFormat.h: help file for explicit instation.
9983
9984 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9985
9986         * tabular.C (latex): Support for block alignment in fixed width
9987         columns.
9988
9989 2002-11-17  John Levon  <levon@movementarian.org>
9990
9991         * BufferView_pimpl.C:
9992         * lyx_cb.C:
9993         * lyxfunc.C: split filedialog into open/save
9994
9995 2002-11-08  Juergen Vigna  <jug@sad.it>
9996
9997         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9998         by my last patch (hopefully).
9999
10000 2002-11-08  John Levon  <levon@movementarian.org>
10001
10002         * iterators.h:
10003         * iterators.C:
10004         * buffer.h:
10005         * buffer.C:
10006         * paragraph.h:
10007         * paragraph.C:
10008         * toc.h:
10009         * toc.C: ParConstIterator, and use it (from Lars)
10010
10011 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10012
10013         * lyxtextclass.[Ch]: revise and add doxygen comments
10014
10015 2002-11-07  John Levon  <levon@movementarian.org>
10016
10017         * text.C: fix progress value for spellchecker
10018
10019         * toc.C: fix navigate menu for insetwrap inside minipage
10020
10021         * paragraph_funcs.C: added FIXME for suspect code
10022
10023 2002-11-07  John Levon  <levon@movementarian.org>
10024
10025         * BufferView_pimpl.C: fix redrawing of insets
10026           on buffer switch
10027
10028 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10029
10030         * text2.C (updateCounters): fix bug 668
10031
10032 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10033
10034         * text3.C (dispatch): Do not make the buffer dirty when moving the
10035         cursor.
10036
10037 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10038
10039         * vc-backend.C: STRCONV
10040         (scanMaster): ditto
10041
10042         * text2.C (setCounter): STRCONV
10043
10044         * paragraph.C (asString): STRCONV
10045
10046         * lyxlength.C (asString): STRCONV
10047         (asLatexString): ditto
10048
10049         * lyxgluelength.C (asString): STRCONV
10050         (asLatexString): ditto
10051
10052         * lyxfunc.C (dispatch): STRCONV
10053         (open): ditto
10054
10055         * lyxfont.C (stateText): STRCONV
10056
10057         * importer.C (Import): STRCONV
10058
10059         * counters.C (labelItem): STRCONV
10060         (numberLabel): ditto
10061         (numberLabel): remove unused ostringstream o
10062
10063         * chset.C: STRCONV
10064         (loadFile): ditto
10065
10066         * bufferview_funcs.C (currentState): STRCONV
10067
10068         * buffer.C (readFile): STRCONV
10069         (asciiParagraph): ditto
10070         (makeLaTeXFile): ditto
10071
10072         * Spacing.C (writeEnvirBegin): STRCONV
10073
10074         * LaTeXFeatures.C (getLanguages): STRCONV
10075         (getPackages): ditto
10076         (getMacros): ditto
10077         (getBabelOptions): ditto
10078         (getTClassPreamble): ditto
10079         (getLyXSGMLEntities): ditto
10080         (getIncludedFiles): ditto
10081
10082         * LaTeX.C: STRCONV
10083         (run): ditto
10084         (scanAuxFile): ditto
10085         (deplog): ditto
10086
10087         * LString.h: add the STRCONV macros
10088
10089         * BufferView_pimpl.C (savePosition): STRCONV
10090         (restorePosition): ditto
10091         (MenuInsertLyXFile): ditto
10092
10093         * vc-backend.C (scanMaster): change from submatch[...] to
10094         submatch.str(...)
10095
10096         * funcrequest.C: include config.h
10097
10098         * factory.C: include config.h
10099
10100         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10101
10102         * box.C: include config.h
10103
10104         * LaTeX.C (scanAuxFile): change from submatch[...] to
10105         submatch.str(...)
10106         (deplog): ditto
10107
10108 2002-10-25  Angus Leeming  <leeming@lyx.org>
10109
10110         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10111
10112         * ispell.[Ch] (setError): new method.
10113         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10114         Use setError() insetead of goto END.
10115
10116         * lyx_cb.C (AutoSave): move out child process into new class
10117         AutoSaveBuffer.
10118
10119 2002-10-30  John Levon  <levon@movementarian.org>
10120
10121         * text3.C: make start appendix undoable
10122
10123 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10124
10125         * lyxlength.C (inPixels): Fix returned value.
10126
10127         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10128         environment.
10129
10130 2002-10-24  Angus Leeming  <leeming@lyx.org>
10131
10132         * lyxgluelength.h: no need to forward declare BufferParams
10133         or BufferView, so don't.
10134
10135 2002-10-21  John Levon  <levon@movementarian.org>
10136
10137         * BufferView.C: menuUndo ->undo, redo
10138
10139         * BufferView.h: document, remove dead, make some methods private
10140
10141         * paragraph_funcs.h:
10142         * paragraph_funcs.C:
10143         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10144
10145         * buffer.h:
10146         * buffer.C:
10147         * sgml.h:
10148         * sgml.C: move sgml open/close tag into sgml.C
10149
10150         * bufferview_funcs.h: unused prototype
10151
10152         * lyxfunc.h:
10153         * lyxfunc.C: remove unused
10154
10155         * lyxtext.h:
10156         * text.C: remove unused
10157
10158 2002-10-21  John Levon  <levon@movementarian.org>
10159
10160         * BufferView.h:
10161         * BufferView.C:
10162         * BufferView_pimpl.h:
10163         * BufferView_pimpl.C: fix mouse wheel handling based on
10164           patch from Darren Freeman
10165
10166 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10167
10168         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10169
10170 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10171
10172         * lyxlength.C (inPixels): Fix hanfling of negative length.
10173         Fix LyXLength::MU case.
10174
10175 2002-10-16  John Levon  <levon@movementarian.org>
10176
10177         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10178
10179 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10180
10181         * converter.C (view): add support for $$i (file name) and $$p
10182         (file path) for the viewer command. If $$i is not specified, then
10183         it is appended to the command (for compatibility with old syntax)
10184
10185 2002-10-14  Juergen Vigna  <jug@sad.it>
10186
10187         * undo_funcs.C (textHandleUndo): alter the order in which the
10188         new undopar is added to the LyXText, as we have to set first
10189         the right prev/next and then add it as otherwise the rebuild of
10190         LyXText is not correct. Also reset the cursor to the right paragraph,
10191         with this IMO we could remove the hack in "redoParagraphs()".
10192
10193 2002-10-09  Angus Leeming  <leeming@lyx.org>
10194
10195         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10196         to turn off an optimisation if a new inset is to be inserted.
10197
10198 2002-10-11 André Pönitz <poenitz@gmx.net>
10199
10200         * lyxtext.h: make some functions public to allow access
10201         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10202
10203 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10204
10205         * text3.C (dispatch): when changing layout, avoid an infinite loop
10206         [bug #652]
10207
10208 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10209
10210         * lyxrc.C (read): treat a viewer or converter command of "none" as
10211         if it were empty.
10212
10213         * MenuBackend.C (expandFormats): for an update, also allow the
10214         formats that are not viewable
10215
10216         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10217         script if it is newer than the lyxrc.defaults in user directory
10218
10219 2002-10-07 André Pönitz <poenitz@gmx.net>
10220
10221         * text.C: Vitaly Lipatov's small i18n fix
10222
10223 2002-09-25  Angus Leeming  <leeming@lyx.org>
10224
10225         * ispell.h: doxygen fix.
10226
10227 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10228
10229         * buffer.h (readFile): Add a new argument to the method, to allow
10230         reading of old-format templates.
10231
10232 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10233
10234         * toc.C (getTocList): Get TOC from InsetWrap.
10235
10236 2002-09-16  John Levon  <levon@movementarian.org>
10237
10238         * lyxfunc.C: check tabular for cut/copy too
10239
10240 2002-09-12  John Levon  <levon@movementarian.org>
10241
10242         * LyXAction.C: tidy
10243
10244         * factory.h:
10245         * factory.C: add header
10246
10247         * paragraph_funcs.h:
10248         * paragraph_funcs.C: cleanup
10249
10250 2002-09-11  John Levon  <levon@movementarian.org>
10251
10252         * PrinterParams.h: odd/even default to true
10253
10254 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10255
10256         * PrinterParams.h: update printer parameters for new xforms dialog
10257
10258 2002-09-11  Angus Leeming  <leeming@lyx.org>
10259
10260         * lyxserver.C (read_ready): re-write to make it more transparent
10261         and to make it work in coherent fashion under Tru64 Unix.
10262
10263 2002-09-11  André Pönitz <poenitz@gmx.net>
10264
10265         * commandtags.h:
10266         * LyXAction.C:
10267         * text3.C: implement LFUN_WORDSEL
10268
10269 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10270
10271         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10272         make floatlist_ a boost::shared_ptr<FloatList>
10273
10274         * lyxtextclass.C: include FloatList.h
10275         (LyXTextClass): initialize floatlist_
10276         (TextClassTags): add TC_NOFLOAT
10277         (Read): match "nofloat" to TC_NOFLOAT and use it.
10278         (readFloat): modify call to floatlist_
10279         (floats): ditto
10280         (floats): ditto
10281
10282         * FloatList.[Ch] (FloatList): remove commented out float
10283         initialization.
10284         (erase): new function
10285
10286 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10287
10288         * MenuBackend.C (expandToc): fix crash when there is no document
10289         open
10290
10291 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10292
10293         * many files: Add insetwrap.
10294
10295 2002-09-09  John Levon  <levon@movementarian.org>
10296
10297         * text2.C: remove confusing and awkward depth wraparound
10298
10299 2002-09-09  John Levon  <levon@movementarian.org>
10300
10301         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10302
10303         * buffer.h:
10304         * buffer.C: remove getIncludeonlyList()
10305
10306         * paragraph.C:
10307         * lyxfunc.C: remove headers
10308
10309 2002-09-09  Juergen Vigna  <jug@sad.it>
10310
10311         * text.C (getColumnNearX): fix form Michael this is most
10312         probably a cut&paste bug.
10313
10314 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10315
10316         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10317
10318         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10319         references, ws changes.
10320
10321         * text2.C (init): update counters after init
10322         (insertParagraph): no need to set counter on idividual paragraphs.
10323         (setCounter): access the counters object in the textclass object
10324         on in the buffer object.
10325         (updateCounters): ditto
10326
10327         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10328         shared_ptr<Counters> to avoid loading counters.h in all
10329         compilation units.
10330         (LyXTextClass): initialize ctrs_
10331         (TextClassTags): add TC_COUNTER, and ...
10332         (Read): use it here.
10333         (CounterTags): new tags
10334         (readCounter): new function
10335         (counters): new funtion
10336         (defaultLayoutName): return a const reference
10337
10338         * counters.C (Counters): remove contructor
10339         (newCounter): remove a couple of unneeded statements.
10340         (newCounter): simplify a bit.
10341         (numberLabel): some small formatting changes.
10342
10343         * buffer.[Ch]: remove all traces of counters, move the Counters
10344         object to the LyXTextClass.
10345
10346 2002-09-06  Alain Castera  <castera@in2p3.fr>
10347
10348         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10349         package to set the horizontal alignment on fixed width columns.
10350
10351         * lyx_sty.C:
10352         * lyx_sty.h: added tabularnewline macro def.
10353
10354         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10355
10356 2002-09-06  John Levon  <levon@movementarian.org>
10357
10358         * LyXAction.C: tooltips for sub/superscript
10359
10360         * MenuBackend.C: a bit more verbose
10361
10362         * lyxfunc.C: tiny clean
10363
10364         * undo_funcs.C: document undo_frozen
10365
10366 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10367
10368         * counters.C (Counters): add missing algorithm counter.
10369
10370         * text2.C (setCounter): lookup the counter with layouts latexname
10371         instead of by section number.
10372         (setCounter): use a hackish way to lookup the correct enum
10373         counter.
10374         a float name->type change
10375         reset enum couners with counter name directly instead of depth value.
10376
10377         * counters.C (Counters): remove the push_backs, change to use the
10378         float type not the float name.
10379         (labelItem): remove unused string, float name->type change
10380
10381         * counters.h: don't include vector, loose the enums and sects vectors
10382
10383 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10384
10385         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10386         (Read): add float->TC_FLOAT to textclassTags
10387         (Read): and handle it in the switch
10388         (readFloat): new function
10389
10390         * FloatList.C (FloatList): comment out the hardcoded float
10391         definitions.
10392
10393         * lyxlayout.h: ws change.
10394
10395 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10396
10397         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10398
10399 2002-09-03  Angus Leeming  <leeming@lyx.org>
10400
10401         * BufferView_pimpl.h: qualified name is not allowed in member
10402         declaration: WorkArea & Pimpl::workarea() const;
10403
10404         * factory.C: added using std::endl directive.
10405
10406         * text3.C: added using std::find and std::vector directives.
10407
10408 2002-08-29  André Pönitz <poenitz@gmx.net>
10409
10410         * lyxtext.h:
10411         * text2.C: remove unused member number_of_rows
10412
10413         * Makefile.am:
10414         * BufferView2.C: remove file, move contents to...
10415         * BufferView.C: ... here
10416
10417         * BufferView_pimpl.C:
10418         * factory.C: move more inset creation to factory
10419
10420         * vspace.C: avoid direct usage of LyXText, ws changes
10421
10422         * BufferView.[Ch]:
10423                 don't provide direct access to WorkArea, use two simple
10424                 acessors haveSelction() and workHeight() instead
10425
10426
10427 2002-08-29  John Levon  <levon@movementarian.org>
10428
10429         * BufferView_pimpl.C (dispatch): do not continue when
10430           no buffer
10431
10432 2002-08-28  André Pönitz <poenitz@gmx.net>
10433
10434         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10435
10436         * BufferView.h:
10437         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10438
10439 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10440
10441         * buffer.C: increment LYX_FORMAT to 221
10442
10443         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10444         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10445
10446         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10447
10448         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10449
10450 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10451
10452         * factory.C (createInset): use LyXTextClass::floats
10453
10454         * MenuBackend.C (expandFloatListInsert):
10455         (expandFloatInsert):
10456         (expandToc):
10457
10458         * text2.C (setCounter):
10459
10460         * LaTeXFeatures.C (useFloat):
10461         (getFloatDefinitions):
10462
10463         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10464
10465         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10466         floatlist_, with accessor floats().
10467
10468         * FloatList.h: remove global FloatList
10469
10470 2002-08-26  André Pönitz <poenitz@gmx.net>
10471
10472         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10473
10474         * BufferView.h:
10475         * BufferView2.C:
10476         * BufferView_pimpl.C:
10477         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10478
10479 2002-08-25  John Levon  <levon@movementarian.org>
10480
10481         * LyXAction.C: fix margin note description
10482
10483 2002-08-24  John Levon  <levon@movementarian.org>
10484
10485         * buffer.C:
10486         * bufferlist.C:
10487         * bufferview_funcs.C:
10488         * lyxfont.C:
10489         * undo_funcs.C: cleanups
10490
10491         * lyxfunc.C: disable CUT/COPY when no selection
10492
10493 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10494
10495         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10496         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10497
10498         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10499         Add backward compatibility to "mono", "gray" and "no".
10500
10501 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10502
10503         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10504         (and file_format >= 200).
10505
10506 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10507
10508         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10509
10510 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10511
10512         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10513
10514 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10515
10516         * BufferView_pimpl.C:
10517         * LyXAction.C:
10518         * buffer.C:
10519         * commandtags.h:
10520         * lyxfunc.C:
10521         * paragraph.[Ch]:
10522         * text2.C:
10523         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10524         inset and code to make it  work with the paragraph code. The inset
10525         can be anywhere in the paragraph, but will only do the expected
10526         thing in LaTeX if the layout file contains the parameter line
10527                         OptionalArgs    1
10528         (or more generally, a nonzero value) for that layout.
10529
10530 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10531
10532         * paragraph.h: remove the declaration of undefined counters class
10533         function.
10534
10535 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10536
10537         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10538         Dr. Richard Hawkins.
10539
10540 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10541
10542         * paragraph_funcs.h: remove some unneeded includes
10543
10544         * text.C (backspace): pasteParagraph now in global scipe
10545
10546         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10547         (pasteSelection): ditto
10548
10549         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10550         * paragraph_funcs.C (pasteParagraph): ... here
10551
10552 2002-08-20  André Pönitz <poenitz@gmx.net>
10553
10554         * commandtags.h: new LFUNs for swapping/copying table row/colums
10555
10556         * LyXAction.C:
10557         * lyxfunc.C: support for new lfuns
10558
10559 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10560
10561         * tabular.C:
10562         * buffer.[Ch]: remove NO_COMPABILITY stuff
10563
10564 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10565
10566         * boost.C (throw_exception): new file, with helper function for
10567         boost compiled without exceptions.
10568
10569         * paragraph.h:
10570         * lyxlength.C:
10571         * buffer.C:
10572         * ParameterStruct.h:
10573         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10574
10575         * bufferlist.C (emergencyWriteAll): use boost bind
10576
10577         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10578
10579         * text.C: include paragraph_funcs.h
10580         (breakParagraph): breakParagraph is now in global scope
10581
10582         * paragraph_funcs.[Ch]: new files
10583
10584         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10585         global scope
10586
10587         * buffer.C: include paragraph_funcs.h
10588         (insertStringAsLines): breakParagraph is now in global scope
10589
10590         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10591         paragraph_funcs.C
10592
10593         * CutAndPaste.C: include paragraph_funcs.h
10594         (cutSelection): breakParagraphConservative is now in global scope
10595         (pasteSelection): ditto
10596
10597         * buffer.h: declare oprator== and operator!= for
10598         Buffer::inset_iterator
10599
10600         * bufferlist.C (emergencyWrite): don't use fmt(...)
10601
10602         * text3.C: add using std::endl
10603
10604         * BufferView.C (moveCursorUpdate): remove default arg
10605
10606 2002-08-20  André Pönitz <poenitz@gmx.net>
10607
10608         * buffer.[Ch]: move inline functions to .C
10609
10610         * BufferView2.C:
10611         * BufferView_pimpl.C:
10612         * text.C:
10613         * buffer.[Ch]: use improved inset_iterator
10614
10615         * buffer.C:
10616         * paragraph.[Ch]: write one paragraph at a time
10617
10618 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10619
10620         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10621         style if style is not specified.
10622
10623 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10624
10625         * text2.C (setCounter): when searching for right label for a
10626         caption, make sure to recurse to parent insets (so that a caption
10627         in a minipage in a figure float works) (bug #568)
10628
10629 2002-08-20  André Pönitz <poenitz@gmx.net>
10630
10631         * text3.C: new file for LyXText::dispatch() and helpers
10632
10633         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10634
10635         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10636
10637 2002-08-19  André Pönitz <poenitz@gmx.net>
10638
10639         * lyxtext.h:
10640         * text.C: new LyXText::dispatch()
10641
10642         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10643
10644 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10645
10646         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10647
10648         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10649         Hebrew text.
10650
10651 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10652
10653         * Makefile.am: use $(variables) instead of @substitutions@
10654
10655 2002-08-15  André Pönitz <poenitz@gmx.net>
10656
10657         * lyxfunc.C:
10658         * BufferView_pimpl.C: streamlining mathed <-> outer world
10659         interaction
10660
10661         * commandtags.h:
10662         * LyXAction.C: remove unused LFUN_MATH
10663
10664 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10665
10666         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10667
10668 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10669
10670         * paragraph.C (Paragraph): reformat a bit
10671         (cutIntoMinibuffer): use builtin InsetList function instad of
10672         doing it manually.
10673         (getInset): ditto
10674
10675         * buffer.C: include boost/bind.hpp, add using std::for_each
10676         (writeFileAscii): use ParagraphList iterators
10677         (validate): use for_each for validate traversal of paragraphs
10678         (getBibkeyList): use ParagraphList iterators
10679         (resizeInsets): use for_each to resizeInsetsLyXText for all
10680         paragraphs.
10681         (getParFromID): use ParagraphList iterators
10682
10683         * BufferView2.C (lockInset): use paragraph list and iterators
10684
10685 2002-08-14  John Levon  <levon@movementarian.org>
10686
10687         * lyxserver.C: remove spurious xforms include
10688
10689 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10690
10691         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10692
10693 2002-08-13  André Pönitz <poenitz@gmx.net>
10694
10695         * LyXAction.[Ch]:
10696         * lyxfunc.C: further cleaning
10697
10698 2002-08-13  André Pönitz <poenitz@gmx.net>
10699
10700         * funcrequest.h: new constructor
10701
10702         * funcrequest.C: move stuff here from .h
10703
10704         * Makefile.am:
10705         * BufferView_pimpl.C:
10706         * LyXAction.C:
10707         * toc.C:
10708         * lyxfunc.C: subsequent changes
10709
10710         * lyxfunc.h: new view() member function
10711
10712         * lyxfunc.C: subsequent changes
10713
10714 2002-08-13  Angus Leeming  <leeming@lyx.org>
10715
10716         * BufferView2.C:
10717         * BufferView_pimpl.C:
10718         * buffer.C:
10719         * converter.C:
10720         * importer.C:
10721         * lyxfunc.C:
10722         * lyxvc.C:
10723         * toc.C:
10724         * vc-backend.C:
10725         changes due to the changed LyXView interface that now returns references
10726         to member variables not pointers.
10727
10728 2002-08-13  Angus Leeming  <leeming@lyx.org>
10729
10730         * WordLangTuple (word, lang_code): return references to strings,
10731         not strings.
10732
10733         * BufferView.h:
10734         * SpellBase.h:
10735         * lyxtext.h: forward-declare WordLangTuple.
10736
10737         * BufferView2.C:
10738         * ispell.C:
10739         * pspell.C:
10740         * text.C: #include "WordLangTuple.h".
10741
10742         * lyxtext.h:
10743         * text.C: (selectNextWordToSpellcheck): constify return type.
10744
10745 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10746
10747         * buffer.C:
10748         * buffer.h:
10749         * lyxtext.h:
10750         * paragraph.C:
10751         * paragraph_pimpl.h:
10752         * text.C:
10753         * text2.C:
10754         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10755         suggested by Angus.
10756         Made updateCounter always count from start of buffer, and removed
10757         second argument (par).
10758         Reverted floats number display to '#'. Perhaps I'll try again when the
10759         code base is sanitized a bit.
10760
10761 2002-08-12  Angus Leeming  <leeming@lyx.org>
10762
10763         * buffer.[Ch] (getLabelList): constify.
10764
10765 2002-08-07  André Pönitz <poenitz@gmx.net>
10766
10767         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10768
10769         * funcrequest.h: extension to keep mouse (x,y) position
10770
10771 2002-08-12  Juergen Vigna  <jug@sad.it>
10772
10773         * BufferView2.C (insertErrors): forbid undo when inserting error
10774         insets.
10775
10776         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10777
10778 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10779
10780         * ParagraphList.[Ch]: new files
10781
10782         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10783
10784         * BufferView2.C (lockInset): ParagraphList changes
10785         * toc.C: ditto
10786         * text2.C: ditto
10787         * bufferlist.C: ditto
10788         * buffer.h: ditto
10789         * buffer.C: ditto
10790
10791 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10792
10793         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10794         unused class variable counter_,
10795
10796         * paragraph.[Ch] (getFirstCounter): delete unused function
10797
10798         * counters.C: include LAssert.h
10799         (reset): add a new function with no arg, change other version to
10800         not have def. arg and to not allow empty arg.
10801
10802         * text2.C (setCounter): remove empty arg from call to Counters::reset
10803
10804 2002-08-11  John Levon  <levon@movementarian.org>
10805
10806         * Makefile.am: add WordLangTuple.h
10807
10808 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10809
10810         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10811         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10812
10813         * insets/insettext.C: InsetList changes
10814
10815         * graphics/GraphicsSupport.C (operator()): InsetList changes
10816
10817         * toc.C (getTocList): InsetList changes
10818
10819         * paragraph_pimpl.[Ch]: InsetList changes
10820
10821         * paragraph.[Ch]: InsetList changes
10822
10823         * buffer.C (inset_iterator): InsetList changes
10824         (setParagraph): ditto
10825         * buffer.h (inset_iterator): ditto
10826         * iterators.C (operator++): ditto
10827         * iterators.h: ditto
10828
10829         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10830
10831         * InsetList.[Ch]: new files, most InsetList handling moved out of
10832         paragraph.C.
10833
10834         * BufferView2.C (removeAutoInsets): InsetList changes
10835         (lockInset): ditto
10836         (ChangeInsets): ditto
10837
10838 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10839
10840         * paragraph_pimpl.h (empty): new function
10841
10842         * paragraph.[Ch] (empty): new function
10843
10844         * other files: use the new Paragraph::empty function
10845
10846 2002-08-09  John Levon  <levon@movementarian.org>
10847
10848         * lyxtext.h: remove unused refresh_height
10849
10850 2002-08-09  John Levon  <levon@movementarian.org>
10851
10852         * Makefile.am:
10853         * sgml.h:
10854         * sgml.C:
10855         * buffer.C:
10856         * paragraph.h:
10857         * paragraph.C: move sgml char escaping out of paragraph
10858
10859         * paragraph.h:
10860         * paragraph.C: remove id setter
10861
10862         * buffer.C:
10863         * paragraph.C:
10864         * paragraph_pimpl.C: remove dead tex_code_break_column
10865
10866         * bufferview_funcs.C: small cleanup
10867
10868         * lyxfunc.C: remove dead proto
10869
10870         * lyxtext.h: make some stuff private. Remove some dead stuff.
10871
10872         * lyxgluelength.C: make as[LyX]String() readable
10873
10874 2002-08-08  John Levon  <levon@movementarian.org>
10875
10876         * LyXAction.h:
10877         * LyXAction.C:
10878         * MenuBackend.C:
10879         * ToolbarDefaults.C:
10880         * lyxfunc.C:
10881         * lyxrc.C:
10882         * toc.C: lyxaction cleanup
10883
10884 2002-08-08  John Levon  <levon@movementarian.org>
10885
10886         * BufferView2.C: small cleanup
10887
10888         * lyxfind.h:
10889         * lyxfind.C: move unnecessary header into the .C
10890
10891 2002-08-08  John Levon  <levon@movementarian.org>
10892
10893         * funcrequest.h: just tedious nonsense
10894
10895         * lyx_main.h:
10896         * lyx_main.C: cleanups
10897
10898         * buffer.C:
10899         * vspace.C: remove dead header lyx_main.h
10900
10901 2002-08-07  Angus Leeming  <leeming@lyx.org>
10902
10903         * Paragraph.[Ch]:
10904         * paragraph_pimpl.h:
10905         Forward declare class Counters in paragraph.h by moving the ctrs member
10906         variable into Paragraph::Pimpl.
10907         (counters): new method, returning a reference to pimpl_->ctrs.
10908
10909         * text2.C: ensuing changes.
10910
10911 2002-08-07  John Levon  <levon@movementarian.org>
10912
10913         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10914
10915         * BufferView_pimpl.C: announce X selection on double/triple
10916           click
10917
10918         * lyx_main.C: use correct bool in batch dispatch
10919
10920         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10921
10922 2002-08-07  André Pönitz <poenitz@gmx.net>
10923
10924         * funcrequest.h: new class to wrap a kb_action and its argument
10925
10926         * BufferView.[Ch]:
10927         * BufferView_pimpl[Ch]:
10928         * LaTeX.C:
10929         * LyXAction.[Ch]:
10930         * lyxfunc.[Ch]:
10931         * lyxrc.C: subsequent changes
10932
10933
10934 2002-08-07  John Levon  <levon@movementarian.org>
10935
10936         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10937           document options change.
10938
10939 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10940
10941         * counters.[Ch]
10942         * text2.C
10943         * paragraph.[Ch]
10944         * makefile.am: move counters functionality over from
10945         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10946
10947 2002-08-06  John Levon  <levon@movementarian.org>
10948
10949         * WordLangTuple.h: new file for word + language code tuple
10950
10951         * SpellBase.h:
10952         * pspell.h:
10953         * pspell.C:
10954         * ispell.h:
10955         * ispell.C:
10956         * lyxtext.h:
10957         * text.C:
10958         * text2.C:
10959         * BufferView.h:
10960         * BufferView2.C: use WordLangTuple
10961
10962         * layout.h:
10963         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10964
10965 2002-08-06  John Levon  <levon@movementarian.org>
10966
10967         * lyx_main.C: fix cmdline batch handling
10968
10969 2002-08-06  André Pönitz <poenitz@gmx.net>
10970
10971         * lyxrc.C: set default for show_banner to true
10972
10973 2002-08-06  John Levon  <levon@movementarian.org>
10974
10975         * pspell.C: fix a crash, and allow new aspell to work
10976
10977 2002-08-06  John Levon  <levon@movementarian.org>
10978
10979         * lyxfunc.C:
10980         * kbmap.C: small cleanup
10981
10982         * vspace.h:
10983         * vspace.C: add const
10984
10985 2002-08-05  John Levon  <levon@movementarian.org>
10986
10987         * LyXAction.C: back to tabular-insert
10988
10989 2002-08-04  John Levon  <levon@movementarian.org>
10990
10991         * BufferView.h:
10992         * BufferView.C: cosmetic change
10993
10994         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10995
10996         * bufferlist.C:
10997         * buffer.h:
10998         * buffer.C:
10999         * lyxcb.h:
11000         * lyxcb.C:
11001         * lyxserver.C:
11002         * lyxvc.C:
11003         * vc-backend.C:
11004         * BufferView2.C: purge all "Lyx" not "LyX" strings
11005
11006         * lyxcursor.h:
11007         * lyxcursor.C: attempt to add some documentation
11008
11009         * lyxfunc.C:
11010         * commandtags.h:
11011         * LyXAction.C:
11012         * ToolbarDefaults.C:
11013         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11014           merge with LFUN_TABULAR_INSERT
11015
11016         * Makefile.am:
11017         * SpellBase.h:
11018         * ispell.h:
11019         * ispell.C:
11020         * pspell.h:
11021         * pspell.C: split up i/pspell implementations into separate
11022           files, many cleanups
11023
11024         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11025
11026         * text2.C: some cleanup
11027
11028         * lyxfunc.C: don't check for isp_command == "none" any more, it
11029           didn't make any sense
11030
11031 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11032
11033         * counters.[Ch]
11034         * text2.C
11035         * paragraph.[Ch]
11036         * makefile.am: move counters functionality over
11037         from text2.C/paragraph.[Ch] to counters.[Ch], and
11038         make proper C++.
11039 2002-08-02  John Levon  <levon@movementarian.org>
11040
11041         * buffer.C: s/lyxconvert/lyx2lyx/
11042
11043 2002-08-02  Angus Leeming  <leeming@lyx.org>
11044
11045         * lyxlex.C: revert John's change as it breaks reading of the user
11046         preamble.
11047
11048 2002-08-02  Angus Leeming  <leeming@lyx.org>
11049
11050         * importer.C (Import):
11051         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11052         changes due to LyXView::view() now returning a boost::shared_ptr.
11053
11054 2002-08-02  John Levon  <levon@movementarian.org>
11055
11056         * lyxlex.C: small cleanup
11057
11058 2002-08-02  John Levon  <levon@movementarian.org>
11059
11060         * text2.C (status): small cleanup, no logic change
11061
11062 2002-08-01  John Levon  <levon@movementarian.org>
11063
11064         * buffer.h:
11065         * buffer.C (writeFile): don't output alerts, caller
11066           handles this
11067
11068         * bufferlist.C:
11069         * lyx_cb.C: from above
11070
11071         * lyxfunc.C: allow to open non-existent files
11072
11073 2002-07-31  John Levon  <levon@movementarian.org>
11074
11075         * lyxserver.C: don't let incidental errors get
11076           in the way (errno)
11077
11078 2002-07-30  John Levon  <levon@movementarian.org>
11079
11080         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11081
11082 2002-07-30  John Levon  <levon@movementarian.org>
11083
11084         * lyxserver.h:
11085         * lyxserver.C: remove I/O callback too
11086
11087 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11088
11089         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11090         log.
11091
11092 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11093
11094         * many files: strip,frontStrip -> trim,ltrim,rtrim
11095
11096 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11097
11098         * PrinterParams.h: remove extern containsOnly, and include
11099         support/lstrings.h instead.
11100
11101         * LaTeX.C (scanAuxFile): modify because of strip changes
11102         (deplog): ditto
11103         * buffer.C (makeLaTeXFile): ditto
11104         * bufferparams.C (writeFile): ditt
11105         * lyxfont.C (stateText): ditto
11106         * lyxserver.C (read_ready): ditto
11107         * vc-backend.C (scanMaster): ditto
11108
11109         * BufferView_pimpl.h: ws changes
11110
11111         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11112
11113 2002-07-26  André Pönitz <poenitz@gmx.net>
11114
11115         * kb_sequence.C: remove unnedred usings
11116
11117 2002-07-26  Juergen Vigna  <jug@sad.it>
11118
11119         * lyxfind.C (LyXReplace): we have to check better if the returned
11120         text is not of theLockingInset()->getLockingInset().
11121
11122 2002-07-25  Juergen Vigna  <jug@sad.it>
11123
11124         * lyxfind.C (LyXReplace): don't replace if we don't get the
11125         right LyXText.
11126
11127         * undo_funcs.C (createUndo): remove debugging code.
11128
11129 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11130
11131         * buffer.C (parseSingleLyXformat2Token): Use default placement
11132         when reading old floats.
11133
11134         * FloatList.C (FloatList): Change the default placement of figure
11135         and tables to "tbp".
11136
11137 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11138
11139         * MenuBackend.C: using std::max
11140
11141 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11142
11143         * MenuBackend.C (expandToc):
11144         (expandToc2): code moved from xforms menu frontend. It is now
11145         generic and TOCs are transparent to menu frontends.
11146
11147 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11148
11149         * toc.C (getTocList): protect against buf=0
11150
11151         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11152         Menu as first parameter. Now, this calls itself recursively to
11153         expand a whole tree (this will be useful for TOC handling)
11154         (expandFloatInsert): remove 'wide' version of floats
11155
11156         * MenuBackend.h (submenuname): returns the name of the submenu.
11157         (submenu): returns the submenu itself, provided it has been
11158         created by MenuBackend::expand
11159
11160 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11161
11162         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11163         insets which have noFontChange == true. (bug #172)
11164
11165 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11166
11167         * BufferView_pimpl.C: add connection objects and use them...
11168         (Pimpl): here.
11169
11170 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11171
11172         * MenuBackend.C (expandLastfiles):
11173         (expandDocuments):
11174         (expandFormats):
11175         (expandFloatListInsert):
11176         (expandFloatInsert):
11177         (expand): split expand in parts
11178
11179 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11180
11181         * lyx_gui.C: use lyx_gui::exit()
11182
11183 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11184
11185         * LyXAction.C: show the failing pseudo action
11186
11187 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11188
11189         * buffer.C (readFile): Run the lyxconvert script in order to read
11190         old files.
11191
11192 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11193
11194         * LyXAction.C:
11195         * commandtags.h:
11196         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11197
11198 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11199
11200         * LyXAction.C:
11201         * commandtags.h:
11202         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11203
11204 2002-07-22  Herbert Voss  <voss@lyx.org>
11205
11206         * lengthcommon.C:
11207         * lyxlength.[Ch]: add support for the vertical lengths
11208
11209 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11210
11211         * toc.[Ch]: std:: fixes
11212
11213 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11214
11215         * lyxrc.C: do not include lyx_main.h
11216
11217         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11218         for layouts
11219
11220         * lyxrc.C:
11221         * encoding.C:
11222         * bufferlist.C:
11223         * BufferView2.C: include "lyxlex.h"
11224
11225         * tabular.h:
11226         * bufferparams.h: do not #include "lyxlex.h"
11227
11228         * lyxtextclasslist.C (Add): remove method
11229         (classlist): renamed to classlist_
11230
11231         * paragraph_pimpl.C:
11232         * paragraph.C:
11233         * text2.C:
11234         * CutAndPaste.C:
11235         * bufferview_funcs.C:
11236         * bufferlist.C:
11237         * text.C:
11238         * LaTeXFeatures.C:
11239         * buffer.C:
11240         * toc.C (getTocList): use BufferParams::getLyXTextClass
11241
11242         * toc.C (getTocList): use InsetFloat::addToToc
11243
11244         * toc.[Ch]: new files, containing helper functions to handle table
11245         of contents
11246
11247         * lyxfunc.C (dispatch): no need to remove spaces around command
11248         given as a string
11249         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11250         first command of the sequence; it is not very clever, but I do not
11251         have a better idea, actually
11252
11253         * LyXAction.C (LookupFunc): make sure to remove space at the
11254         beginning and end of the command
11255
11256 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11257
11258         * MenuBackend.C (getMenubar): new method: return the menubar of
11259         this menu set
11260         (read): treat differently reading of menu and menubar (in
11261         particular, the menubar has no name now)
11262         (Menu::menubar): remove
11263
11264         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11265         saving is finished
11266
11267 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11268
11269         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11270         a bibitem inset in a RTL paragraph.
11271
11272 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11273
11274         * paragraph_pimpl.C: constify
11275
11276         * BufferView_pimpl.C:
11277         * LaTeX.C:
11278         * lyxfunc.C: fix dispatch in a nicer way
11279
11280 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11281
11282         * lyxfunc.C (dispatch):
11283         * BufferView_pimpl.C:
11284         * BufferView_pimpl.h:
11285         * BufferView.C:
11286         * BufferView.h: rename Dispatch() to dispatch()
11287
11288         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11289
11290         * lyxlayout.C (Read): honor DependsOn tag
11291
11292         * lyxlayout.[Ch] (depends_on): new method
11293
11294         * version.C.in: update lyx_docversion
11295
11296         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11297
11298         * paragraph.C (validate): remove from here...
11299         * paragraph_pimpl.C (validate): ... and move here
11300         (isTextAt): make it const
11301
11302         * buffer.C (getLists): ws cleanup
11303
11304 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11305
11306         * language.C (read): Use iso8859-1 encoding in latex_lang
11307         (this prevents LyX from crashing when using iso10646-1 encoding).
11308
11309 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11310
11311         * text2.C (toggleInset): if cursor is inside an inset, close the
11312         inset and leave cursor _after_ it
11313
11314 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11315
11316         * lyxfunc.C: move minibuffer completion handling out of here
11317
11318 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11319
11320         * BufferView_pimpl.C:
11321         * LaTeX.C: fix dispatch calls
11322
11323 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11324
11325         * text.C (drawChars): Fix Arabic text rendering.
11326
11327 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11328
11329         * LyXAction.C:
11330         * commandtags.h:
11331         * lyxfunc.C: remove message-push/pop
11332
11333         * lyxserver.C:
11334         * lyxfunc.h:
11335         * lyxfunc.C: rationalise some code by removing verboseDispatch
11336           in favour of a bool argument to dispatch()
11337
11338 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11339
11340         * lyx_main.C (init): make sure to read symlinks as absolute paths
11341
11342 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11343
11344         * lyxfunc.h:
11345         * lyxfunc.C: no need for commandshortcut to be a member
11346
11347 2002-07-15  André Pönitz <poenitz@gmx.net>
11348
11349         * converter.C: add support for $$s (scripts from lib/scripts dir)
11350         * lyx_main.C: white space
11351
11352 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11353
11354         * bufferlist.C:
11355         * lyxrc.h:
11356         * lyxrc.C: remove second exit confirmation
11357
11358 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11359
11360         * BufferView.h:
11361         * BufferView.C:
11362         * BufferView2.C:
11363         * BufferView_pimpl.h:
11364         * BufferView_pimpl.C:
11365         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11366
11367 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11368
11369         * MenuBackend.C (expand): add numeric shortcuts to document menu
11370
11371         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11372
11373 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11374
11375         * lyxfont.C (setLyXFamily):
11376         (setLyXSeries):
11377         (setLyXShape):
11378         (setLyXSize):
11379         (setLyXMisc):
11380         (lyxRead):
11381         * debug.C (value):
11382         * buffer.C (asciiParagraph): use ascii_lowercase
11383
11384 2002-07-15  Mike Fabian  <mfabian@suse.de>
11385
11386         * lyxlex_pimpl.C (search_kw):
11387         * lyxlex.C (getLongString):
11388         * converter.h (operator<):
11389         * converter.C (operator<):
11390         * buffer.C (parseSingleLyXformat2Token):
11391         (asciiParagraph):
11392         * ToolbarDefaults.C (read):
11393         * MenuBackend.C (checkShortcuts):
11394         (read):
11395         * LColor.C (getFromGUIName):
11396         (getFromLyXName): use the compare_ascii_no_case instead of
11397         compare_no_case, because in turkish, 'i' is not the lowercase
11398         version of 'I', and thus turkish locale breaks parsing of tags.
11399
11400 2002-07-16  Angus Leeming  <leeming@lyx.org>
11401
11402         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11403         now takes a Buffer const & argument.
11404
11405 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11406
11407         * BufferView.C (resize): check there's a buffer to resize
11408
11409 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11410
11411         * lyxfunc.C: remove dead code
11412
11413         * lyxserver.h:
11414         * lyxserver.C: use lyx_guii::set_read_callback
11415
11416 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11417
11418         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11419         an inset in a RTL paragraph.
11420
11421 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11422
11423         * lyxfunc.C: repaint after a font size update
11424
11425 2002-07-15  André Pönitz <poenitz@gmx.net>
11426
11427         * lyxlength.C: inBP should be able to return negative values
11428
11429 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11430
11431         * lyxfunc.C: use lyx_gui::update_fonts()
11432
11433 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11434
11435         * lyxfunc.C: use lyx_gui::update_color()
11436
11437 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11438
11439         * bufferlist.C:
11440         * lyxfunc.h:
11441         * lyxfunc.C:
11442         * lyxrc.h:
11443         * lyxrc.C: remove file->new asks for name option, and let
11444           buffer-new take an argument
11445
11446 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11447
11448         * BufferView_pimpl.C: remove unneeded extra repaint()
11449
11450 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11451
11452         * LyXAction.C: allow command-sequence with NoBuffer
11453
11454         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11455
11456 2002-07-10  Angus Leeming  <leeming@lyx.org>
11457
11458         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11459
11460 2002-07-09  Angus Leeming  <leeming@lyx.org>
11461
11462         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11463
11464 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11465
11466         * lengthcommon.h: whitespace
11467
11468         * lyxfunc.C: update scrollbar after goto paragraph
11469
11470         * lyxtext.h: factor out page break drawing, and fix it so
11471           page break/added space paints as selected nicely
11472
11473 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11474
11475         * BufferView_pimpl.C: add FIXMEs, clean up a little
11476
11477 2002-07-09  André Pönitz <poenitz@gmx.net>
11478
11479         * lyxfont.[Ch]: support for wasy symbols
11480
11481 2002-07-08  André Pönitz <poenitz@gmx.net>
11482
11483         * BufferView_pimpl.C: apply John's patch for #93.
11484
11485 2002-07-05  Angus Leeming  <leeming@lyx.org>
11486
11487         * BufferView_pimpl.C (buffer): generate previews if desired.
11488
11489         * LColor.h: add "preview" to the color enum.
11490
11491         * LColor.C (LColor): add a corresponding entry to the items array.
11492
11493         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11494         with this buffer.
11495
11496 2002-07-05  Angus Leeming  <leeming@lyx.org>
11497
11498         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11499         The body of the code is now in the method that is passed an ostream &
11500         rather than a file name.
11501         Pass an additional only_preamble parameter, useful for the forthcoming
11502         preview stuff.
11503
11504 2002-07-03  André Pönitz <poenitz@gmx.net>
11505
11506         * lyxfunc.C: simplify getStatus() a bit for math stuff
11507
11508 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11509
11510         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11511
11512 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11513
11514         * text.C (changeRegionCase): do not change case of all the
11515         document when region ends at paragraph end (bug #461)
11516
11517 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11518
11519         * paragraph.C (startTeXParParams):
11520         (endTeXParParams): add \protect when necessary
11521
11522 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11523
11524         * BufferView_pimpl.C (workAreaExpose): remove warning
11525
11526 2002-06-27  Angus Leeming  <leeming@lyx.org>
11527
11528         * Makefile.am: add lyxlayout_ptr_fwd.h.
11529
11530 2002-06-26  André Pönitz <poenitz@gmx.net>
11531
11532         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11533
11534 2002-06-25  Angus Leeming  <leeming@lyx.org>
11535
11536         * lyxfunc.C (dispatch): Comment out the call to
11537         grfx::GCache::changeDisplay. The method no longer exists now that the
11538         pixmap generation part of the graphics loader has been moved into
11539         InsetGraphics.
11540
11541 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11542
11543         * text2.C: layout as layout
11544
11545         * text.C: layout as layout
11546
11547         * tabular.C (OldFormatRead): layout as layout
11548
11549         * paragraph_pimpl.C (TeXDeeper): layout as layout
11550         (realizeFont): layout as layout
11551
11552         * paragraph.C (writeFile): layout as layout
11553         (validate): layout as layout
11554         (getFont): layout as layout
11555         (getLabelFont): layout as layout
11556         (getLayoutFont): layout as layout
11557         (breakParagraph): layout as layout
11558         (stripLeadingSpaces): layout as layout
11559         (getEndLabel): layout as layout
11560         (getMaxDepthAfter): layout as layout
11561         (applyLayout): layout as layout
11562         (TeXOnePar): layout as layout
11563         (simpleTeXOnePar): layout as layout
11564         (TeXEnvironment): layout as layout
11565         (layout): layout as layout
11566         (layout): layout as layout
11567
11568         * lyxtextclass.C (compare_name): new functor to work with
11569         shared_ptr, layout as layout
11570         (Read): layout as layout
11571         (hasLayout): layout as layout
11572         (operator): layout as layout
11573         (delete_layout): layout as layout
11574         (defaultLayout): layout as layout
11575
11576         * lyxlayout_ptr_fwd.h: new file
11577
11578         * lyxlayout.C (Read): layout as layout
11579
11580         * lyx_cb.C (MenuInsertLabel): layout as layout
11581
11582         * bufferlist.C (newFile): layout as layout
11583
11584         * buffer.C (readLyXformat2): layout as layout
11585         (parseSingleLyXformat2Token): layout as layout
11586         (insertStringAsLines): layout as layout
11587         (asciiParagraph): layout as layout
11588         (latexParagraphs): layout as layout
11589         (makeLinuxDocFile): layout as layout
11590         (simpleLinuxDocOnePar): layout as layout
11591         (makeDocBookFile): layout as layout
11592         (simpleDocBookOnePar): layout as layout
11593         (getLists): layout as layout
11594
11595         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11596
11597         * CutAndPaste.C (cutSelection): layout as layout
11598         (pasteSelection): layout as layout
11599         (SwitchLayoutsBetweenClasses): layout as layout
11600
11601         * BufferView_pimpl.C (Dispatch): layout as layout
11602         (smartQuote): layout as layout
11603
11604         * BufferView2.C (unlockInset): layout as layout
11605
11606 2002-06-24  André Pönitz <poenitz@gmx.net>
11607
11608         * lyxfunc.C: fix #487
11609
11610 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11611
11612         * lyxrc.h:
11613         * lyxrc.C:
11614         * lyxfunc.C: remove display_shortcuts, show_banner
11615
11616 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11617
11618         * Buffer_pimpl.C: oops, update on resize
11619
11620 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11621
11622         * buffer.C:
11623         * converter.C:
11624         * exporter.C:
11625         * lyxfunc.C:
11626         * BufferView.h:
11627         * BufferView.C: use repaint()
11628
11629         * BufferView_pimpl.h:
11630         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11631           as it's a clearer description. Remove superfluous
11632           redraws.
11633
11634 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11635
11636         * text.C: fix bug 488. Not ideal, but getting
11637           getWord() to work properly for the insets that
11638           matter is more difficult ...
11639
11640 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11641
11642         * BufferView_pimpl.C:
11643         * LyXAction.C:
11644         * commandtags.h:
11645         * lyxfunc.C: remove the six million index lyxfuncs to just
11646           one, and DTRT (bug 458)
11647
11648 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11649
11650         * BufferView.h:
11651         * BufferView.C:
11652         * BufferView_pimpl.h:
11653         * BufferView_pimpl.C: clean up resize() stuff,
11654           and unnecessary updateScreen()s
11655
11656 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11657
11658         * BufferView.h:
11659         * BufferView.C:
11660         * BufferView_pimpl.h:
11661         * BufferView_pimpl.C:
11662         * lyxfind.h:
11663         * lyxfind.C:
11664         * minibuffer.C: remove focus management of workarea,
11665           not needed. Use screen's greyOut()
11666
11667 2002-06-17  Herbert Voss  <voss@lyx.org>
11668
11669         * converter.C: (convert) do not post a message, when converting
11670         fails, let the calling function decide what to do in this case
11671
11672 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11673
11674         * lyxfunc.C: tidy up a little
11675
11676 2002-06-16    <alstrup@diku.dk>
11677
11678         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11679         Got rid of FORMS_H_LOCATION include. Now we are
11680         GUII.
11681
11682 2002-06-15  LyX Development team  <lyx@rilke>
11683
11684         * buffer.[Ch] (sgmlOpenTag):
11685         (sgmlCloseTag): Added support for avoiding pernicious mixed
11686         content. Return number of lines written.
11687
11688         (makeLinuxDocFile):
11689         (makeDocBookFile): Fixed calls to sgml*Tag.
11690         Simple white space clean.
11691
11692         (simpleDocBookOnePar): Simple white space clean.
11693
11694         * tabular.[Ch] (docBook): Renamed to docbook and got another
11695         argument to related with the pernicious mixed content.
11696
11697         (docbookRow): Fixed calls for docbook inset method.
11698
11699 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11700
11701         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11702         so it's X11 independent.
11703
11704         * kb*.[Ch]: ditto.
11705
11706         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11707
11708 2002-06-15  Lyx Development team  <lyx@electronia>
11709
11710         * intl.h: Renamed getTrans to getTransManager.
11711
11712 2002-06-14  Angus Leeming  <leeming@lyx.org>
11713
11714         * Makefile.am: nuke forgotten stl_string_fwd.h.
11715
11716 2002-06-12  Angus Leeming  <leeming@lyx.org>
11717
11718         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11719
11720 2002-06-13  Angus Leeming  <leeming@lyx.org>
11721
11722         * LaTeX.C:
11723         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11724
11725 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11726
11727         * kbmap.C (getiso): add support for cyrillic and greek
11728
11729 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11730
11731         * BufferView.h:
11732         * BufferView.C:
11733         * BufferView_pimpl.h:
11734         * BufferView_pimpl.C: move bogus scrolling logic
11735           to xforms
11736
11737 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11738
11739         * lyxfunc.C:
11740         * BufferView_pimpl.C: view->resize() change
11741
11742 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11743
11744         * BufferView_pimpl.C: topCursorVisible
11745           prototype change
11746
11747 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11748
11749         * Makefile.am:
11750         * lyx_gui.h:
11751         * lyx_gui.C: move to frontends/
11752
11753         * main.C:
11754         * lyx_main.h:
11755         * lyx_main.C: changes from above
11756
11757 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11758
11759         * intl.C:
11760         * intl.h:
11761         * kbmap.C:
11762         * kbsequence.C:
11763         * lyx_cb.C:
11764         * lyx_main.C: minor tidy
11765
11766 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11767
11768         * BufferView_pimpl.h:
11769         * BufferView_pimpl.C:
11770         * BufferView.h:
11771         * BufferView.C: make painter() const,
11772           remove dead code
11773
11774         * BufferView2.C: use screen() accessor
11775
11776         * lyx_main.h:
11777         * lyx_main.C: some minor cleanup
11778
11779 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11780
11781         * BufferView_pimpl.h:
11782         * BufferView_pimpl.C: remove enter/leaveView,
11783           use workHeight()
11784
11785 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11786
11787         * BufferView.h:
11788         * BufferView.C:
11789         * BufferView2.C:
11790         * BufferView_pimpl.h:
11791         * BufferView_pimpl.C: only construct screen once,
11792           rename
11793
11794         * lyxrc.C: remove pointless comment
11795
11796 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11797
11798         * BufferView.h:
11799         * BufferView.C: remove active() and belowMouse()
11800
11801         * BufferView_pimpl.h:
11802         * BufferView_pimpl.C: use workarea() not workarea_,
11803           and make it use a scoped_ptr instead
11804
11805 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11806
11807         * lyx_gui.C: add debug message on BadWindow
11808
11809 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11810
11811         * sp_spell.C: fdopen is not part of the C++ standard.
11812
11813         * paragraph.C (InsetIterator): use >= instead of ==
11814
11815 2002-06-07  Angus Leeming  <leeming@lyx.org>
11816
11817         Fixes needed to compile with Compaq cxx 6.5.
11818         * BufferView_pimpl.C:
11819         * DepTable.C:
11820         * buffer.C:
11821         * converter.C:
11822         * encoding.C:
11823         * lyx_gui.C:
11824         * lyx_main.C:
11825         * lyxtextclasslist.C:
11826         * minibuffer.C:
11827         * sp_spell.C:
11828         * tabular_funcs.C:
11829         * vc-backend.C:
11830         all c-library variables have been moved into namespace std. Wrap
11831         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11832
11833         * lyxlength.C:
11834         * tabular-old.C:
11835         * tabular.C:
11836         Add a using std::abs declaration.
11837
11838         * kbmap.h (modifier_pair):
11839         * paragraph.h (InsetTable, InsetList):
11840         * lyxfont.h (FontBits):
11841         type definition made public.
11842
11843         * bufferlist.C (emergencyWriteAll): the compiler complains that
11844         there is more than one possible lyx::class_fun template to choose from.
11845         I re-named the void specialisation as lyx::void_class_fun.
11846
11847         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11848
11849         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11850         the compiler is is unable to find tostr in write_attribute.
11851
11852 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11853
11854         * buffer.C (sgmlError): hide #warning
11855
11856 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11857
11858         * xtl/*: get rid of xtl, which is not in use anyway
11859
11860         * LyXAction.C (init):
11861         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11862         were unimplemented xtl experimentation
11863
11864 2002-06-04  André Pönitz <poenitz@gmx.net>
11865
11866         * lyxfunc.C: disable array operation on simple formulae
11867
11868 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11869
11870         * converter.C: constify a bit
11871
11872 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11873
11874         * lyx_gui.C: check xforms version correctly
11875
11876 2002-04-30  Herbert Voss  <voss@lyx.org>
11877
11878         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11879         "keep" option
11880
11881 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11882
11883         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11884           attempt to register it with a VCS)
11885
11886 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11887
11888         * lyx_main.C (init): honor variables LYX_DIR_13x and
11889         LYX_USERDIR_13x
11890
11891 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11892
11893         * buffer.h:
11894         * buffer.C:
11895         * lyx_main.C: fix a crash on bad command line,
11896           and give a useful exit status on error
11897
11898         * lyxfunc.C (doImport): allow -i lyx to work
11899
11900 2002-03-30  André Pönitz <poenitz@gmx.net>
11901
11902         * lyxfunc.C: mathed font changes
11903
11904 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11905
11906         * LaTeX.C:
11907         * importer.h:
11908         * importer.C:
11909         * lyx_sty.h:
11910         * lyx_sty.C:
11911         * lyxlex.C:
11912         * lyxrow.h:
11913         * lyxtext.h:
11914         * paragraph.h:
11915         * paragraph.C:
11916         * texrow.h:
11917         * texrow.C:
11918         * text.C:
11919         * trans_mgr.h: srcdocs, and some minor cleanups
11920
11921 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11922
11923         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11924         call getFont all the time)
11925
11926 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11927
11928         * switch from SigC signals to boost::signals
11929
11930 2002-05-29  André Pönitz <poenitz@gmx.net>
11931
11932         * paragraph_pimpl.C (getChar): don't call size() too often...
11933
11934 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11935
11936         * paragraph_pimpl.C (insertChar): do not try to update tables when
11937         appending (pos == size())
11938
11939         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11940         in order to reduce drastically the number of comparisons needed to
11941         parse a large document
11942
11943 2002-05-29  André Pönitz <poenitz@gmx.net>
11944
11945         * text.C:
11946         * text2.C:
11947         * lyxtextclass.C:
11948         * sp_pspell.h:
11949         * textclasslist.[Ch]:
11950         * sp_ispell.h: whitespace change
11951
11952 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11953
11954         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11955         lyxaction directly now.
11956
11957 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11958
11959         * trans.C:
11960         * lyxfont.C:
11961         * lyxvc.C: remove unused headers
11962
11963 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11964
11965         * Makefile.am:
11966         * buffer.h:
11967         * undostack.h:
11968         * undostack.C:
11969         * undo_funcs.h:
11970         * undo_funcs.C: some cleanups. Use shared_ptr
11971           and a template for the undo stacks.
11972
11973 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11974
11975         * BufferView_pimpl.h:
11976         * BufferView_pimpl.C:
11977         * kbmap.h:
11978         * kbmap.C:
11979         * kbsequence.h:
11980         * kbsequence.C:
11981         * lyxfunc.h:
11982         * lyxfunc.C:
11983         * text2.C: use key_state/mouse_state
11984
11985 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11986
11987         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11988         and LSubstring
11989
11990         * chset.C: change include order
11991         (loadFile): use boost regex and get rid of LRegex and LSubstring
11992
11993         * Makefile.am (BOOST_LIBS): new variable
11994         (lyx_LDADD): use it
11995
11996         * LaTeX.C: change include order.
11997         (scanAuxFile): use boost regex and get rid of LRegex and
11998         LSubstring
11999         (deplog): ditto
12000
12001 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12002
12003         * ColorHandler.h:
12004         * ColorHandler.C:
12005         * FontInfo.h:
12006         * FontInfo.C: moved to frontends/xforms/
12007
12008         * FontLoader.h:
12009         * FontLoader.C: moved into frontends for GUIIzation
12010
12011         * Makefile.am:
12012         * lyx_gui.C:
12013         * lyxfont.C:
12014         * lyxfunc.C: changes from above
12015
12016 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12017
12018         * LColor.C: remove spurious X include
12019
12020         * BufferView_pimpl.C:
12021         * Makefile.am:
12022         * font.h:
12023         * font.C:
12024         * text.C:
12025         * text2.C: move font metrics to frontends/
12026
12027 2002-05-24  Juergen Vigna  <jug@sad.it>
12028
12029         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12030         setting the undo_cursor.
12031
12032         * ParagraphParameters.h: include local includes first.
12033
12034 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12035
12036         * BufferView_pimpl.C:
12037         * BufferView_pimpl.h:
12038         * Makefile.am:
12039         * WorkArea.h:
12040         * WorkArea.C:
12041         * screen.C: move WorkArea into frontends/
12042
12043         * lyxscreen.h:
12044         * screen.C:
12045         * text.C:
12046         * BufferView.C:
12047         * BufferView2.C: move LyXScreen into frontends/
12048
12049         * lyxlookup.h:
12050         * lyxlookup.C:
12051         * lyx_gui.C: move lyxlookup into frontends/xforms/
12052
12053 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12054
12055         * BufferView2.C:
12056         * BufferView_pimpl.C:
12057         * FontLoader.C:
12058         * LyXView.h:
12059         * LyXView.C:
12060         * Makefile.am:
12061         * WorkArea.C:
12062         * XFormsView.h:
12063         * XFormsView.C:
12064         * buffer.C:
12065         * bufferlist.C:
12066         * bufferview_funcs.C:
12067         * converter.C:
12068         * importer.C:
12069         * lyx_cb.C:
12070         * lyx_gui.C:
12071         * lyx_main.C:
12072         * lyx_find.C:
12073         * lyxfunc.C:
12074         * lyxvc.C:
12075         * minibuffer.C:
12076         * text.C:
12077         * text2.C:
12078         * trans.C:
12079         * vc-backend.C: move LyX/XFormsView into frontends/
12080
12081 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12082
12083         * Makefile.am:
12084         * PainterBase.C:
12085         * PainterBase.h:
12086         * Painter.C:
12087         * Painter.h:
12088         * WorkArea.C:
12089         * WorkArea.h:
12090         * screen.C:
12091         * tabular.C:
12092         * text.C:
12093         * text2.C: move Painter to frontends/
12094
12095 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12096
12097         * buffer.C: comment out some some code that depend upon lyx_format
12098         < 220
12099
12100         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12101         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12102
12103         * buffer.h (NO_COMPABILITY): turn off compability
12104
12105         * ColorHandler.C: include scoped_array.hpp
12106
12107         * font.C: Use more specific smart_ptr header.
12108         * Painter.C: ditto
12109         * gettext.C: ditto
12110         * ShareContainer.h: ditto
12111         * lyx_main.h: ditto
12112         * kbmap.h: ditto
12113         * FontInfo.h: ditto
12114         * BufferView_pimpl.h: ditto
12115         * ColorHandler.h: ditto
12116
12117         * kbmap.C (defkey): change call to shared_ptr::reset
12118
12119 2002-05-21  Juergen Vigna  <jug@sad.it>
12120
12121         * buffer.C (insertErtContents): fix to insert ert asis if it is
12122         non empty. Skip it completely if it contains only whitespaces.
12123
12124 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12125
12126         * BufferView_pimpl.C:
12127         * BufferView2.C: clear selection on paste (bug 393)
12128
12129 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12130
12131         * DepTable.C: include ctime
12132
12133 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12134
12135         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12136
12137 2002-05-14  Juergen Vigna  <jug@sad.it>
12138
12139         * text.C (breakParagraph): fixed function to honor the keepempty
12140         layout in the right maner and also to permit the right breaking
12141         algorithm on empty or non empyt keepempty paragraphs.
12142
12143         * paragraph.C (breakParagraph): we have to check also if the par
12144         is really empty (!size()) for isempty otherwise we do the wrong
12145         paragraph break.
12146
12147 2002-05-10  Juergen Vigna  <jug@sad.it>
12148
12149         * buffer.[Ch] : The following are only changes to the ert
12150         compatibility read reading old LaTeX layout and font stuff and
12151         convert it to ERTInsets.
12152
12153         * buffer.h: added isErtInset().
12154
12155         * buffer.C (struct ErtComp): add a fromlayout bool to check
12156         if we're inside a LaTeX layout.
12157         (isErtInset): new helper function.
12158         (insertErtContents): look for other ert insets before this one
12159         and insert the contents there, so that we don't have subsequent
12160         ERT insets with nothing between them. This way we create only one
12161         inset with multiple paragraphs. Also check if we don't insert only
12162         spaces ' ' as they are ignored anyway afterwards in the .tex file
12163         so if we have only spaces we will ignore this latex part in the
12164         new file.
12165         (parseSingleLyXformat2Token \\layout): better compatibility when
12166         reading layout-latex stuff.
12167         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12168         language tag.
12169         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12170         stuff after reading the inset only get the information back from
12171         the stack.
12172
12173 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12174
12175         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12176
12177         * LaTeXFeatures.C (getBabelOptions): New method.
12178
12179 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12180
12181         * BufferView_pimpl.C (Dispatch): work around missing argument for
12182         'layout'
12183
12184 2002-05-08  Juergen Vigna  <jug@sad.it>
12185
12186         * text.C (leftMargin): handle paragraph leftindent.
12187
12188         * paragraph.C (writeFile): write the new \\leftindent tag.
12189         (validate): handle leftindent code.
12190         (TeXEnvironment): handle paragraphleftindent code again.
12191
12192         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12193
12194         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12195         for paragrap_extra indent code and new token \\leftindent.
12196         (latexParagraphs): handle the leftindent as environment.
12197
12198         * ParameterStruct.h: added leftindent support.
12199
12200         * ParagraphParameters.C (leftIndent): added support functions for
12201         the paragraph left indent.
12202
12203         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12204         more appropriate.
12205
12206 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12207
12208         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12209         inside insetERT.
12210
12211         * text.C (computeBidiTables): No bidi in insetERT.
12212
12213         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12214         in RTL documents.
12215
12216 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12217
12218         * version.C.in: pre 5
12219
12220 2002-05-02  José Matos  <jamatos@fep.up.pt>
12221         * buffer.C (makeDocBookFile): white space changes, add newline to
12222         command styles.
12223         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12224
12225         * tabular.C (docBook): fix typo.
12226
12227 2002-05-03  Juergen Vigna  <jug@sad.it>
12228
12229         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12230         change in LyXText as we can not be sure it was not freed.
12231         (drawOneRow): remove unused code.
12232
12233         * text.C (drawInset): redo the calculation of the need_break_row as
12234         it could have a row which was already freed.
12235         (draw): look at the return value of drawInset and return false if
12236         it also returned false.
12237         (paintRowText): look at the return value of draw and return false if
12238         it also returned false.
12239
12240         * lyxtext.h: added bool return type to drawInset() and draw() so that
12241         if we have a change in the row so that the rowbreak has to be redone
12242         we abort drawing as it will be called again.
12243
12244 2002-05-02  Juergen Vigna  <jug@sad.it>
12245
12246         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12247         a change in the maintext also if we're inside an inset.
12248         (Dispatch): set the cursor again after a break line and after the
12249         screen has been updated as it could be we're in a different row.
12250
12251         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12252         to set the cursor behind the pargraph with > size().
12253         (setCursor): check also for the same paragraph when checking where
12254         to put the cursor if we have a NFR inset.
12255
12256         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12257         parts of layout read further up as it still was in the wrong
12258         position.
12259
12260 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12261
12262         * screen.C (drawFromTo): change sine fullRebreak always return
12263         true.
12264
12265         * buffer.C (parseSingleLyXformat2Token): reindent some
12266
12267         * BufferView_pimpl.C (update): change since fullRebreak always
12268         return true.
12269         (Dispatch): git rid of the last hardcoded "Standard"s.
12270
12271 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12272
12273         * text2.[Ch] (fullRebreak): make it return void now that we always
12274         returned true.
12275
12276 2002-04-30  Juergen Vigna  <jug@sad.it>
12277
12278         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12279         ert compatibility check for "latex" layout.
12280
12281 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12282
12283         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12284         minipages: use col% instead of p%, and also use the current font.
12285         (makeLaTeXFile): Fix use babel condition.
12286         (parseSingleLyXformat2Token): Correct font when reading old floats.
12287
12288 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12289
12290         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12291         inserting list of floats.
12292
12293 2002-04-25  Herbert Voss  <voss@lyx.org>
12294
12295         * MenuBackend.C (expand): don't add the graphics extensions to the
12296         export menu
12297
12298 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12299
12300         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12301         non-existing layout, do not complain if it was the default layout
12302         of the original class (bug #342)
12303
12304 2002-04-24  Juergen Vigna  <jug@sad.it>
12305
12306         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12307         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12308
12309 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12310
12311         * buffer.C (getBibkeyList): If using \bibliography, return the
12312         option field with the reference itself. Enables us to provide natbib
12313         support when using \bibliography.
12314
12315 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12316
12317         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12318
12319         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12320         natbib is provided by the LaTeX class.
12321
12322 2002-04-23  Juergen Vigna  <jug@sad.it>
12323
12324         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12325         Wakeup functions.
12326
12327         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12328
12329 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12330
12331         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12332
12333         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12334         ensuremath around textordmasculine, textordfeminine and
12335         textdegree.
12336
12337 2002-04-19  Juergen Vigna  <jug@sad.it>
12338
12339         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12340         reinitializing the buffer otherwise row-dimensions may be wrong.
12341         (update): reset also the selection cursors if they do exits otherwise
12342         their x/y positions may be wrong.
12343
12344         * text2.C (cursorDown): don't enter the inset if we came from a row
12345         above and are one row over the inset.
12346
12347         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12348         really leaving an inset.
12349
12350 2002-04-18  Juergen Vigna  <jug@sad.it>
12351
12352         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12353         of the selected paragraph does not have the selected layout also if
12354         the last one had!
12355
12356         * text2.C (setLayout): fixed bug which did not change last selected
12357         paragraph.
12358
12359         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12360         changed the read and substituted \\end_float with \\end_inset!
12361
12362         * BufferView_pimpl.C (cursorPrevious):
12363         (cursorNext): fixed to make it work with rows heigher than the work
12364         area without moving the cursor only the draw of the row.
12365         (workAreaMotionNotify): fix jumping over high rows.
12366
12367 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12368
12369         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12370         Ressler.
12371
12372 2002-04-16  Juergen Vigna  <jug@sad.it>
12373
12374         * text2.C (setCursor): set also the irow().
12375         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12376         (cursorUp):
12377         (cursorDown): support for locking an inset if the x_fix value goes
12378         inside it. That way I can transverse insets too with cursor up/down.
12379
12380         * lyxrow.h: added irow helper function same as other (i) functions.
12381
12382         * BufferView_pimpl.C (cursorPrevious):
12383         (cursorNext): fixed for insets!
12384
12385 2002-04-15  Juergen Vigna  <jug@sad.it>
12386
12387         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12388         position otherwise it is wrong in some cases.
12389
12390         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12391         inside the inset before the call.
12392
12393 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12394
12395         * buffer.[Ch] (getBibkeyList): make it const.
12396
12397 2002-04-12  Juergen Vigna  <jug@sad.it>
12398
12399         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12400
12401         * text2.C (getCursorX): new helper function
12402         (setCursor): compute also ix_
12403         (setCursorFromCoordinates): set also ix.
12404
12405         * lyxcursor.h: added ix_ and helper functions.
12406
12407         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12408
12409         * buffer.C (insertStringAsLines): dont break paragraph if the this
12410         paragraph is inside an inset which does not permit it!
12411
12412         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12413         also with no chars on this paragraph.
12414         (paintRowText): only paint stuff if it's inside the workarea!
12415
12416         * paragraph.C (breakParagraph): honor keepempty flag and break the
12417         paragraph always below not above.
12418
12419         * BufferView2.C (unlockInset): update the paragraph layout on inset
12420         unlock as we changed paragraph in such a case.
12421
12422         * lyxfind.C (LyXFind): clear the former selection if not found!
12423
12424         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12425         again called in insertChar().
12426
12427         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12428         an inset which uses the whole row!
12429         (rightMargin): ditto.
12430         (insertChar): force a rebreak if we inserted an inset!
12431
12432 2002-03-28  Herbert Voss  <voss@lyx.org>
12433
12434         * lyxlength.[Ch]: add inBP() to get the right PS-point
12435         units (BigPoint). With inPixels we have rounding errors
12436
12437 2002-04-11  Juergen Vigna  <jug@sad.it>
12438
12439         * text2.C (setCursorFromCoordinates): set iy to the right value.
12440         (setCursor): add check if row->previous exists!
12441
12442         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12443         an old float_type as this was the case in the old code!
12444
12445         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12446
12447         * BufferView2.C (showLockedInsetCursor): use iy
12448         (fitLockedInsetCursor): ditto
12449
12450         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12451         locked insets as there we have the right value now.
12452
12453         * lyxcursor.C: added iy_ variable and iy functions to set to the
12454         baseline of cursor-y of the locked inset.
12455
12456         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12457         (setCursor): fixed for insets which need a full row.
12458
12459         * text.C (rowLastPrintable): don't ignore the last space when before
12460         an inset which needs a full row.
12461         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12462         as last character of a row when before a inset which needs a full row.
12463
12464 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12465
12466         * version.C.in: update date
12467
12468         * text2.C (fullRebreak): try to always return true and see what
12469         happens...
12470
12471 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12472
12473         * MenuBackend.C (expand): use Floating::listName
12474
12475         * FloatList.C (FloatList): add listName argument to the built-in
12476         floats
12477
12478         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12479         text associated with the float.
12480
12481 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12482
12483         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12484
12485 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12486
12487         * ShareContainer.h: add a couple of missing typenames.
12488
12489 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12490
12491         * lyxrc.C (getDescription): use _() correctly rather than N_().
12492
12493 2002-03-28  Herbert Voss  <voss@lyx.org>
12494
12495         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12496         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12497
12498 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12499
12500         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12501         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12502
12503 2002-03-29  Juergen Vigna  <jug@sad.it>
12504
12505         * lyxfunc.C (dispatch): add a missing fitCursor call.
12506
12507         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12508         it was scrolled by a cursor move, so return the bool status.
12509
12510         * BufferView.C (fitCursor): return the bool flag also to the outside
12511         world as this is needed.
12512
12513         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12514
12515         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12516         call the edit() as it is not needed (and wrong) IMO.
12517         (workAreaButtonPress): set the screen_first variable before evt.
12518         unlock the inset as this may change screen_first and then we have
12519         a wrong y position for the click!
12520
12521 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12522
12523         * MenuBackend.C (expand): another translation that I missed
12524
12525 2002-03-28  Juergen Vigna  <jug@sad.it>
12526
12527         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12528
12529         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12530
12531 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12532
12533         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12534
12535         * MenuBackend.C (expand): fix export/view/update when there is no
12536         document open.
12537
12538 2002-03-27  Herbert Voss  <voss@lyx.org>
12539
12540         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12541         and text%
12542
12543 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12544
12545         * bufferview_funcs.C (currentState): only show paragraph number
12546         for is DEVEL_VERSION is set.
12547
12548         * lyxfunc.C (dispatch): put warning in INFO channel
12549
12550         * MenuBackend.C (expand): translate the name of floats
12551
12552         * FloatList.C (FloatList): mark the float names for translation
12553
12554         * converter.C (convert): use LibScriptSearch
12555
12556 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12557
12558         * MenuBackend.C (defaults): fix default menu (we might as well get
12559         rid of it...)
12560
12561 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12562
12563         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12564         directory.
12565
12566 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12567
12568         * lyxvc.C: reorder includes.
12569
12570 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12571
12572         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12573           properly
12574
12575 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12576
12577         * CutAndPaste.C: change layouts earlier on paste
12578           to avoid crashing when calling getFont()
12579
12580 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12581
12582         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12583         irritating #error.
12584
12585 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12586
12587         * WorkArea.C: remove 'Pending' debug message.
12588
12589         * most files: ws cleanup
12590
12591         * buffer.[Ch]: ws changes
12592
12593         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12594
12595 2002-03-21  Juergen Vigna  <jug@sad.it>
12596
12597         * tabular.C (SetMultiColumn): collapse also the contents of the
12598         cells and set the last border right. Added a Buffer const * param.
12599
12600 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12601
12602         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12603         linking or not.
12604
12605 2002-03-19  Juergen Vigna  <jug@sad.it>
12606
12607         * text2.C (clearSelection): reset also xsel_cache.
12608
12609         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12610         where it needs to be called (John tells us to do so too :)
12611         (selectionLost): reset sel_cache.
12612
12613         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12614
12615 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12616
12617         * text2.C (setCursorIntern): put debuging code in INSETS channel
12618
12619 2002-03-19  André Pönitz <poenitz@gmx.net>
12620
12621         * lyxfunc.C: tiny whitespace change
12622
12623 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12624
12625         * ToolbarDefaults.C (init):
12626         * LyXAction.C (init):
12627         * commandtags.h:
12628         * BufferView_pimpl.C (Dispatch):
12629         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12630
12631 2002-03-19  Allan Rae  <rae@lyx.org>
12632
12633         * exporter.C (Export): removeAutoInsets before doing anything else.
12634         While I've just introduced a dependency on BufferView this really is
12635         the best place to clean the buffer otherwise you need to cleanup in
12636         a dozen places before calling export or cleanup in a dozen functions
12637         that export calls.
12638
12639         * converter.C (runLaTeX):
12640         (scanLog): Better handling of removeAutoInsets and screen updates.
12641
12642         * lyxfunc.C (dispatch): small whitespace changes
12643
12644 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12645
12646         * WorkArea.C (C_WorkAreaEvent): return a value.
12647         (event_cb): return 1 if we handled the event, 0 otherwise.
12648
12649         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12650
12651 2002-03-18  Juergen Vigna  <jug@sad.it>
12652
12653         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12654         (GetAdditionalWidth): ditto.
12655         (RightLine): ditto.
12656         (LeftLine): ditto.
12657
12658         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12659         inset if we're there actually (probably not used right now but this
12660         is the direction to go for unifying code).
12661         (paste): disable code to clear the selection.
12662
12663         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12664         inside an InsetText and move the check further up as it is in the
12665         wrong place.
12666
12667         * text2.C (pasteSelection): set a selection over the pasted text.
12668
12669 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12670
12671         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12672         and libgraphics to build on Cygwin.
12673
12674 2002-03-15  Juergen Vigna  <jug@sad.it>
12675
12676         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12677         inserting an Inset into the paragraph. I know this is not the best
12678         fix but we already use current_view in CutAndPaste so we will remove
12679         all of it's using at the same time.
12680
12681         * buffer.C (sgmlError): deactivated function till it is rewritten in
12682         the right mode, now it can create problems.
12683
12684         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12685         before accessing it.
12686
12687 2002-03-14  Juergen Vigna  <jug@sad.it>
12688
12689         * undo_funcs.C (textHandleUndo): do the right thing when updating
12690         the inset after the undo/redo.
12691
12692         * text2.C (setCursor): just some testcode for #44 not ready yet.
12693
12694         * undo_funcs.C (textHandleUndo): set the next() and previous()
12695         pointers of the paragraph to 0 before deleting otherwise we have
12696         problems with the Paragraph::[destructor].
12697
12698         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12699         on a paragraph insertion.
12700
12701 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12702
12703         * buffer.C (asciiParagraph): use += operator for char append to
12704         string.
12705
12706         * paragraph.C (getFontSettings): compare >= not just >
12707         (highestFontInRange): ditto
12708         (setFont): ditto
12709
12710 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12711
12712         * paragraph.C: change several algorithm to be more appripriate for
12713         the problem domain. This is lookip in FontList and in the InsetList.
12714
12715 2002-03-13  André Pönitz <poenitz@gmx.net>
12716
12717         * commandtags.h:
12718         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12719
12720 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12721
12722         * commandtags.h:
12723         * LyXAction.C:
12724         * lyxfunc.C:
12725         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12726
12727 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12728
12729         * Painter.C (display): anon helper function, adjust code for this
12730         change.
12731         (pixmap): remove function.
12732
12733         * Painter.h: remove private display variable.
12734
12735         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12736
12737 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12738
12739         * WorkArea.[Ch]: remove figinset_canvas cruft.
12740
12741 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12742
12743         * lyxtextclass.C (operator): add one item cache optimization.
12744
12745         * bufferlist.h: doxy changes
12746
12747         * bufferlist.C: ws changes
12748
12749         * DepTable.[Ch] (ext_exist): place const in the right spot.
12750
12751         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12752         call resizeInsets.
12753         (workAreaExpose): call resizeInsets when the with BufferView changes.
12754         (Dispatch): adjust for protectedBlank removal
12755         (specialChar): call updateInset if the insert went ok.
12756
12757         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12758         specialChar instead.
12759
12760         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12761
12762         * BufferView.h: doxy change
12763
12764         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12765
12766         * lyxtextclass.C (operator[]): remove non-const version
12767         (defaultLayout): remove non-const version
12768
12769 2002-03-12  Juergen Vigna  <jug@sad.it>
12770
12771         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12772         did resize the LyXText too.
12773
12774         * buffer.C (readLyXformat2): set layout information on newly allocated
12775         paragraphs.
12776
12777         * tabular.C (OldFormatRead): set layout information on the paragraph.
12778
12779 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12780
12781         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12782
12783 2002-03-11  Juergen Vigna  <jug@sad.it>
12784
12785         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12786         plainly wrong.
12787         (resizeCurrentBuffer): force also the insets to resize themselfes.
12788         (moveCursorUpdate): fixed up for InsetText.
12789
12790 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12791
12792         * commandtags.h:
12793         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12794         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12795         value of Dialogs::tooltipsEnabled().
12796         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12797
12798 2002-03-08  Juergen Vigna  <jug@sad.it>
12799
12800         * BufferView_pimpl.C (updateInset): update inset inside inset also
12801         if it isn't inside theLockingInset().
12802
12803 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12804
12805         * buffer.C (asciiParagraph): redo some of the word and line length
12806         handling.
12807         (getLists): look for Caption instead of caption.
12808
12809 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12810
12811         * buffer.C (Buffer): initialize niceFile to true
12812         (makeLaTeXFile):
12813         (makeLinuxDocFile):
12814         (makeDocBookFile): make sure niceFile is true on exit
12815
12816 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12817
12818         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12819
12820 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12821
12822         * LyXSendto.C: remove.
12823         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12824         * lyx_gui.C: remove now-redundant comment.
12825         * ColorHandler.h: remove forward declaration of class WorkArea.
12826         * lyxfunc.C: remove #include "WorkArea.h".
12827
12828 2002-03-07  Juergen Vigna  <jug@sad.it>
12829
12830         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12831         got moved away with the DEPM and also set the inset_owner always
12832         right which before could have been omitted.
12833
12834 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12835
12836         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12837         wanted layout is not found.
12838
12839 2002-03-07  Juergen Vigna  <jug@sad.it>
12840
12841         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12842
12843 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12844
12845         * paragraph.C (breakParagraph): use default layout not layout of
12846         prev paragraph.
12847         (Paragraph): clear ParagraphParameters.
12848
12849 2002-03-06  Juergen Vigna  <jug@sad.it>
12850
12851         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12852         otherwise it would not be a valid lenght. Fixed a special case in
12853         the minipage compatibility read where we end the document with a
12854         minipage.
12855
12856         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12857         was set as it could be 0 for InsetTexts first entry.
12858
12859 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12860
12861         * paragraph.C (writeFile): if layout is empty write out
12862         defaultLayoutName().
12863
12864         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12865         file without named layout we set layout to defaultLayoutName().
12866
12867 2002-03-06  Juergen Vigna  <jug@sad.it>
12868
12869         * CutAndPaste.C (copySelection): set layout for new paragraph.
12870
12871         * text.C (prepareToPrint): leave ERT inset left aligned
12872         (leftMargin): don't indent paragraphs inside ERT insets
12873
12874 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12875
12876         * paragraph.C (breakParagraph): dont call clear do the work manually
12877
12878         * paragraph.[Ch] (clear): remove function
12879
12880 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12881
12882         * paragraph.C (Paragraph): dont call clear, the work has already
12883         been done.
12884
12885         * lyxtextclass.C (operator): assert if n is empty
12886
12887         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12888         work manually instead.
12889
12890 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12891
12892         * BufferView_pimpl.C: protect selectionLost against text == 0
12893
12894 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12895
12896         * text.C (breakParagraph): fix a setting layout to '0' problem.
12897
12898 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12899
12900         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12901         final location of file, for the included files, and graphics.
12902
12903 2002-03-05  Juergen Vigna  <jug@sad.it>
12904
12905         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12906
12907 2002-03-04  Juergen Vigna  <jug@sad.it>
12908
12909         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12910
12911         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12912         last column of multicolumn cells.
12913         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12914
12915 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12916
12917         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12918         file if it doesn't go to a temporary file.
12919
12920         * buffer.C (sgmlOpenTag):
12921         (sgmlCloseTag):  remove extra newline insertion.
12922
12923 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12924
12925         * text.C (getRowNearY): comment out debug msg
12926
12927 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12928
12929         * text2.C: first -> first_y
12930
12931         * text.C (getRowNearY): add some attemts at a possible
12932         optimization, not working.
12933
12934         * tabular.[Ch]: add BufferParams to several function so that newly
12935         created paragraph can be initialized to he default layotu for the
12936         buffers textclass.
12937
12938         * tabular-old.C (ReadOld): add buf->params to call of Init
12939
12940         * screen.C: rename text->first to text->first_y
12941
12942         * paragraph.C (breakParagraph): always set layout in the broken
12943         paragraph
12944
12945         * lyxtextclass.C (Read): remove lowercase
12946         (hasLayout): ditto
12947         (operator): ditto
12948         (delete_layout): ditto
12949
12950         * lyxtext.h: rename first -> first_y
12951
12952         * lyxlayout.C (Read): remove lowercase
12953         (name): ditto
12954         (setName): ditto
12955         (obsoleted_by): ditto
12956
12957         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12958
12959         * buffer.C (insertErtContents): add params are to InsetERT
12960         (parseSingleLyXformat2Token): add code to check if a paragraphs
12961         layout really exist.
12962         (parseSingleLyXformat2Token): add params to several inset
12963         constructors
12964         (asciiParagraph): remove lowercase, do the layout comparisons with
12965         no_case
12966
12967         * BufferView_pimpl.C (cursorNext): first -> first_y
12968         (resizeCurrentBuffer): first -> first_y
12969         (updateScrollbar): first -> first_y
12970         (scrollCB): first -> first_y
12971         (workAreaMotionNotify): first -> first_y
12972         (workAreaButtonPress): first -> first_y
12973         (checkInsetHit): first -> first_y
12974         (cursorPrevious): first -> first_y
12975         (cursorNext): first -> first_y
12976         (Dispatch): add buffer_->params to severl inset contructors
12977
12978 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12979
12980         * lyxlayout.C (Read): remove some debug info that I forgot.
12981
12982         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12983         clean up the code slightly.
12984         (makeLinuxDocFile): ditto
12985         (makeDocBookFile): ditto
12986
12987         * text2.C: layout as string
12988
12989         * text.C: layout as string
12990
12991         * paragraph_pimpl.C: layout as string
12992
12993         * paragraph.[Ch]: layout as string
12994
12995         * lyxtextclasslist.[Ch]: layout as string
12996
12997         * lyxtextclass.[Ch]: layout as string
12998
12999         * lyxtext.h: layout as string
13000
13001         * lyxlayout.[Ch]: layout as string
13002
13003         * lyx_cb.C: layout as string
13004
13005         * bufferview_funcs.C: layout as string
13006
13007         * bufferparams.C: layout as string
13008
13009         * buffer.C: layout as string
13010
13011         * LyXView.[Ch]: layout as string
13012
13013         * LaTeXFeatures.[Ch]: layout as string
13014
13015         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13016
13017         * BufferView_pimpl.C: change current_layout to string, remove
13018         lyx::layout_type.
13019         (Dispatch):
13020         (smartQuote):
13021         (insertInset):
13022         (workAreaButtonRelease): layout as string
13023
13024         * BufferView2.C (unlockInset): adjust
13025
13026         * vspace.C (asLatexCommand): use an explict temp variable.
13027
13028 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13029
13030         * Makefile.am: use FRONTEND_*
13031
13032 2002-03-01  Juergen Vigna  <jug@sad.it>
13033
13034         * tabular.C (SetWidthOfMulticolCell): changed to something better
13035         I hope but still work in progress.
13036         (recalculateMulticolumnsOfColumn): renamed function from
13037         recalculateMulticolCells as it is more appropriate now.
13038         (SetWidthOfCell): calculate multicols better.
13039
13040 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13041
13042         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13043
13044         * lyxfunc.C (processKeySym): print sequence also if it is
13045         `deleted' (complete)
13046
13047         * kbsequence.C (print): print sequence even if it is deleted
13048         (complete would be a better word, actually).
13049
13050         * lyxfunc.C (dispatch): print complete options after a prefix key
13051
13052         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13053
13054 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13055
13056         * text2.C (setCharFont): eliminate setCharFont code duplication.
13057
13058 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13059
13060         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13061         LFUN_TABULAR_FEATURE (bug #177)
13062
13063 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13064
13065         * Makefile.am: remove figure.h
13066
13067 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13068
13069         * Bufferview_pimpl.C:
13070         * CutAndPasteC:
13071         * LaTeX.C:
13072         * LyXSendto.C:
13073         * buffer.C:
13074         * bufferlist.C:
13075         * converter.C:
13076         * language.C:
13077         * lyxfunc.C:
13078         * lyxvc.C:
13079         * paragraph.C:
13080         * text.C:
13081         * text2.C: remove #include "lyx_gui_misc.h".
13082
13083         * LaTeX.C: added #include <cstdio>
13084
13085 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13086
13087         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13088         that the paragraph following this one can have.
13089
13090         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13091
13092         * vspace.C (asLatexCommand): fix bogus gcc warning
13093
13094         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13095
13096 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13097
13098         * text2.C (setLayout): get rid of redundant code
13099
13100 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13101
13102         * text2.C (incDepth): make sure depth cannot be increased beyond
13103         reasonable values.
13104
13105 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13106
13107         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13108         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13109
13110         * PainterBase.h (image):
13111         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13112         a LyXImage const *.
13113
13114 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13115
13116         * BufferView.C:
13117         * BufferView.h:
13118         * BufferView_pimpl.C:
13119         * BufferView_pimpl.h:
13120         * LaTeXFeatures.C:
13121         * LyXAction.C:
13122         * LyXView.C:
13123         * Makefile.am:
13124         * UpdateList.h:
13125         * UpdateList.C:
13126         * buffer.C:
13127         * figure.h:
13128         * figureForm.C:
13129         * figureForm.h:
13130         * figure_form.C:
13131         * figure_form.h:
13132         * lyx_cb.C:
13133         * lyx_gui.C:
13134         * lyx_gui_misc.C:
13135         * lyxfunc.C:
13136         * sp_base.h:
13137         * sp_ispell.h:
13138         * sp_pspell.h:
13139         * sp_spell.C: remove fig inset, and the crap house of
13140           cards that follows it
13141
13142 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13143
13144         * Makefile.am:
13145         * lyxserver.C:
13146         * os2_defines.h:
13147         * os2_errortable.h:
13148         * nt_defines.h: move .h into support/
13149
13150         * vms_defines.h: remove
13151
13152         * WorkArea.C: add space in debug output
13153
13154         * text2.C:
13155         * paragraph.C:
13156         * buffer.C: add WITH_WARNINGS
13157
13158         * vc-backend.h:
13159         * vc-backend.C:
13160         * bufferlist.C: s/retrive/retrieve/, add docs
13161
13162         * vspace.h:
13163         * vspace.C:
13164         * kbmap.h:
13165         * lyxlength.h:
13166         * lyxgluelength.h:
13167         * length_common.h:
13168         * chset.h:
13169         * chset.C: add docs
13170
13171         * lyxgui.C: add ID to X error handler
13172
13173         * lyxtestclass.c: fix typo
13174
13175 2002-02-26  Juergen Vigna  <jug@sad.it>
13176
13177         * tabular_funcs.C (write_attribute): changed so that some default
13178         attributes are not written at all.
13179         (getTokenValue): set default values before trying to read the
13180         value so we have the return value always set as default if we don't
13181         find the token we search for.
13182
13183         * tabular.C (Write): write bools as bools not as strings!
13184
13185 2002-02-22  Juergen Vigna  <jug@sad.it>
13186
13187         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13188         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13189
13190         * text.C (leftMargin): don't add an indent for paragraphs inside
13191         tabular cells (fix #208).
13192
13193 2002-02-21  José Matos  <jamatos@fep.up.pt>
13194
13195         * tabular.C (docBook): fixed support for long tables.
13196
13197 2002-02-20  Juergen Vigna  <jug@sad.it>
13198
13199         * text2.C (getFont): get the drawing font of the Inset if this
13200         paragraph is inside an inset (only important for InsetERT for now).
13201
13202         * buffer.C (insertErtContents): use new lanugage params in ERT
13203         constructor.
13204
13205         * CutAndPaste.C: commenting out seemingly uneeded code.
13206
13207 2002-02-19  Allan Rae  <rae@lyx.org>
13208
13209         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13210         Iterators might be simple to use but they also get invalidated.
13211         (removeAutoInsets): renamed saved cursor tracking variables and added
13212         some comments to clarify what everything does.
13213
13214 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13215
13216         * Chktex.C:
13217         * LaTeX.C:
13218         * LyXSendto.C:
13219         * converter.C:
13220         * lyx_cb.C:
13221         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13222         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13223
13224         * lyxfunc.C:
13225         * vc-backend.h: remove #include "support/syscall.h"
13226
13227         * LaTeX.C:
13228         * LyXSendto.C:
13229         * converter.C: rearrange #includes in Lars' approved fashion.
13230
13231         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13232         forward declare class Timeout in the header file.
13233
13234         * XFormsView.C: changes due to the above.
13235
13236         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13237         similar to LyXView.
13238
13239         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13240         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13241
13242 2002-02-18  José Matos  <jamatos@fep.up.pt>
13243
13244         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13245         insets contents.
13246
13247 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13248
13249         * a lot of small ws changes
13250         * add a lot of using std::XXX
13251         * use std construcs some places where approp.
13252         * use some exisint stuff from lyxfunctional where approp.
13253         * Make file changes to use partial linking (lets test this now...)
13254
13255 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13256
13257         * Chktex.C:
13258         * buffer.C:
13259         remove #include "support/syscontr.h" as it's redundant. Always has been.
13260
13261         * Chktex.C:
13262         * LaTeX.C:
13263         * LyXSendto.C:
13264         * converter.C:
13265         * lyx_cb.C:
13266         * vc-backend.C:
13267         change Systemcalls::System to Systemcalls::Wait and
13268         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13269         No change of functionality, just reflects the stripped down Systemcalls
13270         class.
13271
13272 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13273
13274         * debug.[Ch]: add a GRAPHICS type to the enum.
13275
13276 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13277
13278         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13279
13280         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13281         there is an inset.
13282
13283 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13284
13285         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13286         match the changes below.
13287
13288         * text2.C (toggleInset): if there is not editable inset at cursor
13289         position, try to see if cursor is _inside_ a collapsable inset
13290         and close it.
13291
13292 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13293
13294         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13295         document menu has a nice checkbox
13296
13297 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13298
13299         * lyxlength.C (asLatexString): change PW to output as percent of
13300         \textwidth.
13301
13302         * lengthcommon.C: change '%' to 't%'
13303
13304         * lyxfunc.C (dispatch): a few comments from Martin
13305
13306 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13307
13308         * WorkArea.h:
13309         * WorkArea.C:
13310         * BufferView_pimpl.h:
13311         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13312           the X selection.
13313
13314 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13315
13316         * vspace.C (inPixels): fix compiler warning
13317
13318 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13319
13320         * lyxfunc.C (getStatus): fix status message for disabled commands.
13321
13322 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13323
13324         * BufferView_pimpl.C: fix crash on close buffer
13325         during selection (#227)
13326
13327 2002-01-27  Herbert Voss  <voss@lyx.org>
13328
13329         * buffer.C: link old Figure to new graphic inset
13330
13331 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13332
13333         * FontLoader.C (getFontinfo): Change the latex font names in order
13334         to match the names of type1inst.
13335
13336 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13337
13338         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13339
13340         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13341         (extchanged): ditto
13342         (ext_exist): ditto
13343         (remove_files_with_extension): ditto
13344         (remove_file): ditto
13345         (write): ditto
13346
13347         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13348         document is smaller than the work area height. Do not initialize
13349         static variables to 0.
13350
13351 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13352
13353         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13354
13355         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13356         LFUN_LAYOUT_PARAGRAPHS.
13357
13358         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13359         tabular. It is possible to provide a possible cell, which will
13360         typically be the actcell from the corresponding insettabular
13361
13362         * lyxfunc.C (getStatus): small cleanup; disable
13363         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13364         true
13365
13366 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13367
13368         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13369
13370         * paragraph.C (startTeXParParams):
13371         (endTeXParParams): new methods. The LaTeX code to
13372         start/end paragraph formatting
13373         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13374         empty (fixes bug #200)
13375
13376         * vspace.C (inPixels): adapt to the change below
13377         (inPixels): [later] more cleanups (remove unused variables)
13378
13379         * lyxlength.C (inPixels): change to use a width and a height as
13380         parameter.
13381
13382 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13383
13384         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13385         Replaced with \paperwidth
13386
13387         * DepTable.C (insert): add std:: qualifier
13388
13389 2002-01-18  Allan Rae  <rae@lyx.org>
13390
13391         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13392         updated also?
13393
13394         * text.C (drawInset): Turned out I didn't know enough about how
13395         rebreaking worked.  This fixes most of the redraw problems.  I see
13396         an occasional cursor trail when a line is broken now and the cursor
13397         placement can seem out by a few pixels also after a rebreak.
13398
13399 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13400
13401         * buffer.C (parseSingleLyXformat2Token): update because minipage
13402         width is now a LyXLength
13403
13404         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13405
13406         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13407         math insets
13408
13409 2002-01-17  Juergen Vigna  <jug@sad.it>
13410
13411         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13412
13413         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13414         is set correctly and the inset is updated correctly.
13415
13416 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13417
13418         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13419         the beginning of the loop.
13420
13421 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13422
13423         * lyxrc.C: improve help for use_scalable_fonts
13424
13425 2002-01-17  Allan Rae  <rae@lyx.org>
13426
13427         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13428
13429 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13430
13431         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13432         make sure to set their inset_owner to the right value (bug #171)
13433
13434 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13435
13436         * DepTable.h
13437         * DepTable.C: Implement mtime checking to reduce time spent doing
13438         CRCs.
13439
13440 2002-01-16  Juergen Vigna  <jug@sad.it>
13441
13442         * tabular.C (GetAdditionalHeight): one of error fixed.
13443
13444         * lyxrc.C (output): small fix in writing use_pspell.
13445
13446 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13447
13448         * sp_base.h: #include LString.h
13449
13450 2002-01-16  Allan Rae  <rae@lyx.org>
13451
13452         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13453         Can someone check this please?
13454
13455         * text.C (drawInset): It was possible that p.row would be removed by
13456         breakAgainOneRow upsetting a few other settings.  There may be another
13457         small tweak possible by setting need_break_row = 0 when p.row has been
13458         removed but I don't know enough about the logic here.
13459
13460 2002-01-15  Allan Rae  <rae@lyx.org>
13461
13462         * text.C (insertChar): removed conditional truism.
13463
13464         * BufferView2.C (removeAutoInsets): More tweaks.
13465         cur_par_prev could be a stray pointer.  Check for trailing empty line
13466         in case last line was cur_par and only had an error inset on it.
13467
13468 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13469
13470         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13471         absolute
13472
13473         * vc-backend.C (most methods):
13474         * exporter.C (Export):
13475         * converter.C (convert):
13476         (runLaTeX):
13477         * LyXSendto.C (SendtoApplyCB):
13478         * lyxfunc.C (dispatch):
13479         (menuNew):
13480         (open):
13481         (doImport):
13482         * lyx_cb.C (AutoSave):
13483         (InsertAsciiFile):
13484         * BufferView_pimpl.C (MenuInsertLyXFile):
13485         * buffer.C (runChktex): use Buffer::filePath().
13486
13487         * buffer.h: rename filename to filename_; rename filepath to
13488         filepath_ and make it private
13489         (filePath): new method
13490
13491         * buffer.C (writeFile): use fileName()
13492         (getLatexName):
13493
13494         * lyx_main.C (init): fix starting  of LyX when the binary is a
13495         link from so,ewhere else.
13496
13497         * minibuffer.C: include <cctype> for isprint
13498
13499 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13500
13501         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13502         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13503         name clash with InsetCollapsable's width function.
13504
13505 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13506
13507         * lastfiles.C: include <iterator>
13508
13509 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13510
13511         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13512         std::count.
13513
13514         * buffer.C (makeLaTeXFile): ditto.
13515         Also make loop operation more transparent.
13516
13517 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13518
13519         * ToolbarDefaults.C: remove trailing comma closing namespace.
13520
13521         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13522
13523         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13524         as in WorkArea.
13525
13526         * trans.C (Load): comment out unused variable, allowed.
13527
13528 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13529
13530         * minibuffer.[Ch] (append_char): new method to recieve input from the
13531         drop-down completion browser. If a key was pressed, then recieve this
13532         char and append it to the existing string.
13533         (peek_event): modify the positioning data passed to the completion
13534         browser so that it can be placed above the minibuffer rather than below.
13535 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13536
13537         * LyXAction.C (init): alloe error-next for readonly documents.
13538
13539         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13540         count.
13541
13542 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13543
13544         * bufferlist.C (readFile): create the buffer _after_ checking that
13545         the file exists.
13546
13547         * lyxfunc.C (verboseDispatch): fix handling of arguments
13548
13549         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13550
13551         * lyxrc.C: use string::erase() instead of initializing to "".
13552
13553
13554 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13555
13556         * BufferView_pimpl.h:
13557         * BufferView_pimpl.C:
13558         * WorkArea.h:
13559         * WorkArea.C:
13560         * text2.C: tell X when we have made a selection for copying
13561
13562 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13563
13564         * BufferView_pimpl.C (MenuInsertLyXFile):
13565         * lyxfunc.C (menuNew):
13566         (open):
13567         (doImport): add shortcuts to directory buttons
13568
13569         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13570         open a float)
13571
13572         * lyxfunc.C (setStatusMessage):
13573         (getStatusMessage): new methods
13574         (getStatus):use setStatusMessage instead of setErrorMessage
13575         (dispatch): when function is disabled, set error message here
13576         [instead of in getStatus previously]
13577
13578         * BufferView_pimpl.C (workAreaButtonRelease): update
13579         toolbar/menubar here too.
13580
13581 2002-01-13  Allan Rae  <rae@lyx.org>
13582
13583         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13584         Now seems indestructible.  Remaining task is to audit all other
13585         code affected by deleteEmptyParagraphMechanism.  One small quirk
13586         left is that an empty document with an error in the preamble can
13587         be made to report an error but no error box appears.  I don't know
13588         where it goes.
13589         (removeAutoInsets): Improved comments.
13590
13591 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13592
13593         * Thesaurus.h:
13594         * Thesaurus.C: update for Aiksaurus 0.14
13595
13596 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13597
13598         * text2.C (firstParagraph): removed member function, all uses
13599         replaces with ownerParagraph
13600         (redoParagraphs): here
13601         (updateInset): here
13602         (toggleAppendix): here
13603         * BufferView2.C (insertErrors): here
13604         (setCursorFromRow): here
13605
13606 2002-01-13  Allan Rae  <rae@lyx.org>
13607
13608         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13609         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13610         There is still a way to segfault this although you may have to do this
13611         multiple times: Have an InsetERT with an unknown command in it.
13612         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13613         <down-arrow>, <Enter> again, View->DVI, BANG!
13614
13615         * text2.C (setCursor):
13616         (deleteEmptyParagraphMechanism):
13617         * lyxtext.h (setCursor):
13618         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13619         Making use of the return value may help fix other bugs.
13620
13621 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13622
13623         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13624
13625         * LyXView.C (updateMenubar): call MenuBar::update here
13626         (updateToolbar): but not here
13627         (showState): do not update toolbar/menubar
13628
13629         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13630         should need to care about that.
13631
13632         * lyxfunc.C (verboseDispatch): simplify a bit
13633         (getStatus): have a version which takes a pseudoaction, and
13634         another which requires a (kb_action,string).
13635
13636         * LyXAction.C (retrieveActionArg): make it work also when action
13637         is not a pseudo-action.
13638         (getActionName): simplify a bit
13639         (helpText):
13640
13641 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13642
13643         * lyxfunc.C (verboseDispatch): new families of methods with
13644         several ways to specify a command and a bool to indicate whether
13645         the command name and shortcut should be displayed in minibuffer
13646         (eventually, we could extend that to a finer bitmask like
13647         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13648         (dispatch): the pristine dispatch command which just, well,
13649         dispatchs! Note it still sets its result to minibuffer; I'm not
13650         sure we want that.
13651
13652         * lyxfunc.h: remove setHintMessage
13653
13654         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13655
13656 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13657
13658         * BufferView_pimpl.C (specialChar): delete new inset if we have
13659         not been able to insert it.
13660
13661         * kbmap.C: revert to using int instead of kb_action, since all we
13662         are dealing with is pseudo-actions.
13663
13664         * LyXAction.C (searchActionArg): change to return int instead of
13665         kb_action, since the result is a pseudoaction.
13666
13667 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13668
13669         * buffer.C (insertErtContents): Fix (partially) the font bug.
13670
13671 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13672
13673         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13674         as the other one is broken on my machine!
13675
13676 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13677
13678         * commandtags.h:
13679         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13680
13681 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13682
13683         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13684         reflect their actual use. Provide compatibility code for older lyxrc
13685         files.
13686
13687         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13688         FL_NORMAL_STYLE.
13689         change names of popup font variables in line with the changes to lyxrc.C
13690
13691 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13692
13693         * buffer.C (asciiParagraph): avoid outputing a word twice after
13694         an inset.
13695
13696         * lyxrc.C (getDescription): document that document_path and
13697         template_path can be empty.
13698
13699 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13700
13701         * LaTeXFeatures.C (getMacros):
13702         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13703
13704         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13705
13706         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13707         getPackages.
13708         (getPackages): rename feature "floats" to "float". Use an array to
13709         iterate over 'simple' features (i.e. just a \usepackage). Add
13710         handling of "amsmath" (renamed from "amsstyle").
13711
13712 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13713
13714         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13715         features list.
13716
13717 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13718
13719         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13720         FuncStaus::FuncStatus & FuncStaus::some_method().
13721
13722 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13723
13724         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13725         of the func_satus stuff. Edited and massaged in various ways by
13726         JMarc.
13727
13728         * lyxfunc.C (getStatus): use FuncStatus
13729
13730 2002-01-08  Juergen Vigna  <jug@sad.it>
13731
13732         * text.C (nextBreakPoint): use function Inset::isChar().
13733
13734         * paragraph.C (TeXOnePar): use function
13735         Inset::forceDefaultParagraphs.
13736
13737         * buffer.C (latexParagraphs): use function
13738         Inset::forceDefaultParagraphs.
13739
13740 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13741
13742         * lyx_gui.C (init): set the style of the menu popups to
13743         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13744
13745 2002-01-07  Juergen Vigna  <jug@sad.it>
13746
13747         * text.C (setHeightOfRow): small fix
13748         (prepareToPrint): don't look at alignment if we don't have the place
13749         for doing it.
13750
13751 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13752
13753         * box.C: New file. Move the Box methods and functions out of box.h,
13754         following Lars' suggestion.
13755
13756 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13757
13758         * box.h: #include "support/LOstream.h", needed for inlined function.
13759
13760         * lyxtextclass.C:
13761         * lyxtextclasslist.C: added some using std declarations.
13762
13763 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13764
13765         * box.h: make signed dimensions to allow insets wider than
13766           the screen (bug #162)
13767
13768         * BufferView_pimpl.C: add some insetHit debug
13769
13770 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13771
13772         * vc-backend.C: add FIXME
13773
13774 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13775
13776         * lyxfunc.C (getStatus): enable code for showing math font status
13777         in toolbar/menu.
13778
13779 2002-01-07  Juergen Vigna  <jug@sad.it>
13780
13781         * text.C (nextBreakPoint): removed debug output not needed anymore.
13782
13783 2002-01-06  Juergen Vigna  <jug@sad.it>
13784
13785         * text.C (nextBreakPoint): fixed up this function we had this bug
13786         since ever but now hopefully we break row better.
13787         (insertChar): we have to check if an inset is the next char as it
13788         could now happen that a large inset is causing a break.
13789
13790 2002-01-05  Juergen Vigna  <jug@sad.it>
13791
13792         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13793         if it doesn't like to be drawed.
13794
13795 2002-01-04  Juergen Vigna  <jug@sad.it>
13796
13797         * BufferView2.C (lockInset): forgot to set a cursor.
13798
13799         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13800
13801 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13802
13803         * FormMathsPanel.C:
13804         * FormMathsPanel.h
13805         * MathsSymbols.C:
13806         * form_maths_panel.C:
13807         * form_maths_panel.h:
13808         * form_maths_panel.fd: implemented sub- and super- buttons in math
13809         panel.
13810
13811         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13812         (or ^ space) to be used as in TeX (req'd by André).
13813
13814         * lyxfunc.C: Allow ^ and _ again to be used both as
13815         super/subscript (mathed) and as themselves (in text).
13816
13817 2002-01-03  Allan Rae  <rae@lyx.org>
13818
13819         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13820         "LyX" or the filename of the current buffer if it has one.  This is a
13821         modified form of John Levon's patch.
13822
13823         * XFormsView.C (setWindowTitle): also set icon title.
13824
13825         * LyXView.h (setWindowTitle): signature changed.
13826         * XFormsView.h (setWindowTitle): ditto.
13827
13828 2002-01-02  Juergen Vigna  <jug@sad.it>
13829
13830         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13831
13832 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13833
13834         * screen.C (topCursorVisible): introduce a temp var for
13835         text->cursor.row(), handle the case where this row is null. (kindo
13836         hachish)
13837
13838         * text2.C (setCursor): add a couple of asserts.
13839
13840         * paragraph.h (inset_iterator): add -> operator
13841
13842         * paragraph.[Ch] (autoDeleteInsets): remove member function
13843
13844         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13845         cursor pos correctly and handle inset deletion by itself.
13846         (insertErrors): move iterator declaration out of for expression
13847
13848         * lyxtextclass.C: add <algorithm>
13849
13850         * Makefile.am: added the new files to sources, removed layout.C
13851
13852         * layout.C: removed file
13853
13854         * layout.h: remove LYX_DUMMY_LAYOUT
13855
13856         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13857         layout.
13858
13859         * lyxlayout.[Ch]:
13860         * lyxtextclass.[Ch]:
13861         * lyxtextclasslist.[Ch]: new files
13862
13863         * include order changes to a lot of files, also changes because of
13864         the six new files.
13865
13866 2001-12-27  Juergen Vigna  <jug@sad.it>
13867
13868         * buffer.C (asciiParagraph): more fixes.
13869
13870         * tabular.C (ascii): make ascii export support export of only the
13871         data separated by a column-delimiter.
13872         (ascii): better support for ascii export.
13873
13874         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13875
13876 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13877
13878         * tabular_funcs.C: use a "using std::getline" instead of the
13879         previous fix from Angus (necessary for cxx + lyxstring)
13880
13881 2001-12-24  Juergen Vigna  <jug@sad.it>
13882
13883         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13884
13885         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13886         problems. First check a minipage also if we have some ert-contents
13887         (not only on par->size(), second set the right depth of the paragraph
13888         on the relink to the root-paragraph-list!
13889
13890         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13891         which then did not anymore update the main paragraphs on undo/redo!
13892
13893 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13894
13895         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13896         code. Support all font-changing funcs (even those which are not in
13897         menu currently). Support for reporting font settings in
13898         mathed (disabled until Andre provides a function on mathed's side).
13899
13900         * func_status.h (toggle): small helper function to set toggle
13901         state on a flag.
13902
13903 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13904
13905         * tabular_funcs.C: getline -> std::getline
13906
13907 2001-12-21  Juergen Vigna  <jug@sad.it>
13908
13909         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13910         accessed and could be 0 (I couldn't generate this but it seems
13911         Michael could!).
13912
13913 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13914
13915         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13916         * tabular_funcs.h: here and include iosfwd
13917
13918 2001-12-20  Juergen Vigna  <jug@sad.it>
13919
13920         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13921         inside inset but undo_par was.
13922
13923 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13924
13925         * Thesaurus.C: always include <config.h> in sources.
13926
13927         * Painter.h:
13928         * lyxlookup.h:
13929         * box.h: do not include <config.h> in header files
13930
13931         * text.C (paintLastRow): remove unused variable
13932
13933         * text.C (transformChar):
13934         (insertChar):
13935         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13936
13937         * Painter.C (text):
13938         * font.C (width): rewrite to use uppercase() instead of
13939         islower/toupper.
13940
13941         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13942
13943 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13944
13945         * lyxfind.C: clean up of find failure position change
13946
13947 2001-12-20  Juergen Vigna  <jug@sad.it>
13948
13949         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13950
13951         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13952         (TeXRow): added to LaTeX a single tabular row.
13953         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13954         (Latex): simplified and finally good LT-h/f support.
13955         (various_functions): just small adaptions for LT-h/f support.
13956
13957         * tabular_funcs.[hC]: added and moved here all not classfunctions
13958         of LyXTabular.
13959
13960 2001-12-19  Juergen Vigna  <jug@sad.it>
13961
13962         * tabular.[Ch]: better support for longtabular options (not finished
13963         yet!)
13964
13965 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13966
13967         * text.C (paintLastRow): use the label font instead of the font of
13968         the last character to compute the size of *_BOX. This makes more
13969         sense and avoids a crash with empty paragraphs.
13970         Use Painter::rectangle to draw EMPTY_BOX.
13971
13972 2001-12-19  Juergen Vigna  <jug@sad.it>
13973
13974         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13975         the paragraphs if the replaced paragraph is not the first one!
13976         Tried to delete not used paragraphs but does not work yet so for
13977         now it's inside #ifdef's and by default off!
13978
13979 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13980
13981         * MenuBackend.C: include "lyx_main.h" instead of declaring
13982         lastfiles (actually was declared as LastFiles* instead of a
13983         scoped_ptr).
13984
13985 2001-12-17  Juergen Vigna  <jug@sad.it>
13986
13987         * tabular.C (AppendColumn): applied John's fix
13988
13989 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13990
13991         * BufferView.h:
13992         * BufferView.C:
13993         * BufferView_pimpl.h:
13994         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13995
13996         * Makefile.am:
13997         * box.h: new start of class for above
13998
13999         * lyxfunc.C: ignore space-only minibuffer dispatches.
14000           Show the command name when it doesn't exist
14001
14002         * minibuffer.C: don't add empty lines to the history
14003
14004         * minibuffer.C: add a space on dropdown completion
14005
14006 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14007
14008         * text.C: fix line above/below drawing in insets
14009
14010 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14011
14012         * lyxlength.C (LyXLength): Initialize private variables.
14013
14014 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14015
14016         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14017         when inserting error insets.
14018
14019 2001-12-13  Juergen Vigna  <jug@sad.it>
14020
14021         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14022         actually sometimes the before-paragraph.
14023         (setUndo): don't clear the redostack if we're not actually undoing!
14024
14025 2001-12-06  Juergen Vigna  <jug@sad.it>
14026
14027         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14028         and fixed redoing of main paragraph, so we can use it now ;)
14029
14030         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14031
14032 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14033
14034         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14035         Juergen's request
14036
14037 2001-12-13  André Pönitz <poenitz@gmx.net>
14038
14039         * undostack.[Ch]:
14040         * undo_func.C: minor cleanup
14041
14042 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14043
14044         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14045         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14046         font in urw-fonts package which is marked as -urw-fontspecific and
14047         does not work (incidentally, changing the encoding in the
14048         fonts.dir of this package to -adobe-fontspecific fixes the
14049         problem).
14050
14051         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14052         is a crash when undoing first paragraph (Juergen, please take a
14053         look). THis does not mean the undo fix is wrong, just that it
14054         uncovers problems.
14055
14056         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14057         the (Paragraph*) version when needed instead of duplicating the
14058         code.
14059
14060         * text.C (workWidth): use Inset::parOwner to find out where the
14061         inset has been inserted. This is a huge performance gain for large
14062         documents with lots of insets. If Inset::parOwner is not set, fall
14063         back on the brute force method
14064
14065         * paragraph_pimpl.C (insertInset):
14066         * paragraph.C (Paragraph):
14067         (cutIntoMinibuffer): set parOwner of insets when
14068         inserting/removing them
14069
14070         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14071
14072 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14073
14074         * commandtags.h:
14075         * LyXAction.C:
14076         * lyx_main.C:
14077         * lyxfunc.C:
14078         * mathed/formulabase.C:
14079         * mathed/math_cursor.[Ch]:
14080         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14081
14082
14083 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14084
14085         * lyxlength.[Ch] (operator!=): new function
14086
14087 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14088
14089         * text.C (workWidth): use Inset::parOwner to find out where the
14090         inset has been inserted. This is a huge performance gain for large
14091         documents with lots of insets. If Inset::parOwner is not set, fall
14092         back on the brute force method
14093
14094         * paragraph_pimpl.C (insertInset):
14095         * paragraph.C (Paragraph):
14096         (cutIntoMinibuffer): set parOwner of insets when
14097         inserting/removing them
14098
14099         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14100
14101 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14102
14103         * tabular-old.C (getTokenValue):
14104         * tabular.C (getTokenValue):
14105         (write_attribute): new versions for LyXLength
14106         (everywhere): adjust the use of widths
14107
14108         * tabular.h: change the type of widths from string to LyXLength
14109
14110 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14111
14112         * paragraph.C: fixed missing line number count when exporting
14113         Environments to LaTeX file
14114
14115         * buffer.C: added informational message for checking line numbers.
14116
14117 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14118
14119         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14120         paragraph, do the 'double space' part, but not the 'empty
14121         paragraph' one.
14122
14123         * text.C (workWidth): small optimization
14124         (getLengthMarkerHeight): use minimal size for negative lengths.
14125
14126 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14127
14128         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14129
14130         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14131
14132 2001-12-11  André Pönitz <poenitz@gmx.net>
14133
14134         * FontLoader.C:
14135         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14136
14137 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14138
14139         * text2.C: keep selection on a setFont()
14140
14141 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14142
14143         * lyx_cb.C: another bv->text misuse, from insert label
14144
14145 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14146
14147         * kbsequence.h:
14148         * kbsequence.C: re-instate nmodifier mask
14149
14150 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14151
14152         * lyx_main.h: make lyxGUI private.
14153
14154 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14155
14156         * lyxfind.C: place the cursor correctly on failed search
14157
14158 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14159
14160         * text.C (getLengthMarkerHeight): for small heights, the arrows
14161         are not always on top/bottom of the text
14162         (drawLengthMarker): smaller arrows; take the left margin in
14163         account; draw also vfills.
14164         (paintFirstRow):
14165         (paintLastRow): remove special code for vfill and standard spaces,
14166         since everything is handled in drawLengthMarker now.
14167
14168 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14169
14170         * buffer.C (insertErtContents): try to handle font and language
14171         interaction a bit better.g
14172
14173         * ColorHandler.C (updateColor): change the hash to cover the whole
14174         LColor enum, ws cleanup
14175         (getGCLinepars): ditto
14176         (getGCLinepars): only lookup in the linecache once.
14177
14178 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14179
14180         * iterators.C (operator++): Make the iterator more robust
14181
14182         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14183         (John's patch)
14184         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14185
14186 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14187
14188         * lyxtext.h:
14189         * text.C: better added space drawing
14190
14191 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14192
14193         * LyXView.C:
14194         * BufferView2.C: fix layout combo update on inset unlock
14195
14196 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14197
14198         * Makefile.am: don't compile unused files
14199
14200 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14201
14202         * lyxfunc.C:
14203         * commandtags.h:
14204         * LyXAction.C: remove old LFUN_LAYOUTNO
14205
14206 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14207
14208         * paragraph_pimpl.h:
14209         * paragraph_pimpl.C: isTextAt() doesn't need font param
14210
14211 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14212
14213         * lyxlex.h:
14214         * lyxlex.C: little cleanup
14215
14216 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14217
14218         * BufferView_pimpl.C: fix insertAscii for insets
14219
14220 2001-12-05  Juergen Vigna  <jug@sad.it>
14221
14222         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14223         set the right font on the "multi" paragraph paste!
14224
14225 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14226
14227         * trans_decl.h:
14228         * trans_mgr.[Ch]:
14229         * trans.[Ch]:
14230         * lyxgluelength.C:
14231         * lyxlength.C: remove out-commented code.
14232
14233         * BufferView_pimpl:
14234         * CutAndPaste.C:
14235         * DepTable.C:
14236         * buffer.C:
14237         * chset.C:
14238         * lastfiles.C:
14239         * lyxlex.C:
14240         * lyxlex_pimpl.C:
14241         * lyxserver.C:
14242         * screen.C:
14243         * tabular-old.C:
14244         * tabular.C:
14245         * text.C:
14246         * trans_mgr.C:
14247         * vc-backend.C: change "while(" to "while ("
14248
14249         * lyxlength.[Ch]: add zero function to check if length is zero or
14250         not
14251         * lyxgluelength.C: use it
14252
14253 2001-12-05  Allan Rae  <rae@lyx.org>
14254
14255         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14256         Works for 2.95.3, from what I understand of Garst's reports this should
14257         work for other g++ versions.  We're screwed if the abs(int) definition
14258         changed between bugfix releases of gcc.
14259
14260 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14261
14262         * text.C: fix chapter label offset !
14263
14264 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14265
14266         * lyxtext.h:
14267         * text.C: fix hfill at end of line, clean up
14268
14269 2001-12-04  Juergen Vigna  <jug@sad.it>
14270
14271         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14272         that we force an update of the inset and it's owners if neccessary.
14273
14274 2001-12-03  Juergen Vigna  <jug@sad.it>
14275
14276         * text.C (rowLast): simplified code
14277
14278 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14279
14280         * lyxfunc.C: fix show options on timeout
14281
14282 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14283
14284         * screen.C (topCursorVisible): scroll half a page when the cursor
14285         reached top of bottom of screen
14286
14287 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14288
14289         * minibuffer.C: deactivate on loss of focus
14290
14291 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14292
14293         * vspace.[Ch] (operator!=): add operator.
14294
14295 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14296
14297         * BufferView_pimpl.C: refuse to open an inset when
14298         there's a selection.
14299
14300 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14301
14302         * BufferView_pimpl.C: allow to click on RHS of full row insets
14303
14304 2001-11-30  Juergen Vigna  <jug@sad.it>
14305
14306         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14307         insets for undo reasons.
14308
14309 2001-11-28  André Pönitz <poenitz@gmx.net>
14310
14311         * vspace.[Ch]: cosmetical changes
14312
14313 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14314
14315         * LyXAction.h:
14316         * LyXAction.C:
14317         * lyxfunc.h:
14318         * lyxfunc.C:
14319         * kbmap.h:
14320         * kbmap.C:
14321         * lyxrc.C:
14322         * kbsequence.h:
14323         * kbsequence.C: part re-write of old kb code
14324
14325         * Painter.C:
14326         * WorkArea.C: remove Lgb_bug_find_hack
14327
14328 2001-11-30  José Matos <jamatos@fep.up.pt>
14329
14330         * buffer.C (makeDocBookFile): add a comment to point a hack.
14331         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14332         Fixed a double write of labels.
14333
14334 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14335
14336         * LaTeX.C:
14337         * LaTeX.h Fixed bug in LaTeX class where it would not
14338         re-run latex if no depfiles were changed, but the .dvi was removed.
14339
14340 2001-11-28  André Pönitz <poenitz@gmx.net>
14341
14342         * all the files from the change on 2001/11/26:
14343         use lyx::layout_type instead of LyXTextClass::size_type
14344         use lyx::textclass_type instead of LyXTextClassList::size_type
14345
14346 2001-11-29  Juergen Vigna  <jug@sad.it>
14347
14348         * text.C: added support for paragraph::isFreeSpacing()
14349
14350         * buffer.C: same as above
14351
14352         * paragraph.h: inserted isFreeSpacing() function to enable
14353         FreeSpacing inside InsetERT.
14354
14355         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14356         of the paragraph's in the cut/copy buffer to 0!
14357
14358         * text2.C (removeRow): remove the assert as it can!
14359
14360         * lyxtext.h: added helper function firstRow returning firstrow and
14361         made firstrow private again.
14362
14363         * BufferView2.C (lockInset): don't relock if we're already locked!
14364
14365         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14366         the only paragraph.
14367         (removeRow): added Assert::(firstrow)
14368
14369         * debug.C: forgot to add INSETTEXT here.
14370
14371 2001-11-28  Juergen Vigna  <jug@sad.it>
14372
14373         * sp_spell.C (initialize): changed error text to more general
14374         spellchecker command use (not only ispell!)
14375
14376         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14377
14378         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14379
14380 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14381
14382         * vspace.C: initialise lyxgluelength on failure
14383
14384 2001-11-28  Allan Rae  <rae@lyx.org>
14385
14386         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14387         declaration & definition that looks like a function declaration.
14388
14389 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14390
14391         * BufferView2.C (copy):
14392         (copyEnvironment): do not clear the selection when doing a copy.
14393
14394         * text.C (paintFirstRow): compilation fix
14395
14396 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14397
14398         * tabular.C (Latex): correct line count when writing latex.
14399
14400 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14401
14402         * paragraph_pimpl.h:
14403         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14404           bug a bit
14405
14406 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14407
14408         * text.C:
14409         * LColor.h:
14410         * LColor.C: change vfillline->added_space
14411
14412         * text.C: add markers and text for added space
14413
14414         * vspace.C: fix comment
14415
14416 2001-11-28  André Pönitz <poenitz@gmx.net>
14417
14418         * paragraph.C: whitespace changes
14419         * all the other files from the change on 2001/11/26:
14420         change *::pos_type into lyx::pos_type
14421
14422 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14423
14424         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14425         language of the document when inserting error insets.
14426
14427 2001-11-26  André Pönitz <poenitz@gmx.net>
14428
14429         * BufferView_pimpl.[Ch]:
14430         *       CutAndPaste.C:
14431         * buffer.[Ch]:
14432         * lyxcursor.[Ch]:
14433         * lyxfind.C:
14434         * lyxfunc.C:
14435         * lyxrow.[Ch]:
14436         * paragraph.[Ch]:
14437         * paragraph_pimpl.[Ch]:
14438         * sp_spell.C:
14439         * text.C:
14440         * text2.C: reduce header dependencies, introduce type for positions
14441
14442 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14443
14444         * <various>: change to use Alert.h
14445
14446 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14447
14448         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14449         when encountering an unknown token.
14450         (readLyXformat2): Show an error message if there were unknown tokens.
14451
14452 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14453
14454         * BufferView2.C:
14455         * BufferView_pimpl.C:
14456         * buffer.C:
14457         * paragraph.h:
14458         * text.C:
14459         * text2.C: use par->isInset()
14460
14461 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14462
14463         * paragraph_pimpl.h:
14464         * paragraph_pimpl.C: cleanup
14465
14466 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14467
14468         * text2.C (removeRow):
14469         * text.C (setHeightOfRow): remove useless (and costly) call to
14470         getRow.
14471
14472 2001-11-20  Allan Rae  <rae@lyx.org>
14473
14474         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14475         Now need Inset*::checkInsertChar() to return true for appropriate
14476         cases so that the characters in the minibuffer will actually be
14477         inserted.
14478
14479 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14480
14481         * text.C: change the order of the includes.
14482         (workWidth): initialize it at once.
14483         (workWidth): make maxw unsigned
14484         (setHeightOfRow): remove unused variable (inset)
14485         (selectSelectedWord): remove unused variable (inset)
14486         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14487
14488 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14489
14490         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14491         server is not running.
14492         (openConnection):
14493         (closeConnection): add debug info when server is disabled.
14494
14495         * ColorHandler.C (getGCForeground): send debug message to GUI
14496         channel.
14497
14498         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14499
14500         * kbmap.C (bind): modify because return conventions of
14501         kb_sequence::parse have changed.
14502
14503         * kbsequence.C (parse): only ignore spaces and not any stupid
14504         control character. This avoids tests like s[i] <= ' ', which are
14505         guaranteed to fail with 8bit characters and signed chars.
14506         Change return code to string::npos when there have been no error
14507         (0 was a bad idea when error is at first character)
14508
14509 2001-11-14  José Matos  <jamatos@fep.up.pt>
14510
14511         * buffer.h:
14512         * buffer.C (simpleDocBookOnePar): removed unused argument.
14513
14514 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14515
14516         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14517         insets which are part of a word. Paragraph::isLetter takes care of
14518         that now. Use Paragraph::isInset to identify insets.
14519         (selectSelectedWord): do not test for hyphenation break.
14520
14521         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14522         that protected spaces are considered as spaces.
14523
14524         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14525         Inset::isLetter.
14526
14527 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14528
14529         * lyxserver.h:
14530         * lyxserver.C: fix it. and small cleanup.
14531
14532 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14533
14534         * BufferView_pimpl.C: use inline helpers
14535
14536         * LaTeXFeatures.h:
14537         * LaTeXFeatures.C: fix typos
14538
14539         * Spacing.h:
14540         * Spacing.C: move spacing_string into class
14541
14542         * ToolbarDefaults.C: move stuff into namespace anon
14543
14544         * layout.h: update enum
14545
14546         * lyxfunc.C: use better debug
14547
14548         * minibuffer.h: fix typo
14549
14550         * debug.h:
14551         * debug.C:
14552         * WorkArea.C: add and use Debug::WORKAREA
14553
14554         * lyxtext.h:
14555         * text.C:
14556         * text2.C: code re-organisation, inline helpers
14557
14558 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14559
14560         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14561         std::vector.empty().
14562
14563 2001-11-09  Allan Rae  <rae@lyx.org>
14564
14565         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14566         '\n's after tables.  Tabular and ERT inset work now makes this no
14567         longer necessary.
14568
14569 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14570
14571         * minibuffer.h:
14572         * minibuffer.C: fix crash, improve drop-down completion
14573
14574 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14575
14576         * lyxserver.h:
14577         * lyxserver.C: invalidate fd's when doing endPipe()
14578
14579 2001-11-08  José Matos  <jamatos@fep.up.pt>
14580
14581         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14582         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14583
14584         * paragraph.h:
14585         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14586
14587 2001-11-07  José Matos  <jamatos@fep.up.pt>
14588
14589         * buffer.h:
14590         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14591         const qualifier.
14592
14593         * buffer.C (sgmlOpenTag):
14594         * buffer.C (sgmlCloseTag): removed debug info.
14595
14596         * buffer.h (sgmlOpenTag):
14597         * buffer.h (sgmlCloseTag): made public.
14598
14599 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14600
14601         * buffer.C (saveParamsAsDefaults):
14602         * lyx_cb.C (MenuLayoutSave): remove
14603
14604         * LyXAction.C (init):
14605         * commandtags.h:
14606         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14607
14608 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14609
14610         * buffer.C (setPaperStuff): removed from here...
14611
14612         * bufferparams.C (setPaperStuff): ... and moved there.
14613
14614 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14615
14616         * minibuffer.h:
14617         * minibuffer.C:
14618         * XFormsView.C: add support for drop-down completion
14619
14620 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14621
14622         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14623         commands.
14624
14625 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14626
14627         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14628         disabled.
14629
14630 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14631
14632         * lyx_main.C: change ref to known bugs
14633
14634 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14635
14636         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14637         to work around older babel problems.
14638
14639 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14640
14641         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14642
14643 2001-10-24  Juergen Vigna  <jug@sad.it>
14644
14645         * tabular-old.C (ReadOld): below variable changes reflected.
14646
14647         * tabular.[Ch]: added ltType struct for longtable header/footer
14648         defines and changed all instances where they are used. Added
14649         future support for double top/bottom rows.
14650
14651 2001-10-24  José Matos  <jamatos@fep.up.pt>
14652
14653         * buffer.h (docbookHandleCaption):
14654         * buffer.C (docbookHandleCaption): removed unused function.
14655         (makeDocBookFile): moved docbook supported version to v4.1.
14656
14657 2001-10-24  José Matos  <jamatos@fep.up.pt>
14658
14659         * tabular.h:
14660         * tabular.C (docbookRow): new function to export docbook code of a row.
14661         (DocBook): now honors the longtable flags.
14662
14663 2001-10-23  José Matos  <jamatos@fep.up.pt>
14664
14665         * LaTeXFeatures.h:
14666         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14667         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14668
14669         * buffer.C (makeLinuxDocFile):
14670         (makeDocBookFile): reworked the preamble, more clean, and with
14671         support for lyx defined entities. Changed the document declaration
14672         to be more XML friendly.
14673
14674         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14675         if we need to output XML that should be done with a filter.
14676
14677 2001-10-22  Juergen Vigna  <jug@sad.it>
14678
14679         * sp_pspell.h (class PSpell): add alive function needed in the
14680         controller to see if the spellchecker could be started.
14681
14682 2001-10-22  Juergen Vigna  <jug@sad.it>
14683
14684         * buffer.C (insertStringAsLines): modify the font for inserting
14685         chars in certain conditions by calling checkInsertChar(font).
14686
14687 2001-10-19  Juergen Vigna  <jug@sad.it>
14688
14689         * text.C (workWidth): use getRow instead of wrong algorithm.
14690         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14691
14692 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14693
14694         * lyxserver.h:
14695         * lyxserver.C:
14696         * lyx_main.h:
14697         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14698
14699 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14700
14701         * text.C (workWidth): do not search for the exact row when
14702         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14703         optimization for big documents.
14704
14705 2001-10-18  Juergen Vigna  <jug@sad.it>
14706
14707         * text.C (workWidth): new function with added Inset * parameter.
14708
14709 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14710
14711         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14712
14713         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14714         change return type of getColumnNearX.
14715
14716
14717         * text.C (changeRegionCase): use uppercase/lowercase instead of
14718         toupper/tolower.
14719         (leftMargin):
14720         (rightMargin): simplify code by factoring out the uses of
14721         textclasslist.
14722         (labelFill):
14723         (numberOfHfills):
14724         (setHeightOfRow):
14725         (appendParagraph): use Paragraph::size_type
14726
14727 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14728
14729         * vspace.C (asLatexString): add a missing break
14730
14731 2001-10-15  Herbert Voss  <voss@perce.de>
14732
14733         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14734
14735 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14736
14737         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14738         is not available.
14739
14740 2001-10-10  André Pönitz <poenitz@gmx.net>
14741
14742         * lyxfunc.C: removed greek_kb_flag.
14743
14744 2001-10-10  Herbert Voss  <voss@perce.de>
14745
14746         * lyx_main.C: delete global string help_lyxdir.
14747
14748 2001-10-09  Herbert Voss  <voss@perce.de>
14749
14750         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14751
14752         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14753
14754         * lyx_main.C: added global string help_lyxdir.
14755
14756         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14757
14758 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14759
14760         * lyxrc.C (set_font_norm_type): support iso8859-4
14761
14762 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14763
14764         * LaTeX.C (deplog): add another regex for MikTeX
14765
14766 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14767
14768         * lyxrc.C (set_font_norm_type): support iso8859-3
14769
14770 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14771
14772         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14773
14774         * LaTeXFeatures.C: remove special case of french and index
14775
14776         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14777         before \begin{document}). This solves several incompatibilities.
14778
14779 2001-10-03  Garst Reese  <reese@isn.net>
14780
14781         * lyx_cb.C: change CheckTex error msg.
14782
14783 2001-10-03  José Matos  <jamatos@fep.up.pt>
14784
14785         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14786
14787 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14788
14789         * .cvsignore: update
14790
14791         * lyx_main.C (commandLineVersionInfo): use new style version info.
14792
14793         * buffer.C (writeFile):
14794         (makeLaTeXFile):
14795         (makeLinuxDocFile):
14796         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14797
14798         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14799
14800         * version.h: update to use stuff in version.C
14801
14802         * version.C.in: new file. Contains version information determined
14803         at compile time. This is a merging of version.h and
14804         version_info.h.in.
14805
14806 2001-10-03  Juergen Vigna  <jug@sad.it>
14807
14808         * BufferView_pimpl.C (update): don't change "dirty" status in
14809         updateInset call.
14810
14811 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14812
14813         * WorkArea.C (c-tor): re-position version string slightly.
14814
14815 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14816
14817         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14818         revert to previous code.
14819
14820         WorkArea.[Ch]: (show, destroySplash): methods removed.
14821
14822         WorkArea.C: rework code so that it's an amalgam of the codes before and
14823         after the splash screen was moved to WorkArea.
14824
14825 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14826
14827         * lyxrc.C (read):
14828         * vspace.C (inPixels):
14829         (lyx_advance):
14830         * kbmap.C (bind):
14831         * buffer.C (insertStringAsLines):
14832         (asciiParagraph): fix types to be large enough
14833
14834         * lyxlex_pimpl.h: change member status from short to int
14835
14836         * layout.h: fix type of endlabeltype
14837
14838         * kbmap.C (bind):
14839         * kbsequence.C (parse): change return type to string::size_type
14840
14841         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14842         variable
14843
14844         * Bullet.C (bulletSize):
14845         (bulletEntry): do not use short ints as parameters
14846
14847         * BufferView2.C (insertLyXFile): change a char to an int.
14848
14849         * WorkArea.C (WorkArea): remove unneeded floats in computation
14850
14851 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14852
14853         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14854
14855         * paragraph.C (asString): Do not ignore newline/hfill chars when
14856         copying to the clipboard.
14857
14858 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14859
14860         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14861         after a multi-line inset.
14862
14863 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14864
14865         * paragraph.C (validate): Set NeedLyXFootnoteCode
14866
14867 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14868
14869         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14870         and decrease-error to decrease.
14871
14872 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14873
14874         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14875         it more readable (should be equivalent)
14876
14877 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14878
14879         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14880
14881 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14882
14883         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14884         of a cursor (row, etc.) after a character has been deleted
14885         (deleteEmptyParagraphMechanism): call the method above on _all_
14886         cursors held by the LyXText when a double space has been
14887         detected/deleted.
14888
14889 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14890
14891         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14892         pixmap.
14893         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14894
14895         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14896         background. Use greyOut() and the new show() methods to toggle between
14897         the foreground and background. Add code to remove the splash after
14898         its initial showing.
14899
14900         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14901         (create_forms): no longer call Dialogs::showSplash.
14902
14903 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14904
14905         * .cvsignore: add version_info.h
14906
14907 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14908
14909         * version_info.h.in: new file
14910
14911         * Makefile.am: add version_info.h.in
14912
14913         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14914         version_info.h instead of VERSION_INFO
14915
14916 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14917
14918         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14919         The ERT inset now returns string().
14920
14921 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14922
14923         * lyxtext.h, text.C (selectNextWord): renamed as
14924         selectNextWordToSpellcheck.
14925
14926         * text.C (selectNextWordToSpellcheck): Modified to not select
14927         words inside an ERT inset.
14928
14929 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14930
14931         * lyx_cb.C (MenuLayoutSave): change a bit the question
14932
14933         * sp_base.h: include <sys/types.h>
14934
14935 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14936
14937         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14938
14939 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14940
14941         * several files: fix typos in user-visible strings
14942
14943 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14944
14945         * text2.C (pasteSelection): do not set the selection, since it
14946         will be cleared later. Actually, the intent was to fix the way the
14947         selection was set, but I figured rmoving the code was just as good.
14948
14949 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14950
14951         * FontLoader.C (available): Check if font is available without
14952         loading the font.
14953
14954 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14955
14956         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14957
14958 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14959
14960         * lyxrc.[Ch]: added display_graphics variable and associated code.
14961
14962 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14963
14964         * bufferparams.C (hasClassDefaults): new method. Returns true if
14965         the buffer parameters correspond to known class defaults
14966
14967 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14968
14969         * XFormsView.C (show): set minimum size to the main window.
14970
14971 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14972
14973         * text2.C (copySelection):
14974         (cutSelection):
14975         * lyxfind.C (LyXReplace):
14976         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14977         LyXText::selectionAsString.
14978
14979         * paragraph.C (asString): add "label" argument to the second form
14980
14981         * text2.C (selectionAsString): add "label" argument and pass it to
14982         Paragraph::asString.
14983
14984 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14985
14986         * lyx_main.C (commandLineHelp): remove version information
14987
14988 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14989
14990         * lyx_main.C: add -version commandline option
14991
14992 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14993
14994         * paragraph.h: make the optional constructor arg required instead.
14995         some modifications to other files because of this.
14996
14997         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14998
14999         * lyxserver.C (C_LyXComm_callback): make it static
15000
15001         * lyx_main.C (error_handler): make it static
15002
15003         * lyx_gui.C (LyX_XErrHandler): make it static
15004
15005         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15006
15007         * WorkArea.C: make the extern "C" methods static.
15008
15009         * Makefile.am (lyx_LDADD): simplify
15010
15011 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15012
15013         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15014         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15015
15016         * LyXAction.C (init):
15017         * lyxfunc.C (dispatch): associated code removal.
15018
15019 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15020
15021         * lyxfont.h (isSymbolFont): shut off warning
15022
15023         * text.C (setHeightOfRow):
15024         (getVisibleRow): fix crash with empty paragraphs which have a
15025         bottom line
15026
15027 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15028
15029         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15030         code.
15031
15032 2001-09-04  José Matos  <jamatos@fep.up.pt>
15033         * buffer.C
15034         * buffer.h
15035         * tabular.C (docbook): rename docBook method to docbook.
15036
15037 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15038
15039         * Makefile.am: add dependencies to main.o.
15040
15041 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15042
15043         * FontLoader.C (available): Return false if !lyxrc.use_gui
15044
15045 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15046
15047         * FontInfo.C (query):
15048         * converter.C (view):
15049         * importer.C (Import):
15050         * exporter.C (Export): Can not -> cannot.
15051
15052 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15053
15054         * BufferView_pimpl.C: allow to create index inset even if
15055           string is empty
15056
15057 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15058
15059         * buffer.C (getLists): replace boost::tie code with an explicit pair
15060         as boost::tie can break some compilers.
15061
15062         * iterators.h: Added a std:: declaration to the return type of
15063         ParIterator::size.
15064
15065 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15066
15067         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15068           case.
15069
15070 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15071
15072         * iterators.[Ch]: New files. Provide paragraph iterators.
15073
15074         * buffer.C (changeLanguage): Use paragraph iterators.
15075         (isMultiLingual): ditto
15076
15077         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15078
15079 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15080
15081         * FontLoader.C: Support for cmr font.
15082
15083 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15084
15085         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15086         (available): New method.
15087
15088         * FontInfo.C (getFontname): Use scalable fonts even when
15089         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15090         found.
15091
15092 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15093
15094         * converter.C (Formats::view): reverted! Incorrect fix.
15095
15096 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15097
15098         * converter.C (Formats::view): only output the -paper option
15099         if the dvi viewer is xdvi, thereby fixing bug #233429.
15100
15101 2001-08-23  Herbert Voss  <voss@perce>
15102
15103         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15104
15105 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15106
15107         * Spacing.h (Spacing): Set space to Default on in the default
15108         constructor.
15109
15110 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15111
15112         * vc-backend.h (RCS::versionString): add RCS to version
15113         (CVS::versionString): add CVS to version
15114
15115         * vc-backend.C (scanMaster): do not add CVS to version.
15116         (scanMaster): do not add RCS to version
15117
15118         * lyxvc.C (versionString): new method
15119
15120         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15121
15122 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15123
15124         * Spacing.C (set): initialize fval
15125
15126 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15127
15128         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15129         " or \.
15130
15131 2001-08-16  Juergen Vigna  <jug@sad.it>
15132
15133         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15134
15135 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15136
15137         * BufferView_pimpl.C:
15138         * figureForm.C:
15139         * lyxtext.h:
15140         * text2.C: setParagraph takes linespacing now
15141
15142 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15143
15144         * LyxAction.C: add internal LFUN_CITATION_INSERT
15145
15146         * LyXView.C: actually apply fix
15147
15148         * bufferlist.C: fix open non-existent file
15149
15150         * lyxfind.C: fix indentation
15151
15152         * lyxfunc.C: remove unneeded assert, fix typo
15153
15154 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15155
15156         * MenuBackend.C: use "Floatname List"
15157
15158 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15159
15160         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15161         when converting LaTeX layout to insetERT.
15162         Generate a non-collapsed float when reading old float
15163
15164 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15165
15166         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15167         ERT insets.
15168
15169 2001-08-13  Juergen Vigna  <jug@sad.it>
15170
15171         * text.C (fill): return 0 instead of 20 as this seems to be the more
15172         correct value.
15173
15174 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15175
15176         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15177         lyxrc.font_norm.
15178
15179 2001-08-13  Juergen Vigna  <jug@sad.it>
15180
15181         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15182         casesensitive off.
15183         (SearchBackward): comment out the unlocking of the inset_owner this
15184         should not be needed!
15185
15186 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15187
15188         * Many files: Remove inherit_language, and add latex_language
15189
15190         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15191         collapsible insets.
15192
15193 2001-08-10  Juergen Vigna  <jug@sad.it>
15194
15195         * text.C (prepareToPrint): fixed hfill-width in draw!
15196
15197         * BufferView2.C (selectLastWord): save the selection cursor as this
15198         now is cleared in the function LyXText::clearSelection!
15199
15200 2001-08-08  Juergen Vigna  <jug@sad.it>
15201
15202         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15203         BACKSPACE type functions.
15204
15205         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15206         is only cutted from the document but not put in the cut-buffer, where
15207         still the old stuff should be.
15208
15209         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15210
15211         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15212
15213         * tabular.C (SetWidthOfCell): fixed special case where the width
15214         was not updated!
15215         (LeftLine): handle '|' in align_special.
15216         (RightLine): ditto
15217         (LeftAlreadyDrawed): ditto
15218         (SetWidthOfCell): ditto
15219
15220 2001-08-07  Juergen Vigna  <jug@sad.it>
15221
15222         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15223
15224 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15225
15226         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15227         * lyxlex.[hC]: ditto
15228
15229 2001-08-06  Juergen Vigna  <jug@sad.it>
15230
15231         * text.C (getVisibleRow): fix up row clearing a bit.
15232
15233 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15234
15235         * minibuffer.C: make sure the X server sees the changes in the input.
15236
15237 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15238
15239         * paragraph.C (getFont): split into...
15240         (getLabelFont): this
15241         (getLayoutFont): and this
15242         * paragraph_pimpl.C (realizeFont): calling this
15243
15244         * text2.C (getFont): split into...
15245         (getLayoutFont): this
15246         (getLabelFont): and this
15247         (realizeFont): all three calling this
15248
15249         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15250         files where used.
15251
15252 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15253
15254         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15255
15256 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15257
15258         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15259         layouts from the Quote inset insertion.
15260
15261 2001-08-03  Juergen Vigna  <jug@sad.it>
15262
15263         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15264
15265         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15266         only if status not is already CHANGED_IN_DRAW (second level).
15267
15268         * text.C (draw): don't set the need_break_row when inside an
15269         InsetText LyXText.
15270
15271 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15272
15273         * buffer.C (parseSingleLyXformat2Token): handle more latex
15274         conversion cases.
15275
15276         * bufferview_funcs.[hC]: change function names to
15277         begin with small char, adjust other files.
15278
15279 2001-08-02  André Pönitz <poenitz@gmx.net>
15280
15281         * lyxfunc.C:
15282         BufferView_pimpl.C: remove broken special code for math-greek
15283
15284 2001-08-02  Juergen Vigna  <jug@sad.it>
15285
15286         * BufferView_pimpl.C (update): redone this function so that we
15287         update the text again if there was a CHANGE_IN_DRAW.
15288
15289         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15290         (drawFromTo): added a new internal bool which is used by draw() and
15291         redraw() function.
15292         (general): some cursor drawing problems fixed.
15293
15294 2001-08-01  Juergen Vigna  <jug@sad.it>
15295
15296         * lyxfind.C (LyXFind): fixed
15297         (SearchForward): ditto
15298         (SearchBackward): ditto
15299
15300         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15301         spurius drawing of the cursor in the main area.
15302
15303         * text2.C (status): small fix which could lead to a segfault!
15304         (clearSelection): remove unneeded BufferView param.
15305
15306 2001-08-01  André Pönitz <poenitz@gmx.net>
15307
15308         * lyxfunc.C: small change due to changed mathed interface
15309
15310 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15311
15312         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15313
15314 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15315
15316         * lyxfunc.c: fail gracefully if file doesn't exist
15317
15318         * LyXSendto.C:
15319         * buffer.C:
15320         * lyxfunc.C:
15321         * BufferView_pimpl.C: IsDirWriteable() proto changed
15322
15323         * LyXView.C: fix updateWindowTitle() to store the last title
15324
15325 2001-07-31  Juergen Vigna  <jug@sad.it>
15326
15327         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15328         the font (wrong since using of Paragraph::highestFontInRange).
15329
15330         * paragraph.C (highestFontInRange): added a default_size parameter.
15331
15332         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15333         (setHeightOfRow): reformat
15334
15335 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15336
15337         * converter.[hC] + affected files: move to (inital-char)lowercase
15338         function names.
15339
15340         * ParagraphParameters.C (ParagraphParameters): remove commented code
15341
15342         * PainterBase.[Ch]: remove commented code
15343
15344         * LaTeXFeatures.h: add "bool floats" for float.sty
15345
15346         * LaTeXFeatures.C (LaTeXFeatures): init floats
15347         (require): handle float
15348         (getPackages): do it with floats
15349
15350 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15351
15352         * BufferView_pimpl.C (Dispatch): improve handling of
15353         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15354
15355         * commandtags.h: #include lyxfont.h here temporarily to avoid
15356         keybinding bug.
15357
15358         * bufferlist.h: include LString.h here.
15359
15360 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15361
15362         * text2.C (getStringToIndex): new method.
15363
15364 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15365
15366         * *: Reduced header file dependencies all over.
15367
15368 2001-07-30  Baruch Even  <baruch@lyx.org>
15369
15370         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15371
15372 2001-07-29  Baruch Even  <baruch@lyx.org>
15373
15374         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15375
15376 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15377
15378         * ParameterStruct.h (endif): add a default constructor to make
15379         sure that all variables is initialized.
15380
15381         * ParagraphParameters.C (ParagraphParameters): adjust
15382
15383 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15384
15385         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15386         index; also, check that there is something to index, and that it
15387         does not span over several paragraphs.
15388         (doubleClick): use WHOLE_WORD_STRICT for double click.
15389
15390         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15391
15392         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15393         scheme.
15394
15395 2001-07-26  Baruch Even  <baruch@lyx.org>
15396
15397         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15398         an InsetFig figure, backwards compatible reading of old figure code.
15399
15400 2001-07-27  Juergen Vigna  <jug@sad.it>
15401
15402         * text2.C: font.realize function adaption.
15403
15404         * text.C (draw): add a warnings lyxerr text if needed.
15405
15406         * layout.C: font.realize function adaption.
15407
15408         * language.C: add inherit_language and implement it's handlings
15409
15410         * bufferview_funcs.C (StyleReset): remove language parameter from
15411         font creation (should be language_inherit now).
15412
15413         * bufferparams.C (writeFile): handle ignore_language.
15414
15415         * paragraph.C (getFontSettings): the language has to be resolved
15416         otherwise we have problems in LyXFont!
15417
15418         * lyxfont.C (lyxWriteChanges): added document_language parameter
15419         (update): removed unneeded language parameter
15420
15421         * paragraph.C (validate): fixed wrong output of color-package when
15422         using interface colors for certain fonts in certain environments,
15423         which should not seen as that on the final output.
15424
15425 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15426
15427         * BufferView_pimpl.C:
15428         * Thesaurus.h:
15429         * Thesaurus.C:
15430         * Makefile.am:
15431         * commandtags.h:
15432         * LyXAction.C: add thesaurus support
15433
15434         * lyxfind.h:
15435         * lyxfind.C: add "once" parameter, for thesaurus, to not
15436           move to the next match
15437
15438 2001-07-26  Juergen Vigna  <jug@sad.it>
15439
15440         * lyxfont.C (realize): honor ignore_language too!
15441         (resolved): ditto.
15442
15443         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15444
15445         * text.C (draw): one place more for ignore_language to not draw
15446         itself!
15447
15448 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15449
15450         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15451
15452 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15453
15454         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15455         the minipage conversion problem.
15456
15457 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15458
15459         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15460         insert an inset.
15461
15462 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15463
15464         * BufferView.h: don't forward declare WorkArea
15465
15466         * BufferView.C: don't include WorkArea.h
15467
15468 2001-07-25  André Pönitz <poenitz@gmx.net>
15469
15470         * commandtags.h:
15471         * LyXAction.C:
15472         * lyxfunc.C:  new LFUN 'math-space'
15473
15474         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15475
15476 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15477
15478         * text2.C (toggleInset): call open/close
15479
15480 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15481
15482         * lyxfunc.C (dispatch): add debug for the disabled case
15483
15484         * font.C (buttonText): make similar to rectText
15485
15486         * buffer.C (readInset): comment out parsing of insetlist and
15487         insttheorem
15488
15489         * PainterBase.C (rectText): small correction
15490
15491         * BufferView_pimpl.C: comment out insettheorem and insetlist
15492         * LyXAction.C: ditto
15493         * commandtags.h: ditto
15494
15495 2001-07-24  Juergen Vigna  <jug@sad.it>
15496
15497         * text.C (draw): honor the ignore_language.
15498
15499         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15500
15501 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15502
15503         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15504         char inset.
15505
15506 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15507
15508         * lyxtext.h: remove unused (and unimplemented) methods
15509
15510 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15511
15512         * text.C (getVisibleRow): honor background color
15513
15514         * PainterBase.h:
15515         * Painter.h: remove default color argument for fillRectangle
15516
15517         * text.C (backgroundColor): new method
15518
15519 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15520
15521         * text.C (getVisibleRow): adjust
15522
15523         * font.[Ch] (rectText): new method, metrics
15524         (buttonText): new method, metrics
15525
15526         * PainterBase.[hC]: make rectText and buttonText always draw and take
15527         fewer paramteres.
15528
15529 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15530
15531         * ToolbarDefaults.C (read):
15532         * MenuBackend.C (read): allow escaping in all strings
15533
15534         * BufferView_pimpl.C (insertAndEditInset): new method.
15535         (Dispatch): use insertAndEditInset whenever appropriate.
15536
15537         * BufferView_pimpl.C (insertNote): removed
15538
15539         * BufferView_pimpl.C (smartQuote): new method, moved from
15540         BufferView; if an insetquote cannot be inserted, insert a '"'
15541         character instead.
15542
15543         * BufferView2.C: remove insertCorrectQuote();
15544
15545         * lyxfunc.C (getStatus): Add support for all remaingin
15546         inset-insert lfuns.
15547
15548         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15549
15550         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15551         command (necessary to pass " as parameter of self-insert.
15552
15553         * text.C (selectWordWhenUnderCursor):
15554         (selectWord): add word_location parameter
15555         (selectWordWhenUnderCursor): same + remove special code for word
15556         boundary.
15557         (selectNextWord): use kind() to guess type of insetspecialchar,
15558         not latex().
15559
15560         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15561         (insertErtContents): create ert insets as collapsed.
15562         (readInset): better compatibility code for Info inset.
15563
15564 2001-07-20  Juergen Vigna  <jug@sad.it>
15565
15566         * lyxfunc.C (dispatch): use always LyXFind now!
15567
15568         * text2.C (init): add a reinit flag so that the LyXText can be
15569         reinited instead of deleted and reallocated (used in InsetText).
15570
15571         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15572
15573         * text.C: ditto
15574
15575         * text2.C: ditto
15576
15577 2001-07-18  Juergen Vigna  <jug@sad.it>
15578
15579         * text.C (selectNextWord): handle insets inside inset by calling
15580         always the bv->text functions so that we can go up the_locking_inset!
15581
15582         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15583         in strange locations when inside an inset!
15584
15585         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15586         handling to include insets.
15587
15588         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15589
15590 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15591
15592         * LyXAction.C (init):
15593         * commandtags.h:
15594         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15595         LIGATURE_BREAK, since the name is so stupid.
15596
15597 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15598
15599         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15600         InsetInfos.
15601
15602         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15603
15604         * sp_form.[Ch]: remove.
15605
15606         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15607
15608         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15609         InsetInfo.
15610
15611         * src/buffer.C (readInset): ditto.
15612
15613 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15614
15615         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15616         menuSeparator(), endOfSentenceDot(), ldots() and
15617         hyphenationPoint(), which are therefore removed.
15618         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15619
15620         * LyXAction.C (init):
15621         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15622
15623         * paragraph.C (getWord): removed.
15624
15625         * BufferView_pimpl.C (Dispatch): use last word or selection for
15626         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15627
15628         * lyx_main.C (queryUserLyXDir): do not ask before creating
15629         user_dir, except if it has been named explicitely.
15630
15631 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15632
15633         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15634         a document of zero size.
15635
15636 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15637
15638         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15639         approriately in the c-tor and in require().
15640         (getPackages): output the appropriate LaTeX for natbib support.
15641
15642         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15643         variables "use_natbib" and "use_numerical_citations" when reading the
15644         LyX file.
15645         (readInset): read the various natbib cite commands.
15646         (validate): white-space change.
15647
15648         * bufferparams.[Ch]: new variables "bool use_natbib" and
15649         "bool use_numerical_citations".
15650         (writeFile): output them in the LyX file.
15651
15652 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15653
15654         * lyxfunc.C (getStatus): add support for all the inset insertion
15655         commands.
15656
15657         * text2.C (insertInset):
15658         * paragraph.C (insetAllowed):
15659         * BufferView_pimpl.C (insertInset): update to take in account the
15660         renaming of insertInsetAllowed
15661
15662         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15663
15664         * text2.C (getInset): new method. returns inset at cursor position.
15665
15666         * BufferView_pimpl.C (Dispatch): changes because of this.
15667
15668         * LyXAction.C (init): rename open-stuff to inset-toggle.
15669
15670         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15671
15672         * text2.C (toggleInset): renamed from openStuff; use
15673         Inset::open().
15674
15675 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15676
15677         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15678
15679         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15680
15681 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15682
15683         * buffer.C (readLyXformat2): Add filename to the error dialog
15684
15685 2001-07-18  Juergen Vigna  <jug@sad.it>
15686
15687         * tabular.C (GetCellNumber): put an assert here instead of the check!
15688
15689 2001-07-17  Juergen Vigna  <jug@sad.it>
15690
15691         * BufferView_pimpl.C (toggleSelection): adapted too.
15692
15693         * text.C (selectNextWord): adapted for use with insets.
15694         (selectSelectedWord): ditto
15695
15696 2001-07-17  Juergen Vigna  <jug@sad.it>
15697
15698         * sp_spell.C (PSpell): fix initialitation order.
15699
15700 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15701
15702         * paragraph.C: spacing
15703
15704 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15705
15706         * sp_spell.C: repair language selection for pspell
15707
15708 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15709
15710         * lyxfunc.h: change more methods to begin with lower char.
15711
15712 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15713
15714         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15715         for unknown layouts.
15716
15717 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15718
15719         * buffer.C (readLyXformat2): Generate an error dialog if there are
15720         unknown layouts.
15721
15722 2001-07-16  Juergen Vigna  <jug@sad.it>
15723
15724         * sp_spell.C: always compile ISpell part.
15725
15726         * lyxrc.C: added use_pspell entry and it's handling.
15727
15728 2001-07-13  Juergen Vigna  <jug@sad.it>
15729
15730         * sp_spell.C: removed double includes.
15731
15732 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15733
15734         Consistent use of Lsstream.h:
15735         * Lsstream.h: added using std::stringstream for consistencies sake.
15736
15737         * buffer.C: removed using std::stringstream
15738
15739         * lyxfont.C (stateText):
15740         * paragraph.C (asString):
15741         * text.C (selectNextWord, selectSelectedWord):
15742         * text2.C (setCounter):
15743         * vspace.C (asString, asLatexString):
15744         std::ostringstream -> ostringstream.
15745
15746 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15747
15748         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15749         * commandtags.h: add LFUN_HELP_ABOUTLYX
15750         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15751
15752 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15753
15754         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15755         cursorToggle()
15756         * lyx_gui_misc.C: remove spellchecker
15757         * lyxfunc.C: showSpellchecker
15758         * sp_base.h: added
15759         * sp_ispell.h: added
15760         * sp_pspell.h: added
15761         * sp_spell.C: added
15762         * sp_form.[Ch]: removed
15763         * spellchecker.[Ch]: removed
15764
15765 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15766
15767         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15768         is set.
15769         (simpleTeXSpecialChars): Simply print the input character without
15770         any special translation if pass_thru is set.
15771
15772         * layout.h: Added bool pass_thru to layout class for being able to
15773         implement pass through of a paragraph for Literate Programming.
15774
15775         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15776         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15777         * layout.C (Read): add "passthru" to list of layout tags and add
15778         code to set the pass_thru boolean when it is read.
15779
15780 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15781
15782         * trans_decl.h: remove allowed from KmodInfo
15783
15784         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15785         remove allowed code
15786         (Load): adjust
15787
15788         * paragraph_pimpl.C (erase): use boost::prior
15789
15790         * Painter.C (text): use data() instead of c_str() when length is
15791         also provided.
15792         * WorkArea.C (putClipboard): ditto
15793         * font.h (width): ditto
15794
15795         * BufferView2.C: use it-> instead of (*it). for iterators
15796         * texrow.C: ditto
15797         * paragraph_pimpl.C: ditto
15798         * paragraph.C: ditto
15799         * minibuffer.C: ditto
15800         * language.C: ditto
15801         * kbmap.C: ditto
15802         * encoding.C: ditto
15803         * counters.C: ditto
15804         * converter.C: ditto
15805         * chset.C: ditto
15806         * Variables.C: ditto
15807         * TextCache.C: ditto
15808         * MenuBackend.C: ditto
15809         * LyXAction.C: ditto
15810         * LColor.C: ditto
15811         * FloatList.C: ditto
15812         * DepTable.C: ditto
15813         * ColorHandler.C (LyXColorHandler): ditto
15814
15815 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15816
15817         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15818
15819         * text2.C (openStuff): reintroduce this method (which had been
15820         nuked in NEW_INSETS frenzy).
15821
15822         * lyxfunc.C (Dispatch): when an action has not been handled, use
15823         its name in the error message, not its number.
15824
15825         * paragraph.C (inInset): change method name to begin with lowercase.
15826
15827         * undo_funcs.C:
15828         * text2.C: updates because of this.
15829
15830 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15831
15832         * ToolbarDefaults.C (add): add spaces in error message
15833
15834 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15835
15836         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15837         (readLyXformat2): rename return_par to first_par, use lyxlex's
15838         pushToken and remove the manual push handling.
15839         (parseSingleLyXformat2Token): add another ert comp. variable:
15840         in_tabular, rename return_par to first_par. handle newlines better
15841
15842 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15843
15844         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15845
15846 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15847
15848         * text2.C (getParFromID): removed
15849
15850         * buffer.C (getParFromID): new method moved form lyxtext.
15851         * BufferView2.C (insertErrors): adjust
15852         (setCursorFromRow): adjust
15853         * BufferView_pimpl.C (restorePosition): adjust
15854         * lyxfunc.C (Dispatch): adjust
15855         * undo_funcs.C (textUndo): adjust
15856         (textRedo): adjust
15857         (textHandleUndo): adjust
15858         (textHandleUndo): adjust
15859
15860 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15861
15862         * buffer.C: up' the LYX_FORMAT
15863
15864         * lyxfont.h: turn NO_LATEX on as default
15865
15866         * buffer.C (insertErtContents): new methods of tex style compability.
15867         (parseSingleLyXformat2Token): use it several places.
15868         * tabular.C (OldFormatRead): and here
15869
15870 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15871
15872         * text2.C: remove some commented code.
15873         reindent file.
15874
15875         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15876         * trans.C: changes because of the above.
15877
15878 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15879
15880         * text2.C (setCounter): Fix counters bug with bibliography layout.
15881
15882 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15883
15884         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15885         own member functions
15886         (simpleTeXSpecialChars): ditto
15887
15888 2001-07-06  Juergen Vigna  <jug@sad.it>
15889
15890         * a lot of files: changed the access to LyXText::status and the
15891         call of undo-functions.
15892
15893         * undo.[Ch]: added a inset_id to the undo informations.
15894
15895         * undo_funcs.[Ch]: added and moved here all undo functions.
15896
15897         * lyxtext.h: give the status enum a weight, made status_ a private
15898         variable and made accessor functions for it, removed the whole bunch
15899         of undo-functions as they are now in their own file, make some
15900         functions publically available. Added function ownerParagraph with
15901         int parameter.
15902
15903         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15904         made InInset() a const function, added getParFromID() function.
15905
15906         * buffer.[Ch]: added const version for inset_iterator functions,
15907         added getInsetFromID() function.
15908
15909         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15910         changed undo functions for new version.
15911
15912 2001-07-05  Juergen Vigna  <jug@sad.it>
15913
15914         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15915         unknow mechanism does not call the proper constructor but only this
15916         one also if I request the other!?
15917
15918 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15919
15920         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15921
15922         * text2.C (LyXText): use initialization lists.
15923
15924         * lyxtext.h (Selection): initialize set_ and mark_
15925         (init): remove method
15926
15927 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15928
15929         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15930
15931 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15932
15933         * screen.[Ch]: change method names to begin with lowercase
15934
15935         * BufferView_pimpl.C (updateScrollbar): simplify further and
15936         hopefully make it a bit faster.
15937
15938 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15939
15940         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15941         calling directly xforms functions.
15942
15943         * Painter.C (Painter):
15944         * lyx_cb.C (MenuWrite):
15945         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15946         fl_display.
15947
15948         * lyx_gui.C: remove bogus guiruntime extern declaration.
15949
15950 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15951
15952         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15953         in NEW_INSETS
15954         (redoDrawingOfParagraph): ditto
15955         (redoParagraphs): ditto
15956         (cutSelection): don't create a object for CutAndPaste use the
15957         static method directly
15958         (pasteSelection): ditto
15959
15960         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15961         LyXview (+ rename)
15962
15963 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15964
15965         * modifications to some other files because of this.
15966
15967         * Makefile.am (lyx_SOURCES): add XFormsView
15968
15969         * XFormsView.[Ch]: new files
15970
15971         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15972         the main window. Move the gui dependent stuff to XFormsView
15973
15974 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15975
15976         * tabular.C (GetCellInset): update cur_cell also in the row/col
15977         version of this function.
15978
15979         * lyxfunc.C: no need to include figure_form.h here.
15980
15981         * FontLoader.h:
15982         * lyxfunc.h:
15983         * lyxscreen.h:
15984         * text2.C:
15985         * lyxvc.C: no need to include forms.h here.
15986
15987 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15988
15989         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15990
15991         * lyxfunc.C (Dispatch):
15992         * Spacing.C (set):
15993         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15994         constructor argument.
15995
15996 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15997
15998         * paragraph.C (Paragraph): dont't clear, and just set layout.
15999         (makeSameLayout): use params's copy contructor.
16000
16001         * ParagraphParameters.[Ch] (makeSame): delete method
16002
16003 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16004
16005         * Variables.[Ch]: fix indentation, rename set to isSet
16006
16007 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16008
16009         * lyxfunc.C (Dispatch): fix typo
16010
16011 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16012
16013         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16014         upper_bound.
16015
16016         * bufferlist.C: include assert.h for emergencyWrite().
16017
16018 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16019
16020         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16021           give up at last (bug #425202) !
16022
16023 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16024
16025         * lyx_gui_misc.C:
16026         * sp_form.h:
16027         * sp_form.C:
16028         * spellchecker.h:
16029         * spellchecker.C: strip spellchecker options and bring up
16030           preferences tab instead
16031
16032 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16033
16034         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16035         the istringstream constructor
16036
16037 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16038
16039         * paragraph.C (getLayout): fix return value
16040
16041         * paragraph.h: do not declare getLayout as inline.
16042
16043         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16044
16045 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16046
16047         * lyxcursor.h (operator<): new func
16048         (operator>): new func
16049         (operator>=): new func
16050         (operator<=): new func
16051
16052         * text.C (changeCase): use selection.start and selection.end
16053         (changeRegionCase): require from to be <= to. Require par to be a
16054         valid paragraph.
16055
16056         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16057
16058 2001-06-27  Juergen Vigna  <jug@sad.it>
16059
16060         * text.C (cursorLeftOneWord): changed to return the cursor and added
16061         overlay with BufferView * parameter which calls this one.
16062         (getWord): added
16063         (selectWord): use new getWord function.
16064         (changeCase): renamed from changeWordCase as and extended to work
16065         also on selections.
16066
16067         * lyxtext.h: added enum word_location
16068
16069         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16070         changeCase as this operates now also on selections.
16071
16072 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16073
16074         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16075
16076         * many files: send debug output to Debug::INFO instead of
16077         Debug::ANY.
16078
16079         * converter.C (View):
16080         (Convert):
16081         (Move): send debug output to Debug::FILES instead of console.
16082
16083 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16084
16085         * lyxfunc.C (getStatus): use func_status
16086
16087         * func_status.h: new header, describing the results of
16088         LyXFunc::getStatus;
16089
16090         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16091         LFUN_MATH_HALIGN.
16092
16093 2001-06-25  The LyX Project  <jug@sad.it>
16094
16095         * buffer.C (sgmlOpenTag):
16096         (sgmlCloseTag):
16097         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16098
16099 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16100
16101         * text2.C: remove some dead code
16102
16103         * tabular.C (GetCellInset): store the last cell checked (gotten)
16104
16105         * tabular.h: add the helper for the speedup
16106
16107         * lyxtext.h: remove some dead code
16108
16109 2001-06-26  The LyX Project  <Asger>
16110
16111         * paragraph.C: Change export to LaTeX of alignment to
16112         \begin{center} and family for better roundtrip work with reLyX.
16113
16114         * Tune the math drawing a bit.
16115
16116 2001-06-25  The LyX Project  <Asger>
16117
16118         * LColor.C (LColor): New color for math background. New color
16119         for buttons.
16120
16121 2001-06-25  The LyX Project  <jug@sad.it>
16122
16123         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16124
16125         * lyxfunc.C (Open):
16126         * bufferlist.C (newFile): do not restrict to files ending with
16127         .lyx
16128
16129         * BufferView_pimpl.C (MenuInsertLyXFile):
16130
16131 2001-06-24  The LyX Project  <jug@sad.it>
16132
16133         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16134         of compare_no_case
16135
16136 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16137
16138         * lyxtext.h: rename most methods to begin with a small char.
16139         Lots of changes because of this.
16140
16141         * paragraph.C (Paragraph): do not call fitToSize
16142         (erase): call Pimpl::erase
16143         (insertChar): call Pimpl::insertChar
16144         (insertInset): call Pipl::insertInset
16145         (breakParagraph): do not call fitToSize
16146         (breakParagraphConservative): do not call fitToSize
16147         (fitToSize): remove method
16148
16149         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16150
16151 2001-06-24  The LyX Project  <Asger>
16152
16153         * Fix Qt compilation^2
16154
16155 2001-06-24  The LyX Project  <jug@sad.it>
16156
16157         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16158         depthHook(getDepth()-1).
16159
16160         * paragraph.h:
16161         * ParagraphParameters.h:
16162         * ParameterStruct.h: change type of depth to unsigned int ==
16163         depth_type. Many adaptations to other files before of that.
16164
16165 2001-06-24  The LyX Project  <Asger>
16166
16167         * Fix Qt compilation.
16168
16169 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16170
16171         * paragraph.h: renamed several methods to begin with small letter.
16172         several changes to many parts of the code because of this.
16173
16174 2001-06-23  The LyX Project  <jug@sad.it>
16175
16176         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16177         rewritten to discard all double spaces when KeepEmpty is off
16178         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16179         to only handle newlines but not fiddle with spaces and friends.
16180
16181         * lyxfunc.C (MenuNew): when doing 'new from template', use
16182         template_path as default directory
16183
16184 2001-06-23  The LyX Project  <Asger>
16185
16186         * Clean-up of header file includes all over
16187         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16188
16189 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16190
16191         * paragraph.h: renamed from lyxparagraph.h
16192
16193 2001-06-23  Asger  <lyx@violet.home.sad.it>
16194
16195         * Buffer.h: Removed Buffer::resize
16196         * BufferList.h: Removed BufferList::resize
16197         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16198         the document lazily when we change the width, or the font settings.
16199
16200 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16201
16202         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16203
16204 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16205
16206         * buffer.h: remove out of date comment
16207
16208 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16209
16210         * lyxscreen.h:
16211         * screen.C: fix "theoretical" GC leak
16212
16213 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16214
16215         * LaTeX.C (scanAuxFile):
16216         (deplog): remove trailing \r when reading stream (useful under
16217         win32)
16218
16219 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16220
16221         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16222         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16223         and BufferView::theLockingInset(Inset*), so should use them and not
16224         access bv_->text->the_locking_inset directly.
16225
16226         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16227
16228 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16229
16230         * Makefile.am:
16231         * tex-defs.h: remove old unused file
16232
16233 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16234
16235         * BufferView_pimpl.C: fix typo, remove minibuffer message
16236           when buffer has loaded
16237
16238 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16239
16240         * lyxfunc.C (Dispatch): use stringstream
16241         (MenuNew): use stringstream
16242         (Open): use stringstream
16243
16244         * importer.C (Import): use stringstream
16245
16246         * bufferview_funcs.C (CurrentState): use stringstream
16247
16248         * LaTeX.C (run): use stringstream
16249
16250         * BufferView_pimpl.C (savePosition): use stringstream
16251         (restorePosition): use stringstream
16252         (MenuInsertLyXFile): use stringstream
16253
16254 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16255
16256         * BufferView.C:
16257         * Bullet.C:
16258         * ColorHandler.C:
16259         * FontInfo.C:
16260         * FontLoader.C:
16261         * LColor.C:
16262         * LaTeXFeatures.C:
16263         * Painter.C:
16264         * gettext.C:
16265         * lyx_gui_misc.C:
16266         * lyxserver.C:
16267         * vspace.C: removed // -*- C++ -*- as first line.
16268
16269         * lyxfind.h:
16270         * version.h: added // -*- C++ -*- as first line.
16271
16272 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16273
16274         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16275
16276         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16277         of string
16278
16279 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16280
16281         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16282         of floats.
16283
16284 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16285
16286         * gettext.C: include LString.h even when --disable-nls is on.
16287
16288 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16289
16290         * converter.h (Get): changed argument type from int to
16291         FormatList::size_type to avoid unnecessary conversion.
16292
16293         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16294         before using it.
16295
16296 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16297
16298         * gettext.h: include LString.h even when --disable-nls is on.
16299
16300 2001-06-07  Juergen Vigna  <jug@sad.it>
16301
16302         * text.C (BreakAgain): subst spaces with tabs.
16303
16304         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16305         (resizeInsetsLyXText): set force on resizeLyXText.
16306
16307 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16308
16309         * gettext.h (gettext_init):
16310         (locale_init): use a real definition instead of a macro
16311
16312 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16313
16314         * Bufferview_pimpl.C:
16315         * LColor.h:
16316         * LColor.C: further lcolor tidies
16317
16318 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16319
16320         * BufferView_pimpl.C (updateScrollbar): simplify.
16321
16322         * BufferView2.C: don't include insets/insetinfo.h, change
16323         prototype for insertInset and call the Pimpl version. let
16324         updateInset call Pimpl version.
16325
16326         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16327         gotoInset to BufferView::Pimpl
16328
16329 2001-06-01  Juergen Vigna  <jug@sad.it>
16330
16331         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16332         inside a LockingInset (is the update needed at all?).
16333
16334 2001-05-31  Juergen Vigna  <jug@sad.it>
16335
16336         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16337         here not the old one otherwise how should we compare it afterwards
16338         if it's the same!
16339
16340 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16341
16342         * lyxfont.C:
16343         * tabular.C:
16344         * tabular-old.C:
16345         * FontInfo.C: bring C functions into global namespace when
16346         necessary
16347
16348 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16349
16350         * LString.h: make sure config.h has been loaded before LString.h.
16351
16352         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16353         (one for each char read by EatLine!).
16354
16355         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16356         variables.
16357
16358 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16359
16360         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16361         to the same as the par we break from
16362
16363 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16364
16365         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16366
16367         * MenuBackend.C (expand): also create menu entries for wide
16368         versions of the floats.
16369
16370         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16371
16372         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16373
16374         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16375         frontends/Makefile.am
16376
16377         * text2.C: adjust
16378         * text.C: adjust
16379
16380
16381         * tabular.C (getTokenValue): add std::
16382
16383         * tabular-old.C (getTokenValue): add std::
16384         (getTokenValue): ditto
16385         (getTokenValue): ditto
16386
16387         * screen.C (ToggleSelection): adjust
16388
16389         * lyxtext.h: put selection cursors inside a Selection struct.
16390
16391         * lyxfunc.C (moveCursorUpdate): adjust
16392
16393         * lyxfont.C (latexWriteStartChanges): add std::
16394
16395         * lyxfind.C: adjust
16396
16397         * font.h: delete with(char const *, LyXFont const &)
16398
16399         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16400
16401         * FontInfo.C (getFontname): add std::
16402
16403         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16404         (workAreaButtonPress): adjust
16405         (tripleClick): adjust
16406         (update): adjust
16407         (moveCursorUpdate): adjust
16408         (Dispatch): adjust
16409
16410         * BufferView2.C (gotoInset): adjust
16411
16412 2001-05-30  Juergen Vigna  <jug@sad.it>
16413
16414         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16415         to check pspell I add this as default as I now have new pspell
16416         libraries and they seem to use this.
16417
16418 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16419
16420         * text2.C (CutSelection): make the cursor valid before the call to
16421         ClearSelection.
16422
16423 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16424
16425         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16426         relied on 0 terminated strings and other horrors. Bug found due to
16427         the new assert in lyxstring!
16428
16429         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16430         KP_ keys.
16431
16432 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16433
16434         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16435         to latinkeys.bind.
16436
16437         * lyxfunc.C (processKeySym): change method of getting to the
16438         self-insert char.
16439
16440         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16441         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16442         * BufferView_pimpl.[Ch]: here as private methods.
16443
16444 2001-05-28  Juergen Vigna  <jug@sad.it>
16445
16446         * text.C (SetHeightOfRow): added the update() call again as it is
16447         needed to initialize inset dimensions!
16448
16449 2001-05-16  Juergen Vigna  <jug@sad.it>
16450
16451         * text2.C (SetCharFont): Add new function with BufferView * and
16452         bool toggleall parameters for setting insets internal fonts.
16453         (SetFont): Freeze the undo as we may change fonts in Insets and
16454         all this change should be inside only one Undo!
16455
16456         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16457         setting font's in insets as for them we have the SetFont function!
16458
16459 2001-05-15  Juergen Vigna  <jug@sad.it>
16460
16461         * text2.C (ClearSelection): to be sure we REALLY don't have any
16462         selection anymore!
16463
16464         * tabular.C (TeXCellPreamble): fixed the left border problem for
16465         multicolumn cells.
16466
16467 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16468
16469         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16470         dependancy file
16471
16472 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16473
16474         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16475         LFUN_BREAKPARAGRAPH.
16476
16477         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16478         help test to "internal only", similar for LFUN_INSERT_URL
16479
16480         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16481         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16482         auto_region_delete and deadkeys.
16483
16484 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16485
16486         * LColor.h:
16487         * LColor.C: remove some dead entries, tidy a little
16488
16489 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16490
16491         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16492         commented code.
16493         (Dispatch): implement LFUN_ESCAPE
16494
16495         * commandtags.h: add LFUN_ESCAPE
16496
16497         * LyXAction.C (init): add entry for LFUN_ESCAPE
16498
16499         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16500         Remove commented code.
16501         (insertNote): moved here
16502         (open_new_inset): moved here
16503
16504         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16505         BufferView_pimpl
16506
16507 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16508
16509         * kbmap.C (findbinding): clean it up and make it work correctly.
16510
16511         * lyx_main.C (init): do not pass argc and argv as parameters
16512
16513 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16514
16515         * buffer.C: fix path for OS/2 & Win32
16516
16517         * lyx_gui.C:
16518         * lyx_main:
16519         * lyx_main.C: Added os:: class.
16520
16521         * os2_defines.h: update
16522
16523 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16524
16525         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16526         better by trying again with reduced state.
16527
16528 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16529
16530         * lyxrc.C (read): print error about invalid key sequence only when
16531         debugging (because not all latinX keysyms are known to some X
16532         servers)
16533
16534         * kbsequence.C (getiso): add a few std:: qualifiers
16535         (getiso): comment out extra return statement.
16536
16537 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16538
16539         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16540         handling.
16541         (Dispatch): enhance the accent inset a bit. (not perfect)
16542
16543 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16544
16545         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16546
16547 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16548
16549         * bufferlist.C (emergencyWrite): fix assert() call
16550
16551 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16552
16553         * text.C (InsertChar): Added trivial patch to only send the "you
16554         can not do multiple spaces this way" message once during a
16555         session.
16556
16557 2001-05-08  Baruch Even  <baruch@lyx.org>
16558
16559         * Makefile.am: Changed order of libraries to get LyX to link properly
16560         with the gnome frontend.
16561
16562 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16563
16564         * LaTeXFeatures.h: add a std:: qualifier
16565
16566 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16567
16568         * paragraph.C (String): use stringstream
16569
16570 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16571
16572         * paragraph.C (writeFile): remove footflag arg
16573
16574         * buffer.C (makeLaTeXFile): use stringstream
16575         (latexParagraphs): remove footnot gurba
16576
16577         * LaTeXFeatures.C (getPackages): use stringstream
16578         (getMacros): likewise
16579         (getTClassPreamble): likewise
16580         (getFloatDefinitions): new method
16581
16582         * paragraph.C (writeFile): reindent
16583         (Erase): reindent
16584
16585         * WorkArea.h: revert the xpos + etc changes.
16586
16587         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16588
16589         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16590
16591         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16592         (pasteSelection): likewise
16593         * text2.C (CreateUndo): likewise
16594
16595 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16596
16597         * minibuffer.C (peek_event): temporarily reduce the functionality
16598         of the minibuffer (to allow args on lfuns)
16599
16600         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16601         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16602
16603         * buffer.C (readInset): add compability reading of old float
16604         lists, add reading of new style float list.
16605         (readInset): avoid reevaluation of inscmd.getCmdName()
16606         (getLists): reindent
16607
16608         * MenuBackend.C (MenuItem): implement parsing of
16609         md_floatlistinsert and md_floatinsert.
16610         (expand::LastFiles): move initalizaton of iterators out of loop,
16611         avoid reevaluation.
16612         (expand::Documents): introduce typdedef vector<string> Strings,
16613         and use it.
16614         (expand::ExportFormats): introduce typedef vector<Format const *>
16615         Formats, and use it.
16616         (expand): implement FloatListInsert and FloatInsert.
16617
16618         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16619         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16620         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16621
16622         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16623         handling.
16624         (Dispatch::LFUN_FLOAT_LIST): implement
16625
16626 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16627
16628         * LaTeX.C (run): Fix problem with --export code.
16629
16630 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16631
16632         * BufferView.[Ch] (workarea): removed.
16633         (getClipboard) new method; wrapper for workarea()->getClipboard()
16634
16635         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16636         bug.
16637
16638         * WorkArea.h (width, height, xpos, ypos): These methods all
16639         returned the dimensions of the work_area sub-area of WorkArea,
16640         resulting in a position error if the WorkArea were resized. Now
16641         return the dimensions of the entire WorkArea.
16642
16643         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16644
16645 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16646
16647         * LaTeX.C (deplog): correct the syntax of regex reg1
16648
16649 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16650
16651         * undo.C: remove !NEW_INSETS cruft
16652
16653 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16654
16655         * text2.C: remove !NEW_INSETS cruft
16656
16657         * text.C: remove !NEW_INSETS cruft
16658
16659         * tabular.C: remove !NEW_INSETS cruft
16660
16661         * spellchecker.C: remove !NEW_INSETS cruft
16662
16663         * lyxtext.h: remove !NEW_INSETS cruft
16664
16665         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16666
16667         * lyxfunc.C: remove !NEW_INSETS cruft
16668
16669         * lyxfind.C: remove !NEW_INSETS cruft
16670
16671         * lyx_cb.C: remove !NEW_INSETS cruft
16672
16673         * figureForm.C: remove  !NEW_INSETS cruft
16674
16675         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16676
16677         * buffer.[Ch]: remove !NEW_INSETS cruft
16678
16679         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16680
16681         * CutAndPaste.C: remove !NEW_INSETS cruft
16682
16683         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16684
16685         * BufferView2.C: remove !NEW_INSETS cruft
16686
16687         * BufferView.h: remove !NEW_INSETS cruft
16688
16689 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16690
16691         * Lsstream.h: include LString.h before the sstream headers to
16692         fix problem with gcc 2.95.3 and lyxstring
16693
16694 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16695
16696         * lyx_main.C: add using directives when needed for C functions
16697         declared in std:: namespace.
16698
16699 2001-04-27  Juergen Vigna  <jug@sad.it>
16700
16701         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16702         (SetHeightOfRow): comment out the update call should not be needed!
16703
16704 2001-04-13  Juergen Vigna  <jug@sad.it>
16705
16706         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16707         (LyXTabular): tried to minimize operator= operations (and realized
16708         hopfully Lars wish).
16709
16710 2001-04-27  Juergen Vigna  <jug@sad.it>
16711
16712         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16713
16714 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16715
16716         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16717
16718         * buffer.C (readInset): hack to make listof algorithm work
16719
16720         * BufferView_pimpl.C: hack to make listof algorithm work
16721
16722 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16723
16724         * LyXAction.C: removed all !NEW_INSETS cruft
16725         (init): moved lfun_item in method
16726
16727         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16728
16729 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16730
16731         * BufferView2.C (theLockingInset): white space.
16732
16733 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16734
16735         * minibuffer.C: include <iostream>
16736
16737         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16738
16739         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16740
16741         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16742
16743         * text.[Ch] (TransposeChars): new method
16744
16745 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16746
16747         * call message directly through LyXView instead of through LyXFunc
16748         * BufferView2.C: adjust
16749         * BufferView_pimpl.C: adjust
16750         * FontLoader.C: adjust
16751         * buffer.C: adjust
16752         * bufferview_funcs.C: adjust
16753         * converter.C: adjust
16754         * figureForm.C: adjust
16755         * importer.C: adjust
16756         * lyx_cb.C: adjust
16757         * lyx_gui_misc.C: adjust
16758         * lyxfunc.C: adjust
16759         * lyxvc.C: adjust
16760         * text2.C: adjust
16761         + more files in subdirs
16762
16763         * lyxparagraph.h (size): move up int file
16764         (GetLayout): ditto
16765
16766         * adjust all uses of Assert to lyx::Assert.
16767
16768         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16769         lyxfunctional in namespace lyx
16770         * layout.C (hasLayout): ditto
16771         (GetLayout): ditto
16772         (GetLayout): ditto
16773         (delete_layout): ditto
16774         (NumberOfClass): ditto
16775         * converter.C (GetFormat): ditto
16776         (GetNumber): ditto
16777         (Add): ditto
16778         (Delete): ditto
16779         (SetViewer): ditto
16780         * bufferlist.C (getFileNames): ditto
16781         (emergencyWriteAll): ditto
16782         (exists): ditto
16783         (getBuffer): ditto
16784         * MenuBackend.C (hasSubmenu): ditto
16785         (hasMenu): ditto
16786         (getMenu): ditto
16787         * BufferView_pimpl.C (getInsetByCode): ditto
16788
16789 2001-04-18  Juergen Vigna  <jug@sad.it>
16790
16791         * vspace.C (asLatexString): fixed the 100% problem.
16792
16793 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16794
16795         * lyxfunc.C (Dispatch):
16796         * minibuffer.C:
16797         * minibuffer.h: add a few std:: qualifiers
16798
16799 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16800
16801         * minibuffer.[Ch]: reimplement so that commands is initiated and
16802         run from lyxfunc, simplified som handling, and made the completion
16803         and history code for complete. wip.
16804
16805         * lyxfunc.C (processKeySym): call message
16806         (miniDispatch): new temporary method
16807         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16808         (LFUN_MESSAGE): implement
16809         (LFUN_MESSAGE_PUSH): implement
16810         (LFUN_MESSAGE_POP): implement
16811         (initMiniBuffer): the initial/defualt minibuffer message.
16812
16813         * lyxfont.[Ch]: inline some more getters
16814
16815         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16816
16817         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16818
16819         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16820         (AutoSave): use LFUN_MESSAGE
16821         (Reconfigure): ditto
16822
16823         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16824
16825         * figureForm.C: use LFUN_MESSAGE
16826
16827         * converter.C (runLaTeX): use LFUN_MESSAGE
16828
16829         * bufferview_funcs.C: use LFUN_MESSAGE
16830         (Melt): ditto
16831         (changeDepth): ditto
16832
16833         * bufferparams.h: use boost::
16834
16835         * bufferlist.h: inherit privately from noncopyable
16836
16837         * bufferlist.C (loadLyXFile): remove some commented code.
16838
16839         * buffer.C (runChktex): use LFUN_MESSAGE
16840
16841         * ShareContainer.h: inherit privately from noncopyable
16842
16843         * ParagraphParameters.[hC] (depth): inline it.
16844
16845         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16846         methods.
16847         (message): new method
16848         (messagePush): ditto
16849         (messagePop): ditto
16850         (show): init minibuffer
16851         (showState): direct call
16852
16853         * LaTeX.[Ch]: inherit privately from noncopyable
16854         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16855         instead of WriteStatus.
16856
16857         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16858
16859         * BufferView_pimpl.C (buffer): don't init minibuffer
16860         (workAreaButtonPress): use LFUN_MESSAGE
16861         (workAreaButtonRelease): ditto
16862         (savePosition): ditto
16863         (restorePosition): ditto
16864         (MenuInsertLyXFile): ditto
16865         (workAreaExpose): don't init minibuffer
16866         (update): remove commented code, simplify
16867
16868         * BufferView2.C (openStuff): use LFUN_MESSAGE
16869         (toggleFloat): ditto
16870         (menuUndo): ditto
16871         (menuRedo): ditto
16872         (copyEnvironment): ditto
16873         (pasteEnvironment): ditto
16874         (copy): ditto
16875         (cut): ditto
16876         (paste): ditto
16877         (gotoInset): ditto
16878         (updateInset): remove some commented code
16879
16880         * lastfiles.h: inherit privately from noncopyable
16881         * layout.h: ditto
16882         * lyx_gui.h: ditto
16883         * lyx_main.h: ditto
16884         * lyxlex.h: ditto
16885         * lyxlex_pimpl.h: ditto
16886
16887         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16888         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16889         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16890
16891         * LyXAction.h: inherit privately from noncopyable, add methods
16892         func_begin, func_end, returning iterators to the func map.
16893
16894         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16895         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16896         (func_begin): new method
16897         (func_end): new method
16898
16899         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16900         and not)
16901         (copySelection): ditto
16902         (pasteSelection): ditto
16903
16904         * BufferView.C: whitespace change
16905         * BufferView.h: inherit privately from noncopyable
16906
16907 2001-04-16  Allan Rae  <rae@lyx.org>
16908
16909         * tabular-old.C (l_getline):
16910         * spellchecker.C (sc_check_word):
16911         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16912         an unrecognised preprocessor directive.  So ensure they're wrapped.
16913
16914 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16915
16916         * src/exporter.C (Export): Give an error message when path to file
16917         contains spaces.
16918
16919 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16920
16921         * LaTeX.C (deplog): Always check that foundfile exists.
16922
16923 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16924
16925         * lyx_main.h:
16926         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16927
16928 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16929
16930         * tabular.[Ch] (getLabelList): implement new method
16931
16932         * minibuffer.h: comment ouf setTiimer
16933
16934         * minibuffer.C (ExecutingCB): constify res
16935         (peek_event): constify s
16936         (Set): constify ntext
16937         (Init): constify nicename
16938
16939         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16940
16941         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16942         (savePosition): use two params to Minibuffer::Set
16943         (restorePosition): ditto
16944
16945 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16946
16947         * lyx_main.C: include language.h
16948
16949         * Makefile.am (lyx_main.o): add language.h
16950
16951 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16952
16953         * exporter.C:
16954         * paragraph.C:
16955         * screen.C:
16956         * tabular.C:
16957         * CutAndPaste.C: include gettext.h
16958
16959         * lyxfont.h: remove old hack with ON and OFF.
16960
16961         * lyxparagraph.h:
16962         * lyxfont.h: do not include language.h...
16963
16964         * BufferView2.C:
16965         * LaTeXFeatures.C:
16966         * Painter.C:
16967         * bufferview_funcs.C:
16968         * font.C:
16969         * lyxfont.C:
16970         * text.C:
16971         * text2.C:
16972         * trans_mgr.C:
16973         * paragraph.C: ... but do it here instead
16974
16975 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16976
16977         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16978
16979         * tabular.C: small reformat
16980
16981         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16982         NEW_INSETS version
16983         (GetChar): ditto
16984         (BreakParagraph): ditto
16985         (SetOnlyLayout): ditto
16986         (SetLayout): ditto
16987
16988         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16989         with one arg less.
16990
16991         * lastfiles.C: removed most using decl, add std:: where needed
16992
16993         * buffer.C: ws changes
16994
16995         * MenuBackend.C (class compare_format): put into anon namespace
16996         (expand): constify label, names, action, action2
16997         (expand):
16998
16999         * text.C (SingleWidth): constify font
17000         (IsBoundary): constify rtl2
17001         (GetVisibleRow): constify ww
17002
17003         * LaTeX.C (deplog): constify logfile
17004
17005         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17006         start_x, end_x
17007         (workAreaExpose): constify widthChange, heightChange
17008
17009         * lyxrow.C (par): moved
17010         (height): moved
17011         (next): moved
17012         * lyxrow.h: as inlines here
17013
17014         * lyxfont.h (shape): moved from lyxfont.C
17015         (emph): moved from lyxfont.C
17016
17017         * lyxfont.C (LyXFont): use initialization list for all
17018         constructors
17019         (shape): move to lyxfont.h as inline
17020         (emph): move to lyxfont.h as inline
17021
17022
17023 2001-04-04  Juergen Vigna  <jug@sad.it>
17024
17025         * vspace.C: had to include stdio.h for use of sscanf
17026
17027 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17028
17029         * BufferView.h:
17030         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17031         independent of xforms.
17032
17033 2001-04-02  Juergen Vigna  <jug@sad.it>
17034
17035         * spellchecker.C: fixed namespace placing!
17036
17037 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17038
17039         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17040         the LyXParagraph * is 0.
17041
17042 2001-03-29  Juergen Vigna  <jug@sad.it>
17043
17044         * vspace.C: added support for %, c%, p%, l%.
17045         (stringFromUnit): added helper function.
17046         (asLatexString): changed to give right results for the %-values.
17047
17048         * buffer.C: convert the widthp in a width%.
17049
17050 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17051
17052         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17053         figureForm.[Ch].
17054
17055         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17056         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17057
17058         * lyx_cb.[Ch]: see above.
17059
17060         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17061         form1.[Ch].
17062
17063         * form1.[Ch]:
17064         * lyx.[Ch]: replaced by figure_form.[Ch].
17065
17066         * lyx_gui.C:
17067         * lyx_gui_misc.C:
17068         * lyxfunc.C: changed headers associated with above changes.
17069
17070 2001-03-27  Juergen Vigna  <jug@sad.it>
17071
17072         * BufferView_pimpl.C: set the temporary cursor right!
17073
17074 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17075
17076         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17077
17078 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17079
17080         * LString.h: removed "using std::getline"!
17081
17082         * BufferView_pimpl.C (Dispatch): changes due to changes in
17083         InsetInclude::Params.
17084
17085         * buffer.C (tag_name): removed redundant break statements as they were
17086         producing lots of warnings with my compiler.
17087
17088 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17089
17090         * LString.h: add "using std::getline" when using the real <string>.
17091
17092 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17093
17094         * buffer.C: removed bitset usage.
17095         PAR_TAG moved to an anonymous name space.
17096         (tag_name): new funtion, also in the anonymous namespace.
17097         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17098         (makeDocBookFile): clean code. Completed transition from string arrays
17099         to string vectors.
17100         (SimpleDocBookOnePar): code clean.
17101
17102 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17103
17104         * tabular.C: add some comments.
17105
17106 2001-03-22  Juergen Vigna  <jug@sad.it>
17107
17108         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17109         compatibility read a bit and fixed bug with minipage in different
17110         depth.
17111
17112 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17113
17114         * buffer.C (pop_tag): removed.
17115         (push_tag): removed.
17116         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17117         array replaced with vector. Added support for CDATA sections.
17118         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17119         at any nest level.
17120         (makeDocBookFile): XML conformant declaration of CDATA section,
17121         fixed bug related to <emphasis> in the first paragraph char.
17122         (sgmlOpenTag): exclude empty tags.
17123         (sgmlCloseTag): ditto.
17124
17125         * buffer.h (pop_tag): removed.
17126         (push_tag): removed.
17127
17128 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17129
17130         * language.h (Languages): added size_type and size().
17131
17132 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17133
17134         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17135         response on compability reading of minipages. One probliem is that
17136         the old usage of minipages was «flertydig»
17137
17138         * several files here and in subdirs: don't use static at file
17139         scope use anon namespaces instead.
17140
17141 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17142
17143         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17144         LaTeX output. This is necessary for Literate document
17145         processing.
17146
17147 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17148
17149         * buffer.C: insert hfill when needed.
17150
17151         * tabular.C (l_getline): use string::erase, small whitespace change.
17152
17153         * BufferView_pimpl.C: try the anon namespace.
17154         * WorkArea.C: ditto
17155
17156 2001-03-16  Juergen Vigna  <jug@sad.it>
17157
17158         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17159         otherwise it won't open options-dialogs.
17160
17161         * buffer.C: honor pextraWidth(p) on converting minipages.
17162
17163         * tabular.C (l_getline): changed the functions to strip trailing \r.
17164
17165 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17166
17167         * BufferView_pimpl.C:
17168         * minibuffer..C: added "using SigC::slot" declaration.
17169
17170 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17171
17172         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17173
17174         * text2.C: ditto
17175
17176         * text.C: ditto
17177
17178         * paragraph.C: ditto
17179
17180         * lyxtext.h: NO_PEXTRA
17181
17182         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17183
17184         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17185         * ParameterStruct.h: ditto
17186         * ParagraphParameters.h: ditto
17187         * lyxparagraph.h: ditto
17188
17189 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17190
17191         * buffer.C: add compability for minipage alignment.
17192         (latexParagraphs): remove unwanted pextra check.
17193
17194         * several files: remove CXX_WORKING_NAMESPACES
17195
17196         * buffer.C (pop_tag): tie is in namespace boost
17197
17198         * BufferView.h: noncopyable is in namespace boost
17199         * lyxlex.h: ditto
17200         * lyx_main.h: ditto
17201         * lyx_gui.h: ditto
17202         * layout.h: ditto
17203         * lastfiles.h: ditto
17204         * bufferlist.h: ditto
17205         * ShareContainer.h: ditto
17206         * LyXView.h: ditto
17207         * LyXAction.h: ditto
17208         * LaTeX.h: ditto
17209
17210 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17211
17212         * Merging changes from BRANCH_MVC back into HEAD.
17213
17214         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17215
17216 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17217
17218         * BufferView_pimpl.C: change from intl.C
17219
17220         * combox.h:
17221         * combox.C:
17222         * Makefile.am: move combox.*
17223
17224         * form1.h:
17225         * form1.C:
17226         * lyx_gui.C:
17227         * intl.h:
17228         * intl.C: remove dialog (covered by prefs)
17229
17230 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17231
17232         * lyxfunc.C (Dispatch): removed redundant break statement.
17233
17234 2001-03-14  Juergen Vigna  <jug@sad.it>
17235
17236         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17237
17238 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17239
17240         * buffer.C: add hack to fix compability reading of minipages.
17241
17242 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17243
17244         * buffer.C (getLists): Cleanup.
17245
17246 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17247
17248         * lyxfont.C (update): don't honor toggleall on font size.
17249
17250 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17251
17252         * bmtable.c:
17253         * bmtable.h:
17254         * Makefile.am: moved to frontends/xforms/
17255
17256         * lyx_gui_misc.C:
17257         * lyxfunc.C:
17258         * BufferView_pimpl.C: changes for moved mathpanel
17259
17260 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17261
17262         * gettext.h: fix gettext_init() in --disable-nls
17263
17264 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17265
17266         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17267
17268 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17269
17270         * lyx.C:
17271         * lyx.h: strip external form
17272
17273 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17274
17275         * BufferView_pimpl.C: add comment, destroySplash()
17276
17277 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17278
17279         * BufferView_pimpl.C:
17280         * LyXAction.C:
17281         * buffer.C:
17282         * commandtags.h:
17283         * lyxfunc.C: use re-worked insetinclude
17284
17285 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17286
17287         * buffer.C: add using std::stringstream.
17288
17289         * lyx_cb.C: readd using std::ios.
17290
17291         * buffer.C: add using std::map.
17292
17293         * BufferView_pimpl.C: add using std::vector.
17294
17295         * ShareContainer.h: add std:: to swap.
17296
17297         * buffer.h: add some typedefs
17298         * buffer.C (getLists): use them
17299         (getLists): renamed from getTocList.
17300         add a counter for the different float types and use it in the
17301         generated string.
17302         (getLists): use the same counter for the NEW_INSETS and the "non"
17303         NEW_INSETS
17304
17305         * lyx_cb.h: remove unused items, includes, using etc.
17306
17307         * ShareContainer.h: remove some commented code, add more comments
17308         and "documentation".
17309
17310 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17311
17312         * buffer.C (getTocList): make the list also when NEW_INSETS is
17313         defined.
17314
17315         * buffer.h: remove TocType
17316
17317         * buffer.C (getTocList): change to return a map<string,
17318         vector<TocItem> >, implement for dynamic number of list.
17319
17320         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17321         * text2.C (PasteSelection): adjust
17322         * CutAndPaste.C (pasteSelection): adjust
17323
17324         * FloatList.C (FloatList): update from the new_insets branch.
17325         * Floating.[Ch]: ditto
17326         * LaTeXFeatures.C: ditto
17327         * buffer.C: ditto
17328         * lyxlex_pimpl.C: ditto
17329
17330         * paragraph.C (Last): remove when NEW_INSETS is defined.
17331
17332         * other file: changes because of the above.
17333
17334 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17335
17336         * lyxparagraph.h: rename next to next_, previous to previous_,
17337         make them private for NEW_INSETS. Rename Next() to next(),
17338         Previous() to previous().
17339
17340         * other files: changes because of the above.
17341
17342 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17343
17344         * BufferView.h:
17345         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17346         problem.
17347
17348 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17349
17350         * main.C (main): pass lyx_localedir to gettext_init().
17351
17352         * gettext.h: remove locale_init and gettext_init macros
17353
17354         * gettext.C (locale_init): new function
17355         (gettext_init): new function
17356
17357         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17358         setlocale().
17359
17360 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17361
17362         * Moved credits to frontends:
17363         * credits.[Ch]: removed
17364         * credits_form.[Ch]: removed
17365         * lyx_gui_misc.C: remove credits stuff
17366         * Makefile.am:
17367
17368 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17369
17370         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17371
17372         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17373         unneeded destructor.
17374
17375         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17376         a standalone pointer again.
17377
17378         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17379
17380 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17381
17382         * Makefile.am:
17383         * filedlg.h:
17384         * filedlg.C:
17385         * LyXAction.C:
17386         * ToolbarDefaults.C:
17387         * bufferlist.C:
17388         * commandtags.h:
17389         * form1.C:
17390         * form1.h:
17391         * lyx_cb.C:
17392         * lyx_cb.h:
17393         * lyxfunc.h:
17394         * lyxfunc.C:
17395         * BufferView_pimpl.C: use new file dialog in GUII
17396
17397         * lyx_cb.h:
17398         * lyx_cb.C: remove LayoutsCB to Toolbar
17399
17400 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17401
17402         * ShareContainer.h (get): add std:: qualifier
17403
17404 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17405
17406         * ShareContainer.h: define a proper ShareContainer::value_type
17407         type (and use typename to please compaq cxx)
17408
17409 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17410
17411         * lyxparagraph.h: move serveral local vars to
17412         ParameterStruct/ParagraphParameters., use ShareContainer in
17413         FontTable., make vars in FontTable private and add getter and
17414         setter.
17415
17416         * paragraph.C: changes because of the above.
17417
17418         * lyxfont.h: remove copy constructor and copy assignment. (the
17419         default ones is ok), move number inside FontBits. move inlines to
17420         lyxfont.C
17421
17422         * lyxfont.C: add number to initializaton of statics, move several
17423         inlines here. constify several local vars. some whitespace
17424         cleanup. Dont hide outerscope variables.
17425
17426         * Spacing.h: add two new constructors to match the set methods.
17427
17428         * ShareContainer.h: new file, will perhaps be moved to support
17429
17430         * ParameterStruct.h: new file
17431
17432         * ParagraphParameters.h: new file
17433
17434         * ParagraphParameters.C: new file
17435
17436         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17437         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17438
17439         * BufferView_pimpl.C: ParagraphParameter changes.
17440         * buffer.C: Likewise.
17441         * bufferview_funcs.C: Likewise.
17442         * text.C: Likewise.
17443         * text2.C: Likewise.
17444
17445 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17446
17447         * lyxfind.C (LyXReplace): do not redefine default argument in
17448         implementation.
17449         (IsStringInText): ditto
17450         (SearchForward): ditto
17451         (SearchBackward): ditto
17452
17453 2001-03-06  Juergen Vigna  <jug@sad.it>
17454
17455         * lyxfind.C (IsStringInText): put parentes around expressions.
17456
17457 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17458
17459         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17460
17461 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17462
17463         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17464
17465         * stl_string_fwd.h: add comment
17466
17467         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17468
17469         * tabular.h:
17470         * tabular.C: remove unused DocBook methods
17471
17472         * intl.C:
17473         * language.C:
17474         * paragraph.C:
17475         * buffer.C:
17476         killed DO_USE_DEFAULT_LANGUAGE
17477
17478 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17479
17480         * lyx_gui.C: do not include language.h.
17481
17482         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17483         arguments in function implementation.
17484
17485 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17486
17487         * BufferView_pimpl.C: add <ctime>
17488
17489 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17490
17491         * BufferView_pimpl.C: add using std::find_if
17492
17493 2001-02-27  José Matos  <jamatos@fep.up.pt>
17494
17495         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17496         by OnlyPath.
17497
17498 2001-02-11  José Matos  <jamatos@fep.up.pt>
17499
17500         * buffer.C (makeDocBookFile): command styles now have a parameter as
17501         "title" by default.
17502
17503 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17504
17505         * layout_forms.[Ch]: removed
17506         * lyx_cb.[Ch]: out character
17507         * lyx_gui.C: out character
17508         * lyx_gui_misc.C: out character
17509         * bufferview_funcs.C: : out character,
17510         added toggleall as parameter in ToggleAndShow
17511
17512 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17513
17514         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17515
17516         * text2.C (SetCurrentFont): Disable number property at boundary.
17517
17518 2001-02-26  Juergen Vigna  <jug@sad.it>
17519
17520         * lyxfunc.C (getStatus): added a string argument override function so
17521         that this is correctly called from LyXFunc::Dispatch if it contains a
17522         do_not_use_argument which is used!
17523         (Dispatch): added check for "custom" export and call appropriate func.
17524
17525 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17526
17527         * lyxrc.C: Add language_command_local, language_use_babel and
17528         language_global_options.
17529
17530         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17531
17532         * buffer.C (makeLaTeXFile): Use language_use_babel and
17533         language_global_options.
17534
17535 2001-02-23  Juergen Vigna  <jug@sad.it>
17536
17537         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17538         which works with LyXText and putted it inside BufferView. Here now we
17539         only call for that part the BufferView::Dispatch() function.
17540
17541         * BufferView.C (Dispatch): added.
17542
17543         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17544         functions which needs to use a LyXText over from LyXFunc.
17545         (MenuInsertLyXFile): added
17546         (getInsetByCode): added
17547         (moveCursorUpdate): added
17548         (static TEXT): added
17549
17550 2001-02-22  Juergen Vigna  <jug@sad.it>
17551
17552         * BufferView_pimpl.C (update): call a status update to see if LyXText
17553         needs it.
17554
17555 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17556
17557         * vc-backend.C (revert): implement for CVS
17558         (getLog): implement for CVS
17559
17560 2001-02-20  Juergen Vigna  <jug@sad.it>
17561
17562         * text2.C (ClearSelection): added BufferView param for inset_owner call
17563
17564         * lyxfunc.C (TEXT): added this function and use it instead of
17565         directly owner->view()-text of getLyXText().
17566
17567 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17568
17569         * src/layout_forms.C: out preamble
17570         * src/layout_forms.h: out preamble
17571         * src/lyx_cb.C: out preamble
17572         * src/lyx_cb.h: out preamble
17573         * src/lyx_gui.C: out preamble
17574         * src/lyx_gui_misc.C: out preamble
17575         * src/lyxfunc.C: connect with guii preamble
17576
17577 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17578
17579         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17580
17581 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17582
17583         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17584         whether to run bibtex.
17585
17586 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17587
17588         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17589
17590 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17591
17592         * Makefile.am (lyx_SOURCES): removed bibforms.h
17593
17594         * vspace.h: doxygen
17595
17596         * text.C (GetVisibleRow): make several local vars const
17597
17598         * tabular.C: small cleanup.
17599
17600         * lyxserver.C (callback): use compare instead of strncmp
17601
17602         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17603         inlines to after class or to paragraph.C
17604
17605         * lyxfont.h: remove friend operator!=
17606
17607         * converter.h: move friend bool operator< to non friend and after
17608         class def.
17609
17610         * combox.h: small cleanup
17611
17612         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17613         to inlines after class def.
17614
17615         * buffer.C (pop_tag): use string operations instead of strcmp
17616
17617         * bmtable.c: doxygen, small cleanup
17618
17619         * LaTeX.h: remove friend operator==
17620
17621 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17622
17623         * screen.C:
17624         * lyxrc.[Ch]:
17625         * lyxfunc.C:
17626         * lyxfont.[Ch]:
17627         * lyx_cb.C:
17628         * intl.[Ch]:
17629         * commandtags.h:
17630         * buffer.C:
17631         * WorkArea.[Ch]:
17632         * LyXAction.C:
17633         * BufferView_pimpl.C:
17634         * BufferView.[Ch]: remove cruft
17635
17636 2001-02-14  Juergen Vigna  <jug@sad.it>
17637
17638         * lyxfunc.C: removed #if 0 unused code
17639
17640         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17641
17642         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17643
17644         * text2.C (SetSelection): added a BufferView * parameter
17645
17646 2001-02-13  Juergen Vigna  <jug@sad.it>
17647
17648         * lyxfunc.C (Dispatch): fixed protected blank problem.
17649         * BufferView2.C (protectedBlank): added LyxText * parameter.
17650
17651         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17652         (AppendColumn): same as above for column_info.
17653
17654         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17655         (moveCursorUpdate): use a LyXText param for support of InsetText.
17656
17657         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17658         (tripleClick): ditto
17659
17660         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17661
17662         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17663
17664         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17665
17666         * text2.C (SetSelection): set correct update status if inset_owner
17667         (ToggleFree): ditto
17668
17669 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17670
17671         * tabular.C: remove some commented code.
17672
17673 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17674
17675         * BufferView_pimpl.C: call hideSplash()
17676
17677         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17678
17679         * include_form.h:
17680         * bibforms.h: remove
17681
17682         * lyxfunc.C:
17683         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17684           add LFUN_CHILD_CREATE
17685
17686         * counters.h: fix tiny typo
17687
17688         * lyx_cb.C:
17689         * lyx.h:
17690         * lyx_gui.C:
17691         * lyx.C: move splash to frontends/xforms/
17692
17693         * lyx_gui_misc.C: move Include and Bibform to frontends
17694
17695         * lyxvc.h: clarify comment
17696
17697         * vspace.C: tiny housekeeping
17698
17699 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17700
17701         * text.C (PrepareToPrint): RTL Fix.
17702
17703         * paragraph.C (GetUChar): New method.
17704         (String):  Use GetUChar.
17705
17706         * buffer.C (asciiParagraph): Use GetUChar.
17707
17708 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17709
17710         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17711
17712 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17713
17714         * buffer.h:
17715         * buffer.C: rename to getLogName(), handle
17716           build log / latex log nicely
17717
17718 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17719
17720         * MenuBackend.C:
17721         * MenuBackend.h: remove support for reference menuitem type.
17722
17723 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17724
17725         * BufferView_pimpl.C: housekeeping
17726         * BufferView_pimpl.h:
17727         * LyXView.h:
17728         * Makefile.am:
17729         * Timeout.C:
17730         * Timeout.h:
17731         * minibuffer.h: move Timeout GUI-I
17732
17733 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17734
17735         * lyxrc.C (read): Update converters data-structures.
17736
17737 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17738
17739         * LaTeX.h (operator!=): add operator != for Aux_Info
17740
17741 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17742
17743         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17744
17745         * LaTeXLog.C: deleted, useful code moved to Buffer
17746
17747         * buffer.h:
17748         * buffer.C: new function getLatexLogName()
17749
17750         * lyx_gui_misc.C:
17751         * lyx_gui.C:
17752         * lyxvc.C:
17753         * lyxvc.h:
17754         * lyxfunc.C: use frontends for LaTeX and VC logs
17755
17756 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17757
17758         * LaTeX.h: yet another std:: that Allan forgot.
17759
17760         * Variables.C (set): renamed from isset(), because this clashes
17761         with some HP-UX macros (grr).
17762
17763 2001-02-06  Allan Rae  <rae@lyx.org>
17764
17765         * LaTeX.h: Another bug fix.  Missing std:: this time.
17766
17767 2001-02-04  Allan Rae  <rae@lyx.org>
17768
17769         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17770         floats problem. I've left it commented out because it's not quite
17771         correct.  It should also test that the current object is a table or
17772         figure inset.  But I haven't gotten around to figuring out how to do
17773         that.  I *think* it'll be something like: "table" == inset.type()
17774
17775         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17776         bool.
17777
17778 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17779
17780         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17781         all the citation/databases/styles in the auxilary file.
17782         (run): Rerun latex if there was a babel language error.
17783
17784 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17785
17786         * text.C (Backspace): Preserve the font when changing newline char
17787         with a space.
17788         (BreakParagraph): If the cursor is before a space, delete the space.
17789
17790         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17791
17792 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17793
17794         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17795         new argument (code).
17796         (ChangeCitationsIfUnique): New method.
17797
17798         * paragraph.C (GetPositionOfInset): Handle bibkey.
17799
17800 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17801
17802         * BufferView_pimpl.h: change type of Position::par_pos to
17803         LyXParagraph::size_type.
17804
17805 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17806
17807         * BufferView_pimpl.C (savePosition, restorePosition): Write
17808         messages to minibuffer.
17809
17810 2001-01-28  José Matos  <jamatos@fep.up.pt>
17811
17812         * buffer.C (makeDocBookFile): adds support for document language.
17813         A silly restriction on the name of LatexCommand types where removed.
17814         Added support for CDATA sections, allows to chars unescaped, used
17815         among others in code, to avoid escape < and >.
17816
17817 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17818
17819         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17820         saved positions instrad of a stack. Furthermore, a position is
17821         stored using paragraph id/paragraph position.
17822
17823         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17824         Remove LFUN_REF_BACK.
17825
17826 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17827
17828         * converter.C (dvipdfm_options): New method.
17829
17830 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17831
17832         * vspace.C (isValidLength): Fix for empty input string.
17833
17834 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17835
17836         * LyXAction.C (init): change description of LFUN_FIGURE to
17837         "Insert Graphics"
17838
17839 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17840
17841         * LaTeX.C: add using directive
17842
17843 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17844
17845         * MenuBackend.C (expand): Fix the sorting of the formats.
17846
17847 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17848
17849         * lyx_main.C: tiny error message fix
17850
17851 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17852
17853         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17854         calling fl_initialize(). This fixes the problem with ',' as
17855         decimal separator in text files.
17856
17857 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17858
17859         * trans.C (process): Fix the keymap bug.
17860
17861 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17862
17863         * LaTeX.C (scanAuxFiles): New method. Provides support for
17864         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17865         (scanLogFile) Scan for "run BibTeX" messages.
17866
17867         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17868         OT1 font encoding. Also, load the aecompl package if the ae
17869         package is loaded.
17870
17871         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17872
17873 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17874
17875         * texrow.C (increasePos): turn two error messages into debug
17876         messages.
17877
17878 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17879
17880         * LaTeX.C (scanAux): Handle the \@input macro.
17881         (runBibTeX): Use scanAux().
17882
17883         * language.C (latex_options_): New field.
17884
17885         * LaTeXFeatures.C (getMacros): Add language macros.
17886
17887         * buffer.C (makeLaTeXFile): Small fix.
17888
17889 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17890
17891         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17892
17893         * text2.C: add a using directive.
17894
17895 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17896
17897         * BufferView2.C:
17898         * lyx_gui_misc.h:
17899         * lyxfr1.C:
17900         * lyxfunc.C: kill LyXBell.
17901
17902 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17903
17904         * text.C (IsBoundary): Remove the error message
17905
17906         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17907
17908         * lyxrc.C (setDefaults): Correct initialization value for
17909         font_norm_type.
17910
17911 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17912
17913         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17914         gotoError().
17915
17916         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17917         and GotoNextNote().
17918
17919         * src/LyXAction.C: Added reference-next.
17920
17921         * text.C (InsertChar): Use contains instead of strchr.
17922
17923         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17924
17925 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17926
17927         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17928         alignment commands (when needed).
17929
17930         * text.C (InsertChar): Add ':' to number separator chars.