]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
get rid of the lib/xfonts hack
[lyx.git] / src / ChangeLog
1 2005-07-16  Juergen Vigna  <jug@lyx.org>
2
3         * text2.C (getColumnNearX): Consider rows without trailing blank.  
4
5 2005-07-16  André Pönitz  <poenitz@gmx.net>
6
7         * lyxfont.h: Change order of declarations to give the compiler
8         a better chance to inline things
9
10         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
11         questions on unsaved docs for better scritability
12
13 2005-07-16  André Pönitz  <poenitz@gmx.net>
14
15         * paragraph.h (getChar): remove asserts as the same kind of security
16         can be achieved by using a suitable standard library implementation
17         and the function was in the critical path (25.9% in profiler)
18
19 2005-07-16  Juergen Vigna  <jug@lyx.org>
20
21         * cursor.C (bruteFind2):
22         * bufferview_funcs.C (coordOffset): 
23         * text.C (cursorX,cursorY): Handle cursor position after last char
24         in row before a inset which uses a whole row.
25
26 2005-07-15  José Matos <jamatos@lyx.org>
27
28         * output_plaintext.[Ch] (writeFileAscii): control reference title
29         printing.
30         (asciiParagraph): noparbreak was already deal and was incorrectly
31         used.
32
33 2005-07-15  Juergen Vigna <jug@lyx.org>
34
35         * lyxfunc.C (dispatch): save and restore the cursor after a
36         textclass switch.
37
38 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
39
40         * text.C (backspace): bug 806 for empty keepempty paragraphs we
41         change the layout to default before letting DEPM do its thing.
42
43         * paragraph_funcs.C (breakParagraph): dont reset the layout on
44         keepEmpty paragraphs
45
46         * text.C (setCursorFromCoordinates): add a debug statement
47
48         * text2.C (getColumnNearX): bug 1825 make sure that we don't
49         return a pos that is not on the row
50
51         * output_latex.C (TeXDeeper): get rid of potential dereferencing
52         of past the end iterator
53
54 2005-07-14  André Pönitz  <poenitz@gmx.net>
55
56         * undo.C (recordUndoFullBuffer): implement undo for
57         textclass switches
58
59 2005-07-14  André Pönitz  <poenitz@gmx.net>
60
61         * cursor.C (setSelection): open insets when selection is set there
62         to avoid crashs with cold coord cache
63
64 2005-07-14  André Pönitz  <poenitz@gmx.net>
65
66         * trans_mgr.C (insert): move cursor to the right after inserting
67         a char.
68
69 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
70
71         * BufferView_pimpl.C (update): dampen some of the debug blabbering
72         * factory.C (readInset): ditto
73         * text.C, text2.C: ditto
74
75 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
76
77         * buffer.C: format incremented to 242. There is no file format per
78         se, but the "frenchb" language has been removed from lib/language
79         and has to be translated to "french" by lyx2lyx.
80
81 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
82
83         * cursor_slice.h, dociterator.h: add some documentation
84         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
85
86 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
87
88         * text.C (leftMargin): do not add identation to display() style
89         insets, because they are always centered (bug 1293).
90
91 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
92
93         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
94         formatted_time methods in support/lyxtime.
95
96 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
97
98         * toc.[Ch]: new method getGuiName, which is used by the frontends 
99         to set the toc combo (fixes bug 1870). Make TOC string translatable.
100
101 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
102
103         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
104         StableDocIterator const &)
105         * undo.C (recordUndo): use the above instead of cell.size() comparison
106         (fixes bug 1808; instructed by André).
107
108 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
109
110         * cursor_slice.h: 
111         * dociterator.h: Fix the assert when copying rows/cols in math
112
113 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
114
115         * BufferView_pimpl.C:
116         * LyXAction.C:
117         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
118
119         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
120         (findInset): new functions, refactored from goto Inset that return 
121         the position of a certain inset without setting the buffer's cursor
122         (by Jean-Marc); 
123         (gotoInset): rewrite to call findInset and then set the cursor
124         (by Jean-Marc).
125
126 2005-06-16  Angus Leeming  <leeming@lyx.org>
127
128         * lyxrc.C (output, read): wrap all input and output of paths with
129         calls to os::internal_path and os::external_path, respectively.
130         (output): wrap bind_file inside quotes.
131
132         * format.C (view): enable the viewer to use the '$$s' placeholder.
133
134 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
135
136         * LColor.[Ch] (getFromLaTeXName): new
137
138 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
139
140         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
141
142 2005-06-14  Angus Leeming  <leeming@lyx.org>
143
144         * lyx_main.C (init): ensure that the LyX binary dir is the first
145         element in the PATH on non-POSIX builds.
146
147 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
148
149         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
150
151 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
152
153         * rowpainter.C (paintInset, paintHebrewComposeChar)
154         (paintArabicComposeChar, paintChars): add a LyXFont argument.
155         (paintChars): use getFontSpan to reduce calls to getFont to a
156         minimum; use Paragraph::lookupChange instead of isXXXText.
157         (paintForeignMark): rename LyXFont argument.
158         (paintFromPos): pass a LyXFont object to the various paintXXX
159         methods.
160
161         * FontIterator.C (FontIterator, operator++): use
162         Paragraph::getFontSpan
163
164         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
165         version that returns the font span as a pair.
166
167 2005-06-09  Angus Leeming  <leeming@lyx.org>
168
169         * converter.C (convert): Don't forget "outfile = real_outfile" as
170         the final step in a conversion where the input and output file names
171         are the same. Otherwise, future conversion steps won't work...
172
173 2005-06-09  Angus Leeming  <leeming@lyx.org>
174
175         * lyxsocket.C: remove stub code as it isn't needed by
176         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
177
178 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
179
180         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
181         effectively disabled -x
182
183 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
184
185         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
186         when it actually makes sense.
187
188 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
189
190         * BufferView_pimpl.C: revert to showCursor in connection with
191         Lars's front-end stack
192
193 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
194
195         * text.C (redoParagraph): move cursor right after a bibitem
196         has been inserted.
197
198         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
199
200 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
201
202         * buffer_funcs.C (bufferErrors): fix computation of the end of an
203         error range.
204
205 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
206
207         * BufferView.[Ch] (update):
208         * BufferView_pimpl.[Ch] (update, metrics):
209         * dimension.h (operator==):
210         * lyxfunc.C (dispatch):
211         * metricsinfo.h (ViewMetricsInfo):
212         * rowpainter.C (paintText):
213         * lyxtext.h:
214         * text.C (redoParagraph):
215         * text3.C (dispatch): Make LyX only repaint current paragraph in
216         case of character insert --> speedup. Also fix cursor draw
217         artifacts
218
219 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
220
221         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
222         avoid a crash (bug 1891)
223
224 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
225
226         Fix bug 1892:
227
228         * text2.C (getStringToIndex): constify cur argument.
229
230         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
231         argument has been given
232         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
233         try to invoke LFUN_INSET_APPLY).
234
235         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
236         if no inset was created by doInsertInset
237         (doInsertInset): return true if an inset has been inserted.
238
239 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
240
241         * vspace.C (asGUIName): new method. A version of the space
242         suitable for showing on screen.
243
244 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
245
246         * MenuBackend.C:
247         * lyxrc.C: rename "ASCII" to "Plain Text"
248
249 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
250
251         * buffer_funcs.C (expandLabel): take a Buffer as argument;
252         translate the labelstring.
253         (setCounter): translate labelstring as needed.
254
255         * output_docbook.C (makeCommand): fix expandLabel invokation
256
257 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
258
259         * BufferView.C: fix dialog title
260
261 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
262
263         * lyx_main.C (priv_exec): fix logic error with help from Angus
264         * lyx_main.C (parse_execute): set is_gui = false and remove now
265         obsolete comment about a segfault
266
267 2005-05-18  Angus Leeming  <leeming@lyx.org>
268
269         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
270
271 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
272
273         * tabular.[hC]: added setCellInset to fix tabular paste.
274
275 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
276
277         * buffer.C (save): check if destination is writable before trying
278         to copy a file
279
280 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
281
282         * BufferView_pimpl.C (update): fix processEvents -caused update
283         recursion bug
284
285 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
286
287         * buffer_funcs.C (setCounter): fix test for numbering of
288         environments.
289
290         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
291         depth correctly; use optional argument when it exists
292
293         * lyxtextclass.C: remove unused MaxCounterTags enum
294         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
295         (max_toclevel, min_toclevel): new methods.
296
297         * MenuBackend.C (expandToc2): fix case where depth is smaller than
298         the smallest depth in toc.
299
300         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
301         layouts that should not appear in a table of contents.
302
303 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
304
305         * cursor.h (undispatched, noUpdate): add comments from André
306
307 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
308
309         * lfuns.h:
310         * LyXAction.C:
311         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
312
313 2005-05-07  André Pönitz  <poenitz@gmx.net>
314
315         * cursor.[Ch] (leaveInset): new function
316
317 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
318
319         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
320
321 2005-05-04  Angus Leeming  <leeming@lyx.org>
322
323         * lyxfunc.C (getStatus): disable the spell checker dialog if
324         none of USE_[AIP]SPELL are defined.
325
326 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
327
328         * tabular.C (setWidthOfCell): remove obsolete comment
329
330 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
331
332         * paragraph.C (bibitem):
333         * buffer_funcs.C (setCounter):
334         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
335
336 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
337
338         * text3.C (getStatus): immediately return after setOnOff
339
340         * rowpainter.C: fix drawing of appendix start
341
342 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
343
344         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
345         SwitchBetweenClasses and remove the unused return value.
346         Handle character styles, too
347
348 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
349
350         * factory.C (createInset): handle undefined character styles
351
352 2005-05-02  Angus Leeming  <leeming@lyx.org>
353
354         * buffer.C: protect the #include of utime.h with a preprocessor
355         guard.
356
357 2005-05-02  Angus Leeming  <leeming@lyx.org>
358
359         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
360         function so that auto-saving works, albeit in a blocking manner.
361
362         * Makefile.am: make compilation of the client sub directory, of
363         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
364         on conditionals set at configure time.
365
366         * SpellBase.[Ch]: no longer an abstract base class. Instead,
367         it can be compiled in its own right but has no-op functionality.
368
369         * aspell.C, pspell.C: remove preprocessor guards. The files should
370         be compiled only if the necessary functionality exists.
371
372         * lyxserver.C, lyxsocket.C: disable on Windows.
373
374 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
375
376         * text.C (leftMargin): Fix the parindent use bug (1764)
377         by dirty trick
378
379 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
380
381         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
382         argument.
383
384 2005-04-25  Angus Leeming  <leeming@lyx.org>
385
386         * Bidi.[Ch]:
387         * coordcache.[Ch]:
388         * ispell.C:
389         * lyxserver.C:
390         * mover.C:
391         * pch.h:
392         include <config.h> in .C files, not .h ones.
393         add licence blurb.
394         protect headers inside preprocessor guards.
395
396 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
397
398         * FuncStatus.h (StatusCodes): document
399
400 2005-04-21  André Pönitz  <poenitz@gmx.net>
401
402         * FuncStatus.h (enabled, onoff): document
403
404 2005-04-19  Angus Leeming  <leeming@lyx.org>
405
406         * BufferView_pimpl.C (cursorToggle): no longer test whether
407         any child processes have been reaped before calling
408         handleCompletedProcesses().
409
410 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
411
412         * text3.C (dispatch): fix, finally fix, the language problem in
413         new lyxtexts, without disabling on-the-fly font changes (Helge's
414         bug report)
415
416 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
417
418         * text3.C (dispatch): set cursor on double/triple click events
419         (bug 1811)
420
421 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
422
423         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
424         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
425
426         * rowpainter.C (paintFirst): simplify the code a little bit. In
427         particular, remove the test for secnumdepth.
428         * text.C (setHeightOfRow): only allocate space for chapter number
429         when updateCounters provided an actual label, instead of looking
430         at secnumdepth directly.
431
432         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
433
434         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
435         paragraphs when secnumdepth is large enough or, for environments,
436         when they are not the first in a sequence.
437
438 2005-04-17  Angus Leeming  <leeming@lyx.org>
439
440         * buffer.C (makeLaTeXFile): replace code to manipulate a path
441         containing space and '~' characters with a call to latex_path().
442
443 2005-04-17  Angus Leeming  <leeming@lyx.org>
444
445         * converter.C (convert): protect all args of convertDefault.sh
446         script with quotes.
447
448 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
449
450         * text3.C (dispatch): change the layout to "Caption" after inserting
451         a float.
452
453 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
454
455         * text3.C (dispatch): fix language problem in newly created
456         textinsets (and main text) in non-english docs
457
458 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
459
460         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
461         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
462         * text3.C (getStatus): disable LFUN_INSET_MODIFY
463
464 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
465
466         * lyxtext.h:
467         * text.C (metrics):
468         * text2.C (getFont):
469         * rowpainter.C (getFont): Fix metrics bug introduced by inset
470         fonts fix
471
472 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
473
474         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
475         output of \item arguments without trailing text.
476
477 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
478
479         * FontIterator.C (operator*): avoid a copy of the font.
480
481 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
482
483         * rowpainter.C (getFont): fix language bug from previous fix
484
485 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
486
487         * rowpainter.C (RowPainter, getFont): fix font inside inset
488         (bugs 1766, 1809)
489
490 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
491
492         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
493         preventing inserted font, deco, delim insets jumping to start of
494         surrounding inset.
495
496 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
497
498         * lyxfunc.C (dispatch): translate message before sending it to the
499         minibuffer.
500
501 2005-03-29  Angus Leeming  <leeming@lyx.org>
502
503         * lyx_main.C (priv_exec): call os::internal_path on each file passed
504         to LyX on the command line.
505
506 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
507
508         * vc-backend.C: use QuoteName to protect file names wherever
509         necessary.
510
511 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
512
513         * buffer.[Ch]:
514         * BranchList.h: fix bugs 1844,1845: document settings don't
515         stick
516
517 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
518
519         * lyxrc.C (setDefaults, read, output, getDescription): add support
520         for tex_allows_spaces.
521
522         * exporter.C (Export): allows files in directory containing spaces
523         if tex_allows_spaces is true.
524
525         * buffer.C (makeLaTeXFile): if the document path contains spaces,
526         output it in double quotes.
527
528 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
529
530         * rowpainter.C: use default text height for drawing change tracker
531         strikeout lines.
532
533 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
534
535         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
536
537 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
538
539         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
540         directory is missing.
541
542 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
543
544         * text2.C: fixed the fix, extended to other case.
545
546 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
547
548         * text2.C: fix for cursor up/down stuck in math [bug 1792]
549
550 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
551
552         * text2.C (cursorUp): get rid of a crash
553         * text.C (x2pos): add an assert
554
555 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
556
557         * lyxfunc.C (getStatus): fix warning when assertions are disabled
558
559         * text3.C:
560         * lyxfunc.C:
561         * dociterator.C: include <boost/current_function.hpp>, which is
562         needed when assertions are disabled.
563
564 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
565
566         * text2.C: fix for stuck cursor when traversing two
567         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
568
569 2005-02-25  Andreas Vox  <avox@arcor.de>
570
571         * output_docbook.C (makeParagraph): suppress trailing newline
572         after a run of paragraphs
573
574 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
575
576         * paragraph.C: fix for confused change tracker when pasting
577         text that begins with a lineseparator. [bug 1827]
578         (setChange(0, Change::INSERTED);)
579
580         * paragraph_funcs.C: fix for lost changes on triple-paste
581         in change tracking mode [bug 1827] (par.setChange()).
582
583 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
584
585         * text2.C (updateCounters, setCounter, expandLabel): move to
586         buffer_funcs.
587
588         * buffer_funcs.C (updateCounters): turn into a free standing
589         function and add a buffer parameter. Remove dead code for tracking
590         labelstring change.
591         (setCounter): change into a free-standing function which gets a
592         dociterator as argument. Use this iterator to fix captions in a
593         simple way. When no float is found above the caption, use the
594         labelstring of the caption layout as default.
595
596         * text.C (breakParagraph, backspace):
597         * text2.C (init, setLayout, changeDepth):
598         * text3.C (dispatch):
599         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
600         updateCounters.
601
602         * dociterator.C (forwardPar): make it much faster by calling
603         forwardPos() only when really necessary.
604
605         * output_docbook.C (makeCommand): adapt to expandLabel move.
606
607         * cursor.C: remove unused variable
608
609 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
610
611         * paragraph_funcs.C: fix crash when pasting insets in change
612         tracking mode [bug 1277] (honour change type in moveItem).
613
614 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
615
616         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
617
618 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
619
620         * BufferView.C (setCursor): change to use a DocIterator.
621         (gotoLabel): use BufferView::setCursor (other part of bug 781).
622         (putSelectionAt): adapt to BufferView::setCursor change.
623
624         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
625         moved here from LyXText and rewritten to use proper cursor
626         methods. Fixes bug 1787, 616 and 835.
627
628         * BufferView_pimpl.C (restorePosition): set the cursor correctly
629         when inside an inset (part of bug 781).
630         (dispatch): adapt to change of BufferView::setCursor.
631         (getStatus, dispatch): handle LFUN_GOTOERROR,
632         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
633
634         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
635         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
636         * text3.C (gotoNextInset, gotoInset): removed.
637
638 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
639
640         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
641
642 2005-02-15  Angus Leeming  <leeming@lyx.org>
643
644         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
645         can be used meaningfully in a comparison.
646
647 2005-02-13  André Pönitz  <poenitz@gmx.net>
648
649         * bufferview_funcs.C (coordOffset): improve cursor drawing
650
651 2005-02-13  André Pönitz  <poenitz@gmx.net>
652
653         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
654         * Cursor.C (dispatch): use fixIfBroken
655         * lyxfunc.C (getStatus): use fixIfBroken
656
657 2005-02-15  Angus Leeming  <leeming@lyx.org>
658
659         * lyx_main.C (error_handler):
660         * lyxfunc.C:
661         * lyxrc.C (setDefaults):
662         s/GetEnv/getEnv/.
663         #include "environment.h".
664
665         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
666
667 2005-02-15  Angus Leeming  <leeming@lyx.org>
668
669         * lyxserver.C (startPipe): squash MSVC warning "local variable
670         'fd' used without having been initialized".
671
672 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
673
674         * BufferView_pimpl.C: revert accidental commit.
675
676 2005-02-14  André Pönitz  <poenitz@gmx.net>
677
678         * dociterator.[Ch]: new member forwardPosNoDescent(),
679         which doesn't enter nested insets.
680         * text2.C (setFont): use forwardPosNoDescent() instead
681         of ForwardPos() (fixes crash on font change).
682
683 2005-02-13  Angus Leeming  <leeming@lyx.org>
684
685         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
686         only if lyxrc.path_prefix is not empty.
687
688 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
689
690         * bufferparams.C (readGraphicsDriver): prevent crash
691
692 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
693
694         * text2.C (setCounter): check for inInset() == 0
695
696 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
697
698         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
699         but use update() to get correct screen display; use convert
700         instead of istringstream.
701         (getStatus): handle LFUN_GOTO_PARAGRAPH
702
703         * lyxfunc.C (dispatch, getStatus): do not handle
704         LFUN_GOTO_PARAGRAPH here.
705
706 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
707
708         * text3.C (dispatch): size() -> depth()
709
710         * text2.C: remove some debug output
711
712         * paragraph.C: ws changes only
713
714         * lyxfunc.C (getStatus): size() -> depth()
715
716         * dociterator.h (clear, push_back, pop_back, internalData,
717         operator[], resize, empty): new functions
718         Make StableDocIterator and operator== be friends. Don't inherit
719         from std::vector use a privat class variable slices_ instead.
720         Modify to fit.
721
722         * dociterator.C: update because of not inheriting from std::vector
723         anymore. Call explictly to slices_ instead. Use depth() instead of
724         size() and top() instead of back()
725
726         * cursor.C: chagne size() -> depth and back() -> top(). Also
727         remove some direct operator[](i) calls in favour of foo[i]
728         (getFont): remove some dead code
729
730         * bufferview_funcs.C (coordOffset): size() -> depth()
731
732         * buffer.C: ws changes only
733
734         * CutAndPaste.C (eraseSelection): back() -> top()
735
736         * BufferView_pimpl.C (selectionRequested): back() -> top()
737
738         * BufferView.C (setCursor): size() -> depth()
739
740 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
741
742         * text3.C (cursorPrevious): return true if depm changed something
743         (cursorNext): ditto
744         (dispatch): rename sl to oldTopSlice, remove moving use the new
745         NoUpdate func attrib instead. Make sure that needsUpdate is set
746         for function that have NoUpdate, but where depm might have changed
747         the buffer anyway.
748
749         * text2.C (cursorLeft): make us return true if depm changed
750         something
751         (cursorRight): ditto
752         (cursorUpParagraph): ditto
753         (curosrDownParagraph): ditto
754         (cursorUp, cursorDown): ditto, make sure to read comments in code
755         (deleteEmptyParagraphMechanism): remove an assert, also return
756         true if just a single char was deleted.
757
758         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
759         cursor that we modify, to avoid modifying an active cursor before
760         we call setCursor. This allows depm to run. Also return true if
761         depm deleted something.
762
763         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
764         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
765         cursorDownParagraph, cursorPrevious and cursorNext, return true if
766         something was changed in the buffer because of them (ie. depm run)
767
768         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
769         debug messages. Make update by default be false. Make sure that
770         the result of update is retained throught several calls down to
771         dispatch.
772
773         * LyXAction.h: add a new func_attrib: NoUpdate
774
775         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
776         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
777         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
778         and LFUN_WORDLEFT
779         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
780
781 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
782
783         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
784         bv_->owner(), bv_->buffer() by direct references to the private
785         members.
786         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
787         (getStatus): isSavedPosition() is in BufferView::Pimpl.
788         (fitCursor): center() is in BufferView::Pimpl.
789         (getStatus, trackChanges, dispatch): no need for a temporary buf
790         variable
791         (fitCursor, workAreaDispatch): use workarea().workheight()
792
793 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
794
795         * CutAndPaste.C (pasteSelectionHelper): fix a crash
796
797 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
798
799         * buffer.C: format up to 241.
800         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
801         break if pasting into ERT
802         * lyxfunc.C (getStatus): suppress mathpanel and
803         LFUN_DIALOG_SHOW_NEW_INSET in ERT
804
805 2005-02-01  Angus Leeming  <leeming@lyx.org>
806
807         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
808
809 2005-02-01  Angus Leeming  <leeming@lyx.org>
810
811         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
812         calling fs::is_directory().
813
814 2005-01-31  Angus Leeming  <leeming@lyx.org>
815
816         * lyx_main.C (priv_exec): specify explicitly the relative location
817         of the top level build directory when run in-place.
818
819 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
820
821         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
822         LyXText containing the cursor, not the top-level one.
823
824         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
825         true.
826         (insertStringAsLines): rename par to pit; use temporary variable
827         par to hold a Paragraph; do not store par.layout() in a variable,
828         since the pointer may die when breaking paragraphs; pass pars to
829         breakParagraph() instead of Buffer::paragraphs().
830
831 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
832
833         * lyxlex_pimpl.h: #include <fstream>.
834
835         * BufferView.[Ch] (getLyXText): add a const version.
836
837         * BufferView_pimpl.C: add debug aids.
838
839         * RowList_fwd.h:
840         * buffer.h:
841         * lyxrow.h:
842         * paragraph_funcs.h: add commentary explaining what the class does.
843
844
845         * coordcache.[Ch]: add lots of commentary.
846         (startUpdating, doneUpdating): debug aids.
847         (arrays, insets, parPos, getParPos): accessors to private data.
848
849         * cursor_slice.[Ch] (text): add a const version.
850         * dociterator.[Ch] (text, innerText): add const versions.
851
852         * lyxtext.h (breakParagraph): change the keep_layout arg to a
853         bool.
854
855         * paragraph.C (getRow, pos2ros): add asserts.
856
857         * paragraph.h: add commentary. Lots of.
858
859         * paragraph.[Ch] (metrucs, draw): removed.
860
861         * cursor.C:
862         * rowpainter.[Ch]: const-correct changes.
863
864         * text.C: various obvious clean-ups. Removal of ancient cruft.
865         Bug fixes, even.
866
867 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
868
869         * vc-backend.C (find_file): rewrite to use boost.filesystem
870         (scanMaster): ditto
871
872         * main.C (main): set default name check for boost.filesystem to
873         no check
874
875         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
876         (open): ditto
877         (doImport): ditto
878         (actOnUpdatedPrefs): ditto
879
880         * lyx_main.C (init): rewrite to use boost.filesystem
881         (queryUserLyXDir): ditto
882
883         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
884         (getContentsOfAsciiFile): ditto
885
886         * lastfiles.C (readFile): rewrite to use boost.filesystem
887
888         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
889
890         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
891         (loadLyXFile): ditto
892
893         * buffer.C (Buffer): adjust for destroydir
894         (getLogName): rewrite to use boost.filesystem
895         (setFileName): ditto
896         (save): use fs::copy_file (from fs_extras)
897
898         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
899
900         * LaTeX.C (run): rewrite to use boost.filesystem
901         (scanAuxFiles): ditto
902         (handleFoundFile): ditto
903
904 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
905
906         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
907
908         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
909
910 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
911
912         * lyxlayout.[Ch]: change some vars from float to double
913
914         * buffer.C (readFile): make a local var const
915
916         * Several files: use convert<> instead of atoi,strToXXX and friends
917
918 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
919
920         * LaTeXFeatures.[Ch]: Add a static list packages_ that
921         holds the contents of packages.lst. New functions getAvailable
922         and isAvailable to parse and check that list, resp.
923
924         * LyXAction.C:
925         * lfuns.h:
926         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
927
928         * bufferparams.[Ch]: new param output_changes.
929
930         * Buffer.C: increase file format to 240.
931         Use output_changes and isVailable.
932
933         * changes.[Ch]:
934         * paragraph.C:
935         * paragraph_pimpl.C: Use output_changes and isVailable.
936
937 2005-01-23  Angus Leeming  <leeming@lyx.org>
938
939         * output_latex.C: #include "insetbibitem.h", rather than
940         forward declare function bibitemWidest.
941
942 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
943
944         * lyx_main.C (init): make it compile on the Mac.
945
946 2005-01-20  Angus Leeming  <leeming@lyx.org>
947
948         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
949         (setLyXMisc): (char string literal) != (char string literal) is
950         performing a comparison on the addresses. Convert one operand
951         explicitly to string to guarantee expected behaviour.
952         From MSVC warning.
953
954 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
955
956         * buffer.C:
957         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
958
959         * output_plaintext.C: remove unneeded #include gzstream.h.
960
961 2005-01-20  Angus Leeming  <leeming@lyx.org>
962
963         * SpellBase.h: rename some of the elements of the Result enum.
964
965         * aspell_local.h:
966         * ispell.h:
967         * pspell.h:
968         * aspell.C (check):
969         * ispell.C (check):
970         * pspell.C (check): ditto
971
972 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
973
974         * buffer.C: add #include <fstream>.
975
976         * lyx_main.C (init): Compile fix.
977
978         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
979
980 2005-01-20  Angus Leeming  <leeming@lyx.org>
981
982         * mover.h: change commentary to reflect the changed meaning of
983         the $$s placeholder.
984
985 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
986
987         * output_linuxdoc.C (linuxdocParagraphs): silence warning
988
989         * lyxfind.C (MatchString::operator()): remove bogus semicolon
990
991 2005-01-20  Angus Leeming  <leeming@lyx.org>
992
993         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
994         printing diagnostic data by not dereferecing an iterator past the
995         end.
996
997 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
998
999         * buffer.C (readHeader): use "&&" rather than "and".
1000
1001         * lyxserver.h (inPipeName, outPipeName): make these const.
1002
1003 2005-01-19  Angus Leeming  <leeming@lyx.org>
1004
1005         * lyx_main.C (error_handler, init): protect SIGHUP with
1006         #ifdef SIGHUP guards.
1007
1008 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1009
1010         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1011
1012 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1013
1014         * text.C (setHeightOfRow): add a margin at the top and bottom of
1015         the document (bug 1761)
1016
1017 2005-01-17  Angus Leeming  <leeming@lyx.org>
1018
1019         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1020         with "python ". Workaround for a brain-dead Windows.
1021
1022 2005-01-16  Angus Leeming  <leeming@lyx.org>
1023
1024         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1025         for MacOSX and Windows to use prependEnvPath.
1026         Strip out the hard-coded block to add elements to the PATH for
1027         MacOSX and replace it with a call to prependEnvPath using the
1028         contents of LyXRC::path_prefix.
1029         (queryUserLyXDir): strip out the code to run reconfigure, instead
1030         returning a boolean indicating the necessity to do so.
1031         (reconfigureUserLyXDir): contains the code to reconfigure the
1032         user support directory. Is now called after the various LyXRC data
1033         files have been read.
1034
1035         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1036
1037 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1038
1039         * converter.[Ch] (convert): take a new parameter try_default. Use
1040         a default converter (imagemagick) if try_default is true.
1041
1042 2005-01-13  Angus Leeming  <leeming@lyx.org>
1043
1044         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1045         os::cygwin_path_fix.
1046         (write): output LyXRC::cygwin_path_fix as necessary.
1047
1048 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1049
1050         * lyxrc.h:
1051         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1052
1053 2005-01-12  Angus Leeming  <leeming@lyx.org>
1054
1055         * lyx_main.C (init): set the PATH variable to include the
1056         directory containing the LyX binary when running on Mac or Windows.
1057
1058 2005-01-12  Angus Leeming  <leeming@lyx.org>
1059
1060         * lyx_main.C (init): remove cruft that purports to set the locale
1061         dir. It doesn't and is not needed anyway.
1062
1063 2005-01-10  Angus Leeming  <leeming@lyx.org>
1064
1065         * Makefile.am: remove the lyx_main.C special casing.
1066
1067         * BufferView_pimpl.C:
1068         * bufferlist.C:
1069         * exporter.C:
1070         * lyx_cb.C:
1071         * lyx_main.C:
1072         * lyxfunc.C:
1073         * messages.C: use support/package.h to provide the paths to the
1074         various directories used by LyX.
1075
1076 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1077
1078         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1079         layout if pasting into an empty paragraph)
1080
1081 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1082
1083         * tex-accent.C: add <string>
1084
1085 2005-01-06  José Matos  <jamatos@lyx.org>
1086
1087         * ParagraphParameters.C (write): put every parameter in its own line.
1088         * paragraph.C (write): reduce number of consecutive empty lines exported.
1089         * buffer.C (LYX_FORMAT): increase file format to 239.
1090
1091 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1092
1093         * everywhere: change support/tostr.h -> support/convert.h
1094
1095         * tabular.C: make all write_attributes templates, tostr -> convert
1096
1097         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1098         (emptyTag): and -> &&, and fix type for ret from getChar
1099         (getFirstWord): fix type for ret from getChar
1100         (onlyText): and -> &&
1101         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1102         getChar
1103
1104         * toc.C (goTo, action):
1105         * text3.C (dispatch):
1106         * text.C (currentState):
1107         * tex-accent.C (DoAccent):
1108         * sgml.C:
1109         * lyxrc.C:
1110         * lyxfunc.C (menuNew):
1111         * lyxfinc.C (replace):
1112         * counters.C (laberItem):
1113         * bufferview_funcs.C (font2string):
1114         * bufferparams.C (writeFile):
1115         * buffer.C (readFile):
1116         * Spacing.C (set):
1117         * MenuBackend.C: tostr -> convert
1118
1119         * LaTeX.C (runMessage): fix format
1120         (scanAuxFiles): tostr -> convert
1121
1122         * BufferView_pimpl.C (savePosition): fix format
1123         (restorePosition): ditto
1124         (dispatch): ditto
1125
1126 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1127
1128         * Spacing.[Ch]: New method getValueAsString().
1129
1130         * Spacing.[Ch]:
1131         * bufferparams.C:
1132         * ParagraphParameters.C:
1133         * lyxlayout.C:
1134         * text.C:
1135         * text3.C: store/read spacing value as string.
1136
1137         * rowpainter.C: change float value (spacing_val) to double.
1138
1139         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1140         broken custom document spacing).
1141
1142 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1143
1144         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1145         namespace, also more use of temp references and const
1146
1147         * cursor.[Ch] (getStatus): move to lyxfunc.C
1148
1149         * bufferparams.C: reformat slightly
1150
1151         * bufferview_funcs.C (font2string): constify arg
1152
1153         * changes.C:
1154         * converter.C:
1155         * counters.C:
1156         * bufferlist.C:
1157         * buffer_funcs.C: (many funcs): constify arg on function
1158         definitions, also make more local vars const, also add ASSERTS on
1159         pointer args.
1160
1161         * buffer.C (LYX_FORMAT): put const in correct place
1162         (many funcs): constify arg on function definitions, also make
1163         more local vars const
1164
1165         * aspell_local.h: remove "struct" from typdef setup
1166
1167         * aspell.C (check): make word_ok const
1168         (nextMiss): simplify slightly
1169         (error): ditto
1170
1171 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1172
1173         * lyxrc.[Ch]: store all float values as strings.
1174         use int (not float) for lyxrc.dpi.
1175
1176 2005-01-04  Angus Leeming  <leeming@lyx.org>
1177
1178         * lyx_cb.C (Reconfigure):
1179         * lyx_main.C (queryUserLyXDir):
1180         to run the <system_lyxdir>/configure correctly on Windows, prefix
1181         the path to the script with "sh " when generating the string that
1182         is passed to system().
1183
1184 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1185
1186         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1187
1188 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1189
1190         * lyxlength.C (asLatexString): get rid of setprecision
1191
1192 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1193
1194         * text2.C (setLayout): remove unused variable endpit.
1195         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1196
1197         * paragraph.C (onlyText): remove unused variable style.
1198
1199         * cursor.C (bruteFind): remove unused variables beg and end.
1200
1201         * Makefile.am (dist_noinset_DATA): not needed anymore
1202
1203         * cheaders/*: remove.
1204
1205 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1206
1207         * text3.C: fix LFUN_MATH_MODE.
1208
1209 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1210
1211         * buffer_funcs.C (countWords): new function. Counts words between
1212         two iterators.
1213
1214         * BufferView_pimpl.C (getStatus, dispatch): handle
1215         LFUN_WORDS_COUNT.
1216
1217         * LyXAction.C (init):
1218         * lfuns.h: add LFUN_WORDS_COUNT.
1219
1220 2004-12-19  Angus Leeming  <leeming@lyx.org>
1221
1222         * buffer.C (save): s/slashify_path/internal_path/.
1223
1224 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1225
1226         * lyxfind.C (findChange): do not search for end of pars, because
1227         the change tracker cannot handle this (fixes bug 1719).
1228
1229 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1230
1231         * paragraph.[Ch] (autoBreakRows): remove
1232
1233         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1234
1235         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1236         avoid using the paragraph one
1237
1238         * text2.C (LyXText, insertStringAsLines): adjust
1239
1240 2004-12-16  Angus Leeming  <leeming@lyx.org>
1241
1242         * bufferlist.C:
1243         * lyx_main.C:
1244         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1245
1246 2004-12-14  Angus Leeming  <leeming@lyx.org>
1247
1248         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1249
1250         * bufferlist.C (emergencyWrite):
1251         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1252         GetEnvPath("HOME").
1253
1254 2004-12-14  Angus Leeming  <leeming@lyx.org>
1255
1256         * main.C: (main): no longer pass pointers to os::init.
1257
1258 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1259
1260         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1261         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1262
1263 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1264
1265         * lyxfunc.C:
1266         * text3.C: remove selection_possible global flag
1267
1268 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1269
1270         * text2.C (getSelectionSpan): remove
1271         (changeDepth, changeDepthAllowed): adjust
1272
1273 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1274
1275         * Makefile.am (BOOST_LIBS): use boost variables
1276
1277 2004-12-03  José Matos  <jamatos@lyx.org>
1278
1279         * buffer.C: format up to 238.
1280
1281 2004-12-03  José Matos  <jamatos@lyx.org>
1282
1283         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1284
1285 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1286
1287         * cursor.C (goUpDown): remove call to idxUpDown2
1288
1289 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1290
1291         * tabular.[Ch]: use size_t-like types for cell, row and column
1292         indices
1293
1294 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1295
1296         * lyxfunc.C (getStatus): do not lose previous information when
1297         calling BufferView::getStatus; do not set a default "Command
1298         disabled" message at the beginning, but just before returning.
1299
1300 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1301
1302         * cursor.h (getStatus): add better comment from src/cursor.C
1303
1304 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1305
1306         * text3.C (getStatus): return false when the lfun is not handled
1307
1308 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1309
1310         * broken_headers.h: remove
1311
1312         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1313
1314 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1315
1316         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1317         offset_ref accessors
1318
1319         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1320         top_y_, merge fitcursor with update
1321         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1322         coord scheme
1323         (metrics): introduce
1324         (workAreaDispatch): adapt to new coord scheme
1325         (redoCurrentBuffer): remove
1326
1327         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1328
1329         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1330         CurStatus enum.
1331
1332         * coordcache.[Ch]: add paragraph cache and helpers
1333
1334         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1335         adjust everywhere
1336
1337         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1338         (targetX, setTargetX): introduce
1339
1340         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1341         baseline -> ascent, as the rest of lyx
1342
1343         * lyxtext.h: remove redoParagraphs, updateParPositions,
1344         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1345         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1346         have ascent/descent (ascent is ascent of first par)
1347
1348         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1349         step of BufferView
1350
1351         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1352
1353         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1354
1355         * pariterator.C: fix infinite loop introduced in par->pit renaming
1356
1357         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1358         in insets and LyXText, draw two off-screen paragraphs using
1359         NullPainter, and adapt to new coord scheme
1360
1361         * text.C:
1362         * text2.C:
1363         * text3.C: adapt lfun handlers to the new coord scheme, which
1364         means: there's only guaranteed coord information for onscreen pars
1365         plus one above and one below. This implies that one can do search
1366         from y coordinates in the range [-1,workHeight]
1367
1368 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1369
1370         * rename a lot of InsetOld to InsetBase
1371
1372 2004-11-25  Angus Leeming  <leeming@lyx.org>
1373
1374         * BufferView_pimpl.C:
1375         * lyx_cb.C:
1376         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1377
1378 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1379
1380         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1381         call BufferView::getStatus if LCursor::getStatus did nothing
1382         (setStatusMessage, getStatusMessage): removed.
1383
1384         * FuncStatus.C (message): new methods. Used to provide an error
1385         message indicating why a command is disabled.
1386         (clear, |=, FuncStatus): update for message.
1387
1388 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1389
1390         * lyxfunc.C (dispatch): always call sendDispatchMessage
1391
1392 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1393
1394         * BufferView.C:
1395         * BufferView_pimpl.C:
1396         * CutAndPaste.C:
1397         * FontIterator.C:
1398         * buffer.C:
1399         * cursor.C:
1400         * cursor_slice.[Ch]:
1401         * dociterator.[Ch]:
1402         * lyxfind.C:
1403         * paragraph_funcs.C:
1404         * pariterator.C:
1405         * rowpainter.C:
1406         * text.C:
1407         * text2.C:
1408         * text3.C:
1409         * undo.C: par->pit renaming
1410
1411 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1412
1413         * tabular.C (cellstruct): use initialization, store a shared_ptr
1414         to insettext instead of the insettext directly, adjust to fit.
1415         (operator=):  new function
1416         (swap): new function
1417         (rowstruct): use initialization
1418         (columnstruct): use initialization
1419         (ltType): use initialization
1420
1421
1422         * lyxlength.h (swap): new function
1423
1424         * LColor.[Ch] (operator=): use the common semantics
1425
1426 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1427
1428         * lyxfind.C (findNextChange): update the bufferview after setting
1429         the selection.
1430
1431 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1432
1433         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1434         number of InsetOptArgs has already been inserted.
1435
1436         * output_latex.C (latexOptArgInsets): new method. This outputs all
1437         the optarg insets, up to the limit defined in the layout file.
1438         (optArgInset): removed
1439         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1440
1441 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1442
1443         * paragraph.C (isLetter): remove special spellchecker-related
1444         code; return true also for digits
1445         (isWord, isKomma): remove
1446
1447         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1448         * lyxfind.C (MatchString()): use isLetter instead of isWord
1449
1450 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1451
1452         * pariterator.h (operatir=): comment out un-implemented member
1453         function.
1454
1455         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1456         static cast.
1457
1458 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1459
1460         * lyxfont.h: include LColor.h to satisfy concept checks.
1461
1462 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1463
1464         * pariterator.h: add typdefs for value_type, difference_type,
1465         pointer and reference to satisfy concept checks. Also add default
1466         constructor for same reason.
1467
1468         * pariterator.C (operator++): add post-increment operator to
1469         satisfy concept checks.
1470
1471         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1472         checks.
1473
1474         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1475
1476         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1477         checks. Also rename base_type to BaseType to follow naming
1478         standard better.
1479
1480         * FloatList.h: include Floating.h to satisfy concept checks.
1481
1482 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1483
1484         * lyxfunc.C (getStatus): when the origin of the request is menu or
1485         toolbar, and the LyXView does not have focus, do as if there was
1486         no buffer (bug 1720)
1487
1488         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1489         FuncRequest to individual entries of LFUN_SEQUENCE
1490
1491 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1492
1493         * output_latex.C (TeXOnePar): override runparams.moving_arg
1494         according to the needprotect value of the current paragraph (bug
1495         1739)
1496
1497         * paragraph.C (simpleTeXOnePar): no need to override
1498         runparams.moving_args here
1499
1500 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1501
1502         * vspace.C: fix off-by-one-error, related to fix #1682
1503
1504 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1505
1506         * lengthcommon.C: a more general fix for bug 1682
1507
1508 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1509
1510         * text.C (backspace): fix crash
1511
1512 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1513
1514         * format.[Ch] (getFormatFromFile): new method
1515         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1516
1517 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1518
1519         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1520
1521 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1522
1523         * lyxfunc.C (dispatch): remove the verbose argument
1524         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1525         instead
1526
1527         * kbmap.C (defkey): set the origin of func to KEYBOARD
1528
1529         * MenuBackend.C (MenuItem):
1530         * ToolbarBackend.C (add): set the origin of func to UI
1531
1532         * funcrequest.[Ch]: add origin member, which indicates which part
1533         of LyX requests an action
1534
1535 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1536
1537         * converter.C (move): don't lie in the error message
1538         * converter.h (isReachable, move): document
1539
1540 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1541
1542         * buffer.C: remove unused using lyx::support::atoi
1543         * paragraph_funcs.C: ditto
1544
1545 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1546
1547         * bufferlist.C (exists): use bind and equal_to instead of
1548         compare_memfun
1549         (getBuffer): ditto
1550         * lyxtextclasslist.C (NumberOfClass): ditto
1551
1552         * cursor.C (insert): use for_each instead of explicit for loop
1553
1554         * bufferlist.C (getFileNames): use std::transform and
1555         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1556
1557         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1558         for loop
1559
1560         * buffer.C (changeLanguage): use for_each instead of explicit for
1561         loop
1562         (hasParWithID): implement using getParFromID
1563
1564         * LaTeXFeatures.C: ws change only
1565
1566         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1567         to cleanup a bit.
1568
1569         * BufferView_pimpl.C (trackChanges): use for_each instead of
1570         expilicit for loop
1571
1572 2004-11-04  André Pönitz  <poenitz@gmx.net>
1573
1574         * undo.h:
1575         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1576
1577         * dociterator.C (asDocIterator): use hard assert again.
1578
1579 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1580
1581         * lyxlength.C (asLatexString): rewrite so that it does not use
1582         snprintf anymore
1583
1584 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1585
1586         * text3.C (specialChar, dispatch): make sure cursor moves to the
1587         right after inserting an inset
1588
1589 2004-11-02  José Matos  <jamatos@lyx.org>
1590
1591         * output_docbook.C (docbook):
1592         * paragraph.C (getID):
1593         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1594         garantee that the output is always legal.
1595
1596         * tabular.C (docbook):
1597         * outputprams.[Ch]: remove mixed contents.
1598
1599 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1600
1601         * text2.C (setCounter): prevent endless loop
1602
1603 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1604
1605         * exporter.C (copyFile): use the mover instead of support::copy()
1606         * exporter.C (Export): pass format and latex name to copyFile()
1607         * exporter.h (addExternalFile): document
1608         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1609
1610 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1611
1612         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1613
1614 2004-10-30  José Matos  <jamatos@lyx.org>
1615
1616         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1617         text and no inset or font change. This allows to use CDATA
1618         sections just for the whole paragraph.
1619
1620 2004-10-30  José Matos  <jamatos@lyx.org>
1621
1622         * paragraph.C (getFirstWord): remove unused variable.
1623
1624 2004-10-30  José Matos  <jamatos@lyx.org>
1625
1626         * paragraph.C (getFirstWord): the content should always be escaped
1627         there.
1628         (simpleDocBookOnePar):
1629         * output_docbook.C (makeEnvironment): replace reference to CDATA
1630         to style pass_thru.
1631
1632 2004-10-30  José Matos  <jamatos@lyx.org>
1633
1634         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1635
1636 2004-10-30  José Matos  <jamatos@lyx.org>
1637
1638         * output_docbook.C (makeParagraphs):
1639         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1640         standard paragraph has only a given type of content drop the wrapper.
1641
1642 2004-10-29  José Matos  <jamatos@lyx.org>
1643
1644         * output_docbook.C (makeEnvironment):
1645         * sgml.C (openTag):
1646         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1647
1648 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1649
1650         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1651         (cleanID): sanitize any id.
1652
1653 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1654
1655         * buffer.C, lyxlex_pimpl.C:
1656         * lyxlex_pimpl.C (setFile):
1657         s/getExtFromContents/getFormatFromContents/
1658
1659 2004-10-28  José Matos  <jamatos@lyx.org>
1660
1661         * output_docbook.C (makeEnvironment): move id to broadest possible
1662         scope.
1663
1664         * sgml.C (openTag): apply substitution of <> for all attributes.
1665
1666 2004-10-28  José Matos  <jamatos@lyx.org>
1667
1668         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1669         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1670         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1671
1672         * sgml.[Ch]: new version for open and closeTag for paragraph and
1673         for strings. Now they handle the ids of paragraphs.
1674
1675 2004-10-26  Angus Leeming  <leeming@lyx.org>
1676
1677         * Makefile.am: add mover.[Ch].
1678
1679         * converter.C (convert, move): use the new Movers to move external
1680         files to the temp directory.
1681
1682         * lyx_main.C (init): ensure that the global system_movers data
1683         is initialised.
1684
1685         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1686         preferences file.
1687
1688         * mover.[Ch]: new files, defining a Mover as a utility to move an
1689         external file between directories and, if necessary, manipulate this
1690         file using a helper script.
1691
1692 2004-10-25  José Matos  <jamatos@lyx.org>
1693
1694         * output_docbook.C (makeCommand): merge two if's that tested the
1695         same condition.
1696
1697 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1698
1699         * sgml.C (escapeString): fix warning in a better way
1700
1701 2004-10-25  José Matos  <jamatos@lyx.org>
1702
1703         * sgml.C (escapeString): import the require boosts header file for
1704         tie, and avoid a signed unsigned comparison.
1705
1706 2004-10-25  José Matos  <jamatos@lyx.org>
1707
1708         * sgml.h: add #include <string>
1709
1710 2004-10-25  José Matos  <jamatos@lyx.org>
1711
1712         * sgml.[Ch] (escapeString): new function to escape all the string.
1713
1714 2004-10-24  José Matos  <jamatos@lyx.org>
1715
1716         * paragraph.[Ch] (getFirstWord): new function to get the first
1717         word. Useful for description.
1718         (simpleDocBookOnePar): remove depth argument, add another that
1719         says where to start the paragraph.
1720
1721         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1722         use the new functions to fix cleanly the support for descriptions.
1723
1724 2004-10-24  José Matos  <jamatos@lyx.org>
1725
1726         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1727         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1728         * output_linuxdoc.C (linuxdocParagraphs):
1729         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1730         add buffer as argument.
1731
1732 2004-10-24  José Matos  <jamatos@lyx.org>
1733
1734         * output_docbook.C (makeEnvironment, searchEnvironment): place
1735         CDATA inside paragraphs and fix scope for listitems.
1736
1737 2004-10-24  José Matos  <jamatos@lyx.org>
1738
1739         * output_docbook.C: remove using statement for stack.
1740
1741 2004-10-23  José Matos  <jamatos@lyx.org>
1742
1743         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1744         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1745         docbook. The new scheme is recursive and makes use of iterators, the
1746         same as latex export works.
1747         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1748         directly with the paragraph contents. This code was moved up to
1749         output_docbook.C (docbookParagraphs).
1750         * sgml.C (openTag, closeTag): removed unneeded newlines.
1751         (closeEnvTags) removed.
1752
1753 2004-10-23  André Pönitz  <poenitz@gmx.net>
1754
1755         * undo.C (textUndoOrRedo):
1756         * dociterator.C (asDocIterator): work around crash
1757
1758         * cursor.C (getStatus): replace ASSERT by more verbose error message
1759           and manual correction of the problem. Should increase stability
1760           while providing more sensible information.
1761
1762 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1763
1764         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1765
1766         * bufferlist.C (previous, next): new methods
1767
1768         * lfuns.h:
1769         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1770
1771 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1772
1773         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1774         entities to preamble.
1775
1776 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1777
1778         * messages.C (Pimpl): strip off translation context information
1779
1780 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1781
1782         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1783         the cursor is correct (bug 1694)
1784
1785 2004-10-13  José Matos  <jamatos@lyx.org>
1786
1787         * output_docbook.C (docbookParagraphs): fix closing tags in the
1788         end of the document.
1789
1790 2004-10-09  José Matos  <jamatos@lyx.org>
1791
1792         * buffer.C: format up to 237.
1793         * bufferparams.C (write): use tostr to convert booleans to strings.
1794
1795 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1796
1797         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1798
1799 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1800
1801         * LaTeX.C: implement use of babel language in xindy.
1802
1803 2004-10-05  José Matos  <jamatos@lyx.org>
1804
1805         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1806         Add new translators to help reading and writing the lyx file.
1807
1808 2004-10-05  José Matos  <jamatos@lyx.org>
1809
1810         * ParagraphParameters.C (read):
1811         * text.C (readParToken): replace nexToken by more appropriate lex
1812         methods.
1813
1814 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1815
1816         * LaTeX.C (runMakeIndex):
1817         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1818         (usually 'makeindex') configurable.
1819
1820         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1821         with a variable rather than with a number.
1822
1823 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1824
1825         * output_latex.C (TeXOnePar): make sure font setting is the first
1826         thing that gets output (and the last at the end). Should fix bug
1827         1404.
1828
1829 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1830
1831         * pch.h: use proper signal include
1832
1833         * LaTeX.h: Use preferred calling of Boost.Signal
1834         * buffer.h: ditto
1835
1836 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1837
1838         * pch.h: dont include <boost/function/function0.hpp>
1839
1840         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1841
1842         * paragraph_pimpl.h: remove usage of ShareContainer
1843
1844         * paragraph_pimpl.C: remove initialization of ShareContainer.
1845
1846 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1847
1848         Fix bug #1666
1849
1850         * BufferView.C (putSelectionAt): change the semantics when
1851         backwards == true: now, this just swaps cursor and anchor wrt the
1852         forward case
1853
1854         * BufferView.h (putSelectionAt): add some documentation
1855
1856         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1857         make sure backwardChar is done at least once (to avoid getting
1858         stuck)
1859         (findNextChange): use putSelectionAt in the forward direction
1860         (operator()): use Paragraph::isWord
1861
1862 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1863
1864         * Spacing.C (set): c_str fix
1865
1866 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1867
1868         * lyx_cb.C (Reconfigure): quote the name of configure script in
1869         case it contains spaces
1870
1871 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1872
1873         * client: new dir
1874
1875         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1876         (BOOST_LIBS): use top_buildir when looking for the file
1877
1878 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1879
1880         * pch.h: do not use include boost/format.hpp, multiple symbols
1881                 will result (gcc bug)
1882
1883
1884 2004-08-23  José Matos  <jamatos@lyx.org>
1885
1886         * bufferparams.C (readToken): fix reading of the author field.
1887
1888 2004-08-20  José Matos  <jamatos@lyx.org>
1889
1890         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1891
1892 2004-08-20  José Matos  <jamatos@lyx.org>
1893
1894         * lyxlex.[Ch] (findToken): remove function.
1895
1896         * ParagraphParameters.C (findToken):
1897         * bufferparams.C (findToken): replace call for previous function
1898         with local copy. This local function has one more argument, the
1899         read string argument.
1900
1901 2004-08-16  José Matos  <jamatos@lyx.org>
1902
1903         * ParagraphParameters.C (write):
1904         * Spacing.C (writeFile):
1905         * bufferparams.C (writeLaTeX):
1906         * lyx_cb.C (Reconfigure):
1907         * paragraph.C (write):
1908         * tabular.C (write): remove unnecessary space at end of line.
1909
1910
1911 2004-08-16  José Matos  <jamatos@lyx.org>
1912
1913         * text.C (readParagraph): remove debug message.
1914
1915 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1916
1917         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1918         crash
1919
1920         * output_plaintext.C (asciiParagraph): set depth correctly
1921
1922         * outputparams.h: add member depth
1923
1924         * paragraph_funcs.C (ownerPar): remove.
1925
1926         * text2.C (setCounter): remove first_pit; comment out some
1927         non-working code that uses ownerPar
1928
1929         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1930         uses ownerPar
1931
1932 2004-08-16  José Matos  <jamatos@lyx.org>
1933
1934         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1935         For the same level of importance use the same chanel to report problems.
1936         (read): add code to deal with \begin_body and \end_body.
1937
1938
1939 2004-08-15  José Matos  <jamatos@lyx.org>
1940
1941         * lyxlex.C (getString): fix comment, buffer::readBody is now
1942         buffer:readDocument.
1943
1944         * tex-strings.C (string_papersize): Default -> default,
1945         Custom -> custom, for consistency with other options.
1946
1947 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1948
1949         * pch.h: new file
1950
1951         * Makefile.am: support pch
1952
1953 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1954
1955         * text.C (readParToken): remove the static LyXFont variable and
1956         pass it as a parameter instead. This fixes a nasty bug where an
1957         inset will be inserted with a bad font in some situations
1958         (readParagraph): adapt
1959
1960         * text2.C (setCounter): reduce number of calls to pars_[pit]
1961
1962         * text.C (singleWidth): add an assert, fix a test
1963
1964         * rowpainter.C (paintText): reduce number of calls to singleWidth
1965
1966         * paragraph.C (isHfill):
1967         (isNewline): ws only
1968
1969 2004-08-14  André Pönitz  <poenitz@gmx.net>
1970
1971         * text.C:
1972         * text2.C:
1973         * rowpainter.C:
1974         * lyxtext.h (several functions): use a Paragraph & argument
1975         instead of par_type
1976
1977 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1978
1979         * metricsinfo.h: add a new field ltr_pos to PainterInfo
1980
1981         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1982
1983         * text.C (singleWidth): remove useless test
1984
1985 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1986
1987         * tabular.h: remove bogus comments
1988
1989         * tabular.C (getDescentOfRow):
1990         (isPartOfMultiColumn): add assertions
1991
1992         * lyxlength.C (inPixels): remove #warning
1993
1994 2004-08-14  André Pönitz  <poenitz@gmx.net>
1995
1996         * paragraph.h: inline getChar()
1997
1998         * BufferView.h: remove unused declarations
1999
2000 2004-08-14  José Matos  <jamatos@lyx.org>
2001
2002         * Buffer.[Ch] (readDocument): new name for old readBody.
2003         * Buffer.C: new file format, new keywords: \begin_document,
2004         \begin_header, \begin_body, \end_body.
2005
2006         * bufferparams.C (readToken): replace all calls to lex.nextToken
2007         by lex.next(). Do the same to eatLine except where really needed.
2008
2009         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2010         line when writing to the lyx file.
2011
2012         * output_plaintext.C (asciiParagraph): fix Bibliography style
2013         handling.
2014
2015         * text.C (read): fix end of file handling.
2016
2017 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2018
2019         * MenuBackend.C (Menu::operator[]): new method to access
2020         individual menu items
2021         (Menu::hasFunc): new method. search for an item that corresponds
2022         to a given func
2023         (MenuBackend::specialMenu): new method
2024         (MenuBackend::expand): if a special menu has been set, skip
2025         entries whose func() appears in this menu
2026
2027 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2028
2029         * text3.C: use Debug::DEBUG a bit more
2030
2031         * text.C (leftMargin): try to simplify a tiny bit change var x to
2032         l_margin. Dont output the wide margins always.
2033         (rightMargin): no margin in inner texts
2034
2035         * rowpainter.h (nestMargin): new func
2036         (changebarMargin): new func
2037         (rightMargin): new func
2038
2039         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2040         now functions.
2041         (paintLast): ditto
2042
2043         * factory.C (createInset): modify setDrawFrame
2044
2045         * cursor.C: use Debug::DEBUG a bit more
2046
2047 2004-08-14  André Pönitz  <poenitz@gmx.net>
2048
2049         * coordcache.[Ch]:
2050         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2051         cache for all insets in (at least partially) visible (top-level)
2052         paragraphs.
2053
2054         * BufferView_pimpl.C: reset external coord cache before every update.
2055         This means the coord cache only contains valid entries.
2056
2057 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2058
2059         bug 1096
2060         * BufferView_pimpl.C (getInsetByCode): move function out of class
2061         and change in to a template in anon namespace. Also fix to do what
2062         suits us better.
2063
2064 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2065
2066         bug 1305
2067         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2068         of char
2069         (breakParagraph): rename par to par_offset and use a local
2070         reference. Add code to keep the language over a rebreak.
2071         (breakParagraphConservative): rename par to par_offset, use a
2072         local reference
2073         (mergeParagraph): ditto
2074         (outerHook): ditto
2075         (isFirstInSequence): ditto
2076         (outerFont): rename pit to par_offset
2077
2078         * paragraph.C: ws change
2079         * paragraph.h: ditto
2080         * text3.C: ditto
2081         * text.C: ditto
2082
2083 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2084
2085         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2086         treatment for ']'
2087
2088         * paragraph.C (simpleTeXOnePar): when we have a \item with
2089         optional argument, enclose the argument with curly brackets (in
2090         case it contains a closing square bracket)
2091
2092         * text2.C (editXY):
2093         * text2.C (editXY):
2094         * text3.C (checkInsetHit): constify
2095
2096 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2097
2098         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2099         documents (bug 1629)
2100
2101 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2102
2103         Fix toggling of collapsable insets with the mouse (bug 1558)
2104
2105         * lyxfunc.C (dispatch): adapt to LCursor changes
2106
2107         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2108         make sure that dispatch is not invoked twice
2109
2110         * cursor.C (needsUpdate): new method
2111         (dispatch): return void
2112         (result): new method, to access the DispatchResult of the cursor.
2113
2114 2004-08-13  José Matos  <jamatos@lyx.org>
2115
2116         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2117
2118 2004-08-13  André Pönitz  <poenitz@gmx.net>
2119
2120         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2121
2122         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2123           multiple cells
2124
2125 2004-08-12  André Pönitz  <poenitz@gmx.net>
2126
2127         * text3.C: take out the 'cursor right' form insertInset and only
2128         do it in those places when it is really needed. Fixes crash on
2129         C-m...
2130
2131 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2132
2133         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2134
2135         * BufferView_pimpl.C (setBuffer): initialize the current font of
2136         the underlying LyXText
2137
2138 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2139
2140         * kbsequence.C (print): use UI native formatting for menu
2141         shortcuts
2142
2143         * text.C (insertChar): call Paragraph::insertChar with a font
2144         argument (cosmetic)
2145
2146         * paragraph.C (insertInset, insertChar): the version that takes a
2147         LyXFont argument is now a wrapper around the other one (the
2148         opposite used to be true).
2149
2150         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2151         argument. Font setting is done in Paragraph now.
2152
2153 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2154
2155         * outputparams.h: add new members intitle and lang.
2156
2157         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2158         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2159
2160 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2161
2162         * text3.C (dispatch): remove special handling of button 4 and 5,
2163         it is now taken care of in the frontend code.
2164
2165 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2166
2167         * Spacing.h: add <string> (STLPort compile fix)
2168
2169 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2170
2171         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2172
2173 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2174
2175         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2176         to bool.
2177
2178         * converter.C (showMessage): inherit from unary_function, make
2179         operator() const.
2180
2181         * buffer.C (writeFile): initialize retval
2182
2183         * InsetList.h: rename private variable list to list_
2184         * InsetList.[Ch]: adjust accordingly.
2185
2186 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2187
2188         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2189         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2190         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2191         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2192         * ParagraphParameters.C, LaTeXFeatures.C: replace
2193         "support/std_sstream.h" with <sstream>
2194
2195 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2196
2197         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2198         * lyxsocket.C (LyXServerSocket): ditto
2199         (serverCallback): ditto
2200
2201 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2202
2203         * LaTeXFeatures.C: check release date when loading jurabib.
2204
2205 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2206
2207         * lyxserver.C (startPipe): call register_socket_callback
2208         (endPipe): call unregister_socket_callback
2209
2210 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2211
2212         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2213         (LyXServerSocket): register the callback
2214         (LyXServerSocket): unregister the callback
2215         (fd): delete function
2216         (serverCallback): improve error checking and setup the callbacks.
2217         (dataCallback): change arg to fd.
2218         (writeln): new func (copied fro the client socket) used for server
2219         write to client.
2220         (LyXDataSocket): simplify
2221         (~LyXDataSocket): close ann unregiser callback
2222         (server): delete function
2223         (fd): delete function
2224         (readln): small changes, improve some std::string usage
2225         (writeln): constify a bit
2226
2227 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2228
2229         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2230         Qt frontend
2231
2232 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2233
2234         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2235         after it has been populated
2236
2237 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2238
2239         * text2.C (insertInset): move cursor when inserting inset.
2240
2241 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2242
2243         * kbmap.C (findbindings): a couple of new methods. returns a
2244         container of kb_sequence objects. The real work is done by the
2245         private recursive version
2246         (printbindings): uses findbindings to print out a bracketed list
2247         of bindings (renamed from findbinding).
2248
2249         * MenuBackend.C (binding): use kb_keymap::findbindings
2250
2251         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2252
2253 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2254
2255         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2256
2257 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2258
2259         * paragraph.C (isWord): return true on insets that report
2260         isLetter().
2261
2262         * text.C (getWord): use Paragraph::isWord to decide what is in a
2263         word and what is not; fix bug 1609.
2264
2265 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2266
2267         * tex-strings.C: add "none" to string_paperpackages[], fixes
2268         off-by-one-error in the paperpackage selection.
2269
2270         * lyxlex.[Ch]:
2271         * tex-strings.[Ch]: char const * string[n]
2272         -> char const * const string[]
2273
2274 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2275
2276         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2277         command, return early.
2278
2279 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2280
2281         * debug.h: add DEBUG to enum and fix size of ANY.
2282
2283         * debug.C: add support for Debug::DEBUG
2284         (showTags): cast errorTags.level to unsigned int
2285
2286         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2287         (redoCurrentBuffer): ditto
2288         (updateScrollbar): ditto
2289         * cursor.C (dispatch): ditto
2290         * text2.C (setLayout): ditto
2291         (setFont): ditto
2292         (updateCounters): ditto
2293         (editXY): ditto
2294         (deleteEmptyParagraphMechanism): ditto
2295
2296 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2297
2298         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2299         annotations to cleanup the Makefile slightly.
2300
2301 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2302
2303         * lyxrc.C: do not set user_email to a default value but use empty
2304         instead. The entry used to be translated, which does not work
2305         since at the point where lyxrc is constructed there is no
2306         translation service available
2307
2308         * messages.C (getLocaleDir): remove and use directly
2309         lyx_localedir() instead
2310
2311 2004-06-02  Angus Leeming  <leeming@lyx.org>
2312
2313         Fix crash caused by dereferencing null pointer 'exportdata' in
2314         OutputParams by creating a new ExportData variable on the heap,
2315         storing it in a boost::shared_ptr.
2316         The crash was triggered when generating an Instant Preview
2317         of an external inset.
2318
2319         * Makefile.am: add outputparams.C
2320
2321         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2322         (c-tor): allocate memory to it.
2323
2324         * exporter.C (c-tor): associated changes.
2325
2326 2004-06-01  Angus Leeming  <leeming@lyx.org>
2327
2328         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2329         contains data before calling isInset(0). (Bug 1513.)
2330
2331 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2332
2333         * exporter.C (checkOverwrite): new method
2334         * exporter.C (copyFile): new method
2335         * exporter.C (Export): copy referenced files to the document dir
2336         * exporter.[Ch]: new class ExportedFile
2337         * exporter.[Ch]: new class ExportData. Contains currently the
2338         names of referenced external files
2339         * outputparams.h: add exportdata member.
2340
2341 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2342
2343         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2344         version.C-tmp
2345
2346 2004-05-19  Angus Leeming  <leeming@lyx.org>
2347
2348         * LaTeXFeatures.C:
2349         * ToolbarBackend.C:
2350         * bufferparams.C:
2351         * lyxfunc.C: small changes due to the introduction of namespace
2352         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2353
2354 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2355
2356         * text3.C (dispatch): supress update when only moving the cursor
2357         * cursor.C (selHandle): remove commented code
2358
2359 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2360
2361         * paragraph.C (startTeXParParams): correct column count
2362         * CutAndPaste.C (pasteSelection): remove const_cast
2363         * output_docbook.C (docbookParagraphs): remove const_cast
2364         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2365         const_cast and return ParagraphList::const_iterator
2366         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2367         * output_plaintext.C (writeFileAscii): remove const_cast
2368         * paragraph.[Ch] (simpleTeXOnePar): make const
2369         * paragraph_funcs.C (outerPar): use const iterators
2370         * paragraph_pimpl.C (validate): use const iterators
2371         * text.C (setHeightOfRow): use const iterators
2372
2373 2004-05-17  Angus Leeming  <leeming@lyx.org>
2374
2375         * lfuns.h:
2376         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2377
2378         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2379         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2380         if the citation engine has changed.
2381
2382 2004-05-14  José Matos  <jamatos@lyx.org>
2383
2384         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2385         if the textclass does not provide it. Have it different for sgml and
2386         xml.
2387         support the language of document.
2388         * output_docbook.C (docbookParagraphs):
2389         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2390         first anchor as the id of the paragraph, remove special case code.
2391         * sgml.C (escapeChar): escape only < & >.
2392
2393 2004-05-14  Angus Leeming  <leeming@lyx.org>
2394
2395         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2396         dependencies on src/frontends/controllers/biblio.h. Define a
2397         CiteEngine_enum wrapper class to enable the enum to be forward
2398         declared.
2399
2400 2004-05-12  Angus Leeming  <leeming@lyx.org>
2401
2402         * buffer.C: up LYX_FORMAT to 234.
2403         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2404         use_numerical_citations with a single biblio::CiteEngine cite_engine
2405         variable.
2406         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2407
2408 2004-05-13  José Matos  <jamatos@lyx.org>
2409
2410         * converter.h:
2411         * converter.C (Converter, readFlags): add xml member.
2412         * outputparams.h: add XML flavor.
2413         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2414
2415 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2416
2417         * lyxfunc.C (dispatch):
2418         (getStatus): fix handling of LFUN_SEQUENCE
2419
2420 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2421
2422         * debug.C (showLevel): do not forget the end-of-line marker
2423
2424 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2425
2426         * kbmap.C (read): do not stop parsing a bind file when an error
2427         occurs (bug 1575)
2428
2429 2004-04-29  Angus Leeming  <leeming@lyx.org>
2430
2431         * cursor.C:
2432         * factory.C:
2433         * pariterator.C:
2434         * text2.C: wrap a bunch of #warning statements
2435         inside #ifdef WITH_WARNINGS blocks.
2436
2437 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2438
2439         * buffer.C: increment format to 233.
2440
2441 2004-04-28  Angus Leeming  <leeming@lyx.org>
2442
2443         * BufferView_pimpl.C:
2444         * lyxfunc.C:
2445         * text3.C:
2446         s/updateToolbar()/updateToolbars()/
2447         s/Toolbar.h/Toolbars.h/
2448
2449 2004-04-28  Angus Leeming  <leeming@lyx.org>
2450
2451         * BufferView.[Ch] (c-tor):
2452         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2453         No longer passes these data to the WorkArea generator.
2454
2455 2004-04-28  Angus Leeming  <leeming@lyx.org>
2456
2457         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2458
2459 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2460
2461         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2462
2463 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2464
2465         * output_latex.C (TeXEnvironment): make sure that there is a line
2466         break before \end{foo} for the last paragraph of a document
2467         (TeXOnePar): if the paragraph is at the end of the document (or
2468         inset) and the language has to be reset, then make sure that the
2469         line break is _before_ the language command, not after (fixes bug
2470         1225); also make sure that the language reset command is the first
2471         thing after the paragraph (to ensure proper nesting of
2472         environments and thus fix bug 1404)
2473
2474 2004-04-21  John Levon  <levon@movementarian.org>
2475
2476         * ToolbarBackend.h:
2477         * ToolbarBackend.C: make "name" be a programmatic name
2478         and a gui_name field.
2479
2480         * lyxfunc.C: display the minibuffer on M-x
2481
2482 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2483
2484         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2485         (bug 1526)
2486
2487 2004-04-19  Angus Leeming  <leeming@lyx.org>
2488
2489         * BufferView_pimpl.C (setBuffer): changed preview interface.
2490
2491         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2492         possible values.
2493
2494 2004-04-19  John Levon  <levon@movementarian.org>
2495
2496         * BufferView_pimpl.C:
2497         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2498
2499 2004-04-05  Angus Leeming  <leeming@lyx.org>
2500
2501         * text.C (redoParagraphs): add call to updateCounters(), thereby
2502         fixing the missing "Figure #:" label from the caption of a
2503         figure float.
2504
2505 2004-04-13  Angus Leeming  <leeming@lyx.org>
2506
2507         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2508         cursor is clicked out of an inset.
2509
2510 2004-04-13  Angus Leeming  <leeming@lyx.org>
2511
2512         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2513         than an InsetOld one.
2514
2515 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2516
2517         * format.[Ch]: add editor to Format
2518         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2519         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2520
2521 2004-04-08  André Pönitz  <poenitz@gmx.net>
2522
2523         * metricsinfo.h: remove PainterInfo::width member
2524
2525 2004-04-08  Angus Leeming  <leeming@lyx.org>
2526
2527         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2528         "\providecommand" rather than "\newcommand", thereby preventing
2529         clashes with packages that define "\boldsymbol" themselves.
2530         Eg, beamer.
2531
2532 2004-04-08  Angus Leeming  <leeming@lyx.org>
2533
2534         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2535         thereby squashing an unnecessary warning.
2536
2537 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2538
2539         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2540         setBuffer()
2541
2542 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2543
2544         * BufferView.C (setCursor): call redoParagraph (some insets could
2545         have been opened)
2546         (putSelectionAt): remove the 'double update' trick
2547
2548         * BufferView_pimpl.C (fitCursor): call refreshPar
2549         (workAreaDispatch): remove an uneeded update call
2550         (dispatch): remove some manual update calls
2551
2552         * cursor.[Ch]: remove cached_y_, updatePos
2553         (selHandle): set noUpdate when appropriate
2554
2555         * lyxfunc.C (dispatch): track if we need an update
2556
2557         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2558
2559         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2560         (paintSelection): cheap optimization, do not call cursorX when not
2561         needed
2562         (paintPars): change signature
2563         (refreshPar): add
2564         (paintText): adjust
2565         (paintTextInset): adjust
2566
2567         * text.C: adjust
2568
2569 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2570
2571         * lengthcommon.C: compilation fix: remove explicit array size from
2572         unit_name[] and friends
2573
2574 2004-04-05  Angus Leeming  <leeming@lyx.org>
2575
2576         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2577
2578         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2579         present only for the preferences dialog.
2580         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2581
2582 2004-04-05  Angus Leeming  <leeming@lyx.org>
2583
2584         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2585         to enable the frontends to export changes to lyxrc correctly.
2586
2587         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2588
2589 2004-04-07  André Pönitz  <poenitz@gmx.net>
2590
2591         * cursor.[Ch] (selClear, adjust): remove math
2592
2593         * cursor_slice.C: more agressive assert
2594
2595         * lyxfunc.C:
2596         * BufferView_pimpl.C: rework mouse event dispatch
2597
2598         * dociterator.C:
2599         * paragraph.C:
2600         * text2.C:
2601         * text3.C: adjust
2602
2603 2004-04-05  André Pönitz  <poenitz@gmx.net>
2604
2605         * cursor.[Ch] (valign, halign...): remove unneeded functions
2606
2607 2004-04-05  Angus Leeming  <leeming@lyx.org>
2608
2609         * lyxlength.[Ch] (unit_name et al.): const-correct.
2610
2611 2004-04-05  Angus Leeming  <leeming@lyx.org>
2612
2613         * BufferView_pimpl.C:
2614         * buffer.C:
2615         * counters.C:
2616         * cursor.C:
2617         * lyxfunc.C
2618         * paragraph.C:
2619         * pariterator.C:
2620         * text.C:
2621         * text2.C:
2622         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2623
2624 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2625
2626         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2627
2628 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2629
2630         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2631         * BufferView_pimpl.[Ch] (getStatus)
2632         * BufferView.[Ch] (getStatus): add
2633         * lyxfunc.C (getStatus): move lfuns handled in
2634         BufferView::dispatch to te function above
2635         * Cursor.C (setSelection): set selection() = true
2636
2637 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2638
2639         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2640
2641 2004-03-31  Angus Leeming  <leeming@lyx.org>
2642
2643         * lyxfunc.C (dispatch): Fall through to the generic
2644         Dialogs::show("preamble").
2645
2646 2004-03-31  Angus Leeming  <leeming@lyx.org>
2647
2648         * lyxfunc.C (dispatch): Fall through to the generic
2649         Dialogs::show("spellchecker").
2650
2651 2004-03-31  Angus Leeming  <leeming@lyx.org>
2652
2653         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2654         preferences dialog.
2655
2656 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2657
2658         * BufferView.C
2659         * cursor.[Ch]
2660         * dociterator.[Ch]:
2661         * insetiterator.[Ch]:
2662         * lyxfind.C:
2663         * lyxfunc.C:
2664         * pariterator.[Ch]:
2665         * text2.C:
2666         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2667
2668 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2669
2670         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2671         insets where we are putting the cursor.
2672
2673 2004-03-31  Angus Leeming  <leeming@lyx.org>
2674
2675         * lfuns.h:
2676         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2677
2678         * lyxrc.[Ch] (read, write): overloaded member functions taking
2679         a std::[io]stream arguments.
2680
2681         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2682
2683 2004-03-31  Angus Leeming  <leeming@lyx.org>
2684
2685         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2686         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2687
2688         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2689         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2690
2691 2004-03-31  Angus Leeming  <leeming@lyx.org>
2692
2693         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2694         the LFUN_ALL_INSETS_TOGGLE code.
2695
2696 2004-03-30  Angus Leeming  <leeming@lyx.org>
2697
2698         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2699         has died. Fall through to the generic Dialogs::show("document").
2700
2701 2004-03-30  Angus Leeming  <leeming@lyx.org>
2702
2703         * lfuns.h:
2704         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2705         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2706
2707         * lyxfunc.C (getStatus, dispatch): define the actions for these
2708         lfuns. Little more than a cut and pste job from ControlDocument.C
2709
2710         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2711
2712 2004-03-30  Angus Leeming  <leeming@lyx.org>
2713
2714         * lfuns.h:
2715         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2716         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2717
2718         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2719         open/closed state of ollapsable insets. Usage:
2720
2721         all-inset-toggle <state> <name>, where
2722         <state> == "open" || "closed" || "toggle" and
2723         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2724
2725         * lyxtext.h, text2.C (toggleInset): removed.
2726
2727         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2728         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2729         now passes LFUN_INSET_TOGGLE to the found inset.
2730
2731         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2732         is now invoked as "all-insets-toggle toggle branch".
2733
2734 2004-03-30  Angus Leeming  <leeming@lyx.org>
2735
2736         * dociterator.C:
2737         * insetiterator.C:
2738         * pariterator.[Ch]: added/corrected header blurb.
2739
2740 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2741
2742         * dociterator.[Ch]: add an inset_ member
2743         (backwardPos): implemented
2744         (backwardPos, forwardPos): use inset_ when the stack is empty.
2745         (doc_iterator_begin, doc_iterator_end): implemented
2746         * pariterator.[Ch]: adjust, add begin, end
2747         * insetiterator.[Ch]: adjust, add begin, end
2748         * cursor.C:
2749         * document.C:
2750         * BufferView.C:
2751         * BufferView_pimpl.C:
2752         * CutAndPaste.C: adjust
2753
2754 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2755
2756         * buffer.C: increment file format to 232.
2757         * LaTeXFeatures.C: add bibtopic package.
2758         * bufferparams.[Ch]: param \use_bibtopic.
2759
2760         * lyxrc.[Ch]: add lyxrc bibtex_command
2761         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2762
2763         * buffer.C: increment file format to 231.
2764
2765 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2766
2767         * dociterator.C: implement forwardPar
2768         * iterators.[Ch]: remove, replaced by
2769         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2770         * BufferView.C:
2771         * BufferView_pimpl.C:
2772         * CutAndPaste.C:
2773         * buffer.C:
2774         * bufferview_funcs.C:
2775         * cursor.C:
2776         * lyxfind.C
2777         * lyxfunc.C
2778         * paragraph_funcs.C
2779         * toc.C:
2780         * Makefile.am: adjust
2781
2782 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2783
2784         * CutAndPaste.C (pasteSelection): fix 2 crashes
2785         (eraseSelection): fix a crash
2786         * paragraph_funcs.C: remove a warning
2787
2788 2004-03-28  Angus Leeming  <leeming@lyx.org>
2789
2790         * lfuns.h:
2791         * LyXAction.C (init): new LFUN_PRINT.
2792
2793         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2794
2795 2004-03-27  Angus Leeming  <leeming@lyx.org>
2796
2797         * lfuns.h:
2798         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2799
2800         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2801
2802 2004-03-27  Angus Leeming  <leeming@lyx.org>
2803
2804         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2805         insetlist always contains non-null pointers to insets.
2806
2807 2004-03-26  Angus Leeming  <leeming@lyx.org>
2808
2809         * src/BufferView_pimpl.C:
2810         * src/CutAndPaste.C:
2811         * src/buffer.C:
2812         * src/iterators.C:
2813         * src/output_plaintext.C:
2814         * src/outputparams.h:
2815         * src/paragraph_funcs.C:
2816         * src/rowpainter.C:
2817         * src/text.C:
2818         * src/text2.C:
2819         * src/frontends/controllers/ControlErrorList.C:
2820         * src/frontends/gtk/FileDialogPrivate.C:
2821         * src/frontends/gtk/GPainter.C:
2822         * src/frontends/gtk/GToolbar.C:
2823         * src/frontends/qt2/QRef.C:
2824         * src/mathed/math_scriptinset.C: squash compiler warnings.
2825
2826 2004-03-26  Angus Leeming  <leeming@lyx.org>
2827
2828         * ispell.C (LaunchIspell::start):
2829         * lyx_cb.C (AutoSaveBuffer::start):
2830         invoke run(DontWait) rather than runNonBlocking().
2831
2832 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2833
2834         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2835
2836 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2837
2838         * kbsequence.C (print): adjust
2839
2840         * kbmap.C (printKeySym): rename and change signature
2841         (printKey): use LyXKeySym::print()
2842
2843 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2844
2845         * undo.C: add using std::advance to compile for stlport
2846
2847 2004-03-24  Angus Leeming  <leeming@lyx.org>
2848
2849         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2850         it leads to a crash when no buffer is present.
2851
2852 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2853             Martin Vermeer  <martin.vermeer@hut.fi>
2854
2855         * lyxfunc.C (dispatch):
2856         * bufferparams.C (readToken): use the new LColor::setColor
2857
2858         * LColor.[Ch] (setColor): new version that takes two strings as
2859         argument and creates a new color entry if necessary
2860
2861 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2862
2863         * buffer.C (makeLaTeXFile): if the main latex file that is
2864         processed is usually a subdocument of some master, then pretend
2865         for a while that it is actually the master
2866
2867 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2868
2869         * buffer.C (getLabelList):
2870         (getBibkeyList): use getMasterBuffer()
2871         (getMasterBuffer): new method. Returns the main document in the
2872         case where one is using included documents.
2873
2874 2004-03-25  André Pönitz  <poenitz@gmx.net>
2875
2876         * Makefile.am:
2877         * iterators.[Ch]:
2878         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2879
2880         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2881
2882         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2883         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2884
2885         * ParameterStruct.h: merge with ParagraphParameters
2886
2887         * lyxtext.h: remove LyXText::parOffset() and getPar()
2888
2889         * text3.C: Remove all 'manual' update calls. We do now one per user
2890         interaction which is completely sufficient.
2891
2892         * Bidi.C:
2893         * BufferView.[Ch]:
2894         * BufferView_pimpl.C:
2895         * FontIterator.[Ch]:
2896         * MenuBackend.C:
2897         * ParagraphParameters.[Ch]:
2898         * buffer.C:
2899         * buffer.h:
2900         * bufferlist.C:
2901         * cursor.[Ch]:
2902         * cursor_slice.[Ch]:
2903         * dociterator.[Ch]:
2904         * errorlist.[Ch]:
2905         * factory.C:
2906         * lfuns.h:
2907         * lyxfind.C:
2908         * lyxfunc.C:
2909         * output_docbook.[Ch]:
2910         * output_latex.[Ch]:
2911         * output_linuxdoc.[Ch]:
2912         * output_plaintext.[Ch]:
2913         * paragraph.[Ch]:
2914         * paragraph_funcs.[Ch]:
2915         * paragraph_pimpl.[Ch]:
2916         * rowpainter.C:
2917         * tabular.[Ch]:
2918         * text.C:
2919         * text2.C:
2920         * toc.C:
2921         * undo.[Ch]: adjust
2922
2923         * frontends/controllers/ControlDocument.C:
2924         * frontends/controllers/ControlErrorList.C:
2925         * frontends/controllers/ControlSpellchecker.C:
2926         * insets/inset.C:
2927         * insets/inset.h:
2928         * insets/insetbase.h:
2929         * insets/insetbibitem.C:
2930         * insets/insetbox.C:
2931         * insets/insetbranch.C:
2932         * insets/insetcaption.C:
2933         * insets/insetcharstyle.C:
2934         * insets/insetcharstyle.h:
2935         * insets/insetcollapsable.C:
2936         * insets/insetcollapsable.h:
2937         * insets/insetert.C:
2938         * insets/insetfloat.C:
2939         * insets/insetfoot.C:
2940         * insets/insetmarginal.C:
2941         * insets/insetnote.C:
2942         * insets/insetoptarg.C:
2943         * insets/insettabular.C:
2944         * insets/insettext.C:
2945         * insets/insettext.h:
2946         * insets/insetwrap.C:
2947         * mathed/math_mboxinset.C:
2948         * mathed/math_nestinset.C:
2949         * mathed/math_scriptinset.C:
2950         * mathed/math_scriptinset.h:
2951         * support/types.h:
2952
2953 2004-03-24  Angus Leeming  <leeming@lyx.org>
2954
2955         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2956         deal with any child processes that have finished but are waiting to
2957         communicate this fact to the rest of LyX.
2958
2959 2004-03-24  Angus Leeming  <leeming@lyx.org>
2960
2961         64-bit compile fixes.
2962
2963         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2964         (c-tor): pass lyx::pos_types rather than ints.
2965
2966         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2967         lyx::pos_type.
2968
2969         * text.C (Delete): compile fix.
2970         (getPar): ensure that function declaration is the same as that in
2971         the header file.
2972
2973 2004-03-23  Angus Leeming  <leeming@lyx.org>
2974
2975         * ispell.C (LaunchIspell):
2976         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2977         a boost::shred_ptr rather than a std::auto_ptr.
2978
2979 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2980
2981         * lyxfunc.C (getStatus): handle read-only buffers correctly;
2982         handle LFUN_FILE_INSERT_*
2983
2984         * lyxrc.C (setDefaults, getDescription, output, read):
2985         * lyxrc.h: remove ps_command
2986
2987 2004-03-22  Angus Leeming  <leeming@lyx.org>
2988
2989         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2990         Ensure that error_handler is processed once only and that all data
2991         is saved before attempting to output any warning messages.
2992
2993         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2994
2995 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
2996
2997         * tabular.C (TeXRow): crash fix (from Kayvan and André)
2998
2999 2004-03-19  André Pönitz  <poenitz@gmx.net>
3000
3001         * cursor.[Ch] (reset): take main text inset as argument
3002
3003         * BufferView: adjust
3004         * BufferView_pimpl.C: adjust
3005
3006         * paragraph.[Ch]: fix completely broken operator=()
3007
3008 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3009
3010         * LColor.C (getFromLyXName): make sure that the color name is used
3011         as lowercase.
3012
3013 2004-03-17  Angus Leeming  <leeming@lyx.org>
3014
3015         * lfuns.h:
3016         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3017
3018         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3019         dialog and to kill a forked process.
3020
3021 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3022
3023         * text2.C (setCursorFromCoordinates): fix font problem
3024
3025 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3026
3027         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3028         bogus "rebuild cursor" code
3029
3030 2004-03-11  André Pönitz  <poenitz@gmx.net>
3031
3032         * buffer.[Ch]: use InsetText instead of LyXText as container for
3033         the main lyx text.
3034
3035         * dociterator.[Ch]: drop the BufferView * member which is not needed
3036         anymore after the change to buffer.C
3037
3038         * paragraph_funcs.C:
3039         * text.C:
3040         * text2.C:
3041         * BufferView.[Ch]:
3042         * BufferView_pimpl.[Ch]:
3043         * cursor.[Ch]:
3044         * cursor_slice.[Ch]: adjust
3045
3046         * text3.C: fix bug in mathDispatch
3047
3048 2004-03-08  André Pönitz  <poenitz@gmx.net>
3049
3050         * undo.[Ch]: use 'StableDocumentIterator' as base for
3051         the Undo struct.
3052
3053 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3054
3055         * LaTeXFeatures.C:
3056         * bufferparams.[Ch]: add jurabib support and param.
3057
3058         * LaTeX.C: add FIXME/comment.
3059
3060 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3061
3062         * buffer.C: increment file format to 230.
3063
3064 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3065
3066         * cursor.C (dispatch): avoid infinite loops
3067
3068 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3069
3070         * rowpainter.C (paintSelection): fix x coordinates
3071
3072 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3073
3074         * text.C (rowBreakPoint): fix breaking before displayed insets
3075
3076 2004-03-01  André Pönitz  <poenitz@gmx.net>
3077
3078         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3079
3080         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3081
3082         * Makefile.am:
3083         * BufferView.C:
3084         * BufferView_pimpl.C:
3085         * buffer.C:
3086         * lyxfind.C:
3087         * lyxfunc.C:
3088         * text.C:
3089         * text2.C:
3090         * text3.C: adjust
3091
3092 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3093
3094         * lyxtext.h:
3095         * text.C:
3096         * text2.C:
3097         * rowpainter.C:
3098         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3099         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3100
3101 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3102
3103         * Bidi.[Ch] (computeTables): const correctness
3104         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3105         fill_hfill, fill_label_hfill and x from Row
3106         * lyxtext.h: prepareToPrint returns a RowMetrics
3107         * rowPainter.C: adjust
3108         * text.C (prepareToPrint): use width, not textWidth. adjust
3109         (redoParagraphInternal, cursorX): adjust
3110         * text2.C (getColumnNearX): adjust
3111         (init): put a default value to the top LyXText::width
3112
3113 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3114
3115         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3116
3117 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3118
3119         * lyxtext.h: add FontIterator class
3120
3121         * text.C (FontIterator, operator*, operator->, operator++): add
3122         (rowBreakPoint, setRowWidth): adjust (fixing a
3123         rebreaking bug)
3124
3125 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3126
3127         * BufferView_pimpl.C (workAreaDispatch): allow also
3128         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3129
3130 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3131
3132         * text.C (rowBreakPoint): fix a bug showing with very large insets
3133
3134 2004-02-25  André Pönitz  <poenitz@gmx.net>
3135
3136         * text3.C:
3137         * cursor.[Ch]: move some mathed specific code to mathed
3138
3139 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3140
3141         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3142         use_tempdir in preferences
3143         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3144         tempfile creation
3145         * lyx_main.C: ensure that tempdir is valid
3146         * lyxlex.h: correct typo
3147         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3148         * paragraph.[Ch] (isMultiLingual): make const
3149         * cursor.[Ch] (openable): make const
3150
3151 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3152
3153         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3154
3155 2004-02-20  André Pönitz  <poenitz@gmx.net>
3156
3157         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3158
3159         * cursor.[Ch]: prepare for localized getStatus()
3160
3161         * lyxtext.h:
3162         * tabular.C:
3163         * text.C:
3164         * text2.C:
3165         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3166
3167 2004-02-20  André Pönitz  <poenitz@gmx.net>
3168
3169         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3170
3171 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3172
3173         * text2.C (setCursorFromCoordinates): switch to absolute coords
3174         (cursorUp): adjust
3175         (cursorDown): adjust
3176         * text3.C (dispatch): adjust
3177
3178 2004-02-16  André Pönitz  <poenitz@gmx.net>
3179
3180         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3181           insets/ChangeLog)
3182
3183         * cursor_slice.[Ch]: remove unneeded acessor function
3184
3185         * lyxtext.h: rename rtl() to isRTL()
3186
3187         * rowpainter.C:
3188         * tabular.C:
3189         * text.C:
3190         * text2.C:
3191         * text3.C: adjust
3192
3193 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3194
3195         * rowpainter.C (paintSelection): coord fix
3196
3197 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3198
3199         * Spacing.C: compile fix
3200
3201 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3202
3203         * cursor.C (dispatch): restore current_ before returning
3204
3205 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3206
3207         * text2.C (cursorUp, cursorDown): fix coords
3208         (moveUp): fix crash
3209
3210 2004-02-12  André Pönitz  <poenitz@gmx.net>
3211
3212         * lyxtext.h:
3213         * text.C:
3214         * text2.C:
3215         * text3.C: add LCursor & parameter to most cursor movement functions
3216           remove usage of LyXText::cursorRow() and cursorPar()
3217
3218         * cursor.[Ch]: add textRow() needed members
3219
3220         * BufferView.C:
3221         * BufferView_pimpl.C:
3222         * paragraph.[Ch]:
3223         * BufferView.C:
3224         * BufferView_pimpl.C: adjust
3225
3226 2004-02-11  André Pönitz  <poenitz@gmx.net>
3227
3228         * lyxfunc.C:
3229         * BufferView.[Ch]:
3230         * BufferView_pimpl.C: shift undo/redo handling
3231
3232         * cursor.[Ch]: fix mathed crash
3233
3234         * lyxfind.C:
3235         * lyxtext.h: move selectionAsText to LCursor
3236
3237         * output_latex.C:
3238         * paragraph.C:
3239         * text.C:
3240         * text2.C:
3241         * text3.C: adjust
3242
3243         * rowpainter.C: fix excessive drawing
3244
3245 2004-02-06  André Pönitz  <poenitz@gmx.net>
3246
3247         * BufferView.[Ch]:
3248         * BufferView_pimpl.[Ch]:
3249         * text3.C: move some text specific LFUN handling
3250
3251 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3252
3253         * text3.C (checkInsetHit): adjust coords
3254         * text2.C (getColumnNearX): adjust coords
3255         (edit): adjust coords
3256         * text.C (getRowNearY): add two asserts
3257
3258 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3259
3260         * converter.C:
3261         * format.C: add using std::distance to compile on gcc 2.95/stlport
3262
3263 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3264
3265         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3266
3267 2004-02-04  André Pönitz  <poenitz@gmx.net>
3268
3269         * BufferView.[Ch] (insertInset):
3270         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3271
3272         * text2.C:
3273         * text3.C: adjust
3274
3275 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3276
3277         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3278         on the default clause of the switch
3279         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3280         wasn't catched by LCursor::dispatch
3281
3282 2004-02-03  André Pönitz  <poenitz@gmx.net>
3283
3284         * BufferView.C:
3285         * cursor.[Ch]: some additional asserts
3286
3287         * undo.[Ch]: remove LyXText dependency in interface
3288
3289         * lyxfunc.C: adjust
3290
3291         * lyxtext.h (firstPar, lastPar): remove dead functions
3292
3293         * text.C:
3294         * text2.C:
3295         * text3.C:
3296         * paragraph.[Ch]: adjust
3297
3298 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3299
3300         * lyxfind.C (find): fix argument order in call to ::find
3301
3302 2004-02-02  André Pönitz  <poenitz@gmx.net>
3303
3304         * cursor.[Ch]: remove direct access to anchor
3305
3306         * text.C: remove findText() hack
3307
3308 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3309
3310         * iterators.[Ch] (lockPath): remove in favour of...
3311         * BufferView.[Ch] (setCursor): this addition
3312         * BufferView.C (putSelectionAt): adjust
3313         * undo.C (performUndoOrRedo): adjust
3314         * lyxfunc.C (dispatch): adjust
3315
3316 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3317
3318         * iterators.C (lockPath): add a missing slice
3319         * undo.C (performUndoOrRedo): remove redundant positioning code
3320
3321 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3322
3323         * vc-backend.C (scanMaster): ";" -> ';'
3324
3325 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3326
3327         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3328         std::binary_function
3329
3330         * lyxtextclass.C (compare_name): rename to...
3331         (LayoutNamesEqual): ...this
3332
3333         * lyxlex_pimpl.C (compare_tags): inherit from
3334         std::binary_function, put back into anon namespace
3335
3336         * lyxfind.C (MatchString): inherig from std::binary_function
3337         (findChange): use empty() istead of !size()
3338
3339         * format.C (FormatNamesEqual): new functor
3340         (getFormat): use it
3341         (getNumber): use it
3342         (add): use it
3343         (erase): use it
3344         (setViewer): use it
3345
3346         * converter.C (compare_Converter): rename to...
3347         (ConverterEqual): ...this, and fixup a bit.
3348         (getConverter): use it, and make function const
3349         (getNumber): use it, and make function const
3350         (add): use it
3351         (erase): use it:
3352
3353         * bufferlist.C: add using boost::bind
3354
3355         * MenuBackend.C (MenuNamesEqual): new functor
3356         (hasMenu): use it, and make function const
3357         (hasSubmenu): use nested bind to get rid of compare_memfun.
3358
3359 2004-01-30  André Pönitz  <poenitz@gmx.net>
3360
3361         * BufferView_pimpl.C:
3362         * cursor.C:
3363         * cursor.h:
3364         * cursor_slice.[Ch]:
3365         * lyxfunc.C:
3366         * lyxtext.h:
3367         * paragraph_funcs.C:
3368         * paragraph_funcs.h:
3369         * rowpainter.C:
3370         * text.C:
3371         * text2.C:
3372         * text3.C: move some of the edit(x,y) handling to the insets
3373         some coordinate changes.
3374
3375 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3376
3377         * text.C: add using statements for std::advance and std::distance
3378
3379         * paragraph.C: add using statement for std::distance
3380
3381         * lyxfind.C: add using statement for std::advance
3382
3383         * cursor.C (region): remove std:: from swap
3384         (openable): use nucleus in stead of operator->
3385
3386         * BufferView.C: add using statements for std::distance and std::swap
3387
3388 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3389
3390         * iterators.C: Remove the pimple, move the needed structures to
3391         the header file. Create accessor for the positions stack.
3392         (asPosIterator): remove function
3393
3394         * PosIterator.C (PosIterator): move constructors to top of file
3395         (PosIterator): reimplement the constructor taking a ParIterator in
3396         terms of setFrom.
3397         (setFrom): new function
3398         (operator!=): inline it
3399
3400 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3401
3402         * lyxfind.C (replaceAll): use std::advance
3403
3404         * iterators.h: inherit from std::iterator.
3405
3406         * PosIterator.C (advance, distance): remove
3407         * PosIterator.h: interit from std::iterator.
3408
3409 2004-01-26  André Pönitz  <poenitz@gmx.net>
3410
3411         * BufferView.[Ch]:
3412         * BufferView_pimpl.[Ch]:
3413         * InsetList.[Ch]:
3414         * PosIterator.[Ch]:
3415         * buffer.h:
3416         * bufferview_funcs.C:
3417         * cursor.[Ch]:
3418         * cursor_slice.h:
3419         * factory.[Ch]:
3420         * iterators.[Ch]:
3421         * lyxfind.C:
3422         * lyxfunc.C:
3423         * lyxtext.h:
3424         * output_docbook.C:
3425         * output_latex.C:
3426         * output_linuxdoc.C:
3427         * output_plaintext.C:
3428         * paragraph.[Ch]:
3429         * paragraph_funcs.[Ch]:
3430         * paragraph_pimpl.[Ch]:
3431         * rowpainter.C:
3432         * tabular.C:
3433         * tabular.h:
3434         * text.C:
3435         * text2.C:
3436         * text3.C: more IU:  dumps most of the rest of the mathcursor
3437     implementation into cursor.[Ch]; "globalize" a bit of it.
3438
3439 2004-01-25  Angus Leeming  <leeming@lyx.org>
3440
3441         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3442
3443 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3444
3445         * LaTeXFeatures.h: add nice_ and nice() const
3446         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3447
3448 2004-01-20  André Pönitz  <poenitz@gmx.net>
3449
3450         * BufferView.[Ch]:
3451         * BufferView_pimpl.C:
3452         * PosIterator.C:
3453         * bufferview_funcs.C:
3454         * cursor.[Ch]:
3455         * cursor_slice.[Ch]:
3456         * factory.C:
3457         * iterators.C:
3458         * lyx_cb.C:
3459         * lyxfind.C:
3460         * lyxfunc.C:
3461         * lyxtext.h:
3462         * rowpainter.C:
3463         * text.C:
3464         * text2.C:
3465         * text3.C:
3466         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3467           LCursor and mathcursor parts to LCursor and InsetBase.
3468
3469 2004-01-15  André Pönitz  <poenitz@gmx.net>
3470
3471         * cursor_slice.[Ch]: add a few covienience functions
3472
3473         * funcrequest.[Ch]: remove BufferView * member
3474
3475         * BufferView_pimpl.C:
3476         * cursor.C:
3477         * factory.[Ch]:
3478         * lyxfind.[Ch]:
3479         * lyxfunc.C:
3480         * lyxtext.h:
3481         * text3.C:
3482         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3483
3484 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3485
3486         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3487         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3488
3489 2004-01-13  André Pönitz  <poenitz@gmx.net>
3490
3491         * textcursor.[Ch]:
3492         * lyxtext.h: hide cursor and selection anchor behind accessor function
3493
3494         * BufferView.C:
3495         * BufferView_pimpl.[Ch]:
3496         * PosIterator.C:
3497         * bufferview_funcs.C:
3498         * cursor.h:
3499         * lyxfind.C:
3500         * lyxfunc.C:
3501         * text.C:
3502         * text2.C:
3503         * text3.C:
3504         * undo.C: adjust
3505
3506         * cursor.h:
3507         * cursor_slice.[Ch]: some integer type changes for inset unification
3508
3509         * lyxcursor.[hC]: remove, it's CursorSlice now.
3510
3511         * Makefile.am:
3512         * BufferView_pimpl.[Ch]:
3513         * bufferview_funcs.C:
3514         * cursor_slice.C:
3515         * lyxtext.h:
3516         * text.C:
3517         * text2.C:
3518         * text3.C:
3519         * textcursor.[Ch]: adjust
3520
3521 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3522
3523         * text2.C (undoSpan): add and use
3524         * text.C (breakParagraph): use undoSpan (fix bug 578)
3525         * lyxtext.h: adjust
3526
3527 2004-01-08  Angus Leeming  <leeming@lyx.org>
3528
3529         * BufferView_pimpl.C (MenuInsertLyXFile):
3530         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3531         * lyxfunc.C (menuNew, open, doImport):
3532         FileFilterList change to the FileDialog open and save functions.
3533
3534 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3535
3536         * ShareContainer.h: make isEqual and isUnique adaptable
3537
3538         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3539
3540 2004-01-07  Angus Leeming  <leeming@lyx.org>
3541
3542         * LyXAction.C:
3543         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3544
3545         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3546
3547         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3548         functions replacing find, replace and replaceAll.
3549
3550         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3551         LFUN_WORDFIND(FORWARD|BACKWARD).
3552
3553 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3554
3555         * text.C (breakParagraph): remove an outdated #warning
3556
3557 2004-01-07  André Pönitz  <poenitz@gmx.net>
3558
3559         * lyxfind.C: somewhat clearer logic
3560
3561         * text.C: prevent crash in cursorX on unitialized row cache
3562
3563 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3564
3565         * lyxcursor.[Ch] (operator>): add
3566         * textcursor.C (selStart, selEnd): use std::min and std::max
3567
3568 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3569
3570         * Chktex.C: include boost/format.hpp
3571
3572 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3573
3574         * InsetList.C: replace functor MathcIt with adaptable functor
3575         InsetTablePosLess
3576         (insetIterator): modify accordingly
3577
3578         * BranchList.h: move the BranchNamesEqual functor here from...
3579         * BranchList.C: ... to here
3580
3581         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3582         SameName and match.
3583         (add): replace a finding loop with std::find_if.
3584
3585 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3586
3587         * output_docbook.C: moving LatexParam functionality into
3588         .layout files
3589
3590 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3591
3592         * buffer.C: increment format to 229.
3593
3594 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3595
3596         * LaTeXFeatures.C:
3597         * lyx_sty.[Ch]: remove minipageindent_def
3598
3599         * LyXAction.C:
3600         * factory.C:
3601         * lfuns.h:
3602         * lyxfunc.C:
3603         * text3.C: remove LFUN_INSET_MINIPAGE
3604
3605 2003-12-28  Angus Leeming  <leeming@lyx.org>
3606
3607         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3608
3609 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3610
3611         * text2.C (setParagraph): fix off-by-one crash
3612
3613 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3614
3615         * output_docbook.C: header stuff for AGU
3616
3617 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3618
3619         * text2.C (redoCursor): remove
3620         * text.C:
3621         * text3.C:
3622         * BufferView_pimpl.C: remove calls to redoCursor and
3623         setCursor(cursor.par(), cursor.pos()) all around
3624
3625 2003-12-15  Angus Leeming  <leeming@lyx.org>
3626
3627         * buffer.C: up the format to 228.
3628
3629 2003-12-15  André Pönitz  <poenitz@gmx.net>
3630
3631         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3632         slices
3633
3634         * Makefile.am:
3635
3636         * BufferView_pimpl.C:
3637         * cursor.[Ch]:
3638         * lyxcursor.[Ch]:
3639         * rowpainter.[Ch]:
3640         * lyxtext.h:
3641         * text.C:
3642         * text2.C:
3643         * text3.C: adjust
3644
3645 2003-12-15  Angus Leeming  <leeming@lyx.org>
3646
3647         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3648         than getFromGUIName to manipulate the color.
3649
3650 2003-12-14  Angus Leeming  <leeming@lyx.org>
3651
3652         * BranchList.[Ch]: minimize the API.
3653         (Branch::getBranch, getColor): now return a 'const &'.
3654         (Branch::setSelected) now returns a bool set to true if the
3655         selection status changes.
3656         (BranchList::clear, size, getColor, setColor, setSelected,
3657         allBranches, allSelected, separator): removed.
3658         (BranchList::find): new functions, returning the Branch with
3659         the given name.
3660         (BranchList::add, remove): return a bool indicating that
3661         the operation was successful.
3662
3663         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3664         new InsetBranch::isBranchSlected member function.
3665
3666         * LColor.[Ch]: mimimize the API.
3667         (fill): renamed as addColor and made private.
3668         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3669         versions of these functions taking a string arg have been removed.
3670
3671         * bufferparams.C (readToken):
3672         * lyxfunc.C (dispatch):
3673         * lyxrc.C (read): changes due to the altered BranchList and
3674         LColor APIs.
3675
3676         * factory.C (createInset, readInset): changes due to altered
3677         InsetBranch c-tor.
3678
3679 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3680
3681         * factory.C:
3682         * lyxfunc.C: remove insetminipage. "minipage-insert"
3683         now produces a frameless minipage box inset.
3684
3685 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3686
3687         * textcursor.[Ch] (selStart,selEnd): add new methods
3688         remove selection::start, end, use LyXCursor::operator<
3689         * lyxcursor.[Ch] (operator<): add
3690         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3691         * BufferView.[Ch] (unsetXSel): add
3692         * text2.C (clearSelection): use unsetXSel,adjust
3693         * text.C: adjust
3694         * text3.C: adjust
3695         * rowpainter.C: adjust
3696         * bufferview_funcs.C (put_selection_at): adjust
3697
3698 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3699
3700         * BufferView_pimpl.C: small coord. correction
3701
3702 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3703
3704         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3705         dragging over the splash screen.
3706
3707 2003-12-11  Angus Leeming  <leeming@lyx.org>
3708
3709         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3710         as it is now handled in LyXText::dispatch.
3711
3712         * text3.C (doInsertInset): remove a level of nesting.
3713
3714 2003-12-11  Angus Leeming  <leeming@lyx.org>
3715
3716         * factory.C (createInset): changes due to the changed interface to
3717         InsetCommandMailer::string2params.
3718
3719 2003-12-10  Angus Leeming  <leeming@lyx.org>
3720
3721         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3722         'dialog-show-new-inset <inset name>'
3723
3724 2003-12-10  Angus Leeming  <leeming@lyx.org>
3725
3726         * buffer.C: up the format to 227.
3727
3728         * factory.C: the box inset is now identified simply by 'Box'.
3729
3730 2003-12-10  Angus Leeming  <leeming@lyx.org>
3731
3732         * buffer.C: up the format to 226.
3733
3734         * factory.C: the note inset is now identified simply by 'Note'.
3735
3736 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3737
3738         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3739         when a pit is enough. Standarize a couple of loops.
3740
3741 2003-12-05  Angus Leeming  <leeming@lyx.org>
3742
3743         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3744         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3745         data to the re-worked "log" dialog.
3746
3747 2003-12-03  André Pönitz  <poenitz@gmx.net>
3748
3749         * PosIterator.C:
3750         * iterators.C:
3751         * lyxtext.h:
3752         * output_latex.C:
3753         * paragraph_funcs.C:
3754         * text.C:
3755         * text2.C: use Inset::getText instead of Inset::getParagraph
3756
3757 2003-12-03  André Pönitz  <poenitz@gmx.net>
3758
3759         * buffer.[Ch]:
3760         * lyxtext.h:
3761         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3762         InsetText::read() as LyXText::read()
3763
3764 2003-12-02  Angus Leeming  <leeming@lyx.org>
3765
3766         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3767         type. Add a comment in the implementation that the function uses
3768         the stream's bad() function rather than fail() as the std::streams
3769         would do.
3770
3771 2003-12-02  André Pönitz  <poenitz@gmx.net>
3772
3773         * lyxlex.[Ch]: make interface more similar to std::stream
3774
3775         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3776
3777 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3778
3779         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3780
3781 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3782
3783         * vspace.[Ch]: remove VSpace::NONE
3784
3785 2003-12-01  André Pönitz  <poenitz@gmx.net>
3786
3787         * buffer.[Ch]:
3788         * lyxtext.h: move ParagraphList member to LyXText
3789         rename LyXText::ownerParagraphs to LyXText::paragraph
3790
3791         * CutAndPaste.C:
3792         * bufferview_funcs.C:
3793         * iterators.[Ch]:
3794         * lyx_cb.C:
3795         * paragraph.C:
3796         * rowpainter.C:
3797         * tabular.C:
3798         * text.C:
3799         * text2.C:
3800         * text3.C: adjust
3801
3802         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3803
3804         * undo.C: fix cursor positioning
3805
3806 2003-12-01  John Levon  <levon@movementarian.org>
3807
3808         * BufferView_pimpl.C: fix a crash on exit with
3809         a buffer open
3810
3811 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3812
3813         * BranchList.C: fix setSelected() method.
3814
3815 2003-11-28  André Pönitz  <poenitz@gmx.net>
3816
3817         * ParagraphParameters.[Ch]:
3818         * ParameterStruct.h: remove space above/below from Paragraph to
3819          InsetVSpace
3820
3821         * BufferView_pimpl.C:
3822         * factory.C:
3823         * lyxfunc.C:
3824         * lyxtext.h:
3825         * output_latex.C:
3826         * paragraph.C:
3827         * paragraph_funcs.C:
3828         * rowpainter.[Ch]:
3829         * text.C:
3830         * text2.C:
3831         * text3.C: adjust
3832
3833 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3834
3835         * factory.C: Syntax change for CharStyles
3836
3837 2003-11-28  André Pönitz  <poenitz@gmx.net>
3838
3839         * BufferView.[Ch]:
3840         * BufferView.[Ch]:
3841         * buffer.[Ch]:
3842         * buffer.[Ch]: move LyXText member
3843
3844 2003-11-28  André Pönitz  <poenitz@gmx.net>
3845
3846         * BufferView.[Ch]: make LyXText * text a private member
3847
3848         * BufferView_pimpl.C:
3849         * cursor.C:
3850         * iterators.C:
3851         * lyx_cb.C:
3852         * lyxfind.C:
3853         * lyxtext.h:
3854         * rowpainter.[Ch]:
3855         * text.C:
3856         * text2.C:
3857         * undo.C: adjust
3858
3859         * output_plaintext.C: cleanup
3860
3861 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3862
3863         * buffer.C:
3864         * lyxtextclass.[Ch]: parametrize SGML document header
3865
3866 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3867
3868         * converter.[Ch]:
3869         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3870         getFlavor().
3871
3872 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3873
3874         * text2.C (setFont): rework using PosIterator (no more recursive)
3875         (setCharFont): no more needed
3876         (setLayout): no more selection cursors fiddling (done by redoCursor)
3877         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3878         destroy remaining ones)
3879
3880 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3881
3882         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3883         * lyxtext.h: ditto
3884         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3885         selection cursors
3886         * lyxfunc.C: adjust
3887         * text3.C: adjust + re-allow multi par depth changes
3888         * textcursor.C: simplify a bit
3889
3890 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3891
3892         * src/buffer.C:
3893         * src/lyxlayout.C:
3894         * src/lyxlayout.h:
3895         * src/lyxtext.h:
3896         * src/output_docbook.C:
3897         * src/output_latex.C:
3898         * src/paragraph.C:
3899         * src/paragraph.h:
3900         * src/sgml.C:
3901         * src/sgml.h:
3902         * src/text2.C: Introducing a number of tags parametrizing various
3903         XML formats that we may want to support
3904
3905 2003-11-25  André Pönitz  <poenitz@gmx.net>
3906
3907         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3908
3909         * lyxtext.h (leftMargin/rightMargin): simplify interface
3910
3911         * rowpainter.C:
3912         * text.C:
3913         * text2.C:
3914         * text3.C: adjust
3915
3916 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3917
3918         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3919         master file to any child files. Fixes bug 546.
3920
3921 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3922
3923         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3924
3925 2003-11-24  André Pönitz  <poenitz@gmx.net>
3926
3927         * rowpainter.C: simplification
3928
3929         * text2.C (updateCounters): remove call to redoParagraph on
3930         changed labels as this is far too expensive.
3931
3932 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3933
3934         * converter.C (convert): fix a crash: this function gets
3935         called with buffer == 0 from importer code.
3936
3937 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3938
3939         * text3.C (cursorPrevious): make sure that we do not compare
3940         iterators form different containers.
3941         (cursorNext): ditto
3942
3943         * rowpainter.C (paintSelection): make sure that we do not compare
3944         iterators from different containers.
3945
3946         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3947         iterators from different ParagraphList containers.
3948         [NEXT] ditto
3949
3950         * text2.C (LyXText): change order of initialization slightly
3951         (operator=): new function. copy all variables except cache_par_
3952         (moveUp): make sure that we do not compare iterators from
3953         different ParagraphList constainers.
3954         (moveDown): ditto
3955
3956         * text.C (firstPar): new function
3957         (lastPar): new function
3958         (endPar): new function
3959
3960         * lyxtext.h: move things around and group public functions, public
3961         variables, private functions, private variables
3962
3963 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
3964
3965         * factory.C: change call to InsetERT constructor to avoid
3966         additional invocation of method status
3967         * text2.C (toggleInset): remove redundant update() call
3968         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3969         instead of a Bufferview pointer
3970
3971 2003-11-21  André Pönitz  <poenitz@gmx.net>
3972
3973         * rowpainter.C: simplification
3974
3975 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3976
3977         * text3.C (dispatch): make possible to extend a word/row selection
3978         with the mouse
3979
3980 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
3981
3982         * lyxtext.h: x0_,y0_ -> xo_,yo_
3983         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3984         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3985         * rowpainter.C (paintRows): paint full paragraphs
3986
3987 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3988
3989         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3990         screen coordinates)
3991
3992 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
3993
3994         * lyxtext.h: add x0_, y0_
3995         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3996         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3997
3998 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
3999
4000         * text2.C (setCursorIntern): move the x_target update here *
4001         * text3.C: change some bv() to true/false in calls to
4002         cursorUp/Down/Right/Left
4003         * cursor.C: use helper function.
4004
4005 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4006
4007         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4008         * paragraph_funcs.[Ch]: correct comment
4009         * rowpainter.C: do not paint selections away from bv->cursor()
4010         Fix a long standing selection painting bug.
4011         * text3.C: generalize mouse-selection code to LyXTexts other that
4012         top one
4013         * textcursor.C: do not use y coords if we can use par offsets
4014
4015 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4016
4017         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4018         cursor position after e.g. inset insert)
4019
4020 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4021
4022         * lyxfind.C (replace): adjust to locking removal + some
4023         code simplification
4024
4025 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4026
4027         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4028         of the path
4029
4030 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4031
4032         * lyxlayout.[Ch]:
4033         * output_docbook.C: XML sanitation: new layout
4034         parameters InnerTag and CommandDepth
4035
4036 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4037
4038         * BufferView_pimpl.C:
4039         * factory.C:
4040         * text3.C: Fix the insertion and modification of button-style
4041         insets
4042
4043 2003-11-13  André Pönitz  <poenitz@gmx.net>
4044
4045         * InsetList.[Ch]: remove deleteLyXText
4046
4047         * paragraph.[Ch]: cache beginOfBody position
4048
4049         * Bidi.C:
4050         * text.C:
4051         * text2.C:
4052         * text3.C: remove superfluous update() calls
4053
4054         * vspace.C: cleanup
4055
4056 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4057
4058         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4059         * BufferView.C (fitLockedInsetCursor): remove
4060         * cursor.[Ch] (getDim): add
4061         * text.C (getRowNearY): add faster version
4062         * text3.C: remove some update calls
4063
4064 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4065
4066         * LaTeXFeatures.C:
4067         * LyXAction.C:
4068         * MenuBackend.C:
4069         * MenuBackend.h:
4070         * dispatchresult.h:
4071         * factory.C:
4072         * lfuns.h:
4073         * lyxfunc.C:
4074         * lyxtextclass.C:
4075         * lyxtextclass.h:
4076         * text3.C: The Character Style /XML short element patch.
4077
4078 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4079
4080         * text3.C:
4081         * factory.C: Small step to solving 'unable to insert some insets'
4082         problem
4083
4084 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4085
4086         * cursor.[Ch] (updatePos): new function for updating the y
4087         position of the tip inset
4088         * bufferview_funcs.C (put_selection_at):
4089         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4090
4091 2003-11-11  André Pönitz  <poenitz@gmx.net>
4092
4093         * text.C: remove big comment on invalid Paragraph pointers as it is
4094         not valid anymore
4095
4096 2003-11-11  André Pönitz  <poenitz@gmx.net>
4097
4098         * text_funcs.[Ch]: merge with ...
4099
4100         * text.C: ... this
4101
4102         * lyxtext.h:
4103         * text2.C:
4104         * text3.C: adjust
4105
4106         * Makefile.am: remove text_funcs.[Ch]
4107
4108 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4109
4110         * cursor.C (getPos): return absolute cached y coord
4111
4112         * BufferView_pimpl.C (fitCursor): new simplistic code
4113         (workAreaDispatch): add a fitCursor call
4114
4115 2003-11-10  André Pönitz  <poenitz@gmx.net>
4116
4117         * BufferView.[Ch]:
4118         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4119
4120 2003-11-10  André Pönitz  <poenitz@gmx.net>
4121
4122         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4123         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4124         indicate that the cursor needs to leave an inset
4125
4126         * lyxtext.h: remove inset locking
4127
4128         * cursor.[Ch]: re-implement functionality provided by inset locking
4129
4130         * BufferView.[Ch]:
4131         * BufferView_pimpl.[Ch]:
4132         * LyXAction.C:
4133         * bufferview_funcs.[Ch]:
4134         * factory.C:
4135         * funcrequest.[Ch]:
4136         * iterators.C:
4137         * lyx_cb.C:
4138         * lyxfind.C:
4139         * lyxfunc.C:
4140         * text.C:
4141         * text2.C:
4142         * text3.C:
4143         * undo.C: adjust
4144
4145 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4146
4147         * PosIterator.[Ch]: replace the stack with a vector, add inset
4148         accesor
4149         * iterators.[C]: adjust
4150
4151 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4152
4153         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4154         replaced
4155         * paragraph_funcs.C (readParToken): put the correct id in the
4156         error item, not the id of the top paragraph
4157
4158 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4159
4160         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4161         * bufferview_funcs.C (put_selection_at): use the above
4162
4163 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4164
4165         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4166
4167 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4168
4169         * output_linuxdoc.h:
4170         * output_plaintext.h:
4171         * output.h:
4172         * output_docbook.h: add #include statements
4173
4174 2003-11-05  José Matos  <jamatos@lyx.org>
4175
4176         * output_docbook.[Ch]:
4177         * output_latex.[Ch]:
4178         * output_linuxdoc.[Ch]:
4179         * output_plaintext.[Ch]: New files for output formats.
4180         * output.[Ch]: New file for helper functions.
4181
4182         * buffer.[Ch]:
4183         * paragraph_funcs.[Ch]: output functions moved to new files.
4184
4185         * outputparams.h: rename of latexrunparams.h
4186
4187         * LaTeX.[Ch]:
4188         * buffer.[Ch]:
4189         * bufferlist.[Ch]:
4190         * converter.[Ch]:
4191         * exporter.C:
4192         * paragraph.[Ch]:
4193         * paragraph_funcs.[Ch]:
4194         * paragraph_pimpl.[Ch]:
4195         * tabular.[Ch]: rename ascii to plaintext
4196         and LatexRunParams to OutputParams.
4197
4198 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4199
4200         * iterators.[Ch] (text): require bv argument
4201         * undo.C (recordUndo):
4202         * lyxfunc.C (dispatch):
4203         * bufferview_funcs.C (put_selection_at): adjust
4204
4205 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4206
4207         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4208
4209 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4210
4211         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4212         nestings
4213
4214 2003-11-04  André Pönitz  <poenitz@gmx.net>
4215
4216         * cursor.[Ch]: restructure
4217
4218         * BufferView.[Ch]:
4219         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4220
4221         * iterators.[Ch] (asCursor): remove
4222
4223         * lfuns.h: remove LFUN_INSET_EDIT
4224
4225         * lyxfunc.C:
4226         * tabular.C:
4227         * text.C:
4228         * text2.C:
4229         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4230
4231 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4232
4233         * lyxfind.[Ch]: complete overhaul
4234         * BufferView_pimpl.C:
4235         * lyxfunc.C: adjust
4236         * paragraph.[Ch] (insert): add
4237
4238 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4239
4240         * BufferView.[Ch]:
4241         * lyxtext.h:
4242         * text.C: remove dead spellcheck code
4243
4244 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4245
4246         * dispatchresult.h: add a val setter
4247
4248         * cursor.C (dispatch): use a tempvar for data_[i]
4249
4250 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4251
4252         * PosIterator.[Ch]: compile fix
4253
4254 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4255
4256         * text.C (cursorPar): deactivate the cursor cache
4257
4258 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4259
4260         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4261
4262 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4263
4264         * text3.C (dispatch): adjust for new DisptchResult semantics.
4265
4266         * lyxfunc.C (dispatch): handle update when return from
4267         Cursor::dispatch, adjust for new DispatchResult semantics.
4268
4269         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4270         DispatchResult(true) mean to not update. Add class functions for
4271         setting dispatched and update, as well as reading.
4272
4273         * cursor.C (dispatch): don't handle update here
4274
4275 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4276
4277         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4278         * trans_mgr.C: adjust
4279
4280         * paragraph_funcs.C (readParToken): exception safety
4281
4282         * lyxvc.h: store the vcs pointer in a scoped_ptr
4283         * lyxvc.C: adjust
4284
4285         * lyxsocket.C (serverCallback): exception safety
4286
4287         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4288
4289         * ispell.C (clone): make it return a auto_ptr
4290
4291         * factory.C (createInset): exception safety
4292         (readInset): exception safety
4293
4294         * bufferlist.C (newBuffer): exception safety
4295
4296         * Thesaurus.C (Thesaurus): use initialization for aik_
4297
4298         * MenuBackend.C (expandToc): exception safety.
4299
4300 2003-11-03  André Pönitz  <poenitz@gmx.net>
4301
4302         * buffer.C:
4303         * buffer.h:
4304         * bufferview_funcs.C: remove getInsetFromId()
4305
4306         * lyxcursor.[Ch]:
4307         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4308
4309         * lyxfunc.C:
4310         * text2.C:
4311         * text3.C: adjust
4312
4313 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4314
4315         * PosIterator.C (distance, advance): new
4316         * bufferview_funcs.[Ch] (put_selection_at): new
4317         * iterators.[Ch] (lockPath): new
4318
4319 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4320
4321         * iterators.[Ch] (asPosIterator): added
4322         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4323         * PosIterator.[Ch]: added
4324
4325 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4326
4327         * text3.C:
4328         * lyxfunc.C:
4329         * cursor.C (dispatch):
4330         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4331
4332         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4333         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4334         contructor, add a class function dispatched. Remove operator>=
4335
4336 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4337
4338         * debug.C: only use the default constructor for debugstream
4339         (lyxerr) here.
4340
4341         * main.C (main): include debug.h and setup the lyxerr streambuf
4342         here.
4343
4344 2003-10-31  José Matos  <jamatos@lyx.org>
4345
4346         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4347
4348         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4349         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4350         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4351         * paragraph_pimpl.C (simpleTeXSpecialC):
4352         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4353         add LatexRunParams argument.
4354
4355         * exporter.C (Export): change call accordingly.
4356
4357         * latexrunparams.h: add new member to take care of the other backends.
4358 2003-10-30  José Matos  <jamatos@lyx.org>
4359
4360         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4361         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4362         factorise code for paragraph output.
4363         * buffer.[Ch]:
4364         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4365         move functions.
4366
4367 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4368
4369         * text3.C (dispatch):
4370         * lyxfunc.C (dispatch):
4371         * cursor.C (dispatch):
4372         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4373
4374         * dispatchresult.h: make the dispatch_result_t ctor explicit
4375
4376 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4377
4378         * sgml.[Ch]:
4379         * buffer.C: small refactoring of docbook stuff
4380
4381 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4382
4383         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4384         meaning.
4385
4386 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4387
4388         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4389         operator dispatch_result_t, and operators for == != and >=
4390
4391         * cursor.C (dispatch): adjust for operator dispatch_result_t
4392         removal. comment out call to update
4393
4394         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4395
4396 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4397
4398         * text3.C:
4399         * text2.C:
4400         * text.C:
4401         * lyxtext.h:
4402         * lyxfunc.C:
4403         * cursor.C:
4404         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4405         (dispatch):
4406
4407         * dispatchresult.h: new file, DispatchResult broken out of
4408         insets/insetbase.h
4409
4410         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4411
4412 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4413
4414         * text.C (rowBreakPoint): put a hack inside #if 0
4415
4416 2003-10-28  André Pönitz  <poenitz@gmx.net>
4417
4418         * lyxtext.h:
4419         * metricsinfo.C:
4420         * paragraph_funcs.C:
4421         * rowpainter.C:
4422         * text.C:
4423         * text2.C: general cleanup (lots of small stuff)
4424
4425 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4426
4427         * text2.C (cursorEnd): simple fix to the "end key goes to one
4428         before the end on last row" bug
4429
4430 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4431
4432         * text.C (backspace): fix the "zombie characters"
4433
4434 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4435
4436         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4437
4438 2003-10-27  André Pönitz  <poenitz@gmx.net>
4439
4440         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4441
4442         * factory.C: handle new InsetPagebreak, InsetLine
4443
4444         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4445         and move handling into new InsetPagebreak, InsetLine
4446
4447         * BufferView_pimpl.C:
4448         * LyXAction.C:
4449         * ParagraphParameters.C:
4450         * ParameterStruct.h:
4451         * lyxfunc.C:
4452         * lyxtext.h:
4453         * paragraph.C:
4454         * paragraph.h:
4455         * paragraph_funcs.C:
4456         * paragraph_pimpl.C:
4457         * rowpainter.C:
4458         * text.C:
4459         * text2.C:
4460         * text3.C: adjust
4461
4462 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4463
4464         * text.C:
4465         * lyxrow_funcs.[Ch]:
4466         * Bidi.C:
4467         * paragraph.C:
4468         * lyxtext.h:
4469         * rowpainter.C:
4470         * text2.C:
4471         * text3.C: remove lastPos uses in favour of Row::endpos
4472
4473 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4474
4475         * undo.C (performUndoOrRedo): fix two crashes by setting a
4476         cursor by hand and reordering some calls. Use bv->lockInset instead
4477         of inset->edit because the latter loses cursor information
4478
4479 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4480
4481         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4482         by Martin
4483         (rowBreakPoint): fix width. change point to point + 1.
4484         Add a missing check.
4485
4486 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4487
4488         * MenuBackend.C:
4489         * lyxfunc.C: fix (at least partly) the problems
4490         with the Nav menu and headers inside branch insets
4491         reported by Kayvan
4492
4493 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4494
4495         * paragraph.C (getChar): add strong asserts
4496
4497         * lyxrow_funcs.C (lastPos): remove hideous hack
4498
4499         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4500         (fill): adjust to that (avoid an infinite loop)
4501
4502 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4503
4504         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4505
4506 2003-10-23  André Pönitz  <poenitz@gmx.net>
4507
4508         * RowList_fwd.h: change list<> to vector<> to gain speed
4509         after suggestion from Alfredo
4510
4511 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4512
4513         * lyxtext.h: move the bidi stuff from here...
4514         * text.C: and here
4515         * text2.C: and here
4516         * Bidi.[Ch]: ... to here
4517
4518 2003-10-23  André Pönitz  <poenitz@gmx.net>
4519
4520         * lyxtext.h:
4521         * text.C (isLastRow, isFirstRow): new functions
4522
4523         * paragraph.h: new width cache member
4524
4525         * rowpainter.C: replace RowList::iterator with Row & where possible
4526
4527         * lyxfunc.C: replace several view()->text with a single call
4528
4529         * toc.C: fix 'unused' warning
4530
4531 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4532
4533         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4534         when woring with stream::pos_type
4535         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4536
4537 2003-10-22  André Pönitz  <poenitz@gmx.net>
4538
4539         * lyxtext.h:
4540         * text.C: use Row & instead of RowList::iterator
4541
4542         * lyxrow.h: rename end() to endpos()
4543
4544         * rowpainter.C:
4545         * text.C:
4546         * text2.C: adjust
4547
4548 2003-10-22  Angus Leeming  <leeming@lyx.org>
4549
4550         * buffer.[Ch] (fully_loaded): new member function, returning true
4551         only when the file has been loaded fully.
4552         Used to prevent the premature generation of previews and by the
4553         citation inset to prevent computation of the natbib-style label.
4554
4555         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4556         templates are all set up.
4557
4558         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4559
4560 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4561
4562         * text.C: fixed an "oops" in the "is a bit silly"
4563         bug fix
4564
4565 2003-10-21  André Pönitz  <poenitz@gmx.net>
4566
4567         * FuncStatus.[Ch]: small stuff, whitespace
4568
4569         * lyxfont.[Ch]: operator<<() for debug reasons
4570
4571         * lyxfunc.C:
4572         * lyxrow_funcs.C:
4573         * lyxtext.h: whitespace, spelling
4574
4575         * paragraph.C: naming of variables
4576
4577         * text.C:
4578         * text2.C: small stuff
4579
4580
4581 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4582
4583         * text.C: (1) finish off the inset display() work;
4584         (2) fix the "is a bit silly" bug (accessing char
4585         past end of par).
4586
4587 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4588
4589         * text.C: re-introduce display() for insets, fixing the
4590         various bugs (stretch of line above, math inset
4591         positioning, ...)
4592
4593 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4594
4595         * text.C (rightMargin): remove spurious semicolon
4596
4597         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4598         1415)
4599
4600 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4601
4602         * text3.C: fix one crash due to wrong cursor def
4603
4604 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4605
4606         * vc-backend.C (scanMaster): make the regex static
4607
4608         * LaTeX.C (scanAuxFile): make the regexs static
4609
4610         * text3.C (doInsertInset, dispatch, dispatch):
4611         * text2.C (cursorUp, cursorDown):
4612         * text.C (selectNextWordToSpellcheck):
4613         * BufferView_pimpl.C (dispatch):
4614         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4615
4616 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4617
4618         * lyxsocket.C: include <cerrno>
4619
4620 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4621
4622         * lyxfunc.C (dispatch): remove textcache stuff
4623
4624         * bufferlist.C (release): remove textcache stuff
4625         (closeAll): ditto
4626
4627         * TextCache.C: delete file
4628         * TextCache.h: delete file
4629
4630         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4631
4632         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4633         delete of the bv_->text.
4634         (resizeCurrentBuffer): remove texcache stuff
4635         (workAreaResize): ditto
4636
4637 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4638
4639         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4640         action.
4641
4642 2003-10-16  André Pönitz  <poenitz@gmx.net>
4643
4644         * lyxrow.[Ch]:
4645         * paragraph.h:
4646         * rowpainter.C:
4647         * text.C:
4648         * text2.C:
4649         * text3.C: speed up by storing y positions per paragraph plus per-row
4650         offset instead of having a 'full' y position in the row.
4651
4652 2003-10-15  André Pönitz  <poenitz@gmx.net>
4653
4654         * iterators.[Ch]:
4655         * iterators.[Ch]:
4656         * undo.[Ch]: make undo aware of inner insets
4657
4658 2003-10-14  Angus Leeming  <leeming@lyx.org>
4659
4660         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4661         static member functions LyX::ref() and LyX::cref.
4662         (lastfiles): new accessor functions for the new lastfiles_ member var.
4663         (addLyXView, views_): add a new LyXView to the list of views_.
4664         (updateInset): loop over all LyXViews to call their own updateInset
4665         member function, returning a pointer to the Buffer owning the inset.
4666
4667         * BufferView_pimpl.C (loadLyXFile):
4668         * MenuBackend.C (expandLastfiles):
4669         * bufferlist.C (MenuWrite, QuitLyX):
4670         lastfiles is no longer a global variable.
4671         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4672
4673         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4674         static function. Access through LyX::cref().emergencyCleanup().
4675
4676 2003-10-14  André Pönitz  <poenitz@gmx.net>
4677
4678         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4679
4680         * undo.[Ch]: restoring part of 'undo in insets'
4681
4682         * Makefile.am:
4683         * undo_funcs.[Ch]: merge with undo.[Ch]
4684
4685         * tabular.C: small cleansing stuff
4686
4687 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4688
4689         * paragraph_funcs.C (readParToken): report unknown insets as error
4690         boxes. Use the outer paragraph as location (also for unknown
4691         tokens).
4692
4693         * factory.C (readInset): do not abort on reading an unknown inset.
4694         Eat it and return 0.
4695
4696 2003-10-13  Angus Leeming  <leeming@lyx.org>
4697
4698         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4699
4700         * lyxrc.C: displayTranslator is now a function,
4701         declared in GraphicsTypes.h.
4702
4703 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4704
4705         * format.C: new placeholder $$a to pass the socket address.
4706
4707         * bufferlist.[Ch]: new function getBufferFromTmp.
4708
4709         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4710           files in the temporary dir.
4711
4712 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4713
4714         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4715
4716         * Makefile.am: add lyxsocket.[Ch].
4717
4718         * lyx_main.C (error_handler): handle SIGPIPE.
4719
4720 2003-10-13  André Pönitz  <poenitz@gmx.net>
4721
4722         * BufferView_pimpl.C:
4723         * lyxtext.h:
4724         * text.C:
4725         * text2.C:
4726         * text3.C:
4727         * undo_funcs.[Ch]: use paroffset_type instead of
4728           ParagraphList::iterators to prevent multiple conversion
4729           (and get a more robust interface)
4730
4731 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4732
4733         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4734         * lyxtext.h: ditto
4735         * text3.C (dispatch): ditto
4736
4737 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4738
4739         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4740         move the onlyfile, use onlyfile instead of foundfile in a couple
4741         of places.
4742
4743         * DepTable.C (update): flush the error stream a bit more
4744
4745 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4746
4747         * lyxserver.C (callback): adjust
4748
4749         * lyxfunc.C (getStatus): add a missing brace in commented code
4750         (ensureBufferClean): reindent
4751         (dispatch): delete version taking a string
4752
4753 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4754
4755         * LaTeX.C (deplog): move found file handlig from here...
4756         (handleFoundFile): .. to new function here.
4757         (deplog): make sure to discover several files mentioned on the
4758         same log line.
4759
4760 2003-10-10  André Pönitz  <poenitz@gmx.net>
4761
4762         * lyxfunc.C:
4763         * lyxtext.h:
4764         * tabular.C:
4765         * text.C:
4766         * text2.C:
4767         * text3.C: fix some of the tabular crashes
4768
4769 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4770
4771         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4772
4773         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4774
4775 2003-10-09  André Pönitz  <poenitz@gmx.net>
4776
4777         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4778
4779         * BufferView.C:
4780         * BufferView_pimpl.C:
4781         * bufferview_funcs.C:
4782         * lyx_cb.C:
4783         * lyxcursor.C:
4784         * lyxfind.C:
4785         * lyxfunc.C:
4786         * lyxtext.h:
4787         * text.C:
4788         * text2.C:
4789         * text3.C:
4790         * text_funcs.[Ch]:
4791         * textcursor.[Ch]:
4792         * undo_funcs.C: adjust
4793
4794 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4795
4796         * text2.C (incrementItemDepth): new function, use a backtracking
4797         algorithm to discover the correct item depth.
4798         (resetEnumCounterIfNeeded): new function, use a backtracking
4799         algorithm to discover if counter reset is needed.
4800         (setCounter): use them. Simplify a bit. Add different labels for
4801         different item depths for itemize.
4802
4803         * paragraph.C (Paragraph): remove initialization of enumdepth
4804         (operator=): ditto
4805
4806         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4807         enumerate and itemize. Change the type of itemdepth to signed char.
4808
4809 2003-10-08  André Pönitz  <poenitz@gmx.net>
4810
4811         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4812           thing assignable.
4813         * text.C:
4814         * text2.C: adjust
4815
4816         * tabular.[Ch]: fix crash after 'row-insert'
4817
4818 2003-10-08  Angus Leeming  <leeming@lyx.org>
4819
4820         Fix doxygen warnings.
4821
4822         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4823         Remove CutAndPaste:: prefix from header file declaration.
4824
4825         * LColor.h (fill): remove LColor:: prefix from declaration.
4826
4827         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4828         use lyx::depth_type rather than Paragraph::depth_type so that
4829         header file and .C file match.
4830
4831         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4832
4833         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4834         * aspell.C: \file aspell_local.C -> \file aspell.C
4835         * gettext.C: \file gettext.C -> \file src/gettext.C
4836         * gettext.h: \file gettext.h -> \file src/gettext.h
4837         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4838         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4839         * text.C: \file text.C -> \file src/text.C
4840
4841         * toc.C: move comment so that doxygen is not confused.
4842
4843 2003-10-07  Angus Leeming  <leeming@lyx.org>
4844
4845         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4846
4847 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4848
4849         * aspell.C:
4850         * aspell_local.h: add forgotten std::string's.
4851
4852 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4853
4854         * LaTeXFeatures.C:
4855         * LyXAction.C:
4856         * factory.C:
4857         * lfuns.h:
4858         * lyxfunc.C:
4859         * text3.C: The Box patch. Fancybox support, minipage, parbox
4860
4861 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4862
4863         * CutAndPaste.h:
4864         * DepTable.h:
4865         * FloatList.h:
4866         * LaTeXFeatures.h:
4867         * ParagraphParameters.h:
4868         * TextCache.h:
4869         * Thesaurus.h:
4870         * bufferlist.h:
4871         * exporter.h:
4872         * importer.h:
4873         * lastfiles.h:
4874         * lyxfind.h:
4875         * lyxfont.h:
4876         * lyxlex.h:
4877         * lyxtextclasslist.h:
4878         * messages.h:
4879         * paragraph.h:
4880         * paragraph_pimpl.C:
4881         * textcursor.h: add <string> and other small fixes to make Lars'
4882         std::string patch compile with STLport.
4883
4884 2003-10-06  Angus Leeming  <leeming@lyx.org>
4885
4886         * LColor.h: Add missing #include <string>.
4887
4888 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4889
4890         * All most all file in all subdirs: Make <string> be the prefered
4891         way of getting to std::string, add using declarations.
4892
4893 2003-10-06  André Pönitz  <poenitz@gmx.net>
4894
4895         * metricsinfo.C: initialize LyXFont before changing attribute.
4896         (fixes the 'math in \emph is upright' bug)
4897
4898 2003-10-06  André Pönitz  <poenitz@gmx.net>
4899
4900         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4901
4902 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4903
4904         * graph.C:
4905         * paragraph_pimpl.C: Small fixes to build using STLport
4906
4907 2003-10-02  André Pönitz  <poenitz@gmx.net>
4908
4909         * lyxfunc.C:
4910         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4911
4912 2003-10-01  André Pönitz  <poenitz@gmx.net>
4913
4914         * factory.C: assert early
4915
4916 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4917
4918         * lyx_main.C: remove the global debug object
4919
4920         * debug.h: adjust for new debugstream
4921
4922         * debug.C: adjust for new debugstream and keep the global debug
4923         object here.
4924
4925 2003-09-22  Angus Leeming  <leeming@lyx.org>
4926
4927         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4928         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4929         an incomplete class LyXFont.
4930
4931 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4932
4933         * factory.C: bug fix in branches
4934
4935 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4936
4937         * lyxfunc.C (processKeySym): adjust
4938         (dispatch): adjust
4939         (dispatch): change arg name from ev to func, adjust
4940         (sendDispatchMessage): ditto
4941
4942         * lyx_main.C (defaultKeyBindings): adjust keybindings
4943         (deadKeyBindings): ditto
4944
4945         * kbsequence.C (addkey): return a FuncRequest
4946
4947         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4948
4949         * kbmap.C (bind): take a FuncRequest as arg, adjust
4950         (read): adjust
4951         (lookup): adjust
4952         (defkey): change to take a FuncRequest as arg, adjust
4953         (findbinding): take a FuncRequest as arg, adjust.
4954
4955         * funcrequest.h (operator=): added
4956
4957         * funcrequest.C (FuncRequest): default kb_action changed from
4958         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4959
4960         * buffer.C (dispatch): simplify
4961         (dispatch): adjust to take a FuncRequest as arg, adjust
4962
4963         * boost.C (assertion_failed): change assertion message slightly
4964
4965         * ToolbarBackend.C (read): simplify
4966
4967         * MenuBackend.C (binding): adjust call to findbinding, add a
4968         message if no binding is found.
4969         (read): simplify
4970         (expandToc): correct by adding a empty FuncRequest
4971
4972         * LyXAction.C: include <boost/assert.hpp>
4973         (isPseudoAction): delete function
4974         (LookupFunc): change name to...
4975         (lookupFunc): this. change return type to FuncRequest.
4976         (getActionName): take kb_action as arg, simplify
4977         (funcHasFlag): add an assert, simplify.
4978
4979 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4980
4981         * toc.C (action): return a FuncRequest, simplify
4982
4983         * lyxfunc.C (processKeySym): adjust
4984         (getStatus): delete version that takes an int.
4985         (getStatus): adjust
4986         (dispatch): delete version that takes action as int
4987         (dispatch): adjust
4988         (sendDispatchMessage): simplify and adjust
4989
4990         * funcrequest.C (getArg): take unsigned int as arg
4991
4992         * ToolbarBackend.C (read): adjust
4993         (add): delete version that takes func as a string.
4994         (getIton): take a FuncRequest as arg
4995
4996         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4997         action.
4998
4999         * MenuBackend.C (MenuItem): add a new construct that only takes a
5000         Kind, simplify the constructor use for submenus.
5001         (add): adjust
5002         (expandLastfiles): adjust
5003         (expandDocuments): adjust
5004         (expandFormats): adjust
5005         (expandFloatListInsert): adjust
5006         (expandFloatInsert): adjust
5007         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5008
5009         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5010         Remove class variables lyx_pseudo_map and lyx_arg_map
5011
5012         * LyXAction.C (searchActionArg): delete function
5013         (getPseudoAction): delete function
5014         (retrieveActionArg): delete function
5015         (LookupFunc): make it return kb_action, simplify.
5016         (getActionName): simplify
5017
5018         * factory.C (createInset): fix new bug
5019
5020 2003-09-19  Angus Leeming  <leeming@lyx.org>
5021
5022         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5023         masterFilename_ parameter in the include inset.
5024
5025         * factory.C (createInset): changes due to the changes to InsetInclude.
5026
5027 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5028
5029         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5030
5031 2003-09-18  Angus Leeming  <leeming@lyx.org>
5032
5033         * buffer.C:
5034         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5035         Inset::fillWithBibKeys.
5036         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5037
5038 2003-09-18  Angus Leeming  <leeming@lyx.org>
5039
5040         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5041         variables.
5042         (ctor): pass and store a 'Buffer const &'
5043         (buffer): new member function.
5044
5045         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5046         '*this' to the LaTeXFeatures ctor.
5047
5048 2003-09-18  Angus Leeming  <leeming@lyx.org>
5049
5050         * LColor.h:
5051         * lyxfont.C:
5052         * lyxfont.h:
5053         * lyxtext.h:
5054         * text.C: rename EnumLColor as LColor_color.
5055
5056 2003-09-18  Angus Leeming  <leeming@lyx.org>
5057
5058         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5059         remove #include "insets/insetbase.h" from cursor.h.
5060
5061 2003-09-18  Angus Leeming  <leeming@lyx.org>
5062
5063         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5064         InsetOld_code to remove #include "inset.h".
5065
5066         * iterators.C: add #include "insets/inset.h"
5067
5068 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5069
5070         * BufferView.C: remove more locking stuff that apparently doesn't
5071         do anything sensible.
5072
5073 2003-09-16  André Pönitz  <poenitz@gmx.net>
5074
5075         * paragraph.[Ch]:
5076         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5077           performance boost.
5078
5079 2003-09-16  Angus Leeming  <leeming@lyx.org>
5080
5081         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5082
5083         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5084         arg/return type.
5085
5086         * paragraph.h: remove #include "lyxfont.h". Forward declare
5087         LyXFont_size.
5088
5089 2003-09-16  Angus Leeming  <leeming@lyx.org>
5090
5091         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5092         of support/textutils.h.
5093         (isWord): move the contents of support/textutils.h's IsWordChar here.
5094
5095         * buffer.C:
5096         * lyxfind.C:
5097         * rowpainter.C:
5098         * text.C:
5099         * text2.C: add #include "paragraph.h".
5100
5101         * rowpainter.C:
5102         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5103
5104 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5105
5106         * main.C:
5107         * lyx_main.C:
5108         * lyx_cb.C:
5109         * buffer.C:
5110         * LaTeX.C: use namespace alias for lyx::support::os
5111
5112 2003-09-16  Angus Leeming  <leeming@lyx.org>
5113
5114         * bufferparams.C:
5115         * bufferview_funcs.C:
5116         * factory.C:
5117         * lyxfunc.C:
5118         * paragraph_pimpl.C:
5119         * rowpainter.C:
5120         * text.C: add #include "LColor.h".
5121
5122 2003-09-16  Angus Leeming  <leeming@lyx.org>
5123
5124         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5125         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5126         return LyXFont &.
5127         Store the FontBits::color variable as an int rather than as an
5128         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5129         file.
5130
5131         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5132         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5133         string calls together.
5134
5135         * lyxrc.C: add #include "LColor.h".
5136
5137 2003-09-15  Angus Leeming  <leeming@lyx.org>
5138
5139         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5140         a cow_ptr.
5141
5142 2003-09-15  Angus Leeming  <leeming@lyx.org>
5143
5144         * LColor.h: add an EnumLColor wrapper for LColor::color.
5145
5146         * lyxfont.[Ch] (color, setColor, realColor):
5147         * lyxtext.h, text.C (backgroundColor):
5148         pass EnumLColor args to/from the functions, rather than LColor::color
5149         ones.
5150
5151         * lyxfont.h:
5152         * lyxtext.h: forward declare EnumLColor.
5153
5154         * lyx_main.C: add #include "LColor.h".
5155
5156 2003-09-15  Angus Leeming  <leeming@lyx.org>
5157
5158         * .cvsignore: add lyx-gtk.
5159
5160 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5161
5162         * Chktex.C
5163         * LaTeX.C
5164         * LaTeXFeatures.C
5165         * ParagraphParameters.C
5166         * Spacing.C
5167         * buffer.C
5168         * bufferparams.C
5169         * bufferview_funcs.C
5170         * chset.C
5171         * counters.C
5172         * funcrequest.C
5173         * lyxfont.C
5174         * lyxgluelength.C
5175         * lyxlength.C
5176         * paragraph.C
5177         * paragraph_funcs.C
5178         * text3.C
5179         * vc-backend.C: remove usage of STRCONV
5180
5181 2003-09-15  Angus Leeming  <leeming@lyx.org>
5182
5183         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5184         explicitly define the color passed to the painter.
5185
5186 2003-09-15  Angus Leeming  <leeming@lyx.org>
5187
5188         * bufferparams.C (BufferParams): reorder member initializers to avoid
5189         compiler warning.
5190
5191 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5192
5193         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5194         * text.C (updateRowPositions): remove an unusual nop
5195
5196 2003-09-12  André Pönitz  <poenitz@gmx.net>
5197
5198         * BufferView_pimpl.C:
5199         * Bullet.C:
5200         * layout.h:
5201         * lyxfunc.C:
5202         * lyxlayout.[Ch]:
5203         * lyxtextclass.C:
5204         * rowpainter.C:
5205         * text.C:
5206         * text2.C:
5207         * Counters.[Ch]: finish the 'automatic counters' job
5208
5209 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5210
5211         * aspell.C: include <boost/assert.cpp> (compile fix)
5212
5213 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5214
5215         * boost.C (assertion_failed): use lyx::support::abort instead of
5216         assert.
5217
5218 2003-09-10  Angus Leeming  <leeming@lyx.org>
5219
5220         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5221         with their _fwd progeny.
5222
5223 2003-09-09  Angus Leeming  <leeming@lyx.org>
5224
5225         134 files throughtout the source tree: replace 'using namespace abc;'
5226         directives with the appropriate 'using abc::xyz;' declarations.
5227
5228 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5229
5230         * boost.C (emergencyCleanup): moved here from LAssert.c
5231         (assertion_failed): new function, called by BOOST_ASSERT
5232
5233         * several files: change Assert to BOOST_ASSERT
5234
5235 2003-09-09  Angus Leeming  <leeming@lyx.org>
5236
5237         * buffer.[Ch]: Add an Impl class and move Buffer's member
5238         variables into it. As a result move several header files out of
5239         buffer.h.
5240
5241         Add header files to lots of .C files all over the tree as a result.
5242
5243 2003-09-09  Angus Leeming  <leeming@lyx.org>
5244
5245         * buffer.[Ch]: make Buffer's member variables private. Add
5246         accessor functions.
5247
5248         Lots of changes all over the tree as a result.
5249
5250 2003-09-08  Angus Leeming  <leeming@lyx.org>
5251
5252         * graph.C: #include <config.h>.
5253
5254 2003-09-08  Angus Leeming  <leeming@lyx.org>
5255
5256         * BranchList.C:
5257         * BufferView.C:
5258         * BufferView_pimpl.C:
5259         * CutAndPaste.C:
5260         * DepTable.C:
5261         * LaTeX.C:
5262         * LaTeXFeatures.C:
5263         * LyXAction.C:
5264         * MenuBackend.C:
5265         * TextCache.C:
5266         * aspell.C:
5267         * buffer.C:
5268         * bufferlist.C:
5269         * changes.C:
5270         * chset.C:
5271         * converter.C:
5272         * counters.C:
5273         * debug.C:
5274         * graph.C:
5275         * ispell.C:
5276         * lyx_cb.C:
5277         * lyxfind.C:
5278         * lyxfunc.C:
5279         * lyxlex_pimpl.C:
5280         * lyxrc.C:
5281         * lyxrow.C:
5282         * paragraph.C:
5283         * rowpainter.C:
5284         * texrow.C:
5285         * text.C:
5286         * text2.C:
5287         * toc.C: remove redundant using directives.
5288
5289 2003-09-07  Angus Leeming  <leeming@lyx.org>
5290
5291         * LaTeXFeatures.h: remove #include "support/types.h".
5292         * ToolbarBackend.h: remove #include <algorithm>.
5293         * changes.h: remove #include <ctime>.
5294         * debug.h: remove #include <iosfwd>.
5295         * graph.h: remove #include "support/std_string.h".
5296         * lyx_main.h: remove #include <csignal>.
5297         * lyxlex_pimpl.h: remove #include <fstream>.
5298         * sgml.h: remove #include <algorithm>, <utility>.
5299         * toc.h: remove #include "support/std_ostream.h".
5300         Add #include <iosfwd>.
5301
5302 2003-09-07  Angus Leeming  <leeming@lyx.org>
5303
5304         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5305
5306         * converter.h: forward declare LatexRunParams.
5307         * encoding.h: remove #include "lyxrc.h".
5308         * lyxtext.h: remove #include "LColor.h".
5309         * lyxtextclass.h: remove #include "support/types.h".
5310         * trans.h: remove #include "tex-accent.h".
5311         * trans_mgr.h: remove #include "tex-accent.h".
5312         * insets/inset.h: remove #include "support/types.h", <vector>.
5313         * insets/insetcollapsable.h: remove #include "LColor.h".
5314         * insets/insetinclude.h: remove #include "dimension.h".
5315         * insets/insetlatexaccent.h: remove #include "dimension.h".
5316         * insets/insetoptarg.h:: remove #include "insettext.h".
5317         * insets/insettext.h: remove #include "dimension.h",
5318         <boost/shared_ptr.hpp>
5319
5320         * insets/renderers.h: add #include "dimension.h".
5321         * insets/updatableinset.h: add #include "support/types.h".
5322
5323         * many .C files: Associated changes.
5324
5325 2003-09-06  Angus Leeming  <leeming@lyx.org>
5326
5327         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5328         one, inside testInvariant.
5329
5330         * PrinterParams.C: new file.
5331         * PrinterParams.[Ch]: move the function bodies out of line.
5332
5333 2003-09-06  Angus Leeming  <leeming@lyx.org>
5334
5335         * ParagraphParameters.h: forward declare ParameterStruct rather than
5336         including its header file.
5337         (depth): moved out-of-line.
5338
5339 2003-09-06  Angus Leeming  <leeming@lyx.org>
5340
5341         * BufferView_pimpl.h:
5342         * kbmap.h:
5343         * kbsequence.h:
5344         * lyxfunc.h: forward declare LyXKeySym rather than
5345         #include "frontends/LyXKeySym.h".
5346
5347         * BufferView_pimpl.C:
5348         * kbmap.C:
5349         * kbsequence.C:
5350         * lyxfunc.C: associated changes.
5351
5352 2003-09-06  Angus Leeming  <leeming@lyx.org>
5353
5354         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5355         As a result, can remove the #include "insets/inset.h" from BufferView.h
5356
5357 2003-09-06  Angus Leeming  <leeming@lyx.org>
5358
5359         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5360         As a result, can remove the #include "insets/inset.h" from BufferView.h
5361
5362 2003-09-06  Angus Leeming  <leeming@lyx.org>
5363
5364         * buffer_funcs.C:
5365         * buffer.h:
5366         * bufferlist.C:
5367         * BufferView.C:
5368         * bufferview_funcs.C:
5369         * BufferView_pimpl.C:
5370         * CutAndPaste.C:
5371         * lyx_cb.C:
5372         * lyxfunc.C:
5373         * paragraph.h:
5374         * ParagraphParameters.C:
5375         * tabular.C:
5376         * text3.C:
5377         * toc.C:
5378         * undo_funcs.C:
5379         * frontends/controllers/ControlDocument.C:
5380         * insets/insetcaption.C: rearrange the #includes into some sort of
5381         coherent order.
5382
5383         * buffer.h: remove #includes ErrorList.h, undo.h
5384
5385 2003-09-06  Angus Leeming  <leeming@lyx.org>
5386
5387         * support/types.h: add a 'depth_type' typedef, used to store the
5388         nesting depth of a paragraph.
5389
5390         * paragraph.h:
5391         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5392         defining explicitly.
5393
5394         * buffer.h:
5395         * paragraph_funcs.h:
5396         * ParagraphParameters.h:
5397         * sgml.h: use lyx::depth_type rather than Paragraph or
5398         ParameterStruct's depth_type.
5399
5400         * buffer.h
5401         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5402
5403         * BufferView.C:
5404         * BufferView_pimpl.C:
5405         * CutAndPaste.C:
5406         * ParagraphParameters.C:
5407         * buffer_funcs.C:
5408         * bufferlist.C:
5409         * bufferview_funcs.C:
5410         * lyx_cb.C:
5411         * lyxfunc.C:
5412         * tabular.C:
5413         * text3.C:
5414         * toc.C:
5415         * undo_funcs.C:
5416         * frontends/LyXView.C:
5417         * frontends/controllers/ControlDocument.C:
5418         * frontends/controllers/ControlErrorList.C:
5419         * insets/insetbibitem.C:
5420         * insets/insetbranch.C:
5421         * insets/insetcaption.C:
5422         * insets/insetcollapsable.C:
5423         * insets/insetenv.C:
5424         * insets/insetert.C:
5425         * insets/insetfloat.C:
5426         * insets/insetfoot.C:
5427         * insets/insetfootlike.C:
5428         * insets/insetnewline.C:
5429         * insets/insetquotes.C:
5430         * insets/insettabular.C:
5431         * insets/insettext.C:
5432         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5433
5434         * frontends/controllers/ControlChanges.C: #include "changes.h".
5435
5436 2003-09-06  Angus Leeming  <leeming@lyx.org>
5437
5438         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5439         than #including paragraph.h.
5440
5441         * ParagraphList.h:
5442         * RowList.h: deleted. Superfluous.
5443
5444         * CutAndPaste.h:
5445         * iterators.h:
5446         * lyxcursor.h:
5447         * lyxtext.h:
5448         * text_funcs.h:
5449         * undo.h:
5450         * undo_funcs.h:
5451         * insets/inset.h:
5452         * insets/insettext.h: use ParagraphList_fwd.h rather than
5453         ParagraphList.h.
5454
5455         * paragraph.h: don't forward declare ParagraphList.
5456
5457         * buffer.h:
5458         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5459         rather than ParagraphList.h. paragraph.h is still needed for the
5460         Paragraph::depth_type parameters.
5461
5462         * textcursor.h: enable it to compile stand-alone in light of the
5463         above changes.
5464
5465         * bufferview_funcs.C:
5466         * iterators.C:
5467         * lyxfunc.C:
5468         * lyxrow_funcs.C:
5469         * paragraph.C:
5470         * rowpainter.C:
5471         * text.C:
5472         * text2.C:
5473         * text3.C:
5474         * text_funcs.C:
5475         * textcursor.C:
5476         * undo.C:
5477         * frontends/controllers/ControlParagraph.C:
5478         * frontends/controllers/ControlTabular.C:
5479         * insets/insetmarginal.C:
5480         * insets/insetminipage.C:
5481         * insets/insetnote.C:
5482         * insets/insetoptarg.C: add header files needed to compile again.
5483
5484 2003-09-06  Angus Leeming  <leeming@lyx.org>
5485
5486         * RowList_fwd.h: new file, forward-declaring Row rather than
5487         #including lyxrow.h.
5488
5489         * lyxrow_funcs.h:
5490         * lyxtext.h:
5491         * paragraph.h:
5492         * insets/insettext.h: use it instead of RowList.h
5493
5494         * bufferview_funcs.C:
5495         * lyxfunc.C:
5496         * lyxrow_funcs.C:
5497         * paragraph.C:
5498         * rowpainter.C:
5499         * text.C:
5500         * text2.C:
5501         * text3.C: #include "RowList.h".
5502
5503 2003-09-05  Angus Leeming  <leeming@lyx.org>
5504
5505         * factory.C (createInset):
5506         * vspace.C (c-tor): replace sscanf call with an istringstream.
5507         * ispell.C: re-add missing HP/UX headers.
5508         * lyxserver.C: re-add missing  os2 headers.
5509
5510 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5511
5512         * BranchList.C:
5513         * graph.C:
5514         * ispell.C:
5515         * lastfiles.C:
5516         * lyx_cb.C:
5517         * lyxserver.C:
5518         * texrow.C:
5519         * text3.C: re-add missing system headers, needed for 2.95.2.
5520
5521 2003-09-05  Angus Leeming  <leeming@lyx.org>
5522
5523         Changes most place everywhere due to the removal of using directives
5524         from support/std_sstream.h.
5525
5526 2003-09-05  Angus Leeming  <leeming@lyx.org>
5527
5528         Replace LString.h with support/std_string.h,
5529         Lsstream.h with support/std_sstream.h,
5530         support/LIstream.h with support/std_istream.h,
5531         support/LOstream.h with support/std_ostream.h.
5532
5533         Changes resulting throughout the tree.
5534
5535 2003-09-05  Angus Leeming  <leeming@lyx.org>
5536
5537         * sgml.h: ensure that the header file can be compiled stand-alone.
5538         * *.C: strip out redundant #includes. (320 in total.)
5539
5540 2003-09-04  Angus Leeming  <leeming@lyx.org>
5541
5542         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5543         here (from getPackages).
5544
5545         * debug.[Ch]: add a new EXTERNAL tag.
5546
5547 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5548
5549         * text2.C (cursorEnd): simplify
5550         (setCursor): adjust
5551         (getColumnNearX): adjust
5552
5553         * text.C (computeBidiTables): adjust
5554         (fill): adjust
5555
5556         * rowpainter.C (paintChars): adjust
5557         (paintSelection): adjust
5558         (paintChangeBar): adjust
5559         (paintText): adjust
5560
5561         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5562         lastPos instead.
5563         (numberOfSeparators): adjust
5564
5565 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5566
5567         * LyXAction.C:
5568         * box.[Ch]:
5569         * lfuns.h:
5570         * lyxfunc.C:
5571         * text3.C: Restricts the mouse click functionality
5572         of insets like bibtex, include, toc and floatlist to the visible
5573         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5574         up the dialogs. Cursor has to be in front of the inset (i.e.
5575         start of row) for this to function.
5576
5577 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5578
5579         * bufferview_funcs.C (currentState): output row information
5580
5581 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5582
5583         * bufferview_funcs.C (currentState): output paragraph position
5584
5585 2003-09-04  Angus Leeming  <leeming@lyx.org>
5586
5587         * FloatList.h: move out #include "Floating.h".
5588         * LaTeX.h: move out #include "DepTable.h".
5589         * LyXAction.h: move out #include "funcrequest.h".
5590         * buffer.h: move out #include "author.h", "iterators.h".
5591         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5592         * lyx_main.h: move out #include "errorlist.h".
5593         * lyxfunc.h: move out #include "FuncStatus.h".
5594         * lyxtext: move out #include "lyxcursor.h".
5595         * paragraph_pimpl.h: move out #include "counters.h".
5596
5597 2003-09-03  Angus Leeming  <leeming@lyx.org>
5598
5599         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5600         preamble_snippets list, enabling us to add snippets to the preamble
5601         only if the snippet was not there already.
5602
5603 2003-09-04  Angus Leeming  <leeming@lyx.org>
5604
5605         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5606
5607 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5608
5609         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5610         update
5611
5612 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5613
5614         * BranchList.C: point fix, earlier forgotten
5615
5616 2003-09-02  Angus Leeming  <leeming@lyx.org>
5617
5618         * box.C (contains): renamed from 'contained' after a fantastic
5619         amount of hot air.
5620
5621 2003-09-02  John Levon  <levon@movementarian.org>
5622
5623         * BufferView.C:
5624         * lyxcursor.h:
5625         * lyxcursor.C:
5626         * lyxfunc.C:
5627         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5628
5629 2003-09-02  John Levon  <levon@movementarian.org>
5630
5631         * text2.C: simplification of cursorEnd(), including partial
5632         fix for bug 1376
5633
5634 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5635
5636         * buffer.C (readFile): add a space
5637
5638 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5639
5640         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5641
5642 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5643
5644         * buffer.C (readFile): new function, take a filename and a
5645         ParagraphList::iterator
5646         (readFile): adjust
5647         (readFile): adjust, make it private. don't use setStream, make
5648         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5649         always contain the filename.
5650
5651         * BufferView.C (insertLyXFile): simplify and make it work for
5652         gzipped files.
5653
5654 2003-08-30  John Levon  <levon@movementarian.org>
5655
5656         * Makefile.am: fix dist (from Kayvan)
5657
5658 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5659
5660         * most files: change to use const Buffer refs
5661
5662 2003-08-27  André Pönitz  <poenitz@gmx.net>
5663
5664         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5665         on top of ownerPar().
5666
5667 2003-08-27  John Levon  <levon@movementarian.org>
5668
5669         * funcrequest.C: properly initialise POD members
5670
5671 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5672
5673         * lyxtext.h (top_y): move top_y from here
5674         * text.C:
5675         * text2.C:
5676         * text3.C:
5677         * BufferView.[Ch]:
5678         * BufferView_pimpl.[Ch]: to here
5679         * frontends/screen.C:
5680         * insets/insettabular.C:
5681         * insets/insettext.C: adjust
5682         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5683
5684 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5685
5686         * BufferView.[Ch]:
5687         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5688
5689 2003-08-26  André Pönitz  <poenitz@gmx.net>
5690
5691         * paragraph_func.[Ch] (outerPar): new function
5692
5693         * paragraph.C:
5694         * paragraph_funcs.C:
5695         * paragraph_funcs.h:
5696         * paragraph_pimpl.C:
5697         * text2.C: remove Inset::par_owner
5698
5699 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5700
5701         * lyxrow_funcs.C:
5702         * lyxtext.h:
5703         * text.C:
5704         * text2.C: eliminates the needFullRow/display() stuff
5705         altogether, putting the logic in metrics/draw in the insets.
5706
5707 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5708
5709         * text2.C (redoParagraphInternal, redoParagraphs):
5710         * text.C (redoParagraph): add a call to updateRowPositions at the
5711         end of each 'metrics-like' call. Remove all others.
5712         (getRow): remove the 'y-computing' version.
5713         (getRowNearY): do not compute nor return the real y. Solve the
5714         'y < 0' problem and simplify.
5715
5716 2003-08-22  Angus Leeming  <leeming@lyx.org>
5717
5718         * *.[Ch]: clean-up of licence and author blurbs.
5719         Also move config.h out of a few .h files and into a few .C files.
5720
5721 2003-08-22  André Pönitz  <poenitz@gmx.net>
5722
5723         * lyxrow.[Ch]: add x_ and *fill_ members
5724
5725         * lyxtext.h:
5726         * text.C:
5727         * rowpainter.C:
5728         * text2.C: adjust/remove prepareToPrint() calls
5729
5730 2003-08-22  André Pönitz  <poenitz@gmx.net>
5731
5732         * lyxrow.[Ch]: add  end_ member
5733
5734         * lyxrow_funcs.C: use LyXRow::end_
5735
5736         * lyxtext.h (singleWidth): add LyXFont parameter
5737
5738         * rowpainter.C:
5739         * text2.C: adjust LyXText::singleWidth() calls
5740
5741         * text.C (redoParagraph): simplify row breaking logic
5742
5743
5744 2003-08-19  André Pönitz  <poenitz@gmx.net>
5745
5746         * funcrequest.C: initialize button_ member
5747
5748         * text3.C:
5749         * rowpainter.[Ch]: interface consolidation
5750
5751 2003-08-18  André Pönitz  <poenitz@gmx.net>
5752
5753         * BufferView.C:
5754         * BufferView_pimpl.C:
5755         * lyxfind.C:
5756         * paragraph_funcs.C:
5757         * rowpainter.C:
5758         * text3.C: remove LyXScreen::draw() and fitCursor calls
5759
5760         * BranchList.h: remove spurious semicolons
5761
5762         * MenuBackend.C: fix branchlist related crash
5763
5764 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5765
5766         * BranchList.[Ch]:
5767         * InsetList.[Ch]:
5768         * LColor.[Ch]:
5769         * LyXAction.C:
5770         * Makefile.am:
5771         * MenuBackend.[Ch]:
5772         * bufferparams.[Ch]:
5773         * factory.C:
5774         * lfuns.h:
5775         * lyxfunc.C:
5776         * text3.C: implements the 'branch inset'
5777         idea. This allows the output of various versions of a document
5778         from a single source version, selectively outputing or suppressing
5779         output of parts of the text.
5780         This implementation contains a 'branch list editor' in a separate
5781         tab of the document settings dialog. Branches are user definable
5782         and have a "display colour" to distinguish them on-screen.
5783
5784         ColorHandler was somewhat cleaned up.
5785         (1) make possible a dynamically growing LColor list by allowing
5786         the graphic context cache to grow along (vector);
5787         (2) eliminate an IMHO unnecessary step in colour allocation.
5788
5789 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5790
5791         * BufferView_pimpl.C: compile fix
5792
5793 2003-08-15  André Pönitz  <poenitz@gmx.net>
5794
5795         * rowpainter.C: remove extra metrics calls
5796
5797         * lyxtext.h: merge the two constructors into a single one,
5798           pass reference to owner's par list
5799
5800         * BufferView_pimpl.C:
5801         * text.C:
5802         * text2.C: adjust
5803
5804 2003-08-15  André Pönitz  <poenitz@gmx.net>
5805
5806         * lyxrow_funcs.[Ch]:
5807         * lyxtext.h:
5808         * paragraph.h:
5809         * paragraph_funcs.C:
5810         * rowpainter.C:
5811         * text.C:
5812         * text2.C:
5813         * text3.C:
5814         * text_funcs.C: split LyXText::rowlist_ into individual
5815         Paragraph::rows_ chunks
5816
5817         * BufferView.[Ch]:
5818         * BufferView_pimpl.[Ch]:
5819         * lyxfind.C:
5820         * lyxtext.h:
5821         * text3.C: remove toggleSelection()
5822
5823 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5824
5825         * bufferlist.C: beautify two alerts (shorter text of buttons)
5826         * buffer.C: Remove redundant ' ' from message
5827         * tabular.h:
5828         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5829         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5830         rename VALIGN_CENTER to VALIGN_MIDDLE
5831
5832 2003-08-11  André Pönitz  <poenitz@gmx.net>
5833
5834         * lyxtext.h (getPar):
5835         * text.C: new function
5836
5837 2003-08-11  André Pönitz  <poenitz@gmx.net>
5838
5839         * Makefile.am:
5840         * tracer.[Ch]: remove unneeded files
5841
5842         * InsetList.[Ch]: remove resizeInsetsLyXText()
5843
5844         * lyxtext.h:
5845         * text.C:
5846         * text2.C:
5847         * text3.C: merge insertParagraphs() and appendParagraph()
5848         remove breakAgain(), update()
5849
5850         * BufferView_pimpl.[Ch]:
5851         * bufferview_funcs.[Ch]:
5852         * lyxfunc.C:
5853         * paragraph.[Ch]:
5854         * rowpainter.C:
5855         * tabular.C: adjust after text & InsetList changes.
5856
5857 2003-08-08  André Pönitz  <poenitz@gmx.net>
5858
5859         * text.C (insertChar, backspace): replace rowlist fiddling
5860         with rebreak of full par
5861
5862         * lyxtext.h:
5863         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5864         checkParagraph, updateInset): removed
5865
5866 2003-08-07  André Pönitz  <poenitz@gmx.net>
5867
5868         * paragraph.C:
5869         * text3.C: merge some LFUN handlers, remove dead code
5870
5871 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5872
5873         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5874
5875 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5876
5877         * text2.C (DEPM): fix part of bug 1255 and 1256
5878
5879 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5880
5881         * BufferView_pimpl.C (workAreaDispatch): change to use
5882         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5883         that are no mouse related.
5884
5885 2003-08-05  André Pönitz  <poenitz@gmx.net>
5886
5887         * BufferView.[Ch]:
5888         * BufferView_pimpl.[Ch]:
5889         * bufferview_funcs.C:
5890         * text2.C:
5891         * text3.C: rip out "deep update"
5892
5893         * textcursor.[Ch] (last_sel_cursor): remove unused member
5894
5895 2003-08-04  André Pönitz  <poenitz@gmx.net>
5896
5897         * BufferView.[Ch]:
5898         * BufferView_pimpl.[Ch]:
5899         * ParagraphParameters.C:
5900         * bufferview_funcs.C:
5901         * lyx_cb.C:
5902         * lyxfind.C:
5903         * lyxfunc.C:
5904         * text.C:
5905         * text2.C:
5906         * text3.C: replace "complicated" BufferView::update(...) calls with
5907         simpler ones.
5908
5909         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5910
5911 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5912
5913         * Makefile.am (lyx_SOURCES): add paper.h
5914
5915 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5916
5917         * Makefile.am: move things around so that both lyx-qt and
5918         lyx-xforms can be built (according to --with-frontend). Then lyx
5919         is a symbolic link to lyx-[firstfrontend]
5920
5921 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5922
5923         * Always use std::endl with lyxerr
5924
5925 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5926
5927         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5928
5929 2003-08-01  André Pönitz  <poenitz@gmx.net>
5930
5931         * BufferView.[Ch]:
5932         * BufferView_pimpl.[Ch]:
5933         * lyxfunc.C:
5934         * text3.C: merge BufferView::repaint() and BufferView::update()
5935
5936 2003-08-01  José Matos  <jamatos@lyx.org>
5937
5938         * buffer.[Ch]: file_format is no longer a buffer data element.
5939
5940 2003-08-01  André Pönitz  <poenitz@gmx.net>
5941
5942         * BufferView.C:
5943         * lyxtext.h:
5944         * text.C:
5945         * text2.C: make redoParagraph more independent of current cursor
5946
5947         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5948         * text.C:
5949         * text2.C: remove unneeded members
5950
5951 2003-07-30  André Pönitz  <poenitz@gmx.net>
5952
5953         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5954
5955         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5956           create a single function...
5957
5958         * paragraph_funcs.C (moveItem): ... here.
5959
5960         * text.C:
5961           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5962
5963 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
5964
5965         * LColor.[Ch]: Add comment and greyedout logical colors.
5966
5967 2003-07-30  André Pönitz  <poenitz@gmx.net>
5968
5969         * tabular.C: don't use Assert too heavily. This crashes where it
5970           shouldn't
5971
5972 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
5973
5974         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5975         is disabled (bug 1232)
5976
5977 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5978
5979         * factory.C: limited 'arg' scope
5980
5981 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5982
5983         * factory.C: fixed Note submenu issues
5984
5985 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
5986
5987         * factory.C: submenu for Note/Comment/Greyedout
5988
5989 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
5990
5991         * lyx_main.C (LyX):
5992         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5993
5994 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
5995
5996         * LaTeXFeatures.C:
5997         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5998         greyedout. Patch provided by Jürgen Spitzmüller.
5999
6000 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6001
6002         * kbmap.C (read): fix error message when reading bind files
6003
6004 2003-07-29  Angus Leeming  <leeming@lyx.org>
6005
6006         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6007         certainly does not do what it purports to do. I am doing it, and
6008         us, a favour by killing it.
6009
6010 2003-07-28  José Matos  <jamatos@lyx.org>
6011
6012         * buffer.C (readBody, do_writeFile):
6013         * paragraph.C(readParagraph): \end_document replaces \the_end.
6014
6015 2003-07-29  André Pönitz  <poenitz@gmx.net>
6016
6017         * BufferView.[Ch]:
6018         * BufferView_pimpl.[Ch]:
6019         * lyxfunc.C:
6020         * text2.C:
6021         * text3.C:
6022         * textcursor.[Ch]: remove toggleToggle & Co
6023
6024 2003-07-28  José Matos  <jamatos@fep.up.pt>
6025
6026         * buffer.C (readParagraph):
6027         * params_func (readParToken, readParagraph):
6028         * paragraph.C (write): \layout -> \begin_layout.
6029
6030 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6031
6032         * lyxlex_pimpl.C (setFile): clean up slightly.
6033
6034         * bufferparams.h: add compressed var
6035
6036         * buffer_funcs.C (readFile): adjust for LyXLex change
6037         (newFile): ditto + simplify
6038
6039         * buffer.C (writeFile): handle writing of compressed files
6040
6041         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6042         Check if the file is compressed and set a bufferparm if so.
6043
6044         * Makefile.am (lyx_LDADD): remove explicit -lz
6045
6046 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6047
6048         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6049         makeDocBookFile): put the real LyX version in the first line of
6050         the file
6051
6052         * version.h:
6053         * version.C.in: remove lyx_docversion
6054
6055         * tabular.C (write_attribute): add a template-based version to
6056         write enums properly
6057
6058 2003-07-28  André Pönitz  <poenitz@gmx.net>
6059
6060         * lyxtext.h:
6061         * text.C:
6062         * text2.C:
6063         * text3.C: use doubles again for x-coordinates. They are needed.
6064
6065 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6066
6067         * messages.C (getLocaleDir): use lyx_localedir()
6068
6069         * lyxlex_pimpl.C (setFile): compress stuff
6070
6071         * buffer.C (writeFile): add some compression stuff
6072         (do_writeFile): new func, dont call expliti close... will this
6073         breake anything?
6074
6075         * Makefile.am (lyx_LDADD): add -lz
6076
6077 2003-07-28  José Matos  <jamatos@fep.up.pt>
6078
6079         * buffer.C: increment file format.
6080         * paragraph_funcs (readParagraph, readParToken):
6081         * paragraph.C (readParagraph): add \end_layout.
6082
6083 2003-07-27  Angus Leeming  <leeming@lyx.org>
6084
6085         * Makefile.am: remove special casing for configure-time setting of
6086         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6087
6088         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6089         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6090
6091 2003-07-26  André Pönitz  <poenitz@gmx.net>
6092
6093         * paragraph_func.[Ch]:
6094         * paragraph.C (realizeFont): inline it whereever it is used
6095
6096         * rowpainter.C:
6097         * text.C:
6098         * text2.C:
6099         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6100
6101
6102 2003-07-26  André Pönitz  <poenitz@gmx.net>
6103
6104         *       lyxtext.h:
6105         * text.C:
6106         * text2.C: get rid of LyXText::need_break_row
6107
6108 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6109
6110         * toc.[Ch]: put namespace toc inside namespace lyx
6111
6112         * MenuBackend.C (expandToc2): adjust for lyx::toc
6113         (expandToc): ditto
6114
6115         * lyxfunc.C (dispatch): adjust for lyx::find
6116
6117         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6118         lyx::find instead. Reorganize a bit.
6119         (LyXReplace): rename to replace
6120         (LyXFind): rename to find
6121
6122         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6123         (dispatch): ditto
6124
6125 2003-07-26  André Pönitz  <poenitz@gmx.net>
6126
6127         * text.C (setHeightOfRow): restrict scope of temporary variable
6128
6129         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6130           code (never has been used?)
6131
6132 2003-07-27  Asger Alstrup  <alstrup@local>
6133
6134         * text.C (fill): Optimise algorithm to exploit that we can reuse
6135         the LyXFont for many characters.
6136         (setHeightOfRow): Same thing.
6137         (rowBreakPoint): Same thing.
6138
6139 2003-07-26  Asger Alstrup  <alstrup@local>
6140
6141         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6142
6143         * text.C (singleWidth): Spurious font copying in hot-spot
6144         singleWidth avoided. Reorder tests for arabic for efficiency.
6145
6146         * text.C (fill): handle empty paragraphs better.
6147
6148 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6149
6150         * ispell.C:
6151         * encoding.h: add includes
6152
6153         * lyxrc.C: remove reading of bind files
6154
6155         * lyx_main.C (init): setup bindings and menus only if we have a
6156         gui.
6157
6158         * kbmap.C (read): new method. Do the actual reading of bind
6159         files.
6160
6161         * converter.C (dvipdfm_options):
6162         * bufferparams.C:
6163         * lyxrc.C (read):
6164         (output): adapt PAPER_* enums.
6165
6166         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6167
6168         * bufferparams.h: remove paper-related enums from there
6169
6170         * paper.h: New file. A trivial header file to hold paper-related
6171         enums. It should later expand to contain many paper-related
6172         horrors access.
6173
6174         * lyxrc.C: declare extern displayTranslator
6175
6176 2003-07-27  José Matos  <jamatos@fep.up.pt>
6177
6178         * tabular.[Ch] (linuxdoc): add support for tables and figures
6179         (linuxdoc).
6180
6181 2003-07-27  José Matos  <jamatos@fep.up.pt>
6182
6183         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6184         consistency in both functions.
6185         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6186
6187 2003-07-26  Asger Alstrup  <alstrup@local>
6188
6189         * rowpainter.C (paintRows): Change algorithm to work directly on
6190         the insets rather than asking every character in the document
6191         whether its an inset.
6192
6193 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6194
6195         * buffer.C (openFileWrite): factorize some code
6196
6197 2003-07-26  Angus Leeming  <leeming@lyx.org>
6198
6199         * lyx_cb.C:
6200         * lyx_main.[Ch]: replace occurances of system_tempdir with
6201         os::getTmpDir().
6202
6203 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6204
6205         * rename Inset to InsetOld
6206
6207 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6208
6209         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6210         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6211         which I think is a bit clearer. EDIT is gone, since it was
6212         premature optimisation, and broken for mathed anyway.
6213         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6214         with cursor positioning in insets as well (math insets still do not
6215         work, but that's a different story anyway.) It mysteriously
6216         crashes sometimes with undo in the first paragraph, but I'm fairly
6217         confident that this is a compiler bug.
6218
6219 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6220
6221         * paragraph.C (Paragraph): adjust for new clone return type
6222         (operator==): ditto
6223         (copyIntoMinibuffer): ditto
6224
6225 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6226
6227         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6228         by not having a special case, and always doing a full rebreak of
6229         the document after undo.
6230
6231 2003-07-23  Angus Leeming  <leeming@lyx.org>
6232
6233         * factory.C (createInset): InsetExternal::setParams now takes a
6234         Buffer const * arg.
6235
6236 2003-07-23  Angus Leeming  <leeming@lyx.org>
6237
6238         * factory.C (createInset): changed interface to the external and
6239         graphics mailers' string2params functions.
6240
6241 2003-07-23  Angus Leeming  <leeming@lyx.org>
6242
6243         * factory.C (createInset): pass a
6244         Buffer const * parameter to InsetExternalMailer's string2params.
6245
6246 2003-07-22  John Levon  <levon@movementarian.org>
6247
6248         * Thesaurus.h: include the right aiksaurus header
6249
6250 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6251
6252         * MenuBackend.C (expand): check menu shortcuts unconditionally
6253
6254 2003-07-21  Angus Leeming  <leeming@lyx.org>
6255
6256         * factory.C (createInset): pass a
6257         buffer_path parameter to InsetGraphicsMailer's string2params.
6258
6259 2003-07-21  Angus Leeming  <leeming@lyx.org>
6260
6261         * BufferView_pimpl.C (buffer):
6262         * buffer.C (d-tor):
6263         * lyx_main.C (LyX):
6264         * lyxfunc.C (dispatch):
6265         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6266         rather than the grfx shortcut.
6267
6268 2003-07-21  André Pönitz  <poenitz@gmx.net>
6269
6270         * rowpainter.C: remove unused variables
6271
6272         * tabular_funcs.C:
6273         * tabular_funcs.h: move to tabular.C
6274         * Makefile.am: adjust
6275
6276         * tabular.[Ch]: basic optical cleaning
6277
6278         * author.h: pass references, not values
6279
6280 2003-07-18  André Pönitz  <poenitz@gmx.net>
6281
6282         * lyxtext.h:
6283         * metricsinfo.C:
6284         * metricsinfo.h:
6285         * rowpainter.C:
6286         * text.C:
6287         * text2.C:
6288         * text3.C: two-phase drawing for InsetText and InsetTabular
6289         some float -> int changes.
6290
6291 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6292
6293         * lyx_main.C: fix the fix
6294
6295 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6296
6297         * lyx_main.C: fix a crash in batch mode if no files specified
6298         * converter.C: ws
6299
6300 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6301
6302         * format.[Ch] (papersize): moved to BufferParams
6303         * converter.[Ch] (dvips_options): moved to BufferParams
6304         (dvipdfm_options): moved to anon namespace
6305         * bufferparams.[Ch]: added above functions.
6306
6307 2003-07-17  André Pönitz  <poenitz@gmx.net>
6308
6309         * lyxtext.h:
6310         * rowpainter.C:
6311         * text2.C: don't call inset->update() anymore
6312
6313         * metricsinfo.[Ch]: add convenience constructor
6314
6315 2003-07-16  André Pönitz  <poenitz@gmx.net>
6316
6317         * lyxcursor.[Ch]:
6318         * lyxfunc.[Ch]:
6319         * text.C:
6320         * text2.C: replace the LyXCursor::irow_ member with
6321          on-demand computation of the value
6322
6323 2003-07-16  John Levon  <levon@movementarian.org>
6324
6325         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6326
6327 2003-07-15  André Pönitz  <poenitz@gmx.net>
6328
6329         * text.C:
6330         * text2.C: remove no more needed refresh_row
6331
6332 2003-07-15  André Pönitz  <poenitz@gmx.net>
6333
6334         * lyxtext.h:
6335         * rowpainter.C:
6336         * text2.C:
6337         * text3.C: refresh_status tristate -> need_update bool
6338
6339 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6340
6341         * lyxtext.h (init): remove reinit argument (act as if always true)
6342         * text2.C: adjust to that
6343
6344 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6345
6346         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6347         * text3.C: use it to delete selections in some cases
6348         (bugs 441, 673, 702, 954).
6349
6350 2003-07-14  André Pönitz  <poenitz@gmx.net>
6351
6352         * rowpainter.[Ch]: reduce interface
6353
6354 2003-07-14  André Pönitz  <poenitz@gmx.net>
6355
6356         * BufferView_pimpl.C:
6357         * text2.C: adjust after removing unused BufferView * argument
6358
6359 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6360
6361         * text2.C (init): fix a crash fired on resize
6362
6363 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6364
6365         * buffer.[Ch]: added new closing signal
6366         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6367         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6368         BufferView::Pimpl via the closing the signal
6369
6370 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6371
6372         * buffer.[Ch]: take out all bv-related from buffer
6373         * BufferView.C:
6374         * BufferView_pimpl.[Ch]: connect to new signals
6375         * CutAndPaste.C: removed useless asserts
6376         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6377         * lyxvc.[Ch]:
6378         * vc-backend.[Ch]:
6379         * lyxfunc.C: moved view-related funciontality from vc here
6380         * paragraph.C: removed outdated comments
6381         * text.C: ws
6382
6383 2003-07-10  André Pönitz  <poenitz@gmx.net>
6384
6385         * BufferView_pimpl.C:
6386         * tabular.h:
6387         * tabular_funcs.C:
6388         * text.C:
6389         * text2.C: remove InsetText::InnerCache, clean up consequences
6390
6391 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6392
6393         * ispell.C: fix two typos in error messages
6394
6395 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6396
6397         * Extend Note inset to other forms of annotation like Comment
6398         and Greyedout. Right button click gives dialog.
6399
6400         Files modified or added (+):
6401
6402         * insetnote.[Ch]
6403         * FormNote.[Ch]      +
6404         * ControlNote.[Ch]   +
6405         * form_note.fd       +
6406         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6407         frontends/controllers
6408         * xforms/Dialogs.C
6409         * factory.C
6410
6411 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6412
6413         * aspell.C: add missing namespace lyx::support
6414
6415 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6416
6417         * BufferView.[Ch] (newFile): Add
6418         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6419         * LaTeX.[Ch] (message): added this signal and use it
6420         * buffer.[Ch] (busy, message): added these signals and use them
6421         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6422         * converter.C:
6423         * exporter.C:
6424         * format.C:
6425         * importer.C: use buffer signals instead of direct bv calling
6426         * lyx_cb.[Ch] (ShowMessage): removed
6427         * lyx_main.C:
6428         * lyxfunc.C:
6429         * paragraph_funcs.C:
6430         * text2.C: use buffer signals
6431
6432 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6433
6434         * introduce namespace lyx::graphics
6435
6436 2003-07-02  André Pönitz  <poenitz@gmx.net>
6437
6438         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6439
6440 2003-07-01  André Pönitz  <poenitz@gmx.net>
6441
6442         * text.C:
6443         * text2.C:
6444         * text3.C:
6445         * text_funcs.[Ch]:
6446         * textcursor.h:
6447         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6448           text*.C to text_func.C
6449
6450 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6451
6452         * introduce namespace lyx::support
6453
6454 2003-06-30  André Pönitz  <poenitz@gmx.net>
6455
6456         * Chktex.C:
6457         * funcrequest.C:
6458         * lyxtext.h:
6459         * text.C: re-enable --with-included-string
6460
6461 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6462
6463         * textcursor.C: add <config.h>
6464
6465         * text.C (getWord): remove const from word_location arg
6466
6467         * lyxvc.C (getLogFile): fix const type order
6468
6469         * lyxtext.h: remove const from word_location arg, add arg name
6470
6471         * lyxlayout.h: currect type on labeltype.
6472
6473         * importer.C: correct \file
6474
6475         * converter.C (intToFormat): use std:: on ret val, ws changes
6476
6477         * bufferlist.h: correct \file
6478
6479         * buffer.C (makeLinuxDocFile): fix const type order
6480         (makeDocBookFile): ditto
6481         (fillWithBibKeys): use std:: on stdlib args.
6482
6483         * CutAndPaste.C: fix authors.
6484         (availableSelections): use std:: on return vector
6485
6486 2003-06-27  André Pönitz  <poenitz@gmx.net>
6487
6488         * BufferView_pimpl.C:
6489         * bufferview_funcs.C:
6490         * lyxcursor.C:
6491         * lyxcursor.h:
6492         * lyxfunc.C:
6493         * lyxtext.h:
6494         * rowpainter.C:
6495         * text.C:
6496         * text2.C:
6497         * text3.C: remove LyXCursor::row_ member
6498
6499         * lyxtext.h:
6500         * text.C: rename fullRebreak() to partialRebreak() and implement
6501           a fullRebreak() that really bereks fully
6502
6503         * textcursor.h: new struct for cursor-related data
6504
6505 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6506
6507         * lyx_main.C (LyX): get full path of document loaded on the
6508         command line
6509
6510 2003-06-26  André Pönitz  <poenitz@gmx.net>
6511
6512         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6513           remove unused/broken operator>,<,>=.
6514
6515         *       text.C: remove only use of broken operator<= in an Assert().
6516
6517 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6518
6519         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6520         moved errorlist_.clear to showErrorList
6521
6522 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6523
6524         * converter.C (scanLog, runLaTeX):
6525         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6526         move the bv->showErrorList call to the callers
6527         * lyxfunc.C: i.e. here...
6528         * text2.C: and here
6529         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6530         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6531         namespace, the second to...
6532         * buffer_funcs (BufferFormat, parseErrors): added
6533         * errorlist.C (ErrorList(TeXErrors const &)): removed
6534
6535 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6536
6537         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6538
6539 2003-06-24  "Garst R. Reese" <reese@isn.net>
6540
6541         * debug.C: fix typo
6542
6543 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6544
6545         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6546
6547         * version.C.in: change docversion to 1.4
6548
6549 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6550
6551         * buffer.C: fix a bug just introduced
6552
6553 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6554
6555         * buffer.[Ch]: added the parseError signal and use it, removed
6556         sgmlError
6557         * BufferView.[Ch] (addError): moved to ...
6558         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6559         to the Buffer::parseError signal to catch (guess what) parse errors
6560         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6561
6562 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6563
6564         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6565         ability to create a buffer and to return an existing one from
6566         the list. Moved these functions to...
6567         * buffer_funcs.[Ch]: added
6568         * BufferView.[Ch] (loadLyXFile): added
6569         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6570         job removed from bufferlist::loadLyXFile.
6571         * buffer.C (setReadOnly): make it work without view
6572         (i.e added an if (users))
6573
6574 2003-06-19  Angus Leeming  <leeming@lyx.org>
6575
6576         * lfuns.h:
6577         * LyXAction.C (init):
6578         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6579         with LFUN_DIALOG_SHOW <name> <data>.
6580
6581 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6582
6583         * CutAndPaste.C (availableSelections): small compilation fix for
6584         ancient (gcc 2.9x) compilers
6585
6586 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6587
6588         * text3.C (cursorNext): add tmp var
6589
6590         * text2.C (updateCounters): for function calling out of for clause
6591         (replaceSelectionWithString): ditto
6592         (insertStringAsParagraphs): ditto
6593         (getColumnNearX): add tmp var
6594         (setCursorFromCoordinates): add tmp var
6595         (cursorDownParagraph): add tmp var
6596         (deleteEmptyParagraphMechanism): add tmp var
6597
6598         * text.C (insertChar): add tmp var
6599
6600         * rowpainter.C (paintDepthBar): add tmp var
6601
6602         * CutAndPaste.C (availableSelections): potentially check all
6603         paragraphs in a cut to fill the shown strings.
6604
6605 2003-06-18  André Pönitz  <poenitz@gmx.net>
6606
6607         * kbmap.[Ch]: use vector<> instead of list<>
6608
6609 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6610
6611         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6612         pasteSelection with index
6613
6614         * text2.C (pasteSelection): modify, call pasteSelection with index
6615
6616         * paragraph.C (asString): reimplement version with no interval to
6617         call the one with interval.
6618
6619         * lyxtext.h: add index arg to pasteSelection
6620
6621         * MenuBackend.C (MenuItem): handle PasteRecent
6622         (Menu::read::Menutags): add md_pasterecent
6623         (read): handle it
6624         (expandPasteRecent): new function
6625         (expand): use it
6626
6627         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6628
6629         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6630         the limited stack
6631         (availableSelections): new function
6632
6633 2003-06-17  Angus Leeming  <leeming@lyx.org>
6634
6635         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6636
6637 2003-06-17  Angus Leeming  <leeming@lyx.org>
6638
6639         * lfuns.h:
6640         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6641
6642         * lyxfunc.C (dispatch): invoke it.
6643
6644 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6645
6646         * iterators.C (operator++, ParPosition): reintroduce some
6647         const_cast for the benefit of older compilers.
6648
6649 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6650
6651         * text3.C (dispatch): do not modify clipboard when doing
6652         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6653         LFUN_DELETE_SKIP on a selection selection
6654
6655 2003-06-16  André Pönitz  <poenitz@gmx.net>
6656
6657         * BufferView.C:
6658         * buffer.C:
6659         * buffer.h:
6660         * paragraph.C:
6661         * tabular.[Ch]: IU of clone() and getLabelList();
6662
6663 2003-06-13  André Pönitz  <poenitz@gmx.net>
6664
6665         * tabular.h: compactification
6666
6667 2003-06-12  André Pönitz  <poenitz@gmx.net>
6668
6669         * tabular.C:
6670         * tabular.h:
6671         * tabular_funcs.h: some renaming plus whitespace
6672
6673 2003-06-12  André Pönitz  <poenitz@gmx.net>
6674
6675         * BufferView.C:
6676         * BufferView_pimpl.C:
6677         * CutAndPaste.C:
6678         * buffer.C:
6679         * iterators.[Ch]:
6680         * lyxfunc.C:
6681         * text.C:
6682         * toc.C: Return a Paragraph & for ParIterator::operator*()
6683
6684 2003-06-11  John Levon  <levon@movementarian.org>
6685
6686         * lyx_main.C:
6687         * ToolbarBackend.h:
6688         * ToolbarBackend.C: add "Toolbars" section and
6689         put the flags there
6690
6691 2003-06-10  Angus Leeming  <leeming@lyx.org>
6692
6693         * lfuns.h:
6694         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6695
6696         * lyxfunc.C (dispatch): invoke it.
6697
6698 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6699
6700         * main.C: protect <ios> with HAVE_IOS
6701         (main): protect sync_with_stdio with HAVE_IOS
6702
6703 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6704
6705         * text2.C (cutSelection): adjust
6706         (pasteSelection): adjust
6707
6708         * messages.C: handle get of empty string
6709
6710         * main.C (main): use sync_with_stdio(false)
6711
6712         * lyxfunc.C (dispatch): adjust
6713
6714         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6715         (WriteAs): remove unneeded BufferView arg.
6716
6717         * bufferparams.h: use correct types on papersize, papersize2 and
6718         paperpackage.
6719
6720         * bufferparams.C (readToken): adjust for type
6721         (writeLaTeX): add missing cases to switch.
6722
6723         * bufferlist.C (quitWriteBuffer): adjust
6724         (close): adjust
6725
6726         * buffer.C (asciiParagraph): remove some commented code.
6727
6728         * CutAndPaste.C: remove current_view extern variable.
6729         (cutSelection): add BufferParams arg.
6730         (eraseSelection): add BufferParams arg.
6731         (pasteSelection): add Buffer const & arg
6732
6733 2003-06-07  John Levon  <levon@movementarian.org>
6734
6735         * buffer.C:
6736         * paragraph_funcs.C:
6737         * paragraph_pimpl.C:
6738         * text.C:
6739         * text2.C:
6740         * paragraph.h:
6741         * paragraph.C: allow InsetERT to freely space lines,
6742         and some consolidation of code
6743
6744 2003-06-06  José Matos  <jamatos@fep.up.pt>
6745
6746         * buffer.C (makeDocBookFile): fix bug #821
6747
6748 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6749
6750         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6751
6752 2003-06-04  Angus Leeming  <leeming@lyx.org>
6753
6754         * buffer.C: bump format to 224.
6755
6756 2003-06-05  André Pönitz  <poenitz@gmx.net>
6757
6758         * text2.C (redoParagraphs): remove two const_cast<>
6759
6760 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6761
6762         * ParagraphList.h: remove last remnants of NO_STD_LIST
6763
6764 2003-06-03  Angus Leeming  <leeming@lyx.org>
6765
6766         * factory.C (createInset): small change to the way InsetExternal's params
6767         are set.
6768
6769 2003-06-04  André Pönitz  <poenitz@gmx.net>
6770
6771         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6772
6773         * paragraph_pimpl.h:
6774         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6775
6776         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6777
6778         * undo_funcs.C: make some simple cases of undo work again
6779
6780 2003-06-03  John Levon  <levon@movementarian.org>
6781
6782         * ispell.C: HPUX doesn't have sys/select.h
6783         (from Albert Chin)
6784
6785 2003-06-03  John Levon  <levon@movementarian.org>
6786
6787         * CutAndPaste.C: update tabular and include inset
6788         buffer references
6789
6790         * buffer.h:
6791         * paragraph.h:
6792         * paragraph.C: remove owningBuffer(), don't pass Buffer
6793         to clone()
6794
6795         * factory.C: insetGraphicsParams changed
6796
6797 2003-06-02  John Levon  <levon@movementarian.org>
6798
6799         * LyXAction.C:
6800         * factory.C:
6801         * lfuns.h:
6802         * lyxfunc.C:
6803         * text3.C: remove insetparent
6804
6805 2003-06-02  John Levon  <levon@movementarian.org>
6806
6807         * buffer.h:
6808         * buffer.C: fix inset_iterator.end(), move out of line
6809         (bug 1149)
6810
6811 2003-06-01  John Levon  <levon@movementarian.org>
6812
6813         * text3.C: use a proper cut/paste when doing inset
6814         insert (from Jürgen Spitzmüller)
6815
6816 2003-06-01  John Levon  <levon@movementarian.org>
6817
6818         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6819
6820 2003-05-30  André Pönitz  <poenitz@gmx.net>
6821
6822         * rowpainter.C: unify second drawing phase
6823
6824 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6825
6826         * trans_mgr.C: remove one case of current_view
6827
6828         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6829
6830         * paragraph_funcs.h: remove paragraph.h include
6831
6832         * paragraph.h: delete NO_STD_LIST stuff
6833
6834         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6835
6836         * buffer.h: remove paragraph.h include
6837
6838         * ParagraphList.C: delete file
6839
6840         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6841
6842         * toc.C (getTocList): adjust
6843
6844         * paragraph_pimpl.C (validate): adjust
6845
6846         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6847
6848         * paragraph.C (Paragraph): adjust
6849         (getPositionOfInset): use const_iterator, adjust
6850         (bibitem): use const_iterator, adjust
6851         (setInsetOwner): adjust
6852
6853         * iterators.C (operator++): adjust
6854
6855         * InsetList.[Ch]: Replace selfmade iterator with standard
6856         vector::iterator also introduce const_iterator. Remove getPos,
6857         getInset and setInset from InsetTable. Adjust accordingly.
6858
6859         * BufferView.C (lockInset): adjust
6860         (ChangeInsets): adjust
6861
6862         * tabular.[Ch]: delete commented same_id functions
6863
6864 2003-05-28  John Levon  <levon@movementarian.org>
6865
6866         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6867
6868 2003-05-28  André Pönitz  <poenitz@gmx.net>
6869
6870         * metricsinfo.[Ch]: remove 'fullredraw' member
6871
6872 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6873
6874         * lyxtextclass.C (operator): remove caching.
6875
6876 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6877
6878         * text3.C: adjust
6879
6880         * text2.C (cursorBottom): adjust
6881         (setCounter): use ParagraphList::find, adjust
6882
6883         * text.C (workWidth): use ParagraphList::find, adjust
6884
6885         * lyxcursor.C (LyXCursor): adjust
6886
6887         * buffer.C (inset_iterator): adjust
6888
6889         * ParagraphList.h: make iterator(value_type) private, make
6890         ParagraphList a friend of iterator.
6891
6892         * ParagraphList.C (find): new function
6893
6894         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6895
6896 2003-05-27  André Pönitz  <poenitz@gmx.net>
6897
6898         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6899
6900 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6901
6902         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6903
6904 2003-05-26  John Levon  <levon@movementarian.org>
6905
6906         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6907
6908 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6909
6910         * remove same_id from function signatures, adjust.
6911
6912 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6913
6914         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6915
6916         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6917
6918         * paragraph.C (Paragraph): get rid of same_ids parameter
6919
6920         * ParagraphList.C (insert): adjust
6921         (push_back): adjust
6922
6923 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6924
6925         * paragraph_funcs.C (breakParagraph): adjust
6926         (breakParagraphConservative): adjust
6927
6928         * buffer.C (readParagraph): adjust
6929
6930         * ParagraphList.C (insert): take a reference instead of a pointer
6931         (insert): adjust
6932
6933         * paragraph.[Ch] (id): new function
6934
6935         * bufferlist.C (newFile): adjust
6936
6937         * ParagraphList.C (ParagraphList): adjust
6938         (assign): adjust
6939         (push_back): take a reference instead of a pointer.
6940
6941         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6942
6943         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6944         instead.
6945
6946         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6947         set else use old code.
6948
6949         * ParagraphList.C: remove all NO_NEXT code and only compile this
6950         code of NO_STD_LIST is set.
6951
6952 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6953
6954         * BufferView_pimpl.C:
6955         * TextCache.C:
6956         * TextCache.h:
6957         * bufferlist.C:
6958         * errorlist.h:
6959         * format.C:
6960         * format.h:
6961         * graph.C:
6962         * lyxfunc.C:
6963         * lyxrc.C:
6964         * graphics/GraphicsConverter.C:
6965         * graphics/PreviewLoader.C: header adjustment
6966
6967 2003-05-23  Angus Leeming  <leeming@lyx.org>
6968
6969         * LaTeXFeatures.[Ch] (useBabel): new method.
6970         * bufferparams.C (writeLaTeX): use it.
6971
6972 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6973
6974         * ParagraphList.h (set): remove unused function.
6975
6976 2003-05-23  André Pönitz  <poenitz@gmx.net>
6977
6978         * BufferView.C:
6979         * BufferView_pimpl.C:
6980         * buffer.C:
6981         * buffer.h:
6982         * lyxfunc.C:
6983         * undo_funcs.C: setUndo reworked
6984
6985         * iterators.[Ch]: add access to topmost ParagraphList
6986
6987         * lyxtext.[Ch] (workWidth): add a const
6988
6989 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
6990
6991         * texrow.[Ch] (increasePos): remove function
6992         * exporter.C (export): removed unused var and outdated comment
6993
6994 2003-05-23  Angus Leeming  <leeming@lyx.org>
6995
6996         * latexrunparams.h: rename fragile as moving_arg.
6997         * paragraph.C (simpleTeXOnePar): ditto.
6998         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6999
7000 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7001
7002         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7003         (createUndo): ditto
7004         (textUndoOrRedo): comment out a currently unused var.
7005
7006         * paragraph.h (NO_NEXT): enable NO_NEXT
7007
7008         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7009
7010         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7011
7012         * exporter.C (Export): adjust for removeAutoInsets removal.
7013
7014         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7015
7016         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7017
7018         * BufferView.[Ch] (removeAutoInsets): delete function
7019
7020 2003-05-22  Angus Leeming  <leeming@lyx.org>
7021
7022         * latexrunparams.h: add a free_spacing variable.
7023
7024         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7025         to pass moving_arg, as the data is stored in runparams.fragile.
7026
7027         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7028         to Inset::latexOptional or to simpleTeXOnePar.
7029
7030         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7031         free_spacing arg to Inset::latexOptional.
7032
7033         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7034         free_spacing arg.
7035
7036 2003-05-22  Angus Leeming  <leeming@lyx.org>
7037
7038         * latexrunparams.h: add fragile and use_babel variables.
7039
7040         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7041         * buffer.C (makeLaTeXFile): store this returned value in
7042         runparams.use_babel, thus passing it to the inset::latex methods.
7043
7044         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7045         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7046
7047         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7048         longer has a fragile arg, as it is stored in runparams.fragile.
7049
7050         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7051         moving_arg parameter as the data is stored in runparams.fragile.
7052
7053         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7054         a fragile parameter as the data is stored in runparams.fragile.
7055
7056 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7059
7060 2003-05-22  Angus Leeming  <leeming@lyx.org>
7061
7062         * latexrunparams.h: add a 'bool nice' which defaults to false.
7063
7064         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7065         now encapsulated within runparams.
7066
7067         * bufferlist.C (updateIncludedTeXfiles):
7068         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7069
7070 2003-05-22  Angus Leeming  <leeming@lyx.org>
7071
7072         * latexrunparams.h: new file containing struct LatexRunParams.
7073         * Makefile.am: add new file.
7074
7075         * LaTeX.[Ch] (c-tor, run):
7076         * buffer.[Ch] (makeLaTeXFile):
7077         * bufferlist.[Ch] (updateIncludedTeXfiles):
7078         * converter.C (convert, scanLog):
7079         * converter.[Ch] (runLaTeX):
7080         * exporter.C (Export):
7081         * paragraph.[Ch] (simpleTeXOnePar):
7082         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7083         * paragraph_funcs.[Ch] (latexParagraphs):
7084         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7085         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7086         pass around a LatexRunParams parameter.
7087
7088 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7089
7090         * paragraph.[Ch]: remove unused constructor
7091
7092         * ParagraphList.C (erase): new function, taking two iterators
7093
7094 2003-05-22  André Pönitz  <poenitz@gmx.net>
7095
7096         * undo_funcs.C: remove duplicated code
7097
7098         * iterator.[Ch]: operator=
7099
7100 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7101
7102         * tabular.C (SetMultiColumn): ws changes
7103
7104         * rowpainter.C (paintFirst): get rid of a ->previous
7105
7106         * lyx_cb.C (getPossibleLabel): parlist simplification
7107
7108         * BufferView.C (ChangeInsets): simplify slightly.
7109
7110 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7111
7112         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7113         * lfuns.h: new LFUN_SPACE
7114         * lyxfunc.C: protected space has a new lfun
7115         * paragraph_funcs.C: read new space insets
7116         * text3.C:
7117         * factory.C: handle new space insets
7118
7119 2003-05-22  André Pönitz  <poenitz@gmx.net>
7120
7121         * BufferView.C:
7122         * BufferView_pimpl.C:
7123         * buffer.[Ch]:
7124         * lyxfunc.C:
7125         * undo_funcs.C: return a ParIterator from getParFromID.
7126
7127         * iterators.[Ch]: add two const's
7128
7129 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7130
7131         * toc.C (getTocList): adjust
7132
7133         * iterators.[Ch]: rework for parlist
7134
7135         * buffer.C (par_iterator_begin): adjust
7136         (par_iterator_end): adjust
7137
7138         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7139
7140         * BufferView.C (removeAutoInsets): adjust
7141         (ChangeInsets): adjust
7142
7143 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7144
7145         * text.C (top_y): fix bug 1110
7146
7147 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7148
7149         * errorlist.[Ch]: added
7150         * buffer.C:
7151         * BufferView.[Ch]:
7152         * BufferView_pimpl.C:
7153         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7154         instead
7155
7156 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7157
7158         * Makefile.am: ensure that lyx is relinked upon changes to the
7159         various "convenience" libs.
7160
7161 2003-05-20  Angus Leeming  <leeming@lyx.org>
7162
7163         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7164         files are compiled in alphabetical order again.
7165
7166         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7167
7168 2003-05-19  Angus Leeming  <leeming@lyx.org>
7169
7170         * gettext.[Ch]: remove "char const * _(char const *)".
7171
7172 2003-05-19  André Pönitz  <poenitz@gmx.net>
7173
7174         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7175
7176         * Makefile.am:
7177         * BufferView.C:
7178         * DepTable.h:
7179         * LaTeXFeatures.C:
7180         * buffer.C:
7181         * lyxfont.C:
7182         * lyxlex.h:
7183         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7184
7185 2003-05-19  André Pönitz  <poenitz@gmx.net>
7186
7187         * buffer.C:
7188         * lyxlayout.[Ch]:
7189         * lyxtextclass.[Ch]:
7190         * paragraph.C:
7191         * paragraph_funcs.[Ch]:
7192         * text2.C:
7193         * text3.C: more insetenv work
7194
7195 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7196
7197         * ParagraphParameters.C (params2string): small bug fixed
7198
7199 2003-05-16  André Pönitz  <poenitz@gmx.net>
7200
7201         * debug.C:
7202         * bufferview_funcs.C: patch from Kornel Benko to prevent
7203           crash when _(...) is called twice in a statement
7204
7205 2003-05-16  André Pönitz  <poenitz@gmx.net>
7206
7207         * BufferView.C:
7208         * lyxfunc.C:
7209         * text.C:
7210         * text2.C:
7211         * text3.C:
7212         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7213
7214 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7215
7216         * lyx_main.C (init): remove spurious static_cast
7217
7218 2003-05-14  André Pönitz  <poenitz@gmx.net>
7219
7220         * BufferView.C: fix format string
7221
7222 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7223
7224         * BufferView.[Ch] (insertErrors): removed
7225         * BufferView.[Ch] (showErrorList): added
7226         * buffer.C (runChkTeX):
7227         * converter.C (scanLog): call showErrorList instead of inserterrors
7228
7229 2003-05-13  André Pönitz  <poenitz@gmx.net>
7230
7231         * BufferView_pimpl.C:
7232         * buffer.C:
7233         * bufferview_func.C:
7234         * MenuBackend.C:
7235         * lyxfunc.C:
7236         * lyxrc.C:
7237         * tex-accent.C:
7238         * text3.C:
7239         * toc.C:
7240         * tabular_funcs.h: tostr() from its own header
7241
7242         * ParagraphParameters.C:
7243         * ToolbarBackend.C:
7244         * bufferparams.C:
7245         * format.C:
7246         * lyxlex_pimpl.C:
7247         * text3.C: STRCONV()
7248
7249 2003-05-12  André Pönitz  <poenitz@gmx.net>
7250
7251         * BufferView.C:
7252         * BufferView_pimpl.C:
7253         * CutAndPaste.C:
7254         * LaTeX.C:
7255         * LaTeXFeatures.C:
7256         * ParagraphParameters.C:
7257         * buffer.C:
7258         * bufferlist.C:
7259         * bufferparams.C:
7260         * bufferview_funcs.C:
7261         * converter.C:
7262         * counters.C:
7263         * debug.C:
7264         * exporter.C:
7265         * format.C:
7266         * importer.C:
7267         * lyx_cb.C:
7268         * lyx_main.C:
7269         * lyxfont.C:
7270         * lyxfunc.C:
7271         * lyxvc.C:
7272         * paragraph.C:
7273         * paragraph_funcs.C:
7274         * tabular.C:
7275         * tabular_funcs.C:
7276         * text2.C:
7277         * text3.C:  boost::format -> bformat  all over the place
7278
7279
7280 2003-05-09  André Pönitz  <poenitz@gmx.net>
7281
7282         * LColor.[Ch]: Pimpl the #include <map> away
7283
7284 2003-05-09  John Levon  <levon@movementarian.org>
7285
7286         * bufferlist.C: never remove emergency saves
7287
7288 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7289
7290         * Makefile.am: better lib building
7291
7292 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7293
7294         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7295         instead.
7296         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7297         (simpleTeXSpecialChars): adjust
7298         (simpleTeXSpecialChars): adjust
7299         * paragraph.C (simpleTeXOnePar): adjust
7300         * buffer.C (makeLaTeXFile): adjust
7301
7302         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7303
7304         * text2.C (changeDepth): parlist cleanup
7305         (getColumnNearX): ditto
7306
7307         * rowpainter.C (getLabelFont): parlist cleanup
7308
7309         * bufferlist.C (newFile): parlist cleanup
7310
7311         * CutAndPaste.C (eraseSelection): parlist cleanup
7312
7313         * BufferView_pimpl.C (trackChanges): parlist cleanup
7314         (dispatch): ditto
7315
7316         * BufferView.C (lockInset): parlist cleanup.
7317         (ChangeInsets): ditto
7318
7319 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7320
7321         * CutAndPaste.h: Update file header.
7322
7323         * CutAndPaste.C: Update file header.
7324         Store the parts cut out of the Document in a limited_stack.
7325         (copySelection): adjust
7326         (pasteSelection): new function, takes the index in the limited stack.
7327         (nrOfParagraphs): adjust
7328         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7329         simplify error inset insertion.
7330         (checkPastePossible): adjust
7331
7332 2003-05-06  John Levon  <levon@movementarian.org>
7333
7334         * text2.C: don't cast wrap inset to float
7335
7336 2003-05-05  André Pönitz  <poenitz@gmx.net>
7337
7338         * iterator.C:
7339         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7340
7341         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7342           few naked Paragraph *.
7343
7344 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7345
7346         * bufferparams.C: Output warning if a document with missing
7347         TeX document class is loaded
7348         * exporter.C: Disable TeX exports if the document class is missing
7349         * lyxtextclass.C:
7350         * lyxtextclass.h:
7351         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7352         isTeXClassAvailable()
7353
7354 2003-05-03  John Levon  <levon@movementarian.org>
7355
7356         * BufferView.h:
7357         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7358         explicit cursor show/hide
7359
7360         * BufferView_pimpl.h:
7361         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7362         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7363
7364         * lyxfunc.C: hide cursor before dispatching.
7365
7366         * lyx_cb.C:
7367         * lyxfind.C:
7368         * text.C:
7369         * text3.C: remove explicit cursor hides
7370
7371 2003-05-02  André Pönitz  <poenitz@gmx.net>
7372
7373         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7374
7375         * undo_funcs.C:
7376         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7377           linked lists
7378
7379         * text2.C: tiny whitespace
7380
7381 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7382
7383         * undo_funcs.C: almost only ws changes.
7384
7385         * ParagraphList.C (splice): just return if pl is empty.
7386
7387 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7388
7389         * ParagraphList.C (splice): new function.
7390
7391         * CutAndPaste.C (pasteSelection): use it
7392
7393 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7394
7395         * CutAndPaste.C (pasteSelection): remove the last next and
7396         previous from this file.
7397
7398 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7399
7400         * CutAndPaste.C (pasteSelection): more clean up, user proper
7401         ParagraphList functions for pasteing.
7402
7403         * ParagraphList.C (insert): new function, three arg insert
7404
7405 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7406
7407         * ParagraphList.C (insert): new function, three arg insert
7408
7409         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7410         not on paragraphs.
7411
7412 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7413
7414         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7415
7416 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7417
7418         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7419
7420 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7421
7422         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7423         (copySelection): clean up a bit.
7424         (pasteSelection): use make_pair
7425
7426         * ParagraphList.C (ParagraphList): implement copy constructor
7427         (operator=): implement, base on copy constructor.
7428         (assign): new func
7429
7430         * paragraph.C (erase): return a bool
7431
7432         * paragraph_pimpl.C (erasePos): remove function, move contents...
7433         (erase): ... here. Return a bool.
7434         (erase): call erase instead of erasePos.
7435
7436 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7437
7438         * ParagraphList.h: define PitPosPair
7439         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7440         ParagraphList, fix a bug on pasting multiple pars
7441         * text2.C: change interface to C&P
7442
7443 2003-04-30  André Pönitz  <poenitz@gmx.net>
7444
7445         * undo_func.C: revert part of yesterday's patch 2
7446
7447 2003-04-30  John Levon  <levon@movementarian.org>
7448
7449         * LColor.C: s/tabular/table/
7450
7451 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7452
7453         * text3.C (dispatch): do not convert iterator -> pointer
7454         * undo_funcs.C (setCursorParUndo): ditto
7455         * text_funcs.C (transposeChars): ditto
7456
7457         * text2.C (setLayout): ws changes only
7458
7459         * text.C (breakParagraph): do not convert iterator -> pointer
7460         (insertChar): ditto
7461         (acceptChange): ditto
7462         (rejectChange): ditto
7463         (changeCase): ditto
7464         (Delete): ditto
7465         (backspace): ditto
7466
7467         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7468         pointer
7469
7470 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7471
7472         * text3.C (gotoInset): YABG (yet another bad getChar)
7473
7474 2003-04-29  André Pönitz  <poenitz@gmx.net>
7475
7476         * paragraph.h: make operator= private unimplemented as long as
7477           it is unusable
7478
7479         * ParagraphList.C: whitespace
7480
7481         * paragraph.[Ch]:
7482         * paragraph_pimpl.[Ch]:
7483         * paragraph_funcs.C:
7484         * CutAndPaste.C:
7485         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7486
7487         * text2.C:
7488           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7489
7490 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7491
7492         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7493         * paragraph.[Ch] (erase):
7494         * paragraph_pimpl.[Ch] (erase): change return type and value
7495         * text2.C (cutSelection): some rework
7496
7497 2003-04-28  John Levon  <levon@movementarian.org>
7498
7499         * bufferlist.C: changes for unsaved changes dialog
7500
7501 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7502
7503         * bufferlist.C (newFile): set language (messages_) for new
7504         documents also.
7505
7506         * buffer.C (readFile): ws changes only.
7507
7508 2003-04-28  André Pönitz  <poenitz@gmx.net>
7509
7510         * undo_funcs.C:
7511         * lyxfunc.C:
7512         * buffer.[Ch]:
7513         * BufferView_pimpl.C:
7514         * BufferView.C: getParFromID related ParagraphList::iterator changes
7515
7516 2003-04-28  André Pönitz  <poenitz@gmx.net>
7517
7518         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7519           Changes
7520
7521 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7522
7523         * messages.C: remove one more localedir class variable.
7524
7525 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7526
7527         * messages.C (getLocaleDir): singleton generation function
7528         (Pimpl): use it.
7529         (Messages): add a default constructor.
7530
7531         * main.C (main): do not setup localedir here, do not call
7532         gettext_init.
7533
7534         * gettext.C (_): use it.
7535         (gettext_init): delete funciton
7536
7537 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7538
7539         * gettext.C (getLyXMessages): new singleton generating function.
7540
7541         * buffer.C (updateDocLang): adjust
7542
7543         * Makefile.am (messages.o): add target
7544         (main.o): remove target
7545
7546 2003-04-27  John Levon  <levon@movementarian.org>
7547
7548         * bufferlist.C:
7549         * lyx_cb.C:
7550         * lyxfunc.C:
7551         * lyxvc.C: specify cancel button in Alert::prompt
7552
7553 2003-04-26  John Levon  <levon@movementarian.org>
7554
7555         * text3.C:
7556         * lyxfunc.C:
7557         * lfuns.h:
7558         * LyXAction.C: add LFUN_INSET_SETTINGS
7559
7560         * lyxfunc.C: don't enable tabular-feature when there's
7561         just any locking inset
7562
7563 2003-04-26  John Levon  <levon@movementarian.org>
7564
7565         * bufferlist.C: re-add Cancel to buffer close question
7566
7567         * lyxfunc.C: fix import UI a bit
7568
7569 2003-04-25  John Levon  <levon@movementarian.org>
7570
7571         * gettext.C: remove the broken asserts for now
7572
7573 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7574
7575         * messages.C: make case where setlocale cannot comply work better.
7576
7577         * buffer.C (updateDocLang): new function
7578         (changeLanguage): use it
7579         (readFile): use it
7580
7581         * text2.C (setCounter): use B_ a bit.
7582
7583         * lyxlayout.C (Read): be sure to trim the label strings.
7584
7585         * messages.C (Messages): fix typo in comment
7586
7587         * buffer.C (readFile): set message_ after file is loaded.
7588         (makeDocBookFile): remove double return
7589         (changeLanguage): reset message_ upon language change.
7590         (B_): new func, use this to get translated buffer strings.
7591
7592         * main.C: add myself and Jean Marc as authors.
7593
7594 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7595
7596         * messages.[hC]: pimplify Messages, and three different pimpls to be
7597         used in different circumstances.
7598
7599         * gettext.[Ch]: change for use with new message code.
7600
7601 2003-04-24 André Pönitz <poenitz@gmx.net>
7602
7603         * factory.C: support for eqref
7604
7605 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7606
7607         * messages.[Ch]: add missing char
7608
7609         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7610
7611         * messages.[Ch]: New files
7612
7613 2003-04-18  John Levon  <levon@movementarian.org>
7614
7615         * BufferView.h:
7616         * BufferView.C:
7617         * BufferView_pimpl.C:
7618         * lfuns.h:
7619         * LyXAction.C:
7620         * lyxtext.h:
7621         * text2.C: remove layout-copy/paste (bug 778)
7622
7623 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7624
7625         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7626
7627 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7628
7629         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7630         if they succeed. Act accordingly.
7631
7632 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7633
7634         * text2.C (setCharFont): adjust
7635         (setCounter): adjust
7636         (insertStringAsLines): adjust
7637
7638         * text.C (leftMargin): adjust
7639         (setHeightOfRow): adjust
7640
7641         * rowpainter.C (paintFirst): adjust
7642         (paintLast): adjust
7643
7644         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7645         (outerHook): ditto
7646         (isFirstInSequence): ditto
7647         (getEndLabel): ditto
7648         (outerFont): adjust
7649
7650         * paragraph.C (getParLanguage): comment out some hard stuff.
7651
7652         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7653         (sgmlError): ditto
7654         (simpleDocBookOnePar): ditto
7655         (makeDocBookFile): use ParagraphList::iterator
7656
7657         * CutAndPaste.C (pasteSelection): adjust
7658
7659 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7660
7661         * text2.C (getFont): adjust
7662         (getLayoutFont): adjust
7663         (getLabelFont): adjust
7664
7665         * paragraph_funcs.C (TeXOnePar): adjust
7666
7667         * buffer.C (simpleLinuxDocOnePar): adjust
7668         (simpleDocBookOnePar): adjust
7669
7670         * CutAndPaste.C (pasteSelection): adjust
7671
7672         * BufferView.C (getEncoding): adjust
7673
7674         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7675
7676 2003-04-16  John Levon  <levon@movementarian.org>
7677
7678         * lyxfind.C: use parlist stuff for search/changes
7679
7680 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7681
7682         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7683
7684         * text2.C (deleteEmptyParagraphMechanism): adjust
7685
7686         * text2.[Ch] (ownerParagraph): delete func (both of them
7687
7688 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7689
7690         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7691
7692 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7693
7694         * ParagraphList.C: prepare for NO_NEXT
7695
7696 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7697
7698         * text2.C (getFont): adjust
7699         (getLayoutFont): adjust
7700         (getLabelFont): adjust
7701
7702         * paragraph.C (getFont): adjust
7703         (getLabelFont): adjust
7704         (getLayoutFont): adjust
7705
7706         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7707
7708 2003-04-15  John Levon  <levon@movementarian.org>
7709
7710         From Angus Leeming
7711
7712         * lyx_main.C: handle Include in .ui files
7713
7714 2003-04-15  John Levon  <levon@movementarian.org>
7715
7716         * MenuBackend.C: make the doc files length shorter
7717
7718         * ToolbarBackend.h:
7719         * ToolbarBackend.C: handle toolbar placement flags,
7720         Minibuffer
7721
7722 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7723
7724         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7725         adjust
7726
7727         * paragraph_funcs.C (TeXOnePar): adjust
7728
7729         * paragraph.C (getLabelFont): add outerfont arg, adjust
7730         (getLayoutFont): ditto
7731         (simpleTeXOnePar): adjust
7732
7733         * paragraph_pimpl.C (realizeFont): delete func
7734
7735 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7736
7737         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7738         row argument, constify cur argument.
7739
7740 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7741
7742         * text2.C (getFont): adjust
7743         (getLayoutFont): adjust
7744         (getLabelFont): adjust
7745
7746         * paragraph_funcs.C (TeXOnePar): adjust
7747         (outerFont): new func...
7748         (realizeFont): ...moved out from here, changed this to facilitate
7749         transition
7750
7751         * paragraph.C (getFont): take outerfont as arg, adjust
7752         (simpleTeXOnePar): add outerfont arg, adjust
7753
7754         * buffer.C (simpleLinuxDocOnePar): adjust
7755         (simpleDocBookOnePar): adjust
7756
7757         * CutAndPaste.C (pasteSelection): adjust
7758
7759         * BufferView.C (getEncoding): adjust
7760
7761 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7762
7763         * text2.C (setCharFont): adjust
7764         (setCounter): adjust
7765
7766         * text.C (leftMargin): adjust
7767         (setHeightOfRow): adjust
7768
7769         * rowpainter.C (paintFirst): adjust
7770         (paintLast): adjust
7771
7772         * paragraph_pimpl.C (realizeFont): adjust
7773
7774         * paragraph.C (isFirstInSequence): move from here...
7775         * paragraph_funcs.C (isFirstInSequence): ...to here
7776
7777         * paragraph.C (outerHook): move from here...
7778         * paragraph_funcs.C (outerHook): ...to here
7779
7780         * paragraph.C (depthHook): move from here...
7781         * paragraph_funcs.C (depthHook): ...to here
7782
7783         * paragraph.C (getEndLabel): move from here...
7784         * paragraph_funcs.C (getEndLabel): ...to here
7785
7786         * text2.C (realizeFont): move from here...
7787         * paragraph_funcs.C (realizeFont): ...to here
7788
7789 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7790
7791         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7792
7793 2003-04-14  Angus Leeming  <leeming@lyx.org>
7794
7795         * LColor.[Ch]: scrap LColor mathcursor.
7796
7797 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7798
7799         * lyxlex.[Ch] (text): delete function
7800         * trans.C (Load): adjust
7801         * paragraph_funcs.C (readParToken): adjust
7802
7803 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7804
7805         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7806         vector<char> instead of a char[].
7807
7808         * lyxlex_pimpl.C (getString): adjust
7809         (next): adjust
7810         (lex): use getString
7811         (eatLine): adjust
7812         (nextToken): adjust
7813
7814         * lyxlex.C (text): use pimpl_->getString()
7815         (getBool): ditto
7816         (findToken): ditto
7817
7818 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7819
7820         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7821         (makeFontEntriesLayoutSpecific): temp var for par.size()
7822         (setLayout): temp var for ownerParagraphs().end()
7823         (fullRebreak): temp var for rows().end()
7824         (selectionAsString): temp var for boost::next(startpit), realize
7825         that the while really is a regular for loop.
7826         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7827         setCursor in one place.
7828         (setParagraph): temp vr for ownerParagraphs().end()
7829         (updateCounters): make the while loop a for loop
7830         (cutSelection): temp var for ownerParagraphs().end()
7831         (updateInset): make the do {} while() a regular for loop
7832         (getCursorX): use temp vars
7833         (setCurrentFont): use temp vars
7834         (getColumnNearX): use temp vars
7835
7836 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7837
7838         * text.C (transformChar): use temp var for getChar
7839         (computeBidiTables): use temp var for row->par()
7840         (fill): move temp vars for row->par() and pit->layout() earlier in
7841         the function.
7842         (labelFill): use temp var for row->par()
7843         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7844         asc and desc, realize that pit never changes and that firstpit is
7845         just a duplicate and not needed. Exchange rit->par() with pit in a
7846         lot of places.
7847         (breakAgain): use a temp var for boost::next(rit)
7848         (breakAgainOneRow): ditto
7849         (breakParagraph): use a temp var for rows().begin()
7850         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7851         (cursorRightOneWord): use temp var for cursor.par() and
7852         cursor.pos(), remove usage of tmpcursor.
7853         (cursorLeftOneWord): use temp var for cursor.par() and
7854         cursor.pos() only set cur at end of function.
7855
7856 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7857
7858         * text.C, text2.C: exchange all usage of Paragraph::next with
7859         boost::next(ParagraphList::iterator)
7860
7861         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7862
7863         * text2.C (cursorTop): simplify implementation
7864         (cursorBottom): ditto
7865         (setParagraph): use ParagraphList::iterator
7866         (setCurrentFont): adjust
7867         (getColumnNearX): adjust
7868         (cursorRight): adjust
7869         (cursorLeft): remove usage of Paragraph::previous
7870         (cursorUpParagraph): ditto
7871         (deleteEmptyParagraphMechanism): slight cleanup
7872
7873         * text.C (isBoundary): take a Paragraph const & instead of a
7874         pointer as arg.
7875         (addressBreakPoint): ditto
7876         (leftMargin): remove usage of Paragraph::previous.
7877         (setHeightOfRow): ditto
7878         (cursorLeftOneWord): ditto
7879         (selectNextWordToSpellcheck): ditto
7880         (Delete): ditto
7881         (backspace): ditto
7882         (breakParagraph): remove one usage of Paragraph::next
7883         (redoParagraph): ditto
7884         (acceptChange): ditto
7885         (insertChar): adjust
7886         (rowBreakPoint): adjust
7887
7888         * bufferview_funcs.C (toggleAndShow): adjust
7889
7890 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7891
7892         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7893         methods to access it.
7894         * lyxtext.h:
7895         * text.C: Added updateRowPositions to compute all row positions.
7896         Make top_y and getRowNearY() to use the cached y position
7897
7898 2003-04-11  John Levon  <levon@movementarian.org>
7899
7900         * text.C (rowBreakPoint): reintroduce the labelEnd
7901         checks, code copied from the row fill stuff. Deep voodoo.
7902
7903         * text.C (fill): add a comment and debugging for the
7904         next poor soul.
7905
7906 2003-04-11  John Levon  <levon@movementarian.org>
7907
7908         * text.C: make sure fullrow insets get wrapped to the next line,
7909         even when they're in a manual label
7910
7911 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7912
7913         * text2.C (insertParagraph): make it take ParagraphList::iterator
7914         as arg.
7915         (setLayout): make it return ParagraphList::iterator
7916         (redoParagraphs): ditto
7917         (setCounter): ditto
7918         (checkParagraph): ditto
7919
7920         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7921
7922         * text2.C: adjust several funcs.
7923         (realizeFont): take a ParagraphList::iterator as arg.
7924         (getLayoutFont): ditto
7925         (getLabelFont): ditto
7926         (setCharFont): ditto
7927
7928         * text.C: adjust several funcs.
7929
7930 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7931
7932         * text.C (selectNextWordToSpellcheck): don't accidentally
7933         skip insets
7934
7935 2003-04-10  John Levon  <levon@movementarian.org>
7936
7937         * ToolbarBackend.C (getIcon): special handling for
7938         LFUN_MATH_DELIM
7939
7940 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7941
7942         * text2.C (cursorRight): a getChar assert fixed
7943
7944 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7945
7946         * text2.C (getFont): change to take a ParagraphList::iterator
7947         instead of Paragraph*
7948         Adjust several functions.
7949
7950         * text.C (transformChar): change to take a ParagraphList::iterator
7951         instead of Paragraph*
7952         (singleWidth): ditto
7953         Adjust several functions.
7954
7955         * rowpainter.C: adjust several functions
7956         * rowpainter.h:store a ParagraphList::iterator and not a
7957         Paragraph&.
7958
7959
7960 2003-04-09  John Levon  <levon@movementarian.org>
7961
7962         * lyxfunc.C:
7963         * lfuns.h:
7964         * LyXAction.h:
7965         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7966         and the "help" bits as well
7967
7968 2003-04-09  John Levon  <levon@movementarian.org>
7969
7970         * ToolbarBackend.h:
7971         * ToolbarBackend.C: allow multiple toolbars
7972
7973 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7974
7975         * undo_funcs.C (setCursorParUndo): adjust
7976
7977         * text_funcs.C (transposeChars): adjust
7978
7979         * text3.C (gotoNextInset): adjust
7980         (dispatch): adjust
7981
7982         * text2.C (setLayout): adjust
7983         (changeDepth): adjust
7984         (setFont): adjust
7985         (redoParagraphs): adjust
7986         (selectionAsString): adjust
7987         (setParagraph): adjust
7988         (insertInset): adjust
7989         (cutSelection): adjust
7990         (copySelection): adjust
7991         (pasteSelection): adjust
7992         (insertStringAsLines): adjust
7993         (updateInset): adjust
7994         (setCursor): change to take a ParagraphList::iterator parameter
7995         (setCursorIntern): change to take a ParagraphList::iterator parameter
7996         (setCurrentFont): adjust
7997         (cursorLeft): adjust
7998         (cursorRight): adjust
7999         (deleteEmptyParagraphMechanism): adjust
8000
8001         * text.C (breakParagraph): adjust
8002         (insertChar): adjust
8003         (acceptChange): adjust
8004         (rejectChange): adjust
8005         (selectNextWordToSpellcheck): adjust
8006         (changeCase): adjust
8007         (Delete): adjust
8008         (backspace): adjust
8009
8010         * lyxfind.C (SearchForward): adjust
8011         (SearchBackward): adjust
8012         (nextChange): adjust
8013
8014         * lyxcursor.C (par): adjust
8015
8016         * lyxcursor.h: store a ParagraphList::iterator instead of a
8017         Paragraph*
8018
8019         * lyx_cb.C (getPossibleLabel): adjust
8020
8021         * bufferview_funcs.C (toggleAndShow): adjust
8022
8023         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8024         (dispatch): adjust
8025
8026         * BufferView.C (removeAutoInsets): adjust
8027         (lockedInsetStoreUndo): adjust
8028
8029 2003-04-09  John Levon  <levon@movementarian.org>
8030
8031         * ToolbarBackend.C: try icon without argument
8032         if with argument fails
8033
8034 2003-04-08  John Levon  <levon@movementarian.org>
8035
8036         * ToolbarBackend.h:
8037         * ToolbarBackend.C: add getIcon(), handle tooltip,
8038         and change from "Icon" to "Item".
8039
8040 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8041
8042         * BufferView.C (lockInset): another bad getchar crunched
8043
8044 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8045
8046         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8047         again)
8048
8049 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8050
8051         * lyxfind.C (searchForward, searchBackwards): bug 782
8052
8053 2003-04-07  John Levon  <levon@movementarian.org>
8054
8055         * paragraph.C: remove dead comment
8056
8057         * text.C: remove troublesome depth-fiddling code
8058         in leftMargin() and rightMargin() (bug 1017)
8059
8060         * text.C: fix breaking of rows in nested lists
8061         (bug 1004)
8062
8063         * text2.C (updateCounters): fix up depth values
8064         (bug 1013)
8065
8066 2003-04-07  John Levon  <levon@movementarian.org>
8067
8068         * BufferView_pimpl.C: clear message when doc finishes resizing,
8069         and after a mouse event
8070
8071         * lyxfunc.C: clear message after exiting inset
8072
8073 2003-04-07  John Levon  <levon@movementarian.org>
8074
8075         * bufferview_funcs.C: show math status not outside
8076         status in the statusbar
8077
8078 2003-04-07  John Levon  <levon@movementarian.org>
8079
8080         * lyxfunc.C: note status changed after a depth change
8081
8082 2003-04-04  Angus Leeming  <leeming@lyx.org>
8083
8084         * LaTeX.h: move AuxInfo operator==, != out of line.
8085         Remove LaTeX virtual destructor; nothing derives from it.
8086         Move operator()() out of public area and rename it startscript().
8087         Change protected for private.
8088
8089 2003-04-04  Angus Leeming  <leeming@lyx.org>
8090
8091         * lyxfunc.C:
8092         * text2.C: remove unneeded #includes.
8093
8094 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8095
8096         * text2.C (dEPM): fix the heigth of the next row
8097
8098 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8099
8100         * text.C: squashed an invalid getChar requester + some ws changes
8101
8102 2003-04-03  John Levon  <levon@movementarian.org>
8103
8104         * bufferview_funcs.h:
8105         * bufferview_funcs.C:
8106         * lyxfunc.C:
8107         * lyxtext.h:
8108         * text2.C: make getStatus work for the env depth lfuns
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: parlistize decDepth(), by merging it with incDepth()
8117
8118 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8119
8120         * lyxrow.h: store a ParagraphList::iterator instead of a
8121         Paragraph* and adjust other class functions to suit.
8122
8123         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8124         above.
8125
8126 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8127
8128         * text2.C (setCursor): do not anchor to cursor row for the time being
8129
8130 2003-04-02  John Levon  <levon@movementarian.org>
8131
8132         * LyXAction.C:
8133         * lfuns.h:
8134         * lyx_main.C:
8135         * lyxtext.h:
8136         * text.C:
8137         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8138
8139 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8140
8141         * paragraph.h: make ParagraphList and ParagraphList::iterator
8142         friends of Paragraph.
8143
8144         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8145
8146         * ParagraphList.C: Use the private next_ and previous_ from
8147         Paragraph.
8148
8149 2003-04-01  John Levon  <levon@movementarian.org>
8150
8151         * ToolbarBackend.h:
8152         * ToolbarBackend.C:
8153         * Makefile.am: rename, remove defaults gunk
8154
8155         * MenuBackend.h:
8156         * MenuBackend.C: remove defaults gunk
8157
8158         * Languages.h:
8159         * Languages.C: remove defaults gunk
8160
8161         * lyx_main.h:
8162         * lyx_main.C: error out if files couldn't be found.
8163
8164 2003-04-02  John Levon  <levon@movementarian.org>
8165
8166         * text2.C: make incDepth() use parlist
8167
8168 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8169
8170         * undo_funcs.C (firstUndoParagraph): adjust
8171
8172         * text3.C (gotoInset): adjust
8173         (dispatch): adjust, and rewrite loop.
8174
8175         * text2.C (init): adjust, and rewrite loop.
8176         (redoParagraphs): adjust
8177         (updateInset): adjust, and rewrite loop.
8178         (deleteEmptyParagraphMechanism): adjust
8179
8180         * tabular.C (LyXTabular): adjust
8181         (SetMultiColumn): adjust
8182         (TeXRow): adjust
8183
8184         * lyxtext.[Ch] (ownerParagraph): delete function
8185         (ownerParagraphs): new function returns a ParagraphList.
8186
8187         * BufferView.C (removeAutoInsets): adjust
8188         (insertErrors): adjust
8189         (setCursorFromRow): adjust
8190
8191 2003-04-01  Angus Leeming  <leeming@lyx.org>
8192
8193         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8194         in the frontends.
8195
8196 2003-04-02  John Levon  <levon@movementarian.org>
8197
8198         * lyxtext.h:
8199         * text.C:
8200         * Makefile.am:
8201         * text_funcs.h:
8202         * text_funcs.C: make transposeChars a free function
8203
8204         * lyxrow_funcs.C: remove wrong comment
8205
8206 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8207
8208         * lyxtext.h: adjust
8209         * rowpainter.C: adjust
8210         * text.C: adjust
8211         * text2.C: adjust
8212         * text3.C: adjust
8213
8214         * lyxrow_funcs. [Ch]: new files
8215
8216         * lyxrow.[Ch]: remove next and previous pointers
8217         (next,previous): remove accessor functions
8218         (isParEnd): move to lyxrow_funcs
8219         (lastPos): move to lyxrow_funcs
8220         (nextRowIsAllInset): move to lyxrow_funcs
8221         (lastPrintablePos): move to lyxrow_funcs
8222         (numberOfSeparators): move to lyxrow_funcs
8223         (numberOfHfills): move to lyxrow_funcs
8224         (numberOfLabelHfills): move to lyxrow_funcs
8225         (hfillExpansion): move to lyxrow_funcs
8226
8227         * lyxfunc.C: adjust
8228
8229         * bufferview_funcs.C (toggleAndShow): adjust
8230
8231         * RowList.h: Remove class RowList from file leave just a
8232         std::list<Row>.
8233
8234         * RowList.C: delete file
8235
8236         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8237         and lyxrow_funcs.h
8238
8239 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8240
8241         * text3.C (cursorPrevious): adjust
8242         (cursorNext): adjust
8243         (dispatch): adjust
8244
8245         * text2.C (redoHeightOfParagraph): adjust
8246         (redoDrawingOfParagraph): adjust
8247         (setCursor): adjust
8248
8249         * text.C (breakParagraph): adjust
8250         (insertChar): adjust
8251         (backspace): adjust
8252
8253         * rowpainter.C (RowPainter): adjust
8254         (leftMargin): simplify and adjust
8255         (most rowpainter functions): adjust.
8256
8257         * rowpainter.h: store the row as RowList::iterator not as Row*
8258
8259         * lyxcursor.C (row): taka RowList::iterator as arg
8260         (irow): ditto
8261
8262         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8263         of Row*.
8264
8265 2003-04-01  Angus Leeming  <leeming@lyx.org>
8266
8267         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8268         stuff like bool Bool.
8269
8270 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8271
8272         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8273         rewrite a loop
8274
8275 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8276
8277         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8278         RowList::iterator.
8279
8280         * lyxtext.h (rows): drop one version and leve a const variant that
8281         returns a RowList::iterator.
8282
8283 2003-03-31  Angus Leeming  <leeming@lyx.org>
8284
8285         * text.C (fill): ensure that the signature is the same as that in the
8286         header file.
8287
8288 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8289
8290         * text2.C (redoParagraphs): adjust
8291         (updateCounters): adjust
8292         (checkParagraph): adjust
8293         (getColumnNearX): adjust and reformat a bit.
8294
8295         * text.C (top_y): adjust
8296         (workWidth): adjust
8297         (leftMargin): adjust
8298         (prepareToPrint): adjust
8299         (getRow): adjust
8300         (getRowNearY): adjust
8301
8302         * lyxtext.h: make rowlist_ mutable.
8303
8304         * RowList.h: add const_iterator
8305         * RowList.C: adjust for RowList::const_iterator.
8306
8307         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8308         adjust.
8309
8310 2003-03-31  John Levon  <levon@movementarian.org>
8311
8312         * lyxrc.h:
8313         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8314
8315         * lyx_main.C: set default fonts from using lyx_gui funcs
8316
8317         * exporter.C: pdf_mode moved from lyxrc
8318
8319         * lyx_cb.C:
8320         * lyxfunc.C: changes from above
8321
8322 2003-03-31  John Levon  <levon@movementarian.org>
8323
8324         * lyx_main.C: fix to the last fix
8325
8326 2003-03-31  John Levon  <levon@movementarian.org>
8327
8328         * bufferlist.C: "Load original" -> "Load Original"
8329
8330         * converter.C:
8331         * exporter.C:
8332         * importer.C:
8333         * lyx_main.C:
8334         * format.C: more Alert cleanups
8335
8336 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8337
8338         * text2.C (removeParagraph): make it take a RowList::iterator as
8339         arg, adjust.
8340         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8341         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8342
8343         * text.C (anchor_row): make it take a RowList::iterator as arg,
8344         adjust.
8345         (computeBidiTables): make it take a const reference to Row instead
8346         of Row pointer, adjust.
8347         (leftMargin): make it take a RowList::iterator as arg, adjust.
8348         (rowBreakPoint): adjust
8349         (breakAgainOneRow): make it take a RowList::iterator as arg,
8350         adjust.
8351         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8352
8353         * bufferview_funcs.C (toggleAndShow): adjust
8354
8355 2003-03-30  John Levon  <levon@movementarian.org>
8356
8357         * Makefile.am:
8358         * BoostFormat.h:
8359         * boost-inst.C: moved to support
8360
8361         * several files: changes as a result
8362
8363 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8364
8365         * text2.C (LyXText): adjust.
8366         (init): adjust
8367         (removeRow): make it take a RowList::iterator as arg, adjust.
8368         (fullRebreak): adjust
8369         (deleteEmptyParagraphMechanism): adjust
8370         (clearPaint): adjust
8371         (postPaint): adjust
8372
8373         * text.C (top_y): adjust
8374         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8375         (breakAgain): make it take a RowList::iterator as arg, adjust.
8376         (breakParagraph): adjust
8377         (insertChar): adjust
8378         (backspace): adjust
8379
8380         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8381         need_break_row, and refresh_row.
8382
8383         * text3.C (dispatch): adjust
8384
8385         * text2.C (checkParagraph): adjust
8386         (setCursor): adjust
8387         (setCursorFromCoordinates): adjust
8388
8389         * text.C (top_y): adjust
8390         (workWidth): adjust
8391         (getRow): make it return a RowList::iterator, adjust
8392         (getRowNearY): make it return a RowList::iterator, adjust
8393
8394         * text2.C (init): adjust
8395         (insertRow): remove function
8396         (insertParagraph): adjust
8397         (redoParagraphs): adjust
8398         (fullRebreak): adjust
8399         (updateCounters): adjust
8400
8401         * text.C (top_y): rewrite to use RowList iterators.
8402         (top_y): adjust
8403         (setHeightOfRow): rewrite to sue RowList iterators.
8404         (appendParagraph): adjust
8405         (breakAgain): adjust
8406         (breakAgainOneRow): adjust
8407         (breakParagraph): adjust
8408         (getRow): adjust
8409         (getRowNearY): adjust, and remove commented code.
8410
8411         * lyxtext.h (firstRow): delete function
8412         (lastRow): delete function
8413         (rows): new function (const and non-const versions.)
8414         (insertRow): delete function
8415
8416         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8417
8418 2003-03-29  John Levon  <levon@movementarian.org>
8419
8420         * BufferView_pimpl.C: always update scrollbar top
8421         because pasting text when we're anchored could mean we
8422         miss an update altogether
8423
8424 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8425
8426         * text2.C (init): use rowlist_.end() and not 0.
8427         (insertRow): change to take a RowList::iterator as arg, adjust
8428         for this.
8429         (insertParagraph): change to take a RowList::iterator as arg,
8430         adjust for this.
8431         (redoParagraphs): remove some debug msgs.
8432
8433         * text.C (appendParagraph): change to take a RowList::iterator
8434         arg, adjust for this.
8435         (breakAgain): add an assert
8436         (breakAgainOneRow): ditto
8437
8438 2003-03-29  John Levon  <levon@movementarian.org>
8439
8440         * text2.C: do not clear selection after inc/decDepth
8441         (bug 550)
8442
8443 2003-03-29  John Levon  <levon@movementarian.org>
8444
8445         * BufferView.C:
8446         * buffer.C: fix broken strerrors according to Lars
8447
8448 2003-03-29  John Levon  <levon@movementarian.org>
8449
8450         * converters.C: more Alert cleanups
8451
8452 2003-03-29  John Levon  <levon@movementarian.org>
8453
8454         * bufferview_funcs.C: remove pointless Alert
8455
8456         * buffer.C: fix confusing error message when
8457         a template is chmoded 000
8458
8459 2003-03-29  John Levon  <levon@movementarian.org>
8460
8461         * BufferView.C:
8462         * BufferView.h:
8463         * BufferView_pimpl.C: Alert fixes
8464
8465         * Makefile.am:
8466         * tabular.C:
8467         * tabular-old.C: remove unused table compat reading
8468
8469 2003-03-29  John Levon  <levon@movementarian.org>
8470
8471         * BufferView.C:
8472         * buffer.C:
8473         * lyx_cb.h:
8474         * lyx_cb.C: more Alert cleanups
8475
8476         * lyxfunc.C: don't allow chktex if not latex document
8477
8478 2003-03-29  John Levon  <levon@movementarian.org>
8479
8480         * lyx_cb.C:
8481         * BufferView.C:
8482         * buffer.C: warnings pushed down from support/,
8483         kill err_alert
8484
8485 2003-03-29  John Levon  <levon@movementarian.org>
8486
8487         * lyxfunc.C: safety check for C-r (revert)
8488
8489 2003-03-29  John Levon  <levon@movementarian.org>
8490
8491         * bufferlist.h:
8492         * bufferlist.C: several UI fixes using Alert::prompt.
8493         Fix the pointless looping quit code. Fix stupid revert
8494         behaviour (bug 938)
8495
8496         * lyxvc.h:
8497         * lyxvc.C:
8498         * lyx_cb.C: use Alert::prompt
8499
8500         * lyx_main.C: remove a silly question
8501
8502         * lyxfunc.C: remove a couple of silly questions,
8503         use Alert::prompt
8504
8505 2003-03-28  John Levon  <levon@movementarian.org>
8506
8507         * text2.C: fix bug 974 (End on empty par)
8508
8509 2003-03-28  John Levon  <levon@movementarian.org>
8510
8511         * BufferView_pimpl.C:
8512         * LyXAction.C:
8513         * lfuns.h: remove do-nothing math greek lfuns
8514
8515 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8516
8517         * lyxgluelength.h (isValidGlueLength): add default arg on
8518         parameter 2. Remove default arg from friend in class.
8519
8520         * lyxlength.h (isValidLength): add default arg on parameter 2.
8521         Remove default arg from friend in class.
8522
8523         * text2.C (LyXText): adjust, initialize refresh_row.
8524         (init): adjust
8525         (removeRow): adjust
8526         (insertRow): adjust
8527         (insertParagraph): adjst
8528         (redoParagraphs): adjust
8529         (fullRebreak): adjust
8530         (updateCounters): adjust
8531         (deleteEmptyParagraphMechanism): first attempt at fixing a
8532         crashing bug.
8533
8534         * text.C (top_y): adjust
8535         (setHeightOfRow): adjust
8536         (getRow): adjust
8537         (getRowNearY): adjust
8538
8539         * lyxtext.h: include RowList.h
8540         (~LyXText): not needed anymore, deleted.
8541         (firstRow): modify for RowList
8542         (lastRow): new function
8543         Delete firstrow and lastrow class variables, add a Rowlist
8544         rowlist_ class variable.
8545
8546         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8547         paragraph is empty.
8548
8549         * RowList.C (insert): fix case where it == begin().
8550
8551 2003-03-26  Angus Leeming  <leeming@lyx.org>
8552
8553         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8554         the thesaurus dialog.
8555
8556 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8557
8558         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8559
8560         * RowList.[Ch]: new files
8561
8562         * ParagraphList.C (erase): handle the case where it == begin
8563         correctly.
8564
8565 2003-03-25  John Levon  <levon@movementarian.org>
8566
8567         * Makefile.am:
8568         * aspell_local.h:
8569         * aspell.C: add new aspell support
8570
8571         * lyxrc.h:
8572         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8573         have it accessible.
8574
8575 2003-03-25  Angus Leeming  <leeming@lyx.org>
8576
8577         * lfuns.h:
8578         * LyXAction.C (init): new LFUN_INSET_INSERT.
8579
8580         * BufferView_pimpl.C (dispatch): split out part of the
8581         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8582
8583         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8584         LFUN_INSET_APPLY.
8585
8586 2003-03-25  Angus Leeming  <leeming@lyx.org>
8587
8588         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8589
8590 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8591
8592         * text2.C:
8593         * text3.C: remove useless row->height(0)
8594
8595 2003-03-25  John Levon  <levon@movementarian.org>
8596
8597         * lyxtext.h:
8598         * text2.C:
8599         * text3.C: rename the refreshing stuff to better names
8600
8601 2003-03-24  John Levon  <levon@movementarian.org>
8602
8603         * BufferView_pimpl.h:
8604         * BufferView_pimpl.C: update layout choice on a mouse
8605         press/release
8606
8607 2003-03-23  John Levon  <levon@movementarian.org>
8608
8609         * Makefile.am: fix commandtags.h reference
8610
8611 2003-03-22  John Levon  <levon@movementarian.org>
8612
8613         * BufferView_pimpl.C:
8614         * lyxtext.h:
8615         * rowpainter.C:
8616         * rowpainter.h:
8617         * text.C:
8618         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8619
8620 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8621
8622         * lyxtext.h:
8623         * text.C: take the rtl methods out of line
8624
8625 2003-03-21 André Pönitz <poenitz@gmx.net>
8626
8627         * metricsinfo.[Ch]: new files containing structures to be passed around
8628         during the two-phase-drawing...
8629
8630 2003-03-21 André Pönitz <poenitz@gmx.net>
8631
8632         * lyxtextclass.C: read 'environment' tag.
8633
8634 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8635
8636         * text2.C (removeRow): fix bug 964
8637
8638 2003-03-20  John Levon  <levon@movementarian.org>
8639
8640         * rowpainter.C:
8641         * text.C:
8642         * text2.C: paint cleanups. Inset::update() dropped font
8643         parameter
8644
8645 2003-03-19  John Levon  <levon@movementarian.org>
8646
8647         * lyxfunc.C: only fitcursor/markDirty if available()
8648
8649 2003-03-19  John Levon  <levon@movementarian.org>
8650
8651         * commandtags.h: rename to ...
8652
8653         * lfuns.h: ... this, and renumber / cleanup
8654
8655 2003-03-19  John Levon  <levon@movementarian.org>
8656
8657         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8658         fit the cursor after an lfun
8659
8660         * BufferView.h:
8661         * BufferView.C:
8662         * BufferView_pimpl.h:
8663         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8664
8665         * LyXAction.C: layout-character should have ReadOnly
8666
8667         * ParagraphParameters.C:
8668         * buffer.C:
8669         * bufferview_funcs.C:
8670         * lyx_cb.C:
8671         * lyxfind.C:
8672         * lyxtext.h:
8673         * text.C:
8674         * text2.C:
8675         * text3.C:
8676         * undo_funcs.C: changes from above
8677
8678 2003-03-18  John Levon  <levon@movementarian.org>
8679
8680         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8681         remove it from update()
8682
8683         * lyxfunc.C: update layout choice after an lfun
8684
8685         * text3.C: remove extra updateLayoutChoice()s
8686
8687 2003-03-18  John Levon  <levon@movementarian.org>
8688
8689         * text.C: top_y change means full repaint, fix
8690         a drawing bug with cursor movement
8691
8692 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8693
8694         * lyxtext.h:
8695         * text.C:
8696         * text2.C: anchor row on setCursor
8697
8698 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8699
8700         * lyxtext.h: remove almost all mutable keywords
8701         * text.C:
8702         * text2.C:
8703         * text3.C: remove const keywords accordingly
8704
8705 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8706
8707         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8708         anon namespace
8709         (TeXEnvironment): ditto
8710         (TeXOnePar): ditto
8711
8712 2003-03-17  John Levon  <levon@movementarian.org>
8713
8714         * text.C (rowBreakPoint): remove attempt to fix displayed
8715         math insets inside a manual label
8716
8717 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8718
8719         * lyxtext.h: remove BufferView* as first arg from almost all class
8720         functions.
8721         * other files: adjust.
8722
8723 2003-03-17  John Levon  <levon@movementarian.org>
8724
8725         * lyxtext.h:
8726         * undo_funcs.C:
8727         * text2.C: more paint cleanups
8728
8729         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8730
8731         * rowpainter.h:
8732         * rowpainter.C: remove "smart" background painting code
8733
8734 2003-03-16  John Levon  <levon@movementarian.org>
8735
8736         * lyxtext.h:
8737         * text.C:
8738         * text2.C:
8739         * text3.C: add helper functions for setting refresh_row/y
8740
8741 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8742
8743         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8744         newline inset which *can* get inserted in the pass_thru layouts.
8745         This is primarily for literate documents.
8746
8747 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8748
8749         * buffer.C: increment LYX_FORMAT to 223
8750
8751 2003-03-14 André Pönitz <poenitz@gmx.net>
8752
8753         * textclass.h: prepare for environment handling, ws changes
8754         * lyxlayout.C: read latexheader and latexfooter tags
8755
8756 2003-03-14  John Levon  <levon@movementarian.org>
8757
8758         * text2.C: rewrite ::status() a bit
8759
8760 2003-03-13  John Levon  <levon@movementarian.org>
8761
8762         * lyxtext.h: add some docs
8763
8764 2003-03-13  John Levon  <levon@movementarian.org>
8765
8766         * lyxtext.h:
8767         * text.C:
8768         * text2.C:
8769         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8770
8771 2003-03-13  John Levon  <levon@movementarian.org>
8772
8773         * text3.C: fix appendix redrawing
8774
8775 2003-03-13  John Levon  <levon@movementarian.org>
8776
8777         * text.C (setHeightOfRow):
8778         * rowpainter.h:
8779         * rowpainter.C: make appendix mark have the text
8780           "Appendix" so the user knows what it is
8781
8782         * LColor.h:
8783         * LColor.C: s/appendixline/appendix/ from above
8784
8785 2003-03-13  John Levon  <levon@movementarian.org>
8786
8787         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8788
8789         * text.C: fix a getChar(pos) bug properly
8790
8791 2003-03-13  Angus Leeming  <leeming@lyx.org>
8792
8793         * commandtags.h:
8794         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8795         Probably only temporary. Let's see how things pan out.
8796
8797         * BufferView.C (unlockInset):
8798         * BufferView_pimpl.C (fitCursor):
8799         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8800
8801         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8802         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8803
8804         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8805         new functions that convert ParagraphParameters to and from a string.
8806
8807         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8808         BufferView::Pimpl's dispatch.
8809         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8810
8811 2003-03-13 André Pönitz <poenitz@gmx.net>
8812
8813         * lyxfunc.C:
8814         * text3.C:
8815         * factory.C: make it aware of InsetEnv
8816
8817 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8818
8819         * text2.C (setCursor): never ask for one past last
8820         (setCursor): add some debugging messages.
8821
8822         * text.C (singleWidth): never ask for one past last
8823         (singleWidth): ditto
8824         (leftMargin): ditto
8825         (rightMargin): ditto
8826         (rowBreakPoint): ditto
8827         (setHeightOfRow): ditto
8828         (prepareToPrint): ditto
8829
8830         * rowpainter.C (paintBackground): never ask for one past last
8831         (paintText): never ask for one past last
8832
8833         * paragraph_pimpl.C (getChar): make the assert stricter, never
8834         allow the one past last pos to be taken
8835
8836         * paragraph.C (getChar): ws changes only
8837
8838         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8839         (numberOfSeparators): ditto
8840         (numberOfHfills): ditto
8841
8842 2003-03-12  John Levon  <levon@movementarian.org>
8843
8844         * author.h:
8845         * author.C:
8846         * bufferparams.h:
8847         * bufferparams.C:
8848         * paragraph_funcs.C: fix per-buffer authorlists
8849
8850 2003-03-12  John Levon  <levon@movementarian.org>
8851
8852         * text.C: fix newline in right address
8853
8854 2003-03-12  Angus Leeming  <leeming@lyx.org>
8855
8856         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8857         duplicate those in LyXFunc::dispatch.
8858
8859         * commandtags.h:
8860         * LyXAction.C:
8861         * ToolbarDefaults.C:
8862         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8863         Add LFUN_FONTFREE_UPDATE.
8864
8865         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8866         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8867
8868         * bufferview_func.[Ch]: several new functions to facilliate
8869         transfer of data to and from the character dialog.
8870
8871 2003-03-12  John Levon  <levon@movementarian.org>
8872
8873         * buffer.C:
8874         * paragraph.h:
8875         * paragraph.C:
8876         * paragraph_funcs.C:
8877         * paragraph_pimpl.C:
8878         * sgml.C:
8879         * tabular.C:
8880         * text.C:
8881         * text3.C: remove META_NEWLINE in favour of an inset
8882
8883         * rowpainter.h:
8884         * rowpainter.C: remove paintNewline (done by inset)
8885
8886 2003-03-12  John Levon  <levon@movementarian.org>
8887
8888         * paragraph_pimpl.C: complain about bad getChar()s
8889         for a while at least
8890
8891 2003-03-12  John Levon  <levon@movementarian.org>
8892
8893         * buffer.h:
8894         * buffer.C: move paragraph read into a separate function,
8895         a little renaming to reflect that.
8896
8897         * bufferparams.h:
8898         * bufferparams.C: remove the author_ids map, not necessary now
8899
8900         * factory.h:
8901         * factory.C: moved Buffer::readInset to here
8902
8903         * paragraph_funcs.h:
8904         * paragraph_funcs.C: readParagraph free function moved from
8905         buffer.C
8906
8907         * tabular.C: name change
8908
8909 2003-03-12  John Levon  <levon@movementarian.org>
8910
8911         * buffer.C:
8912         * ParagraphParameters.C: move par params input to
8913         a read() method
8914
8915         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8916         behave like a normal read from the stream wrt reading
8917         a line vs. a \\token
8918
8919 2003-03-12  John Levon  <levon@movementarian.org>
8920
8921         * paragraph.C:
8922         * ParagraphParameters.h:
8923         * ParagraphParameters.C: move output code to a
8924         ::write() method
8925
8926 2003-03-12  John Levon  <levon@movementarian.org>
8927
8928         * BufferView.C (insertLyXFile):
8929         * buffer.h:
8930         * buffer.C:
8931         * tabular.C: use a parlist iterator for creating the
8932           document.
8933
8934 2003-03-12  John Levon  <levon@movementarian.org>
8935
8936         * buffer.C: make current_change static local not
8937           static file-scope
8938
8939 2003-03-12  John Levon  <levon@movementarian.org>
8940
8941         * buffer.C: fix insertStringAsLines for change tracking
8942
8943 2003-03-12  John Levon  <levon@movementarian.org>
8944
8945         * BufferView.C:
8946         * tabular.C:
8947         * buffer.h:
8948         * buffer.C:
8949         * bufferparams.h:
8950         * bufferparams.C: move author list into params. Rename some
8951           functions. Move the header reading into a separate token
8952           loop. Move the header token reading into BufferParams.
8953
8954 2003-03-12  John Levon  <levon@movementarian.org>
8955
8956         * changes.C: put debug inside lyxerr.debugging() checks
8957
8958 2003-03-11 André Pönitz <poenitz@gmx.net>
8959
8960         * factory.C: make it aware of InsetHFill
8961
8962 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8963
8964         * buffer.C (latexParagraphs): move function from here...
8965         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8966         args.
8967
8968 2003-03-10  Angus Leeming  <leeming@lyx.org>
8969
8970         * LyXAction.C (init): fix bug in poplating array with multiple entries
8971         with the same LFUN (spotted by JMarc).
8972
8973 2003-03-10  John Levon  <levon@movementarian.org>
8974
8975         * text.C:
8976         * text2.C: move getColumnNearX() near its
8977         only call site
8978
8979 2003-03-10  John Levon  <levon@movementarian.org>
8980
8981         * text.C: fix break before a minipage
8982
8983 2003-03-10  John Levon  <levon@movementarian.org>
8984
8985         * text.C: fix the last commit
8986
8987 2003-03-09  John Levon  <levon@movementarian.org>
8988
8989         * lyxtext.h:
8990         * text.C:
8991         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8992         bug 365 (don't break before insets unless needed). Don't
8993         return a value > last under any circumstances.
8994
8995 2003-03-09  Angus Leeming  <leeming@lyx.org>
8996
8997         * BufferView_pimpl.C (trackChanges, dispatch): call
8998         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8999
9000 2003-03-09  Angus Leeming  <leeming@lyx.org>
9001
9002         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9003         than Dialogs::showAboutlyx().
9004
9005 2003-03-09  Angus Leeming  <leeming@lyx.org>
9006
9007         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9008         than Dialogs::showTabularCreate().
9009
9010 2003-03-09  John Levon  <levon@movementarian.org>
9011
9012         * lyxtext.h:
9013         * text.C:
9014         * text2.C: 3rd arg to nextBreakPoint was always the same.
9015           Use references.
9016
9017 2003-03-08  John Levon  <levon@movementarian.org>
9018
9019         * lyxrow.C:
9020         * paragraph.C:
9021         * paragraph.h:
9022         * rowpainter.C:
9023         * text.C:
9024         * text2.C: Remove the "main" bit from the "main body"
9025           notion.
9026
9027 2003-03-08  John Levon  <levon@movementarian.org>
9028
9029         * text.C (leftMargin): The left margin of an empty
9030         manual label paragraph should not include the label width
9031         string length.
9032
9033         * text.C (prepareToPrint): don't attempt to measure hfills
9034         for empty manual label paragraphs - the answer should be 0
9035
9036 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9037
9038         * CutAndPaste.C: remove commented code and reindent.
9039
9040 2003-03-08  John Levon  <levon@movementarian.org>
9041
9042         * lyxfunc.h:
9043         * lyxfunc.C: move reloadBuffer()
9044
9045         * BufferView.h:
9046         * BufferView.C: to here
9047
9048         * lyxvc.C: add comment
9049
9050         * vc-backend.h:
9051         * vc-backend.C: call bv->reload() to avoid
9052           getStatus() check on MENURELOAD
9053
9054 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9055
9056         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9057         to an old format .dep file.
9058
9059 2003-03-07  Angus Leeming  <leeming@lyx.org>
9060
9061         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9062         when the LFUN_MOUSE_RELEASE should have been handled by
9063         inset->localDispatch.
9064
9065 2003-03-07  Angus Leeming  <leeming@lyx.org>
9066
9067         * BufferView_pimpl.C (dispatch):
9068         * LyXAction.C (init):
9069         * ToolbarDefaults.C (init):
9070         * commandtags.h:
9071         * lyxfunc.C (getStatus):
9072         remove LFUN_INSET_GRAPHICS.
9073
9074         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9075
9076 2003-03-07  Angus Leeming  <leeming@lyx.org>
9077
9078         * commandtags.h:
9079         * LyXAction.C (init):
9080         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9081
9082         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9083
9084         * commandtags.h:
9085         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9086
9087         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9088         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9089
9090 2003-03-07  Angus Leeming  <leeming@lyx.org>
9091
9092         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9093         remove "ert".
9094
9095 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9096
9097         * ParagraphList.C (front): new function
9098         (back): implement
9099
9100 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9101
9102         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9103         and top_row_offset_. removed var first_y.
9104         * text.C (top_y):
9105         * text2.C (LyXText, removeRow):
9106         * text3.C:
9107         * BufferView_pimpl.C:
9108         use these methods instead of using first_y
9109
9110 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9111
9112         * text2.C (pasteSelection): adjust for checkPastePossible
9113
9114         * CutAndPaste.C: remove Paragraph * buf and replace with
9115         ParagraphList paragraphs.
9116         (DeleteBuffer): delete
9117         (cutSelection): change the tc type to textclass_type
9118         (copySelection): change the tc type to textclass_type
9119         (copySelection): adjust for ParagraphList
9120         (pasteSelection): change the tc type to textclass_type
9121         (pasteSelection): adjust for Paragraphlist
9122         (nrOfParagraphs): simplify for ParagraphList
9123         (checkPastePossible): simplify for ParagraphList
9124         (checkPastePossible): remove unused arg
9125
9126         * ParagraphList.C (insert): handle the case where there are no
9127         paragraphs yet.
9128
9129         * CutAndPaste.h: make CutAndPaste a namespace.
9130
9131         * text3.C (dispatch): adjust
9132
9133         * text.C (breakParagraph): add a ParagraphList as arg
9134
9135         * paragraph_funcs.C (breakParagraph): change to take a
9136         BufferParams and a ParagraphList as args.
9137         (breakParagraphConservative): ditto
9138         (mergeParagraph): ditto
9139         (TeXDeeper): add a ParagraphList arg
9140         (TeXEnvironment): ditto
9141         (TeXOnePar): ditto
9142
9143         * buffer.C (readLyXformat2): adjust
9144         (insertStringAsLines): adjust
9145         (latexParagraphs): adjust
9146
9147         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9148         (cutSelection): adjust
9149         (pasteSelection): adjust
9150
9151         * BufferView_pimpl.C (insertInset): adjust
9152
9153 2003-03-05  Angus Leeming  <leeming@lyx.org>
9154
9155         * commandtags.h:
9156         * LyXAction.C (init):
9157         * BufferView_pimpl.C (dispatch):
9158         * lyxfunc.C (getStatus):
9159         remove LFUN_CHILD_INSERT.
9160
9161         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9162
9163 2003-03-05  Angus Leeming  <leeming@lyx.org>
9164
9165         * commandtags.h:
9166         * LyXAction.C (init):
9167         * src/factory.C (createInset):
9168         * lyxfunc.C (getStatus):
9169         * text3.C (dispatch):
9170         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9171
9172         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9173
9174 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9175
9176         * ParagraphList.C (insert): handle insert right before end()
9177         (erase): fix cases where it can be first or last paragraph.
9178
9179 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9180
9181         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9182         Paragraph::next and Paragraph::previous
9183         (TeXOnePar): ditto
9184
9185         * text.C (breakParagraph): adjust
9186
9187         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9188         BufferParams& as arg.
9189         (breakParagraph): use ParagraphList::insert
9190         (breakParagraphConservative): take a Buffer* instead of a
9191         BufferParams& as arg.
9192         (breakParagraphConservative): use ParagraphList::insert.
9193
9194         * buffer.C (insertStringAsLines): un-const it
9195         (insertStringAsLines): adjust
9196
9197         * ParagraphList.C (insert): new function
9198
9199         * CutAndPaste.C (pasteSelection): adjust
9200
9201         * text.C (backspace): adjust
9202
9203         * tabular.C (SetMultiColumn): adjust
9204
9205         * CutAndPaste.C (cutSelection): adjust
9206         (pasteSelection): adjust
9207
9208         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9209         Buffer const * as arg
9210
9211         * ParagraphList.C (erase): new function
9212         * paragraph_funcs.C (mergeParagraph): use it
9213         (mergeParagraph): make it take a Buffer* instead of a
9214         BufferParams* as arg
9215
9216         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9217         as arg
9218         (breakParagraphConservative): ditto
9219
9220         * paragraph.h: remove the breakParagraph friend
9221
9222         * paragraph.C (eraseIntern): new function
9223         (setChange): new function
9224
9225         * paragraph_funcs.C (mergeParagraph): make it take a
9226         ParagraphList::iterator instead of a Paragraph *, adjust
9227         accordingly.
9228
9229         * paragraph.h: move an #endif so that the change tracking stuff
9230         also works in the NO_NEXT case.
9231
9232 2003-03-04  Angus Leeming  <leeming@lyx.org>
9233
9234         * commandtags.h:
9235         * LyXAction.C: new LFUN_INSET_MODIFY.
9236
9237         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9238         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9239
9240 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9241
9242         * several files: ws changes only
9243
9244         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9245         (TeXEnvironment): ditto
9246         (TeXDeeper): ditto
9247
9248         * buffer.C (makeLaTeXFile): adjust
9249         (latexParagraphs): make it take ParagraphList::iterator as args
9250
9251 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9252
9253         * buffer.C (latexParagraphs): adjust
9254
9255         * paragraph.C (TeXOnePar): move function...
9256         (optArgInset): move function...
9257         (TeXEnvironment): move function...
9258         * paragraph_pimpl.C (TeXDeeper): move function...
9259         * paragraph_funcs.C: ...here
9260
9261         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9262
9263 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9264
9265         * buffer.C (readInset): remove compability code for old Figure and
9266         InsetInfo insets
9267
9268 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9269
9270         * buffer.C: ws changes
9271         (readInset):
9272
9273         * BufferView_pimpl.C: ditto
9274         * author.C: ditto
9275         * buffer.h: ditto
9276         * bufferlist.h: ditto
9277         * changes.h: ditto
9278         * lyxfunc.C: ditto
9279
9280 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9281
9282         * converter.[Ch]: split into itself +
9283         * graph.[Ch]
9284         * format.[Ch]
9285         * Makefile.am: += graph.[Ch] + format.[Ch]
9286         * MenuBackend.C
9287         * buffer.C
9288         * exporter.C
9289         * importer.C
9290         * lyx_main.C
9291         * lyxfunc.C
9292         * lyxrc.C: added #include "format.h"
9293
9294 2003-02-27  Angus Leeming  <leeming@lyx.org>
9295
9296         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9297           a label.
9298
9299         * factory.C (createInset): add "label" to the factory.
9300
9301         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9302           string and do no more.
9303
9304 2003-02-27  Angus Leeming  <leeming@lyx.org>
9305
9306         * commandtags.h:
9307         * LyXAction.C (init):
9308         * factory.C (createInset):
9309         * BufferView_pimpl.C (dispatch):
9310           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9311
9312         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9313
9314         * lyxfunc.C (dispatch):
9315         * text3.C (dispatch): pass name to params2string.
9316
9317 2003-02-26  Angus Leeming  <leeming@lyx.org>
9318
9319         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9320           blocks together.
9321           Rearrange the ~includes. Strip out the unnecessary ones.
9322
9323         * factory.C (createInset): reformat.
9324           create new insets for the various LFUN_XYZ_APPLY lfuns.
9325
9326 2003-02-26  John Levon  <levon@movementarian.org>
9327
9328         * lyxrow.h:
9329         * lyxrow.C: add isParStart,isParEnd helpers
9330
9331         * paragraph.h: make isInserted/DeletedText take refs
9332
9333         * paragraph_funcs.h:
9334         * paragraph_funcs.C: remove #if 0'd code
9335
9336         * lyxtext.h:
9337         * text3.C:
9338         * text2.C:
9339         * text.C: use lyxrow helpers above.
9340           Move draw and paint routines to RowPainter.
9341           Make several methods use refs not pointers.
9342           Make backgroundColor() const.
9343           Add markChangeInDraw(), isInInset().
9344           Merge changeRegionCase into changeCase.
9345           Make workWidth() shouldn't-happen code into an Assert.
9346
9347         * rowpainter.h:
9348         * rowpainter.C: new class for painting a row.
9349
9350         * vspace.h:
9351         * vspace.C: make inPixels take a ref
9352
9353 2003-02-26  Angus Leeming  <leeming@lyx.org>
9354
9355         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9356         LFUN_REF_APPLY.
9357
9358 2003-02-25  John Levon  <levon@movementarian.org>
9359
9360         * ispell.C: give the forked command a more accurate name
9361
9362 2003-02-22  John Levon  <levon@movementarian.org>
9363
9364         * toc.h:
9365         * toc.C: make TocItem store an id not a Paragraph *
9366           (bug #913)
9367
9368 2003-02-21  Angus Leeming  <leeming@lyx.org>
9369
9370         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9371           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9372           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9373           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9374           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9375           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9376
9377         * BufferView_pimpl.C (dispatch):
9378         * LyXAction.C (init):
9379         * factory.C (createInset):
9380         * lyxfunc.C (getStatus, dispatch):
9381         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9382
9383 2003-02-21  Angus Leeming  <leeming@lyx.org>
9384
9385         * BufferView_pimpl.C (MenuInsertLyXFile):
9386         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9387         * lyxfunc.C (menuNew, open, doImport):
9388           no longer pass a LyXView & to fileDlg.
9389
9390 2003-02-21  Angus Leeming  <leeming@lyx.org>
9391
9392         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9393         * LyXAction.C: change, BIBKEY to BIBITEM.
9394         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9395         Change InsetBibKey to InsetBibitem.
9396         Change BIBKEY_CODE to BIBITEM_CODE.
9397         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9398         * factory.C: replace insetbib.h with insetbibitem.h.
9399         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9400         * paragraph.C: replace insetbib.h with insetbibitem.h.
9401         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9402         Change bibkey() to bibitem().
9403         * text.C: remove insetbib.h.
9404         * text2.C: replace insetbib.h with insetbibitem.h.
9405         change bibkey() to bibitem().
9406         * text3.C: remove insetbib.h.
9407         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9408
9409 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9410
9411         * lyxrc.C (output): enclose user email in quotes (in case there are
9412         several words)
9413
9414 2003-02-18  John Levon  <levon@movementarian.org>
9415
9416         * buffer.h: add std::
9417
9418 2003-02-17  John Levon  <levon@movementarian.org>
9419
9420         * SpellBase.h:
9421         * ispell.h:
9422         * ispell.C:
9423         * pspell.h:
9424         * pspell.C: reworking. Especially in ispell, a large
9425           number of clean ups and bug fixes.
9426
9427         * lyxfunc.C: fix revert to behave sensibly
9428
9429 2003-02-17 André Pönitz <poenitz@gmx.net>
9430
9431         * LyXAction.C:
9432         * commandtags.h: new LFUN_INSERT_BIBKEY
9433
9434         * layout.h:
9435         * lyxlayout.C:
9436         * buffer.C:
9437         * factory.C:
9438         * text.C:
9439         * text2.C:
9440         * text3.C:
9441         * paragraph.[Ch]:
9442         * paragraph_func.C: remove special bibkey handling
9443
9444 2003-02-17  John Levon  <levon@movementarian.org>
9445
9446         * text.C (Delete): fix case where delete at the end of
9447           the very first paragraph would not merge the pars
9448
9449 2003-02-17  John Levon  <levon@movementarian.org>
9450
9451         * lyxrow.C: fix lastPrintablePos()
9452
9453 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9454
9455         * bufferparams.C (writeLaTeX): add a std:here
9456
9457         * buffer.C: and remove a using directive there
9458
9459 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9460
9461         * buffer.C (makeLaTeXFile): move the code that generates the
9462           preamble...
9463
9464         * bufferparams.C (writeLaTeX): ... in this new method
9465
9466         * LaTeXFeatures.C (getEncodingSet): make const
9467           (getLanguages): make const
9468
9469         * MenuBackend.C (binding): returns the binding associated to this
9470           action
9471           (add): sets the status of each item by calling getStatus. Adds
9472           some intelligence.
9473           (read): add support for OptSubMenu
9474           (expand): remove extra separator at the end of expanded menu
9475
9476 2003-02-15  John Levon  <levon@movementarian.org>
9477
9478         * BufferView.C:
9479         * BufferView_pimpl.C:
9480         * bufferlist.h:
9481         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9482           inset code that had no actual effect. Remove unneeded status
9483           code.
9484
9485 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9486
9487         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9488           in preamble
9489
9490 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9491
9492         * text.C (drawLengthMarker): also draw an arrow marker for
9493           symbolic lengths (medskip...)
9494
9495 2003-02-14  John Levon  <levon@movementarian.org>
9496
9497         * tabular.h:
9498         * tabular.C: better method names
9499
9500 2003-02-14  John Levon  <levon@movementarian.org>
9501
9502         * BufferView_pimpl.C:
9503         * bufferlist.C:
9504         * buffer.C:
9505         * converter.C:
9506         * lyx_cb.C:
9507         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9508           it's a more accurate name. Remove some pointless uses.
9509
9510 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9511
9512         * text2.C (LyXText): change order of initilizers to shut off
9513           warnings
9514
9515 2003-02-14  John Levon  <levon@movementarian.org>
9516
9517         * buffer.C: use ParIterator for getParFromID()
9518
9519         * paragraph.h:
9520         * paragraph.C:
9521         * paragraph_pimpl.h:
9522         * paragraph_pimpl.C: remove unused getParFromID()
9523
9524 2003-02-14  John Levon  <levon@movementarian.org>
9525
9526         * buffer.C: remove some very old #if 0'd parse code
9527
9528 2003-02-13  John Levon  <levon@movementarian.org>
9529
9530         * text.h:
9531         * text.C:
9532         * text2.C: move hfillExpansion(), numberOfSeparators(),
9533           rowLast(), rowLastPrintable(), numberofHfills(),
9534           numberOfLabelHfills() ...
9535
9536         * lyxrow.h:
9537         * lyxrow.C: ... to member functions here.
9538
9539         * paragraph.h:
9540         * paragraph.C:
9541         * lyxtext.h:
9542         * text.C: remove LyXText::beginningOfMainBody(), and call
9543           p->beginningOfMainBody() directly. Move the check for
9544           LABEL_MANUAL into the latter.
9545
9546         * text.h:
9547         * text.C:
9548         * text2.C:
9549         * vspace.C:
9550         * BufferView.h:
9551         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9552
9553         * text.h:
9554         * text.C:
9555         * text2.C:
9556         * text3.C:
9557         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9558           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9559
9560 2003-02-13  John Levon  <levon@movementarian.org>
9561
9562         * CutAndPaste.C: remove debug
9563
9564 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9565
9566         * paragraph.C (asString): remove two unused variables
9567
9568         * lyxtextclass.C (readTitleType):
9569           (Read):
9570           (LyXTextClass): handle new members titletype_ and titlename_
9571
9572         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9573
9574 2003-02-09  John Levon  <levon@movementarian.org>
9575
9576         * buffer.h:
9577         * buffer.C: replace hand-coded list with a map for the dep clean
9578
9579 2003-02-08  John Levon  <levon@movementarian.org>
9580
9581         * LaTeX.C: consolidate code into showRunMessage() helper
9582
9583 2003-02-08  John Levon  <levon@movementarian.org>
9584
9585         * lyxfind.C:
9586         * lyxtext.h:
9587         * text2.C:
9588         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9589           and pass the size in explicitly
9590
9591         * BufferView_pimpl.h:
9592         * BufferView_pimpl.C:
9593         * BufferView.h:
9594         * BufferView.C: add getCurrentChange()
9595
9596         * BufferView_pimpl.h:
9597         * BufferView_pimpl.C: handle change lfuns
9598
9599         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9600           for changes. Mark pasted paragraphs as new.
9601
9602         * support/lyxtime.h:
9603         * support/lyxtime.C:
9604         * DepTable.C: abstract time_t as lyx::time_type
9605
9606         * LColor.h:
9607         * LColor.C: add colours for new text, deleted text, changebars
9608
9609         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9610           package use "usenames" option.
9611
9612         * commandtags.h:
9613         * lyxfunc.C:
9614         * LyXAction.C: add change lfuns
9615
9616         * Makefile.am:
9617         * author.h:
9618         * author.C: author handling
9619
9620         * buffer.h:
9621         * buffer.C: add a per-buffer author list, with first entry as
9622           current author. Handle new .lyx tokens for change tracking. Output
9623           author list to .lyx file. Output dvipost stuff to .tex preamble.
9624           Bump lyx format to 222.
9625
9626         * bufferlist.h:
9627         * bufferlist.C: add setCurrentAuthor() to reset current author details
9628           in all buffers.
9629
9630         * bufferparams.h:
9631         * bufferparams.C: add param for tracking
9632
9633         * bufferview_funcs.C: output change info in minibuffer
9634
9635         * Makefile.am:
9636         * changes.h:
9637         * changes.C: add change-tracking structure
9638
9639         * debug.h:
9640         * debug.C: add CHANGES debug flag
9641
9642         * lyxfind.h:
9643         * lyxfind.C: add code for finding the next change piece
9644
9645         * lyxrc.h:
9646         * lyxrc.C: add user_name and user_email
9647
9648         * lyxrow.h:
9649         * lyxrow.C: add a metric for the top of the text line
9650
9651         * lyxtext.h:
9652         * text.C: implement accept/rejectChange()
9653
9654         * lyxtext.h:
9655         * text.C: paint changebars. Paint new/deleted text in the chosen
9656         colours. Strike through deleted text.
9657
9658         * paragraph.h:
9659         * paragraph.C:
9660         * paragraph_pimpl.h:
9661         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9662           in the current change to the insert functions. Rework erase to
9663           mark text as deleted, adding an eraseIntern() and a range-based
9664           erase(). Implement per-paragraph change lookup and
9665           accept/reject.
9666
9667         * paragraph_funcs.C: Fixup paste for change tracking.
9668
9669         * tabular.C: mark added row/columns as new.
9670
9671         * text.C: fix rowLast() to never return -1. Don't allow
9672           spellchecking of deleted text. Track transpose changes. Don't
9673           allow paragraph break or merge where appropriate.
9674
9675         * text2.C: leave cursor at end of selection after a cut.
9676
9677 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9678
9679         * text.C (getLengthMarkerHeight):
9680         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9681         visible on screen too.
9682
9683 2003-02-07  John Levon  <levon@movementarian.org>
9684
9685         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9686
9687 2003-02-05  Angus Leeming  <leeming@lyx.org>
9688
9689         * lyxserver.C (read_ready): revert my patch of 11 September last year
9690         as it sends PC cpu through the roof. Presumably this means that
9691         the lyxserver will no longer run on an Alpha...
9692
9693 2003-01-30  Angus Leeming  <leeming@lyx.org>
9694
9695         * factory.C (createInset): create an InsetCommandParam of type "index"
9696         and use it to 'do the right thing'.
9697
9698         * text2.C (getStringToIndex): ensure that cursor position is always
9699         reset to the reset_cursor position.
9700
9701 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9702
9703         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9704         disabled.
9705
9706 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9707
9708         * bufferview.C:
9709         * lyxcb.C:
9710         * lyxfunc.C: Output messages with identical spelling, punctuation,
9711         and spaces
9712
9713 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9714
9715         * MenuBackend.C (expandFormats): List only viewable export formats
9716         in "View" menu
9717
9718         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9719         message
9720
9721         * lyxfunc.C (getStatus): Make sure that formats other than
9722         "fax" can also be disabled
9723
9724 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9725
9726         * text3.C (dispatch): put the lfuns that insert insets in 3
9727         groups, and call doInsertInset with appropriate arguments.
9728         (doInsertInset): new function, that creates an inset and inserts
9729         it according to some boolean parameters.
9730
9731 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9732
9733         * buffer.C (readFile): remember to pass on 'par' when calling
9734         readFile recursively.
9735
9736 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9737
9738         * MenuBackend.C (expandFormats): add "..." to import formats.
9739
9740 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9741
9742         * paragraph.C (asString): Remove XForms RTL hacks.
9743
9744 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9745         * buffer.C: fix typo
9746
9747 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9748
9749         * Makefile.am (LIBS): delete var
9750         (lyx_LDADD): add @LIBS@ here instead.
9751
9752 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9753
9754         * Clarify the meaning of "wheel mouse jump"
9755
9756 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9757
9758         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9759         tabular in a float
9760
9761 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9762
9763         * importer.C (Loaders): do not preallocate 3 elements in the
9764         vector, since one ends up with 6 elements otherwise
9765
9766 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9767
9768         * DepTable.C (write): write the file name as last element of the
9769         .dep file (because it may contain spaces)
9770         (read): read info in the right order
9771
9772 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9773
9774         * paragraph_pimpl.C (simpleTeXBlanks):
9775         (simpleTeXSpecialChars):
9776         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9777
9778         * tabular.C (latex): add some missing case statements. Reindent.
9779
9780         * MenuBackend.C (expandToc): remove unused variable.
9781
9782 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9783
9784         * LColor.C:
9785         * LaTeX.C:
9786         * LyXAction.C:
9787         * MenuBackend.C:
9788         * buffer.C:
9789         * exporter.C:
9790         * lyxfunc.C:
9791         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9792         and the like.
9793
9794 2003-01-05  John Levon  <levon@movementarian.org>
9795
9796         * BufferView.h:
9797         * BufferView.C: add getEncoding()
9798
9799         * kbsequence.h:
9800         * kbsequence.C: do not store last keypress
9801
9802         * lyxfunc.h:
9803         * lyxfunc.C: store last keypress here instead. Pass encoding
9804           to getISOEncoded()
9805
9806 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9807
9808         * lyx_main.C (init): remove annoying error message when following
9809         symbolic links (bug #780)
9810
9811 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9812
9813         * text.C (insertChar):
9814         * lyxrc.C (getDescription): remove extra spaces
9815
9816 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9817
9818         * lyxrc.C (getDescription): remove extra spaces
9819
9820 2002-12-20  John Levon  <levon@movementarian.org>
9821
9822         * text3.C: hack fix for page up/down across tall rows
9823
9824 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9825
9826         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9827         not been invoked
9828
9829 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9830
9831         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9832         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9833         thesaurus is not compiled in
9834
9835 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9836
9837         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9838
9839 2002-12-16  Angus Leeming  <leeming@lyx.org>
9840
9841         * lyxrc.[Ch]:
9842         * lyx_main.C (init): remove override_x_deadkeys stuff.
9843
9844 2002-12-12  John Levon  <levon@movementarian.org>
9845
9846         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9847           insert. Only remove shift modifier under strict
9848           circumstances.
9849
9850 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9851
9852         * MenuBackend.C (expandToc): fix crash.
9853
9854 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9855
9856         * MenuBackend.C (expandToc): gettext on float names.
9857
9858 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9859
9860         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9861         implement bool empty() [bug 490]
9862
9863 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9864
9865         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9866
9867 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9868
9869         * several files: ws changes
9870
9871 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9872
9873         * text2.C (setCounter): clean up a bit, use boost.format.
9874         (updateCounters): initialize par upon declaration.
9875
9876         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9877         if the layout exists. We do not just store the layout any more.
9878         (SwitchLayoutsBetweenClasses): use boost.format
9879
9880 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9881
9882         * converter.C (convert): if from and to files are the same, use a
9883         temporary files as intermediary
9884
9885 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9886
9887         * commandtags.h:
9888         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9889
9890 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9891
9892         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9893
9894 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9895
9896         * tabular.C (asciiPrintCell): use string(size, char) instead of
9897         explicit loop.
9898
9899         * sgml.C (openTag): fix order of arguments to string constructor
9900         (closeTag): ditto
9901
9902         * lyxfunc.C (dispatch): use boost.format
9903
9904         * lots of files: change "c" -> 'c'
9905
9906 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9907
9908         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9909
9910 2002-11-25  Angus Leeming  <leeming@lyx.org>
9911
9912         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9913
9914         * lyx_main.C (init): compile fix.
9915
9916 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9917
9918         * lyx_cb.C (start): boost.formatify
9919         do not include <iostream>
9920
9921         * lengthcommon.C: ws only
9922
9923         * boost-inst.C,BoostFormat.h: add more explict instantations
9924
9925 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9926
9927         * lots of files: handle USE_BOOST_FORMAT
9928
9929 2002-11-21  John Levon  <levon@movementarian.org>
9930
9931         * pspell.C: fix compile
9932
9933 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9934
9935         * lyxfunc.C (dispatch): use boost::format
9936         (open): ditto
9937         (doImport): ditto
9938
9939         * lyxfont.C (stateText): use boost::format
9940
9941         * lyx_main.C (LyX): use boost::format
9942         (init): ditto
9943         (queryUserLyXDir): ditto
9944         (readRcFile): ditto
9945         (parse_dbg): ditto
9946         (typedef boost::function): use the recommened syntax.
9947
9948         * importer.C (Import): use boost::format
9949
9950         * debug.C (showLevel): use boost::format
9951
9952         * converter.C (view): use boost::format
9953         (convert): ditto
9954         (move): ditto
9955         (scanLog): ditto
9956
9957         * bufferview_funcs.C (currentState): use boost::format
9958
9959         * bufferlist.C (emergencyWrite): use boost::format
9960
9961         * buffer.C (readLyXformat2): use boost::format
9962         (parseSingleLyXformat2Token): ditto
9963
9964         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9965
9966         * LaTeX.C (run): use boost::format
9967
9968         * Chktex.C (scanLogFile): use boost::format
9969
9970         * BufferView_pimpl.C (savePosition): use boost::format
9971         (restorePosition): ditto
9972         (MenuInsertLyXFile): ditto
9973
9974         * BoostFormat.h: help file for explicit instation.
9975
9976 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
9977
9978         * tabular.C (latex): Support for block alignment in fixed width
9979         columns.
9980
9981 2002-11-17  John Levon  <levon@movementarian.org>
9982
9983         * BufferView_pimpl.C:
9984         * lyx_cb.C:
9985         * lyxfunc.C: split filedialog into open/save
9986
9987 2002-11-08  Juergen Vigna  <jug@sad.it>
9988
9989         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9990         by my last patch (hopefully).
9991
9992 2002-11-08  John Levon  <levon@movementarian.org>
9993
9994         * iterators.h:
9995         * iterators.C:
9996         * buffer.h:
9997         * buffer.C:
9998         * paragraph.h:
9999         * paragraph.C:
10000         * toc.h:
10001         * toc.C: ParConstIterator, and use it (from Lars)
10002
10003 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10004
10005         * lyxtextclass.[Ch]: revise and add doxygen comments
10006
10007 2002-11-07  John Levon  <levon@movementarian.org>
10008
10009         * text.C: fix progress value for spellchecker
10010
10011         * toc.C: fix navigate menu for insetwrap inside minipage
10012
10013         * paragraph_funcs.C: added FIXME for suspect code
10014
10015 2002-11-07  John Levon  <levon@movementarian.org>
10016
10017         * BufferView_pimpl.C: fix redrawing of insets
10018           on buffer switch
10019
10020 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10021
10022         * text2.C (updateCounters): fix bug 668
10023
10024 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10025
10026         * text3.C (dispatch): Do not make the buffer dirty when moving the
10027         cursor.
10028
10029 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10030
10031         * vc-backend.C: STRCONV
10032         (scanMaster): ditto
10033
10034         * text2.C (setCounter): STRCONV
10035
10036         * paragraph.C (asString): STRCONV
10037
10038         * lyxlength.C (asString): STRCONV
10039         (asLatexString): ditto
10040
10041         * lyxgluelength.C (asString): STRCONV
10042         (asLatexString): ditto
10043
10044         * lyxfunc.C (dispatch): STRCONV
10045         (open): ditto
10046
10047         * lyxfont.C (stateText): STRCONV
10048
10049         * importer.C (Import): STRCONV
10050
10051         * counters.C (labelItem): STRCONV
10052         (numberLabel): ditto
10053         (numberLabel): remove unused ostringstream o
10054
10055         * chset.C: STRCONV
10056         (loadFile): ditto
10057
10058         * bufferview_funcs.C (currentState): STRCONV
10059
10060         * buffer.C (readFile): STRCONV
10061         (asciiParagraph): ditto
10062         (makeLaTeXFile): ditto
10063
10064         * Spacing.C (writeEnvirBegin): STRCONV
10065
10066         * LaTeXFeatures.C (getLanguages): STRCONV
10067         (getPackages): ditto
10068         (getMacros): ditto
10069         (getBabelOptions): ditto
10070         (getTClassPreamble): ditto
10071         (getLyXSGMLEntities): ditto
10072         (getIncludedFiles): ditto
10073
10074         * LaTeX.C: STRCONV
10075         (run): ditto
10076         (scanAuxFile): ditto
10077         (deplog): ditto
10078
10079         * LString.h: add the STRCONV macros
10080
10081         * BufferView_pimpl.C (savePosition): STRCONV
10082         (restorePosition): ditto
10083         (MenuInsertLyXFile): ditto
10084
10085         * vc-backend.C (scanMaster): change from submatch[...] to
10086         submatch.str(...)
10087
10088         * funcrequest.C: include config.h
10089
10090         * factory.C: include config.h
10091
10092         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10093
10094         * box.C: include config.h
10095
10096         * LaTeX.C (scanAuxFile): change from submatch[...] to
10097         submatch.str(...)
10098         (deplog): ditto
10099
10100 2002-10-25  Angus Leeming  <leeming@lyx.org>
10101
10102         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10103
10104         * ispell.[Ch] (setError): new method.
10105         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10106         Use setError() insetead of goto END.
10107
10108         * lyx_cb.C (AutoSave): move out child process into new class
10109         AutoSaveBuffer.
10110
10111 2002-10-30  John Levon  <levon@movementarian.org>
10112
10113         * text3.C: make start appendix undoable
10114
10115 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10116
10117         * lyxlength.C (inPixels): Fix returned value.
10118
10119         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10120         environment.
10121
10122 2002-10-24  Angus Leeming  <leeming@lyx.org>
10123
10124         * lyxgluelength.h: no need to forward declare BufferParams
10125         or BufferView, so don't.
10126
10127 2002-10-21  John Levon  <levon@movementarian.org>
10128
10129         * BufferView.C: menuUndo ->undo, redo
10130
10131         * BufferView.h: document, remove dead, make some methods private
10132
10133         * paragraph_funcs.h:
10134         * paragraph_funcs.C:
10135         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10136
10137         * buffer.h:
10138         * buffer.C:
10139         * sgml.h:
10140         * sgml.C: move sgml open/close tag into sgml.C
10141
10142         * bufferview_funcs.h: unused prototype
10143
10144         * lyxfunc.h:
10145         * lyxfunc.C: remove unused
10146
10147         * lyxtext.h:
10148         * text.C: remove unused
10149
10150 2002-10-21  John Levon  <levon@movementarian.org>
10151
10152         * BufferView.h:
10153         * BufferView.C:
10154         * BufferView_pimpl.h:
10155         * BufferView_pimpl.C: fix mouse wheel handling based on
10156           patch from Darren Freeman
10157
10158 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10159
10160         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10161
10162 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10163
10164         * lyxlength.C (inPixels): Fix hanfling of negative length.
10165         Fix LyXLength::MU case.
10166
10167 2002-10-16  John Levon  <levon@movementarian.org>
10168
10169         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10170
10171 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10172
10173         * converter.C (view): add support for $$i (file name) and $$p
10174         (file path) for the viewer command. If $$i is not specified, then
10175         it is appended to the command (for compatibility with old syntax)
10176
10177 2002-10-14  Juergen Vigna  <jug@sad.it>
10178
10179         * undo_funcs.C (textHandleUndo): alter the order in which the
10180         new undopar is added to the LyXText, as we have to set first
10181         the right prev/next and then add it as otherwise the rebuild of
10182         LyXText is not correct. Also reset the cursor to the right paragraph,
10183         with this IMO we could remove the hack in "redoParagraphs()".
10184
10185 2002-10-09  Angus Leeming  <leeming@lyx.org>
10186
10187         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10188         to turn off an optimisation if a new inset is to be inserted.
10189
10190 2002-10-11 André Pönitz <poenitz@gmx.net>
10191
10192         * lyxtext.h: make some functions public to allow access
10193         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10194
10195 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10196
10197         * text3.C (dispatch): when changing layout, avoid an infinite loop
10198         [bug #652]
10199
10200 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10201
10202         * lyxrc.C (read): treat a viewer or converter command of "none" as
10203         if it were empty.
10204
10205         * MenuBackend.C (expandFormats): for an update, also allow the
10206         formats that are not viewable
10207
10208         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10209         script if it is newer than the lyxrc.defaults in user directory
10210
10211 2002-10-07 André Pönitz <poenitz@gmx.net>
10212
10213         * text.C: Vitaly Lipatov's small i18n fix
10214
10215 2002-09-25  Angus Leeming  <leeming@lyx.org>
10216
10217         * ispell.h: doxygen fix.
10218
10219 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10220
10221         * buffer.h (readFile): Add a new argument to the method, to allow
10222         reading of old-format templates.
10223
10224 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10225
10226         * toc.C (getTocList): Get TOC from InsetWrap.
10227
10228 2002-09-16  John Levon  <levon@movementarian.org>
10229
10230         * lyxfunc.C: check tabular for cut/copy too
10231
10232 2002-09-12  John Levon  <levon@movementarian.org>
10233
10234         * LyXAction.C: tidy
10235
10236         * factory.h:
10237         * factory.C: add header
10238
10239         * paragraph_funcs.h:
10240         * paragraph_funcs.C: cleanup
10241
10242 2002-09-11  John Levon  <levon@movementarian.org>
10243
10244         * PrinterParams.h: odd/even default to true
10245
10246 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10247
10248         * PrinterParams.h: update printer parameters for new xforms dialog
10249
10250 2002-09-11  Angus Leeming  <leeming@lyx.org>
10251
10252         * lyxserver.C (read_ready): re-write to make it more transparent
10253         and to make it work in coherent fashion under Tru64 Unix.
10254
10255 2002-09-11  André Pönitz <poenitz@gmx.net>
10256
10257         * commandtags.h:
10258         * LyXAction.C:
10259         * text3.C: implement LFUN_WORDSEL
10260
10261 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10262
10263         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10264         make floatlist_ a boost::shared_ptr<FloatList>
10265
10266         * lyxtextclass.C: include FloatList.h
10267         (LyXTextClass): initialize floatlist_
10268         (TextClassTags): add TC_NOFLOAT
10269         (Read): match "nofloat" to TC_NOFLOAT and use it.
10270         (readFloat): modify call to floatlist_
10271         (floats): ditto
10272         (floats): ditto
10273
10274         * FloatList.[Ch] (FloatList): remove commented out float
10275         initialization.
10276         (erase): new function
10277
10278 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10279
10280         * MenuBackend.C (expandToc): fix crash when there is no document
10281         open
10282
10283 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10284
10285         * many files: Add insetwrap.
10286
10287 2002-09-09  John Levon  <levon@movementarian.org>
10288
10289         * text2.C: remove confusing and awkward depth wraparound
10290
10291 2002-09-09  John Levon  <levon@movementarian.org>
10292
10293         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10294
10295         * buffer.h:
10296         * buffer.C: remove getIncludeonlyList()
10297
10298         * paragraph.C:
10299         * lyxfunc.C: remove headers
10300
10301 2002-09-09  Juergen Vigna  <jug@sad.it>
10302
10303         * text.C (getColumnNearX): fix form Michael this is most
10304         probably a cut&paste bug.
10305
10306 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10307
10308         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10309
10310         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10311         references, ws changes.
10312
10313         * text2.C (init): update counters after init
10314         (insertParagraph): no need to set counter on idividual paragraphs.
10315         (setCounter): access the counters object in the textclass object
10316         on in the buffer object.
10317         (updateCounters): ditto
10318
10319         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10320         shared_ptr<Counters> to avoid loading counters.h in all
10321         compilation units.
10322         (LyXTextClass): initialize ctrs_
10323         (TextClassTags): add TC_COUNTER, and ...
10324         (Read): use it here.
10325         (CounterTags): new tags
10326         (readCounter): new function
10327         (counters): new funtion
10328         (defaultLayoutName): return a const reference
10329
10330         * counters.C (Counters): remove contructor
10331         (newCounter): remove a couple of unneeded statements.
10332         (newCounter): simplify a bit.
10333         (numberLabel): some small formatting changes.
10334
10335         * buffer.[Ch]: remove all traces of counters, move the Counters
10336         object to the LyXTextClass.
10337
10338 2002-09-06  Alain Castera  <castera@in2p3.fr>
10339
10340         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10341         package to set the horizontal alignment on fixed width columns.
10342
10343         * lyx_sty.C:
10344         * lyx_sty.h: added tabularnewline macro def.
10345
10346         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10347
10348 2002-09-06  John Levon  <levon@movementarian.org>
10349
10350         * LyXAction.C: tooltips for sub/superscript
10351
10352         * MenuBackend.C: a bit more verbose
10353
10354         * lyxfunc.C: tiny clean
10355
10356         * undo_funcs.C: document undo_frozen
10357
10358 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10359
10360         * counters.C (Counters): add missing algorithm counter.
10361
10362         * text2.C (setCounter): lookup the counter with layouts latexname
10363         instead of by section number.
10364         (setCounter): use a hackish way to lookup the correct enum
10365         counter.
10366         a float name->type change
10367         reset enum couners with counter name directly instead of depth value.
10368
10369         * counters.C (Counters): remove the push_backs, change to use the
10370         float type not the float name.
10371         (labelItem): remove unused string, float name->type change
10372
10373         * counters.h: don't include vector, loose the enums and sects vectors
10374
10375 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10376
10377         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10378         (Read): add float->TC_FLOAT to textclassTags
10379         (Read): and handle it in the switch
10380         (readFloat): new function
10381
10382         * FloatList.C (FloatList): comment out the hardcoded float
10383         definitions.
10384
10385         * lyxlayout.h: ws change.
10386
10387 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10388
10389         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10390
10391 2002-09-03  Angus Leeming  <leeming@lyx.org>
10392
10393         * BufferView_pimpl.h: qualified name is not allowed in member
10394         declaration: WorkArea & Pimpl::workarea() const;
10395
10396         * factory.C: added using std::endl directive.
10397
10398         * text3.C: added using std::find and std::vector directives.
10399
10400 2002-08-29  André Pönitz <poenitz@gmx.net>
10401
10402         * lyxtext.h:
10403         * text2.C: remove unused member number_of_rows
10404
10405         * Makefile.am:
10406         * BufferView2.C: remove file, move contents to...
10407         * BufferView.C: ... here
10408
10409         * BufferView_pimpl.C:
10410         * factory.C: move more inset creation to factory
10411
10412         * vspace.C: avoid direct usage of LyXText, ws changes
10413
10414         * BufferView.[Ch]:
10415                 don't provide direct access to WorkArea, use two simple
10416                 acessors haveSelction() and workHeight() instead
10417
10418
10419 2002-08-29  John Levon  <levon@movementarian.org>
10420
10421         * BufferView_pimpl.C (dispatch): do not continue when
10422           no buffer
10423
10424 2002-08-28  André Pönitz <poenitz@gmx.net>
10425
10426         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10427
10428         * BufferView.h:
10429         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10430
10431 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10432
10433         * buffer.C: increment LYX_FORMAT to 221
10434
10435         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10436         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10437
10438         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10439
10440         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10441
10442 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10443
10444         * factory.C (createInset): use LyXTextClass::floats
10445
10446         * MenuBackend.C (expandFloatListInsert):
10447         (expandFloatInsert):
10448         (expandToc):
10449
10450         * text2.C (setCounter):
10451
10452         * LaTeXFeatures.C (useFloat):
10453         (getFloatDefinitions):
10454
10455         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10456
10457         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10458         floatlist_, with accessor floats().
10459
10460         * FloatList.h: remove global FloatList
10461
10462 2002-08-26  André Pönitz <poenitz@gmx.net>
10463
10464         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10465
10466         * BufferView.h:
10467         * BufferView2.C:
10468         * BufferView_pimpl.C:
10469         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10470
10471 2002-08-25  John Levon  <levon@movementarian.org>
10472
10473         * LyXAction.C: fix margin note description
10474
10475 2002-08-24  John Levon  <levon@movementarian.org>
10476
10477         * buffer.C:
10478         * bufferlist.C:
10479         * bufferview_funcs.C:
10480         * lyxfont.C:
10481         * undo_funcs.C: cleanups
10482
10483         * lyxfunc.C: disable CUT/COPY when no selection
10484
10485 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10486
10487         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10488         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10489
10490         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10491         Add backward compatibility to "mono", "gray" and "no".
10492
10493 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10494
10495         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10496         (and file_format >= 200).
10497
10498 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10499
10500         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10501
10502 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10503
10504         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10505
10506 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10507
10508         * BufferView_pimpl.C:
10509         * LyXAction.C:
10510         * buffer.C:
10511         * commandtags.h:
10512         * lyxfunc.C:
10513         * paragraph.[Ch]:
10514         * text2.C:
10515         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10516         inset and code to make it  work with the paragraph code. The inset
10517         can be anywhere in the paragraph, but will only do the expected
10518         thing in LaTeX if the layout file contains the parameter line
10519                         OptionalArgs    1
10520         (or more generally, a nonzero value) for that layout.
10521
10522 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10523
10524         * paragraph.h: remove the declaration of undefined counters class
10525         function.
10526
10527 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10528
10529         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10530         Dr. Richard Hawkins.
10531
10532 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10533
10534         * paragraph_funcs.h: remove some unneeded includes
10535
10536         * text.C (backspace): pasteParagraph now in global scipe
10537
10538         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10539         (pasteSelection): ditto
10540
10541         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10542         * paragraph_funcs.C (pasteParagraph): ... here
10543
10544 2002-08-20  André Pönitz <poenitz@gmx.net>
10545
10546         * commandtags.h: new LFUNs for swapping/copying table row/colums
10547
10548         * LyXAction.C:
10549         * lyxfunc.C: support for new lfuns
10550
10551 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10552
10553         * tabular.C:
10554         * buffer.[Ch]: remove NO_COMPABILITY stuff
10555
10556 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10557
10558         * boost.C (throw_exception): new file, with helper function for
10559         boost compiled without exceptions.
10560
10561         * paragraph.h:
10562         * lyxlength.C:
10563         * buffer.C:
10564         * ParameterStruct.h:
10565         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10566
10567         * bufferlist.C (emergencyWriteAll): use boost bind
10568
10569         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10570
10571         * text.C: include paragraph_funcs.h
10572         (breakParagraph): breakParagraph is now in global scope
10573
10574         * paragraph_funcs.[Ch]: new files
10575
10576         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10577         global scope
10578
10579         * buffer.C: include paragraph_funcs.h
10580         (insertStringAsLines): breakParagraph is now in global scope
10581
10582         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10583         paragraph_funcs.C
10584
10585         * CutAndPaste.C: include paragraph_funcs.h
10586         (cutSelection): breakParagraphConservative is now in global scope
10587         (pasteSelection): ditto
10588
10589         * buffer.h: declare oprator== and operator!= for
10590         Buffer::inset_iterator
10591
10592         * bufferlist.C (emergencyWrite): don't use fmt(...)
10593
10594         * text3.C: add using std::endl
10595
10596         * BufferView.C (moveCursorUpdate): remove default arg
10597
10598 2002-08-20  André Pönitz <poenitz@gmx.net>
10599
10600         * buffer.[Ch]: move inline functions to .C
10601
10602         * BufferView2.C:
10603         * BufferView_pimpl.C:
10604         * text.C:
10605         * buffer.[Ch]: use improved inset_iterator
10606
10607         * buffer.C:
10608         * paragraph.[Ch]: write one paragraph at a time
10609
10610 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10611
10612         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10613         style if style is not specified.
10614
10615 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10616
10617         * text2.C (setCounter): when searching for right label for a
10618         caption, make sure to recurse to parent insets (so that a caption
10619         in a minipage in a figure float works) (bug #568)
10620
10621 2002-08-20  André Pönitz <poenitz@gmx.net>
10622
10623         * text3.C: new file for LyXText::dispatch() and helpers
10624
10625         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10626
10627         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10628
10629 2002-08-19  André Pönitz <poenitz@gmx.net>
10630
10631         * lyxtext.h:
10632         * text.C: new LyXText::dispatch()
10633
10634         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10635
10636 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10637
10638         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10639
10640         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10641         Hebrew text.
10642
10643 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10644
10645         * Makefile.am: use $(variables) instead of @substitutions@
10646
10647 2002-08-15  André Pönitz <poenitz@gmx.net>
10648
10649         * lyxfunc.C:
10650         * BufferView_pimpl.C: streamlining mathed <-> outer world
10651         interaction
10652
10653         * commandtags.h:
10654         * LyXAction.C: remove unused LFUN_MATH
10655
10656 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10657
10658         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10659
10660 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10661
10662         * paragraph.C (Paragraph): reformat a bit
10663         (cutIntoMinibuffer): use builtin InsetList function instad of
10664         doing it manually.
10665         (getInset): ditto
10666
10667         * buffer.C: include boost/bind.hpp, add using std::for_each
10668         (writeFileAscii): use ParagraphList iterators
10669         (validate): use for_each for validate traversal of paragraphs
10670         (getBibkeyList): use ParagraphList iterators
10671         (resizeInsets): use for_each to resizeInsetsLyXText for all
10672         paragraphs.
10673         (getParFromID): use ParagraphList iterators
10674
10675         * BufferView2.C (lockInset): use paragraph list and iterators
10676
10677 2002-08-14  John Levon  <levon@movementarian.org>
10678
10679         * lyxserver.C: remove spurious xforms include
10680
10681 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10682
10683         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10684
10685 2002-08-13  André Pönitz <poenitz@gmx.net>
10686
10687         * LyXAction.[Ch]:
10688         * lyxfunc.C: further cleaning
10689
10690 2002-08-13  André Pönitz <poenitz@gmx.net>
10691
10692         * funcrequest.h: new constructor
10693
10694         * funcrequest.C: move stuff here from .h
10695
10696         * Makefile.am:
10697         * BufferView_pimpl.C:
10698         * LyXAction.C:
10699         * toc.C:
10700         * lyxfunc.C: subsequent changes
10701
10702         * lyxfunc.h: new view() member function
10703
10704         * lyxfunc.C: subsequent changes
10705
10706 2002-08-13  Angus Leeming  <leeming@lyx.org>
10707
10708         * BufferView2.C:
10709         * BufferView_pimpl.C:
10710         * buffer.C:
10711         * converter.C:
10712         * importer.C:
10713         * lyxfunc.C:
10714         * lyxvc.C:
10715         * toc.C:
10716         * vc-backend.C:
10717         changes due to the changed LyXView interface that now returns references
10718         to member variables not pointers.
10719
10720 2002-08-13  Angus Leeming  <leeming@lyx.org>
10721
10722         * WordLangTuple (word, lang_code): return references to strings,
10723         not strings.
10724
10725         * BufferView.h:
10726         * SpellBase.h:
10727         * lyxtext.h: forward-declare WordLangTuple.
10728
10729         * BufferView2.C:
10730         * ispell.C:
10731         * pspell.C:
10732         * text.C: #include "WordLangTuple.h".
10733
10734         * lyxtext.h:
10735         * text.C: (selectNextWordToSpellcheck): constify return type.
10736
10737 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10738
10739         * buffer.C:
10740         * buffer.h:
10741         * lyxtext.h:
10742         * paragraph.C:
10743         * paragraph_pimpl.h:
10744         * text.C:
10745         * text2.C:
10746         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10747         suggested by Angus.
10748         Made updateCounter always count from start of buffer, and removed
10749         second argument (par).
10750         Reverted floats number display to '#'. Perhaps I'll try again when the
10751         code base is sanitized a bit.
10752
10753 2002-08-12  Angus Leeming  <leeming@lyx.org>
10754
10755         * buffer.[Ch] (getLabelList): constify.
10756
10757 2002-08-07  André Pönitz <poenitz@gmx.net>
10758
10759         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10760
10761         * funcrequest.h: extension to keep mouse (x,y) position
10762
10763 2002-08-12  Juergen Vigna  <jug@sad.it>
10764
10765         * BufferView2.C (insertErrors): forbid undo when inserting error
10766         insets.
10767
10768         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10769
10770 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10771
10772         * ParagraphList.[Ch]: new files
10773
10774         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10775
10776         * BufferView2.C (lockInset): ParagraphList changes
10777         * toc.C: ditto
10778         * text2.C: ditto
10779         * bufferlist.C: ditto
10780         * buffer.h: ditto
10781         * buffer.C: ditto
10782
10783 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10784
10785         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10786         unused class variable counter_,
10787
10788         * paragraph.[Ch] (getFirstCounter): delete unused function
10789
10790         * counters.C: include LAssert.h
10791         (reset): add a new function with no arg, change other version to
10792         not have def. arg and to not allow empty arg.
10793
10794         * text2.C (setCounter): remove empty arg from call to Counters::reset
10795
10796 2002-08-11  John Levon  <levon@movementarian.org>
10797
10798         * Makefile.am: add WordLangTuple.h
10799
10800 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10801
10802         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10803         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10804
10805         * insets/insettext.C: InsetList changes
10806
10807         * graphics/GraphicsSupport.C (operator()): InsetList changes
10808
10809         * toc.C (getTocList): InsetList changes
10810
10811         * paragraph_pimpl.[Ch]: InsetList changes
10812
10813         * paragraph.[Ch]: InsetList changes
10814
10815         * buffer.C (inset_iterator): InsetList changes
10816         (setParagraph): ditto
10817         * buffer.h (inset_iterator): ditto
10818         * iterators.C (operator++): ditto
10819         * iterators.h: ditto
10820
10821         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10822
10823         * InsetList.[Ch]: new files, most InsetList handling moved out of
10824         paragraph.C.
10825
10826         * BufferView2.C (removeAutoInsets): InsetList changes
10827         (lockInset): ditto
10828         (ChangeInsets): ditto
10829
10830 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10831
10832         * paragraph_pimpl.h (empty): new function
10833
10834         * paragraph.[Ch] (empty): new function
10835
10836         * other files: use the new Paragraph::empty function
10837
10838 2002-08-09  John Levon  <levon@movementarian.org>
10839
10840         * lyxtext.h: remove unused refresh_height
10841
10842 2002-08-09  John Levon  <levon@movementarian.org>
10843
10844         * Makefile.am:
10845         * sgml.h:
10846         * sgml.C:
10847         * buffer.C:
10848         * paragraph.h:
10849         * paragraph.C: move sgml char escaping out of paragraph
10850
10851         * paragraph.h:
10852         * paragraph.C: remove id setter
10853
10854         * buffer.C:
10855         * paragraph.C:
10856         * paragraph_pimpl.C: remove dead tex_code_break_column
10857
10858         * bufferview_funcs.C: small cleanup
10859
10860         * lyxfunc.C: remove dead proto
10861
10862         * lyxtext.h: make some stuff private. Remove some dead stuff.
10863
10864         * lyxgluelength.C: make as[LyX]String() readable
10865
10866 2002-08-08  John Levon  <levon@movementarian.org>
10867
10868         * LyXAction.h:
10869         * LyXAction.C:
10870         * MenuBackend.C:
10871         * ToolbarDefaults.C:
10872         * lyxfunc.C:
10873         * lyxrc.C:
10874         * toc.C: lyxaction cleanup
10875
10876 2002-08-08  John Levon  <levon@movementarian.org>
10877
10878         * BufferView2.C: small cleanup
10879
10880         * lyxfind.h:
10881         * lyxfind.C: move unnecessary header into the .C
10882
10883 2002-08-08  John Levon  <levon@movementarian.org>
10884
10885         * funcrequest.h: just tedious nonsense
10886
10887         * lyx_main.h:
10888         * lyx_main.C: cleanups
10889
10890         * buffer.C:
10891         * vspace.C: remove dead header lyx_main.h
10892
10893 2002-08-07  Angus Leeming  <leeming@lyx.org>
10894
10895         * Paragraph.[Ch]:
10896         * paragraph_pimpl.h:
10897         Forward declare class Counters in paragraph.h by moving the ctrs member
10898         variable into Paragraph::Pimpl.
10899         (counters): new method, returning a reference to pimpl_->ctrs.
10900
10901         * text2.C: ensuing changes.
10902
10903 2002-08-07  John Levon  <levon@movementarian.org>
10904
10905         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10906
10907         * BufferView_pimpl.C: announce X selection on double/triple
10908           click
10909
10910         * lyx_main.C: use correct bool in batch dispatch
10911
10912         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10913
10914 2002-08-07  André Pönitz <poenitz@gmx.net>
10915
10916         * funcrequest.h: new class to wrap a kb_action and its argument
10917
10918         * BufferView.[Ch]:
10919         * BufferView_pimpl[Ch]:
10920         * LaTeX.C:
10921         * LyXAction.[Ch]:
10922         * lyxfunc.[Ch]:
10923         * lyxrc.C: subsequent changes
10924
10925
10926 2002-08-07  John Levon  <levon@movementarian.org>
10927
10928         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10929           document options change.
10930
10931 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10932
10933         * counters.[Ch]
10934         * text2.C
10935         * paragraph.[Ch]
10936         * makefile.am: move counters functionality over from
10937         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10938
10939 2002-08-06  John Levon  <levon@movementarian.org>
10940
10941         * WordLangTuple.h: new file for word + language code tuple
10942
10943         * SpellBase.h:
10944         * pspell.h:
10945         * pspell.C:
10946         * ispell.h:
10947         * ispell.C:
10948         * lyxtext.h:
10949         * text.C:
10950         * text2.C:
10951         * BufferView.h:
10952         * BufferView2.C: use WordLangTuple
10953
10954         * layout.h:
10955         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10956
10957 2002-08-06  John Levon  <levon@movementarian.org>
10958
10959         * lyx_main.C: fix cmdline batch handling
10960
10961 2002-08-06  André Pönitz <poenitz@gmx.net>
10962
10963         * lyxrc.C: set default for show_banner to true
10964
10965 2002-08-06  John Levon  <levon@movementarian.org>
10966
10967         * pspell.C: fix a crash, and allow new aspell to work
10968
10969 2002-08-06  John Levon  <levon@movementarian.org>
10970
10971         * lyxfunc.C:
10972         * kbmap.C: small cleanup
10973
10974         * vspace.h:
10975         * vspace.C: add const
10976
10977 2002-08-05  John Levon  <levon@movementarian.org>
10978
10979         * LyXAction.C: back to tabular-insert
10980
10981 2002-08-04  John Levon  <levon@movementarian.org>
10982
10983         * BufferView.h:
10984         * BufferView.C: cosmetic change
10985
10986         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10987
10988         * bufferlist.C:
10989         * buffer.h:
10990         * buffer.C:
10991         * lyxcb.h:
10992         * lyxcb.C:
10993         * lyxserver.C:
10994         * lyxvc.C:
10995         * vc-backend.C:
10996         * BufferView2.C: purge all "Lyx" not "LyX" strings
10997
10998         * lyxcursor.h:
10999         * lyxcursor.C: attempt to add some documentation
11000
11001         * lyxfunc.C:
11002         * commandtags.h:
11003         * LyXAction.C:
11004         * ToolbarDefaults.C:
11005         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11006           merge with LFUN_TABULAR_INSERT
11007
11008         * Makefile.am:
11009         * SpellBase.h:
11010         * ispell.h:
11011         * ispell.C:
11012         * pspell.h:
11013         * pspell.C: split up i/pspell implementations into separate
11014           files, many cleanups
11015
11016         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11017
11018         * text2.C: some cleanup
11019
11020         * lyxfunc.C: don't check for isp_command == "none" any more, it
11021           didn't make any sense
11022
11023 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11024
11025         * counters.[Ch]
11026         * text2.C
11027         * paragraph.[Ch]
11028         * makefile.am: move counters functionality over
11029         from text2.C/paragraph.[Ch] to counters.[Ch], and
11030         make proper C++.
11031 2002-08-02  John Levon  <levon@movementarian.org>
11032
11033         * buffer.C: s/lyxconvert/lyx2lyx/
11034
11035 2002-08-02  Angus Leeming  <leeming@lyx.org>
11036
11037         * lyxlex.C: revert John's change as it breaks reading of the user
11038         preamble.
11039
11040 2002-08-02  Angus Leeming  <leeming@lyx.org>
11041
11042         * importer.C (Import):
11043         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11044         changes due to LyXView::view() now returning a boost::shared_ptr.
11045
11046 2002-08-02  John Levon  <levon@movementarian.org>
11047
11048         * lyxlex.C: small cleanup
11049
11050 2002-08-02  John Levon  <levon@movementarian.org>
11051
11052         * text2.C (status): small cleanup, no logic change
11053
11054 2002-08-01  John Levon  <levon@movementarian.org>
11055
11056         * buffer.h:
11057         * buffer.C (writeFile): don't output alerts, caller
11058           handles this
11059
11060         * bufferlist.C:
11061         * lyx_cb.C: from above
11062
11063         * lyxfunc.C: allow to open non-existent files
11064
11065 2002-07-31  John Levon  <levon@movementarian.org>
11066
11067         * lyxserver.C: don't let incidental errors get
11068           in the way (errno)
11069
11070 2002-07-30  John Levon  <levon@movementarian.org>
11071
11072         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11073
11074 2002-07-30  John Levon  <levon@movementarian.org>
11075
11076         * lyxserver.h:
11077         * lyxserver.C: remove I/O callback too
11078
11079 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11080
11081         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11082         log.
11083
11084 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11085
11086         * many files: strip,frontStrip -> trim,ltrim,rtrim
11087
11088 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11089
11090         * PrinterParams.h: remove extern containsOnly, and include
11091         support/lstrings.h instead.
11092
11093         * LaTeX.C (scanAuxFile): modify because of strip changes
11094         (deplog): ditto
11095         * buffer.C (makeLaTeXFile): ditto
11096         * bufferparams.C (writeFile): ditt
11097         * lyxfont.C (stateText): ditto
11098         * lyxserver.C (read_ready): ditto
11099         * vc-backend.C (scanMaster): ditto
11100
11101         * BufferView_pimpl.h: ws changes
11102
11103         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11104
11105 2002-07-26  André Pönitz <poenitz@gmx.net>
11106
11107         * kb_sequence.C: remove unnedred usings
11108
11109 2002-07-26  Juergen Vigna  <jug@sad.it>
11110
11111         * lyxfind.C (LyXReplace): we have to check better if the returned
11112         text is not of theLockingInset()->getLockingInset().
11113
11114 2002-07-25  Juergen Vigna  <jug@sad.it>
11115
11116         * lyxfind.C (LyXReplace): don't replace if we don't get the
11117         right LyXText.
11118
11119         * undo_funcs.C (createUndo): remove debugging code.
11120
11121 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11122
11123         * buffer.C (parseSingleLyXformat2Token): Use default placement
11124         when reading old floats.
11125
11126         * FloatList.C (FloatList): Change the default placement of figure
11127         and tables to "tbp".
11128
11129 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11130
11131         * MenuBackend.C: using std::max
11132
11133 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11134
11135         * MenuBackend.C (expandToc):
11136         (expandToc2): code moved from xforms menu frontend. It is now
11137         generic and TOCs are transparent to menu frontends.
11138
11139 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11140
11141         * toc.C (getTocList): protect against buf=0
11142
11143         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11144         Menu as first parameter. Now, this calls itself recursively to
11145         expand a whole tree (this will be useful for TOC handling)
11146         (expandFloatInsert): remove 'wide' version of floats
11147
11148         * MenuBackend.h (submenuname): returns the name of the submenu.
11149         (submenu): returns the submenu itself, provided it has been
11150         created by MenuBackend::expand
11151
11152 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11153
11154         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11155         insets which have noFontChange == true. (bug #172)
11156
11157 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11158
11159         * BufferView_pimpl.C: add connection objects and use them...
11160         (Pimpl): here.
11161
11162 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11163
11164         * MenuBackend.C (expandLastfiles):
11165         (expandDocuments):
11166         (expandFormats):
11167         (expandFloatListInsert):
11168         (expandFloatInsert):
11169         (expand): split expand in parts
11170
11171 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11172
11173         * lyx_gui.C: use lyx_gui::exit()
11174
11175 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11176
11177         * LyXAction.C: show the failing pseudo action
11178
11179 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11180
11181         * buffer.C (readFile): Run the lyxconvert script in order to read
11182         old files.
11183
11184 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11185
11186         * LyXAction.C:
11187         * commandtags.h:
11188         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11189
11190 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11191
11192         * LyXAction.C:
11193         * commandtags.h:
11194         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11195
11196 2002-07-22  Herbert Voss  <voss@lyx.org>
11197
11198         * lengthcommon.C:
11199         * lyxlength.[Ch]: add support for the vertical lengths
11200
11201 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11202
11203         * toc.[Ch]: std:: fixes
11204
11205 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11206
11207         * lyxrc.C: do not include lyx_main.h
11208
11209         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11210         for layouts
11211
11212         * lyxrc.C:
11213         * encoding.C:
11214         * bufferlist.C:
11215         * BufferView2.C: include "lyxlex.h"
11216
11217         * tabular.h:
11218         * bufferparams.h: do not #include "lyxlex.h"
11219
11220         * lyxtextclasslist.C (Add): remove method
11221         (classlist): renamed to classlist_
11222
11223         * paragraph_pimpl.C:
11224         * paragraph.C:
11225         * text2.C:
11226         * CutAndPaste.C:
11227         * bufferview_funcs.C:
11228         * bufferlist.C:
11229         * text.C:
11230         * LaTeXFeatures.C:
11231         * buffer.C:
11232         * toc.C (getTocList): use BufferParams::getLyXTextClass
11233
11234         * toc.C (getTocList): use InsetFloat::addToToc
11235
11236         * toc.[Ch]: new files, containing helper functions to handle table
11237         of contents
11238
11239         * lyxfunc.C (dispatch): no need to remove spaces around command
11240         given as a string
11241         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11242         first command of the sequence; it is not very clever, but I do not
11243         have a better idea, actually
11244
11245         * LyXAction.C (LookupFunc): make sure to remove space at the
11246         beginning and end of the command
11247
11248 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11249
11250         * MenuBackend.C (getMenubar): new method: return the menubar of
11251         this menu set
11252         (read): treat differently reading of menu and menubar (in
11253         particular, the menubar has no name now)
11254         (Menu::menubar): remove
11255
11256         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11257         saving is finished
11258
11259 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11260
11261         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11262         a bibitem inset in a RTL paragraph.
11263
11264 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11265
11266         * paragraph_pimpl.C: constify
11267
11268         * BufferView_pimpl.C:
11269         * LaTeX.C:
11270         * lyxfunc.C: fix dispatch in a nicer way
11271
11272 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11273
11274         * lyxfunc.C (dispatch):
11275         * BufferView_pimpl.C:
11276         * BufferView_pimpl.h:
11277         * BufferView.C:
11278         * BufferView.h: rename Dispatch() to dispatch()
11279
11280         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11281
11282         * lyxlayout.C (Read): honor DependsOn tag
11283
11284         * lyxlayout.[Ch] (depends_on): new method
11285
11286         * version.C.in: update lyx_docversion
11287
11288         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11289
11290         * paragraph.C (validate): remove from here...
11291         * paragraph_pimpl.C (validate): ... and move here
11292         (isTextAt): make it const
11293
11294         * buffer.C (getLists): ws cleanup
11295
11296 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11297
11298         * language.C (read): Use iso8859-1 encoding in latex_lang
11299         (this prevents LyX from crashing when using iso10646-1 encoding).
11300
11301 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11302
11303         * text2.C (toggleInset): if cursor is inside an inset, close the
11304         inset and leave cursor _after_ it
11305
11306 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11307
11308         * lyxfunc.C: move minibuffer completion handling out of here
11309
11310 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11311
11312         * BufferView_pimpl.C:
11313         * LaTeX.C: fix dispatch calls
11314
11315 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11316
11317         * text.C (drawChars): Fix Arabic text rendering.
11318
11319 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11320
11321         * LyXAction.C:
11322         * commandtags.h:
11323         * lyxfunc.C: remove message-push/pop
11324
11325         * lyxserver.C:
11326         * lyxfunc.h:
11327         * lyxfunc.C: rationalise some code by removing verboseDispatch
11328           in favour of a bool argument to dispatch()
11329
11330 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11331
11332         * lyx_main.C (init): make sure to read symlinks as absolute paths
11333
11334 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11335
11336         * lyxfunc.h:
11337         * lyxfunc.C: no need for commandshortcut to be a member
11338
11339 2002-07-15  André Pönitz <poenitz@gmx.net>
11340
11341         * converter.C: add support for $$s (scripts from lib/scripts dir)
11342         * lyx_main.C: white space
11343
11344 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11345
11346         * bufferlist.C:
11347         * lyxrc.h:
11348         * lyxrc.C: remove second exit confirmation
11349
11350 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11351
11352         * BufferView.h:
11353         * BufferView.C:
11354         * BufferView2.C:
11355         * BufferView_pimpl.h:
11356         * BufferView_pimpl.C:
11357         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11358
11359 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11360
11361         * MenuBackend.C (expand): add numeric shortcuts to document menu
11362
11363         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11364
11365 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11366
11367         * lyxfont.C (setLyXFamily):
11368         (setLyXSeries):
11369         (setLyXShape):
11370         (setLyXSize):
11371         (setLyXMisc):
11372         (lyxRead):
11373         * debug.C (value):
11374         * buffer.C (asciiParagraph): use ascii_lowercase
11375
11376 2002-07-15  Mike Fabian  <mfabian@suse.de>
11377
11378         * lyxlex_pimpl.C (search_kw):
11379         * lyxlex.C (getLongString):
11380         * converter.h (operator<):
11381         * converter.C (operator<):
11382         * buffer.C (parseSingleLyXformat2Token):
11383         (asciiParagraph):
11384         * ToolbarDefaults.C (read):
11385         * MenuBackend.C (checkShortcuts):
11386         (read):
11387         * LColor.C (getFromGUIName):
11388         (getFromLyXName): use the compare_ascii_no_case instead of
11389         compare_no_case, because in turkish, 'i' is not the lowercase
11390         version of 'I', and thus turkish locale breaks parsing of tags.
11391
11392 2002-07-16  Angus Leeming  <leeming@lyx.org>
11393
11394         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11395         now takes a Buffer const & argument.
11396
11397 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11398
11399         * BufferView.C (resize): check there's a buffer to resize
11400
11401 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11402
11403         * lyxfunc.C: remove dead code
11404
11405         * lyxserver.h:
11406         * lyxserver.C: use lyx_guii::set_read_callback
11407
11408 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11409
11410         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11411         an inset in a RTL paragraph.
11412
11413 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11414
11415         * lyxfunc.C: repaint after a font size update
11416
11417 2002-07-15  André Pönitz <poenitz@gmx.net>
11418
11419         * lyxlength.C: inBP should be able to return negative values
11420
11421 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11422
11423         * lyxfunc.C: use lyx_gui::update_fonts()
11424
11425 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11426
11427         * lyxfunc.C: use lyx_gui::update_color()
11428
11429 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11430
11431         * bufferlist.C:
11432         * lyxfunc.h:
11433         * lyxfunc.C:
11434         * lyxrc.h:
11435         * lyxrc.C: remove file->new asks for name option, and let
11436           buffer-new take an argument
11437
11438 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11439
11440         * BufferView_pimpl.C: remove unneeded extra repaint()
11441
11442 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11443
11444         * LyXAction.C: allow command-sequence with NoBuffer
11445
11446         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11447
11448 2002-07-10  Angus Leeming  <leeming@lyx.org>
11449
11450         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11451
11452 2002-07-09  Angus Leeming  <leeming@lyx.org>
11453
11454         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11455
11456 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11457
11458         * lengthcommon.h: whitespace
11459
11460         * lyxfunc.C: update scrollbar after goto paragraph
11461
11462         * lyxtext.h: factor out page break drawing, and fix it so
11463           page break/added space paints as selected nicely
11464
11465 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * BufferView_pimpl.C: add FIXMEs, clean up a little
11468
11469 2002-07-09  André Pönitz <poenitz@gmx.net>
11470
11471         * lyxfont.[Ch]: support for wasy symbols
11472
11473 2002-07-08  André Pönitz <poenitz@gmx.net>
11474
11475         * BufferView_pimpl.C: apply John's patch for #93.
11476
11477 2002-07-05  Angus Leeming  <leeming@lyx.org>
11478
11479         * BufferView_pimpl.C (buffer): generate previews if desired.
11480
11481         * LColor.h: add "preview" to the color enum.
11482
11483         * LColor.C (LColor): add a corresponding entry to the items array.
11484
11485         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11486         with this buffer.
11487
11488 2002-07-05  Angus Leeming  <leeming@lyx.org>
11489
11490         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11491         The body of the code is now in the method that is passed an ostream &
11492         rather than a file name.
11493         Pass an additional only_preamble parameter, useful for the forthcoming
11494         preview stuff.
11495
11496 2002-07-03  André Pönitz <poenitz@gmx.net>
11497
11498         * lyxfunc.C: simplify getStatus() a bit for math stuff
11499
11500 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11501
11502         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11503
11504 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11505
11506         * text.C (changeRegionCase): do not change case of all the
11507         document when region ends at paragraph end (bug #461)
11508
11509 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11510
11511         * paragraph.C (startTeXParParams):
11512         (endTeXParParams): add \protect when necessary
11513
11514 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11515
11516         * BufferView_pimpl.C (workAreaExpose): remove warning
11517
11518 2002-06-27  Angus Leeming  <leeming@lyx.org>
11519
11520         * Makefile.am: add lyxlayout_ptr_fwd.h.
11521
11522 2002-06-26  André Pönitz <poenitz@gmx.net>
11523
11524         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11525
11526 2002-06-25  Angus Leeming  <leeming@lyx.org>
11527
11528         * lyxfunc.C (dispatch): Comment out the call to
11529         grfx::GCache::changeDisplay. The method no longer exists now that the
11530         pixmap generation part of the graphics loader has been moved into
11531         InsetGraphics.
11532
11533 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11534
11535         * text2.C: layout as layout
11536
11537         * text.C: layout as layout
11538
11539         * tabular.C (OldFormatRead): layout as layout
11540
11541         * paragraph_pimpl.C (TeXDeeper): layout as layout
11542         (realizeFont): layout as layout
11543
11544         * paragraph.C (writeFile): layout as layout
11545         (validate): layout as layout
11546         (getFont): layout as layout
11547         (getLabelFont): layout as layout
11548         (getLayoutFont): layout as layout
11549         (breakParagraph): layout as layout
11550         (stripLeadingSpaces): layout as layout
11551         (getEndLabel): layout as layout
11552         (getMaxDepthAfter): layout as layout
11553         (applyLayout): layout as layout
11554         (TeXOnePar): layout as layout
11555         (simpleTeXOnePar): layout as layout
11556         (TeXEnvironment): layout as layout
11557         (layout): layout as layout
11558         (layout): layout as layout
11559
11560         * lyxtextclass.C (compare_name): new functor to work with
11561         shared_ptr, layout as layout
11562         (Read): layout as layout
11563         (hasLayout): layout as layout
11564         (operator): layout as layout
11565         (delete_layout): layout as layout
11566         (defaultLayout): layout as layout
11567
11568         * lyxlayout_ptr_fwd.h: new file
11569
11570         * lyxlayout.C (Read): layout as layout
11571
11572         * lyx_cb.C (MenuInsertLabel): layout as layout
11573
11574         * bufferlist.C (newFile): layout as layout
11575
11576         * buffer.C (readLyXformat2): layout as layout
11577         (parseSingleLyXformat2Token): layout as layout
11578         (insertStringAsLines): layout as layout
11579         (asciiParagraph): layout as layout
11580         (latexParagraphs): layout as layout
11581         (makeLinuxDocFile): layout as layout
11582         (simpleLinuxDocOnePar): layout as layout
11583         (makeDocBookFile): layout as layout
11584         (simpleDocBookOnePar): layout as layout
11585         (getLists): layout as layout
11586
11587         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11588
11589         * CutAndPaste.C (cutSelection): layout as layout
11590         (pasteSelection): layout as layout
11591         (SwitchLayoutsBetweenClasses): layout as layout
11592
11593         * BufferView_pimpl.C (Dispatch): layout as layout
11594         (smartQuote): layout as layout
11595
11596         * BufferView2.C (unlockInset): layout as layout
11597
11598 2002-06-24  André Pönitz <poenitz@gmx.net>
11599
11600         * lyxfunc.C: fix #487
11601
11602 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11603
11604         * lyxrc.h:
11605         * lyxrc.C:
11606         * lyxfunc.C: remove display_shortcuts, show_banner
11607
11608 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11609
11610         * Buffer_pimpl.C: oops, update on resize
11611
11612 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11613
11614         * buffer.C:
11615         * converter.C:
11616         * exporter.C:
11617         * lyxfunc.C:
11618         * BufferView.h:
11619         * BufferView.C: use repaint()
11620
11621         * BufferView_pimpl.h:
11622         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11623           as it's a clearer description. Remove superfluous
11624           redraws.
11625
11626 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11627
11628         * text.C: fix bug 488. Not ideal, but getting
11629           getWord() to work properly for the insets that
11630           matter is more difficult ...
11631
11632 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11633
11634         * BufferView_pimpl.C:
11635         * LyXAction.C:
11636         * commandtags.h:
11637         * lyxfunc.C: remove the six million index lyxfuncs to just
11638           one, and DTRT (bug 458)
11639
11640 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11641
11642         * BufferView.h:
11643         * BufferView.C:
11644         * BufferView_pimpl.h:
11645         * BufferView_pimpl.C: clean up resize() stuff,
11646           and unnecessary updateScreen()s
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:
11654         * lyxfind.h:
11655         * lyxfind.C:
11656         * minibuffer.C: remove focus management of workarea,
11657           not needed. Use screen's greyOut()
11658
11659 2002-06-17  Herbert Voss  <voss@lyx.org>
11660
11661         * converter.C: (convert) do not post a message, when converting
11662         fails, let the calling function decide what to do in this case
11663
11664 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11665
11666         * lyxfunc.C: tidy up a little
11667
11668 2002-06-16    <alstrup@diku.dk>
11669
11670         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11671         Got rid of FORMS_H_LOCATION include. Now we are
11672         GUII.
11673
11674 2002-06-15  LyX Development team  <lyx@rilke>
11675
11676         * buffer.[Ch] (sgmlOpenTag):
11677         (sgmlCloseTag): Added support for avoiding pernicious mixed
11678         content. Return number of lines written.
11679
11680         (makeLinuxDocFile):
11681         (makeDocBookFile): Fixed calls to sgml*Tag.
11682         Simple white space clean.
11683
11684         (simpleDocBookOnePar): Simple white space clean.
11685
11686         * tabular.[Ch] (docBook): Renamed to docbook and got another
11687         argument to related with the pernicious mixed content.
11688
11689         (docbookRow): Fixed calls for docbook inset method.
11690
11691 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11692
11693         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11694         so it's X11 independent.
11695
11696         * kb*.[Ch]: ditto.
11697
11698         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11699
11700 2002-06-15  Lyx Development team  <lyx@electronia>
11701
11702         * intl.h: Renamed getTrans to getTransManager.
11703
11704 2002-06-14  Angus Leeming  <leeming@lyx.org>
11705
11706         * Makefile.am: nuke forgotten stl_string_fwd.h.
11707
11708 2002-06-12  Angus Leeming  <leeming@lyx.org>
11709
11710         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11711
11712 2002-06-13  Angus Leeming  <leeming@lyx.org>
11713
11714         * LaTeX.C:
11715         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11716
11717 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11718
11719         * kbmap.C (getiso): add support for cyrillic and greek
11720
11721 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11722
11723         * BufferView.h:
11724         * BufferView.C:
11725         * BufferView_pimpl.h:
11726         * BufferView_pimpl.C: move bogus scrolling logic
11727           to xforms
11728
11729 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11730
11731         * lyxfunc.C:
11732         * BufferView_pimpl.C: view->resize() change
11733
11734 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11735
11736         * BufferView_pimpl.C: topCursorVisible
11737           prototype change
11738
11739 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11740
11741         * Makefile.am:
11742         * lyx_gui.h:
11743         * lyx_gui.C: move to frontends/
11744
11745         * main.C:
11746         * lyx_main.h:
11747         * lyx_main.C: changes from above
11748
11749 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11750
11751         * intl.C:
11752         * intl.h:
11753         * kbmap.C:
11754         * kbsequence.C:
11755         * lyx_cb.C:
11756         * lyx_main.C: minor tidy
11757
11758 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11759
11760         * BufferView_pimpl.h:
11761         * BufferView_pimpl.C:
11762         * BufferView.h:
11763         * BufferView.C: make painter() const,
11764           remove dead code
11765
11766         * BufferView2.C: use screen() accessor
11767
11768         * lyx_main.h:
11769         * lyx_main.C: some minor cleanup
11770
11771 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11772
11773         * BufferView_pimpl.h:
11774         * BufferView_pimpl.C: remove enter/leaveView,
11775           use workHeight()
11776
11777 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11778
11779         * BufferView.h:
11780         * BufferView.C:
11781         * BufferView2.C:
11782         * BufferView_pimpl.h:
11783         * BufferView_pimpl.C: only construct screen once,
11784           rename
11785
11786         * lyxrc.C: remove pointless comment
11787
11788 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11789
11790         * BufferView.h:
11791         * BufferView.C: remove active() and belowMouse()
11792
11793         * BufferView_pimpl.h:
11794         * BufferView_pimpl.C: use workarea() not workarea_,
11795           and make it use a scoped_ptr instead
11796
11797 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11798
11799         * lyx_gui.C: add debug message on BadWindow
11800
11801 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11802
11803         * sp_spell.C: fdopen is not part of the C++ standard.
11804
11805         * paragraph.C (InsetIterator): use >= instead of ==
11806
11807 2002-06-07  Angus Leeming  <leeming@lyx.org>
11808
11809         Fixes needed to compile with Compaq cxx 6.5.
11810         * BufferView_pimpl.C:
11811         * DepTable.C:
11812         * buffer.C:
11813         * converter.C:
11814         * encoding.C:
11815         * lyx_gui.C:
11816         * lyx_main.C:
11817         * lyxtextclasslist.C:
11818         * minibuffer.C:
11819         * sp_spell.C:
11820         * tabular_funcs.C:
11821         * vc-backend.C:
11822         all c-library variables have been moved into namespace std. Wrap
11823         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11824
11825         * lyxlength.C:
11826         * tabular-old.C:
11827         * tabular.C:
11828         Add a using std::abs declaration.
11829
11830         * kbmap.h (modifier_pair):
11831         * paragraph.h (InsetTable, InsetList):
11832         * lyxfont.h (FontBits):
11833         type definition made public.
11834
11835         * bufferlist.C (emergencyWriteAll): the compiler complains that
11836         there is more than one possible lyx::class_fun template to choose from.
11837         I re-named the void specialisation as lyx::void_class_fun.
11838
11839         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11840
11841         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11842         the compiler is is unable to find tostr in write_attribute.
11843
11844 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11845
11846         * buffer.C (sgmlError): hide #warning
11847
11848 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11849
11850         * xtl/*: get rid of xtl, which is not in use anyway
11851
11852         * LyXAction.C (init):
11853         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11854         were unimplemented xtl experimentation
11855
11856 2002-06-04  André Pönitz <poenitz@gmx.net>
11857
11858         * lyxfunc.C: disable array operation on simple formulae
11859
11860 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11861
11862         * converter.C: constify a bit
11863
11864 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11865
11866         * lyx_gui.C: check xforms version correctly
11867
11868 2002-04-30  Herbert Voss  <voss@lyx.org>
11869
11870         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11871         "keep" option
11872
11873 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11874
11875         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11876           attempt to register it with a VCS)
11877
11878 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11879
11880         * lyx_main.C (init): honor variables LYX_DIR_13x and
11881         LYX_USERDIR_13x
11882
11883 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11884
11885         * buffer.h:
11886         * buffer.C:
11887         * lyx_main.C: fix a crash on bad command line,
11888           and give a useful exit status on error
11889
11890         * lyxfunc.C (doImport): allow -i lyx to work
11891
11892 2002-03-30  André Pönitz <poenitz@gmx.net>
11893
11894         * lyxfunc.C: mathed font changes
11895
11896 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11897
11898         * LaTeX.C:
11899         * importer.h:
11900         * importer.C:
11901         * lyx_sty.h:
11902         * lyx_sty.C:
11903         * lyxlex.C:
11904         * lyxrow.h:
11905         * lyxtext.h:
11906         * paragraph.h:
11907         * paragraph.C:
11908         * texrow.h:
11909         * texrow.C:
11910         * text.C:
11911         * trans_mgr.h: srcdocs, and some minor cleanups
11912
11913 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11914
11915         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11916         call getFont all the time)
11917
11918 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11919
11920         * switch from SigC signals to boost::signals
11921
11922 2002-05-29  André Pönitz <poenitz@gmx.net>
11923
11924         * paragraph_pimpl.C (getChar): don't call size() too often...
11925
11926 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11927
11928         * paragraph_pimpl.C (insertChar): do not try to update tables when
11929         appending (pos == size())
11930
11931         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11932         in order to reduce drastically the number of comparisons needed to
11933         parse a large document
11934
11935 2002-05-29  André Pönitz <poenitz@gmx.net>
11936
11937         * text.C:
11938         * text2.C:
11939         * lyxtextclass.C:
11940         * sp_pspell.h:
11941         * textclasslist.[Ch]:
11942         * sp_ispell.h: whitespace change
11943
11944 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11945
11946         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11947         lyxaction directly now.
11948
11949 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11950
11951         * trans.C:
11952         * lyxfont.C:
11953         * lyxvc.C: remove unused headers
11954
11955 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11956
11957         * Makefile.am:
11958         * buffer.h:
11959         * undostack.h:
11960         * undostack.C:
11961         * undo_funcs.h:
11962         * undo_funcs.C: some cleanups. Use shared_ptr
11963           and a template for the undo stacks.
11964
11965 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
11966
11967         * BufferView_pimpl.h:
11968         * BufferView_pimpl.C:
11969         * kbmap.h:
11970         * kbmap.C:
11971         * kbsequence.h:
11972         * kbsequence.C:
11973         * lyxfunc.h:
11974         * lyxfunc.C:
11975         * text2.C: use key_state/mouse_state
11976
11977 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11978
11979         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11980         and LSubstring
11981
11982         * chset.C: change include order
11983         (loadFile): use boost regex and get rid of LRegex and LSubstring
11984
11985         * Makefile.am (BOOST_LIBS): new variable
11986         (lyx_LDADD): use it
11987
11988         * LaTeX.C: change include order.
11989         (scanAuxFile): use boost regex and get rid of LRegex and
11990         LSubstring
11991         (deplog): ditto
11992
11993 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * ColorHandler.h:
11996         * ColorHandler.C:
11997         * FontInfo.h:
11998         * FontInfo.C: moved to frontends/xforms/
11999
12000         * FontLoader.h:
12001         * FontLoader.C: moved into frontends for GUIIzation
12002
12003         * Makefile.am:
12004         * lyx_gui.C:
12005         * lyxfont.C:
12006         * lyxfunc.C: changes from above
12007
12008 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12009
12010         * LColor.C: remove spurious X include
12011
12012         * BufferView_pimpl.C:
12013         * Makefile.am:
12014         * font.h:
12015         * font.C:
12016         * text.C:
12017         * text2.C: move font metrics to frontends/
12018
12019 2002-05-24  Juergen Vigna  <jug@sad.it>
12020
12021         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12022         setting the undo_cursor.
12023
12024         * ParagraphParameters.h: include local includes first.
12025
12026 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12027
12028         * BufferView_pimpl.C:
12029         * BufferView_pimpl.h:
12030         * Makefile.am:
12031         * WorkArea.h:
12032         * WorkArea.C:
12033         * screen.C: move WorkArea into frontends/
12034
12035         * lyxscreen.h:
12036         * screen.C:
12037         * text.C:
12038         * BufferView.C:
12039         * BufferView2.C: move LyXScreen into frontends/
12040
12041         * lyxlookup.h:
12042         * lyxlookup.C:
12043         * lyx_gui.C: move lyxlookup into frontends/xforms/
12044
12045 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12046
12047         * BufferView2.C:
12048         * BufferView_pimpl.C:
12049         * FontLoader.C:
12050         * LyXView.h:
12051         * LyXView.C:
12052         * Makefile.am:
12053         * WorkArea.C:
12054         * XFormsView.h:
12055         * XFormsView.C:
12056         * buffer.C:
12057         * bufferlist.C:
12058         * bufferview_funcs.C:
12059         * converter.C:
12060         * importer.C:
12061         * lyx_cb.C:
12062         * lyx_gui.C:
12063         * lyx_main.C:
12064         * lyx_find.C:
12065         * lyxfunc.C:
12066         * lyxvc.C:
12067         * minibuffer.C:
12068         * text.C:
12069         * text2.C:
12070         * trans.C:
12071         * vc-backend.C: move LyX/XFormsView into frontends/
12072
12073 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12074
12075         * Makefile.am:
12076         * PainterBase.C:
12077         * PainterBase.h:
12078         * Painter.C:
12079         * Painter.h:
12080         * WorkArea.C:
12081         * WorkArea.h:
12082         * screen.C:
12083         * tabular.C:
12084         * text.C:
12085         * text2.C: move Painter to frontends/
12086
12087 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12088
12089         * buffer.C: comment out some some code that depend upon lyx_format
12090         < 220
12091
12092         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12093         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12094
12095         * buffer.h (NO_COMPABILITY): turn off compability
12096
12097         * ColorHandler.C: include scoped_array.hpp
12098
12099         * font.C: Use more specific smart_ptr header.
12100         * Painter.C: ditto
12101         * gettext.C: ditto
12102         * ShareContainer.h: ditto
12103         * lyx_main.h: ditto
12104         * kbmap.h: ditto
12105         * FontInfo.h: ditto
12106         * BufferView_pimpl.h: ditto
12107         * ColorHandler.h: ditto
12108
12109         * kbmap.C (defkey): change call to shared_ptr::reset
12110
12111 2002-05-21  Juergen Vigna  <jug@sad.it>
12112
12113         * buffer.C (insertErtContents): fix to insert ert asis if it is
12114         non empty. Skip it completely if it contains only whitespaces.
12115
12116 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12117
12118         * BufferView_pimpl.C:
12119         * BufferView2.C: clear selection on paste (bug 393)
12120
12121 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12122
12123         * DepTable.C: include ctime
12124
12125 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12126
12127         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12128
12129 2002-05-14  Juergen Vigna  <jug@sad.it>
12130
12131         * text.C (breakParagraph): fixed function to honor the keepempty
12132         layout in the right maner and also to permit the right breaking
12133         algorithm on empty or non empyt keepempty paragraphs.
12134
12135         * paragraph.C (breakParagraph): we have to check also if the par
12136         is really empty (!size()) for isempty otherwise we do the wrong
12137         paragraph break.
12138
12139 2002-05-10  Juergen Vigna  <jug@sad.it>
12140
12141         * buffer.[Ch] : The following are only changes to the ert
12142         compatibility read reading old LaTeX layout and font stuff and
12143         convert it to ERTInsets.
12144
12145         * buffer.h: added isErtInset().
12146
12147         * buffer.C (struct ErtComp): add a fromlayout bool to check
12148         if we're inside a LaTeX layout.
12149         (isErtInset): new helper function.
12150         (insertErtContents): look for other ert insets before this one
12151         and insert the contents there, so that we don't have subsequent
12152         ERT insets with nothing between them. This way we create only one
12153         inset with multiple paragraphs. Also check if we don't insert only
12154         spaces ' ' as they are ignored anyway afterwards in the .tex file
12155         so if we have only spaces we will ignore this latex part in the
12156         new file.
12157         (parseSingleLyXformat2Token \\layout): better compatibility when
12158         reading layout-latex stuff.
12159         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12160         language tag.
12161         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12162         stuff after reading the inset only get the information back from
12163         the stack.
12164
12165 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12166
12167         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12168
12169         * LaTeXFeatures.C (getBabelOptions): New method.
12170
12171 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12172
12173         * BufferView_pimpl.C (Dispatch): work around missing argument for
12174         'layout'
12175
12176 2002-05-08  Juergen Vigna  <jug@sad.it>
12177
12178         * text.C (leftMargin): handle paragraph leftindent.
12179
12180         * paragraph.C (writeFile): write the new \\leftindent tag.
12181         (validate): handle leftindent code.
12182         (TeXEnvironment): handle paragraphleftindent code again.
12183
12184         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12185
12186         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12187         for paragrap_extra indent code and new token \\leftindent.
12188         (latexParagraphs): handle the leftindent as environment.
12189
12190         * ParameterStruct.h: added leftindent support.
12191
12192         * ParagraphParameters.C (leftIndent): added support functions for
12193         the paragraph left indent.
12194
12195         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12196         more appropriate.
12197
12198 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12199
12200         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12201         inside insetERT.
12202
12203         * text.C (computeBidiTables): No bidi in insetERT.
12204
12205         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12206         in RTL documents.
12207
12208 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12209
12210         * version.C.in: pre 5
12211
12212 2002-05-02  José Matos  <jamatos@fep.up.pt>
12213         * buffer.C (makeDocBookFile): white space changes, add newline to
12214         command styles.
12215         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12216
12217         * tabular.C (docBook): fix typo.
12218
12219 2002-05-03  Juergen Vigna  <jug@sad.it>
12220
12221         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12222         change in LyXText as we can not be sure it was not freed.
12223         (drawOneRow): remove unused code.
12224
12225         * text.C (drawInset): redo the calculation of the need_break_row as
12226         it could have a row which was already freed.
12227         (draw): look at the return value of drawInset and return false if
12228         it also returned false.
12229         (paintRowText): look at the return value of draw and return false if
12230         it also returned false.
12231
12232         * lyxtext.h: added bool return type to drawInset() and draw() so that
12233         if we have a change in the row so that the rowbreak has to be redone
12234         we abort drawing as it will be called again.
12235
12236 2002-05-02  Juergen Vigna  <jug@sad.it>
12237
12238         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12239         a change in the maintext also if we're inside an inset.
12240         (Dispatch): set the cursor again after a break line and after the
12241         screen has been updated as it could be we're in a different row.
12242
12243         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12244         to set the cursor behind the pargraph with > size().
12245         (setCursor): check also for the same paragraph when checking where
12246         to put the cursor if we have a NFR inset.
12247
12248         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12249         parts of layout read further up as it still was in the wrong
12250         position.
12251
12252 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12253
12254         * screen.C (drawFromTo): change sine fullRebreak always return
12255         true.
12256
12257         * buffer.C (parseSingleLyXformat2Token): reindent some
12258
12259         * BufferView_pimpl.C (update): change since fullRebreak always
12260         return true.
12261         (Dispatch): git rid of the last hardcoded "Standard"s.
12262
12263 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12264
12265         * text2.[Ch] (fullRebreak): make it return void now that we always
12266         returned true.
12267
12268 2002-04-30  Juergen Vigna  <jug@sad.it>
12269
12270         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12271         ert compatibility check for "latex" layout.
12272
12273 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12274
12275         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12276         minipages: use col% instead of p%, and also use the current font.
12277         (makeLaTeXFile): Fix use babel condition.
12278         (parseSingleLyXformat2Token): Correct font when reading old floats.
12279
12280 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12281
12282         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12283         inserting list of floats.
12284
12285 2002-04-25  Herbert Voss  <voss@lyx.org>
12286
12287         * MenuBackend.C (expand): don't add the graphics extensions to the
12288         export menu
12289
12290 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12291
12292         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12293         non-existing layout, do not complain if it was the default layout
12294         of the original class (bug #342)
12295
12296 2002-04-24  Juergen Vigna  <jug@sad.it>
12297
12298         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12299         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12300
12301 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12302
12303         * buffer.C (getBibkeyList): If using \bibliography, return the
12304         option field with the reference itself. Enables us to provide natbib
12305         support when using \bibliography.
12306
12307 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12308
12309         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12310
12311         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12312         natbib is provided by the LaTeX class.
12313
12314 2002-04-23  Juergen Vigna  <jug@sad.it>
12315
12316         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12317         Wakeup functions.
12318
12319         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12320
12321 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12322
12323         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12324
12325         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12326         ensuremath around textordmasculine, textordfeminine and
12327         textdegree.
12328
12329 2002-04-19  Juergen Vigna  <jug@sad.it>
12330
12331         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12332         reinitializing the buffer otherwise row-dimensions may be wrong.
12333         (update): reset also the selection cursors if they do exits otherwise
12334         their x/y positions may be wrong.
12335
12336         * text2.C (cursorDown): don't enter the inset if we came from a row
12337         above and are one row over the inset.
12338
12339         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12340         really leaving an inset.
12341
12342 2002-04-18  Juergen Vigna  <jug@sad.it>
12343
12344         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12345         of the selected paragraph does not have the selected layout also if
12346         the last one had!
12347
12348         * text2.C (setLayout): fixed bug which did not change last selected
12349         paragraph.
12350
12351         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12352         changed the read and substituted \\end_float with \\end_inset!
12353
12354         * BufferView_pimpl.C (cursorPrevious):
12355         (cursorNext): fixed to make it work with rows heigher than the work
12356         area without moving the cursor only the draw of the row.
12357         (workAreaMotionNotify): fix jumping over high rows.
12358
12359 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12360
12361         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12362         Ressler.
12363
12364 2002-04-16  Juergen Vigna  <jug@sad.it>
12365
12366         * text2.C (setCursor): set also the irow().
12367         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12368         (cursorUp):
12369         (cursorDown): support for locking an inset if the x_fix value goes
12370         inside it. That way I can transverse insets too with cursor up/down.
12371
12372         * lyxrow.h: added irow helper function same as other (i) functions.
12373
12374         * BufferView_pimpl.C (cursorPrevious):
12375         (cursorNext): fixed for insets!
12376
12377 2002-04-15  Juergen Vigna  <jug@sad.it>
12378
12379         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12380         position otherwise it is wrong in some cases.
12381
12382         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12383         inside the inset before the call.
12384
12385 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12386
12387         * buffer.[Ch] (getBibkeyList): make it const.
12388
12389 2002-04-12  Juergen Vigna  <jug@sad.it>
12390
12391         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12392
12393         * text2.C (getCursorX): new helper function
12394         (setCursor): compute also ix_
12395         (setCursorFromCoordinates): set also ix.
12396
12397         * lyxcursor.h: added ix_ and helper functions.
12398
12399         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12400
12401         * buffer.C (insertStringAsLines): dont break paragraph if the this
12402         paragraph is inside an inset which does not permit it!
12403
12404         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12405         also with no chars on this paragraph.
12406         (paintRowText): only paint stuff if it's inside the workarea!
12407
12408         * paragraph.C (breakParagraph): honor keepempty flag and break the
12409         paragraph always below not above.
12410
12411         * BufferView2.C (unlockInset): update the paragraph layout on inset
12412         unlock as we changed paragraph in such a case.
12413
12414         * lyxfind.C (LyXFind): clear the former selection if not found!
12415
12416         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12417         again called in insertChar().
12418
12419         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12420         an inset which uses the whole row!
12421         (rightMargin): ditto.
12422         (insertChar): force a rebreak if we inserted an inset!
12423
12424 2002-03-28  Herbert Voss  <voss@lyx.org>
12425
12426         * lyxlength.[Ch]: add inBP() to get the right PS-point
12427         units (BigPoint). With inPixels we have rounding errors
12428
12429 2002-04-11  Juergen Vigna  <jug@sad.it>
12430
12431         * text2.C (setCursorFromCoordinates): set iy to the right value.
12432         (setCursor): add check if row->previous exists!
12433
12434         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12435         an old float_type as this was the case in the old code!
12436
12437         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12438
12439         * BufferView2.C (showLockedInsetCursor): use iy
12440         (fitLockedInsetCursor): ditto
12441
12442         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12443         locked insets as there we have the right value now.
12444
12445         * lyxcursor.C: added iy_ variable and iy functions to set to the
12446         baseline of cursor-y of the locked inset.
12447
12448         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12449         (setCursor): fixed for insets which need a full row.
12450
12451         * text.C (rowLastPrintable): don't ignore the last space when before
12452         an inset which needs a full row.
12453         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12454         as last character of a row when before a inset which needs a full row.
12455
12456 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12457
12458         * version.C.in: update date
12459
12460         * text2.C (fullRebreak): try to always return true and see what
12461         happens...
12462
12463 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12464
12465         * MenuBackend.C (expand): use Floating::listName
12466
12467         * FloatList.C (FloatList): add listName argument to the built-in
12468         floats
12469
12470         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12471         text associated with the float.
12472
12473 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12474
12475         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12476
12477 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12478
12479         * ShareContainer.h: add a couple of missing typenames.
12480
12481 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12482
12483         * lyxrc.C (getDescription): use _() correctly rather than N_().
12484
12485 2002-03-28  Herbert Voss  <voss@lyx.org>
12486
12487         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12488         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12489
12490 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12491
12492         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12493         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12494
12495 2002-03-29  Juergen Vigna  <jug@sad.it>
12496
12497         * lyxfunc.C (dispatch): add a missing fitCursor call.
12498
12499         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12500         it was scrolled by a cursor move, so return the bool status.
12501
12502         * BufferView.C (fitCursor): return the bool flag also to the outside
12503         world as this is needed.
12504
12505         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12506
12507         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12508         call the edit() as it is not needed (and wrong) IMO.
12509         (workAreaButtonPress): set the screen_first variable before evt.
12510         unlock the inset as this may change screen_first and then we have
12511         a wrong y position for the click!
12512
12513 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12514
12515         * MenuBackend.C (expand): another translation that I missed
12516
12517 2002-03-28  Juergen Vigna  <jug@sad.it>
12518
12519         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12520
12521         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12522
12523 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12524
12525         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12526
12527         * MenuBackend.C (expand): fix export/view/update when there is no
12528         document open.
12529
12530 2002-03-27  Herbert Voss  <voss@lyx.org>
12531
12532         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12533         and text%
12534
12535 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12536
12537         * bufferview_funcs.C (currentState): only show paragraph number
12538         for is DEVEL_VERSION is set.
12539
12540         * lyxfunc.C (dispatch): put warning in INFO channel
12541
12542         * MenuBackend.C (expand): translate the name of floats
12543
12544         * FloatList.C (FloatList): mark the float names for translation
12545
12546         * converter.C (convert): use LibScriptSearch
12547
12548 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12549
12550         * MenuBackend.C (defaults): fix default menu (we might as well get
12551         rid of it...)
12552
12553 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12554
12555         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12556         directory.
12557
12558 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12559
12560         * lyxvc.C: reorder includes.
12561
12562 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12563
12564         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12565           properly
12566
12567 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12568
12569         * CutAndPaste.C: change layouts earlier on paste
12570           to avoid crashing when calling getFont()
12571
12572 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12573
12574         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12575         irritating #error.
12576
12577 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12578
12579         * WorkArea.C: remove 'Pending' debug message.
12580
12581         * most files: ws cleanup
12582
12583         * buffer.[Ch]: ws changes
12584
12585         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12586
12587 2002-03-21  Juergen Vigna  <jug@sad.it>
12588
12589         * tabular.C (SetMultiColumn): collapse also the contents of the
12590         cells and set the last border right. Added a Buffer const * param.
12591
12592 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12593
12594         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12595         linking or not.
12596
12597 2002-03-19  Juergen Vigna  <jug@sad.it>
12598
12599         * text2.C (clearSelection): reset also xsel_cache.
12600
12601         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12602         where it needs to be called (John tells us to do so too :)
12603         (selectionLost): reset sel_cache.
12604
12605         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12606
12607 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12608
12609         * text2.C (setCursorIntern): put debuging code in INSETS channel
12610
12611 2002-03-19  André Pönitz <poenitz@gmx.net>
12612
12613         * lyxfunc.C: tiny whitespace change
12614
12615 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12616
12617         * ToolbarDefaults.C (init):
12618         * LyXAction.C (init):
12619         * commandtags.h:
12620         * BufferView_pimpl.C (Dispatch):
12621         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12622
12623 2002-03-19  Allan Rae  <rae@lyx.org>
12624
12625         * exporter.C (Export): removeAutoInsets before doing anything else.
12626         While I've just introduced a dependency on BufferView this really is
12627         the best place to clean the buffer otherwise you need to cleanup in
12628         a dozen places before calling export or cleanup in a dozen functions
12629         that export calls.
12630
12631         * converter.C (runLaTeX):
12632         (scanLog): Better handling of removeAutoInsets and screen updates.
12633
12634         * lyxfunc.C (dispatch): small whitespace changes
12635
12636 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12637
12638         * WorkArea.C (C_WorkAreaEvent): return a value.
12639         (event_cb): return 1 if we handled the event, 0 otherwise.
12640
12641         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12642
12643 2002-03-18  Juergen Vigna  <jug@sad.it>
12644
12645         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12646         (GetAdditionalWidth): ditto.
12647         (RightLine): ditto.
12648         (LeftLine): ditto.
12649
12650         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12651         inset if we're there actually (probably not used right now but this
12652         is the direction to go for unifying code).
12653         (paste): disable code to clear the selection.
12654
12655         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12656         inside an InsetText and move the check further up as it is in the
12657         wrong place.
12658
12659         * text2.C (pasteSelection): set a selection over the pasted text.
12660
12661 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12662
12663         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12664         and libgraphics to build on Cygwin.
12665
12666 2002-03-15  Juergen Vigna  <jug@sad.it>
12667
12668         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12669         inserting an Inset into the paragraph. I know this is not the best
12670         fix but we already use current_view in CutAndPaste so we will remove
12671         all of it's using at the same time.
12672
12673         * buffer.C (sgmlError): deactivated function till it is rewritten in
12674         the right mode, now it can create problems.
12675
12676         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12677         before accessing it.
12678
12679 2002-03-14  Juergen Vigna  <jug@sad.it>
12680
12681         * undo_funcs.C (textHandleUndo): do the right thing when updating
12682         the inset after the undo/redo.
12683
12684         * text2.C (setCursor): just some testcode for #44 not ready yet.
12685
12686         * undo_funcs.C (textHandleUndo): set the next() and previous()
12687         pointers of the paragraph to 0 before deleting otherwise we have
12688         problems with the Paragraph::[destructor].
12689
12690         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12691         on a paragraph insertion.
12692
12693 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12694
12695         * buffer.C (asciiParagraph): use += operator for char append to
12696         string.
12697
12698         * paragraph.C (getFontSettings): compare >= not just >
12699         (highestFontInRange): ditto
12700         (setFont): ditto
12701
12702 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12703
12704         * paragraph.C: change several algorithm to be more appripriate for
12705         the problem domain. This is lookip in FontList and in the InsetList.
12706
12707 2002-03-13  André Pönitz <poenitz@gmx.net>
12708
12709         * commandtags.h:
12710         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12711
12712 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12713
12714         * commandtags.h:
12715         * LyXAction.C:
12716         * lyxfunc.C:
12717         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12718
12719 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12720
12721         * Painter.C (display): anon helper function, adjust code for this
12722         change.
12723         (pixmap): remove function.
12724
12725         * Painter.h: remove private display variable.
12726
12727         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12728
12729 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12730
12731         * WorkArea.[Ch]: remove figinset_canvas cruft.
12732
12733 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12734
12735         * lyxtextclass.C (operator): add one item cache optimization.
12736
12737         * bufferlist.h: doxy changes
12738
12739         * bufferlist.C: ws changes
12740
12741         * DepTable.[Ch] (ext_exist): place const in the right spot.
12742
12743         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12744         call resizeInsets.
12745         (workAreaExpose): call resizeInsets when the with BufferView changes.
12746         (Dispatch): adjust for protectedBlank removal
12747         (specialChar): call updateInset if the insert went ok.
12748
12749         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12750         specialChar instead.
12751
12752         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12753
12754         * BufferView.h: doxy change
12755
12756         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12757
12758         * lyxtextclass.C (operator[]): remove non-const version
12759         (defaultLayout): remove non-const version
12760
12761 2002-03-12  Juergen Vigna  <jug@sad.it>
12762
12763         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12764         did resize the LyXText too.
12765
12766         * buffer.C (readLyXformat2): set layout information on newly allocated
12767         paragraphs.
12768
12769         * tabular.C (OldFormatRead): set layout information on the paragraph.
12770
12771 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12772
12773         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12774
12775 2002-03-11  Juergen Vigna  <jug@sad.it>
12776
12777         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12778         plainly wrong.
12779         (resizeCurrentBuffer): force also the insets to resize themselfes.
12780         (moveCursorUpdate): fixed up for InsetText.
12781
12782 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12783
12784         * commandtags.h:
12785         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12786         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12787         value of Dialogs::tooltipsEnabled().
12788         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12789
12790 2002-03-08  Juergen Vigna  <jug@sad.it>
12791
12792         * BufferView_pimpl.C (updateInset): update inset inside inset also
12793         if it isn't inside theLockingInset().
12794
12795 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12796
12797         * buffer.C (asciiParagraph): redo some of the word and line length
12798         handling.
12799         (getLists): look for Caption instead of caption.
12800
12801 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12802
12803         * buffer.C (Buffer): initialize niceFile to true
12804         (makeLaTeXFile):
12805         (makeLinuxDocFile):
12806         (makeDocBookFile): make sure niceFile is true on exit
12807
12808 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12809
12810         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12811
12812 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12813
12814         * LyXSendto.C: remove.
12815         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12816         * lyx_gui.C: remove now-redundant comment.
12817         * ColorHandler.h: remove forward declaration of class WorkArea.
12818         * lyxfunc.C: remove #include "WorkArea.h".
12819
12820 2002-03-07  Juergen Vigna  <jug@sad.it>
12821
12822         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12823         got moved away with the DEPM and also set the inset_owner always
12824         right which before could have been omitted.
12825
12826 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12827
12828         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12829         wanted layout is not found.
12830
12831 2002-03-07  Juergen Vigna  <jug@sad.it>
12832
12833         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12834
12835 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12836
12837         * paragraph.C (breakParagraph): use default layout not layout of
12838         prev paragraph.
12839         (Paragraph): clear ParagraphParameters.
12840
12841 2002-03-06  Juergen Vigna  <jug@sad.it>
12842
12843         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12844         otherwise it would not be a valid lenght. Fixed a special case in
12845         the minipage compatibility read where we end the document with a
12846         minipage.
12847
12848         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12849         was set as it could be 0 for InsetTexts first entry.
12850
12851 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12852
12853         * paragraph.C (writeFile): if layout is empty write out
12854         defaultLayoutName().
12855
12856         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12857         file without named layout we set layout to defaultLayoutName().
12858
12859 2002-03-06  Juergen Vigna  <jug@sad.it>
12860
12861         * CutAndPaste.C (copySelection): set layout for new paragraph.
12862
12863         * text.C (prepareToPrint): leave ERT inset left aligned
12864         (leftMargin): don't indent paragraphs inside ERT insets
12865
12866 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12867
12868         * paragraph.C (breakParagraph): dont call clear do the work manually
12869
12870         * paragraph.[Ch] (clear): remove function
12871
12872 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12873
12874         * paragraph.C (Paragraph): dont call clear, the work has already
12875         been done.
12876
12877         * lyxtextclass.C (operator): assert if n is empty
12878
12879         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12880         work manually instead.
12881
12882 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12883
12884         * BufferView_pimpl.C: protect selectionLost against text == 0
12885
12886 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12887
12888         * text.C (breakParagraph): fix a setting layout to '0' problem.
12889
12890 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12891
12892         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12893         final location of file, for the included files, and graphics.
12894
12895 2002-03-05  Juergen Vigna  <jug@sad.it>
12896
12897         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12898
12899 2002-03-04  Juergen Vigna  <jug@sad.it>
12900
12901         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12902
12903         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12904         last column of multicolumn cells.
12905         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12906
12907 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12908
12909         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12910         file if it doesn't go to a temporary file.
12911
12912         * buffer.C (sgmlOpenTag):
12913         (sgmlCloseTag):  remove extra newline insertion.
12914
12915 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12916
12917         * text.C (getRowNearY): comment out debug msg
12918
12919 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12920
12921         * text2.C: first -> first_y
12922
12923         * text.C (getRowNearY): add some attemts at a possible
12924         optimization, not working.
12925
12926         * tabular.[Ch]: add BufferParams to several function so that newly
12927         created paragraph can be initialized to he default layotu for the
12928         buffers textclass.
12929
12930         * tabular-old.C (ReadOld): add buf->params to call of Init
12931
12932         * screen.C: rename text->first to text->first_y
12933
12934         * paragraph.C (breakParagraph): always set layout in the broken
12935         paragraph
12936
12937         * lyxtextclass.C (Read): remove lowercase
12938         (hasLayout): ditto
12939         (operator): ditto
12940         (delete_layout): ditto
12941
12942         * lyxtext.h: rename first -> first_y
12943
12944         * lyxlayout.C (Read): remove lowercase
12945         (name): ditto
12946         (setName): ditto
12947         (obsoleted_by): ditto
12948
12949         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12950
12951         * buffer.C (insertErtContents): add params are to InsetERT
12952         (parseSingleLyXformat2Token): add code to check if a paragraphs
12953         layout really exist.
12954         (parseSingleLyXformat2Token): add params to several inset
12955         constructors
12956         (asciiParagraph): remove lowercase, do the layout comparisons with
12957         no_case
12958
12959         * BufferView_pimpl.C (cursorNext): first -> first_y
12960         (resizeCurrentBuffer): first -> first_y
12961         (updateScrollbar): first -> first_y
12962         (scrollCB): first -> first_y
12963         (workAreaMotionNotify): first -> first_y
12964         (workAreaButtonPress): first -> first_y
12965         (checkInsetHit): first -> first_y
12966         (cursorPrevious): first -> first_y
12967         (cursorNext): first -> first_y
12968         (Dispatch): add buffer_->params to severl inset contructors
12969
12970 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12971
12972         * lyxlayout.C (Read): remove some debug info that I forgot.
12973
12974         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12975         clean up the code slightly.
12976         (makeLinuxDocFile): ditto
12977         (makeDocBookFile): ditto
12978
12979         * text2.C: layout as string
12980
12981         * text.C: layout as string
12982
12983         * paragraph_pimpl.C: layout as string
12984
12985         * paragraph.[Ch]: layout as string
12986
12987         * lyxtextclasslist.[Ch]: layout as string
12988
12989         * lyxtextclass.[Ch]: layout as string
12990
12991         * lyxtext.h: layout as string
12992
12993         * lyxlayout.[Ch]: layout as string
12994
12995         * lyx_cb.C: layout as string
12996
12997         * bufferview_funcs.C: layout as string
12998
12999         * bufferparams.C: layout as string
13000
13001         * buffer.C: layout as string
13002
13003         * LyXView.[Ch]: layout as string
13004
13005         * LaTeXFeatures.[Ch]: layout as string
13006
13007         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13008
13009         * BufferView_pimpl.C: change current_layout to string, remove
13010         lyx::layout_type.
13011         (Dispatch):
13012         (smartQuote):
13013         (insertInset):
13014         (workAreaButtonRelease): layout as string
13015
13016         * BufferView2.C (unlockInset): adjust
13017
13018         * vspace.C (asLatexCommand): use an explict temp variable.
13019
13020 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13021
13022         * Makefile.am: use FRONTEND_*
13023
13024 2002-03-01  Juergen Vigna  <jug@sad.it>
13025
13026         * tabular.C (SetWidthOfMulticolCell): changed to something better
13027         I hope but still work in progress.
13028         (recalculateMulticolumnsOfColumn): renamed function from
13029         recalculateMulticolCells as it is more appropriate now.
13030         (SetWidthOfCell): calculate multicols better.
13031
13032 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13033
13034         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13035
13036         * lyxfunc.C (processKeySym): print sequence also if it is
13037         `deleted' (complete)
13038
13039         * kbsequence.C (print): print sequence even if it is deleted
13040         (complete would be a better word, actually).
13041
13042         * lyxfunc.C (dispatch): print complete options after a prefix key
13043
13044         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13045
13046 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13047
13048         * text2.C (setCharFont): eliminate setCharFont code duplication.
13049
13050 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13051
13052         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13053         LFUN_TABULAR_FEATURE (bug #177)
13054
13055 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13056
13057         * Makefile.am: remove figure.h
13058
13059 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13060
13061         * Bufferview_pimpl.C:
13062         * CutAndPasteC:
13063         * LaTeX.C:
13064         * LyXSendto.C:
13065         * buffer.C:
13066         * bufferlist.C:
13067         * converter.C:
13068         * language.C:
13069         * lyxfunc.C:
13070         * lyxvc.C:
13071         * paragraph.C:
13072         * text.C:
13073         * text2.C: remove #include "lyx_gui_misc.h".
13074
13075         * LaTeX.C: added #include <cstdio>
13076
13077 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13078
13079         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13080         that the paragraph following this one can have.
13081
13082         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13083
13084         * vspace.C (asLatexCommand): fix bogus gcc warning
13085
13086         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13087
13088 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13089
13090         * text2.C (setLayout): get rid of redundant code
13091
13092 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13093
13094         * text2.C (incDepth): make sure depth cannot be increased beyond
13095         reasonable values.
13096
13097 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13098
13099         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13100         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13101
13102         * PainterBase.h (image):
13103         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13104         a LyXImage const *.
13105
13106 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13107
13108         * BufferView.C:
13109         * BufferView.h:
13110         * BufferView_pimpl.C:
13111         * BufferView_pimpl.h:
13112         * LaTeXFeatures.C:
13113         * LyXAction.C:
13114         * LyXView.C:
13115         * Makefile.am:
13116         * UpdateList.h:
13117         * UpdateList.C:
13118         * buffer.C:
13119         * figure.h:
13120         * figureForm.C:
13121         * figureForm.h:
13122         * figure_form.C:
13123         * figure_form.h:
13124         * lyx_cb.C:
13125         * lyx_gui.C:
13126         * lyx_gui_misc.C:
13127         * lyxfunc.C:
13128         * sp_base.h:
13129         * sp_ispell.h:
13130         * sp_pspell.h:
13131         * sp_spell.C: remove fig inset, and the crap house of
13132           cards that follows it
13133
13134 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13135
13136         * Makefile.am:
13137         * lyxserver.C:
13138         * os2_defines.h:
13139         * os2_errortable.h:
13140         * nt_defines.h: move .h into support/
13141
13142         * vms_defines.h: remove
13143
13144         * WorkArea.C: add space in debug output
13145
13146         * text2.C:
13147         * paragraph.C:
13148         * buffer.C: add WITH_WARNINGS
13149
13150         * vc-backend.h:
13151         * vc-backend.C:
13152         * bufferlist.C: s/retrive/retrieve/, add docs
13153
13154         * vspace.h:
13155         * vspace.C:
13156         * kbmap.h:
13157         * lyxlength.h:
13158         * lyxgluelength.h:
13159         * length_common.h:
13160         * chset.h:
13161         * chset.C: add docs
13162
13163         * lyxgui.C: add ID to X error handler
13164
13165         * lyxtestclass.c: fix typo
13166
13167 2002-02-26  Juergen Vigna  <jug@sad.it>
13168
13169         * tabular_funcs.C (write_attribute): changed so that some default
13170         attributes are not written at all.
13171         (getTokenValue): set default values before trying to read the
13172         value so we have the return value always set as default if we don't
13173         find the token we search for.
13174
13175         * tabular.C (Write): write bools as bools not as strings!
13176
13177 2002-02-22  Juergen Vigna  <jug@sad.it>
13178
13179         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13180         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13181
13182         * text.C (leftMargin): don't add an indent for paragraphs inside
13183         tabular cells (fix #208).
13184
13185 2002-02-21  José Matos  <jamatos@fep.up.pt>
13186
13187         * tabular.C (docBook): fixed support for long tables.
13188
13189 2002-02-20  Juergen Vigna  <jug@sad.it>
13190
13191         * text2.C (getFont): get the drawing font of the Inset if this
13192         paragraph is inside an inset (only important for InsetERT for now).
13193
13194         * buffer.C (insertErtContents): use new lanugage params in ERT
13195         constructor.
13196
13197         * CutAndPaste.C: commenting out seemingly uneeded code.
13198
13199 2002-02-19  Allan Rae  <rae@lyx.org>
13200
13201         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13202         Iterators might be simple to use but they also get invalidated.
13203         (removeAutoInsets): renamed saved cursor tracking variables and added
13204         some comments to clarify what everything does.
13205
13206 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13207
13208         * Chktex.C:
13209         * LaTeX.C:
13210         * LyXSendto.C:
13211         * converter.C:
13212         * lyx_cb.C:
13213         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13214         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13215
13216         * lyxfunc.C:
13217         * vc-backend.h: remove #include "support/syscall.h"
13218
13219         * LaTeX.C:
13220         * LyXSendto.C:
13221         * converter.C: rearrange #includes in Lars' approved fashion.
13222
13223         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13224         forward declare class Timeout in the header file.
13225
13226         * XFormsView.C: changes due to the above.
13227
13228         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13229         similar to LyXView.
13230
13231         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13232         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13233
13234 2002-02-18  José Matos  <jamatos@fep.up.pt>
13235
13236         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13237         insets contents.
13238
13239 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13240
13241         * a lot of small ws changes
13242         * add a lot of using std::XXX
13243         * use std construcs some places where approp.
13244         * use some exisint stuff from lyxfunctional where approp.
13245         * Make file changes to use partial linking (lets test this now...)
13246
13247 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13248
13249         * Chktex.C:
13250         * buffer.C:
13251         remove #include "support/syscontr.h" as it's redundant. Always has been.
13252
13253         * Chktex.C:
13254         * LaTeX.C:
13255         * LyXSendto.C:
13256         * converter.C:
13257         * lyx_cb.C:
13258         * vc-backend.C:
13259         change Systemcalls::System to Systemcalls::Wait and
13260         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13261         No change of functionality, just reflects the stripped down Systemcalls
13262         class.
13263
13264 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13265
13266         * debug.[Ch]: add a GRAPHICS type to the enum.
13267
13268 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13269
13270         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13271
13272         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13273         there is an inset.
13274
13275 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13276
13277         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13278         match the changes below.
13279
13280         * text2.C (toggleInset): if there is not editable inset at cursor
13281         position, try to see if cursor is _inside_ a collapsable inset
13282         and close it.
13283
13284 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13285
13286         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13287         document menu has a nice checkbox
13288
13289 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13290
13291         * lyxlength.C (asLatexString): change PW to output as percent of
13292         \textwidth.
13293
13294         * lengthcommon.C: change '%' to 't%'
13295
13296         * lyxfunc.C (dispatch): a few comments from Martin
13297
13298 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13299
13300         * WorkArea.h:
13301         * WorkArea.C:
13302         * BufferView_pimpl.h:
13303         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13304           the X selection.
13305
13306 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13307
13308         * vspace.C (inPixels): fix compiler warning
13309
13310 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13311
13312         * lyxfunc.C (getStatus): fix status message for disabled commands.
13313
13314 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13315
13316         * BufferView_pimpl.C: fix crash on close buffer
13317         during selection (#227)
13318
13319 2002-01-27  Herbert Voss  <voss@lyx.org>
13320
13321         * buffer.C: link old Figure to new graphic inset
13322
13323 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13324
13325         * FontLoader.C (getFontinfo): Change the latex font names in order
13326         to match the names of type1inst.
13327
13328 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13329
13330         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13331
13332         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13333         (extchanged): ditto
13334         (ext_exist): ditto
13335         (remove_files_with_extension): ditto
13336         (remove_file): ditto
13337         (write): ditto
13338
13339         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13340         document is smaller than the work area height. Do not initialize
13341         static variables to 0.
13342
13343 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13344
13345         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13346
13347         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13348         LFUN_LAYOUT_PARAGRAPHS.
13349
13350         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13351         tabular. It is possible to provide a possible cell, which will
13352         typically be the actcell from the corresponding insettabular
13353
13354         * lyxfunc.C (getStatus): small cleanup; disable
13355         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13356         true
13357
13358 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13359
13360         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13361
13362         * paragraph.C (startTeXParParams):
13363         (endTeXParParams): new methods. The LaTeX code to
13364         start/end paragraph formatting
13365         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13366         empty (fixes bug #200)
13367
13368         * vspace.C (inPixels): adapt to the change below
13369         (inPixels): [later] more cleanups (remove unused variables)
13370
13371         * lyxlength.C (inPixels): change to use a width and a height as
13372         parameter.
13373
13374 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13375
13376         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13377         Replaced with \paperwidth
13378
13379         * DepTable.C (insert): add std:: qualifier
13380
13381 2002-01-18  Allan Rae  <rae@lyx.org>
13382
13383         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13384         updated also?
13385
13386         * text.C (drawInset): Turned out I didn't know enough about how
13387         rebreaking worked.  This fixes most of the redraw problems.  I see
13388         an occasional cursor trail when a line is broken now and the cursor
13389         placement can seem out by a few pixels also after a rebreak.
13390
13391 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13392
13393         * buffer.C (parseSingleLyXformat2Token): update because minipage
13394         width is now a LyXLength
13395
13396         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13397
13398         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13399         math insets
13400
13401 2002-01-17  Juergen Vigna  <jug@sad.it>
13402
13403         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13404
13405         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13406         is set correctly and the inset is updated correctly.
13407
13408 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13409
13410         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13411         the beginning of the loop.
13412
13413 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13414
13415         * lyxrc.C: improve help for use_scalable_fonts
13416
13417 2002-01-17  Allan Rae  <rae@lyx.org>
13418
13419         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13420
13421 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13422
13423         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13424         make sure to set their inset_owner to the right value (bug #171)
13425
13426 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13427
13428         * DepTable.h
13429         * DepTable.C: Implement mtime checking to reduce time spent doing
13430         CRCs.
13431
13432 2002-01-16  Juergen Vigna  <jug@sad.it>
13433
13434         * tabular.C (GetAdditionalHeight): one of error fixed.
13435
13436         * lyxrc.C (output): small fix in writing use_pspell.
13437
13438 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13439
13440         * sp_base.h: #include LString.h
13441
13442 2002-01-16  Allan Rae  <rae@lyx.org>
13443
13444         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13445         Can someone check this please?
13446
13447         * text.C (drawInset): It was possible that p.row would be removed by
13448         breakAgainOneRow upsetting a few other settings.  There may be another
13449         small tweak possible by setting need_break_row = 0 when p.row has been
13450         removed but I don't know enough about the logic here.
13451
13452 2002-01-15  Allan Rae  <rae@lyx.org>
13453
13454         * text.C (insertChar): removed conditional truism.
13455
13456         * BufferView2.C (removeAutoInsets): More tweaks.
13457         cur_par_prev could be a stray pointer.  Check for trailing empty line
13458         in case last line was cur_par and only had an error inset on it.
13459
13460 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13461
13462         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13463         absolute
13464
13465         * vc-backend.C (most methods):
13466         * exporter.C (Export):
13467         * converter.C (convert):
13468         (runLaTeX):
13469         * LyXSendto.C (SendtoApplyCB):
13470         * lyxfunc.C (dispatch):
13471         (menuNew):
13472         (open):
13473         (doImport):
13474         * lyx_cb.C (AutoSave):
13475         (InsertAsciiFile):
13476         * BufferView_pimpl.C (MenuInsertLyXFile):
13477         * buffer.C (runChktex): use Buffer::filePath().
13478
13479         * buffer.h: rename filename to filename_; rename filepath to
13480         filepath_ and make it private
13481         (filePath): new method
13482
13483         * buffer.C (writeFile): use fileName()
13484         (getLatexName):
13485
13486         * lyx_main.C (init): fix starting  of LyX when the binary is a
13487         link from so,ewhere else.
13488
13489         * minibuffer.C: include <cctype> for isprint
13490
13491 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13492
13493         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13494         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13495         name clash with InsetCollapsable's width function.
13496
13497 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13498
13499         * lastfiles.C: include <iterator>
13500
13501 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13502
13503         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13504         std::count.
13505
13506         * buffer.C (makeLaTeXFile): ditto.
13507         Also make loop operation more transparent.
13508
13509 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13510
13511         * ToolbarDefaults.C: remove trailing comma closing namespace.
13512
13513         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13514
13515         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13516         as in WorkArea.
13517
13518         * trans.C (Load): comment out unused variable, allowed.
13519
13520 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13521
13522         * minibuffer.[Ch] (append_char): new method to recieve input from the
13523         drop-down completion browser. If a key was pressed, then recieve this
13524         char and append it to the existing string.
13525         (peek_event): modify the positioning data passed to the completion
13526         browser so that it can be placed above the minibuffer rather than below.
13527 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13528
13529         * LyXAction.C (init): alloe error-next for readonly documents.
13530
13531         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13532         count.
13533
13534 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13535
13536         * bufferlist.C (readFile): create the buffer _after_ checking that
13537         the file exists.
13538
13539         * lyxfunc.C (verboseDispatch): fix handling of arguments
13540
13541         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13542
13543         * lyxrc.C: use string::erase() instead of initializing to "".
13544
13545
13546 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13547
13548         * BufferView_pimpl.h:
13549         * BufferView_pimpl.C:
13550         * WorkArea.h:
13551         * WorkArea.C:
13552         * text2.C: tell X when we have made a selection for copying
13553
13554 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13555
13556         * BufferView_pimpl.C (MenuInsertLyXFile):
13557         * lyxfunc.C (menuNew):
13558         (open):
13559         (doImport): add shortcuts to directory buttons
13560
13561         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13562         open a float)
13563
13564         * lyxfunc.C (setStatusMessage):
13565         (getStatusMessage): new methods
13566         (getStatus):use setStatusMessage instead of setErrorMessage
13567         (dispatch): when function is disabled, set error message here
13568         [instead of in getStatus previously]
13569
13570         * BufferView_pimpl.C (workAreaButtonRelease): update
13571         toolbar/menubar here too.
13572
13573 2002-01-13  Allan Rae  <rae@lyx.org>
13574
13575         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13576         Now seems indestructible.  Remaining task is to audit all other
13577         code affected by deleteEmptyParagraphMechanism.  One small quirk
13578         left is that an empty document with an error in the preamble can
13579         be made to report an error but no error box appears.  I don't know
13580         where it goes.
13581         (removeAutoInsets): Improved comments.
13582
13583 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13584
13585         * Thesaurus.h:
13586         * Thesaurus.C: update for Aiksaurus 0.14
13587
13588 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13589
13590         * text2.C (firstParagraph): removed member function, all uses
13591         replaces with ownerParagraph
13592         (redoParagraphs): here
13593         (updateInset): here
13594         (toggleAppendix): here
13595         * BufferView2.C (insertErrors): here
13596         (setCursorFromRow): here
13597
13598 2002-01-13  Allan Rae  <rae@lyx.org>
13599
13600         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13601         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13602         There is still a way to segfault this although you may have to do this
13603         multiple times: Have an InsetERT with an unknown command in it.
13604         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13605         <down-arrow>, <Enter> again, View->DVI, BANG!
13606
13607         * text2.C (setCursor):
13608         (deleteEmptyParagraphMechanism):
13609         * lyxtext.h (setCursor):
13610         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13611         Making use of the return value may help fix other bugs.
13612
13613 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13614
13615         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13616
13617         * LyXView.C (updateMenubar): call MenuBar::update here
13618         (updateToolbar): but not here
13619         (showState): do not update toolbar/menubar
13620
13621         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13622         should need to care about that.
13623
13624         * lyxfunc.C (verboseDispatch): simplify a bit
13625         (getStatus): have a version which takes a pseudoaction, and
13626         another which requires a (kb_action,string).
13627
13628         * LyXAction.C (retrieveActionArg): make it work also when action
13629         is not a pseudo-action.
13630         (getActionName): simplify a bit
13631         (helpText):
13632
13633 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13634
13635         * lyxfunc.C (verboseDispatch): new families of methods with
13636         several ways to specify a command and a bool to indicate whether
13637         the command name and shortcut should be displayed in minibuffer
13638         (eventually, we could extend that to a finer bitmask like
13639         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13640         (dispatch): the pristine dispatch command which just, well,
13641         dispatchs! Note it still sets its result to minibuffer; I'm not
13642         sure we want that.
13643
13644         * lyxfunc.h: remove setHintMessage
13645
13646         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13647
13648 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13649
13650         * BufferView_pimpl.C (specialChar): delete new inset if we have
13651         not been able to insert it.
13652
13653         * kbmap.C: revert to using int instead of kb_action, since all we
13654         are dealing with is pseudo-actions.
13655
13656         * LyXAction.C (searchActionArg): change to return int instead of
13657         kb_action, since the result is a pseudoaction.
13658
13659 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13660
13661         * buffer.C (insertErtContents): Fix (partially) the font bug.
13662
13663 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13664
13665         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13666         as the other one is broken on my machine!
13667
13668 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13669
13670         * commandtags.h:
13671         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13672
13673 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13674
13675         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13676         reflect their actual use. Provide compatibility code for older lyxrc
13677         files.
13678
13679         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13680         FL_NORMAL_STYLE.
13681         change names of popup font variables in line with the changes to lyxrc.C
13682
13683 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13684
13685         * buffer.C (asciiParagraph): avoid outputing a word twice after
13686         an inset.
13687
13688         * lyxrc.C (getDescription): document that document_path and
13689         template_path can be empty.
13690
13691 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13692
13693         * LaTeXFeatures.C (getMacros):
13694         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13695
13696         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13697
13698         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13699         getPackages.
13700         (getPackages): rename feature "floats" to "float". Use an array to
13701         iterate over 'simple' features (i.e. just a \usepackage). Add
13702         handling of "amsmath" (renamed from "amsstyle").
13703
13704 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13705
13706         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13707         features list.
13708
13709 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13710
13711         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13712         FuncStaus::FuncStatus & FuncStaus::some_method().
13713
13714 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13715
13716         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13717         of the func_satus stuff. Edited and massaged in various ways by
13718         JMarc.
13719
13720         * lyxfunc.C (getStatus): use FuncStatus
13721
13722 2002-01-08  Juergen Vigna  <jug@sad.it>
13723
13724         * text.C (nextBreakPoint): use function Inset::isChar().
13725
13726         * paragraph.C (TeXOnePar): use function
13727         Inset::forceDefaultParagraphs.
13728
13729         * buffer.C (latexParagraphs): use function
13730         Inset::forceDefaultParagraphs.
13731
13732 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13733
13734         * lyx_gui.C (init): set the style of the menu popups to
13735         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13736
13737 2002-01-07  Juergen Vigna  <jug@sad.it>
13738
13739         * text.C (setHeightOfRow): small fix
13740         (prepareToPrint): don't look at alignment if we don't have the place
13741         for doing it.
13742
13743 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13744
13745         * box.C: New file. Move the Box methods and functions out of box.h,
13746         following Lars' suggestion.
13747
13748 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13749
13750         * box.h: #include "support/LOstream.h", needed for inlined function.
13751
13752         * lyxtextclass.C:
13753         * lyxtextclasslist.C: added some using std declarations.
13754
13755 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13756
13757         * box.h: make signed dimensions to allow insets wider than
13758           the screen (bug #162)
13759
13760         * BufferView_pimpl.C: add some insetHit debug
13761
13762 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13763
13764         * vc-backend.C: add FIXME
13765
13766 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13767
13768         * lyxfunc.C (getStatus): enable code for showing math font status
13769         in toolbar/menu.
13770
13771 2002-01-07  Juergen Vigna  <jug@sad.it>
13772
13773         * text.C (nextBreakPoint): removed debug output not needed anymore.
13774
13775 2002-01-06  Juergen Vigna  <jug@sad.it>
13776
13777         * text.C (nextBreakPoint): fixed up this function we had this bug
13778         since ever but now hopefully we break row better.
13779         (insertChar): we have to check if an inset is the next char as it
13780         could now happen that a large inset is causing a break.
13781
13782 2002-01-05  Juergen Vigna  <jug@sad.it>
13783
13784         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13785         if it doesn't like to be drawed.
13786
13787 2002-01-04  Juergen Vigna  <jug@sad.it>
13788
13789         * BufferView2.C (lockInset): forgot to set a cursor.
13790
13791         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13792
13793 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13794
13795         * FormMathsPanel.C:
13796         * FormMathsPanel.h
13797         * MathsSymbols.C:
13798         * form_maths_panel.C:
13799         * form_maths_panel.h:
13800         * form_maths_panel.fd: implemented sub- and super- buttons in math
13801         panel.
13802
13803         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13804         (or ^ space) to be used as in TeX (req'd by André).
13805
13806         * lyxfunc.C: Allow ^ and _ again to be used both as
13807         super/subscript (mathed) and as themselves (in text).
13808
13809 2002-01-03  Allan Rae  <rae@lyx.org>
13810
13811         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13812         "LyX" or the filename of the current buffer if it has one.  This is a
13813         modified form of John Levon's patch.
13814
13815         * XFormsView.C (setWindowTitle): also set icon title.
13816
13817         * LyXView.h (setWindowTitle): signature changed.
13818         * XFormsView.h (setWindowTitle): ditto.
13819
13820 2002-01-02  Juergen Vigna  <jug@sad.it>
13821
13822         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13823
13824 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13825
13826         * screen.C (topCursorVisible): introduce a temp var for
13827         text->cursor.row(), handle the case where this row is null. (kindo
13828         hachish)
13829
13830         * text2.C (setCursor): add a couple of asserts.
13831
13832         * paragraph.h (inset_iterator): add -> operator
13833
13834         * paragraph.[Ch] (autoDeleteInsets): remove member function
13835
13836         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13837         cursor pos correctly and handle inset deletion by itself.
13838         (insertErrors): move iterator declaration out of for expression
13839
13840         * lyxtextclass.C: add <algorithm>
13841
13842         * Makefile.am: added the new files to sources, removed layout.C
13843
13844         * layout.C: removed file
13845
13846         * layout.h: remove LYX_DUMMY_LAYOUT
13847
13848         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13849         layout.
13850
13851         * lyxlayout.[Ch]:
13852         * lyxtextclass.[Ch]:
13853         * lyxtextclasslist.[Ch]: new files
13854
13855         * include order changes to a lot of files, also changes because of
13856         the six new files.
13857
13858 2001-12-27  Juergen Vigna  <jug@sad.it>
13859
13860         * buffer.C (asciiParagraph): more fixes.
13861
13862         * tabular.C (ascii): make ascii export support export of only the
13863         data separated by a column-delimiter.
13864         (ascii): better support for ascii export.
13865
13866         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13867
13868 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13869
13870         * tabular_funcs.C: use a "using std::getline" instead of the
13871         previous fix from Angus (necessary for cxx + lyxstring)
13872
13873 2001-12-24  Juergen Vigna  <jug@sad.it>
13874
13875         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13876
13877         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13878         problems. First check a minipage also if we have some ert-contents
13879         (not only on par->size(), second set the right depth of the paragraph
13880         on the relink to the root-paragraph-list!
13881
13882         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13883         which then did not anymore update the main paragraphs on undo/redo!
13884
13885 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13886
13887         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13888         code. Support all font-changing funcs (even those which are not in
13889         menu currently). Support for reporting font settings in
13890         mathed (disabled until Andre provides a function on mathed's side).
13891
13892         * func_status.h (toggle): small helper function to set toggle
13893         state on a flag.
13894
13895 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13896
13897         * tabular_funcs.C: getline -> std::getline
13898
13899 2001-12-21  Juergen Vigna  <jug@sad.it>
13900
13901         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13902         accessed and could be 0 (I couldn't generate this but it seems
13903         Michael could!).
13904
13905 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13906
13907         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13908         * tabular_funcs.h: here and include iosfwd
13909
13910 2001-12-20  Juergen Vigna  <jug@sad.it>
13911
13912         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13913         inside inset but undo_par was.
13914
13915 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13916
13917         * Thesaurus.C: always include <config.h> in sources.
13918
13919         * Painter.h:
13920         * lyxlookup.h:
13921         * box.h: do not include <config.h> in header files
13922
13923         * text.C (paintLastRow): remove unused variable
13924
13925         * text.C (transformChar):
13926         (insertChar):
13927         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13928
13929         * Painter.C (text):
13930         * font.C (width): rewrite to use uppercase() instead of
13931         islower/toupper.
13932
13933         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13934
13935 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13936
13937         * lyxfind.C: clean up of find failure position change
13938
13939 2001-12-20  Juergen Vigna  <jug@sad.it>
13940
13941         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13942
13943         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13944         (TeXRow): added to LaTeX a single tabular row.
13945         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13946         (Latex): simplified and finally good LT-h/f support.
13947         (various_functions): just small adaptions for LT-h/f support.
13948
13949         * tabular_funcs.[hC]: added and moved here all not classfunctions
13950         of LyXTabular.
13951
13952 2001-12-19  Juergen Vigna  <jug@sad.it>
13953
13954         * tabular.[Ch]: better support for longtabular options (not finished
13955         yet!)
13956
13957 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13958
13959         * text.C (paintLastRow): use the label font instead of the font of
13960         the last character to compute the size of *_BOX. This makes more
13961         sense and avoids a crash with empty paragraphs.
13962         Use Painter::rectangle to draw EMPTY_BOX.
13963
13964 2001-12-19  Juergen Vigna  <jug@sad.it>
13965
13966         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13967         the paragraphs if the replaced paragraph is not the first one!
13968         Tried to delete not used paragraphs but does not work yet so for
13969         now it's inside #ifdef's and by default off!
13970
13971 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13972
13973         * MenuBackend.C: include "lyx_main.h" instead of declaring
13974         lastfiles (actually was declared as LastFiles* instead of a
13975         scoped_ptr).
13976
13977 2001-12-17  Juergen Vigna  <jug@sad.it>
13978
13979         * tabular.C (AppendColumn): applied John's fix
13980
13981 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
13982
13983         * BufferView.h:
13984         * BufferView.C:
13985         * BufferView_pimpl.h:
13986         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13987
13988         * Makefile.am:
13989         * box.h: new start of class for above
13990
13991         * lyxfunc.C: ignore space-only minibuffer dispatches.
13992           Show the command name when it doesn't exist
13993
13994         * minibuffer.C: don't add empty lines to the history
13995
13996         * minibuffer.C: add a space on dropdown completion
13997
13998 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
13999
14000         * text.C: fix line above/below drawing in insets
14001
14002 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14003
14004         * lyxlength.C (LyXLength): Initialize private variables.
14005
14006 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14007
14008         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14009         when inserting error insets.
14010
14011 2001-12-13  Juergen Vigna  <jug@sad.it>
14012
14013         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14014         actually sometimes the before-paragraph.
14015         (setUndo): don't clear the redostack if we're not actually undoing!
14016
14017 2001-12-06  Juergen Vigna  <jug@sad.it>
14018
14019         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14020         and fixed redoing of main paragraph, so we can use it now ;)
14021
14022         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14023
14024 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14025
14026         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14027         Juergen's request
14028
14029 2001-12-13  André Pönitz <poenitz@gmx.net>
14030
14031         * undostack.[Ch]:
14032         * undo_func.C: minor cleanup
14033
14034 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14035
14036         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14037         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14038         font in urw-fonts package which is marked as -urw-fontspecific and
14039         does not work (incidentally, changing the encoding in the
14040         fonts.dir of this package to -adobe-fontspecific fixes the
14041         problem).
14042
14043         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14044         is a crash when undoing first paragraph (Juergen, please take a
14045         look). THis does not mean the undo fix is wrong, just that it
14046         uncovers problems.
14047
14048         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14049         the (Paragraph*) version when needed instead of duplicating the
14050         code.
14051
14052         * text.C (workWidth): use Inset::parOwner to find out where the
14053         inset has been inserted. This is a huge performance gain for large
14054         documents with lots of insets. If Inset::parOwner is not set, fall
14055         back on the brute force method
14056
14057         * paragraph_pimpl.C (insertInset):
14058         * paragraph.C (Paragraph):
14059         (cutIntoMinibuffer): set parOwner of insets when
14060         inserting/removing them
14061
14062         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14063
14064 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14065
14066         * commandtags.h:
14067         * LyXAction.C:
14068         * lyx_main.C:
14069         * lyxfunc.C:
14070         * mathed/formulabase.C:
14071         * mathed/math_cursor.[Ch]:
14072         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14073
14074
14075 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14076
14077         * lyxlength.[Ch] (operator!=): new function
14078
14079 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14080
14081         * text.C (workWidth): use Inset::parOwner to find out where the
14082         inset has been inserted. This is a huge performance gain for large
14083         documents with lots of insets. If Inset::parOwner is not set, fall
14084         back on the brute force method
14085
14086         * paragraph_pimpl.C (insertInset):
14087         * paragraph.C (Paragraph):
14088         (cutIntoMinibuffer): set parOwner of insets when
14089         inserting/removing them
14090
14091         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14092
14093 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14094
14095         * tabular-old.C (getTokenValue):
14096         * tabular.C (getTokenValue):
14097         (write_attribute): new versions for LyXLength
14098         (everywhere): adjust the use of widths
14099
14100         * tabular.h: change the type of widths from string to LyXLength
14101
14102 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14103
14104         * paragraph.C: fixed missing line number count when exporting
14105         Environments to LaTeX file
14106
14107         * buffer.C: added informational message for checking line numbers.
14108
14109 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14110
14111         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14112         paragraph, do the 'double space' part, but not the 'empty
14113         paragraph' one.
14114
14115         * text.C (workWidth): small optimization
14116         (getLengthMarkerHeight): use minimal size for negative lengths.
14117
14118 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14119
14120         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14121
14122         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14123
14124 2001-12-11  André Pönitz <poenitz@gmx.net>
14125
14126         * FontLoader.C:
14127         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14128
14129 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14130
14131         * text2.C: keep selection on a setFont()
14132
14133 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14134
14135         * lyx_cb.C: another bv->text misuse, from insert label
14136
14137 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14138
14139         * kbsequence.h:
14140         * kbsequence.C: re-instate nmodifier mask
14141
14142 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14143
14144         * lyx_main.h: make lyxGUI private.
14145
14146 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14147
14148         * lyxfind.C: place the cursor correctly on failed search
14149
14150 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14151
14152         * text.C (getLengthMarkerHeight): for small heights, the arrows
14153         are not always on top/bottom of the text
14154         (drawLengthMarker): smaller arrows; take the left margin in
14155         account; draw also vfills.
14156         (paintFirstRow):
14157         (paintLastRow): remove special code for vfill and standard spaces,
14158         since everything is handled in drawLengthMarker now.
14159
14160 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14161
14162         * buffer.C (insertErtContents): try to handle font and language
14163         interaction a bit better.g
14164
14165         * ColorHandler.C (updateColor): change the hash to cover the whole
14166         LColor enum, ws cleanup
14167         (getGCLinepars): ditto
14168         (getGCLinepars): only lookup in the linecache once.
14169
14170 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14171
14172         * iterators.C (operator++): Make the iterator more robust
14173
14174         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14175         (John's patch)
14176         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14177
14178 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14179
14180         * lyxtext.h:
14181         * text.C: better added space drawing
14182
14183 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14184
14185         * LyXView.C:
14186         * BufferView2.C: fix layout combo update on inset unlock
14187
14188 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14189
14190         * Makefile.am: don't compile unused files
14191
14192 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14193
14194         * lyxfunc.C:
14195         * commandtags.h:
14196         * LyXAction.C: remove old LFUN_LAYOUTNO
14197
14198 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14199
14200         * paragraph_pimpl.h:
14201         * paragraph_pimpl.C: isTextAt() doesn't need font param
14202
14203 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14204
14205         * lyxlex.h:
14206         * lyxlex.C: little cleanup
14207
14208 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14209
14210         * BufferView_pimpl.C: fix insertAscii for insets
14211
14212 2001-12-05  Juergen Vigna  <jug@sad.it>
14213
14214         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14215         set the right font on the "multi" paragraph paste!
14216
14217 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14218
14219         * trans_decl.h:
14220         * trans_mgr.[Ch]:
14221         * trans.[Ch]:
14222         * lyxgluelength.C:
14223         * lyxlength.C: remove out-commented code.
14224
14225         * BufferView_pimpl:
14226         * CutAndPaste.C:
14227         * DepTable.C:
14228         * buffer.C:
14229         * chset.C:
14230         * lastfiles.C:
14231         * lyxlex.C:
14232         * lyxlex_pimpl.C:
14233         * lyxserver.C:
14234         * screen.C:
14235         * tabular-old.C:
14236         * tabular.C:
14237         * text.C:
14238         * trans_mgr.C:
14239         * vc-backend.C: change "while(" to "while ("
14240
14241         * lyxlength.[Ch]: add zero function to check if length is zero or
14242         not
14243         * lyxgluelength.C: use it
14244
14245 2001-12-05  Allan Rae  <rae@lyx.org>
14246
14247         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14248         Works for 2.95.3, from what I understand of Garst's reports this should
14249         work for other g++ versions.  We're screwed if the abs(int) definition
14250         changed between bugfix releases of gcc.
14251
14252 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14253
14254         * text.C: fix chapter label offset !
14255
14256 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14257
14258         * lyxtext.h:
14259         * text.C: fix hfill at end of line, clean up
14260
14261 2001-12-04  Juergen Vigna  <jug@sad.it>
14262
14263         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14264         that we force an update of the inset and it's owners if neccessary.
14265
14266 2001-12-03  Juergen Vigna  <jug@sad.it>
14267
14268         * text.C (rowLast): simplified code
14269
14270 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14271
14272         * lyxfunc.C: fix show options on timeout
14273
14274 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14275
14276         * screen.C (topCursorVisible): scroll half a page when the cursor
14277         reached top of bottom of screen
14278
14279 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14280
14281         * minibuffer.C: deactivate on loss of focus
14282
14283 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14284
14285         * vspace.[Ch] (operator!=): add operator.
14286
14287 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14288
14289         * BufferView_pimpl.C: refuse to open an inset when
14290         there's a selection.
14291
14292 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14293
14294         * BufferView_pimpl.C: allow to click on RHS of full row insets
14295
14296 2001-11-30  Juergen Vigna  <jug@sad.it>
14297
14298         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14299         insets for undo reasons.
14300
14301 2001-11-28  André Pönitz <poenitz@gmx.net>
14302
14303         * vspace.[Ch]: cosmetical changes
14304
14305 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14306
14307         * LyXAction.h:
14308         * LyXAction.C:
14309         * lyxfunc.h:
14310         * lyxfunc.C:
14311         * kbmap.h:
14312         * kbmap.C:
14313         * lyxrc.C:
14314         * kbsequence.h:
14315         * kbsequence.C: part re-write of old kb code
14316
14317         * Painter.C:
14318         * WorkArea.C: remove Lgb_bug_find_hack
14319
14320 2001-11-30  José Matos <jamatos@fep.up.pt>
14321
14322         * buffer.C (makeDocBookFile): add a comment to point a hack.
14323         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14324         Fixed a double write of labels.
14325
14326 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14327
14328         * LaTeX.C:
14329         * LaTeX.h Fixed bug in LaTeX class where it would not
14330         re-run latex if no depfiles were changed, but the .dvi was removed.
14331
14332 2001-11-28  André Pönitz <poenitz@gmx.net>
14333
14334         * all the files from the change on 2001/11/26:
14335         use lyx::layout_type instead of LyXTextClass::size_type
14336         use lyx::textclass_type instead of LyXTextClassList::size_type
14337
14338 2001-11-29  Juergen Vigna  <jug@sad.it>
14339
14340         * text.C: added support for paragraph::isFreeSpacing()
14341
14342         * buffer.C: same as above
14343
14344         * paragraph.h: inserted isFreeSpacing() function to enable
14345         FreeSpacing inside InsetERT.
14346
14347         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14348         of the paragraph's in the cut/copy buffer to 0!
14349
14350         * text2.C (removeRow): remove the assert as it can!
14351
14352         * lyxtext.h: added helper function firstRow returning firstrow and
14353         made firstrow private again.
14354
14355         * BufferView2.C (lockInset): don't relock if we're already locked!
14356
14357         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14358         the only paragraph.
14359         (removeRow): added Assert::(firstrow)
14360
14361         * debug.C: forgot to add INSETTEXT here.
14362
14363 2001-11-28  Juergen Vigna  <jug@sad.it>
14364
14365         * sp_spell.C (initialize): changed error text to more general
14366         spellchecker command use (not only ispell!)
14367
14368         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14369
14370         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14371
14372 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14373
14374         * vspace.C: initialise lyxgluelength on failure
14375
14376 2001-11-28  Allan Rae  <rae@lyx.org>
14377
14378         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14379         declaration & definition that looks like a function declaration.
14380
14381 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14382
14383         * BufferView2.C (copy):
14384         (copyEnvironment): do not clear the selection when doing a copy.
14385
14386         * text.C (paintFirstRow): compilation fix
14387
14388 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14389
14390         * tabular.C (Latex): correct line count when writing latex.
14391
14392 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14393
14394         * paragraph_pimpl.h:
14395         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14396           bug a bit
14397
14398 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14399
14400         * text.C:
14401         * LColor.h:
14402         * LColor.C: change vfillline->added_space
14403
14404         * text.C: add markers and text for added space
14405
14406         * vspace.C: fix comment
14407
14408 2001-11-28  André Pönitz <poenitz@gmx.net>
14409
14410         * paragraph.C: whitespace changes
14411         * all the other files from the change on 2001/11/26:
14412         change *::pos_type into lyx::pos_type
14413
14414 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14415
14416         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14417         language of the document when inserting error insets.
14418
14419 2001-11-26  André Pönitz <poenitz@gmx.net>
14420
14421         * BufferView_pimpl.[Ch]:
14422         *       CutAndPaste.C:
14423         * buffer.[Ch]:
14424         * lyxcursor.[Ch]:
14425         * lyxfind.C:
14426         * lyxfunc.C:
14427         * lyxrow.[Ch]:
14428         * paragraph.[Ch]:
14429         * paragraph_pimpl.[Ch]:
14430         * sp_spell.C:
14431         * text.C:
14432         * text2.C: reduce header dependencies, introduce type for positions
14433
14434 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14435
14436         * <various>: change to use Alert.h
14437
14438 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14439
14440         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14441         when encountering an unknown token.
14442         (readLyXformat2): Show an error message if there were unknown tokens.
14443
14444 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14445
14446         * BufferView2.C:
14447         * BufferView_pimpl.C:
14448         * buffer.C:
14449         * paragraph.h:
14450         * text.C:
14451         * text2.C: use par->isInset()
14452
14453 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14454
14455         * paragraph_pimpl.h:
14456         * paragraph_pimpl.C: cleanup
14457
14458 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14459
14460         * text2.C (removeRow):
14461         * text.C (setHeightOfRow): remove useless (and costly) call to
14462         getRow.
14463
14464 2001-11-20  Allan Rae  <rae@lyx.org>
14465
14466         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14467         Now need Inset*::checkInsertChar() to return true for appropriate
14468         cases so that the characters in the minibuffer will actually be
14469         inserted.
14470
14471 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14472
14473         * text.C: change the order of the includes.
14474         (workWidth): initialize it at once.
14475         (workWidth): make maxw unsigned
14476         (setHeightOfRow): remove unused variable (inset)
14477         (selectSelectedWord): remove unused variable (inset)
14478         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14479
14480 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14481
14482         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14483         server is not running.
14484         (openConnection):
14485         (closeConnection): add debug info when server is disabled.
14486
14487         * ColorHandler.C (getGCForeground): send debug message to GUI
14488         channel.
14489
14490         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14491
14492         * kbmap.C (bind): modify because return conventions of
14493         kb_sequence::parse have changed.
14494
14495         * kbsequence.C (parse): only ignore spaces and not any stupid
14496         control character. This avoids tests like s[i] <= ' ', which are
14497         guaranteed to fail with 8bit characters and signed chars.
14498         Change return code to string::npos when there have been no error
14499         (0 was a bad idea when error is at first character)
14500
14501 2001-11-14  José Matos  <jamatos@fep.up.pt>
14502
14503         * buffer.h:
14504         * buffer.C (simpleDocBookOnePar): removed unused argument.
14505
14506 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14507
14508         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14509         insets which are part of a word. Paragraph::isLetter takes care of
14510         that now. Use Paragraph::isInset to identify insets.
14511         (selectSelectedWord): do not test for hyphenation break.
14512
14513         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14514         that protected spaces are considered as spaces.
14515
14516         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14517         Inset::isLetter.
14518
14519 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14520
14521         * lyxserver.h:
14522         * lyxserver.C: fix it. and small cleanup.
14523
14524 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14525
14526         * BufferView_pimpl.C: use inline helpers
14527
14528         * LaTeXFeatures.h:
14529         * LaTeXFeatures.C: fix typos
14530
14531         * Spacing.h:
14532         * Spacing.C: move spacing_string into class
14533
14534         * ToolbarDefaults.C: move stuff into namespace anon
14535
14536         * layout.h: update enum
14537
14538         * lyxfunc.C: use better debug
14539
14540         * minibuffer.h: fix typo
14541
14542         * debug.h:
14543         * debug.C:
14544         * WorkArea.C: add and use Debug::WORKAREA
14545
14546         * lyxtext.h:
14547         * text.C:
14548         * text2.C: code re-organisation, inline helpers
14549
14550 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14551
14552         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14553         std::vector.empty().
14554
14555 2001-11-09  Allan Rae  <rae@lyx.org>
14556
14557         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14558         '\n's after tables.  Tabular and ERT inset work now makes this no
14559         longer necessary.
14560
14561 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14562
14563         * minibuffer.h:
14564         * minibuffer.C: fix crash, improve drop-down completion
14565
14566 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14567
14568         * lyxserver.h:
14569         * lyxserver.C: invalidate fd's when doing endPipe()
14570
14571 2001-11-08  José Matos  <jamatos@fep.up.pt>
14572
14573         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14574         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14575
14576         * paragraph.h:
14577         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14578
14579 2001-11-07  José Matos  <jamatos@fep.up.pt>
14580
14581         * buffer.h:
14582         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14583         const qualifier.
14584
14585         * buffer.C (sgmlOpenTag):
14586         * buffer.C (sgmlCloseTag): removed debug info.
14587
14588         * buffer.h (sgmlOpenTag):
14589         * buffer.h (sgmlCloseTag): made public.
14590
14591 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14592
14593         * buffer.C (saveParamsAsDefaults):
14594         * lyx_cb.C (MenuLayoutSave): remove
14595
14596         * LyXAction.C (init):
14597         * commandtags.h:
14598         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14599
14600 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14601
14602         * buffer.C (setPaperStuff): removed from here...
14603
14604         * bufferparams.C (setPaperStuff): ... and moved there.
14605
14606 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14607
14608         * minibuffer.h:
14609         * minibuffer.C:
14610         * XFormsView.C: add support for drop-down completion
14611
14612 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14613
14614         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14615         commands.
14616
14617 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14618
14619         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14620         disabled.
14621
14622 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14623
14624         * lyx_main.C: change ref to known bugs
14625
14626 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14627
14628         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14629         to work around older babel problems.
14630
14631 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14632
14633         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14634
14635 2001-10-24  Juergen Vigna  <jug@sad.it>
14636
14637         * tabular-old.C (ReadOld): below variable changes reflected.
14638
14639         * tabular.[Ch]: added ltType struct for longtable header/footer
14640         defines and changed all instances where they are used. Added
14641         future support for double top/bottom rows.
14642
14643 2001-10-24  José Matos  <jamatos@fep.up.pt>
14644
14645         * buffer.h (docbookHandleCaption):
14646         * buffer.C (docbookHandleCaption): removed unused function.
14647         (makeDocBookFile): moved docbook supported version to v4.1.
14648
14649 2001-10-24  José Matos  <jamatos@fep.up.pt>
14650
14651         * tabular.h:
14652         * tabular.C (docbookRow): new function to export docbook code of a row.
14653         (DocBook): now honors the longtable flags.
14654
14655 2001-10-23  José Matos  <jamatos@fep.up.pt>
14656
14657         * LaTeXFeatures.h:
14658         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14659         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14660
14661         * buffer.C (makeLinuxDocFile):
14662         (makeDocBookFile): reworked the preamble, more clean, and with
14663         support for lyx defined entities. Changed the document declaration
14664         to be more XML friendly.
14665
14666         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14667         if we need to output XML that should be done with a filter.
14668
14669 2001-10-22  Juergen Vigna  <jug@sad.it>
14670
14671         * sp_pspell.h (class PSpell): add alive function needed in the
14672         controller to see if the spellchecker could be started.
14673
14674 2001-10-22  Juergen Vigna  <jug@sad.it>
14675
14676         * buffer.C (insertStringAsLines): modify the font for inserting
14677         chars in certain conditions by calling checkInsertChar(font).
14678
14679 2001-10-19  Juergen Vigna  <jug@sad.it>
14680
14681         * text.C (workWidth): use getRow instead of wrong algorithm.
14682         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14683
14684 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14685
14686         * lyxserver.h:
14687         * lyxserver.C:
14688         * lyx_main.h:
14689         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14690
14691 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14692
14693         * text.C (workWidth): do not search for the exact row when
14694         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14695         optimization for big documents.
14696
14697 2001-10-18  Juergen Vigna  <jug@sad.it>
14698
14699         * text.C (workWidth): new function with added Inset * parameter.
14700
14701 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14702
14703         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14704
14705         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14706         change return type of getColumnNearX.
14707
14708
14709         * text.C (changeRegionCase): use uppercase/lowercase instead of
14710         toupper/tolower.
14711         (leftMargin):
14712         (rightMargin): simplify code by factoring out the uses of
14713         textclasslist.
14714         (labelFill):
14715         (numberOfHfills):
14716         (setHeightOfRow):
14717         (appendParagraph): use Paragraph::size_type
14718
14719 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14720
14721         * vspace.C (asLatexString): add a missing break
14722
14723 2001-10-15  Herbert Voss  <voss@perce.de>
14724
14725         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14726
14727 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14728
14729         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14730         is not available.
14731
14732 2001-10-10  André Pönitz <poenitz@gmx.net>
14733
14734         * lyxfunc.C: removed greek_kb_flag.
14735
14736 2001-10-10  Herbert Voss  <voss@perce.de>
14737
14738         * lyx_main.C: delete global string help_lyxdir.
14739
14740 2001-10-09  Herbert Voss  <voss@perce.de>
14741
14742         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14743
14744         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14745
14746         * lyx_main.C: added global string help_lyxdir.
14747
14748         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14749
14750 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14751
14752         * lyxrc.C (set_font_norm_type): support iso8859-4
14753
14754 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14755
14756         * LaTeX.C (deplog): add another regex for MikTeX
14757
14758 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14759
14760         * lyxrc.C (set_font_norm_type): support iso8859-3
14761
14762 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14763
14764         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14765
14766         * LaTeXFeatures.C: remove special case of french and index
14767
14768         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14769         before \begin{document}). This solves several incompatibilities.
14770
14771 2001-10-03  Garst Reese  <reese@isn.net>
14772
14773         * lyx_cb.C: change CheckTex error msg.
14774
14775 2001-10-03  José Matos  <jamatos@fep.up.pt>
14776
14777         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14778
14779 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14780
14781         * .cvsignore: update
14782
14783         * lyx_main.C (commandLineVersionInfo): use new style version info.
14784
14785         * buffer.C (writeFile):
14786         (makeLaTeXFile):
14787         (makeLinuxDocFile):
14788         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14789
14790         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14791
14792         * version.h: update to use stuff in version.C
14793
14794         * version.C.in: new file. Contains version information determined
14795         at compile time. This is a merging of version.h and
14796         version_info.h.in.
14797
14798 2001-10-03  Juergen Vigna  <jug@sad.it>
14799
14800         * BufferView_pimpl.C (update): don't change "dirty" status in
14801         updateInset call.
14802
14803 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14804
14805         * WorkArea.C (c-tor): re-position version string slightly.
14806
14807 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14808
14809         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14810         revert to previous code.
14811
14812         WorkArea.[Ch]: (show, destroySplash): methods removed.
14813
14814         WorkArea.C: rework code so that it's an amalgam of the codes before and
14815         after the splash screen was moved to WorkArea.
14816
14817 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14818
14819         * lyxrc.C (read):
14820         * vspace.C (inPixels):
14821         (lyx_advance):
14822         * kbmap.C (bind):
14823         * buffer.C (insertStringAsLines):
14824         (asciiParagraph): fix types to be large enough
14825
14826         * lyxlex_pimpl.h: change member status from short to int
14827
14828         * layout.h: fix type of endlabeltype
14829
14830         * kbmap.C (bind):
14831         * kbsequence.C (parse): change return type to string::size_type
14832
14833         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14834         variable
14835
14836         * Bullet.C (bulletSize):
14837         (bulletEntry): do not use short ints as parameters
14838
14839         * BufferView2.C (insertLyXFile): change a char to an int.
14840
14841         * WorkArea.C (WorkArea): remove unneeded floats in computation
14842
14843 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14844
14845         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14846
14847         * paragraph.C (asString): Do not ignore newline/hfill chars when
14848         copying to the clipboard.
14849
14850 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14851
14852         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14853         after a multi-line inset.
14854
14855 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14856
14857         * paragraph.C (validate): Set NeedLyXFootnoteCode
14858
14859 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14860
14861         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14862         and decrease-error to decrease.
14863
14864 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14865
14866         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14867         it more readable (should be equivalent)
14868
14869 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14870
14871         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14872
14873 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14874
14875         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14876         of a cursor (row, etc.) after a character has been deleted
14877         (deleteEmptyParagraphMechanism): call the method above on _all_
14878         cursors held by the LyXText when a double space has been
14879         detected/deleted.
14880
14881 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14882
14883         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14884         pixmap.
14885         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14886
14887         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14888         background. Use greyOut() and the new show() methods to toggle between
14889         the foreground and background. Add code to remove the splash after
14890         its initial showing.
14891
14892         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14893         (create_forms): no longer call Dialogs::showSplash.
14894
14895 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14896
14897         * .cvsignore: add version_info.h
14898
14899 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14900
14901         * version_info.h.in: new file
14902
14903         * Makefile.am: add version_info.h.in
14904
14905         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14906         version_info.h instead of VERSION_INFO
14907
14908 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14909
14910         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14911         The ERT inset now returns string().
14912
14913 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14914
14915         * lyxtext.h, text.C (selectNextWord): renamed as
14916         selectNextWordToSpellcheck.
14917
14918         * text.C (selectNextWordToSpellcheck): Modified to not select
14919         words inside an ERT inset.
14920
14921 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14922
14923         * lyx_cb.C (MenuLayoutSave): change a bit the question
14924
14925         * sp_base.h: include <sys/types.h>
14926
14927 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14928
14929         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14930
14931 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14932
14933         * several files: fix typos in user-visible strings
14934
14935 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14936
14937         * text2.C (pasteSelection): do not set the selection, since it
14938         will be cleared later. Actually, the intent was to fix the way the
14939         selection was set, but I figured rmoving the code was just as good.
14940
14941 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14942
14943         * FontLoader.C (available): Check if font is available without
14944         loading the font.
14945
14946 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14947
14948         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14949
14950 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14951
14952         * lyxrc.[Ch]: added display_graphics variable and associated code.
14953
14954 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14955
14956         * bufferparams.C (hasClassDefaults): new method. Returns true if
14957         the buffer parameters correspond to known class defaults
14958
14959 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
14960
14961         * XFormsView.C (show): set minimum size to the main window.
14962
14963 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14964
14965         * text2.C (copySelection):
14966         (cutSelection):
14967         * lyxfind.C (LyXReplace):
14968         * BufferView_pimpl.C (Dispatch): pass the correct flag to
14969         LyXText::selectionAsString.
14970
14971         * paragraph.C (asString): add "label" argument to the second form
14972
14973         * text2.C (selectionAsString): add "label" argument and pass it to
14974         Paragraph::asString.
14975
14976 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14977
14978         * lyx_main.C (commandLineHelp): remove version information
14979
14980 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
14981
14982         * lyx_main.C: add -version commandline option
14983
14984 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14985
14986         * paragraph.h: make the optional constructor arg required instead.
14987         some modifications to other files because of this.
14988
14989         * minibuffer.C (C_MiniBuffer_peek_event): make it static
14990
14991         * lyxserver.C (C_LyXComm_callback): make it static
14992
14993         * lyx_main.C (error_handler): make it static
14994
14995         * lyx_gui.C (LyX_XErrHandler): make it static
14996
14997         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14998
14999         * WorkArea.C: make the extern "C" methods static.
15000
15001         * Makefile.am (lyx_LDADD): simplify
15002
15003 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15004
15005         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15006         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15007
15008         * LyXAction.C (init):
15009         * lyxfunc.C (dispatch): associated code removal.
15010
15011 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15012
15013         * lyxfont.h (isSymbolFont): shut off warning
15014
15015         * text.C (setHeightOfRow):
15016         (getVisibleRow): fix crash with empty paragraphs which have a
15017         bottom line
15018
15019 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15020
15021         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15022         code.
15023
15024 2001-09-04  José Matos  <jamatos@fep.up.pt>
15025         * buffer.C
15026         * buffer.h
15027         * tabular.C (docbook): rename docBook method to docbook.
15028
15029 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15030
15031         * Makefile.am: add dependencies to main.o.
15032
15033 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15034
15035         * FontLoader.C (available): Return false if !lyxrc.use_gui
15036
15037 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15038
15039         * FontInfo.C (query):
15040         * converter.C (view):
15041         * importer.C (Import):
15042         * exporter.C (Export): Can not -> cannot.
15043
15044 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15045
15046         * BufferView_pimpl.C: allow to create index inset even if
15047           string is empty
15048
15049 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15050
15051         * buffer.C (getLists): replace boost::tie code with an explicit pair
15052         as boost::tie can break some compilers.
15053
15054         * iterators.h: Added a std:: declaration to the return type of
15055         ParIterator::size.
15056
15057 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15058
15059         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15060           case.
15061
15062 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15063
15064         * iterators.[Ch]: New files. Provide paragraph iterators.
15065
15066         * buffer.C (changeLanguage): Use paragraph iterators.
15067         (isMultiLingual): ditto
15068
15069         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15070
15071 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15072
15073         * FontLoader.C: Support for cmr font.
15074
15075 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15076
15077         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15078         (available): New method.
15079
15080         * FontInfo.C (getFontname): Use scalable fonts even when
15081         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15082         found.
15083
15084 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15085
15086         * converter.C (Formats::view): reverted! Incorrect fix.
15087
15088 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15089
15090         * converter.C (Formats::view): only output the -paper option
15091         if the dvi viewer is xdvi, thereby fixing bug #233429.
15092
15093 2001-08-23  Herbert Voss  <voss@perce>
15094
15095         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15096
15097 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15098
15099         * Spacing.h (Spacing): Set space to Default on in the default
15100         constructor.
15101
15102 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15103
15104         * vc-backend.h (RCS::versionString): add RCS to version
15105         (CVS::versionString): add CVS to version
15106
15107         * vc-backend.C (scanMaster): do not add CVS to version.
15108         (scanMaster): do not add RCS to version
15109
15110         * lyxvc.C (versionString): new method
15111
15112         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15113
15114 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15115
15116         * Spacing.C (set): initialize fval
15117
15118 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15119
15120         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15121         " or \.
15122
15123 2001-08-16  Juergen Vigna  <jug@sad.it>
15124
15125         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15126
15127 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15128
15129         * BufferView_pimpl.C:
15130         * figureForm.C:
15131         * lyxtext.h:
15132         * text2.C: setParagraph takes linespacing now
15133
15134 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15135
15136         * LyxAction.C: add internal LFUN_CITATION_INSERT
15137
15138         * LyXView.C: actually apply fix
15139
15140         * bufferlist.C: fix open non-existent file
15141
15142         * lyxfind.C: fix indentation
15143
15144         * lyxfunc.C: remove unneeded assert, fix typo
15145
15146 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15147
15148         * MenuBackend.C: use "Floatname List"
15149
15150 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15151
15152         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15153         when converting LaTeX layout to insetERT.
15154         Generate a non-collapsed float when reading old float
15155
15156 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15157
15158         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15159         ERT insets.
15160
15161 2001-08-13  Juergen Vigna  <jug@sad.it>
15162
15163         * text.C (fill): return 0 instead of 20 as this seems to be the more
15164         correct value.
15165
15166 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15167
15168         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15169         lyxrc.font_norm.
15170
15171 2001-08-13  Juergen Vigna  <jug@sad.it>
15172
15173         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15174         casesensitive off.
15175         (SearchBackward): comment out the unlocking of the inset_owner this
15176         should not be needed!
15177
15178 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15179
15180         * Many files: Remove inherit_language, and add latex_language
15181
15182         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15183         collapsible insets.
15184
15185 2001-08-10  Juergen Vigna  <jug@sad.it>
15186
15187         * text.C (prepareToPrint): fixed hfill-width in draw!
15188
15189         * BufferView2.C (selectLastWord): save the selection cursor as this
15190         now is cleared in the function LyXText::clearSelection!
15191
15192 2001-08-08  Juergen Vigna  <jug@sad.it>
15193
15194         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15195         BACKSPACE type functions.
15196
15197         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15198         is only cutted from the document but not put in the cut-buffer, where
15199         still the old stuff should be.
15200
15201         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15202
15203         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15204
15205         * tabular.C (SetWidthOfCell): fixed special case where the width
15206         was not updated!
15207         (LeftLine): handle '|' in align_special.
15208         (RightLine): ditto
15209         (LeftAlreadyDrawed): ditto
15210         (SetWidthOfCell): ditto
15211
15212 2001-08-07  Juergen Vigna  <jug@sad.it>
15213
15214         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15215
15216 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15217
15218         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15219         * lyxlex.[hC]: ditto
15220
15221 2001-08-06  Juergen Vigna  <jug@sad.it>
15222
15223         * text.C (getVisibleRow): fix up row clearing a bit.
15224
15225 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15226
15227         * minibuffer.C: make sure the X server sees the changes in the input.
15228
15229 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15230
15231         * paragraph.C (getFont): split into...
15232         (getLabelFont): this
15233         (getLayoutFont): and this
15234         * paragraph_pimpl.C (realizeFont): calling this
15235
15236         * text2.C (getFont): split into...
15237         (getLayoutFont): this
15238         (getLabelFont): and this
15239         (realizeFont): all three calling this
15240
15241         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15242         files where used.
15243
15244 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15245
15246         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15247
15248 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15249
15250         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15251         layouts from the Quote inset insertion.
15252
15253 2001-08-03  Juergen Vigna  <jug@sad.it>
15254
15255         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15256
15257         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15258         only if status not is already CHANGED_IN_DRAW (second level).
15259
15260         * text.C (draw): don't set the need_break_row when inside an
15261         InsetText LyXText.
15262
15263 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15264
15265         * buffer.C (parseSingleLyXformat2Token): handle more latex
15266         conversion cases.
15267
15268         * bufferview_funcs.[hC]: change function names to
15269         begin with small char, adjust other files.
15270
15271 2001-08-02  André Pönitz <poenitz@gmx.net>
15272
15273         * lyxfunc.C:
15274         BufferView_pimpl.C: remove broken special code for math-greek
15275
15276 2001-08-02  Juergen Vigna  <jug@sad.it>
15277
15278         * BufferView_pimpl.C (update): redone this function so that we
15279         update the text again if there was a CHANGE_IN_DRAW.
15280
15281         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15282         (drawFromTo): added a new internal bool which is used by draw() and
15283         redraw() function.
15284         (general): some cursor drawing problems fixed.
15285
15286 2001-08-01  Juergen Vigna  <jug@sad.it>
15287
15288         * lyxfind.C (LyXFind): fixed
15289         (SearchForward): ditto
15290         (SearchBackward): ditto
15291
15292         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15293         spurius drawing of the cursor in the main area.
15294
15295         * text2.C (status): small fix which could lead to a segfault!
15296         (clearSelection): remove unneeded BufferView param.
15297
15298 2001-08-01  André Pönitz <poenitz@gmx.net>
15299
15300         * lyxfunc.C: small change due to changed mathed interface
15301
15302 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15303
15304         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15305
15306 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15307
15308         * lyxfunc.c: fail gracefully if file doesn't exist
15309
15310         * LyXSendto.C:
15311         * buffer.C:
15312         * lyxfunc.C:
15313         * BufferView_pimpl.C: IsDirWriteable() proto changed
15314
15315         * LyXView.C: fix updateWindowTitle() to store the last title
15316
15317 2001-07-31  Juergen Vigna  <jug@sad.it>
15318
15319         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15320         the font (wrong since using of Paragraph::highestFontInRange).
15321
15322         * paragraph.C (highestFontInRange): added a default_size parameter.
15323
15324         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15325         (setHeightOfRow): reformat
15326
15327 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15328
15329         * converter.[hC] + affected files: move to (inital-char)lowercase
15330         function names.
15331
15332         * ParagraphParameters.C (ParagraphParameters): remove commented code
15333
15334         * PainterBase.[Ch]: remove commented code
15335
15336         * LaTeXFeatures.h: add "bool floats" for float.sty
15337
15338         * LaTeXFeatures.C (LaTeXFeatures): init floats
15339         (require): handle float
15340         (getPackages): do it with floats
15341
15342 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15343
15344         * BufferView_pimpl.C (Dispatch): improve handling of
15345         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15346
15347         * commandtags.h: #include lyxfont.h here temporarily to avoid
15348         keybinding bug.
15349
15350         * bufferlist.h: include LString.h here.
15351
15352 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15353
15354         * text2.C (getStringToIndex): new method.
15355
15356 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15357
15358         * *: Reduced header file dependencies all over.
15359
15360 2001-07-30  Baruch Even  <baruch@lyx.org>
15361
15362         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15363
15364 2001-07-29  Baruch Even  <baruch@lyx.org>
15365
15366         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15367
15368 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15369
15370         * ParameterStruct.h (endif): add a default constructor to make
15371         sure that all variables is initialized.
15372
15373         * ParagraphParameters.C (ParagraphParameters): adjust
15374
15375 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15376
15377         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15378         index; also, check that there is something to index, and that it
15379         does not span over several paragraphs.
15380         (doubleClick): use WHOLE_WORD_STRICT for double click.
15381
15382         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15383
15384         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15385         scheme.
15386
15387 2001-07-26  Baruch Even  <baruch@lyx.org>
15388
15389         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15390         an InsetFig figure, backwards compatible reading of old figure code.
15391
15392 2001-07-27  Juergen Vigna  <jug@sad.it>
15393
15394         * text2.C: font.realize function adaption.
15395
15396         * text.C (draw): add a warnings lyxerr text if needed.
15397
15398         * layout.C: font.realize function adaption.
15399
15400         * language.C: add inherit_language and implement it's handlings
15401
15402         * bufferview_funcs.C (StyleReset): remove language parameter from
15403         font creation (should be language_inherit now).
15404
15405         * bufferparams.C (writeFile): handle ignore_language.
15406
15407         * paragraph.C (getFontSettings): the language has to be resolved
15408         otherwise we have problems in LyXFont!
15409
15410         * lyxfont.C (lyxWriteChanges): added document_language parameter
15411         (update): removed unneeded language parameter
15412
15413         * paragraph.C (validate): fixed wrong output of color-package when
15414         using interface colors for certain fonts in certain environments,
15415         which should not seen as that on the final output.
15416
15417 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15418
15419         * BufferView_pimpl.C:
15420         * Thesaurus.h:
15421         * Thesaurus.C:
15422         * Makefile.am:
15423         * commandtags.h:
15424         * LyXAction.C: add thesaurus support
15425
15426         * lyxfind.h:
15427         * lyxfind.C: add "once" parameter, for thesaurus, to not
15428           move to the next match
15429
15430 2001-07-26  Juergen Vigna  <jug@sad.it>
15431
15432         * lyxfont.C (realize): honor ignore_language too!
15433         (resolved): ditto.
15434
15435         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15436
15437         * text.C (draw): one place more for ignore_language to not draw
15438         itself!
15439
15440 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15441
15442         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15443
15444 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15445
15446         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15447         the minipage conversion problem.
15448
15449 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15450
15451         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15452         insert an inset.
15453
15454 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15455
15456         * BufferView.h: don't forward declare WorkArea
15457
15458         * BufferView.C: don't include WorkArea.h
15459
15460 2001-07-25  André Pönitz <poenitz@gmx.net>
15461
15462         * commandtags.h:
15463         * LyXAction.C:
15464         * lyxfunc.C:  new LFUN 'math-space'
15465
15466         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15467
15468 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15469
15470         * text2.C (toggleInset): call open/close
15471
15472 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15473
15474         * lyxfunc.C (dispatch): add debug for the disabled case
15475
15476         * font.C (buttonText): make similar to rectText
15477
15478         * buffer.C (readInset): comment out parsing of insetlist and
15479         insttheorem
15480
15481         * PainterBase.C (rectText): small correction
15482
15483         * BufferView_pimpl.C: comment out insettheorem and insetlist
15484         * LyXAction.C: ditto
15485         * commandtags.h: ditto
15486
15487 2001-07-24  Juergen Vigna  <jug@sad.it>
15488
15489         * text.C (draw): honor the ignore_language.
15490
15491         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15492
15493 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15494
15495         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15496         char inset.
15497
15498 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15499
15500         * lyxtext.h: remove unused (and unimplemented) methods
15501
15502 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15503
15504         * text.C (getVisibleRow): honor background color
15505
15506         * PainterBase.h:
15507         * Painter.h: remove default color argument for fillRectangle
15508
15509         * text.C (backgroundColor): new method
15510
15511 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15512
15513         * text.C (getVisibleRow): adjust
15514
15515         * font.[Ch] (rectText): new method, metrics
15516         (buttonText): new method, metrics
15517
15518         * PainterBase.[hC]: make rectText and buttonText always draw and take
15519         fewer paramteres.
15520
15521 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15522
15523         * ToolbarDefaults.C (read):
15524         * MenuBackend.C (read): allow escaping in all strings
15525
15526         * BufferView_pimpl.C (insertAndEditInset): new method.
15527         (Dispatch): use insertAndEditInset whenever appropriate.
15528
15529         * BufferView_pimpl.C (insertNote): removed
15530
15531         * BufferView_pimpl.C (smartQuote): new method, moved from
15532         BufferView; if an insetquote cannot be inserted, insert a '"'
15533         character instead.
15534
15535         * BufferView2.C: remove insertCorrectQuote();
15536
15537         * lyxfunc.C (getStatus): Add support for all remaingin
15538         inset-insert lfuns.
15539
15540         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15541
15542         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15543         command (necessary to pass " as parameter of self-insert.
15544
15545         * text.C (selectWordWhenUnderCursor):
15546         (selectWord): add word_location parameter
15547         (selectWordWhenUnderCursor): same + remove special code for word
15548         boundary.
15549         (selectNextWord): use kind() to guess type of insetspecialchar,
15550         not latex().
15551
15552         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15553         (insertErtContents): create ert insets as collapsed.
15554         (readInset): better compatibility code for Info inset.
15555
15556 2001-07-20  Juergen Vigna  <jug@sad.it>
15557
15558         * lyxfunc.C (dispatch): use always LyXFind now!
15559
15560         * text2.C (init): add a reinit flag so that the LyXText can be
15561         reinited instead of deleted and reallocated (used in InsetText).
15562
15563         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15564
15565         * text.C: ditto
15566
15567         * text2.C: ditto
15568
15569 2001-07-18  Juergen Vigna  <jug@sad.it>
15570
15571         * text.C (selectNextWord): handle insets inside inset by calling
15572         always the bv->text functions so that we can go up the_locking_inset!
15573
15574         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15575         in strange locations when inside an inset!
15576
15577         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15578         handling to include insets.
15579
15580         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15581
15582 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15583
15584         * LyXAction.C (init):
15585         * commandtags.h:
15586         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15587         LIGATURE_BREAK, since the name is so stupid.
15588
15589 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15590
15591         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15592         InsetInfos.
15593
15594         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15595
15596         * sp_form.[Ch]: remove.
15597
15598         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15599
15600         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15601         InsetInfo.
15602
15603         * src/buffer.C (readInset): ditto.
15604
15605 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15606
15607         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15608         menuSeparator(), endOfSentenceDot(), ldots() and
15609         hyphenationPoint(), which are therefore removed.
15610         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15611
15612         * LyXAction.C (init):
15613         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15614
15615         * paragraph.C (getWord): removed.
15616
15617         * BufferView_pimpl.C (Dispatch): use last word or selection for
15618         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15619
15620         * lyx_main.C (queryUserLyXDir): do not ask before creating
15621         user_dir, except if it has been named explicitely.
15622
15623 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15624
15625         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15626         a document of zero size.
15627
15628 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15629
15630         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15631         approriately in the c-tor and in require().
15632         (getPackages): output the appropriate LaTeX for natbib support.
15633
15634         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15635         variables "use_natbib" and "use_numerical_citations" when reading the
15636         LyX file.
15637         (readInset): read the various natbib cite commands.
15638         (validate): white-space change.
15639
15640         * bufferparams.[Ch]: new variables "bool use_natbib" and
15641         "bool use_numerical_citations".
15642         (writeFile): output them in the LyX file.
15643
15644 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15645
15646         * lyxfunc.C (getStatus): add support for all the inset insertion
15647         commands.
15648
15649         * text2.C (insertInset):
15650         * paragraph.C (insetAllowed):
15651         * BufferView_pimpl.C (insertInset): update to take in account the
15652         renaming of insertInsetAllowed
15653
15654         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15655
15656         * text2.C (getInset): new method. returns inset at cursor position.
15657
15658         * BufferView_pimpl.C (Dispatch): changes because of this.
15659
15660         * LyXAction.C (init): rename open-stuff to inset-toggle.
15661
15662         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15663
15664         * text2.C (toggleInset): renamed from openStuff; use
15665         Inset::open().
15666
15667 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15668
15669         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15670
15671         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15672
15673 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15674
15675         * buffer.C (readLyXformat2): Add filename to the error dialog
15676
15677 2001-07-18  Juergen Vigna  <jug@sad.it>
15678
15679         * tabular.C (GetCellNumber): put an assert here instead of the check!
15680
15681 2001-07-17  Juergen Vigna  <jug@sad.it>
15682
15683         * BufferView_pimpl.C (toggleSelection): adapted too.
15684
15685         * text.C (selectNextWord): adapted for use with insets.
15686         (selectSelectedWord): ditto
15687
15688 2001-07-17  Juergen Vigna  <jug@sad.it>
15689
15690         * sp_spell.C (PSpell): fix initialitation order.
15691
15692 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15693
15694         * paragraph.C: spacing
15695
15696 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15697
15698         * sp_spell.C: repair language selection for pspell
15699
15700 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15701
15702         * lyxfunc.h: change more methods to begin with lower char.
15703
15704 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15705
15706         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15707         for unknown layouts.
15708
15709 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15710
15711         * buffer.C (readLyXformat2): Generate an error dialog if there are
15712         unknown layouts.
15713
15714 2001-07-16  Juergen Vigna  <jug@sad.it>
15715
15716         * sp_spell.C: always compile ISpell part.
15717
15718         * lyxrc.C: added use_pspell entry and it's handling.
15719
15720 2001-07-13  Juergen Vigna  <jug@sad.it>
15721
15722         * sp_spell.C: removed double includes.
15723
15724 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15725
15726         Consistent use of Lsstream.h:
15727         * Lsstream.h: added using std::stringstream for consistencies sake.
15728
15729         * buffer.C: removed using std::stringstream
15730
15731         * lyxfont.C (stateText):
15732         * paragraph.C (asString):
15733         * text.C (selectNextWord, selectSelectedWord):
15734         * text2.C (setCounter):
15735         * vspace.C (asString, asLatexString):
15736         std::ostringstream -> ostringstream.
15737
15738 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15739
15740         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15741         * commandtags.h: add LFUN_HELP_ABOUTLYX
15742         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15743
15744 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15745
15746         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15747         cursorToggle()
15748         * lyx_gui_misc.C: remove spellchecker
15749         * lyxfunc.C: showSpellchecker
15750         * sp_base.h: added
15751         * sp_ispell.h: added
15752         * sp_pspell.h: added
15753         * sp_spell.C: added
15754         * sp_form.[Ch]: removed
15755         * spellchecker.[Ch]: removed
15756
15757 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15758
15759         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15760         is set.
15761         (simpleTeXSpecialChars): Simply print the input character without
15762         any special translation if pass_thru is set.
15763
15764         * layout.h: Added bool pass_thru to layout class for being able to
15765         implement pass through of a paragraph for Literate Programming.
15766
15767         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15768         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15769         * layout.C (Read): add "passthru" to list of layout tags and add
15770         code to set the pass_thru boolean when it is read.
15771
15772 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15773
15774         * trans_decl.h: remove allowed from KmodInfo
15775
15776         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15777         remove allowed code
15778         (Load): adjust
15779
15780         * paragraph_pimpl.C (erase): use boost::prior
15781
15782         * Painter.C (text): use data() instead of c_str() when length is
15783         also provided.
15784         * WorkArea.C (putClipboard): ditto
15785         * font.h (width): ditto
15786
15787         * BufferView2.C: use it-> instead of (*it). for iterators
15788         * texrow.C: ditto
15789         * paragraph_pimpl.C: ditto
15790         * paragraph.C: ditto
15791         * minibuffer.C: ditto
15792         * language.C: ditto
15793         * kbmap.C: ditto
15794         * encoding.C: ditto
15795         * counters.C: ditto
15796         * converter.C: ditto
15797         * chset.C: ditto
15798         * Variables.C: ditto
15799         * TextCache.C: ditto
15800         * MenuBackend.C: ditto
15801         * LyXAction.C: ditto
15802         * LColor.C: ditto
15803         * FloatList.C: ditto
15804         * DepTable.C: ditto
15805         * ColorHandler.C (LyXColorHandler): ditto
15806
15807 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15808
15809         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15810
15811         * text2.C (openStuff): reintroduce this method (which had been
15812         nuked in NEW_INSETS frenzy).
15813
15814         * lyxfunc.C (Dispatch): when an action has not been handled, use
15815         its name in the error message, not its number.
15816
15817         * paragraph.C (inInset): change method name to begin with lowercase.
15818
15819         * undo_funcs.C:
15820         * text2.C: updates because of this.
15821
15822 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15823
15824         * ToolbarDefaults.C (add): add spaces in error message
15825
15826 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15827
15828         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15829         (readLyXformat2): rename return_par to first_par, use lyxlex's
15830         pushToken and remove the manual push handling.
15831         (parseSingleLyXformat2Token): add another ert comp. variable:
15832         in_tabular, rename return_par to first_par. handle newlines better
15833
15834 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15835
15836         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15837
15838 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15839
15840         * text2.C (getParFromID): removed
15841
15842         * buffer.C (getParFromID): new method moved form lyxtext.
15843         * BufferView2.C (insertErrors): adjust
15844         (setCursorFromRow): adjust
15845         * BufferView_pimpl.C (restorePosition): adjust
15846         * lyxfunc.C (Dispatch): adjust
15847         * undo_funcs.C (textUndo): adjust
15848         (textRedo): adjust
15849         (textHandleUndo): adjust
15850         (textHandleUndo): adjust
15851
15852 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15853
15854         * buffer.C: up' the LYX_FORMAT
15855
15856         * lyxfont.h: turn NO_LATEX on as default
15857
15858         * buffer.C (insertErtContents): new methods of tex style compability.
15859         (parseSingleLyXformat2Token): use it several places.
15860         * tabular.C (OldFormatRead): and here
15861
15862 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15863
15864         * text2.C: remove some commented code.
15865         reindent file.
15866
15867         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15868         * trans.C: changes because of the above.
15869
15870 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15871
15872         * text2.C (setCounter): Fix counters bug with bibliography layout.
15873
15874 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15875
15876         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15877         own member functions
15878         (simpleTeXSpecialChars): ditto
15879
15880 2001-07-06  Juergen Vigna  <jug@sad.it>
15881
15882         * a lot of files: changed the access to LyXText::status and the
15883         call of undo-functions.
15884
15885         * undo.[Ch]: added a inset_id to the undo informations.
15886
15887         * undo_funcs.[Ch]: added and moved here all undo functions.
15888
15889         * lyxtext.h: give the status enum a weight, made status_ a private
15890         variable and made accessor functions for it, removed the whole bunch
15891         of undo-functions as they are now in their own file, make some
15892         functions publically available. Added function ownerParagraph with
15893         int parameter.
15894
15895         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15896         made InInset() a const function, added getParFromID() function.
15897
15898         * buffer.[Ch]: added const version for inset_iterator functions,
15899         added getInsetFromID() function.
15900
15901         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15902         changed undo functions for new version.
15903
15904 2001-07-05  Juergen Vigna  <jug@sad.it>
15905
15906         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15907         unknow mechanism does not call the proper constructor but only this
15908         one also if I request the other!?
15909
15910 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15911
15912         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15913
15914         * text2.C (LyXText): use initialization lists.
15915
15916         * lyxtext.h (Selection): initialize set_ and mark_
15917         (init): remove method
15918
15919 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15920
15921         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15922
15923 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15924
15925         * screen.[Ch]: change method names to begin with lowercase
15926
15927         * BufferView_pimpl.C (updateScrollbar): simplify further and
15928         hopefully make it a bit faster.
15929
15930 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15931
15932         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15933         calling directly xforms functions.
15934
15935         * Painter.C (Painter):
15936         * lyx_cb.C (MenuWrite):
15937         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15938         fl_display.
15939
15940         * lyx_gui.C: remove bogus guiruntime extern declaration.
15941
15942 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15943
15944         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15945         in NEW_INSETS
15946         (redoDrawingOfParagraph): ditto
15947         (redoParagraphs): ditto
15948         (cutSelection): don't create a object for CutAndPaste use the
15949         static method directly
15950         (pasteSelection): ditto
15951
15952         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15953         LyXview (+ rename)
15954
15955 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15956
15957         * modifications to some other files because of this.
15958
15959         * Makefile.am (lyx_SOURCES): add XFormsView
15960
15961         * XFormsView.[Ch]: new files
15962
15963         * LyXView.[Ch]: make LyXView a base class for the gui handling for
15964         the main window. Move the gui dependent stuff to XFormsView
15965
15966 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15967
15968         * tabular.C (GetCellInset): update cur_cell also in the row/col
15969         version of this function.
15970
15971         * lyxfunc.C: no need to include figure_form.h here.
15972
15973         * FontLoader.h:
15974         * lyxfunc.h:
15975         * lyxscreen.h:
15976         * text2.C:
15977         * lyxvc.C: no need to include forms.h here.
15978
15979 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15980
15981         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15982
15983         * lyxfunc.C (Dispatch):
15984         * Spacing.C (set):
15985         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15986         constructor argument.
15987
15988 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15989
15990         * paragraph.C (Paragraph): dont't clear, and just set layout.
15991         (makeSameLayout): use params's copy contructor.
15992
15993         * ParagraphParameters.[Ch] (makeSame): delete method
15994
15995 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
15996
15997         * Variables.[Ch]: fix indentation, rename set to isSet
15998
15999 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16000
16001         * lyxfunc.C (Dispatch): fix typo
16002
16003 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16004
16005         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16006         upper_bound.
16007
16008         * bufferlist.C: include assert.h for emergencyWrite().
16009
16010 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16011
16012         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16013           give up at last (bug #425202) !
16014
16015 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16016
16017         * lyx_gui_misc.C:
16018         * sp_form.h:
16019         * sp_form.C:
16020         * spellchecker.h:
16021         * spellchecker.C: strip spellchecker options and bring up
16022           preferences tab instead
16023
16024 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16025
16026         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16027         the istringstream constructor
16028
16029 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16030
16031         * paragraph.C (getLayout): fix return value
16032
16033         * paragraph.h: do not declare getLayout as inline.
16034
16035         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16036
16037 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16038
16039         * lyxcursor.h (operator<): new func
16040         (operator>): new func
16041         (operator>=): new func
16042         (operator<=): new func
16043
16044         * text.C (changeCase): use selection.start and selection.end
16045         (changeRegionCase): require from to be <= to. Require par to be a
16046         valid paragraph.
16047
16048         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16049
16050 2001-06-27  Juergen Vigna  <jug@sad.it>
16051
16052         * text.C (cursorLeftOneWord): changed to return the cursor and added
16053         overlay with BufferView * parameter which calls this one.
16054         (getWord): added
16055         (selectWord): use new getWord function.
16056         (changeCase): renamed from changeWordCase as and extended to work
16057         also on selections.
16058
16059         * lyxtext.h: added enum word_location
16060
16061         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16062         changeCase as this operates now also on selections.
16063
16064 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16065
16066         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16067
16068         * many files: send debug output to Debug::INFO instead of
16069         Debug::ANY.
16070
16071         * converter.C (View):
16072         (Convert):
16073         (Move): send debug output to Debug::FILES instead of console.
16074
16075 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16076
16077         * lyxfunc.C (getStatus): use func_status
16078
16079         * func_status.h: new header, describing the results of
16080         LyXFunc::getStatus;
16081
16082         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16083         LFUN_MATH_HALIGN.
16084
16085 2001-06-25  The LyX Project  <jug@sad.it>
16086
16087         * buffer.C (sgmlOpenTag):
16088         (sgmlCloseTag):
16089         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16090
16091 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16092
16093         * text2.C: remove some dead code
16094
16095         * tabular.C (GetCellInset): store the last cell checked (gotten)
16096
16097         * tabular.h: add the helper for the speedup
16098
16099         * lyxtext.h: remove some dead code
16100
16101 2001-06-26  The LyX Project  <Asger>
16102
16103         * paragraph.C: Change export to LaTeX of alignment to
16104         \begin{center} and family for better roundtrip work with reLyX.
16105
16106         * Tune the math drawing a bit.
16107
16108 2001-06-25  The LyX Project  <Asger>
16109
16110         * LColor.C (LColor): New color for math background. New color
16111         for buttons.
16112
16113 2001-06-25  The LyX Project  <jug@sad.it>
16114
16115         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16116
16117         * lyxfunc.C (Open):
16118         * bufferlist.C (newFile): do not restrict to files ending with
16119         .lyx
16120
16121         * BufferView_pimpl.C (MenuInsertLyXFile):
16122
16123 2001-06-24  The LyX Project  <jug@sad.it>
16124
16125         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16126         of compare_no_case
16127
16128 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16129
16130         * lyxtext.h: rename most methods to begin with a small char.
16131         Lots of changes because of this.
16132
16133         * paragraph.C (Paragraph): do not call fitToSize
16134         (erase): call Pimpl::erase
16135         (insertChar): call Pimpl::insertChar
16136         (insertInset): call Pipl::insertInset
16137         (breakParagraph): do not call fitToSize
16138         (breakParagraphConservative): do not call fitToSize
16139         (fitToSize): remove method
16140
16141         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16142
16143 2001-06-24  The LyX Project  <Asger>
16144
16145         * Fix Qt compilation^2
16146
16147 2001-06-24  The LyX Project  <jug@sad.it>
16148
16149         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16150         depthHook(getDepth()-1).
16151
16152         * paragraph.h:
16153         * ParagraphParameters.h:
16154         * ParameterStruct.h: change type of depth to unsigned int ==
16155         depth_type. Many adaptations to other files before of that.
16156
16157 2001-06-24  The LyX Project  <Asger>
16158
16159         * Fix Qt compilation.
16160
16161 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16162
16163         * paragraph.h: renamed several methods to begin with small letter.
16164         several changes to many parts of the code because of this.
16165
16166 2001-06-23  The LyX Project  <jug@sad.it>
16167
16168         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16169         rewritten to discard all double spaces when KeepEmpty is off
16170         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16171         to only handle newlines but not fiddle with spaces and friends.
16172
16173         * lyxfunc.C (MenuNew): when doing 'new from template', use
16174         template_path as default directory
16175
16176 2001-06-23  The LyX Project  <Asger>
16177
16178         * Clean-up of header file includes all over
16179         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16180
16181 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16182
16183         * paragraph.h: renamed from lyxparagraph.h
16184
16185 2001-06-23  Asger  <lyx@violet.home.sad.it>
16186
16187         * Buffer.h: Removed Buffer::resize
16188         * BufferList.h: Removed BufferList::resize
16189         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16190         the document lazily when we change the width, or the font settings.
16191
16192 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16193
16194         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16195
16196 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16197
16198         * buffer.h: remove out of date comment
16199
16200 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16201
16202         * lyxscreen.h:
16203         * screen.C: fix "theoretical" GC leak
16204
16205 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16206
16207         * LaTeX.C (scanAuxFile):
16208         (deplog): remove trailing \r when reading stream (useful under
16209         win32)
16210
16211 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16212
16213         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16214         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16215         and BufferView::theLockingInset(Inset*), so should use them and not
16216         access bv_->text->the_locking_inset directly.
16217
16218         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16219
16220 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16221
16222         * Makefile.am:
16223         * tex-defs.h: remove old unused file
16224
16225 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16226
16227         * BufferView_pimpl.C: fix typo, remove minibuffer message
16228           when buffer has loaded
16229
16230 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16231
16232         * lyxfunc.C (Dispatch): use stringstream
16233         (MenuNew): use stringstream
16234         (Open): use stringstream
16235
16236         * importer.C (Import): use stringstream
16237
16238         * bufferview_funcs.C (CurrentState): use stringstream
16239
16240         * LaTeX.C (run): use stringstream
16241
16242         * BufferView_pimpl.C (savePosition): use stringstream
16243         (restorePosition): use stringstream
16244         (MenuInsertLyXFile): use stringstream
16245
16246 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16247
16248         * BufferView.C:
16249         * Bullet.C:
16250         * ColorHandler.C:
16251         * FontInfo.C:
16252         * FontLoader.C:
16253         * LColor.C:
16254         * LaTeXFeatures.C:
16255         * Painter.C:
16256         * gettext.C:
16257         * lyx_gui_misc.C:
16258         * lyxserver.C:
16259         * vspace.C: removed // -*- C++ -*- as first line.
16260
16261         * lyxfind.h:
16262         * version.h: added // -*- C++ -*- as first line.
16263
16264 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16265
16266         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16267
16268         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16269         of string
16270
16271 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16272
16273         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16274         of floats.
16275
16276 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16277
16278         * gettext.C: include LString.h even when --disable-nls is on.
16279
16280 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16281
16282         * converter.h (Get): changed argument type from int to
16283         FormatList::size_type to avoid unnecessary conversion.
16284
16285         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16286         before using it.
16287
16288 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16289
16290         * gettext.h: include LString.h even when --disable-nls is on.
16291
16292 2001-06-07  Juergen Vigna  <jug@sad.it>
16293
16294         * text.C (BreakAgain): subst spaces with tabs.
16295
16296         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16297         (resizeInsetsLyXText): set force on resizeLyXText.
16298
16299 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16300
16301         * gettext.h (gettext_init):
16302         (locale_init): use a real definition instead of a macro
16303
16304 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16305
16306         * Bufferview_pimpl.C:
16307         * LColor.h:
16308         * LColor.C: further lcolor tidies
16309
16310 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16311
16312         * BufferView_pimpl.C (updateScrollbar): simplify.
16313
16314         * BufferView2.C: don't include insets/insetinfo.h, change
16315         prototype for insertInset and call the Pimpl version. let
16316         updateInset call Pimpl version.
16317
16318         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16319         gotoInset to BufferView::Pimpl
16320
16321 2001-06-01  Juergen Vigna  <jug@sad.it>
16322
16323         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16324         inside a LockingInset (is the update needed at all?).
16325
16326 2001-05-31  Juergen Vigna  <jug@sad.it>
16327
16328         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16329         here not the old one otherwise how should we compare it afterwards
16330         if it's the same!
16331
16332 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16333
16334         * lyxfont.C:
16335         * tabular.C:
16336         * tabular-old.C:
16337         * FontInfo.C: bring C functions into global namespace when
16338         necessary
16339
16340 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16341
16342         * LString.h: make sure config.h has been loaded before LString.h.
16343
16344         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16345         (one for each char read by EatLine!).
16346
16347         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16348         variables.
16349
16350 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16351
16352         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16353         to the same as the par we break from
16354
16355 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16356
16357         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16358
16359         * MenuBackend.C (expand): also create menu entries for wide
16360         versions of the floats.
16361
16362         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16363
16364         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16365
16366         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16367         frontends/Makefile.am
16368
16369         * text2.C: adjust
16370         * text.C: adjust
16371
16372
16373         * tabular.C (getTokenValue): add std::
16374
16375         * tabular-old.C (getTokenValue): add std::
16376         (getTokenValue): ditto
16377         (getTokenValue): ditto
16378
16379         * screen.C (ToggleSelection): adjust
16380
16381         * lyxtext.h: put selection cursors inside a Selection struct.
16382
16383         * lyxfunc.C (moveCursorUpdate): adjust
16384
16385         * lyxfont.C (latexWriteStartChanges): add std::
16386
16387         * lyxfind.C: adjust
16388
16389         * font.h: delete with(char const *, LyXFont const &)
16390
16391         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16392
16393         * FontInfo.C (getFontname): add std::
16394
16395         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16396         (workAreaButtonPress): adjust
16397         (tripleClick): adjust
16398         (update): adjust
16399         (moveCursorUpdate): adjust
16400         (Dispatch): adjust
16401
16402         * BufferView2.C (gotoInset): adjust
16403
16404 2001-05-30  Juergen Vigna  <jug@sad.it>
16405
16406         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16407         to check pspell I add this as default as I now have new pspell
16408         libraries and they seem to use this.
16409
16410 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16411
16412         * text2.C (CutSelection): make the cursor valid before the call to
16413         ClearSelection.
16414
16415 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16416
16417         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16418         relied on 0 terminated strings and other horrors. Bug found due to
16419         the new assert in lyxstring!
16420
16421         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16422         KP_ keys.
16423
16424 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16425
16426         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16427         to latinkeys.bind.
16428
16429         * lyxfunc.C (processKeySym): change method of getting to the
16430         self-insert char.
16431
16432         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16433         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16434         * BufferView_pimpl.[Ch]: here as private methods.
16435
16436 2001-05-28  Juergen Vigna  <jug@sad.it>
16437
16438         * text.C (SetHeightOfRow): added the update() call again as it is
16439         needed to initialize inset dimensions!
16440
16441 2001-05-16  Juergen Vigna  <jug@sad.it>
16442
16443         * text2.C (SetCharFont): Add new function with BufferView * and
16444         bool toggleall parameters for setting insets internal fonts.
16445         (SetFont): Freeze the undo as we may change fonts in Insets and
16446         all this change should be inside only one Undo!
16447
16448         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16449         setting font's in insets as for them we have the SetFont function!
16450
16451 2001-05-15  Juergen Vigna  <jug@sad.it>
16452
16453         * text2.C (ClearSelection): to be sure we REALLY don't have any
16454         selection anymore!
16455
16456         * tabular.C (TeXCellPreamble): fixed the left border problem for
16457         multicolumn cells.
16458
16459 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16460
16461         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16462         dependancy file
16463
16464 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16465
16466         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16467         LFUN_BREAKPARAGRAPH.
16468
16469         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16470         help test to "internal only", similar for LFUN_INSERT_URL
16471
16472         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16473         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16474         auto_region_delete and deadkeys.
16475
16476 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16477
16478         * LColor.h:
16479         * LColor.C: remove some dead entries, tidy a little
16480
16481 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16482
16483         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16484         commented code.
16485         (Dispatch): implement LFUN_ESCAPE
16486
16487         * commandtags.h: add LFUN_ESCAPE
16488
16489         * LyXAction.C (init): add entry for LFUN_ESCAPE
16490
16491         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16492         Remove commented code.
16493         (insertNote): moved here
16494         (open_new_inset): moved here
16495
16496         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16497         BufferView_pimpl
16498
16499 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16500
16501         * kbmap.C (findbinding): clean it up and make it work correctly.
16502
16503         * lyx_main.C (init): do not pass argc and argv as parameters
16504
16505 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16506
16507         * buffer.C: fix path for OS/2 & Win32
16508
16509         * lyx_gui.C:
16510         * lyx_main:
16511         * lyx_main.C: Added os:: class.
16512
16513         * os2_defines.h: update
16514
16515 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16516
16517         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16518         better by trying again with reduced state.
16519
16520 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16521
16522         * lyxrc.C (read): print error about invalid key sequence only when
16523         debugging (because not all latinX keysyms are known to some X
16524         servers)
16525
16526         * kbsequence.C (getiso): add a few std:: qualifiers
16527         (getiso): comment out extra return statement.
16528
16529 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16530
16531         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16532         handling.
16533         (Dispatch): enhance the accent inset a bit. (not perfect)
16534
16535 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16536
16537         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16538
16539 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16540
16541         * bufferlist.C (emergencyWrite): fix assert() call
16542
16543 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16544
16545         * text.C (InsertChar): Added trivial patch to only send the "you
16546         can not do multiple spaces this way" message once during a
16547         session.
16548
16549 2001-05-08  Baruch Even  <baruch@lyx.org>
16550
16551         * Makefile.am: Changed order of libraries to get LyX to link properly
16552         with the gnome frontend.
16553
16554 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16555
16556         * LaTeXFeatures.h: add a std:: qualifier
16557
16558 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16559
16560         * paragraph.C (String): use stringstream
16561
16562 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16563
16564         * paragraph.C (writeFile): remove footflag arg
16565
16566         * buffer.C (makeLaTeXFile): use stringstream
16567         (latexParagraphs): remove footnot gurba
16568
16569         * LaTeXFeatures.C (getPackages): use stringstream
16570         (getMacros): likewise
16571         (getTClassPreamble): likewise
16572         (getFloatDefinitions): new method
16573
16574         * paragraph.C (writeFile): reindent
16575         (Erase): reindent
16576
16577         * WorkArea.h: revert the xpos + etc changes.
16578
16579         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16580
16581         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16582
16583         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16584         (pasteSelection): likewise
16585         * text2.C (CreateUndo): likewise
16586
16587 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16588
16589         * minibuffer.C (peek_event): temporarily reduce the functionality
16590         of the minibuffer (to allow args on lfuns)
16591
16592         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16593         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16594
16595         * buffer.C (readInset): add compability reading of old float
16596         lists, add reading of new style float list.
16597         (readInset): avoid reevaluation of inscmd.getCmdName()
16598         (getLists): reindent
16599
16600         * MenuBackend.C (MenuItem): implement parsing of
16601         md_floatlistinsert and md_floatinsert.
16602         (expand::LastFiles): move initalizaton of iterators out of loop,
16603         avoid reevaluation.
16604         (expand::Documents): introduce typdedef vector<string> Strings,
16605         and use it.
16606         (expand::ExportFormats): introduce typedef vector<Format const *>
16607         Formats, and use it.
16608         (expand): implement FloatListInsert and FloatInsert.
16609
16610         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16611         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16612         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16613
16614         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16615         handling.
16616         (Dispatch::LFUN_FLOAT_LIST): implement
16617
16618 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16619
16620         * LaTeX.C (run): Fix problem with --export code.
16621
16622 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16623
16624         * BufferView.[Ch] (workarea): removed.
16625         (getClipboard) new method; wrapper for workarea()->getClipboard()
16626
16627         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16628         bug.
16629
16630         * WorkArea.h (width, height, xpos, ypos): These methods all
16631         returned the dimensions of the work_area sub-area of WorkArea,
16632         resulting in a position error if the WorkArea were resized. Now
16633         return the dimensions of the entire WorkArea.
16634
16635         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16636
16637 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16638
16639         * LaTeX.C (deplog): correct the syntax of regex reg1
16640
16641 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16642
16643         * undo.C: remove !NEW_INSETS cruft
16644
16645 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16646
16647         * text2.C: remove !NEW_INSETS cruft
16648
16649         * text.C: remove !NEW_INSETS cruft
16650
16651         * tabular.C: remove !NEW_INSETS cruft
16652
16653         * spellchecker.C: remove !NEW_INSETS cruft
16654
16655         * lyxtext.h: remove !NEW_INSETS cruft
16656
16657         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16658
16659         * lyxfunc.C: remove !NEW_INSETS cruft
16660
16661         * lyxfind.C: remove !NEW_INSETS cruft
16662
16663         * lyx_cb.C: remove !NEW_INSETS cruft
16664
16665         * figureForm.C: remove  !NEW_INSETS cruft
16666
16667         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16668
16669         * buffer.[Ch]: remove !NEW_INSETS cruft
16670
16671         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16672
16673         * CutAndPaste.C: remove !NEW_INSETS cruft
16674
16675         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16676
16677         * BufferView2.C: remove !NEW_INSETS cruft
16678
16679         * BufferView.h: remove !NEW_INSETS cruft
16680
16681 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16682
16683         * Lsstream.h: include LString.h before the sstream headers to
16684         fix problem with gcc 2.95.3 and lyxstring
16685
16686 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16687
16688         * lyx_main.C: add using directives when needed for C functions
16689         declared in std:: namespace.
16690
16691 2001-04-27  Juergen Vigna  <jug@sad.it>
16692
16693         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16694         (SetHeightOfRow): comment out the update call should not be needed!
16695
16696 2001-04-13  Juergen Vigna  <jug@sad.it>
16697
16698         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16699         (LyXTabular): tried to minimize operator= operations (and realized
16700         hopfully Lars wish).
16701
16702 2001-04-27  Juergen Vigna  <jug@sad.it>
16703
16704         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16705
16706 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16707
16708         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16709
16710         * buffer.C (readInset): hack to make listof algorithm work
16711
16712         * BufferView_pimpl.C: hack to make listof algorithm work
16713
16714 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16715
16716         * LyXAction.C: removed all !NEW_INSETS cruft
16717         (init): moved lfun_item in method
16718
16719         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16720
16721 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16722
16723         * BufferView2.C (theLockingInset): white space.
16724
16725 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16726
16727         * minibuffer.C: include <iostream>
16728
16729         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16730
16731         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16732
16733         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16734
16735         * text.[Ch] (TransposeChars): new method
16736
16737 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16738
16739         * call message directly through LyXView instead of through LyXFunc
16740         * BufferView2.C: adjust
16741         * BufferView_pimpl.C: adjust
16742         * FontLoader.C: adjust
16743         * buffer.C: adjust
16744         * bufferview_funcs.C: adjust
16745         * converter.C: adjust
16746         * figureForm.C: adjust
16747         * importer.C: adjust
16748         * lyx_cb.C: adjust
16749         * lyx_gui_misc.C: adjust
16750         * lyxfunc.C: adjust
16751         * lyxvc.C: adjust
16752         * text2.C: adjust
16753         + more files in subdirs
16754
16755         * lyxparagraph.h (size): move up int file
16756         (GetLayout): ditto
16757
16758         * adjust all uses of Assert to lyx::Assert.
16759
16760         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16761         lyxfunctional in namespace lyx
16762         * layout.C (hasLayout): ditto
16763         (GetLayout): ditto
16764         (GetLayout): ditto
16765         (delete_layout): ditto
16766         (NumberOfClass): ditto
16767         * converter.C (GetFormat): ditto
16768         (GetNumber): ditto
16769         (Add): ditto
16770         (Delete): ditto
16771         (SetViewer): ditto
16772         * bufferlist.C (getFileNames): ditto
16773         (emergencyWriteAll): ditto
16774         (exists): ditto
16775         (getBuffer): ditto
16776         * MenuBackend.C (hasSubmenu): ditto
16777         (hasMenu): ditto
16778         (getMenu): ditto
16779         * BufferView_pimpl.C (getInsetByCode): ditto
16780
16781 2001-04-18  Juergen Vigna  <jug@sad.it>
16782
16783         * vspace.C (asLatexString): fixed the 100% problem.
16784
16785 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16786
16787         * lyxfunc.C (Dispatch):
16788         * minibuffer.C:
16789         * minibuffer.h: add a few std:: qualifiers
16790
16791 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16792
16793         * minibuffer.[Ch]: reimplement so that commands is initiated and
16794         run from lyxfunc, simplified som handling, and made the completion
16795         and history code for complete. wip.
16796
16797         * lyxfunc.C (processKeySym): call message
16798         (miniDispatch): new temporary method
16799         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16800         (LFUN_MESSAGE): implement
16801         (LFUN_MESSAGE_PUSH): implement
16802         (LFUN_MESSAGE_POP): implement
16803         (initMiniBuffer): the initial/defualt minibuffer message.
16804
16805         * lyxfont.[Ch]: inline some more getters
16806
16807         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16808
16809         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16810
16811         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16812         (AutoSave): use LFUN_MESSAGE
16813         (Reconfigure): ditto
16814
16815         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16816
16817         * figureForm.C: use LFUN_MESSAGE
16818
16819         * converter.C (runLaTeX): use LFUN_MESSAGE
16820
16821         * bufferview_funcs.C: use LFUN_MESSAGE
16822         (Melt): ditto
16823         (changeDepth): ditto
16824
16825         * bufferparams.h: use boost::
16826
16827         * bufferlist.h: inherit privately from noncopyable
16828
16829         * bufferlist.C (loadLyXFile): remove some commented code.
16830
16831         * buffer.C (runChktex): use LFUN_MESSAGE
16832
16833         * ShareContainer.h: inherit privately from noncopyable
16834
16835         * ParagraphParameters.[hC] (depth): inline it.
16836
16837         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16838         methods.
16839         (message): new method
16840         (messagePush): ditto
16841         (messagePop): ditto
16842         (show): init minibuffer
16843         (showState): direct call
16844
16845         * LaTeX.[Ch]: inherit privately from noncopyable
16846         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16847         instead of WriteStatus.
16848
16849         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16850
16851         * BufferView_pimpl.C (buffer): don't init minibuffer
16852         (workAreaButtonPress): use LFUN_MESSAGE
16853         (workAreaButtonRelease): ditto
16854         (savePosition): ditto
16855         (restorePosition): ditto
16856         (MenuInsertLyXFile): ditto
16857         (workAreaExpose): don't init minibuffer
16858         (update): remove commented code, simplify
16859
16860         * BufferView2.C (openStuff): use LFUN_MESSAGE
16861         (toggleFloat): ditto
16862         (menuUndo): ditto
16863         (menuRedo): ditto
16864         (copyEnvironment): ditto
16865         (pasteEnvironment): ditto
16866         (copy): ditto
16867         (cut): ditto
16868         (paste): ditto
16869         (gotoInset): ditto
16870         (updateInset): remove some commented code
16871
16872         * lastfiles.h: inherit privately from noncopyable
16873         * layout.h: ditto
16874         * lyx_gui.h: ditto
16875         * lyx_main.h: ditto
16876         * lyxlex.h: ditto
16877         * lyxlex_pimpl.h: ditto
16878
16879         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16880         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16881         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16882
16883         * LyXAction.h: inherit privately from noncopyable, add methods
16884         func_begin, func_end, returning iterators to the func map.
16885
16886         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16887         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16888         (func_begin): new method
16889         (func_end): new method
16890
16891         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16892         and not)
16893         (copySelection): ditto
16894         (pasteSelection): ditto
16895
16896         * BufferView.C: whitespace change
16897         * BufferView.h: inherit privately from noncopyable
16898
16899 2001-04-16  Allan Rae  <rae@lyx.org>
16900
16901         * tabular-old.C (l_getline):
16902         * spellchecker.C (sc_check_word):
16903         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16904         an unrecognised preprocessor directive.  So ensure they're wrapped.
16905
16906 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16907
16908         * src/exporter.C (Export): Give an error message when path to file
16909         contains spaces.
16910
16911 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16912
16913         * LaTeX.C (deplog): Always check that foundfile exists.
16914
16915 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16916
16917         * lyx_main.h:
16918         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16919
16920 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16921
16922         * tabular.[Ch] (getLabelList): implement new method
16923
16924         * minibuffer.h: comment ouf setTiimer
16925
16926         * minibuffer.C (ExecutingCB): constify res
16927         (peek_event): constify s
16928         (Set): constify ntext
16929         (Init): constify nicename
16930
16931         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16932
16933         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16934         (savePosition): use two params to Minibuffer::Set
16935         (restorePosition): ditto
16936
16937 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16938
16939         * lyx_main.C: include language.h
16940
16941         * Makefile.am (lyx_main.o): add language.h
16942
16943 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16944
16945         * exporter.C:
16946         * paragraph.C:
16947         * screen.C:
16948         * tabular.C:
16949         * CutAndPaste.C: include gettext.h
16950
16951         * lyxfont.h: remove old hack with ON and OFF.
16952
16953         * lyxparagraph.h:
16954         * lyxfont.h: do not include language.h...
16955
16956         * BufferView2.C:
16957         * LaTeXFeatures.C:
16958         * Painter.C:
16959         * bufferview_funcs.C:
16960         * font.C:
16961         * lyxfont.C:
16962         * text.C:
16963         * text2.C:
16964         * trans_mgr.C:
16965         * paragraph.C: ... but do it here instead
16966
16967 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16968
16969         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16970
16971         * tabular.C: small reformat
16972
16973         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16974         NEW_INSETS version
16975         (GetChar): ditto
16976         (BreakParagraph): ditto
16977         (SetOnlyLayout): ditto
16978         (SetLayout): ditto
16979
16980         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16981         with one arg less.
16982
16983         * lastfiles.C: removed most using decl, add std:: where needed
16984
16985         * buffer.C: ws changes
16986
16987         * MenuBackend.C (class compare_format): put into anon namespace
16988         (expand): constify label, names, action, action2
16989         (expand):
16990
16991         * text.C (SingleWidth): constify font
16992         (IsBoundary): constify rtl2
16993         (GetVisibleRow): constify ww
16994
16995         * LaTeX.C (deplog): constify logfile
16996
16997         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16998         start_x, end_x
16999         (workAreaExpose): constify widthChange, heightChange
17000
17001         * lyxrow.C (par): moved
17002         (height): moved
17003         (next): moved
17004         * lyxrow.h: as inlines here
17005
17006         * lyxfont.h (shape): moved from lyxfont.C
17007         (emph): moved from lyxfont.C
17008
17009         * lyxfont.C (LyXFont): use initialization list for all
17010         constructors
17011         (shape): move to lyxfont.h as inline
17012         (emph): move to lyxfont.h as inline
17013
17014
17015 2001-04-04  Juergen Vigna  <jug@sad.it>
17016
17017         * vspace.C: had to include stdio.h for use of sscanf
17018
17019 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17020
17021         * BufferView.h:
17022         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17023         independent of xforms.
17024
17025 2001-04-02  Juergen Vigna  <jug@sad.it>
17026
17027         * spellchecker.C: fixed namespace placing!
17028
17029 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17030
17031         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17032         the LyXParagraph * is 0.
17033
17034 2001-03-29  Juergen Vigna  <jug@sad.it>
17035
17036         * vspace.C: added support for %, c%, p%, l%.
17037         (stringFromUnit): added helper function.
17038         (asLatexString): changed to give right results for the %-values.
17039
17040         * buffer.C: convert the widthp in a width%.
17041
17042 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17043
17044         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17045         figureForm.[Ch].
17046
17047         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17048         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17049
17050         * lyx_cb.[Ch]: see above.
17051
17052         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17053         form1.[Ch].
17054
17055         * form1.[Ch]:
17056         * lyx.[Ch]: replaced by figure_form.[Ch].
17057
17058         * lyx_gui.C:
17059         * lyx_gui_misc.C:
17060         * lyxfunc.C: changed headers associated with above changes.
17061
17062 2001-03-27  Juergen Vigna  <jug@sad.it>
17063
17064         * BufferView_pimpl.C: set the temporary cursor right!
17065
17066 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17067
17068         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17069
17070 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17071
17072         * LString.h: removed "using std::getline"!
17073
17074         * BufferView_pimpl.C (Dispatch): changes due to changes in
17075         InsetInclude::Params.
17076
17077         * buffer.C (tag_name): removed redundant break statements as they were
17078         producing lots of warnings with my compiler.
17079
17080 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17081
17082         * LString.h: add "using std::getline" when using the real <string>.
17083
17084 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17085
17086         * buffer.C: removed bitset usage.
17087         PAR_TAG moved to an anonymous name space.
17088         (tag_name): new funtion, also in the anonymous namespace.
17089         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17090         (makeDocBookFile): clean code. Completed transition from string arrays
17091         to string vectors.
17092         (SimpleDocBookOnePar): code clean.
17093
17094 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17095
17096         * tabular.C: add some comments.
17097
17098 2001-03-22  Juergen Vigna  <jug@sad.it>
17099
17100         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17101         compatibility read a bit and fixed bug with minipage in different
17102         depth.
17103
17104 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17105
17106         * buffer.C (pop_tag): removed.
17107         (push_tag): removed.
17108         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17109         array replaced with vector. Added support for CDATA sections.
17110         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17111         at any nest level.
17112         (makeDocBookFile): XML conformant declaration of CDATA section,
17113         fixed bug related to <emphasis> in the first paragraph char.
17114         (sgmlOpenTag): exclude empty tags.
17115         (sgmlCloseTag): ditto.
17116
17117         * buffer.h (pop_tag): removed.
17118         (push_tag): removed.
17119
17120 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17121
17122         * language.h (Languages): added size_type and size().
17123
17124 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17125
17126         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17127         response on compability reading of minipages. One probliem is that
17128         the old usage of minipages was «flertydig»
17129
17130         * several files here and in subdirs: don't use static at file
17131         scope use anon namespaces instead.
17132
17133 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17134
17135         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17136         LaTeX output. This is necessary for Literate document
17137         processing.
17138
17139 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17140
17141         * buffer.C: insert hfill when needed.
17142
17143         * tabular.C (l_getline): use string::erase, small whitespace change.
17144
17145         * BufferView_pimpl.C: try the anon namespace.
17146         * WorkArea.C: ditto
17147
17148 2001-03-16  Juergen Vigna  <jug@sad.it>
17149
17150         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17151         otherwise it won't open options-dialogs.
17152
17153         * buffer.C: honor pextraWidth(p) on converting minipages.
17154
17155         * tabular.C (l_getline): changed the functions to strip trailing \r.
17156
17157 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17158
17159         * BufferView_pimpl.C:
17160         * minibuffer..C: added "using SigC::slot" declaration.
17161
17162 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17163
17164         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17165
17166         * text2.C: ditto
17167
17168         * text.C: ditto
17169
17170         * paragraph.C: ditto
17171
17172         * lyxtext.h: NO_PEXTRA
17173
17174         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17175
17176         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17177         * ParameterStruct.h: ditto
17178         * ParagraphParameters.h: ditto
17179         * lyxparagraph.h: ditto
17180
17181 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17182
17183         * buffer.C: add compability for minipage alignment.
17184         (latexParagraphs): remove unwanted pextra check.
17185
17186         * several files: remove CXX_WORKING_NAMESPACES
17187
17188         * buffer.C (pop_tag): tie is in namespace boost
17189
17190         * BufferView.h: noncopyable is in namespace boost
17191         * lyxlex.h: ditto
17192         * lyx_main.h: ditto
17193         * lyx_gui.h: ditto
17194         * layout.h: ditto
17195         * lastfiles.h: ditto
17196         * bufferlist.h: ditto
17197         * ShareContainer.h: ditto
17198         * LyXView.h: ditto
17199         * LyXAction.h: ditto
17200         * LaTeX.h: ditto
17201
17202 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17203
17204         * Merging changes from BRANCH_MVC back into HEAD.
17205
17206         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17207
17208 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17209
17210         * BufferView_pimpl.C: change from intl.C
17211
17212         * combox.h:
17213         * combox.C:
17214         * Makefile.am: move combox.*
17215
17216         * form1.h:
17217         * form1.C:
17218         * lyx_gui.C:
17219         * intl.h:
17220         * intl.C: remove dialog (covered by prefs)
17221
17222 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17223
17224         * lyxfunc.C (Dispatch): removed redundant break statement.
17225
17226 2001-03-14  Juergen Vigna  <jug@sad.it>
17227
17228         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17229
17230 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17231
17232         * buffer.C: add hack to fix compability reading of minipages.
17233
17234 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17235
17236         * buffer.C (getLists): Cleanup.
17237
17238 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17239
17240         * lyxfont.C (update): don't honor toggleall on font size.
17241
17242 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17243
17244         * bmtable.c:
17245         * bmtable.h:
17246         * Makefile.am: moved to frontends/xforms/
17247
17248         * lyx_gui_misc.C:
17249         * lyxfunc.C:
17250         * BufferView_pimpl.C: changes for moved mathpanel
17251
17252 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17253
17254         * gettext.h: fix gettext_init() in --disable-nls
17255
17256 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17257
17258         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17259
17260 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17261
17262         * lyx.C:
17263         * lyx.h: strip external form
17264
17265 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17266
17267         * BufferView_pimpl.C: add comment, destroySplash()
17268
17269 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17270
17271         * BufferView_pimpl.C:
17272         * LyXAction.C:
17273         * buffer.C:
17274         * commandtags.h:
17275         * lyxfunc.C: use re-worked insetinclude
17276
17277 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17278
17279         * buffer.C: add using std::stringstream.
17280
17281         * lyx_cb.C: readd using std::ios.
17282
17283         * buffer.C: add using std::map.
17284
17285         * BufferView_pimpl.C: add using std::vector.
17286
17287         * ShareContainer.h: add std:: to swap.
17288
17289         * buffer.h: add some typedefs
17290         * buffer.C (getLists): use them
17291         (getLists): renamed from getTocList.
17292         add a counter for the different float types and use it in the
17293         generated string.
17294         (getLists): use the same counter for the NEW_INSETS and the "non"
17295         NEW_INSETS
17296
17297         * lyx_cb.h: remove unused items, includes, using etc.
17298
17299         * ShareContainer.h: remove some commented code, add more comments
17300         and "documentation".
17301
17302 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17303
17304         * buffer.C (getTocList): make the list also when NEW_INSETS is
17305         defined.
17306
17307         * buffer.h: remove TocType
17308
17309         * buffer.C (getTocList): change to return a map<string,
17310         vector<TocItem> >, implement for dynamic number of list.
17311
17312         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17313         * text2.C (PasteSelection): adjust
17314         * CutAndPaste.C (pasteSelection): adjust
17315
17316         * FloatList.C (FloatList): update from the new_insets branch.
17317         * Floating.[Ch]: ditto
17318         * LaTeXFeatures.C: ditto
17319         * buffer.C: ditto
17320         * lyxlex_pimpl.C: ditto
17321
17322         * paragraph.C (Last): remove when NEW_INSETS is defined.
17323
17324         * other file: changes because of the above.
17325
17326 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17327
17328         * lyxparagraph.h: rename next to next_, previous to previous_,
17329         make them private for NEW_INSETS. Rename Next() to next(),
17330         Previous() to previous().
17331
17332         * other files: changes because of the above.
17333
17334 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17335
17336         * BufferView.h:
17337         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17338         problem.
17339
17340 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17341
17342         * main.C (main): pass lyx_localedir to gettext_init().
17343
17344         * gettext.h: remove locale_init and gettext_init macros
17345
17346         * gettext.C (locale_init): new function
17347         (gettext_init): new function
17348
17349         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17350         setlocale().
17351
17352 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17353
17354         * Moved credits to frontends:
17355         * credits.[Ch]: removed
17356         * credits_form.[Ch]: removed
17357         * lyx_gui_misc.C: remove credits stuff
17358         * Makefile.am:
17359
17360 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17361
17362         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17363
17364         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17365         unneeded destructor.
17366
17367         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17368         a standalone pointer again.
17369
17370         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17371
17372 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17373
17374         * Makefile.am:
17375         * filedlg.h:
17376         * filedlg.C:
17377         * LyXAction.C:
17378         * ToolbarDefaults.C:
17379         * bufferlist.C:
17380         * commandtags.h:
17381         * form1.C:
17382         * form1.h:
17383         * lyx_cb.C:
17384         * lyx_cb.h:
17385         * lyxfunc.h:
17386         * lyxfunc.C:
17387         * BufferView_pimpl.C: use new file dialog in GUII
17388
17389         * lyx_cb.h:
17390         * lyx_cb.C: remove LayoutsCB to Toolbar
17391
17392 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17393
17394         * ShareContainer.h (get): add std:: qualifier
17395
17396 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17397
17398         * ShareContainer.h: define a proper ShareContainer::value_type
17399         type (and use typename to please compaq cxx)
17400
17401 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17402
17403         * lyxparagraph.h: move serveral local vars to
17404         ParameterStruct/ParagraphParameters., use ShareContainer in
17405         FontTable., make vars in FontTable private and add getter and
17406         setter.
17407
17408         * paragraph.C: changes because of the above.
17409
17410         * lyxfont.h: remove copy constructor and copy assignment. (the
17411         default ones is ok), move number inside FontBits. move inlines to
17412         lyxfont.C
17413
17414         * lyxfont.C: add number to initializaton of statics, move several
17415         inlines here. constify several local vars. some whitespace
17416         cleanup. Dont hide outerscope variables.
17417
17418         * Spacing.h: add two new constructors to match the set methods.
17419
17420         * ShareContainer.h: new file, will perhaps be moved to support
17421
17422         * ParameterStruct.h: new file
17423
17424         * ParagraphParameters.h: new file
17425
17426         * ParagraphParameters.C: new file
17427
17428         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17429         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17430
17431         * BufferView_pimpl.C: ParagraphParameter changes.
17432         * buffer.C: Likewise.
17433         * bufferview_funcs.C: Likewise.
17434         * text.C: Likewise.
17435         * text2.C: Likewise.
17436
17437 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17438
17439         * lyxfind.C (LyXReplace): do not redefine default argument in
17440         implementation.
17441         (IsStringInText): ditto
17442         (SearchForward): ditto
17443         (SearchBackward): ditto
17444
17445 2001-03-06  Juergen Vigna  <jug@sad.it>
17446
17447         * lyxfind.C (IsStringInText): put parentes around expressions.
17448
17449 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17450
17451         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17452
17453 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17454
17455         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17456
17457         * stl_string_fwd.h: add comment
17458
17459         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17460
17461         * tabular.h:
17462         * tabular.C: remove unused DocBook methods
17463
17464         * intl.C:
17465         * language.C:
17466         * paragraph.C:
17467         * buffer.C:
17468         killed DO_USE_DEFAULT_LANGUAGE
17469
17470 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17471
17472         * lyx_gui.C: do not include language.h.
17473
17474         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17475         arguments in function implementation.
17476
17477 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17478
17479         * BufferView_pimpl.C: add <ctime>
17480
17481 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17482
17483         * BufferView_pimpl.C: add using std::find_if
17484
17485 2001-02-27  José Matos  <jamatos@fep.up.pt>
17486
17487         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17488         by OnlyPath.
17489
17490 2001-02-11  José Matos  <jamatos@fep.up.pt>
17491
17492         * buffer.C (makeDocBookFile): command styles now have a parameter as
17493         "title" by default.
17494
17495 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17496
17497         * layout_forms.[Ch]: removed
17498         * lyx_cb.[Ch]: out character
17499         * lyx_gui.C: out character
17500         * lyx_gui_misc.C: out character
17501         * bufferview_funcs.C: : out character,
17502         added toggleall as parameter in ToggleAndShow
17503
17504 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17505
17506         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17507
17508         * text2.C (SetCurrentFont): Disable number property at boundary.
17509
17510 2001-02-26  Juergen Vigna  <jug@sad.it>
17511
17512         * lyxfunc.C (getStatus): added a string argument override function so
17513         that this is correctly called from LyXFunc::Dispatch if it contains a
17514         do_not_use_argument which is used!
17515         (Dispatch): added check for "custom" export and call appropriate func.
17516
17517 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17518
17519         * lyxrc.C: Add language_command_local, language_use_babel and
17520         language_global_options.
17521
17522         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17523
17524         * buffer.C (makeLaTeXFile): Use language_use_babel and
17525         language_global_options.
17526
17527 2001-02-23  Juergen Vigna  <jug@sad.it>
17528
17529         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17530         which works with LyXText and putted it inside BufferView. Here now we
17531         only call for that part the BufferView::Dispatch() function.
17532
17533         * BufferView.C (Dispatch): added.
17534
17535         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17536         functions which needs to use a LyXText over from LyXFunc.
17537         (MenuInsertLyXFile): added
17538         (getInsetByCode): added
17539         (moveCursorUpdate): added
17540         (static TEXT): added
17541
17542 2001-02-22  Juergen Vigna  <jug@sad.it>
17543
17544         * BufferView_pimpl.C (update): call a status update to see if LyXText
17545         needs it.
17546
17547 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17548
17549         * vc-backend.C (revert): implement for CVS
17550         (getLog): implement for CVS
17551
17552 2001-02-20  Juergen Vigna  <jug@sad.it>
17553
17554         * text2.C (ClearSelection): added BufferView param for inset_owner call
17555
17556         * lyxfunc.C (TEXT): added this function and use it instead of
17557         directly owner->view()-text of getLyXText().
17558
17559 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17560
17561         * src/layout_forms.C: out preamble
17562         * src/layout_forms.h: out preamble
17563         * src/lyx_cb.C: out preamble
17564         * src/lyx_cb.h: out preamble
17565         * src/lyx_gui.C: out preamble
17566         * src/lyx_gui_misc.C: out preamble
17567         * src/lyxfunc.C: connect with guii preamble
17568
17569 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17570
17571         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17572
17573 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17574
17575         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17576         whether to run bibtex.
17577
17578 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17579
17580         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17581
17582 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17583
17584         * Makefile.am (lyx_SOURCES): removed bibforms.h
17585
17586         * vspace.h: doxygen
17587
17588         * text.C (GetVisibleRow): make several local vars const
17589
17590         * tabular.C: small cleanup.
17591
17592         * lyxserver.C (callback): use compare instead of strncmp
17593
17594         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17595         inlines to after class or to paragraph.C
17596
17597         * lyxfont.h: remove friend operator!=
17598
17599         * converter.h: move friend bool operator< to non friend and after
17600         class def.
17601
17602         * combox.h: small cleanup
17603
17604         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17605         to inlines after class def.
17606
17607         * buffer.C (pop_tag): use string operations instead of strcmp
17608
17609         * bmtable.c: doxygen, small cleanup
17610
17611         * LaTeX.h: remove friend operator==
17612
17613 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17614
17615         * screen.C:
17616         * lyxrc.[Ch]:
17617         * lyxfunc.C:
17618         * lyxfont.[Ch]:
17619         * lyx_cb.C:
17620         * intl.[Ch]:
17621         * commandtags.h:
17622         * buffer.C:
17623         * WorkArea.[Ch]:
17624         * LyXAction.C:
17625         * BufferView_pimpl.C:
17626         * BufferView.[Ch]: remove cruft
17627
17628 2001-02-14  Juergen Vigna  <jug@sad.it>
17629
17630         * lyxfunc.C: removed #if 0 unused code
17631
17632         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17633
17634         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17635
17636         * text2.C (SetSelection): added a BufferView * parameter
17637
17638 2001-02-13  Juergen Vigna  <jug@sad.it>
17639
17640         * lyxfunc.C (Dispatch): fixed protected blank problem.
17641         * BufferView2.C (protectedBlank): added LyxText * parameter.
17642
17643         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17644         (AppendColumn): same as above for column_info.
17645
17646         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17647         (moveCursorUpdate): use a LyXText param for support of InsetText.
17648
17649         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17650         (tripleClick): ditto
17651
17652         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17653
17654         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17655
17656         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17657
17658         * text2.C (SetSelection): set correct update status if inset_owner
17659         (ToggleFree): ditto
17660
17661 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17662
17663         * tabular.C: remove some commented code.
17664
17665 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17666
17667         * BufferView_pimpl.C: call hideSplash()
17668
17669         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17670
17671         * include_form.h:
17672         * bibforms.h: remove
17673
17674         * lyxfunc.C:
17675         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17676           add LFUN_CHILD_CREATE
17677
17678         * counters.h: fix tiny typo
17679
17680         * lyx_cb.C:
17681         * lyx.h:
17682         * lyx_gui.C:
17683         * lyx.C: move splash to frontends/xforms/
17684
17685         * lyx_gui_misc.C: move Include and Bibform to frontends
17686
17687         * lyxvc.h: clarify comment
17688
17689         * vspace.C: tiny housekeeping
17690
17691 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17692
17693         * text.C (PrepareToPrint): RTL Fix.
17694
17695         * paragraph.C (GetUChar): New method.
17696         (String):  Use GetUChar.
17697
17698         * buffer.C (asciiParagraph): Use GetUChar.
17699
17700 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17701
17702         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17703
17704 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17705
17706         * buffer.h:
17707         * buffer.C: rename to getLogName(), handle
17708           build log / latex log nicely
17709
17710 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17711
17712         * MenuBackend.C:
17713         * MenuBackend.h: remove support for reference menuitem type.
17714
17715 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17716
17717         * BufferView_pimpl.C: housekeeping
17718         * BufferView_pimpl.h:
17719         * LyXView.h:
17720         * Makefile.am:
17721         * Timeout.C:
17722         * Timeout.h:
17723         * minibuffer.h: move Timeout GUI-I
17724
17725 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17726
17727         * lyxrc.C (read): Update converters data-structures.
17728
17729 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17730
17731         * LaTeX.h (operator!=): add operator != for Aux_Info
17732
17733 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17734
17735         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17736
17737         * LaTeXLog.C: deleted, useful code moved to Buffer
17738
17739         * buffer.h:
17740         * buffer.C: new function getLatexLogName()
17741
17742         * lyx_gui_misc.C:
17743         * lyx_gui.C:
17744         * lyxvc.C:
17745         * lyxvc.h:
17746         * lyxfunc.C: use frontends for LaTeX and VC logs
17747
17748 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17749
17750         * LaTeX.h: yet another std:: that Allan forgot.
17751
17752         * Variables.C (set): renamed from isset(), because this clashes
17753         with some HP-UX macros (grr).
17754
17755 2001-02-06  Allan Rae  <rae@lyx.org>
17756
17757         * LaTeX.h: Another bug fix.  Missing std:: this time.
17758
17759 2001-02-04  Allan Rae  <rae@lyx.org>
17760
17761         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17762         floats problem. I've left it commented out because it's not quite
17763         correct.  It should also test that the current object is a table or
17764         figure inset.  But I haven't gotten around to figuring out how to do
17765         that.  I *think* it'll be something like: "table" == inset.type()
17766
17767         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17768         bool.
17769
17770 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17771
17772         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17773         all the citation/databases/styles in the auxilary file.
17774         (run): Rerun latex if there was a babel language error.
17775
17776 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17777
17778         * text.C (Backspace): Preserve the font when changing newline char
17779         with a space.
17780         (BreakParagraph): If the cursor is before a space, delete the space.
17781
17782         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17783
17784 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17785
17786         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17787         new argument (code).
17788         (ChangeCitationsIfUnique): New method.
17789
17790         * paragraph.C (GetPositionOfInset): Handle bibkey.
17791
17792 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17793
17794         * BufferView_pimpl.h: change type of Position::par_pos to
17795         LyXParagraph::size_type.
17796
17797 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17798
17799         * BufferView_pimpl.C (savePosition, restorePosition): Write
17800         messages to minibuffer.
17801
17802 2001-01-28  José Matos  <jamatos@fep.up.pt>
17803
17804         * buffer.C (makeDocBookFile): adds support for document language.
17805         A silly restriction on the name of LatexCommand types where removed.
17806         Added support for CDATA sections, allows to chars unescaped, used
17807         among others in code, to avoid escape < and >.
17808
17809 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17810
17811         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17812         saved positions instrad of a stack. Furthermore, a position is
17813         stored using paragraph id/paragraph position.
17814
17815         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17816         Remove LFUN_REF_BACK.
17817
17818 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17819
17820         * converter.C (dvipdfm_options): New method.
17821
17822 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17823
17824         * vspace.C (isValidLength): Fix for empty input string.
17825
17826 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17827
17828         * LyXAction.C (init): change description of LFUN_FIGURE to
17829         "Insert Graphics"
17830
17831 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17832
17833         * LaTeX.C: add using directive
17834
17835 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17836
17837         * MenuBackend.C (expand): Fix the sorting of the formats.
17838
17839 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17840
17841         * lyx_main.C: tiny error message fix
17842
17843 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17844
17845         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17846         calling fl_initialize(). This fixes the problem with ',' as
17847         decimal separator in text files.
17848
17849 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17850
17851         * trans.C (process): Fix the keymap bug.
17852
17853 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17854
17855         * LaTeX.C (scanAuxFiles): New method. Provides support for
17856         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17857         (scanLogFile) Scan for "run BibTeX" messages.
17858
17859         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17860         OT1 font encoding. Also, load the aecompl package if the ae
17861         package is loaded.
17862
17863         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17864
17865 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17866
17867         * texrow.C (increasePos): turn two error messages into debug
17868         messages.
17869
17870 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17871
17872         * LaTeX.C (scanAux): Handle the \@input macro.
17873         (runBibTeX): Use scanAux().
17874
17875         * language.C (latex_options_): New field.
17876
17877         * LaTeXFeatures.C (getMacros): Add language macros.
17878
17879         * buffer.C (makeLaTeXFile): Small fix.
17880
17881 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17882
17883         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17884
17885         * text2.C: add a using directive.
17886
17887 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17888
17889         * BufferView2.C:
17890         * lyx_gui_misc.h:
17891         * lyxfr1.C:
17892         * lyxfunc.C: kill LyXBell.
17893
17894 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17895
17896         * text.C (IsBoundary): Remove the error message
17897
17898         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17899
17900         * lyxrc.C (setDefaults): Correct initialization value for
17901         font_norm_type.
17902
17903 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17904
17905         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17906         gotoError().
17907
17908         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17909         and GotoNextNote().
17910
17911         * src/LyXAction.C: Added reference-next.
17912
17913         * text.C (InsertChar): Use contains instead of strchr.
17914
17915         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17916
17917 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17918
17919         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17920         alignment commands (when needed).
17921
17922         * text.C (InsertChar): Add ':' to number separator chars.