]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
accept coordinates up to a million...
[lyx.git] / src / ChangeLog
1 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2
3         * dociterator.C (DocIterator): fix initialization order
4
5 2005-07-17  Juergen Vigna  <jug@lyx.org>
6
7         * text2.C (cursorHome): 
8         * text.C (drawSelection, cursorX): 
9         * dociterator.C (textRow): add boundary to getRow() call
10
11         * paragraph.C (getRow): implementation of below
12
13         * paragraph.h: add parameter boundary for getRow() function
14
15 2005-07-18  José Matos  <jamatos@fc.up.pt>
16
17         * buffer.C:
18         * bufferparams.[Ch]:
19         * tex-strings.[Ch]: new file format, remove support for a4.sty,
20         a4wide.sty and a4widemargins.
21
22 2005-07-17  Juergen Vigna  <jug@lyx.org>
23
24         * text2.C (cursorLeft): fix one of error
25
26 2005-07-17  Juergen Vigna  <jug@lyx.org>
27
28         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
29                    cursorEnd):
30         more fixes for boundary handling
31
32         * text3.C (dispatch): don't reset cursor if boundary has changed
33         on cursor movement.
34
35 2005-07-16  Juergen Vigna  <jug@lyx.org>
36
37         * text2.C (getColumnNearX): hopefully got it right now,
38         check if we are on column 0 for special case.
39
40 2005-07-16  Juergen Vigna  <jug@lyx.org>
41
42         * text2.C (getColumnNearX): handle special case Newline Inset
43
44         * text.C (singleWidth): Just remove bogus check
45
46 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
47
48         * funcrequest.C (split): avoid reading uninitialized char c
49
50 2005-07-16  José Matos  <jamatos@fc.up.pt>
51
52         * buffer.C:
53         * converter.C:
54         * lyxrc.C:
55         * paper.h:
56         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
57         single papersize variable.
58
59 2005-07-16  Juergen Vigna  <jug@lyx.org>
60
61         * text3.C (dispatch): honor boundary when checking if a cursor
62         movement has been done
63
64         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
65         (setCursor, setCursorIntern): fix cursor movement with boundary
66
67 2005-07-16  Juergen Vigna  <jug@lyx.org>
68
69         * text.C (currentState): output the actual Boundary
70
71 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
72
73         * factory.C (createInset): fix bad logic for tabular creation
74
75 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
76
77         * lyx_main.C (init): change some reLyX reference to tex2lyx
78
79 2005-07-16  Juergen Vigna  <jug@lyx.org>
80
81         * dociterator.C (DocIterator): initialize boundary
82
83 2005-07-16  Juergen Vigna  <jug@lyx.org>
84
85         * text2.C (getColumnNearX): Consider rows without trailing blank.  
86
87 2005-07-16  André Pönitz  <poenitz@gmx.net>
88
89         * lyxfont.h: Change order of declarations to give the compiler
90         a better chance to inline things
91
92         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
93         questions on unsaved docs for better scritability
94
95 2005-07-16  André Pönitz  <poenitz@gmx.net>
96
97         * paragraph.h (getChar): remove asserts as the same kind of security
98         can be achieved by using a suitable standard library implementation
99         and the function was in the critical path (25.9% in profiler)
100
101 2005-07-16  Juergen Vigna  <jug@lyx.org>
102
103         * cursor.C (bruteFind2):
104         * bufferview_funcs.C (coordOffset): 
105         * text.C (cursorX,cursorY): Handle cursor position after last char
106         in row before a inset which uses a whole row.
107
108 2005-07-15  José Matos <jamatos@lyx.org>
109
110         * output_plaintext.[Ch] (writeFileAscii): control reference title
111         printing.
112         (asciiParagraph): noparbreak was already deal and was incorrectly
113         used.
114
115 2005-07-15  Juergen Vigna <jug@lyx.org>
116
117         * lyxfunc.C (dispatch): save and restore the cursor after a
118         textclass switch.
119
120 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
121
122         * text.C (backspace): bug 806 for empty keepempty paragraphs we
123         change the layout to default before letting DEPM do its thing.
124
125         * paragraph_funcs.C (breakParagraph): dont reset the layout on
126         keepEmpty paragraphs
127
128         * text.C (setCursorFromCoordinates): add a debug statement
129
130         * text2.C (getColumnNearX): bug 1825 make sure that we don't
131         return a pos that is not on the row
132
133         * output_latex.C (TeXDeeper): get rid of potential dereferencing
134         of past the end iterator
135
136 2005-07-14  André Pönitz  <poenitz@gmx.net>
137
138         * undo.C (recordUndoFullBuffer): implement undo for
139         textclass switches
140
141 2005-07-14  André Pönitz  <poenitz@gmx.net>
142
143         * cursor.C (setSelection): open insets when selection is set there
144         to avoid crashs with cold coord cache
145
146 2005-07-14  André Pönitz  <poenitz@gmx.net>
147
148         * trans_mgr.C (insert): move cursor to the right after inserting
149         a char.
150
151 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
152
153         * BufferView_pimpl.C (update): dampen some of the debug blabbering
154         * factory.C (readInset): ditto
155         * text.C, text2.C: ditto
156
157 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158
159         * buffer.C: format incremented to 242. There is no file format per
160         se, but the "frenchb" language has been removed from lib/language
161         and has to be translated to "french" by lyx2lyx.
162
163 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
164
165         * cursor_slice.h, dociterator.h: add some documentation
166         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
167
168 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
169
170         * text.C (leftMargin): do not add identation to display() style
171         insets, because they are always centered (bug 1293).
172
173 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
174
175         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
176         formatted_time methods in support/lyxtime.
177
178 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
179
180         * toc.[Ch]: new method getGuiName, which is used by the frontends 
181         to set the toc combo (fixes bug 1870). Make TOC string translatable.
182
183 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
184
185         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
186         StableDocIterator const &)
187         * undo.C (recordUndo): use the above instead of cell.size() comparison
188         (fixes bug 1808; instructed by André).
189
190 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
191
192         * cursor_slice.h: 
193         * dociterator.h: Fix the assert when copying rows/cols in math
194
195 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
196
197         * BufferView_pimpl.C:
198         * LyXAction.C:
199         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
200
201         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
202         (findInset): new functions, refactored from goto Inset that return 
203         the position of a certain inset without setting the buffer's cursor
204         (by Jean-Marc); 
205         (gotoInset): rewrite to call findInset and then set the cursor
206         (by Jean-Marc).
207
208 2005-06-16  Angus Leeming  <leeming@lyx.org>
209
210         * lyxrc.C (output, read): wrap all input and output of paths with
211         calls to os::internal_path and os::external_path, respectively.
212         (output): wrap bind_file inside quotes.
213
214         * format.C (view): enable the viewer to use the '$$s' placeholder.
215
216 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
217
218         * LColor.[Ch] (getFromLaTeXName): new
219
220 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
221
222         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
223
224 2005-06-14  Angus Leeming  <leeming@lyx.org>
225
226         * lyx_main.C (init): ensure that the LyX binary dir is the first
227         element in the PATH on non-POSIX builds.
228
229 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
230
231         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
232
233 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
234
235         * rowpainter.C (paintInset, paintHebrewComposeChar)
236         (paintArabicComposeChar, paintChars): add a LyXFont argument.
237         (paintChars): use getFontSpan to reduce calls to getFont to a
238         minimum; use Paragraph::lookupChange instead of isXXXText.
239         (paintForeignMark): rename LyXFont argument.
240         (paintFromPos): pass a LyXFont object to the various paintXXX
241         methods.
242
243         * FontIterator.C (FontIterator, operator++): use
244         Paragraph::getFontSpan
245
246         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
247         version that returns the font span as a pair.
248
249 2005-06-09  Angus Leeming  <leeming@lyx.org>
250
251         * converter.C (convert): Don't forget "outfile = real_outfile" as
252         the final step in a conversion where the input and output file names
253         are the same. Otherwise, future conversion steps won't work...
254
255 2005-06-09  Angus Leeming  <leeming@lyx.org>
256
257         * lyxsocket.C: remove stub code as it isn't needed by
258         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
259
260 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
261
262         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
263         effectively disabled -x
264
265 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
266
267         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
268         when it actually makes sense.
269
270 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
271
272         * BufferView_pimpl.C: revert to showCursor in connection with
273         Lars's front-end stack
274
275 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
276
277         * text.C (redoParagraph): move cursor right after a bibitem
278         has been inserted.
279
280         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
281
282 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
283
284         * buffer_funcs.C (bufferErrors): fix computation of the end of an
285         error range.
286
287 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
288
289         * BufferView.[Ch] (update):
290         * BufferView_pimpl.[Ch] (update, metrics):
291         * dimension.h (operator==):
292         * lyxfunc.C (dispatch):
293         * metricsinfo.h (ViewMetricsInfo):
294         * rowpainter.C (paintText):
295         * lyxtext.h:
296         * text.C (redoParagraph):
297         * text3.C (dispatch): Make LyX only repaint current paragraph in
298         case of character insert --> speedup. Also fix cursor draw
299         artifacts
300
301 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
302
303         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
304         avoid a crash (bug 1891)
305
306 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
307
308         Fix bug 1892:
309
310         * text2.C (getStringToIndex): constify cur argument.
311
312         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
313         argument has been given
314         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
315         try to invoke LFUN_INSET_APPLY).
316
317         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
318         if no inset was created by doInsertInset
319         (doInsertInset): return true if an inset has been inserted.
320
321 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
322
323         * vspace.C (asGUIName): new method. A version of the space
324         suitable for showing on screen.
325
326 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
327
328         * MenuBackend.C:
329         * lyxrc.C: rename "ASCII" to "Plain Text"
330
331 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * buffer_funcs.C (expandLabel): take a Buffer as argument;
334         translate the labelstring.
335         (setCounter): translate labelstring as needed.
336
337         * output_docbook.C (makeCommand): fix expandLabel invokation
338
339 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
340
341         * BufferView.C: fix dialog title
342
343 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
344
345         * lyx_main.C (priv_exec): fix logic error with help from Angus
346         * lyx_main.C (parse_execute): set is_gui = false and remove now
347         obsolete comment about a segfault
348
349 2005-05-18  Angus Leeming  <leeming@lyx.org>
350
351         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
352
353 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
354
355         * tabular.[hC]: added setCellInset to fix tabular paste.
356
357 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
358
359         * buffer.C (save): check if destination is writable before trying
360         to copy a file
361
362 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
363
364         * BufferView_pimpl.C (update): fix processEvents -caused update
365         recursion bug
366
367 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
368
369         * buffer_funcs.C (setCounter): fix test for numbering of
370         environments.
371
372         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
373         depth correctly; use optional argument when it exists
374
375         * lyxtextclass.C: remove unused MaxCounterTags enum
376         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
377         (max_toclevel, min_toclevel): new methods.
378
379         * MenuBackend.C (expandToc2): fix case where depth is smaller than
380         the smallest depth in toc.
381
382         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
383         layouts that should not appear in a table of contents.
384
385 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
386
387         * cursor.h (undispatched, noUpdate): add comments from André
388
389 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
390
391         * lfuns.h:
392         * LyXAction.C:
393         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
394
395 2005-05-07  André Pönitz  <poenitz@gmx.net>
396
397         * cursor.[Ch] (leaveInset): new function
398
399 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
400
401         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
402
403 2005-05-04  Angus Leeming  <leeming@lyx.org>
404
405         * lyxfunc.C (getStatus): disable the spell checker dialog if
406         none of USE_[AIP]SPELL are defined.
407
408 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
409
410         * tabular.C (setWidthOfCell): remove obsolete comment
411
412 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
413
414         * paragraph.C (bibitem):
415         * buffer_funcs.C (setCounter):
416         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
417
418 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
419
420         * text3.C (getStatus): immediately return after setOnOff
421
422         * rowpainter.C: fix drawing of appendix start
423
424 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
425
426         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
427         SwitchBetweenClasses and remove the unused return value.
428         Handle character styles, too
429
430 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
431
432         * factory.C (createInset): handle undefined character styles
433
434 2005-05-02  Angus Leeming  <leeming@lyx.org>
435
436         * buffer.C: protect the #include of utime.h with a preprocessor
437         guard.
438
439 2005-05-02  Angus Leeming  <leeming@lyx.org>
440
441         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
442         function so that auto-saving works, albeit in a blocking manner.
443
444         * Makefile.am: make compilation of the client sub directory, of
445         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
446         on conditionals set at configure time.
447
448         * SpellBase.[Ch]: no longer an abstract base class. Instead,
449         it can be compiled in its own right but has no-op functionality.
450
451         * aspell.C, pspell.C: remove preprocessor guards. The files should
452         be compiled only if the necessary functionality exists.
453
454         * lyxserver.C, lyxsocket.C: disable on Windows.
455
456 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
457
458         * text.C (leftMargin): Fix the parindent use bug (1764)
459         by dirty trick
460
461 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
462
463         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
464         argument.
465
466 2005-04-25  Angus Leeming  <leeming@lyx.org>
467
468         * Bidi.[Ch]:
469         * coordcache.[Ch]:
470         * ispell.C:
471         * lyxserver.C:
472         * mover.C:
473         * pch.h:
474         include <config.h> in .C files, not .h ones.
475         add licence blurb.
476         protect headers inside preprocessor guards.
477
478 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
479
480         * FuncStatus.h (StatusCodes): document
481
482 2005-04-21  André Pönitz  <poenitz@gmx.net>
483
484         * FuncStatus.h (enabled, onoff): document
485
486 2005-04-19  Angus Leeming  <leeming@lyx.org>
487
488         * BufferView_pimpl.C (cursorToggle): no longer test whether
489         any child processes have been reaped before calling
490         handleCompletedProcesses().
491
492 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
493
494         * text3.C (dispatch): fix, finally fix, the language problem in
495         new lyxtexts, without disabling on-the-fly font changes (Helge's
496         bug report)
497
498 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
499
500         * text3.C (dispatch): set cursor on double/triple click events
501         (bug 1811)
502
503 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
504
505         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
506         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
507
508         * rowpainter.C (paintFirst): simplify the code a little bit. In
509         particular, remove the test for secnumdepth.
510         * text.C (setHeightOfRow): only allocate space for chapter number
511         when updateCounters provided an actual label, instead of looking
512         at secnumdepth directly.
513
514         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
515
516         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
517         paragraphs when secnumdepth is large enough or, for environments,
518         when they are not the first in a sequence.
519
520 2005-04-17  Angus Leeming  <leeming@lyx.org>
521
522         * buffer.C (makeLaTeXFile): replace code to manipulate a path
523         containing space and '~' characters with a call to latex_path().
524
525 2005-04-17  Angus Leeming  <leeming@lyx.org>
526
527         * converter.C (convert): protect all args of convertDefault.sh
528         script with quotes.
529
530 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
531
532         * text3.C (dispatch): change the layout to "Caption" after inserting
533         a float.
534
535 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
536
537         * text3.C (dispatch): fix language problem in newly created
538         textinsets (and main text) in non-english docs
539
540 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
541
542         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
543         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
544         * text3.C (getStatus): disable LFUN_INSET_MODIFY
545
546 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
547
548         * lyxtext.h:
549         * text.C (metrics):
550         * text2.C (getFont):
551         * rowpainter.C (getFont): Fix metrics bug introduced by inset
552         fonts fix
553
554 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
555
556         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
557         output of \item arguments without trailing text.
558
559 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
560
561         * FontIterator.C (operator*): avoid a copy of the font.
562
563 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
564
565         * rowpainter.C (getFont): fix language bug from previous fix
566
567 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
568
569         * rowpainter.C (RowPainter, getFont): fix font inside inset
570         (bugs 1766, 1809)
571
572 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
573
574         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
575         preventing inserted font, deco, delim insets jumping to start of
576         surrounding inset.
577
578 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
579
580         * lyxfunc.C (dispatch): translate message before sending it to the
581         minibuffer.
582
583 2005-03-29  Angus Leeming  <leeming@lyx.org>
584
585         * lyx_main.C (priv_exec): call os::internal_path on each file passed
586         to LyX on the command line.
587
588 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
589
590         * vc-backend.C: use QuoteName to protect file names wherever
591         necessary.
592
593 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
594
595         * buffer.[Ch]:
596         * BranchList.h: fix bugs 1844,1845: document settings don't
597         stick
598
599 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
600
601         * lyxrc.C (setDefaults, read, output, getDescription): add support
602         for tex_allows_spaces.
603
604         * exporter.C (Export): allows files in directory containing spaces
605         if tex_allows_spaces is true.
606
607         * buffer.C (makeLaTeXFile): if the document path contains spaces,
608         output it in double quotes.
609
610 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
611
612         * rowpainter.C: use default text height for drawing change tracker
613         strikeout lines.
614
615 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
616
617         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
618
619 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
620
621         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
622         directory is missing.
623
624 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
625
626         * text2.C: fixed the fix, extended to other case.
627
628 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
629
630         * text2.C: fix for cursor up/down stuck in math [bug 1792]
631
632 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
633
634         * text2.C (cursorUp): get rid of a crash
635         * text.C (x2pos): add an assert
636
637 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
638
639         * lyxfunc.C (getStatus): fix warning when assertions are disabled
640
641         * text3.C:
642         * lyxfunc.C:
643         * dociterator.C: include <boost/current_function.hpp>, which is
644         needed when assertions are disabled.
645
646 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
647
648         * text2.C: fix for stuck cursor when traversing two
649         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
650
651 2005-02-25  Andreas Vox  <avox@arcor.de>
652
653         * output_docbook.C (makeParagraph): suppress trailing newline
654         after a run of paragraphs
655
656 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
657
658         * paragraph.C: fix for confused change tracker when pasting
659         text that begins with a lineseparator. [bug 1827]
660         (setChange(0, Change::INSERTED);)
661
662         * paragraph_funcs.C: fix for lost changes on triple-paste
663         in change tracking mode [bug 1827] (par.setChange()).
664
665 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
666
667         * text2.C (updateCounters, setCounter, expandLabel): move to
668         buffer_funcs.
669
670         * buffer_funcs.C (updateCounters): turn into a free standing
671         function and add a buffer parameter. Remove dead code for tracking
672         labelstring change.
673         (setCounter): change into a free-standing function which gets a
674         dociterator as argument. Use this iterator to fix captions in a
675         simple way. When no float is found above the caption, use the
676         labelstring of the caption layout as default.
677
678         * text.C (breakParagraph, backspace):
679         * text2.C (init, setLayout, changeDepth):
680         * text3.C (dispatch):
681         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
682         updateCounters.
683
684         * dociterator.C (forwardPar): make it much faster by calling
685         forwardPos() only when really necessary.
686
687         * output_docbook.C (makeCommand): adapt to expandLabel move.
688
689         * cursor.C: remove unused variable
690
691 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
692
693         * paragraph_funcs.C: fix crash when pasting insets in change
694         tracking mode [bug 1277] (honour change type in moveItem).
695
696 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
697
698         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
699
700 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
701
702         * BufferView.C (setCursor): change to use a DocIterator.
703         (gotoLabel): use BufferView::setCursor (other part of bug 781).
704         (putSelectionAt): adapt to BufferView::setCursor change.
705
706         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
707         moved here from LyXText and rewritten to use proper cursor
708         methods. Fixes bug 1787, 616 and 835.
709
710         * BufferView_pimpl.C (restorePosition): set the cursor correctly
711         when inside an inset (part of bug 781).
712         (dispatch): adapt to change of BufferView::setCursor.
713         (getStatus, dispatch): handle LFUN_GOTOERROR,
714         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
715
716         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
717         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
718         * text3.C (gotoNextInset, gotoInset): removed.
719
720 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
721
722         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
723
724 2005-02-15  Angus Leeming  <leeming@lyx.org>
725
726         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
727         can be used meaningfully in a comparison.
728
729 2005-02-13  André Pönitz  <poenitz@gmx.net>
730
731         * bufferview_funcs.C (coordOffset): improve cursor drawing
732
733 2005-02-13  André Pönitz  <poenitz@gmx.net>
734
735         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
736         * Cursor.C (dispatch): use fixIfBroken
737         * lyxfunc.C (getStatus): use fixIfBroken
738
739 2005-02-15  Angus Leeming  <leeming@lyx.org>
740
741         * lyx_main.C (error_handler):
742         * lyxfunc.C:
743         * lyxrc.C (setDefaults):
744         s/GetEnv/getEnv/.
745         #include "environment.h".
746
747         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
748
749 2005-02-15  Angus Leeming  <leeming@lyx.org>
750
751         * lyxserver.C (startPipe): squash MSVC warning "local variable
752         'fd' used without having been initialized".
753
754 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
755
756         * BufferView_pimpl.C: revert accidental commit.
757
758 2005-02-14  André Pönitz  <poenitz@gmx.net>
759
760         * dociterator.[Ch]: new member forwardPosNoDescent(),
761         which doesn't enter nested insets.
762         * text2.C (setFont): use forwardPosNoDescent() instead
763         of ForwardPos() (fixes crash on font change).
764
765 2005-02-13  Angus Leeming  <leeming@lyx.org>
766
767         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
768         only if lyxrc.path_prefix is not empty.
769
770 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
771
772         * bufferparams.C (readGraphicsDriver): prevent crash
773
774 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
775
776         * text2.C (setCounter): check for inInset() == 0
777
778 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
779
780         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
781         but use update() to get correct screen display; use convert
782         instead of istringstream.
783         (getStatus): handle LFUN_GOTO_PARAGRAPH
784
785         * lyxfunc.C (dispatch, getStatus): do not handle
786         LFUN_GOTO_PARAGRAPH here.
787
788 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
789
790         * text3.C (dispatch): size() -> depth()
791
792         * text2.C: remove some debug output
793
794         * paragraph.C: ws changes only
795
796         * lyxfunc.C (getStatus): size() -> depth()
797
798         * dociterator.h (clear, push_back, pop_back, internalData,
799         operator[], resize, empty): new functions
800         Make StableDocIterator and operator== be friends. Don't inherit
801         from std::vector use a privat class variable slices_ instead.
802         Modify to fit.
803
804         * dociterator.C: update because of not inheriting from std::vector
805         anymore. Call explictly to slices_ instead. Use depth() instead of
806         size() and top() instead of back()
807
808         * cursor.C: chagne size() -> depth and back() -> top(). Also
809         remove some direct operator[](i) calls in favour of foo[i]
810         (getFont): remove some dead code
811
812         * bufferview_funcs.C (coordOffset): size() -> depth()
813
814         * buffer.C: ws changes only
815
816         * CutAndPaste.C (eraseSelection): back() -> top()
817
818         * BufferView_pimpl.C (selectionRequested): back() -> top()
819
820         * BufferView.C (setCursor): size() -> depth()
821
822 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
823
824         * text3.C (cursorPrevious): return true if depm changed something
825         (cursorNext): ditto
826         (dispatch): rename sl to oldTopSlice, remove moving use the new
827         NoUpdate func attrib instead. Make sure that needsUpdate is set
828         for function that have NoUpdate, but where depm might have changed
829         the buffer anyway.
830
831         * text2.C (cursorLeft): make us return true if depm changed
832         something
833         (cursorRight): ditto
834         (cursorUpParagraph): ditto
835         (curosrDownParagraph): ditto
836         (cursorUp, cursorDown): ditto, make sure to read comments in code
837         (deleteEmptyParagraphMechanism): remove an assert, also return
838         true if just a single char was deleted.
839
840         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
841         cursor that we modify, to avoid modifying an active cursor before
842         we call setCursor. This allows depm to run. Also return true if
843         depm deleted something.
844
845         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
846         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
847         cursorDownParagraph, cursorPrevious and cursorNext, return true if
848         something was changed in the buffer because of them (ie. depm run)
849
850         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
851         debug messages. Make update by default be false. Make sure that
852         the result of update is retained throught several calls down to
853         dispatch.
854
855         * LyXAction.h: add a new func_attrib: NoUpdate
856
857         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
858         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
859         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
860         and LFUN_WORDLEFT
861         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
862
863 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
864
865         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
866         bv_->owner(), bv_->buffer() by direct references to the private
867         members.
868         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
869         (getStatus): isSavedPosition() is in BufferView::Pimpl.
870         (fitCursor): center() is in BufferView::Pimpl.
871         (getStatus, trackChanges, dispatch): no need for a temporary buf
872         variable
873         (fitCursor, workAreaDispatch): use workarea().workheight()
874
875 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
876
877         * CutAndPaste.C (pasteSelectionHelper): fix a crash
878
879 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
880
881         * buffer.C: format up to 241.
882         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
883         break if pasting into ERT
884         * lyxfunc.C (getStatus): suppress mathpanel and
885         LFUN_DIALOG_SHOW_NEW_INSET in ERT
886
887 2005-02-01  Angus Leeming  <leeming@lyx.org>
888
889         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
890
891 2005-02-01  Angus Leeming  <leeming@lyx.org>
892
893         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
894         calling fs::is_directory().
895
896 2005-01-31  Angus Leeming  <leeming@lyx.org>
897
898         * lyx_main.C (priv_exec): specify explicitly the relative location
899         of the top level build directory when run in-place.
900
901 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
902
903         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
904         LyXText containing the cursor, not the top-level one.
905
906         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
907         true.
908         (insertStringAsLines): rename par to pit; use temporary variable
909         par to hold a Paragraph; do not store par.layout() in a variable,
910         since the pointer may die when breaking paragraphs; pass pars to
911         breakParagraph() instead of Buffer::paragraphs().
912
913 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
914
915         * lyxlex_pimpl.h: #include <fstream>.
916
917         * BufferView.[Ch] (getLyXText): add a const version.
918
919         * BufferView_pimpl.C: add debug aids.
920
921         * RowList_fwd.h:
922         * buffer.h:
923         * lyxrow.h:
924         * paragraph_funcs.h: add commentary explaining what the class does.
925
926
927         * coordcache.[Ch]: add lots of commentary.
928         (startUpdating, doneUpdating): debug aids.
929         (arrays, insets, parPos, getParPos): accessors to private data.
930
931         * cursor_slice.[Ch] (text): add a const version.
932         * dociterator.[Ch] (text, innerText): add const versions.
933
934         * lyxtext.h (breakParagraph): change the keep_layout arg to a
935         bool.
936
937         * paragraph.C (getRow, pos2ros): add asserts.
938
939         * paragraph.h: add commentary. Lots of.
940
941         * paragraph.[Ch] (metrucs, draw): removed.
942
943         * cursor.C:
944         * rowpainter.[Ch]: const-correct changes.
945
946         * text.C: various obvious clean-ups. Removal of ancient cruft.
947         Bug fixes, even.
948
949 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
950
951         * vc-backend.C (find_file): rewrite to use boost.filesystem
952         (scanMaster): ditto
953
954         * main.C (main): set default name check for boost.filesystem to
955         no check
956
957         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
958         (open): ditto
959         (doImport): ditto
960         (actOnUpdatedPrefs): ditto
961
962         * lyx_main.C (init): rewrite to use boost.filesystem
963         (queryUserLyXDir): ditto
964
965         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
966         (getContentsOfAsciiFile): ditto
967
968         * lastfiles.C (readFile): rewrite to use boost.filesystem
969
970         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
971
972         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
973         (loadLyXFile): ditto
974
975         * buffer.C (Buffer): adjust for destroydir
976         (getLogName): rewrite to use boost.filesystem
977         (setFileName): ditto
978         (save): use fs::copy_file (from fs_extras)
979
980         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
981
982         * LaTeX.C (run): rewrite to use boost.filesystem
983         (scanAuxFiles): ditto
984         (handleFoundFile): ditto
985
986 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
987
988         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
989
990         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
991
992 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
993
994         * lyxlayout.[Ch]: change some vars from float to double
995
996         * buffer.C (readFile): make a local var const
997
998         * Several files: use convert<> instead of atoi,strToXXX and friends
999
1000 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1001
1002         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1003         holds the contents of packages.lst. New functions getAvailable
1004         and isAvailable to parse and check that list, resp.
1005
1006         * LyXAction.C:
1007         * lfuns.h:
1008         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1009
1010         * bufferparams.[Ch]: new param output_changes.
1011
1012         * Buffer.C: increase file format to 240.
1013         Use output_changes and isVailable.
1014
1015         * changes.[Ch]:
1016         * paragraph.C:
1017         * paragraph_pimpl.C: Use output_changes and isVailable.
1018
1019 2005-01-23  Angus Leeming  <leeming@lyx.org>
1020
1021         * output_latex.C: #include "insetbibitem.h", rather than
1022         forward declare function bibitemWidest.
1023
1024 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1025
1026         * lyx_main.C (init): make it compile on the Mac.
1027
1028 2005-01-20  Angus Leeming  <leeming@lyx.org>
1029
1030         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1031         (setLyXMisc): (char string literal) != (char string literal) is
1032         performing a comparison on the addresses. Convert one operand
1033         explicitly to string to guarantee expected behaviour.
1034         From MSVC warning.
1035
1036 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1037
1038         * buffer.C:
1039         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1040
1041         * output_plaintext.C: remove unneeded #include gzstream.h.
1042
1043 2005-01-20  Angus Leeming  <leeming@lyx.org>
1044
1045         * SpellBase.h: rename some of the elements of the Result enum.
1046
1047         * aspell_local.h:
1048         * ispell.h:
1049         * pspell.h:
1050         * aspell.C (check):
1051         * ispell.C (check):
1052         * pspell.C (check): ditto
1053
1054 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1055
1056         * buffer.C: add #include <fstream>.
1057
1058         * lyx_main.C (init): Compile fix.
1059
1060         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1061
1062 2005-01-20  Angus Leeming  <leeming@lyx.org>
1063
1064         * mover.h: change commentary to reflect the changed meaning of
1065         the $$s placeholder.
1066
1067 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1068
1069         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1070
1071         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1072
1073 2005-01-20  Angus Leeming  <leeming@lyx.org>
1074
1075         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1076         printing diagnostic data by not dereferecing an iterator past the
1077         end.
1078
1079 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1080
1081         * buffer.C (readHeader): use "&&" rather than "and".
1082
1083         * lyxserver.h (inPipeName, outPipeName): make these const.
1084
1085 2005-01-19  Angus Leeming  <leeming@lyx.org>
1086
1087         * lyx_main.C (error_handler, init): protect SIGHUP with
1088         #ifdef SIGHUP guards.
1089
1090 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1091
1092         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1093
1094 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1095
1096         * text.C (setHeightOfRow): add a margin at the top and bottom of
1097         the document (bug 1761)
1098
1099 2005-01-17  Angus Leeming  <leeming@lyx.org>
1100
1101         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1102         with "python ". Workaround for a brain-dead Windows.
1103
1104 2005-01-16  Angus Leeming  <leeming@lyx.org>
1105
1106         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1107         for MacOSX and Windows to use prependEnvPath.
1108         Strip out the hard-coded block to add elements to the PATH for
1109         MacOSX and replace it with a call to prependEnvPath using the
1110         contents of LyXRC::path_prefix.
1111         (queryUserLyXDir): strip out the code to run reconfigure, instead
1112         returning a boolean indicating the necessity to do so.
1113         (reconfigureUserLyXDir): contains the code to reconfigure the
1114         user support directory. Is now called after the various LyXRC data
1115         files have been read.
1116
1117         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1118
1119 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1120
1121         * converter.[Ch] (convert): take a new parameter try_default. Use
1122         a default converter (imagemagick) if try_default is true.
1123
1124 2005-01-13  Angus Leeming  <leeming@lyx.org>
1125
1126         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1127         os::cygwin_path_fix.
1128         (write): output LyXRC::cygwin_path_fix as necessary.
1129
1130 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1131
1132         * lyxrc.h:
1133         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1134
1135 2005-01-12  Angus Leeming  <leeming@lyx.org>
1136
1137         * lyx_main.C (init): set the PATH variable to include the
1138         directory containing the LyX binary when running on Mac or Windows.
1139
1140 2005-01-12  Angus Leeming  <leeming@lyx.org>
1141
1142         * lyx_main.C (init): remove cruft that purports to set the locale
1143         dir. It doesn't and is not needed anyway.
1144
1145 2005-01-10  Angus Leeming  <leeming@lyx.org>
1146
1147         * Makefile.am: remove the lyx_main.C special casing.
1148
1149         * BufferView_pimpl.C:
1150         * bufferlist.C:
1151         * exporter.C:
1152         * lyx_cb.C:
1153         * lyx_main.C:
1154         * lyxfunc.C:
1155         * messages.C: use support/package.h to provide the paths to the
1156         various directories used by LyX.
1157
1158 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1159
1160         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1161         layout if pasting into an empty paragraph)
1162
1163 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1164
1165         * tex-accent.C: add <string>
1166
1167 2005-01-06  José Matos  <jamatos@lyx.org>
1168
1169         * ParagraphParameters.C (write): put every parameter in its own line.
1170         * paragraph.C (write): reduce number of consecutive empty lines exported.
1171         * buffer.C (LYX_FORMAT): increase file format to 239.
1172
1173 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1174
1175         * everywhere: change support/tostr.h -> support/convert.h
1176
1177         * tabular.C: make all write_attributes templates, tostr -> convert
1178
1179         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1180         (emptyTag): and -> &&, and fix type for ret from getChar
1181         (getFirstWord): fix type for ret from getChar
1182         (onlyText): and -> &&
1183         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1184         getChar
1185
1186         * toc.C (goTo, action):
1187         * text3.C (dispatch):
1188         * text.C (currentState):
1189         * tex-accent.C (DoAccent):
1190         * sgml.C:
1191         * lyxrc.C:
1192         * lyxfunc.C (menuNew):
1193         * lyxfinc.C (replace):
1194         * counters.C (laberItem):
1195         * bufferview_funcs.C (font2string):
1196         * bufferparams.C (writeFile):
1197         * buffer.C (readFile):
1198         * Spacing.C (set):
1199         * MenuBackend.C: tostr -> convert
1200
1201         * LaTeX.C (runMessage): fix format
1202         (scanAuxFiles): tostr -> convert
1203
1204         * BufferView_pimpl.C (savePosition): fix format
1205         (restorePosition): ditto
1206         (dispatch): ditto
1207
1208 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1209
1210         * Spacing.[Ch]: New method getValueAsString().
1211
1212         * Spacing.[Ch]:
1213         * bufferparams.C:
1214         * ParagraphParameters.C:
1215         * lyxlayout.C:
1216         * text.C:
1217         * text3.C: store/read spacing value as string.
1218
1219         * rowpainter.C: change float value (spacing_val) to double.
1220
1221         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1222         broken custom document spacing).
1223
1224 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1225
1226         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1227         namespace, also more use of temp references and const
1228
1229         * cursor.[Ch] (getStatus): move to lyxfunc.C
1230
1231         * bufferparams.C: reformat slightly
1232
1233         * bufferview_funcs.C (font2string): constify arg
1234
1235         * changes.C:
1236         * converter.C:
1237         * counters.C:
1238         * bufferlist.C:
1239         * buffer_funcs.C: (many funcs): constify arg on function
1240         definitions, also make more local vars const, also add ASSERTS on
1241         pointer args.
1242
1243         * buffer.C (LYX_FORMAT): put const in correct place
1244         (many funcs): constify arg on function definitions, also make
1245         more local vars const
1246
1247         * aspell_local.h: remove "struct" from typdef setup
1248
1249         * aspell.C (check): make word_ok const
1250         (nextMiss): simplify slightly
1251         (error): ditto
1252
1253 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1254
1255         * lyxrc.[Ch]: store all float values as strings.
1256         use int (not float) for lyxrc.dpi.
1257
1258 2005-01-04  Angus Leeming  <leeming@lyx.org>
1259
1260         * lyx_cb.C (Reconfigure):
1261         * lyx_main.C (queryUserLyXDir):
1262         to run the <system_lyxdir>/configure correctly on Windows, prefix
1263         the path to the script with "sh " when generating the string that
1264         is passed to system().
1265
1266 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1267
1268         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1269
1270 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1271
1272         * lyxlength.C (asLatexString): get rid of setprecision
1273
1274 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1275
1276         * text2.C (setLayout): remove unused variable endpit.
1277         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1278
1279         * paragraph.C (onlyText): remove unused variable style.
1280
1281         * cursor.C (bruteFind): remove unused variables beg and end.
1282
1283         * Makefile.am (dist_noinset_DATA): not needed anymore
1284
1285         * cheaders/*: remove.
1286
1287 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1288
1289         * text3.C: fix LFUN_MATH_MODE.
1290
1291 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1292
1293         * buffer_funcs.C (countWords): new function. Counts words between
1294         two iterators.
1295
1296         * BufferView_pimpl.C (getStatus, dispatch): handle
1297         LFUN_WORDS_COUNT.
1298
1299         * LyXAction.C (init):
1300         * lfuns.h: add LFUN_WORDS_COUNT.
1301
1302 2004-12-19  Angus Leeming  <leeming@lyx.org>
1303
1304         * buffer.C (save): s/slashify_path/internal_path/.
1305
1306 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1307
1308         * lyxfind.C (findChange): do not search for end of pars, because
1309         the change tracker cannot handle this (fixes bug 1719).
1310
1311 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1312
1313         * paragraph.[Ch] (autoBreakRows): remove
1314
1315         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1316
1317         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1318         avoid using the paragraph one
1319
1320         * text2.C (LyXText, insertStringAsLines): adjust
1321
1322 2004-12-16  Angus Leeming  <leeming@lyx.org>
1323
1324         * bufferlist.C:
1325         * lyx_main.C:
1326         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1327
1328 2004-12-14  Angus Leeming  <leeming@lyx.org>
1329
1330         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1331
1332         * bufferlist.C (emergencyWrite):
1333         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1334         GetEnvPath("HOME").
1335
1336 2004-12-14  Angus Leeming  <leeming@lyx.org>
1337
1338         * main.C: (main): no longer pass pointers to os::init.
1339
1340 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1341
1342         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1343         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1344
1345 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1346
1347         * lyxfunc.C:
1348         * text3.C: remove selection_possible global flag
1349
1350 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1351
1352         * text2.C (getSelectionSpan): remove
1353         (changeDepth, changeDepthAllowed): adjust
1354
1355 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1356
1357         * Makefile.am (BOOST_LIBS): use boost variables
1358
1359 2004-12-03  José Matos  <jamatos@lyx.org>
1360
1361         * buffer.C: format up to 238.
1362
1363 2004-12-03  José Matos  <jamatos@lyx.org>
1364
1365         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1366
1367 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1368
1369         * cursor.C (goUpDown): remove call to idxUpDown2
1370
1371 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1372
1373         * tabular.[Ch]: use size_t-like types for cell, row and column
1374         indices
1375
1376 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1377
1378         * lyxfunc.C (getStatus): do not lose previous information when
1379         calling BufferView::getStatus; do not set a default "Command
1380         disabled" message at the beginning, but just before returning.
1381
1382 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1383
1384         * cursor.h (getStatus): add better comment from src/cursor.C
1385
1386 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1387
1388         * text3.C (getStatus): return false when the lfun is not handled
1389
1390 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1391
1392         * broken_headers.h: remove
1393
1394         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1395
1396 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1397
1398         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1399         offset_ref accessors
1400
1401         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1402         top_y_, merge fitcursor with update
1403         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1404         coord scheme
1405         (metrics): introduce
1406         (workAreaDispatch): adapt to new coord scheme
1407         (redoCurrentBuffer): remove
1408
1409         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1410
1411         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1412         CurStatus enum.
1413
1414         * coordcache.[Ch]: add paragraph cache and helpers
1415
1416         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1417         adjust everywhere
1418
1419         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1420         (targetX, setTargetX): introduce
1421
1422         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1423         baseline -> ascent, as the rest of lyx
1424
1425         * lyxtext.h: remove redoParagraphs, updateParPositions,
1426         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1427         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1428         have ascent/descent (ascent is ascent of first par)
1429
1430         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1431         step of BufferView
1432
1433         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1434
1435         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1436
1437         * pariterator.C: fix infinite loop introduced in par->pit renaming
1438
1439         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1440         in insets and LyXText, draw two off-screen paragraphs using
1441         NullPainter, and adapt to new coord scheme
1442
1443         * text.C:
1444         * text2.C:
1445         * text3.C: adapt lfun handlers to the new coord scheme, which
1446         means: there's only guaranteed coord information for onscreen pars
1447         plus one above and one below. This implies that one can do search
1448         from y coordinates in the range [-1,workHeight]
1449
1450 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1451
1452         * rename a lot of InsetOld to InsetBase
1453
1454 2004-11-25  Angus Leeming  <leeming@lyx.org>
1455
1456         * BufferView_pimpl.C:
1457         * lyx_cb.C:
1458         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1459
1460 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1461
1462         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1463         call BufferView::getStatus if LCursor::getStatus did nothing
1464         (setStatusMessage, getStatusMessage): removed.
1465
1466         * FuncStatus.C (message): new methods. Used to provide an error
1467         message indicating why a command is disabled.
1468         (clear, |=, FuncStatus): update for message.
1469
1470 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1471
1472         * lyxfunc.C (dispatch): always call sendDispatchMessage
1473
1474 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1475
1476         * BufferView.C:
1477         * BufferView_pimpl.C:
1478         * CutAndPaste.C:
1479         * FontIterator.C:
1480         * buffer.C:
1481         * cursor.C:
1482         * cursor_slice.[Ch]:
1483         * dociterator.[Ch]:
1484         * lyxfind.C:
1485         * paragraph_funcs.C:
1486         * pariterator.C:
1487         * rowpainter.C:
1488         * text.C:
1489         * text2.C:
1490         * text3.C:
1491         * undo.C: par->pit renaming
1492
1493 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1494
1495         * tabular.C (cellstruct): use initialization, store a shared_ptr
1496         to insettext instead of the insettext directly, adjust to fit.
1497         (operator=):  new function
1498         (swap): new function
1499         (rowstruct): use initialization
1500         (columnstruct): use initialization
1501         (ltType): use initialization
1502
1503
1504         * lyxlength.h (swap): new function
1505
1506         * LColor.[Ch] (operator=): use the common semantics
1507
1508 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1509
1510         * lyxfind.C (findNextChange): update the bufferview after setting
1511         the selection.
1512
1513 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1514
1515         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1516         number of InsetOptArgs has already been inserted.
1517
1518         * output_latex.C (latexOptArgInsets): new method. This outputs all
1519         the optarg insets, up to the limit defined in the layout file.
1520         (optArgInset): removed
1521         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1522
1523 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1524
1525         * paragraph.C (isLetter): remove special spellchecker-related
1526         code; return true also for digits
1527         (isWord, isKomma): remove
1528
1529         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1530         * lyxfind.C (MatchString()): use isLetter instead of isWord
1531
1532 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1533
1534         * pariterator.h (operatir=): comment out un-implemented member
1535         function.
1536
1537         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1538         static cast.
1539
1540 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1541
1542         * lyxfont.h: include LColor.h to satisfy concept checks.
1543
1544 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1545
1546         * pariterator.h: add typdefs for value_type, difference_type,
1547         pointer and reference to satisfy concept checks. Also add default
1548         constructor for same reason.
1549
1550         * pariterator.C (operator++): add post-increment operator to
1551         satisfy concept checks.
1552
1553         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1554         checks.
1555
1556         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1557
1558         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1559         checks. Also rename base_type to BaseType to follow naming
1560         standard better.
1561
1562         * FloatList.h: include Floating.h to satisfy concept checks.
1563
1564 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1565
1566         * lyxfunc.C (getStatus): when the origin of the request is menu or
1567         toolbar, and the LyXView does not have focus, do as if there was
1568         no buffer (bug 1720)
1569
1570         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1571         FuncRequest to individual entries of LFUN_SEQUENCE
1572
1573 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1574
1575         * output_latex.C (TeXOnePar): override runparams.moving_arg
1576         according to the needprotect value of the current paragraph (bug
1577         1739)
1578
1579         * paragraph.C (simpleTeXOnePar): no need to override
1580         runparams.moving_args here
1581
1582 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1583
1584         * vspace.C: fix off-by-one-error, related to fix #1682
1585
1586 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1587
1588         * lengthcommon.C: a more general fix for bug 1682
1589
1590 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1591
1592         * text.C (backspace): fix crash
1593
1594 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1595
1596         * format.[Ch] (getFormatFromFile): new method
1597         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1598
1599 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1600
1601         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1602
1603 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1604
1605         * lyxfunc.C (dispatch): remove the verbose argument
1606         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1607         instead
1608
1609         * kbmap.C (defkey): set the origin of func to KEYBOARD
1610
1611         * MenuBackend.C (MenuItem):
1612         * ToolbarBackend.C (add): set the origin of func to UI
1613
1614         * funcrequest.[Ch]: add origin member, which indicates which part
1615         of LyX requests an action
1616
1617 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1618
1619         * converter.C (move): don't lie in the error message
1620         * converter.h (isReachable, move): document
1621
1622 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1623
1624         * buffer.C: remove unused using lyx::support::atoi
1625         * paragraph_funcs.C: ditto
1626
1627 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1628
1629         * bufferlist.C (exists): use bind and equal_to instead of
1630         compare_memfun
1631         (getBuffer): ditto
1632         * lyxtextclasslist.C (NumberOfClass): ditto
1633
1634         * cursor.C (insert): use for_each instead of explicit for loop
1635
1636         * bufferlist.C (getFileNames): use std::transform and
1637         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1638
1639         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1640         for loop
1641
1642         * buffer.C (changeLanguage): use for_each instead of explicit for
1643         loop
1644         (hasParWithID): implement using getParFromID
1645
1646         * LaTeXFeatures.C: ws change only
1647
1648         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1649         to cleanup a bit.
1650
1651         * BufferView_pimpl.C (trackChanges): use for_each instead of
1652         expilicit for loop
1653
1654 2004-11-04  André Pönitz  <poenitz@gmx.net>
1655
1656         * undo.h:
1657         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1658
1659         * dociterator.C (asDocIterator): use hard assert again.
1660
1661 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1662
1663         * lyxlength.C (asLatexString): rewrite so that it does not use
1664         snprintf anymore
1665
1666 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1667
1668         * text3.C (specialChar, dispatch): make sure cursor moves to the
1669         right after inserting an inset
1670
1671 2004-11-02  José Matos  <jamatos@lyx.org>
1672
1673         * output_docbook.C (docbook):
1674         * paragraph.C (getID):
1675         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1676         garantee that the output is always legal.
1677
1678         * tabular.C (docbook):
1679         * outputprams.[Ch]: remove mixed contents.
1680
1681 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1682
1683         * text2.C (setCounter): prevent endless loop
1684
1685 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1686
1687         * exporter.C (copyFile): use the mover instead of support::copy()
1688         * exporter.C (Export): pass format and latex name to copyFile()
1689         * exporter.h (addExternalFile): document
1690         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1691
1692 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1693
1694         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1695
1696 2004-10-30  José Matos  <jamatos@lyx.org>
1697
1698         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1699         text and no inset or font change. This allows to use CDATA
1700         sections just for the whole paragraph.
1701
1702 2004-10-30  José Matos  <jamatos@lyx.org>
1703
1704         * paragraph.C (getFirstWord): remove unused variable.
1705
1706 2004-10-30  José Matos  <jamatos@lyx.org>
1707
1708         * paragraph.C (getFirstWord): the content should always be escaped
1709         there.
1710         (simpleDocBookOnePar):
1711         * output_docbook.C (makeEnvironment): replace reference to CDATA
1712         to style pass_thru.
1713
1714 2004-10-30  José Matos  <jamatos@lyx.org>
1715
1716         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1717
1718 2004-10-30  José Matos  <jamatos@lyx.org>
1719
1720         * output_docbook.C (makeParagraphs):
1721         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1722         standard paragraph has only a given type of content drop the wrapper.
1723
1724 2004-10-29  José Matos  <jamatos@lyx.org>
1725
1726         * output_docbook.C (makeEnvironment):
1727         * sgml.C (openTag):
1728         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1729
1730 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1731
1732         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1733         (cleanID): sanitize any id.
1734
1735 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1736
1737         * buffer.C, lyxlex_pimpl.C:
1738         * lyxlex_pimpl.C (setFile):
1739         s/getExtFromContents/getFormatFromContents/
1740
1741 2004-10-28  José Matos  <jamatos@lyx.org>
1742
1743         * output_docbook.C (makeEnvironment): move id to broadest possible
1744         scope.
1745
1746         * sgml.C (openTag): apply substitution of <> for all attributes.
1747
1748 2004-10-28  José Matos  <jamatos@lyx.org>
1749
1750         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1751         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1752         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1753
1754         * sgml.[Ch]: new version for open and closeTag for paragraph and
1755         for strings. Now they handle the ids of paragraphs.
1756
1757 2004-10-26  Angus Leeming  <leeming@lyx.org>
1758
1759         * Makefile.am: add mover.[Ch].
1760
1761         * converter.C (convert, move): use the new Movers to move external
1762         files to the temp directory.
1763
1764         * lyx_main.C (init): ensure that the global system_movers data
1765         is initialised.
1766
1767         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1768         preferences file.
1769
1770         * mover.[Ch]: new files, defining a Mover as a utility to move an
1771         external file between directories and, if necessary, manipulate this
1772         file using a helper script.
1773
1774 2004-10-25  José Matos  <jamatos@lyx.org>
1775
1776         * output_docbook.C (makeCommand): merge two if's that tested the
1777         same condition.
1778
1779 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1780
1781         * sgml.C (escapeString): fix warning in a better way
1782
1783 2004-10-25  José Matos  <jamatos@lyx.org>
1784
1785         * sgml.C (escapeString): import the require boosts header file for
1786         tie, and avoid a signed unsigned comparison.
1787
1788 2004-10-25  José Matos  <jamatos@lyx.org>
1789
1790         * sgml.h: add #include <string>
1791
1792 2004-10-25  José Matos  <jamatos@lyx.org>
1793
1794         * sgml.[Ch] (escapeString): new function to escape all the string.
1795
1796 2004-10-24  José Matos  <jamatos@lyx.org>
1797
1798         * paragraph.[Ch] (getFirstWord): new function to get the first
1799         word. Useful for description.
1800         (simpleDocBookOnePar): remove depth argument, add another that
1801         says where to start the paragraph.
1802
1803         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1804         use the new functions to fix cleanly the support for descriptions.
1805
1806 2004-10-24  José Matos  <jamatos@lyx.org>
1807
1808         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1809         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1810         * output_linuxdoc.C (linuxdocParagraphs):
1811         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1812         add buffer as argument.
1813
1814 2004-10-24  José Matos  <jamatos@lyx.org>
1815
1816         * output_docbook.C (makeEnvironment, searchEnvironment): place
1817         CDATA inside paragraphs and fix scope for listitems.
1818
1819 2004-10-24  José Matos  <jamatos@lyx.org>
1820
1821         * output_docbook.C: remove using statement for stack.
1822
1823 2004-10-23  José Matos  <jamatos@lyx.org>
1824
1825         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1826         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1827         docbook. The new scheme is recursive and makes use of iterators, the
1828         same as latex export works.
1829         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1830         directly with the paragraph contents. This code was moved up to
1831         output_docbook.C (docbookParagraphs).
1832         * sgml.C (openTag, closeTag): removed unneeded newlines.
1833         (closeEnvTags) removed.
1834
1835 2004-10-23  André Pönitz  <poenitz@gmx.net>
1836
1837         * undo.C (textUndoOrRedo):
1838         * dociterator.C (asDocIterator): work around crash
1839
1840         * cursor.C (getStatus): replace ASSERT by more verbose error message
1841           and manual correction of the problem. Should increase stability
1842           while providing more sensible information.
1843
1844 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1845
1846         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1847
1848         * bufferlist.C (previous, next): new methods
1849
1850         * lfuns.h:
1851         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1852
1853 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1854
1855         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1856         entities to preamble.
1857
1858 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1859
1860         * messages.C (Pimpl): strip off translation context information
1861
1862 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1863
1864         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1865         the cursor is correct (bug 1694)
1866
1867 2004-10-13  José Matos  <jamatos@lyx.org>
1868
1869         * output_docbook.C (docbookParagraphs): fix closing tags in the
1870         end of the document.
1871
1872 2004-10-09  José Matos  <jamatos@lyx.org>
1873
1874         * buffer.C: format up to 237.
1875         * bufferparams.C (write): use tostr to convert booleans to strings.
1876
1877 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1878
1879         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1880
1881 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1882
1883         * LaTeX.C: implement use of babel language in xindy.
1884
1885 2004-10-05  José Matos  <jamatos@lyx.org>
1886
1887         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1888         Add new translators to help reading and writing the lyx file.
1889
1890 2004-10-05  José Matos  <jamatos@lyx.org>
1891
1892         * ParagraphParameters.C (read):
1893         * text.C (readParToken): replace nexToken by more appropriate lex
1894         methods.
1895
1896 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1897
1898         * LaTeX.C (runMakeIndex):
1899         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1900         (usually 'makeindex') configurable.
1901
1902         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1903         with a variable rather than with a number.
1904
1905 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1906
1907         * output_latex.C (TeXOnePar): make sure font setting is the first
1908         thing that gets output (and the last at the end). Should fix bug
1909         1404.
1910
1911 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1912
1913         * pch.h: use proper signal include
1914
1915         * LaTeX.h: Use preferred calling of Boost.Signal
1916         * buffer.h: ditto
1917
1918 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1919
1920         * pch.h: dont include <boost/function/function0.hpp>
1921
1922         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1923
1924         * paragraph_pimpl.h: remove usage of ShareContainer
1925
1926         * paragraph_pimpl.C: remove initialization of ShareContainer.
1927
1928 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1929
1930         Fix bug #1666
1931
1932         * BufferView.C (putSelectionAt): change the semantics when
1933         backwards == true: now, this just swaps cursor and anchor wrt the
1934         forward case
1935
1936         * BufferView.h (putSelectionAt): add some documentation
1937
1938         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1939         make sure backwardChar is done at least once (to avoid getting
1940         stuck)
1941         (findNextChange): use putSelectionAt in the forward direction
1942         (operator()): use Paragraph::isWord
1943
1944 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1945
1946         * Spacing.C (set): c_str fix
1947
1948 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1949
1950         * lyx_cb.C (Reconfigure): quote the name of configure script in
1951         case it contains spaces
1952
1953 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1954
1955         * client: new dir
1956
1957         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1958         (BOOST_LIBS): use top_buildir when looking for the file
1959
1960 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1961
1962         * pch.h: do not use include boost/format.hpp, multiple symbols
1963                 will result (gcc bug)
1964
1965
1966 2004-08-23  José Matos  <jamatos@lyx.org>
1967
1968         * bufferparams.C (readToken): fix reading of the author field.
1969
1970 2004-08-20  José Matos  <jamatos@lyx.org>
1971
1972         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1973
1974 2004-08-20  José Matos  <jamatos@lyx.org>
1975
1976         * lyxlex.[Ch] (findToken): remove function.
1977
1978         * ParagraphParameters.C (findToken):
1979         * bufferparams.C (findToken): replace call for previous function
1980         with local copy. This local function has one more argument, the
1981         read string argument.
1982
1983 2004-08-16  José Matos  <jamatos@lyx.org>
1984
1985         * ParagraphParameters.C (write):
1986         * Spacing.C (writeFile):
1987         * bufferparams.C (writeLaTeX):
1988         * lyx_cb.C (Reconfigure):
1989         * paragraph.C (write):
1990         * tabular.C (write): remove unnecessary space at end of line.
1991
1992
1993 2004-08-16  José Matos  <jamatos@lyx.org>
1994
1995         * text.C (readParagraph): remove debug message.
1996
1997 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1998
1999         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2000         crash
2001
2002         * output_plaintext.C (asciiParagraph): set depth correctly
2003
2004         * outputparams.h: add member depth
2005
2006         * paragraph_funcs.C (ownerPar): remove.
2007
2008         * text2.C (setCounter): remove first_pit; comment out some
2009         non-working code that uses ownerPar
2010
2011         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2012         uses ownerPar
2013
2014 2004-08-16  José Matos  <jamatos@lyx.org>
2015
2016         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2017         For the same level of importance use the same chanel to report problems.
2018         (read): add code to deal with \begin_body and \end_body.
2019
2020
2021 2004-08-15  José Matos  <jamatos@lyx.org>
2022
2023         * lyxlex.C (getString): fix comment, buffer::readBody is now
2024         buffer:readDocument.
2025
2026         * tex-strings.C (string_papersize): Default -> default,
2027         Custom -> custom, for consistency with other options.
2028
2029 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
2030
2031         * pch.h: new file
2032
2033         * Makefile.am: support pch
2034
2035 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2036
2037         * text.C (readParToken): remove the static LyXFont variable and
2038         pass it as a parameter instead. This fixes a nasty bug where an
2039         inset will be inserted with a bad font in some situations
2040         (readParagraph): adapt
2041
2042         * text2.C (setCounter): reduce number of calls to pars_[pit]
2043
2044         * text.C (singleWidth): add an assert, fix a test
2045
2046         * rowpainter.C (paintText): reduce number of calls to singleWidth
2047
2048         * paragraph.C (isHfill):
2049         (isNewline): ws only
2050
2051 2004-08-14  André Pönitz  <poenitz@gmx.net>
2052
2053         * text.C:
2054         * text2.C:
2055         * rowpainter.C:
2056         * lyxtext.h (several functions): use a Paragraph & argument
2057         instead of par_type
2058
2059 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2060
2061         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2062
2063         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2064
2065         * text.C (singleWidth): remove useless test
2066
2067 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2068
2069         * tabular.h: remove bogus comments
2070
2071         * tabular.C (getDescentOfRow):
2072         (isPartOfMultiColumn): add assertions
2073
2074         * lyxlength.C (inPixels): remove #warning
2075
2076 2004-08-14  André Pönitz  <poenitz@gmx.net>
2077
2078         * paragraph.h: inline getChar()
2079
2080         * BufferView.h: remove unused declarations
2081
2082 2004-08-14  José Matos  <jamatos@lyx.org>
2083
2084         * Buffer.[Ch] (readDocument): new name for old readBody.
2085         * Buffer.C: new file format, new keywords: \begin_document,
2086         \begin_header, \begin_body, \end_body.
2087
2088         * bufferparams.C (readToken): replace all calls to lex.nextToken
2089         by lex.next(). Do the same to eatLine except where really needed.
2090
2091         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2092         line when writing to the lyx file.
2093
2094         * output_plaintext.C (asciiParagraph): fix Bibliography style
2095         handling.
2096
2097         * text.C (read): fix end of file handling.
2098
2099 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2100
2101         * MenuBackend.C (Menu::operator[]): new method to access
2102         individual menu items
2103         (Menu::hasFunc): new method. search for an item that corresponds
2104         to a given func
2105         (MenuBackend::specialMenu): new method
2106         (MenuBackend::expand): if a special menu has been set, skip
2107         entries whose func() appears in this menu
2108
2109 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2110
2111         * text3.C: use Debug::DEBUG a bit more
2112
2113         * text.C (leftMargin): try to simplify a tiny bit change var x to
2114         l_margin. Dont output the wide margins always.
2115         (rightMargin): no margin in inner texts
2116
2117         * rowpainter.h (nestMargin): new func
2118         (changebarMargin): new func
2119         (rightMargin): new func
2120
2121         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2122         now functions.
2123         (paintLast): ditto
2124
2125         * factory.C (createInset): modify setDrawFrame
2126
2127         * cursor.C: use Debug::DEBUG a bit more
2128
2129 2004-08-14  André Pönitz  <poenitz@gmx.net>
2130
2131         * coordcache.[Ch]:
2132         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2133         cache for all insets in (at least partially) visible (top-level)
2134         paragraphs.
2135
2136         * BufferView_pimpl.C: reset external coord cache before every update.
2137         This means the coord cache only contains valid entries.
2138
2139 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2140
2141         bug 1096
2142         * BufferView_pimpl.C (getInsetByCode): move function out of class
2143         and change in to a template in anon namespace. Also fix to do what
2144         suits us better.
2145
2146 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2147
2148         bug 1305
2149         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2150         of char
2151         (breakParagraph): rename par to par_offset and use a local
2152         reference. Add code to keep the language over a rebreak.
2153         (breakParagraphConservative): rename par to par_offset, use a
2154         local reference
2155         (mergeParagraph): ditto
2156         (outerHook): ditto
2157         (isFirstInSequence): ditto
2158         (outerFont): rename pit to par_offset
2159
2160         * paragraph.C: ws change
2161         * paragraph.h: ditto
2162         * text3.C: ditto
2163         * text.C: ditto
2164
2165 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2166
2167         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2168         treatment for ']'
2169
2170         * paragraph.C (simpleTeXOnePar): when we have a \item with
2171         optional argument, enclose the argument with curly brackets (in
2172         case it contains a closing square bracket)
2173
2174         * text2.C (editXY):
2175         * text2.C (editXY):
2176         * text3.C (checkInsetHit): constify
2177
2178 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2179
2180         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2181         documents (bug 1629)
2182
2183 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2184
2185         Fix toggling of collapsable insets with the mouse (bug 1558)
2186
2187         * lyxfunc.C (dispatch): adapt to LCursor changes
2188
2189         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2190         make sure that dispatch is not invoked twice
2191
2192         * cursor.C (needsUpdate): new method
2193         (dispatch): return void
2194         (result): new method, to access the DispatchResult of the cursor.
2195
2196 2004-08-13  José Matos  <jamatos@lyx.org>
2197
2198         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2199
2200 2004-08-13  André Pönitz  <poenitz@gmx.net>
2201
2202         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2203
2204         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2205           multiple cells
2206
2207 2004-08-12  André Pönitz  <poenitz@gmx.net>
2208
2209         * text3.C: take out the 'cursor right' form insertInset and only
2210         do it in those places when it is really needed. Fixes crash on
2211         C-m...
2212
2213 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2214
2215         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2216
2217         * BufferView_pimpl.C (setBuffer): initialize the current font of
2218         the underlying LyXText
2219
2220 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2221
2222         * kbsequence.C (print): use UI native formatting for menu
2223         shortcuts
2224
2225         * text.C (insertChar): call Paragraph::insertChar with a font
2226         argument (cosmetic)
2227
2228         * paragraph.C (insertInset, insertChar): the version that takes a
2229         LyXFont argument is now a wrapper around the other one (the
2230         opposite used to be true).
2231
2232         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2233         argument. Font setting is done in Paragraph now.
2234
2235 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2236
2237         * outputparams.h: add new members intitle and lang.
2238
2239         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2240         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2241
2242 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2243
2244         * text3.C (dispatch): remove special handling of button 4 and 5,
2245         it is now taken care of in the frontend code.
2246
2247 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2248
2249         * Spacing.h: add <string> (STLPort compile fix)
2250
2251 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2252
2253         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2254
2255 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2256
2257         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2258         to bool.
2259
2260         * converter.C (showMessage): inherit from unary_function, make
2261         operator() const.
2262
2263         * buffer.C (writeFile): initialize retval
2264
2265         * InsetList.h: rename private variable list to list_
2266         * InsetList.[Ch]: adjust accordingly.
2267
2268 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2269
2270         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2271         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2272         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2273         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2274         * ParagraphParameters.C, LaTeXFeatures.C: replace
2275         "support/std_sstream.h" with <sstream>
2276
2277 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2278
2279         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2280         * lyxsocket.C (LyXServerSocket): ditto
2281         (serverCallback): ditto
2282
2283 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2284
2285         * LaTeXFeatures.C: check release date when loading jurabib.
2286
2287 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2288
2289         * lyxserver.C (startPipe): call register_socket_callback
2290         (endPipe): call unregister_socket_callback
2291
2292 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2293
2294         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2295         (LyXServerSocket): register the callback
2296         (LyXServerSocket): unregister the callback
2297         (fd): delete function
2298         (serverCallback): improve error checking and setup the callbacks.
2299         (dataCallback): change arg to fd.
2300         (writeln): new func (copied fro the client socket) used for server
2301         write to client.
2302         (LyXDataSocket): simplify
2303         (~LyXDataSocket): close ann unregiser callback
2304         (server): delete function
2305         (fd): delete function
2306         (readln): small changes, improve some std::string usage
2307         (writeln): constify a bit
2308
2309 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2310
2311         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2312         Qt frontend
2313
2314 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2315
2316         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2317         after it has been populated
2318
2319 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2320
2321         * text2.C (insertInset): move cursor when inserting inset.
2322
2323 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2324
2325         * kbmap.C (findbindings): a couple of new methods. returns a
2326         container of kb_sequence objects. The real work is done by the
2327         private recursive version
2328         (printbindings): uses findbindings to print out a bracketed list
2329         of bindings (renamed from findbinding).
2330
2331         * MenuBackend.C (binding): use kb_keymap::findbindings
2332
2333         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2334
2335 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2336
2337         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2338
2339 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2340
2341         * paragraph.C (isWord): return true on insets that report
2342         isLetter().
2343
2344         * text.C (getWord): use Paragraph::isWord to decide what is in a
2345         word and what is not; fix bug 1609.
2346
2347 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2348
2349         * tex-strings.C: add "none" to string_paperpackages[], fixes
2350         off-by-one-error in the paperpackage selection.
2351
2352         * lyxlex.[Ch]:
2353         * tex-strings.[Ch]: char const * string[n]
2354         -> char const * const string[]
2355
2356 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2357
2358         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2359         command, return early.
2360
2361 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2362
2363         * debug.h: add DEBUG to enum and fix size of ANY.
2364
2365         * debug.C: add support for Debug::DEBUG
2366         (showTags): cast errorTags.level to unsigned int
2367
2368         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2369         (redoCurrentBuffer): ditto
2370         (updateScrollbar): ditto
2371         * cursor.C (dispatch): ditto
2372         * text2.C (setLayout): ditto
2373         (setFont): ditto
2374         (updateCounters): ditto
2375         (editXY): ditto
2376         (deleteEmptyParagraphMechanism): ditto
2377
2378 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2379
2380         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2381         annotations to cleanup the Makefile slightly.
2382
2383 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2384
2385         * lyxrc.C: do not set user_email to a default value but use empty
2386         instead. The entry used to be translated, which does not work
2387         since at the point where lyxrc is constructed there is no
2388         translation service available
2389
2390         * messages.C (getLocaleDir): remove and use directly
2391         lyx_localedir() instead
2392
2393 2004-06-02  Angus Leeming  <leeming@lyx.org>
2394
2395         Fix crash caused by dereferencing null pointer 'exportdata' in
2396         OutputParams by creating a new ExportData variable on the heap,
2397         storing it in a boost::shared_ptr.
2398         The crash was triggered when generating an Instant Preview
2399         of an external inset.
2400
2401         * Makefile.am: add outputparams.C
2402
2403         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2404         (c-tor): allocate memory to it.
2405
2406         * exporter.C (c-tor): associated changes.
2407
2408 2004-06-01  Angus Leeming  <leeming@lyx.org>
2409
2410         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2411         contains data before calling isInset(0). (Bug 1513.)
2412
2413 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2414
2415         * exporter.C (checkOverwrite): new method
2416         * exporter.C (copyFile): new method
2417         * exporter.C (Export): copy referenced files to the document dir
2418         * exporter.[Ch]: new class ExportedFile
2419         * exporter.[Ch]: new class ExportData. Contains currently the
2420         names of referenced external files
2421         * outputparams.h: add exportdata member.
2422
2423 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2424
2425         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2426         version.C-tmp
2427
2428 2004-05-19  Angus Leeming  <leeming@lyx.org>
2429
2430         * LaTeXFeatures.C:
2431         * ToolbarBackend.C:
2432         * bufferparams.C:
2433         * lyxfunc.C: small changes due to the introduction of namespace
2434         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2435
2436 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2437
2438         * text3.C (dispatch): supress update when only moving the cursor
2439         * cursor.C (selHandle): remove commented code
2440
2441 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2442
2443         * paragraph.C (startTeXParParams): correct column count
2444         * CutAndPaste.C (pasteSelection): remove const_cast
2445         * output_docbook.C (docbookParagraphs): remove const_cast
2446         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2447         const_cast and return ParagraphList::const_iterator
2448         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2449         * output_plaintext.C (writeFileAscii): remove const_cast
2450         * paragraph.[Ch] (simpleTeXOnePar): make const
2451         * paragraph_funcs.C (outerPar): use const iterators
2452         * paragraph_pimpl.C (validate): use const iterators
2453         * text.C (setHeightOfRow): use const iterators
2454
2455 2004-05-17  Angus Leeming  <leeming@lyx.org>
2456
2457         * lfuns.h:
2458         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2459
2460         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2461         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2462         if the citation engine has changed.
2463
2464 2004-05-14  José Matos  <jamatos@lyx.org>
2465
2466         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2467         if the textclass does not provide it. Have it different for sgml and
2468         xml.
2469         support the language of document.
2470         * output_docbook.C (docbookParagraphs):
2471         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2472         first anchor as the id of the paragraph, remove special case code.
2473         * sgml.C (escapeChar): escape only < & >.
2474
2475 2004-05-14  Angus Leeming  <leeming@lyx.org>
2476
2477         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2478         dependencies on src/frontends/controllers/biblio.h. Define a
2479         CiteEngine_enum wrapper class to enable the enum to be forward
2480         declared.
2481
2482 2004-05-12  Angus Leeming  <leeming@lyx.org>
2483
2484         * buffer.C: up LYX_FORMAT to 234.
2485         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2486         use_numerical_citations with a single biblio::CiteEngine cite_engine
2487         variable.
2488         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2489
2490 2004-05-13  José Matos  <jamatos@lyx.org>
2491
2492         * converter.h:
2493         * converter.C (Converter, readFlags): add xml member.
2494         * outputparams.h: add XML flavor.
2495         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2496
2497 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2498
2499         * lyxfunc.C (dispatch):
2500         (getStatus): fix handling of LFUN_SEQUENCE
2501
2502 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2503
2504         * debug.C (showLevel): do not forget the end-of-line marker
2505
2506 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2507
2508         * kbmap.C (read): do not stop parsing a bind file when an error
2509         occurs (bug 1575)
2510
2511 2004-04-29  Angus Leeming  <leeming@lyx.org>
2512
2513         * cursor.C:
2514         * factory.C:
2515         * pariterator.C:
2516         * text2.C: wrap a bunch of #warning statements
2517         inside #ifdef WITH_WARNINGS blocks.
2518
2519 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2520
2521         * buffer.C: increment format to 233.
2522
2523 2004-04-28  Angus Leeming  <leeming@lyx.org>
2524
2525         * BufferView_pimpl.C:
2526         * lyxfunc.C:
2527         * text3.C:
2528         s/updateToolbar()/updateToolbars()/
2529         s/Toolbar.h/Toolbars.h/
2530
2531 2004-04-28  Angus Leeming  <leeming@lyx.org>
2532
2533         * BufferView.[Ch] (c-tor):
2534         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2535         No longer passes these data to the WorkArea generator.
2536
2537 2004-04-28  Angus Leeming  <leeming@lyx.org>
2538
2539         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2540
2541 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2542
2543         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2544
2545 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2546
2547         * output_latex.C (TeXEnvironment): make sure that there is a line
2548         break before \end{foo} for the last paragraph of a document
2549         (TeXOnePar): if the paragraph is at the end of the document (or
2550         inset) and the language has to be reset, then make sure that the
2551         line break is _before_ the language command, not after (fixes bug
2552         1225); also make sure that the language reset command is the first
2553         thing after the paragraph (to ensure proper nesting of
2554         environments and thus fix bug 1404)
2555
2556 2004-04-21  John Levon  <levon@movementarian.org>
2557
2558         * ToolbarBackend.h:
2559         * ToolbarBackend.C: make "name" be a programmatic name
2560         and a gui_name field.
2561
2562         * lyxfunc.C: display the minibuffer on M-x
2563
2564 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2565
2566         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2567         (bug 1526)
2568
2569 2004-04-19  Angus Leeming  <leeming@lyx.org>
2570
2571         * BufferView_pimpl.C (setBuffer): changed preview interface.
2572
2573         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2574         possible values.
2575
2576 2004-04-19  John Levon  <levon@movementarian.org>
2577
2578         * BufferView_pimpl.C:
2579         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2580
2581 2004-04-05  Angus Leeming  <leeming@lyx.org>
2582
2583         * text.C (redoParagraphs): add call to updateCounters(), thereby
2584         fixing the missing "Figure #:" label from the caption of a
2585         figure float.
2586
2587 2004-04-13  Angus Leeming  <leeming@lyx.org>
2588
2589         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2590         cursor is clicked out of an inset.
2591
2592 2004-04-13  Angus Leeming  <leeming@lyx.org>
2593
2594         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2595         than an InsetOld one.
2596
2597 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2598
2599         * format.[Ch]: add editor to Format
2600         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2601         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2602
2603 2004-04-08  André Pönitz  <poenitz@gmx.net>
2604
2605         * metricsinfo.h: remove PainterInfo::width member
2606
2607 2004-04-08  Angus Leeming  <leeming@lyx.org>
2608
2609         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2610         "\providecommand" rather than "\newcommand", thereby preventing
2611         clashes with packages that define "\boldsymbol" themselves.
2612         Eg, beamer.
2613
2614 2004-04-08  Angus Leeming  <leeming@lyx.org>
2615
2616         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2617         thereby squashing an unnecessary warning.
2618
2619 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2620
2621         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2622         setBuffer()
2623
2624 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2625
2626         * BufferView.C (setCursor): call redoParagraph (some insets could
2627         have been opened)
2628         (putSelectionAt): remove the 'double update' trick
2629
2630         * BufferView_pimpl.C (fitCursor): call refreshPar
2631         (workAreaDispatch): remove an uneeded update call
2632         (dispatch): remove some manual update calls
2633
2634         * cursor.[Ch]: remove cached_y_, updatePos
2635         (selHandle): set noUpdate when appropriate
2636
2637         * lyxfunc.C (dispatch): track if we need an update
2638
2639         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2640
2641         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2642         (paintSelection): cheap optimization, do not call cursorX when not
2643         needed
2644         (paintPars): change signature
2645         (refreshPar): add
2646         (paintText): adjust
2647         (paintTextInset): adjust
2648
2649         * text.C: adjust
2650
2651 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2652
2653         * lengthcommon.C: compilation fix: remove explicit array size from
2654         unit_name[] and friends
2655
2656 2004-04-05  Angus Leeming  <leeming@lyx.org>
2657
2658         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2659
2660         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2661         present only for the preferences dialog.
2662         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2663
2664 2004-04-05  Angus Leeming  <leeming@lyx.org>
2665
2666         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2667         to enable the frontends to export changes to lyxrc correctly.
2668
2669         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2670
2671 2004-04-07  André Pönitz  <poenitz@gmx.net>
2672
2673         * cursor.[Ch] (selClear, adjust): remove math
2674
2675         * cursor_slice.C: more agressive assert
2676
2677         * lyxfunc.C:
2678         * BufferView_pimpl.C: rework mouse event dispatch
2679
2680         * dociterator.C:
2681         * paragraph.C:
2682         * text2.C:
2683         * text3.C: adjust
2684
2685 2004-04-05  André Pönitz  <poenitz@gmx.net>
2686
2687         * cursor.[Ch] (valign, halign...): remove unneeded functions
2688
2689 2004-04-05  Angus Leeming  <leeming@lyx.org>
2690
2691         * lyxlength.[Ch] (unit_name et al.): const-correct.
2692
2693 2004-04-05  Angus Leeming  <leeming@lyx.org>
2694
2695         * BufferView_pimpl.C:
2696         * buffer.C:
2697         * counters.C:
2698         * cursor.C:
2699         * lyxfunc.C
2700         * paragraph.C:
2701         * pariterator.C:
2702         * text.C:
2703         * text2.C:
2704         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2705
2706 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2707
2708         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2709
2710 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2711
2712         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2713         * BufferView_pimpl.[Ch] (getStatus)
2714         * BufferView.[Ch] (getStatus): add
2715         * lyxfunc.C (getStatus): move lfuns handled in
2716         BufferView::dispatch to te function above
2717         * Cursor.C (setSelection): set selection() = true
2718
2719 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2720
2721         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2722
2723 2004-03-31  Angus Leeming  <leeming@lyx.org>
2724
2725         * lyxfunc.C (dispatch): Fall through to the generic
2726         Dialogs::show("preamble").
2727
2728 2004-03-31  Angus Leeming  <leeming@lyx.org>
2729
2730         * lyxfunc.C (dispatch): Fall through to the generic
2731         Dialogs::show("spellchecker").
2732
2733 2004-03-31  Angus Leeming  <leeming@lyx.org>
2734
2735         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2736         preferences dialog.
2737
2738 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2739
2740         * BufferView.C
2741         * cursor.[Ch]
2742         * dociterator.[Ch]:
2743         * insetiterator.[Ch]:
2744         * lyxfind.C:
2745         * lyxfunc.C:
2746         * pariterator.[Ch]:
2747         * text2.C:
2748         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2749
2750 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2751
2752         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2753         insets where we are putting the cursor.
2754
2755 2004-03-31  Angus Leeming  <leeming@lyx.org>
2756
2757         * lfuns.h:
2758         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2759
2760         * lyxrc.[Ch] (read, write): overloaded member functions taking
2761         a std::[io]stream arguments.
2762
2763         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2764
2765 2004-03-31  Angus Leeming  <leeming@lyx.org>
2766
2767         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2768         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2769
2770         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2771         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2772
2773 2004-03-31  Angus Leeming  <leeming@lyx.org>
2774
2775         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2776         the LFUN_ALL_INSETS_TOGGLE code.
2777
2778 2004-03-30  Angus Leeming  <leeming@lyx.org>
2779
2780         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2781         has died. Fall through to the generic Dialogs::show("document").
2782
2783 2004-03-30  Angus Leeming  <leeming@lyx.org>
2784
2785         * lfuns.h:
2786         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2787         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2788
2789         * lyxfunc.C (getStatus, dispatch): define the actions for these
2790         lfuns. Little more than a cut and pste job from ControlDocument.C
2791
2792         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2793
2794 2004-03-30  Angus Leeming  <leeming@lyx.org>
2795
2796         * lfuns.h:
2797         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2798         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2799
2800         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2801         open/closed state of ollapsable insets. Usage:
2802
2803         all-inset-toggle <state> <name>, where
2804         <state> == "open" || "closed" || "toggle" and
2805         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2806
2807         * lyxtext.h, text2.C (toggleInset): removed.
2808
2809         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2810         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2811         now passes LFUN_INSET_TOGGLE to the found inset.
2812
2813         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2814         is now invoked as "all-insets-toggle toggle branch".
2815
2816 2004-03-30  Angus Leeming  <leeming@lyx.org>
2817
2818         * dociterator.C:
2819         * insetiterator.C:
2820         * pariterator.[Ch]: added/corrected header blurb.
2821
2822 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2823
2824         * dociterator.[Ch]: add an inset_ member
2825         (backwardPos): implemented
2826         (backwardPos, forwardPos): use inset_ when the stack is empty.
2827         (doc_iterator_begin, doc_iterator_end): implemented
2828         * pariterator.[Ch]: adjust, add begin, end
2829         * insetiterator.[Ch]: adjust, add begin, end
2830         * cursor.C:
2831         * document.C:
2832         * BufferView.C:
2833         * BufferView_pimpl.C:
2834         * CutAndPaste.C: adjust
2835
2836 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2837
2838         * buffer.C: increment file format to 232.
2839         * LaTeXFeatures.C: add bibtopic package.
2840         * bufferparams.[Ch]: param \use_bibtopic.
2841
2842         * lyxrc.[Ch]: add lyxrc bibtex_command
2843         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2844
2845         * buffer.C: increment file format to 231.
2846
2847 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2848
2849         * dociterator.C: implement forwardPar
2850         * iterators.[Ch]: remove, replaced by
2851         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2852         * BufferView.C:
2853         * BufferView_pimpl.C:
2854         * CutAndPaste.C:
2855         * buffer.C:
2856         * bufferview_funcs.C:
2857         * cursor.C:
2858         * lyxfind.C
2859         * lyxfunc.C
2860         * paragraph_funcs.C
2861         * toc.C:
2862         * Makefile.am: adjust
2863
2864 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2865
2866         * CutAndPaste.C (pasteSelection): fix 2 crashes
2867         (eraseSelection): fix a crash
2868         * paragraph_funcs.C: remove a warning
2869
2870 2004-03-28  Angus Leeming  <leeming@lyx.org>
2871
2872         * lfuns.h:
2873         * LyXAction.C (init): new LFUN_PRINT.
2874
2875         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2876
2877 2004-03-27  Angus Leeming  <leeming@lyx.org>
2878
2879         * lfuns.h:
2880         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2881
2882         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2883
2884 2004-03-27  Angus Leeming  <leeming@lyx.org>
2885
2886         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2887         insetlist always contains non-null pointers to insets.
2888
2889 2004-03-26  Angus Leeming  <leeming@lyx.org>
2890
2891         * src/BufferView_pimpl.C:
2892         * src/CutAndPaste.C:
2893         * src/buffer.C:
2894         * src/iterators.C:
2895         * src/output_plaintext.C:
2896         * src/outputparams.h:
2897         * src/paragraph_funcs.C:
2898         * src/rowpainter.C:
2899         * src/text.C:
2900         * src/text2.C:
2901         * src/frontends/controllers/ControlErrorList.C:
2902         * src/frontends/gtk/FileDialogPrivate.C:
2903         * src/frontends/gtk/GPainter.C:
2904         * src/frontends/gtk/GToolbar.C:
2905         * src/frontends/qt2/QRef.C:
2906         * src/mathed/math_scriptinset.C: squash compiler warnings.
2907
2908 2004-03-26  Angus Leeming  <leeming@lyx.org>
2909
2910         * ispell.C (LaunchIspell::start):
2911         * lyx_cb.C (AutoSaveBuffer::start):
2912         invoke run(DontWait) rather than runNonBlocking().
2913
2914 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2915
2916         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2917
2918 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2919
2920         * kbsequence.C (print): adjust
2921
2922         * kbmap.C (printKeySym): rename and change signature
2923         (printKey): use LyXKeySym::print()
2924
2925 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2926
2927         * undo.C: add using std::advance to compile for stlport
2928
2929 2004-03-24  Angus Leeming  <leeming@lyx.org>
2930
2931         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2932         it leads to a crash when no buffer is present.
2933
2934 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2935             Martin Vermeer  <martin.vermeer@hut.fi>
2936
2937         * lyxfunc.C (dispatch):
2938         * bufferparams.C (readToken): use the new LColor::setColor
2939
2940         * LColor.[Ch] (setColor): new version that takes two strings as
2941         argument and creates a new color entry if necessary
2942
2943 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2944
2945         * buffer.C (makeLaTeXFile): if the main latex file that is
2946         processed is usually a subdocument of some master, then pretend
2947         for a while that it is actually the master
2948
2949 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2950
2951         * buffer.C (getLabelList):
2952         (getBibkeyList): use getMasterBuffer()
2953         (getMasterBuffer): new method. Returns the main document in the
2954         case where one is using included documents.
2955
2956 2004-03-25  André Pönitz  <poenitz@gmx.net>
2957
2958         * Makefile.am:
2959         * iterators.[Ch]:
2960         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2961
2962         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2963
2964         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2965         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2966
2967         * ParameterStruct.h: merge with ParagraphParameters
2968
2969         * lyxtext.h: remove LyXText::parOffset() and getPar()
2970
2971         * text3.C: Remove all 'manual' update calls. We do now one per user
2972         interaction which is completely sufficient.
2973
2974         * Bidi.C:
2975         * BufferView.[Ch]:
2976         * BufferView_pimpl.C:
2977         * FontIterator.[Ch]:
2978         * MenuBackend.C:
2979         * ParagraphParameters.[Ch]:
2980         * buffer.C:
2981         * buffer.h:
2982         * bufferlist.C:
2983         * cursor.[Ch]:
2984         * cursor_slice.[Ch]:
2985         * dociterator.[Ch]:
2986         * errorlist.[Ch]:
2987         * factory.C:
2988         * lfuns.h:
2989         * lyxfind.C:
2990         * lyxfunc.C:
2991         * output_docbook.[Ch]:
2992         * output_latex.[Ch]:
2993         * output_linuxdoc.[Ch]:
2994         * output_plaintext.[Ch]:
2995         * paragraph.[Ch]:
2996         * paragraph_funcs.[Ch]:
2997         * paragraph_pimpl.[Ch]:
2998         * rowpainter.C:
2999         * tabular.[Ch]:
3000         * text.C:
3001         * text2.C:
3002         * toc.C:
3003         * undo.[Ch]: adjust
3004
3005         * frontends/controllers/ControlDocument.C:
3006         * frontends/controllers/ControlErrorList.C:
3007         * frontends/controllers/ControlSpellchecker.C:
3008         * insets/inset.C:
3009         * insets/inset.h:
3010         * insets/insetbase.h:
3011         * insets/insetbibitem.C:
3012         * insets/insetbox.C:
3013         * insets/insetbranch.C:
3014         * insets/insetcaption.C:
3015         * insets/insetcharstyle.C:
3016         * insets/insetcharstyle.h:
3017         * insets/insetcollapsable.C:
3018         * insets/insetcollapsable.h:
3019         * insets/insetert.C:
3020         * insets/insetfloat.C:
3021         * insets/insetfoot.C:
3022         * insets/insetmarginal.C:
3023         * insets/insetnote.C:
3024         * insets/insetoptarg.C:
3025         * insets/insettabular.C:
3026         * insets/insettext.C:
3027         * insets/insettext.h:
3028         * insets/insetwrap.C:
3029         * mathed/math_mboxinset.C:
3030         * mathed/math_nestinset.C:
3031         * mathed/math_scriptinset.C:
3032         * mathed/math_scriptinset.h:
3033         * support/types.h:
3034
3035 2004-03-24  Angus Leeming  <leeming@lyx.org>
3036
3037         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3038         deal with any child processes that have finished but are waiting to
3039         communicate this fact to the rest of LyX.
3040
3041 2004-03-24  Angus Leeming  <leeming@lyx.org>
3042
3043         64-bit compile fixes.
3044
3045         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3046         (c-tor): pass lyx::pos_types rather than ints.
3047
3048         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3049         lyx::pos_type.
3050
3051         * text.C (Delete): compile fix.
3052         (getPar): ensure that function declaration is the same as that in
3053         the header file.
3054
3055 2004-03-23  Angus Leeming  <leeming@lyx.org>
3056
3057         * ispell.C (LaunchIspell):
3058         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3059         a boost::shred_ptr rather than a std::auto_ptr.
3060
3061 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3062
3063         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3064         handle LFUN_FILE_INSERT_*
3065
3066         * lyxrc.C (setDefaults, getDescription, output, read):
3067         * lyxrc.h: remove ps_command
3068
3069 2004-03-22  Angus Leeming  <leeming@lyx.org>
3070
3071         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3072         Ensure that error_handler is processed once only and that all data
3073         is saved before attempting to output any warning messages.
3074
3075         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3076
3077 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3078
3079         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3080
3081 2004-03-19  André Pönitz  <poenitz@gmx.net>
3082
3083         * cursor.[Ch] (reset): take main text inset as argument
3084
3085         * BufferView: adjust
3086         * BufferView_pimpl.C: adjust
3087
3088         * paragraph.[Ch]: fix completely broken operator=()
3089
3090 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3091
3092         * LColor.C (getFromLyXName): make sure that the color name is used
3093         as lowercase.
3094
3095 2004-03-17  Angus Leeming  <leeming@lyx.org>
3096
3097         * lfuns.h:
3098         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3099
3100         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3101         dialog and to kill a forked process.
3102
3103 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3104
3105         * text2.C (setCursorFromCoordinates): fix font problem
3106
3107 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3108
3109         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3110         bogus "rebuild cursor" code
3111
3112 2004-03-11  André Pönitz  <poenitz@gmx.net>
3113
3114         * buffer.[Ch]: use InsetText instead of LyXText as container for
3115         the main lyx text.
3116
3117         * dociterator.[Ch]: drop the BufferView * member which is not needed
3118         anymore after the change to buffer.C
3119
3120         * paragraph_funcs.C:
3121         * text.C:
3122         * text2.C:
3123         * BufferView.[Ch]:
3124         * BufferView_pimpl.[Ch]:
3125         * cursor.[Ch]:
3126         * cursor_slice.[Ch]: adjust
3127
3128         * text3.C: fix bug in mathDispatch
3129
3130 2004-03-08  André Pönitz  <poenitz@gmx.net>
3131
3132         * undo.[Ch]: use 'StableDocumentIterator' as base for
3133         the Undo struct.
3134
3135 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3136
3137         * LaTeXFeatures.C:
3138         * bufferparams.[Ch]: add jurabib support and param.
3139
3140         * LaTeX.C: add FIXME/comment.
3141
3142 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3143
3144         * buffer.C: increment file format to 230.
3145
3146 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3147
3148         * cursor.C (dispatch): avoid infinite loops
3149
3150 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3151
3152         * rowpainter.C (paintSelection): fix x coordinates
3153
3154 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3155
3156         * text.C (rowBreakPoint): fix breaking before displayed insets
3157
3158 2004-03-01  André Pönitz  <poenitz@gmx.net>
3159
3160         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3161
3162         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3163
3164         * Makefile.am:
3165         * BufferView.C:
3166         * BufferView_pimpl.C:
3167         * buffer.C:
3168         * lyxfind.C:
3169         * lyxfunc.C:
3170         * text.C:
3171         * text2.C:
3172         * text3.C: adjust
3173
3174 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3175
3176         * lyxtext.h:
3177         * text.C:
3178         * text2.C:
3179         * rowpainter.C:
3180         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3181         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3182
3183 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3184
3185         * Bidi.[Ch] (computeTables): const correctness
3186         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3187         fill_hfill, fill_label_hfill and x from Row
3188         * lyxtext.h: prepareToPrint returns a RowMetrics
3189         * rowPainter.C: adjust
3190         * text.C (prepareToPrint): use width, not textWidth. adjust
3191         (redoParagraphInternal, cursorX): adjust
3192         * text2.C (getColumnNearX): adjust
3193         (init): put a default value to the top LyXText::width
3194
3195 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3196
3197         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3198
3199 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3200
3201         * lyxtext.h: add FontIterator class
3202
3203         * text.C (FontIterator, operator*, operator->, operator++): add
3204         (rowBreakPoint, setRowWidth): adjust (fixing a
3205         rebreaking bug)
3206
3207 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3208
3209         * BufferView_pimpl.C (workAreaDispatch): allow also
3210         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3211
3212 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3213
3214         * text.C (rowBreakPoint): fix a bug showing with very large insets
3215
3216 2004-02-25  André Pönitz  <poenitz@gmx.net>
3217
3218         * text3.C:
3219         * cursor.[Ch]: move some mathed specific code to mathed
3220
3221 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3222
3223         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3224         use_tempdir in preferences
3225         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3226         tempfile creation
3227         * lyx_main.C: ensure that tempdir is valid
3228         * lyxlex.h: correct typo
3229         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3230         * paragraph.[Ch] (isMultiLingual): make const
3231         * cursor.[Ch] (openable): make const
3232
3233 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3234
3235         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3236
3237 2004-02-20  André Pönitz  <poenitz@gmx.net>
3238
3239         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3240
3241         * cursor.[Ch]: prepare for localized getStatus()
3242
3243         * lyxtext.h:
3244         * tabular.C:
3245         * text.C:
3246         * text2.C:
3247         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3248
3249 2004-02-20  André Pönitz  <poenitz@gmx.net>
3250
3251         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3252
3253 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3254
3255         * text2.C (setCursorFromCoordinates): switch to absolute coords
3256         (cursorUp): adjust
3257         (cursorDown): adjust
3258         * text3.C (dispatch): adjust
3259
3260 2004-02-16  André Pönitz  <poenitz@gmx.net>
3261
3262         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3263           insets/ChangeLog)
3264
3265         * cursor_slice.[Ch]: remove unneeded acessor function
3266
3267         * lyxtext.h: rename rtl() to isRTL()
3268
3269         * rowpainter.C:
3270         * tabular.C:
3271         * text.C:
3272         * text2.C:
3273         * text3.C: adjust
3274
3275 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3276
3277         * rowpainter.C (paintSelection): coord fix
3278
3279 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3280
3281         * Spacing.C: compile fix
3282
3283 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3284
3285         * cursor.C (dispatch): restore current_ before returning
3286
3287 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3288
3289         * text2.C (cursorUp, cursorDown): fix coords
3290         (moveUp): fix crash
3291
3292 2004-02-12  André Pönitz  <poenitz@gmx.net>
3293
3294         * lyxtext.h:
3295         * text.C:
3296         * text2.C:
3297         * text3.C: add LCursor & parameter to most cursor movement functions
3298           remove usage of LyXText::cursorRow() and cursorPar()
3299
3300         * cursor.[Ch]: add textRow() needed members
3301
3302         * BufferView.C:
3303         * BufferView_pimpl.C:
3304         * paragraph.[Ch]:
3305         * BufferView.C:
3306         * BufferView_pimpl.C: adjust
3307
3308 2004-02-11  André Pönitz  <poenitz@gmx.net>
3309
3310         * lyxfunc.C:
3311         * BufferView.[Ch]:
3312         * BufferView_pimpl.C: shift undo/redo handling
3313
3314         * cursor.[Ch]: fix mathed crash
3315
3316         * lyxfind.C:
3317         * lyxtext.h: move selectionAsText to LCursor
3318
3319         * output_latex.C:
3320         * paragraph.C:
3321         * text.C:
3322         * text2.C:
3323         * text3.C: adjust
3324
3325         * rowpainter.C: fix excessive drawing
3326
3327 2004-02-06  André Pönitz  <poenitz@gmx.net>
3328
3329         * BufferView.[Ch]:
3330         * BufferView_pimpl.[Ch]:
3331         * text3.C: move some text specific LFUN handling
3332
3333 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3334
3335         * text3.C (checkInsetHit): adjust coords
3336         * text2.C (getColumnNearX): adjust coords
3337         (edit): adjust coords
3338         * text.C (getRowNearY): add two asserts
3339
3340 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3341
3342         * converter.C:
3343         * format.C: add using std::distance to compile on gcc 2.95/stlport
3344
3345 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3346
3347         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3348
3349 2004-02-04  André Pönitz  <poenitz@gmx.net>
3350
3351         * BufferView.[Ch] (insertInset):
3352         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3353
3354         * text2.C:
3355         * text3.C: adjust
3356
3357 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3358
3359         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3360         on the default clause of the switch
3361         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3362         wasn't catched by LCursor::dispatch
3363
3364 2004-02-03  André Pönitz  <poenitz@gmx.net>
3365
3366         * BufferView.C:
3367         * cursor.[Ch]: some additional asserts
3368
3369         * undo.[Ch]: remove LyXText dependency in interface
3370
3371         * lyxfunc.C: adjust
3372
3373         * lyxtext.h (firstPar, lastPar): remove dead functions
3374
3375         * text.C:
3376         * text2.C:
3377         * text3.C:
3378         * paragraph.[Ch]: adjust
3379
3380 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3381
3382         * lyxfind.C (find): fix argument order in call to ::find
3383
3384 2004-02-02  André Pönitz  <poenitz@gmx.net>
3385
3386         * cursor.[Ch]: remove direct access to anchor
3387
3388         * text.C: remove findText() hack
3389
3390 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3391
3392         * iterators.[Ch] (lockPath): remove in favour of...
3393         * BufferView.[Ch] (setCursor): this addition
3394         * BufferView.C (putSelectionAt): adjust
3395         * undo.C (performUndoOrRedo): adjust
3396         * lyxfunc.C (dispatch): adjust
3397
3398 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3399
3400         * iterators.C (lockPath): add a missing slice
3401         * undo.C (performUndoOrRedo): remove redundant positioning code
3402
3403 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3404
3405         * vc-backend.C (scanMaster): ";" -> ';'
3406
3407 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3408
3409         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3410         std::binary_function
3411
3412         * lyxtextclass.C (compare_name): rename to...
3413         (LayoutNamesEqual): ...this
3414
3415         * lyxlex_pimpl.C (compare_tags): inherit from
3416         std::binary_function, put back into anon namespace
3417
3418         * lyxfind.C (MatchString): inherig from std::binary_function
3419         (findChange): use empty() istead of !size()
3420
3421         * format.C (FormatNamesEqual): new functor
3422         (getFormat): use it
3423         (getNumber): use it
3424         (add): use it
3425         (erase): use it
3426         (setViewer): use it
3427
3428         * converter.C (compare_Converter): rename to...
3429         (ConverterEqual): ...this, and fixup a bit.
3430         (getConverter): use it, and make function const
3431         (getNumber): use it, and make function const
3432         (add): use it
3433         (erase): use it:
3434
3435         * bufferlist.C: add using boost::bind
3436
3437         * MenuBackend.C (MenuNamesEqual): new functor
3438         (hasMenu): use it, and make function const
3439         (hasSubmenu): use nested bind to get rid of compare_memfun.
3440
3441 2004-01-30  André Pönitz  <poenitz@gmx.net>
3442
3443         * BufferView_pimpl.C:
3444         * cursor.C:
3445         * cursor.h:
3446         * cursor_slice.[Ch]:
3447         * lyxfunc.C:
3448         * lyxtext.h:
3449         * paragraph_funcs.C:
3450         * paragraph_funcs.h:
3451         * rowpainter.C:
3452         * text.C:
3453         * text2.C:
3454         * text3.C: move some of the edit(x,y) handling to the insets
3455         some coordinate changes.
3456
3457 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3458
3459         * text.C: add using statements for std::advance and std::distance
3460
3461         * paragraph.C: add using statement for std::distance
3462
3463         * lyxfind.C: add using statement for std::advance
3464
3465         * cursor.C (region): remove std:: from swap
3466         (openable): use nucleus in stead of operator->
3467
3468         * BufferView.C: add using statements for std::distance and std::swap
3469
3470 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3471
3472         * iterators.C: Remove the pimple, move the needed structures to
3473         the header file. Create accessor for the positions stack.
3474         (asPosIterator): remove function
3475
3476         * PosIterator.C (PosIterator): move constructors to top of file
3477         (PosIterator): reimplement the constructor taking a ParIterator in
3478         terms of setFrom.
3479         (setFrom): new function
3480         (operator!=): inline it
3481
3482 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3483
3484         * lyxfind.C (replaceAll): use std::advance
3485
3486         * iterators.h: inherit from std::iterator.
3487
3488         * PosIterator.C (advance, distance): remove
3489         * PosIterator.h: interit from std::iterator.
3490
3491 2004-01-26  André Pönitz  <poenitz@gmx.net>
3492
3493         * BufferView.[Ch]:
3494         * BufferView_pimpl.[Ch]:
3495         * InsetList.[Ch]:
3496         * PosIterator.[Ch]:
3497         * buffer.h:
3498         * bufferview_funcs.C:
3499         * cursor.[Ch]:
3500         * cursor_slice.h:
3501         * factory.[Ch]:
3502         * iterators.[Ch]:
3503         * lyxfind.C:
3504         * lyxfunc.C:
3505         * lyxtext.h:
3506         * output_docbook.C:
3507         * output_latex.C:
3508         * output_linuxdoc.C:
3509         * output_plaintext.C:
3510         * paragraph.[Ch]:
3511         * paragraph_funcs.[Ch]:
3512         * paragraph_pimpl.[Ch]:
3513         * rowpainter.C:
3514         * tabular.C:
3515         * tabular.h:
3516         * text.C:
3517         * text2.C:
3518         * text3.C: more IU:  dumps most of the rest of the mathcursor
3519     implementation into cursor.[Ch]; "globalize" a bit of it.
3520
3521 2004-01-25  Angus Leeming  <leeming@lyx.org>
3522
3523         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3524
3525 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3526
3527         * LaTeXFeatures.h: add nice_ and nice() const
3528         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3529
3530 2004-01-20  André Pönitz  <poenitz@gmx.net>
3531
3532         * BufferView.[Ch]:
3533         * BufferView_pimpl.C:
3534         * PosIterator.C:
3535         * bufferview_funcs.C:
3536         * cursor.[Ch]:
3537         * cursor_slice.[Ch]:
3538         * factory.C:
3539         * iterators.C:
3540         * lyx_cb.C:
3541         * lyxfind.C:
3542         * lyxfunc.C:
3543         * lyxtext.h:
3544         * rowpainter.C:
3545         * text.C:
3546         * text2.C:
3547         * text3.C:
3548         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3549           LCursor and mathcursor parts to LCursor and InsetBase.
3550
3551 2004-01-15  André Pönitz  <poenitz@gmx.net>
3552
3553         * cursor_slice.[Ch]: add a few covienience functions
3554
3555         * funcrequest.[Ch]: remove BufferView * member
3556
3557         * BufferView_pimpl.C:
3558         * cursor.C:
3559         * factory.[Ch]:
3560         * lyxfind.[Ch]:
3561         * lyxfunc.C:
3562         * lyxtext.h:
3563         * text3.C:
3564         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3565
3566 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3567
3568         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3569         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3570
3571 2004-01-13  André Pönitz  <poenitz@gmx.net>
3572
3573         * textcursor.[Ch]:
3574         * lyxtext.h: hide cursor and selection anchor behind accessor function
3575
3576         * BufferView.C:
3577         * BufferView_pimpl.[Ch]:
3578         * PosIterator.C:
3579         * bufferview_funcs.C:
3580         * cursor.h:
3581         * lyxfind.C:
3582         * lyxfunc.C:
3583         * text.C:
3584         * text2.C:
3585         * text3.C:
3586         * undo.C: adjust
3587
3588         * cursor.h:
3589         * cursor_slice.[Ch]: some integer type changes for inset unification
3590
3591         * lyxcursor.[hC]: remove, it's CursorSlice now.
3592
3593         * Makefile.am:
3594         * BufferView_pimpl.[Ch]:
3595         * bufferview_funcs.C:
3596         * cursor_slice.C:
3597         * lyxtext.h:
3598         * text.C:
3599         * text2.C:
3600         * text3.C:
3601         * textcursor.[Ch]: adjust
3602
3603 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3604
3605         * text2.C (undoSpan): add and use
3606         * text.C (breakParagraph): use undoSpan (fix bug 578)
3607         * lyxtext.h: adjust
3608
3609 2004-01-08  Angus Leeming  <leeming@lyx.org>
3610
3611         * BufferView_pimpl.C (MenuInsertLyXFile):
3612         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3613         * lyxfunc.C (menuNew, open, doImport):
3614         FileFilterList change to the FileDialog open and save functions.
3615
3616 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3617
3618         * ShareContainer.h: make isEqual and isUnique adaptable
3619
3620         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3621
3622 2004-01-07  Angus Leeming  <leeming@lyx.org>
3623
3624         * LyXAction.C:
3625         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3626
3627         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3628
3629         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3630         functions replacing find, replace and replaceAll.
3631
3632         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3633         LFUN_WORDFIND(FORWARD|BACKWARD).
3634
3635 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3636
3637         * text.C (breakParagraph): remove an outdated #warning
3638
3639 2004-01-07  André Pönitz  <poenitz@gmx.net>
3640
3641         * lyxfind.C: somewhat clearer logic
3642
3643         * text.C: prevent crash in cursorX on unitialized row cache
3644
3645 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3646
3647         * lyxcursor.[Ch] (operator>): add
3648         * textcursor.C (selStart, selEnd): use std::min and std::max
3649
3650 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3651
3652         * Chktex.C: include boost/format.hpp
3653
3654 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3655
3656         * InsetList.C: replace functor MathcIt with adaptable functor
3657         InsetTablePosLess
3658         (insetIterator): modify accordingly
3659
3660         * BranchList.h: move the BranchNamesEqual functor here from...
3661         * BranchList.C: ... to here
3662
3663         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3664         SameName and match.
3665         (add): replace a finding loop with std::find_if.
3666
3667 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3668
3669         * output_docbook.C: moving LatexParam functionality into
3670         .layout files
3671
3672 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3673
3674         * buffer.C: increment format to 229.
3675
3676 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3677
3678         * LaTeXFeatures.C:
3679         * lyx_sty.[Ch]: remove minipageindent_def
3680
3681         * LyXAction.C:
3682         * factory.C:
3683         * lfuns.h:
3684         * lyxfunc.C:
3685         * text3.C: remove LFUN_INSET_MINIPAGE
3686
3687 2003-12-28  Angus Leeming  <leeming@lyx.org>
3688
3689         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3690
3691 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3692
3693         * text2.C (setParagraph): fix off-by-one crash
3694
3695 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3696
3697         * output_docbook.C: header stuff for AGU
3698
3699 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3700
3701         * text2.C (redoCursor): remove
3702         * text.C:
3703         * text3.C:
3704         * BufferView_pimpl.C: remove calls to redoCursor and
3705         setCursor(cursor.par(), cursor.pos()) all around
3706
3707 2003-12-15  Angus Leeming  <leeming@lyx.org>
3708
3709         * buffer.C: up the format to 228.
3710
3711 2003-12-15  André Pönitz  <poenitz@gmx.net>
3712
3713         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3714         slices
3715
3716         * Makefile.am:
3717
3718         * BufferView_pimpl.C:
3719         * cursor.[Ch]:
3720         * lyxcursor.[Ch]:
3721         * rowpainter.[Ch]:
3722         * lyxtext.h:
3723         * text.C:
3724         * text2.C:
3725         * text3.C: adjust
3726
3727 2003-12-15  Angus Leeming  <leeming@lyx.org>
3728
3729         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3730         than getFromGUIName to manipulate the color.
3731
3732 2003-12-14  Angus Leeming  <leeming@lyx.org>
3733
3734         * BranchList.[Ch]: minimize the API.
3735         (Branch::getBranch, getColor): now return a 'const &'.
3736         (Branch::setSelected) now returns a bool set to true if the
3737         selection status changes.
3738         (BranchList::clear, size, getColor, setColor, setSelected,
3739         allBranches, allSelected, separator): removed.
3740         (BranchList::find): new functions, returning the Branch with
3741         the given name.
3742         (BranchList::add, remove): return a bool indicating that
3743         the operation was successful.
3744
3745         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3746         new InsetBranch::isBranchSlected member function.
3747
3748         * LColor.[Ch]: mimimize the API.
3749         (fill): renamed as addColor and made private.
3750         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3751         versions of these functions taking a string arg have been removed.
3752
3753         * bufferparams.C (readToken):
3754         * lyxfunc.C (dispatch):
3755         * lyxrc.C (read): changes due to the altered BranchList and
3756         LColor APIs.
3757
3758         * factory.C (createInset, readInset): changes due to altered
3759         InsetBranch c-tor.
3760
3761 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3762
3763         * factory.C:
3764         * lyxfunc.C: remove insetminipage. "minipage-insert"
3765         now produces a frameless minipage box inset.
3766
3767 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3768
3769         * textcursor.[Ch] (selStart,selEnd): add new methods
3770         remove selection::start, end, use LyXCursor::operator<
3771         * lyxcursor.[Ch] (operator<): add
3772         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3773         * BufferView.[Ch] (unsetXSel): add
3774         * text2.C (clearSelection): use unsetXSel,adjust
3775         * text.C: adjust
3776         * text3.C: adjust
3777         * rowpainter.C: adjust
3778         * bufferview_funcs.C (put_selection_at): adjust
3779
3780 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3781
3782         * BufferView_pimpl.C: small coord. correction
3783
3784 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3785
3786         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3787         dragging over the splash screen.
3788
3789 2003-12-11  Angus Leeming  <leeming@lyx.org>
3790
3791         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3792         as it is now handled in LyXText::dispatch.
3793
3794         * text3.C (doInsertInset): remove a level of nesting.
3795
3796 2003-12-11  Angus Leeming  <leeming@lyx.org>
3797
3798         * factory.C (createInset): changes due to the changed interface to
3799         InsetCommandMailer::string2params.
3800
3801 2003-12-10  Angus Leeming  <leeming@lyx.org>
3802
3803         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3804         'dialog-show-new-inset <inset name>'
3805
3806 2003-12-10  Angus Leeming  <leeming@lyx.org>
3807
3808         * buffer.C: up the format to 227.
3809
3810         * factory.C: the box inset is now identified simply by 'Box'.
3811
3812 2003-12-10  Angus Leeming  <leeming@lyx.org>
3813
3814         * buffer.C: up the format to 226.
3815
3816         * factory.C: the note inset is now identified simply by 'Note'.
3817
3818 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3819
3820         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3821         when a pit is enough. Standarize a couple of loops.
3822
3823 2003-12-05  Angus Leeming  <leeming@lyx.org>
3824
3825         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3826         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3827         data to the re-worked "log" dialog.
3828
3829 2003-12-03  André Pönitz  <poenitz@gmx.net>
3830
3831         * PosIterator.C:
3832         * iterators.C:
3833         * lyxtext.h:
3834         * output_latex.C:
3835         * paragraph_funcs.C:
3836         * text.C:
3837         * text2.C: use Inset::getText instead of Inset::getParagraph
3838
3839 2003-12-03  André Pönitz  <poenitz@gmx.net>
3840
3841         * buffer.[Ch]:
3842         * lyxtext.h:
3843         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3844         InsetText::read() as LyXText::read()
3845
3846 2003-12-02  Angus Leeming  <leeming@lyx.org>
3847
3848         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3849         type. Add a comment in the implementation that the function uses
3850         the stream's bad() function rather than fail() as the std::streams
3851         would do.
3852
3853 2003-12-02  André Pönitz  <poenitz@gmx.net>
3854
3855         * lyxlex.[Ch]: make interface more similar to std::stream
3856
3857         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3858
3859 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3860
3861         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3862
3863 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3864
3865         * vspace.[Ch]: remove VSpace::NONE
3866
3867 2003-12-01  André Pönitz  <poenitz@gmx.net>
3868
3869         * buffer.[Ch]:
3870         * lyxtext.h: move ParagraphList member to LyXText
3871         rename LyXText::ownerParagraphs to LyXText::paragraph
3872
3873         * CutAndPaste.C:
3874         * bufferview_funcs.C:
3875         * iterators.[Ch]:
3876         * lyx_cb.C:
3877         * paragraph.C:
3878         * rowpainter.C:
3879         * tabular.C:
3880         * text.C:
3881         * text2.C:
3882         * text3.C: adjust
3883
3884         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3885
3886         * undo.C: fix cursor positioning
3887
3888 2003-12-01  John Levon  <levon@movementarian.org>
3889
3890         * BufferView_pimpl.C: fix a crash on exit with
3891         a buffer open
3892
3893 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3894
3895         * BranchList.C: fix setSelected() method.
3896
3897 2003-11-28  André Pönitz  <poenitz@gmx.net>
3898
3899         * ParagraphParameters.[Ch]:
3900         * ParameterStruct.h: remove space above/below from Paragraph to
3901          InsetVSpace
3902
3903         * BufferView_pimpl.C:
3904         * factory.C:
3905         * lyxfunc.C:
3906         * lyxtext.h:
3907         * output_latex.C:
3908         * paragraph.C:
3909         * paragraph_funcs.C:
3910         * rowpainter.[Ch]:
3911         * text.C:
3912         * text2.C:
3913         * text3.C: adjust
3914
3915 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3916
3917         * factory.C: Syntax change for CharStyles
3918
3919 2003-11-28  André Pönitz  <poenitz@gmx.net>
3920
3921         * BufferView.[Ch]:
3922         * BufferView.[Ch]:
3923         * buffer.[Ch]:
3924         * buffer.[Ch]: move LyXText member
3925
3926 2003-11-28  André Pönitz  <poenitz@gmx.net>
3927
3928         * BufferView.[Ch]: make LyXText * text a private member
3929
3930         * BufferView_pimpl.C:
3931         * cursor.C:
3932         * iterators.C:
3933         * lyx_cb.C:
3934         * lyxfind.C:
3935         * lyxtext.h:
3936         * rowpainter.[Ch]:
3937         * text.C:
3938         * text2.C:
3939         * undo.C: adjust
3940
3941         * output_plaintext.C: cleanup
3942
3943 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3944
3945         * buffer.C:
3946         * lyxtextclass.[Ch]: parametrize SGML document header
3947
3948 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3949
3950         * converter.[Ch]:
3951         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3952         getFlavor().
3953
3954 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3955
3956         * text2.C (setFont): rework using PosIterator (no more recursive)
3957         (setCharFont): no more needed
3958         (setLayout): no more selection cursors fiddling (done by redoCursor)
3959         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3960         destroy remaining ones)
3961
3962 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3963
3964         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3965         * lyxtext.h: ditto
3966         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3967         selection cursors
3968         * lyxfunc.C: adjust
3969         * text3.C: adjust + re-allow multi par depth changes
3970         * textcursor.C: simplify a bit
3971
3972 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3973
3974         * src/buffer.C:
3975         * src/lyxlayout.C:
3976         * src/lyxlayout.h:
3977         * src/lyxtext.h:
3978         * src/output_docbook.C:
3979         * src/output_latex.C:
3980         * src/paragraph.C:
3981         * src/paragraph.h:
3982         * src/sgml.C:
3983         * src/sgml.h:
3984         * src/text2.C: Introducing a number of tags parametrizing various
3985         XML formats that we may want to support
3986
3987 2003-11-25  André Pönitz  <poenitz@gmx.net>
3988
3989         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3990
3991         * lyxtext.h (leftMargin/rightMargin): simplify interface
3992
3993         * rowpainter.C:
3994         * text.C:
3995         * text2.C:
3996         * text3.C: adjust
3997
3998 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3999
4000         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4001         master file to any child files. Fixes bug 546.
4002
4003 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4004
4005         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4006
4007 2003-11-24  André Pönitz  <poenitz@gmx.net>
4008
4009         * rowpainter.C: simplification
4010
4011         * text2.C (updateCounters): remove call to redoParagraph on
4012         changed labels as this is far too expensive.
4013
4014 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4015
4016         * converter.C (convert): fix a crash: this function gets
4017         called with buffer == 0 from importer code.
4018
4019 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
4020
4021         * text3.C (cursorPrevious): make sure that we do not compare
4022         iterators form different containers.
4023         (cursorNext): ditto
4024
4025         * rowpainter.C (paintSelection): make sure that we do not compare
4026         iterators from different containers.
4027
4028         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4029         iterators from different ParagraphList containers.
4030         [NEXT] ditto
4031
4032         * text2.C (LyXText): change order of initialization slightly
4033         (operator=): new function. copy all variables except cache_par_
4034         (moveUp): make sure that we do not compare iterators from
4035         different ParagraphList constainers.
4036         (moveDown): ditto
4037
4038         * text.C (firstPar): new function
4039         (lastPar): new function
4040         (endPar): new function
4041
4042         * lyxtext.h: move things around and group public functions, public
4043         variables, private functions, private variables
4044
4045 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4046
4047         * factory.C: change call to InsetERT constructor to avoid
4048         additional invocation of method status
4049         * text2.C (toggleInset): remove redundant update() call
4050         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4051         instead of a Bufferview pointer
4052
4053 2003-11-21  André Pönitz  <poenitz@gmx.net>
4054
4055         * rowpainter.C: simplification
4056
4057 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4058
4059         * text3.C (dispatch): make possible to extend a word/row selection
4060         with the mouse
4061
4062 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4063
4064         * lyxtext.h: x0_,y0_ -> xo_,yo_
4065         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4066         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4067         * rowpainter.C (paintRows): paint full paragraphs
4068
4069 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4070
4071         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4072         screen coordinates)
4073
4074 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4075
4076         * lyxtext.h: add x0_, y0_
4077         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4078         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4079
4080 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4081
4082         * text2.C (setCursorIntern): move the x_target update here *
4083         * text3.C: change some bv() to true/false in calls to
4084         cursorUp/Down/Right/Left
4085         * cursor.C: use helper function.
4086
4087 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4088
4089         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4090         * paragraph_funcs.[Ch]: correct comment
4091         * rowpainter.C: do not paint selections away from bv->cursor()
4092         Fix a long standing selection painting bug.
4093         * text3.C: generalize mouse-selection code to LyXTexts other that
4094         top one
4095         * textcursor.C: do not use y coords if we can use par offsets
4096
4097 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4098
4099         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4100         cursor position after e.g. inset insert)
4101
4102 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4103
4104         * lyxfind.C (replace): adjust to locking removal + some
4105         code simplification
4106
4107 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4108
4109         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4110         of the path
4111
4112 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4113
4114         * lyxlayout.[Ch]:
4115         * output_docbook.C: XML sanitation: new layout
4116         parameters InnerTag and CommandDepth
4117
4118 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4119
4120         * BufferView_pimpl.C:
4121         * factory.C:
4122         * text3.C: Fix the insertion and modification of button-style
4123         insets
4124
4125 2003-11-13  André Pönitz  <poenitz@gmx.net>
4126
4127         * InsetList.[Ch]: remove deleteLyXText
4128
4129         * paragraph.[Ch]: cache beginOfBody position
4130
4131         * Bidi.C:
4132         * text.C:
4133         * text2.C:
4134         * text3.C: remove superfluous update() calls
4135
4136         * vspace.C: cleanup
4137
4138 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4139
4140         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4141         * BufferView.C (fitLockedInsetCursor): remove
4142         * cursor.[Ch] (getDim): add
4143         * text.C (getRowNearY): add faster version
4144         * text3.C: remove some update calls
4145
4146 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4147
4148         * LaTeXFeatures.C:
4149         * LyXAction.C:
4150         * MenuBackend.C:
4151         * MenuBackend.h:
4152         * dispatchresult.h:
4153         * factory.C:
4154         * lfuns.h:
4155         * lyxfunc.C:
4156         * lyxtextclass.C:
4157         * lyxtextclass.h:
4158         * text3.C: The Character Style /XML short element patch.
4159
4160 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4161
4162         * text3.C:
4163         * factory.C: Small step to solving 'unable to insert some insets'
4164         problem
4165
4166 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4167
4168         * cursor.[Ch] (updatePos): new function for updating the y
4169         position of the tip inset
4170         * bufferview_funcs.C (put_selection_at):
4171         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4172
4173 2003-11-11  André Pönitz  <poenitz@gmx.net>
4174
4175         * text.C: remove big comment on invalid Paragraph pointers as it is
4176         not valid anymore
4177
4178 2003-11-11  André Pönitz  <poenitz@gmx.net>
4179
4180         * text_funcs.[Ch]: merge with ...
4181
4182         * text.C: ... this
4183
4184         * lyxtext.h:
4185         * text2.C:
4186         * text3.C: adjust
4187
4188         * Makefile.am: remove text_funcs.[Ch]
4189
4190 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4191
4192         * cursor.C (getPos): return absolute cached y coord
4193
4194         * BufferView_pimpl.C (fitCursor): new simplistic code
4195         (workAreaDispatch): add a fitCursor call
4196
4197 2003-11-10  André Pönitz  <poenitz@gmx.net>
4198
4199         * BufferView.[Ch]:
4200         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4201
4202 2003-11-10  André Pönitz  <poenitz@gmx.net>
4203
4204         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4205         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4206         indicate that the cursor needs to leave an inset
4207
4208         * lyxtext.h: remove inset locking
4209
4210         * cursor.[Ch]: re-implement functionality provided by inset locking
4211
4212         * BufferView.[Ch]:
4213         * BufferView_pimpl.[Ch]:
4214         * LyXAction.C:
4215         * bufferview_funcs.[Ch]:
4216         * factory.C:
4217         * funcrequest.[Ch]:
4218         * iterators.C:
4219         * lyx_cb.C:
4220         * lyxfind.C:
4221         * lyxfunc.C:
4222         * text.C:
4223         * text2.C:
4224         * text3.C:
4225         * undo.C: adjust
4226
4227 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4228
4229         * PosIterator.[Ch]: replace the stack with a vector, add inset
4230         accesor
4231         * iterators.[C]: adjust
4232
4233 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4234
4235         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4236         replaced
4237         * paragraph_funcs.C (readParToken): put the correct id in the
4238         error item, not the id of the top paragraph
4239
4240 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4241
4242         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4243         * bufferview_funcs.C (put_selection_at): use the above
4244
4245 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4246
4247         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4248
4249 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4250
4251         * output_linuxdoc.h:
4252         * output_plaintext.h:
4253         * output.h:
4254         * output_docbook.h: add #include statements
4255
4256 2003-11-05  José Matos  <jamatos@lyx.org>
4257
4258         * output_docbook.[Ch]:
4259         * output_latex.[Ch]:
4260         * output_linuxdoc.[Ch]:
4261         * output_plaintext.[Ch]: New files for output formats.
4262         * output.[Ch]: New file for helper functions.
4263
4264         * buffer.[Ch]:
4265         * paragraph_funcs.[Ch]: output functions moved to new files.
4266
4267         * outputparams.h: rename of latexrunparams.h
4268
4269         * LaTeX.[Ch]:
4270         * buffer.[Ch]:
4271         * bufferlist.[Ch]:
4272         * converter.[Ch]:
4273         * exporter.C:
4274         * paragraph.[Ch]:
4275         * paragraph_funcs.[Ch]:
4276         * paragraph_pimpl.[Ch]:
4277         * tabular.[Ch]: rename ascii to plaintext
4278         and LatexRunParams to OutputParams.
4279
4280 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4281
4282         * iterators.[Ch] (text): require bv argument
4283         * undo.C (recordUndo):
4284         * lyxfunc.C (dispatch):
4285         * bufferview_funcs.C (put_selection_at): adjust
4286
4287 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4288
4289         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4290
4291 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4292
4293         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4294         nestings
4295
4296 2003-11-04  André Pönitz  <poenitz@gmx.net>
4297
4298         * cursor.[Ch]: restructure
4299
4300         * BufferView.[Ch]:
4301         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4302
4303         * iterators.[Ch] (asCursor): remove
4304
4305         * lfuns.h: remove LFUN_INSET_EDIT
4306
4307         * lyxfunc.C:
4308         * tabular.C:
4309         * text.C:
4310         * text2.C:
4311         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4312
4313 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4314
4315         * lyxfind.[Ch]: complete overhaul
4316         * BufferView_pimpl.C:
4317         * lyxfunc.C: adjust
4318         * paragraph.[Ch] (insert): add
4319
4320 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4321
4322         * BufferView.[Ch]:
4323         * lyxtext.h:
4324         * text.C: remove dead spellcheck code
4325
4326 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4327
4328         * dispatchresult.h: add a val setter
4329
4330         * cursor.C (dispatch): use a tempvar for data_[i]
4331
4332 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4333
4334         * PosIterator.[Ch]: compile fix
4335
4336 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4337
4338         * text.C (cursorPar): deactivate the cursor cache
4339
4340 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4341
4342         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4343
4344 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4345
4346         * text3.C (dispatch): adjust for new DisptchResult semantics.
4347
4348         * lyxfunc.C (dispatch): handle update when return from
4349         Cursor::dispatch, adjust for new DispatchResult semantics.
4350
4351         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4352         DispatchResult(true) mean to not update. Add class functions for
4353         setting dispatched and update, as well as reading.
4354
4355         * cursor.C (dispatch): don't handle update here
4356
4357 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4358
4359         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4360         * trans_mgr.C: adjust
4361
4362         * paragraph_funcs.C (readParToken): exception safety
4363
4364         * lyxvc.h: store the vcs pointer in a scoped_ptr
4365         * lyxvc.C: adjust
4366
4367         * lyxsocket.C (serverCallback): exception safety
4368
4369         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4370
4371         * ispell.C (clone): make it return a auto_ptr
4372
4373         * factory.C (createInset): exception safety
4374         (readInset): exception safety
4375
4376         * bufferlist.C (newBuffer): exception safety
4377
4378         * Thesaurus.C (Thesaurus): use initialization for aik_
4379
4380         * MenuBackend.C (expandToc): exception safety.
4381
4382 2003-11-03  André Pönitz  <poenitz@gmx.net>
4383
4384         * buffer.C:
4385         * buffer.h:
4386         * bufferview_funcs.C: remove getInsetFromId()
4387
4388         * lyxcursor.[Ch]:
4389         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4390
4391         * lyxfunc.C:
4392         * text2.C:
4393         * text3.C: adjust
4394
4395 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4396
4397         * PosIterator.C (distance, advance): new
4398         * bufferview_funcs.[Ch] (put_selection_at): new
4399         * iterators.[Ch] (lockPath): new
4400
4401 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4402
4403         * iterators.[Ch] (asPosIterator): added
4404         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4405         * PosIterator.[Ch]: added
4406
4407 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4408
4409         * text3.C:
4410         * lyxfunc.C:
4411         * cursor.C (dispatch):
4412         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4413
4414         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4415         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4416         contructor, add a class function dispatched. Remove operator>=
4417
4418 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4419
4420         * debug.C: only use the default constructor for debugstream
4421         (lyxerr) here.
4422
4423         * main.C (main): include debug.h and setup the lyxerr streambuf
4424         here.
4425
4426 2003-10-31  José Matos  <jamatos@lyx.org>
4427
4428         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4429
4430         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4431         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4432         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4433         * paragraph_pimpl.C (simpleTeXSpecialC):
4434         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4435         add LatexRunParams argument.
4436
4437         * exporter.C (Export): change call accordingly.
4438
4439         * latexrunparams.h: add new member to take care of the other backends.
4440 2003-10-30  José Matos  <jamatos@lyx.org>
4441
4442         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4443         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4444         factorise code for paragraph output.
4445         * buffer.[Ch]:
4446         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4447         move functions.
4448
4449 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4450
4451         * text3.C (dispatch):
4452         * lyxfunc.C (dispatch):
4453         * cursor.C (dispatch):
4454         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4455
4456         * dispatchresult.h: make the dispatch_result_t ctor explicit
4457
4458 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4459
4460         * sgml.[Ch]:
4461         * buffer.C: small refactoring of docbook stuff
4462
4463 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4464
4465         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4466         meaning.
4467
4468 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4469
4470         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4471         operator dispatch_result_t, and operators for == != and >=
4472
4473         * cursor.C (dispatch): adjust for operator dispatch_result_t
4474         removal. comment out call to update
4475
4476         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4477
4478 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4479
4480         * text3.C:
4481         * text2.C:
4482         * text.C:
4483         * lyxtext.h:
4484         * lyxfunc.C:
4485         * cursor.C:
4486         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4487         (dispatch):
4488
4489         * dispatchresult.h: new file, DispatchResult broken out of
4490         insets/insetbase.h
4491
4492         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4493
4494 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4495
4496         * text.C (rowBreakPoint): put a hack inside #if 0
4497
4498 2003-10-28  André Pönitz  <poenitz@gmx.net>
4499
4500         * lyxtext.h:
4501         * metricsinfo.C:
4502         * paragraph_funcs.C:
4503         * rowpainter.C:
4504         * text.C:
4505         * text2.C: general cleanup (lots of small stuff)
4506
4507 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4508
4509         * text2.C (cursorEnd): simple fix to the "end key goes to one
4510         before the end on last row" bug
4511
4512 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4513
4514         * text.C (backspace): fix the "zombie characters"
4515
4516 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4517
4518         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4519
4520 2003-10-27  André Pönitz  <poenitz@gmx.net>
4521
4522         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4523
4524         * factory.C: handle new InsetPagebreak, InsetLine
4525
4526         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4527         and move handling into new InsetPagebreak, InsetLine
4528
4529         * BufferView_pimpl.C:
4530         * LyXAction.C:
4531         * ParagraphParameters.C:
4532         * ParameterStruct.h:
4533         * lyxfunc.C:
4534         * lyxtext.h:
4535         * paragraph.C:
4536         * paragraph.h:
4537         * paragraph_funcs.C:
4538         * paragraph_pimpl.C:
4539         * rowpainter.C:
4540         * text.C:
4541         * text2.C:
4542         * text3.C: adjust
4543
4544 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4545
4546         * text.C:
4547         * lyxrow_funcs.[Ch]:
4548         * Bidi.C:
4549         * paragraph.C:
4550         * lyxtext.h:
4551         * rowpainter.C:
4552         * text2.C:
4553         * text3.C: remove lastPos uses in favour of Row::endpos
4554
4555 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4556
4557         * undo.C (performUndoOrRedo): fix two crashes by setting a
4558         cursor by hand and reordering some calls. Use bv->lockInset instead
4559         of inset->edit because the latter loses cursor information
4560
4561 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4562
4563         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4564         by Martin
4565         (rowBreakPoint): fix width. change point to point + 1.
4566         Add a missing check.
4567
4568 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4569
4570         * MenuBackend.C:
4571         * lyxfunc.C: fix (at least partly) the problems
4572         with the Nav menu and headers inside branch insets
4573         reported by Kayvan
4574
4575 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4576
4577         * paragraph.C (getChar): add strong asserts
4578
4579         * lyxrow_funcs.C (lastPos): remove hideous hack
4580
4581         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4582         (fill): adjust to that (avoid an infinite loop)
4583
4584 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4585
4586         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4587
4588 2003-10-23  André Pönitz  <poenitz@gmx.net>
4589
4590         * RowList_fwd.h: change list<> to vector<> to gain speed
4591         after suggestion from Alfredo
4592
4593 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4594
4595         * lyxtext.h: move the bidi stuff from here...
4596         * text.C: and here
4597         * text2.C: and here
4598         * Bidi.[Ch]: ... to here
4599
4600 2003-10-23  André Pönitz  <poenitz@gmx.net>
4601
4602         * lyxtext.h:
4603         * text.C (isLastRow, isFirstRow): new functions
4604
4605         * paragraph.h: new width cache member
4606
4607         * rowpainter.C: replace RowList::iterator with Row & where possible
4608
4609         * lyxfunc.C: replace several view()->text with a single call
4610
4611         * toc.C: fix 'unused' warning
4612
4613 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4614
4615         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4616         when woring with stream::pos_type
4617         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4618
4619 2003-10-22  André Pönitz  <poenitz@gmx.net>
4620
4621         * lyxtext.h:
4622         * text.C: use Row & instead of RowList::iterator
4623
4624         * lyxrow.h: rename end() to endpos()
4625
4626         * rowpainter.C:
4627         * text.C:
4628         * text2.C: adjust
4629
4630 2003-10-22  Angus Leeming  <leeming@lyx.org>
4631
4632         * buffer.[Ch] (fully_loaded): new member function, returning true
4633         only when the file has been loaded fully.
4634         Used to prevent the premature generation of previews and by the
4635         citation inset to prevent computation of the natbib-style label.
4636
4637         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4638         templates are all set up.
4639
4640         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4641
4642 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4643
4644         * text.C: fixed an "oops" in the "is a bit silly"
4645         bug fix
4646
4647 2003-10-21  André Pönitz  <poenitz@gmx.net>
4648
4649         * FuncStatus.[Ch]: small stuff, whitespace
4650
4651         * lyxfont.[Ch]: operator<<() for debug reasons
4652
4653         * lyxfunc.C:
4654         * lyxrow_funcs.C:
4655         * lyxtext.h: whitespace, spelling
4656
4657         * paragraph.C: naming of variables
4658
4659         * text.C:
4660         * text2.C: small stuff
4661
4662
4663 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4664
4665         * text.C: (1) finish off the inset display() work;
4666         (2) fix the "is a bit silly" bug (accessing char
4667         past end of par).
4668
4669 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4670
4671         * text.C: re-introduce display() for insets, fixing the
4672         various bugs (stretch of line above, math inset
4673         positioning, ...)
4674
4675 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4676
4677         * text.C (rightMargin): remove spurious semicolon
4678
4679         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4680         1415)
4681
4682 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4683
4684         * text3.C: fix one crash due to wrong cursor def
4685
4686 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4687
4688         * vc-backend.C (scanMaster): make the regex static
4689
4690         * LaTeX.C (scanAuxFile): make the regexs static
4691
4692         * text3.C (doInsertInset, dispatch, dispatch):
4693         * text2.C (cursorUp, cursorDown):
4694         * text.C (selectNextWordToSpellcheck):
4695         * BufferView_pimpl.C (dispatch):
4696         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4697
4698 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4699
4700         * lyxsocket.C: include <cerrno>
4701
4702 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4703
4704         * lyxfunc.C (dispatch): remove textcache stuff
4705
4706         * bufferlist.C (release): remove textcache stuff
4707         (closeAll): ditto
4708
4709         * TextCache.C: delete file
4710         * TextCache.h: delete file
4711
4712         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4713
4714         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4715         delete of the bv_->text.
4716         (resizeCurrentBuffer): remove texcache stuff
4717         (workAreaResize): ditto
4718
4719 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4720
4721         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4722         action.
4723
4724 2003-10-16  André Pönitz  <poenitz@gmx.net>
4725
4726         * lyxrow.[Ch]:
4727         * paragraph.h:
4728         * rowpainter.C:
4729         * text.C:
4730         * text2.C:
4731         * text3.C: speed up by storing y positions per paragraph plus per-row
4732         offset instead of having a 'full' y position in the row.
4733
4734 2003-10-15  André Pönitz  <poenitz@gmx.net>
4735
4736         * iterators.[Ch]:
4737         * iterators.[Ch]:
4738         * undo.[Ch]: make undo aware of inner insets
4739
4740 2003-10-14  Angus Leeming  <leeming@lyx.org>
4741
4742         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4743         static member functions LyX::ref() and LyX::cref.
4744         (lastfiles): new accessor functions for the new lastfiles_ member var.
4745         (addLyXView, views_): add a new LyXView to the list of views_.
4746         (updateInset): loop over all LyXViews to call their own updateInset
4747         member function, returning a pointer to the Buffer owning the inset.
4748
4749         * BufferView_pimpl.C (loadLyXFile):
4750         * MenuBackend.C (expandLastfiles):
4751         * bufferlist.C (MenuWrite, QuitLyX):
4752         lastfiles is no longer a global variable.
4753         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4754
4755         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4756         static function. Access through LyX::cref().emergencyCleanup().
4757
4758 2003-10-14  André Pönitz  <poenitz@gmx.net>
4759
4760         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4761
4762         * undo.[Ch]: restoring part of 'undo in insets'
4763
4764         * Makefile.am:
4765         * undo_funcs.[Ch]: merge with undo.[Ch]
4766
4767         * tabular.C: small cleansing stuff
4768
4769 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4770
4771         * paragraph_funcs.C (readParToken): report unknown insets as error
4772         boxes. Use the outer paragraph as location (also for unknown
4773         tokens).
4774
4775         * factory.C (readInset): do not abort on reading an unknown inset.
4776         Eat it and return 0.
4777
4778 2003-10-13  Angus Leeming  <leeming@lyx.org>
4779
4780         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4781
4782         * lyxrc.C: displayTranslator is now a function,
4783         declared in GraphicsTypes.h.
4784
4785 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4786
4787         * format.C: new placeholder $$a to pass the socket address.
4788
4789         * bufferlist.[Ch]: new function getBufferFromTmp.
4790
4791         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4792           files in the temporary dir.
4793
4794 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4795
4796         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4797
4798         * Makefile.am: add lyxsocket.[Ch].
4799
4800         * lyx_main.C (error_handler): handle SIGPIPE.
4801
4802 2003-10-13  André Pönitz  <poenitz@gmx.net>
4803
4804         * BufferView_pimpl.C:
4805         * lyxtext.h:
4806         * text.C:
4807         * text2.C:
4808         * text3.C:
4809         * undo_funcs.[Ch]: use paroffset_type instead of
4810           ParagraphList::iterators to prevent multiple conversion
4811           (and get a more robust interface)
4812
4813 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4814
4815         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4816         * lyxtext.h: ditto
4817         * text3.C (dispatch): ditto
4818
4819 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4820
4821         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4822         move the onlyfile, use onlyfile instead of foundfile in a couple
4823         of places.
4824
4825         * DepTable.C (update): flush the error stream a bit more
4826
4827 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4828
4829         * lyxserver.C (callback): adjust
4830
4831         * lyxfunc.C (getStatus): add a missing brace in commented code
4832         (ensureBufferClean): reindent
4833         (dispatch): delete version taking a string
4834
4835 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4836
4837         * LaTeX.C (deplog): move found file handlig from here...
4838         (handleFoundFile): .. to new function here.
4839         (deplog): make sure to discover several files mentioned on the
4840         same log line.
4841
4842 2003-10-10  André Pönitz  <poenitz@gmx.net>
4843
4844         * lyxfunc.C:
4845         * lyxtext.h:
4846         * tabular.C:
4847         * text.C:
4848         * text2.C:
4849         * text3.C: fix some of the tabular crashes
4850
4851 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4852
4853         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4854
4855         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4856
4857 2003-10-09  André Pönitz  <poenitz@gmx.net>
4858
4859         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4860
4861         * BufferView.C:
4862         * BufferView_pimpl.C:
4863         * bufferview_funcs.C:
4864         * lyx_cb.C:
4865         * lyxcursor.C:
4866         * lyxfind.C:
4867         * lyxfunc.C:
4868         * lyxtext.h:
4869         * text.C:
4870         * text2.C:
4871         * text3.C:
4872         * text_funcs.[Ch]:
4873         * textcursor.[Ch]:
4874         * undo_funcs.C: adjust
4875
4876 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4877
4878         * text2.C (incrementItemDepth): new function, use a backtracking
4879         algorithm to discover the correct item depth.
4880         (resetEnumCounterIfNeeded): new function, use a backtracking
4881         algorithm to discover if counter reset is needed.
4882         (setCounter): use them. Simplify a bit. Add different labels for
4883         different item depths for itemize.
4884
4885         * paragraph.C (Paragraph): remove initialization of enumdepth
4886         (operator=): ditto
4887
4888         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4889         enumerate and itemize. Change the type of itemdepth to signed char.
4890
4891 2003-10-08  André Pönitz  <poenitz@gmx.net>
4892
4893         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4894           thing assignable.
4895         * text.C:
4896         * text2.C: adjust
4897
4898         * tabular.[Ch]: fix crash after 'row-insert'
4899
4900 2003-10-08  Angus Leeming  <leeming@lyx.org>
4901
4902         Fix doxygen warnings.
4903
4904         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4905         Remove CutAndPaste:: prefix from header file declaration.
4906
4907         * LColor.h (fill): remove LColor:: prefix from declaration.
4908
4909         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4910         use lyx::depth_type rather than Paragraph::depth_type so that
4911         header file and .C file match.
4912
4913         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4914
4915         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4916         * aspell.C: \file aspell_local.C -> \file aspell.C
4917         * gettext.C: \file gettext.C -> \file src/gettext.C
4918         * gettext.h: \file gettext.h -> \file src/gettext.h
4919         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4920         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4921         * text.C: \file text.C -> \file src/text.C
4922
4923         * toc.C: move comment so that doxygen is not confused.
4924
4925 2003-10-07  Angus Leeming  <leeming@lyx.org>
4926
4927         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4928
4929 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4930
4931         * aspell.C:
4932         * aspell_local.h: add forgotten std::string's.
4933
4934 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4935
4936         * LaTeXFeatures.C:
4937         * LyXAction.C:
4938         * factory.C:
4939         * lfuns.h:
4940         * lyxfunc.C:
4941         * text3.C: The Box patch. Fancybox support, minipage, parbox
4942
4943 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4944
4945         * CutAndPaste.h:
4946         * DepTable.h:
4947         * FloatList.h:
4948         * LaTeXFeatures.h:
4949         * ParagraphParameters.h:
4950         * TextCache.h:
4951         * Thesaurus.h:
4952         * bufferlist.h:
4953         * exporter.h:
4954         * importer.h:
4955         * lastfiles.h:
4956         * lyxfind.h:
4957         * lyxfont.h:
4958         * lyxlex.h:
4959         * lyxtextclasslist.h:
4960         * messages.h:
4961         * paragraph.h:
4962         * paragraph_pimpl.C:
4963         * textcursor.h: add <string> and other small fixes to make Lars'
4964         std::string patch compile with STLport.
4965
4966 2003-10-06  Angus Leeming  <leeming@lyx.org>
4967
4968         * LColor.h: Add missing #include <string>.
4969
4970 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4971
4972         * All most all file in all subdirs: Make <string> be the prefered
4973         way of getting to std::string, add using declarations.
4974
4975 2003-10-06  André Pönitz  <poenitz@gmx.net>
4976
4977         * metricsinfo.C: initialize LyXFont before changing attribute.
4978         (fixes the 'math in \emph is upright' bug)
4979
4980 2003-10-06  André Pönitz  <poenitz@gmx.net>
4981
4982         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4983
4984 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4985
4986         * graph.C:
4987         * paragraph_pimpl.C: Small fixes to build using STLport
4988
4989 2003-10-02  André Pönitz  <poenitz@gmx.net>
4990
4991         * lyxfunc.C:
4992         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4993
4994 2003-10-01  André Pönitz  <poenitz@gmx.net>
4995
4996         * factory.C: assert early
4997
4998 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4999
5000         * lyx_main.C: remove the global debug object
5001
5002         * debug.h: adjust for new debugstream
5003
5004         * debug.C: adjust for new debugstream and keep the global debug
5005         object here.
5006
5007 2003-09-22  Angus Leeming  <leeming@lyx.org>
5008
5009         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5010         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5011         an incomplete class LyXFont.
5012
5013 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5014
5015         * factory.C: bug fix in branches
5016
5017 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5018
5019         * lyxfunc.C (processKeySym): adjust
5020         (dispatch): adjust
5021         (dispatch): change arg name from ev to func, adjust
5022         (sendDispatchMessage): ditto
5023
5024         * lyx_main.C (defaultKeyBindings): adjust keybindings
5025         (deadKeyBindings): ditto
5026
5027         * kbsequence.C (addkey): return a FuncRequest
5028
5029         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5030
5031         * kbmap.C (bind): take a FuncRequest as arg, adjust
5032         (read): adjust
5033         (lookup): adjust
5034         (defkey): change to take a FuncRequest as arg, adjust
5035         (findbinding): take a FuncRequest as arg, adjust.
5036
5037         * funcrequest.h (operator=): added
5038
5039         * funcrequest.C (FuncRequest): default kb_action changed from
5040         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5041
5042         * buffer.C (dispatch): simplify
5043         (dispatch): adjust to take a FuncRequest as arg, adjust
5044
5045         * boost.C (assertion_failed): change assertion message slightly
5046
5047         * ToolbarBackend.C (read): simplify
5048
5049         * MenuBackend.C (binding): adjust call to findbinding, add a
5050         message if no binding is found.
5051         (read): simplify
5052         (expandToc): correct by adding a empty FuncRequest
5053
5054         * LyXAction.C: include <boost/assert.hpp>
5055         (isPseudoAction): delete function
5056         (LookupFunc): change name to...
5057         (lookupFunc): this. change return type to FuncRequest.
5058         (getActionName): take kb_action as arg, simplify
5059         (funcHasFlag): add an assert, simplify.
5060
5061 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5062
5063         * toc.C (action): return a FuncRequest, simplify
5064
5065         * lyxfunc.C (processKeySym): adjust
5066         (getStatus): delete version that takes an int.
5067         (getStatus): adjust
5068         (dispatch): delete version that takes action as int
5069         (dispatch): adjust
5070         (sendDispatchMessage): simplify and adjust
5071
5072         * funcrequest.C (getArg): take unsigned int as arg
5073
5074         * ToolbarBackend.C (read): adjust
5075         (add): delete version that takes func as a string.
5076         (getIton): take a FuncRequest as arg
5077
5078         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5079         action.
5080
5081         * MenuBackend.C (MenuItem): add a new construct that only takes a
5082         Kind, simplify the constructor use for submenus.
5083         (add): adjust
5084         (expandLastfiles): adjust
5085         (expandDocuments): adjust
5086         (expandFormats): adjust
5087         (expandFloatListInsert): adjust
5088         (expandFloatInsert): adjust
5089         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5090
5091         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5092         Remove class variables lyx_pseudo_map and lyx_arg_map
5093
5094         * LyXAction.C (searchActionArg): delete function
5095         (getPseudoAction): delete function
5096         (retrieveActionArg): delete function
5097         (LookupFunc): make it return kb_action, simplify.
5098         (getActionName): simplify
5099
5100         * factory.C (createInset): fix new bug
5101
5102 2003-09-19  Angus Leeming  <leeming@lyx.org>
5103
5104         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5105         masterFilename_ parameter in the include inset.
5106
5107         * factory.C (createInset): changes due to the changes to InsetInclude.
5108
5109 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5110
5111         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5112
5113 2003-09-18  Angus Leeming  <leeming@lyx.org>
5114
5115         * buffer.C:
5116         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5117         Inset::fillWithBibKeys.
5118         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5119
5120 2003-09-18  Angus Leeming  <leeming@lyx.org>
5121
5122         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5123         variables.
5124         (ctor): pass and store a 'Buffer const &'
5125         (buffer): new member function.
5126
5127         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5128         '*this' to the LaTeXFeatures ctor.
5129
5130 2003-09-18  Angus Leeming  <leeming@lyx.org>
5131
5132         * LColor.h:
5133         * lyxfont.C:
5134         * lyxfont.h:
5135         * lyxtext.h:
5136         * text.C: rename EnumLColor as LColor_color.
5137
5138 2003-09-18  Angus Leeming  <leeming@lyx.org>
5139
5140         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5141         remove #include "insets/insetbase.h" from cursor.h.
5142
5143 2003-09-18  Angus Leeming  <leeming@lyx.org>
5144
5145         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5146         InsetOld_code to remove #include "inset.h".
5147
5148         * iterators.C: add #include "insets/inset.h"
5149
5150 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5151
5152         * BufferView.C: remove more locking stuff that apparently doesn't
5153         do anything sensible.
5154
5155 2003-09-16  André Pönitz  <poenitz@gmx.net>
5156
5157         * paragraph.[Ch]:
5158         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5159           performance boost.
5160
5161 2003-09-16  Angus Leeming  <leeming@lyx.org>
5162
5163         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5164
5165         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5166         arg/return type.
5167
5168         * paragraph.h: remove #include "lyxfont.h". Forward declare
5169         LyXFont_size.
5170
5171 2003-09-16  Angus Leeming  <leeming@lyx.org>
5172
5173         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5174         of support/textutils.h.
5175         (isWord): move the contents of support/textutils.h's IsWordChar here.
5176
5177         * buffer.C:
5178         * lyxfind.C:
5179         * rowpainter.C:
5180         * text.C:
5181         * text2.C: add #include "paragraph.h".
5182
5183         * rowpainter.C:
5184         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5185
5186 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5187
5188         * main.C:
5189         * lyx_main.C:
5190         * lyx_cb.C:
5191         * buffer.C:
5192         * LaTeX.C: use namespace alias for lyx::support::os
5193
5194 2003-09-16  Angus Leeming  <leeming@lyx.org>
5195
5196         * bufferparams.C:
5197         * bufferview_funcs.C:
5198         * factory.C:
5199         * lyxfunc.C:
5200         * paragraph_pimpl.C:
5201         * rowpainter.C:
5202         * text.C: add #include "LColor.h".
5203
5204 2003-09-16  Angus Leeming  <leeming@lyx.org>
5205
5206         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5207         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5208         return LyXFont &.
5209         Store the FontBits::color variable as an int rather than as an
5210         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5211         file.
5212
5213         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5214         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5215         string calls together.
5216
5217         * lyxrc.C: add #include "LColor.h".
5218
5219 2003-09-15  Angus Leeming  <leeming@lyx.org>
5220
5221         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5222         a cow_ptr.
5223
5224 2003-09-15  Angus Leeming  <leeming@lyx.org>
5225
5226         * LColor.h: add an EnumLColor wrapper for LColor::color.
5227
5228         * lyxfont.[Ch] (color, setColor, realColor):
5229         * lyxtext.h, text.C (backgroundColor):
5230         pass EnumLColor args to/from the functions, rather than LColor::color
5231         ones.
5232
5233         * lyxfont.h:
5234         * lyxtext.h: forward declare EnumLColor.
5235
5236         * lyx_main.C: add #include "LColor.h".
5237
5238 2003-09-15  Angus Leeming  <leeming@lyx.org>
5239
5240         * .cvsignore: add lyx-gtk.
5241
5242 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5243
5244         * Chktex.C
5245         * LaTeX.C
5246         * LaTeXFeatures.C
5247         * ParagraphParameters.C
5248         * Spacing.C
5249         * buffer.C
5250         * bufferparams.C
5251         * bufferview_funcs.C
5252         * chset.C
5253         * counters.C
5254         * funcrequest.C
5255         * lyxfont.C
5256         * lyxgluelength.C
5257         * lyxlength.C
5258         * paragraph.C
5259         * paragraph_funcs.C
5260         * text3.C
5261         * vc-backend.C: remove usage of STRCONV
5262
5263 2003-09-15  Angus Leeming  <leeming@lyx.org>
5264
5265         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5266         explicitly define the color passed to the painter.
5267
5268 2003-09-15  Angus Leeming  <leeming@lyx.org>
5269
5270         * bufferparams.C (BufferParams): reorder member initializers to avoid
5271         compiler warning.
5272
5273 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5274
5275         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5276         * text.C (updateRowPositions): remove an unusual nop
5277
5278 2003-09-12  André Pönitz  <poenitz@gmx.net>
5279
5280         * BufferView_pimpl.C:
5281         * Bullet.C:
5282         * layout.h:
5283         * lyxfunc.C:
5284         * lyxlayout.[Ch]:
5285         * lyxtextclass.C:
5286         * rowpainter.C:
5287         * text.C:
5288         * text2.C:
5289         * Counters.[Ch]: finish the 'automatic counters' job
5290
5291 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5292
5293         * aspell.C: include <boost/assert.cpp> (compile fix)
5294
5295 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5296
5297         * boost.C (assertion_failed): use lyx::support::abort instead of
5298         assert.
5299
5300 2003-09-10  Angus Leeming  <leeming@lyx.org>
5301
5302         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5303         with their _fwd progeny.
5304
5305 2003-09-09  Angus Leeming  <leeming@lyx.org>
5306
5307         134 files throughtout the source tree: replace 'using namespace abc;'
5308         directives with the appropriate 'using abc::xyz;' declarations.
5309
5310 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5311
5312         * boost.C (emergencyCleanup): moved here from LAssert.c
5313         (assertion_failed): new function, called by BOOST_ASSERT
5314
5315         * several files: change Assert to BOOST_ASSERT
5316
5317 2003-09-09  Angus Leeming  <leeming@lyx.org>
5318
5319         * buffer.[Ch]: Add an Impl class and move Buffer's member
5320         variables into it. As a result move several header files out of
5321         buffer.h.
5322
5323         Add header files to lots of .C files all over the tree as a result.
5324
5325 2003-09-09  Angus Leeming  <leeming@lyx.org>
5326
5327         * buffer.[Ch]: make Buffer's member variables private. Add
5328         accessor functions.
5329
5330         Lots of changes all over the tree as a result.
5331
5332 2003-09-08  Angus Leeming  <leeming@lyx.org>
5333
5334         * graph.C: #include <config.h>.
5335
5336 2003-09-08  Angus Leeming  <leeming@lyx.org>
5337
5338         * BranchList.C:
5339         * BufferView.C:
5340         * BufferView_pimpl.C:
5341         * CutAndPaste.C:
5342         * DepTable.C:
5343         * LaTeX.C:
5344         * LaTeXFeatures.C:
5345         * LyXAction.C:
5346         * MenuBackend.C:
5347         * TextCache.C:
5348         * aspell.C:
5349         * buffer.C:
5350         * bufferlist.C:
5351         * changes.C:
5352         * chset.C:
5353         * converter.C:
5354         * counters.C:
5355         * debug.C:
5356         * graph.C:
5357         * ispell.C:
5358         * lyx_cb.C:
5359         * lyxfind.C:
5360         * lyxfunc.C:
5361         * lyxlex_pimpl.C:
5362         * lyxrc.C:
5363         * lyxrow.C:
5364         * paragraph.C:
5365         * rowpainter.C:
5366         * texrow.C:
5367         * text.C:
5368         * text2.C:
5369         * toc.C: remove redundant using directives.
5370
5371 2003-09-07  Angus Leeming  <leeming@lyx.org>
5372
5373         * LaTeXFeatures.h: remove #include "support/types.h".
5374         * ToolbarBackend.h: remove #include <algorithm>.
5375         * changes.h: remove #include <ctime>.
5376         * debug.h: remove #include <iosfwd>.
5377         * graph.h: remove #include "support/std_string.h".
5378         * lyx_main.h: remove #include <csignal>.
5379         * lyxlex_pimpl.h: remove #include <fstream>.
5380         * sgml.h: remove #include <algorithm>, <utility>.
5381         * toc.h: remove #include "support/std_ostream.h".
5382         Add #include <iosfwd>.
5383
5384 2003-09-07  Angus Leeming  <leeming@lyx.org>
5385
5386         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5387
5388         * converter.h: forward declare LatexRunParams.
5389         * encoding.h: remove #include "lyxrc.h".
5390         * lyxtext.h: remove #include "LColor.h".
5391         * lyxtextclass.h: remove #include "support/types.h".
5392         * trans.h: remove #include "tex-accent.h".
5393         * trans_mgr.h: remove #include "tex-accent.h".
5394         * insets/inset.h: remove #include "support/types.h", <vector>.
5395         * insets/insetcollapsable.h: remove #include "LColor.h".
5396         * insets/insetinclude.h: remove #include "dimension.h".
5397         * insets/insetlatexaccent.h: remove #include "dimension.h".
5398         * insets/insetoptarg.h:: remove #include "insettext.h".
5399         * insets/insettext.h: remove #include "dimension.h",
5400         <boost/shared_ptr.hpp>
5401
5402         * insets/renderers.h: add #include "dimension.h".
5403         * insets/updatableinset.h: add #include "support/types.h".
5404
5405         * many .C files: Associated changes.
5406
5407 2003-09-06  Angus Leeming  <leeming@lyx.org>
5408
5409         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5410         one, inside testInvariant.
5411
5412         * PrinterParams.C: new file.
5413         * PrinterParams.[Ch]: move the function bodies out of line.
5414
5415 2003-09-06  Angus Leeming  <leeming@lyx.org>
5416
5417         * ParagraphParameters.h: forward declare ParameterStruct rather than
5418         including its header file.
5419         (depth): moved out-of-line.
5420
5421 2003-09-06  Angus Leeming  <leeming@lyx.org>
5422
5423         * BufferView_pimpl.h:
5424         * kbmap.h:
5425         * kbsequence.h:
5426         * lyxfunc.h: forward declare LyXKeySym rather than
5427         #include "frontends/LyXKeySym.h".
5428
5429         * BufferView_pimpl.C:
5430         * kbmap.C:
5431         * kbsequence.C:
5432         * lyxfunc.C: associated changes.
5433
5434 2003-09-06  Angus Leeming  <leeming@lyx.org>
5435
5436         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5437         As a result, can remove the #include "insets/inset.h" from BufferView.h
5438
5439 2003-09-06  Angus Leeming  <leeming@lyx.org>
5440
5441         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5442         As a result, can remove the #include "insets/inset.h" from BufferView.h
5443
5444 2003-09-06  Angus Leeming  <leeming@lyx.org>
5445
5446         * buffer_funcs.C:
5447         * buffer.h:
5448         * bufferlist.C:
5449         * BufferView.C:
5450         * bufferview_funcs.C:
5451         * BufferView_pimpl.C:
5452         * CutAndPaste.C:
5453         * lyx_cb.C:
5454         * lyxfunc.C:
5455         * paragraph.h:
5456         * ParagraphParameters.C:
5457         * tabular.C:
5458         * text3.C:
5459         * toc.C:
5460         * undo_funcs.C:
5461         * frontends/controllers/ControlDocument.C:
5462         * insets/insetcaption.C: rearrange the #includes into some sort of
5463         coherent order.
5464
5465         * buffer.h: remove #includes ErrorList.h, undo.h
5466
5467 2003-09-06  Angus Leeming  <leeming@lyx.org>
5468
5469         * support/types.h: add a 'depth_type' typedef, used to store the
5470         nesting depth of a paragraph.
5471
5472         * paragraph.h:
5473         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5474         defining explicitly.
5475
5476         * buffer.h:
5477         * paragraph_funcs.h:
5478         * ParagraphParameters.h:
5479         * sgml.h: use lyx::depth_type rather than Paragraph or
5480         ParameterStruct's depth_type.
5481
5482         * buffer.h
5483         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5484
5485         * BufferView.C:
5486         * BufferView_pimpl.C:
5487         * CutAndPaste.C:
5488         * ParagraphParameters.C:
5489         * buffer_funcs.C:
5490         * bufferlist.C:
5491         * bufferview_funcs.C:
5492         * lyx_cb.C:
5493         * lyxfunc.C:
5494         * tabular.C:
5495         * text3.C:
5496         * toc.C:
5497         * undo_funcs.C:
5498         * frontends/LyXView.C:
5499         * frontends/controllers/ControlDocument.C:
5500         * frontends/controllers/ControlErrorList.C:
5501         * insets/insetbibitem.C:
5502         * insets/insetbranch.C:
5503         * insets/insetcaption.C:
5504         * insets/insetcollapsable.C:
5505         * insets/insetenv.C:
5506         * insets/insetert.C:
5507         * insets/insetfloat.C:
5508         * insets/insetfoot.C:
5509         * insets/insetfootlike.C:
5510         * insets/insetnewline.C:
5511         * insets/insetquotes.C:
5512         * insets/insettabular.C:
5513         * insets/insettext.C:
5514         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5515
5516         * frontends/controllers/ControlChanges.C: #include "changes.h".
5517
5518 2003-09-06  Angus Leeming  <leeming@lyx.org>
5519
5520         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5521         than #including paragraph.h.
5522
5523         * ParagraphList.h:
5524         * RowList.h: deleted. Superfluous.
5525
5526         * CutAndPaste.h:
5527         * iterators.h:
5528         * lyxcursor.h:
5529         * lyxtext.h:
5530         * text_funcs.h:
5531         * undo.h:
5532         * undo_funcs.h:
5533         * insets/inset.h:
5534         * insets/insettext.h: use ParagraphList_fwd.h rather than
5535         ParagraphList.h.
5536
5537         * paragraph.h: don't forward declare ParagraphList.
5538
5539         * buffer.h:
5540         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5541         rather than ParagraphList.h. paragraph.h is still needed for the
5542         Paragraph::depth_type parameters.
5543
5544         * textcursor.h: enable it to compile stand-alone in light of the
5545         above changes.
5546
5547         * bufferview_funcs.C:
5548         * iterators.C:
5549         * lyxfunc.C:
5550         * lyxrow_funcs.C:
5551         * paragraph.C:
5552         * rowpainter.C:
5553         * text.C:
5554         * text2.C:
5555         * text3.C:
5556         * text_funcs.C:
5557         * textcursor.C:
5558         * undo.C:
5559         * frontends/controllers/ControlParagraph.C:
5560         * frontends/controllers/ControlTabular.C:
5561         * insets/insetmarginal.C:
5562         * insets/insetminipage.C:
5563         * insets/insetnote.C:
5564         * insets/insetoptarg.C: add header files needed to compile again.
5565
5566 2003-09-06  Angus Leeming  <leeming@lyx.org>
5567
5568         * RowList_fwd.h: new file, forward-declaring Row rather than
5569         #including lyxrow.h.
5570
5571         * lyxrow_funcs.h:
5572         * lyxtext.h:
5573         * paragraph.h:
5574         * insets/insettext.h: use it instead of RowList.h
5575
5576         * bufferview_funcs.C:
5577         * lyxfunc.C:
5578         * lyxrow_funcs.C:
5579         * paragraph.C:
5580         * rowpainter.C:
5581         * text.C:
5582         * text2.C:
5583         * text3.C: #include "RowList.h".
5584
5585 2003-09-05  Angus Leeming  <leeming@lyx.org>
5586
5587         * factory.C (createInset):
5588         * vspace.C (c-tor): replace sscanf call with an istringstream.
5589         * ispell.C: re-add missing HP/UX headers.
5590         * lyxserver.C: re-add missing  os2 headers.
5591
5592 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5593
5594         * BranchList.C:
5595         * graph.C:
5596         * ispell.C:
5597         * lastfiles.C:
5598         * lyx_cb.C:
5599         * lyxserver.C:
5600         * texrow.C:
5601         * text3.C: re-add missing system headers, needed for 2.95.2.
5602
5603 2003-09-05  Angus Leeming  <leeming@lyx.org>
5604
5605         Changes most place everywhere due to the removal of using directives
5606         from support/std_sstream.h.
5607
5608 2003-09-05  Angus Leeming  <leeming@lyx.org>
5609
5610         Replace LString.h with support/std_string.h,
5611         Lsstream.h with support/std_sstream.h,
5612         support/LIstream.h with support/std_istream.h,
5613         support/LOstream.h with support/std_ostream.h.
5614
5615         Changes resulting throughout the tree.
5616
5617 2003-09-05  Angus Leeming  <leeming@lyx.org>
5618
5619         * sgml.h: ensure that the header file can be compiled stand-alone.
5620         * *.C: strip out redundant #includes. (320 in total.)
5621
5622 2003-09-04  Angus Leeming  <leeming@lyx.org>
5623
5624         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5625         here (from getPackages).
5626
5627         * debug.[Ch]: add a new EXTERNAL tag.
5628
5629 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5630
5631         * text2.C (cursorEnd): simplify
5632         (setCursor): adjust
5633         (getColumnNearX): adjust
5634
5635         * text.C (computeBidiTables): adjust
5636         (fill): adjust
5637
5638         * rowpainter.C (paintChars): adjust
5639         (paintSelection): adjust
5640         (paintChangeBar): adjust
5641         (paintText): adjust
5642
5643         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5644         lastPos instead.
5645         (numberOfSeparators): adjust
5646
5647 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5648
5649         * LyXAction.C:
5650         * box.[Ch]:
5651         * lfuns.h:
5652         * lyxfunc.C:
5653         * text3.C: Restricts the mouse click functionality
5654         of insets like bibtex, include, toc and floatlist to the visible
5655         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5656         up the dialogs. Cursor has to be in front of the inset (i.e.
5657         start of row) for this to function.
5658
5659 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5660
5661         * bufferview_funcs.C (currentState): output row information
5662
5663 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5664
5665         * bufferview_funcs.C (currentState): output paragraph position
5666
5667 2003-09-04  Angus Leeming  <leeming@lyx.org>
5668
5669         * FloatList.h: move out #include "Floating.h".
5670         * LaTeX.h: move out #include "DepTable.h".
5671         * LyXAction.h: move out #include "funcrequest.h".
5672         * buffer.h: move out #include "author.h", "iterators.h".
5673         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5674         * lyx_main.h: move out #include "errorlist.h".
5675         * lyxfunc.h: move out #include "FuncStatus.h".
5676         * lyxtext: move out #include "lyxcursor.h".
5677         * paragraph_pimpl.h: move out #include "counters.h".
5678
5679 2003-09-03  Angus Leeming  <leeming@lyx.org>
5680
5681         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5682         preamble_snippets list, enabling us to add snippets to the preamble
5683         only if the snippet was not there already.
5684
5685 2003-09-04  Angus Leeming  <leeming@lyx.org>
5686
5687         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5688
5689 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5692         update
5693
5694 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5695
5696         * BranchList.C: point fix, earlier forgotten
5697
5698 2003-09-02  Angus Leeming  <leeming@lyx.org>
5699
5700         * box.C (contains): renamed from 'contained' after a fantastic
5701         amount of hot air.
5702
5703 2003-09-02  John Levon  <levon@movementarian.org>
5704
5705         * BufferView.C:
5706         * lyxcursor.h:
5707         * lyxcursor.C:
5708         * lyxfunc.C:
5709         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5710
5711 2003-09-02  John Levon  <levon@movementarian.org>
5712
5713         * text2.C: simplification of cursorEnd(), including partial
5714         fix for bug 1376
5715
5716 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5717
5718         * buffer.C (readFile): add a space
5719
5720 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5721
5722         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5723
5724 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5725
5726         * buffer.C (readFile): new function, take a filename and a
5727         ParagraphList::iterator
5728         (readFile): adjust
5729         (readFile): adjust, make it private. don't use setStream, make
5730         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5731         always contain the filename.
5732
5733         * BufferView.C (insertLyXFile): simplify and make it work for
5734         gzipped files.
5735
5736 2003-08-30  John Levon  <levon@movementarian.org>
5737
5738         * Makefile.am: fix dist (from Kayvan)
5739
5740 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5741
5742         * most files: change to use const Buffer refs
5743
5744 2003-08-27  André Pönitz  <poenitz@gmx.net>
5745
5746         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5747         on top of ownerPar().
5748
5749 2003-08-27  John Levon  <levon@movementarian.org>
5750
5751         * funcrequest.C: properly initialise POD members
5752
5753 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5754
5755         * lyxtext.h (top_y): move top_y from here
5756         * text.C:
5757         * text2.C:
5758         * text3.C:
5759         * BufferView.[Ch]:
5760         * BufferView_pimpl.[Ch]: to here
5761         * frontends/screen.C:
5762         * insets/insettabular.C:
5763         * insets/insettext.C: adjust
5764         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5765
5766 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5767
5768         * BufferView.[Ch]:
5769         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5770
5771 2003-08-26  André Pönitz  <poenitz@gmx.net>
5772
5773         * paragraph_func.[Ch] (outerPar): new function
5774
5775         * paragraph.C:
5776         * paragraph_funcs.C:
5777         * paragraph_funcs.h:
5778         * paragraph_pimpl.C:
5779         * text2.C: remove Inset::par_owner
5780
5781 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5782
5783         * lyxrow_funcs.C:
5784         * lyxtext.h:
5785         * text.C:
5786         * text2.C: eliminates the needFullRow/display() stuff
5787         altogether, putting the logic in metrics/draw in the insets.
5788
5789 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5790
5791         * text2.C (redoParagraphInternal, redoParagraphs):
5792         * text.C (redoParagraph): add a call to updateRowPositions at the
5793         end of each 'metrics-like' call. Remove all others.
5794         (getRow): remove the 'y-computing' version.
5795         (getRowNearY): do not compute nor return the real y. Solve the
5796         'y < 0' problem and simplify.
5797
5798 2003-08-22  Angus Leeming  <leeming@lyx.org>
5799
5800         * *.[Ch]: clean-up of licence and author blurbs.
5801         Also move config.h out of a few .h files and into a few .C files.
5802
5803 2003-08-22  André Pönitz  <poenitz@gmx.net>
5804
5805         * lyxrow.[Ch]: add x_ and *fill_ members
5806
5807         * lyxtext.h:
5808         * text.C:
5809         * rowpainter.C:
5810         * text2.C: adjust/remove prepareToPrint() calls
5811
5812 2003-08-22  André Pönitz  <poenitz@gmx.net>
5813
5814         * lyxrow.[Ch]: add  end_ member
5815
5816         * lyxrow_funcs.C: use LyXRow::end_
5817
5818         * lyxtext.h (singleWidth): add LyXFont parameter
5819
5820         * rowpainter.C:
5821         * text2.C: adjust LyXText::singleWidth() calls
5822
5823         * text.C (redoParagraph): simplify row breaking logic
5824
5825
5826 2003-08-19  André Pönitz  <poenitz@gmx.net>
5827
5828         * funcrequest.C: initialize button_ member
5829
5830         * text3.C:
5831         * rowpainter.[Ch]: interface consolidation
5832
5833 2003-08-18  André Pönitz  <poenitz@gmx.net>
5834
5835         * BufferView.C:
5836         * BufferView_pimpl.C:
5837         * lyxfind.C:
5838         * paragraph_funcs.C:
5839         * rowpainter.C:
5840         * text3.C: remove LyXScreen::draw() and fitCursor calls
5841
5842         * BranchList.h: remove spurious semicolons
5843
5844         * MenuBackend.C: fix branchlist related crash
5845
5846 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5847
5848         * BranchList.[Ch]:
5849         * InsetList.[Ch]:
5850         * LColor.[Ch]:
5851         * LyXAction.C:
5852         * Makefile.am:
5853         * MenuBackend.[Ch]:
5854         * bufferparams.[Ch]:
5855         * factory.C:
5856         * lfuns.h:
5857         * lyxfunc.C:
5858         * text3.C: implements the 'branch inset'
5859         idea. This allows the output of various versions of a document
5860         from a single source version, selectively outputing or suppressing
5861         output of parts of the text.
5862         This implementation contains a 'branch list editor' in a separate
5863         tab of the document settings dialog. Branches are user definable
5864         and have a "display colour" to distinguish them on-screen.
5865
5866         ColorHandler was somewhat cleaned up.
5867         (1) make possible a dynamically growing LColor list by allowing
5868         the graphic context cache to grow along (vector);
5869         (2) eliminate an IMHO unnecessary step in colour allocation.
5870
5871 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5872
5873         * BufferView_pimpl.C: compile fix
5874
5875 2003-08-15  André Pönitz  <poenitz@gmx.net>
5876
5877         * rowpainter.C: remove extra metrics calls
5878
5879         * lyxtext.h: merge the two constructors into a single one,
5880           pass reference to owner's par list
5881
5882         * BufferView_pimpl.C:
5883         * text.C:
5884         * text2.C: adjust
5885
5886 2003-08-15  André Pönitz  <poenitz@gmx.net>
5887
5888         * lyxrow_funcs.[Ch]:
5889         * lyxtext.h:
5890         * paragraph.h:
5891         * paragraph_funcs.C:
5892         * rowpainter.C:
5893         * text.C:
5894         * text2.C:
5895         * text3.C:
5896         * text_funcs.C: split LyXText::rowlist_ into individual
5897         Paragraph::rows_ chunks
5898
5899         * BufferView.[Ch]:
5900         * BufferView_pimpl.[Ch]:
5901         * lyxfind.C:
5902         * lyxtext.h:
5903         * text3.C: remove toggleSelection()
5904
5905 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5906
5907         * bufferlist.C: beautify two alerts (shorter text of buttons)
5908         * buffer.C: Remove redundant ' ' from message
5909         * tabular.h:
5910         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5911         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5912         rename VALIGN_CENTER to VALIGN_MIDDLE
5913
5914 2003-08-11  André Pönitz  <poenitz@gmx.net>
5915
5916         * lyxtext.h (getPar):
5917         * text.C: new function
5918
5919 2003-08-11  André Pönitz  <poenitz@gmx.net>
5920
5921         * Makefile.am:
5922         * tracer.[Ch]: remove unneeded files
5923
5924         * InsetList.[Ch]: remove resizeInsetsLyXText()
5925
5926         * lyxtext.h:
5927         * text.C:
5928         * text2.C:
5929         * text3.C: merge insertParagraphs() and appendParagraph()
5930         remove breakAgain(), update()
5931
5932         * BufferView_pimpl.[Ch]:
5933         * bufferview_funcs.[Ch]:
5934         * lyxfunc.C:
5935         * paragraph.[Ch]:
5936         * rowpainter.C:
5937         * tabular.C: adjust after text & InsetList changes.
5938
5939 2003-08-08  André Pönitz  <poenitz@gmx.net>
5940
5941         * text.C (insertChar, backspace): replace rowlist fiddling
5942         with rebreak of full par
5943
5944         * lyxtext.h:
5945         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5946         checkParagraph, updateInset): removed
5947
5948 2003-08-07  André Pönitz  <poenitz@gmx.net>
5949
5950         * paragraph.C:
5951         * text3.C: merge some LFUN handlers, remove dead code
5952
5953 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5954
5955         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5956
5957 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5958
5959         * text2.C (DEPM): fix part of bug 1255 and 1256
5960
5961 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5962
5963         * BufferView_pimpl.C (workAreaDispatch): change to use
5964         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5965         that are no mouse related.
5966
5967 2003-08-05  André Pönitz  <poenitz@gmx.net>
5968
5969         * BufferView.[Ch]:
5970         * BufferView_pimpl.[Ch]:
5971         * bufferview_funcs.C:
5972         * text2.C:
5973         * text3.C: rip out "deep update"
5974
5975         * textcursor.[Ch] (last_sel_cursor): remove unused member
5976
5977 2003-08-04  André Pönitz  <poenitz@gmx.net>
5978
5979         * BufferView.[Ch]:
5980         * BufferView_pimpl.[Ch]:
5981         * ParagraphParameters.C:
5982         * bufferview_funcs.C:
5983         * lyx_cb.C:
5984         * lyxfind.C:
5985         * lyxfunc.C:
5986         * text.C:
5987         * text2.C:
5988         * text3.C: replace "complicated" BufferView::update(...) calls with
5989         simpler ones.
5990
5991         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5992
5993 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5994
5995         * Makefile.am (lyx_SOURCES): add paper.h
5996
5997 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5998
5999         * Makefile.am: move things around so that both lyx-qt and
6000         lyx-xforms can be built (according to --with-frontend). Then lyx
6001         is a symbolic link to lyx-[firstfrontend]
6002
6003 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6004
6005         * Always use std::endl with lyxerr
6006
6007 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6008
6009         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6010
6011 2003-08-01  André Pönitz  <poenitz@gmx.net>
6012
6013         * BufferView.[Ch]:
6014         * BufferView_pimpl.[Ch]:
6015         * lyxfunc.C:
6016         * text3.C: merge BufferView::repaint() and BufferView::update()
6017
6018 2003-08-01  José Matos  <jamatos@lyx.org>
6019
6020         * buffer.[Ch]: file_format is no longer a buffer data element.
6021
6022 2003-08-01  André Pönitz  <poenitz@gmx.net>
6023
6024         * BufferView.C:
6025         * lyxtext.h:
6026         * text.C:
6027         * text2.C: make redoParagraph more independent of current cursor
6028
6029         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6030         * text.C:
6031         * text2.C: remove unneeded members
6032
6033 2003-07-30  André Pönitz  <poenitz@gmx.net>
6034
6035         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6036
6037         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6038           create a single function...
6039
6040         * paragraph_funcs.C (moveItem): ... here.
6041
6042         * text.C:
6043           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6044
6045 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6046
6047         * LColor.[Ch]: Add comment and greyedout logical colors.
6048
6049 2003-07-30  André Pönitz  <poenitz@gmx.net>
6050
6051         * tabular.C: don't use Assert too heavily. This crashes where it
6052           shouldn't
6053
6054 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6055
6056         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6057         is disabled (bug 1232)
6058
6059 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6060
6061         * factory.C: limited 'arg' scope
6062
6063 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6064
6065         * factory.C: fixed Note submenu issues
6066
6067 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6068
6069         * factory.C: submenu for Note/Comment/Greyedout
6070
6071 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6072
6073         * lyx_main.C (LyX):
6074         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6075
6076 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6077
6078         * LaTeXFeatures.C:
6079         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6080         greyedout. Patch provided by Jürgen Spitzmüller.
6081
6082 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6083
6084         * kbmap.C (read): fix error message when reading bind files
6085
6086 2003-07-29  Angus Leeming  <leeming@lyx.org>
6087
6088         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6089         certainly does not do what it purports to do. I am doing it, and
6090         us, a favour by killing it.
6091
6092 2003-07-28  José Matos  <jamatos@lyx.org>
6093
6094         * buffer.C (readBody, do_writeFile):
6095         * paragraph.C(readParagraph): \end_document replaces \the_end.
6096
6097 2003-07-29  André Pönitz  <poenitz@gmx.net>
6098
6099         * BufferView.[Ch]:
6100         * BufferView_pimpl.[Ch]:
6101         * lyxfunc.C:
6102         * text2.C:
6103         * text3.C:
6104         * textcursor.[Ch]: remove toggleToggle & Co
6105
6106 2003-07-28  José Matos  <jamatos@fep.up.pt>
6107
6108         * buffer.C (readParagraph):
6109         * params_func (readParToken, readParagraph):
6110         * paragraph.C (write): \layout -> \begin_layout.
6111
6112 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6113
6114         * lyxlex_pimpl.C (setFile): clean up slightly.
6115
6116         * bufferparams.h: add compressed var
6117
6118         * buffer_funcs.C (readFile): adjust for LyXLex change
6119         (newFile): ditto + simplify
6120
6121         * buffer.C (writeFile): handle writing of compressed files
6122
6123         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6124         Check if the file is compressed and set a bufferparm if so.
6125
6126         * Makefile.am (lyx_LDADD): remove explicit -lz
6127
6128 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6129
6130         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6131         makeDocBookFile): put the real LyX version in the first line of
6132         the file
6133
6134         * version.h:
6135         * version.C.in: remove lyx_docversion
6136
6137         * tabular.C (write_attribute): add a template-based version to
6138         write enums properly
6139
6140 2003-07-28  André Pönitz  <poenitz@gmx.net>
6141
6142         * lyxtext.h:
6143         * text.C:
6144         * text2.C:
6145         * text3.C: use doubles again for x-coordinates. They are needed.
6146
6147 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6148
6149         * messages.C (getLocaleDir): use lyx_localedir()
6150
6151         * lyxlex_pimpl.C (setFile): compress stuff
6152
6153         * buffer.C (writeFile): add some compression stuff
6154         (do_writeFile): new func, dont call expliti close... will this
6155         breake anything?
6156
6157         * Makefile.am (lyx_LDADD): add -lz
6158
6159 2003-07-28  José Matos  <jamatos@fep.up.pt>
6160
6161         * buffer.C: increment file format.
6162         * paragraph_funcs (readParagraph, readParToken):
6163         * paragraph.C (readParagraph): add \end_layout.
6164
6165 2003-07-27  Angus Leeming  <leeming@lyx.org>
6166
6167         * Makefile.am: remove special casing for configure-time setting of
6168         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6169
6170         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6171         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6172
6173 2003-07-26  André Pönitz  <poenitz@gmx.net>
6174
6175         * paragraph_func.[Ch]:
6176         * paragraph.C (realizeFont): inline it whereever it is used
6177
6178         * rowpainter.C:
6179         * text.C:
6180         * text2.C:
6181         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6182
6183
6184 2003-07-26  André Pönitz  <poenitz@gmx.net>
6185
6186         *       lyxtext.h:
6187         * text.C:
6188         * text2.C: get rid of LyXText::need_break_row
6189
6190 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6191
6192         * toc.[Ch]: put namespace toc inside namespace lyx
6193
6194         * MenuBackend.C (expandToc2): adjust for lyx::toc
6195         (expandToc): ditto
6196
6197         * lyxfunc.C (dispatch): adjust for lyx::find
6198
6199         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6200         lyx::find instead. Reorganize a bit.
6201         (LyXReplace): rename to replace
6202         (LyXFind): rename to find
6203
6204         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6205         (dispatch): ditto
6206
6207 2003-07-26  André Pönitz  <poenitz@gmx.net>
6208
6209         * text.C (setHeightOfRow): restrict scope of temporary variable
6210
6211         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6212           code (never has been used?)
6213
6214 2003-07-27  Asger Alstrup  <alstrup@local>
6215
6216         * text.C (fill): Optimise algorithm to exploit that we can reuse
6217         the LyXFont for many characters.
6218         (setHeightOfRow): Same thing.
6219         (rowBreakPoint): Same thing.
6220
6221 2003-07-26  Asger Alstrup  <alstrup@local>
6222
6223         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6224
6225         * text.C (singleWidth): Spurious font copying in hot-spot
6226         singleWidth avoided. Reorder tests for arabic for efficiency.
6227
6228         * text.C (fill): handle empty paragraphs better.
6229
6230 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6231
6232         * ispell.C:
6233         * encoding.h: add includes
6234
6235         * lyxrc.C: remove reading of bind files
6236
6237         * lyx_main.C (init): setup bindings and menus only if we have a
6238         gui.
6239
6240         * kbmap.C (read): new method. Do the actual reading of bind
6241         files.
6242
6243         * converter.C (dvipdfm_options):
6244         * bufferparams.C:
6245         * lyxrc.C (read):
6246         (output): adapt PAPER_* enums.
6247
6248         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6249
6250         * bufferparams.h: remove paper-related enums from there
6251
6252         * paper.h: New file. A trivial header file to hold paper-related
6253         enums. It should later expand to contain many paper-related
6254         horrors access.
6255
6256         * lyxrc.C: declare extern displayTranslator
6257
6258 2003-07-27  José Matos  <jamatos@fep.up.pt>
6259
6260         * tabular.[Ch] (linuxdoc): add support for tables and figures
6261         (linuxdoc).
6262
6263 2003-07-27  José Matos  <jamatos@fep.up.pt>
6264
6265         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6266         consistency in both functions.
6267         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6268
6269 2003-07-26  Asger Alstrup  <alstrup@local>
6270
6271         * rowpainter.C (paintRows): Change algorithm to work directly on
6272         the insets rather than asking every character in the document
6273         whether its an inset.
6274
6275 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6276
6277         * buffer.C (openFileWrite): factorize some code
6278
6279 2003-07-26  Angus Leeming  <leeming@lyx.org>
6280
6281         * lyx_cb.C:
6282         * lyx_main.[Ch]: replace occurances of system_tempdir with
6283         os::getTmpDir().
6284
6285 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6286
6287         * rename Inset to InsetOld
6288
6289 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6290
6291         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6292         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6293         which I think is a bit clearer. EDIT is gone, since it was
6294         premature optimisation, and broken for mathed anyway.
6295         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6296         with cursor positioning in insets as well (math insets still do not
6297         work, but that's a different story anyway.) It mysteriously
6298         crashes sometimes with undo in the first paragraph, but I'm fairly
6299         confident that this is a compiler bug.
6300
6301 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6302
6303         * paragraph.C (Paragraph): adjust for new clone return type
6304         (operator==): ditto
6305         (copyIntoMinibuffer): ditto
6306
6307 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6308
6309         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6310         by not having a special case, and always doing a full rebreak of
6311         the document after undo.
6312
6313 2003-07-23  Angus Leeming  <leeming@lyx.org>
6314
6315         * factory.C (createInset): InsetExternal::setParams now takes a
6316         Buffer const * arg.
6317
6318 2003-07-23  Angus Leeming  <leeming@lyx.org>
6319
6320         * factory.C (createInset): changed interface to the external and
6321         graphics mailers' string2params functions.
6322
6323 2003-07-23  Angus Leeming  <leeming@lyx.org>
6324
6325         * factory.C (createInset): pass a
6326         Buffer const * parameter to InsetExternalMailer's string2params.
6327
6328 2003-07-22  John Levon  <levon@movementarian.org>
6329
6330         * Thesaurus.h: include the right aiksaurus header
6331
6332 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6333
6334         * MenuBackend.C (expand): check menu shortcuts unconditionally
6335
6336 2003-07-21  Angus Leeming  <leeming@lyx.org>
6337
6338         * factory.C (createInset): pass a
6339         buffer_path parameter to InsetGraphicsMailer's string2params.
6340
6341 2003-07-21  Angus Leeming  <leeming@lyx.org>
6342
6343         * BufferView_pimpl.C (buffer):
6344         * buffer.C (d-tor):
6345         * lyx_main.C (LyX):
6346         * lyxfunc.C (dispatch):
6347         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6348         rather than the grfx shortcut.
6349
6350 2003-07-21  André Pönitz  <poenitz@gmx.net>
6351
6352         * rowpainter.C: remove unused variables
6353
6354         * tabular_funcs.C:
6355         * tabular_funcs.h: move to tabular.C
6356         * Makefile.am: adjust
6357
6358         * tabular.[Ch]: basic optical cleaning
6359
6360         * author.h: pass references, not values
6361
6362 2003-07-18  André Pönitz  <poenitz@gmx.net>
6363
6364         * lyxtext.h:
6365         * metricsinfo.C:
6366         * metricsinfo.h:
6367         * rowpainter.C:
6368         * text.C:
6369         * text2.C:
6370         * text3.C: two-phase drawing for InsetText and InsetTabular
6371         some float -> int changes.
6372
6373 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6374
6375         * lyx_main.C: fix the fix
6376
6377 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6378
6379         * lyx_main.C: fix a crash in batch mode if no files specified
6380         * converter.C: ws
6381
6382 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6383
6384         * format.[Ch] (papersize): moved to BufferParams
6385         * converter.[Ch] (dvips_options): moved to BufferParams
6386         (dvipdfm_options): moved to anon namespace
6387         * bufferparams.[Ch]: added above functions.
6388
6389 2003-07-17  André Pönitz  <poenitz@gmx.net>
6390
6391         * lyxtext.h:
6392         * rowpainter.C:
6393         * text2.C: don't call inset->update() anymore
6394
6395         * metricsinfo.[Ch]: add convenience constructor
6396
6397 2003-07-16  André Pönitz  <poenitz@gmx.net>
6398
6399         * lyxcursor.[Ch]:
6400         * lyxfunc.[Ch]:
6401         * text.C:
6402         * text2.C: replace the LyXCursor::irow_ member with
6403          on-demand computation of the value
6404
6405 2003-07-16  John Levon  <levon@movementarian.org>
6406
6407         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6408
6409 2003-07-15  André Pönitz  <poenitz@gmx.net>
6410
6411         * text.C:
6412         * text2.C: remove no more needed refresh_row
6413
6414 2003-07-15  André Pönitz  <poenitz@gmx.net>
6415
6416         * lyxtext.h:
6417         * rowpainter.C:
6418         * text2.C:
6419         * text3.C: refresh_status tristate -> need_update bool
6420
6421 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6422
6423         * lyxtext.h (init): remove reinit argument (act as if always true)
6424         * text2.C: adjust to that
6425
6426 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6427
6428         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6429         * text3.C: use it to delete selections in some cases
6430         (bugs 441, 673, 702, 954).
6431
6432 2003-07-14  André Pönitz  <poenitz@gmx.net>
6433
6434         * rowpainter.[Ch]: reduce interface
6435
6436 2003-07-14  André Pönitz  <poenitz@gmx.net>
6437
6438         * BufferView_pimpl.C:
6439         * text2.C: adjust after removing unused BufferView * argument
6440
6441 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6442
6443         * text2.C (init): fix a crash fired on resize
6444
6445 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6446
6447         * buffer.[Ch]: added new closing signal
6448         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6449         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6450         BufferView::Pimpl via the closing the signal
6451
6452 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6453
6454         * buffer.[Ch]: take out all bv-related from buffer
6455         * BufferView.C:
6456         * BufferView_pimpl.[Ch]: connect to new signals
6457         * CutAndPaste.C: removed useless asserts
6458         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6459         * lyxvc.[Ch]:
6460         * vc-backend.[Ch]:
6461         * lyxfunc.C: moved view-related funciontality from vc here
6462         * paragraph.C: removed outdated comments
6463         * text.C: ws
6464
6465 2003-07-10  André Pönitz  <poenitz@gmx.net>
6466
6467         * BufferView_pimpl.C:
6468         * tabular.h:
6469         * tabular_funcs.C:
6470         * text.C:
6471         * text2.C: remove InsetText::InnerCache, clean up consequences
6472
6473 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6474
6475         * ispell.C: fix two typos in error messages
6476
6477 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6478
6479         * Extend Note inset to other forms of annotation like Comment
6480         and Greyedout. Right button click gives dialog.
6481
6482         Files modified or added (+):
6483
6484         * insetnote.[Ch]
6485         * FormNote.[Ch]      +
6486         * ControlNote.[Ch]   +
6487         * form_note.fd       +
6488         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6489         frontends/controllers
6490         * xforms/Dialogs.C
6491         * factory.C
6492
6493 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6494
6495         * aspell.C: add missing namespace lyx::support
6496
6497 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6498
6499         * BufferView.[Ch] (newFile): Add
6500         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6501         * LaTeX.[Ch] (message): added this signal and use it
6502         * buffer.[Ch] (busy, message): added these signals and use them
6503         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6504         * converter.C:
6505         * exporter.C:
6506         * format.C:
6507         * importer.C: use buffer signals instead of direct bv calling
6508         * lyx_cb.[Ch] (ShowMessage): removed
6509         * lyx_main.C:
6510         * lyxfunc.C:
6511         * paragraph_funcs.C:
6512         * text2.C: use buffer signals
6513
6514 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6515
6516         * introduce namespace lyx::graphics
6517
6518 2003-07-02  André Pönitz  <poenitz@gmx.net>
6519
6520         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6521
6522 2003-07-01  André Pönitz  <poenitz@gmx.net>
6523
6524         * text.C:
6525         * text2.C:
6526         * text3.C:
6527         * text_funcs.[Ch]:
6528         * textcursor.h:
6529         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6530           text*.C to text_func.C
6531
6532 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6533
6534         * introduce namespace lyx::support
6535
6536 2003-06-30  André Pönitz  <poenitz@gmx.net>
6537
6538         * Chktex.C:
6539         * funcrequest.C:
6540         * lyxtext.h:
6541         * text.C: re-enable --with-included-string
6542
6543 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6544
6545         * textcursor.C: add <config.h>
6546
6547         * text.C (getWord): remove const from word_location arg
6548
6549         * lyxvc.C (getLogFile): fix const type order
6550
6551         * lyxtext.h: remove const from word_location arg, add arg name
6552
6553         * lyxlayout.h: currect type on labeltype.
6554
6555         * importer.C: correct \file
6556
6557         * converter.C (intToFormat): use std:: on ret val, ws changes
6558
6559         * bufferlist.h: correct \file
6560
6561         * buffer.C (makeLinuxDocFile): fix const type order
6562         (makeDocBookFile): ditto
6563         (fillWithBibKeys): use std:: on stdlib args.
6564
6565         * CutAndPaste.C: fix authors.
6566         (availableSelections): use std:: on return vector
6567
6568 2003-06-27  André Pönitz  <poenitz@gmx.net>
6569
6570         * BufferView_pimpl.C:
6571         * bufferview_funcs.C:
6572         * lyxcursor.C:
6573         * lyxcursor.h:
6574         * lyxfunc.C:
6575         * lyxtext.h:
6576         * rowpainter.C:
6577         * text.C:
6578         * text2.C:
6579         * text3.C: remove LyXCursor::row_ member
6580
6581         * lyxtext.h:
6582         * text.C: rename fullRebreak() to partialRebreak() and implement
6583           a fullRebreak() that really bereks fully
6584
6585         * textcursor.h: new struct for cursor-related data
6586
6587 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6588
6589         * lyx_main.C (LyX): get full path of document loaded on the
6590         command line
6591
6592 2003-06-26  André Pönitz  <poenitz@gmx.net>
6593
6594         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6595           remove unused/broken operator>,<,>=.
6596
6597         *       text.C: remove only use of broken operator<= in an Assert().
6598
6599 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6600
6601         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6602         moved errorlist_.clear to showErrorList
6603
6604 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6605
6606         * converter.C (scanLog, runLaTeX):
6607         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6608         move the bv->showErrorList call to the callers
6609         * lyxfunc.C: i.e. here...
6610         * text2.C: and here
6611         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6612         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6613         namespace, the second to...
6614         * buffer_funcs (BufferFormat, parseErrors): added
6615         * errorlist.C (ErrorList(TeXErrors const &)): removed
6616
6617 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6618
6619         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6620
6621 2003-06-24  "Garst R. Reese" <reese@isn.net>
6622
6623         * debug.C: fix typo
6624
6625 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6626
6627         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6628
6629         * version.C.in: change docversion to 1.4
6630
6631 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6632
6633         * buffer.C: fix a bug just introduced
6634
6635 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6636
6637         * buffer.[Ch]: added the parseError signal and use it, removed
6638         sgmlError
6639         * BufferView.[Ch] (addError): moved to ...
6640         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6641         to the Buffer::parseError signal to catch (guess what) parse errors
6642         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6643
6644 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6645
6646         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6647         ability to create a buffer and to return an existing one from
6648         the list. Moved these functions to...
6649         * buffer_funcs.[Ch]: added
6650         * BufferView.[Ch] (loadLyXFile): added
6651         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6652         job removed from bufferlist::loadLyXFile.
6653         * buffer.C (setReadOnly): make it work without view
6654         (i.e added an if (users))
6655
6656 2003-06-19  Angus Leeming  <leeming@lyx.org>
6657
6658         * lfuns.h:
6659         * LyXAction.C (init):
6660         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6661         with LFUN_DIALOG_SHOW <name> <data>.
6662
6663 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6664
6665         * CutAndPaste.C (availableSelections): small compilation fix for
6666         ancient (gcc 2.9x) compilers
6667
6668 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6669
6670         * text3.C (cursorNext): add tmp var
6671
6672         * text2.C (updateCounters): for function calling out of for clause
6673         (replaceSelectionWithString): ditto
6674         (insertStringAsParagraphs): ditto
6675         (getColumnNearX): add tmp var
6676         (setCursorFromCoordinates): add tmp var
6677         (cursorDownParagraph): add tmp var
6678         (deleteEmptyParagraphMechanism): add tmp var
6679
6680         * text.C (insertChar): add tmp var
6681
6682         * rowpainter.C (paintDepthBar): add tmp var
6683
6684         * CutAndPaste.C (availableSelections): potentially check all
6685         paragraphs in a cut to fill the shown strings.
6686
6687 2003-06-18  André Pönitz  <poenitz@gmx.net>
6688
6689         * kbmap.[Ch]: use vector<> instead of list<>
6690
6691 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6692
6693         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6694         pasteSelection with index
6695
6696         * text2.C (pasteSelection): modify, call pasteSelection with index
6697
6698         * paragraph.C (asString): reimplement version with no interval to
6699         call the one with interval.
6700
6701         * lyxtext.h: add index arg to pasteSelection
6702
6703         * MenuBackend.C (MenuItem): handle PasteRecent
6704         (Menu::read::Menutags): add md_pasterecent
6705         (read): handle it
6706         (expandPasteRecent): new function
6707         (expand): use it
6708
6709         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6710
6711         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6712         the limited stack
6713         (availableSelections): new function
6714
6715 2003-06-17  Angus Leeming  <leeming@lyx.org>
6716
6717         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6718
6719 2003-06-17  Angus Leeming  <leeming@lyx.org>
6720
6721         * lfuns.h:
6722         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6723
6724         * lyxfunc.C (dispatch): invoke it.
6725
6726 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6727
6728         * iterators.C (operator++, ParPosition): reintroduce some
6729         const_cast for the benefit of older compilers.
6730
6731 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6732
6733         * text3.C (dispatch): do not modify clipboard when doing
6734         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6735         LFUN_DELETE_SKIP on a selection selection
6736
6737 2003-06-16  André Pönitz  <poenitz@gmx.net>
6738
6739         * BufferView.C:
6740         * buffer.C:
6741         * buffer.h:
6742         * paragraph.C:
6743         * tabular.[Ch]: IU of clone() and getLabelList();
6744
6745 2003-06-13  André Pönitz  <poenitz@gmx.net>
6746
6747         * tabular.h: compactification
6748
6749 2003-06-12  André Pönitz  <poenitz@gmx.net>
6750
6751         * tabular.C:
6752         * tabular.h:
6753         * tabular_funcs.h: some renaming plus whitespace
6754
6755 2003-06-12  André Pönitz  <poenitz@gmx.net>
6756
6757         * BufferView.C:
6758         * BufferView_pimpl.C:
6759         * CutAndPaste.C:
6760         * buffer.C:
6761         * iterators.[Ch]:
6762         * lyxfunc.C:
6763         * text.C:
6764         * toc.C: Return a Paragraph & for ParIterator::operator*()
6765
6766 2003-06-11  John Levon  <levon@movementarian.org>
6767
6768         * lyx_main.C:
6769         * ToolbarBackend.h:
6770         * ToolbarBackend.C: add "Toolbars" section and
6771         put the flags there
6772
6773 2003-06-10  Angus Leeming  <leeming@lyx.org>
6774
6775         * lfuns.h:
6776         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6777
6778         * lyxfunc.C (dispatch): invoke it.
6779
6780 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6781
6782         * main.C: protect <ios> with HAVE_IOS
6783         (main): protect sync_with_stdio with HAVE_IOS
6784
6785 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6786
6787         * text2.C (cutSelection): adjust
6788         (pasteSelection): adjust
6789
6790         * messages.C: handle get of empty string
6791
6792         * main.C (main): use sync_with_stdio(false)
6793
6794         * lyxfunc.C (dispatch): adjust
6795
6796         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6797         (WriteAs): remove unneeded BufferView arg.
6798
6799         * bufferparams.h: use correct types on papersize, papersize2 and
6800         paperpackage.
6801
6802         * bufferparams.C (readToken): adjust for type
6803         (writeLaTeX): add missing cases to switch.
6804
6805         * bufferlist.C (quitWriteBuffer): adjust
6806         (close): adjust
6807
6808         * buffer.C (asciiParagraph): remove some commented code.
6809
6810         * CutAndPaste.C: remove current_view extern variable.
6811         (cutSelection): add BufferParams arg.
6812         (eraseSelection): add BufferParams arg.
6813         (pasteSelection): add Buffer const & arg
6814
6815 2003-06-07  John Levon  <levon@movementarian.org>
6816
6817         * buffer.C:
6818         * paragraph_funcs.C:
6819         * paragraph_pimpl.C:
6820         * text.C:
6821         * text2.C:
6822         * paragraph.h:
6823         * paragraph.C: allow InsetERT to freely space lines,
6824         and some consolidation of code
6825
6826 2003-06-06  José Matos  <jamatos@fep.up.pt>
6827
6828         * buffer.C (makeDocBookFile): fix bug #821
6829
6830 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6831
6832         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6833
6834 2003-06-04  Angus Leeming  <leeming@lyx.org>
6835
6836         * buffer.C: bump format to 224.
6837
6838 2003-06-05  André Pönitz  <poenitz@gmx.net>
6839
6840         * text2.C (redoParagraphs): remove two const_cast<>
6841
6842 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6843
6844         * ParagraphList.h: remove last remnants of NO_STD_LIST
6845
6846 2003-06-03  Angus Leeming  <leeming@lyx.org>
6847
6848         * factory.C (createInset): small change to the way InsetExternal's params
6849         are set.
6850
6851 2003-06-04  André Pönitz  <poenitz@gmx.net>
6852
6853         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6854
6855         * paragraph_pimpl.h:
6856         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6857
6858         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6859
6860         * undo_funcs.C: make some simple cases of undo work again
6861
6862 2003-06-03  John Levon  <levon@movementarian.org>
6863
6864         * ispell.C: HPUX doesn't have sys/select.h
6865         (from Albert Chin)
6866
6867 2003-06-03  John Levon  <levon@movementarian.org>
6868
6869         * CutAndPaste.C: update tabular and include inset
6870         buffer references
6871
6872         * buffer.h:
6873         * paragraph.h:
6874         * paragraph.C: remove owningBuffer(), don't pass Buffer
6875         to clone()
6876
6877         * factory.C: insetGraphicsParams changed
6878
6879 2003-06-02  John Levon  <levon@movementarian.org>
6880
6881         * LyXAction.C:
6882         * factory.C:
6883         * lfuns.h:
6884         * lyxfunc.C:
6885         * text3.C: remove insetparent
6886
6887 2003-06-02  John Levon  <levon@movementarian.org>
6888
6889         * buffer.h:
6890         * buffer.C: fix inset_iterator.end(), move out of line
6891         (bug 1149)
6892
6893 2003-06-01  John Levon  <levon@movementarian.org>
6894
6895         * text3.C: use a proper cut/paste when doing inset
6896         insert (from Jürgen Spitzmüller)
6897
6898 2003-06-01  John Levon  <levon@movementarian.org>
6899
6900         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6901
6902 2003-05-30  André Pönitz  <poenitz@gmx.net>
6903
6904         * rowpainter.C: unify second drawing phase
6905
6906 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6907
6908         * trans_mgr.C: remove one case of current_view
6909
6910         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6911
6912         * paragraph_funcs.h: remove paragraph.h include
6913
6914         * paragraph.h: delete NO_STD_LIST stuff
6915
6916         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6917
6918         * buffer.h: remove paragraph.h include
6919
6920         * ParagraphList.C: delete file
6921
6922         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6923
6924         * toc.C (getTocList): adjust
6925
6926         * paragraph_pimpl.C (validate): adjust
6927
6928         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6929
6930         * paragraph.C (Paragraph): adjust
6931         (getPositionOfInset): use const_iterator, adjust
6932         (bibitem): use const_iterator, adjust
6933         (setInsetOwner): adjust
6934
6935         * iterators.C (operator++): adjust
6936
6937         * InsetList.[Ch]: Replace selfmade iterator with standard
6938         vector::iterator also introduce const_iterator. Remove getPos,
6939         getInset and setInset from InsetTable. Adjust accordingly.
6940
6941         * BufferView.C (lockInset): adjust
6942         (ChangeInsets): adjust
6943
6944         * tabular.[Ch]: delete commented same_id functions
6945
6946 2003-05-28  John Levon  <levon@movementarian.org>
6947
6948         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6949
6950 2003-05-28  André Pönitz  <poenitz@gmx.net>
6951
6952         * metricsinfo.[Ch]: remove 'fullredraw' member
6953
6954 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6955
6956         * lyxtextclass.C (operator): remove caching.
6957
6958 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6959
6960         * text3.C: adjust
6961
6962         * text2.C (cursorBottom): adjust
6963         (setCounter): use ParagraphList::find, adjust
6964
6965         * text.C (workWidth): use ParagraphList::find, adjust
6966
6967         * lyxcursor.C (LyXCursor): adjust
6968
6969         * buffer.C (inset_iterator): adjust
6970
6971         * ParagraphList.h: make iterator(value_type) private, make
6972         ParagraphList a friend of iterator.
6973
6974         * ParagraphList.C (find): new function
6975
6976         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6977
6978 2003-05-27  André Pönitz  <poenitz@gmx.net>
6979
6980         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6981
6982 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6983
6984         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6985
6986 2003-05-26  John Levon  <levon@movementarian.org>
6987
6988         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6989
6990 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6991
6992         * remove same_id from function signatures, adjust.
6993
6994 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6995
6996         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6997
6998         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6999
7000         * paragraph.C (Paragraph): get rid of same_ids parameter
7001
7002         * ParagraphList.C (insert): adjust
7003         (push_back): adjust
7004
7005 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7006
7007         * paragraph_funcs.C (breakParagraph): adjust
7008         (breakParagraphConservative): adjust
7009
7010         * buffer.C (readParagraph): adjust
7011
7012         * ParagraphList.C (insert): take a reference instead of a pointer
7013         (insert): adjust
7014
7015         * paragraph.[Ch] (id): new function
7016
7017         * bufferlist.C (newFile): adjust
7018
7019         * ParagraphList.C (ParagraphList): adjust
7020         (assign): adjust
7021         (push_back): take a reference instead of a pointer.
7022
7023         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7024
7025         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7026         instead.
7027
7028         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7029         set else use old code.
7030
7031         * ParagraphList.C: remove all NO_NEXT code and only compile this
7032         code of NO_STD_LIST is set.
7033
7034 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7035
7036         * BufferView_pimpl.C:
7037         * TextCache.C:
7038         * TextCache.h:
7039         * bufferlist.C:
7040         * errorlist.h:
7041         * format.C:
7042         * format.h:
7043         * graph.C:
7044         * lyxfunc.C:
7045         * lyxrc.C:
7046         * graphics/GraphicsConverter.C:
7047         * graphics/PreviewLoader.C: header adjustment
7048
7049 2003-05-23  Angus Leeming  <leeming@lyx.org>
7050
7051         * LaTeXFeatures.[Ch] (useBabel): new method.
7052         * bufferparams.C (writeLaTeX): use it.
7053
7054 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7055
7056         * ParagraphList.h (set): remove unused function.
7057
7058 2003-05-23  André Pönitz  <poenitz@gmx.net>
7059
7060         * BufferView.C:
7061         * BufferView_pimpl.C:
7062         * buffer.C:
7063         * buffer.h:
7064         * lyxfunc.C:
7065         * undo_funcs.C: setUndo reworked
7066
7067         * iterators.[Ch]: add access to topmost ParagraphList
7068
7069         * lyxtext.[Ch] (workWidth): add a const
7070
7071 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7072
7073         * texrow.[Ch] (increasePos): remove function
7074         * exporter.C (export): removed unused var and outdated comment
7075
7076 2003-05-23  Angus Leeming  <leeming@lyx.org>
7077
7078         * latexrunparams.h: rename fragile as moving_arg.
7079         * paragraph.C (simpleTeXOnePar): ditto.
7080         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7081
7082 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7083
7084         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7085         (createUndo): ditto
7086         (textUndoOrRedo): comment out a currently unused var.
7087
7088         * paragraph.h (NO_NEXT): enable NO_NEXT
7089
7090         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7091
7092         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7093
7094         * exporter.C (Export): adjust for removeAutoInsets removal.
7095
7096         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7097
7098         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7099
7100         * BufferView.[Ch] (removeAutoInsets): delete function
7101
7102 2003-05-22  Angus Leeming  <leeming@lyx.org>
7103
7104         * latexrunparams.h: add a free_spacing variable.
7105
7106         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7107         to pass moving_arg, as the data is stored in runparams.fragile.
7108
7109         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7110         to Inset::latexOptional or to simpleTeXOnePar.
7111
7112         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7113         free_spacing arg to Inset::latexOptional.
7114
7115         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7116         free_spacing arg.
7117
7118 2003-05-22  Angus Leeming  <leeming@lyx.org>
7119
7120         * latexrunparams.h: add fragile and use_babel variables.
7121
7122         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7123         * buffer.C (makeLaTeXFile): store this returned value in
7124         runparams.use_babel, thus passing it to the inset::latex methods.
7125
7126         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7127         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7128
7129         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7130         longer has a fragile arg, as it is stored in runparams.fragile.
7131
7132         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7133         moving_arg parameter as the data is stored in runparams.fragile.
7134
7135         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7136         a fragile parameter as the data is stored in runparams.fragile.
7137
7138 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7139
7140         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7141
7142 2003-05-22  Angus Leeming  <leeming@lyx.org>
7143
7144         * latexrunparams.h: add a 'bool nice' which defaults to false.
7145
7146         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7147         now encapsulated within runparams.
7148
7149         * bufferlist.C (updateIncludedTeXfiles):
7150         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7151
7152 2003-05-22  Angus Leeming  <leeming@lyx.org>
7153
7154         * latexrunparams.h: new file containing struct LatexRunParams.
7155         * Makefile.am: add new file.
7156
7157         * LaTeX.[Ch] (c-tor, run):
7158         * buffer.[Ch] (makeLaTeXFile):
7159         * bufferlist.[Ch] (updateIncludedTeXfiles):
7160         * converter.C (convert, scanLog):
7161         * converter.[Ch] (runLaTeX):
7162         * exporter.C (Export):
7163         * paragraph.[Ch] (simpleTeXOnePar):
7164         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7165         * paragraph_funcs.[Ch] (latexParagraphs):
7166         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7167         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7168         pass around a LatexRunParams parameter.
7169
7170 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7171
7172         * paragraph.[Ch]: remove unused constructor
7173
7174         * ParagraphList.C (erase): new function, taking two iterators
7175
7176 2003-05-22  André Pönitz  <poenitz@gmx.net>
7177
7178         * undo_funcs.C: remove duplicated code
7179
7180         * iterator.[Ch]: operator=
7181
7182 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7183
7184         * tabular.C (SetMultiColumn): ws changes
7185
7186         * rowpainter.C (paintFirst): get rid of a ->previous
7187
7188         * lyx_cb.C (getPossibleLabel): parlist simplification
7189
7190         * BufferView.C (ChangeInsets): simplify slightly.
7191
7192 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7193
7194         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7195         * lfuns.h: new LFUN_SPACE
7196         * lyxfunc.C: protected space has a new lfun
7197         * paragraph_funcs.C: read new space insets
7198         * text3.C:
7199         * factory.C: handle new space insets
7200
7201 2003-05-22  André Pönitz  <poenitz@gmx.net>
7202
7203         * BufferView.C:
7204         * BufferView_pimpl.C:
7205         * buffer.[Ch]:
7206         * lyxfunc.C:
7207         * undo_funcs.C: return a ParIterator from getParFromID.
7208
7209         * iterators.[Ch]: add two const's
7210
7211 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7212
7213         * toc.C (getTocList): adjust
7214
7215         * iterators.[Ch]: rework for parlist
7216
7217         * buffer.C (par_iterator_begin): adjust
7218         (par_iterator_end): adjust
7219
7220         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7221
7222         * BufferView.C (removeAutoInsets): adjust
7223         (ChangeInsets): adjust
7224
7225 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7226
7227         * text.C (top_y): fix bug 1110
7228
7229 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7230
7231         * errorlist.[Ch]: added
7232         * buffer.C:
7233         * BufferView.[Ch]:
7234         * BufferView_pimpl.C:
7235         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7236         instead
7237
7238 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7239
7240         * Makefile.am: ensure that lyx is relinked upon changes to the
7241         various "convenience" libs.
7242
7243 2003-05-20  Angus Leeming  <leeming@lyx.org>
7244
7245         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7246         files are compiled in alphabetical order again.
7247
7248         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7249
7250 2003-05-19  Angus Leeming  <leeming@lyx.org>
7251
7252         * gettext.[Ch]: remove "char const * _(char const *)".
7253
7254 2003-05-19  André Pönitz  <poenitz@gmx.net>
7255
7256         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7257
7258         * Makefile.am:
7259         * BufferView.C:
7260         * DepTable.h:
7261         * LaTeXFeatures.C:
7262         * buffer.C:
7263         * lyxfont.C:
7264         * lyxlex.h:
7265         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7266
7267 2003-05-19  André Pönitz  <poenitz@gmx.net>
7268
7269         * buffer.C:
7270         * lyxlayout.[Ch]:
7271         * lyxtextclass.[Ch]:
7272         * paragraph.C:
7273         * paragraph_funcs.[Ch]:
7274         * text2.C:
7275         * text3.C: more insetenv work
7276
7277 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7278
7279         * ParagraphParameters.C (params2string): small bug fixed
7280
7281 2003-05-16  André Pönitz  <poenitz@gmx.net>
7282
7283         * debug.C:
7284         * bufferview_funcs.C: patch from Kornel Benko to prevent
7285           crash when _(...) is called twice in a statement
7286
7287 2003-05-16  André Pönitz  <poenitz@gmx.net>
7288
7289         * BufferView.C:
7290         * lyxfunc.C:
7291         * text.C:
7292         * text2.C:
7293         * text3.C:
7294         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7295
7296 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7297
7298         * lyx_main.C (init): remove spurious static_cast
7299
7300 2003-05-14  André Pönitz  <poenitz@gmx.net>
7301
7302         * BufferView.C: fix format string
7303
7304 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7305
7306         * BufferView.[Ch] (insertErrors): removed
7307         * BufferView.[Ch] (showErrorList): added
7308         * buffer.C (runChkTeX):
7309         * converter.C (scanLog): call showErrorList instead of inserterrors
7310
7311 2003-05-13  André Pönitz  <poenitz@gmx.net>
7312
7313         * BufferView_pimpl.C:
7314         * buffer.C:
7315         * bufferview_func.C:
7316         * MenuBackend.C:
7317         * lyxfunc.C:
7318         * lyxrc.C:
7319         * tex-accent.C:
7320         * text3.C:
7321         * toc.C:
7322         * tabular_funcs.h: tostr() from its own header
7323
7324         * ParagraphParameters.C:
7325         * ToolbarBackend.C:
7326         * bufferparams.C:
7327         * format.C:
7328         * lyxlex_pimpl.C:
7329         * text3.C: STRCONV()
7330
7331 2003-05-12  André Pönitz  <poenitz@gmx.net>
7332
7333         * BufferView.C:
7334         * BufferView_pimpl.C:
7335         * CutAndPaste.C:
7336         * LaTeX.C:
7337         * LaTeXFeatures.C:
7338         * ParagraphParameters.C:
7339         * buffer.C:
7340         * bufferlist.C:
7341         * bufferparams.C:
7342         * bufferview_funcs.C:
7343         * converter.C:
7344         * counters.C:
7345         * debug.C:
7346         * exporter.C:
7347         * format.C:
7348         * importer.C:
7349         * lyx_cb.C:
7350         * lyx_main.C:
7351         * lyxfont.C:
7352         * lyxfunc.C:
7353         * lyxvc.C:
7354         * paragraph.C:
7355         * paragraph_funcs.C:
7356         * tabular.C:
7357         * tabular_funcs.C:
7358         * text2.C:
7359         * text3.C:  boost::format -> bformat  all over the place
7360
7361
7362 2003-05-09  André Pönitz  <poenitz@gmx.net>
7363
7364         * LColor.[Ch]: Pimpl the #include <map> away
7365
7366 2003-05-09  John Levon  <levon@movementarian.org>
7367
7368         * bufferlist.C: never remove emergency saves
7369
7370 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7371
7372         * Makefile.am: better lib building
7373
7374 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7375
7376         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7377         instead.
7378         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7379         (simpleTeXSpecialChars): adjust
7380         (simpleTeXSpecialChars): adjust
7381         * paragraph.C (simpleTeXOnePar): adjust
7382         * buffer.C (makeLaTeXFile): adjust
7383
7384         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7385
7386         * text2.C (changeDepth): parlist cleanup
7387         (getColumnNearX): ditto
7388
7389         * rowpainter.C (getLabelFont): parlist cleanup
7390
7391         * bufferlist.C (newFile): parlist cleanup
7392
7393         * CutAndPaste.C (eraseSelection): parlist cleanup
7394
7395         * BufferView_pimpl.C (trackChanges): parlist cleanup
7396         (dispatch): ditto
7397
7398         * BufferView.C (lockInset): parlist cleanup.
7399         (ChangeInsets): ditto
7400
7401 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7402
7403         * CutAndPaste.h: Update file header.
7404
7405         * CutAndPaste.C: Update file header.
7406         Store the parts cut out of the Document in a limited_stack.
7407         (copySelection): adjust
7408         (pasteSelection): new function, takes the index in the limited stack.
7409         (nrOfParagraphs): adjust
7410         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7411         simplify error inset insertion.
7412         (checkPastePossible): adjust
7413
7414 2003-05-06  John Levon  <levon@movementarian.org>
7415
7416         * text2.C: don't cast wrap inset to float
7417
7418 2003-05-05  André Pönitz  <poenitz@gmx.net>
7419
7420         * iterator.C:
7421         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7422
7423         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7424           few naked Paragraph *.
7425
7426 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7427
7428         * bufferparams.C: Output warning if a document with missing
7429         TeX document class is loaded
7430         * exporter.C: Disable TeX exports if the document class is missing
7431         * lyxtextclass.C:
7432         * lyxtextclass.h:
7433         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7434         isTeXClassAvailable()
7435
7436 2003-05-03  John Levon  <levon@movementarian.org>
7437
7438         * BufferView.h:
7439         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7440         explicit cursor show/hide
7441
7442         * BufferView_pimpl.h:
7443         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7444         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7445
7446         * lyxfunc.C: hide cursor before dispatching.
7447
7448         * lyx_cb.C:
7449         * lyxfind.C:
7450         * text.C:
7451         * text3.C: remove explicit cursor hides
7452
7453 2003-05-02  André Pönitz  <poenitz@gmx.net>
7454
7455         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7456
7457         * undo_funcs.C:
7458         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7459           linked lists
7460
7461         * text2.C: tiny whitespace
7462
7463 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7464
7465         * undo_funcs.C: almost only ws changes.
7466
7467         * ParagraphList.C (splice): just return if pl is empty.
7468
7469 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7470
7471         * ParagraphList.C (splice): new function.
7472
7473         * CutAndPaste.C (pasteSelection): use it
7474
7475 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7476
7477         * CutAndPaste.C (pasteSelection): remove the last next and
7478         previous from this file.
7479
7480 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7481
7482         * CutAndPaste.C (pasteSelection): more clean up, user proper
7483         ParagraphList functions for pasteing.
7484
7485         * ParagraphList.C (insert): new function, three arg insert
7486
7487 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7488
7489         * ParagraphList.C (insert): new function, three arg insert
7490
7491         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7492         not on paragraphs.
7493
7494 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7495
7496         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7497
7498 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7499
7500         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7501
7502 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7503
7504         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7505         (copySelection): clean up a bit.
7506         (pasteSelection): use make_pair
7507
7508         * ParagraphList.C (ParagraphList): implement copy constructor
7509         (operator=): implement, base on copy constructor.
7510         (assign): new func
7511
7512         * paragraph.C (erase): return a bool
7513
7514         * paragraph_pimpl.C (erasePos): remove function, move contents...
7515         (erase): ... here. Return a bool.
7516         (erase): call erase instead of erasePos.
7517
7518 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7519
7520         * ParagraphList.h: define PitPosPair
7521         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7522         ParagraphList, fix a bug on pasting multiple pars
7523         * text2.C: change interface to C&P
7524
7525 2003-04-30  André Pönitz  <poenitz@gmx.net>
7526
7527         * undo_func.C: revert part of yesterday's patch 2
7528
7529 2003-04-30  John Levon  <levon@movementarian.org>
7530
7531         * LColor.C: s/tabular/table/
7532
7533 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7534
7535         * text3.C (dispatch): do not convert iterator -> pointer
7536         * undo_funcs.C (setCursorParUndo): ditto
7537         * text_funcs.C (transposeChars): ditto
7538
7539         * text2.C (setLayout): ws changes only
7540
7541         * text.C (breakParagraph): do not convert iterator -> pointer
7542         (insertChar): ditto
7543         (acceptChange): ditto
7544         (rejectChange): ditto
7545         (changeCase): ditto
7546         (Delete): ditto
7547         (backspace): ditto
7548
7549         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7550         pointer
7551
7552 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7553
7554         * text3.C (gotoInset): YABG (yet another bad getChar)
7555
7556 2003-04-29  André Pönitz  <poenitz@gmx.net>
7557
7558         * paragraph.h: make operator= private unimplemented as long as
7559           it is unusable
7560
7561         * ParagraphList.C: whitespace
7562
7563         * paragraph.[Ch]:
7564         * paragraph_pimpl.[Ch]:
7565         * paragraph_funcs.C:
7566         * CutAndPaste.C:
7567         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7568
7569         * text2.C:
7570           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7571
7572 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7573
7574         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7575         * paragraph.[Ch] (erase):
7576         * paragraph_pimpl.[Ch] (erase): change return type and value
7577         * text2.C (cutSelection): some rework
7578
7579 2003-04-28  John Levon  <levon@movementarian.org>
7580
7581         * bufferlist.C: changes for unsaved changes dialog
7582
7583 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7584
7585         * bufferlist.C (newFile): set language (messages_) for new
7586         documents also.
7587
7588         * buffer.C (readFile): ws changes only.
7589
7590 2003-04-28  André Pönitz  <poenitz@gmx.net>
7591
7592         * undo_funcs.C:
7593         * lyxfunc.C:
7594         * buffer.[Ch]:
7595         * BufferView_pimpl.C:
7596         * BufferView.C: getParFromID related ParagraphList::iterator changes
7597
7598 2003-04-28  André Pönitz  <poenitz@gmx.net>
7599
7600         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7601           Changes
7602
7603 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7604
7605         * messages.C: remove one more localedir class variable.
7606
7607 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7608
7609         * messages.C (getLocaleDir): singleton generation function
7610         (Pimpl): use it.
7611         (Messages): add a default constructor.
7612
7613         * main.C (main): do not setup localedir here, do not call
7614         gettext_init.
7615
7616         * gettext.C (_): use it.
7617         (gettext_init): delete funciton
7618
7619 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7620
7621         * gettext.C (getLyXMessages): new singleton generating function.
7622
7623         * buffer.C (updateDocLang): adjust
7624
7625         * Makefile.am (messages.o): add target
7626         (main.o): remove target
7627
7628 2003-04-27  John Levon  <levon@movementarian.org>
7629
7630         * bufferlist.C:
7631         * lyx_cb.C:
7632         * lyxfunc.C:
7633         * lyxvc.C: specify cancel button in Alert::prompt
7634
7635 2003-04-26  John Levon  <levon@movementarian.org>
7636
7637         * text3.C:
7638         * lyxfunc.C:
7639         * lfuns.h:
7640         * LyXAction.C: add LFUN_INSET_SETTINGS
7641
7642         * lyxfunc.C: don't enable tabular-feature when there's
7643         just any locking inset
7644
7645 2003-04-26  John Levon  <levon@movementarian.org>
7646
7647         * bufferlist.C: re-add Cancel to buffer close question
7648
7649         * lyxfunc.C: fix import UI a bit
7650
7651 2003-04-25  John Levon  <levon@movementarian.org>
7652
7653         * gettext.C: remove the broken asserts for now
7654
7655 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7656
7657         * messages.C: make case where setlocale cannot comply work better.
7658
7659         * buffer.C (updateDocLang): new function
7660         (changeLanguage): use it
7661         (readFile): use it
7662
7663         * text2.C (setCounter): use B_ a bit.
7664
7665         * lyxlayout.C (Read): be sure to trim the label strings.
7666
7667         * messages.C (Messages): fix typo in comment
7668
7669         * buffer.C (readFile): set message_ after file is loaded.
7670         (makeDocBookFile): remove double return
7671         (changeLanguage): reset message_ upon language change.
7672         (B_): new func, use this to get translated buffer strings.
7673
7674         * main.C: add myself and Jean Marc as authors.
7675
7676 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7677
7678         * messages.[hC]: pimplify Messages, and three different pimpls to be
7679         used in different circumstances.
7680
7681         * gettext.[Ch]: change for use with new message code.
7682
7683 2003-04-24 André Pönitz <poenitz@gmx.net>
7684
7685         * factory.C: support for eqref
7686
7687 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7688
7689         * messages.[Ch]: add missing char
7690
7691         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7692
7693         * messages.[Ch]: New files
7694
7695 2003-04-18  John Levon  <levon@movementarian.org>
7696
7697         * BufferView.h:
7698         * BufferView.C:
7699         * BufferView_pimpl.C:
7700         * lfuns.h:
7701         * LyXAction.C:
7702         * lyxtext.h:
7703         * text2.C: remove layout-copy/paste (bug 778)
7704
7705 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7706
7707         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7708
7709 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7710
7711         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7712         if they succeed. Act accordingly.
7713
7714 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7715
7716         * text2.C (setCharFont): adjust
7717         (setCounter): adjust
7718         (insertStringAsLines): adjust
7719
7720         * text.C (leftMargin): adjust
7721         (setHeightOfRow): adjust
7722
7723         * rowpainter.C (paintFirst): adjust
7724         (paintLast): adjust
7725
7726         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7727         (outerHook): ditto
7728         (isFirstInSequence): ditto
7729         (getEndLabel): ditto
7730         (outerFont): adjust
7731
7732         * paragraph.C (getParLanguage): comment out some hard stuff.
7733
7734         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7735         (sgmlError): ditto
7736         (simpleDocBookOnePar): ditto
7737         (makeDocBookFile): use ParagraphList::iterator
7738
7739         * CutAndPaste.C (pasteSelection): adjust
7740
7741 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7742
7743         * text2.C (getFont): adjust
7744         (getLayoutFont): adjust
7745         (getLabelFont): adjust
7746
7747         * paragraph_funcs.C (TeXOnePar): adjust
7748
7749         * buffer.C (simpleLinuxDocOnePar): adjust
7750         (simpleDocBookOnePar): adjust
7751
7752         * CutAndPaste.C (pasteSelection): adjust
7753
7754         * BufferView.C (getEncoding): adjust
7755
7756         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7757
7758 2003-04-16  John Levon  <levon@movementarian.org>
7759
7760         * lyxfind.C: use parlist stuff for search/changes
7761
7762 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7763
7764         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7765
7766         * text2.C (deleteEmptyParagraphMechanism): adjust
7767
7768         * text2.[Ch] (ownerParagraph): delete func (both of them
7769
7770 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7771
7772         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7773
7774 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7775
7776         * ParagraphList.C: prepare for NO_NEXT
7777
7778 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7779
7780         * text2.C (getFont): adjust
7781         (getLayoutFont): adjust
7782         (getLabelFont): adjust
7783
7784         * paragraph.C (getFont): adjust
7785         (getLabelFont): adjust
7786         (getLayoutFont): adjust
7787
7788         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7789
7790 2003-04-15  John Levon  <levon@movementarian.org>
7791
7792         From Angus Leeming
7793
7794         * lyx_main.C: handle Include in .ui files
7795
7796 2003-04-15  John Levon  <levon@movementarian.org>
7797
7798         * MenuBackend.C: make the doc files length shorter
7799
7800         * ToolbarBackend.h:
7801         * ToolbarBackend.C: handle toolbar placement flags,
7802         Minibuffer
7803
7804 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7805
7806         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7807         adjust
7808
7809         * paragraph_funcs.C (TeXOnePar): adjust
7810
7811         * paragraph.C (getLabelFont): add outerfont arg, adjust
7812         (getLayoutFont): ditto
7813         (simpleTeXOnePar): adjust
7814
7815         * paragraph_pimpl.C (realizeFont): delete func
7816
7817 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7818
7819         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7820         row argument, constify cur argument.
7821
7822 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7823
7824         * text2.C (getFont): adjust
7825         (getLayoutFont): adjust
7826         (getLabelFont): adjust
7827
7828         * paragraph_funcs.C (TeXOnePar): adjust
7829         (outerFont): new func...
7830         (realizeFont): ...moved out from here, changed this to facilitate
7831         transition
7832
7833         * paragraph.C (getFont): take outerfont as arg, adjust
7834         (simpleTeXOnePar): add outerfont arg, adjust
7835
7836         * buffer.C (simpleLinuxDocOnePar): adjust
7837         (simpleDocBookOnePar): adjust
7838
7839         * CutAndPaste.C (pasteSelection): adjust
7840
7841         * BufferView.C (getEncoding): adjust
7842
7843 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7844
7845         * text2.C (setCharFont): adjust
7846         (setCounter): adjust
7847
7848         * text.C (leftMargin): adjust
7849         (setHeightOfRow): adjust
7850
7851         * rowpainter.C (paintFirst): adjust
7852         (paintLast): adjust
7853
7854         * paragraph_pimpl.C (realizeFont): adjust
7855
7856         * paragraph.C (isFirstInSequence): move from here...
7857         * paragraph_funcs.C (isFirstInSequence): ...to here
7858
7859         * paragraph.C (outerHook): move from here...
7860         * paragraph_funcs.C (outerHook): ...to here
7861
7862         * paragraph.C (depthHook): move from here...
7863         * paragraph_funcs.C (depthHook): ...to here
7864
7865         * paragraph.C (getEndLabel): move from here...
7866         * paragraph_funcs.C (getEndLabel): ...to here
7867
7868         * text2.C (realizeFont): move from here...
7869         * paragraph_funcs.C (realizeFont): ...to here
7870
7871 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7872
7873         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7874
7875 2003-04-14  Angus Leeming  <leeming@lyx.org>
7876
7877         * LColor.[Ch]: scrap LColor mathcursor.
7878
7879 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7880
7881         * lyxlex.[Ch] (text): delete function
7882         * trans.C (Load): adjust
7883         * paragraph_funcs.C (readParToken): adjust
7884
7885 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7886
7887         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7888         vector<char> instead of a char[].
7889
7890         * lyxlex_pimpl.C (getString): adjust
7891         (next): adjust
7892         (lex): use getString
7893         (eatLine): adjust
7894         (nextToken): adjust
7895
7896         * lyxlex.C (text): use pimpl_->getString()
7897         (getBool): ditto
7898         (findToken): ditto
7899
7900 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7901
7902         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7903         (makeFontEntriesLayoutSpecific): temp var for par.size()
7904         (setLayout): temp var for ownerParagraphs().end()
7905         (fullRebreak): temp var for rows().end()
7906         (selectionAsString): temp var for boost::next(startpit), realize
7907         that the while really is a regular for loop.
7908         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7909         setCursor in one place.
7910         (setParagraph): temp vr for ownerParagraphs().end()
7911         (updateCounters): make the while loop a for loop
7912         (cutSelection): temp var for ownerParagraphs().end()
7913         (updateInset): make the do {} while() a regular for loop
7914         (getCursorX): use temp vars
7915         (setCurrentFont): use temp vars
7916         (getColumnNearX): use temp vars
7917
7918 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7919
7920         * text.C (transformChar): use temp var for getChar
7921         (computeBidiTables): use temp var for row->par()
7922         (fill): move temp vars for row->par() and pit->layout() earlier in
7923         the function.
7924         (labelFill): use temp var for row->par()
7925         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7926         asc and desc, realize that pit never changes and that firstpit is
7927         just a duplicate and not needed. Exchange rit->par() with pit in a
7928         lot of places.
7929         (breakAgain): use a temp var for boost::next(rit)
7930         (breakAgainOneRow): ditto
7931         (breakParagraph): use a temp var for rows().begin()
7932         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7933         (cursorRightOneWord): use temp var for cursor.par() and
7934         cursor.pos(), remove usage of tmpcursor.
7935         (cursorLeftOneWord): use temp var for cursor.par() and
7936         cursor.pos() only set cur at end of function.
7937
7938 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7939
7940         * text.C, text2.C: exchange all usage of Paragraph::next with
7941         boost::next(ParagraphList::iterator)
7942
7943         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7944
7945         * text2.C (cursorTop): simplify implementation
7946         (cursorBottom): ditto
7947         (setParagraph): use ParagraphList::iterator
7948         (setCurrentFont): adjust
7949         (getColumnNearX): adjust
7950         (cursorRight): adjust
7951         (cursorLeft): remove usage of Paragraph::previous
7952         (cursorUpParagraph): ditto
7953         (deleteEmptyParagraphMechanism): slight cleanup
7954
7955         * text.C (isBoundary): take a Paragraph const & instead of a
7956         pointer as arg.
7957         (addressBreakPoint): ditto
7958         (leftMargin): remove usage of Paragraph::previous.
7959         (setHeightOfRow): ditto
7960         (cursorLeftOneWord): ditto
7961         (selectNextWordToSpellcheck): ditto
7962         (Delete): ditto
7963         (backspace): ditto
7964         (breakParagraph): remove one usage of Paragraph::next
7965         (redoParagraph): ditto
7966         (acceptChange): ditto
7967         (insertChar): adjust
7968         (rowBreakPoint): adjust
7969
7970         * bufferview_funcs.C (toggleAndShow): adjust
7971
7972 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7973
7974         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7975         methods to access it.
7976         * lyxtext.h:
7977         * text.C: Added updateRowPositions to compute all row positions.
7978         Make top_y and getRowNearY() to use the cached y position
7979
7980 2003-04-11  John Levon  <levon@movementarian.org>
7981
7982         * text.C (rowBreakPoint): reintroduce the labelEnd
7983         checks, code copied from the row fill stuff. Deep voodoo.
7984
7985         * text.C (fill): add a comment and debugging for the
7986         next poor soul.
7987
7988 2003-04-11  John Levon  <levon@movementarian.org>
7989
7990         * text.C: make sure fullrow insets get wrapped to the next line,
7991         even when they're in a manual label
7992
7993 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7994
7995         * text2.C (insertParagraph): make it take ParagraphList::iterator
7996         as arg.
7997         (setLayout): make it return ParagraphList::iterator
7998         (redoParagraphs): ditto
7999         (setCounter): ditto
8000         (checkParagraph): ditto
8001
8002         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8003
8004         * text2.C: adjust several funcs.
8005         (realizeFont): take a ParagraphList::iterator as arg.
8006         (getLayoutFont): ditto
8007         (getLabelFont): ditto
8008         (setCharFont): ditto
8009
8010         * text.C: adjust several funcs.
8011
8012 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8013
8014         * text.C (selectNextWordToSpellcheck): don't accidentally
8015         skip insets
8016
8017 2003-04-10  John Levon  <levon@movementarian.org>
8018
8019         * ToolbarBackend.C (getIcon): special handling for
8020         LFUN_MATH_DELIM
8021
8022 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8023
8024         * text2.C (cursorRight): a getChar assert fixed
8025
8026 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8027
8028         * text2.C (getFont): change to take a ParagraphList::iterator
8029         instead of Paragraph*
8030         Adjust several functions.
8031
8032         * text.C (transformChar): change to take a ParagraphList::iterator
8033         instead of Paragraph*
8034         (singleWidth): ditto
8035         Adjust several functions.
8036
8037         * rowpainter.C: adjust several functions
8038         * rowpainter.h:store a ParagraphList::iterator and not a
8039         Paragraph&.
8040
8041
8042 2003-04-09  John Levon  <levon@movementarian.org>
8043
8044         * lyxfunc.C:
8045         * lfuns.h:
8046         * LyXAction.h:
8047         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8048         and the "help" bits as well
8049
8050 2003-04-09  John Levon  <levon@movementarian.org>
8051
8052         * ToolbarBackend.h:
8053         * ToolbarBackend.C: allow multiple toolbars
8054
8055 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8056
8057         * undo_funcs.C (setCursorParUndo): adjust
8058
8059         * text_funcs.C (transposeChars): adjust
8060
8061         * text3.C (gotoNextInset): adjust
8062         (dispatch): adjust
8063
8064         * text2.C (setLayout): adjust
8065         (changeDepth): adjust
8066         (setFont): adjust
8067         (redoParagraphs): adjust
8068         (selectionAsString): adjust
8069         (setParagraph): adjust
8070         (insertInset): adjust
8071         (cutSelection): adjust
8072         (copySelection): adjust
8073         (pasteSelection): adjust
8074         (insertStringAsLines): adjust
8075         (updateInset): adjust
8076         (setCursor): change to take a ParagraphList::iterator parameter
8077         (setCursorIntern): change to take a ParagraphList::iterator parameter
8078         (setCurrentFont): adjust
8079         (cursorLeft): adjust
8080         (cursorRight): adjust
8081         (deleteEmptyParagraphMechanism): adjust
8082
8083         * text.C (breakParagraph): adjust
8084         (insertChar): adjust
8085         (acceptChange): adjust
8086         (rejectChange): adjust
8087         (selectNextWordToSpellcheck): adjust
8088         (changeCase): adjust
8089         (Delete): adjust
8090         (backspace): adjust
8091
8092         * lyxfind.C (SearchForward): adjust
8093         (SearchBackward): adjust
8094         (nextChange): adjust
8095
8096         * lyxcursor.C (par): adjust
8097
8098         * lyxcursor.h: store a ParagraphList::iterator instead of a
8099         Paragraph*
8100
8101         * lyx_cb.C (getPossibleLabel): adjust
8102
8103         * bufferview_funcs.C (toggleAndShow): adjust
8104
8105         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8106         (dispatch): adjust
8107
8108         * BufferView.C (removeAutoInsets): adjust
8109         (lockedInsetStoreUndo): adjust
8110
8111 2003-04-09  John Levon  <levon@movementarian.org>
8112
8113         * ToolbarBackend.C: try icon without argument
8114         if with argument fails
8115
8116 2003-04-08  John Levon  <levon@movementarian.org>
8117
8118         * ToolbarBackend.h:
8119         * ToolbarBackend.C: add getIcon(), handle tooltip,
8120         and change from "Icon" to "Item".
8121
8122 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8123
8124         * BufferView.C (lockInset): another bad getchar crunched
8125
8126 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8127
8128         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8129         again)
8130
8131 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8132
8133         * lyxfind.C (searchForward, searchBackwards): bug 782
8134
8135 2003-04-07  John Levon  <levon@movementarian.org>
8136
8137         * paragraph.C: remove dead comment
8138
8139         * text.C: remove troublesome depth-fiddling code
8140         in leftMargin() and rightMargin() (bug 1017)
8141
8142         * text.C: fix breaking of rows in nested lists
8143         (bug 1004)
8144
8145         * text2.C (updateCounters): fix up depth values
8146         (bug 1013)
8147
8148 2003-04-07  John Levon  <levon@movementarian.org>
8149
8150         * BufferView_pimpl.C: clear message when doc finishes resizing,
8151         and after a mouse event
8152
8153         * lyxfunc.C: clear message after exiting inset
8154
8155 2003-04-07  John Levon  <levon@movementarian.org>
8156
8157         * bufferview_funcs.C: show math status not outside
8158         status in the statusbar
8159
8160 2003-04-07  John Levon  <levon@movementarian.org>
8161
8162         * lyxfunc.C: note status changed after a depth change
8163
8164 2003-04-04  Angus Leeming  <leeming@lyx.org>
8165
8166         * LaTeX.h: move AuxInfo operator==, != out of line.
8167         Remove LaTeX virtual destructor; nothing derives from it.
8168         Move operator()() out of public area and rename it startscript().
8169         Change protected for private.
8170
8171 2003-04-04  Angus Leeming  <leeming@lyx.org>
8172
8173         * lyxfunc.C:
8174         * text2.C: remove unneeded #includes.
8175
8176 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8177
8178         * text2.C (dEPM): fix the heigth of the next row
8179
8180 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8181
8182         * text.C: squashed an invalid getChar requester + some ws changes
8183
8184 2003-04-03  John Levon  <levon@movementarian.org>
8185
8186         * bufferview_funcs.h:
8187         * bufferview_funcs.C:
8188         * lyxfunc.C:
8189         * lyxtext.h:
8190         * text2.C: make getStatus work for the env depth lfuns
8191
8192 2003-04-03  John Levon  <levon@movementarian.org>
8193
8194         * bufferview_funcs.h:
8195         * bufferview_funcs.C:
8196         * lyxfunc.C:
8197         * lyxtext.h:
8198         * text2.C: parlistize decDepth(), by merging it with incDepth()
8199
8200 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8201
8202         * lyxrow.h: store a ParagraphList::iterator instead of a
8203         Paragraph* and adjust other class functions to suit.
8204
8205         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8206         above.
8207
8208 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8209
8210         * text2.C (setCursor): do not anchor to cursor row for the time being
8211
8212 2003-04-02  John Levon  <levon@movementarian.org>
8213
8214         * LyXAction.C:
8215         * lfuns.h:
8216         * lyx_main.C:
8217         * lyxtext.h:
8218         * text.C:
8219         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8220
8221 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8222
8223         * paragraph.h: make ParagraphList and ParagraphList::iterator
8224         friends of Paragraph.
8225
8226         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8227
8228         * ParagraphList.C: Use the private next_ and previous_ from
8229         Paragraph.
8230
8231 2003-04-01  John Levon  <levon@movementarian.org>
8232
8233         * ToolbarBackend.h:
8234         * ToolbarBackend.C:
8235         * Makefile.am: rename, remove defaults gunk
8236
8237         * MenuBackend.h:
8238         * MenuBackend.C: remove defaults gunk
8239
8240         * Languages.h:
8241         * Languages.C: remove defaults gunk
8242
8243         * lyx_main.h:
8244         * lyx_main.C: error out if files couldn't be found.
8245
8246 2003-04-02  John Levon  <levon@movementarian.org>
8247
8248         * text2.C: make incDepth() use parlist
8249
8250 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8251
8252         * undo_funcs.C (firstUndoParagraph): adjust
8253
8254         * text3.C (gotoInset): adjust
8255         (dispatch): adjust, and rewrite loop.
8256
8257         * text2.C (init): adjust, and rewrite loop.
8258         (redoParagraphs): adjust
8259         (updateInset): adjust, and rewrite loop.
8260         (deleteEmptyParagraphMechanism): adjust
8261
8262         * tabular.C (LyXTabular): adjust
8263         (SetMultiColumn): adjust
8264         (TeXRow): adjust
8265
8266         * lyxtext.[Ch] (ownerParagraph): delete function
8267         (ownerParagraphs): new function returns a ParagraphList.
8268
8269         * BufferView.C (removeAutoInsets): adjust
8270         (insertErrors): adjust
8271         (setCursorFromRow): adjust
8272
8273 2003-04-01  Angus Leeming  <leeming@lyx.org>
8274
8275         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8276         in the frontends.
8277
8278 2003-04-02  John Levon  <levon@movementarian.org>
8279
8280         * lyxtext.h:
8281         * text.C:
8282         * Makefile.am:
8283         * text_funcs.h:
8284         * text_funcs.C: make transposeChars a free function
8285
8286         * lyxrow_funcs.C: remove wrong comment
8287
8288 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8289
8290         * lyxtext.h: adjust
8291         * rowpainter.C: adjust
8292         * text.C: adjust
8293         * text2.C: adjust
8294         * text3.C: adjust
8295
8296         * lyxrow_funcs. [Ch]: new files
8297
8298         * lyxrow.[Ch]: remove next and previous pointers
8299         (next,previous): remove accessor functions
8300         (isParEnd): move to lyxrow_funcs
8301         (lastPos): move to lyxrow_funcs
8302         (nextRowIsAllInset): move to lyxrow_funcs
8303         (lastPrintablePos): move to lyxrow_funcs
8304         (numberOfSeparators): move to lyxrow_funcs
8305         (numberOfHfills): move to lyxrow_funcs
8306         (numberOfLabelHfills): move to lyxrow_funcs
8307         (hfillExpansion): move to lyxrow_funcs
8308
8309         * lyxfunc.C: adjust
8310
8311         * bufferview_funcs.C (toggleAndShow): adjust
8312
8313         * RowList.h: Remove class RowList from file leave just a
8314         std::list<Row>.
8315
8316         * RowList.C: delete file
8317
8318         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8319         and lyxrow_funcs.h
8320
8321 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8322
8323         * text3.C (cursorPrevious): adjust
8324         (cursorNext): adjust
8325         (dispatch): adjust
8326
8327         * text2.C (redoHeightOfParagraph): adjust
8328         (redoDrawingOfParagraph): adjust
8329         (setCursor): adjust
8330
8331         * text.C (breakParagraph): adjust
8332         (insertChar): adjust
8333         (backspace): adjust
8334
8335         * rowpainter.C (RowPainter): adjust
8336         (leftMargin): simplify and adjust
8337         (most rowpainter functions): adjust.
8338
8339         * rowpainter.h: store the row as RowList::iterator not as Row*
8340
8341         * lyxcursor.C (row): taka RowList::iterator as arg
8342         (irow): ditto
8343
8344         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8345         of Row*.
8346
8347 2003-04-01  Angus Leeming  <leeming@lyx.org>
8348
8349         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8350         stuff like bool Bool.
8351
8352 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8353
8354         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8355         rewrite a loop
8356
8357 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8358
8359         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8360         RowList::iterator.
8361
8362         * lyxtext.h (rows): drop one version and leve a const variant that
8363         returns a RowList::iterator.
8364
8365 2003-03-31  Angus Leeming  <leeming@lyx.org>
8366
8367         * text.C (fill): ensure that the signature is the same as that in the
8368         header file.
8369
8370 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8371
8372         * text2.C (redoParagraphs): adjust
8373         (updateCounters): adjust
8374         (checkParagraph): adjust
8375         (getColumnNearX): adjust and reformat a bit.
8376
8377         * text.C (top_y): adjust
8378         (workWidth): adjust
8379         (leftMargin): adjust
8380         (prepareToPrint): adjust
8381         (getRow): adjust
8382         (getRowNearY): adjust
8383
8384         * lyxtext.h: make rowlist_ mutable.
8385
8386         * RowList.h: add const_iterator
8387         * RowList.C: adjust for RowList::const_iterator.
8388
8389         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8390         adjust.
8391
8392 2003-03-31  John Levon  <levon@movementarian.org>
8393
8394         * lyxrc.h:
8395         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8396
8397         * lyx_main.C: set default fonts from using lyx_gui funcs
8398
8399         * exporter.C: pdf_mode moved from lyxrc
8400
8401         * lyx_cb.C:
8402         * lyxfunc.C: changes from above
8403
8404 2003-03-31  John Levon  <levon@movementarian.org>
8405
8406         * lyx_main.C: fix to the last fix
8407
8408 2003-03-31  John Levon  <levon@movementarian.org>
8409
8410         * bufferlist.C: "Load original" -> "Load Original"
8411
8412         * converter.C:
8413         * exporter.C:
8414         * importer.C:
8415         * lyx_main.C:
8416         * format.C: more Alert cleanups
8417
8418 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8419
8420         * text2.C (removeParagraph): make it take a RowList::iterator as
8421         arg, adjust.
8422         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8423         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8424
8425         * text.C (anchor_row): make it take a RowList::iterator as arg,
8426         adjust.
8427         (computeBidiTables): make it take a const reference to Row instead
8428         of Row pointer, adjust.
8429         (leftMargin): make it take a RowList::iterator as arg, adjust.
8430         (rowBreakPoint): adjust
8431         (breakAgainOneRow): make it take a RowList::iterator as arg,
8432         adjust.
8433         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8434
8435         * bufferview_funcs.C (toggleAndShow): adjust
8436
8437 2003-03-30  John Levon  <levon@movementarian.org>
8438
8439         * Makefile.am:
8440         * BoostFormat.h:
8441         * boost-inst.C: moved to support
8442
8443         * several files: changes as a result
8444
8445 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8446
8447         * text2.C (LyXText): adjust.
8448         (init): adjust
8449         (removeRow): make it take a RowList::iterator as arg, adjust.
8450         (fullRebreak): adjust
8451         (deleteEmptyParagraphMechanism): adjust
8452         (clearPaint): adjust
8453         (postPaint): adjust
8454
8455         * text.C (top_y): adjust
8456         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8457         (breakAgain): make it take a RowList::iterator as arg, adjust.
8458         (breakParagraph): adjust
8459         (insertChar): adjust
8460         (backspace): adjust
8461
8462         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8463         need_break_row, and refresh_row.
8464
8465         * text3.C (dispatch): adjust
8466
8467         * text2.C (checkParagraph): adjust
8468         (setCursor): adjust
8469         (setCursorFromCoordinates): adjust
8470
8471         * text.C (top_y): adjust
8472         (workWidth): adjust
8473         (getRow): make it return a RowList::iterator, adjust
8474         (getRowNearY): make it return a RowList::iterator, adjust
8475
8476         * text2.C (init): adjust
8477         (insertRow): remove function
8478         (insertParagraph): adjust
8479         (redoParagraphs): adjust
8480         (fullRebreak): adjust
8481         (updateCounters): adjust
8482
8483         * text.C (top_y): rewrite to use RowList iterators.
8484         (top_y): adjust
8485         (setHeightOfRow): rewrite to sue RowList iterators.
8486         (appendParagraph): adjust
8487         (breakAgain): adjust
8488         (breakAgainOneRow): adjust
8489         (breakParagraph): adjust
8490         (getRow): adjust
8491         (getRowNearY): adjust, and remove commented code.
8492
8493         * lyxtext.h (firstRow): delete function
8494         (lastRow): delete function
8495         (rows): new function (const and non-const versions.)
8496         (insertRow): delete function
8497
8498         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8499
8500 2003-03-29  John Levon  <levon@movementarian.org>
8501
8502         * BufferView_pimpl.C: always update scrollbar top
8503         because pasting text when we're anchored could mean we
8504         miss an update altogether
8505
8506 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8507
8508         * text2.C (init): use rowlist_.end() and not 0.
8509         (insertRow): change to take a RowList::iterator as arg, adjust
8510         for this.
8511         (insertParagraph): change to take a RowList::iterator as arg,
8512         adjust for this.
8513         (redoParagraphs): remove some debug msgs.
8514
8515         * text.C (appendParagraph): change to take a RowList::iterator
8516         arg, adjust for this.
8517         (breakAgain): add an assert
8518         (breakAgainOneRow): ditto
8519
8520 2003-03-29  John Levon  <levon@movementarian.org>
8521
8522         * text2.C: do not clear selection after inc/decDepth
8523         (bug 550)
8524
8525 2003-03-29  John Levon  <levon@movementarian.org>
8526
8527         * BufferView.C:
8528         * buffer.C: fix broken strerrors according to Lars
8529
8530 2003-03-29  John Levon  <levon@movementarian.org>
8531
8532         * converters.C: more Alert cleanups
8533
8534 2003-03-29  John Levon  <levon@movementarian.org>
8535
8536         * bufferview_funcs.C: remove pointless Alert
8537
8538         * buffer.C: fix confusing error message when
8539         a template is chmoded 000
8540
8541 2003-03-29  John Levon  <levon@movementarian.org>
8542
8543         * BufferView.C:
8544         * BufferView.h:
8545         * BufferView_pimpl.C: Alert fixes
8546
8547         * Makefile.am:
8548         * tabular.C:
8549         * tabular-old.C: remove unused table compat reading
8550
8551 2003-03-29  John Levon  <levon@movementarian.org>
8552
8553         * BufferView.C:
8554         * buffer.C:
8555         * lyx_cb.h:
8556         * lyx_cb.C: more Alert cleanups
8557
8558         * lyxfunc.C: don't allow chktex if not latex document
8559
8560 2003-03-29  John Levon  <levon@movementarian.org>
8561
8562         * lyx_cb.C:
8563         * BufferView.C:
8564         * buffer.C: warnings pushed down from support/,
8565         kill err_alert
8566
8567 2003-03-29  John Levon  <levon@movementarian.org>
8568
8569         * lyxfunc.C: safety check for C-r (revert)
8570
8571 2003-03-29  John Levon  <levon@movementarian.org>
8572
8573         * bufferlist.h:
8574         * bufferlist.C: several UI fixes using Alert::prompt.
8575         Fix the pointless looping quit code. Fix stupid revert
8576         behaviour (bug 938)
8577
8578         * lyxvc.h:
8579         * lyxvc.C:
8580         * lyx_cb.C: use Alert::prompt
8581
8582         * lyx_main.C: remove a silly question
8583
8584         * lyxfunc.C: remove a couple of silly questions,
8585         use Alert::prompt
8586
8587 2003-03-28  John Levon  <levon@movementarian.org>
8588
8589         * text2.C: fix bug 974 (End on empty par)
8590
8591 2003-03-28  John Levon  <levon@movementarian.org>
8592
8593         * BufferView_pimpl.C:
8594         * LyXAction.C:
8595         * lfuns.h: remove do-nothing math greek lfuns
8596
8597 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8598
8599         * lyxgluelength.h (isValidGlueLength): add default arg on
8600         parameter 2. Remove default arg from friend in class.
8601
8602         * lyxlength.h (isValidLength): add default arg on parameter 2.
8603         Remove default arg from friend in class.
8604
8605         * text2.C (LyXText): adjust, initialize refresh_row.
8606         (init): adjust
8607         (removeRow): adjust
8608         (insertRow): adjust
8609         (insertParagraph): adjst
8610         (redoParagraphs): adjust
8611         (fullRebreak): adjust
8612         (updateCounters): adjust
8613         (deleteEmptyParagraphMechanism): first attempt at fixing a
8614         crashing bug.
8615
8616         * text.C (top_y): adjust
8617         (setHeightOfRow): adjust
8618         (getRow): adjust
8619         (getRowNearY): adjust
8620
8621         * lyxtext.h: include RowList.h
8622         (~LyXText): not needed anymore, deleted.
8623         (firstRow): modify for RowList
8624         (lastRow): new function
8625         Delete firstrow and lastrow class variables, add a Rowlist
8626         rowlist_ class variable.
8627
8628         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8629         paragraph is empty.
8630
8631         * RowList.C (insert): fix case where it == begin().
8632
8633 2003-03-26  Angus Leeming  <leeming@lyx.org>
8634
8635         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8636         the thesaurus dialog.
8637
8638 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8639
8640         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8641
8642         * RowList.[Ch]: new files
8643
8644         * ParagraphList.C (erase): handle the case where it == begin
8645         correctly.
8646
8647 2003-03-25  John Levon  <levon@movementarian.org>
8648
8649         * Makefile.am:
8650         * aspell_local.h:
8651         * aspell.C: add new aspell support
8652
8653         * lyxrc.h:
8654         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8655         have it accessible.
8656
8657 2003-03-25  Angus Leeming  <leeming@lyx.org>
8658
8659         * lfuns.h:
8660         * LyXAction.C (init): new LFUN_INSET_INSERT.
8661
8662         * BufferView_pimpl.C (dispatch): split out part of the
8663         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8664
8665         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8666         LFUN_INSET_APPLY.
8667
8668 2003-03-25  Angus Leeming  <leeming@lyx.org>
8669
8670         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8671
8672 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8673
8674         * text2.C:
8675         * text3.C: remove useless row->height(0)
8676
8677 2003-03-25  John Levon  <levon@movementarian.org>
8678
8679         * lyxtext.h:
8680         * text2.C:
8681         * text3.C: rename the refreshing stuff to better names
8682
8683 2003-03-24  John Levon  <levon@movementarian.org>
8684
8685         * BufferView_pimpl.h:
8686         * BufferView_pimpl.C: update layout choice on a mouse
8687         press/release
8688
8689 2003-03-23  John Levon  <levon@movementarian.org>
8690
8691         * Makefile.am: fix commandtags.h reference
8692
8693 2003-03-22  John Levon  <levon@movementarian.org>
8694
8695         * BufferView_pimpl.C:
8696         * lyxtext.h:
8697         * rowpainter.C:
8698         * rowpainter.h:
8699         * text.C:
8700         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8701
8702 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8703
8704         * lyxtext.h:
8705         * text.C: take the rtl methods out of line
8706
8707 2003-03-21 André Pönitz <poenitz@gmx.net>
8708
8709         * metricsinfo.[Ch]: new files containing structures to be passed around
8710         during the two-phase-drawing...
8711
8712 2003-03-21 André Pönitz <poenitz@gmx.net>
8713
8714         * lyxtextclass.C: read 'environment' tag.
8715
8716 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8717
8718         * text2.C (removeRow): fix bug 964
8719
8720 2003-03-20  John Levon  <levon@movementarian.org>
8721
8722         * rowpainter.C:
8723         * text.C:
8724         * text2.C: paint cleanups. Inset::update() dropped font
8725         parameter
8726
8727 2003-03-19  John Levon  <levon@movementarian.org>
8728
8729         * lyxfunc.C: only fitcursor/markDirty if available()
8730
8731 2003-03-19  John Levon  <levon@movementarian.org>
8732
8733         * commandtags.h: rename to ...
8734
8735         * lfuns.h: ... this, and renumber / cleanup
8736
8737 2003-03-19  John Levon  <levon@movementarian.org>
8738
8739         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8740         fit the cursor after an lfun
8741
8742         * BufferView.h:
8743         * BufferView.C:
8744         * BufferView_pimpl.h:
8745         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8746
8747         * LyXAction.C: layout-character should have ReadOnly
8748
8749         * ParagraphParameters.C:
8750         * buffer.C:
8751         * bufferview_funcs.C:
8752         * lyx_cb.C:
8753         * lyxfind.C:
8754         * lyxtext.h:
8755         * text.C:
8756         * text2.C:
8757         * text3.C:
8758         * undo_funcs.C: changes from above
8759
8760 2003-03-18  John Levon  <levon@movementarian.org>
8761
8762         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8763         remove it from update()
8764
8765         * lyxfunc.C: update layout choice after an lfun
8766
8767         * text3.C: remove extra updateLayoutChoice()s
8768
8769 2003-03-18  John Levon  <levon@movementarian.org>
8770
8771         * text.C: top_y change means full repaint, fix
8772         a drawing bug with cursor movement
8773
8774 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8775
8776         * lyxtext.h:
8777         * text.C:
8778         * text2.C: anchor row on setCursor
8779
8780 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8781
8782         * lyxtext.h: remove almost all mutable keywords
8783         * text.C:
8784         * text2.C:
8785         * text3.C: remove const keywords accordingly
8786
8787 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8788
8789         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8790         anon namespace
8791         (TeXEnvironment): ditto
8792         (TeXOnePar): ditto
8793
8794 2003-03-17  John Levon  <levon@movementarian.org>
8795
8796         * text.C (rowBreakPoint): remove attempt to fix displayed
8797         math insets inside a manual label
8798
8799 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8800
8801         * lyxtext.h: remove BufferView* as first arg from almost all class
8802         functions.
8803         * other files: adjust.
8804
8805 2003-03-17  John Levon  <levon@movementarian.org>
8806
8807         * lyxtext.h:
8808         * undo_funcs.C:
8809         * text2.C: more paint cleanups
8810
8811         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8812
8813         * rowpainter.h:
8814         * rowpainter.C: remove "smart" background painting code
8815
8816 2003-03-16  John Levon  <levon@movementarian.org>
8817
8818         * lyxtext.h:
8819         * text.C:
8820         * text2.C:
8821         * text3.C: add helper functions for setting refresh_row/y
8822
8823 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8824
8825         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8826         newline inset which *can* get inserted in the pass_thru layouts.
8827         This is primarily for literate documents.
8828
8829 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8830
8831         * buffer.C: increment LYX_FORMAT to 223
8832
8833 2003-03-14 André Pönitz <poenitz@gmx.net>
8834
8835         * textclass.h: prepare for environment handling, ws changes
8836         * lyxlayout.C: read latexheader and latexfooter tags
8837
8838 2003-03-14  John Levon  <levon@movementarian.org>
8839
8840         * text2.C: rewrite ::status() a bit
8841
8842 2003-03-13  John Levon  <levon@movementarian.org>
8843
8844         * lyxtext.h: add some docs
8845
8846 2003-03-13  John Levon  <levon@movementarian.org>
8847
8848         * lyxtext.h:
8849         * text.C:
8850         * text2.C:
8851         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8852
8853 2003-03-13  John Levon  <levon@movementarian.org>
8854
8855         * text3.C: fix appendix redrawing
8856
8857 2003-03-13  John Levon  <levon@movementarian.org>
8858
8859         * text.C (setHeightOfRow):
8860         * rowpainter.h:
8861         * rowpainter.C: make appendix mark have the text
8862           "Appendix" so the user knows what it is
8863
8864         * LColor.h:
8865         * LColor.C: s/appendixline/appendix/ from above
8866
8867 2003-03-13  John Levon  <levon@movementarian.org>
8868
8869         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8870
8871         * text.C: fix a getChar(pos) bug properly
8872
8873 2003-03-13  Angus Leeming  <leeming@lyx.org>
8874
8875         * commandtags.h:
8876         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8877         Probably only temporary. Let's see how things pan out.
8878
8879         * BufferView.C (unlockInset):
8880         * BufferView_pimpl.C (fitCursor):
8881         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8882
8883         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8884         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8885
8886         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8887         new functions that convert ParagraphParameters to and from a string.
8888
8889         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8890         BufferView::Pimpl's dispatch.
8891         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8892
8893 2003-03-13 André Pönitz <poenitz@gmx.net>
8894
8895         * lyxfunc.C:
8896         * text3.C:
8897         * factory.C: make it aware of InsetEnv
8898
8899 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8900
8901         * text2.C (setCursor): never ask for one past last
8902         (setCursor): add some debugging messages.
8903
8904         * text.C (singleWidth): never ask for one past last
8905         (singleWidth): ditto
8906         (leftMargin): ditto
8907         (rightMargin): ditto
8908         (rowBreakPoint): ditto
8909         (setHeightOfRow): ditto
8910         (prepareToPrint): ditto
8911
8912         * rowpainter.C (paintBackground): never ask for one past last
8913         (paintText): never ask for one past last
8914
8915         * paragraph_pimpl.C (getChar): make the assert stricter, never
8916         allow the one past last pos to be taken
8917
8918         * paragraph.C (getChar): ws changes only
8919
8920         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8921         (numberOfSeparators): ditto
8922         (numberOfHfills): ditto
8923
8924 2003-03-12  John Levon  <levon@movementarian.org>
8925
8926         * author.h:
8927         * author.C:
8928         * bufferparams.h:
8929         * bufferparams.C:
8930         * paragraph_funcs.C: fix per-buffer authorlists
8931
8932 2003-03-12  John Levon  <levon@movementarian.org>
8933
8934         * text.C: fix newline in right address
8935
8936 2003-03-12  Angus Leeming  <leeming@lyx.org>
8937
8938         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8939         duplicate those in LyXFunc::dispatch.
8940
8941         * commandtags.h:
8942         * LyXAction.C:
8943         * ToolbarDefaults.C:
8944         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8945         Add LFUN_FONTFREE_UPDATE.
8946
8947         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8948         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8949
8950         * bufferview_func.[Ch]: several new functions to facilliate
8951         transfer of data to and from the character dialog.
8952
8953 2003-03-12  John Levon  <levon@movementarian.org>
8954
8955         * buffer.C:
8956         * paragraph.h:
8957         * paragraph.C:
8958         * paragraph_funcs.C:
8959         * paragraph_pimpl.C:
8960         * sgml.C:
8961         * tabular.C:
8962         * text.C:
8963         * text3.C: remove META_NEWLINE in favour of an inset
8964
8965         * rowpainter.h:
8966         * rowpainter.C: remove paintNewline (done by inset)
8967
8968 2003-03-12  John Levon  <levon@movementarian.org>
8969
8970         * paragraph_pimpl.C: complain about bad getChar()s
8971         for a while at least
8972
8973 2003-03-12  John Levon  <levon@movementarian.org>
8974
8975         * buffer.h:
8976         * buffer.C: move paragraph read into a separate function,
8977         a little renaming to reflect that.
8978
8979         * bufferparams.h:
8980         * bufferparams.C: remove the author_ids map, not necessary now
8981
8982         * factory.h:
8983         * factory.C: moved Buffer::readInset to here
8984
8985         * paragraph_funcs.h:
8986         * paragraph_funcs.C: readParagraph free function moved from
8987         buffer.C
8988
8989         * tabular.C: name change
8990
8991 2003-03-12  John Levon  <levon@movementarian.org>
8992
8993         * buffer.C:
8994         * ParagraphParameters.C: move par params input to
8995         a read() method
8996
8997         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8998         behave like a normal read from the stream wrt reading
8999         a line vs. a \\token
9000
9001 2003-03-12  John Levon  <levon@movementarian.org>
9002
9003         * paragraph.C:
9004         * ParagraphParameters.h:
9005         * ParagraphParameters.C: move output code to a
9006         ::write() method
9007
9008 2003-03-12  John Levon  <levon@movementarian.org>
9009
9010         * BufferView.C (insertLyXFile):
9011         * buffer.h:
9012         * buffer.C:
9013         * tabular.C: use a parlist iterator for creating the
9014           document.
9015
9016 2003-03-12  John Levon  <levon@movementarian.org>
9017
9018         * buffer.C: make current_change static local not
9019           static file-scope
9020
9021 2003-03-12  John Levon  <levon@movementarian.org>
9022
9023         * buffer.C: fix insertStringAsLines for change tracking
9024
9025 2003-03-12  John Levon  <levon@movementarian.org>
9026
9027         * BufferView.C:
9028         * tabular.C:
9029         * buffer.h:
9030         * buffer.C:
9031         * bufferparams.h:
9032         * bufferparams.C: move author list into params. Rename some
9033           functions. Move the header reading into a separate token
9034           loop. Move the header token reading into BufferParams.
9035
9036 2003-03-12  John Levon  <levon@movementarian.org>
9037
9038         * changes.C: put debug inside lyxerr.debugging() checks
9039
9040 2003-03-11 André Pönitz <poenitz@gmx.net>
9041
9042         * factory.C: make it aware of InsetHFill
9043
9044 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9045
9046         * buffer.C (latexParagraphs): move function from here...
9047         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9048         args.
9049
9050 2003-03-10  Angus Leeming  <leeming@lyx.org>
9051
9052         * LyXAction.C (init): fix bug in poplating array with multiple entries
9053         with the same LFUN (spotted by JMarc).
9054
9055 2003-03-10  John Levon  <levon@movementarian.org>
9056
9057         * text.C:
9058         * text2.C: move getColumnNearX() near its
9059         only call site
9060
9061 2003-03-10  John Levon  <levon@movementarian.org>
9062
9063         * text.C: fix break before a minipage
9064
9065 2003-03-10  John Levon  <levon@movementarian.org>
9066
9067         * text.C: fix the last commit
9068
9069 2003-03-09  John Levon  <levon@movementarian.org>
9070
9071         * lyxtext.h:
9072         * text.C:
9073         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9074         bug 365 (don't break before insets unless needed). Don't
9075         return a value > last under any circumstances.
9076
9077 2003-03-09  Angus Leeming  <leeming@lyx.org>
9078
9079         * BufferView_pimpl.C (trackChanges, dispatch): call
9080         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9081
9082 2003-03-09  Angus Leeming  <leeming@lyx.org>
9083
9084         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9085         than Dialogs::showAboutlyx().
9086
9087 2003-03-09  Angus Leeming  <leeming@lyx.org>
9088
9089         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9090         than Dialogs::showTabularCreate().
9091
9092 2003-03-09  John Levon  <levon@movementarian.org>
9093
9094         * lyxtext.h:
9095         * text.C:
9096         * text2.C: 3rd arg to nextBreakPoint was always the same.
9097           Use references.
9098
9099 2003-03-08  John Levon  <levon@movementarian.org>
9100
9101         * lyxrow.C:
9102         * paragraph.C:
9103         * paragraph.h:
9104         * rowpainter.C:
9105         * text.C:
9106         * text2.C: Remove the "main" bit from the "main body"
9107           notion.
9108
9109 2003-03-08  John Levon  <levon@movementarian.org>
9110
9111         * text.C (leftMargin): The left margin of an empty
9112         manual label paragraph should not include the label width
9113         string length.
9114
9115         * text.C (prepareToPrint): don't attempt to measure hfills
9116         for empty manual label paragraphs - the answer should be 0
9117
9118 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9119
9120         * CutAndPaste.C: remove commented code and reindent.
9121
9122 2003-03-08  John Levon  <levon@movementarian.org>
9123
9124         * lyxfunc.h:
9125         * lyxfunc.C: move reloadBuffer()
9126
9127         * BufferView.h:
9128         * BufferView.C: to here
9129
9130         * lyxvc.C: add comment
9131
9132         * vc-backend.h:
9133         * vc-backend.C: call bv->reload() to avoid
9134           getStatus() check on MENURELOAD
9135
9136 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9137
9138         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9139         to an old format .dep file.
9140
9141 2003-03-07  Angus Leeming  <leeming@lyx.org>
9142
9143         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9144         when the LFUN_MOUSE_RELEASE should have been handled by
9145         inset->localDispatch.
9146
9147 2003-03-07  Angus Leeming  <leeming@lyx.org>
9148
9149         * BufferView_pimpl.C (dispatch):
9150         * LyXAction.C (init):
9151         * ToolbarDefaults.C (init):
9152         * commandtags.h:
9153         * lyxfunc.C (getStatus):
9154         remove LFUN_INSET_GRAPHICS.
9155
9156         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9157
9158 2003-03-07  Angus Leeming  <leeming@lyx.org>
9159
9160         * commandtags.h:
9161         * LyXAction.C (init):
9162         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9163
9164         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9165
9166         * commandtags.h:
9167         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9168
9169         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9170         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9171
9172 2003-03-07  Angus Leeming  <leeming@lyx.org>
9173
9174         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9175         remove "ert".
9176
9177 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9178
9179         * ParagraphList.C (front): new function
9180         (back): implement
9181
9182 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9183
9184         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9185         and top_row_offset_. removed var first_y.
9186         * text.C (top_y):
9187         * text2.C (LyXText, removeRow):
9188         * text3.C:
9189         * BufferView_pimpl.C:
9190         use these methods instead of using first_y
9191
9192 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9193
9194         * text2.C (pasteSelection): adjust for checkPastePossible
9195
9196         * CutAndPaste.C: remove Paragraph * buf and replace with
9197         ParagraphList paragraphs.
9198         (DeleteBuffer): delete
9199         (cutSelection): change the tc type to textclass_type
9200         (copySelection): change the tc type to textclass_type
9201         (copySelection): adjust for ParagraphList
9202         (pasteSelection): change the tc type to textclass_type
9203         (pasteSelection): adjust for Paragraphlist
9204         (nrOfParagraphs): simplify for ParagraphList
9205         (checkPastePossible): simplify for ParagraphList
9206         (checkPastePossible): remove unused arg
9207
9208         * ParagraphList.C (insert): handle the case where there are no
9209         paragraphs yet.
9210
9211         * CutAndPaste.h: make CutAndPaste a namespace.
9212
9213         * text3.C (dispatch): adjust
9214
9215         * text.C (breakParagraph): add a ParagraphList as arg
9216
9217         * paragraph_funcs.C (breakParagraph): change to take a
9218         BufferParams and a ParagraphList as args.
9219         (breakParagraphConservative): ditto
9220         (mergeParagraph): ditto
9221         (TeXDeeper): add a ParagraphList arg
9222         (TeXEnvironment): ditto
9223         (TeXOnePar): ditto
9224
9225         * buffer.C (readLyXformat2): adjust
9226         (insertStringAsLines): adjust
9227         (latexParagraphs): adjust
9228
9229         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9230         (cutSelection): adjust
9231         (pasteSelection): adjust
9232
9233         * BufferView_pimpl.C (insertInset): adjust
9234
9235 2003-03-05  Angus Leeming  <leeming@lyx.org>
9236
9237         * commandtags.h:
9238         * LyXAction.C (init):
9239         * BufferView_pimpl.C (dispatch):
9240         * lyxfunc.C (getStatus):
9241         remove LFUN_CHILD_INSERT.
9242
9243         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9244
9245 2003-03-05  Angus Leeming  <leeming@lyx.org>
9246
9247         * commandtags.h:
9248         * LyXAction.C (init):
9249         * src/factory.C (createInset):
9250         * lyxfunc.C (getStatus):
9251         * text3.C (dispatch):
9252         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9253
9254         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9255
9256 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9257
9258         * ParagraphList.C (insert): handle insert right before end()
9259         (erase): fix cases where it can be first or last paragraph.
9260
9261 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9262
9263         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9264         Paragraph::next and Paragraph::previous
9265         (TeXOnePar): ditto
9266
9267         * text.C (breakParagraph): adjust
9268
9269         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9270         BufferParams& as arg.
9271         (breakParagraph): use ParagraphList::insert
9272         (breakParagraphConservative): take a Buffer* instead of a
9273         BufferParams& as arg.
9274         (breakParagraphConservative): use ParagraphList::insert.
9275
9276         * buffer.C (insertStringAsLines): un-const it
9277         (insertStringAsLines): adjust
9278
9279         * ParagraphList.C (insert): new function
9280
9281         * CutAndPaste.C (pasteSelection): adjust
9282
9283         * text.C (backspace): adjust
9284
9285         * tabular.C (SetMultiColumn): adjust
9286
9287         * CutAndPaste.C (cutSelection): adjust
9288         (pasteSelection): adjust
9289
9290         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9291         Buffer const * as arg
9292
9293         * ParagraphList.C (erase): new function
9294         * paragraph_funcs.C (mergeParagraph): use it
9295         (mergeParagraph): make it take a Buffer* instead of a
9296         BufferParams* as arg
9297
9298         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9299         as arg
9300         (breakParagraphConservative): ditto
9301
9302         * paragraph.h: remove the breakParagraph friend
9303
9304         * paragraph.C (eraseIntern): new function
9305         (setChange): new function
9306
9307         * paragraph_funcs.C (mergeParagraph): make it take a
9308         ParagraphList::iterator instead of a Paragraph *, adjust
9309         accordingly.
9310
9311         * paragraph.h: move an #endif so that the change tracking stuff
9312         also works in the NO_NEXT case.
9313
9314 2003-03-04  Angus Leeming  <leeming@lyx.org>
9315
9316         * commandtags.h:
9317         * LyXAction.C: new LFUN_INSET_MODIFY.
9318
9319         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9320         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9321
9322 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9323
9324         * several files: ws changes only
9325
9326         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9327         (TeXEnvironment): ditto
9328         (TeXDeeper): ditto
9329
9330         * buffer.C (makeLaTeXFile): adjust
9331         (latexParagraphs): make it take ParagraphList::iterator as args
9332
9333 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9334
9335         * buffer.C (latexParagraphs): adjust
9336
9337         * paragraph.C (TeXOnePar): move function...
9338         (optArgInset): move function...
9339         (TeXEnvironment): move function...
9340         * paragraph_pimpl.C (TeXDeeper): move function...
9341         * paragraph_funcs.C: ...here
9342
9343         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9344
9345 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9346
9347         * buffer.C (readInset): remove compability code for old Figure and
9348         InsetInfo insets
9349
9350 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9351
9352         * buffer.C: ws changes
9353         (readInset):
9354
9355         * BufferView_pimpl.C: ditto
9356         * author.C: ditto
9357         * buffer.h: ditto
9358         * bufferlist.h: ditto
9359         * changes.h: ditto
9360         * lyxfunc.C: ditto
9361
9362 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9363
9364         * converter.[Ch]: split into itself +
9365         * graph.[Ch]
9366         * format.[Ch]
9367         * Makefile.am: += graph.[Ch] + format.[Ch]
9368         * MenuBackend.C
9369         * buffer.C
9370         * exporter.C
9371         * importer.C
9372         * lyx_main.C
9373         * lyxfunc.C
9374         * lyxrc.C: added #include "format.h"
9375
9376 2003-02-27  Angus Leeming  <leeming@lyx.org>
9377
9378         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9379           a label.
9380
9381         * factory.C (createInset): add "label" to the factory.
9382
9383         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9384           string and do no more.
9385
9386 2003-02-27  Angus Leeming  <leeming@lyx.org>
9387
9388         * commandtags.h:
9389         * LyXAction.C (init):
9390         * factory.C (createInset):
9391         * BufferView_pimpl.C (dispatch):
9392           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9393
9394         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9395
9396         * lyxfunc.C (dispatch):
9397         * text3.C (dispatch): pass name to params2string.
9398
9399 2003-02-26  Angus Leeming  <leeming@lyx.org>
9400
9401         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9402           blocks together.
9403           Rearrange the ~includes. Strip out the unnecessary ones.
9404
9405         * factory.C (createInset): reformat.
9406           create new insets for the various LFUN_XYZ_APPLY lfuns.
9407
9408 2003-02-26  John Levon  <levon@movementarian.org>
9409
9410         * lyxrow.h:
9411         * lyxrow.C: add isParStart,isParEnd helpers
9412
9413         * paragraph.h: make isInserted/DeletedText take refs
9414
9415         * paragraph_funcs.h:
9416         * paragraph_funcs.C: remove #if 0'd code
9417
9418         * lyxtext.h:
9419         * text3.C:
9420         * text2.C:
9421         * text.C: use lyxrow helpers above.
9422           Move draw and paint routines to RowPainter.
9423           Make several methods use refs not pointers.
9424           Make backgroundColor() const.
9425           Add markChangeInDraw(), isInInset().
9426           Merge changeRegionCase into changeCase.
9427           Make workWidth() shouldn't-happen code into an Assert.
9428
9429         * rowpainter.h:
9430         * rowpainter.C: new class for painting a row.
9431
9432         * vspace.h:
9433         * vspace.C: make inPixels take a ref
9434
9435 2003-02-26  Angus Leeming  <leeming@lyx.org>
9436
9437         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9438         LFUN_REF_APPLY.
9439
9440 2003-02-25  John Levon  <levon@movementarian.org>
9441
9442         * ispell.C: give the forked command a more accurate name
9443
9444 2003-02-22  John Levon  <levon@movementarian.org>
9445
9446         * toc.h:
9447         * toc.C: make TocItem store an id not a Paragraph *
9448           (bug #913)
9449
9450 2003-02-21  Angus Leeming  <leeming@lyx.org>
9451
9452         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9453           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9454           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9455           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9456           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9457           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9458
9459         * BufferView_pimpl.C (dispatch):
9460         * LyXAction.C (init):
9461         * factory.C (createInset):
9462         * lyxfunc.C (getStatus, dispatch):
9463         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9464
9465 2003-02-21  Angus Leeming  <leeming@lyx.org>
9466
9467         * BufferView_pimpl.C (MenuInsertLyXFile):
9468         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9469         * lyxfunc.C (menuNew, open, doImport):
9470           no longer pass a LyXView & to fileDlg.
9471
9472 2003-02-21  Angus Leeming  <leeming@lyx.org>
9473
9474         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9475         * LyXAction.C: change, BIBKEY to BIBITEM.
9476         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9477         Change InsetBibKey to InsetBibitem.
9478         Change BIBKEY_CODE to BIBITEM_CODE.
9479         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9480         * factory.C: replace insetbib.h with insetbibitem.h.
9481         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9482         * paragraph.C: replace insetbib.h with insetbibitem.h.
9483         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9484         Change bibkey() to bibitem().
9485         * text.C: remove insetbib.h.
9486         * text2.C: replace insetbib.h with insetbibitem.h.
9487         change bibkey() to bibitem().
9488         * text3.C: remove insetbib.h.
9489         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9490
9491 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9492
9493         * lyxrc.C (output): enclose user email in quotes (in case there are
9494         several words)
9495
9496 2003-02-18  John Levon  <levon@movementarian.org>
9497
9498         * buffer.h: add std::
9499
9500 2003-02-17  John Levon  <levon@movementarian.org>
9501
9502         * SpellBase.h:
9503         * ispell.h:
9504         * ispell.C:
9505         * pspell.h:
9506         * pspell.C: reworking. Especially in ispell, a large
9507           number of clean ups and bug fixes.
9508
9509         * lyxfunc.C: fix revert to behave sensibly
9510
9511 2003-02-17 André Pönitz <poenitz@gmx.net>
9512
9513         * LyXAction.C:
9514         * commandtags.h: new LFUN_INSERT_BIBKEY
9515
9516         * layout.h:
9517         * lyxlayout.C:
9518         * buffer.C:
9519         * factory.C:
9520         * text.C:
9521         * text2.C:
9522         * text3.C:
9523         * paragraph.[Ch]:
9524         * paragraph_func.C: remove special bibkey handling
9525
9526 2003-02-17  John Levon  <levon@movementarian.org>
9527
9528         * text.C (Delete): fix case where delete at the end of
9529           the very first paragraph would not merge the pars
9530
9531 2003-02-17  John Levon  <levon@movementarian.org>
9532
9533         * lyxrow.C: fix lastPrintablePos()
9534
9535 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9536
9537         * bufferparams.C (writeLaTeX): add a std:here
9538
9539         * buffer.C: and remove a using directive there
9540
9541 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9542
9543         * buffer.C (makeLaTeXFile): move the code that generates the
9544           preamble...
9545
9546         * bufferparams.C (writeLaTeX): ... in this new method
9547
9548         * LaTeXFeatures.C (getEncodingSet): make const
9549           (getLanguages): make const
9550
9551         * MenuBackend.C (binding): returns the binding associated to this
9552           action
9553           (add): sets the status of each item by calling getStatus. Adds
9554           some intelligence.
9555           (read): add support for OptSubMenu
9556           (expand): remove extra separator at the end of expanded menu
9557
9558 2003-02-15  John Levon  <levon@movementarian.org>
9559
9560         * BufferView.C:
9561         * BufferView_pimpl.C:
9562         * bufferlist.h:
9563         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9564           inset code that had no actual effect. Remove unneeded status
9565           code.
9566
9567 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9568
9569         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9570           in preamble
9571
9572 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9573
9574         * text.C (drawLengthMarker): also draw an arrow marker for
9575           symbolic lengths (medskip...)
9576
9577 2003-02-14  John Levon  <levon@movementarian.org>
9578
9579         * tabular.h:
9580         * tabular.C: better method names
9581
9582 2003-02-14  John Levon  <levon@movementarian.org>
9583
9584         * BufferView_pimpl.C:
9585         * bufferlist.C:
9586         * buffer.C:
9587         * converter.C:
9588         * lyx_cb.C:
9589         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9590           it's a more accurate name. Remove some pointless uses.
9591
9592 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9593
9594         * text2.C (LyXText): change order of initilizers to shut off
9595           warnings
9596
9597 2003-02-14  John Levon  <levon@movementarian.org>
9598
9599         * buffer.C: use ParIterator for getParFromID()
9600
9601         * paragraph.h:
9602         * paragraph.C:
9603         * paragraph_pimpl.h:
9604         * paragraph_pimpl.C: remove unused getParFromID()
9605
9606 2003-02-14  John Levon  <levon@movementarian.org>
9607
9608         * buffer.C: remove some very old #if 0'd parse code
9609
9610 2003-02-13  John Levon  <levon@movementarian.org>
9611
9612         * text.h:
9613         * text.C:
9614         * text2.C: move hfillExpansion(), numberOfSeparators(),
9615           rowLast(), rowLastPrintable(), numberofHfills(),
9616           numberOfLabelHfills() ...
9617
9618         * lyxrow.h:
9619         * lyxrow.C: ... to member functions here.
9620
9621         * paragraph.h:
9622         * paragraph.C:
9623         * lyxtext.h:
9624         * text.C: remove LyXText::beginningOfMainBody(), and call
9625           p->beginningOfMainBody() directly. Move the check for
9626           LABEL_MANUAL into the latter.
9627
9628         * text.h:
9629         * text.C:
9630         * text2.C:
9631         * vspace.C:
9632         * BufferView.h:
9633         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9634
9635         * text.h:
9636         * text.C:
9637         * text2.C:
9638         * text3.C:
9639         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9640           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9641
9642 2003-02-13  John Levon  <levon@movementarian.org>
9643
9644         * CutAndPaste.C: remove debug
9645
9646 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9647
9648         * paragraph.C (asString): remove two unused variables
9649
9650         * lyxtextclass.C (readTitleType):
9651           (Read):
9652           (LyXTextClass): handle new members titletype_ and titlename_
9653
9654         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9655
9656 2003-02-09  John Levon  <levon@movementarian.org>
9657
9658         * buffer.h:
9659         * buffer.C: replace hand-coded list with a map for the dep clean
9660
9661 2003-02-08  John Levon  <levon@movementarian.org>
9662
9663         * LaTeX.C: consolidate code into showRunMessage() helper
9664
9665 2003-02-08  John Levon  <levon@movementarian.org>
9666
9667         * lyxfind.C:
9668         * lyxtext.h:
9669         * text2.C:
9670         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9671           and pass the size in explicitly
9672
9673         * BufferView_pimpl.h:
9674         * BufferView_pimpl.C:
9675         * BufferView.h:
9676         * BufferView.C: add getCurrentChange()
9677
9678         * BufferView_pimpl.h:
9679         * BufferView_pimpl.C: handle change lfuns
9680
9681         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9682           for changes. Mark pasted paragraphs as new.
9683
9684         * support/lyxtime.h:
9685         * support/lyxtime.C:
9686         * DepTable.C: abstract time_t as lyx::time_type
9687
9688         * LColor.h:
9689         * LColor.C: add colours for new text, deleted text, changebars
9690
9691         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9692           package use "usenames" option.
9693
9694         * commandtags.h:
9695         * lyxfunc.C:
9696         * LyXAction.C: add change lfuns
9697
9698         * Makefile.am:
9699         * author.h:
9700         * author.C: author handling
9701
9702         * buffer.h:
9703         * buffer.C: add a per-buffer author list, with first entry as
9704           current author. Handle new .lyx tokens for change tracking. Output
9705           author list to .lyx file. Output dvipost stuff to .tex preamble.
9706           Bump lyx format to 222.
9707
9708         * bufferlist.h:
9709         * bufferlist.C: add setCurrentAuthor() to reset current author details
9710           in all buffers.
9711
9712         * bufferparams.h:
9713         * bufferparams.C: add param for tracking
9714
9715         * bufferview_funcs.C: output change info in minibuffer
9716
9717         * Makefile.am:
9718         * changes.h:
9719         * changes.C: add change-tracking structure
9720
9721         * debug.h:
9722         * debug.C: add CHANGES debug flag
9723
9724         * lyxfind.h:
9725         * lyxfind.C: add code for finding the next change piece
9726
9727         * lyxrc.h:
9728         * lyxrc.C: add user_name and user_email
9729
9730         * lyxrow.h:
9731         * lyxrow.C: add a metric for the top of the text line
9732
9733         * lyxtext.h:
9734         * text.C: implement accept/rejectChange()
9735
9736         * lyxtext.h:
9737         * text.C: paint changebars. Paint new/deleted text in the chosen
9738         colours. Strike through deleted text.
9739
9740         * paragraph.h:
9741         * paragraph.C:
9742         * paragraph_pimpl.h:
9743         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9744           in the current change to the insert functions. Rework erase to
9745           mark text as deleted, adding an eraseIntern() and a range-based
9746           erase(). Implement per-paragraph change lookup and
9747           accept/reject.
9748
9749         * paragraph_funcs.C: Fixup paste for change tracking.
9750
9751         * tabular.C: mark added row/columns as new.
9752
9753         * text.C: fix rowLast() to never return -1. Don't allow
9754           spellchecking of deleted text. Track transpose changes. Don't
9755           allow paragraph break or merge where appropriate.
9756
9757         * text2.C: leave cursor at end of selection after a cut.
9758
9759 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9760
9761         * text.C (getLengthMarkerHeight):
9762         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9763         visible on screen too.
9764
9765 2003-02-07  John Levon  <levon@movementarian.org>
9766
9767         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9768
9769 2003-02-05  Angus Leeming  <leeming@lyx.org>
9770
9771         * lyxserver.C (read_ready): revert my patch of 11 September last year
9772         as it sends PC cpu through the roof. Presumably this means that
9773         the lyxserver will no longer run on an Alpha...
9774
9775 2003-01-30  Angus Leeming  <leeming@lyx.org>
9776
9777         * factory.C (createInset): create an InsetCommandParam of type "index"
9778         and use it to 'do the right thing'.
9779
9780         * text2.C (getStringToIndex): ensure that cursor position is always
9781         reset to the reset_cursor position.
9782
9783 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9784
9785         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9786         disabled.
9787
9788 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9789
9790         * bufferview.C:
9791         * lyxcb.C:
9792         * lyxfunc.C: Output messages with identical spelling, punctuation,
9793         and spaces
9794
9795 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9796
9797         * MenuBackend.C (expandFormats): List only viewable export formats
9798         in "View" menu
9799
9800         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9801         message
9802
9803         * lyxfunc.C (getStatus): Make sure that formats other than
9804         "fax" can also be disabled
9805
9806 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9807
9808         * text3.C (dispatch): put the lfuns that insert insets in 3
9809         groups, and call doInsertInset with appropriate arguments.
9810         (doInsertInset): new function, that creates an inset and inserts
9811         it according to some boolean parameters.
9812
9813 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9814
9815         * buffer.C (readFile): remember to pass on 'par' when calling
9816         readFile recursively.
9817
9818 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9819
9820         * MenuBackend.C (expandFormats): add "..." to import formats.
9821
9822 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9823
9824         * paragraph.C (asString): Remove XForms RTL hacks.
9825
9826 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9827         * buffer.C: fix typo
9828
9829 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9830
9831         * Makefile.am (LIBS): delete var
9832         (lyx_LDADD): add @LIBS@ here instead.
9833
9834 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9835
9836         * Clarify the meaning of "wheel mouse jump"
9837
9838 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9839
9840         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9841         tabular in a float
9842
9843 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9844
9845         * importer.C (Loaders): do not preallocate 3 elements in the
9846         vector, since one ends up with 6 elements otherwise
9847
9848 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9849
9850         * DepTable.C (write): write the file name as last element of the
9851         .dep file (because it may contain spaces)
9852         (read): read info in the right order
9853
9854 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9855
9856         * paragraph_pimpl.C (simpleTeXBlanks):
9857         (simpleTeXSpecialChars):
9858         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9859
9860         * tabular.C (latex): add some missing case statements. Reindent.
9861
9862         * MenuBackend.C (expandToc): remove unused variable.
9863
9864 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9865
9866         * LColor.C:
9867         * LaTeX.C:
9868         * LyXAction.C:
9869         * MenuBackend.C:
9870         * buffer.C:
9871         * exporter.C:
9872         * lyxfunc.C:
9873         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9874         and the like.
9875
9876 2003-01-05  John Levon  <levon@movementarian.org>
9877
9878         * BufferView.h:
9879         * BufferView.C: add getEncoding()
9880
9881         * kbsequence.h:
9882         * kbsequence.C: do not store last keypress
9883
9884         * lyxfunc.h:
9885         * lyxfunc.C: store last keypress here instead. Pass encoding
9886           to getISOEncoded()
9887
9888 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9889
9890         * lyx_main.C (init): remove annoying error message when following
9891         symbolic links (bug #780)
9892
9893 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9894
9895         * text.C (insertChar):
9896         * lyxrc.C (getDescription): remove extra spaces
9897
9898 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9899
9900         * lyxrc.C (getDescription): remove extra spaces
9901
9902 2002-12-20  John Levon  <levon@movementarian.org>
9903
9904         * text3.C: hack fix for page up/down across tall rows
9905
9906 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9907
9908         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9909         not been invoked
9910
9911 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9912
9913         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9914         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9915         thesaurus is not compiled in
9916
9917 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9918
9919         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9920
9921 2002-12-16  Angus Leeming  <leeming@lyx.org>
9922
9923         * lyxrc.[Ch]:
9924         * lyx_main.C (init): remove override_x_deadkeys stuff.
9925
9926 2002-12-12  John Levon  <levon@movementarian.org>
9927
9928         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9929           insert. Only remove shift modifier under strict
9930           circumstances.
9931
9932 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9933
9934         * MenuBackend.C (expandToc): fix crash.
9935
9936 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9937
9938         * MenuBackend.C (expandToc): gettext on float names.
9939
9940 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9941
9942         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9943         implement bool empty() [bug 490]
9944
9945 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9946
9947         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9948
9949 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9950
9951         * several files: ws changes
9952
9953 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9954
9955         * text2.C (setCounter): clean up a bit, use boost.format.
9956         (updateCounters): initialize par upon declaration.
9957
9958         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9959         if the layout exists. We do not just store the layout any more.
9960         (SwitchLayoutsBetweenClasses): use boost.format
9961
9962 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9963
9964         * converter.C (convert): if from and to files are the same, use a
9965         temporary files as intermediary
9966
9967 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9968
9969         * commandtags.h:
9970         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9971
9972 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9973
9974         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9975
9976 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9977
9978         * tabular.C (asciiPrintCell): use string(size, char) instead of
9979         explicit loop.
9980
9981         * sgml.C (openTag): fix order of arguments to string constructor
9982         (closeTag): ditto
9983
9984         * lyxfunc.C (dispatch): use boost.format
9985
9986         * lots of files: change "c" -> 'c'
9987
9988 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9989
9990         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9991
9992 2002-11-25  Angus Leeming  <leeming@lyx.org>
9993
9994         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9995
9996         * lyx_main.C (init): compile fix.
9997
9998 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9999
10000         * lyx_cb.C (start): boost.formatify
10001         do not include <iostream>
10002
10003         * lengthcommon.C: ws only
10004
10005         * boost-inst.C,BoostFormat.h: add more explict instantations
10006
10007 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10008
10009         * lots of files: handle USE_BOOST_FORMAT
10010
10011 2002-11-21  John Levon  <levon@movementarian.org>
10012
10013         * pspell.C: fix compile
10014
10015 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10016
10017         * lyxfunc.C (dispatch): use boost::format
10018         (open): ditto
10019         (doImport): ditto
10020
10021         * lyxfont.C (stateText): use boost::format
10022
10023         * lyx_main.C (LyX): use boost::format
10024         (init): ditto
10025         (queryUserLyXDir): ditto
10026         (readRcFile): ditto
10027         (parse_dbg): ditto
10028         (typedef boost::function): use the recommened syntax.
10029
10030         * importer.C (Import): use boost::format
10031
10032         * debug.C (showLevel): use boost::format
10033
10034         * converter.C (view): use boost::format
10035         (convert): ditto
10036         (move): ditto
10037         (scanLog): ditto
10038
10039         * bufferview_funcs.C (currentState): use boost::format
10040
10041         * bufferlist.C (emergencyWrite): use boost::format
10042
10043         * buffer.C (readLyXformat2): use boost::format
10044         (parseSingleLyXformat2Token): ditto
10045
10046         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10047
10048         * LaTeX.C (run): use boost::format
10049
10050         * Chktex.C (scanLogFile): use boost::format
10051
10052         * BufferView_pimpl.C (savePosition): use boost::format
10053         (restorePosition): ditto
10054         (MenuInsertLyXFile): ditto
10055
10056         * BoostFormat.h: help file for explicit instation.
10057
10058 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10059
10060         * tabular.C (latex): Support for block alignment in fixed width
10061         columns.
10062
10063 2002-11-17  John Levon  <levon@movementarian.org>
10064
10065         * BufferView_pimpl.C:
10066         * lyx_cb.C:
10067         * lyxfunc.C: split filedialog into open/save
10068
10069 2002-11-08  Juergen Vigna  <jug@sad.it>
10070
10071         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10072         by my last patch (hopefully).
10073
10074 2002-11-08  John Levon  <levon@movementarian.org>
10075
10076         * iterators.h:
10077         * iterators.C:
10078         * buffer.h:
10079         * buffer.C:
10080         * paragraph.h:
10081         * paragraph.C:
10082         * toc.h:
10083         * toc.C: ParConstIterator, and use it (from Lars)
10084
10085 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10086
10087         * lyxtextclass.[Ch]: revise and add doxygen comments
10088
10089 2002-11-07  John Levon  <levon@movementarian.org>
10090
10091         * text.C: fix progress value for spellchecker
10092
10093         * toc.C: fix navigate menu for insetwrap inside minipage
10094
10095         * paragraph_funcs.C: added FIXME for suspect code
10096
10097 2002-11-07  John Levon  <levon@movementarian.org>
10098
10099         * BufferView_pimpl.C: fix redrawing of insets
10100           on buffer switch
10101
10102 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10103
10104         * text2.C (updateCounters): fix bug 668
10105
10106 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10107
10108         * text3.C (dispatch): Do not make the buffer dirty when moving the
10109         cursor.
10110
10111 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10112
10113         * vc-backend.C: STRCONV
10114         (scanMaster): ditto
10115
10116         * text2.C (setCounter): STRCONV
10117
10118         * paragraph.C (asString): STRCONV
10119
10120         * lyxlength.C (asString): STRCONV
10121         (asLatexString): ditto
10122
10123         * lyxgluelength.C (asString): STRCONV
10124         (asLatexString): ditto
10125
10126         * lyxfunc.C (dispatch): STRCONV
10127         (open): ditto
10128
10129         * lyxfont.C (stateText): STRCONV
10130
10131         * importer.C (Import): STRCONV
10132
10133         * counters.C (labelItem): STRCONV
10134         (numberLabel): ditto
10135         (numberLabel): remove unused ostringstream o
10136
10137         * chset.C: STRCONV
10138         (loadFile): ditto
10139
10140         * bufferview_funcs.C (currentState): STRCONV
10141
10142         * buffer.C (readFile): STRCONV
10143         (asciiParagraph): ditto
10144         (makeLaTeXFile): ditto
10145
10146         * Spacing.C (writeEnvirBegin): STRCONV
10147
10148         * LaTeXFeatures.C (getLanguages): STRCONV
10149         (getPackages): ditto
10150         (getMacros): ditto
10151         (getBabelOptions): ditto
10152         (getTClassPreamble): ditto
10153         (getLyXSGMLEntities): ditto
10154         (getIncludedFiles): ditto
10155
10156         * LaTeX.C: STRCONV
10157         (run): ditto
10158         (scanAuxFile): ditto
10159         (deplog): ditto
10160
10161         * LString.h: add the STRCONV macros
10162
10163         * BufferView_pimpl.C (savePosition): STRCONV
10164         (restorePosition): ditto
10165         (MenuInsertLyXFile): ditto
10166
10167         * vc-backend.C (scanMaster): change from submatch[...] to
10168         submatch.str(...)
10169
10170         * funcrequest.C: include config.h
10171
10172         * factory.C: include config.h
10173
10174         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10175
10176         * box.C: include config.h
10177
10178         * LaTeX.C (scanAuxFile): change from submatch[...] to
10179         submatch.str(...)
10180         (deplog): ditto
10181
10182 2002-10-25  Angus Leeming  <leeming@lyx.org>
10183
10184         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10185
10186         * ispell.[Ch] (setError): new method.
10187         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10188         Use setError() insetead of goto END.
10189
10190         * lyx_cb.C (AutoSave): move out child process into new class
10191         AutoSaveBuffer.
10192
10193 2002-10-30  John Levon  <levon@movementarian.org>
10194
10195         * text3.C: make start appendix undoable
10196
10197 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10198
10199         * lyxlength.C (inPixels): Fix returned value.
10200
10201         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10202         environment.
10203
10204 2002-10-24  Angus Leeming  <leeming@lyx.org>
10205
10206         * lyxgluelength.h: no need to forward declare BufferParams
10207         or BufferView, so don't.
10208
10209 2002-10-21  John Levon  <levon@movementarian.org>
10210
10211         * BufferView.C: menuUndo ->undo, redo
10212
10213         * BufferView.h: document, remove dead, make some methods private
10214
10215         * paragraph_funcs.h:
10216         * paragraph_funcs.C:
10217         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10218
10219         * buffer.h:
10220         * buffer.C:
10221         * sgml.h:
10222         * sgml.C: move sgml open/close tag into sgml.C
10223
10224         * bufferview_funcs.h: unused prototype
10225
10226         * lyxfunc.h:
10227         * lyxfunc.C: remove unused
10228
10229         * lyxtext.h:
10230         * text.C: remove unused
10231
10232 2002-10-21  John Levon  <levon@movementarian.org>
10233
10234         * BufferView.h:
10235         * BufferView.C:
10236         * BufferView_pimpl.h:
10237         * BufferView_pimpl.C: fix mouse wheel handling based on
10238           patch from Darren Freeman
10239
10240 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10241
10242         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10243
10244 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10245
10246         * lyxlength.C (inPixels): Fix hanfling of negative length.
10247         Fix LyXLength::MU case.
10248
10249 2002-10-16  John Levon  <levon@movementarian.org>
10250
10251         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10252
10253 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10254
10255         * converter.C (view): add support for $$i (file name) and $$p
10256         (file path) for the viewer command. If $$i is not specified, then
10257         it is appended to the command (for compatibility with old syntax)
10258
10259 2002-10-14  Juergen Vigna  <jug@sad.it>
10260
10261         * undo_funcs.C (textHandleUndo): alter the order in which the
10262         new undopar is added to the LyXText, as we have to set first
10263         the right prev/next and then add it as otherwise the rebuild of
10264         LyXText is not correct. Also reset the cursor to the right paragraph,
10265         with this IMO we could remove the hack in "redoParagraphs()".
10266
10267 2002-10-09  Angus Leeming  <leeming@lyx.org>
10268
10269         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10270         to turn off an optimisation if a new inset is to be inserted.
10271
10272 2002-10-11 André Pönitz <poenitz@gmx.net>
10273
10274         * lyxtext.h: make some functions public to allow access
10275         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10276
10277 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10278
10279         * text3.C (dispatch): when changing layout, avoid an infinite loop
10280         [bug #652]
10281
10282 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10283
10284         * lyxrc.C (read): treat a viewer or converter command of "none" as
10285         if it were empty.
10286
10287         * MenuBackend.C (expandFormats): for an update, also allow the
10288         formats that are not viewable
10289
10290         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10291         script if it is newer than the lyxrc.defaults in user directory
10292
10293 2002-10-07 André Pönitz <poenitz@gmx.net>
10294
10295         * text.C: Vitaly Lipatov's small i18n fix
10296
10297 2002-09-25  Angus Leeming  <leeming@lyx.org>
10298
10299         * ispell.h: doxygen fix.
10300
10301 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10302
10303         * buffer.h (readFile): Add a new argument to the method, to allow
10304         reading of old-format templates.
10305
10306 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10307
10308         * toc.C (getTocList): Get TOC from InsetWrap.
10309
10310 2002-09-16  John Levon  <levon@movementarian.org>
10311
10312         * lyxfunc.C: check tabular for cut/copy too
10313
10314 2002-09-12  John Levon  <levon@movementarian.org>
10315
10316         * LyXAction.C: tidy
10317
10318         * factory.h:
10319         * factory.C: add header
10320
10321         * paragraph_funcs.h:
10322         * paragraph_funcs.C: cleanup
10323
10324 2002-09-11  John Levon  <levon@movementarian.org>
10325
10326         * PrinterParams.h: odd/even default to true
10327
10328 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10329
10330         * PrinterParams.h: update printer parameters for new xforms dialog
10331
10332 2002-09-11  Angus Leeming  <leeming@lyx.org>
10333
10334         * lyxserver.C (read_ready): re-write to make it more transparent
10335         and to make it work in coherent fashion under Tru64 Unix.
10336
10337 2002-09-11  André Pönitz <poenitz@gmx.net>
10338
10339         * commandtags.h:
10340         * LyXAction.C:
10341         * text3.C: implement LFUN_WORDSEL
10342
10343 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10344
10345         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10346         make floatlist_ a boost::shared_ptr<FloatList>
10347
10348         * lyxtextclass.C: include FloatList.h
10349         (LyXTextClass): initialize floatlist_
10350         (TextClassTags): add TC_NOFLOAT
10351         (Read): match "nofloat" to TC_NOFLOAT and use it.
10352         (readFloat): modify call to floatlist_
10353         (floats): ditto
10354         (floats): ditto
10355
10356         * FloatList.[Ch] (FloatList): remove commented out float
10357         initialization.
10358         (erase): new function
10359
10360 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10361
10362         * MenuBackend.C (expandToc): fix crash when there is no document
10363         open
10364
10365 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10366
10367         * many files: Add insetwrap.
10368
10369 2002-09-09  John Levon  <levon@movementarian.org>
10370
10371         * text2.C: remove confusing and awkward depth wraparound
10372
10373 2002-09-09  John Levon  <levon@movementarian.org>
10374
10375         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10376
10377         * buffer.h:
10378         * buffer.C: remove getIncludeonlyList()
10379
10380         * paragraph.C:
10381         * lyxfunc.C: remove headers
10382
10383 2002-09-09  Juergen Vigna  <jug@sad.it>
10384
10385         * text.C (getColumnNearX): fix form Michael this is most
10386         probably a cut&paste bug.
10387
10388 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10389
10390         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10391
10392         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10393         references, ws changes.
10394
10395         * text2.C (init): update counters after init
10396         (insertParagraph): no need to set counter on idividual paragraphs.
10397         (setCounter): access the counters object in the textclass object
10398         on in the buffer object.
10399         (updateCounters): ditto
10400
10401         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10402         shared_ptr<Counters> to avoid loading counters.h in all
10403         compilation units.
10404         (LyXTextClass): initialize ctrs_
10405         (TextClassTags): add TC_COUNTER, and ...
10406         (Read): use it here.
10407         (CounterTags): new tags
10408         (readCounter): new function
10409         (counters): new funtion
10410         (defaultLayoutName): return a const reference
10411
10412         * counters.C (Counters): remove contructor
10413         (newCounter): remove a couple of unneeded statements.
10414         (newCounter): simplify a bit.
10415         (numberLabel): some small formatting changes.
10416
10417         * buffer.[Ch]: remove all traces of counters, move the Counters
10418         object to the LyXTextClass.
10419
10420 2002-09-06  Alain Castera  <castera@in2p3.fr>
10421
10422         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10423         package to set the horizontal alignment on fixed width columns.
10424
10425         * lyx_sty.C:
10426         * lyx_sty.h: added tabularnewline macro def.
10427
10428         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10429
10430 2002-09-06  John Levon  <levon@movementarian.org>
10431
10432         * LyXAction.C: tooltips for sub/superscript
10433
10434         * MenuBackend.C: a bit more verbose
10435
10436         * lyxfunc.C: tiny clean
10437
10438         * undo_funcs.C: document undo_frozen
10439
10440 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10441
10442         * counters.C (Counters): add missing algorithm counter.
10443
10444         * text2.C (setCounter): lookup the counter with layouts latexname
10445         instead of by section number.
10446         (setCounter): use a hackish way to lookup the correct enum
10447         counter.
10448         a float name->type change
10449         reset enum couners with counter name directly instead of depth value.
10450
10451         * counters.C (Counters): remove the push_backs, change to use the
10452         float type not the float name.
10453         (labelItem): remove unused string, float name->type change
10454
10455         * counters.h: don't include vector, loose the enums and sects vectors
10456
10457 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10458
10459         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10460         (Read): add float->TC_FLOAT to textclassTags
10461         (Read): and handle it in the switch
10462         (readFloat): new function
10463
10464         * FloatList.C (FloatList): comment out the hardcoded float
10465         definitions.
10466
10467         * lyxlayout.h: ws change.
10468
10469 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10470
10471         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10472
10473 2002-09-03  Angus Leeming  <leeming@lyx.org>
10474
10475         * BufferView_pimpl.h: qualified name is not allowed in member
10476         declaration: WorkArea & Pimpl::workarea() const;
10477
10478         * factory.C: added using std::endl directive.
10479
10480         * text3.C: added using std::find and std::vector directives.
10481
10482 2002-08-29  André Pönitz <poenitz@gmx.net>
10483
10484         * lyxtext.h:
10485         * text2.C: remove unused member number_of_rows
10486
10487         * Makefile.am:
10488         * BufferView2.C: remove file, move contents to...
10489         * BufferView.C: ... here
10490
10491         * BufferView_pimpl.C:
10492         * factory.C: move more inset creation to factory
10493
10494         * vspace.C: avoid direct usage of LyXText, ws changes
10495
10496         * BufferView.[Ch]:
10497                 don't provide direct access to WorkArea, use two simple
10498                 acessors haveSelction() and workHeight() instead
10499
10500
10501 2002-08-29  John Levon  <levon@movementarian.org>
10502
10503         * BufferView_pimpl.C (dispatch): do not continue when
10504           no buffer
10505
10506 2002-08-28  André Pönitz <poenitz@gmx.net>
10507
10508         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10509
10510         * BufferView.h:
10511         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10512
10513 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10514
10515         * buffer.C: increment LYX_FORMAT to 221
10516
10517         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10518         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10519
10520         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10521
10522         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10523
10524 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10525
10526         * factory.C (createInset): use LyXTextClass::floats
10527
10528         * MenuBackend.C (expandFloatListInsert):
10529         (expandFloatInsert):
10530         (expandToc):
10531
10532         * text2.C (setCounter):
10533
10534         * LaTeXFeatures.C (useFloat):
10535         (getFloatDefinitions):
10536
10537         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10538
10539         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10540         floatlist_, with accessor floats().
10541
10542         * FloatList.h: remove global FloatList
10543
10544 2002-08-26  André Pönitz <poenitz@gmx.net>
10545
10546         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10547
10548         * BufferView.h:
10549         * BufferView2.C:
10550         * BufferView_pimpl.C:
10551         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10552
10553 2002-08-25  John Levon  <levon@movementarian.org>
10554
10555         * LyXAction.C: fix margin note description
10556
10557 2002-08-24  John Levon  <levon@movementarian.org>
10558
10559         * buffer.C:
10560         * bufferlist.C:
10561         * bufferview_funcs.C:
10562         * lyxfont.C:
10563         * undo_funcs.C: cleanups
10564
10565         * lyxfunc.C: disable CUT/COPY when no selection
10566
10567 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10568
10569         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10570         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10571
10572         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10573         Add backward compatibility to "mono", "gray" and "no".
10574
10575 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10576
10577         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10578         (and file_format >= 200).
10579
10580 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10581
10582         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10583
10584 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10585
10586         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10587
10588 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10589
10590         * BufferView_pimpl.C:
10591         * LyXAction.C:
10592         * buffer.C:
10593         * commandtags.h:
10594         * lyxfunc.C:
10595         * paragraph.[Ch]:
10596         * text2.C:
10597         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10598         inset and code to make it  work with the paragraph code. The inset
10599         can be anywhere in the paragraph, but will only do the expected
10600         thing in LaTeX if the layout file contains the parameter line
10601                         OptionalArgs    1
10602         (or more generally, a nonzero value) for that layout.
10603
10604 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10605
10606         * paragraph.h: remove the declaration of undefined counters class
10607         function.
10608
10609 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10610
10611         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10612         Dr. Richard Hawkins.
10613
10614 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10615
10616         * paragraph_funcs.h: remove some unneeded includes
10617
10618         * text.C (backspace): pasteParagraph now in global scipe
10619
10620         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10621         (pasteSelection): ditto
10622
10623         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10624         * paragraph_funcs.C (pasteParagraph): ... here
10625
10626 2002-08-20  André Pönitz <poenitz@gmx.net>
10627
10628         * commandtags.h: new LFUNs for swapping/copying table row/colums
10629
10630         * LyXAction.C:
10631         * lyxfunc.C: support for new lfuns
10632
10633 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10634
10635         * tabular.C:
10636         * buffer.[Ch]: remove NO_COMPABILITY stuff
10637
10638 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10639
10640         * boost.C (throw_exception): new file, with helper function for
10641         boost compiled without exceptions.
10642
10643         * paragraph.h:
10644         * lyxlength.C:
10645         * buffer.C:
10646         * ParameterStruct.h:
10647         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10648
10649         * bufferlist.C (emergencyWriteAll): use boost bind
10650
10651         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10652
10653         * text.C: include paragraph_funcs.h
10654         (breakParagraph): breakParagraph is now in global scope
10655
10656         * paragraph_funcs.[Ch]: new files
10657
10658         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10659         global scope
10660
10661         * buffer.C: include paragraph_funcs.h
10662         (insertStringAsLines): breakParagraph is now in global scope
10663
10664         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10665         paragraph_funcs.C
10666
10667         * CutAndPaste.C: include paragraph_funcs.h
10668         (cutSelection): breakParagraphConservative is now in global scope
10669         (pasteSelection): ditto
10670
10671         * buffer.h: declare oprator== and operator!= for
10672         Buffer::inset_iterator
10673
10674         * bufferlist.C (emergencyWrite): don't use fmt(...)
10675
10676         * text3.C: add using std::endl
10677
10678         * BufferView.C (moveCursorUpdate): remove default arg
10679
10680 2002-08-20  André Pönitz <poenitz@gmx.net>
10681
10682         * buffer.[Ch]: move inline functions to .C
10683
10684         * BufferView2.C:
10685         * BufferView_pimpl.C:
10686         * text.C:
10687         * buffer.[Ch]: use improved inset_iterator
10688
10689         * buffer.C:
10690         * paragraph.[Ch]: write one paragraph at a time
10691
10692 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10693
10694         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10695         style if style is not specified.
10696
10697 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10698
10699         * text2.C (setCounter): when searching for right label for a
10700         caption, make sure to recurse to parent insets (so that a caption
10701         in a minipage in a figure float works) (bug #568)
10702
10703 2002-08-20  André Pönitz <poenitz@gmx.net>
10704
10705         * text3.C: new file for LyXText::dispatch() and helpers
10706
10707         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10708
10709         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10710
10711 2002-08-19  André Pönitz <poenitz@gmx.net>
10712
10713         * lyxtext.h:
10714         * text.C: new LyXText::dispatch()
10715
10716         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10717
10718 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10719
10720         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10721
10722         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10723         Hebrew text.
10724
10725 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10726
10727         * Makefile.am: use $(variables) instead of @substitutions@
10728
10729 2002-08-15  André Pönitz <poenitz@gmx.net>
10730
10731         * lyxfunc.C:
10732         * BufferView_pimpl.C: streamlining mathed <-> outer world
10733         interaction
10734
10735         * commandtags.h:
10736         * LyXAction.C: remove unused LFUN_MATH
10737
10738 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10739
10740         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10741
10742 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10743
10744         * paragraph.C (Paragraph): reformat a bit
10745         (cutIntoMinibuffer): use builtin InsetList function instad of
10746         doing it manually.
10747         (getInset): ditto
10748
10749         * buffer.C: include boost/bind.hpp, add using std::for_each
10750         (writeFileAscii): use ParagraphList iterators
10751         (validate): use for_each for validate traversal of paragraphs
10752         (getBibkeyList): use ParagraphList iterators
10753         (resizeInsets): use for_each to resizeInsetsLyXText for all
10754         paragraphs.
10755         (getParFromID): use ParagraphList iterators
10756
10757         * BufferView2.C (lockInset): use paragraph list and iterators
10758
10759 2002-08-14  John Levon  <levon@movementarian.org>
10760
10761         * lyxserver.C: remove spurious xforms include
10762
10763 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10764
10765         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10766
10767 2002-08-13  André Pönitz <poenitz@gmx.net>
10768
10769         * LyXAction.[Ch]:
10770         * lyxfunc.C: further cleaning
10771
10772 2002-08-13  André Pönitz <poenitz@gmx.net>
10773
10774         * funcrequest.h: new constructor
10775
10776         * funcrequest.C: move stuff here from .h
10777
10778         * Makefile.am:
10779         * BufferView_pimpl.C:
10780         * LyXAction.C:
10781         * toc.C:
10782         * lyxfunc.C: subsequent changes
10783
10784         * lyxfunc.h: new view() member function
10785
10786         * lyxfunc.C: subsequent changes
10787
10788 2002-08-13  Angus Leeming  <leeming@lyx.org>
10789
10790         * BufferView2.C:
10791         * BufferView_pimpl.C:
10792         * buffer.C:
10793         * converter.C:
10794         * importer.C:
10795         * lyxfunc.C:
10796         * lyxvc.C:
10797         * toc.C:
10798         * vc-backend.C:
10799         changes due to the changed LyXView interface that now returns references
10800         to member variables not pointers.
10801
10802 2002-08-13  Angus Leeming  <leeming@lyx.org>
10803
10804         * WordLangTuple (word, lang_code): return references to strings,
10805         not strings.
10806
10807         * BufferView.h:
10808         * SpellBase.h:
10809         * lyxtext.h: forward-declare WordLangTuple.
10810
10811         * BufferView2.C:
10812         * ispell.C:
10813         * pspell.C:
10814         * text.C: #include "WordLangTuple.h".
10815
10816         * lyxtext.h:
10817         * text.C: (selectNextWordToSpellcheck): constify return type.
10818
10819 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10820
10821         * buffer.C:
10822         * buffer.h:
10823         * lyxtext.h:
10824         * paragraph.C:
10825         * paragraph_pimpl.h:
10826         * text.C:
10827         * text2.C:
10828         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10829         suggested by Angus.
10830         Made updateCounter always count from start of buffer, and removed
10831         second argument (par).
10832         Reverted floats number display to '#'. Perhaps I'll try again when the
10833         code base is sanitized a bit.
10834
10835 2002-08-12  Angus Leeming  <leeming@lyx.org>
10836
10837         * buffer.[Ch] (getLabelList): constify.
10838
10839 2002-08-07  André Pönitz <poenitz@gmx.net>
10840
10841         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10842
10843         * funcrequest.h: extension to keep mouse (x,y) position
10844
10845 2002-08-12  Juergen Vigna  <jug@sad.it>
10846
10847         * BufferView2.C (insertErrors): forbid undo when inserting error
10848         insets.
10849
10850         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10851
10852 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10853
10854         * ParagraphList.[Ch]: new files
10855
10856         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10857
10858         * BufferView2.C (lockInset): ParagraphList changes
10859         * toc.C: ditto
10860         * text2.C: ditto
10861         * bufferlist.C: ditto
10862         * buffer.h: ditto
10863         * buffer.C: ditto
10864
10865 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10866
10867         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10868         unused class variable counter_,
10869
10870         * paragraph.[Ch] (getFirstCounter): delete unused function
10871
10872         * counters.C: include LAssert.h
10873         (reset): add a new function with no arg, change other version to
10874         not have def. arg and to not allow empty arg.
10875
10876         * text2.C (setCounter): remove empty arg from call to Counters::reset
10877
10878 2002-08-11  John Levon  <levon@movementarian.org>
10879
10880         * Makefile.am: add WordLangTuple.h
10881
10882 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10883
10884         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10885         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10886
10887         * insets/insettext.C: InsetList changes
10888
10889         * graphics/GraphicsSupport.C (operator()): InsetList changes
10890
10891         * toc.C (getTocList): InsetList changes
10892
10893         * paragraph_pimpl.[Ch]: InsetList changes
10894
10895         * paragraph.[Ch]: InsetList changes
10896
10897         * buffer.C (inset_iterator): InsetList changes
10898         (setParagraph): ditto
10899         * buffer.h (inset_iterator): ditto
10900         * iterators.C (operator++): ditto
10901         * iterators.h: ditto
10902
10903         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10904
10905         * InsetList.[Ch]: new files, most InsetList handling moved out of
10906         paragraph.C.
10907
10908         * BufferView2.C (removeAutoInsets): InsetList changes
10909         (lockInset): ditto
10910         (ChangeInsets): ditto
10911
10912 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10913
10914         * paragraph_pimpl.h (empty): new function
10915
10916         * paragraph.[Ch] (empty): new function
10917
10918         * other files: use the new Paragraph::empty function
10919
10920 2002-08-09  John Levon  <levon@movementarian.org>
10921
10922         * lyxtext.h: remove unused refresh_height
10923
10924 2002-08-09  John Levon  <levon@movementarian.org>
10925
10926         * Makefile.am:
10927         * sgml.h:
10928         * sgml.C:
10929         * buffer.C:
10930         * paragraph.h:
10931         * paragraph.C: move sgml char escaping out of paragraph
10932
10933         * paragraph.h:
10934         * paragraph.C: remove id setter
10935
10936         * buffer.C:
10937         * paragraph.C:
10938         * paragraph_pimpl.C: remove dead tex_code_break_column
10939
10940         * bufferview_funcs.C: small cleanup
10941
10942         * lyxfunc.C: remove dead proto
10943
10944         * lyxtext.h: make some stuff private. Remove some dead stuff.
10945
10946         * lyxgluelength.C: make as[LyX]String() readable
10947
10948 2002-08-08  John Levon  <levon@movementarian.org>
10949
10950         * LyXAction.h:
10951         * LyXAction.C:
10952         * MenuBackend.C:
10953         * ToolbarDefaults.C:
10954         * lyxfunc.C:
10955         * lyxrc.C:
10956         * toc.C: lyxaction cleanup
10957
10958 2002-08-08  John Levon  <levon@movementarian.org>
10959
10960         * BufferView2.C: small cleanup
10961
10962         * lyxfind.h:
10963         * lyxfind.C: move unnecessary header into the .C
10964
10965 2002-08-08  John Levon  <levon@movementarian.org>
10966
10967         * funcrequest.h: just tedious nonsense
10968
10969         * lyx_main.h:
10970         * lyx_main.C: cleanups
10971
10972         * buffer.C:
10973         * vspace.C: remove dead header lyx_main.h
10974
10975 2002-08-07  Angus Leeming  <leeming@lyx.org>
10976
10977         * Paragraph.[Ch]:
10978         * paragraph_pimpl.h:
10979         Forward declare class Counters in paragraph.h by moving the ctrs member
10980         variable into Paragraph::Pimpl.
10981         (counters): new method, returning a reference to pimpl_->ctrs.
10982
10983         * text2.C: ensuing changes.
10984
10985 2002-08-07  John Levon  <levon@movementarian.org>
10986
10987         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10988
10989         * BufferView_pimpl.C: announce X selection on double/triple
10990           click
10991
10992         * lyx_main.C: use correct bool in batch dispatch
10993
10994         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10995
10996 2002-08-07  André Pönitz <poenitz@gmx.net>
10997
10998         * funcrequest.h: new class to wrap a kb_action and its argument
10999
11000         * BufferView.[Ch]:
11001         * BufferView_pimpl[Ch]:
11002         * LaTeX.C:
11003         * LyXAction.[Ch]:
11004         * lyxfunc.[Ch]:
11005         * lyxrc.C: subsequent changes
11006
11007
11008 2002-08-07  John Levon  <levon@movementarian.org>
11009
11010         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11011           document options change.
11012
11013 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11014
11015         * counters.[Ch]
11016         * text2.C
11017         * paragraph.[Ch]
11018         * makefile.am: move counters functionality over from
11019         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11020
11021 2002-08-06  John Levon  <levon@movementarian.org>
11022
11023         * WordLangTuple.h: new file for word + language code tuple
11024
11025         * SpellBase.h:
11026         * pspell.h:
11027         * pspell.C:
11028         * ispell.h:
11029         * ispell.C:
11030         * lyxtext.h:
11031         * text.C:
11032         * text2.C:
11033         * BufferView.h:
11034         * BufferView2.C: use WordLangTuple
11035
11036         * layout.h:
11037         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11038
11039 2002-08-06  John Levon  <levon@movementarian.org>
11040
11041         * lyx_main.C: fix cmdline batch handling
11042
11043 2002-08-06  André Pönitz <poenitz@gmx.net>
11044
11045         * lyxrc.C: set default for show_banner to true
11046
11047 2002-08-06  John Levon  <levon@movementarian.org>
11048
11049         * pspell.C: fix a crash, and allow new aspell to work
11050
11051 2002-08-06  John Levon  <levon@movementarian.org>
11052
11053         * lyxfunc.C:
11054         * kbmap.C: small cleanup
11055
11056         * vspace.h:
11057         * vspace.C: add const
11058
11059 2002-08-05  John Levon  <levon@movementarian.org>
11060
11061         * LyXAction.C: back to tabular-insert
11062
11063 2002-08-04  John Levon  <levon@movementarian.org>
11064
11065         * BufferView.h:
11066         * BufferView.C: cosmetic change
11067
11068         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11069
11070         * bufferlist.C:
11071         * buffer.h:
11072         * buffer.C:
11073         * lyxcb.h:
11074         * lyxcb.C:
11075         * lyxserver.C:
11076         * lyxvc.C:
11077         * vc-backend.C:
11078         * BufferView2.C: purge all "Lyx" not "LyX" strings
11079
11080         * lyxcursor.h:
11081         * lyxcursor.C: attempt to add some documentation
11082
11083         * lyxfunc.C:
11084         * commandtags.h:
11085         * LyXAction.C:
11086         * ToolbarDefaults.C:
11087         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11088           merge with LFUN_TABULAR_INSERT
11089
11090         * Makefile.am:
11091         * SpellBase.h:
11092         * ispell.h:
11093         * ispell.C:
11094         * pspell.h:
11095         * pspell.C: split up i/pspell implementations into separate
11096           files, many cleanups
11097
11098         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11099
11100         * text2.C: some cleanup
11101
11102         * lyxfunc.C: don't check for isp_command == "none" any more, it
11103           didn't make any sense
11104
11105 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11106
11107         * counters.[Ch]
11108         * text2.C
11109         * paragraph.[Ch]
11110         * makefile.am: move counters functionality over
11111         from text2.C/paragraph.[Ch] to counters.[Ch], and
11112         make proper C++.
11113 2002-08-02  John Levon  <levon@movementarian.org>
11114
11115         * buffer.C: s/lyxconvert/lyx2lyx/
11116
11117 2002-08-02  Angus Leeming  <leeming@lyx.org>
11118
11119         * lyxlex.C: revert John's change as it breaks reading of the user
11120         preamble.
11121
11122 2002-08-02  Angus Leeming  <leeming@lyx.org>
11123
11124         * importer.C (Import):
11125         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11126         changes due to LyXView::view() now returning a boost::shared_ptr.
11127
11128 2002-08-02  John Levon  <levon@movementarian.org>
11129
11130         * lyxlex.C: small cleanup
11131
11132 2002-08-02  John Levon  <levon@movementarian.org>
11133
11134         * text2.C (status): small cleanup, no logic change
11135
11136 2002-08-01  John Levon  <levon@movementarian.org>
11137
11138         * buffer.h:
11139         * buffer.C (writeFile): don't output alerts, caller
11140           handles this
11141
11142         * bufferlist.C:
11143         * lyx_cb.C: from above
11144
11145         * lyxfunc.C: allow to open non-existent files
11146
11147 2002-07-31  John Levon  <levon@movementarian.org>
11148
11149         * lyxserver.C: don't let incidental errors get
11150           in the way (errno)
11151
11152 2002-07-30  John Levon  <levon@movementarian.org>
11153
11154         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11155
11156 2002-07-30  John Levon  <levon@movementarian.org>
11157
11158         * lyxserver.h:
11159         * lyxserver.C: remove I/O callback too
11160
11161 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11162
11163         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11164         log.
11165
11166 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11167
11168         * many files: strip,frontStrip -> trim,ltrim,rtrim
11169
11170 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11171
11172         * PrinterParams.h: remove extern containsOnly, and include
11173         support/lstrings.h instead.
11174
11175         * LaTeX.C (scanAuxFile): modify because of strip changes
11176         (deplog): ditto
11177         * buffer.C (makeLaTeXFile): ditto
11178         * bufferparams.C (writeFile): ditt
11179         * lyxfont.C (stateText): ditto
11180         * lyxserver.C (read_ready): ditto
11181         * vc-backend.C (scanMaster): ditto
11182
11183         * BufferView_pimpl.h: ws changes
11184
11185         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11186
11187 2002-07-26  André Pönitz <poenitz@gmx.net>
11188
11189         * kb_sequence.C: remove unnedred usings
11190
11191 2002-07-26  Juergen Vigna  <jug@sad.it>
11192
11193         * lyxfind.C (LyXReplace): we have to check better if the returned
11194         text is not of theLockingInset()->getLockingInset().
11195
11196 2002-07-25  Juergen Vigna  <jug@sad.it>
11197
11198         * lyxfind.C (LyXReplace): don't replace if we don't get the
11199         right LyXText.
11200
11201         * undo_funcs.C (createUndo): remove debugging code.
11202
11203 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11204
11205         * buffer.C (parseSingleLyXformat2Token): Use default placement
11206         when reading old floats.
11207
11208         * FloatList.C (FloatList): Change the default placement of figure
11209         and tables to "tbp".
11210
11211 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11212
11213         * MenuBackend.C: using std::max
11214
11215 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11216
11217         * MenuBackend.C (expandToc):
11218         (expandToc2): code moved from xforms menu frontend. It is now
11219         generic and TOCs are transparent to menu frontends.
11220
11221 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11222
11223         * toc.C (getTocList): protect against buf=0
11224
11225         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11226         Menu as first parameter. Now, this calls itself recursively to
11227         expand a whole tree (this will be useful for TOC handling)
11228         (expandFloatInsert): remove 'wide' version of floats
11229
11230         * MenuBackend.h (submenuname): returns the name of the submenu.
11231         (submenu): returns the submenu itself, provided it has been
11232         created by MenuBackend::expand
11233
11234 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11235
11236         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11237         insets which have noFontChange == true. (bug #172)
11238
11239 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11240
11241         * BufferView_pimpl.C: add connection objects and use them...
11242         (Pimpl): here.
11243
11244 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11245
11246         * MenuBackend.C (expandLastfiles):
11247         (expandDocuments):
11248         (expandFormats):
11249         (expandFloatListInsert):
11250         (expandFloatInsert):
11251         (expand): split expand in parts
11252
11253 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11254
11255         * lyx_gui.C: use lyx_gui::exit()
11256
11257 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11258
11259         * LyXAction.C: show the failing pseudo action
11260
11261 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11262
11263         * buffer.C (readFile): Run the lyxconvert script in order to read
11264         old files.
11265
11266 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11267
11268         * LyXAction.C:
11269         * commandtags.h:
11270         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11271
11272 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11273
11274         * LyXAction.C:
11275         * commandtags.h:
11276         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11277
11278 2002-07-22  Herbert Voss  <voss@lyx.org>
11279
11280         * lengthcommon.C:
11281         * lyxlength.[Ch]: add support for the vertical lengths
11282
11283 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11284
11285         * toc.[Ch]: std:: fixes
11286
11287 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11288
11289         * lyxrc.C: do not include lyx_main.h
11290
11291         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11292         for layouts
11293
11294         * lyxrc.C:
11295         * encoding.C:
11296         * bufferlist.C:
11297         * BufferView2.C: include "lyxlex.h"
11298
11299         * tabular.h:
11300         * bufferparams.h: do not #include "lyxlex.h"
11301
11302         * lyxtextclasslist.C (Add): remove method
11303         (classlist): renamed to classlist_
11304
11305         * paragraph_pimpl.C:
11306         * paragraph.C:
11307         * text2.C:
11308         * CutAndPaste.C:
11309         * bufferview_funcs.C:
11310         * bufferlist.C:
11311         * text.C:
11312         * LaTeXFeatures.C:
11313         * buffer.C:
11314         * toc.C (getTocList): use BufferParams::getLyXTextClass
11315
11316         * toc.C (getTocList): use InsetFloat::addToToc
11317
11318         * toc.[Ch]: new files, containing helper functions to handle table
11319         of contents
11320
11321         * lyxfunc.C (dispatch): no need to remove spaces around command
11322         given as a string
11323         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11324         first command of the sequence; it is not very clever, but I do not
11325         have a better idea, actually
11326
11327         * LyXAction.C (LookupFunc): make sure to remove space at the
11328         beginning and end of the command
11329
11330 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11331
11332         * MenuBackend.C (getMenubar): new method: return the menubar of
11333         this menu set
11334         (read): treat differently reading of menu and menubar (in
11335         particular, the menubar has no name now)
11336         (Menu::menubar): remove
11337
11338         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11339         saving is finished
11340
11341 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11342
11343         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11344         a bibitem inset in a RTL paragraph.
11345
11346 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11347
11348         * paragraph_pimpl.C: constify
11349
11350         * BufferView_pimpl.C:
11351         * LaTeX.C:
11352         * lyxfunc.C: fix dispatch in a nicer way
11353
11354 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11355
11356         * lyxfunc.C (dispatch):
11357         * BufferView_pimpl.C:
11358         * BufferView_pimpl.h:
11359         * BufferView.C:
11360         * BufferView.h: rename Dispatch() to dispatch()
11361
11362         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11363
11364         * lyxlayout.C (Read): honor DependsOn tag
11365
11366         * lyxlayout.[Ch] (depends_on): new method
11367
11368         * version.C.in: update lyx_docversion
11369
11370         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11371
11372         * paragraph.C (validate): remove from here...
11373         * paragraph_pimpl.C (validate): ... and move here
11374         (isTextAt): make it const
11375
11376         * buffer.C (getLists): ws cleanup
11377
11378 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11379
11380         * language.C (read): Use iso8859-1 encoding in latex_lang
11381         (this prevents LyX from crashing when using iso10646-1 encoding).
11382
11383 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11384
11385         * text2.C (toggleInset): if cursor is inside an inset, close the
11386         inset and leave cursor _after_ it
11387
11388 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11389
11390         * lyxfunc.C: move minibuffer completion handling out of here
11391
11392 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11393
11394         * BufferView_pimpl.C:
11395         * LaTeX.C: fix dispatch calls
11396
11397 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11398
11399         * text.C (drawChars): Fix Arabic text rendering.
11400
11401 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11402
11403         * LyXAction.C:
11404         * commandtags.h:
11405         * lyxfunc.C: remove message-push/pop
11406
11407         * lyxserver.C:
11408         * lyxfunc.h:
11409         * lyxfunc.C: rationalise some code by removing verboseDispatch
11410           in favour of a bool argument to dispatch()
11411
11412 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11413
11414         * lyx_main.C (init): make sure to read symlinks as absolute paths
11415
11416 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11417
11418         * lyxfunc.h:
11419         * lyxfunc.C: no need for commandshortcut to be a member
11420
11421 2002-07-15  André Pönitz <poenitz@gmx.net>
11422
11423         * converter.C: add support for $$s (scripts from lib/scripts dir)
11424         * lyx_main.C: white space
11425
11426 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11427
11428         * bufferlist.C:
11429         * lyxrc.h:
11430         * lyxrc.C: remove second exit confirmation
11431
11432 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11433
11434         * BufferView.h:
11435         * BufferView.C:
11436         * BufferView2.C:
11437         * BufferView_pimpl.h:
11438         * BufferView_pimpl.C:
11439         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11440
11441 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11442
11443         * MenuBackend.C (expand): add numeric shortcuts to document menu
11444
11445         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11446
11447 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11448
11449         * lyxfont.C (setLyXFamily):
11450         (setLyXSeries):
11451         (setLyXShape):
11452         (setLyXSize):
11453         (setLyXMisc):
11454         (lyxRead):
11455         * debug.C (value):
11456         * buffer.C (asciiParagraph): use ascii_lowercase
11457
11458 2002-07-15  Mike Fabian  <mfabian@suse.de>
11459
11460         * lyxlex_pimpl.C (search_kw):
11461         * lyxlex.C (getLongString):
11462         * converter.h (operator<):
11463         * converter.C (operator<):
11464         * buffer.C (parseSingleLyXformat2Token):
11465         (asciiParagraph):
11466         * ToolbarDefaults.C (read):
11467         * MenuBackend.C (checkShortcuts):
11468         (read):
11469         * LColor.C (getFromGUIName):
11470         (getFromLyXName): use the compare_ascii_no_case instead of
11471         compare_no_case, because in turkish, 'i' is not the lowercase
11472         version of 'I', and thus turkish locale breaks parsing of tags.
11473
11474 2002-07-16  Angus Leeming  <leeming@lyx.org>
11475
11476         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11477         now takes a Buffer const & argument.
11478
11479 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11480
11481         * BufferView.C (resize): check there's a buffer to resize
11482
11483 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11484
11485         * lyxfunc.C: remove dead code
11486
11487         * lyxserver.h:
11488         * lyxserver.C: use lyx_guii::set_read_callback
11489
11490 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11491
11492         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11493         an inset in a RTL paragraph.
11494
11495 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11496
11497         * lyxfunc.C: repaint after a font size update
11498
11499 2002-07-15  André Pönitz <poenitz@gmx.net>
11500
11501         * lyxlength.C: inBP should be able to return negative values
11502
11503 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11504
11505         * lyxfunc.C: use lyx_gui::update_fonts()
11506
11507 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11508
11509         * lyxfunc.C: use lyx_gui::update_color()
11510
11511 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11512
11513         * bufferlist.C:
11514         * lyxfunc.h:
11515         * lyxfunc.C:
11516         * lyxrc.h:
11517         * lyxrc.C: remove file->new asks for name option, and let
11518           buffer-new take an argument
11519
11520 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11521
11522         * BufferView_pimpl.C: remove unneeded extra repaint()
11523
11524 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11525
11526         * LyXAction.C: allow command-sequence with NoBuffer
11527
11528         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11529
11530 2002-07-10  Angus Leeming  <leeming@lyx.org>
11531
11532         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11533
11534 2002-07-09  Angus Leeming  <leeming@lyx.org>
11535
11536         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11537
11538 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11539
11540         * lengthcommon.h: whitespace
11541
11542         * lyxfunc.C: update scrollbar after goto paragraph
11543
11544         * lyxtext.h: factor out page break drawing, and fix it so
11545           page break/added space paints as selected nicely
11546
11547 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11548
11549         * BufferView_pimpl.C: add FIXMEs, clean up a little
11550
11551 2002-07-09  André Pönitz <poenitz@gmx.net>
11552
11553         * lyxfont.[Ch]: support for wasy symbols
11554
11555 2002-07-08  André Pönitz <poenitz@gmx.net>
11556
11557         * BufferView_pimpl.C: apply John's patch for #93.
11558
11559 2002-07-05  Angus Leeming  <leeming@lyx.org>
11560
11561         * BufferView_pimpl.C (buffer): generate previews if desired.
11562
11563         * LColor.h: add "preview" to the color enum.
11564
11565         * LColor.C (LColor): add a corresponding entry to the items array.
11566
11567         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11568         with this buffer.
11569
11570 2002-07-05  Angus Leeming  <leeming@lyx.org>
11571
11572         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11573         The body of the code is now in the method that is passed an ostream &
11574         rather than a file name.
11575         Pass an additional only_preamble parameter, useful for the forthcoming
11576         preview stuff.
11577
11578 2002-07-03  André Pönitz <poenitz@gmx.net>
11579
11580         * lyxfunc.C: simplify getStatus() a bit for math stuff
11581
11582 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11583
11584         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11585
11586 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11587
11588         * text.C (changeRegionCase): do not change case of all the
11589         document when region ends at paragraph end (bug #461)
11590
11591 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11592
11593         * paragraph.C (startTeXParParams):
11594         (endTeXParParams): add \protect when necessary
11595
11596 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11597
11598         * BufferView_pimpl.C (workAreaExpose): remove warning
11599
11600 2002-06-27  Angus Leeming  <leeming@lyx.org>
11601
11602         * Makefile.am: add lyxlayout_ptr_fwd.h.
11603
11604 2002-06-26  André Pönitz <poenitz@gmx.net>
11605
11606         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11607
11608 2002-06-25  Angus Leeming  <leeming@lyx.org>
11609
11610         * lyxfunc.C (dispatch): Comment out the call to
11611         grfx::GCache::changeDisplay. The method no longer exists now that the
11612         pixmap generation part of the graphics loader has been moved into
11613         InsetGraphics.
11614
11615 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11616
11617         * text2.C: layout as layout
11618
11619         * text.C: layout as layout
11620
11621         * tabular.C (OldFormatRead): layout as layout
11622
11623         * paragraph_pimpl.C (TeXDeeper): layout as layout
11624         (realizeFont): layout as layout
11625
11626         * paragraph.C (writeFile): layout as layout
11627         (validate): layout as layout
11628         (getFont): layout as layout
11629         (getLabelFont): layout as layout
11630         (getLayoutFont): layout as layout
11631         (breakParagraph): layout as layout
11632         (stripLeadingSpaces): layout as layout
11633         (getEndLabel): layout as layout
11634         (getMaxDepthAfter): layout as layout
11635         (applyLayout): layout as layout
11636         (TeXOnePar): layout as layout
11637         (simpleTeXOnePar): layout as layout
11638         (TeXEnvironment): layout as layout
11639         (layout): layout as layout
11640         (layout): layout as layout
11641
11642         * lyxtextclass.C (compare_name): new functor to work with
11643         shared_ptr, layout as layout
11644         (Read): layout as layout
11645         (hasLayout): layout as layout
11646         (operator): layout as layout
11647         (delete_layout): layout as layout
11648         (defaultLayout): layout as layout
11649
11650         * lyxlayout_ptr_fwd.h: new file
11651
11652         * lyxlayout.C (Read): layout as layout
11653
11654         * lyx_cb.C (MenuInsertLabel): layout as layout
11655
11656         * bufferlist.C (newFile): layout as layout
11657
11658         * buffer.C (readLyXformat2): layout as layout
11659         (parseSingleLyXformat2Token): layout as layout
11660         (insertStringAsLines): layout as layout
11661         (asciiParagraph): layout as layout
11662         (latexParagraphs): layout as layout
11663         (makeLinuxDocFile): layout as layout
11664         (simpleLinuxDocOnePar): layout as layout
11665         (makeDocBookFile): layout as layout
11666         (simpleDocBookOnePar): layout as layout
11667         (getLists): layout as layout
11668
11669         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11670
11671         * CutAndPaste.C (cutSelection): layout as layout
11672         (pasteSelection): layout as layout
11673         (SwitchLayoutsBetweenClasses): layout as layout
11674
11675         * BufferView_pimpl.C (Dispatch): layout as layout
11676         (smartQuote): layout as layout
11677
11678         * BufferView2.C (unlockInset): layout as layout
11679
11680 2002-06-24  André Pönitz <poenitz@gmx.net>
11681
11682         * lyxfunc.C: fix #487
11683
11684 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11685
11686         * lyxrc.h:
11687         * lyxrc.C:
11688         * lyxfunc.C: remove display_shortcuts, show_banner
11689
11690 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11691
11692         * Buffer_pimpl.C: oops, update on resize
11693
11694 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11695
11696         * buffer.C:
11697         * converter.C:
11698         * exporter.C:
11699         * lyxfunc.C:
11700         * BufferView.h:
11701         * BufferView.C: use repaint()
11702
11703         * BufferView_pimpl.h:
11704         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11705           as it's a clearer description. Remove superfluous
11706           redraws.
11707
11708 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11709
11710         * text.C: fix bug 488. Not ideal, but getting
11711           getWord() to work properly for the insets that
11712           matter is more difficult ...
11713
11714 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11715
11716         * BufferView_pimpl.C:
11717         * LyXAction.C:
11718         * commandtags.h:
11719         * lyxfunc.C: remove the six million index lyxfuncs to just
11720           one, and DTRT (bug 458)
11721
11722 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11723
11724         * BufferView.h:
11725         * BufferView.C:
11726         * BufferView_pimpl.h:
11727         * BufferView_pimpl.C: clean up resize() stuff,
11728           and unnecessary updateScreen()s
11729
11730 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11731
11732         * BufferView.h:
11733         * BufferView.C:
11734         * BufferView_pimpl.h:
11735         * BufferView_pimpl.C:
11736         * lyxfind.h:
11737         * lyxfind.C:
11738         * minibuffer.C: remove focus management of workarea,
11739           not needed. Use screen's greyOut()
11740
11741 2002-06-17  Herbert Voss  <voss@lyx.org>
11742
11743         * converter.C: (convert) do not post a message, when converting
11744         fails, let the calling function decide what to do in this case
11745
11746 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11747
11748         * lyxfunc.C: tidy up a little
11749
11750 2002-06-16    <alstrup@diku.dk>
11751
11752         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11753         Got rid of FORMS_H_LOCATION include. Now we are
11754         GUII.
11755
11756 2002-06-15  LyX Development team  <lyx@rilke>
11757
11758         * buffer.[Ch] (sgmlOpenTag):
11759         (sgmlCloseTag): Added support for avoiding pernicious mixed
11760         content. Return number of lines written.
11761
11762         (makeLinuxDocFile):
11763         (makeDocBookFile): Fixed calls to sgml*Tag.
11764         Simple white space clean.
11765
11766         (simpleDocBookOnePar): Simple white space clean.
11767
11768         * tabular.[Ch] (docBook): Renamed to docbook and got another
11769         argument to related with the pernicious mixed content.
11770
11771         (docbookRow): Fixed calls for docbook inset method.
11772
11773 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11774
11775         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11776         so it's X11 independent.
11777
11778         * kb*.[Ch]: ditto.
11779
11780         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11781
11782 2002-06-15  Lyx Development team  <lyx@electronia>
11783
11784         * intl.h: Renamed getTrans to getTransManager.
11785
11786 2002-06-14  Angus Leeming  <leeming@lyx.org>
11787
11788         * Makefile.am: nuke forgotten stl_string_fwd.h.
11789
11790 2002-06-12  Angus Leeming  <leeming@lyx.org>
11791
11792         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11793
11794 2002-06-13  Angus Leeming  <leeming@lyx.org>
11795
11796         * LaTeX.C:
11797         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11798
11799 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11800
11801         * kbmap.C (getiso): add support for cyrillic and greek
11802
11803 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11804
11805         * BufferView.h:
11806         * BufferView.C:
11807         * BufferView_pimpl.h:
11808         * BufferView_pimpl.C: move bogus scrolling logic
11809           to xforms
11810
11811 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11812
11813         * lyxfunc.C:
11814         * BufferView_pimpl.C: view->resize() change
11815
11816 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11817
11818         * BufferView_pimpl.C: topCursorVisible
11819           prototype change
11820
11821 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11822
11823         * Makefile.am:
11824         * lyx_gui.h:
11825         * lyx_gui.C: move to frontends/
11826
11827         * main.C:
11828         * lyx_main.h:
11829         * lyx_main.C: changes from above
11830
11831 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11832
11833         * intl.C:
11834         * intl.h:
11835         * kbmap.C:
11836         * kbsequence.C:
11837         * lyx_cb.C:
11838         * lyx_main.C: minor tidy
11839
11840 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11841
11842         * BufferView_pimpl.h:
11843         * BufferView_pimpl.C:
11844         * BufferView.h:
11845         * BufferView.C: make painter() const,
11846           remove dead code
11847
11848         * BufferView2.C: use screen() accessor
11849
11850         * lyx_main.h:
11851         * lyx_main.C: some minor cleanup
11852
11853 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11854
11855         * BufferView_pimpl.h:
11856         * BufferView_pimpl.C: remove enter/leaveView,
11857           use workHeight()
11858
11859 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11860
11861         * BufferView.h:
11862         * BufferView.C:
11863         * BufferView2.C:
11864         * BufferView_pimpl.h:
11865         * BufferView_pimpl.C: only construct screen once,
11866           rename
11867
11868         * lyxrc.C: remove pointless comment
11869
11870 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11871
11872         * BufferView.h:
11873         * BufferView.C: remove active() and belowMouse()
11874
11875         * BufferView_pimpl.h:
11876         * BufferView_pimpl.C: use workarea() not workarea_,
11877           and make it use a scoped_ptr instead
11878
11879 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11880
11881         * lyx_gui.C: add debug message on BadWindow
11882
11883 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11884
11885         * sp_spell.C: fdopen is not part of the C++ standard.
11886
11887         * paragraph.C (InsetIterator): use >= instead of ==
11888
11889 2002-06-07  Angus Leeming  <leeming@lyx.org>
11890
11891         Fixes needed to compile with Compaq cxx 6.5.
11892         * BufferView_pimpl.C:
11893         * DepTable.C:
11894         * buffer.C:
11895         * converter.C:
11896         * encoding.C:
11897         * lyx_gui.C:
11898         * lyx_main.C:
11899         * lyxtextclasslist.C:
11900         * minibuffer.C:
11901         * sp_spell.C:
11902         * tabular_funcs.C:
11903         * vc-backend.C:
11904         all c-library variables have been moved into namespace std. Wrap
11905         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11906
11907         * lyxlength.C:
11908         * tabular-old.C:
11909         * tabular.C:
11910         Add a using std::abs declaration.
11911
11912         * kbmap.h (modifier_pair):
11913         * paragraph.h (InsetTable, InsetList):
11914         * lyxfont.h (FontBits):
11915         type definition made public.
11916
11917         * bufferlist.C (emergencyWriteAll): the compiler complains that
11918         there is more than one possible lyx::class_fun template to choose from.
11919         I re-named the void specialisation as lyx::void_class_fun.
11920
11921         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11922
11923         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11924         the compiler is is unable to find tostr in write_attribute.
11925
11926 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11927
11928         * buffer.C (sgmlError): hide #warning
11929
11930 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11931
11932         * xtl/*: get rid of xtl, which is not in use anyway
11933
11934         * LyXAction.C (init):
11935         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11936         were unimplemented xtl experimentation
11937
11938 2002-06-04  André Pönitz <poenitz@gmx.net>
11939
11940         * lyxfunc.C: disable array operation on simple formulae
11941
11942 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11943
11944         * converter.C: constify a bit
11945
11946 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11947
11948         * lyx_gui.C: check xforms version correctly
11949
11950 2002-04-30  Herbert Voss  <voss@lyx.org>
11951
11952         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11953         "keep" option
11954
11955 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11956
11957         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11958           attempt to register it with a VCS)
11959
11960 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11961
11962         * lyx_main.C (init): honor variables LYX_DIR_13x and
11963         LYX_USERDIR_13x
11964
11965 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11966
11967         * buffer.h:
11968         * buffer.C:
11969         * lyx_main.C: fix a crash on bad command line,
11970           and give a useful exit status on error
11971
11972         * lyxfunc.C (doImport): allow -i lyx to work
11973
11974 2002-03-30  André Pönitz <poenitz@gmx.net>
11975
11976         * lyxfunc.C: mathed font changes
11977
11978 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11979
11980         * LaTeX.C:
11981         * importer.h:
11982         * importer.C:
11983         * lyx_sty.h:
11984         * lyx_sty.C:
11985         * lyxlex.C:
11986         * lyxrow.h:
11987         * lyxtext.h:
11988         * paragraph.h:
11989         * paragraph.C:
11990         * texrow.h:
11991         * texrow.C:
11992         * text.C:
11993         * trans_mgr.h: srcdocs, and some minor cleanups
11994
11995 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11996
11997         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11998         call getFont all the time)
11999
12000 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12001
12002         * switch from SigC signals to boost::signals
12003
12004 2002-05-29  André Pönitz <poenitz@gmx.net>
12005
12006         * paragraph_pimpl.C (getChar): don't call size() too often...
12007
12008 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12009
12010         * paragraph_pimpl.C (insertChar): do not try to update tables when
12011         appending (pos == size())
12012
12013         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12014         in order to reduce drastically the number of comparisons needed to
12015         parse a large document
12016
12017 2002-05-29  André Pönitz <poenitz@gmx.net>
12018
12019         * text.C:
12020         * text2.C:
12021         * lyxtextclass.C:
12022         * sp_pspell.h:
12023         * textclasslist.[Ch]:
12024         * sp_ispell.h: whitespace change
12025
12026 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12027
12028         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12029         lyxaction directly now.
12030
12031 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12032
12033         * trans.C:
12034         * lyxfont.C:
12035         * lyxvc.C: remove unused headers
12036
12037 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12038
12039         * Makefile.am:
12040         * buffer.h:
12041         * undostack.h:
12042         * undostack.C:
12043         * undo_funcs.h:
12044         * undo_funcs.C: some cleanups. Use shared_ptr
12045           and a template for the undo stacks.
12046
12047 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12048
12049         * BufferView_pimpl.h:
12050         * BufferView_pimpl.C:
12051         * kbmap.h:
12052         * kbmap.C:
12053         * kbsequence.h:
12054         * kbsequence.C:
12055         * lyxfunc.h:
12056         * lyxfunc.C:
12057         * text2.C: use key_state/mouse_state
12058
12059 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12060
12061         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12062         and LSubstring
12063
12064         * chset.C: change include order
12065         (loadFile): use boost regex and get rid of LRegex and LSubstring
12066
12067         * Makefile.am (BOOST_LIBS): new variable
12068         (lyx_LDADD): use it
12069
12070         * LaTeX.C: change include order.
12071         (scanAuxFile): use boost regex and get rid of LRegex and
12072         LSubstring
12073         (deplog): ditto
12074
12075 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12076
12077         * ColorHandler.h:
12078         * ColorHandler.C:
12079         * FontInfo.h:
12080         * FontInfo.C: moved to frontends/xforms/
12081
12082         * FontLoader.h:
12083         * FontLoader.C: moved into frontends for GUIIzation
12084
12085         * Makefile.am:
12086         * lyx_gui.C:
12087         * lyxfont.C:
12088         * lyxfunc.C: changes from above
12089
12090 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12091
12092         * LColor.C: remove spurious X include
12093
12094         * BufferView_pimpl.C:
12095         * Makefile.am:
12096         * font.h:
12097         * font.C:
12098         * text.C:
12099         * text2.C: move font metrics to frontends/
12100
12101 2002-05-24  Juergen Vigna  <jug@sad.it>
12102
12103         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12104         setting the undo_cursor.
12105
12106         * ParagraphParameters.h: include local includes first.
12107
12108 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12109
12110         * BufferView_pimpl.C:
12111         * BufferView_pimpl.h:
12112         * Makefile.am:
12113         * WorkArea.h:
12114         * WorkArea.C:
12115         * screen.C: move WorkArea into frontends/
12116
12117         * lyxscreen.h:
12118         * screen.C:
12119         * text.C:
12120         * BufferView.C:
12121         * BufferView2.C: move LyXScreen into frontends/
12122
12123         * lyxlookup.h:
12124         * lyxlookup.C:
12125         * lyx_gui.C: move lyxlookup into frontends/xforms/
12126
12127 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12128
12129         * BufferView2.C:
12130         * BufferView_pimpl.C:
12131         * FontLoader.C:
12132         * LyXView.h:
12133         * LyXView.C:
12134         * Makefile.am:
12135         * WorkArea.C:
12136         * XFormsView.h:
12137         * XFormsView.C:
12138         * buffer.C:
12139         * bufferlist.C:
12140         * bufferview_funcs.C:
12141         * converter.C:
12142         * importer.C:
12143         * lyx_cb.C:
12144         * lyx_gui.C:
12145         * lyx_main.C:
12146         * lyx_find.C:
12147         * lyxfunc.C:
12148         * lyxvc.C:
12149         * minibuffer.C:
12150         * text.C:
12151         * text2.C:
12152         * trans.C:
12153         * vc-backend.C: move LyX/XFormsView into frontends/
12154
12155 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12156
12157         * Makefile.am:
12158         * PainterBase.C:
12159         * PainterBase.h:
12160         * Painter.C:
12161         * Painter.h:
12162         * WorkArea.C:
12163         * WorkArea.h:
12164         * screen.C:
12165         * tabular.C:
12166         * text.C:
12167         * text2.C: move Painter to frontends/
12168
12169 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12170
12171         * buffer.C: comment out some some code that depend upon lyx_format
12172         < 220
12173
12174         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12175         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12176
12177         * buffer.h (NO_COMPABILITY): turn off compability
12178
12179         * ColorHandler.C: include scoped_array.hpp
12180
12181         * font.C: Use more specific smart_ptr header.
12182         * Painter.C: ditto
12183         * gettext.C: ditto
12184         * ShareContainer.h: ditto
12185         * lyx_main.h: ditto
12186         * kbmap.h: ditto
12187         * FontInfo.h: ditto
12188         * BufferView_pimpl.h: ditto
12189         * ColorHandler.h: ditto
12190
12191         * kbmap.C (defkey): change call to shared_ptr::reset
12192
12193 2002-05-21  Juergen Vigna  <jug@sad.it>
12194
12195         * buffer.C (insertErtContents): fix to insert ert asis if it is
12196         non empty. Skip it completely if it contains only whitespaces.
12197
12198 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12199
12200         * BufferView_pimpl.C:
12201         * BufferView2.C: clear selection on paste (bug 393)
12202
12203 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12204
12205         * DepTable.C: include ctime
12206
12207 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12208
12209         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12210
12211 2002-05-14  Juergen Vigna  <jug@sad.it>
12212
12213         * text.C (breakParagraph): fixed function to honor the keepempty
12214         layout in the right maner and also to permit the right breaking
12215         algorithm on empty or non empyt keepempty paragraphs.
12216
12217         * paragraph.C (breakParagraph): we have to check also if the par
12218         is really empty (!size()) for isempty otherwise we do the wrong
12219         paragraph break.
12220
12221 2002-05-10  Juergen Vigna  <jug@sad.it>
12222
12223         * buffer.[Ch] : The following are only changes to the ert
12224         compatibility read reading old LaTeX layout and font stuff and
12225         convert it to ERTInsets.
12226
12227         * buffer.h: added isErtInset().
12228
12229         * buffer.C (struct ErtComp): add a fromlayout bool to check
12230         if we're inside a LaTeX layout.
12231         (isErtInset): new helper function.
12232         (insertErtContents): look for other ert insets before this one
12233         and insert the contents there, so that we don't have subsequent
12234         ERT insets with nothing between them. This way we create only one
12235         inset with multiple paragraphs. Also check if we don't insert only
12236         spaces ' ' as they are ignored anyway afterwards in the .tex file
12237         so if we have only spaces we will ignore this latex part in the
12238         new file.
12239         (parseSingleLyXformat2Token \\layout): better compatibility when
12240         reading layout-latex stuff.
12241         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12242         language tag.
12243         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12244         stuff after reading the inset only get the information back from
12245         the stack.
12246
12247 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12248
12249         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12250
12251         * LaTeXFeatures.C (getBabelOptions): New method.
12252
12253 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12254
12255         * BufferView_pimpl.C (Dispatch): work around missing argument for
12256         'layout'
12257
12258 2002-05-08  Juergen Vigna  <jug@sad.it>
12259
12260         * text.C (leftMargin): handle paragraph leftindent.
12261
12262         * paragraph.C (writeFile): write the new \\leftindent tag.
12263         (validate): handle leftindent code.
12264         (TeXEnvironment): handle paragraphleftindent code again.
12265
12266         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12267
12268         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12269         for paragrap_extra indent code and new token \\leftindent.
12270         (latexParagraphs): handle the leftindent as environment.
12271
12272         * ParameterStruct.h: added leftindent support.
12273
12274         * ParagraphParameters.C (leftIndent): added support functions for
12275         the paragraph left indent.
12276
12277         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12278         more appropriate.
12279
12280 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12281
12282         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12283         inside insetERT.
12284
12285         * text.C (computeBidiTables): No bidi in insetERT.
12286
12287         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12288         in RTL documents.
12289
12290 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12291
12292         * version.C.in: pre 5
12293
12294 2002-05-02  José Matos  <jamatos@fep.up.pt>
12295         * buffer.C (makeDocBookFile): white space changes, add newline to
12296         command styles.
12297         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12298
12299         * tabular.C (docBook): fix typo.
12300
12301 2002-05-03  Juergen Vigna  <jug@sad.it>
12302
12303         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12304         change in LyXText as we can not be sure it was not freed.
12305         (drawOneRow): remove unused code.
12306
12307         * text.C (drawInset): redo the calculation of the need_break_row as
12308         it could have a row which was already freed.
12309         (draw): look at the return value of drawInset and return false if
12310         it also returned false.
12311         (paintRowText): look at the return value of draw and return false if
12312         it also returned false.
12313
12314         * lyxtext.h: added bool return type to drawInset() and draw() so that
12315         if we have a change in the row so that the rowbreak has to be redone
12316         we abort drawing as it will be called again.
12317
12318 2002-05-02  Juergen Vigna  <jug@sad.it>
12319
12320         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12321         a change in the maintext also if we're inside an inset.
12322         (Dispatch): set the cursor again after a break line and after the
12323         screen has been updated as it could be we're in a different row.
12324
12325         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12326         to set the cursor behind the pargraph with > size().
12327         (setCursor): check also for the same paragraph when checking where
12328         to put the cursor if we have a NFR inset.
12329
12330         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12331         parts of layout read further up as it still was in the wrong
12332         position.
12333
12334 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12335
12336         * screen.C (drawFromTo): change sine fullRebreak always return
12337         true.
12338
12339         * buffer.C (parseSingleLyXformat2Token): reindent some
12340
12341         * BufferView_pimpl.C (update): change since fullRebreak always
12342         return true.
12343         (Dispatch): git rid of the last hardcoded "Standard"s.
12344
12345 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12346
12347         * text2.[Ch] (fullRebreak): make it return void now that we always
12348         returned true.
12349
12350 2002-04-30  Juergen Vigna  <jug@sad.it>
12351
12352         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12353         ert compatibility check for "latex" layout.
12354
12355 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12356
12357         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12358         minipages: use col% instead of p%, and also use the current font.
12359         (makeLaTeXFile): Fix use babel condition.
12360         (parseSingleLyXformat2Token): Correct font when reading old floats.
12361
12362 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12363
12364         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12365         inserting list of floats.
12366
12367 2002-04-25  Herbert Voss  <voss@lyx.org>
12368
12369         * MenuBackend.C (expand): don't add the graphics extensions to the
12370         export menu
12371
12372 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12373
12374         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12375         non-existing layout, do not complain if it was the default layout
12376         of the original class (bug #342)
12377
12378 2002-04-24  Juergen Vigna  <jug@sad.it>
12379
12380         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12381         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12382
12383 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12384
12385         * buffer.C (getBibkeyList): If using \bibliography, return the
12386         option field with the reference itself. Enables us to provide natbib
12387         support when using \bibliography.
12388
12389 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12390
12391         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12392
12393         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12394         natbib is provided by the LaTeX class.
12395
12396 2002-04-23  Juergen Vigna  <jug@sad.it>
12397
12398         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12399         Wakeup functions.
12400
12401         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12402
12403 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12404
12405         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12406
12407         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12408         ensuremath around textordmasculine, textordfeminine and
12409         textdegree.
12410
12411 2002-04-19  Juergen Vigna  <jug@sad.it>
12412
12413         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12414         reinitializing the buffer otherwise row-dimensions may be wrong.
12415         (update): reset also the selection cursors if they do exits otherwise
12416         their x/y positions may be wrong.
12417
12418         * text2.C (cursorDown): don't enter the inset if we came from a row
12419         above and are one row over the inset.
12420
12421         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12422         really leaving an inset.
12423
12424 2002-04-18  Juergen Vigna  <jug@sad.it>
12425
12426         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12427         of the selected paragraph does not have the selected layout also if
12428         the last one had!
12429
12430         * text2.C (setLayout): fixed bug which did not change last selected
12431         paragraph.
12432
12433         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12434         changed the read and substituted \\end_float with \\end_inset!
12435
12436         * BufferView_pimpl.C (cursorPrevious):
12437         (cursorNext): fixed to make it work with rows heigher than the work
12438         area without moving the cursor only the draw of the row.
12439         (workAreaMotionNotify): fix jumping over high rows.
12440
12441 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12442
12443         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12444         Ressler.
12445
12446 2002-04-16  Juergen Vigna  <jug@sad.it>
12447
12448         * text2.C (setCursor): set also the irow().
12449         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12450         (cursorUp):
12451         (cursorDown): support for locking an inset if the x_fix value goes
12452         inside it. That way I can transverse insets too with cursor up/down.
12453
12454         * lyxrow.h: added irow helper function same as other (i) functions.
12455
12456         * BufferView_pimpl.C (cursorPrevious):
12457         (cursorNext): fixed for insets!
12458
12459 2002-04-15  Juergen Vigna  <jug@sad.it>
12460
12461         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12462         position otherwise it is wrong in some cases.
12463
12464         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12465         inside the inset before the call.
12466
12467 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12468
12469         * buffer.[Ch] (getBibkeyList): make it const.
12470
12471 2002-04-12  Juergen Vigna  <jug@sad.it>
12472
12473         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12474
12475         * text2.C (getCursorX): new helper function
12476         (setCursor): compute also ix_
12477         (setCursorFromCoordinates): set also ix.
12478
12479         * lyxcursor.h: added ix_ and helper functions.
12480
12481         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12482
12483         * buffer.C (insertStringAsLines): dont break paragraph if the this
12484         paragraph is inside an inset which does not permit it!
12485
12486         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12487         also with no chars on this paragraph.
12488         (paintRowText): only paint stuff if it's inside the workarea!
12489
12490         * paragraph.C (breakParagraph): honor keepempty flag and break the
12491         paragraph always below not above.
12492
12493         * BufferView2.C (unlockInset): update the paragraph layout on inset
12494         unlock as we changed paragraph in such a case.
12495
12496         * lyxfind.C (LyXFind): clear the former selection if not found!
12497
12498         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12499         again called in insertChar().
12500
12501         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12502         an inset which uses the whole row!
12503         (rightMargin): ditto.
12504         (insertChar): force a rebreak if we inserted an inset!
12505
12506 2002-03-28  Herbert Voss  <voss@lyx.org>
12507
12508         * lyxlength.[Ch]: add inBP() to get the right PS-point
12509         units (BigPoint). With inPixels we have rounding errors
12510
12511 2002-04-11  Juergen Vigna  <jug@sad.it>
12512
12513         * text2.C (setCursorFromCoordinates): set iy to the right value.
12514         (setCursor): add check if row->previous exists!
12515
12516         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12517         an old float_type as this was the case in the old code!
12518
12519         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12520
12521         * BufferView2.C (showLockedInsetCursor): use iy
12522         (fitLockedInsetCursor): ditto
12523
12524         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12525         locked insets as there we have the right value now.
12526
12527         * lyxcursor.C: added iy_ variable and iy functions to set to the
12528         baseline of cursor-y of the locked inset.
12529
12530         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12531         (setCursor): fixed for insets which need a full row.
12532
12533         * text.C (rowLastPrintable): don't ignore the last space when before
12534         an inset which needs a full row.
12535         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12536         as last character of a row when before a inset which needs a full row.
12537
12538 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12539
12540         * version.C.in: update date
12541
12542         * text2.C (fullRebreak): try to always return true and see what
12543         happens...
12544
12545 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12546
12547         * MenuBackend.C (expand): use Floating::listName
12548
12549         * FloatList.C (FloatList): add listName argument to the built-in
12550         floats
12551
12552         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12553         text associated with the float.
12554
12555 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12556
12557         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12558
12559 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12560
12561         * ShareContainer.h: add a couple of missing typenames.
12562
12563 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12564
12565         * lyxrc.C (getDescription): use _() correctly rather than N_().
12566
12567 2002-03-28  Herbert Voss  <voss@lyx.org>
12568
12569         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12570         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12571
12572 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12573
12574         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12575         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12576
12577 2002-03-29  Juergen Vigna  <jug@sad.it>
12578
12579         * lyxfunc.C (dispatch): add a missing fitCursor call.
12580
12581         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12582         it was scrolled by a cursor move, so return the bool status.
12583
12584         * BufferView.C (fitCursor): return the bool flag also to the outside
12585         world as this is needed.
12586
12587         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12588
12589         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12590         call the edit() as it is not needed (and wrong) IMO.
12591         (workAreaButtonPress): set the screen_first variable before evt.
12592         unlock the inset as this may change screen_first and then we have
12593         a wrong y position for the click!
12594
12595 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12596
12597         * MenuBackend.C (expand): another translation that I missed
12598
12599 2002-03-28  Juergen Vigna  <jug@sad.it>
12600
12601         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12602
12603         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12604
12605 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12606
12607         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12608
12609         * MenuBackend.C (expand): fix export/view/update when there is no
12610         document open.
12611
12612 2002-03-27  Herbert Voss  <voss@lyx.org>
12613
12614         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12615         and text%
12616
12617 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12618
12619         * bufferview_funcs.C (currentState): only show paragraph number
12620         for is DEVEL_VERSION is set.
12621
12622         * lyxfunc.C (dispatch): put warning in INFO channel
12623
12624         * MenuBackend.C (expand): translate the name of floats
12625
12626         * FloatList.C (FloatList): mark the float names for translation
12627
12628         * converter.C (convert): use LibScriptSearch
12629
12630 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12631
12632         * MenuBackend.C (defaults): fix default menu (we might as well get
12633         rid of it...)
12634
12635 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12636
12637         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12638         directory.
12639
12640 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12641
12642         * lyxvc.C: reorder includes.
12643
12644 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12645
12646         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12647           properly
12648
12649 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12650
12651         * CutAndPaste.C: change layouts earlier on paste
12652           to avoid crashing when calling getFont()
12653
12654 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12655
12656         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12657         irritating #error.
12658
12659 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12660
12661         * WorkArea.C: remove 'Pending' debug message.
12662
12663         * most files: ws cleanup
12664
12665         * buffer.[Ch]: ws changes
12666
12667         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12668
12669 2002-03-21  Juergen Vigna  <jug@sad.it>
12670
12671         * tabular.C (SetMultiColumn): collapse also the contents of the
12672         cells and set the last border right. Added a Buffer const * param.
12673
12674 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12675
12676         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12677         linking or not.
12678
12679 2002-03-19  Juergen Vigna  <jug@sad.it>
12680
12681         * text2.C (clearSelection): reset also xsel_cache.
12682
12683         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12684         where it needs to be called (John tells us to do so too :)
12685         (selectionLost): reset sel_cache.
12686
12687         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12688
12689 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12690
12691         * text2.C (setCursorIntern): put debuging code in INSETS channel
12692
12693 2002-03-19  André Pönitz <poenitz@gmx.net>
12694
12695         * lyxfunc.C: tiny whitespace change
12696
12697 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12698
12699         * ToolbarDefaults.C (init):
12700         * LyXAction.C (init):
12701         * commandtags.h:
12702         * BufferView_pimpl.C (Dispatch):
12703         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12704
12705 2002-03-19  Allan Rae  <rae@lyx.org>
12706
12707         * exporter.C (Export): removeAutoInsets before doing anything else.
12708         While I've just introduced a dependency on BufferView this really is
12709         the best place to clean the buffer otherwise you need to cleanup in
12710         a dozen places before calling export or cleanup in a dozen functions
12711         that export calls.
12712
12713         * converter.C (runLaTeX):
12714         (scanLog): Better handling of removeAutoInsets and screen updates.
12715
12716         * lyxfunc.C (dispatch): small whitespace changes
12717
12718 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12719
12720         * WorkArea.C (C_WorkAreaEvent): return a value.
12721         (event_cb): return 1 if we handled the event, 0 otherwise.
12722
12723         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12724
12725 2002-03-18  Juergen Vigna  <jug@sad.it>
12726
12727         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12728         (GetAdditionalWidth): ditto.
12729         (RightLine): ditto.
12730         (LeftLine): ditto.
12731
12732         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12733         inset if we're there actually (probably not used right now but this
12734         is the direction to go for unifying code).
12735         (paste): disable code to clear the selection.
12736
12737         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12738         inside an InsetText and move the check further up as it is in the
12739         wrong place.
12740
12741         * text2.C (pasteSelection): set a selection over the pasted text.
12742
12743 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12744
12745         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12746         and libgraphics to build on Cygwin.
12747
12748 2002-03-15  Juergen Vigna  <jug@sad.it>
12749
12750         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12751         inserting an Inset into the paragraph. I know this is not the best
12752         fix but we already use current_view in CutAndPaste so we will remove
12753         all of it's using at the same time.
12754
12755         * buffer.C (sgmlError): deactivated function till it is rewritten in
12756         the right mode, now it can create problems.
12757
12758         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12759         before accessing it.
12760
12761 2002-03-14  Juergen Vigna  <jug@sad.it>
12762
12763         * undo_funcs.C (textHandleUndo): do the right thing when updating
12764         the inset after the undo/redo.
12765
12766         * text2.C (setCursor): just some testcode for #44 not ready yet.
12767
12768         * undo_funcs.C (textHandleUndo): set the next() and previous()
12769         pointers of the paragraph to 0 before deleting otherwise we have
12770         problems with the Paragraph::[destructor].
12771
12772         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12773         on a paragraph insertion.
12774
12775 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12776
12777         * buffer.C (asciiParagraph): use += operator for char append to
12778         string.
12779
12780         * paragraph.C (getFontSettings): compare >= not just >
12781         (highestFontInRange): ditto
12782         (setFont): ditto
12783
12784 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12785
12786         * paragraph.C: change several algorithm to be more appripriate for
12787         the problem domain. This is lookip in FontList and in the InsetList.
12788
12789 2002-03-13  André Pönitz <poenitz@gmx.net>
12790
12791         * commandtags.h:
12792         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12793
12794 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12795
12796         * commandtags.h:
12797         * LyXAction.C:
12798         * lyxfunc.C:
12799         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12800
12801 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12802
12803         * Painter.C (display): anon helper function, adjust code for this
12804         change.
12805         (pixmap): remove function.
12806
12807         * Painter.h: remove private display variable.
12808
12809         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12810
12811 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12812
12813         * WorkArea.[Ch]: remove figinset_canvas cruft.
12814
12815 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12816
12817         * lyxtextclass.C (operator): add one item cache optimization.
12818
12819         * bufferlist.h: doxy changes
12820
12821         * bufferlist.C: ws changes
12822
12823         * DepTable.[Ch] (ext_exist): place const in the right spot.
12824
12825         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12826         call resizeInsets.
12827         (workAreaExpose): call resizeInsets when the with BufferView changes.
12828         (Dispatch): adjust for protectedBlank removal
12829         (specialChar): call updateInset if the insert went ok.
12830
12831         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12832         specialChar instead.
12833
12834         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12835
12836         * BufferView.h: doxy change
12837
12838         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12839
12840         * lyxtextclass.C (operator[]): remove non-const version
12841         (defaultLayout): remove non-const version
12842
12843 2002-03-12  Juergen Vigna  <jug@sad.it>
12844
12845         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12846         did resize the LyXText too.
12847
12848         * buffer.C (readLyXformat2): set layout information on newly allocated
12849         paragraphs.
12850
12851         * tabular.C (OldFormatRead): set layout information on the paragraph.
12852
12853 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12854
12855         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12856
12857 2002-03-11  Juergen Vigna  <jug@sad.it>
12858
12859         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12860         plainly wrong.
12861         (resizeCurrentBuffer): force also the insets to resize themselfes.
12862         (moveCursorUpdate): fixed up for InsetText.
12863
12864 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12865
12866         * commandtags.h:
12867         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12868         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12869         value of Dialogs::tooltipsEnabled().
12870         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12871
12872 2002-03-08  Juergen Vigna  <jug@sad.it>
12873
12874         * BufferView_pimpl.C (updateInset): update inset inside inset also
12875         if it isn't inside theLockingInset().
12876
12877 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12878
12879         * buffer.C (asciiParagraph): redo some of the word and line length
12880         handling.
12881         (getLists): look for Caption instead of caption.
12882
12883 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12884
12885         * buffer.C (Buffer): initialize niceFile to true
12886         (makeLaTeXFile):
12887         (makeLinuxDocFile):
12888         (makeDocBookFile): make sure niceFile is true on exit
12889
12890 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12891
12892         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12893
12894 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12895
12896         * LyXSendto.C: remove.
12897         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12898         * lyx_gui.C: remove now-redundant comment.
12899         * ColorHandler.h: remove forward declaration of class WorkArea.
12900         * lyxfunc.C: remove #include "WorkArea.h".
12901
12902 2002-03-07  Juergen Vigna  <jug@sad.it>
12903
12904         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12905         got moved away with the DEPM and also set the inset_owner always
12906         right which before could have been omitted.
12907
12908 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12909
12910         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12911         wanted layout is not found.
12912
12913 2002-03-07  Juergen Vigna  <jug@sad.it>
12914
12915         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12916
12917 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12918
12919         * paragraph.C (breakParagraph): use default layout not layout of
12920         prev paragraph.
12921         (Paragraph): clear ParagraphParameters.
12922
12923 2002-03-06  Juergen Vigna  <jug@sad.it>
12924
12925         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12926         otherwise it would not be a valid lenght. Fixed a special case in
12927         the minipage compatibility read where we end the document with a
12928         minipage.
12929
12930         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12931         was set as it could be 0 for InsetTexts first entry.
12932
12933 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12934
12935         * paragraph.C (writeFile): if layout is empty write out
12936         defaultLayoutName().
12937
12938         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12939         file without named layout we set layout to defaultLayoutName().
12940
12941 2002-03-06  Juergen Vigna  <jug@sad.it>
12942
12943         * CutAndPaste.C (copySelection): set layout for new paragraph.
12944
12945         * text.C (prepareToPrint): leave ERT inset left aligned
12946         (leftMargin): don't indent paragraphs inside ERT insets
12947
12948 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12949
12950         * paragraph.C (breakParagraph): dont call clear do the work manually
12951
12952         * paragraph.[Ch] (clear): remove function
12953
12954 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12955
12956         * paragraph.C (Paragraph): dont call clear, the work has already
12957         been done.
12958
12959         * lyxtextclass.C (operator): assert if n is empty
12960
12961         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12962         work manually instead.
12963
12964 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12965
12966         * BufferView_pimpl.C: protect selectionLost against text == 0
12967
12968 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12969
12970         * text.C (breakParagraph): fix a setting layout to '0' problem.
12971
12972 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12973
12974         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12975         final location of file, for the included files, and graphics.
12976
12977 2002-03-05  Juergen Vigna  <jug@sad.it>
12978
12979         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12980
12981 2002-03-04  Juergen Vigna  <jug@sad.it>
12982
12983         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12984
12985         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12986         last column of multicolumn cells.
12987         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12988
12989 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12990
12991         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12992         file if it doesn't go to a temporary file.
12993
12994         * buffer.C (sgmlOpenTag):
12995         (sgmlCloseTag):  remove extra newline insertion.
12996
12997 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12998
12999         * text.C (getRowNearY): comment out debug msg
13000
13001 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13002
13003         * text2.C: first -> first_y
13004
13005         * text.C (getRowNearY): add some attemts at a possible
13006         optimization, not working.
13007
13008         * tabular.[Ch]: add BufferParams to several function so that newly
13009         created paragraph can be initialized to he default layotu for the
13010         buffers textclass.
13011
13012         * tabular-old.C (ReadOld): add buf->params to call of Init
13013
13014         * screen.C: rename text->first to text->first_y
13015
13016         * paragraph.C (breakParagraph): always set layout in the broken
13017         paragraph
13018
13019         * lyxtextclass.C (Read): remove lowercase
13020         (hasLayout): ditto
13021         (operator): ditto
13022         (delete_layout): ditto
13023
13024         * lyxtext.h: rename first -> first_y
13025
13026         * lyxlayout.C (Read): remove lowercase
13027         (name): ditto
13028         (setName): ditto
13029         (obsoleted_by): ditto
13030
13031         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13032
13033         * buffer.C (insertErtContents): add params are to InsetERT
13034         (parseSingleLyXformat2Token): add code to check if a paragraphs
13035         layout really exist.
13036         (parseSingleLyXformat2Token): add params to several inset
13037         constructors
13038         (asciiParagraph): remove lowercase, do the layout comparisons with
13039         no_case
13040
13041         * BufferView_pimpl.C (cursorNext): first -> first_y
13042         (resizeCurrentBuffer): first -> first_y
13043         (updateScrollbar): first -> first_y
13044         (scrollCB): first -> first_y
13045         (workAreaMotionNotify): first -> first_y
13046         (workAreaButtonPress): first -> first_y
13047         (checkInsetHit): first -> first_y
13048         (cursorPrevious): first -> first_y
13049         (cursorNext): first -> first_y
13050         (Dispatch): add buffer_->params to severl inset contructors
13051
13052 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13053
13054         * lyxlayout.C (Read): remove some debug info that I forgot.
13055
13056         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13057         clean up the code slightly.
13058         (makeLinuxDocFile): ditto
13059         (makeDocBookFile): ditto
13060
13061         * text2.C: layout as string
13062
13063         * text.C: layout as string
13064
13065         * paragraph_pimpl.C: layout as string
13066
13067         * paragraph.[Ch]: layout as string
13068
13069         * lyxtextclasslist.[Ch]: layout as string
13070
13071         * lyxtextclass.[Ch]: layout as string
13072
13073         * lyxtext.h: layout as string
13074
13075         * lyxlayout.[Ch]: layout as string
13076
13077         * lyx_cb.C: layout as string
13078
13079         * bufferview_funcs.C: layout as string
13080
13081         * bufferparams.C: layout as string
13082
13083         * buffer.C: layout as string
13084
13085         * LyXView.[Ch]: layout as string
13086
13087         * LaTeXFeatures.[Ch]: layout as string
13088
13089         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13090
13091         * BufferView_pimpl.C: change current_layout to string, remove
13092         lyx::layout_type.
13093         (Dispatch):
13094         (smartQuote):
13095         (insertInset):
13096         (workAreaButtonRelease): layout as string
13097
13098         * BufferView2.C (unlockInset): adjust
13099
13100         * vspace.C (asLatexCommand): use an explict temp variable.
13101
13102 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13103
13104         * Makefile.am: use FRONTEND_*
13105
13106 2002-03-01  Juergen Vigna  <jug@sad.it>
13107
13108         * tabular.C (SetWidthOfMulticolCell): changed to something better
13109         I hope but still work in progress.
13110         (recalculateMulticolumnsOfColumn): renamed function from
13111         recalculateMulticolCells as it is more appropriate now.
13112         (SetWidthOfCell): calculate multicols better.
13113
13114 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13115
13116         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13117
13118         * lyxfunc.C (processKeySym): print sequence also if it is
13119         `deleted' (complete)
13120
13121         * kbsequence.C (print): print sequence even if it is deleted
13122         (complete would be a better word, actually).
13123
13124         * lyxfunc.C (dispatch): print complete options after a prefix key
13125
13126         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13127
13128 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13129
13130         * text2.C (setCharFont): eliminate setCharFont code duplication.
13131
13132 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13133
13134         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13135         LFUN_TABULAR_FEATURE (bug #177)
13136
13137 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13138
13139         * Makefile.am: remove figure.h
13140
13141 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13142
13143         * Bufferview_pimpl.C:
13144         * CutAndPasteC:
13145         * LaTeX.C:
13146         * LyXSendto.C:
13147         * buffer.C:
13148         * bufferlist.C:
13149         * converter.C:
13150         * language.C:
13151         * lyxfunc.C:
13152         * lyxvc.C:
13153         * paragraph.C:
13154         * text.C:
13155         * text2.C: remove #include "lyx_gui_misc.h".
13156
13157         * LaTeX.C: added #include <cstdio>
13158
13159 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13160
13161         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13162         that the paragraph following this one can have.
13163
13164         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13165
13166         * vspace.C (asLatexCommand): fix bogus gcc warning
13167
13168         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13169
13170 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13171
13172         * text2.C (setLayout): get rid of redundant code
13173
13174 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13175
13176         * text2.C (incDepth): make sure depth cannot be increased beyond
13177         reasonable values.
13178
13179 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13180
13181         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13182         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13183
13184         * PainterBase.h (image):
13185         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13186         a LyXImage const *.
13187
13188 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13189
13190         * BufferView.C:
13191         * BufferView.h:
13192         * BufferView_pimpl.C:
13193         * BufferView_pimpl.h:
13194         * LaTeXFeatures.C:
13195         * LyXAction.C:
13196         * LyXView.C:
13197         * Makefile.am:
13198         * UpdateList.h:
13199         * UpdateList.C:
13200         * buffer.C:
13201         * figure.h:
13202         * figureForm.C:
13203         * figureForm.h:
13204         * figure_form.C:
13205         * figure_form.h:
13206         * lyx_cb.C:
13207         * lyx_gui.C:
13208         * lyx_gui_misc.C:
13209         * lyxfunc.C:
13210         * sp_base.h:
13211         * sp_ispell.h:
13212         * sp_pspell.h:
13213         * sp_spell.C: remove fig inset, and the crap house of
13214           cards that follows it
13215
13216 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13217
13218         * Makefile.am:
13219         * lyxserver.C:
13220         * os2_defines.h:
13221         * os2_errortable.h:
13222         * nt_defines.h: move .h into support/
13223
13224         * vms_defines.h: remove
13225
13226         * WorkArea.C: add space in debug output
13227
13228         * text2.C:
13229         * paragraph.C:
13230         * buffer.C: add WITH_WARNINGS
13231
13232         * vc-backend.h:
13233         * vc-backend.C:
13234         * bufferlist.C: s/retrive/retrieve/, add docs
13235
13236         * vspace.h:
13237         * vspace.C:
13238         * kbmap.h:
13239         * lyxlength.h:
13240         * lyxgluelength.h:
13241         * length_common.h:
13242         * chset.h:
13243         * chset.C: add docs
13244
13245         * lyxgui.C: add ID to X error handler
13246
13247         * lyxtestclass.c: fix typo
13248
13249 2002-02-26  Juergen Vigna  <jug@sad.it>
13250
13251         * tabular_funcs.C (write_attribute): changed so that some default
13252         attributes are not written at all.
13253         (getTokenValue): set default values before trying to read the
13254         value so we have the return value always set as default if we don't
13255         find the token we search for.
13256
13257         * tabular.C (Write): write bools as bools not as strings!
13258
13259 2002-02-22  Juergen Vigna  <jug@sad.it>
13260
13261         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13262         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13263
13264         * text.C (leftMargin): don't add an indent for paragraphs inside
13265         tabular cells (fix #208).
13266
13267 2002-02-21  José Matos  <jamatos@fep.up.pt>
13268
13269         * tabular.C (docBook): fixed support for long tables.
13270
13271 2002-02-20  Juergen Vigna  <jug@sad.it>
13272
13273         * text2.C (getFont): get the drawing font of the Inset if this
13274         paragraph is inside an inset (only important for InsetERT for now).
13275
13276         * buffer.C (insertErtContents): use new lanugage params in ERT
13277         constructor.
13278
13279         * CutAndPaste.C: commenting out seemingly uneeded code.
13280
13281 2002-02-19  Allan Rae  <rae@lyx.org>
13282
13283         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13284         Iterators might be simple to use but they also get invalidated.
13285         (removeAutoInsets): renamed saved cursor tracking variables and added
13286         some comments to clarify what everything does.
13287
13288 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13289
13290         * Chktex.C:
13291         * LaTeX.C:
13292         * LyXSendto.C:
13293         * converter.C:
13294         * lyx_cb.C:
13295         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13296         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13297
13298         * lyxfunc.C:
13299         * vc-backend.h: remove #include "support/syscall.h"
13300
13301         * LaTeX.C:
13302         * LyXSendto.C:
13303         * converter.C: rearrange #includes in Lars' approved fashion.
13304
13305         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13306         forward declare class Timeout in the header file.
13307
13308         * XFormsView.C: changes due to the above.
13309
13310         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13311         similar to LyXView.
13312
13313         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13314         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13315
13316 2002-02-18  José Matos  <jamatos@fep.up.pt>
13317
13318         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13319         insets contents.
13320
13321 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13322
13323         * a lot of small ws changes
13324         * add a lot of using std::XXX
13325         * use std construcs some places where approp.
13326         * use some exisint stuff from lyxfunctional where approp.
13327         * Make file changes to use partial linking (lets test this now...)
13328
13329 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13330
13331         * Chktex.C:
13332         * buffer.C:
13333         remove #include "support/syscontr.h" as it's redundant. Always has been.
13334
13335         * Chktex.C:
13336         * LaTeX.C:
13337         * LyXSendto.C:
13338         * converter.C:
13339         * lyx_cb.C:
13340         * vc-backend.C:
13341         change Systemcalls::System to Systemcalls::Wait and
13342         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13343         No change of functionality, just reflects the stripped down Systemcalls
13344         class.
13345
13346 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13347
13348         * debug.[Ch]: add a GRAPHICS type to the enum.
13349
13350 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13351
13352         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13353
13354         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13355         there is an inset.
13356
13357 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13358
13359         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13360         match the changes below.
13361
13362         * text2.C (toggleInset): if there is not editable inset at cursor
13363         position, try to see if cursor is _inside_ a collapsable inset
13364         and close it.
13365
13366 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13367
13368         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13369         document menu has a nice checkbox
13370
13371 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13372
13373         * lyxlength.C (asLatexString): change PW to output as percent of
13374         \textwidth.
13375
13376         * lengthcommon.C: change '%' to 't%'
13377
13378         * lyxfunc.C (dispatch): a few comments from Martin
13379
13380 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13381
13382         * WorkArea.h:
13383         * WorkArea.C:
13384         * BufferView_pimpl.h:
13385         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13386           the X selection.
13387
13388 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13389
13390         * vspace.C (inPixels): fix compiler warning
13391
13392 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13393
13394         * lyxfunc.C (getStatus): fix status message for disabled commands.
13395
13396 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13397
13398         * BufferView_pimpl.C: fix crash on close buffer
13399         during selection (#227)
13400
13401 2002-01-27  Herbert Voss  <voss@lyx.org>
13402
13403         * buffer.C: link old Figure to new graphic inset
13404
13405 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13406
13407         * FontLoader.C (getFontinfo): Change the latex font names in order
13408         to match the names of type1inst.
13409
13410 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13411
13412         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13413
13414         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13415         (extchanged): ditto
13416         (ext_exist): ditto
13417         (remove_files_with_extension): ditto
13418         (remove_file): ditto
13419         (write): ditto
13420
13421         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13422         document is smaller than the work area height. Do not initialize
13423         static variables to 0.
13424
13425 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13426
13427         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13428
13429         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13430         LFUN_LAYOUT_PARAGRAPHS.
13431
13432         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13433         tabular. It is possible to provide a possible cell, which will
13434         typically be the actcell from the corresponding insettabular
13435
13436         * lyxfunc.C (getStatus): small cleanup; disable
13437         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13438         true
13439
13440 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13441
13442         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13443
13444         * paragraph.C (startTeXParParams):
13445         (endTeXParParams): new methods. The LaTeX code to
13446         start/end paragraph formatting
13447         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13448         empty (fixes bug #200)
13449
13450         * vspace.C (inPixels): adapt to the change below
13451         (inPixels): [later] more cleanups (remove unused variables)
13452
13453         * lyxlength.C (inPixels): change to use a width and a height as
13454         parameter.
13455
13456 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13457
13458         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13459         Replaced with \paperwidth
13460
13461         * DepTable.C (insert): add std:: qualifier
13462
13463 2002-01-18  Allan Rae  <rae@lyx.org>
13464
13465         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13466         updated also?
13467
13468         * text.C (drawInset): Turned out I didn't know enough about how
13469         rebreaking worked.  This fixes most of the redraw problems.  I see
13470         an occasional cursor trail when a line is broken now and the cursor
13471         placement can seem out by a few pixels also after a rebreak.
13472
13473 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13474
13475         * buffer.C (parseSingleLyXformat2Token): update because minipage
13476         width is now a LyXLength
13477
13478         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13479
13480         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13481         math insets
13482
13483 2002-01-17  Juergen Vigna  <jug@sad.it>
13484
13485         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13486
13487         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13488         is set correctly and the inset is updated correctly.
13489
13490 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13491
13492         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13493         the beginning of the loop.
13494
13495 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13496
13497         * lyxrc.C: improve help for use_scalable_fonts
13498
13499 2002-01-17  Allan Rae  <rae@lyx.org>
13500
13501         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13502
13503 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13504
13505         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13506         make sure to set their inset_owner to the right value (bug #171)
13507
13508 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13509
13510         * DepTable.h
13511         * DepTable.C: Implement mtime checking to reduce time spent doing
13512         CRCs.
13513
13514 2002-01-16  Juergen Vigna  <jug@sad.it>
13515
13516         * tabular.C (GetAdditionalHeight): one of error fixed.
13517
13518         * lyxrc.C (output): small fix in writing use_pspell.
13519
13520 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13521
13522         * sp_base.h: #include LString.h
13523
13524 2002-01-16  Allan Rae  <rae@lyx.org>
13525
13526         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13527         Can someone check this please?
13528
13529         * text.C (drawInset): It was possible that p.row would be removed by
13530         breakAgainOneRow upsetting a few other settings.  There may be another
13531         small tweak possible by setting need_break_row = 0 when p.row has been
13532         removed but I don't know enough about the logic here.
13533
13534 2002-01-15  Allan Rae  <rae@lyx.org>
13535
13536         * text.C (insertChar): removed conditional truism.
13537
13538         * BufferView2.C (removeAutoInsets): More tweaks.
13539         cur_par_prev could be a stray pointer.  Check for trailing empty line
13540         in case last line was cur_par and only had an error inset on it.
13541
13542 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13543
13544         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13545         absolute
13546
13547         * vc-backend.C (most methods):
13548         * exporter.C (Export):
13549         * converter.C (convert):
13550         (runLaTeX):
13551         * LyXSendto.C (SendtoApplyCB):
13552         * lyxfunc.C (dispatch):
13553         (menuNew):
13554         (open):
13555         (doImport):
13556         * lyx_cb.C (AutoSave):
13557         (InsertAsciiFile):
13558         * BufferView_pimpl.C (MenuInsertLyXFile):
13559         * buffer.C (runChktex): use Buffer::filePath().
13560
13561         * buffer.h: rename filename to filename_; rename filepath to
13562         filepath_ and make it private
13563         (filePath): new method
13564
13565         * buffer.C (writeFile): use fileName()
13566         (getLatexName):
13567
13568         * lyx_main.C (init): fix starting  of LyX when the binary is a
13569         link from so,ewhere else.
13570
13571         * minibuffer.C: include <cctype> for isprint
13572
13573 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13574
13575         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13576         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13577         name clash with InsetCollapsable's width function.
13578
13579 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13580
13581         * lastfiles.C: include <iterator>
13582
13583 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13584
13585         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13586         std::count.
13587
13588         * buffer.C (makeLaTeXFile): ditto.
13589         Also make loop operation more transparent.
13590
13591 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13592
13593         * ToolbarDefaults.C: remove trailing comma closing namespace.
13594
13595         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13596
13597         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13598         as in WorkArea.
13599
13600         * trans.C (Load): comment out unused variable, allowed.
13601
13602 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13603
13604         * minibuffer.[Ch] (append_char): new method to recieve input from the
13605         drop-down completion browser. If a key was pressed, then recieve this
13606         char and append it to the existing string.
13607         (peek_event): modify the positioning data passed to the completion
13608         browser so that it can be placed above the minibuffer rather than below.
13609 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13610
13611         * LyXAction.C (init): alloe error-next for readonly documents.
13612
13613         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13614         count.
13615
13616 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13617
13618         * bufferlist.C (readFile): create the buffer _after_ checking that
13619         the file exists.
13620
13621         * lyxfunc.C (verboseDispatch): fix handling of arguments
13622
13623         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13624
13625         * lyxrc.C: use string::erase() instead of initializing to "".
13626
13627
13628 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13629
13630         * BufferView_pimpl.h:
13631         * BufferView_pimpl.C:
13632         * WorkArea.h:
13633         * WorkArea.C:
13634         * text2.C: tell X when we have made a selection for copying
13635
13636 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13637
13638         * BufferView_pimpl.C (MenuInsertLyXFile):
13639         * lyxfunc.C (menuNew):
13640         (open):
13641         (doImport): add shortcuts to directory buttons
13642
13643         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13644         open a float)
13645
13646         * lyxfunc.C (setStatusMessage):
13647         (getStatusMessage): new methods
13648         (getStatus):use setStatusMessage instead of setErrorMessage
13649         (dispatch): when function is disabled, set error message here
13650         [instead of in getStatus previously]
13651
13652         * BufferView_pimpl.C (workAreaButtonRelease): update
13653         toolbar/menubar here too.
13654
13655 2002-01-13  Allan Rae  <rae@lyx.org>
13656
13657         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13658         Now seems indestructible.  Remaining task is to audit all other
13659         code affected by deleteEmptyParagraphMechanism.  One small quirk
13660         left is that an empty document with an error in the preamble can
13661         be made to report an error but no error box appears.  I don't know
13662         where it goes.
13663         (removeAutoInsets): Improved comments.
13664
13665 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13666
13667         * Thesaurus.h:
13668         * Thesaurus.C: update for Aiksaurus 0.14
13669
13670 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13671
13672         * text2.C (firstParagraph): removed member function, all uses
13673         replaces with ownerParagraph
13674         (redoParagraphs): here
13675         (updateInset): here
13676         (toggleAppendix): here
13677         * BufferView2.C (insertErrors): here
13678         (setCursorFromRow): here
13679
13680 2002-01-13  Allan Rae  <rae@lyx.org>
13681
13682         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13683         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13684         There is still a way to segfault this although you may have to do this
13685         multiple times: Have an InsetERT with an unknown command in it.
13686         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13687         <down-arrow>, <Enter> again, View->DVI, BANG!
13688
13689         * text2.C (setCursor):
13690         (deleteEmptyParagraphMechanism):
13691         * lyxtext.h (setCursor):
13692         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13693         Making use of the return value may help fix other bugs.
13694
13695 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13696
13697         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13698
13699         * LyXView.C (updateMenubar): call MenuBar::update here
13700         (updateToolbar): but not here
13701         (showState): do not update toolbar/menubar
13702
13703         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13704         should need to care about that.
13705
13706         * lyxfunc.C (verboseDispatch): simplify a bit
13707         (getStatus): have a version which takes a pseudoaction, and
13708         another which requires a (kb_action,string).
13709
13710         * LyXAction.C (retrieveActionArg): make it work also when action
13711         is not a pseudo-action.
13712         (getActionName): simplify a bit
13713         (helpText):
13714
13715 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13716
13717         * lyxfunc.C (verboseDispatch): new families of methods with
13718         several ways to specify a command and a bool to indicate whether
13719         the command name and shortcut should be displayed in minibuffer
13720         (eventually, we could extend that to a finer bitmask like
13721         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13722         (dispatch): the pristine dispatch command which just, well,
13723         dispatchs! Note it still sets its result to minibuffer; I'm not
13724         sure we want that.
13725
13726         * lyxfunc.h: remove setHintMessage
13727
13728         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13729
13730 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13731
13732         * BufferView_pimpl.C (specialChar): delete new inset if we have
13733         not been able to insert it.
13734
13735         * kbmap.C: revert to using int instead of kb_action, since all we
13736         are dealing with is pseudo-actions.
13737
13738         * LyXAction.C (searchActionArg): change to return int instead of
13739         kb_action, since the result is a pseudoaction.
13740
13741 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13742
13743         * buffer.C (insertErtContents): Fix (partially) the font bug.
13744
13745 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13746
13747         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13748         as the other one is broken on my machine!
13749
13750 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13751
13752         * commandtags.h:
13753         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13754
13755 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13756
13757         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13758         reflect their actual use. Provide compatibility code for older lyxrc
13759         files.
13760
13761         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13762         FL_NORMAL_STYLE.
13763         change names of popup font variables in line with the changes to lyxrc.C
13764
13765 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13766
13767         * buffer.C (asciiParagraph): avoid outputing a word twice after
13768         an inset.
13769
13770         * lyxrc.C (getDescription): document that document_path and
13771         template_path can be empty.
13772
13773 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13774
13775         * LaTeXFeatures.C (getMacros):
13776         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13777
13778         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13779
13780         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13781         getPackages.
13782         (getPackages): rename feature "floats" to "float". Use an array to
13783         iterate over 'simple' features (i.e. just a \usepackage). Add
13784         handling of "amsmath" (renamed from "amsstyle").
13785
13786 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13787
13788         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13789         features list.
13790
13791 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13792
13793         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13794         FuncStaus::FuncStatus & FuncStaus::some_method().
13795
13796 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13797
13798         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13799         of the func_satus stuff. Edited and massaged in various ways by
13800         JMarc.
13801
13802         * lyxfunc.C (getStatus): use FuncStatus
13803
13804 2002-01-08  Juergen Vigna  <jug@sad.it>
13805
13806         * text.C (nextBreakPoint): use function Inset::isChar().
13807
13808         * paragraph.C (TeXOnePar): use function
13809         Inset::forceDefaultParagraphs.
13810
13811         * buffer.C (latexParagraphs): use function
13812         Inset::forceDefaultParagraphs.
13813
13814 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13815
13816         * lyx_gui.C (init): set the style of the menu popups to
13817         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13818
13819 2002-01-07  Juergen Vigna  <jug@sad.it>
13820
13821         * text.C (setHeightOfRow): small fix
13822         (prepareToPrint): don't look at alignment if we don't have the place
13823         for doing it.
13824
13825 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13826
13827         * box.C: New file. Move the Box methods and functions out of box.h,
13828         following Lars' suggestion.
13829
13830 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13831
13832         * box.h: #include "support/LOstream.h", needed for inlined function.
13833
13834         * lyxtextclass.C:
13835         * lyxtextclasslist.C: added some using std declarations.
13836
13837 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13838
13839         * box.h: make signed dimensions to allow insets wider than
13840           the screen (bug #162)
13841
13842         * BufferView_pimpl.C: add some insetHit debug
13843
13844 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13845
13846         * vc-backend.C: add FIXME
13847
13848 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13849
13850         * lyxfunc.C (getStatus): enable code for showing math font status
13851         in toolbar/menu.
13852
13853 2002-01-07  Juergen Vigna  <jug@sad.it>
13854
13855         * text.C (nextBreakPoint): removed debug output not needed anymore.
13856
13857 2002-01-06  Juergen Vigna  <jug@sad.it>
13858
13859         * text.C (nextBreakPoint): fixed up this function we had this bug
13860         since ever but now hopefully we break row better.
13861         (insertChar): we have to check if an inset is the next char as it
13862         could now happen that a large inset is causing a break.
13863
13864 2002-01-05  Juergen Vigna  <jug@sad.it>
13865
13866         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13867         if it doesn't like to be drawed.
13868
13869 2002-01-04  Juergen Vigna  <jug@sad.it>
13870
13871         * BufferView2.C (lockInset): forgot to set a cursor.
13872
13873         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13874
13875 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13876
13877         * FormMathsPanel.C:
13878         * FormMathsPanel.h
13879         * MathsSymbols.C:
13880         * form_maths_panel.C:
13881         * form_maths_panel.h:
13882         * form_maths_panel.fd: implemented sub- and super- buttons in math
13883         panel.
13884
13885         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13886         (or ^ space) to be used as in TeX (req'd by André).
13887
13888         * lyxfunc.C: Allow ^ and _ again to be used both as
13889         super/subscript (mathed) and as themselves (in text).
13890
13891 2002-01-03  Allan Rae  <rae@lyx.org>
13892
13893         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13894         "LyX" or the filename of the current buffer if it has one.  This is a
13895         modified form of John Levon's patch.
13896
13897         * XFormsView.C (setWindowTitle): also set icon title.
13898
13899         * LyXView.h (setWindowTitle): signature changed.
13900         * XFormsView.h (setWindowTitle): ditto.
13901
13902 2002-01-02  Juergen Vigna  <jug@sad.it>
13903
13904         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13905
13906 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13907
13908         * screen.C (topCursorVisible): introduce a temp var for
13909         text->cursor.row(), handle the case where this row is null. (kindo
13910         hachish)
13911
13912         * text2.C (setCursor): add a couple of asserts.
13913
13914         * paragraph.h (inset_iterator): add -> operator
13915
13916         * paragraph.[Ch] (autoDeleteInsets): remove member function
13917
13918         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13919         cursor pos correctly and handle inset deletion by itself.
13920         (insertErrors): move iterator declaration out of for expression
13921
13922         * lyxtextclass.C: add <algorithm>
13923
13924         * Makefile.am: added the new files to sources, removed layout.C
13925
13926         * layout.C: removed file
13927
13928         * layout.h: remove LYX_DUMMY_LAYOUT
13929
13930         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13931         layout.
13932
13933         * lyxlayout.[Ch]:
13934         * lyxtextclass.[Ch]:
13935         * lyxtextclasslist.[Ch]: new files
13936
13937         * include order changes to a lot of files, also changes because of
13938         the six new files.
13939
13940 2001-12-27  Juergen Vigna  <jug@sad.it>
13941
13942         * buffer.C (asciiParagraph): more fixes.
13943
13944         * tabular.C (ascii): make ascii export support export of only the
13945         data separated by a column-delimiter.
13946         (ascii): better support for ascii export.
13947
13948         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13949
13950 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13951
13952         * tabular_funcs.C: use a "using std::getline" instead of the
13953         previous fix from Angus (necessary for cxx + lyxstring)
13954
13955 2001-12-24  Juergen Vigna  <jug@sad.it>
13956
13957         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13958
13959         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13960         problems. First check a minipage also if we have some ert-contents
13961         (not only on par->size(), second set the right depth of the paragraph
13962         on the relink to the root-paragraph-list!
13963
13964         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13965         which then did not anymore update the main paragraphs on undo/redo!
13966
13967 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13968
13969         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13970         code. Support all font-changing funcs (even those which are not in
13971         menu currently). Support for reporting font settings in
13972         mathed (disabled until Andre provides a function on mathed's side).
13973
13974         * func_status.h (toggle): small helper function to set toggle
13975         state on a flag.
13976
13977 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13978
13979         * tabular_funcs.C: getline -> std::getline
13980
13981 2001-12-21  Juergen Vigna  <jug@sad.it>
13982
13983         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13984         accessed and could be 0 (I couldn't generate this but it seems
13985         Michael could!).
13986
13987 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13988
13989         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13990         * tabular_funcs.h: here and include iosfwd
13991
13992 2001-12-20  Juergen Vigna  <jug@sad.it>
13993
13994         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13995         inside inset but undo_par was.
13996
13997 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13998
13999         * Thesaurus.C: always include <config.h> in sources.
14000
14001         * Painter.h:
14002         * lyxlookup.h:
14003         * box.h: do not include <config.h> in header files
14004
14005         * text.C (paintLastRow): remove unused variable
14006
14007         * text.C (transformChar):
14008         (insertChar):
14009         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14010
14011         * Painter.C (text):
14012         * font.C (width): rewrite to use uppercase() instead of
14013         islower/toupper.
14014
14015         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14016
14017 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14018
14019         * lyxfind.C: clean up of find failure position change
14020
14021 2001-12-20  Juergen Vigna  <jug@sad.it>
14022
14023         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14024
14025         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14026         (TeXRow): added to LaTeX a single tabular row.
14027         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14028         (Latex): simplified and finally good LT-h/f support.
14029         (various_functions): just small adaptions for LT-h/f support.
14030
14031         * tabular_funcs.[hC]: added and moved here all not classfunctions
14032         of LyXTabular.
14033
14034 2001-12-19  Juergen Vigna  <jug@sad.it>
14035
14036         * tabular.[Ch]: better support for longtabular options (not finished
14037         yet!)
14038
14039 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14040
14041         * text.C (paintLastRow): use the label font instead of the font of
14042         the last character to compute the size of *_BOX. This makes more
14043         sense and avoids a crash with empty paragraphs.
14044         Use Painter::rectangle to draw EMPTY_BOX.
14045
14046 2001-12-19  Juergen Vigna  <jug@sad.it>
14047
14048         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14049         the paragraphs if the replaced paragraph is not the first one!
14050         Tried to delete not used paragraphs but does not work yet so for
14051         now it's inside #ifdef's and by default off!
14052
14053 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14054
14055         * MenuBackend.C: include "lyx_main.h" instead of declaring
14056         lastfiles (actually was declared as LastFiles* instead of a
14057         scoped_ptr).
14058
14059 2001-12-17  Juergen Vigna  <jug@sad.it>
14060
14061         * tabular.C (AppendColumn): applied John's fix
14062
14063 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14064
14065         * BufferView.h:
14066         * BufferView.C:
14067         * BufferView_pimpl.h:
14068         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14069
14070         * Makefile.am:
14071         * box.h: new start of class for above
14072
14073         * lyxfunc.C: ignore space-only minibuffer dispatches.
14074           Show the command name when it doesn't exist
14075
14076         * minibuffer.C: don't add empty lines to the history
14077
14078         * minibuffer.C: add a space on dropdown completion
14079
14080 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14081
14082         * text.C: fix line above/below drawing in insets
14083
14084 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14085
14086         * lyxlength.C (LyXLength): Initialize private variables.
14087
14088 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14089
14090         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14091         when inserting error insets.
14092
14093 2001-12-13  Juergen Vigna  <jug@sad.it>
14094
14095         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14096         actually sometimes the before-paragraph.
14097         (setUndo): don't clear the redostack if we're not actually undoing!
14098
14099 2001-12-06  Juergen Vigna  <jug@sad.it>
14100
14101         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14102         and fixed redoing of main paragraph, so we can use it now ;)
14103
14104         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14105
14106 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14107
14108         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14109         Juergen's request
14110
14111 2001-12-13  André Pönitz <poenitz@gmx.net>
14112
14113         * undostack.[Ch]:
14114         * undo_func.C: minor cleanup
14115
14116 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14117
14118         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14119         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14120         font in urw-fonts package which is marked as -urw-fontspecific and
14121         does not work (incidentally, changing the encoding in the
14122         fonts.dir of this package to -adobe-fontspecific fixes the
14123         problem).
14124
14125         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14126         is a crash when undoing first paragraph (Juergen, please take a
14127         look). THis does not mean the undo fix is wrong, just that it
14128         uncovers problems.
14129
14130         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14131         the (Paragraph*) version when needed instead of duplicating the
14132         code.
14133
14134         * text.C (workWidth): use Inset::parOwner to find out where the
14135         inset has been inserted. This is a huge performance gain for large
14136         documents with lots of insets. If Inset::parOwner is not set, fall
14137         back on the brute force method
14138
14139         * paragraph_pimpl.C (insertInset):
14140         * paragraph.C (Paragraph):
14141         (cutIntoMinibuffer): set parOwner of insets when
14142         inserting/removing them
14143
14144         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14145
14146 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14147
14148         * commandtags.h:
14149         * LyXAction.C:
14150         * lyx_main.C:
14151         * lyxfunc.C:
14152         * mathed/formulabase.C:
14153         * mathed/math_cursor.[Ch]:
14154         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14155
14156
14157 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14158
14159         * lyxlength.[Ch] (operator!=): new function
14160
14161 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14162
14163         * text.C (workWidth): use Inset::parOwner to find out where the
14164         inset has been inserted. This is a huge performance gain for large
14165         documents with lots of insets. If Inset::parOwner is not set, fall
14166         back on the brute force method
14167
14168         * paragraph_pimpl.C (insertInset):
14169         * paragraph.C (Paragraph):
14170         (cutIntoMinibuffer): set parOwner of insets when
14171         inserting/removing them
14172
14173         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14174
14175 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14176
14177         * tabular-old.C (getTokenValue):
14178         * tabular.C (getTokenValue):
14179         (write_attribute): new versions for LyXLength
14180         (everywhere): adjust the use of widths
14181
14182         * tabular.h: change the type of widths from string to LyXLength
14183
14184 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14185
14186         * paragraph.C: fixed missing line number count when exporting
14187         Environments to LaTeX file
14188
14189         * buffer.C: added informational message for checking line numbers.
14190
14191 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14192
14193         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14194         paragraph, do the 'double space' part, but not the 'empty
14195         paragraph' one.
14196
14197         * text.C (workWidth): small optimization
14198         (getLengthMarkerHeight): use minimal size for negative lengths.
14199
14200 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14201
14202         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14203
14204         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14205
14206 2001-12-11  André Pönitz <poenitz@gmx.net>
14207
14208         * FontLoader.C:
14209         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14210
14211 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14212
14213         * text2.C: keep selection on a setFont()
14214
14215 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14216
14217         * lyx_cb.C: another bv->text misuse, from insert label
14218
14219 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14220
14221         * kbsequence.h:
14222         * kbsequence.C: re-instate nmodifier mask
14223
14224 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14225
14226         * lyx_main.h: make lyxGUI private.
14227
14228 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14229
14230         * lyxfind.C: place the cursor correctly on failed search
14231
14232 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14233
14234         * text.C (getLengthMarkerHeight): for small heights, the arrows
14235         are not always on top/bottom of the text
14236         (drawLengthMarker): smaller arrows; take the left margin in
14237         account; draw also vfills.
14238         (paintFirstRow):
14239         (paintLastRow): remove special code for vfill and standard spaces,
14240         since everything is handled in drawLengthMarker now.
14241
14242 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14243
14244         * buffer.C (insertErtContents): try to handle font and language
14245         interaction a bit better.g
14246
14247         * ColorHandler.C (updateColor): change the hash to cover the whole
14248         LColor enum, ws cleanup
14249         (getGCLinepars): ditto
14250         (getGCLinepars): only lookup in the linecache once.
14251
14252 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14253
14254         * iterators.C (operator++): Make the iterator more robust
14255
14256         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14257         (John's patch)
14258         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14259
14260 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14261
14262         * lyxtext.h:
14263         * text.C: better added space drawing
14264
14265 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14266
14267         * LyXView.C:
14268         * BufferView2.C: fix layout combo update on inset unlock
14269
14270 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14271
14272         * Makefile.am: don't compile unused files
14273
14274 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14275
14276         * lyxfunc.C:
14277         * commandtags.h:
14278         * LyXAction.C: remove old LFUN_LAYOUTNO
14279
14280 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14281
14282         * paragraph_pimpl.h:
14283         * paragraph_pimpl.C: isTextAt() doesn't need font param
14284
14285 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14286
14287         * lyxlex.h:
14288         * lyxlex.C: little cleanup
14289
14290 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14291
14292         * BufferView_pimpl.C: fix insertAscii for insets
14293
14294 2001-12-05  Juergen Vigna  <jug@sad.it>
14295
14296         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14297         set the right font on the "multi" paragraph paste!
14298
14299 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14300
14301         * trans_decl.h:
14302         * trans_mgr.[Ch]:
14303         * trans.[Ch]:
14304         * lyxgluelength.C:
14305         * lyxlength.C: remove out-commented code.
14306
14307         * BufferView_pimpl:
14308         * CutAndPaste.C:
14309         * DepTable.C:
14310         * buffer.C:
14311         * chset.C:
14312         * lastfiles.C:
14313         * lyxlex.C:
14314         * lyxlex_pimpl.C:
14315         * lyxserver.C:
14316         * screen.C:
14317         * tabular-old.C:
14318         * tabular.C:
14319         * text.C:
14320         * trans_mgr.C:
14321         * vc-backend.C: change "while(" to "while ("
14322
14323         * lyxlength.[Ch]: add zero function to check if length is zero or
14324         not
14325         * lyxgluelength.C: use it
14326
14327 2001-12-05  Allan Rae  <rae@lyx.org>
14328
14329         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14330         Works for 2.95.3, from what I understand of Garst's reports this should
14331         work for other g++ versions.  We're screwed if the abs(int) definition
14332         changed between bugfix releases of gcc.
14333
14334 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14335
14336         * text.C: fix chapter label offset !
14337
14338 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14339
14340         * lyxtext.h:
14341         * text.C: fix hfill at end of line, clean up
14342
14343 2001-12-04  Juergen Vigna  <jug@sad.it>
14344
14345         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14346         that we force an update of the inset and it's owners if neccessary.
14347
14348 2001-12-03  Juergen Vigna  <jug@sad.it>
14349
14350         * text.C (rowLast): simplified code
14351
14352 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14353
14354         * lyxfunc.C: fix show options on timeout
14355
14356 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14357
14358         * screen.C (topCursorVisible): scroll half a page when the cursor
14359         reached top of bottom of screen
14360
14361 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14362
14363         * minibuffer.C: deactivate on loss of focus
14364
14365 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14366
14367         * vspace.[Ch] (operator!=): add operator.
14368
14369 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14370
14371         * BufferView_pimpl.C: refuse to open an inset when
14372         there's a selection.
14373
14374 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14375
14376         * BufferView_pimpl.C: allow to click on RHS of full row insets
14377
14378 2001-11-30  Juergen Vigna  <jug@sad.it>
14379
14380         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14381         insets for undo reasons.
14382
14383 2001-11-28  André Pönitz <poenitz@gmx.net>
14384
14385         * vspace.[Ch]: cosmetical changes
14386
14387 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14388
14389         * LyXAction.h:
14390         * LyXAction.C:
14391         * lyxfunc.h:
14392         * lyxfunc.C:
14393         * kbmap.h:
14394         * kbmap.C:
14395         * lyxrc.C:
14396         * kbsequence.h:
14397         * kbsequence.C: part re-write of old kb code
14398
14399         * Painter.C:
14400         * WorkArea.C: remove Lgb_bug_find_hack
14401
14402 2001-11-30  José Matos <jamatos@fep.up.pt>
14403
14404         * buffer.C (makeDocBookFile): add a comment to point a hack.
14405         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14406         Fixed a double write of labels.
14407
14408 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14409
14410         * LaTeX.C:
14411         * LaTeX.h Fixed bug in LaTeX class where it would not
14412         re-run latex if no depfiles were changed, but the .dvi was removed.
14413
14414 2001-11-28  André Pönitz <poenitz@gmx.net>
14415
14416         * all the files from the change on 2001/11/26:
14417         use lyx::layout_type instead of LyXTextClass::size_type
14418         use lyx::textclass_type instead of LyXTextClassList::size_type
14419
14420 2001-11-29  Juergen Vigna  <jug@sad.it>
14421
14422         * text.C: added support for paragraph::isFreeSpacing()
14423
14424         * buffer.C: same as above
14425
14426         * paragraph.h: inserted isFreeSpacing() function to enable
14427         FreeSpacing inside InsetERT.
14428
14429         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14430         of the paragraph's in the cut/copy buffer to 0!
14431
14432         * text2.C (removeRow): remove the assert as it can!
14433
14434         * lyxtext.h: added helper function firstRow returning firstrow and
14435         made firstrow private again.
14436
14437         * BufferView2.C (lockInset): don't relock if we're already locked!
14438
14439         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14440         the only paragraph.
14441         (removeRow): added Assert::(firstrow)
14442
14443         * debug.C: forgot to add INSETTEXT here.
14444
14445 2001-11-28  Juergen Vigna  <jug@sad.it>
14446
14447         * sp_spell.C (initialize): changed error text to more general
14448         spellchecker command use (not only ispell!)
14449
14450         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14451
14452         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14453
14454 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14455
14456         * vspace.C: initialise lyxgluelength on failure
14457
14458 2001-11-28  Allan Rae  <rae@lyx.org>
14459
14460         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14461         declaration & definition that looks like a function declaration.
14462
14463 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14464
14465         * BufferView2.C (copy):
14466         (copyEnvironment): do not clear the selection when doing a copy.
14467
14468         * text.C (paintFirstRow): compilation fix
14469
14470 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14471
14472         * tabular.C (Latex): correct line count when writing latex.
14473
14474 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14475
14476         * paragraph_pimpl.h:
14477         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14478           bug a bit
14479
14480 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14481
14482         * text.C:
14483         * LColor.h:
14484         * LColor.C: change vfillline->added_space
14485
14486         * text.C: add markers and text for added space
14487
14488         * vspace.C: fix comment
14489
14490 2001-11-28  André Pönitz <poenitz@gmx.net>
14491
14492         * paragraph.C: whitespace changes
14493         * all the other files from the change on 2001/11/26:
14494         change *::pos_type into lyx::pos_type
14495
14496 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14497
14498         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14499         language of the document when inserting error insets.
14500
14501 2001-11-26  André Pönitz <poenitz@gmx.net>
14502
14503         * BufferView_pimpl.[Ch]:
14504         *       CutAndPaste.C:
14505         * buffer.[Ch]:
14506         * lyxcursor.[Ch]:
14507         * lyxfind.C:
14508         * lyxfunc.C:
14509         * lyxrow.[Ch]:
14510         * paragraph.[Ch]:
14511         * paragraph_pimpl.[Ch]:
14512         * sp_spell.C:
14513         * text.C:
14514         * text2.C: reduce header dependencies, introduce type for positions
14515
14516 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14517
14518         * <various>: change to use Alert.h
14519
14520 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14521
14522         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14523         when encountering an unknown token.
14524         (readLyXformat2): Show an error message if there were unknown tokens.
14525
14526 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14527
14528         * BufferView2.C:
14529         * BufferView_pimpl.C:
14530         * buffer.C:
14531         * paragraph.h:
14532         * text.C:
14533         * text2.C: use par->isInset()
14534
14535 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14536
14537         * paragraph_pimpl.h:
14538         * paragraph_pimpl.C: cleanup
14539
14540 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14541
14542         * text2.C (removeRow):
14543         * text.C (setHeightOfRow): remove useless (and costly) call to
14544         getRow.
14545
14546 2001-11-20  Allan Rae  <rae@lyx.org>
14547
14548         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14549         Now need Inset*::checkInsertChar() to return true for appropriate
14550         cases so that the characters in the minibuffer will actually be
14551         inserted.
14552
14553 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14554
14555         * text.C: change the order of the includes.
14556         (workWidth): initialize it at once.
14557         (workWidth): make maxw unsigned
14558         (setHeightOfRow): remove unused variable (inset)
14559         (selectSelectedWord): remove unused variable (inset)
14560         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14561
14562 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14563
14564         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14565         server is not running.
14566         (openConnection):
14567         (closeConnection): add debug info when server is disabled.
14568
14569         * ColorHandler.C (getGCForeground): send debug message to GUI
14570         channel.
14571
14572         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14573
14574         * kbmap.C (bind): modify because return conventions of
14575         kb_sequence::parse have changed.
14576
14577         * kbsequence.C (parse): only ignore spaces and not any stupid
14578         control character. This avoids tests like s[i] <= ' ', which are
14579         guaranteed to fail with 8bit characters and signed chars.
14580         Change return code to string::npos when there have been no error
14581         (0 was a bad idea when error is at first character)
14582
14583 2001-11-14  José Matos  <jamatos@fep.up.pt>
14584
14585         * buffer.h:
14586         * buffer.C (simpleDocBookOnePar): removed unused argument.
14587
14588 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14589
14590         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14591         insets which are part of a word. Paragraph::isLetter takes care of
14592         that now. Use Paragraph::isInset to identify insets.
14593         (selectSelectedWord): do not test for hyphenation break.
14594
14595         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14596         that protected spaces are considered as spaces.
14597
14598         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14599         Inset::isLetter.
14600
14601 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14602
14603         * lyxserver.h:
14604         * lyxserver.C: fix it. and small cleanup.
14605
14606 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14607
14608         * BufferView_pimpl.C: use inline helpers
14609
14610         * LaTeXFeatures.h:
14611         * LaTeXFeatures.C: fix typos
14612
14613         * Spacing.h:
14614         * Spacing.C: move spacing_string into class
14615
14616         * ToolbarDefaults.C: move stuff into namespace anon
14617
14618         * layout.h: update enum
14619
14620         * lyxfunc.C: use better debug
14621
14622         * minibuffer.h: fix typo
14623
14624         * debug.h:
14625         * debug.C:
14626         * WorkArea.C: add and use Debug::WORKAREA
14627
14628         * lyxtext.h:
14629         * text.C:
14630         * text2.C: code re-organisation, inline helpers
14631
14632 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14633
14634         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14635         std::vector.empty().
14636
14637 2001-11-09  Allan Rae  <rae@lyx.org>
14638
14639         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14640         '\n's after tables.  Tabular and ERT inset work now makes this no
14641         longer necessary.
14642
14643 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14644
14645         * minibuffer.h:
14646         * minibuffer.C: fix crash, improve drop-down completion
14647
14648 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14649
14650         * lyxserver.h:
14651         * lyxserver.C: invalidate fd's when doing endPipe()
14652
14653 2001-11-08  José Matos  <jamatos@fep.up.pt>
14654
14655         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14656         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14657
14658         * paragraph.h:
14659         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14660
14661 2001-11-07  José Matos  <jamatos@fep.up.pt>
14662
14663         * buffer.h:
14664         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14665         const qualifier.
14666
14667         * buffer.C (sgmlOpenTag):
14668         * buffer.C (sgmlCloseTag): removed debug info.
14669
14670         * buffer.h (sgmlOpenTag):
14671         * buffer.h (sgmlCloseTag): made public.
14672
14673 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14674
14675         * buffer.C (saveParamsAsDefaults):
14676         * lyx_cb.C (MenuLayoutSave): remove
14677
14678         * LyXAction.C (init):
14679         * commandtags.h:
14680         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14681
14682 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14683
14684         * buffer.C (setPaperStuff): removed from here...
14685
14686         * bufferparams.C (setPaperStuff): ... and moved there.
14687
14688 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14689
14690         * minibuffer.h:
14691         * minibuffer.C:
14692         * XFormsView.C: add support for drop-down completion
14693
14694 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14695
14696         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14697         commands.
14698
14699 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14700
14701         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14702         disabled.
14703
14704 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14705
14706         * lyx_main.C: change ref to known bugs
14707
14708 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14709
14710         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14711         to work around older babel problems.
14712
14713 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14714
14715         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14716
14717 2001-10-24  Juergen Vigna  <jug@sad.it>
14718
14719         * tabular-old.C (ReadOld): below variable changes reflected.
14720
14721         * tabular.[Ch]: added ltType struct for longtable header/footer
14722         defines and changed all instances where they are used. Added
14723         future support for double top/bottom rows.
14724
14725 2001-10-24  José Matos  <jamatos@fep.up.pt>
14726
14727         * buffer.h (docbookHandleCaption):
14728         * buffer.C (docbookHandleCaption): removed unused function.
14729         (makeDocBookFile): moved docbook supported version to v4.1.
14730
14731 2001-10-24  José Matos  <jamatos@fep.up.pt>
14732
14733         * tabular.h:
14734         * tabular.C (docbookRow): new function to export docbook code of a row.
14735         (DocBook): now honors the longtable flags.
14736
14737 2001-10-23  José Matos  <jamatos@fep.up.pt>
14738
14739         * LaTeXFeatures.h:
14740         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14741         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14742
14743         * buffer.C (makeLinuxDocFile):
14744         (makeDocBookFile): reworked the preamble, more clean, and with
14745         support for lyx defined entities. Changed the document declaration
14746         to be more XML friendly.
14747
14748         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14749         if we need to output XML that should be done with a filter.
14750
14751 2001-10-22  Juergen Vigna  <jug@sad.it>
14752
14753         * sp_pspell.h (class PSpell): add alive function needed in the
14754         controller to see if the spellchecker could be started.
14755
14756 2001-10-22  Juergen Vigna  <jug@sad.it>
14757
14758         * buffer.C (insertStringAsLines): modify the font for inserting
14759         chars in certain conditions by calling checkInsertChar(font).
14760
14761 2001-10-19  Juergen Vigna  <jug@sad.it>
14762
14763         * text.C (workWidth): use getRow instead of wrong algorithm.
14764         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14765
14766 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14767
14768         * lyxserver.h:
14769         * lyxserver.C:
14770         * lyx_main.h:
14771         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14772
14773 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14774
14775         * text.C (workWidth): do not search for the exact row when
14776         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14777         optimization for big documents.
14778
14779 2001-10-18  Juergen Vigna  <jug@sad.it>
14780
14781         * text.C (workWidth): new function with added Inset * parameter.
14782
14783 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14784
14785         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14786
14787         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14788         change return type of getColumnNearX.
14789
14790
14791         * text.C (changeRegionCase): use uppercase/lowercase instead of
14792         toupper/tolower.
14793         (leftMargin):
14794         (rightMargin): simplify code by factoring out the uses of
14795         textclasslist.
14796         (labelFill):
14797         (numberOfHfills):
14798         (setHeightOfRow):
14799         (appendParagraph): use Paragraph::size_type
14800
14801 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14802
14803         * vspace.C (asLatexString): add a missing break
14804
14805 2001-10-15  Herbert Voss  <voss@perce.de>
14806
14807         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14808
14809 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14810
14811         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14812         is not available.
14813
14814 2001-10-10  André Pönitz <poenitz@gmx.net>
14815
14816         * lyxfunc.C: removed greek_kb_flag.
14817
14818 2001-10-10  Herbert Voss  <voss@perce.de>
14819
14820         * lyx_main.C: delete global string help_lyxdir.
14821
14822 2001-10-09  Herbert Voss  <voss@perce.de>
14823
14824         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14825
14826         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14827
14828         * lyx_main.C: added global string help_lyxdir.
14829
14830         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14831
14832 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14833
14834         * lyxrc.C (set_font_norm_type): support iso8859-4
14835
14836 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14837
14838         * LaTeX.C (deplog): add another regex for MikTeX
14839
14840 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14841
14842         * lyxrc.C (set_font_norm_type): support iso8859-3
14843
14844 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14845
14846         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14847
14848         * LaTeXFeatures.C: remove special case of french and index
14849
14850         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14851         before \begin{document}). This solves several incompatibilities.
14852
14853 2001-10-03  Garst Reese  <reese@isn.net>
14854
14855         * lyx_cb.C: change CheckTex error msg.
14856
14857 2001-10-03  José Matos  <jamatos@fep.up.pt>
14858
14859         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14860
14861 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14862
14863         * .cvsignore: update
14864
14865         * lyx_main.C (commandLineVersionInfo): use new style version info.
14866
14867         * buffer.C (writeFile):
14868         (makeLaTeXFile):
14869         (makeLinuxDocFile):
14870         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14871
14872         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14873
14874         * version.h: update to use stuff in version.C
14875
14876         * version.C.in: new file. Contains version information determined
14877         at compile time. This is a merging of version.h and
14878         version_info.h.in.
14879
14880 2001-10-03  Juergen Vigna  <jug@sad.it>
14881
14882         * BufferView_pimpl.C (update): don't change "dirty" status in
14883         updateInset call.
14884
14885 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14886
14887         * WorkArea.C (c-tor): re-position version string slightly.
14888
14889 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14890
14891         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14892         revert to previous code.
14893
14894         WorkArea.[Ch]: (show, destroySplash): methods removed.
14895
14896         WorkArea.C: rework code so that it's an amalgam of the codes before and
14897         after the splash screen was moved to WorkArea.
14898
14899 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14900
14901         * lyxrc.C (read):
14902         * vspace.C (inPixels):
14903         (lyx_advance):
14904         * kbmap.C (bind):
14905         * buffer.C (insertStringAsLines):
14906         (asciiParagraph): fix types to be large enough
14907
14908         * lyxlex_pimpl.h: change member status from short to int
14909
14910         * layout.h: fix type of endlabeltype
14911
14912         * kbmap.C (bind):
14913         * kbsequence.C (parse): change return type to string::size_type
14914
14915         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14916         variable
14917
14918         * Bullet.C (bulletSize):
14919         (bulletEntry): do not use short ints as parameters
14920
14921         * BufferView2.C (insertLyXFile): change a char to an int.
14922
14923         * WorkArea.C (WorkArea): remove unneeded floats in computation
14924
14925 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14926
14927         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14928
14929         * paragraph.C (asString): Do not ignore newline/hfill chars when
14930         copying to the clipboard.
14931
14932 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14933
14934         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14935         after a multi-line inset.
14936
14937 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14938
14939         * paragraph.C (validate): Set NeedLyXFootnoteCode
14940
14941 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14942
14943         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14944         and decrease-error to decrease.
14945
14946 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14947
14948         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14949         it more readable (should be equivalent)
14950
14951 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14952
14953         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14954
14955 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14956
14957         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14958         of a cursor (row, etc.) after a character has been deleted
14959         (deleteEmptyParagraphMechanism): call the method above on _all_
14960         cursors held by the LyXText when a double space has been
14961         detected/deleted.
14962
14963 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14964
14965         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14966         pixmap.
14967         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14968
14969         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14970         background. Use greyOut() and the new show() methods to toggle between
14971         the foreground and background. Add code to remove the splash after
14972         its initial showing.
14973
14974         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14975         (create_forms): no longer call Dialogs::showSplash.
14976
14977 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14978
14979         * .cvsignore: add version_info.h
14980
14981 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14982
14983         * version_info.h.in: new file
14984
14985         * Makefile.am: add version_info.h.in
14986
14987         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14988         version_info.h instead of VERSION_INFO
14989
14990 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14991
14992         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14993         The ERT inset now returns string().
14994
14995 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14996
14997         * lyxtext.h, text.C (selectNextWord): renamed as
14998         selectNextWordToSpellcheck.
14999
15000         * text.C (selectNextWordToSpellcheck): Modified to not select
15001         words inside an ERT inset.
15002
15003 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15004
15005         * lyx_cb.C (MenuLayoutSave): change a bit the question
15006
15007         * sp_base.h: include <sys/types.h>
15008
15009 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15010
15011         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15012
15013 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15014
15015         * several files: fix typos in user-visible strings
15016
15017 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15018
15019         * text2.C (pasteSelection): do not set the selection, since it
15020         will be cleared later. Actually, the intent was to fix the way the
15021         selection was set, but I figured rmoving the code was just as good.
15022
15023 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15024
15025         * FontLoader.C (available): Check if font is available without
15026         loading the font.
15027
15028 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15029
15030         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15031
15032 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15033
15034         * lyxrc.[Ch]: added display_graphics variable and associated code.
15035
15036 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15037
15038         * bufferparams.C (hasClassDefaults): new method. Returns true if
15039         the buffer parameters correspond to known class defaults
15040
15041 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15042
15043         * XFormsView.C (show): set minimum size to the main window.
15044
15045 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15046
15047         * text2.C (copySelection):
15048         (cutSelection):
15049         * lyxfind.C (LyXReplace):
15050         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15051         LyXText::selectionAsString.
15052
15053         * paragraph.C (asString): add "label" argument to the second form
15054
15055         * text2.C (selectionAsString): add "label" argument and pass it to
15056         Paragraph::asString.
15057
15058 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15059
15060         * lyx_main.C (commandLineHelp): remove version information
15061
15062 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15063
15064         * lyx_main.C: add -version commandline option
15065
15066 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15067
15068         * paragraph.h: make the optional constructor arg required instead.
15069         some modifications to other files because of this.
15070
15071         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15072
15073         * lyxserver.C (C_LyXComm_callback): make it static
15074
15075         * lyx_main.C (error_handler): make it static
15076
15077         * lyx_gui.C (LyX_XErrHandler): make it static
15078
15079         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15080
15081         * WorkArea.C: make the extern "C" methods static.
15082
15083         * Makefile.am (lyx_LDADD): simplify
15084
15085 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15086
15087         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15088         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15089
15090         * LyXAction.C (init):
15091         * lyxfunc.C (dispatch): associated code removal.
15092
15093 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15094
15095         * lyxfont.h (isSymbolFont): shut off warning
15096
15097         * text.C (setHeightOfRow):
15098         (getVisibleRow): fix crash with empty paragraphs which have a
15099         bottom line
15100
15101 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15102
15103         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15104         code.
15105
15106 2001-09-04  José Matos  <jamatos@fep.up.pt>
15107         * buffer.C
15108         * buffer.h
15109         * tabular.C (docbook): rename docBook method to docbook.
15110
15111 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15112
15113         * Makefile.am: add dependencies to main.o.
15114
15115 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15116
15117         * FontLoader.C (available): Return false if !lyxrc.use_gui
15118
15119 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15120
15121         * FontInfo.C (query):
15122         * converter.C (view):
15123         * importer.C (Import):
15124         * exporter.C (Export): Can not -> cannot.
15125
15126 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15127
15128         * BufferView_pimpl.C: allow to create index inset even if
15129           string is empty
15130
15131 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15132
15133         * buffer.C (getLists): replace boost::tie code with an explicit pair
15134         as boost::tie can break some compilers.
15135
15136         * iterators.h: Added a std:: declaration to the return type of
15137         ParIterator::size.
15138
15139 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15140
15141         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15142           case.
15143
15144 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15145
15146         * iterators.[Ch]: New files. Provide paragraph iterators.
15147
15148         * buffer.C (changeLanguage): Use paragraph iterators.
15149         (isMultiLingual): ditto
15150
15151         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15152
15153 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15154
15155         * FontLoader.C: Support for cmr font.
15156
15157 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15158
15159         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15160         (available): New method.
15161
15162         * FontInfo.C (getFontname): Use scalable fonts even when
15163         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15164         found.
15165
15166 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15167
15168         * converter.C (Formats::view): reverted! Incorrect fix.
15169
15170 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15171
15172         * converter.C (Formats::view): only output the -paper option
15173         if the dvi viewer is xdvi, thereby fixing bug #233429.
15174
15175 2001-08-23  Herbert Voss  <voss@perce>
15176
15177         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15178
15179 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15180
15181         * Spacing.h (Spacing): Set space to Default on in the default
15182         constructor.
15183
15184 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15185
15186         * vc-backend.h (RCS::versionString): add RCS to version
15187         (CVS::versionString): add CVS to version
15188
15189         * vc-backend.C (scanMaster): do not add CVS to version.
15190         (scanMaster): do not add RCS to version
15191
15192         * lyxvc.C (versionString): new method
15193
15194         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15195
15196 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15197
15198         * Spacing.C (set): initialize fval
15199
15200 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15201
15202         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15203         " or \.
15204
15205 2001-08-16  Juergen Vigna  <jug@sad.it>
15206
15207         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15208
15209 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15210
15211         * BufferView_pimpl.C:
15212         * figureForm.C:
15213         * lyxtext.h:
15214         * text2.C: setParagraph takes linespacing now
15215
15216 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15217
15218         * LyxAction.C: add internal LFUN_CITATION_INSERT
15219
15220         * LyXView.C: actually apply fix
15221
15222         * bufferlist.C: fix open non-existent file
15223
15224         * lyxfind.C: fix indentation
15225
15226         * lyxfunc.C: remove unneeded assert, fix typo
15227
15228 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15229
15230         * MenuBackend.C: use "Floatname List"
15231
15232 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15233
15234         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15235         when converting LaTeX layout to insetERT.
15236         Generate a non-collapsed float when reading old float
15237
15238 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15239
15240         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15241         ERT insets.
15242
15243 2001-08-13  Juergen Vigna  <jug@sad.it>
15244
15245         * text.C (fill): return 0 instead of 20 as this seems to be the more
15246         correct value.
15247
15248 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15249
15250         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15251         lyxrc.font_norm.
15252
15253 2001-08-13  Juergen Vigna  <jug@sad.it>
15254
15255         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15256         casesensitive off.
15257         (SearchBackward): comment out the unlocking of the inset_owner this
15258         should not be needed!
15259
15260 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15261
15262         * Many files: Remove inherit_language, and add latex_language
15263
15264         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15265         collapsible insets.
15266
15267 2001-08-10  Juergen Vigna  <jug@sad.it>
15268
15269         * text.C (prepareToPrint): fixed hfill-width in draw!
15270
15271         * BufferView2.C (selectLastWord): save the selection cursor as this
15272         now is cleared in the function LyXText::clearSelection!
15273
15274 2001-08-08  Juergen Vigna  <jug@sad.it>
15275
15276         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15277         BACKSPACE type functions.
15278
15279         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15280         is only cutted from the document but not put in the cut-buffer, where
15281         still the old stuff should be.
15282
15283         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15284
15285         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15286
15287         * tabular.C (SetWidthOfCell): fixed special case where the width
15288         was not updated!
15289         (LeftLine): handle '|' in align_special.
15290         (RightLine): ditto
15291         (LeftAlreadyDrawed): ditto
15292         (SetWidthOfCell): ditto
15293
15294 2001-08-07  Juergen Vigna  <jug@sad.it>
15295
15296         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15297
15298 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15299
15300         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15301         * lyxlex.[hC]: ditto
15302
15303 2001-08-06  Juergen Vigna  <jug@sad.it>
15304
15305         * text.C (getVisibleRow): fix up row clearing a bit.
15306
15307 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15308
15309         * minibuffer.C: make sure the X server sees the changes in the input.
15310
15311 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15312
15313         * paragraph.C (getFont): split into...
15314         (getLabelFont): this
15315         (getLayoutFont): and this
15316         * paragraph_pimpl.C (realizeFont): calling this
15317
15318         * text2.C (getFont): split into...
15319         (getLayoutFont): this
15320         (getLabelFont): and this
15321         (realizeFont): all three calling this
15322
15323         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15324         files where used.
15325
15326 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15327
15328         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15329
15330 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15331
15332         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15333         layouts from the Quote inset insertion.
15334
15335 2001-08-03  Juergen Vigna  <jug@sad.it>
15336
15337         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15338
15339         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15340         only if status not is already CHANGED_IN_DRAW (second level).
15341
15342         * text.C (draw): don't set the need_break_row when inside an
15343         InsetText LyXText.
15344
15345 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15346
15347         * buffer.C (parseSingleLyXformat2Token): handle more latex
15348         conversion cases.
15349
15350         * bufferview_funcs.[hC]: change function names to
15351         begin with small char, adjust other files.
15352
15353 2001-08-02  André Pönitz <poenitz@gmx.net>
15354
15355         * lyxfunc.C:
15356         BufferView_pimpl.C: remove broken special code for math-greek
15357
15358 2001-08-02  Juergen Vigna  <jug@sad.it>
15359
15360         * BufferView_pimpl.C (update): redone this function so that we
15361         update the text again if there was a CHANGE_IN_DRAW.
15362
15363         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15364         (drawFromTo): added a new internal bool which is used by draw() and
15365         redraw() function.
15366         (general): some cursor drawing problems fixed.
15367
15368 2001-08-01  Juergen Vigna  <jug@sad.it>
15369
15370         * lyxfind.C (LyXFind): fixed
15371         (SearchForward): ditto
15372         (SearchBackward): ditto
15373
15374         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15375         spurius drawing of the cursor in the main area.
15376
15377         * text2.C (status): small fix which could lead to a segfault!
15378         (clearSelection): remove unneeded BufferView param.
15379
15380 2001-08-01  André Pönitz <poenitz@gmx.net>
15381
15382         * lyxfunc.C: small change due to changed mathed interface
15383
15384 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15385
15386         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15387
15388 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15389
15390         * lyxfunc.c: fail gracefully if file doesn't exist
15391
15392         * LyXSendto.C:
15393         * buffer.C:
15394         * lyxfunc.C:
15395         * BufferView_pimpl.C: IsDirWriteable() proto changed
15396
15397         * LyXView.C: fix updateWindowTitle() to store the last title
15398
15399 2001-07-31  Juergen Vigna  <jug@sad.it>
15400
15401         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15402         the font (wrong since using of Paragraph::highestFontInRange).
15403
15404         * paragraph.C (highestFontInRange): added a default_size parameter.
15405
15406         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15407         (setHeightOfRow): reformat
15408
15409 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15410
15411         * converter.[hC] + affected files: move to (inital-char)lowercase
15412         function names.
15413
15414         * ParagraphParameters.C (ParagraphParameters): remove commented code
15415
15416         * PainterBase.[Ch]: remove commented code
15417
15418         * LaTeXFeatures.h: add "bool floats" for float.sty
15419
15420         * LaTeXFeatures.C (LaTeXFeatures): init floats
15421         (require): handle float
15422         (getPackages): do it with floats
15423
15424 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15425
15426         * BufferView_pimpl.C (Dispatch): improve handling of
15427         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15428
15429         * commandtags.h: #include lyxfont.h here temporarily to avoid
15430         keybinding bug.
15431
15432         * bufferlist.h: include LString.h here.
15433
15434 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15435
15436         * text2.C (getStringToIndex): new method.
15437
15438 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15439
15440         * *: Reduced header file dependencies all over.
15441
15442 2001-07-30  Baruch Even  <baruch@lyx.org>
15443
15444         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15445
15446 2001-07-29  Baruch Even  <baruch@lyx.org>
15447
15448         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15449
15450 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15451
15452         * ParameterStruct.h (endif): add a default constructor to make
15453         sure that all variables is initialized.
15454
15455         * ParagraphParameters.C (ParagraphParameters): adjust
15456
15457 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15458
15459         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15460         index; also, check that there is something to index, and that it
15461         does not span over several paragraphs.
15462         (doubleClick): use WHOLE_WORD_STRICT for double click.
15463
15464         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15465
15466         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15467         scheme.
15468
15469 2001-07-26  Baruch Even  <baruch@lyx.org>
15470
15471         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15472         an InsetFig figure, backwards compatible reading of old figure code.
15473
15474 2001-07-27  Juergen Vigna  <jug@sad.it>
15475
15476         * text2.C: font.realize function adaption.
15477
15478         * text.C (draw): add a warnings lyxerr text if needed.
15479
15480         * layout.C: font.realize function adaption.
15481
15482         * language.C: add inherit_language and implement it's handlings
15483
15484         * bufferview_funcs.C (StyleReset): remove language parameter from
15485         font creation (should be language_inherit now).
15486
15487         * bufferparams.C (writeFile): handle ignore_language.
15488
15489         * paragraph.C (getFontSettings): the language has to be resolved
15490         otherwise we have problems in LyXFont!
15491
15492         * lyxfont.C (lyxWriteChanges): added document_language parameter
15493         (update): removed unneeded language parameter
15494
15495         * paragraph.C (validate): fixed wrong output of color-package when
15496         using interface colors for certain fonts in certain environments,
15497         which should not seen as that on the final output.
15498
15499 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15500
15501         * BufferView_pimpl.C:
15502         * Thesaurus.h:
15503         * Thesaurus.C:
15504         * Makefile.am:
15505         * commandtags.h:
15506         * LyXAction.C: add thesaurus support
15507
15508         * lyxfind.h:
15509         * lyxfind.C: add "once" parameter, for thesaurus, to not
15510           move to the next match
15511
15512 2001-07-26  Juergen Vigna  <jug@sad.it>
15513
15514         * lyxfont.C (realize): honor ignore_language too!
15515         (resolved): ditto.
15516
15517         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15518
15519         * text.C (draw): one place more for ignore_language to not draw
15520         itself!
15521
15522 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15523
15524         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15525
15526 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15527
15528         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15529         the minipage conversion problem.
15530
15531 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15532
15533         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15534         insert an inset.
15535
15536 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15537
15538         * BufferView.h: don't forward declare WorkArea
15539
15540         * BufferView.C: don't include WorkArea.h
15541
15542 2001-07-25  André Pönitz <poenitz@gmx.net>
15543
15544         * commandtags.h:
15545         * LyXAction.C:
15546         * lyxfunc.C:  new LFUN 'math-space'
15547
15548         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15549
15550 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15551
15552         * text2.C (toggleInset): call open/close
15553
15554 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15555
15556         * lyxfunc.C (dispatch): add debug for the disabled case
15557
15558         * font.C (buttonText): make similar to rectText
15559
15560         * buffer.C (readInset): comment out parsing of insetlist and
15561         insttheorem
15562
15563         * PainterBase.C (rectText): small correction
15564
15565         * BufferView_pimpl.C: comment out insettheorem and insetlist
15566         * LyXAction.C: ditto
15567         * commandtags.h: ditto
15568
15569 2001-07-24  Juergen Vigna  <jug@sad.it>
15570
15571         * text.C (draw): honor the ignore_language.
15572
15573         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15574
15575 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15576
15577         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15578         char inset.
15579
15580 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15581
15582         * lyxtext.h: remove unused (and unimplemented) methods
15583
15584 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15585
15586         * text.C (getVisibleRow): honor background color
15587
15588         * PainterBase.h:
15589         * Painter.h: remove default color argument for fillRectangle
15590
15591         * text.C (backgroundColor): new method
15592
15593 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15594
15595         * text.C (getVisibleRow): adjust
15596
15597         * font.[Ch] (rectText): new method, metrics
15598         (buttonText): new method, metrics
15599
15600         * PainterBase.[hC]: make rectText and buttonText always draw and take
15601         fewer paramteres.
15602
15603 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15604
15605         * ToolbarDefaults.C (read):
15606         * MenuBackend.C (read): allow escaping in all strings
15607
15608         * BufferView_pimpl.C (insertAndEditInset): new method.
15609         (Dispatch): use insertAndEditInset whenever appropriate.
15610
15611         * BufferView_pimpl.C (insertNote): removed
15612
15613         * BufferView_pimpl.C (smartQuote): new method, moved from
15614         BufferView; if an insetquote cannot be inserted, insert a '"'
15615         character instead.
15616
15617         * BufferView2.C: remove insertCorrectQuote();
15618
15619         * lyxfunc.C (getStatus): Add support for all remaingin
15620         inset-insert lfuns.
15621
15622         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15623
15624         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15625         command (necessary to pass " as parameter of self-insert.
15626
15627         * text.C (selectWordWhenUnderCursor):
15628         (selectWord): add word_location parameter
15629         (selectWordWhenUnderCursor): same + remove special code for word
15630         boundary.
15631         (selectNextWord): use kind() to guess type of insetspecialchar,
15632         not latex().
15633
15634         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15635         (insertErtContents): create ert insets as collapsed.
15636         (readInset): better compatibility code for Info inset.
15637
15638 2001-07-20  Juergen Vigna  <jug@sad.it>
15639
15640         * lyxfunc.C (dispatch): use always LyXFind now!
15641
15642         * text2.C (init): add a reinit flag so that the LyXText can be
15643         reinited instead of deleted and reallocated (used in InsetText).
15644
15645         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15646
15647         * text.C: ditto
15648
15649         * text2.C: ditto
15650
15651 2001-07-18  Juergen Vigna  <jug@sad.it>
15652
15653         * text.C (selectNextWord): handle insets inside inset by calling
15654         always the bv->text functions so that we can go up the_locking_inset!
15655
15656         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15657         in strange locations when inside an inset!
15658
15659         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15660         handling to include insets.
15661
15662         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15663
15664 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15665
15666         * LyXAction.C (init):
15667         * commandtags.h:
15668         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15669         LIGATURE_BREAK, since the name is so stupid.
15670
15671 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15672
15673         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15674         InsetInfos.
15675
15676         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15677
15678         * sp_form.[Ch]: remove.
15679
15680         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15681
15682         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15683         InsetInfo.
15684
15685         * src/buffer.C (readInset): ditto.
15686
15687 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15688
15689         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15690         menuSeparator(), endOfSentenceDot(), ldots() and
15691         hyphenationPoint(), which are therefore removed.
15692         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15693
15694         * LyXAction.C (init):
15695         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15696
15697         * paragraph.C (getWord): removed.
15698
15699         * BufferView_pimpl.C (Dispatch): use last word or selection for
15700         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15701
15702         * lyx_main.C (queryUserLyXDir): do not ask before creating
15703         user_dir, except if it has been named explicitely.
15704
15705 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15706
15707         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15708         a document of zero size.
15709
15710 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15711
15712         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15713         approriately in the c-tor and in require().
15714         (getPackages): output the appropriate LaTeX for natbib support.
15715
15716         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15717         variables "use_natbib" and "use_numerical_citations" when reading the
15718         LyX file.
15719         (readInset): read the various natbib cite commands.
15720         (validate): white-space change.
15721
15722         * bufferparams.[Ch]: new variables "bool use_natbib" and
15723         "bool use_numerical_citations".
15724         (writeFile): output them in the LyX file.
15725
15726 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15727
15728         * lyxfunc.C (getStatus): add support for all the inset insertion
15729         commands.
15730
15731         * text2.C (insertInset):
15732         * paragraph.C (insetAllowed):
15733         * BufferView_pimpl.C (insertInset): update to take in account the
15734         renaming of insertInsetAllowed
15735
15736         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15737
15738         * text2.C (getInset): new method. returns inset at cursor position.
15739
15740         * BufferView_pimpl.C (Dispatch): changes because of this.
15741
15742         * LyXAction.C (init): rename open-stuff to inset-toggle.
15743
15744         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15745
15746         * text2.C (toggleInset): renamed from openStuff; use
15747         Inset::open().
15748
15749 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15750
15751         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15752
15753         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15754
15755 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15756
15757         * buffer.C (readLyXformat2): Add filename to the error dialog
15758
15759 2001-07-18  Juergen Vigna  <jug@sad.it>
15760
15761         * tabular.C (GetCellNumber): put an assert here instead of the check!
15762
15763 2001-07-17  Juergen Vigna  <jug@sad.it>
15764
15765         * BufferView_pimpl.C (toggleSelection): adapted too.
15766
15767         * text.C (selectNextWord): adapted for use with insets.
15768         (selectSelectedWord): ditto
15769
15770 2001-07-17  Juergen Vigna  <jug@sad.it>
15771
15772         * sp_spell.C (PSpell): fix initialitation order.
15773
15774 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15775
15776         * paragraph.C: spacing
15777
15778 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15779
15780         * sp_spell.C: repair language selection for pspell
15781
15782 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15783
15784         * lyxfunc.h: change more methods to begin with lower char.
15785
15786 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15787
15788         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15789         for unknown layouts.
15790
15791 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15792
15793         * buffer.C (readLyXformat2): Generate an error dialog if there are
15794         unknown layouts.
15795
15796 2001-07-16  Juergen Vigna  <jug@sad.it>
15797
15798         * sp_spell.C: always compile ISpell part.
15799
15800         * lyxrc.C: added use_pspell entry and it's handling.
15801
15802 2001-07-13  Juergen Vigna  <jug@sad.it>
15803
15804         * sp_spell.C: removed double includes.
15805
15806 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15807
15808         Consistent use of Lsstream.h:
15809         * Lsstream.h: added using std::stringstream for consistencies sake.
15810
15811         * buffer.C: removed using std::stringstream
15812
15813         * lyxfont.C (stateText):
15814         * paragraph.C (asString):
15815         * text.C (selectNextWord, selectSelectedWord):
15816         * text2.C (setCounter):
15817         * vspace.C (asString, asLatexString):
15818         std::ostringstream -> ostringstream.
15819
15820 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15821
15822         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15823         * commandtags.h: add LFUN_HELP_ABOUTLYX
15824         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15825
15826 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15827
15828         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15829         cursorToggle()
15830         * lyx_gui_misc.C: remove spellchecker
15831         * lyxfunc.C: showSpellchecker
15832         * sp_base.h: added
15833         * sp_ispell.h: added
15834         * sp_pspell.h: added
15835         * sp_spell.C: added
15836         * sp_form.[Ch]: removed
15837         * spellchecker.[Ch]: removed
15838
15839 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15840
15841         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15842         is set.
15843         (simpleTeXSpecialChars): Simply print the input character without
15844         any special translation if pass_thru is set.
15845
15846         * layout.h: Added bool pass_thru to layout class for being able to
15847         implement pass through of a paragraph for Literate Programming.
15848
15849         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15850         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15851         * layout.C (Read): add "passthru" to list of layout tags and add
15852         code to set the pass_thru boolean when it is read.
15853
15854 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15855
15856         * trans_decl.h: remove allowed from KmodInfo
15857
15858         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15859         remove allowed code
15860         (Load): adjust
15861
15862         * paragraph_pimpl.C (erase): use boost::prior
15863
15864         * Painter.C (text): use data() instead of c_str() when length is
15865         also provided.
15866         * WorkArea.C (putClipboard): ditto
15867         * font.h (width): ditto
15868
15869         * BufferView2.C: use it-> instead of (*it). for iterators
15870         * texrow.C: ditto
15871         * paragraph_pimpl.C: ditto
15872         * paragraph.C: ditto
15873         * minibuffer.C: ditto
15874         * language.C: ditto
15875         * kbmap.C: ditto
15876         * encoding.C: ditto
15877         * counters.C: ditto
15878         * converter.C: ditto
15879         * chset.C: ditto
15880         * Variables.C: ditto
15881         * TextCache.C: ditto
15882         * MenuBackend.C: ditto
15883         * LyXAction.C: ditto
15884         * LColor.C: ditto
15885         * FloatList.C: ditto
15886         * DepTable.C: ditto
15887         * ColorHandler.C (LyXColorHandler): ditto
15888
15889 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15890
15891         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15892
15893         * text2.C (openStuff): reintroduce this method (which had been
15894         nuked in NEW_INSETS frenzy).
15895
15896         * lyxfunc.C (Dispatch): when an action has not been handled, use
15897         its name in the error message, not its number.
15898
15899         * paragraph.C (inInset): change method name to begin with lowercase.
15900
15901         * undo_funcs.C:
15902         * text2.C: updates because of this.
15903
15904 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15905
15906         * ToolbarDefaults.C (add): add spaces in error message
15907
15908 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15909
15910         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15911         (readLyXformat2): rename return_par to first_par, use lyxlex's
15912         pushToken and remove the manual push handling.
15913         (parseSingleLyXformat2Token): add another ert comp. variable:
15914         in_tabular, rename return_par to first_par. handle newlines better
15915
15916 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15917
15918         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15919
15920 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15921
15922         * text2.C (getParFromID): removed
15923
15924         * buffer.C (getParFromID): new method moved form lyxtext.
15925         * BufferView2.C (insertErrors): adjust
15926         (setCursorFromRow): adjust
15927         * BufferView_pimpl.C (restorePosition): adjust
15928         * lyxfunc.C (Dispatch): adjust
15929         * undo_funcs.C (textUndo): adjust
15930         (textRedo): adjust
15931         (textHandleUndo): adjust
15932         (textHandleUndo): adjust
15933
15934 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15935
15936         * buffer.C: up' the LYX_FORMAT
15937
15938         * lyxfont.h: turn NO_LATEX on as default
15939
15940         * buffer.C (insertErtContents): new methods of tex style compability.
15941         (parseSingleLyXformat2Token): use it several places.
15942         * tabular.C (OldFormatRead): and here
15943
15944 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15945
15946         * text2.C: remove some commented code.
15947         reindent file.
15948
15949         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15950         * trans.C: changes because of the above.
15951
15952 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15953
15954         * text2.C (setCounter): Fix counters bug with bibliography layout.
15955
15956 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15957
15958         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15959         own member functions
15960         (simpleTeXSpecialChars): ditto
15961
15962 2001-07-06  Juergen Vigna  <jug@sad.it>
15963
15964         * a lot of files: changed the access to LyXText::status and the
15965         call of undo-functions.
15966
15967         * undo.[Ch]: added a inset_id to the undo informations.
15968
15969         * undo_funcs.[Ch]: added and moved here all undo functions.
15970
15971         * lyxtext.h: give the status enum a weight, made status_ a private
15972         variable and made accessor functions for it, removed the whole bunch
15973         of undo-functions as they are now in their own file, make some
15974         functions publically available. Added function ownerParagraph with
15975         int parameter.
15976
15977         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15978         made InInset() a const function, added getParFromID() function.
15979
15980         * buffer.[Ch]: added const version for inset_iterator functions,
15981         added getInsetFromID() function.
15982
15983         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15984         changed undo functions for new version.
15985
15986 2001-07-05  Juergen Vigna  <jug@sad.it>
15987
15988         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15989         unknow mechanism does not call the proper constructor but only this
15990         one also if I request the other!?
15991
15992 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15993
15994         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15995
15996         * text2.C (LyXText): use initialization lists.
15997
15998         * lyxtext.h (Selection): initialize set_ and mark_
15999         (init): remove method
16000
16001 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16002
16003         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16004
16005 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16006
16007         * screen.[Ch]: change method names to begin with lowercase
16008
16009         * BufferView_pimpl.C (updateScrollbar): simplify further and
16010         hopefully make it a bit faster.
16011
16012 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16013
16014         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16015         calling directly xforms functions.
16016
16017         * Painter.C (Painter):
16018         * lyx_cb.C (MenuWrite):
16019         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16020         fl_display.
16021
16022         * lyx_gui.C: remove bogus guiruntime extern declaration.
16023
16024 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16025
16026         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16027         in NEW_INSETS
16028         (redoDrawingOfParagraph): ditto
16029         (redoParagraphs): ditto
16030         (cutSelection): don't create a object for CutAndPaste use the
16031         static method directly
16032         (pasteSelection): ditto
16033
16034         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16035         LyXview (+ rename)
16036
16037 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16038
16039         * modifications to some other files because of this.
16040
16041         * Makefile.am (lyx_SOURCES): add XFormsView
16042
16043         * XFormsView.[Ch]: new files
16044
16045         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16046         the main window. Move the gui dependent stuff to XFormsView
16047
16048 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16049
16050         * tabular.C (GetCellInset): update cur_cell also in the row/col
16051         version of this function.
16052
16053         * lyxfunc.C: no need to include figure_form.h here.
16054
16055         * FontLoader.h:
16056         * lyxfunc.h:
16057         * lyxscreen.h:
16058         * text2.C:
16059         * lyxvc.C: no need to include forms.h here.
16060
16061 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16062
16063         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16064
16065         * lyxfunc.C (Dispatch):
16066         * Spacing.C (set):
16067         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16068         constructor argument.
16069
16070 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16071
16072         * paragraph.C (Paragraph): dont't clear, and just set layout.
16073         (makeSameLayout): use params's copy contructor.
16074
16075         * ParagraphParameters.[Ch] (makeSame): delete method
16076
16077 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16078
16079         * Variables.[Ch]: fix indentation, rename set to isSet
16080
16081 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16082
16083         * lyxfunc.C (Dispatch): fix typo
16084
16085 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16086
16087         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16088         upper_bound.
16089
16090         * bufferlist.C: include assert.h for emergencyWrite().
16091
16092 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16093
16094         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16095           give up at last (bug #425202) !
16096
16097 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16098
16099         * lyx_gui_misc.C:
16100         * sp_form.h:
16101         * sp_form.C:
16102         * spellchecker.h:
16103         * spellchecker.C: strip spellchecker options and bring up
16104           preferences tab instead
16105
16106 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16107
16108         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16109         the istringstream constructor
16110
16111 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16112
16113         * paragraph.C (getLayout): fix return value
16114
16115         * paragraph.h: do not declare getLayout as inline.
16116
16117         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16118
16119 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16120
16121         * lyxcursor.h (operator<): new func
16122         (operator>): new func
16123         (operator>=): new func
16124         (operator<=): new func
16125
16126         * text.C (changeCase): use selection.start and selection.end
16127         (changeRegionCase): require from to be <= to. Require par to be a
16128         valid paragraph.
16129
16130         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16131
16132 2001-06-27  Juergen Vigna  <jug@sad.it>
16133
16134         * text.C (cursorLeftOneWord): changed to return the cursor and added
16135         overlay with BufferView * parameter which calls this one.
16136         (getWord): added
16137         (selectWord): use new getWord function.
16138         (changeCase): renamed from changeWordCase as and extended to work
16139         also on selections.
16140
16141         * lyxtext.h: added enum word_location
16142
16143         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16144         changeCase as this operates now also on selections.
16145
16146 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16147
16148         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16149
16150         * many files: send debug output to Debug::INFO instead of
16151         Debug::ANY.
16152
16153         * converter.C (View):
16154         (Convert):
16155         (Move): send debug output to Debug::FILES instead of console.
16156
16157 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16158
16159         * lyxfunc.C (getStatus): use func_status
16160
16161         * func_status.h: new header, describing the results of
16162         LyXFunc::getStatus;
16163
16164         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16165         LFUN_MATH_HALIGN.
16166
16167 2001-06-25  The LyX Project  <jug@sad.it>
16168
16169         * buffer.C (sgmlOpenTag):
16170         (sgmlCloseTag):
16171         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16172
16173 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16174
16175         * text2.C: remove some dead code
16176
16177         * tabular.C (GetCellInset): store the last cell checked (gotten)
16178
16179         * tabular.h: add the helper for the speedup
16180
16181         * lyxtext.h: remove some dead code
16182
16183 2001-06-26  The LyX Project  <Asger>
16184
16185         * paragraph.C: Change export to LaTeX of alignment to
16186         \begin{center} and family for better roundtrip work with reLyX.
16187
16188         * Tune the math drawing a bit.
16189
16190 2001-06-25  The LyX Project  <Asger>
16191
16192         * LColor.C (LColor): New color for math background. New color
16193         for buttons.
16194
16195 2001-06-25  The LyX Project  <jug@sad.it>
16196
16197         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16198
16199         * lyxfunc.C (Open):
16200         * bufferlist.C (newFile): do not restrict to files ending with
16201         .lyx
16202
16203         * BufferView_pimpl.C (MenuInsertLyXFile):
16204
16205 2001-06-24  The LyX Project  <jug@sad.it>
16206
16207         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16208         of compare_no_case
16209
16210 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16211
16212         * lyxtext.h: rename most methods to begin with a small char.
16213         Lots of changes because of this.
16214
16215         * paragraph.C (Paragraph): do not call fitToSize
16216         (erase): call Pimpl::erase
16217         (insertChar): call Pimpl::insertChar
16218         (insertInset): call Pipl::insertInset
16219         (breakParagraph): do not call fitToSize
16220         (breakParagraphConservative): do not call fitToSize
16221         (fitToSize): remove method
16222
16223         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16224
16225 2001-06-24  The LyX Project  <Asger>
16226
16227         * Fix Qt compilation^2
16228
16229 2001-06-24  The LyX Project  <jug@sad.it>
16230
16231         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16232         depthHook(getDepth()-1).
16233
16234         * paragraph.h:
16235         * ParagraphParameters.h:
16236         * ParameterStruct.h: change type of depth to unsigned int ==
16237         depth_type. Many adaptations to other files before of that.
16238
16239 2001-06-24  The LyX Project  <Asger>
16240
16241         * Fix Qt compilation.
16242
16243 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16244
16245         * paragraph.h: renamed several methods to begin with small letter.
16246         several changes to many parts of the code because of this.
16247
16248 2001-06-23  The LyX Project  <jug@sad.it>
16249
16250         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16251         rewritten to discard all double spaces when KeepEmpty is off
16252         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16253         to only handle newlines but not fiddle with spaces and friends.
16254
16255         * lyxfunc.C (MenuNew): when doing 'new from template', use
16256         template_path as default directory
16257
16258 2001-06-23  The LyX Project  <Asger>
16259
16260         * Clean-up of header file includes all over
16261         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16262
16263 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16264
16265         * paragraph.h: renamed from lyxparagraph.h
16266
16267 2001-06-23  Asger  <lyx@violet.home.sad.it>
16268
16269         * Buffer.h: Removed Buffer::resize
16270         * BufferList.h: Removed BufferList::resize
16271         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16272         the document lazily when we change the width, or the font settings.
16273
16274 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16275
16276         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16277
16278 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16279
16280         * buffer.h: remove out of date comment
16281
16282 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16283
16284         * lyxscreen.h:
16285         * screen.C: fix "theoretical" GC leak
16286
16287 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16288
16289         * LaTeX.C (scanAuxFile):
16290         (deplog): remove trailing \r when reading stream (useful under
16291         win32)
16292
16293 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16294
16295         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16296         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16297         and BufferView::theLockingInset(Inset*), so should use them and not
16298         access bv_->text->the_locking_inset directly.
16299
16300         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16301
16302 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16303
16304         * Makefile.am:
16305         * tex-defs.h: remove old unused file
16306
16307 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16308
16309         * BufferView_pimpl.C: fix typo, remove minibuffer message
16310           when buffer has loaded
16311
16312 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16313
16314         * lyxfunc.C (Dispatch): use stringstream
16315         (MenuNew): use stringstream
16316         (Open): use stringstream
16317
16318         * importer.C (Import): use stringstream
16319
16320         * bufferview_funcs.C (CurrentState): use stringstream
16321
16322         * LaTeX.C (run): use stringstream
16323
16324         * BufferView_pimpl.C (savePosition): use stringstream
16325         (restorePosition): use stringstream
16326         (MenuInsertLyXFile): use stringstream
16327
16328 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16329
16330         * BufferView.C:
16331         * Bullet.C:
16332         * ColorHandler.C:
16333         * FontInfo.C:
16334         * FontLoader.C:
16335         * LColor.C:
16336         * LaTeXFeatures.C:
16337         * Painter.C:
16338         * gettext.C:
16339         * lyx_gui_misc.C:
16340         * lyxserver.C:
16341         * vspace.C: removed // -*- C++ -*- as first line.
16342
16343         * lyxfind.h:
16344         * version.h: added // -*- C++ -*- as first line.
16345
16346 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16347
16348         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16349
16350         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16351         of string
16352
16353 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16354
16355         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16356         of floats.
16357
16358 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16359
16360         * gettext.C: include LString.h even when --disable-nls is on.
16361
16362 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16363
16364         * converter.h (Get): changed argument type from int to
16365         FormatList::size_type to avoid unnecessary conversion.
16366
16367         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16368         before using it.
16369
16370 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16371
16372         * gettext.h: include LString.h even when --disable-nls is on.
16373
16374 2001-06-07  Juergen Vigna  <jug@sad.it>
16375
16376         * text.C (BreakAgain): subst spaces with tabs.
16377
16378         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16379         (resizeInsetsLyXText): set force on resizeLyXText.
16380
16381 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16382
16383         * gettext.h (gettext_init):
16384         (locale_init): use a real definition instead of a macro
16385
16386 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16387
16388         * Bufferview_pimpl.C:
16389         * LColor.h:
16390         * LColor.C: further lcolor tidies
16391
16392 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16393
16394         * BufferView_pimpl.C (updateScrollbar): simplify.
16395
16396         * BufferView2.C: don't include insets/insetinfo.h, change
16397         prototype for insertInset and call the Pimpl version. let
16398         updateInset call Pimpl version.
16399
16400         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16401         gotoInset to BufferView::Pimpl
16402
16403 2001-06-01  Juergen Vigna  <jug@sad.it>
16404
16405         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16406         inside a LockingInset (is the update needed at all?).
16407
16408 2001-05-31  Juergen Vigna  <jug@sad.it>
16409
16410         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16411         here not the old one otherwise how should we compare it afterwards
16412         if it's the same!
16413
16414 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16415
16416         * lyxfont.C:
16417         * tabular.C:
16418         * tabular-old.C:
16419         * FontInfo.C: bring C functions into global namespace when
16420         necessary
16421
16422 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16423
16424         * LString.h: make sure config.h has been loaded before LString.h.
16425
16426         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16427         (one for each char read by EatLine!).
16428
16429         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16430         variables.
16431
16432 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16433
16434         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16435         to the same as the par we break from
16436
16437 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16438
16439         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16440
16441         * MenuBackend.C (expand): also create menu entries for wide
16442         versions of the floats.
16443
16444         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16445
16446         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16447
16448         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16449         frontends/Makefile.am
16450
16451         * text2.C: adjust
16452         * text.C: adjust
16453
16454
16455         * tabular.C (getTokenValue): add std::
16456
16457         * tabular-old.C (getTokenValue): add std::
16458         (getTokenValue): ditto
16459         (getTokenValue): ditto
16460
16461         * screen.C (ToggleSelection): adjust
16462
16463         * lyxtext.h: put selection cursors inside a Selection struct.
16464
16465         * lyxfunc.C (moveCursorUpdate): adjust
16466
16467         * lyxfont.C (latexWriteStartChanges): add std::
16468
16469         * lyxfind.C: adjust
16470
16471         * font.h: delete with(char const *, LyXFont const &)
16472
16473         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16474
16475         * FontInfo.C (getFontname): add std::
16476
16477         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16478         (workAreaButtonPress): adjust
16479         (tripleClick): adjust
16480         (update): adjust
16481         (moveCursorUpdate): adjust
16482         (Dispatch): adjust
16483
16484         * BufferView2.C (gotoInset): adjust
16485
16486 2001-05-30  Juergen Vigna  <jug@sad.it>
16487
16488         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16489         to check pspell I add this as default as I now have new pspell
16490         libraries and they seem to use this.
16491
16492 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16493
16494         * text2.C (CutSelection): make the cursor valid before the call to
16495         ClearSelection.
16496
16497 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16498
16499         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16500         relied on 0 terminated strings and other horrors. Bug found due to
16501         the new assert in lyxstring!
16502
16503         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16504         KP_ keys.
16505
16506 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16507
16508         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16509         to latinkeys.bind.
16510
16511         * lyxfunc.C (processKeySym): change method of getting to the
16512         self-insert char.
16513
16514         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16515         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16516         * BufferView_pimpl.[Ch]: here as private methods.
16517
16518 2001-05-28  Juergen Vigna  <jug@sad.it>
16519
16520         * text.C (SetHeightOfRow): added the update() call again as it is
16521         needed to initialize inset dimensions!
16522
16523 2001-05-16  Juergen Vigna  <jug@sad.it>
16524
16525         * text2.C (SetCharFont): Add new function with BufferView * and
16526         bool toggleall parameters for setting insets internal fonts.
16527         (SetFont): Freeze the undo as we may change fonts in Insets and
16528         all this change should be inside only one Undo!
16529
16530         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16531         setting font's in insets as for them we have the SetFont function!
16532
16533 2001-05-15  Juergen Vigna  <jug@sad.it>
16534
16535         * text2.C (ClearSelection): to be sure we REALLY don't have any
16536         selection anymore!
16537
16538         * tabular.C (TeXCellPreamble): fixed the left border problem for
16539         multicolumn cells.
16540
16541 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16542
16543         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16544         dependancy file
16545
16546 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16547
16548         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16549         LFUN_BREAKPARAGRAPH.
16550
16551         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16552         help test to "internal only", similar for LFUN_INSERT_URL
16553
16554         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16555         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16556         auto_region_delete and deadkeys.
16557
16558 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16559
16560         * LColor.h:
16561         * LColor.C: remove some dead entries, tidy a little
16562
16563 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16564
16565         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16566         commented code.
16567         (Dispatch): implement LFUN_ESCAPE
16568
16569         * commandtags.h: add LFUN_ESCAPE
16570
16571         * LyXAction.C (init): add entry for LFUN_ESCAPE
16572
16573         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16574         Remove commented code.
16575         (insertNote): moved here
16576         (open_new_inset): moved here
16577
16578         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16579         BufferView_pimpl
16580
16581 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16582
16583         * kbmap.C (findbinding): clean it up and make it work correctly.
16584
16585         * lyx_main.C (init): do not pass argc and argv as parameters
16586
16587 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16588
16589         * buffer.C: fix path for OS/2 & Win32
16590
16591         * lyx_gui.C:
16592         * lyx_main:
16593         * lyx_main.C: Added os:: class.
16594
16595         * os2_defines.h: update
16596
16597 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16598
16599         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16600         better by trying again with reduced state.
16601
16602 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16603
16604         * lyxrc.C (read): print error about invalid key sequence only when
16605         debugging (because not all latinX keysyms are known to some X
16606         servers)
16607
16608         * kbsequence.C (getiso): add a few std:: qualifiers
16609         (getiso): comment out extra return statement.
16610
16611 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16612
16613         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16614         handling.
16615         (Dispatch): enhance the accent inset a bit. (not perfect)
16616
16617 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16618
16619         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16620
16621 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16622
16623         * bufferlist.C (emergencyWrite): fix assert() call
16624
16625 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16626
16627         * text.C (InsertChar): Added trivial patch to only send the "you
16628         can not do multiple spaces this way" message once during a
16629         session.
16630
16631 2001-05-08  Baruch Even  <baruch@lyx.org>
16632
16633         * Makefile.am: Changed order of libraries to get LyX to link properly
16634         with the gnome frontend.
16635
16636 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16637
16638         * LaTeXFeatures.h: add a std:: qualifier
16639
16640 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16641
16642         * paragraph.C (String): use stringstream
16643
16644 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16645
16646         * paragraph.C (writeFile): remove footflag arg
16647
16648         * buffer.C (makeLaTeXFile): use stringstream
16649         (latexParagraphs): remove footnot gurba
16650
16651         * LaTeXFeatures.C (getPackages): use stringstream
16652         (getMacros): likewise
16653         (getTClassPreamble): likewise
16654         (getFloatDefinitions): new method
16655
16656         * paragraph.C (writeFile): reindent
16657         (Erase): reindent
16658
16659         * WorkArea.h: revert the xpos + etc changes.
16660
16661         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16662
16663         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16664
16665         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16666         (pasteSelection): likewise
16667         * text2.C (CreateUndo): likewise
16668
16669 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16670
16671         * minibuffer.C (peek_event): temporarily reduce the functionality
16672         of the minibuffer (to allow args on lfuns)
16673
16674         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16675         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16676
16677         * buffer.C (readInset): add compability reading of old float
16678         lists, add reading of new style float list.
16679         (readInset): avoid reevaluation of inscmd.getCmdName()
16680         (getLists): reindent
16681
16682         * MenuBackend.C (MenuItem): implement parsing of
16683         md_floatlistinsert and md_floatinsert.
16684         (expand::LastFiles): move initalizaton of iterators out of loop,
16685         avoid reevaluation.
16686         (expand::Documents): introduce typdedef vector<string> Strings,
16687         and use it.
16688         (expand::ExportFormats): introduce typedef vector<Format const *>
16689         Formats, and use it.
16690         (expand): implement FloatListInsert and FloatInsert.
16691
16692         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16693         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16694         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16695
16696         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16697         handling.
16698         (Dispatch::LFUN_FLOAT_LIST): implement
16699
16700 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16701
16702         * LaTeX.C (run): Fix problem with --export code.
16703
16704 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16705
16706         * BufferView.[Ch] (workarea): removed.
16707         (getClipboard) new method; wrapper for workarea()->getClipboard()
16708
16709         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16710         bug.
16711
16712         * WorkArea.h (width, height, xpos, ypos): These methods all
16713         returned the dimensions of the work_area sub-area of WorkArea,
16714         resulting in a position error if the WorkArea were resized. Now
16715         return the dimensions of the entire WorkArea.
16716
16717         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16718
16719 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16720
16721         * LaTeX.C (deplog): correct the syntax of regex reg1
16722
16723 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16724
16725         * undo.C: remove !NEW_INSETS cruft
16726
16727 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16728
16729         * text2.C: remove !NEW_INSETS cruft
16730
16731         * text.C: remove !NEW_INSETS cruft
16732
16733         * tabular.C: remove !NEW_INSETS cruft
16734
16735         * spellchecker.C: remove !NEW_INSETS cruft
16736
16737         * lyxtext.h: remove !NEW_INSETS cruft
16738
16739         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16740
16741         * lyxfunc.C: remove !NEW_INSETS cruft
16742
16743         * lyxfind.C: remove !NEW_INSETS cruft
16744
16745         * lyx_cb.C: remove !NEW_INSETS cruft
16746
16747         * figureForm.C: remove  !NEW_INSETS cruft
16748
16749         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16750
16751         * buffer.[Ch]: remove !NEW_INSETS cruft
16752
16753         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16754
16755         * CutAndPaste.C: remove !NEW_INSETS cruft
16756
16757         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16758
16759         * BufferView2.C: remove !NEW_INSETS cruft
16760
16761         * BufferView.h: remove !NEW_INSETS cruft
16762
16763 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16764
16765         * Lsstream.h: include LString.h before the sstream headers to
16766         fix problem with gcc 2.95.3 and lyxstring
16767
16768 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16769
16770         * lyx_main.C: add using directives when needed for C functions
16771         declared in std:: namespace.
16772
16773 2001-04-27  Juergen Vigna  <jug@sad.it>
16774
16775         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16776         (SetHeightOfRow): comment out the update call should not be needed!
16777
16778 2001-04-13  Juergen Vigna  <jug@sad.it>
16779
16780         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16781         (LyXTabular): tried to minimize operator= operations (and realized
16782         hopfully Lars wish).
16783
16784 2001-04-27  Juergen Vigna  <jug@sad.it>
16785
16786         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16787
16788 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16789
16790         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16791
16792         * buffer.C (readInset): hack to make listof algorithm work
16793
16794         * BufferView_pimpl.C: hack to make listof algorithm work
16795
16796 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16797
16798         * LyXAction.C: removed all !NEW_INSETS cruft
16799         (init): moved lfun_item in method
16800
16801         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16802
16803 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16804
16805         * BufferView2.C (theLockingInset): white space.
16806
16807 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16808
16809         * minibuffer.C: include <iostream>
16810
16811         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16812
16813         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16814
16815         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16816
16817         * text.[Ch] (TransposeChars): new method
16818
16819 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16820
16821         * call message directly through LyXView instead of through LyXFunc
16822         * BufferView2.C: adjust
16823         * BufferView_pimpl.C: adjust
16824         * FontLoader.C: adjust
16825         * buffer.C: adjust
16826         * bufferview_funcs.C: adjust
16827         * converter.C: adjust
16828         * figureForm.C: adjust
16829         * importer.C: adjust
16830         * lyx_cb.C: adjust
16831         * lyx_gui_misc.C: adjust
16832         * lyxfunc.C: adjust
16833         * lyxvc.C: adjust
16834         * text2.C: adjust
16835         + more files in subdirs
16836
16837         * lyxparagraph.h (size): move up int file
16838         (GetLayout): ditto
16839
16840         * adjust all uses of Assert to lyx::Assert.
16841
16842         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16843         lyxfunctional in namespace lyx
16844         * layout.C (hasLayout): ditto
16845         (GetLayout): ditto
16846         (GetLayout): ditto
16847         (delete_layout): ditto
16848         (NumberOfClass): ditto
16849         * converter.C (GetFormat): ditto
16850         (GetNumber): ditto
16851         (Add): ditto
16852         (Delete): ditto
16853         (SetViewer): ditto
16854         * bufferlist.C (getFileNames): ditto
16855         (emergencyWriteAll): ditto
16856         (exists): ditto
16857         (getBuffer): ditto
16858         * MenuBackend.C (hasSubmenu): ditto
16859         (hasMenu): ditto
16860         (getMenu): ditto
16861         * BufferView_pimpl.C (getInsetByCode): ditto
16862
16863 2001-04-18  Juergen Vigna  <jug@sad.it>
16864
16865         * vspace.C (asLatexString): fixed the 100% problem.
16866
16867 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16868
16869         * lyxfunc.C (Dispatch):
16870         * minibuffer.C:
16871         * minibuffer.h: add a few std:: qualifiers
16872
16873 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16874
16875         * minibuffer.[Ch]: reimplement so that commands is initiated and
16876         run from lyxfunc, simplified som handling, and made the completion
16877         and history code for complete. wip.
16878
16879         * lyxfunc.C (processKeySym): call message
16880         (miniDispatch): new temporary method
16881         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16882         (LFUN_MESSAGE): implement
16883         (LFUN_MESSAGE_PUSH): implement
16884         (LFUN_MESSAGE_POP): implement
16885         (initMiniBuffer): the initial/defualt minibuffer message.
16886
16887         * lyxfont.[Ch]: inline some more getters
16888
16889         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16890
16891         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16892
16893         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16894         (AutoSave): use LFUN_MESSAGE
16895         (Reconfigure): ditto
16896
16897         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16898
16899         * figureForm.C: use LFUN_MESSAGE
16900
16901         * converter.C (runLaTeX): use LFUN_MESSAGE
16902
16903         * bufferview_funcs.C: use LFUN_MESSAGE
16904         (Melt): ditto
16905         (changeDepth): ditto
16906
16907         * bufferparams.h: use boost::
16908
16909         * bufferlist.h: inherit privately from noncopyable
16910
16911         * bufferlist.C (loadLyXFile): remove some commented code.
16912
16913         * buffer.C (runChktex): use LFUN_MESSAGE
16914
16915         * ShareContainer.h: inherit privately from noncopyable
16916
16917         * ParagraphParameters.[hC] (depth): inline it.
16918
16919         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16920         methods.
16921         (message): new method
16922         (messagePush): ditto
16923         (messagePop): ditto
16924         (show): init minibuffer
16925         (showState): direct call
16926
16927         * LaTeX.[Ch]: inherit privately from noncopyable
16928         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16929         instead of WriteStatus.
16930
16931         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16932
16933         * BufferView_pimpl.C (buffer): don't init minibuffer
16934         (workAreaButtonPress): use LFUN_MESSAGE
16935         (workAreaButtonRelease): ditto
16936         (savePosition): ditto
16937         (restorePosition): ditto
16938         (MenuInsertLyXFile): ditto
16939         (workAreaExpose): don't init minibuffer
16940         (update): remove commented code, simplify
16941
16942         * BufferView2.C (openStuff): use LFUN_MESSAGE
16943         (toggleFloat): ditto
16944         (menuUndo): ditto
16945         (menuRedo): ditto
16946         (copyEnvironment): ditto
16947         (pasteEnvironment): ditto
16948         (copy): ditto
16949         (cut): ditto
16950         (paste): ditto
16951         (gotoInset): ditto
16952         (updateInset): remove some commented code
16953
16954         * lastfiles.h: inherit privately from noncopyable
16955         * layout.h: ditto
16956         * lyx_gui.h: ditto
16957         * lyx_main.h: ditto
16958         * lyxlex.h: ditto
16959         * lyxlex_pimpl.h: ditto
16960
16961         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16962         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16963         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16964
16965         * LyXAction.h: inherit privately from noncopyable, add methods
16966         func_begin, func_end, returning iterators to the func map.
16967
16968         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16969         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16970         (func_begin): new method
16971         (func_end): new method
16972
16973         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16974         and not)
16975         (copySelection): ditto
16976         (pasteSelection): ditto
16977
16978         * BufferView.C: whitespace change
16979         * BufferView.h: inherit privately from noncopyable
16980
16981 2001-04-16  Allan Rae  <rae@lyx.org>
16982
16983         * tabular-old.C (l_getline):
16984         * spellchecker.C (sc_check_word):
16985         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16986         an unrecognised preprocessor directive.  So ensure they're wrapped.
16987
16988 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16989
16990         * src/exporter.C (Export): Give an error message when path to file
16991         contains spaces.
16992
16993 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16994
16995         * LaTeX.C (deplog): Always check that foundfile exists.
16996
16997 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16998
16999         * lyx_main.h:
17000         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17001
17002 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17003
17004         * tabular.[Ch] (getLabelList): implement new method
17005
17006         * minibuffer.h: comment ouf setTiimer
17007
17008         * minibuffer.C (ExecutingCB): constify res
17009         (peek_event): constify s
17010         (Set): constify ntext
17011         (Init): constify nicename
17012
17013         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17014
17015         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17016         (savePosition): use two params to Minibuffer::Set
17017         (restorePosition): ditto
17018
17019 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17020
17021         * lyx_main.C: include language.h
17022
17023         * Makefile.am (lyx_main.o): add language.h
17024
17025 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17026
17027         * exporter.C:
17028         * paragraph.C:
17029         * screen.C:
17030         * tabular.C:
17031         * CutAndPaste.C: include gettext.h
17032
17033         * lyxfont.h: remove old hack with ON and OFF.
17034
17035         * lyxparagraph.h:
17036         * lyxfont.h: do not include language.h...
17037
17038         * BufferView2.C:
17039         * LaTeXFeatures.C:
17040         * Painter.C:
17041         * bufferview_funcs.C:
17042         * font.C:
17043         * lyxfont.C:
17044         * text.C:
17045         * text2.C:
17046         * trans_mgr.C:
17047         * paragraph.C: ... but do it here instead
17048
17049 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17050
17051         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17052
17053         * tabular.C: small reformat
17054
17055         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17056         NEW_INSETS version
17057         (GetChar): ditto
17058         (BreakParagraph): ditto
17059         (SetOnlyLayout): ditto
17060         (SetLayout): ditto
17061
17062         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17063         with one arg less.
17064
17065         * lastfiles.C: removed most using decl, add std:: where needed
17066
17067         * buffer.C: ws changes
17068
17069         * MenuBackend.C (class compare_format): put into anon namespace
17070         (expand): constify label, names, action, action2
17071         (expand):
17072
17073         * text.C (SingleWidth): constify font
17074         (IsBoundary): constify rtl2
17075         (GetVisibleRow): constify ww
17076
17077         * LaTeX.C (deplog): constify logfile
17078
17079         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17080         start_x, end_x
17081         (workAreaExpose): constify widthChange, heightChange
17082
17083         * lyxrow.C (par): moved
17084         (height): moved
17085         (next): moved
17086         * lyxrow.h: as inlines here
17087
17088         * lyxfont.h (shape): moved from lyxfont.C
17089         (emph): moved from lyxfont.C
17090
17091         * lyxfont.C (LyXFont): use initialization list for all
17092         constructors
17093         (shape): move to lyxfont.h as inline
17094         (emph): move to lyxfont.h as inline
17095
17096
17097 2001-04-04  Juergen Vigna  <jug@sad.it>
17098
17099         * vspace.C: had to include stdio.h for use of sscanf
17100
17101 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17102
17103         * BufferView.h:
17104         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17105         independent of xforms.
17106
17107 2001-04-02  Juergen Vigna  <jug@sad.it>
17108
17109         * spellchecker.C: fixed namespace placing!
17110
17111 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17112
17113         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17114         the LyXParagraph * is 0.
17115
17116 2001-03-29  Juergen Vigna  <jug@sad.it>
17117
17118         * vspace.C: added support for %, c%, p%, l%.
17119         (stringFromUnit): added helper function.
17120         (asLatexString): changed to give right results for the %-values.
17121
17122         * buffer.C: convert the widthp in a width%.
17123
17124 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17125
17126         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17127         figureForm.[Ch].
17128
17129         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17130         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17131
17132         * lyx_cb.[Ch]: see above.
17133
17134         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17135         form1.[Ch].
17136
17137         * form1.[Ch]:
17138         * lyx.[Ch]: replaced by figure_form.[Ch].
17139
17140         * lyx_gui.C:
17141         * lyx_gui_misc.C:
17142         * lyxfunc.C: changed headers associated with above changes.
17143
17144 2001-03-27  Juergen Vigna  <jug@sad.it>
17145
17146         * BufferView_pimpl.C: set the temporary cursor right!
17147
17148 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17149
17150         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17151
17152 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17153
17154         * LString.h: removed "using std::getline"!
17155
17156         * BufferView_pimpl.C (Dispatch): changes due to changes in
17157         InsetInclude::Params.
17158
17159         * buffer.C (tag_name): removed redundant break statements as they were
17160         producing lots of warnings with my compiler.
17161
17162 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17163
17164         * LString.h: add "using std::getline" when using the real <string>.
17165
17166 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17167
17168         * buffer.C: removed bitset usage.
17169         PAR_TAG moved to an anonymous name space.
17170         (tag_name): new funtion, also in the anonymous namespace.
17171         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17172         (makeDocBookFile): clean code. Completed transition from string arrays
17173         to string vectors.
17174         (SimpleDocBookOnePar): code clean.
17175
17176 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17177
17178         * tabular.C: add some comments.
17179
17180 2001-03-22  Juergen Vigna  <jug@sad.it>
17181
17182         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17183         compatibility read a bit and fixed bug with minipage in different
17184         depth.
17185
17186 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17187
17188         * buffer.C (pop_tag): removed.
17189         (push_tag): removed.
17190         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17191         array replaced with vector. Added support for CDATA sections.
17192         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17193         at any nest level.
17194         (makeDocBookFile): XML conformant declaration of CDATA section,
17195         fixed bug related to <emphasis> in the first paragraph char.
17196         (sgmlOpenTag): exclude empty tags.
17197         (sgmlCloseTag): ditto.
17198
17199         * buffer.h (pop_tag): removed.
17200         (push_tag): removed.
17201
17202 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17203
17204         * language.h (Languages): added size_type and size().
17205
17206 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17207
17208         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17209         response on compability reading of minipages. One probliem is that
17210         the old usage of minipages was «flertydig»
17211
17212         * several files here and in subdirs: don't use static at file
17213         scope use anon namespaces instead.
17214
17215 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17216
17217         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17218         LaTeX output. This is necessary for Literate document
17219         processing.
17220
17221 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17222
17223         * buffer.C: insert hfill when needed.
17224
17225         * tabular.C (l_getline): use string::erase, small whitespace change.
17226
17227         * BufferView_pimpl.C: try the anon namespace.
17228         * WorkArea.C: ditto
17229
17230 2001-03-16  Juergen Vigna  <jug@sad.it>
17231
17232         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17233         otherwise it won't open options-dialogs.
17234
17235         * buffer.C: honor pextraWidth(p) on converting minipages.
17236
17237         * tabular.C (l_getline): changed the functions to strip trailing \r.
17238
17239 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17240
17241         * BufferView_pimpl.C:
17242         * minibuffer..C: added "using SigC::slot" declaration.
17243
17244 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17245
17246         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17247
17248         * text2.C: ditto
17249
17250         * text.C: ditto
17251
17252         * paragraph.C: ditto
17253
17254         * lyxtext.h: NO_PEXTRA
17255
17256         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17257
17258         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17259         * ParameterStruct.h: ditto
17260         * ParagraphParameters.h: ditto
17261         * lyxparagraph.h: ditto
17262
17263 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17264
17265         * buffer.C: add compability for minipage alignment.
17266         (latexParagraphs): remove unwanted pextra check.
17267
17268         * several files: remove CXX_WORKING_NAMESPACES
17269
17270         * buffer.C (pop_tag): tie is in namespace boost
17271
17272         * BufferView.h: noncopyable is in namespace boost
17273         * lyxlex.h: ditto
17274         * lyx_main.h: ditto
17275         * lyx_gui.h: ditto
17276         * layout.h: ditto
17277         * lastfiles.h: ditto
17278         * bufferlist.h: ditto
17279         * ShareContainer.h: ditto
17280         * LyXView.h: ditto
17281         * LyXAction.h: ditto
17282         * LaTeX.h: ditto
17283
17284 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17285
17286         * Merging changes from BRANCH_MVC back into HEAD.
17287
17288         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17289
17290 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17291
17292         * BufferView_pimpl.C: change from intl.C
17293
17294         * combox.h:
17295         * combox.C:
17296         * Makefile.am: move combox.*
17297
17298         * form1.h:
17299         * form1.C:
17300         * lyx_gui.C:
17301         * intl.h:
17302         * intl.C: remove dialog (covered by prefs)
17303
17304 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17305
17306         * lyxfunc.C (Dispatch): removed redundant break statement.
17307
17308 2001-03-14  Juergen Vigna  <jug@sad.it>
17309
17310         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17311
17312 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17313
17314         * buffer.C: add hack to fix compability reading of minipages.
17315
17316 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17317
17318         * buffer.C (getLists): Cleanup.
17319
17320 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17321
17322         * lyxfont.C (update): don't honor toggleall on font size.
17323
17324 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17325
17326         * bmtable.c:
17327         * bmtable.h:
17328         * Makefile.am: moved to frontends/xforms/
17329
17330         * lyx_gui_misc.C:
17331         * lyxfunc.C:
17332         * BufferView_pimpl.C: changes for moved mathpanel
17333
17334 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17335
17336         * gettext.h: fix gettext_init() in --disable-nls
17337
17338 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17339
17340         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17341
17342 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17343
17344         * lyx.C:
17345         * lyx.h: strip external form
17346
17347 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17348
17349         * BufferView_pimpl.C: add comment, destroySplash()
17350
17351 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17352
17353         * BufferView_pimpl.C:
17354         * LyXAction.C:
17355         * buffer.C:
17356         * commandtags.h:
17357         * lyxfunc.C: use re-worked insetinclude
17358
17359 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17360
17361         * buffer.C: add using std::stringstream.
17362
17363         * lyx_cb.C: readd using std::ios.
17364
17365         * buffer.C: add using std::map.
17366
17367         * BufferView_pimpl.C: add using std::vector.
17368
17369         * ShareContainer.h: add std:: to swap.
17370
17371         * buffer.h: add some typedefs
17372         * buffer.C (getLists): use them
17373         (getLists): renamed from getTocList.
17374         add a counter for the different float types and use it in the
17375         generated string.
17376         (getLists): use the same counter for the NEW_INSETS and the "non"
17377         NEW_INSETS
17378
17379         * lyx_cb.h: remove unused items, includes, using etc.
17380
17381         * ShareContainer.h: remove some commented code, add more comments
17382         and "documentation".
17383
17384 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17385
17386         * buffer.C (getTocList): make the list also when NEW_INSETS is
17387         defined.
17388
17389         * buffer.h: remove TocType
17390
17391         * buffer.C (getTocList): change to return a map<string,
17392         vector<TocItem> >, implement for dynamic number of list.
17393
17394         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17395         * text2.C (PasteSelection): adjust
17396         * CutAndPaste.C (pasteSelection): adjust
17397
17398         * FloatList.C (FloatList): update from the new_insets branch.
17399         * Floating.[Ch]: ditto
17400         * LaTeXFeatures.C: ditto
17401         * buffer.C: ditto
17402         * lyxlex_pimpl.C: ditto
17403
17404         * paragraph.C (Last): remove when NEW_INSETS is defined.
17405
17406         * other file: changes because of the above.
17407
17408 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17409
17410         * lyxparagraph.h: rename next to next_, previous to previous_,
17411         make them private for NEW_INSETS. Rename Next() to next(),
17412         Previous() to previous().
17413
17414         * other files: changes because of the above.
17415
17416 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17417
17418         * BufferView.h:
17419         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17420         problem.
17421
17422 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17423
17424         * main.C (main): pass lyx_localedir to gettext_init().
17425
17426         * gettext.h: remove locale_init and gettext_init macros
17427
17428         * gettext.C (locale_init): new function
17429         (gettext_init): new function
17430
17431         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17432         setlocale().
17433
17434 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17435
17436         * Moved credits to frontends:
17437         * credits.[Ch]: removed
17438         * credits_form.[Ch]: removed
17439         * lyx_gui_misc.C: remove credits stuff
17440         * Makefile.am:
17441
17442 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17443
17444         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17445
17446         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17447         unneeded destructor.
17448
17449         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17450         a standalone pointer again.
17451
17452         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17453
17454 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17455
17456         * Makefile.am:
17457         * filedlg.h:
17458         * filedlg.C:
17459         * LyXAction.C:
17460         * ToolbarDefaults.C:
17461         * bufferlist.C:
17462         * commandtags.h:
17463         * form1.C:
17464         * form1.h:
17465         * lyx_cb.C:
17466         * lyx_cb.h:
17467         * lyxfunc.h:
17468         * lyxfunc.C:
17469         * BufferView_pimpl.C: use new file dialog in GUII
17470
17471         * lyx_cb.h:
17472         * lyx_cb.C: remove LayoutsCB to Toolbar
17473
17474 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17475
17476         * ShareContainer.h (get): add std:: qualifier
17477
17478 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17479
17480         * ShareContainer.h: define a proper ShareContainer::value_type
17481         type (and use typename to please compaq cxx)
17482
17483 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17484
17485         * lyxparagraph.h: move serveral local vars to
17486         ParameterStruct/ParagraphParameters., use ShareContainer in
17487         FontTable., make vars in FontTable private and add getter and
17488         setter.
17489
17490         * paragraph.C: changes because of the above.
17491
17492         * lyxfont.h: remove copy constructor and copy assignment. (the
17493         default ones is ok), move number inside FontBits. move inlines to
17494         lyxfont.C
17495
17496         * lyxfont.C: add number to initializaton of statics, move several
17497         inlines here. constify several local vars. some whitespace
17498         cleanup. Dont hide outerscope variables.
17499
17500         * Spacing.h: add two new constructors to match the set methods.
17501
17502         * ShareContainer.h: new file, will perhaps be moved to support
17503
17504         * ParameterStruct.h: new file
17505
17506         * ParagraphParameters.h: new file
17507
17508         * ParagraphParameters.C: new file
17509
17510         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17511         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17512
17513         * BufferView_pimpl.C: ParagraphParameter changes.
17514         * buffer.C: Likewise.
17515         * bufferview_funcs.C: Likewise.
17516         * text.C: Likewise.
17517         * text2.C: Likewise.
17518
17519 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17520
17521         * lyxfind.C (LyXReplace): do not redefine default argument in
17522         implementation.
17523         (IsStringInText): ditto
17524         (SearchForward): ditto
17525         (SearchBackward): ditto
17526
17527 2001-03-06  Juergen Vigna  <jug@sad.it>
17528
17529         * lyxfind.C (IsStringInText): put parentes around expressions.
17530
17531 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17532
17533         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17534
17535 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17536
17537         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17538
17539         * stl_string_fwd.h: add comment
17540
17541         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17542
17543         * tabular.h:
17544         * tabular.C: remove unused DocBook methods
17545
17546         * intl.C:
17547         * language.C:
17548         * paragraph.C:
17549         * buffer.C:
17550         killed DO_USE_DEFAULT_LANGUAGE
17551
17552 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17553
17554         * lyx_gui.C: do not include language.h.
17555
17556         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17557         arguments in function implementation.
17558
17559 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17560
17561         * BufferView_pimpl.C: add <ctime>
17562
17563 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17564
17565         * BufferView_pimpl.C: add using std::find_if
17566
17567 2001-02-27  José Matos  <jamatos@fep.up.pt>
17568
17569         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17570         by OnlyPath.
17571
17572 2001-02-11  José Matos  <jamatos@fep.up.pt>
17573
17574         * buffer.C (makeDocBookFile): command styles now have a parameter as
17575         "title" by default.
17576
17577 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17578
17579         * layout_forms.[Ch]: removed
17580         * lyx_cb.[Ch]: out character
17581         * lyx_gui.C: out character
17582         * lyx_gui_misc.C: out character
17583         * bufferview_funcs.C: : out character,
17584         added toggleall as parameter in ToggleAndShow
17585
17586 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17587
17588         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17589
17590         * text2.C (SetCurrentFont): Disable number property at boundary.
17591
17592 2001-02-26  Juergen Vigna  <jug@sad.it>
17593
17594         * lyxfunc.C (getStatus): added a string argument override function so
17595         that this is correctly called from LyXFunc::Dispatch if it contains a
17596         do_not_use_argument which is used!
17597         (Dispatch): added check for "custom" export and call appropriate func.
17598
17599 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17600
17601         * lyxrc.C: Add language_command_local, language_use_babel and
17602         language_global_options.
17603
17604         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17605
17606         * buffer.C (makeLaTeXFile): Use language_use_babel and
17607         language_global_options.
17608
17609 2001-02-23  Juergen Vigna  <jug@sad.it>
17610
17611         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17612         which works with LyXText and putted it inside BufferView. Here now we
17613         only call for that part the BufferView::Dispatch() function.
17614
17615         * BufferView.C (Dispatch): added.
17616
17617         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17618         functions which needs to use a LyXText over from LyXFunc.
17619         (MenuInsertLyXFile): added
17620         (getInsetByCode): added
17621         (moveCursorUpdate): added
17622         (static TEXT): added
17623
17624 2001-02-22  Juergen Vigna  <jug@sad.it>
17625
17626         * BufferView_pimpl.C (update): call a status update to see if LyXText
17627         needs it.
17628
17629 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17630
17631         * vc-backend.C (revert): implement for CVS
17632         (getLog): implement for CVS
17633
17634 2001-02-20  Juergen Vigna  <jug@sad.it>
17635
17636         * text2.C (ClearSelection): added BufferView param for inset_owner call
17637
17638         * lyxfunc.C (TEXT): added this function and use it instead of
17639         directly owner->view()-text of getLyXText().
17640
17641 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17642
17643         * src/layout_forms.C: out preamble
17644         * src/layout_forms.h: out preamble
17645         * src/lyx_cb.C: out preamble
17646         * src/lyx_cb.h: out preamble
17647         * src/lyx_gui.C: out preamble
17648         * src/lyx_gui_misc.C: out preamble
17649         * src/lyxfunc.C: connect with guii preamble
17650
17651 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17652
17653         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17654
17655 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17656
17657         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17658         whether to run bibtex.
17659
17660 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17661
17662         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17663
17664 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17665
17666         * Makefile.am (lyx_SOURCES): removed bibforms.h
17667
17668         * vspace.h: doxygen
17669
17670         * text.C (GetVisibleRow): make several local vars const
17671
17672         * tabular.C: small cleanup.
17673
17674         * lyxserver.C (callback): use compare instead of strncmp
17675
17676         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17677         inlines to after class or to paragraph.C
17678
17679         * lyxfont.h: remove friend operator!=
17680
17681         * converter.h: move friend bool operator< to non friend and after
17682         class def.
17683
17684         * combox.h: small cleanup
17685
17686         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17687         to inlines after class def.
17688
17689         * buffer.C (pop_tag): use string operations instead of strcmp
17690
17691         * bmtable.c: doxygen, small cleanup
17692
17693         * LaTeX.h: remove friend operator==
17694
17695 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17696
17697         * screen.C:
17698         * lyxrc.[Ch]:
17699         * lyxfunc.C:
17700         * lyxfont.[Ch]:
17701         * lyx_cb.C:
17702         * intl.[Ch]:
17703         * commandtags.h:
17704         * buffer.C:
17705         * WorkArea.[Ch]:
17706         * LyXAction.C:
17707         * BufferView_pimpl.C:
17708         * BufferView.[Ch]: remove cruft
17709
17710 2001-02-14  Juergen Vigna  <jug@sad.it>
17711
17712         * lyxfunc.C: removed #if 0 unused code
17713
17714         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17715
17716         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17717
17718         * text2.C (SetSelection): added a BufferView * parameter
17719
17720 2001-02-13  Juergen Vigna  <jug@sad.it>
17721
17722         * lyxfunc.C (Dispatch): fixed protected blank problem.
17723         * BufferView2.C (protectedBlank): added LyxText * parameter.
17724
17725         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17726         (AppendColumn): same as above for column_info.
17727
17728         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17729         (moveCursorUpdate): use a LyXText param for support of InsetText.
17730
17731         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17732         (tripleClick): ditto
17733
17734         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17735
17736         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17737
17738         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17739
17740         * text2.C (SetSelection): set correct update status if inset_owner
17741         (ToggleFree): ditto
17742
17743 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17744
17745         * tabular.C: remove some commented code.
17746
17747 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17748
17749         * BufferView_pimpl.C: call hideSplash()
17750
17751         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17752
17753         * include_form.h:
17754         * bibforms.h: remove
17755
17756         * lyxfunc.C:
17757         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17758           add LFUN_CHILD_CREATE
17759
17760         * counters.h: fix tiny typo
17761
17762         * lyx_cb.C:
17763         * lyx.h:
17764         * lyx_gui.C:
17765         * lyx.C: move splash to frontends/xforms/
17766
17767         * lyx_gui_misc.C: move Include and Bibform to frontends
17768
17769         * lyxvc.h: clarify comment
17770
17771         * vspace.C: tiny housekeeping
17772
17773 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17774
17775         * text.C (PrepareToPrint): RTL Fix.
17776
17777         * paragraph.C (GetUChar): New method.
17778         (String):  Use GetUChar.
17779
17780         * buffer.C (asciiParagraph): Use GetUChar.
17781
17782 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17783
17784         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17785
17786 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17787
17788         * buffer.h:
17789         * buffer.C: rename to getLogName(), handle
17790           build log / latex log nicely
17791
17792 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17793
17794         * MenuBackend.C:
17795         * MenuBackend.h: remove support for reference menuitem type.
17796
17797 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17798
17799         * BufferView_pimpl.C: housekeeping
17800         * BufferView_pimpl.h:
17801         * LyXView.h:
17802         * Makefile.am:
17803         * Timeout.C:
17804         * Timeout.h:
17805         * minibuffer.h: move Timeout GUI-I
17806
17807 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17808
17809         * lyxrc.C (read): Update converters data-structures.
17810
17811 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17812
17813         * LaTeX.h (operator!=): add operator != for Aux_Info
17814
17815 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17816
17817         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17818
17819         * LaTeXLog.C: deleted, useful code moved to Buffer
17820
17821         * buffer.h:
17822         * buffer.C: new function getLatexLogName()
17823
17824         * lyx_gui_misc.C:
17825         * lyx_gui.C:
17826         * lyxvc.C:
17827         * lyxvc.h:
17828         * lyxfunc.C: use frontends for LaTeX and VC logs
17829
17830 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17831
17832         * LaTeX.h: yet another std:: that Allan forgot.
17833
17834         * Variables.C (set): renamed from isset(), because this clashes
17835         with some HP-UX macros (grr).
17836
17837 2001-02-06  Allan Rae  <rae@lyx.org>
17838
17839         * LaTeX.h: Another bug fix.  Missing std:: this time.
17840
17841 2001-02-04  Allan Rae  <rae@lyx.org>
17842
17843         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17844         floats problem. I've left it commented out because it's not quite
17845         correct.  It should also test that the current object is a table or
17846         figure inset.  But I haven't gotten around to figuring out how to do
17847         that.  I *think* it'll be something like: "table" == inset.type()
17848
17849         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17850         bool.
17851
17852 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17853
17854         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17855         all the citation/databases/styles in the auxilary file.
17856         (run): Rerun latex if there was a babel language error.
17857
17858 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17859
17860         * text.C (Backspace): Preserve the font when changing newline char
17861         with a space.
17862         (BreakParagraph): If the cursor is before a space, delete the space.
17863
17864         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17865
17866 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17867
17868         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17869         new argument (code).
17870         (ChangeCitationsIfUnique): New method.
17871
17872         * paragraph.C (GetPositionOfInset): Handle bibkey.
17873
17874 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17875
17876         * BufferView_pimpl.h: change type of Position::par_pos to
17877         LyXParagraph::size_type.
17878
17879 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17880
17881         * BufferView_pimpl.C (savePosition, restorePosition): Write
17882         messages to minibuffer.
17883
17884 2001-01-28  José Matos  <jamatos@fep.up.pt>
17885
17886         * buffer.C (makeDocBookFile): adds support for document language.
17887         A silly restriction on the name of LatexCommand types where removed.
17888         Added support for CDATA sections, allows to chars unescaped, used
17889         among others in code, to avoid escape < and >.
17890
17891 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17892
17893         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17894         saved positions instrad of a stack. Furthermore, a position is
17895         stored using paragraph id/paragraph position.
17896
17897         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17898         Remove LFUN_REF_BACK.
17899
17900 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17901
17902         * converter.C (dvipdfm_options): New method.
17903
17904 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17905
17906         * vspace.C (isValidLength): Fix for empty input string.
17907
17908 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17909
17910         * LyXAction.C (init): change description of LFUN_FIGURE to
17911         "Insert Graphics"
17912
17913 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17914
17915         * LaTeX.C: add using directive
17916
17917 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17918
17919         * MenuBackend.C (expand): Fix the sorting of the formats.
17920
17921 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17922
17923         * lyx_main.C: tiny error message fix
17924
17925 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17926
17927         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17928         calling fl_initialize(). This fixes the problem with ',' as
17929         decimal separator in text files.
17930
17931 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17932
17933         * trans.C (process): Fix the keymap bug.
17934
17935 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17936
17937         * LaTeX.C (scanAuxFiles): New method. Provides support for
17938         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17939         (scanLogFile) Scan for "run BibTeX" messages.
17940
17941         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17942         OT1 font encoding. Also, load the aecompl package if the ae
17943         package is loaded.
17944
17945         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17946
17947 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17948
17949         * texrow.C (increasePos): turn two error messages into debug
17950         messages.
17951
17952 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17953
17954         * LaTeX.C (scanAux): Handle the \@input macro.
17955         (runBibTeX): Use scanAux().
17956
17957         * language.C (latex_options_): New field.
17958
17959         * LaTeXFeatures.C (getMacros): Add language macros.
17960
17961         * buffer.C (makeLaTeXFile): Small fix.
17962
17963 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17964
17965         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17966
17967         * text2.C: add a using directive.
17968
17969 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17970
17971         * BufferView2.C:
17972         * lyx_gui_misc.h:
17973         * lyxfr1.C:
17974         * lyxfunc.C: kill LyXBell.
17975
17976 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17977
17978         * text.C (IsBoundary): Remove the error message
17979
17980         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17981
17982         * lyxrc.C (setDefaults): Correct initialization value for
17983         font_norm_type.
17984
17985 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17986
17987         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17988         gotoError().
17989
17990         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17991         and GotoNextNote().
17992
17993         * src/LyXAction.C: Added reference-next.
17994
17995         * text.C (InsertChar): Use contains instead of strchr.
17996
17997         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17998
17999 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18000
18001         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18002         alignment commands (when needed).
18003
18004         * text.C (InsertChar): Add ':' to number separator chars.