]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
2a8e2d075c0d7993e9a236e1e063689f316b301a
[lyx.git] / src / ChangeLog
1 2005-07-16  Juergen Vigna  <jug@lyx.org>
2
3         * text2.C (getColumnNearX): hopefully got it right now,
4         check if we are on column 0 for special case.
5
6 2005-07-16  Juergen Vigna  <jug@lyx.org>
7
8         * text2.C (getColumnNearX): handle special case Newline Inset
9
10         * text.C (singleWidth): Just remove bogus check
11
12 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
13
14         * funcrequest.C (split): avoid reading uninitialized char c
15
16 2005-07-16  José Matos  <jamatos@fc.up.pt>
17
18         * buffer.C:
19         * converter.C:
20         * lyxrc.C:
21         * paper.h:
22         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
23         single papersize variable.
24
25 2005-07-16  Juergen Vigna  <jug@lyx.org>
26
27         * text3.C (dispatch): honor boundary when checking if a cursor
28         movement has been done
29
30         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
31         (setCursor, setCursorIntern): fix cursor movement with boundary
32
33 2005-07-16  Juergen Vigna  <jug@lyx.org>
34
35         * text.C (currentState): output the actual Boundary
36
37 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
38
39         * factory.C (createInset): fix bad logic for tabular creation
40
41 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
42
43         * lyx_main.C (init): change some reLyX reference to tex2lyx
44
45 2005-07-16  Juergen Vigna  <jug@lyx.org>
46
47         * dociterator.C (DocIterator): initialize boundary
48
49 2005-07-16  Juergen Vigna  <jug@lyx.org>
50
51         * text2.C (getColumnNearX): Consider rows without trailing blank.  
52
53 2005-07-16  André Pönitz  <poenitz@gmx.net>
54
55         * lyxfont.h: Change order of declarations to give the compiler
56         a better chance to inline things
57
58         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
59         questions on unsaved docs for better scritability
60
61 2005-07-16  André Pönitz  <poenitz@gmx.net>
62
63         * paragraph.h (getChar): remove asserts as the same kind of security
64         can be achieved by using a suitable standard library implementation
65         and the function was in the critical path (25.9% in profiler)
66
67 2005-07-16  Juergen Vigna  <jug@lyx.org>
68
69         * cursor.C (bruteFind2):
70         * bufferview_funcs.C (coordOffset): 
71         * text.C (cursorX,cursorY): Handle cursor position after last char
72         in row before a inset which uses a whole row.
73
74 2005-07-15  José Matos <jamatos@lyx.org>
75
76         * output_plaintext.[Ch] (writeFileAscii): control reference title
77         printing.
78         (asciiParagraph): noparbreak was already deal and was incorrectly
79         used.
80
81 2005-07-15  Juergen Vigna <jug@lyx.org>
82
83         * lyxfunc.C (dispatch): save and restore the cursor after a
84         textclass switch.
85
86 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
87
88         * text.C (backspace): bug 806 for empty keepempty paragraphs we
89         change the layout to default before letting DEPM do its thing.
90
91         * paragraph_funcs.C (breakParagraph): dont reset the layout on
92         keepEmpty paragraphs
93
94         * text.C (setCursorFromCoordinates): add a debug statement
95
96         * text2.C (getColumnNearX): bug 1825 make sure that we don't
97         return a pos that is not on the row
98
99         * output_latex.C (TeXDeeper): get rid of potential dereferencing
100         of past the end iterator
101
102 2005-07-14  André Pönitz  <poenitz@gmx.net>
103
104         * undo.C (recordUndoFullBuffer): implement undo for
105         textclass switches
106
107 2005-07-14  André Pönitz  <poenitz@gmx.net>
108
109         * cursor.C (setSelection): open insets when selection is set there
110         to avoid crashs with cold coord cache
111
112 2005-07-14  André Pönitz  <poenitz@gmx.net>
113
114         * trans_mgr.C (insert): move cursor to the right after inserting
115         a char.
116
117 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
118
119         * BufferView_pimpl.C (update): dampen some of the debug blabbering
120         * factory.C (readInset): ditto
121         * text.C, text2.C: ditto
122
123 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
124
125         * buffer.C: format incremented to 242. There is no file format per
126         se, but the "frenchb" language has been removed from lib/language
127         and has to be translated to "french" by lyx2lyx.
128
129 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
130
131         * cursor_slice.h, dociterator.h: add some documentation
132         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
133
134 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
135
136         * text.C (leftMargin): do not add identation to display() style
137         insets, because they are always centered (bug 1293).
138
139 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
140
141         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
142         formatted_time methods in support/lyxtime.
143
144 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
145
146         * toc.[Ch]: new method getGuiName, which is used by the frontends 
147         to set the toc combo (fixes bug 1870). Make TOC string translatable.
148
149 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
150
151         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
152         StableDocIterator const &)
153         * undo.C (recordUndo): use the above instead of cell.size() comparison
154         (fixes bug 1808; instructed by André).
155
156 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
157
158         * cursor_slice.h: 
159         * dociterator.h: Fix the assert when copying rows/cols in math
160
161 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
162
163         * BufferView_pimpl.C:
164         * LyXAction.C:
165         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
166
167         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
168         (findInset): new functions, refactored from goto Inset that return 
169         the position of a certain inset without setting the buffer's cursor
170         (by Jean-Marc); 
171         (gotoInset): rewrite to call findInset and then set the cursor
172         (by Jean-Marc).
173
174 2005-06-16  Angus Leeming  <leeming@lyx.org>
175
176         * lyxrc.C (output, read): wrap all input and output of paths with
177         calls to os::internal_path and os::external_path, respectively.
178         (output): wrap bind_file inside quotes.
179
180         * format.C (view): enable the viewer to use the '$$s' placeholder.
181
182 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
183
184         * LColor.[Ch] (getFromLaTeXName): new
185
186 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
187
188         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
189
190 2005-06-14  Angus Leeming  <leeming@lyx.org>
191
192         * lyx_main.C (init): ensure that the LyX binary dir is the first
193         element in the PATH on non-POSIX builds.
194
195 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
196
197         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
198
199 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
200
201         * rowpainter.C (paintInset, paintHebrewComposeChar)
202         (paintArabicComposeChar, paintChars): add a LyXFont argument.
203         (paintChars): use getFontSpan to reduce calls to getFont to a
204         minimum; use Paragraph::lookupChange instead of isXXXText.
205         (paintForeignMark): rename LyXFont argument.
206         (paintFromPos): pass a LyXFont object to the various paintXXX
207         methods.
208
209         * FontIterator.C (FontIterator, operator++): use
210         Paragraph::getFontSpan
211
212         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
213         version that returns the font span as a pair.
214
215 2005-06-09  Angus Leeming  <leeming@lyx.org>
216
217         * converter.C (convert): Don't forget "outfile = real_outfile" as
218         the final step in a conversion where the input and output file names
219         are the same. Otherwise, future conversion steps won't work...
220
221 2005-06-09  Angus Leeming  <leeming@lyx.org>
222
223         * lyxsocket.C: remove stub code as it isn't needed by
224         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
225
226 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
227
228         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
229         effectively disabled -x
230
231 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
232
233         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
234         when it actually makes sense.
235
236 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
237
238         * BufferView_pimpl.C: revert to showCursor in connection with
239         Lars's front-end stack
240
241 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
242
243         * text.C (redoParagraph): move cursor right after a bibitem
244         has been inserted.
245
246         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
247
248 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
249
250         * buffer_funcs.C (bufferErrors): fix computation of the end of an
251         error range.
252
253 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
254
255         * BufferView.[Ch] (update):
256         * BufferView_pimpl.[Ch] (update, metrics):
257         * dimension.h (operator==):
258         * lyxfunc.C (dispatch):
259         * metricsinfo.h (ViewMetricsInfo):
260         * rowpainter.C (paintText):
261         * lyxtext.h:
262         * text.C (redoParagraph):
263         * text3.C (dispatch): Make LyX only repaint current paragraph in
264         case of character insert --> speedup. Also fix cursor draw
265         artifacts
266
267 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
268
269         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
270         avoid a crash (bug 1891)
271
272 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
273
274         Fix bug 1892:
275
276         * text2.C (getStringToIndex): constify cur argument.
277
278         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
279         argument has been given
280         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
281         try to invoke LFUN_INSET_APPLY).
282
283         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
284         if no inset was created by doInsertInset
285         (doInsertInset): return true if an inset has been inserted.
286
287 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
288
289         * vspace.C (asGUIName): new method. A version of the space
290         suitable for showing on screen.
291
292 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
293
294         * MenuBackend.C:
295         * lyxrc.C: rename "ASCII" to "Plain Text"
296
297 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
298
299         * buffer_funcs.C (expandLabel): take a Buffer as argument;
300         translate the labelstring.
301         (setCounter): translate labelstring as needed.
302
303         * output_docbook.C (makeCommand): fix expandLabel invokation
304
305 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
306
307         * BufferView.C: fix dialog title
308
309 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
310
311         * lyx_main.C (priv_exec): fix logic error with help from Angus
312         * lyx_main.C (parse_execute): set is_gui = false and remove now
313         obsolete comment about a segfault
314
315 2005-05-18  Angus Leeming  <leeming@lyx.org>
316
317         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
318
319 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
320
321         * tabular.[hC]: added setCellInset to fix tabular paste.
322
323 2005-05-11  Lars Gullik Bjonnes  <larsbj@gullik.net>
324
325         * buffer.C (save): check if destination is writable before trying
326         to copy a file
327
328 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
329
330         * BufferView_pimpl.C (update): fix processEvents -caused update
331         recursion bug
332
333 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
334
335         * buffer_funcs.C (setCounter): fix test for numbering of
336         environments.
337
338         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
339         depth correctly; use optional argument when it exists
340
341         * lyxtextclass.C: remove unused MaxCounterTags enum
342         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
343         (max_toclevel, min_toclevel): new methods.
344
345         * MenuBackend.C (expandToc2): fix case where depth is smaller than
346         the smallest depth in toc.
347
348         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
349         layouts that should not appear in a table of contents.
350
351 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
352
353         * cursor.h (undispatched, noUpdate): add comments from André
354
355 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
356
357         * lfuns.h:
358         * LyXAction.C:
359         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
360
361 2005-05-07  André Pönitz  <poenitz@gmx.net>
362
363         * cursor.[Ch] (leaveInset): new function
364
365 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
366
367         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
368
369 2005-05-04  Angus Leeming  <leeming@lyx.org>
370
371         * lyxfunc.C (getStatus): disable the spell checker dialog if
372         none of USE_[AIP]SPELL are defined.
373
374 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
375
376         * tabular.C (setWidthOfCell): remove obsolete comment
377
378 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
379
380         * paragraph.C (bibitem):
381         * buffer_funcs.C (setCounter):
382         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
383
384 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
385
386         * text3.C (getStatus): immediately return after setOnOff
387
388         * rowpainter.C: fix drawing of appendix start
389
390 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
391
392         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
393         SwitchBetweenClasses and remove the unused return value.
394         Handle character styles, too
395
396 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
397
398         * factory.C (createInset): handle undefined character styles
399
400 2005-05-02  Angus Leeming  <leeming@lyx.org>
401
402         * buffer.C: protect the #include of utime.h with a preprocessor
403         guard.
404
405 2005-05-02  Angus Leeming  <leeming@lyx.org>
406
407         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
408         function so that auto-saving works, albeit in a blocking manner.
409
410         * Makefile.am: make compilation of the client sub directory, of
411         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
412         on conditionals set at configure time.
413
414         * SpellBase.[Ch]: no longer an abstract base class. Instead,
415         it can be compiled in its own right but has no-op functionality.
416
417         * aspell.C, pspell.C: remove preprocessor guards. The files should
418         be compiled only if the necessary functionality exists.
419
420         * lyxserver.C, lyxsocket.C: disable on Windows.
421
422 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
423
424         * text.C (leftMargin): Fix the parindent use bug (1764)
425         by dirty trick
426
427 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
428
429         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
430         argument.
431
432 2005-04-25  Angus Leeming  <leeming@lyx.org>
433
434         * Bidi.[Ch]:
435         * coordcache.[Ch]:
436         * ispell.C:
437         * lyxserver.C:
438         * mover.C:
439         * pch.h:
440         include <config.h> in .C files, not .h ones.
441         add licence blurb.
442         protect headers inside preprocessor guards.
443
444 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
445
446         * FuncStatus.h (StatusCodes): document
447
448 2005-04-21  André Pönitz  <poenitz@gmx.net>
449
450         * FuncStatus.h (enabled, onoff): document
451
452 2005-04-19  Angus Leeming  <leeming@lyx.org>
453
454         * BufferView_pimpl.C (cursorToggle): no longer test whether
455         any child processes have been reaped before calling
456         handleCompletedProcesses().
457
458 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
459
460         * text3.C (dispatch): fix, finally fix, the language problem in
461         new lyxtexts, without disabling on-the-fly font changes (Helge's
462         bug report)
463
464 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
465
466         * text3.C (dispatch): set cursor on double/triple click events
467         (bug 1811)
468
469 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
470
471         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
472         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
473
474         * rowpainter.C (paintFirst): simplify the code a little bit. In
475         particular, remove the test for secnumdepth.
476         * text.C (setHeightOfRow): only allocate space for chapter number
477         when updateCounters provided an actual label, instead of looking
478         at secnumdepth directly.
479
480         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
481
482         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
483         paragraphs when secnumdepth is large enough or, for environments,
484         when they are not the first in a sequence.
485
486 2005-04-17  Angus Leeming  <leeming@lyx.org>
487
488         * buffer.C (makeLaTeXFile): replace code to manipulate a path
489         containing space and '~' characters with a call to latex_path().
490
491 2005-04-17  Angus Leeming  <leeming@lyx.org>
492
493         * converter.C (convert): protect all args of convertDefault.sh
494         script with quotes.
495
496 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
497
498         * text3.C (dispatch): change the layout to "Caption" after inserting
499         a float.
500
501 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
502
503         * text3.C (dispatch): fix language problem in newly created
504         textinsets (and main text) in non-english docs
505
506 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
507
508         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
509         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
510         * text3.C (getStatus): disable LFUN_INSET_MODIFY
511
512 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
513
514         * lyxtext.h:
515         * text.C (metrics):
516         * text2.C (getFont):
517         * rowpainter.C (getFont): Fix metrics bug introduced by inset
518         fonts fix
519
520 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
521
522         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
523         output of \item arguments without trailing text.
524
525 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
526
527         * FontIterator.C (operator*): avoid a copy of the font.
528
529 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
530
531         * rowpainter.C (getFont): fix language bug from previous fix
532
533 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
534
535         * rowpainter.C (RowPainter, getFont): fix font inside inset
536         (bugs 1766, 1809)
537
538 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
539
540         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
541         preventing inserted font, deco, delim insets jumping to start of
542         surrounding inset.
543
544 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
545
546         * lyxfunc.C (dispatch): translate message before sending it to the
547         minibuffer.
548
549 2005-03-29  Angus Leeming  <leeming@lyx.org>
550
551         * lyx_main.C (priv_exec): call os::internal_path on each file passed
552         to LyX on the command line.
553
554 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
555
556         * vc-backend.C: use QuoteName to protect file names wherever
557         necessary.
558
559 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
560
561         * buffer.[Ch]:
562         * BranchList.h: fix bugs 1844,1845: document settings don't
563         stick
564
565 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
566
567         * lyxrc.C (setDefaults, read, output, getDescription): add support
568         for tex_allows_spaces.
569
570         * exporter.C (Export): allows files in directory containing spaces
571         if tex_allows_spaces is true.
572
573         * buffer.C (makeLaTeXFile): if the document path contains spaces,
574         output it in double quotes.
575
576 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
577
578         * rowpainter.C: use default text height for drawing change tracker
579         strikeout lines.
580
581 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
582
583         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
584
585 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
586
587         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
588         directory is missing.
589
590 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
591
592         * text2.C: fixed the fix, extended to other case.
593
594 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
595
596         * text2.C: fix for cursor up/down stuck in math [bug 1792]
597
598 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
599
600         * text2.C (cursorUp): get rid of a crash
601         * text.C (x2pos): add an assert
602
603 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
604
605         * lyxfunc.C (getStatus): fix warning when assertions are disabled
606
607         * text3.C:
608         * lyxfunc.C:
609         * dociterator.C: include <boost/current_function.hpp>, which is
610         needed when assertions are disabled.
611
612 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
613
614         * text2.C: fix for stuck cursor when traversing two
615         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
616
617 2005-02-25  Andreas Vox  <avox@arcor.de>
618
619         * output_docbook.C (makeParagraph): suppress trailing newline
620         after a run of paragraphs
621
622 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
623
624         * paragraph.C: fix for confused change tracker when pasting
625         text that begins with a lineseparator. [bug 1827]
626         (setChange(0, Change::INSERTED);)
627
628         * paragraph_funcs.C: fix for lost changes on triple-paste
629         in change tracking mode [bug 1827] (par.setChange()).
630
631 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
632
633         * text2.C (updateCounters, setCounter, expandLabel): move to
634         buffer_funcs.
635
636         * buffer_funcs.C (updateCounters): turn into a free standing
637         function and add a buffer parameter. Remove dead code for tracking
638         labelstring change.
639         (setCounter): change into a free-standing function which gets a
640         dociterator as argument. Use this iterator to fix captions in a
641         simple way. When no float is found above the caption, use the
642         labelstring of the caption layout as default.
643
644         * text.C (breakParagraph, backspace):
645         * text2.C (init, setLayout, changeDepth):
646         * text3.C (dispatch):
647         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
648         updateCounters.
649
650         * dociterator.C (forwardPar): make it much faster by calling
651         forwardPos() only when really necessary.
652
653         * output_docbook.C (makeCommand): adapt to expandLabel move.
654
655         * cursor.C: remove unused variable
656
657 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
658
659         * paragraph_funcs.C: fix crash when pasting insets in change
660         tracking mode [bug 1277] (honour change type in moveItem).
661
662 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
663
664         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
665
666 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
667
668         * BufferView.C (setCursor): change to use a DocIterator.
669         (gotoLabel): use BufferView::setCursor (other part of bug 781).
670         (putSelectionAt): adapt to BufferView::setCursor change.
671
672         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
673         moved here from LyXText and rewritten to use proper cursor
674         methods. Fixes bug 1787, 616 and 835.
675
676         * BufferView_pimpl.C (restorePosition): set the cursor correctly
677         when inside an inset (part of bug 781).
678         (dispatch): adapt to change of BufferView::setCursor.
679         (getStatus, dispatch): handle LFUN_GOTOERROR,
680         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
681
682         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
683         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
684         * text3.C (gotoNextInset, gotoInset): removed.
685
686 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
687
688         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
689
690 2005-02-15  Angus Leeming  <leeming@lyx.org>
691
692         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
693         can be used meaningfully in a comparison.
694
695 2005-02-13  André Pönitz  <poenitz@gmx.net>
696
697         * bufferview_funcs.C (coordOffset): improve cursor drawing
698
699 2005-02-13  André Pönitz  <poenitz@gmx.net>
700
701         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
702         * Cursor.C (dispatch): use fixIfBroken
703         * lyxfunc.C (getStatus): use fixIfBroken
704
705 2005-02-15  Angus Leeming  <leeming@lyx.org>
706
707         * lyx_main.C (error_handler):
708         * lyxfunc.C:
709         * lyxrc.C (setDefaults):
710         s/GetEnv/getEnv/.
711         #include "environment.h".
712
713         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
714
715 2005-02-15  Angus Leeming  <leeming@lyx.org>
716
717         * lyxserver.C (startPipe): squash MSVC warning "local variable
718         'fd' used without having been initialized".
719
720 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
721
722         * BufferView_pimpl.C: revert accidental commit.
723
724 2005-02-14  André Pönitz  <poenitz@gmx.net>
725
726         * dociterator.[Ch]: new member forwardPosNoDescent(),
727         which doesn't enter nested insets.
728         * text2.C (setFont): use forwardPosNoDescent() instead
729         of ForwardPos() (fixes crash on font change).
730
731 2005-02-13  Angus Leeming  <leeming@lyx.org>
732
733         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
734         only if lyxrc.path_prefix is not empty.
735
736 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
737
738         * bufferparams.C (readGraphicsDriver): prevent crash
739
740 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
741
742         * text2.C (setCounter): check for inInset() == 0
743
744 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
745
746         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
747         but use update() to get correct screen display; use convert
748         instead of istringstream.
749         (getStatus): handle LFUN_GOTO_PARAGRAPH
750
751         * lyxfunc.C (dispatch, getStatus): do not handle
752         LFUN_GOTO_PARAGRAPH here.
753
754 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
755
756         * text3.C (dispatch): size() -> depth()
757
758         * text2.C: remove some debug output
759
760         * paragraph.C: ws changes only
761
762         * lyxfunc.C (getStatus): size() -> depth()
763
764         * dociterator.h (clear, push_back, pop_back, internalData,
765         operator[], resize, empty): new functions
766         Make StableDocIterator and operator== be friends. Don't inherit
767         from std::vector use a privat class variable slices_ instead.
768         Modify to fit.
769
770         * dociterator.C: update because of not inheriting from std::vector
771         anymore. Call explictly to slices_ instead. Use depth() instead of
772         size() and top() instead of back()
773
774         * cursor.C: chagne size() -> depth and back() -> top(). Also
775         remove some direct operator[](i) calls in favour of foo[i]
776         (getFont): remove some dead code
777
778         * bufferview_funcs.C (coordOffset): size() -> depth()
779
780         * buffer.C: ws changes only
781
782         * CutAndPaste.C (eraseSelection): back() -> top()
783
784         * BufferView_pimpl.C (selectionRequested): back() -> top()
785
786         * BufferView.C (setCursor): size() -> depth()
787
788 2005-02-08  Lars Gullik Bjonnes  <larsbj@gullik.net>
789
790         * text3.C (cursorPrevious): return true if depm changed something
791         (cursorNext): ditto
792         (dispatch): rename sl to oldTopSlice, remove moving use the new
793         NoUpdate func attrib instead. Make sure that needsUpdate is set
794         for function that have NoUpdate, but where depm might have changed
795         the buffer anyway.
796
797         * text2.C (cursorLeft): make us return true if depm changed
798         something
799         (cursorRight): ditto
800         (cursorUpParagraph): ditto
801         (curosrDownParagraph): ditto
802         (cursorUp, cursorDown): ditto, make sure to read comments in code
803         (deleteEmptyParagraphMechanism): remove an assert, also return
804         true if just a single char was deleted.
805
806         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
807         cursor that we modify, to avoid modifying an active cursor before
808         we call setCursor. This allows depm to run. Also return true if
809         depm deleted something.
810
811         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
812         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
813         cursorDownParagraph, cursorPrevious and cursorNext, return true if
814         something was changed in the buffer because of them (ie. depm run)
815
816         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
817         debug messages. Make update by default be false. Make sure that
818         the result of update is retained throught several calls down to
819         dispatch.
820
821         * LyXAction.h: add a new func_attrib: NoUpdate
822
823         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
824         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
825         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
826         and LFUN_WORDLEFT
827         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
828
829 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
830
831         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
832         bv_->owner(), bv_->buffer() by direct references to the private
833         members.
834         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
835         (getStatus): isSavedPosition() is in BufferView::Pimpl.
836         (fitCursor): center() is in BufferView::Pimpl.
837         (getStatus, trackChanges, dispatch): no need for a temporary buf
838         variable
839         (fitCursor, workAreaDispatch): use workarea().workheight()
840
841 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
842
843         * CutAndPaste.C (pasteSelectionHelper): fix a crash
844
845 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
846
847         * buffer.C: format up to 241.
848         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
849         break if pasting into ERT
850         * lyxfunc.C (getStatus): suppress mathpanel and
851         LFUN_DIALOG_SHOW_NEW_INSET in ERT
852
853 2005-02-01  Angus Leeming  <leeming@lyx.org>
854
855         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
856
857 2005-02-01  Angus Leeming  <leeming@lyx.org>
858
859         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
860         calling fs::is_directory().
861
862 2005-01-31  Angus Leeming  <leeming@lyx.org>
863
864         * lyx_main.C (priv_exec): specify explicitly the relative location
865         of the top level build directory when run in-place.
866
867 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
868
869         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
870         LyXText containing the cursor, not the top-level one.
871
872         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
873         true.
874         (insertStringAsLines): rename par to pit; use temporary variable
875         par to hold a Paragraph; do not store par.layout() in a variable,
876         since the pointer may die when breaking paragraphs; pass pars to
877         breakParagraph() instead of Buffer::paragraphs().
878
879 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
880
881         * lyxlex_pimpl.h: #include <fstream>.
882
883         * BufferView.[Ch] (getLyXText): add a const version.
884
885         * BufferView_pimpl.C: add debug aids.
886
887         * RowList_fwd.h:
888         * buffer.h:
889         * lyxrow.h:
890         * paragraph_funcs.h: add commentary explaining what the class does.
891
892
893         * coordcache.[Ch]: add lots of commentary.
894         (startUpdating, doneUpdating): debug aids.
895         (arrays, insets, parPos, getParPos): accessors to private data.
896
897         * cursor_slice.[Ch] (text): add a const version.
898         * dociterator.[Ch] (text, innerText): add const versions.
899
900         * lyxtext.h (breakParagraph): change the keep_layout arg to a
901         bool.
902
903         * paragraph.C (getRow, pos2ros): add asserts.
904
905         * paragraph.h: add commentary. Lots of.
906
907         * paragraph.[Ch] (metrucs, draw): removed.
908
909         * cursor.C:
910         * rowpainter.[Ch]: const-correct changes.
911
912         * text.C: various obvious clean-ups. Removal of ancient cruft.
913         Bug fixes, even.
914
915 2005-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
916
917         * vc-backend.C (find_file): rewrite to use boost.filesystem
918         (scanMaster): ditto
919
920         * main.C (main): set default name check for boost.filesystem to
921         no check
922
923         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
924         (open): ditto
925         (doImport): ditto
926         (actOnUpdatedPrefs): ditto
927
928         * lyx_main.C (init): rewrite to use boost.filesystem
929         (queryUserLyXDir): ditto
930
931         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
932         (getContentsOfAsciiFile): ditto
933
934         * lastfiles.C (readFile): rewrite to use boost.filesystem
935
936         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
937
938         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
939         (loadLyXFile): ditto
940
941         * buffer.C (Buffer): adjust for destroydir
942         (getLogName): rewrite to use boost.filesystem
943         (setFileName): ditto
944         (save): use fs::copy_file (from fs_extras)
945
946         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
947
948         * LaTeX.C (run): rewrite to use boost.filesystem
949         (scanAuxFiles): ditto
950         (handleFoundFile): ditto
951
952 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
953
954         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
955
956         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
957
958 2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
959
960         * lyxlayout.[Ch]: change some vars from float to double
961
962         * buffer.C (readFile): make a local var const
963
964         * Several files: use convert<> instead of atoi,strToXXX and friends
965
966 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
967
968         * LaTeXFeatures.[Ch]: Add a static list packages_ that
969         holds the contents of packages.lst. New functions getAvailable
970         and isAvailable to parse and check that list, resp.
971
972         * LyXAction.C:
973         * lfuns.h:
974         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
975
976         * bufferparams.[Ch]: new param output_changes.
977
978         * Buffer.C: increase file format to 240.
979         Use output_changes and isVailable.
980
981         * changes.[Ch]:
982         * paragraph.C:
983         * paragraph_pimpl.C: Use output_changes and isVailable.
984
985 2005-01-23  Angus Leeming  <leeming@lyx.org>
986
987         * output_latex.C: #include "insetbibitem.h", rather than
988         forward declare function bibitemWidest.
989
990 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
991
992         * lyx_main.C (init): make it compile on the Mac.
993
994 2005-01-20  Angus Leeming  <leeming@lyx.org>
995
996         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
997         (setLyXMisc): (char string literal) != (char string literal) is
998         performing a comparison on the addresses. Convert one operand
999         explicitly to string to guarantee expected behaviour.
1000         From MSVC warning.
1001
1002 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1003
1004         * buffer.C:
1005         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1006
1007         * output_plaintext.C: remove unneeded #include gzstream.h.
1008
1009 2005-01-20  Angus Leeming  <leeming@lyx.org>
1010
1011         * SpellBase.h: rename some of the elements of the Result enum.
1012
1013         * aspell_local.h:
1014         * ispell.h:
1015         * pspell.h:
1016         * aspell.C (check):
1017         * ispell.C (check):
1018         * pspell.C (check): ditto
1019
1020 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1021
1022         * buffer.C: add #include <fstream>.
1023
1024         * lyx_main.C (init): Compile fix.
1025
1026         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1027
1028 2005-01-20  Angus Leeming  <leeming@lyx.org>
1029
1030         * mover.h: change commentary to reflect the changed meaning of
1031         the $$s placeholder.
1032
1033 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1034
1035         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1036
1037         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1038
1039 2005-01-20  Angus Leeming  <leeming@lyx.org>
1040
1041         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1042         printing diagnostic data by not dereferecing an iterator past the
1043         end.
1044
1045 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1046
1047         * buffer.C (readHeader): use "&&" rather than "and".
1048
1049         * lyxserver.h (inPipeName, outPipeName): make these const.
1050
1051 2005-01-19  Angus Leeming  <leeming@lyx.org>
1052
1053         * lyx_main.C (error_handler, init): protect SIGHUP with
1054         #ifdef SIGHUP guards.
1055
1056 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1057
1058         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1059
1060 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1061
1062         * text.C (setHeightOfRow): add a margin at the top and bottom of
1063         the document (bug 1761)
1064
1065 2005-01-17  Angus Leeming  <leeming@lyx.org>
1066
1067         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1068         with "python ". Workaround for a brain-dead Windows.
1069
1070 2005-01-16  Angus Leeming  <leeming@lyx.org>
1071
1072         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1073         for MacOSX and Windows to use prependEnvPath.
1074         Strip out the hard-coded block to add elements to the PATH for
1075         MacOSX and replace it with a call to prependEnvPath using the
1076         contents of LyXRC::path_prefix.
1077         (queryUserLyXDir): strip out the code to run reconfigure, instead
1078         returning a boolean indicating the necessity to do so.
1079         (reconfigureUserLyXDir): contains the code to reconfigure the
1080         user support directory. Is now called after the various LyXRC data
1081         files have been read.
1082
1083         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1084
1085 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1086
1087         * converter.[Ch] (convert): take a new parameter try_default. Use
1088         a default converter (imagemagick) if try_default is true.
1089
1090 2005-01-13  Angus Leeming  <leeming@lyx.org>
1091
1092         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1093         os::cygwin_path_fix.
1094         (write): output LyXRC::cygwin_path_fix as necessary.
1095
1096 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1097
1098         * lyxrc.h:
1099         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1100
1101 2005-01-12  Angus Leeming  <leeming@lyx.org>
1102
1103         * lyx_main.C (init): set the PATH variable to include the
1104         directory containing the LyX binary when running on Mac or Windows.
1105
1106 2005-01-12  Angus Leeming  <leeming@lyx.org>
1107
1108         * lyx_main.C (init): remove cruft that purports to set the locale
1109         dir. It doesn't and is not needed anyway.
1110
1111 2005-01-10  Angus Leeming  <leeming@lyx.org>
1112
1113         * Makefile.am: remove the lyx_main.C special casing.
1114
1115         * BufferView_pimpl.C:
1116         * bufferlist.C:
1117         * exporter.C:
1118         * lyx_cb.C:
1119         * lyx_main.C:
1120         * lyxfunc.C:
1121         * messages.C: use support/package.h to provide the paths to the
1122         various directories used by LyX.
1123
1124 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1125
1126         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1127         layout if pasting into an empty paragraph)
1128
1129 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1130
1131         * tex-accent.C: add <string>
1132
1133 2005-01-06  José Matos  <jamatos@lyx.org>
1134
1135         * ParagraphParameters.C (write): put every parameter in its own line.
1136         * paragraph.C (write): reduce number of consecutive empty lines exported.
1137         * buffer.C (LYX_FORMAT): increase file format to 239.
1138
1139 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1140
1141         * everywhere: change support/tostr.h -> support/convert.h
1142
1143         * tabular.C: make all write_attributes templates, tostr -> convert
1144
1145         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1146         (emptyTag): and -> &&, and fix type for ret from getChar
1147         (getFirstWord): fix type for ret from getChar
1148         (onlyText): and -> &&
1149         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1150         getChar
1151
1152         * toc.C (goTo, action):
1153         * text3.C (dispatch):
1154         * text.C (currentState):
1155         * tex-accent.C (DoAccent):
1156         * sgml.C:
1157         * lyxrc.C:
1158         * lyxfunc.C (menuNew):
1159         * lyxfinc.C (replace):
1160         * counters.C (laberItem):
1161         * bufferview_funcs.C (font2string):
1162         * bufferparams.C (writeFile):
1163         * buffer.C (readFile):
1164         * Spacing.C (set):
1165         * MenuBackend.C: tostr -> convert
1166
1167         * LaTeX.C (runMessage): fix format
1168         (scanAuxFiles): tostr -> convert
1169
1170         * BufferView_pimpl.C (savePosition): fix format
1171         (restorePosition): ditto
1172         (dispatch): ditto
1173
1174 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1175
1176         * Spacing.[Ch]: New method getValueAsString().
1177
1178         * Spacing.[Ch]:
1179         * bufferparams.C:
1180         * ParagraphParameters.C:
1181         * lyxlayout.C:
1182         * text.C:
1183         * text3.C: store/read spacing value as string.
1184
1185         * rowpainter.C: change float value (spacing_val) to double.
1186
1187         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1188         broken custom document spacing).
1189
1190 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1191
1192         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1193         namespace, also more use of temp references and const
1194
1195         * cursor.[Ch] (getStatus): move to lyxfunc.C
1196
1197         * bufferparams.C: reformat slightly
1198
1199         * bufferview_funcs.C (font2string): constify arg
1200
1201         * changes.C:
1202         * converter.C:
1203         * counters.C:
1204         * bufferlist.C:
1205         * buffer_funcs.C: (many funcs): constify arg on function
1206         definitions, also make more local vars const, also add ASSERTS on
1207         pointer args.
1208
1209         * buffer.C (LYX_FORMAT): put const in correct place
1210         (many funcs): constify arg on function definitions, also make
1211         more local vars const
1212
1213         * aspell_local.h: remove "struct" from typdef setup
1214
1215         * aspell.C (check): make word_ok const
1216         (nextMiss): simplify slightly
1217         (error): ditto
1218
1219 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1220
1221         * lyxrc.[Ch]: store all float values as strings.
1222         use int (not float) for lyxrc.dpi.
1223
1224 2005-01-04  Angus Leeming  <leeming@lyx.org>
1225
1226         * lyx_cb.C (Reconfigure):
1227         * lyx_main.C (queryUserLyXDir):
1228         to run the <system_lyxdir>/configure correctly on Windows, prefix
1229         the path to the script with "sh " when generating the string that
1230         is passed to system().
1231
1232 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1233
1234         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1235
1236 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1237
1238         * lyxlength.C (asLatexString): get rid of setprecision
1239
1240 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1241
1242         * text2.C (setLayout): remove unused variable endpit.
1243         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1244
1245         * paragraph.C (onlyText): remove unused variable style.
1246
1247         * cursor.C (bruteFind): remove unused variables beg and end.
1248
1249         * Makefile.am (dist_noinset_DATA): not needed anymore
1250
1251         * cheaders/*: remove.
1252
1253 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1254
1255         * text3.C: fix LFUN_MATH_MODE.
1256
1257 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1258
1259         * buffer_funcs.C (countWords): new function. Counts words between
1260         two iterators.
1261
1262         * BufferView_pimpl.C (getStatus, dispatch): handle
1263         LFUN_WORDS_COUNT.
1264
1265         * LyXAction.C (init):
1266         * lfuns.h: add LFUN_WORDS_COUNT.
1267
1268 2004-12-19  Angus Leeming  <leeming@lyx.org>
1269
1270         * buffer.C (save): s/slashify_path/internal_path/.
1271
1272 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1273
1274         * lyxfind.C (findChange): do not search for end of pars, because
1275         the change tracker cannot handle this (fixes bug 1719).
1276
1277 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1278
1279         * paragraph.[Ch] (autoBreakRows): remove
1280
1281         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1282
1283         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1284         avoid using the paragraph one
1285
1286         * text2.C (LyXText, insertStringAsLines): adjust
1287
1288 2004-12-16  Angus Leeming  <leeming@lyx.org>
1289
1290         * bufferlist.C:
1291         * lyx_main.C:
1292         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1293
1294 2004-12-14  Angus Leeming  <leeming@lyx.org>
1295
1296         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1297
1298         * bufferlist.C (emergencyWrite):
1299         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1300         GetEnvPath("HOME").
1301
1302 2004-12-14  Angus Leeming  <leeming@lyx.org>
1303
1304         * main.C: (main): no longer pass pointers to os::init.
1305
1306 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1307
1308         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1309         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1310
1311 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1312
1313         * lyxfunc.C:
1314         * text3.C: remove selection_possible global flag
1315
1316 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1317
1318         * text2.C (getSelectionSpan): remove
1319         (changeDepth, changeDepthAllowed): adjust
1320
1321 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1322
1323         * Makefile.am (BOOST_LIBS): use boost variables
1324
1325 2004-12-03  José Matos  <jamatos@lyx.org>
1326
1327         * buffer.C: format up to 238.
1328
1329 2004-12-03  José Matos  <jamatos@lyx.org>
1330
1331         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1332
1333 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
1334
1335         * cursor.C (goUpDown): remove call to idxUpDown2
1336
1337 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1338
1339         * tabular.[Ch]: use size_t-like types for cell, row and column
1340         indices
1341
1342 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1343
1344         * lyxfunc.C (getStatus): do not lose previous information when
1345         calling BufferView::getStatus; do not set a default "Command
1346         disabled" message at the beginning, but just before returning.
1347
1348 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1349
1350         * cursor.h (getStatus): add better comment from src/cursor.C
1351
1352 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1353
1354         * text3.C (getStatus): return false when the lfun is not handled
1355
1356 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1357
1358         * broken_headers.h: remove
1359
1360         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1361
1362 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1363
1364         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1365         offset_ref accessors
1366
1367         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1368         top_y_, merge fitcursor with update
1369         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1370         coord scheme
1371         (metrics): introduce
1372         (workAreaDispatch): adapt to new coord scheme
1373         (redoCurrentBuffer): remove
1374
1375         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1376
1377         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1378         CurStatus enum.
1379
1380         * coordcache.[Ch]: add paragraph cache and helpers
1381
1382         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1383         adjust everywhere
1384
1385         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1386         (targetX, setTargetX): introduce
1387
1388         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1389         baseline -> ascent, as the rest of lyx
1390
1391         * lyxtext.h: remove redoParagraphs, updateParPositions,
1392         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1393         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1394         have ascent/descent (ascent is ascent of first par)
1395
1396         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1397         step of BufferView
1398
1399         * paragraph.[Ch]: unify dimension handling with the rest of lyx
1400
1401         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
1402
1403         * pariterator.C: fix infinite loop introduced in par->pit renaming
1404
1405         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
1406         in insets and LyXText, draw two off-screen paragraphs using
1407         NullPainter, and adapt to new coord scheme
1408
1409         * text.C:
1410         * text2.C:
1411         * text3.C: adapt lfun handlers to the new coord scheme, which
1412         means: there's only guaranteed coord information for onscreen pars
1413         plus one above and one below. This implies that one can do search
1414         from y coordinates in the range [-1,workHeight]
1415
1416 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1417
1418         * rename a lot of InsetOld to InsetBase
1419
1420 2004-11-25  Angus Leeming  <leeming@lyx.org>
1421
1422         * BufferView_pimpl.C:
1423         * lyx_cb.C:
1424         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
1425
1426 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1427
1428         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
1429         call BufferView::getStatus if LCursor::getStatus did nothing
1430         (setStatusMessage, getStatusMessage): removed.
1431
1432         * FuncStatus.C (message): new methods. Used to provide an error
1433         message indicating why a command is disabled.
1434         (clear, |=, FuncStatus): update for message.
1435
1436 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1437
1438         * lyxfunc.C (dispatch): always call sendDispatchMessage
1439
1440 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1441
1442         * BufferView.C:
1443         * BufferView_pimpl.C:
1444         * CutAndPaste.C:
1445         * FontIterator.C:
1446         * buffer.C:
1447         * cursor.C:
1448         * cursor_slice.[Ch]:
1449         * dociterator.[Ch]:
1450         * lyxfind.C:
1451         * paragraph_funcs.C:
1452         * pariterator.C:
1453         * rowpainter.C:
1454         * text.C:
1455         * text2.C:
1456         * text3.C:
1457         * undo.C: par->pit renaming
1458
1459 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1460
1461         * tabular.C (cellstruct): use initialization, store a shared_ptr
1462         to insettext instead of the insettext directly, adjust to fit.
1463         (operator=):  new function
1464         (swap): new function
1465         (rowstruct): use initialization
1466         (columnstruct): use initialization
1467         (ltType): use initialization
1468
1469
1470         * lyxlength.h (swap): new function
1471
1472         * LColor.[Ch] (operator=): use the common semantics
1473
1474 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1475
1476         * lyxfind.C (findNextChange): update the bufferview after setting
1477         the selection.
1478
1479 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1480
1481         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
1482         number of InsetOptArgs has already been inserted.
1483
1484         * output_latex.C (latexOptArgInsets): new method. This outputs all
1485         the optarg insets, up to the limit defined in the layout file.
1486         (optArgInset): removed
1487         (TeXOnePar): call latexOptArgInsets; correctly update texrow
1488
1489 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1490
1491         * paragraph.C (isLetter): remove special spellchecker-related
1492         code; return true also for digits
1493         (isWord, isKomma): remove
1494
1495         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
1496         * lyxfind.C (MatchString()): use isLetter instead of isWord
1497
1498 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1499
1500         * pariterator.h (operatir=): comment out un-implemented member
1501         function.
1502
1503         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
1504         static cast.
1505
1506 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
1507
1508         * lyxfont.h: include LColor.h to satisfy concept checks.
1509
1510 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1511
1512         * pariterator.h: add typdefs for value_type, difference_type,
1513         pointer and reference to satisfy concept checks. Also add default
1514         constructor for same reason.
1515
1516         * pariterator.C (operator++): add post-increment operator to
1517         satisfy concept checks.
1518
1519         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
1520         checks.
1521
1522         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
1523
1524         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
1525         checks. Also rename base_type to BaseType to follow naming
1526         standard better.
1527
1528         * FloatList.h: include Floating.h to satisfy concept checks.
1529
1530 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1531
1532         * lyxfunc.C (getStatus): when the origin of the request is menu or
1533         toolbar, and the LyXView does not have focus, do as if there was
1534         no buffer (bug 1720)
1535
1536         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
1537         FuncRequest to individual entries of LFUN_SEQUENCE
1538
1539 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1540
1541         * output_latex.C (TeXOnePar): override runparams.moving_arg
1542         according to the needprotect value of the current paragraph (bug
1543         1739)
1544
1545         * paragraph.C (simpleTeXOnePar): no need to override
1546         runparams.moving_args here
1547
1548 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
1549
1550         * vspace.C: fix off-by-one-error, related to fix #1682
1551
1552 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1553
1554         * lengthcommon.C: a more general fix for bug 1682
1555
1556 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
1557
1558         * text.C (backspace): fix crash
1559
1560 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1561
1562         * format.[Ch] (getFormatFromFile): new method
1563         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
1564
1565 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1566
1567         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
1568
1569 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1570
1571         * lyxfunc.C (dispatch): remove the verbose argument
1572         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
1573         instead
1574
1575         * kbmap.C (defkey): set the origin of func to KEYBOARD
1576
1577         * MenuBackend.C (MenuItem):
1578         * ToolbarBackend.C (add): set the origin of func to UI
1579
1580         * funcrequest.[Ch]: add origin member, which indicates which part
1581         of LyX requests an action
1582
1583 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1584
1585         * converter.C (move): don't lie in the error message
1586         * converter.h (isReachable, move): document
1587
1588 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1589
1590         * buffer.C: remove unused using lyx::support::atoi
1591         * paragraph_funcs.C: ditto
1592
1593 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1594
1595         * bufferlist.C (exists): use bind and equal_to instead of
1596         compare_memfun
1597         (getBuffer): ditto
1598         * lyxtextclasslist.C (NumberOfClass): ditto
1599
1600         * cursor.C (insert): use for_each instead of explicit for loop
1601
1602         * bufferlist.C (getFileNames): use std::transform and
1603         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
1604
1605         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
1606         for loop
1607
1608         * buffer.C (changeLanguage): use for_each instead of explicit for
1609         loop
1610         (hasParWithID): implement using getParFromID
1611
1612         * LaTeXFeatures.C: ws change only
1613
1614         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
1615         to cleanup a bit.
1616
1617         * BufferView_pimpl.C (trackChanges): use for_each instead of
1618         expilicit for loop
1619
1620 2004-11-04  André Pönitz  <poenitz@gmx.net>
1621
1622         * undo.h:
1623         * undo.C (textUndoOrRedo): fix crash when creating undo information.
1624
1625         * dociterator.C (asDocIterator): use hard assert again.
1626
1627 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1628
1629         * lyxlength.C (asLatexString): rewrite so that it does not use
1630         snprintf anymore
1631
1632 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1633
1634         * text3.C (specialChar, dispatch): make sure cursor moves to the
1635         right after inserting an inset
1636
1637 2004-11-02  José Matos  <jamatos@lyx.org>
1638
1639         * output_docbook.C (docbook):
1640         * paragraph.C (getID):
1641         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
1642         garantee that the output is always legal.
1643
1644         * tabular.C (docbook):
1645         * outputprams.[Ch]: remove mixed contents.
1646
1647 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1648
1649         * text2.C (setCounter): prevent endless loop
1650
1651 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1652
1653         * exporter.C (copyFile): use the mover instead of support::copy()
1654         * exporter.C (Export): pass format and latex name to copyFile()
1655         * exporter.h (addExternalFile): document
1656         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
1657
1658 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1659
1660         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1661
1662 2004-10-30  José Matos  <jamatos@lyx.org>
1663
1664         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1665         text and no inset or font change. This allows to use CDATA
1666         sections just for the whole paragraph.
1667
1668 2004-10-30  José Matos  <jamatos@lyx.org>
1669
1670         * paragraph.C (getFirstWord): remove unused variable.
1671
1672 2004-10-30  José Matos  <jamatos@lyx.org>
1673
1674         * paragraph.C (getFirstWord): the content should always be escaped
1675         there.
1676         (simpleDocBookOnePar):
1677         * output_docbook.C (makeEnvironment): replace reference to CDATA
1678         to style pass_thru.
1679
1680 2004-10-30  José Matos  <jamatos@lyx.org>
1681
1682         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1683
1684 2004-10-30  José Matos  <jamatos@lyx.org>
1685
1686         * output_docbook.C (makeParagraphs):
1687         * paragraph.[Ch] (emptyTag): for docbook and company, if the
1688         standard paragraph has only a given type of content drop the wrapper.
1689
1690 2004-10-29  José Matos  <jamatos@lyx.org>
1691
1692         * output_docbook.C (makeEnvironment):
1693         * sgml.C (openTag):
1694         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1695
1696 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
1697
1698         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1699         (cleanID): sanitize any id.
1700
1701 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1702
1703         * buffer.C, lyxlex_pimpl.C:
1704         * lyxlex_pimpl.C (setFile):
1705         s/getExtFromContents/getFormatFromContents/
1706
1707 2004-10-28  José Matos  <jamatos@lyx.org>
1708
1709         * output_docbook.C (makeEnvironment): move id to broadest possible
1710         scope.
1711
1712         * sgml.C (openTag): apply substitution of <> for all attributes.
1713
1714 2004-10-28  José Matos  <jamatos@lyx.org>
1715
1716         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1717         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1718         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1719
1720         * sgml.[Ch]: new version for open and closeTag for paragraph and
1721         for strings. Now they handle the ids of paragraphs.
1722
1723 2004-10-26  Angus Leeming  <leeming@lyx.org>
1724
1725         * Makefile.am: add mover.[Ch].
1726
1727         * converter.C (convert, move): use the new Movers to move external
1728         files to the temp directory.
1729
1730         * lyx_main.C (init): ensure that the global system_movers data
1731         is initialised.
1732
1733         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1734         preferences file.
1735
1736         * mover.[Ch]: new files, defining a Mover as a utility to move an
1737         external file between directories and, if necessary, manipulate this
1738         file using a helper script.
1739
1740 2004-10-25  José Matos  <jamatos@lyx.org>
1741
1742         * output_docbook.C (makeCommand): merge two if's that tested the
1743         same condition.
1744
1745 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1746
1747         * sgml.C (escapeString): fix warning in a better way
1748
1749 2004-10-25  José Matos  <jamatos@lyx.org>
1750
1751         * sgml.C (escapeString): import the require boosts header file for
1752         tie, and avoid a signed unsigned comparison.
1753
1754 2004-10-25  José Matos  <jamatos@lyx.org>
1755
1756         * sgml.h: add #include <string>
1757
1758 2004-10-25  José Matos  <jamatos@lyx.org>
1759
1760         * sgml.[Ch] (escapeString): new function to escape all the string.
1761
1762 2004-10-24  José Matos  <jamatos@lyx.org>
1763
1764         * paragraph.[Ch] (getFirstWord): new function to get the first
1765         word. Useful for description.
1766         (simpleDocBookOnePar): remove depth argument, add another that
1767         says where to start the paragraph.
1768
1769         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1770         use the new functions to fix cleanly the support for descriptions.
1771
1772 2004-10-24  José Matos  <jamatos@lyx.org>
1773
1774         * buffer.C (makeLinuxDocFile, makeDocBookFile):
1775         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1776         * output_linuxdoc.C (linuxdocParagraphs):
1777         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1778         add buffer as argument.
1779
1780 2004-10-24  José Matos  <jamatos@lyx.org>
1781
1782         * output_docbook.C (makeEnvironment, searchEnvironment): place
1783         CDATA inside paragraphs and fix scope for listitems.
1784
1785 2004-10-24  José Matos  <jamatos@lyx.org>
1786
1787         * output_docbook.C: remove using statement for stack.
1788
1789 2004-10-23  José Matos  <jamatos@lyx.org>
1790
1791         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1792         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1793         docbook. The new scheme is recursive and makes use of iterators, the
1794         same as latex export works.
1795         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1796         directly with the paragraph contents. This code was moved up to
1797         output_docbook.C (docbookParagraphs).
1798         * sgml.C (openTag, closeTag): removed unneeded newlines.
1799         (closeEnvTags) removed.
1800
1801 2004-10-23  André Pönitz  <poenitz@gmx.net>
1802
1803         * undo.C (textUndoOrRedo):
1804         * dociterator.C (asDocIterator): work around crash
1805
1806         * cursor.C (getStatus): replace ASSERT by more verbose error message
1807           and manual correction of the problem. Should increase stability
1808           while providing more sensible information.
1809
1810 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1811
1812         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1813
1814         * bufferlist.C (previous, next): new methods
1815
1816         * lfuns.h:
1817         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1818
1819 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
1820
1821         * buffer.C (makeDocBookFile): add dsssl stylesheet control
1822         entities to preamble.
1823
1824 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1825
1826         * messages.C (Pimpl): strip off translation context information
1827
1828 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1829
1830         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1831         the cursor is correct (bug 1694)
1832
1833 2004-10-13  José Matos  <jamatos@lyx.org>
1834
1835         * output_docbook.C (docbookParagraphs): fix closing tags in the
1836         end of the document.
1837
1838 2004-10-09  José Matos  <jamatos@lyx.org>
1839
1840         * buffer.C: format up to 237.
1841         * bufferparams.C (write): use tostr to convert booleans to strings.
1842
1843 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
1844
1845         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1846
1847 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
1848
1849         * LaTeX.C: implement use of babel language in xindy.
1850
1851 2004-10-05  José Matos  <jamatos@lyx.org>
1852
1853         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1854         Add new translators to help reading and writing the lyx file.
1855
1856 2004-10-05  José Matos  <jamatos@lyx.org>
1857
1858         * ParagraphParameters.C (read):
1859         * text.C (readParToken): replace nexToken by more appropriate lex
1860         methods.
1861
1862 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
1863
1864         * LaTeX.C (runMakeIndex):
1865         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1866         (usually 'makeindex') configurable.
1867
1868         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1869         with a variable rather than with a number.
1870
1871 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1872
1873         * output_latex.C (TeXOnePar): make sure font setting is the first
1874         thing that gets output (and the last at the end). Should fix bug
1875         1404.
1876
1877 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1878
1879         * pch.h: use proper signal include
1880
1881         * LaTeX.h: Use preferred calling of Boost.Signal
1882         * buffer.h: ditto
1883
1884 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1885
1886         * pch.h: dont include <boost/function/function0.hpp>
1887
1888         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1889
1890         * paragraph_pimpl.h: remove usage of ShareContainer
1891
1892         * paragraph_pimpl.C: remove initialization of ShareContainer.
1893
1894 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1895
1896         Fix bug #1666
1897
1898         * BufferView.C (putSelectionAt): change the semantics when
1899         backwards == true: now, this just swaps cursor and anchor wrt the
1900         forward case
1901
1902         * BufferView.h (putSelectionAt): add some documentation
1903
1904         * lyxfind.C (findBackwards): rewrite using while(). In particular,
1905         make sure backwardChar is done at least once (to avoid getting
1906         stuck)
1907         (findNextChange): use putSelectionAt in the forward direction
1908         (operator()): use Paragraph::isWord
1909
1910 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
1911
1912         * Spacing.C (set): c_str fix
1913
1914 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1915
1916         * lyx_cb.C (Reconfigure): quote the name of configure script in
1917         case it contains spaces
1918
1919 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
1920
1921         * client: new dir
1922
1923         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1924         (BOOST_LIBS): use top_buildir when looking for the file
1925
1926 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
1927
1928         * pch.h: do not use include boost/format.hpp, multiple symbols
1929                 will result (gcc bug)
1930
1931
1932 2004-08-23  José Matos  <jamatos@lyx.org>
1933
1934         * bufferparams.C (readToken): fix reading of the author field.
1935
1936 2004-08-20  José Matos  <jamatos@lyx.org>
1937
1938         * lyxrc.C: remove support/translator.h inclusion since it is not used.
1939
1940 2004-08-20  José Matos  <jamatos@lyx.org>
1941
1942         * lyxlex.[Ch] (findToken): remove function.
1943
1944         * ParagraphParameters.C (findToken):
1945         * bufferparams.C (findToken): replace call for previous function
1946         with local copy. This local function has one more argument, the
1947         read string argument.
1948
1949 2004-08-16  José Matos  <jamatos@lyx.org>
1950
1951         * ParagraphParameters.C (write):
1952         * Spacing.C (writeFile):
1953         * bufferparams.C (writeLaTeX):
1954         * lyx_cb.C (Reconfigure):
1955         * paragraph.C (write):
1956         * tabular.C (write): remove unnecessary space at end of line.
1957
1958
1959 2004-08-16  José Matos  <jamatos@lyx.org>
1960
1961         * text.C (readParagraph): remove debug message.
1962
1963 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1964
1965         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1966         crash
1967
1968         * output_plaintext.C (asciiParagraph): set depth correctly
1969
1970         * outputparams.h: add member depth
1971
1972         * paragraph_funcs.C (ownerPar): remove.
1973
1974         * text2.C (setCounter): remove first_pit; comment out some
1975         non-working code that uses ownerPar
1976
1977         * BufferView.C (getParentLanguage): remove. Not used anymore, and
1978         uses ownerPar
1979
1980 2004-08-16  José Matos  <jamatos@lyx.org>
1981
1982         * text.C (readParToken, readParagraph, read): report all unknown tokens.
1983         For the same level of importance use the same chanel to report problems.
1984         (read): add code to deal with \begin_body and \end_body.
1985
1986
1987 2004-08-15  José Matos  <jamatos@lyx.org>
1988
1989         * lyxlex.C (getString): fix comment, buffer::readBody is now
1990         buffer:readDocument.
1991
1992         * tex-strings.C (string_papersize): Default -> default,
1993         Custom -> custom, for consistency with other options.
1994
1995 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
1996
1997         * pch.h: new file
1998
1999         * Makefile.am: support pch
2000
2001 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2002
2003         * text.C (readParToken): remove the static LyXFont variable and
2004         pass it as a parameter instead. This fixes a nasty bug where an
2005         inset will be inserted with a bad font in some situations
2006         (readParagraph): adapt
2007
2008         * text2.C (setCounter): reduce number of calls to pars_[pit]
2009
2010         * text.C (singleWidth): add an assert, fix a test
2011
2012         * rowpainter.C (paintText): reduce number of calls to singleWidth
2013
2014         * paragraph.C (isHfill):
2015         (isNewline): ws only
2016
2017 2004-08-14  André Pönitz  <poenitz@gmx.net>
2018
2019         * text.C:
2020         * text2.C:
2021         * rowpainter.C:
2022         * lyxtext.h (several functions): use a Paragraph & argument
2023         instead of par_type
2024
2025 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2026
2027         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2028
2029         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2030
2031         * text.C (singleWidth): remove useless test
2032
2033 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2034
2035         * tabular.h: remove bogus comments
2036
2037         * tabular.C (getDescentOfRow):
2038         (isPartOfMultiColumn): add assertions
2039
2040         * lyxlength.C (inPixels): remove #warning
2041
2042 2004-08-14  André Pönitz  <poenitz@gmx.net>
2043
2044         * paragraph.h: inline getChar()
2045
2046         * BufferView.h: remove unused declarations
2047
2048 2004-08-14  José Matos  <jamatos@lyx.org>
2049
2050         * Buffer.[Ch] (readDocument): new name for old readBody.
2051         * Buffer.C: new file format, new keywords: \begin_document,
2052         \begin_header, \begin_body, \end_body.
2053
2054         * bufferparams.C (readToken): replace all calls to lex.nextToken
2055         by lex.next(). Do the same to eatLine except where really needed.
2056
2057         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2058         line when writing to the lyx file.
2059
2060         * output_plaintext.C (asciiParagraph): fix Bibliography style
2061         handling.
2062
2063         * text.C (read): fix end of file handling.
2064
2065 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2066
2067         * MenuBackend.C (Menu::operator[]): new method to access
2068         individual menu items
2069         (Menu::hasFunc): new method. search for an item that corresponds
2070         to a given func
2071         (MenuBackend::specialMenu): new method
2072         (MenuBackend::expand): if a special menu has been set, skip
2073         entries whose func() appears in this menu
2074
2075 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2076
2077         * text3.C: use Debug::DEBUG a bit more
2078
2079         * text.C (leftMargin): try to simplify a tiny bit change var x to
2080         l_margin. Dont output the wide margins always.
2081         (rightMargin): no margin in inner texts
2082
2083         * rowpainter.h (nestMargin): new func
2084         (changebarMargin): new func
2085         (rightMargin): new func
2086
2087         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2088         now functions.
2089         (paintLast): ditto
2090
2091         * factory.C (createInset): modify setDrawFrame
2092
2093         * cursor.C: use Debug::DEBUG a bit more
2094
2095 2004-08-14  André Pönitz  <poenitz@gmx.net>
2096
2097         * coordcache.[Ch]:
2098         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2099         cache for all insets in (at least partially) visible (top-level)
2100         paragraphs.
2101
2102         * BufferView_pimpl.C: reset external coord cache before every update.
2103         This means the coord cache only contains valid entries.
2104
2105 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
2106
2107         bug 1096
2108         * BufferView_pimpl.C (getInsetByCode): move function out of class
2109         and change in to a template in anon namespace. Also fix to do what
2110         suits us better.
2111
2112 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
2113
2114         bug 1305
2115         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2116         of char
2117         (breakParagraph): rename par to par_offset and use a local
2118         reference. Add code to keep the language over a rebreak.
2119         (breakParagraphConservative): rename par to par_offset, use a
2120         local reference
2121         (mergeParagraph): ditto
2122         (outerHook): ditto
2123         (isFirstInSequence): ditto
2124         (outerFont): rename pit to par_offset
2125
2126         * paragraph.C: ws change
2127         * paragraph.h: ditto
2128         * text3.C: ditto
2129         * text.C: ditto
2130
2131 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2132
2133         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2134         treatment for ']'
2135
2136         * paragraph.C (simpleTeXOnePar): when we have a \item with
2137         optional argument, enclose the argument with curly brackets (in
2138         case it contains a closing square bracket)
2139
2140         * text2.C (editXY):
2141         * text2.C (editXY):
2142         * text3.C (checkInsetHit): constify
2143
2144 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2145
2146         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2147         documents (bug 1629)
2148
2149 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2150
2151         Fix toggling of collapsable insets with the mouse (bug 1558)
2152
2153         * lyxfunc.C (dispatch): adapt to LCursor changes
2154
2155         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2156         make sure that dispatch is not invoked twice
2157
2158         * cursor.C (needsUpdate): new method
2159         (dispatch): return void
2160         (result): new method, to access the DispatchResult of the cursor.
2161
2162 2004-08-13  José Matos  <jamatos@lyx.org>
2163
2164         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2165
2166 2004-08-13  André Pönitz  <poenitz@gmx.net>
2167
2168         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2169
2170         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2171           multiple cells
2172
2173 2004-08-12  André Pönitz  <poenitz@gmx.net>
2174
2175         * text3.C: take out the 'cursor right' form insertInset and only
2176         do it in those places when it is really needed. Fixes crash on
2177         C-m...
2178
2179 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2180
2181         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2182
2183         * BufferView_pimpl.C (setBuffer): initialize the current font of
2184         the underlying LyXText
2185
2186 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2187
2188         * kbsequence.C (print): use UI native formatting for menu
2189         shortcuts
2190
2191         * text.C (insertChar): call Paragraph::insertChar with a font
2192         argument (cosmetic)
2193
2194         * paragraph.C (insertInset, insertChar): the version that takes a
2195         LyXFont argument is now a wrapper around the other one (the
2196         opposite used to be true).
2197
2198         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2199         argument. Font setting is done in Paragraph now.
2200
2201 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2202
2203         * outputparams.h: add new members intitle and lang.
2204
2205         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2206         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2207
2208 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2209
2210         * text3.C (dispatch): remove special handling of button 4 and 5,
2211         it is now taken care of in the frontend code.
2212
2213 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2214
2215         * Spacing.h: add <string> (STLPort compile fix)
2216
2217 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2218
2219         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2220
2221 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2222
2223         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2224         to bool.
2225
2226         * converter.C (showMessage): inherit from unary_function, make
2227         operator() const.
2228
2229         * buffer.C (writeFile): initialize retval
2230
2231         * InsetList.h: rename private variable list to list_
2232         * InsetList.[Ch]: adjust accordingly.
2233
2234 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
2235
2236         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2237         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2238         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2239         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2240         * ParagraphParameters.C, LaTeXFeatures.C: replace
2241         "support/std_sstream.h" with <sstream>
2242
2243 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
2244
2245         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2246         * lyxsocket.C (LyXServerSocket): ditto
2247         (serverCallback): ditto
2248
2249 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2250
2251         * LaTeXFeatures.C: check release date when loading jurabib.
2252
2253 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2254
2255         * lyxserver.C (startPipe): call register_socket_callback
2256         (endPipe): call unregister_socket_callback
2257
2258 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
2259
2260         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2261         (LyXServerSocket): register the callback
2262         (LyXServerSocket): unregister the callback
2263         (fd): delete function
2264         (serverCallback): improve error checking and setup the callbacks.
2265         (dataCallback): change arg to fd.
2266         (writeln): new func (copied fro the client socket) used for server
2267         write to client.
2268         (LyXDataSocket): simplify
2269         (~LyXDataSocket): close ann unregiser callback
2270         (server): delete function
2271         (fd): delete function
2272         (readln): small changes, improve some std::string usage
2273         (writeln): constify a bit
2274
2275 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2276
2277         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2278         Qt frontend
2279
2280 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2281
2282         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2283         after it has been populated
2284
2285 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2286
2287         * text2.C (insertInset): move cursor when inserting inset.
2288
2289 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2290
2291         * kbmap.C (findbindings): a couple of new methods. returns a
2292         container of kb_sequence objects. The real work is done by the
2293         private recursive version
2294         (printbindings): uses findbindings to print out a bracketed list
2295         of bindings (renamed from findbinding).
2296
2297         * MenuBackend.C (binding): use kb_keymap::findbindings
2298
2299         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2300
2301 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2302
2303         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2304
2305 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2306
2307         * paragraph.C (isWord): return true on insets that report
2308         isLetter().
2309
2310         * text.C (getWord): use Paragraph::isWord to decide what is in a
2311         word and what is not; fix bug 1609.
2312
2313 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2314
2315         * tex-strings.C: add "none" to string_paperpackages[], fixes
2316         off-by-one-error in the paperpackage selection.
2317
2318         * lyxlex.[Ch]:
2319         * tex-strings.[Ch]: char const * string[n]
2320         -> char const * const string[]
2321
2322 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2323
2324         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2325         command, return early.
2326
2327 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
2328
2329         * debug.h: add DEBUG to enum and fix size of ANY.
2330
2331         * debug.C: add support for Debug::DEBUG
2332         (showTags): cast errorTags.level to unsigned int
2333
2334         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2335         (redoCurrentBuffer): ditto
2336         (updateScrollbar): ditto
2337         * cursor.C (dispatch): ditto
2338         * text2.C (setLayout): ditto
2339         (setFont): ditto
2340         (updateCounters): ditto
2341         (editXY): ditto
2342         (deleteEmptyParagraphMechanism): ditto
2343
2344 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
2345
2346         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2347         annotations to cleanup the Makefile slightly.
2348
2349 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2350
2351         * lyxrc.C: do not set user_email to a default value but use empty
2352         instead. The entry used to be translated, which does not work
2353         since at the point where lyxrc is constructed there is no
2354         translation service available
2355
2356         * messages.C (getLocaleDir): remove and use directly
2357         lyx_localedir() instead
2358
2359 2004-06-02  Angus Leeming  <leeming@lyx.org>
2360
2361         Fix crash caused by dereferencing null pointer 'exportdata' in
2362         OutputParams by creating a new ExportData variable on the heap,
2363         storing it in a boost::shared_ptr.
2364         The crash was triggered when generating an Instant Preview
2365         of an external inset.
2366
2367         * Makefile.am: add outputparams.C
2368
2369         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2370         (c-tor): allocate memory to it.
2371
2372         * exporter.C (c-tor): associated changes.
2373
2374 2004-06-01  Angus Leeming  <leeming@lyx.org>
2375
2376         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2377         contains data before calling isInset(0). (Bug 1513.)
2378
2379 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2380
2381         * exporter.C (checkOverwrite): new method
2382         * exporter.C (copyFile): new method
2383         * exporter.C (Export): copy referenced files to the document dir
2384         * exporter.[Ch]: new class ExportedFile
2385         * exporter.[Ch]: new class ExportData. Contains currently the
2386         names of referenced external files
2387         * outputparams.h: add exportdata member.
2388
2389 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2390
2391         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2392         version.C-tmp
2393
2394 2004-05-19  Angus Leeming  <leeming@lyx.org>
2395
2396         * LaTeXFeatures.C:
2397         * ToolbarBackend.C:
2398         * bufferparams.C:
2399         * lyxfunc.C: small changes due to the introduction of namespace
2400         lyx::frontend and the moving of namespace biblio to lyx::biblio.
2401
2402 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
2403
2404         * text3.C (dispatch): supress update when only moving the cursor
2405         * cursor.C (selHandle): remove commented code
2406
2407 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2408
2409         * paragraph.C (startTeXParParams): correct column count
2410         * CutAndPaste.C (pasteSelection): remove const_cast
2411         * output_docbook.C (docbookParagraphs): remove const_cast
2412         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
2413         const_cast and return ParagraphList::const_iterator
2414         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
2415         * output_plaintext.C (writeFileAscii): remove const_cast
2416         * paragraph.[Ch] (simpleTeXOnePar): make const
2417         * paragraph_funcs.C (outerPar): use const iterators
2418         * paragraph_pimpl.C (validate): use const iterators
2419         * text.C (setHeightOfRow): use const iterators
2420
2421 2004-05-17  Angus Leeming  <leeming@lyx.org>
2422
2423         * lfuns.h:
2424         * LyXAction.C (init): new LFUN_INSET_REFRESH.
2425
2426         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
2427         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
2428         if the citation engine has changed.
2429
2430 2004-05-14  José Matos  <jamatos@lyx.org>
2431
2432         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
2433         if the textclass does not provide it. Have it different for sgml and
2434         xml.
2435         support the language of document.
2436         * output_docbook.C (docbookParagraphs):
2437         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
2438         first anchor as the id of the paragraph, remove special case code.
2439         * sgml.C (escapeChar): escape only < & >.
2440
2441 2004-05-14  Angus Leeming  <leeming@lyx.org>
2442
2443         * bufferparams.h: move biblio::CiteEngine enum here to minimize
2444         dependencies on src/frontends/controllers/biblio.h. Define a
2445         CiteEngine_enum wrapper class to enable the enum to be forward
2446         declared.
2447
2448 2004-05-12  Angus Leeming  <leeming@lyx.org>
2449
2450         * buffer.C: up LYX_FORMAT to 234.
2451         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
2452         use_numerical_citations with a single biblio::CiteEngine cite_engine
2453         variable.
2454         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
2455
2456 2004-05-13  José Matos  <jamatos@lyx.org>
2457
2458         * converter.h:
2459         * converter.C (Converter, readFlags): add xml member.
2460         * outputparams.h: add XML flavor.
2461         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
2462
2463 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2464
2465         * lyxfunc.C (dispatch):
2466         (getStatus): fix handling of LFUN_SEQUENCE
2467
2468 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2469
2470         * debug.C (showLevel): do not forget the end-of-line marker
2471
2472 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2473
2474         * kbmap.C (read): do not stop parsing a bind file when an error
2475         occurs (bug 1575)
2476
2477 2004-04-29  Angus Leeming  <leeming@lyx.org>
2478
2479         * cursor.C:
2480         * factory.C:
2481         * pariterator.C:
2482         * text2.C: wrap a bunch of #warning statements
2483         inside #ifdef WITH_WARNINGS blocks.
2484
2485 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2486
2487         * buffer.C: increment format to 233.
2488
2489 2004-04-28  Angus Leeming  <leeming@lyx.org>
2490
2491         * BufferView_pimpl.C:
2492         * lyxfunc.C:
2493         * text3.C:
2494         s/updateToolbar()/updateToolbars()/
2495         s/Toolbar.h/Toolbars.h/
2496
2497 2004-04-28  Angus Leeming  <leeming@lyx.org>
2498
2499         * BufferView.[Ch] (c-tor):
2500         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
2501         No longer passes these data to the WorkArea generator.
2502
2503 2004-04-28  Angus Leeming  <leeming@lyx.org>
2504
2505         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
2506
2507 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2508
2509         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
2510
2511 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2512
2513         * output_latex.C (TeXEnvironment): make sure that there is a line
2514         break before \end{foo} for the last paragraph of a document
2515         (TeXOnePar): if the paragraph is at the end of the document (or
2516         inset) and the language has to be reset, then make sure that the
2517         line break is _before_ the language command, not after (fixes bug
2518         1225); also make sure that the language reset command is the first
2519         thing after the paragraph (to ensure proper nesting of
2520         environments and thus fix bug 1404)
2521
2522 2004-04-21  John Levon  <levon@movementarian.org>
2523
2524         * ToolbarBackend.h:
2525         * ToolbarBackend.C: make "name" be a programmatic name
2526         and a gui_name field.
2527
2528         * lyxfunc.C: display the minibuffer on M-x
2529
2530 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2531
2532         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
2533         (bug 1526)
2534
2535 2004-04-19  Angus Leeming  <leeming@lyx.org>
2536
2537         * BufferView_pimpl.C (setBuffer): changed preview interface.
2538
2539         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
2540         possible values.
2541
2542 2004-04-19  John Levon  <levon@movementarian.org>
2543
2544         * BufferView_pimpl.C:
2545         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
2546
2547 2004-04-05  Angus Leeming  <leeming@lyx.org>
2548
2549         * text.C (redoParagraphs): add call to updateCounters(), thereby
2550         fixing the missing "Figure #:" label from the caption of a
2551         figure float.
2552
2553 2004-04-13  Angus Leeming  <leeming@lyx.org>
2554
2555         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
2556         cursor is clicked out of an inset.
2557
2558 2004-04-13  Angus Leeming  <leeming@lyx.org>
2559
2560         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
2561         than an InsetOld one.
2562
2563 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2564
2565         * format.[Ch]: add editor to Format
2566         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
2567         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
2568
2569 2004-04-08  André Pönitz  <poenitz@gmx.net>
2570
2571         * metricsinfo.h: remove PainterInfo::width member
2572
2573 2004-04-08  Angus Leeming  <leeming@lyx.org>
2574
2575         * lyx_sty.C (boldsymbol_def): modify so that it outputs
2576         "\providecommand" rather than "\newcommand", thereby preventing
2577         clashes with packages that define "\boldsymbol" themselves.
2578         Eg, beamer.
2579
2580 2004-04-08  Angus Leeming  <leeming@lyx.org>
2581
2582         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
2583         thereby squashing an unnecessary warning.
2584
2585 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2586
2587         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
2588         setBuffer()
2589
2590 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
2591
2592         * BufferView.C (setCursor): call redoParagraph (some insets could
2593         have been opened)
2594         (putSelectionAt): remove the 'double update' trick
2595
2596         * BufferView_pimpl.C (fitCursor): call refreshPar
2597         (workAreaDispatch): remove an uneeded update call
2598         (dispatch): remove some manual update calls
2599
2600         * cursor.[Ch]: remove cached_y_, updatePos
2601         (selHandle): set noUpdate when appropriate
2602
2603         * lyxfunc.C (dispatch): track if we need an update
2604
2605         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
2606
2607         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
2608         (paintSelection): cheap optimization, do not call cursorX when not
2609         needed
2610         (paintPars): change signature
2611         (refreshPar): add
2612         (paintText): adjust
2613         (paintTextInset): adjust
2614
2615         * text.C: adjust
2616
2617 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2618
2619         * lengthcommon.C: compilation fix: remove explicit array size from
2620         unit_name[] and friends
2621
2622 2004-04-05  Angus Leeming  <leeming@lyx.org>
2623
2624         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
2625
2626         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
2627         present only for the preferences dialog.
2628         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
2629
2630 2004-04-05  Angus Leeming  <leeming@lyx.org>
2631
2632         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
2633         to enable the frontends to export changes to lyxrc correctly.
2634
2635         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
2636
2637 2004-04-07  André Pönitz  <poenitz@gmx.net>
2638
2639         * cursor.[Ch] (selClear, adjust): remove math
2640
2641         * cursor_slice.C: more agressive assert
2642
2643         * lyxfunc.C:
2644         * BufferView_pimpl.C: rework mouse event dispatch
2645
2646         * dociterator.C:
2647         * paragraph.C:
2648         * text2.C:
2649         * text3.C: adjust
2650
2651 2004-04-05  André Pönitz  <poenitz@gmx.net>
2652
2653         * cursor.[Ch] (valign, halign...): remove unneeded functions
2654
2655 2004-04-05  Angus Leeming  <leeming@lyx.org>
2656
2657         * lyxlength.[Ch] (unit_name et al.): const-correct.
2658
2659 2004-04-05  Angus Leeming  <leeming@lyx.org>
2660
2661         * BufferView_pimpl.C:
2662         * buffer.C:
2663         * counters.C:
2664         * cursor.C:
2665         * lyxfunc.C
2666         * paragraph.C:
2667         * pariterator.C:
2668         * text.C:
2669         * text2.C:
2670         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2671
2672 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2673
2674         * text3.C (getStatus): add LFUN_BEGINNINGBUF
2675
2676 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2677
2678         * lyxfind.C: add a couple of inTexted() tests + other small fixes
2679         * BufferView_pimpl.[Ch] (getStatus)
2680         * BufferView.[Ch] (getStatus): add
2681         * lyxfunc.C (getStatus): move lfuns handled in
2682         BufferView::dispatch to te function above
2683         * Cursor.C (setSelection): set selection() = true
2684
2685 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
2686
2687         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2688
2689 2004-03-31  Angus Leeming  <leeming@lyx.org>
2690
2691         * lyxfunc.C (dispatch): Fall through to the generic
2692         Dialogs::show("preamble").
2693
2694 2004-03-31  Angus Leeming  <leeming@lyx.org>
2695
2696         * lyxfunc.C (dispatch): Fall through to the generic
2697         Dialogs::show("spellchecker").
2698
2699 2004-03-31  Angus Leeming  <leeming@lyx.org>
2700
2701         * lyxfunc.C (getStatus, dispatch): changed invocation of the
2702         preferences dialog.
2703
2704 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2705
2706         * BufferView.C
2707         * cursor.[Ch]
2708         * dociterator.[Ch]:
2709         * insetiterator.[Ch]:
2710         * lyxfind.C:
2711         * lyxfunc.C:
2712         * pariterator.[Ch]:
2713         * text2.C:
2714         * undo.[Ch]: s/DocumentIterator/DocIterator/g
2715
2716 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
2717
2718         * BufferView.C (setCursor, putSelectionAt): call edit to open the
2719         insets where we are putting the cursor.
2720
2721 2004-03-31  Angus Leeming  <leeming@lyx.org>
2722
2723         * lfuns.h:
2724         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2725
2726         * lyxrc.[Ch] (read, write): overloaded member functions taking
2727         a std::[io]stream arguments.
2728
2729         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2730
2731 2004-03-31  Angus Leeming  <leeming@lyx.org>
2732
2733         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2734         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2735
2736         * lyxtextclass.C (load): if the text class couldn't be loaded, then
2737         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2738
2739 2004-03-31  Angus Leeming  <leeming@lyx.org>
2740
2741         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2742         the LFUN_ALL_INSETS_TOGGLE code.
2743
2744 2004-03-30  Angus Leeming  <leeming@lyx.org>
2745
2746         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2747         has died. Fall through to the generic Dialogs::show("document").
2748
2749 2004-03-30  Angus Leeming  <leeming@lyx.org>
2750
2751         * lfuns.h:
2752         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2753         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2754
2755         * lyxfunc.C (getStatus, dispatch): define the actions for these
2756         lfuns. Little more than a cut and pste job from ControlDocument.C
2757
2758         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2759
2760 2004-03-30  Angus Leeming  <leeming@lyx.org>
2761
2762         * lfuns.h:
2763         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2764         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2765
2766         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2767         open/closed state of ollapsable insets. Usage:
2768
2769         all-inset-toggle <state> <name>, where
2770         <state> == "open" || "closed" || "toggle" and
2771         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2772
2773         * lyxtext.h, text2.C (toggleInset): removed.
2774
2775         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2776         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2777         now passes LFUN_INSET_TOGGLE to the found inset.
2778
2779         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2780         is now invoked as "all-insets-toggle toggle branch".
2781
2782 2004-03-30  Angus Leeming  <leeming@lyx.org>
2783
2784         * dociterator.C:
2785         * insetiterator.C:
2786         * pariterator.[Ch]: added/corrected header blurb.
2787
2788 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
2789
2790         * dociterator.[Ch]: add an inset_ member
2791         (backwardPos): implemented
2792         (backwardPos, forwardPos): use inset_ when the stack is empty.
2793         (doc_iterator_begin, doc_iterator_end): implemented
2794         * pariterator.[Ch]: adjust, add begin, end
2795         * insetiterator.[Ch]: adjust, add begin, end
2796         * cursor.C:
2797         * document.C:
2798         * BufferView.C:
2799         * BufferView_pimpl.C:
2800         * CutAndPaste.C: adjust
2801
2802 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2803
2804         * buffer.C: increment file format to 232.
2805         * LaTeXFeatures.C: add bibtopic package.
2806         * bufferparams.[Ch]: param \use_bibtopic.
2807
2808         * lyxrc.[Ch]: add lyxrc bibtex_command
2809         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2810
2811         * buffer.C: increment file format to 231.
2812
2813 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2814
2815         * dociterator.C: implement forwardPar
2816         * iterators.[Ch]: remove, replaced by
2817         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2818         * BufferView.C:
2819         * BufferView_pimpl.C:
2820         * CutAndPaste.C:
2821         * buffer.C:
2822         * bufferview_funcs.C:
2823         * cursor.C:
2824         * lyxfind.C
2825         * lyxfunc.C
2826         * paragraph_funcs.C
2827         * toc.C:
2828         * Makefile.am: adjust
2829
2830 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
2831
2832         * CutAndPaste.C (pasteSelection): fix 2 crashes
2833         (eraseSelection): fix a crash
2834         * paragraph_funcs.C: remove a warning
2835
2836 2004-03-28  Angus Leeming  <leeming@lyx.org>
2837
2838         * lfuns.h:
2839         * LyXAction.C (init): new LFUN_PRINT.
2840
2841         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2842
2843 2004-03-27  Angus Leeming  <leeming@lyx.org>
2844
2845         * lfuns.h:
2846         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2847
2848         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2849
2850 2004-03-27  Angus Leeming  <leeming@lyx.org>
2851
2852         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2853         insetlist always contains non-null pointers to insets.
2854
2855 2004-03-26  Angus Leeming  <leeming@lyx.org>
2856
2857         * src/BufferView_pimpl.C:
2858         * src/CutAndPaste.C:
2859         * src/buffer.C:
2860         * src/iterators.C:
2861         * src/output_plaintext.C:
2862         * src/outputparams.h:
2863         * src/paragraph_funcs.C:
2864         * src/rowpainter.C:
2865         * src/text.C:
2866         * src/text2.C:
2867         * src/frontends/controllers/ControlErrorList.C:
2868         * src/frontends/gtk/FileDialogPrivate.C:
2869         * src/frontends/gtk/GPainter.C:
2870         * src/frontends/gtk/GToolbar.C:
2871         * src/frontends/qt2/QRef.C:
2872         * src/mathed/math_scriptinset.C: squash compiler warnings.
2873
2874 2004-03-26  Angus Leeming  <leeming@lyx.org>
2875
2876         * ispell.C (LaunchIspell::start):
2877         * lyx_cb.C (AutoSaveBuffer::start):
2878         invoke run(DontWait) rather than runNonBlocking().
2879
2880 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
2881
2882         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2883
2884 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2885
2886         * kbsequence.C (print): adjust
2887
2888         * kbmap.C (printKeySym): rename and change signature
2889         (printKey): use LyXKeySym::print()
2890
2891 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
2892
2893         * undo.C: add using std::advance to compile for stlport
2894
2895 2004-03-24  Angus Leeming  <leeming@lyx.org>
2896
2897         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2898         it leads to a crash when no buffer is present.
2899
2900 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2901             Martin Vermeer  <martin.vermeer@hut.fi>
2902
2903         * lyxfunc.C (dispatch):
2904         * bufferparams.C (readToken): use the new LColor::setColor
2905
2906         * LColor.[Ch] (setColor): new version that takes two strings as
2907         argument and creates a new color entry if necessary
2908
2909 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2910
2911         * buffer.C (makeLaTeXFile): if the main latex file that is
2912         processed is usually a subdocument of some master, then pretend
2913         for a while that it is actually the master
2914
2915 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2916
2917         * buffer.C (getLabelList):
2918         (getBibkeyList): use getMasterBuffer()
2919         (getMasterBuffer): new method. Returns the main document in the
2920         case where one is using included documents.
2921
2922 2004-03-25  André Pönitz  <poenitz@gmx.net>
2923
2924         * Makefile.am:
2925         * iterators.[Ch]:
2926         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2927
2928         * ParagraphList_fwd.h: change ParagraphList to a std::vector
2929
2930         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2931         text*.C over here. Rename namespace CutAndPaste to lyx::cap
2932
2933         * ParameterStruct.h: merge with ParagraphParameters
2934
2935         * lyxtext.h: remove LyXText::parOffset() and getPar()
2936
2937         * text3.C: Remove all 'manual' update calls. We do now one per user
2938         interaction which is completely sufficient.
2939
2940         * Bidi.C:
2941         * BufferView.[Ch]:
2942         * BufferView_pimpl.C:
2943         * FontIterator.[Ch]:
2944         * MenuBackend.C:
2945         * ParagraphParameters.[Ch]:
2946         * buffer.C:
2947         * buffer.h:
2948         * bufferlist.C:
2949         * cursor.[Ch]:
2950         * cursor_slice.[Ch]:
2951         * dociterator.[Ch]:
2952         * errorlist.[Ch]:
2953         * factory.C:
2954         * lfuns.h:
2955         * lyxfind.C:
2956         * lyxfunc.C:
2957         * output_docbook.[Ch]:
2958         * output_latex.[Ch]:
2959         * output_linuxdoc.[Ch]:
2960         * output_plaintext.[Ch]:
2961         * paragraph.[Ch]:
2962         * paragraph_funcs.[Ch]:
2963         * paragraph_pimpl.[Ch]:
2964         * rowpainter.C:
2965         * tabular.[Ch]:
2966         * text.C:
2967         * text2.C:
2968         * toc.C:
2969         * undo.[Ch]: adjust
2970
2971         * frontends/controllers/ControlDocument.C:
2972         * frontends/controllers/ControlErrorList.C:
2973         * frontends/controllers/ControlSpellchecker.C:
2974         * insets/inset.C:
2975         * insets/inset.h:
2976         * insets/insetbase.h:
2977         * insets/insetbibitem.C:
2978         * insets/insetbox.C:
2979         * insets/insetbranch.C:
2980         * insets/insetcaption.C:
2981         * insets/insetcharstyle.C:
2982         * insets/insetcharstyle.h:
2983         * insets/insetcollapsable.C:
2984         * insets/insetcollapsable.h:
2985         * insets/insetert.C:
2986         * insets/insetfloat.C:
2987         * insets/insetfoot.C:
2988         * insets/insetmarginal.C:
2989         * insets/insetnote.C:
2990         * insets/insetoptarg.C:
2991         * insets/insettabular.C:
2992         * insets/insettext.C:
2993         * insets/insettext.h:
2994         * insets/insetwrap.C:
2995         * mathed/math_mboxinset.C:
2996         * mathed/math_nestinset.C:
2997         * mathed/math_scriptinset.C:
2998         * mathed/math_scriptinset.h:
2999         * support/types.h:
3000
3001 2004-03-24  Angus Leeming  <leeming@lyx.org>
3002
3003         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3004         deal with any child processes that have finished but are waiting to
3005         communicate this fact to the rest of LyX.
3006
3007 2004-03-24  Angus Leeming  <leeming@lyx.org>
3008
3009         64-bit compile fixes.
3010
3011         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3012         (c-tor): pass lyx::pos_types rather than ints.
3013
3014         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3015         lyx::pos_type.
3016
3017         * text.C (Delete): compile fix.
3018         (getPar): ensure that function declaration is the same as that in
3019         the header file.
3020
3021 2004-03-23  Angus Leeming  <leeming@lyx.org>
3022
3023         * ispell.C (LaunchIspell):
3024         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3025         a boost::shred_ptr rather than a std::auto_ptr.
3026
3027 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3028
3029         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3030         handle LFUN_FILE_INSERT_*
3031
3032         * lyxrc.C (setDefaults, getDescription, output, read):
3033         * lyxrc.h: remove ps_command
3034
3035 2004-03-22  Angus Leeming  <leeming@lyx.org>
3036
3037         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3038         Ensure that error_handler is processed once only and that all data
3039         is saved before attempting to output any warning messages.
3040
3041         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3042
3043 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3044
3045         * tabular.C (TeXRow): crash fix (from Kayvan and André)
3046
3047 2004-03-19  André Pönitz  <poenitz@gmx.net>
3048
3049         * cursor.[Ch] (reset): take main text inset as argument
3050
3051         * BufferView: adjust
3052         * BufferView_pimpl.C: adjust
3053
3054         * paragraph.[Ch]: fix completely broken operator=()
3055
3056 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3057
3058         * LColor.C (getFromLyXName): make sure that the color name is used
3059         as lowercase.
3060
3061 2004-03-17  Angus Leeming  <leeming@lyx.org>
3062
3063         * lfuns.h:
3064         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3065
3066         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3067         dialog and to kill a forked process.
3068
3069 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3070
3071         * text2.C (setCursorFromCoordinates): fix font problem
3072
3073 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3074
3075         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3076         bogus "rebuild cursor" code
3077
3078 2004-03-11  André Pönitz  <poenitz@gmx.net>
3079
3080         * buffer.[Ch]: use InsetText instead of LyXText as container for
3081         the main lyx text.
3082
3083         * dociterator.[Ch]: drop the BufferView * member which is not needed
3084         anymore after the change to buffer.C
3085
3086         * paragraph_funcs.C:
3087         * text.C:
3088         * text2.C:
3089         * BufferView.[Ch]:
3090         * BufferView_pimpl.[Ch]:
3091         * cursor.[Ch]:
3092         * cursor_slice.[Ch]: adjust
3093
3094         * text3.C: fix bug in mathDispatch
3095
3096 2004-03-08  André Pönitz  <poenitz@gmx.net>
3097
3098         * undo.[Ch]: use 'StableDocumentIterator' as base for
3099         the Undo struct.
3100
3101 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3102
3103         * LaTeXFeatures.C:
3104         * bufferparams.[Ch]: add jurabib support and param.
3105
3106         * LaTeX.C: add FIXME/comment.
3107
3108 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3109
3110         * buffer.C: increment file format to 230.
3111
3112 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3113
3114         * cursor.C (dispatch): avoid infinite loops
3115
3116 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3117
3118         * rowpainter.C (paintSelection): fix x coordinates
3119
3120 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3121
3122         * text.C (rowBreakPoint): fix breaking before displayed insets
3123
3124 2004-03-01  André Pönitz  <poenitz@gmx.net>
3125
3126         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3127
3128         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3129
3130         * Makefile.am:
3131         * BufferView.C:
3132         * BufferView_pimpl.C:
3133         * buffer.C:
3134         * lyxfind.C:
3135         * lyxfunc.C:
3136         * text.C:
3137         * text2.C:
3138         * text3.C: adjust
3139
3140 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3141
3142         * lyxtext.h:
3143         * text.C:
3144         * text2.C:
3145         * rowpainter.C:
3146         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3147         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3148
3149 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3150
3151         * Bidi.[Ch] (computeTables): const correctness
3152         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3153         fill_hfill, fill_label_hfill and x from Row
3154         * lyxtext.h: prepareToPrint returns a RowMetrics
3155         * rowPainter.C: adjust
3156         * text.C (prepareToPrint): use width, not textWidth. adjust
3157         (redoParagraphInternal, cursorX): adjust
3158         * text2.C (getColumnNearX): adjust
3159         (init): put a default value to the top LyXText::width
3160
3161 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3162
3163         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3164
3165 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3166
3167         * lyxtext.h: add FontIterator class
3168
3169         * text.C (FontIterator, operator*, operator->, operator++): add
3170         (rowBreakPoint, setRowWidth): adjust (fixing a
3171         rebreaking bug)
3172
3173 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3174
3175         * BufferView_pimpl.C (workAreaDispatch): allow also
3176         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3177
3178 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3179
3180         * text.C (rowBreakPoint): fix a bug showing with very large insets
3181
3182 2004-02-25  André Pönitz  <poenitz@gmx.net>
3183
3184         * text3.C:
3185         * cursor.[Ch]: move some mathed specific code to mathed
3186
3187 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3188
3189         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3190         use_tempdir in preferences
3191         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3192         tempfile creation
3193         * lyx_main.C: ensure that tempdir is valid
3194         * lyxlex.h: correct typo
3195         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3196         * paragraph.[Ch] (isMultiLingual): make const
3197         * cursor.[Ch] (openable): make const
3198
3199 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3200
3201         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3202
3203 2004-02-20  André Pönitz  <poenitz@gmx.net>
3204
3205         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3206
3207         * cursor.[Ch]: prepare for localized getStatus()
3208
3209         * lyxtext.h:
3210         * tabular.C:
3211         * text.C:
3212         * text2.C:
3213         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3214
3215 2004-02-20  André Pönitz  <poenitz@gmx.net>
3216
3217         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3218
3219 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3220
3221         * text2.C (setCursorFromCoordinates): switch to absolute coords
3222         (cursorUp): adjust
3223         (cursorDown): adjust
3224         * text3.C (dispatch): adjust
3225
3226 2004-02-16  André Pönitz  <poenitz@gmx.net>
3227
3228         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3229           insets/ChangeLog)
3230
3231         * cursor_slice.[Ch]: remove unneeded acessor function
3232
3233         * lyxtext.h: rename rtl() to isRTL()
3234
3235         * rowpainter.C:
3236         * tabular.C:
3237         * text.C:
3238         * text2.C:
3239         * text3.C: adjust
3240
3241 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3242
3243         * rowpainter.C (paintSelection): coord fix
3244
3245 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3246
3247         * Spacing.C: compile fix
3248
3249 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3250
3251         * cursor.C (dispatch): restore current_ before returning
3252
3253 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3254
3255         * text2.C (cursorUp, cursorDown): fix coords
3256         (moveUp): fix crash
3257
3258 2004-02-12  André Pönitz  <poenitz@gmx.net>
3259
3260         * lyxtext.h:
3261         * text.C:
3262         * text2.C:
3263         * text3.C: add LCursor & parameter to most cursor movement functions
3264           remove usage of LyXText::cursorRow() and cursorPar()
3265
3266         * cursor.[Ch]: add textRow() needed members
3267
3268         * BufferView.C:
3269         * BufferView_pimpl.C:
3270         * paragraph.[Ch]:
3271         * BufferView.C:
3272         * BufferView_pimpl.C: adjust
3273
3274 2004-02-11  André Pönitz  <poenitz@gmx.net>
3275
3276         * lyxfunc.C:
3277         * BufferView.[Ch]:
3278         * BufferView_pimpl.C: shift undo/redo handling
3279
3280         * cursor.[Ch]: fix mathed crash
3281
3282         * lyxfind.C:
3283         * lyxtext.h: move selectionAsText to LCursor
3284
3285         * output_latex.C:
3286         * paragraph.C:
3287         * text.C:
3288         * text2.C:
3289         * text3.C: adjust
3290
3291         * rowpainter.C: fix excessive drawing
3292
3293 2004-02-06  André Pönitz  <poenitz@gmx.net>
3294
3295         * BufferView.[Ch]:
3296         * BufferView_pimpl.[Ch]:
3297         * text3.C: move some text specific LFUN handling
3298
3299 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3300
3301         * text3.C (checkInsetHit): adjust coords
3302         * text2.C (getColumnNearX): adjust coords
3303         (edit): adjust coords
3304         * text.C (getRowNearY): add two asserts
3305
3306 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3307
3308         * converter.C:
3309         * format.C: add using std::distance to compile on gcc 2.95/stlport
3310
3311 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3312
3313         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3314
3315 2004-02-04  André Pönitz  <poenitz@gmx.net>
3316
3317         * BufferView.[Ch] (insertInset):
3318         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3319
3320         * text2.C:
3321         * text3.C: adjust
3322
3323 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3324
3325         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3326         on the default clause of the switch
3327         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3328         wasn't catched by LCursor::dispatch
3329
3330 2004-02-03  André Pönitz  <poenitz@gmx.net>
3331
3332         * BufferView.C:
3333         * cursor.[Ch]: some additional asserts
3334
3335         * undo.[Ch]: remove LyXText dependency in interface
3336
3337         * lyxfunc.C: adjust
3338
3339         * lyxtext.h (firstPar, lastPar): remove dead functions
3340
3341         * text.C:
3342         * text2.C:
3343         * text3.C:
3344         * paragraph.[Ch]: adjust
3345
3346 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3347
3348         * lyxfind.C (find): fix argument order in call to ::find
3349
3350 2004-02-02  André Pönitz  <poenitz@gmx.net>
3351
3352         * cursor.[Ch]: remove direct access to anchor
3353
3354         * text.C: remove findText() hack
3355
3356 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3357
3358         * iterators.[Ch] (lockPath): remove in favour of...
3359         * BufferView.[Ch] (setCursor): this addition
3360         * BufferView.C (putSelectionAt): adjust
3361         * undo.C (performUndoOrRedo): adjust
3362         * lyxfunc.C (dispatch): adjust
3363
3364 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3365
3366         * iterators.C (lockPath): add a missing slice
3367         * undo.C (performUndoOrRedo): remove redundant positioning code
3368
3369 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
3370
3371         * vc-backend.C (scanMaster): ";" -> ';'
3372
3373 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
3374
3375         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3376         std::binary_function
3377
3378         * lyxtextclass.C (compare_name): rename to...
3379         (LayoutNamesEqual): ...this
3380
3381         * lyxlex_pimpl.C (compare_tags): inherit from
3382         std::binary_function, put back into anon namespace
3383
3384         * lyxfind.C (MatchString): inherig from std::binary_function
3385         (findChange): use empty() istead of !size()
3386
3387         * format.C (FormatNamesEqual): new functor
3388         (getFormat): use it
3389         (getNumber): use it
3390         (add): use it
3391         (erase): use it
3392         (setViewer): use it
3393
3394         * converter.C (compare_Converter): rename to...
3395         (ConverterEqual): ...this, and fixup a bit.
3396         (getConverter): use it, and make function const
3397         (getNumber): use it, and make function const
3398         (add): use it
3399         (erase): use it:
3400
3401         * bufferlist.C: add using boost::bind
3402
3403         * MenuBackend.C (MenuNamesEqual): new functor
3404         (hasMenu): use it, and make function const
3405         (hasSubmenu): use nested bind to get rid of compare_memfun.
3406
3407 2004-01-30  André Pönitz  <poenitz@gmx.net>
3408
3409         * BufferView_pimpl.C:
3410         * cursor.C:
3411         * cursor.h:
3412         * cursor_slice.[Ch]:
3413         * lyxfunc.C:
3414         * lyxtext.h:
3415         * paragraph_funcs.C:
3416         * paragraph_funcs.h:
3417         * rowpainter.C:
3418         * text.C:
3419         * text2.C:
3420         * text3.C: move some of the edit(x,y) handling to the insets
3421         some coordinate changes.
3422
3423 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
3424
3425         * text.C: add using statements for std::advance and std::distance
3426
3427         * paragraph.C: add using statement for std::distance
3428
3429         * lyxfind.C: add using statement for std::advance
3430
3431         * cursor.C (region): remove std:: from swap
3432         (openable): use nucleus in stead of operator->
3433
3434         * BufferView.C: add using statements for std::distance and std::swap
3435
3436 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
3437
3438         * iterators.C: Remove the pimple, move the needed structures to
3439         the header file. Create accessor for the positions stack.
3440         (asPosIterator): remove function
3441
3442         * PosIterator.C (PosIterator): move constructors to top of file
3443         (PosIterator): reimplement the constructor taking a ParIterator in
3444         terms of setFrom.
3445         (setFrom): new function
3446         (operator!=): inline it
3447
3448 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
3449
3450         * lyxfind.C (replaceAll): use std::advance
3451
3452         * iterators.h: inherit from std::iterator.
3453
3454         * PosIterator.C (advance, distance): remove
3455         * PosIterator.h: interit from std::iterator.
3456
3457 2004-01-26  André Pönitz  <poenitz@gmx.net>
3458
3459         * BufferView.[Ch]:
3460         * BufferView_pimpl.[Ch]:
3461         * InsetList.[Ch]:
3462         * PosIterator.[Ch]:
3463         * buffer.h:
3464         * bufferview_funcs.C:
3465         * cursor.[Ch]:
3466         * cursor_slice.h:
3467         * factory.[Ch]:
3468         * iterators.[Ch]:
3469         * lyxfind.C:
3470         * lyxfunc.C:
3471         * lyxtext.h:
3472         * output_docbook.C:
3473         * output_latex.C:
3474         * output_linuxdoc.C:
3475         * output_plaintext.C:
3476         * paragraph.[Ch]:
3477         * paragraph_funcs.[Ch]:
3478         * paragraph_pimpl.[Ch]:
3479         * rowpainter.C:
3480         * tabular.C:
3481         * tabular.h:
3482         * text.C:
3483         * text2.C:
3484         * text3.C: more IU:  dumps most of the rest of the mathcursor
3485     implementation into cursor.[Ch]; "globalize" a bit of it.
3486
3487 2004-01-25  Angus Leeming  <leeming@lyx.org>
3488
3489         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
3490
3491 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3492
3493         * LaTeXFeatures.h: add nice_ and nice() const
3494         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
3495
3496 2004-01-20  André Pönitz  <poenitz@gmx.net>
3497
3498         * BufferView.[Ch]:
3499         * BufferView_pimpl.C:
3500         * PosIterator.C:
3501         * bufferview_funcs.C:
3502         * cursor.[Ch]:
3503         * cursor_slice.[Ch]:
3504         * factory.C:
3505         * iterators.C:
3506         * lyx_cb.C:
3507         * lyxfind.C:
3508         * lyxfunc.C:
3509         * lyxtext.h:
3510         * rowpainter.C:
3511         * text.C:
3512         * text2.C:
3513         * text3.C:
3514         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
3515           LCursor and mathcursor parts to LCursor and InsetBase.
3516
3517 2004-01-15  André Pönitz  <poenitz@gmx.net>
3518
3519         * cursor_slice.[Ch]: add a few covienience functions
3520
3521         * funcrequest.[Ch]: remove BufferView * member
3522
3523         * BufferView_pimpl.C:
3524         * cursor.C:
3525         * factory.[Ch]:
3526         * lyxfind.[Ch]:
3527         * lyxfunc.C:
3528         * lyxtext.h:
3529         * text3.C:
3530         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
3531
3532 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
3533
3534         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
3535         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
3536
3537 2004-01-13  André Pönitz  <poenitz@gmx.net>
3538
3539         * textcursor.[Ch]:
3540         * lyxtext.h: hide cursor and selection anchor behind accessor function
3541
3542         * BufferView.C:
3543         * BufferView_pimpl.[Ch]:
3544         * PosIterator.C:
3545         * bufferview_funcs.C:
3546         * cursor.h:
3547         * lyxfind.C:
3548         * lyxfunc.C:
3549         * text.C:
3550         * text2.C:
3551         * text3.C:
3552         * undo.C: adjust
3553
3554         * cursor.h:
3555         * cursor_slice.[Ch]: some integer type changes for inset unification
3556
3557         * lyxcursor.[hC]: remove, it's CursorSlice now.
3558
3559         * Makefile.am:
3560         * BufferView_pimpl.[Ch]:
3561         * bufferview_funcs.C:
3562         * cursor_slice.C:
3563         * lyxtext.h:
3564         * text.C:
3565         * text2.C:
3566         * text3.C:
3567         * textcursor.[Ch]: adjust
3568
3569 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
3570
3571         * text2.C (undoSpan): add and use
3572         * text.C (breakParagraph): use undoSpan (fix bug 578)
3573         * lyxtext.h: adjust
3574
3575 2004-01-08  Angus Leeming  <leeming@lyx.org>
3576
3577         * BufferView_pimpl.C (MenuInsertLyXFile):
3578         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3579         * lyxfunc.C (menuNew, open, doImport):
3580         FileFilterList change to the FileDialog open and save functions.
3581
3582 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
3583
3584         * ShareContainer.h: make isEqual and isUnique adaptable
3585
3586         * CutAndPaste.C: make resetOwnerAndChanges adaptable
3587
3588 2004-01-07  Angus Leeming  <leeming@lyx.org>
3589
3590         * LyXAction.C:
3591         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
3592
3593         * BufferView_pimpl.C (dispatch): act on these LFUNs.
3594
3595         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
3596         functions replacing find, replace and replaceAll.
3597
3598         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
3599         LFUN_WORDFIND(FORWARD|BACKWARD).
3600
3601 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3602
3603         * text.C (breakParagraph): remove an outdated #warning
3604
3605 2004-01-07  André Pönitz  <poenitz@gmx.net>
3606
3607         * lyxfind.C: somewhat clearer logic
3608
3609         * text.C: prevent crash in cursorX on unitialized row cache
3610
3611 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
3612
3613         * lyxcursor.[Ch] (operator>): add
3614         * textcursor.C (selStart, selEnd): use std::min and std::max
3615
3616 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
3617
3618         * Chktex.C: include boost/format.hpp
3619
3620 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
3621
3622         * InsetList.C: replace functor MathcIt with adaptable functor
3623         InsetTablePosLess
3624         (insetIterator): modify accordingly
3625
3626         * BranchList.h: move the BranchNamesEqual functor here from...
3627         * BranchList.C: ... to here
3628
3629         * BranchList.C: new BranchListEqual fuctor, use it. Remove
3630         SameName and match.
3631         (add): replace a finding loop with std::find_if.
3632
3633 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
3634
3635         * output_docbook.C: moving LatexParam functionality into
3636         .layout files
3637
3638 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3639
3640         * buffer.C: increment format to 229.
3641
3642 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
3643
3644         * LaTeXFeatures.C:
3645         * lyx_sty.[Ch]: remove minipageindent_def
3646
3647         * LyXAction.C:
3648         * factory.C:
3649         * lfuns.h:
3650         * lyxfunc.C:
3651         * text3.C: remove LFUN_INSET_MINIPAGE
3652
3653 2003-12-28  Angus Leeming  <leeming@lyx.org>
3654
3655         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
3656
3657 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
3658
3659         * text2.C (setParagraph): fix off-by-one crash
3660
3661 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
3662
3663         * output_docbook.C: header stuff for AGU
3664
3665 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
3666
3667         * text2.C (redoCursor): remove
3668         * text.C:
3669         * text3.C:
3670         * BufferView_pimpl.C: remove calls to redoCursor and
3671         setCursor(cursor.par(), cursor.pos()) all around
3672
3673 2003-12-15  Angus Leeming  <leeming@lyx.org>
3674
3675         * buffer.C: up the format to 228.
3676
3677 2003-12-15  André Pönitz  <poenitz@gmx.net>
3678
3679         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3680         slices
3681
3682         * Makefile.am:
3683
3684         * BufferView_pimpl.C:
3685         * cursor.[Ch]:
3686         * lyxcursor.[Ch]:
3687         * rowpainter.[Ch]:
3688         * lyxtext.h:
3689         * text.C:
3690         * text2.C:
3691         * text3.C: adjust
3692
3693 2003-12-15  Angus Leeming  <leeming@lyx.org>
3694
3695         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3696         than getFromGUIName to manipulate the color.
3697
3698 2003-12-14  Angus Leeming  <leeming@lyx.org>
3699
3700         * BranchList.[Ch]: minimize the API.
3701         (Branch::getBranch, getColor): now return a 'const &'.
3702         (Branch::setSelected) now returns a bool set to true if the
3703         selection status changes.
3704         (BranchList::clear, size, getColor, setColor, setSelected,
3705         allBranches, allSelected, separator): removed.
3706         (BranchList::find): new functions, returning the Branch with
3707         the given name.
3708         (BranchList::add, remove): return a bool indicating that
3709         the operation was successful.
3710
3711         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3712         new InsetBranch::isBranchSlected member function.
3713
3714         * LColor.[Ch]: mimimize the API.
3715         (fill): renamed as addColor and made private.
3716         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3717         versions of these functions taking a string arg have been removed.
3718
3719         * bufferparams.C (readToken):
3720         * lyxfunc.C (dispatch):
3721         * lyxrc.C (read): changes due to the altered BranchList and
3722         LColor APIs.
3723
3724         * factory.C (createInset, readInset): changes due to altered
3725         InsetBranch c-tor.
3726
3727 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3728
3729         * factory.C:
3730         * lyxfunc.C: remove insetminipage. "minipage-insert"
3731         now produces a frameless minipage box inset.
3732
3733 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3734
3735         * textcursor.[Ch] (selStart,selEnd): add new methods
3736         remove selection::start, end, use LyXCursor::operator<
3737         * lyxcursor.[Ch] (operator<): add
3738         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3739         * BufferView.[Ch] (unsetXSel): add
3740         * text2.C (clearSelection): use unsetXSel,adjust
3741         * text.C: adjust
3742         * text3.C: adjust
3743         * rowpainter.C: adjust
3744         * bufferview_funcs.C (put_selection_at): adjust
3745
3746 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3747
3748         * BufferView_pimpl.C: small coord. correction
3749
3750 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
3751
3752         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3753         dragging over the splash screen.
3754
3755 2003-12-11  Angus Leeming  <leeming@lyx.org>
3756
3757         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3758         as it is now handled in LyXText::dispatch.
3759
3760         * text3.C (doInsertInset): remove a level of nesting.
3761
3762 2003-12-11  Angus Leeming  <leeming@lyx.org>
3763
3764         * factory.C (createInset): changes due to the changed interface to
3765         InsetCommandMailer::string2params.
3766
3767 2003-12-10  Angus Leeming  <leeming@lyx.org>
3768
3769         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3770         'dialog-show-new-inset <inset name>'
3771
3772 2003-12-10  Angus Leeming  <leeming@lyx.org>
3773
3774         * buffer.C: up the format to 227.
3775
3776         * factory.C: the box inset is now identified simply by 'Box'.
3777
3778 2003-12-10  Angus Leeming  <leeming@lyx.org>
3779
3780         * buffer.C: up the format to 226.
3781
3782         * factory.C: the note inset is now identified simply by 'Note'.
3783
3784 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
3785
3786         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3787         when a pit is enough. Standarize a couple of loops.
3788
3789 2003-12-05  Angus Leeming  <leeming@lyx.org>
3790
3791         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3792         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3793         data to the re-worked "log" dialog.
3794
3795 2003-12-03  André Pönitz  <poenitz@gmx.net>
3796
3797         * PosIterator.C:
3798         * iterators.C:
3799         * lyxtext.h:
3800         * output_latex.C:
3801         * paragraph_funcs.C:
3802         * text.C:
3803         * text2.C: use Inset::getText instead of Inset::getParagraph
3804
3805 2003-12-03  André Pönitz  <poenitz@gmx.net>
3806
3807         * buffer.[Ch]:
3808         * lyxtext.h:
3809         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3810         InsetText::read() as LyXText::read()
3811
3812 2003-12-02  Angus Leeming  <leeming@lyx.org>
3813
3814         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3815         type. Add a comment in the implementation that the function uses
3816         the stream's bad() function rather than fail() as the std::streams
3817         would do.
3818
3819 2003-12-02  André Pönitz  <poenitz@gmx.net>
3820
3821         * lyxlex.[Ch]: make interface more similar to std::stream
3822
3823         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3824
3825 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
3826
3827         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3828
3829 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
3830
3831         * vspace.[Ch]: remove VSpace::NONE
3832
3833 2003-12-01  André Pönitz  <poenitz@gmx.net>
3834
3835         * buffer.[Ch]:
3836         * lyxtext.h: move ParagraphList member to LyXText
3837         rename LyXText::ownerParagraphs to LyXText::paragraph
3838
3839         * CutAndPaste.C:
3840         * bufferview_funcs.C:
3841         * iterators.[Ch]:
3842         * lyx_cb.C:
3843         * paragraph.C:
3844         * rowpainter.C:
3845         * tabular.C:
3846         * text.C:
3847         * text2.C:
3848         * text3.C: adjust
3849
3850         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3851
3852         * undo.C: fix cursor positioning
3853
3854 2003-12-01  John Levon  <levon@movementarian.org>
3855
3856         * BufferView_pimpl.C: fix a crash on exit with
3857         a buffer open
3858
3859 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
3860
3861         * BranchList.C: fix setSelected() method.
3862
3863 2003-11-28  André Pönitz  <poenitz@gmx.net>
3864
3865         * ParagraphParameters.[Ch]:
3866         * ParameterStruct.h: remove space above/below from Paragraph to
3867          InsetVSpace
3868
3869         * BufferView_pimpl.C:
3870         * factory.C:
3871         * lyxfunc.C:
3872         * lyxtext.h:
3873         * output_latex.C:
3874         * paragraph.C:
3875         * paragraph_funcs.C:
3876         * rowpainter.[Ch]:
3877         * text.C:
3878         * text2.C:
3879         * text3.C: adjust
3880
3881 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
3882
3883         * factory.C: Syntax change for CharStyles
3884
3885 2003-11-28  André Pönitz  <poenitz@gmx.net>
3886
3887         * BufferView.[Ch]:
3888         * BufferView.[Ch]:
3889         * buffer.[Ch]:
3890         * buffer.[Ch]: move LyXText member
3891
3892 2003-11-28  André Pönitz  <poenitz@gmx.net>
3893
3894         * BufferView.[Ch]: make LyXText * text a private member
3895
3896         * BufferView_pimpl.C:
3897         * cursor.C:
3898         * iterators.C:
3899         * lyx_cb.C:
3900         * lyxfind.C:
3901         * lyxtext.h:
3902         * rowpainter.[Ch]:
3903         * text.C:
3904         * text2.C:
3905         * undo.C: adjust
3906
3907         * output_plaintext.C: cleanup
3908
3909 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3910
3911         * buffer.C:
3912         * lyxtextclass.[Ch]: parametrize SGML document header
3913
3914 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
3915
3916         * converter.[Ch]:
3917         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3918         getFlavor().
3919
3920 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
3921
3922         * text2.C (setFont): rework using PosIterator (no more recursive)
3923         (setCharFont): no more needed
3924         (setLayout): no more selection cursors fiddling (done by redoCursor)
3925         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3926         destroy remaining ones)
3927
3928 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
3929
3930         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3931         * lyxtext.h: ditto
3932         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3933         selection cursors
3934         * lyxfunc.C: adjust
3935         * text3.C: adjust + re-allow multi par depth changes
3936         * textcursor.C: simplify a bit
3937
3938 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
3939
3940         * src/buffer.C:
3941         * src/lyxlayout.C:
3942         * src/lyxlayout.h:
3943         * src/lyxtext.h:
3944         * src/output_docbook.C:
3945         * src/output_latex.C:
3946         * src/paragraph.C:
3947         * src/paragraph.h:
3948         * src/sgml.C:
3949         * src/sgml.h:
3950         * src/text2.C: Introducing a number of tags parametrizing various
3951         XML formats that we may want to support
3952
3953 2003-11-25  André Pönitz  <poenitz@gmx.net>
3954
3955         * InsetList.[Ch] (begein, end): inline as suggested by profiler
3956
3957         * lyxtext.h (leftMargin/rightMargin): simplify interface
3958
3959         * rowpainter.C:
3960         * text.C:
3961         * text2.C:
3962         * text3.C: adjust
3963
3964 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3965
3966         * lyxfunc.C (dispatch): propogate the bibtex databases from the
3967         master file to any child files. Fixes bug 546.
3968
3969 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3970
3971         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3972
3973 2003-11-24  André Pönitz  <poenitz@gmx.net>
3974
3975         * rowpainter.C: simplification
3976
3977         * text2.C (updateCounters): remove call to redoParagraph on
3978         changed labels as this is far too expensive.
3979
3980 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
3981
3982         * converter.C (convert): fix a crash: this function gets
3983         called with buffer == 0 from importer code.
3984
3985 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
3986
3987         * text3.C (cursorPrevious): make sure that we do not compare
3988         iterators form different containers.
3989         (cursorNext): ditto
3990
3991         * rowpainter.C (paintSelection): make sure that we do not compare
3992         iterators from different containers.
3993
3994         * text3.C (dispatch): [PRIOR] make sure that we do not compare
3995         iterators from different ParagraphList containers.
3996         [NEXT] ditto
3997
3998         * text2.C (LyXText): change order of initialization slightly
3999         (operator=): new function. copy all variables except cache_par_
4000         (moveUp): make sure that we do not compare iterators from
4001         different ParagraphList constainers.
4002         (moveDown): ditto
4003
4004         * text.C (firstPar): new function
4005         (lastPar): new function
4006         (endPar): new function
4007
4008         * lyxtext.h: move things around and group public functions, public
4009         variables, private functions, private variables
4010
4011 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4012
4013         * factory.C: change call to InsetERT constructor to avoid
4014         additional invocation of method status
4015         * text2.C (toggleInset): remove redundant update() call
4016         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4017         instead of a Bufferview pointer
4018
4019 2003-11-21  André Pönitz  <poenitz@gmx.net>
4020
4021         * rowpainter.C: simplification
4022
4023 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4024
4025         * text3.C (dispatch): make possible to extend a word/row selection
4026         with the mouse
4027
4028 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4029
4030         * lyxtext.h: x0_,y0_ -> xo_,yo_
4031         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4032         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4033         * rowpainter.C (paintRows): paint full paragraphs
4034
4035 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4036
4037         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4038         screen coordinates)
4039
4040 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4041
4042         * lyxtext.h: add x0_, y0_
4043         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4044         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4045
4046 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4047
4048         * text2.C (setCursorIntern): move the x_target update here *
4049         * text3.C: change some bv() to true/false in calls to
4050         cursorUp/Down/Right/Left
4051         * cursor.C: use helper function.
4052
4053 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4054
4055         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4056         * paragraph_funcs.[Ch]: correct comment
4057         * rowpainter.C: do not paint selections away from bv->cursor()
4058         Fix a long standing selection painting bug.
4059         * text3.C: generalize mouse-selection code to LyXTexts other that
4060         top one
4061         * textcursor.C: do not use y coords if we can use par offsets
4062
4063 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4064
4065         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4066         cursor position after e.g. inset insert)
4067
4068 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4069
4070         * lyxfind.C (replace): adjust to locking removal + some
4071         code simplification
4072
4073 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4074
4075         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4076         of the path
4077
4078 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4079
4080         * lyxlayout.[Ch]:
4081         * output_docbook.C: XML sanitation: new layout
4082         parameters InnerTag and CommandDepth
4083
4084 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4085
4086         * BufferView_pimpl.C:
4087         * factory.C:
4088         * text3.C: Fix the insertion and modification of button-style
4089         insets
4090
4091 2003-11-13  André Pönitz  <poenitz@gmx.net>
4092
4093         * InsetList.[Ch]: remove deleteLyXText
4094
4095         * paragraph.[Ch]: cache beginOfBody position
4096
4097         * Bidi.C:
4098         * text.C:
4099         * text2.C:
4100         * text3.C: remove superfluous update() calls
4101
4102         * vspace.C: cleanup
4103
4104 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4105
4106         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4107         * BufferView.C (fitLockedInsetCursor): remove
4108         * cursor.[Ch] (getDim): add
4109         * text.C (getRowNearY): add faster version
4110         * text3.C: remove some update calls
4111
4112 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4113
4114         * LaTeXFeatures.C:
4115         * LyXAction.C:
4116         * MenuBackend.C:
4117         * MenuBackend.h:
4118         * dispatchresult.h:
4119         * factory.C:
4120         * lfuns.h:
4121         * lyxfunc.C:
4122         * lyxtextclass.C:
4123         * lyxtextclass.h:
4124         * text3.C: The Character Style /XML short element patch.
4125
4126 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4127
4128         * text3.C:
4129         * factory.C: Small step to solving 'unable to insert some insets'
4130         problem
4131
4132 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4133
4134         * cursor.[Ch] (updatePos): new function for updating the y
4135         position of the tip inset
4136         * bufferview_funcs.C (put_selection_at):
4137         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4138
4139 2003-11-11  André Pönitz  <poenitz@gmx.net>
4140
4141         * text.C: remove big comment on invalid Paragraph pointers as it is
4142         not valid anymore
4143
4144 2003-11-11  André Pönitz  <poenitz@gmx.net>
4145
4146         * text_funcs.[Ch]: merge with ...
4147
4148         * text.C: ... this
4149
4150         * lyxtext.h:
4151         * text2.C:
4152         * text3.C: adjust
4153
4154         * Makefile.am: remove text_funcs.[Ch]
4155
4156 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4157
4158         * cursor.C (getPos): return absolute cached y coord
4159
4160         * BufferView_pimpl.C (fitCursor): new simplistic code
4161         (workAreaDispatch): add a fitCursor call
4162
4163 2003-11-10  André Pönitz  <poenitz@gmx.net>
4164
4165         * BufferView.[Ch]:
4166         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4167
4168 2003-11-10  André Pönitz  <poenitz@gmx.net>
4169
4170         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4171         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4172         indicate that the cursor needs to leave an inset
4173
4174         * lyxtext.h: remove inset locking
4175
4176         * cursor.[Ch]: re-implement functionality provided by inset locking
4177
4178         * BufferView.[Ch]:
4179         * BufferView_pimpl.[Ch]:
4180         * LyXAction.C:
4181         * bufferview_funcs.[Ch]:
4182         * factory.C:
4183         * funcrequest.[Ch]:
4184         * iterators.C:
4185         * lyx_cb.C:
4186         * lyxfind.C:
4187         * lyxfunc.C:
4188         * text.C:
4189         * text2.C:
4190         * text3.C:
4191         * undo.C: adjust
4192
4193 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4194
4195         * PosIterator.[Ch]: replace the stack with a vector, add inset
4196         accesor
4197         * iterators.[C]: adjust
4198
4199 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4200
4201         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4202         replaced
4203         * paragraph_funcs.C (readParToken): put the correct id in the
4204         error item, not the id of the top paragraph
4205
4206 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4207
4208         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4209         * bufferview_funcs.C (put_selection_at): use the above
4210
4211 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4212
4213         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4214
4215 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4216
4217         * output_linuxdoc.h:
4218         * output_plaintext.h:
4219         * output.h:
4220         * output_docbook.h: add #include statements
4221
4222 2003-11-05  José Matos  <jamatos@lyx.org>
4223
4224         * output_docbook.[Ch]:
4225         * output_latex.[Ch]:
4226         * output_linuxdoc.[Ch]:
4227         * output_plaintext.[Ch]: New files for output formats.
4228         * output.[Ch]: New file for helper functions.
4229
4230         * buffer.[Ch]:
4231         * paragraph_funcs.[Ch]: output functions moved to new files.
4232
4233         * outputparams.h: rename of latexrunparams.h
4234
4235         * LaTeX.[Ch]:
4236         * buffer.[Ch]:
4237         * bufferlist.[Ch]:
4238         * converter.[Ch]:
4239         * exporter.C:
4240         * paragraph.[Ch]:
4241         * paragraph_funcs.[Ch]:
4242         * paragraph_pimpl.[Ch]:
4243         * tabular.[Ch]: rename ascii to plaintext
4244         and LatexRunParams to OutputParams.
4245
4246 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4247
4248         * iterators.[Ch] (text): require bv argument
4249         * undo.C (recordUndo):
4250         * lyxfunc.C (dispatch):
4251         * bufferview_funcs.C (put_selection_at): adjust
4252
4253 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
4254
4255         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4256
4257 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4258
4259         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4260         nestings
4261
4262 2003-11-04  André Pönitz  <poenitz@gmx.net>
4263
4264         * cursor.[Ch]: restructure
4265
4266         * BufferView.[Ch]:
4267         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4268
4269         * iterators.[Ch] (asCursor): remove
4270
4271         * lfuns.h: remove LFUN_INSET_EDIT
4272
4273         * lyxfunc.C:
4274         * tabular.C:
4275         * text.C:
4276         * text2.C:
4277         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4278
4279 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4280
4281         * lyxfind.[Ch]: complete overhaul
4282         * BufferView_pimpl.C:
4283         * lyxfunc.C: adjust
4284         * paragraph.[Ch] (insert): add
4285
4286 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4287
4288         * BufferView.[Ch]:
4289         * lyxtext.h:
4290         * text.C: remove dead spellcheck code
4291
4292 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4293
4294         * dispatchresult.h: add a val setter
4295
4296         * cursor.C (dispatch): use a tempvar for data_[i]
4297
4298 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4299
4300         * PosIterator.[Ch]: compile fix
4301
4302 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4303
4304         * text.C (cursorPar): deactivate the cursor cache
4305
4306 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4307
4308         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4309
4310 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4311
4312         * text3.C (dispatch): adjust for new DisptchResult semantics.
4313
4314         * lyxfunc.C (dispatch): handle update when return from
4315         Cursor::dispatch, adjust for new DispatchResult semantics.
4316
4317         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4318         DispatchResult(true) mean to not update. Add class functions for
4319         setting dispatched and update, as well as reading.
4320
4321         * cursor.C (dispatch): don't handle update here
4322
4323 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4324
4325         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4326         * trans_mgr.C: adjust
4327
4328         * paragraph_funcs.C (readParToken): exception safety
4329
4330         * lyxvc.h: store the vcs pointer in a scoped_ptr
4331         * lyxvc.C: adjust
4332
4333         * lyxsocket.C (serverCallback): exception safety
4334
4335         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4336
4337         * ispell.C (clone): make it return a auto_ptr
4338
4339         * factory.C (createInset): exception safety
4340         (readInset): exception safety
4341
4342         * bufferlist.C (newBuffer): exception safety
4343
4344         * Thesaurus.C (Thesaurus): use initialization for aik_
4345
4346         * MenuBackend.C (expandToc): exception safety.
4347
4348 2003-11-03  André Pönitz  <poenitz@gmx.net>
4349
4350         * buffer.C:
4351         * buffer.h:
4352         * bufferview_funcs.C: remove getInsetFromId()
4353
4354         * lyxcursor.[Ch]:
4355         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4356
4357         * lyxfunc.C:
4358         * text2.C:
4359         * text3.C: adjust
4360
4361 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4362
4363         * PosIterator.C (distance, advance): new
4364         * bufferview_funcs.[Ch] (put_selection_at): new
4365         * iterators.[Ch] (lockPath): new
4366
4367 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4368
4369         * iterators.[Ch] (asPosIterator): added
4370         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4371         * PosIterator.[Ch]: added
4372
4373 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4374
4375         * text3.C:
4376         * lyxfunc.C:
4377         * cursor.C (dispatch):
4378         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4379
4380         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4381         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4382         contructor, add a class function dispatched. Remove operator>=
4383
4384 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4385
4386         * debug.C: only use the default constructor for debugstream
4387         (lyxerr) here.
4388
4389         * main.C (main): include debug.h and setup the lyxerr streambuf
4390         here.
4391
4392 2003-10-31  José Matos  <jamatos@lyx.org>
4393
4394         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4395
4396         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4397         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4398         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4399         * paragraph_pimpl.C (simpleTeXSpecialC):
4400         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
4401         add LatexRunParams argument.
4402
4403         * exporter.C (Export): change call accordingly.
4404
4405         * latexrunparams.h: add new member to take care of the other backends.
4406 2003-10-30  José Matos  <jamatos@lyx.org>
4407
4408         * buffer.C (makeLinuxDocFile, makeDocBookFile):
4409         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
4410         factorise code for paragraph output.
4411         * buffer.[Ch]:
4412         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
4413         move functions.
4414
4415 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4416
4417         * text3.C (dispatch):
4418         * lyxfunc.C (dispatch):
4419         * cursor.C (dispatch):
4420         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
4421
4422         * dispatchresult.h: make the dispatch_result_t ctor explicit
4423
4424 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
4425
4426         * sgml.[Ch]:
4427         * buffer.C: small refactoring of docbook stuff
4428
4429 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4430
4431         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
4432         meaning.
4433
4434 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4435
4436         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
4437         operator dispatch_result_t, and operators for == != and >=
4438
4439         * cursor.C (dispatch): adjust for operator dispatch_result_t
4440         removal. comment out call to update
4441
4442         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
4443
4444 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4445
4446         * text3.C:
4447         * text2.C:
4448         * text.C:
4449         * lyxtext.h:
4450         * lyxfunc.C:
4451         * cursor.C:
4452         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
4453         (dispatch):
4454
4455         * dispatchresult.h: new file, DispatchResult broken out of
4456         insets/insetbase.h
4457
4458         * Makefile.am (lyx_SOURCES): add dispatchresult.h
4459
4460 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4461
4462         * text.C (rowBreakPoint): put a hack inside #if 0
4463
4464 2003-10-28  André Pönitz  <poenitz@gmx.net>
4465
4466         * lyxtext.h:
4467         * metricsinfo.C:
4468         * paragraph_funcs.C:
4469         * rowpainter.C:
4470         * text.C:
4471         * text2.C: general cleanup (lots of small stuff)
4472
4473 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
4474
4475         * text2.C (cursorEnd): simple fix to the "end key goes to one
4476         before the end on last row" bug
4477
4478 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4479
4480         * text.C (backspace): fix the "zombie characters"
4481
4482 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4483
4484         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
4485
4486 2003-10-27  André Pönitz  <poenitz@gmx.net>
4487
4488         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
4489
4490         * factory.C: handle new InsetPagebreak, InsetLine
4491
4492         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
4493         and move handling into new InsetPagebreak, InsetLine
4494
4495         * BufferView_pimpl.C:
4496         * LyXAction.C:
4497         * ParagraphParameters.C:
4498         * ParameterStruct.h:
4499         * lyxfunc.C:
4500         * lyxtext.h:
4501         * paragraph.C:
4502         * paragraph.h:
4503         * paragraph_funcs.C:
4504         * paragraph_pimpl.C:
4505         * rowpainter.C:
4506         * text.C:
4507         * text2.C:
4508         * text3.C: adjust
4509
4510 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4511
4512         * text.C:
4513         * lyxrow_funcs.[Ch]:
4514         * Bidi.C:
4515         * paragraph.C:
4516         * lyxtext.h:
4517         * rowpainter.C:
4518         * text2.C:
4519         * text3.C: remove lastPos uses in favour of Row::endpos
4520
4521 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
4522
4523         * undo.C (performUndoOrRedo): fix two crashes by setting a
4524         cursor by hand and reordering some calls. Use bv->lockInset instead
4525         of inset->edit because the latter loses cursor information
4526
4527 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
4528
4529         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
4530         by Martin
4531         (rowBreakPoint): fix width. change point to point + 1.
4532         Add a missing check.
4533
4534 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
4535
4536         * MenuBackend.C:
4537         * lyxfunc.C: fix (at least partly) the problems
4538         with the Nav menu and headers inside branch insets
4539         reported by Kayvan
4540
4541 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
4542
4543         * paragraph.C (getChar): add strong asserts
4544
4545         * lyxrow_funcs.C (lastPos): remove hideous hack
4546
4547         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
4548         (fill): adjust to that (avoid an infinite loop)
4549
4550 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4551
4552         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
4553
4554 2003-10-23  André Pönitz  <poenitz@gmx.net>
4555
4556         * RowList_fwd.h: change list<> to vector<> to gain speed
4557         after suggestion from Alfredo
4558
4559 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
4560
4561         * lyxtext.h: move the bidi stuff from here...
4562         * text.C: and here
4563         * text2.C: and here
4564         * Bidi.[Ch]: ... to here
4565
4566 2003-10-23  André Pönitz  <poenitz@gmx.net>
4567
4568         * lyxtext.h:
4569         * text.C (isLastRow, isFirstRow): new functions
4570
4571         * paragraph.h: new width cache member
4572
4573         * rowpainter.C: replace RowList::iterator with Row & where possible
4574
4575         * lyxfunc.C: replace several view()->text with a single call
4576
4577         * toc.C: fix 'unused' warning
4578
4579 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
4580
4581         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
4582         when woring with stream::pos_type
4583         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
4584
4585 2003-10-22  André Pönitz  <poenitz@gmx.net>
4586
4587         * lyxtext.h:
4588         * text.C: use Row & instead of RowList::iterator
4589
4590         * lyxrow.h: rename end() to endpos()
4591
4592         * rowpainter.C:
4593         * text.C:
4594         * text2.C: adjust
4595
4596 2003-10-22  Angus Leeming  <leeming@lyx.org>
4597
4598         * buffer.[Ch] (fully_loaded): new member function, returning true
4599         only when the file has been loaded fully.
4600         Used to prevent the premature generation of previews and by the
4601         citation inset to prevent computation of the natbib-style label.
4602
4603         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
4604         templates are all set up.
4605
4606         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
4607
4608 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
4609
4610         * text.C: fixed an "oops" in the "is a bit silly"
4611         bug fix
4612
4613 2003-10-21  André Pönitz  <poenitz@gmx.net>
4614
4615         * FuncStatus.[Ch]: small stuff, whitespace
4616
4617         * lyxfont.[Ch]: operator<<() for debug reasons
4618
4619         * lyxfunc.C:
4620         * lyxrow_funcs.C:
4621         * lyxtext.h: whitespace, spelling
4622
4623         * paragraph.C: naming of variables
4624
4625         * text.C:
4626         * text2.C: small stuff
4627
4628
4629 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
4630
4631         * text.C: (1) finish off the inset display() work;
4632         (2) fix the "is a bit silly" bug (accessing char
4633         past end of par).
4634
4635 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
4636
4637         * text.C: re-introduce display() for insets, fixing the
4638         various bugs (stretch of line above, math inset
4639         positioning, ...)
4640
4641 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4642
4643         * text.C (rightMargin): remove spurious semicolon
4644
4645         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
4646         1415)
4647
4648 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
4649
4650         * text3.C: fix one crash due to wrong cursor def
4651
4652 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * vc-backend.C (scanMaster): make the regex static
4655
4656         * LaTeX.C (scanAuxFile): make the regexs static
4657
4658         * text3.C (doInsertInset, dispatch, dispatch):
4659         * text2.C (cursorUp, cursorDown):
4660         * text.C (selectNextWordToSpellcheck):
4661         * BufferView_pimpl.C (dispatch):
4662         * lyxfunc.C (dispatch):  localDispatch -> dispatch
4663
4664 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4665
4666         * lyxsocket.C: include <cerrno>
4667
4668 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4669
4670         * lyxfunc.C (dispatch): remove textcache stuff
4671
4672         * bufferlist.C (release): remove textcache stuff
4673         (closeAll): ditto
4674
4675         * TextCache.C: delete file
4676         * TextCache.h: delete file
4677
4678         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4679
4680         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4681         delete of the bv_->text.
4682         (resizeCurrentBuffer): remove texcache stuff
4683         (workAreaResize): ditto
4684
4685 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4686
4687         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4688         action.
4689
4690 2003-10-16  André Pönitz  <poenitz@gmx.net>
4691
4692         * lyxrow.[Ch]:
4693         * paragraph.h:
4694         * rowpainter.C:
4695         * text.C:
4696         * text2.C:
4697         * text3.C: speed up by storing y positions per paragraph plus per-row
4698         offset instead of having a 'full' y position in the row.
4699
4700 2003-10-15  André Pönitz  <poenitz@gmx.net>
4701
4702         * iterators.[Ch]:
4703         * iterators.[Ch]:
4704         * undo.[Ch]: make undo aware of inner insets
4705
4706 2003-10-14  Angus Leeming  <leeming@lyx.org>
4707
4708         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4709         static member functions LyX::ref() and LyX::cref.
4710         (lastfiles): new accessor functions for the new lastfiles_ member var.
4711         (addLyXView, views_): add a new LyXView to the list of views_.
4712         (updateInset): loop over all LyXViews to call their own updateInset
4713         member function, returning a pointer to the Buffer owning the inset.
4714
4715         * BufferView_pimpl.C (loadLyXFile):
4716         * MenuBackend.C (expandLastfiles):
4717         * bufferlist.C (MenuWrite, QuitLyX):
4718         lastfiles is no longer a global variable.
4719         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4720
4721         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4722         static function. Access through LyX::cref().emergencyCleanup().
4723
4724 2003-10-14  André Pönitz  <poenitz@gmx.net>
4725
4726         * iterators.[Ch]: new direct access to innermost LyXText and Inset
4727
4728         * undo.[Ch]: restoring part of 'undo in insets'
4729
4730         * Makefile.am:
4731         * undo_funcs.[Ch]: merge with undo.[Ch]
4732
4733         * tabular.C: small cleansing stuff
4734
4735 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
4736
4737         * paragraph_funcs.C (readParToken): report unknown insets as error
4738         boxes. Use the outer paragraph as location (also for unknown
4739         tokens).
4740
4741         * factory.C (readInset): do not abort on reading an unknown inset.
4742         Eat it and return 0.
4743
4744 2003-10-13  Angus Leeming  <leeming@lyx.org>
4745
4746         * lyx_main.C (LyX): remove call to setDisplayTranslator().
4747
4748         * lyxrc.C: displayTranslator is now a function,
4749         declared in GraphicsTypes.h.
4750
4751 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4752
4753         * format.C: new placeholder $$a to pass the socket address.
4754
4755         * bufferlist.[Ch]: new function getBufferFromTmp.
4756
4757         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4758           files in the temporary dir.
4759
4760 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4761
4762         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4763
4764         * Makefile.am: add lyxsocket.[Ch].
4765
4766         * lyx_main.C (error_handler): handle SIGPIPE.
4767
4768 2003-10-13  André Pönitz  <poenitz@gmx.net>
4769
4770         * BufferView_pimpl.C:
4771         * lyxtext.h:
4772         * text.C:
4773         * text2.C:
4774         * text3.C:
4775         * undo_funcs.[Ch]: use paroffset_type instead of
4776           ParagraphList::iterators to prevent multiple conversion
4777           (and get a more robust interface)
4778
4779 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4780
4781         * lyxfunc.C (dispatch): RESULT -> dispatch_result
4782         * lyxtext.h: ditto
4783         * text3.C (dispatch): ditto
4784
4785 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4786
4787         * LaTeX.C (handleFoundFile): move the static to smaller scope,
4788         move the onlyfile, use onlyfile instead of foundfile in a couple
4789         of places.
4790
4791         * DepTable.C (update): flush the error stream a bit more
4792
4793 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4794
4795         * lyxserver.C (callback): adjust
4796
4797         * lyxfunc.C (getStatus): add a missing brace in commented code
4798         (ensureBufferClean): reindent
4799         (dispatch): delete version taking a string
4800
4801 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4802
4803         * LaTeX.C (deplog): move found file handlig from here...
4804         (handleFoundFile): .. to new function here.
4805         (deplog): make sure to discover several files mentioned on the
4806         same log line.
4807
4808 2003-10-10  André Pönitz  <poenitz@gmx.net>
4809
4810         * lyxfunc.C:
4811         * lyxtext.h:
4812         * tabular.C:
4813         * text.C:
4814         * text2.C:
4815         * text3.C: fix some of the tabular crashes
4816
4817 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4818
4819         * MenuBackend.C (binding): put debug message into Debug::KBMAP
4820
4821         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4822
4823 2003-10-09  André Pönitz  <poenitz@gmx.net>
4824
4825         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4826
4827         * BufferView.C:
4828         * BufferView_pimpl.C:
4829         * bufferview_funcs.C:
4830         * lyx_cb.C:
4831         * lyxcursor.C:
4832         * lyxfind.C:
4833         * lyxfunc.C:
4834         * lyxtext.h:
4835         * text.C:
4836         * text2.C:
4837         * text3.C:
4838         * text_funcs.[Ch]:
4839         * textcursor.[Ch]:
4840         * undo_funcs.C: adjust
4841
4842 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4843
4844         * text2.C (incrementItemDepth): new function, use a backtracking
4845         algorithm to discover the correct item depth.
4846         (resetEnumCounterIfNeeded): new function, use a backtracking
4847         algorithm to discover if counter reset is needed.
4848         (setCounter): use them. Simplify a bit. Add different labels for
4849         different item depths for itemize.
4850
4851         * paragraph.C (Paragraph): remove initialization of enumdepth
4852         (operator=): ditto
4853
4854         * paragraph.h: get rid of enumdepth, and use itemdepth both for
4855         enumerate and itemize. Change the type of itemdepth to signed char.
4856
4857 2003-10-08  André Pönitz  <poenitz@gmx.net>
4858
4859         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4860           thing assignable.
4861         * text.C:
4862         * text2.C: adjust
4863
4864         * tabular.[Ch]: fix crash after 'row-insert'
4865
4866 2003-10-08  Angus Leeming  <leeming@lyx.org>
4867
4868         Fix doxygen warnings.
4869
4870         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4871         Remove CutAndPaste:: prefix from header file declaration.
4872
4873         * LColor.h (fill): remove LColor:: prefix from declaration.
4874
4875         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4876         use lyx::depth_type rather than Paragraph::depth_type so that
4877         header file and .C file match.
4878
4879         * converter.h (intToFormat): remove Converters:: prefix from declaration.
4880
4881         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4882         * aspell.C: \file aspell_local.C -> \file aspell.C
4883         * gettext.C: \file gettext.C -> \file src/gettext.C
4884         * gettext.h: \file gettext.h -> \file src/gettext.h
4885         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4886         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4887         * text.C: \file text.C -> \file src/text.C
4888
4889         * toc.C: move comment so that doxygen is not confused.
4890
4891 2003-10-07  Angus Leeming  <leeming@lyx.org>
4892
4893         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4894
4895 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4896
4897         * aspell.C:
4898         * aspell_local.h: add forgotten std::string's.
4899
4900 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4901
4902         * LaTeXFeatures.C:
4903         * LyXAction.C:
4904         * factory.C:
4905         * lfuns.h:
4906         * lyxfunc.C:
4907         * text3.C: The Box patch. Fancybox support, minipage, parbox
4908
4909 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
4910
4911         * CutAndPaste.h:
4912         * DepTable.h:
4913         * FloatList.h:
4914         * LaTeXFeatures.h:
4915         * ParagraphParameters.h:
4916         * TextCache.h:
4917         * Thesaurus.h:
4918         * bufferlist.h:
4919         * exporter.h:
4920         * importer.h:
4921         * lastfiles.h:
4922         * lyxfind.h:
4923         * lyxfont.h:
4924         * lyxlex.h:
4925         * lyxtextclasslist.h:
4926         * messages.h:
4927         * paragraph.h:
4928         * paragraph_pimpl.C:
4929         * textcursor.h: add <string> and other small fixes to make Lars'
4930         std::string patch compile with STLport.
4931
4932 2003-10-06  Angus Leeming  <leeming@lyx.org>
4933
4934         * LColor.h: Add missing #include <string>.
4935
4936 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4937
4938         * All most all file in all subdirs: Make <string> be the prefered
4939         way of getting to std::string, add using declarations.
4940
4941 2003-10-06  André Pönitz  <poenitz@gmx.net>
4942
4943         * metricsinfo.C: initialize LyXFont before changing attribute.
4944         (fixes the 'math in \emph is upright' bug)
4945
4946 2003-10-06  André Pönitz  <poenitz@gmx.net>
4947
4948         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4949
4950 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
4951
4952         * graph.C:
4953         * paragraph_pimpl.C: Small fixes to build using STLport
4954
4955 2003-10-02  André Pönitz  <poenitz@gmx.net>
4956
4957         * lyxfunc.C:
4958         * text3.C: move handling of LFUN_DEPTH *; fix #1360
4959
4960 2003-10-01  André Pönitz  <poenitz@gmx.net>
4961
4962         * factory.C: assert early
4963
4964 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4965
4966         * lyx_main.C: remove the global debug object
4967
4968         * debug.h: adjust for new debugstream
4969
4970         * debug.C: adjust for new debugstream and keep the global debug
4971         object here.
4972
4973 2003-09-22  Angus Leeming  <leeming@lyx.org>
4974
4975         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4976         of g++ which otherwise complain that the scoped_ptr destructor can't delete
4977         an incomplete class LyXFont.
4978
4979 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
4980
4981         * factory.C: bug fix in branches
4982
4983 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4984
4985         * lyxfunc.C (processKeySym): adjust
4986         (dispatch): adjust
4987         (dispatch): change arg name from ev to func, adjust
4988         (sendDispatchMessage): ditto
4989
4990         * lyx_main.C (defaultKeyBindings): adjust keybindings
4991         (deadKeyBindings): ditto
4992
4993         * kbsequence.C (addkey): return a FuncRequest
4994
4995         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4996
4997         * kbmap.C (bind): take a FuncRequest as arg, adjust
4998         (read): adjust
4999         (lookup): adjust
5000         (defkey): change to take a FuncRequest as arg, adjust
5001         (findbinding): take a FuncRequest as arg, adjust.
5002
5003         * funcrequest.h (operator=): added
5004
5005         * funcrequest.C (FuncRequest): default kb_action changed from
5006         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5007
5008         * buffer.C (dispatch): simplify
5009         (dispatch): adjust to take a FuncRequest as arg, adjust
5010
5011         * boost.C (assertion_failed): change assertion message slightly
5012
5013         * ToolbarBackend.C (read): simplify
5014
5015         * MenuBackend.C (binding): adjust call to findbinding, add a
5016         message if no binding is found.
5017         (read): simplify
5018         (expandToc): correct by adding a empty FuncRequest
5019
5020         * LyXAction.C: include <boost/assert.hpp>
5021         (isPseudoAction): delete function
5022         (LookupFunc): change name to...
5023         (lookupFunc): this. change return type to FuncRequest.
5024         (getActionName): take kb_action as arg, simplify
5025         (funcHasFlag): add an assert, simplify.
5026
5027 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5028
5029         * toc.C (action): return a FuncRequest, simplify
5030
5031         * lyxfunc.C (processKeySym): adjust
5032         (getStatus): delete version that takes an int.
5033         (getStatus): adjust
5034         (dispatch): delete version that takes action as int
5035         (dispatch): adjust
5036         (sendDispatchMessage): simplify and adjust
5037
5038         * funcrequest.C (getArg): take unsigned int as arg
5039
5040         * ToolbarBackend.C (read): adjust
5041         (add): delete version that takes func as a string.
5042         (getIton): take a FuncRequest as arg
5043
5044         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5045         action.
5046
5047         * MenuBackend.C (MenuItem): add a new construct that only takes a
5048         Kind, simplify the constructor use for submenus.
5049         (add): adjust
5050         (expandLastfiles): adjust
5051         (expandDocuments): adjust
5052         (expandFormats): adjust
5053         (expandFloatListInsert): adjust
5054         (expandFloatInsert): adjust
5055         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5056
5057         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5058         Remove class variables lyx_pseudo_map and lyx_arg_map
5059
5060         * LyXAction.C (searchActionArg): delete function
5061         (getPseudoAction): delete function
5062         (retrieveActionArg): delete function
5063         (LookupFunc): make it return kb_action, simplify.
5064         (getActionName): simplify
5065
5066         * factory.C (createInset): fix new bug
5067
5068 2003-09-19  Angus Leeming  <leeming@lyx.org>
5069
5070         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5071         masterFilename_ parameter in the include inset.
5072
5073         * factory.C (createInset): changes due to the changes to InsetInclude.
5074
5075 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5076
5077         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5078
5079 2003-09-18  Angus Leeming  <leeming@lyx.org>
5080
5081         * buffer.C:
5082         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5083         Inset::fillWithBibKeys.
5084         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5085
5086 2003-09-18  Angus Leeming  <leeming@lyx.org>
5087
5088         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5089         variables.
5090         (ctor): pass and store a 'Buffer const &'
5091         (buffer): new member function.
5092
5093         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5094         '*this' to the LaTeXFeatures ctor.
5095
5096 2003-09-18  Angus Leeming  <leeming@lyx.org>
5097
5098         * LColor.h:
5099         * lyxfont.C:
5100         * lyxfont.h:
5101         * lyxtext.h:
5102         * text.C: rename EnumLColor as LColor_color.
5103
5104 2003-09-18  Angus Leeming  <leeming@lyx.org>
5105
5106         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5107         remove #include "insets/insetbase.h" from cursor.h.
5108
5109 2003-09-18  Angus Leeming  <leeming@lyx.org>
5110
5111         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5112         InsetOld_code to remove #include "inset.h".
5113
5114         * iterators.C: add #include "insets/inset.h"
5115
5116 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5117
5118         * BufferView.C: remove more locking stuff that apparently doesn't
5119         do anything sensible.
5120
5121 2003-09-16  André Pönitz  <poenitz@gmx.net>
5122
5123         * paragraph.[Ch]:
5124         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5125           performance boost.
5126
5127 2003-09-16  Angus Leeming  <leeming@lyx.org>
5128
5129         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5130
5131         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5132         arg/return type.
5133
5134         * paragraph.h: remove #include "lyxfont.h". Forward declare
5135         LyXFont_size.
5136
5137 2003-09-16  Angus Leeming  <leeming@lyx.org>
5138
5139         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5140         of support/textutils.h.
5141         (isWord): move the contents of support/textutils.h's IsWordChar here.
5142
5143         * buffer.C:
5144         * lyxfind.C:
5145         * rowpainter.C:
5146         * text.C:
5147         * text2.C: add #include "paragraph.h".
5148
5149         * rowpainter.C:
5150         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5151
5152 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5153
5154         * main.C:
5155         * lyx_main.C:
5156         * lyx_cb.C:
5157         * buffer.C:
5158         * LaTeX.C: use namespace alias for lyx::support::os
5159
5160 2003-09-16  Angus Leeming  <leeming@lyx.org>
5161
5162         * bufferparams.C:
5163         * bufferview_funcs.C:
5164         * factory.C:
5165         * lyxfunc.C:
5166         * paragraph_pimpl.C:
5167         * rowpainter.C:
5168         * text.C: add #include "LColor.h".
5169
5170 2003-09-16  Angus Leeming  <leeming@lyx.org>
5171
5172         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5173         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5174         return LyXFont &.
5175         Store the FontBits::color variable as an int rather than as an
5176         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5177         file.
5178
5179         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5180         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5181         string calls together.
5182
5183         * lyxrc.C: add #include "LColor.h".
5184
5185 2003-09-15  Angus Leeming  <leeming@lyx.org>
5186
5187         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5188         a cow_ptr.
5189
5190 2003-09-15  Angus Leeming  <leeming@lyx.org>
5191
5192         * LColor.h: add an EnumLColor wrapper for LColor::color.
5193
5194         * lyxfont.[Ch] (color, setColor, realColor):
5195         * lyxtext.h, text.C (backgroundColor):
5196         pass EnumLColor args to/from the functions, rather than LColor::color
5197         ones.
5198
5199         * lyxfont.h:
5200         * lyxtext.h: forward declare EnumLColor.
5201
5202         * lyx_main.C: add #include "LColor.h".
5203
5204 2003-09-15  Angus Leeming  <leeming@lyx.org>
5205
5206         * .cvsignore: add lyx-gtk.
5207
5208 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5209
5210         * Chktex.C
5211         * LaTeX.C
5212         * LaTeXFeatures.C
5213         * ParagraphParameters.C
5214         * Spacing.C
5215         * buffer.C
5216         * bufferparams.C
5217         * bufferview_funcs.C
5218         * chset.C
5219         * counters.C
5220         * funcrequest.C
5221         * lyxfont.C
5222         * lyxgluelength.C
5223         * lyxlength.C
5224         * paragraph.C
5225         * paragraph_funcs.C
5226         * text3.C
5227         * vc-backend.C: remove usage of STRCONV
5228
5229 2003-09-15  Angus Leeming  <leeming@lyx.org>
5230
5231         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5232         explicitly define the color passed to the painter.
5233
5234 2003-09-15  Angus Leeming  <leeming@lyx.org>
5235
5236         * bufferparams.C (BufferParams): reorder member initializers to avoid
5237         compiler warning.
5238
5239 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5240
5241         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5242         * text.C (updateRowPositions): remove an unusual nop
5243
5244 2003-09-12  André Pönitz  <poenitz@gmx.net>
5245
5246         * BufferView_pimpl.C:
5247         * Bullet.C:
5248         * layout.h:
5249         * lyxfunc.C:
5250         * lyxlayout.[Ch]:
5251         * lyxtextclass.C:
5252         * rowpainter.C:
5253         * text.C:
5254         * text2.C:
5255         * Counters.[Ch]: finish the 'automatic counters' job
5256
5257 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5258
5259         * aspell.C: include <boost/assert.cpp> (compile fix)
5260
5261 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5262
5263         * boost.C (assertion_failed): use lyx::support::abort instead of
5264         assert.
5265
5266 2003-09-10  Angus Leeming  <leeming@lyx.org>
5267
5268         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5269         with their _fwd progeny.
5270
5271 2003-09-09  Angus Leeming  <leeming@lyx.org>
5272
5273         134 files throughtout the source tree: replace 'using namespace abc;'
5274         directives with the appropriate 'using abc::xyz;' declarations.
5275
5276 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5277
5278         * boost.C (emergencyCleanup): moved here from LAssert.c
5279         (assertion_failed): new function, called by BOOST_ASSERT
5280
5281         * several files: change Assert to BOOST_ASSERT
5282
5283 2003-09-09  Angus Leeming  <leeming@lyx.org>
5284
5285         * buffer.[Ch]: Add an Impl class and move Buffer's member
5286         variables into it. As a result move several header files out of
5287         buffer.h.
5288
5289         Add header files to lots of .C files all over the tree as a result.
5290
5291 2003-09-09  Angus Leeming  <leeming@lyx.org>
5292
5293         * buffer.[Ch]: make Buffer's member variables private. Add
5294         accessor functions.
5295
5296         Lots of changes all over the tree as a result.
5297
5298 2003-09-08  Angus Leeming  <leeming@lyx.org>
5299
5300         * graph.C: #include <config.h>.
5301
5302 2003-09-08  Angus Leeming  <leeming@lyx.org>
5303
5304         * BranchList.C:
5305         * BufferView.C:
5306         * BufferView_pimpl.C:
5307         * CutAndPaste.C:
5308         * DepTable.C:
5309         * LaTeX.C:
5310         * LaTeXFeatures.C:
5311         * LyXAction.C:
5312         * MenuBackend.C:
5313         * TextCache.C:
5314         * aspell.C:
5315         * buffer.C:
5316         * bufferlist.C:
5317         * changes.C:
5318         * chset.C:
5319         * converter.C:
5320         * counters.C:
5321         * debug.C:
5322         * graph.C:
5323         * ispell.C:
5324         * lyx_cb.C:
5325         * lyxfind.C:
5326         * lyxfunc.C:
5327         * lyxlex_pimpl.C:
5328         * lyxrc.C:
5329         * lyxrow.C:
5330         * paragraph.C:
5331         * rowpainter.C:
5332         * texrow.C:
5333         * text.C:
5334         * text2.C:
5335         * toc.C: remove redundant using directives.
5336
5337 2003-09-07  Angus Leeming  <leeming@lyx.org>
5338
5339         * LaTeXFeatures.h: remove #include "support/types.h".
5340         * ToolbarBackend.h: remove #include <algorithm>.
5341         * changes.h: remove #include <ctime>.
5342         * debug.h: remove #include <iosfwd>.
5343         * graph.h: remove #include "support/std_string.h".
5344         * lyx_main.h: remove #include <csignal>.
5345         * lyxlex_pimpl.h: remove #include <fstream>.
5346         * sgml.h: remove #include <algorithm>, <utility>.
5347         * toc.h: remove #include "support/std_ostream.h".
5348         Add #include <iosfwd>.
5349
5350 2003-09-07  Angus Leeming  <leeming@lyx.org>
5351
5352         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5353
5354         * converter.h: forward declare LatexRunParams.
5355         * encoding.h: remove #include "lyxrc.h".
5356         * lyxtext.h: remove #include "LColor.h".
5357         * lyxtextclass.h: remove #include "support/types.h".
5358         * trans.h: remove #include "tex-accent.h".
5359         * trans_mgr.h: remove #include "tex-accent.h".
5360         * insets/inset.h: remove #include "support/types.h", <vector>.
5361         * insets/insetcollapsable.h: remove #include "LColor.h".
5362         * insets/insetinclude.h: remove #include "dimension.h".
5363         * insets/insetlatexaccent.h: remove #include "dimension.h".
5364         * insets/insetoptarg.h:: remove #include "insettext.h".
5365         * insets/insettext.h: remove #include "dimension.h",
5366         <boost/shared_ptr.hpp>
5367
5368         * insets/renderers.h: add #include "dimension.h".
5369         * insets/updatableinset.h: add #include "support/types.h".
5370
5371         * many .C files: Associated changes.
5372
5373 2003-09-06  Angus Leeming  <leeming@lyx.org>
5374
5375         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5376         one, inside testInvariant.
5377
5378         * PrinterParams.C: new file.
5379         * PrinterParams.[Ch]: move the function bodies out of line.
5380
5381 2003-09-06  Angus Leeming  <leeming@lyx.org>
5382
5383         * ParagraphParameters.h: forward declare ParameterStruct rather than
5384         including its header file.
5385         (depth): moved out-of-line.
5386
5387 2003-09-06  Angus Leeming  <leeming@lyx.org>
5388
5389         * BufferView_pimpl.h:
5390         * kbmap.h:
5391         * kbsequence.h:
5392         * lyxfunc.h: forward declare LyXKeySym rather than
5393         #include "frontends/LyXKeySym.h".
5394
5395         * BufferView_pimpl.C:
5396         * kbmap.C:
5397         * kbsequence.C:
5398         * lyxfunc.C: associated changes.
5399
5400 2003-09-06  Angus Leeming  <leeming@lyx.org>
5401
5402         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5403         As a result, can remove the #include "insets/inset.h" from BufferView.h
5404
5405 2003-09-06  Angus Leeming  <leeming@lyx.org>
5406
5407         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
5408         As a result, can remove the #include "insets/inset.h" from BufferView.h
5409
5410 2003-09-06  Angus Leeming  <leeming@lyx.org>
5411
5412         * buffer_funcs.C:
5413         * buffer.h:
5414         * bufferlist.C:
5415         * BufferView.C:
5416         * bufferview_funcs.C:
5417         * BufferView_pimpl.C:
5418         * CutAndPaste.C:
5419         * lyx_cb.C:
5420         * lyxfunc.C:
5421         * paragraph.h:
5422         * ParagraphParameters.C:
5423         * tabular.C:
5424         * text3.C:
5425         * toc.C:
5426         * undo_funcs.C:
5427         * frontends/controllers/ControlDocument.C:
5428         * insets/insetcaption.C: rearrange the #includes into some sort of
5429         coherent order.
5430
5431         * buffer.h: remove #includes ErrorList.h, undo.h
5432
5433 2003-09-06  Angus Leeming  <leeming@lyx.org>
5434
5435         * support/types.h: add a 'depth_type' typedef, used to store the
5436         nesting depth of a paragraph.
5437
5438         * paragraph.h:
5439         * ParameterStruct.h: use this lyx::depth_type typedef rather than
5440         defining explicitly.
5441
5442         * buffer.h:
5443         * paragraph_funcs.h:
5444         * ParagraphParameters.h:
5445         * sgml.h: use lyx::depth_type rather than Paragraph or
5446         ParameterStruct's depth_type.
5447
5448         * buffer.h
5449         * paragraph_funcs.h: no need to #include paragraph.h anymore.
5450
5451         * BufferView.C:
5452         * BufferView_pimpl.C:
5453         * CutAndPaste.C:
5454         * ParagraphParameters.C:
5455         * buffer_funcs.C:
5456         * bufferlist.C:
5457         * bufferview_funcs.C:
5458         * lyx_cb.C:
5459         * lyxfunc.C:
5460         * tabular.C:
5461         * text3.C:
5462         * toc.C:
5463         * undo_funcs.C:
5464         * frontends/LyXView.C:
5465         * frontends/controllers/ControlDocument.C:
5466         * frontends/controllers/ControlErrorList.C:
5467         * insets/insetbibitem.C:
5468         * insets/insetbranch.C:
5469         * insets/insetcaption.C:
5470         * insets/insetcollapsable.C:
5471         * insets/insetenv.C:
5472         * insets/insetert.C:
5473         * insets/insetfloat.C:
5474         * insets/insetfoot.C:
5475         * insets/insetfootlike.C:
5476         * insets/insetnewline.C:
5477         * insets/insetquotes.C:
5478         * insets/insettabular.C:
5479         * insets/insettext.C:
5480         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
5481
5482         * frontends/controllers/ControlChanges.C: #include "changes.h".
5483
5484 2003-09-06  Angus Leeming  <leeming@lyx.org>
5485
5486         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
5487         than #including paragraph.h.
5488
5489         * ParagraphList.h:
5490         * RowList.h: deleted. Superfluous.
5491
5492         * CutAndPaste.h:
5493         * iterators.h:
5494         * lyxcursor.h:
5495         * lyxtext.h:
5496         * text_funcs.h:
5497         * undo.h:
5498         * undo_funcs.h:
5499         * insets/inset.h:
5500         * insets/insettext.h: use ParagraphList_fwd.h rather than
5501         ParagraphList.h.
5502
5503         * paragraph.h: don't forward declare ParagraphList.
5504
5505         * buffer.h:
5506         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
5507         rather than ParagraphList.h. paragraph.h is still needed for the
5508         Paragraph::depth_type parameters.
5509
5510         * textcursor.h: enable it to compile stand-alone in light of the
5511         above changes.
5512
5513         * bufferview_funcs.C:
5514         * iterators.C:
5515         * lyxfunc.C:
5516         * lyxrow_funcs.C:
5517         * paragraph.C:
5518         * rowpainter.C:
5519         * text.C:
5520         * text2.C:
5521         * text3.C:
5522         * text_funcs.C:
5523         * textcursor.C:
5524         * undo.C:
5525         * frontends/controllers/ControlParagraph.C:
5526         * frontends/controllers/ControlTabular.C:
5527         * insets/insetmarginal.C:
5528         * insets/insetminipage.C:
5529         * insets/insetnote.C:
5530         * insets/insetoptarg.C: add header files needed to compile again.
5531
5532 2003-09-06  Angus Leeming  <leeming@lyx.org>
5533
5534         * RowList_fwd.h: new file, forward-declaring Row rather than
5535         #including lyxrow.h.
5536
5537         * lyxrow_funcs.h:
5538         * lyxtext.h:
5539         * paragraph.h:
5540         * insets/insettext.h: use it instead of RowList.h
5541
5542         * bufferview_funcs.C:
5543         * lyxfunc.C:
5544         * lyxrow_funcs.C:
5545         * paragraph.C:
5546         * rowpainter.C:
5547         * text.C:
5548         * text2.C:
5549         * text3.C: #include "RowList.h".
5550
5551 2003-09-05  Angus Leeming  <leeming@lyx.org>
5552
5553         * factory.C (createInset):
5554         * vspace.C (c-tor): replace sscanf call with an istringstream.
5555         * ispell.C: re-add missing HP/UX headers.
5556         * lyxserver.C: re-add missing  os2 headers.
5557
5558 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
5559
5560         * BranchList.C:
5561         * graph.C:
5562         * ispell.C:
5563         * lastfiles.C:
5564         * lyx_cb.C:
5565         * lyxserver.C:
5566         * texrow.C:
5567         * text3.C: re-add missing system headers, needed for 2.95.2.
5568
5569 2003-09-05  Angus Leeming  <leeming@lyx.org>
5570
5571         Changes most place everywhere due to the removal of using directives
5572         from support/std_sstream.h.
5573
5574 2003-09-05  Angus Leeming  <leeming@lyx.org>
5575
5576         Replace LString.h with support/std_string.h,
5577         Lsstream.h with support/std_sstream.h,
5578         support/LIstream.h with support/std_istream.h,
5579         support/LOstream.h with support/std_ostream.h.
5580
5581         Changes resulting throughout the tree.
5582
5583 2003-09-05  Angus Leeming  <leeming@lyx.org>
5584
5585         * sgml.h: ensure that the header file can be compiled stand-alone.
5586         * *.C: strip out redundant #includes. (320 in total.)
5587
5588 2003-09-04  Angus Leeming  <leeming@lyx.org>
5589
5590         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
5591         here (from getPackages).
5592
5593         * debug.[Ch]: add a new EXTERNAL tag.
5594
5595 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5596
5597         * text2.C (cursorEnd): simplify
5598         (setCursor): adjust
5599         (getColumnNearX): adjust
5600
5601         * text.C (computeBidiTables): adjust
5602         (fill): adjust
5603
5604         * rowpainter.C (paintChars): adjust
5605         (paintSelection): adjust
5606         (paintChangeBar): adjust
5607         (paintText): adjust
5608
5609         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
5610         lastPos instead.
5611         (numberOfSeparators): adjust
5612
5613 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5614
5615         * LyXAction.C:
5616         * box.[Ch]:
5617         * lfuns.h:
5618         * lyxfunc.C:
5619         * text3.C: Restricts the mouse click functionality
5620         of insets like bibtex, include, toc and floatlist to the visible
5621         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
5622         up the dialogs. Cursor has to be in front of the inset (i.e.
5623         start of row) for this to function.
5624
5625 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5626
5627         * bufferview_funcs.C (currentState): output row information
5628
5629 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5630
5631         * bufferview_funcs.C (currentState): output paragraph position
5632
5633 2003-09-04  Angus Leeming  <leeming@lyx.org>
5634
5635         * FloatList.h: move out #include "Floating.h".
5636         * LaTeX.h: move out #include "DepTable.h".
5637         * LyXAction.h: move out #include "funcrequest.h".
5638         * buffer.h: move out #include "author.h", "iterators.h".
5639         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
5640         * lyx_main.h: move out #include "errorlist.h".
5641         * lyxfunc.h: move out #include "FuncStatus.h".
5642         * lyxtext: move out #include "lyxcursor.h".
5643         * paragraph_pimpl.h: move out #include "counters.h".
5644
5645 2003-09-03  Angus Leeming  <leeming@lyx.org>
5646
5647         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
5648         preamble_snippets list, enabling us to add snippets to the preamble
5649         only if the snippet was not there already.
5650
5651 2003-09-04  Angus Leeming  <leeming@lyx.org>
5652
5653         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
5654
5655 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
5656
5657         * lyxfunc.C (dispatch): if fitCursor did something be sure to
5658         update
5659
5660 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
5661
5662         * BranchList.C: point fix, earlier forgotten
5663
5664 2003-09-02  Angus Leeming  <leeming@lyx.org>
5665
5666         * box.C (contains): renamed from 'contained' after a fantastic
5667         amount of hot air.
5668
5669 2003-09-02  John Levon  <levon@movementarian.org>
5670
5671         * BufferView.C:
5672         * lyxcursor.h:
5673         * lyxcursor.C:
5674         * lyxfunc.C:
5675         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5676
5677 2003-09-02  John Levon  <levon@movementarian.org>
5678
5679         * text2.C: simplification of cursorEnd(), including partial
5680         fix for bug 1376
5681
5682 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5683
5684         * buffer.C (readFile): add a space
5685
5686 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
5687
5688         * BufferView_pimpl.C (update): remove bogus fitCursor() call
5689
5690 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5691
5692         * buffer.C (readFile): new function, take a filename and a
5693         ParagraphList::iterator
5694         (readFile): adjust
5695         (readFile): adjust, make it private. don't use setStream, make
5696         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5697         always contain the filename.
5698
5699         * BufferView.C (insertLyXFile): simplify and make it work for
5700         gzipped files.
5701
5702 2003-08-30  John Levon  <levon@movementarian.org>
5703
5704         * Makefile.am: fix dist (from Kayvan)
5705
5706 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5707
5708         * most files: change to use const Buffer refs
5709
5710 2003-08-27  André Pönitz  <poenitz@gmx.net>
5711
5712         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5713         on top of ownerPar().
5714
5715 2003-08-27  John Levon  <levon@movementarian.org>
5716
5717         * funcrequest.C: properly initialise POD members
5718
5719 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5720
5721         * lyxtext.h (top_y): move top_y from here
5722         * text.C:
5723         * text2.C:
5724         * text3.C:
5725         * BufferView.[Ch]:
5726         * BufferView_pimpl.[Ch]: to here
5727         * frontends/screen.C:
5728         * insets/insettabular.C:
5729         * insets/insettext.C: adjust
5730         * rowpainter.[Ch] (paintRows): remove LyXText & argument
5731
5732 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
5733
5734         * BufferView.[Ch]:
5735         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5736
5737 2003-08-26  André Pönitz  <poenitz@gmx.net>
5738
5739         * paragraph_func.[Ch] (outerPar): new function
5740
5741         * paragraph.C:
5742         * paragraph_funcs.C:
5743         * paragraph_funcs.h:
5744         * paragraph_pimpl.C:
5745         * text2.C: remove Inset::par_owner
5746
5747 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
5748
5749         * lyxrow_funcs.C:
5750         * lyxtext.h:
5751         * text.C:
5752         * text2.C: eliminates the needFullRow/display() stuff
5753         altogether, putting the logic in metrics/draw in the insets.
5754
5755 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
5756
5757         * text2.C (redoParagraphInternal, redoParagraphs):
5758         * text.C (redoParagraph): add a call to updateRowPositions at the
5759         end of each 'metrics-like' call. Remove all others.
5760         (getRow): remove the 'y-computing' version.
5761         (getRowNearY): do not compute nor return the real y. Solve the
5762         'y < 0' problem and simplify.
5763
5764 2003-08-22  Angus Leeming  <leeming@lyx.org>
5765
5766         * *.[Ch]: clean-up of licence and author blurbs.
5767         Also move config.h out of a few .h files and into a few .C files.
5768
5769 2003-08-22  André Pönitz  <poenitz@gmx.net>
5770
5771         * lyxrow.[Ch]: add x_ and *fill_ members
5772
5773         * lyxtext.h:
5774         * text.C:
5775         * rowpainter.C:
5776         * text2.C: adjust/remove prepareToPrint() calls
5777
5778 2003-08-22  André Pönitz  <poenitz@gmx.net>
5779
5780         * lyxrow.[Ch]: add  end_ member
5781
5782         * lyxrow_funcs.C: use LyXRow::end_
5783
5784         * lyxtext.h (singleWidth): add LyXFont parameter
5785
5786         * rowpainter.C:
5787         * text2.C: adjust LyXText::singleWidth() calls
5788
5789         * text.C (redoParagraph): simplify row breaking logic
5790
5791
5792 2003-08-19  André Pönitz  <poenitz@gmx.net>
5793
5794         * funcrequest.C: initialize button_ member
5795
5796         * text3.C:
5797         * rowpainter.[Ch]: interface consolidation
5798
5799 2003-08-18  André Pönitz  <poenitz@gmx.net>
5800
5801         * BufferView.C:
5802         * BufferView_pimpl.C:
5803         * lyxfind.C:
5804         * paragraph_funcs.C:
5805         * rowpainter.C:
5806         * text3.C: remove LyXScreen::draw() and fitCursor calls
5807
5808         * BranchList.h: remove spurious semicolons
5809
5810         * MenuBackend.C: fix branchlist related crash
5811
5812 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
5813
5814         * BranchList.[Ch]:
5815         * InsetList.[Ch]:
5816         * LColor.[Ch]:
5817         * LyXAction.C:
5818         * Makefile.am:
5819         * MenuBackend.[Ch]:
5820         * bufferparams.[Ch]:
5821         * factory.C:
5822         * lfuns.h:
5823         * lyxfunc.C:
5824         * text3.C: implements the 'branch inset'
5825         idea. This allows the output of various versions of a document
5826         from a single source version, selectively outputing or suppressing
5827         output of parts of the text.
5828         This implementation contains a 'branch list editor' in a separate
5829         tab of the document settings dialog. Branches are user definable
5830         and have a "display colour" to distinguish them on-screen.
5831
5832         ColorHandler was somewhat cleaned up.
5833         (1) make possible a dynamically growing LColor list by allowing
5834         the graphic context cache to grow along (vector);
5835         (2) eliminate an IMHO unnecessary step in colour allocation.
5836
5837 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
5838
5839         * BufferView_pimpl.C: compile fix
5840
5841 2003-08-15  André Pönitz  <poenitz@gmx.net>
5842
5843         * rowpainter.C: remove extra metrics calls
5844
5845         * lyxtext.h: merge the two constructors into a single one,
5846           pass reference to owner's par list
5847
5848         * BufferView_pimpl.C:
5849         * text.C:
5850         * text2.C: adjust
5851
5852 2003-08-15  André Pönitz  <poenitz@gmx.net>
5853
5854         * lyxrow_funcs.[Ch]:
5855         * lyxtext.h:
5856         * paragraph.h:
5857         * paragraph_funcs.C:
5858         * rowpainter.C:
5859         * text.C:
5860         * text2.C:
5861         * text3.C:
5862         * text_funcs.C: split LyXText::rowlist_ into individual
5863         Paragraph::rows_ chunks
5864
5865         * BufferView.[Ch]:
5866         * BufferView_pimpl.[Ch]:
5867         * lyxfind.C:
5868         * lyxtext.h:
5869         * text3.C: remove toggleSelection()
5870
5871 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
5872
5873         * bufferlist.C: beautify two alerts (shorter text of buttons)
5874         * buffer.C: Remove redundant ' ' from message
5875         * tabular.h:
5876         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5877         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5878         rename VALIGN_CENTER to VALIGN_MIDDLE
5879
5880 2003-08-11  André Pönitz  <poenitz@gmx.net>
5881
5882         * lyxtext.h (getPar):
5883         * text.C: new function
5884
5885 2003-08-11  André Pönitz  <poenitz@gmx.net>
5886
5887         * Makefile.am:
5888         * tracer.[Ch]: remove unneeded files
5889
5890         * InsetList.[Ch]: remove resizeInsetsLyXText()
5891
5892         * lyxtext.h:
5893         * text.C:
5894         * text2.C:
5895         * text3.C: merge insertParagraphs() and appendParagraph()
5896         remove breakAgain(), update()
5897
5898         * BufferView_pimpl.[Ch]:
5899         * bufferview_funcs.[Ch]:
5900         * lyxfunc.C:
5901         * paragraph.[Ch]:
5902         * rowpainter.C:
5903         * tabular.C: adjust after text & InsetList changes.
5904
5905 2003-08-08  André Pönitz  <poenitz@gmx.net>
5906
5907         * text.C (insertChar, backspace): replace rowlist fiddling
5908         with rebreak of full par
5909
5910         * lyxtext.h:
5911         * text.C (breakAgainOneRow, redoHeightOfParagraph,
5912         checkParagraph, updateInset): removed
5913
5914 2003-08-07  André Pönitz  <poenitz@gmx.net>
5915
5916         * paragraph.C:
5917         * text3.C: merge some LFUN handlers, remove dead code
5918
5919 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5920
5921         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5922
5923 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
5924
5925         * text2.C (DEPM): fix part of bug 1255 and 1256
5926
5927 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5928
5929         * BufferView_pimpl.C (workAreaDispatch): change to use
5930         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5931         that are no mouse related.
5932
5933 2003-08-05  André Pönitz  <poenitz@gmx.net>
5934
5935         * BufferView.[Ch]:
5936         * BufferView_pimpl.[Ch]:
5937         * bufferview_funcs.C:
5938         * text2.C:
5939         * text3.C: rip out "deep update"
5940
5941         * textcursor.[Ch] (last_sel_cursor): remove unused member
5942
5943 2003-08-04  André Pönitz  <poenitz@gmx.net>
5944
5945         * BufferView.[Ch]:
5946         * BufferView_pimpl.[Ch]:
5947         * ParagraphParameters.C:
5948         * bufferview_funcs.C:
5949         * lyx_cb.C:
5950         * lyxfind.C:
5951         * lyxfunc.C:
5952         * text.C:
5953         * text2.C:
5954         * text3.C: replace "complicated" BufferView::update(...) calls with
5955         simpler ones.
5956
5957         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5958
5959 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
5960
5961         * Makefile.am (lyx_SOURCES): add paper.h
5962
5963 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5964
5965         * Makefile.am: move things around so that both lyx-qt and
5966         lyx-xforms can be built (according to --with-frontend). Then lyx
5967         is a symbolic link to lyx-[firstfrontend]
5968
5969 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
5970
5971         * Always use std::endl with lyxerr
5972
5973 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
5974
5975         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5976
5977 2003-08-01  André Pönitz  <poenitz@gmx.net>
5978
5979         * BufferView.[Ch]:
5980         * BufferView_pimpl.[Ch]:
5981         * lyxfunc.C:
5982         * text3.C: merge BufferView::repaint() and BufferView::update()
5983
5984 2003-08-01  José Matos  <jamatos@lyx.org>
5985
5986         * buffer.[Ch]: file_format is no longer a buffer data element.
5987
5988 2003-08-01  André Pönitz  <poenitz@gmx.net>
5989
5990         * BufferView.C:
5991         * lyxtext.h:
5992         * text.C:
5993         * text2.C: make redoParagraph more independent of current cursor
5994
5995         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5996         * text.C:
5997         * text2.C: remove unneeded members
5998
5999 2003-07-30  André Pönitz  <poenitz@gmx.net>
6000
6001         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6002
6003         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6004           create a single function...
6005
6006         * paragraph_funcs.C (moveItem): ... here.
6007
6008         * text.C:
6009           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6010
6011 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6012
6013         * LColor.[Ch]: Add comment and greyedout logical colors.
6014
6015 2003-07-30  André Pönitz  <poenitz@gmx.net>
6016
6017         * tabular.C: don't use Assert too heavily. This crashes where it
6018           shouldn't
6019
6020 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6021
6022         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6023         is disabled (bug 1232)
6024
6025 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6026
6027         * factory.C: limited 'arg' scope
6028
6029 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6030
6031         * factory.C: fixed Note submenu issues
6032
6033 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6034
6035         * factory.C: submenu for Note/Comment/Greyedout
6036
6037 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6038
6039         * lyx_main.C (LyX):
6040         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6041
6042 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6043
6044         * LaTeXFeatures.C:
6045         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6046         greyedout. Patch provided by Jürgen Spitzmüller.
6047
6048 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6049
6050         * kbmap.C (read): fix error message when reading bind files
6051
6052 2003-07-29  Angus Leeming  <leeming@lyx.org>
6053
6054         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6055         certainly does not do what it purports to do. I am doing it, and
6056         us, a favour by killing it.
6057
6058 2003-07-28  José Matos  <jamatos@lyx.org>
6059
6060         * buffer.C (readBody, do_writeFile):
6061         * paragraph.C(readParagraph): \end_document replaces \the_end.
6062
6063 2003-07-29  André Pönitz  <poenitz@gmx.net>
6064
6065         * BufferView.[Ch]:
6066         * BufferView_pimpl.[Ch]:
6067         * lyxfunc.C:
6068         * text2.C:
6069         * text3.C:
6070         * textcursor.[Ch]: remove toggleToggle & Co
6071
6072 2003-07-28  José Matos  <jamatos@fep.up.pt>
6073
6074         * buffer.C (readParagraph):
6075         * params_func (readParToken, readParagraph):
6076         * paragraph.C (write): \layout -> \begin_layout.
6077
6078 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6079
6080         * lyxlex_pimpl.C (setFile): clean up slightly.
6081
6082         * bufferparams.h: add compressed var
6083
6084         * buffer_funcs.C (readFile): adjust for LyXLex change
6085         (newFile): ditto + simplify
6086
6087         * buffer.C (writeFile): handle writing of compressed files
6088
6089         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6090         Check if the file is compressed and set a bufferparm if so.
6091
6092         * Makefile.am (lyx_LDADD): remove explicit -lz
6093
6094 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6095
6096         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6097         makeDocBookFile): put the real LyX version in the first line of
6098         the file
6099
6100         * version.h:
6101         * version.C.in: remove lyx_docversion
6102
6103         * tabular.C (write_attribute): add a template-based version to
6104         write enums properly
6105
6106 2003-07-28  André Pönitz  <poenitz@gmx.net>
6107
6108         * lyxtext.h:
6109         * text.C:
6110         * text2.C:
6111         * text3.C: use doubles again for x-coordinates. They are needed.
6112
6113 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6114
6115         * messages.C (getLocaleDir): use lyx_localedir()
6116
6117         * lyxlex_pimpl.C (setFile): compress stuff
6118
6119         * buffer.C (writeFile): add some compression stuff
6120         (do_writeFile): new func, dont call expliti close... will this
6121         breake anything?
6122
6123         * Makefile.am (lyx_LDADD): add -lz
6124
6125 2003-07-28  José Matos  <jamatos@fep.up.pt>
6126
6127         * buffer.C: increment file format.
6128         * paragraph_funcs (readParagraph, readParToken):
6129         * paragraph.C (readParagraph): add \end_layout.
6130
6131 2003-07-27  Angus Leeming  <leeming@lyx.org>
6132
6133         * Makefile.am: remove special casing for configure-time setting of
6134         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6135
6136         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6137         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6138
6139 2003-07-26  André Pönitz  <poenitz@gmx.net>
6140
6141         * paragraph_func.[Ch]:
6142         * paragraph.C (realizeFont): inline it whereever it is used
6143
6144         * rowpainter.C:
6145         * text.C:
6146         * text2.C:
6147         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6148
6149
6150 2003-07-26  André Pönitz  <poenitz@gmx.net>
6151
6152         *       lyxtext.h:
6153         * text.C:
6154         * text2.C: get rid of LyXText::need_break_row
6155
6156 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6157
6158         * toc.[Ch]: put namespace toc inside namespace lyx
6159
6160         * MenuBackend.C (expandToc2): adjust for lyx::toc
6161         (expandToc): ditto
6162
6163         * lyxfunc.C (dispatch): adjust for lyx::find
6164
6165         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6166         lyx::find instead. Reorganize a bit.
6167         (LyXReplace): rename to replace
6168         (LyXFind): rename to find
6169
6170         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6171         (dispatch): ditto
6172
6173 2003-07-26  André Pönitz  <poenitz@gmx.net>
6174
6175         * text.C (setHeightOfRow): restrict scope of temporary variable
6176
6177         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6178           code (never has been used?)
6179
6180 2003-07-27  Asger Alstrup  <alstrup@local>
6181
6182         * text.C (fill): Optimise algorithm to exploit that we can reuse
6183         the LyXFont for many characters.
6184         (setHeightOfRow): Same thing.
6185         (rowBreakPoint): Same thing.
6186
6187 2003-07-26  Asger Alstrup  <alstrup@local>
6188
6189         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6190
6191         * text.C (singleWidth): Spurious font copying in hot-spot
6192         singleWidth avoided. Reorder tests for arabic for efficiency.
6193
6194         * text.C (fill): handle empty paragraphs better.
6195
6196 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6197
6198         * ispell.C:
6199         * encoding.h: add includes
6200
6201         * lyxrc.C: remove reading of bind files
6202
6203         * lyx_main.C (init): setup bindings and menus only if we have a
6204         gui.
6205
6206         * kbmap.C (read): new method. Do the actual reading of bind
6207         files.
6208
6209         * converter.C (dvipdfm_options):
6210         * bufferparams.C:
6211         * lyxrc.C (read):
6212         (output): adapt PAPER_* enums.
6213
6214         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6215
6216         * bufferparams.h: remove paper-related enums from there
6217
6218         * paper.h: New file. A trivial header file to hold paper-related
6219         enums. It should later expand to contain many paper-related
6220         horrors access.
6221
6222         * lyxrc.C: declare extern displayTranslator
6223
6224 2003-07-27  José Matos  <jamatos@fep.up.pt>
6225
6226         * tabular.[Ch] (linuxdoc): add support for tables and figures
6227         (linuxdoc).
6228
6229 2003-07-27  José Matos  <jamatos@fep.up.pt>
6230
6231         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6232         consistency in both functions.
6233         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6234
6235 2003-07-26  Asger Alstrup  <alstrup@local>
6236
6237         * rowpainter.C (paintRows): Change algorithm to work directly on
6238         the insets rather than asking every character in the document
6239         whether its an inset.
6240
6241 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6242
6243         * buffer.C (openFileWrite): factorize some code
6244
6245 2003-07-26  Angus Leeming  <leeming@lyx.org>
6246
6247         * lyx_cb.C:
6248         * lyx_main.[Ch]: replace occurances of system_tempdir with
6249         os::getTmpDir().
6250
6251 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6252
6253         * rename Inset to InsetOld
6254
6255 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6256
6257         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6258         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6259         which I think is a bit clearer. EDIT is gone, since it was
6260         premature optimisation, and broken for mathed anyway.
6261         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6262         with cursor positioning in insets as well (math insets still do not
6263         work, but that's a different story anyway.) It mysteriously
6264         crashes sometimes with undo in the first paragraph, but I'm fairly
6265         confident that this is a compiler bug.
6266
6267 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * paragraph.C (Paragraph): adjust for new clone return type
6270         (operator==): ditto
6271         (copyIntoMinibuffer): ditto
6272
6273 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6274
6275         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6276         by not having a special case, and always doing a full rebreak of
6277         the document after undo.
6278
6279 2003-07-23  Angus Leeming  <leeming@lyx.org>
6280
6281         * factory.C (createInset): InsetExternal::setParams now takes a
6282         Buffer const * arg.
6283
6284 2003-07-23  Angus Leeming  <leeming@lyx.org>
6285
6286         * factory.C (createInset): changed interface to the external and
6287         graphics mailers' string2params functions.
6288
6289 2003-07-23  Angus Leeming  <leeming@lyx.org>
6290
6291         * factory.C (createInset): pass a
6292         Buffer const * parameter to InsetExternalMailer's string2params.
6293
6294 2003-07-22  John Levon  <levon@movementarian.org>
6295
6296         * Thesaurus.h: include the right aiksaurus header
6297
6298 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6299
6300         * MenuBackend.C (expand): check menu shortcuts unconditionally
6301
6302 2003-07-21  Angus Leeming  <leeming@lyx.org>
6303
6304         * factory.C (createInset): pass a
6305         buffer_path parameter to InsetGraphicsMailer's string2params.
6306
6307 2003-07-21  Angus Leeming  <leeming@lyx.org>
6308
6309         * BufferView_pimpl.C (buffer):
6310         * buffer.C (d-tor):
6311         * lyx_main.C (LyX):
6312         * lyxfunc.C (dispatch):
6313         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6314         rather than the grfx shortcut.
6315
6316 2003-07-21  André Pönitz  <poenitz@gmx.net>
6317
6318         * rowpainter.C: remove unused variables
6319
6320         * tabular_funcs.C:
6321         * tabular_funcs.h: move to tabular.C
6322         * Makefile.am: adjust
6323
6324         * tabular.[Ch]: basic optical cleaning
6325
6326         * author.h: pass references, not values
6327
6328 2003-07-18  André Pönitz  <poenitz@gmx.net>
6329
6330         * lyxtext.h:
6331         * metricsinfo.C:
6332         * metricsinfo.h:
6333         * rowpainter.C:
6334         * text.C:
6335         * text2.C:
6336         * text3.C: two-phase drawing for InsetText and InsetTabular
6337         some float -> int changes.
6338
6339 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6340
6341         * lyx_main.C: fix the fix
6342
6343 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6344
6345         * lyx_main.C: fix a crash in batch mode if no files specified
6346         * converter.C: ws
6347
6348 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6349
6350         * format.[Ch] (papersize): moved to BufferParams
6351         * converter.[Ch] (dvips_options): moved to BufferParams
6352         (dvipdfm_options): moved to anon namespace
6353         * bufferparams.[Ch]: added above functions.
6354
6355 2003-07-17  André Pönitz  <poenitz@gmx.net>
6356
6357         * lyxtext.h:
6358         * rowpainter.C:
6359         * text2.C: don't call inset->update() anymore
6360
6361         * metricsinfo.[Ch]: add convenience constructor
6362
6363 2003-07-16  André Pönitz  <poenitz@gmx.net>
6364
6365         * lyxcursor.[Ch]:
6366         * lyxfunc.[Ch]:
6367         * text.C:
6368         * text2.C: replace the LyXCursor::irow_ member with
6369          on-demand computation of the value
6370
6371 2003-07-16  John Levon  <levon@movementarian.org>
6372
6373         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6374
6375 2003-07-15  André Pönitz  <poenitz@gmx.net>
6376
6377         * text.C:
6378         * text2.C: remove no more needed refresh_row
6379
6380 2003-07-15  André Pönitz  <poenitz@gmx.net>
6381
6382         * lyxtext.h:
6383         * rowpainter.C:
6384         * text2.C:
6385         * text3.C: refresh_status tristate -> need_update bool
6386
6387 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6388
6389         * lyxtext.h (init): remove reinit argument (act as if always true)
6390         * text2.C: adjust to that
6391
6392 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6393
6394         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6395         * text3.C: use it to delete selections in some cases
6396         (bugs 441, 673, 702, 954).
6397
6398 2003-07-14  André Pönitz  <poenitz@gmx.net>
6399
6400         * rowpainter.[Ch]: reduce interface
6401
6402 2003-07-14  André Pönitz  <poenitz@gmx.net>
6403
6404         * BufferView_pimpl.C:
6405         * text2.C: adjust after removing unused BufferView * argument
6406
6407 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
6408
6409         * text2.C (init): fix a crash fired on resize
6410
6411 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
6412
6413         * buffer.[Ch]: added new closing signal
6414         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
6415         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
6416         BufferView::Pimpl via the closing the signal
6417
6418 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
6419
6420         * buffer.[Ch]: take out all bv-related from buffer
6421         * BufferView.C:
6422         * BufferView_pimpl.[Ch]: connect to new signals
6423         * CutAndPaste.C: removed useless asserts
6424         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
6425         * lyxvc.[Ch]:
6426         * vc-backend.[Ch]:
6427         * lyxfunc.C: moved view-related funciontality from vc here
6428         * paragraph.C: removed outdated comments
6429         * text.C: ws
6430
6431 2003-07-10  André Pönitz  <poenitz@gmx.net>
6432
6433         * BufferView_pimpl.C:
6434         * tabular.h:
6435         * tabular_funcs.C:
6436         * text.C:
6437         * text2.C: remove InsetText::InnerCache, clean up consequences
6438
6439 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
6440
6441         * ispell.C: fix two typos in error messages
6442
6443 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
6444
6445         * Extend Note inset to other forms of annotation like Comment
6446         and Greyedout. Right button click gives dialog.
6447
6448         Files modified or added (+):
6449
6450         * insetnote.[Ch]
6451         * FormNote.[Ch]      +
6452         * ControlNote.[Ch]   +
6453         * form_note.fd       +
6454         * Makefile.am in frontends/xforms, frontends/xforms/forms,
6455         frontends/controllers
6456         * xforms/Dialogs.C
6457         * factory.C
6458
6459 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6460
6461         * aspell.C: add missing namespace lyx::support
6462
6463 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
6464
6465         * BufferView.[Ch] (newFile): Add
6466         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
6467         * LaTeX.[Ch] (message): added this signal and use it
6468         * buffer.[Ch] (busy, message): added these signals and use them
6469         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
6470         * converter.C:
6471         * exporter.C:
6472         * format.C:
6473         * importer.C: use buffer signals instead of direct bv calling
6474         * lyx_cb.[Ch] (ShowMessage): removed
6475         * lyx_main.C:
6476         * lyxfunc.C:
6477         * paragraph_funcs.C:
6478         * text2.C: use buffer signals
6479
6480 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
6481
6482         * introduce namespace lyx::graphics
6483
6484 2003-07-02  André Pönitz  <poenitz@gmx.net>
6485
6486         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
6487
6488 2003-07-01  André Pönitz  <poenitz@gmx.net>
6489
6490         * text.C:
6491         * text2.C:
6492         * text3.C:
6493         * text_funcs.[Ch]:
6494         * textcursor.h:
6495         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
6496           text*.C to text_func.C
6497
6498 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6499
6500         * introduce namespace lyx::support
6501
6502 2003-06-30  André Pönitz  <poenitz@gmx.net>
6503
6504         * Chktex.C:
6505         * funcrequest.C:
6506         * lyxtext.h:
6507         * text.C: re-enable --with-included-string
6508
6509 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6510
6511         * textcursor.C: add <config.h>
6512
6513         * text.C (getWord): remove const from word_location arg
6514
6515         * lyxvc.C (getLogFile): fix const type order
6516
6517         * lyxtext.h: remove const from word_location arg, add arg name
6518
6519         * lyxlayout.h: currect type on labeltype.
6520
6521         * importer.C: correct \file
6522
6523         * converter.C (intToFormat): use std:: on ret val, ws changes
6524
6525         * bufferlist.h: correct \file
6526
6527         * buffer.C (makeLinuxDocFile): fix const type order
6528         (makeDocBookFile): ditto
6529         (fillWithBibKeys): use std:: on stdlib args.
6530
6531         * CutAndPaste.C: fix authors.
6532         (availableSelections): use std:: on return vector
6533
6534 2003-06-27  André Pönitz  <poenitz@gmx.net>
6535
6536         * BufferView_pimpl.C:
6537         * bufferview_funcs.C:
6538         * lyxcursor.C:
6539         * lyxcursor.h:
6540         * lyxfunc.C:
6541         * lyxtext.h:
6542         * rowpainter.C:
6543         * text.C:
6544         * text2.C:
6545         * text3.C: remove LyXCursor::row_ member
6546
6547         * lyxtext.h:
6548         * text.C: rename fullRebreak() to partialRebreak() and implement
6549           a fullRebreak() that really bereks fully
6550
6551         * textcursor.h: new struct for cursor-related data
6552
6553 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
6554
6555         * lyx_main.C (LyX): get full path of document loaded on the
6556         command line
6557
6558 2003-06-26  André Pönitz  <poenitz@gmx.net>
6559
6560         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
6561           remove unused/broken operator>,<,>=.
6562
6563         *       text.C: remove only use of broken operator<= in an Assert().
6564
6565 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6566
6567         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
6568         moved errorlist_.clear to showErrorList
6569
6570 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
6571
6572         * converter.C (scanLog, runLaTeX):
6573         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
6574         move the bv->showErrorList call to the callers
6575         * lyxfunc.C: i.e. here...
6576         * text2.C: and here
6577         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
6578         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
6579         namespace, the second to...
6580         * buffer_funcs (BufferFormat, parseErrors): added
6581         * errorlist.C (ErrorList(TeXErrors const &)): removed
6582
6583 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6584
6585         * ToolbarBackend.C (getIcon): complain when icon cannot be found
6586
6587 2003-06-24  "Garst R. Reese" <reese@isn.net>
6588
6589         * debug.C: fix typo
6590
6591 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6592
6593         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
6594
6595         * version.C.in: change docversion to 1.4
6596
6597 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
6598
6599         * buffer.C: fix a bug just introduced
6600
6601 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6602
6603         * buffer.[Ch]: added the parseError signal and use it, removed
6604         sgmlError
6605         * BufferView.[Ch] (addError): moved to ...
6606         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
6607         to the Buffer::parseError signal to catch (guess what) parse errors
6608         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
6609
6610 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
6611
6612         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
6613         ability to create a buffer and to return an existing one from
6614         the list. Moved these functions to...
6615         * buffer_funcs.[Ch]: added
6616         * BufferView.[Ch] (loadLyXFile): added
6617         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
6618         job removed from bufferlist::loadLyXFile.
6619         * buffer.C (setReadOnly): make it work without view
6620         (i.e added an if (users))
6621
6622 2003-06-19  Angus Leeming  <leeming@lyx.org>
6623
6624         * lfuns.h:
6625         * LyXAction.C (init):
6626         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
6627         with LFUN_DIALOG_SHOW <name> <data>.
6628
6629 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6630
6631         * CutAndPaste.C (availableSelections): small compilation fix for
6632         ancient (gcc 2.9x) compilers
6633
6634 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
6635
6636         * text3.C (cursorNext): add tmp var
6637
6638         * text2.C (updateCounters): for function calling out of for clause
6639         (replaceSelectionWithString): ditto
6640         (insertStringAsParagraphs): ditto
6641         (getColumnNearX): add tmp var
6642         (setCursorFromCoordinates): add tmp var
6643         (cursorDownParagraph): add tmp var
6644         (deleteEmptyParagraphMechanism): add tmp var
6645
6646         * text.C (insertChar): add tmp var
6647
6648         * rowpainter.C (paintDepthBar): add tmp var
6649
6650         * CutAndPaste.C (availableSelections): potentially check all
6651         paragraphs in a cut to fill the shown strings.
6652
6653 2003-06-18  André Pönitz  <poenitz@gmx.net>
6654
6655         * kbmap.[Ch]: use vector<> instead of list<>
6656
6657 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
6658
6659         * text3.C (dispatch): handle arg to LFUN_PASTE, call
6660         pasteSelection with index
6661
6662         * text2.C (pasteSelection): modify, call pasteSelection with index
6663
6664         * paragraph.C (asString): reimplement version with no interval to
6665         call the one with interval.
6666
6667         * lyxtext.h: add index arg to pasteSelection
6668
6669         * MenuBackend.C (MenuItem): handle PasteRecent
6670         (Menu::read::Menutags): add md_pasterecent
6671         (read): handle it
6672         (expandPasteRecent): new function
6673         (expand): use it
6674
6675         * MenuBackend.h: add PasteRecent to MenuItem::Kind
6676
6677         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6678         the limited stack
6679         (availableSelections): new function
6680
6681 2003-06-17  Angus Leeming  <leeming@lyx.org>
6682
6683         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6684
6685 2003-06-17  Angus Leeming  <leeming@lyx.org>
6686
6687         * lfuns.h:
6688         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6689
6690         * lyxfunc.C (dispatch): invoke it.
6691
6692 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6693
6694         * iterators.C (operator++, ParPosition): reintroduce some
6695         const_cast for the benefit of older compilers.
6696
6697 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6698
6699         * text3.C (dispatch): do not modify clipboard when doing
6700         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6701         LFUN_DELETE_SKIP on a selection selection
6702
6703 2003-06-16  André Pönitz  <poenitz@gmx.net>
6704
6705         * BufferView.C:
6706         * buffer.C:
6707         * buffer.h:
6708         * paragraph.C:
6709         * tabular.[Ch]: IU of clone() and getLabelList();
6710
6711 2003-06-13  André Pönitz  <poenitz@gmx.net>
6712
6713         * tabular.h: compactification
6714
6715 2003-06-12  André Pönitz  <poenitz@gmx.net>
6716
6717         * tabular.C:
6718         * tabular.h:
6719         * tabular_funcs.h: some renaming plus whitespace
6720
6721 2003-06-12  André Pönitz  <poenitz@gmx.net>
6722
6723         * BufferView.C:
6724         * BufferView_pimpl.C:
6725         * CutAndPaste.C:
6726         * buffer.C:
6727         * iterators.[Ch]:
6728         * lyxfunc.C:
6729         * text.C:
6730         * toc.C: Return a Paragraph & for ParIterator::operator*()
6731
6732 2003-06-11  John Levon  <levon@movementarian.org>
6733
6734         * lyx_main.C:
6735         * ToolbarBackend.h:
6736         * ToolbarBackend.C: add "Toolbars" section and
6737         put the flags there
6738
6739 2003-06-10  Angus Leeming  <leeming@lyx.org>
6740
6741         * lfuns.h:
6742         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6743
6744         * lyxfunc.C (dispatch): invoke it.
6745
6746 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6747
6748         * main.C: protect <ios> with HAVE_IOS
6749         (main): protect sync_with_stdio with HAVE_IOS
6750
6751 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
6752
6753         * text2.C (cutSelection): adjust
6754         (pasteSelection): adjust
6755
6756         * messages.C: handle get of empty string
6757
6758         * main.C (main): use sync_with_stdio(false)
6759
6760         * lyxfunc.C (dispatch): adjust
6761
6762         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6763         (WriteAs): remove unneeded BufferView arg.
6764
6765         * bufferparams.h: use correct types on papersize, papersize2 and
6766         paperpackage.
6767
6768         * bufferparams.C (readToken): adjust for type
6769         (writeLaTeX): add missing cases to switch.
6770
6771         * bufferlist.C (quitWriteBuffer): adjust
6772         (close): adjust
6773
6774         * buffer.C (asciiParagraph): remove some commented code.
6775
6776         * CutAndPaste.C: remove current_view extern variable.
6777         (cutSelection): add BufferParams arg.
6778         (eraseSelection): add BufferParams arg.
6779         (pasteSelection): add Buffer const & arg
6780
6781 2003-06-07  John Levon  <levon@movementarian.org>
6782
6783         * buffer.C:
6784         * paragraph_funcs.C:
6785         * paragraph_pimpl.C:
6786         * text.C:
6787         * text2.C:
6788         * paragraph.h:
6789         * paragraph.C: allow InsetERT to freely space lines,
6790         and some consolidation of code
6791
6792 2003-06-06  José Matos  <jamatos@fep.up.pt>
6793
6794         * buffer.C (makeDocBookFile): fix bug #821
6795
6796 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
6797
6798         * BufferView_pimpl.C (dispatch): use Dialogs::visible
6799
6800 2003-06-04  Angus Leeming  <leeming@lyx.org>
6801
6802         * buffer.C: bump format to 224.
6803
6804 2003-06-05  André Pönitz  <poenitz@gmx.net>
6805
6806         * text2.C (redoParagraphs): remove two const_cast<>
6807
6808 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6809
6810         * ParagraphList.h: remove last remnants of NO_STD_LIST
6811
6812 2003-06-03  Angus Leeming  <leeming@lyx.org>
6813
6814         * factory.C (createInset): small change to the way InsetExternal's params
6815         are set.
6816
6817 2003-06-04  André Pönitz  <poenitz@gmx.net>
6818
6819         * buffer.h: use Undo directly instead of shared_ptr<Undo>
6820
6821         * paragraph_pimpl.h:
6822         * paragraph.[Ch]: some Inset -> UpdatableInset changes
6823
6824         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6825
6826         * undo_funcs.C: make some simple cases of undo work again
6827
6828 2003-06-03  John Levon  <levon@movementarian.org>
6829
6830         * ispell.C: HPUX doesn't have sys/select.h
6831         (from Albert Chin)
6832
6833 2003-06-03  John Levon  <levon@movementarian.org>
6834
6835         * CutAndPaste.C: update tabular and include inset
6836         buffer references
6837
6838         * buffer.h:
6839         * paragraph.h:
6840         * paragraph.C: remove owningBuffer(), don't pass Buffer
6841         to clone()
6842
6843         * factory.C: insetGraphicsParams changed
6844
6845 2003-06-02  John Levon  <levon@movementarian.org>
6846
6847         * LyXAction.C:
6848         * factory.C:
6849         * lfuns.h:
6850         * lyxfunc.C:
6851         * text3.C: remove insetparent
6852
6853 2003-06-02  John Levon  <levon@movementarian.org>
6854
6855         * buffer.h:
6856         * buffer.C: fix inset_iterator.end(), move out of line
6857         (bug 1149)
6858
6859 2003-06-01  John Levon  <levon@movementarian.org>
6860
6861         * text3.C: use a proper cut/paste when doing inset
6862         insert (from Jürgen Spitzmüller)
6863
6864 2003-06-01  John Levon  <levon@movementarian.org>
6865
6866         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6867
6868 2003-05-30  André Pönitz  <poenitz@gmx.net>
6869
6870         * rowpainter.C: unify second drawing phase
6871
6872 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6873
6874         * trans_mgr.C: remove one case of current_view
6875
6876         * text2.C (cursorBottom): delete NO_STD_LIST stuff
6877
6878         * paragraph_funcs.h: remove paragraph.h include
6879
6880         * paragraph.h: delete NO_STD_LIST stuff
6881
6882         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6883
6884         * buffer.h: remove paragraph.h include
6885
6886         * ParagraphList.C: delete file
6887
6888         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6889
6890         * toc.C (getTocList): adjust
6891
6892         * paragraph_pimpl.C (validate): adjust
6893
6894         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6895
6896         * paragraph.C (Paragraph): adjust
6897         (getPositionOfInset): use const_iterator, adjust
6898         (bibitem): use const_iterator, adjust
6899         (setInsetOwner): adjust
6900
6901         * iterators.C (operator++): adjust
6902
6903         * InsetList.[Ch]: Replace selfmade iterator with standard
6904         vector::iterator also introduce const_iterator. Remove getPos,
6905         getInset and setInset from InsetTable. Adjust accordingly.
6906
6907         * BufferView.C (lockInset): adjust
6908         (ChangeInsets): adjust
6909
6910         * tabular.[Ch]: delete commented same_id functions
6911
6912 2003-05-28  John Levon  <levon@movementarian.org>
6913
6914         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6915
6916 2003-05-28  André Pönitz  <poenitz@gmx.net>
6917
6918         * metricsinfo.[Ch]: remove 'fullredraw' member
6919
6920 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
6921
6922         * lyxtextclass.C (operator): remove caching.
6923
6924 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6925
6926         * text3.C: adjust
6927
6928         * text2.C (cursorBottom): adjust
6929         (setCounter): use ParagraphList::find, adjust
6930
6931         * text.C (workWidth): use ParagraphList::find, adjust
6932
6933         * lyxcursor.C (LyXCursor): adjust
6934
6935         * buffer.C (inset_iterator): adjust
6936
6937         * ParagraphList.h: make iterator(value_type) private, make
6938         ParagraphList a friend of iterator.
6939
6940         * ParagraphList.C (find): new function
6941
6942         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6943
6944 2003-05-27  André Pönitz  <poenitz@gmx.net>
6945
6946         * dimension.[Ch]: a -> asc, d -> des, w -> wid
6947
6948 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6949
6950         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6951
6952 2003-05-26  John Levon  <levon@movementarian.org>
6953
6954         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6955
6956 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6957
6958         * remove same_id from function signatures, adjust.
6959
6960 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6961
6962         * undo_funcs.C (createUndo): use the id functions directly, adjust.
6963
6964         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6965
6966         * paragraph.C (Paragraph): get rid of same_ids parameter
6967
6968         * ParagraphList.C (insert): adjust
6969         (push_back): adjust
6970
6971 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6972
6973         * paragraph_funcs.C (breakParagraph): adjust
6974         (breakParagraphConservative): adjust
6975
6976         * buffer.C (readParagraph): adjust
6977
6978         * ParagraphList.C (insert): take a reference instead of a pointer
6979         (insert): adjust
6980
6981         * paragraph.[Ch] (id): new function
6982
6983         * bufferlist.C (newFile): adjust
6984
6985         * ParagraphList.C (ParagraphList): adjust
6986         (assign): adjust
6987         (push_back): take a reference instead of a pointer.
6988
6989         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6990
6991         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6992         instead.
6993
6994         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6995         set else use old code.
6996
6997         * ParagraphList.C: remove all NO_NEXT code and only compile this
6998         code of NO_STD_LIST is set.
6999
7000 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7001
7002         * BufferView_pimpl.C:
7003         * TextCache.C:
7004         * TextCache.h:
7005         * bufferlist.C:
7006         * errorlist.h:
7007         * format.C:
7008         * format.h:
7009         * graph.C:
7010         * lyxfunc.C:
7011         * lyxrc.C:
7012         * graphics/GraphicsConverter.C:
7013         * graphics/PreviewLoader.C: header adjustment
7014
7015 2003-05-23  Angus Leeming  <leeming@lyx.org>
7016
7017         * LaTeXFeatures.[Ch] (useBabel): new method.
7018         * bufferparams.C (writeLaTeX): use it.
7019
7020 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7021
7022         * ParagraphList.h (set): remove unused function.
7023
7024 2003-05-23  André Pönitz  <poenitz@gmx.net>
7025
7026         * BufferView.C:
7027         * BufferView_pimpl.C:
7028         * buffer.C:
7029         * buffer.h:
7030         * lyxfunc.C:
7031         * undo_funcs.C: setUndo reworked
7032
7033         * iterators.[Ch]: add access to topmost ParagraphList
7034
7035         * lyxtext.[Ch] (workWidth): add a const
7036
7037 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7038
7039         * texrow.[Ch] (increasePos): remove function
7040         * exporter.C (export): removed unused var and outdated comment
7041
7042 2003-05-23  Angus Leeming  <leeming@lyx.org>
7043
7044         * latexrunparams.h: rename fragile as moving_arg.
7045         * paragraph.C (simpleTeXOnePar): ditto.
7046         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7047
7048 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7049
7050         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7051         (createUndo): ditto
7052         (textUndoOrRedo): comment out a currently unused var.
7053
7054         * paragraph.h (NO_NEXT): enable NO_NEXT
7055
7056         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7057
7058         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7059
7060         * exporter.C (Export): adjust for removeAutoInsets removal.
7061
7062         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7063
7064         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7065
7066         * BufferView.[Ch] (removeAutoInsets): delete function
7067
7068 2003-05-22  Angus Leeming  <leeming@lyx.org>
7069
7070         * latexrunparams.h: add a free_spacing variable.
7071
7072         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7073         to pass moving_arg, as the data is stored in runparams.fragile.
7074
7075         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7076         to Inset::latexOptional or to simpleTeXOnePar.
7077
7078         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7079         free_spacing arg to Inset::latexOptional.
7080
7081         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7082         free_spacing arg.
7083
7084 2003-05-22  Angus Leeming  <leeming@lyx.org>
7085
7086         * latexrunparams.h: add fragile and use_babel variables.
7087
7088         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7089         * buffer.C (makeLaTeXFile): store this returned value in
7090         runparams.use_babel, thus passing it to the inset::latex methods.
7091
7092         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7093         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7094
7095         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7096         longer has a fragile arg, as it is stored in runparams.fragile.
7097
7098         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7099         moving_arg parameter as the data is stored in runparams.fragile.
7100
7101         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7102         a fragile parameter as the data is stored in runparams.fragile.
7103
7104 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7105
7106         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7107
7108 2003-05-22  Angus Leeming  <leeming@lyx.org>
7109
7110         * latexrunparams.h: add a 'bool nice' which defaults to false.
7111
7112         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7113         now encapsulated within runparams.
7114
7115         * bufferlist.C (updateIncludedTeXfiles):
7116         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7117
7118 2003-05-22  Angus Leeming  <leeming@lyx.org>
7119
7120         * latexrunparams.h: new file containing struct LatexRunParams.
7121         * Makefile.am: add new file.
7122
7123         * LaTeX.[Ch] (c-tor, run):
7124         * buffer.[Ch] (makeLaTeXFile):
7125         * bufferlist.[Ch] (updateIncludedTeXfiles):
7126         * converter.C (convert, scanLog):
7127         * converter.[Ch] (runLaTeX):
7128         * exporter.C (Export):
7129         * paragraph.[Ch] (simpleTeXOnePar):
7130         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7131         * paragraph_funcs.[Ch] (latexParagraphs):
7132         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7133         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7134         pass around a LatexRunParams parameter.
7135
7136 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7137
7138         * paragraph.[Ch]: remove unused constructor
7139
7140         * ParagraphList.C (erase): new function, taking two iterators
7141
7142 2003-05-22  André Pönitz  <poenitz@gmx.net>
7143
7144         * undo_funcs.C: remove duplicated code
7145
7146         * iterator.[Ch]: operator=
7147
7148 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7149
7150         * tabular.C (SetMultiColumn): ws changes
7151
7152         * rowpainter.C (paintFirst): get rid of a ->previous
7153
7154         * lyx_cb.C (getPossibleLabel): parlist simplification
7155
7156         * BufferView.C (ChangeInsets): simplify slightly.
7157
7158 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7159
7160         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7161         * lfuns.h: new LFUN_SPACE
7162         * lyxfunc.C: protected space has a new lfun
7163         * paragraph_funcs.C: read new space insets
7164         * text3.C:
7165         * factory.C: handle new space insets
7166
7167 2003-05-22  André Pönitz  <poenitz@gmx.net>
7168
7169         * BufferView.C:
7170         * BufferView_pimpl.C:
7171         * buffer.[Ch]:
7172         * lyxfunc.C:
7173         * undo_funcs.C: return a ParIterator from getParFromID.
7174
7175         * iterators.[Ch]: add two const's
7176
7177 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7178
7179         * toc.C (getTocList): adjust
7180
7181         * iterators.[Ch]: rework for parlist
7182
7183         * buffer.C (par_iterator_begin): adjust
7184         (par_iterator_end): adjust
7185
7186         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7187
7188         * BufferView.C (removeAutoInsets): adjust
7189         (ChangeInsets): adjust
7190
7191 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7192
7193         * text.C (top_y): fix bug 1110
7194
7195 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7196
7197         * errorlist.[Ch]: added
7198         * buffer.C:
7199         * BufferView.[Ch]:
7200         * BufferView_pimpl.C:
7201         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7202         instead
7203
7204 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7205
7206         * Makefile.am: ensure that lyx is relinked upon changes to the
7207         various "convenience" libs.
7208
7209 2003-05-20  Angus Leeming  <leeming@lyx.org>
7210
7211         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7212         files are compiled in alphabetical order again.
7213
7214         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7215
7216 2003-05-19  Angus Leeming  <leeming@lyx.org>
7217
7218         * gettext.[Ch]: remove "char const * _(char const *)".
7219
7220 2003-05-19  André Pönitz  <poenitz@gmx.net>
7221
7222         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7223
7224         * Makefile.am:
7225         * BufferView.C:
7226         * DepTable.h:
7227         * LaTeXFeatures.C:
7228         * buffer.C:
7229         * lyxfont.C:
7230         * lyxlex.h:
7231         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7232
7233 2003-05-19  André Pönitz  <poenitz@gmx.net>
7234
7235         * buffer.C:
7236         * lyxlayout.[Ch]:
7237         * lyxtextclass.[Ch]:
7238         * paragraph.C:
7239         * paragraph_funcs.[Ch]:
7240         * text2.C:
7241         * text3.C: more insetenv work
7242
7243 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7244
7245         * ParagraphParameters.C (params2string): small bug fixed
7246
7247 2003-05-16  André Pönitz  <poenitz@gmx.net>
7248
7249         * debug.C:
7250         * bufferview_funcs.C: patch from Kornel Benko to prevent
7251           crash when _(...) is called twice in a statement
7252
7253 2003-05-16  André Pönitz  <poenitz@gmx.net>
7254
7255         * BufferView.C:
7256         * lyxfunc.C:
7257         * text.C:
7258         * text2.C:
7259         * text3.C:
7260         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7261
7262 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7263
7264         * lyx_main.C (init): remove spurious static_cast
7265
7266 2003-05-14  André Pönitz  <poenitz@gmx.net>
7267
7268         * BufferView.C: fix format string
7269
7270 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7271
7272         * BufferView.[Ch] (insertErrors): removed
7273         * BufferView.[Ch] (showErrorList): added
7274         * buffer.C (runChkTeX):
7275         * converter.C (scanLog): call showErrorList instead of inserterrors
7276
7277 2003-05-13  André Pönitz  <poenitz@gmx.net>
7278
7279         * BufferView_pimpl.C:
7280         * buffer.C:
7281         * bufferview_func.C:
7282         * MenuBackend.C:
7283         * lyxfunc.C:
7284         * lyxrc.C:
7285         * tex-accent.C:
7286         * text3.C:
7287         * toc.C:
7288         * tabular_funcs.h: tostr() from its own header
7289
7290         * ParagraphParameters.C:
7291         * ToolbarBackend.C:
7292         * bufferparams.C:
7293         * format.C:
7294         * lyxlex_pimpl.C:
7295         * text3.C: STRCONV()
7296
7297 2003-05-12  André Pönitz  <poenitz@gmx.net>
7298
7299         * BufferView.C:
7300         * BufferView_pimpl.C:
7301         * CutAndPaste.C:
7302         * LaTeX.C:
7303         * LaTeXFeatures.C:
7304         * ParagraphParameters.C:
7305         * buffer.C:
7306         * bufferlist.C:
7307         * bufferparams.C:
7308         * bufferview_funcs.C:
7309         * converter.C:
7310         * counters.C:
7311         * debug.C:
7312         * exporter.C:
7313         * format.C:
7314         * importer.C:
7315         * lyx_cb.C:
7316         * lyx_main.C:
7317         * lyxfont.C:
7318         * lyxfunc.C:
7319         * lyxvc.C:
7320         * paragraph.C:
7321         * paragraph_funcs.C:
7322         * tabular.C:
7323         * tabular_funcs.C:
7324         * text2.C:
7325         * text3.C:  boost::format -> bformat  all over the place
7326
7327
7328 2003-05-09  André Pönitz  <poenitz@gmx.net>
7329
7330         * LColor.[Ch]: Pimpl the #include <map> away
7331
7332 2003-05-09  John Levon  <levon@movementarian.org>
7333
7334         * bufferlist.C: never remove emergency saves
7335
7336 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7337
7338         * Makefile.am: better lib building
7339
7340 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7341
7342         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7343         instead.
7344         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7345         (simpleTeXSpecialChars): adjust
7346         (simpleTeXSpecialChars): adjust
7347         * paragraph.C (simpleTeXOnePar): adjust
7348         * buffer.C (makeLaTeXFile): adjust
7349
7350         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7351
7352         * text2.C (changeDepth): parlist cleanup
7353         (getColumnNearX): ditto
7354
7355         * rowpainter.C (getLabelFont): parlist cleanup
7356
7357         * bufferlist.C (newFile): parlist cleanup
7358
7359         * CutAndPaste.C (eraseSelection): parlist cleanup
7360
7361         * BufferView_pimpl.C (trackChanges): parlist cleanup
7362         (dispatch): ditto
7363
7364         * BufferView.C (lockInset): parlist cleanup.
7365         (ChangeInsets): ditto
7366
7367 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7368
7369         * CutAndPaste.h: Update file header.
7370
7371         * CutAndPaste.C: Update file header.
7372         Store the parts cut out of the Document in a limited_stack.
7373         (copySelection): adjust
7374         (pasteSelection): new function, takes the index in the limited stack.
7375         (nrOfParagraphs): adjust
7376         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7377         simplify error inset insertion.
7378         (checkPastePossible): adjust
7379
7380 2003-05-06  John Levon  <levon@movementarian.org>
7381
7382         * text2.C: don't cast wrap inset to float
7383
7384 2003-05-05  André Pönitz  <poenitz@gmx.net>
7385
7386         * iterator.C:
7387         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7388
7389         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7390           few naked Paragraph *.
7391
7392 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7393
7394         * bufferparams.C: Output warning if a document with missing
7395         TeX document class is loaded
7396         * exporter.C: Disable TeX exports if the document class is missing
7397         * lyxtextclass.C:
7398         * lyxtextclass.h:
7399         * lyxtextclasslist.C: Handle new textclass.lst format; new method
7400         isTeXClassAvailable()
7401
7402 2003-05-03  John Levon  <levon@movementarian.org>
7403
7404         * BufferView.h:
7405         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
7406         explicit cursor show/hide
7407
7408         * BufferView_pimpl.h:
7409         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
7410         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
7411
7412         * lyxfunc.C: hide cursor before dispatching.
7413
7414         * lyx_cb.C:
7415         * lyxfind.C:
7416         * text.C:
7417         * text3.C: remove explicit cursor hides
7418
7419 2003-05-02  André Pönitz  <poenitz@gmx.net>
7420
7421         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
7422
7423         * undo_funcs.C:
7424         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
7425           linked lists
7426
7427         * text2.C: tiny whitespace
7428
7429 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7430
7431         * undo_funcs.C: almost only ws changes.
7432
7433         * ParagraphList.C (splice): just return if pl is empty.
7434
7435 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7436
7437         * ParagraphList.C (splice): new function.
7438
7439         * CutAndPaste.C (pasteSelection): use it
7440
7441 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7442
7443         * CutAndPaste.C (pasteSelection): remove the last next and
7444         previous from this file.
7445
7446 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7447
7448         * CutAndPaste.C (pasteSelection): more clean up, user proper
7449         ParagraphList functions for pasteing.
7450
7451         * ParagraphList.C (insert): new function, three arg insert
7452
7453 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7454
7455         * ParagraphList.C (insert): new function, three arg insert
7456
7457         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
7458         not on paragraphs.
7459
7460 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7461
7462         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
7463
7464 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7465
7466         * CutAndPaste.C (pasteSelection): remove some unneeded code.
7467
7468 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7469
7470         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
7471         (copySelection): clean up a bit.
7472         (pasteSelection): use make_pair
7473
7474         * ParagraphList.C (ParagraphList): implement copy constructor
7475         (operator=): implement, base on copy constructor.
7476         (assign): new func
7477
7478         * paragraph.C (erase): return a bool
7479
7480         * paragraph_pimpl.C (erasePos): remove function, move contents...
7481         (erase): ... here. Return a bool.
7482         (erase): call erase instead of erasePos.
7483
7484 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
7485
7486         * ParagraphList.h: define PitPosPair
7487         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
7488         ParagraphList, fix a bug on pasting multiple pars
7489         * text2.C: change interface to C&P
7490
7491 2003-04-30  André Pönitz  <poenitz@gmx.net>
7492
7493         * undo_func.C: revert part of yesterday's patch 2
7494
7495 2003-04-30  John Levon  <levon@movementarian.org>
7496
7497         * LColor.C: s/tabular/table/
7498
7499 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7500
7501         * text3.C (dispatch): do not convert iterator -> pointer
7502         * undo_funcs.C (setCursorParUndo): ditto
7503         * text_funcs.C (transposeChars): ditto
7504
7505         * text2.C (setLayout): ws changes only
7506
7507         * text.C (breakParagraph): do not convert iterator -> pointer
7508         (insertChar): ditto
7509         (acceptChange): ditto
7510         (rejectChange): ditto
7511         (changeCase): ditto
7512         (Delete): ditto
7513         (backspace): ditto
7514
7515         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
7516         pointer
7517
7518 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7519
7520         * text3.C (gotoInset): YABG (yet another bad getChar)
7521
7522 2003-04-29  André Pönitz  <poenitz@gmx.net>
7523
7524         * paragraph.h: make operator= private unimplemented as long as
7525           it is unusable
7526
7527         * ParagraphList.C: whitespace
7528
7529         * paragraph.[Ch]:
7530         * paragraph_pimpl.[Ch]:
7531         * paragraph_funcs.C:
7532         * CutAndPaste.C:
7533         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
7534
7535         * text2.C:
7536           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
7537
7538 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
7539
7540         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
7541         * paragraph.[Ch] (erase):
7542         * paragraph_pimpl.[Ch] (erase): change return type and value
7543         * text2.C (cutSelection): some rework
7544
7545 2003-04-28  John Levon  <levon@movementarian.org>
7546
7547         * bufferlist.C: changes for unsaved changes dialog
7548
7549 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7550
7551         * bufferlist.C (newFile): set language (messages_) for new
7552         documents also.
7553
7554         * buffer.C (readFile): ws changes only.
7555
7556 2003-04-28  André Pönitz  <poenitz@gmx.net>
7557
7558         * undo_funcs.C:
7559         * lyxfunc.C:
7560         * buffer.[Ch]:
7561         * BufferView_pimpl.C:
7562         * BufferView.C: getParFromID related ParagraphList::iterator changes
7563
7564 2003-04-28  André Pönitz  <poenitz@gmx.net>
7565
7566         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
7567           Changes
7568
7569 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7570
7571         * messages.C: remove one more localedir class variable.
7572
7573 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7574
7575         * messages.C (getLocaleDir): singleton generation function
7576         (Pimpl): use it.
7577         (Messages): add a default constructor.
7578
7579         * main.C (main): do not setup localedir here, do not call
7580         gettext_init.
7581
7582         * gettext.C (_): use it.
7583         (gettext_init): delete funciton
7584
7585 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7586
7587         * gettext.C (getLyXMessages): new singleton generating function.
7588
7589         * buffer.C (updateDocLang): adjust
7590
7591         * Makefile.am (messages.o): add target
7592         (main.o): remove target
7593
7594 2003-04-27  John Levon  <levon@movementarian.org>
7595
7596         * bufferlist.C:
7597         * lyx_cb.C:
7598         * lyxfunc.C:
7599         * lyxvc.C: specify cancel button in Alert::prompt
7600
7601 2003-04-26  John Levon  <levon@movementarian.org>
7602
7603         * text3.C:
7604         * lyxfunc.C:
7605         * lfuns.h:
7606         * LyXAction.C: add LFUN_INSET_SETTINGS
7607
7608         * lyxfunc.C: don't enable tabular-feature when there's
7609         just any locking inset
7610
7611 2003-04-26  John Levon  <levon@movementarian.org>
7612
7613         * bufferlist.C: re-add Cancel to buffer close question
7614
7615         * lyxfunc.C: fix import UI a bit
7616
7617 2003-04-25  John Levon  <levon@movementarian.org>
7618
7619         * gettext.C: remove the broken asserts for now
7620
7621 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7622
7623         * messages.C: make case where setlocale cannot comply work better.
7624
7625         * buffer.C (updateDocLang): new function
7626         (changeLanguage): use it
7627         (readFile): use it
7628
7629         * text2.C (setCounter): use B_ a bit.
7630
7631         * lyxlayout.C (Read): be sure to trim the label strings.
7632
7633         * messages.C (Messages): fix typo in comment
7634
7635         * buffer.C (readFile): set message_ after file is loaded.
7636         (makeDocBookFile): remove double return
7637         (changeLanguage): reset message_ upon language change.
7638         (B_): new func, use this to get translated buffer strings.
7639
7640         * main.C: add myself and Jean Marc as authors.
7641
7642 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7643
7644         * messages.[hC]: pimplify Messages, and three different pimpls to be
7645         used in different circumstances.
7646
7647         * gettext.[Ch]: change for use with new message code.
7648
7649 2003-04-24 André Pönitz <poenitz@gmx.net>
7650
7651         * factory.C: support for eqref
7652
7653 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7654
7655         * messages.[Ch]: add missing char
7656
7657         * Makefile.am (lyx_SOURCES): add messages.[Ch]
7658
7659         * messages.[Ch]: New files
7660
7661 2003-04-18  John Levon  <levon@movementarian.org>
7662
7663         * BufferView.h:
7664         * BufferView.C:
7665         * BufferView_pimpl.C:
7666         * lfuns.h:
7667         * LyXAction.C:
7668         * lyxtext.h:
7669         * text2.C: remove layout-copy/paste (bug 778)
7670
7671 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7672
7673         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7674
7675 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
7676
7677         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7678         if they succeed. Act accordingly.
7679
7680 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7681
7682         * text2.C (setCharFont): adjust
7683         (setCounter): adjust
7684         (insertStringAsLines): adjust
7685
7686         * text.C (leftMargin): adjust
7687         (setHeightOfRow): adjust
7688
7689         * rowpainter.C (paintFirst): adjust
7690         (paintLast): adjust
7691
7692         * paragraph_funcs.C (depthHook): ParagraphList::iterators
7693         (outerHook): ditto
7694         (isFirstInSequence): ditto
7695         (getEndLabel): ditto
7696         (outerFont): adjust
7697
7698         * paragraph.C (getParLanguage): comment out some hard stuff.
7699
7700         * buffer.C (insertStringAsLines): take a ParagraphList as arg
7701         (sgmlError): ditto
7702         (simpleDocBookOnePar): ditto
7703         (makeDocBookFile): use ParagraphList::iterator
7704
7705         * CutAndPaste.C (pasteSelection): adjust
7706
7707 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7708
7709         * text2.C (getFont): adjust
7710         (getLayoutFont): adjust
7711         (getLabelFont): adjust
7712
7713         * paragraph_funcs.C (TeXOnePar): adjust
7714
7715         * buffer.C (simpleLinuxDocOnePar): adjust
7716         (simpleDocBookOnePar): adjust
7717
7718         * CutAndPaste.C (pasteSelection): adjust
7719
7720         * BufferView.C (getEncoding): adjust
7721
7722         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7723
7724 2003-04-16  John Levon  <levon@movementarian.org>
7725
7726         * lyxfind.C: use parlist stuff for search/changes
7727
7728 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
7729
7730         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7731
7732         * text2.C (deleteEmptyParagraphMechanism): adjust
7733
7734         * text2.[Ch] (ownerParagraph): delete func (both of them
7735
7736 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7737
7738         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7739
7740 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7741
7742         * ParagraphList.C: prepare for NO_NEXT
7743
7744 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7745
7746         * text2.C (getFont): adjust
7747         (getLayoutFont): adjust
7748         (getLabelFont): adjust
7749
7750         * paragraph.C (getFont): adjust
7751         (getLabelFont): adjust
7752         (getLayoutFont): adjust
7753
7754         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7755
7756 2003-04-15  John Levon  <levon@movementarian.org>
7757
7758         From Angus Leeming
7759
7760         * lyx_main.C: handle Include in .ui files
7761
7762 2003-04-15  John Levon  <levon@movementarian.org>
7763
7764         * MenuBackend.C: make the doc files length shorter
7765
7766         * ToolbarBackend.h:
7767         * ToolbarBackend.C: handle toolbar placement flags,
7768         Minibuffer
7769
7770 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7771
7772         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7773         adjust
7774
7775         * paragraph_funcs.C (TeXOnePar): adjust
7776
7777         * paragraph.C (getLabelFont): add outerfont arg, adjust
7778         (getLayoutFont): ditto
7779         (simpleTeXOnePar): adjust
7780
7781         * paragraph_pimpl.C (realizeFont): delete func
7782
7783 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
7784
7785         * text2.C (beforeFullRowInset): added a bad getchar check, removed
7786         row argument, constify cur argument.
7787
7788 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
7789
7790         * text2.C (getFont): adjust
7791         (getLayoutFont): adjust
7792         (getLabelFont): adjust
7793
7794         * paragraph_funcs.C (TeXOnePar): adjust
7795         (outerFont): new func...
7796         (realizeFont): ...moved out from here, changed this to facilitate
7797         transition
7798
7799         * paragraph.C (getFont): take outerfont as arg, adjust
7800         (simpleTeXOnePar): add outerfont arg, adjust
7801
7802         * buffer.C (simpleLinuxDocOnePar): adjust
7803         (simpleDocBookOnePar): adjust
7804
7805         * CutAndPaste.C (pasteSelection): adjust
7806
7807         * BufferView.C (getEncoding): adjust
7808
7809 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7810
7811         * text2.C (setCharFont): adjust
7812         (setCounter): adjust
7813
7814         * text.C (leftMargin): adjust
7815         (setHeightOfRow): adjust
7816
7817         * rowpainter.C (paintFirst): adjust
7818         (paintLast): adjust
7819
7820         * paragraph_pimpl.C (realizeFont): adjust
7821
7822         * paragraph.C (isFirstInSequence): move from here...
7823         * paragraph_funcs.C (isFirstInSequence): ...to here
7824
7825         * paragraph.C (outerHook): move from here...
7826         * paragraph_funcs.C (outerHook): ...to here
7827
7828         * paragraph.C (depthHook): move from here...
7829         * paragraph_funcs.C (depthHook): ...to here
7830
7831         * paragraph.C (getEndLabel): move from here...
7832         * paragraph_funcs.C (getEndLabel): ...to here
7833
7834         * text2.C (realizeFont): move from here...
7835         * paragraph_funcs.C (realizeFont): ...to here
7836
7837 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7838
7839         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7840
7841 2003-04-14  Angus Leeming  <leeming@lyx.org>
7842
7843         * LColor.[Ch]: scrap LColor mathcursor.
7844
7845 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7846
7847         * lyxlex.[Ch] (text): delete function
7848         * trans.C (Load): adjust
7849         * paragraph_funcs.C (readParToken): adjust
7850
7851 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7852
7853         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7854         vector<char> instead of a char[].
7855
7856         * lyxlex_pimpl.C (getString): adjust
7857         (next): adjust
7858         (lex): use getString
7859         (eatLine): adjust
7860         (nextToken): adjust
7861
7862         * lyxlex.C (text): use pimpl_->getString()
7863         (getBool): ditto
7864         (findToken): ditto
7865
7866 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
7867
7868         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7869         (makeFontEntriesLayoutSpecific): temp var for par.size()
7870         (setLayout): temp var for ownerParagraphs().end()
7871         (fullRebreak): temp var for rows().end()
7872         (selectionAsString): temp var for boost::next(startpit), realize
7873         that the while really is a regular for loop.
7874         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7875         setCursor in one place.
7876         (setParagraph): temp vr for ownerParagraphs().end()
7877         (updateCounters): make the while loop a for loop
7878         (cutSelection): temp var for ownerParagraphs().end()
7879         (updateInset): make the do {} while() a regular for loop
7880         (getCursorX): use temp vars
7881         (setCurrentFont): use temp vars
7882         (getColumnNearX): use temp vars
7883
7884 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7885
7886         * text.C (transformChar): use temp var for getChar
7887         (computeBidiTables): use temp var for row->par()
7888         (fill): move temp vars for row->par() and pit->layout() earlier in
7889         the function.
7890         (labelFill): use temp var for row->par()
7891         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7892         asc and desc, realize that pit never changes and that firstpit is
7893         just a duplicate and not needed. Exchange rit->par() with pit in a
7894         lot of places.
7895         (breakAgain): use a temp var for boost::next(rit)
7896         (breakAgainOneRow): ditto
7897         (breakParagraph): use a temp var for rows().begin()
7898         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7899         (cursorRightOneWord): use temp var for cursor.par() and
7900         cursor.pos(), remove usage of tmpcursor.
7901         (cursorLeftOneWord): use temp var for cursor.par() and
7902         cursor.pos() only set cur at end of function.
7903
7904 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7905
7906         * text.C, text2.C: exchange all usage of Paragraph::next with
7907         boost::next(ParagraphList::iterator)
7908
7909         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7910
7911         * text2.C (cursorTop): simplify implementation
7912         (cursorBottom): ditto
7913         (setParagraph): use ParagraphList::iterator
7914         (setCurrentFont): adjust
7915         (getColumnNearX): adjust
7916         (cursorRight): adjust
7917         (cursorLeft): remove usage of Paragraph::previous
7918         (cursorUpParagraph): ditto
7919         (deleteEmptyParagraphMechanism): slight cleanup
7920
7921         * text.C (isBoundary): take a Paragraph const & instead of a
7922         pointer as arg.
7923         (addressBreakPoint): ditto
7924         (leftMargin): remove usage of Paragraph::previous.
7925         (setHeightOfRow): ditto
7926         (cursorLeftOneWord): ditto
7927         (selectNextWordToSpellcheck): ditto
7928         (Delete): ditto
7929         (backspace): ditto
7930         (breakParagraph): remove one usage of Paragraph::next
7931         (redoParagraph): ditto
7932         (acceptChange): ditto
7933         (insertChar): adjust
7934         (rowBreakPoint): adjust
7935
7936         * bufferview_funcs.C (toggleAndShow): adjust
7937
7938 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
7939
7940         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7941         methods to access it.
7942         * lyxtext.h:
7943         * text.C: Added updateRowPositions to compute all row positions.
7944         Make top_y and getRowNearY() to use the cached y position
7945
7946 2003-04-11  John Levon  <levon@movementarian.org>
7947
7948         * text.C (rowBreakPoint): reintroduce the labelEnd
7949         checks, code copied from the row fill stuff. Deep voodoo.
7950
7951         * text.C (fill): add a comment and debugging for the
7952         next poor soul.
7953
7954 2003-04-11  John Levon  <levon@movementarian.org>
7955
7956         * text.C: make sure fullrow insets get wrapped to the next line,
7957         even when they're in a manual label
7958
7959 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
7960
7961         * text2.C (insertParagraph): make it take ParagraphList::iterator
7962         as arg.
7963         (setLayout): make it return ParagraphList::iterator
7964         (redoParagraphs): ditto
7965         (setCounter): ditto
7966         (checkParagraph): ditto
7967
7968         * text.C (getRow): make getrow take ParagraphList::iterator as arg
7969
7970         * text2.C: adjust several funcs.
7971         (realizeFont): take a ParagraphList::iterator as arg.
7972         (getLayoutFont): ditto
7973         (getLabelFont): ditto
7974         (setCharFont): ditto
7975
7976         * text.C: adjust several funcs.
7977
7978 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7979
7980         * text.C (selectNextWordToSpellcheck): don't accidentally
7981         skip insets
7982
7983 2003-04-10  John Levon  <levon@movementarian.org>
7984
7985         * ToolbarBackend.C (getIcon): special handling for
7986         LFUN_MATH_DELIM
7987
7988 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
7989
7990         * text2.C (cursorRight): a getChar assert fixed
7991
7992 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
7993
7994         * text2.C (getFont): change to take a ParagraphList::iterator
7995         instead of Paragraph*
7996         Adjust several functions.
7997
7998         * text.C (transformChar): change to take a ParagraphList::iterator
7999         instead of Paragraph*
8000         (singleWidth): ditto
8001         Adjust several functions.
8002
8003         * rowpainter.C: adjust several functions
8004         * rowpainter.h:store a ParagraphList::iterator and not a
8005         Paragraph&.
8006
8007
8008 2003-04-09  John Levon  <levon@movementarian.org>
8009
8010         * lyxfunc.C:
8011         * lfuns.h:
8012         * LyXAction.h:
8013         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8014         and the "help" bits as well
8015
8016 2003-04-09  John Levon  <levon@movementarian.org>
8017
8018         * ToolbarBackend.h:
8019         * ToolbarBackend.C: allow multiple toolbars
8020
8021 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8022
8023         * undo_funcs.C (setCursorParUndo): adjust
8024
8025         * text_funcs.C (transposeChars): adjust
8026
8027         * text3.C (gotoNextInset): adjust
8028         (dispatch): adjust
8029
8030         * text2.C (setLayout): adjust
8031         (changeDepth): adjust
8032         (setFont): adjust
8033         (redoParagraphs): adjust
8034         (selectionAsString): adjust
8035         (setParagraph): adjust
8036         (insertInset): adjust
8037         (cutSelection): adjust
8038         (copySelection): adjust
8039         (pasteSelection): adjust
8040         (insertStringAsLines): adjust
8041         (updateInset): adjust
8042         (setCursor): change to take a ParagraphList::iterator parameter
8043         (setCursorIntern): change to take a ParagraphList::iterator parameter
8044         (setCurrentFont): adjust
8045         (cursorLeft): adjust
8046         (cursorRight): adjust
8047         (deleteEmptyParagraphMechanism): adjust
8048
8049         * text.C (breakParagraph): adjust
8050         (insertChar): adjust
8051         (acceptChange): adjust
8052         (rejectChange): adjust
8053         (selectNextWordToSpellcheck): adjust
8054         (changeCase): adjust
8055         (Delete): adjust
8056         (backspace): adjust
8057
8058         * lyxfind.C (SearchForward): adjust
8059         (SearchBackward): adjust
8060         (nextChange): adjust
8061
8062         * lyxcursor.C (par): adjust
8063
8064         * lyxcursor.h: store a ParagraphList::iterator instead of a
8065         Paragraph*
8066
8067         * lyx_cb.C (getPossibleLabel): adjust
8068
8069         * bufferview_funcs.C (toggleAndShow): adjust
8070
8071         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8072         (dispatch): adjust
8073
8074         * BufferView.C (removeAutoInsets): adjust
8075         (lockedInsetStoreUndo): adjust
8076
8077 2003-04-09  John Levon  <levon@movementarian.org>
8078
8079         * ToolbarBackend.C: try icon without argument
8080         if with argument fails
8081
8082 2003-04-08  John Levon  <levon@movementarian.org>
8083
8084         * ToolbarBackend.h:
8085         * ToolbarBackend.C: add getIcon(), handle tooltip,
8086         and change from "Icon" to "Item".
8087
8088 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8089
8090         * BufferView.C (lockInset): another bad getchar crunched
8091
8092 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8093
8094         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8095         again)
8096
8097 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8098
8099         * lyxfind.C (searchForward, searchBackwards): bug 782
8100
8101 2003-04-07  John Levon  <levon@movementarian.org>
8102
8103         * paragraph.C: remove dead comment
8104
8105         * text.C: remove troublesome depth-fiddling code
8106         in leftMargin() and rightMargin() (bug 1017)
8107
8108         * text.C: fix breaking of rows in nested lists
8109         (bug 1004)
8110
8111         * text2.C (updateCounters): fix up depth values
8112         (bug 1013)
8113
8114 2003-04-07  John Levon  <levon@movementarian.org>
8115
8116         * BufferView_pimpl.C: clear message when doc finishes resizing,
8117         and after a mouse event
8118
8119         * lyxfunc.C: clear message after exiting inset
8120
8121 2003-04-07  John Levon  <levon@movementarian.org>
8122
8123         * bufferview_funcs.C: show math status not outside
8124         status in the statusbar
8125
8126 2003-04-07  John Levon  <levon@movementarian.org>
8127
8128         * lyxfunc.C: note status changed after a depth change
8129
8130 2003-04-04  Angus Leeming  <leeming@lyx.org>
8131
8132         * LaTeX.h: move AuxInfo operator==, != out of line.
8133         Remove LaTeX virtual destructor; nothing derives from it.
8134         Move operator()() out of public area and rename it startscript().
8135         Change protected for private.
8136
8137 2003-04-04  Angus Leeming  <leeming@lyx.org>
8138
8139         * lyxfunc.C:
8140         * text2.C: remove unneeded #includes.
8141
8142 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8143
8144         * text2.C (dEPM): fix the heigth of the next row
8145
8146 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8147
8148         * text.C: squashed an invalid getChar requester + some ws changes
8149
8150 2003-04-03  John Levon  <levon@movementarian.org>
8151
8152         * bufferview_funcs.h:
8153         * bufferview_funcs.C:
8154         * lyxfunc.C:
8155         * lyxtext.h:
8156         * text2.C: make getStatus work for the env depth lfuns
8157
8158 2003-04-03  John Levon  <levon@movementarian.org>
8159
8160         * bufferview_funcs.h:
8161         * bufferview_funcs.C:
8162         * lyxfunc.C:
8163         * lyxtext.h:
8164         * text2.C: parlistize decDepth(), by merging it with incDepth()
8165
8166 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8167
8168         * lyxrow.h: store a ParagraphList::iterator instead of a
8169         Paragraph* and adjust other class functions to suit.
8170
8171         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8172         above.
8173
8174 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8175
8176         * text2.C (setCursor): do not anchor to cursor row for the time being
8177
8178 2003-04-02  John Levon  <levon@movementarian.org>
8179
8180         * LyXAction.C:
8181         * lfuns.h:
8182         * lyx_main.C:
8183         * lyxtext.h:
8184         * text.C:
8185         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8186
8187 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8188
8189         * paragraph.h: make ParagraphList and ParagraphList::iterator
8190         friends of Paragraph.
8191
8192         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8193
8194         * ParagraphList.C: Use the private next_ and previous_ from
8195         Paragraph.
8196
8197 2003-04-01  John Levon  <levon@movementarian.org>
8198
8199         * ToolbarBackend.h:
8200         * ToolbarBackend.C:
8201         * Makefile.am: rename, remove defaults gunk
8202
8203         * MenuBackend.h:
8204         * MenuBackend.C: remove defaults gunk
8205
8206         * Languages.h:
8207         * Languages.C: remove defaults gunk
8208
8209         * lyx_main.h:
8210         * lyx_main.C: error out if files couldn't be found.
8211
8212 2003-04-02  John Levon  <levon@movementarian.org>
8213
8214         * text2.C: make incDepth() use parlist
8215
8216 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8217
8218         * undo_funcs.C (firstUndoParagraph): adjust
8219
8220         * text3.C (gotoInset): adjust
8221         (dispatch): adjust, and rewrite loop.
8222
8223         * text2.C (init): adjust, and rewrite loop.
8224         (redoParagraphs): adjust
8225         (updateInset): adjust, and rewrite loop.
8226         (deleteEmptyParagraphMechanism): adjust
8227
8228         * tabular.C (LyXTabular): adjust
8229         (SetMultiColumn): adjust
8230         (TeXRow): adjust
8231
8232         * lyxtext.[Ch] (ownerParagraph): delete function
8233         (ownerParagraphs): new function returns a ParagraphList.
8234
8235         * BufferView.C (removeAutoInsets): adjust
8236         (insertErrors): adjust
8237         (setCursorFromRow): adjust
8238
8239 2003-04-01  Angus Leeming  <leeming@lyx.org>
8240
8241         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8242         in the frontends.
8243
8244 2003-04-02  John Levon  <levon@movementarian.org>
8245
8246         * lyxtext.h:
8247         * text.C:
8248         * Makefile.am:
8249         * text_funcs.h:
8250         * text_funcs.C: make transposeChars a free function
8251
8252         * lyxrow_funcs.C: remove wrong comment
8253
8254 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8255
8256         * lyxtext.h: adjust
8257         * rowpainter.C: adjust
8258         * text.C: adjust
8259         * text2.C: adjust
8260         * text3.C: adjust
8261
8262         * lyxrow_funcs. [Ch]: new files
8263
8264         * lyxrow.[Ch]: remove next and previous pointers
8265         (next,previous): remove accessor functions
8266         (isParEnd): move to lyxrow_funcs
8267         (lastPos): move to lyxrow_funcs
8268         (nextRowIsAllInset): move to lyxrow_funcs
8269         (lastPrintablePos): move to lyxrow_funcs
8270         (numberOfSeparators): move to lyxrow_funcs
8271         (numberOfHfills): move to lyxrow_funcs
8272         (numberOfLabelHfills): move to lyxrow_funcs
8273         (hfillExpansion): move to lyxrow_funcs
8274
8275         * lyxfunc.C: adjust
8276
8277         * bufferview_funcs.C (toggleAndShow): adjust
8278
8279         * RowList.h: Remove class RowList from file leave just a
8280         std::list<Row>.
8281
8282         * RowList.C: delete file
8283
8284         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8285         and lyxrow_funcs.h
8286
8287 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8288
8289         * text3.C (cursorPrevious): adjust
8290         (cursorNext): adjust
8291         (dispatch): adjust
8292
8293         * text2.C (redoHeightOfParagraph): adjust
8294         (redoDrawingOfParagraph): adjust
8295         (setCursor): adjust
8296
8297         * text.C (breakParagraph): adjust
8298         (insertChar): adjust
8299         (backspace): adjust
8300
8301         * rowpainter.C (RowPainter): adjust
8302         (leftMargin): simplify and adjust
8303         (most rowpainter functions): adjust.
8304
8305         * rowpainter.h: store the row as RowList::iterator not as Row*
8306
8307         * lyxcursor.C (row): taka RowList::iterator as arg
8308         (irow): ditto
8309
8310         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8311         of Row*.
8312
8313 2003-04-01  Angus Leeming  <leeming@lyx.org>
8314
8315         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8316         stuff like bool Bool.
8317
8318 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8319
8320         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8321         rewrite a loop
8322
8323 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8324
8325         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8326         RowList::iterator.
8327
8328         * lyxtext.h (rows): drop one version and leve a const variant that
8329         returns a RowList::iterator.
8330
8331 2003-03-31  Angus Leeming  <leeming@lyx.org>
8332
8333         * text.C (fill): ensure that the signature is the same as that in the
8334         header file.
8335
8336 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8337
8338         * text2.C (redoParagraphs): adjust
8339         (updateCounters): adjust
8340         (checkParagraph): adjust
8341         (getColumnNearX): adjust and reformat a bit.
8342
8343         * text.C (top_y): adjust
8344         (workWidth): adjust
8345         (leftMargin): adjust
8346         (prepareToPrint): adjust
8347         (getRow): adjust
8348         (getRowNearY): adjust
8349
8350         * lyxtext.h: make rowlist_ mutable.
8351
8352         * RowList.h: add const_iterator
8353         * RowList.C: adjust for RowList::const_iterator.
8354
8355         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8356         adjust.
8357
8358 2003-03-31  John Levon  <levon@movementarian.org>
8359
8360         * lyxrc.h:
8361         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8362
8363         * lyx_main.C: set default fonts from using lyx_gui funcs
8364
8365         * exporter.C: pdf_mode moved from lyxrc
8366
8367         * lyx_cb.C:
8368         * lyxfunc.C: changes from above
8369
8370 2003-03-31  John Levon  <levon@movementarian.org>
8371
8372         * lyx_main.C: fix to the last fix
8373
8374 2003-03-31  John Levon  <levon@movementarian.org>
8375
8376         * bufferlist.C: "Load original" -> "Load Original"
8377
8378         * converter.C:
8379         * exporter.C:
8380         * importer.C:
8381         * lyx_main.C:
8382         * format.C: more Alert cleanups
8383
8384 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8385
8386         * text2.C (removeParagraph): make it take a RowList::iterator as
8387         arg, adjust.
8388         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8389         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8390
8391         * text.C (anchor_row): make it take a RowList::iterator as arg,
8392         adjust.
8393         (computeBidiTables): make it take a const reference to Row instead
8394         of Row pointer, adjust.
8395         (leftMargin): make it take a RowList::iterator as arg, adjust.
8396         (rowBreakPoint): adjust
8397         (breakAgainOneRow): make it take a RowList::iterator as arg,
8398         adjust.
8399         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
8400
8401         * bufferview_funcs.C (toggleAndShow): adjust
8402
8403 2003-03-30  John Levon  <levon@movementarian.org>
8404
8405         * Makefile.am:
8406         * BoostFormat.h:
8407         * boost-inst.C: moved to support
8408
8409         * several files: changes as a result
8410
8411 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8412
8413         * text2.C (LyXText): adjust.
8414         (init): adjust
8415         (removeRow): make it take a RowList::iterator as arg, adjust.
8416         (fullRebreak): adjust
8417         (deleteEmptyParagraphMechanism): adjust
8418         (clearPaint): adjust
8419         (postPaint): adjust
8420
8421         * text.C (top_y): adjust
8422         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
8423         (breakAgain): make it take a RowList::iterator as arg, adjust.
8424         (breakParagraph): adjust
8425         (insertChar): adjust
8426         (backspace): adjust
8427
8428         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
8429         need_break_row, and refresh_row.
8430
8431         * text3.C (dispatch): adjust
8432
8433         * text2.C (checkParagraph): adjust
8434         (setCursor): adjust
8435         (setCursorFromCoordinates): adjust
8436
8437         * text.C (top_y): adjust
8438         (workWidth): adjust
8439         (getRow): make it return a RowList::iterator, adjust
8440         (getRowNearY): make it return a RowList::iterator, adjust
8441
8442         * text2.C (init): adjust
8443         (insertRow): remove function
8444         (insertParagraph): adjust
8445         (redoParagraphs): adjust
8446         (fullRebreak): adjust
8447         (updateCounters): adjust
8448
8449         * text.C (top_y): rewrite to use RowList iterators.
8450         (top_y): adjust
8451         (setHeightOfRow): rewrite to sue RowList iterators.
8452         (appendParagraph): adjust
8453         (breakAgain): adjust
8454         (breakAgainOneRow): adjust
8455         (breakParagraph): adjust
8456         (getRow): adjust
8457         (getRowNearY): adjust, and remove commented code.
8458
8459         * lyxtext.h (firstRow): delete function
8460         (lastRow): delete function
8461         (rows): new function (const and non-const versions.)
8462         (insertRow): delete function
8463
8464         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
8465
8466 2003-03-29  John Levon  <levon@movementarian.org>
8467
8468         * BufferView_pimpl.C: always update scrollbar top
8469         because pasting text when we're anchored could mean we
8470         miss an update altogether
8471
8472 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
8473
8474         * text2.C (init): use rowlist_.end() and not 0.
8475         (insertRow): change to take a RowList::iterator as arg, adjust
8476         for this.
8477         (insertParagraph): change to take a RowList::iterator as arg,
8478         adjust for this.
8479         (redoParagraphs): remove some debug msgs.
8480
8481         * text.C (appendParagraph): change to take a RowList::iterator
8482         arg, adjust for this.
8483         (breakAgain): add an assert
8484         (breakAgainOneRow): ditto
8485
8486 2003-03-29  John Levon  <levon@movementarian.org>
8487
8488         * text2.C: do not clear selection after inc/decDepth
8489         (bug 550)
8490
8491 2003-03-29  John Levon  <levon@movementarian.org>
8492
8493         * BufferView.C:
8494         * buffer.C: fix broken strerrors according to Lars
8495
8496 2003-03-29  John Levon  <levon@movementarian.org>
8497
8498         * converters.C: more Alert cleanups
8499
8500 2003-03-29  John Levon  <levon@movementarian.org>
8501
8502         * bufferview_funcs.C: remove pointless Alert
8503
8504         * buffer.C: fix confusing error message when
8505         a template is chmoded 000
8506
8507 2003-03-29  John Levon  <levon@movementarian.org>
8508
8509         * BufferView.C:
8510         * BufferView.h:
8511         * BufferView_pimpl.C: Alert fixes
8512
8513         * Makefile.am:
8514         * tabular.C:
8515         * tabular-old.C: remove unused table compat reading
8516
8517 2003-03-29  John Levon  <levon@movementarian.org>
8518
8519         * BufferView.C:
8520         * buffer.C:
8521         * lyx_cb.h:
8522         * lyx_cb.C: more Alert cleanups
8523
8524         * lyxfunc.C: don't allow chktex if not latex document
8525
8526 2003-03-29  John Levon  <levon@movementarian.org>
8527
8528         * lyx_cb.C:
8529         * BufferView.C:
8530         * buffer.C: warnings pushed down from support/,
8531         kill err_alert
8532
8533 2003-03-29  John Levon  <levon@movementarian.org>
8534
8535         * lyxfunc.C: safety check for C-r (revert)
8536
8537 2003-03-29  John Levon  <levon@movementarian.org>
8538
8539         * bufferlist.h:
8540         * bufferlist.C: several UI fixes using Alert::prompt.
8541         Fix the pointless looping quit code. Fix stupid revert
8542         behaviour (bug 938)
8543
8544         * lyxvc.h:
8545         * lyxvc.C:
8546         * lyx_cb.C: use Alert::prompt
8547
8548         * lyx_main.C: remove a silly question
8549
8550         * lyxfunc.C: remove a couple of silly questions,
8551         use Alert::prompt
8552
8553 2003-03-28  John Levon  <levon@movementarian.org>
8554
8555         * text2.C: fix bug 974 (End on empty par)
8556
8557 2003-03-28  John Levon  <levon@movementarian.org>
8558
8559         * BufferView_pimpl.C:
8560         * LyXAction.C:
8561         * lfuns.h: remove do-nothing math greek lfuns
8562
8563 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8564
8565         * lyxgluelength.h (isValidGlueLength): add default arg on
8566         parameter 2. Remove default arg from friend in class.
8567
8568         * lyxlength.h (isValidLength): add default arg on parameter 2.
8569         Remove default arg from friend in class.
8570
8571         * text2.C (LyXText): adjust, initialize refresh_row.
8572         (init): adjust
8573         (removeRow): adjust
8574         (insertRow): adjust
8575         (insertParagraph): adjst
8576         (redoParagraphs): adjust
8577         (fullRebreak): adjust
8578         (updateCounters): adjust
8579         (deleteEmptyParagraphMechanism): first attempt at fixing a
8580         crashing bug.
8581
8582         * text.C (top_y): adjust
8583         (setHeightOfRow): adjust
8584         (getRow): adjust
8585         (getRowNearY): adjust
8586
8587         * lyxtext.h: include RowList.h
8588         (~LyXText): not needed anymore, deleted.
8589         (firstRow): modify for RowList
8590         (lastRow): new function
8591         Delete firstrow and lastrow class variables, add a Rowlist
8592         rowlist_ class variable.
8593
8594         * lyxrow.C (lastPos): use empty() and not !size() to check if a
8595         paragraph is empty.
8596
8597         * RowList.C (insert): fix case where it == begin().
8598
8599 2003-03-26  Angus Leeming  <leeming@lyx.org>
8600
8601         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
8602         the thesaurus dialog.
8603
8604 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
8605
8606         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
8607
8608         * RowList.[Ch]: new files
8609
8610         * ParagraphList.C (erase): handle the case where it == begin
8611         correctly.
8612
8613 2003-03-25  John Levon  <levon@movementarian.org>
8614
8615         * Makefile.am:
8616         * aspell_local.h:
8617         * aspell.C: add new aspell support
8618
8619         * lyxrc.h:
8620         * lyxrc.C: Make use_pspell be use_spell_lib. Always
8621         have it accessible.
8622
8623 2003-03-25  Angus Leeming  <leeming@lyx.org>
8624
8625         * lfuns.h:
8626         * LyXAction.C (init): new LFUN_INSET_INSERT.
8627
8628         * BufferView_pimpl.C (dispatch): split out part of the
8629         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
8630
8631         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
8632         LFUN_INSET_APPLY.
8633
8634 2003-03-25  Angus Leeming  <leeming@lyx.org>
8635
8636         * lyxfunc.C (dispatch): changes to the Dialogs interface.
8637
8638 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
8639
8640         * text2.C:
8641         * text3.C: remove useless row->height(0)
8642
8643 2003-03-25  John Levon  <levon@movementarian.org>
8644
8645         * lyxtext.h:
8646         * text2.C:
8647         * text3.C: rename the refreshing stuff to better names
8648
8649 2003-03-24  John Levon  <levon@movementarian.org>
8650
8651         * BufferView_pimpl.h:
8652         * BufferView_pimpl.C: update layout choice on a mouse
8653         press/release
8654
8655 2003-03-23  John Levon  <levon@movementarian.org>
8656
8657         * Makefile.am: fix commandtags.h reference
8658
8659 2003-03-22  John Levon  <levon@movementarian.org>
8660
8661         * BufferView_pimpl.C:
8662         * lyxtext.h:
8663         * rowpainter.C:
8664         * rowpainter.h:
8665         * text.C:
8666         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8667
8668 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
8669
8670         * lyxtext.h:
8671         * text.C: take the rtl methods out of line
8672
8673 2003-03-21 André Pönitz <poenitz@gmx.net>
8674
8675         * metricsinfo.[Ch]: new files containing structures to be passed around
8676         during the two-phase-drawing...
8677
8678 2003-03-21 André Pönitz <poenitz@gmx.net>
8679
8680         * lyxtextclass.C: read 'environment' tag.
8681
8682 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
8683
8684         * text2.C (removeRow): fix bug 964
8685
8686 2003-03-20  John Levon  <levon@movementarian.org>
8687
8688         * rowpainter.C:
8689         * text.C:
8690         * text2.C: paint cleanups. Inset::update() dropped font
8691         parameter
8692
8693 2003-03-19  John Levon  <levon@movementarian.org>
8694
8695         * lyxfunc.C: only fitcursor/markDirty if available()
8696
8697 2003-03-19  John Levon  <levon@movementarian.org>
8698
8699         * commandtags.h: rename to ...
8700
8701         * lfuns.h: ... this, and renumber / cleanup
8702
8703 2003-03-19  John Levon  <levon@movementarian.org>
8704
8705         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8706         fit the cursor after an lfun
8707
8708         * BufferView.h:
8709         * BufferView.C:
8710         * BufferView_pimpl.h:
8711         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8712
8713         * LyXAction.C: layout-character should have ReadOnly
8714
8715         * ParagraphParameters.C:
8716         * buffer.C:
8717         * bufferview_funcs.C:
8718         * lyx_cb.C:
8719         * lyxfind.C:
8720         * lyxtext.h:
8721         * text.C:
8722         * text2.C:
8723         * text3.C:
8724         * undo_funcs.C: changes from above
8725
8726 2003-03-18  John Levon  <levon@movementarian.org>
8727
8728         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8729         remove it from update()
8730
8731         * lyxfunc.C: update layout choice after an lfun
8732
8733         * text3.C: remove extra updateLayoutChoice()s
8734
8735 2003-03-18  John Levon  <levon@movementarian.org>
8736
8737         * text.C: top_y change means full repaint, fix
8738         a drawing bug with cursor movement
8739
8740 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8741
8742         * lyxtext.h:
8743         * text.C:
8744         * text2.C: anchor row on setCursor
8745
8746 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
8747
8748         * lyxtext.h: remove almost all mutable keywords
8749         * text.C:
8750         * text2.C:
8751         * text3.C: remove const keywords accordingly
8752
8753 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8754
8755         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8756         anon namespace
8757         (TeXEnvironment): ditto
8758         (TeXOnePar): ditto
8759
8760 2003-03-17  John Levon  <levon@movementarian.org>
8761
8762         * text.C (rowBreakPoint): remove attempt to fix displayed
8763         math insets inside a manual label
8764
8765 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
8766
8767         * lyxtext.h: remove BufferView* as first arg from almost all class
8768         functions.
8769         * other files: adjust.
8770
8771 2003-03-17  John Levon  <levon@movementarian.org>
8772
8773         * lyxtext.h:
8774         * undo_funcs.C:
8775         * text2.C: more paint cleanups
8776
8777         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8778
8779         * rowpainter.h:
8780         * rowpainter.C: remove "smart" background painting code
8781
8782 2003-03-16  John Levon  <levon@movementarian.org>
8783
8784         * lyxtext.h:
8785         * text.C:
8786         * text2.C:
8787         * text3.C: add helper functions for setting refresh_row/y
8788
8789 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
8790
8791         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8792         newline inset which *can* get inserted in the pass_thru layouts.
8793         This is primarily for literate documents.
8794
8795 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
8796
8797         * buffer.C: increment LYX_FORMAT to 223
8798
8799 2003-03-14 André Pönitz <poenitz@gmx.net>
8800
8801         * textclass.h: prepare for environment handling, ws changes
8802         * lyxlayout.C: read latexheader and latexfooter tags
8803
8804 2003-03-14  John Levon  <levon@movementarian.org>
8805
8806         * text2.C: rewrite ::status() a bit
8807
8808 2003-03-13  John Levon  <levon@movementarian.org>
8809
8810         * lyxtext.h: add some docs
8811
8812 2003-03-13  John Levon  <levon@movementarian.org>
8813
8814         * lyxtext.h:
8815         * text.C:
8816         * text2.C:
8817         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8818
8819 2003-03-13  John Levon  <levon@movementarian.org>
8820
8821         * text3.C: fix appendix redrawing
8822
8823 2003-03-13  John Levon  <levon@movementarian.org>
8824
8825         * text.C (setHeightOfRow):
8826         * rowpainter.h:
8827         * rowpainter.C: make appendix mark have the text
8828           "Appendix" so the user knows what it is
8829
8830         * LColor.h:
8831         * LColor.C: s/appendixline/appendix/ from above
8832
8833 2003-03-13  John Levon  <levon@movementarian.org>
8834
8835         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8836
8837         * text.C: fix a getChar(pos) bug properly
8838
8839 2003-03-13  Angus Leeming  <leeming@lyx.org>
8840
8841         * commandtags.h:
8842         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8843         Probably only temporary. Let's see how things pan out.
8844
8845         * BufferView.C (unlockInset):
8846         * BufferView_pimpl.C (fitCursor):
8847         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8848
8849         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8850         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8851
8852         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8853         new functions that convert ParagraphParameters to and from a string.
8854
8855         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8856         BufferView::Pimpl's dispatch.
8857         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8858
8859 2003-03-13 André Pönitz <poenitz@gmx.net>
8860
8861         * lyxfunc.C:
8862         * text3.C:
8863         * factory.C: make it aware of InsetEnv
8864
8865 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8866
8867         * text2.C (setCursor): never ask for one past last
8868         (setCursor): add some debugging messages.
8869
8870         * text.C (singleWidth): never ask for one past last
8871         (singleWidth): ditto
8872         (leftMargin): ditto
8873         (rightMargin): ditto
8874         (rowBreakPoint): ditto
8875         (setHeightOfRow): ditto
8876         (prepareToPrint): ditto
8877
8878         * rowpainter.C (paintBackground): never ask for one past last
8879         (paintText): never ask for one past last
8880
8881         * paragraph_pimpl.C (getChar): make the assert stricter, never
8882         allow the one past last pos to be taken
8883
8884         * paragraph.C (getChar): ws changes only
8885
8886         * lyxrow.C (nextRowIsAllInset): never ask for one past last
8887         (numberOfSeparators): ditto
8888         (numberOfHfills): ditto
8889
8890 2003-03-12  John Levon  <levon@movementarian.org>
8891
8892         * author.h:
8893         * author.C:
8894         * bufferparams.h:
8895         * bufferparams.C:
8896         * paragraph_funcs.C: fix per-buffer authorlists
8897
8898 2003-03-12  John Levon  <levon@movementarian.org>
8899
8900         * text.C: fix newline in right address
8901
8902 2003-03-12  Angus Leeming  <leeming@lyx.org>
8903
8904         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8905         duplicate those in LyXFunc::dispatch.
8906
8907         * commandtags.h:
8908         * LyXAction.C:
8909         * ToolbarDefaults.C:
8910         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8911         Add LFUN_FONTFREE_UPDATE.
8912
8913         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8914         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8915
8916         * bufferview_func.[Ch]: several new functions to facilliate
8917         transfer of data to and from the character dialog.
8918
8919 2003-03-12  John Levon  <levon@movementarian.org>
8920
8921         * buffer.C:
8922         * paragraph.h:
8923         * paragraph.C:
8924         * paragraph_funcs.C:
8925         * paragraph_pimpl.C:
8926         * sgml.C:
8927         * tabular.C:
8928         * text.C:
8929         * text3.C: remove META_NEWLINE in favour of an inset
8930
8931         * rowpainter.h:
8932         * rowpainter.C: remove paintNewline (done by inset)
8933
8934 2003-03-12  John Levon  <levon@movementarian.org>
8935
8936         * paragraph_pimpl.C: complain about bad getChar()s
8937         for a while at least
8938
8939 2003-03-12  John Levon  <levon@movementarian.org>
8940
8941         * buffer.h:
8942         * buffer.C: move paragraph read into a separate function,
8943         a little renaming to reflect that.
8944
8945         * bufferparams.h:
8946         * bufferparams.C: remove the author_ids map, not necessary now
8947
8948         * factory.h:
8949         * factory.C: moved Buffer::readInset to here
8950
8951         * paragraph_funcs.h:
8952         * paragraph_funcs.C: readParagraph free function moved from
8953         buffer.C
8954
8955         * tabular.C: name change
8956
8957 2003-03-12  John Levon  <levon@movementarian.org>
8958
8959         * buffer.C:
8960         * ParagraphParameters.C: move par params input to
8961         a read() method
8962
8963         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8964         behave like a normal read from the stream wrt reading
8965         a line vs. a \\token
8966
8967 2003-03-12  John Levon  <levon@movementarian.org>
8968
8969         * paragraph.C:
8970         * ParagraphParameters.h:
8971         * ParagraphParameters.C: move output code to a
8972         ::write() method
8973
8974 2003-03-12  John Levon  <levon@movementarian.org>
8975
8976         * BufferView.C (insertLyXFile):
8977         * buffer.h:
8978         * buffer.C:
8979         * tabular.C: use a parlist iterator for creating the
8980           document.
8981
8982 2003-03-12  John Levon  <levon@movementarian.org>
8983
8984         * buffer.C: make current_change static local not
8985           static file-scope
8986
8987 2003-03-12  John Levon  <levon@movementarian.org>
8988
8989         * buffer.C: fix insertStringAsLines for change tracking
8990
8991 2003-03-12  John Levon  <levon@movementarian.org>
8992
8993         * BufferView.C:
8994         * tabular.C:
8995         * buffer.h:
8996         * buffer.C:
8997         * bufferparams.h:
8998         * bufferparams.C: move author list into params. Rename some
8999           functions. Move the header reading into a separate token
9000           loop. Move the header token reading into BufferParams.
9001
9002 2003-03-12  John Levon  <levon@movementarian.org>
9003
9004         * changes.C: put debug inside lyxerr.debugging() checks
9005
9006 2003-03-11 André Pönitz <poenitz@gmx.net>
9007
9008         * factory.C: make it aware of InsetHFill
9009
9010 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9011
9012         * buffer.C (latexParagraphs): move function from here...
9013         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9014         args.
9015
9016 2003-03-10  Angus Leeming  <leeming@lyx.org>
9017
9018         * LyXAction.C (init): fix bug in poplating array with multiple entries
9019         with the same LFUN (spotted by JMarc).
9020
9021 2003-03-10  John Levon  <levon@movementarian.org>
9022
9023         * text.C:
9024         * text2.C: move getColumnNearX() near its
9025         only call site
9026
9027 2003-03-10  John Levon  <levon@movementarian.org>
9028
9029         * text.C: fix break before a minipage
9030
9031 2003-03-10  John Levon  <levon@movementarian.org>
9032
9033         * text.C: fix the last commit
9034
9035 2003-03-09  John Levon  <levon@movementarian.org>
9036
9037         * lyxtext.h:
9038         * text.C:
9039         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9040         bug 365 (don't break before insets unless needed). Don't
9041         return a value > last under any circumstances.
9042
9043 2003-03-09  Angus Leeming  <leeming@lyx.org>
9044
9045         * BufferView_pimpl.C (trackChanges, dispatch): call
9046         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9047
9048 2003-03-09  Angus Leeming  <leeming@lyx.org>
9049
9050         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9051         than Dialogs::showAboutlyx().
9052
9053 2003-03-09  Angus Leeming  <leeming@lyx.org>
9054
9055         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9056         than Dialogs::showTabularCreate().
9057
9058 2003-03-09  John Levon  <levon@movementarian.org>
9059
9060         * lyxtext.h:
9061         * text.C:
9062         * text2.C: 3rd arg to nextBreakPoint was always the same.
9063           Use references.
9064
9065 2003-03-08  John Levon  <levon@movementarian.org>
9066
9067         * lyxrow.C:
9068         * paragraph.C:
9069         * paragraph.h:
9070         * rowpainter.C:
9071         * text.C:
9072         * text2.C: Remove the "main" bit from the "main body"
9073           notion.
9074
9075 2003-03-08  John Levon  <levon@movementarian.org>
9076
9077         * text.C (leftMargin): The left margin of an empty
9078         manual label paragraph should not include the label width
9079         string length.
9080
9081         * text.C (prepareToPrint): don't attempt to measure hfills
9082         for empty manual label paragraphs - the answer should be 0
9083
9084 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9085
9086         * CutAndPaste.C: remove commented code and reindent.
9087
9088 2003-03-08  John Levon  <levon@movementarian.org>
9089
9090         * lyxfunc.h:
9091         * lyxfunc.C: move reloadBuffer()
9092
9093         * BufferView.h:
9094         * BufferView.C: to here
9095
9096         * lyxvc.C: add comment
9097
9098         * vc-backend.h:
9099         * vc-backend.C: call bv->reload() to avoid
9100           getStatus() check on MENURELOAD
9101
9102 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9103
9104         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9105         to an old format .dep file.
9106
9107 2003-03-07  Angus Leeming  <leeming@lyx.org>
9108
9109         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9110         when the LFUN_MOUSE_RELEASE should have been handled by
9111         inset->localDispatch.
9112
9113 2003-03-07  Angus Leeming  <leeming@lyx.org>
9114
9115         * BufferView_pimpl.C (dispatch):
9116         * LyXAction.C (init):
9117         * ToolbarDefaults.C (init):
9118         * commandtags.h:
9119         * lyxfunc.C (getStatus):
9120         remove LFUN_INSET_GRAPHICS.
9121
9122         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9123
9124 2003-03-07  Angus Leeming  <leeming@lyx.org>
9125
9126         * commandtags.h:
9127         * LyXAction.C (init):
9128         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9129
9130         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9131
9132         * commandtags.h:
9133         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9134
9135         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9136         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9137
9138 2003-03-07  Angus Leeming  <leeming@lyx.org>
9139
9140         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9141         remove "ert".
9142
9143 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9144
9145         * ParagraphList.C (front): new function
9146         (back): implement
9147
9148 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9149
9150         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9151         and top_row_offset_. removed var first_y.
9152         * text.C (top_y):
9153         * text2.C (LyXText, removeRow):
9154         * text3.C:
9155         * BufferView_pimpl.C:
9156         use these methods instead of using first_y
9157
9158 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9159
9160         * text2.C (pasteSelection): adjust for checkPastePossible
9161
9162         * CutAndPaste.C: remove Paragraph * buf and replace with
9163         ParagraphList paragraphs.
9164         (DeleteBuffer): delete
9165         (cutSelection): change the tc type to textclass_type
9166         (copySelection): change the tc type to textclass_type
9167         (copySelection): adjust for ParagraphList
9168         (pasteSelection): change the tc type to textclass_type
9169         (pasteSelection): adjust for Paragraphlist
9170         (nrOfParagraphs): simplify for ParagraphList
9171         (checkPastePossible): simplify for ParagraphList
9172         (checkPastePossible): remove unused arg
9173
9174         * ParagraphList.C (insert): handle the case where there are no
9175         paragraphs yet.
9176
9177         * CutAndPaste.h: make CutAndPaste a namespace.
9178
9179         * text3.C (dispatch): adjust
9180
9181         * text.C (breakParagraph): add a ParagraphList as arg
9182
9183         * paragraph_funcs.C (breakParagraph): change to take a
9184         BufferParams and a ParagraphList as args.
9185         (breakParagraphConservative): ditto
9186         (mergeParagraph): ditto
9187         (TeXDeeper): add a ParagraphList arg
9188         (TeXEnvironment): ditto
9189         (TeXOnePar): ditto
9190
9191         * buffer.C (readLyXformat2): adjust
9192         (insertStringAsLines): adjust
9193         (latexParagraphs): adjust
9194
9195         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9196         (cutSelection): adjust
9197         (pasteSelection): adjust
9198
9199         * BufferView_pimpl.C (insertInset): adjust
9200
9201 2003-03-05  Angus Leeming  <leeming@lyx.org>
9202
9203         * commandtags.h:
9204         * LyXAction.C (init):
9205         * BufferView_pimpl.C (dispatch):
9206         * lyxfunc.C (getStatus):
9207         remove LFUN_CHILD_INSERT.
9208
9209         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9210
9211 2003-03-05  Angus Leeming  <leeming@lyx.org>
9212
9213         * commandtags.h:
9214         * LyXAction.C (init):
9215         * src/factory.C (createInset):
9216         * lyxfunc.C (getStatus):
9217         * text3.C (dispatch):
9218         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9219
9220         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9221
9222 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9223
9224         * ParagraphList.C (insert): handle insert right before end()
9225         (erase): fix cases where it can be first or last paragraph.
9226
9227 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9228
9229         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9230         Paragraph::next and Paragraph::previous
9231         (TeXOnePar): ditto
9232
9233         * text.C (breakParagraph): adjust
9234
9235         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9236         BufferParams& as arg.
9237         (breakParagraph): use ParagraphList::insert
9238         (breakParagraphConservative): take a Buffer* instead of a
9239         BufferParams& as arg.
9240         (breakParagraphConservative): use ParagraphList::insert.
9241
9242         * buffer.C (insertStringAsLines): un-const it
9243         (insertStringAsLines): adjust
9244
9245         * ParagraphList.C (insert): new function
9246
9247         * CutAndPaste.C (pasteSelection): adjust
9248
9249         * text.C (backspace): adjust
9250
9251         * tabular.C (SetMultiColumn): adjust
9252
9253         * CutAndPaste.C (cutSelection): adjust
9254         (pasteSelection): adjust
9255
9256         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9257         Buffer const * as arg
9258
9259         * ParagraphList.C (erase): new function
9260         * paragraph_funcs.C (mergeParagraph): use it
9261         (mergeParagraph): make it take a Buffer* instead of a
9262         BufferParams* as arg
9263
9264         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9265         as arg
9266         (breakParagraphConservative): ditto
9267
9268         * paragraph.h: remove the breakParagraph friend
9269
9270         * paragraph.C (eraseIntern): new function
9271         (setChange): new function
9272
9273         * paragraph_funcs.C (mergeParagraph): make it take a
9274         ParagraphList::iterator instead of a Paragraph *, adjust
9275         accordingly.
9276
9277         * paragraph.h: move an #endif so that the change tracking stuff
9278         also works in the NO_NEXT case.
9279
9280 2003-03-04  Angus Leeming  <leeming@lyx.org>
9281
9282         * commandtags.h:
9283         * LyXAction.C: new LFUN_INSET_MODIFY.
9284
9285         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9286         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9287
9288 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9289
9290         * several files: ws changes only
9291
9292         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9293         (TeXEnvironment): ditto
9294         (TeXDeeper): ditto
9295
9296         * buffer.C (makeLaTeXFile): adjust
9297         (latexParagraphs): make it take ParagraphList::iterator as args
9298
9299 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9300
9301         * buffer.C (latexParagraphs): adjust
9302
9303         * paragraph.C (TeXOnePar): move function...
9304         (optArgInset): move function...
9305         (TeXEnvironment): move function...
9306         * paragraph_pimpl.C (TeXDeeper): move function...
9307         * paragraph_funcs.C: ...here
9308
9309         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9310
9311 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9312
9313         * buffer.C (readInset): remove compability code for old Figure and
9314         InsetInfo insets
9315
9316 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9317
9318         * buffer.C: ws changes
9319         (readInset):
9320
9321         * BufferView_pimpl.C: ditto
9322         * author.C: ditto
9323         * buffer.h: ditto
9324         * bufferlist.h: ditto
9325         * changes.h: ditto
9326         * lyxfunc.C: ditto
9327
9328 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9329
9330         * converter.[Ch]: split into itself +
9331         * graph.[Ch]
9332         * format.[Ch]
9333         * Makefile.am: += graph.[Ch] + format.[Ch]
9334         * MenuBackend.C
9335         * buffer.C
9336         * exporter.C
9337         * importer.C
9338         * lyx_main.C
9339         * lyxfunc.C
9340         * lyxrc.C: added #include "format.h"
9341
9342 2003-02-27  Angus Leeming  <leeming@lyx.org>
9343
9344         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9345           a label.
9346
9347         * factory.C (createInset): add "label" to the factory.
9348
9349         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9350           string and do no more.
9351
9352 2003-02-27  Angus Leeming  <leeming@lyx.org>
9353
9354         * commandtags.h:
9355         * LyXAction.C (init):
9356         * factory.C (createInset):
9357         * BufferView_pimpl.C (dispatch):
9358           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9359
9360         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9361
9362         * lyxfunc.C (dispatch):
9363         * text3.C (dispatch): pass name to params2string.
9364
9365 2003-02-26  Angus Leeming  <leeming@lyx.org>
9366
9367         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9368           blocks together.
9369           Rearrange the ~includes. Strip out the unnecessary ones.
9370
9371         * factory.C (createInset): reformat.
9372           create new insets for the various LFUN_XYZ_APPLY lfuns.
9373
9374 2003-02-26  John Levon  <levon@movementarian.org>
9375
9376         * lyxrow.h:
9377         * lyxrow.C: add isParStart,isParEnd helpers
9378
9379         * paragraph.h: make isInserted/DeletedText take refs
9380
9381         * paragraph_funcs.h:
9382         * paragraph_funcs.C: remove #if 0'd code
9383
9384         * lyxtext.h:
9385         * text3.C:
9386         * text2.C:
9387         * text.C: use lyxrow helpers above.
9388           Move draw and paint routines to RowPainter.
9389           Make several methods use refs not pointers.
9390           Make backgroundColor() const.
9391           Add markChangeInDraw(), isInInset().
9392           Merge changeRegionCase into changeCase.
9393           Make workWidth() shouldn't-happen code into an Assert.
9394
9395         * rowpainter.h:
9396         * rowpainter.C: new class for painting a row.
9397
9398         * vspace.h:
9399         * vspace.C: make inPixels take a ref
9400
9401 2003-02-26  Angus Leeming  <leeming@lyx.org>
9402
9403         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
9404         LFUN_REF_APPLY.
9405
9406 2003-02-25  John Levon  <levon@movementarian.org>
9407
9408         * ispell.C: give the forked command a more accurate name
9409
9410 2003-02-22  John Levon  <levon@movementarian.org>
9411
9412         * toc.h:
9413         * toc.C: make TocItem store an id not a Paragraph *
9414           (bug #913)
9415
9416 2003-02-21  Angus Leeming  <leeming@lyx.org>
9417
9418         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
9419           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
9420           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
9421           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
9422           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
9423           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
9424
9425         * BufferView_pimpl.C (dispatch):
9426         * LyXAction.C (init):
9427         * factory.C (createInset):
9428         * lyxfunc.C (getStatus, dispatch):
9429         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
9430
9431 2003-02-21  Angus Leeming  <leeming@lyx.org>
9432
9433         * BufferView_pimpl.C (MenuInsertLyXFile):
9434         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
9435         * lyxfunc.C (menuNew, open, doImport):
9436           no longer pass a LyXView & to fileDlg.
9437
9438 2003-02-21  Angus Leeming  <leeming@lyx.org>
9439
9440         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
9441         * LyXAction.C: change, BIBKEY to BIBITEM.
9442         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
9443         Change InsetBibKey to InsetBibitem.
9444         Change BIBKEY_CODE to BIBITEM_CODE.
9445         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9446         * factory.C: replace insetbib.h with insetbibitem.h.
9447         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9448         * paragraph.C: replace insetbib.h with insetbibitem.h.
9449         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
9450         Change bibkey() to bibitem().
9451         * text.C: remove insetbib.h.
9452         * text2.C: replace insetbib.h with insetbibitem.h.
9453         change bibkey() to bibitem().
9454         * text3.C: remove insetbib.h.
9455         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
9456
9457 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9458
9459         * lyxrc.C (output): enclose user email in quotes (in case there are
9460         several words)
9461
9462 2003-02-18  John Levon  <levon@movementarian.org>
9463
9464         * buffer.h: add std::
9465
9466 2003-02-17  John Levon  <levon@movementarian.org>
9467
9468         * SpellBase.h:
9469         * ispell.h:
9470         * ispell.C:
9471         * pspell.h:
9472         * pspell.C: reworking. Especially in ispell, a large
9473           number of clean ups and bug fixes.
9474
9475         * lyxfunc.C: fix revert to behave sensibly
9476
9477 2003-02-17 André Pönitz <poenitz@gmx.net>
9478
9479         * LyXAction.C:
9480         * commandtags.h: new LFUN_INSERT_BIBKEY
9481
9482         * layout.h:
9483         * lyxlayout.C:
9484         * buffer.C:
9485         * factory.C:
9486         * text.C:
9487         * text2.C:
9488         * text3.C:
9489         * paragraph.[Ch]:
9490         * paragraph_func.C: remove special bibkey handling
9491
9492 2003-02-17  John Levon  <levon@movementarian.org>
9493
9494         * text.C (Delete): fix case where delete at the end of
9495           the very first paragraph would not merge the pars
9496
9497 2003-02-17  John Levon  <levon@movementarian.org>
9498
9499         * lyxrow.C: fix lastPrintablePos()
9500
9501 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9502
9503         * bufferparams.C (writeLaTeX): add a std:here
9504
9505         * buffer.C: and remove a using directive there
9506
9507 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9508
9509         * buffer.C (makeLaTeXFile): move the code that generates the
9510           preamble...
9511
9512         * bufferparams.C (writeLaTeX): ... in this new method
9513
9514         * LaTeXFeatures.C (getEncodingSet): make const
9515           (getLanguages): make const
9516
9517         * MenuBackend.C (binding): returns the binding associated to this
9518           action
9519           (add): sets the status of each item by calling getStatus. Adds
9520           some intelligence.
9521           (read): add support for OptSubMenu
9522           (expand): remove extra separator at the end of expanded menu
9523
9524 2003-02-15  John Levon  <levon@movementarian.org>
9525
9526         * BufferView.C:
9527         * BufferView_pimpl.C:
9528         * bufferlist.h:
9529         * bufferlist.C: remove pointless BufferStorage bloat. Remove
9530           inset code that had no actual effect. Remove unneeded status
9531           code.
9532
9533 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9534
9535         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
9536           in preamble
9537
9538 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
9539
9540         * text.C (drawLengthMarker): also draw an arrow marker for
9541           symbolic lengths (medskip...)
9542
9543 2003-02-14  John Levon  <levon@movementarian.org>
9544
9545         * tabular.h:
9546         * tabular.C: better method names
9547
9548 2003-02-14  John Levon  <levon@movementarian.org>
9549
9550         * BufferView_pimpl.C:
9551         * bufferlist.C:
9552         * buffer.C:
9553         * converter.C:
9554         * lyx_cb.C:
9555         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
9556           it's a more accurate name. Remove some pointless uses.
9557
9558 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9559
9560         * text2.C (LyXText): change order of initilizers to shut off
9561           warnings
9562
9563 2003-02-14  John Levon  <levon@movementarian.org>
9564
9565         * buffer.C: use ParIterator for getParFromID()
9566
9567         * paragraph.h:
9568         * paragraph.C:
9569         * paragraph_pimpl.h:
9570         * paragraph_pimpl.C: remove unused getParFromID()
9571
9572 2003-02-14  John Levon  <levon@movementarian.org>
9573
9574         * buffer.C: remove some very old #if 0'd parse code
9575
9576 2003-02-13  John Levon  <levon@movementarian.org>
9577
9578         * text.h:
9579         * text.C:
9580         * text2.C: move hfillExpansion(), numberOfSeparators(),
9581           rowLast(), rowLastPrintable(), numberofHfills(),
9582           numberOfLabelHfills() ...
9583
9584         * lyxrow.h:
9585         * lyxrow.C: ... to member functions here.
9586
9587         * paragraph.h:
9588         * paragraph.C:
9589         * lyxtext.h:
9590         * text.C: remove LyXText::beginningOfMainBody(), and call
9591           p->beginningOfMainBody() directly. Move the check for
9592           LABEL_MANUAL into the latter.
9593
9594         * text.h:
9595         * text.C:
9596         * text2.C:
9597         * vspace.C:
9598         * BufferView.h:
9599         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
9600
9601         * text.h:
9602         * text.C:
9603         * text2.C:
9604         * text3.C:
9605         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
9606           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
9607
9608 2003-02-13  John Levon  <levon@movementarian.org>
9609
9610         * CutAndPaste.C: remove debug
9611
9612 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9613
9614         * paragraph.C (asString): remove two unused variables
9615
9616         * lyxtextclass.C (readTitleType):
9617           (Read):
9618           (LyXTextClass): handle new members titletype_ and titlename_
9619
9620         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
9621
9622 2003-02-09  John Levon  <levon@movementarian.org>
9623
9624         * buffer.h:
9625         * buffer.C: replace hand-coded list with a map for the dep clean
9626
9627 2003-02-08  John Levon  <levon@movementarian.org>
9628
9629         * LaTeX.C: consolidate code into showRunMessage() helper
9630
9631 2003-02-08  John Levon  <levon@movementarian.org>
9632
9633         * lyxfind.C:
9634         * lyxtext.h:
9635         * text2.C:
9636         * BufferView.C: change setSelectionOverString() to setSelectionRange()
9637           and pass the size in explicitly
9638
9639         * BufferView_pimpl.h:
9640         * BufferView_pimpl.C:
9641         * BufferView.h:
9642         * BufferView.C: add getCurrentChange()
9643
9644         * BufferView_pimpl.h:
9645         * BufferView_pimpl.C: handle change lfuns
9646
9647         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
9648           for changes. Mark pasted paragraphs as new.
9649
9650         * support/lyxtime.h:
9651         * support/lyxtime.C:
9652         * DepTable.C: abstract time_t as lyx::time_type
9653
9654         * LColor.h:
9655         * LColor.C: add colours for new text, deleted text, changebars
9656
9657         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
9658           package use "usenames" option.
9659
9660         * commandtags.h:
9661         * lyxfunc.C:
9662         * LyXAction.C: add change lfuns
9663
9664         * Makefile.am:
9665         * author.h:
9666         * author.C: author handling
9667
9668         * buffer.h:
9669         * buffer.C: add a per-buffer author list, with first entry as
9670           current author. Handle new .lyx tokens for change tracking. Output
9671           author list to .lyx file. Output dvipost stuff to .tex preamble.
9672           Bump lyx format to 222.
9673
9674         * bufferlist.h:
9675         * bufferlist.C: add setCurrentAuthor() to reset current author details
9676           in all buffers.
9677
9678         * bufferparams.h:
9679         * bufferparams.C: add param for tracking
9680
9681         * bufferview_funcs.C: output change info in minibuffer
9682
9683         * Makefile.am:
9684         * changes.h:
9685         * changes.C: add change-tracking structure
9686
9687         * debug.h:
9688         * debug.C: add CHANGES debug flag
9689
9690         * lyxfind.h:
9691         * lyxfind.C: add code for finding the next change piece
9692
9693         * lyxrc.h:
9694         * lyxrc.C: add user_name and user_email
9695
9696         * lyxrow.h:
9697         * lyxrow.C: add a metric for the top of the text line
9698
9699         * lyxtext.h:
9700         * text.C: implement accept/rejectChange()
9701
9702         * lyxtext.h:
9703         * text.C: paint changebars. Paint new/deleted text in the chosen
9704         colours. Strike through deleted text.
9705
9706         * paragraph.h:
9707         * paragraph.C:
9708         * paragraph_pimpl.h:
9709         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9710           in the current change to the insert functions. Rework erase to
9711           mark text as deleted, adding an eraseIntern() and a range-based
9712           erase(). Implement per-paragraph change lookup and
9713           accept/reject.
9714
9715         * paragraph_funcs.C: Fixup paste for change tracking.
9716
9717         * tabular.C: mark added row/columns as new.
9718
9719         * text.C: fix rowLast() to never return -1. Don't allow
9720           spellchecking of deleted text. Track transpose changes. Don't
9721           allow paragraph break or merge where appropriate.
9722
9723         * text2.C: leave cursor at end of selection after a cut.
9724
9725 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9726
9727         * text.C (getLengthMarkerHeight):
9728         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9729         visible on screen too.
9730
9731 2003-02-07  John Levon  <levon@movementarian.org>
9732
9733         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9734
9735 2003-02-05  Angus Leeming  <leeming@lyx.org>
9736
9737         * lyxserver.C (read_ready): revert my patch of 11 September last year
9738         as it sends PC cpu through the roof. Presumably this means that
9739         the lyxserver will no longer run on an Alpha...
9740
9741 2003-01-30  Angus Leeming  <leeming@lyx.org>
9742
9743         * factory.C (createInset): create an InsetCommandParam of type "index"
9744         and use it to 'do the right thing'.
9745
9746         * text2.C (getStringToIndex): ensure that cursor position is always
9747         reset to the reset_cursor position.
9748
9749 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9750
9751         * lyxfunc.C (getStatus): "buffer-export custom" should never be
9752         disabled.
9753
9754 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
9755
9756         * bufferview.C:
9757         * lyxcb.C:
9758         * lyxfunc.C: Output messages with identical spelling, punctuation,
9759         and spaces
9760
9761 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
9762
9763         * MenuBackend.C (expandFormats): List only viewable export formats
9764         in "View" menu
9765
9766         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9767         message
9768
9769         * lyxfunc.C (getStatus): Make sure that formats other than
9770         "fax" can also be disabled
9771
9772 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9773
9774         * text3.C (dispatch): put the lfuns that insert insets in 3
9775         groups, and call doInsertInset with appropriate arguments.
9776         (doInsertInset): new function, that creates an inset and inserts
9777         it according to some boolean parameters.
9778
9779 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
9780
9781         * buffer.C (readFile): remember to pass on 'par' when calling
9782         readFile recursively.
9783
9784 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9785
9786         * MenuBackend.C (expandFormats): add "..." to import formats.
9787
9788 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
9789
9790         * paragraph.C (asString): Remove XForms RTL hacks.
9791
9792 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
9793         * buffer.C: fix typo
9794
9795 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9796
9797         * Makefile.am (LIBS): delete var
9798         (lyx_LDADD): add @LIBS@ here instead.
9799
9800 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
9801
9802         * Clarify the meaning of "wheel mouse jump"
9803
9804 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9805
9806         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9807         tabular in a float
9808
9809 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9810
9811         * importer.C (Loaders): do not preallocate 3 elements in the
9812         vector, since one ends up with 6 elements otherwise
9813
9814 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9815
9816         * DepTable.C (write): write the file name as last element of the
9817         .dep file (because it may contain spaces)
9818         (read): read info in the right order
9819
9820 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9821
9822         * paragraph_pimpl.C (simpleTeXBlanks):
9823         (simpleTeXSpecialChars):
9824         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9825
9826         * tabular.C (latex): add some missing case statements. Reindent.
9827
9828         * MenuBackend.C (expandToc): remove unused variable.
9829
9830 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
9831
9832         * LColor.C:
9833         * LaTeX.C:
9834         * LyXAction.C:
9835         * MenuBackend.C:
9836         * buffer.C:
9837         * exporter.C:
9838         * lyxfunc.C:
9839         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9840         and the like.
9841
9842 2003-01-05  John Levon  <levon@movementarian.org>
9843
9844         * BufferView.h:
9845         * BufferView.C: add getEncoding()
9846
9847         * kbsequence.h:
9848         * kbsequence.C: do not store last keypress
9849
9850         * lyxfunc.h:
9851         * lyxfunc.C: store last keypress here instead. Pass encoding
9852           to getISOEncoded()
9853
9854 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9855
9856         * lyx_main.C (init): remove annoying error message when following
9857         symbolic links (bug #780)
9858
9859 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9860
9861         * text.C (insertChar):
9862         * lyxrc.C (getDescription): remove extra spaces
9863
9864 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9865
9866         * lyxrc.C (getDescription): remove extra spaces
9867
9868 2002-12-20  John Levon  <levon@movementarian.org>
9869
9870         * text3.C: hack fix for page up/down across tall rows
9871
9872 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9873
9874         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9875         not been invoked
9876
9877 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9878
9879         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9880         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9881         thesaurus is not compiled in
9882
9883 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
9884
9885         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
9886
9887 2002-12-16  Angus Leeming  <leeming@lyx.org>
9888
9889         * lyxrc.[Ch]:
9890         * lyx_main.C (init): remove override_x_deadkeys stuff.
9891
9892 2002-12-12  John Levon  <levon@movementarian.org>
9893
9894         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9895           insert. Only remove shift modifier under strict
9896           circumstances.
9897
9898 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
9899
9900         * MenuBackend.C (expandToc): fix crash.
9901
9902 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9903
9904         * MenuBackend.C (expandToc): gettext on float names.
9905
9906 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
9907
9908         * lyxlength.[Ch]: set default unit to UNIT_NONE,
9909         implement bool empty() [bug 490]
9910
9911 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9912
9913         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9914
9915 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9916
9917         * several files: ws changes
9918
9919 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
9920
9921         * text2.C (setCounter): clean up a bit, use boost.format.
9922         (updateCounters): initialize par upon declaration.
9923
9924         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9925         if the layout exists. We do not just store the layout any more.
9926         (SwitchLayoutsBetweenClasses): use boost.format
9927
9928 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9929
9930         * converter.C (convert): if from and to files are the same, use a
9931         temporary files as intermediary
9932
9933 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9934
9935         * commandtags.h:
9936         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9937
9938 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9939
9940         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9941
9942 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9943
9944         * tabular.C (asciiPrintCell): use string(size, char) instead of
9945         explicit loop.
9946
9947         * sgml.C (openTag): fix order of arguments to string constructor
9948         (closeTag): ditto
9949
9950         * lyxfunc.C (dispatch): use boost.format
9951
9952         * lots of files: change "c" -> 'c'
9953
9954 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9955
9956         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9957
9958 2002-11-25  Angus Leeming  <leeming@lyx.org>
9959
9960         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9961
9962         * lyx_main.C (init): compile fix.
9963
9964 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
9965
9966         * lyx_cb.C (start): boost.formatify
9967         do not include <iostream>
9968
9969         * lengthcommon.C: ws only
9970
9971         * boost-inst.C,BoostFormat.h: add more explict instantations
9972
9973 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
9974
9975         * lots of files: handle USE_BOOST_FORMAT
9976
9977 2002-11-21  John Levon  <levon@movementarian.org>
9978
9979         * pspell.C: fix compile
9980
9981 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9982
9983         * lyxfunc.C (dispatch): use boost::format
9984         (open): ditto
9985         (doImport): ditto
9986
9987         * lyxfont.C (stateText): use boost::format
9988
9989         * lyx_main.C (LyX): use boost::format
9990         (init): ditto
9991         (queryUserLyXDir): ditto
9992         (readRcFile): ditto
9993         (parse_dbg): ditto
9994         (typedef boost::function): use the recommened syntax.
9995
9996         * importer.C (Import): use boost::format
9997
9998         * debug.C (showLevel): use boost::format
9999
10000         * converter.C (view): use boost::format
10001         (convert): ditto
10002         (move): ditto
10003         (scanLog): ditto
10004
10005         * bufferview_funcs.C (currentState): use boost::format
10006
10007         * bufferlist.C (emergencyWrite): use boost::format
10008
10009         * buffer.C (readLyXformat2): use boost::format
10010         (parseSingleLyXformat2Token): ditto
10011
10012         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10013
10014         * LaTeX.C (run): use boost::format
10015
10016         * Chktex.C (scanLogFile): use boost::format
10017
10018         * BufferView_pimpl.C (savePosition): use boost::format
10019         (restorePosition): ditto
10020         (MenuInsertLyXFile): ditto
10021
10022         * BoostFormat.h: help file for explicit instation.
10023
10024 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10025
10026         * tabular.C (latex): Support for block alignment in fixed width
10027         columns.
10028
10029 2002-11-17  John Levon  <levon@movementarian.org>
10030
10031         * BufferView_pimpl.C:
10032         * lyx_cb.C:
10033         * lyxfunc.C: split filedialog into open/save
10034
10035 2002-11-08  Juergen Vigna  <jug@sad.it>
10036
10037         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10038         by my last patch (hopefully).
10039
10040 2002-11-08  John Levon  <levon@movementarian.org>
10041
10042         * iterators.h:
10043         * iterators.C:
10044         * buffer.h:
10045         * buffer.C:
10046         * paragraph.h:
10047         * paragraph.C:
10048         * toc.h:
10049         * toc.C: ParConstIterator, and use it (from Lars)
10050
10051 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10052
10053         * lyxtextclass.[Ch]: revise and add doxygen comments
10054
10055 2002-11-07  John Levon  <levon@movementarian.org>
10056
10057         * text.C: fix progress value for spellchecker
10058
10059         * toc.C: fix navigate menu for insetwrap inside minipage
10060
10061         * paragraph_funcs.C: added FIXME for suspect code
10062
10063 2002-11-07  John Levon  <levon@movementarian.org>
10064
10065         * BufferView_pimpl.C: fix redrawing of insets
10066           on buffer switch
10067
10068 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10069
10070         * text2.C (updateCounters): fix bug 668
10071
10072 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10073
10074         * text3.C (dispatch): Do not make the buffer dirty when moving the
10075         cursor.
10076
10077 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10078
10079         * vc-backend.C: STRCONV
10080         (scanMaster): ditto
10081
10082         * text2.C (setCounter): STRCONV
10083
10084         * paragraph.C (asString): STRCONV
10085
10086         * lyxlength.C (asString): STRCONV
10087         (asLatexString): ditto
10088
10089         * lyxgluelength.C (asString): STRCONV
10090         (asLatexString): ditto
10091
10092         * lyxfunc.C (dispatch): STRCONV
10093         (open): ditto
10094
10095         * lyxfont.C (stateText): STRCONV
10096
10097         * importer.C (Import): STRCONV
10098
10099         * counters.C (labelItem): STRCONV
10100         (numberLabel): ditto
10101         (numberLabel): remove unused ostringstream o
10102
10103         * chset.C: STRCONV
10104         (loadFile): ditto
10105
10106         * bufferview_funcs.C (currentState): STRCONV
10107
10108         * buffer.C (readFile): STRCONV
10109         (asciiParagraph): ditto
10110         (makeLaTeXFile): ditto
10111
10112         * Spacing.C (writeEnvirBegin): STRCONV
10113
10114         * LaTeXFeatures.C (getLanguages): STRCONV
10115         (getPackages): ditto
10116         (getMacros): ditto
10117         (getBabelOptions): ditto
10118         (getTClassPreamble): ditto
10119         (getLyXSGMLEntities): ditto
10120         (getIncludedFiles): ditto
10121
10122         * LaTeX.C: STRCONV
10123         (run): ditto
10124         (scanAuxFile): ditto
10125         (deplog): ditto
10126
10127         * LString.h: add the STRCONV macros
10128
10129         * BufferView_pimpl.C (savePosition): STRCONV
10130         (restorePosition): ditto
10131         (MenuInsertLyXFile): ditto
10132
10133         * vc-backend.C (scanMaster): change from submatch[...] to
10134         submatch.str(...)
10135
10136         * funcrequest.C: include config.h
10137
10138         * factory.C: include config.h
10139
10140         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10141
10142         * box.C: include config.h
10143
10144         * LaTeX.C (scanAuxFile): change from submatch[...] to
10145         submatch.str(...)
10146         (deplog): ditto
10147
10148 2002-10-25  Angus Leeming  <leeming@lyx.org>
10149
10150         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10151
10152         * ispell.[Ch] (setError): new method.
10153         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10154         Use setError() insetead of goto END.
10155
10156         * lyx_cb.C (AutoSave): move out child process into new class
10157         AutoSaveBuffer.
10158
10159 2002-10-30  John Levon  <levon@movementarian.org>
10160
10161         * text3.C: make start appendix undoable
10162
10163 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10164
10165         * lyxlength.C (inPixels): Fix returned value.
10166
10167         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10168         environment.
10169
10170 2002-10-24  Angus Leeming  <leeming@lyx.org>
10171
10172         * lyxgluelength.h: no need to forward declare BufferParams
10173         or BufferView, so don't.
10174
10175 2002-10-21  John Levon  <levon@movementarian.org>
10176
10177         * BufferView.C: menuUndo ->undo, redo
10178
10179         * BufferView.h: document, remove dead, make some methods private
10180
10181         * paragraph_funcs.h:
10182         * paragraph_funcs.C:
10183         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10184
10185         * buffer.h:
10186         * buffer.C:
10187         * sgml.h:
10188         * sgml.C: move sgml open/close tag into sgml.C
10189
10190         * bufferview_funcs.h: unused prototype
10191
10192         * lyxfunc.h:
10193         * lyxfunc.C: remove unused
10194
10195         * lyxtext.h:
10196         * text.C: remove unused
10197
10198 2002-10-21  John Levon  <levon@movementarian.org>
10199
10200         * BufferView.h:
10201         * BufferView.C:
10202         * BufferView_pimpl.h:
10203         * BufferView_pimpl.C: fix mouse wheel handling based on
10204           patch from Darren Freeman
10205
10206 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10207
10208         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10209
10210 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10211
10212         * lyxlength.C (inPixels): Fix hanfling of negative length.
10213         Fix LyXLength::MU case.
10214
10215 2002-10-16  John Levon  <levon@movementarian.org>
10216
10217         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10218
10219 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10220
10221         * converter.C (view): add support for $$i (file name) and $$p
10222         (file path) for the viewer command. If $$i is not specified, then
10223         it is appended to the command (for compatibility with old syntax)
10224
10225 2002-10-14  Juergen Vigna  <jug@sad.it>
10226
10227         * undo_funcs.C (textHandleUndo): alter the order in which the
10228         new undopar is added to the LyXText, as we have to set first
10229         the right prev/next and then add it as otherwise the rebuild of
10230         LyXText is not correct. Also reset the cursor to the right paragraph,
10231         with this IMO we could remove the hack in "redoParagraphs()".
10232
10233 2002-10-09  Angus Leeming  <leeming@lyx.org>
10234
10235         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10236         to turn off an optimisation if a new inset is to be inserted.
10237
10238 2002-10-11 André Pönitz <poenitz@gmx.net>
10239
10240         * lyxtext.h: make some functions public to allow access
10241         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10242
10243 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10244
10245         * text3.C (dispatch): when changing layout, avoid an infinite loop
10246         [bug #652]
10247
10248 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10249
10250         * lyxrc.C (read): treat a viewer or converter command of "none" as
10251         if it were empty.
10252
10253         * MenuBackend.C (expandFormats): for an update, also allow the
10254         formats that are not viewable
10255
10256         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10257         script if it is newer than the lyxrc.defaults in user directory
10258
10259 2002-10-07 André Pönitz <poenitz@gmx.net>
10260
10261         * text.C: Vitaly Lipatov's small i18n fix
10262
10263 2002-09-25  Angus Leeming  <leeming@lyx.org>
10264
10265         * ispell.h: doxygen fix.
10266
10267 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10268
10269         * buffer.h (readFile): Add a new argument to the method, to allow
10270         reading of old-format templates.
10271
10272 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10273
10274         * toc.C (getTocList): Get TOC from InsetWrap.
10275
10276 2002-09-16  John Levon  <levon@movementarian.org>
10277
10278         * lyxfunc.C: check tabular for cut/copy too
10279
10280 2002-09-12  John Levon  <levon@movementarian.org>
10281
10282         * LyXAction.C: tidy
10283
10284         * factory.h:
10285         * factory.C: add header
10286
10287         * paragraph_funcs.h:
10288         * paragraph_funcs.C: cleanup
10289
10290 2002-09-11  John Levon  <levon@movementarian.org>
10291
10292         * PrinterParams.h: odd/even default to true
10293
10294 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10295
10296         * PrinterParams.h: update printer parameters for new xforms dialog
10297
10298 2002-09-11  Angus Leeming  <leeming@lyx.org>
10299
10300         * lyxserver.C (read_ready): re-write to make it more transparent
10301         and to make it work in coherent fashion under Tru64 Unix.
10302
10303 2002-09-11  André Pönitz <poenitz@gmx.net>
10304
10305         * commandtags.h:
10306         * LyXAction.C:
10307         * text3.C: implement LFUN_WORDSEL
10308
10309 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10310
10311         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10312         make floatlist_ a boost::shared_ptr<FloatList>
10313
10314         * lyxtextclass.C: include FloatList.h
10315         (LyXTextClass): initialize floatlist_
10316         (TextClassTags): add TC_NOFLOAT
10317         (Read): match "nofloat" to TC_NOFLOAT and use it.
10318         (readFloat): modify call to floatlist_
10319         (floats): ditto
10320         (floats): ditto
10321
10322         * FloatList.[Ch] (FloatList): remove commented out float
10323         initialization.
10324         (erase): new function
10325
10326 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10327
10328         * MenuBackend.C (expandToc): fix crash when there is no document
10329         open
10330
10331 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10332
10333         * many files: Add insetwrap.
10334
10335 2002-09-09  John Levon  <levon@movementarian.org>
10336
10337         * text2.C: remove confusing and awkward depth wraparound
10338
10339 2002-09-09  John Levon  <levon@movementarian.org>
10340
10341         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10342
10343         * buffer.h:
10344         * buffer.C: remove getIncludeonlyList()
10345
10346         * paragraph.C:
10347         * lyxfunc.C: remove headers
10348
10349 2002-09-09  Juergen Vigna  <jug@sad.it>
10350
10351         * text.C (getColumnNearX): fix form Michael this is most
10352         probably a cut&paste bug.
10353
10354 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10355
10356         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10357
10358         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10359         references, ws changes.
10360
10361         * text2.C (init): update counters after init
10362         (insertParagraph): no need to set counter on idividual paragraphs.
10363         (setCounter): access the counters object in the textclass object
10364         on in the buffer object.
10365         (updateCounters): ditto
10366
10367         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10368         shared_ptr<Counters> to avoid loading counters.h in all
10369         compilation units.
10370         (LyXTextClass): initialize ctrs_
10371         (TextClassTags): add TC_COUNTER, and ...
10372         (Read): use it here.
10373         (CounterTags): new tags
10374         (readCounter): new function
10375         (counters): new funtion
10376         (defaultLayoutName): return a const reference
10377
10378         * counters.C (Counters): remove contructor
10379         (newCounter): remove a couple of unneeded statements.
10380         (newCounter): simplify a bit.
10381         (numberLabel): some small formatting changes.
10382
10383         * buffer.[Ch]: remove all traces of counters, move the Counters
10384         object to the LyXTextClass.
10385
10386 2002-09-06  Alain Castera  <castera@in2p3.fr>
10387
10388         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10389         package to set the horizontal alignment on fixed width columns.
10390
10391         * lyx_sty.C:
10392         * lyx_sty.h: added tabularnewline macro def.
10393
10394         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10395
10396 2002-09-06  John Levon  <levon@movementarian.org>
10397
10398         * LyXAction.C: tooltips for sub/superscript
10399
10400         * MenuBackend.C: a bit more verbose
10401
10402         * lyxfunc.C: tiny clean
10403
10404         * undo_funcs.C: document undo_frozen
10405
10406 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
10407
10408         * counters.C (Counters): add missing algorithm counter.
10409
10410         * text2.C (setCounter): lookup the counter with layouts latexname
10411         instead of by section number.
10412         (setCounter): use a hackish way to lookup the correct enum
10413         counter.
10414         a float name->type change
10415         reset enum couners with counter name directly instead of depth value.
10416
10417         * counters.C (Counters): remove the push_backs, change to use the
10418         float type not the float name.
10419         (labelItem): remove unused string, float name->type change
10420
10421         * counters.h: don't include vector, loose the enums and sects vectors
10422
10423 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10424
10425         * lyxtextclass.C (TextClassTags): add TC_FLOAT
10426         (Read): add float->TC_FLOAT to textclassTags
10427         (Read): and handle it in the switch
10428         (readFloat): new function
10429
10430         * FloatList.C (FloatList): comment out the hardcoded float
10431         definitions.
10432
10433         * lyxlayout.h: ws change.
10434
10435 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
10436
10437         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
10438
10439 2002-09-03  Angus Leeming  <leeming@lyx.org>
10440
10441         * BufferView_pimpl.h: qualified name is not allowed in member
10442         declaration: WorkArea & Pimpl::workarea() const;
10443
10444         * factory.C: added using std::endl directive.
10445
10446         * text3.C: added using std::find and std::vector directives.
10447
10448 2002-08-29  André Pönitz <poenitz@gmx.net>
10449
10450         * lyxtext.h:
10451         * text2.C: remove unused member number_of_rows
10452
10453         * Makefile.am:
10454         * BufferView2.C: remove file, move contents to...
10455         * BufferView.C: ... here
10456
10457         * BufferView_pimpl.C:
10458         * factory.C: move more inset creation to factory
10459
10460         * vspace.C: avoid direct usage of LyXText, ws changes
10461
10462         * BufferView.[Ch]:
10463                 don't provide direct access to WorkArea, use two simple
10464                 acessors haveSelction() and workHeight() instead
10465
10466
10467 2002-08-29  John Levon  <levon@movementarian.org>
10468
10469         * BufferView_pimpl.C (dispatch): do not continue when
10470           no buffer
10471
10472 2002-08-28  André Pönitz <poenitz@gmx.net>
10473
10474         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
10475
10476         * BufferView.h:
10477         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
10478
10479 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
10480
10481         * buffer.C: increment LYX_FORMAT to 221
10482
10483         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
10484         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
10485
10486         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
10487
10488         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
10489
10490 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10491
10492         * factory.C (createInset): use LyXTextClass::floats
10493
10494         * MenuBackend.C (expandFloatListInsert):
10495         (expandFloatInsert):
10496         (expandToc):
10497
10498         * text2.C (setCounter):
10499
10500         * LaTeXFeatures.C (useFloat):
10501         (getFloatDefinitions):
10502
10503         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
10504
10505         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
10506         floatlist_, with accessor floats().
10507
10508         * FloatList.h: remove global FloatList
10509
10510 2002-08-26  André Pönitz <poenitz@gmx.net>
10511
10512         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
10513
10514         * BufferView.h:
10515         * BufferView2.C:
10516         * BufferView_pimpl.C:
10517         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
10518
10519 2002-08-25  John Levon  <levon@movementarian.org>
10520
10521         * LyXAction.C: fix margin note description
10522
10523 2002-08-24  John Levon  <levon@movementarian.org>
10524
10525         * buffer.C:
10526         * bufferlist.C:
10527         * bufferview_funcs.C:
10528         * lyxfont.C:
10529         * undo_funcs.C: cleanups
10530
10531         * lyxfunc.C: disable CUT/COPY when no selection
10532
10533 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
10534
10535         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
10536         in "enum UNIT"; e.g. PTW for Percent of TextWidth
10537
10538         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
10539         Add backward compatibility to "mono", "gray" and "no".
10540
10541 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
10542
10543         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
10544         (and file_format >= 200).
10545
10546 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10547
10548         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
10549
10550 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10551
10552         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
10553
10554 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
10555
10556         * BufferView_pimpl.C:
10557         * LyXAction.C:
10558         * buffer.C:
10559         * commandtags.h:
10560         * lyxfunc.C:
10561         * paragraph.[Ch]:
10562         * text2.C:
10563         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
10564         inset and code to make it  work with the paragraph code. The inset
10565         can be anywhere in the paragraph, but will only do the expected
10566         thing in LaTeX if the layout file contains the parameter line
10567                         OptionalArgs    1
10568         (or more generally, a nonzero value) for that layout.
10569
10570 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
10571
10572         * paragraph.h: remove the declaration of undefined counters class
10573         function.
10574
10575 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
10576
10577         * text2.C (setCounter):  fixed enumeration mis-count as reported by
10578         Dr. Richard Hawkins.
10579
10580 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10581
10582         * paragraph_funcs.h: remove some unneeded includes
10583
10584         * text.C (backspace): pasteParagraph now in global scipe
10585
10586         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
10587         (pasteSelection): ditto
10588
10589         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
10590         * paragraph_funcs.C (pasteParagraph): ... here
10591
10592 2002-08-20  André Pönitz <poenitz@gmx.net>
10593
10594         * commandtags.h: new LFUNs for swapping/copying table row/colums
10595
10596         * LyXAction.C:
10597         * lyxfunc.C: support for new lfuns
10598
10599 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
10600
10601         * tabular.C:
10602         * buffer.[Ch]: remove NO_COMPABILITY stuff
10603
10604 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
10605
10606         * boost.C (throw_exception): new file, with helper function for
10607         boost compiled without exceptions.
10608
10609         * paragraph.h:
10610         * lyxlength.C:
10611         * buffer.C:
10612         * ParameterStruct.h:
10613         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
10614
10615         * bufferlist.C (emergencyWriteAll): use boost bind
10616
10617         * BufferView_pimpl.C (moveCursorUpdate): remove inline
10618
10619         * text.C: include paragraph_funcs.h
10620         (breakParagraph): breakParagraph is now in global scope
10621
10622         * paragraph_funcs.[Ch]: new files
10623
10624         * paragraph.C (breakParagraph,breakParagraphConservative): move to
10625         global scope
10626
10627         * buffer.C: include paragraph_funcs.h
10628         (insertStringAsLines): breakParagraph is now in global scope
10629
10630         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
10631         paragraph_funcs.C
10632
10633         * CutAndPaste.C: include paragraph_funcs.h
10634         (cutSelection): breakParagraphConservative is now in global scope
10635         (pasteSelection): ditto
10636
10637         * buffer.h: declare oprator== and operator!= for
10638         Buffer::inset_iterator
10639
10640         * bufferlist.C (emergencyWrite): don't use fmt(...)
10641
10642         * text3.C: add using std::endl
10643
10644         * BufferView.C (moveCursorUpdate): remove default arg
10645
10646 2002-08-20  André Pönitz <poenitz@gmx.net>
10647
10648         * buffer.[Ch]: move inline functions to .C
10649
10650         * BufferView2.C:
10651         * BufferView_pimpl.C:
10652         * text.C:
10653         * buffer.[Ch]: use improved inset_iterator
10654
10655         * buffer.C:
10656         * paragraph.[Ch]: write one paragraph at a time
10657
10658 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10659
10660         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10661         style if style is not specified.
10662
10663 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10664
10665         * text2.C (setCounter): when searching for right label for a
10666         caption, make sure to recurse to parent insets (so that a caption
10667         in a minipage in a figure float works) (bug #568)
10668
10669 2002-08-20  André Pönitz <poenitz@gmx.net>
10670
10671         * text3.C: new file for LyXText::dispatch() and helpers
10672
10673         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10674
10675         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10676
10677 2002-08-19  André Pönitz <poenitz@gmx.net>
10678
10679         * lyxtext.h:
10680         * text.C: new LyXText::dispatch()
10681
10682         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10683
10684 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
10685
10686         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10687
10688         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10689         Hebrew text.
10690
10691 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10692
10693         * Makefile.am: use $(variables) instead of @substitutions@
10694
10695 2002-08-15  André Pönitz <poenitz@gmx.net>
10696
10697         * lyxfunc.C:
10698         * BufferView_pimpl.C: streamlining mathed <-> outer world
10699         interaction
10700
10701         * commandtags.h:
10702         * LyXAction.C: remove unused LFUN_MATH
10703
10704 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10705
10706         * paragraph.[Ch]: add some NO_NEXT ifdefs.
10707
10708 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
10709
10710         * paragraph.C (Paragraph): reformat a bit
10711         (cutIntoMinibuffer): use builtin InsetList function instad of
10712         doing it manually.
10713         (getInset): ditto
10714
10715         * buffer.C: include boost/bind.hpp, add using std::for_each
10716         (writeFileAscii): use ParagraphList iterators
10717         (validate): use for_each for validate traversal of paragraphs
10718         (getBibkeyList): use ParagraphList iterators
10719         (resizeInsets): use for_each to resizeInsetsLyXText for all
10720         paragraphs.
10721         (getParFromID): use ParagraphList iterators
10722
10723         * BufferView2.C (lockInset): use paragraph list and iterators
10724
10725 2002-08-14  John Levon  <levon@movementarian.org>
10726
10727         * lyxserver.C: remove spurious xforms include
10728
10729 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10730
10731         * lyxfunc.C (getStatus): disable math-extern outside of math mode
10732
10733 2002-08-13  André Pönitz <poenitz@gmx.net>
10734
10735         * LyXAction.[Ch]:
10736         * lyxfunc.C: further cleaning
10737
10738 2002-08-13  André Pönitz <poenitz@gmx.net>
10739
10740         * funcrequest.h: new constructor
10741
10742         * funcrequest.C: move stuff here from .h
10743
10744         * Makefile.am:
10745         * BufferView_pimpl.C:
10746         * LyXAction.C:
10747         * toc.C:
10748         * lyxfunc.C: subsequent changes
10749
10750         * lyxfunc.h: new view() member function
10751
10752         * lyxfunc.C: subsequent changes
10753
10754 2002-08-13  Angus Leeming  <leeming@lyx.org>
10755
10756         * BufferView2.C:
10757         * BufferView_pimpl.C:
10758         * buffer.C:
10759         * converter.C:
10760         * importer.C:
10761         * lyxfunc.C:
10762         * lyxvc.C:
10763         * toc.C:
10764         * vc-backend.C:
10765         changes due to the changed LyXView interface that now returns references
10766         to member variables not pointers.
10767
10768 2002-08-13  Angus Leeming  <leeming@lyx.org>
10769
10770         * WordLangTuple (word, lang_code): return references to strings,
10771         not strings.
10772
10773         * BufferView.h:
10774         * SpellBase.h:
10775         * lyxtext.h: forward-declare WordLangTuple.
10776
10777         * BufferView2.C:
10778         * ispell.C:
10779         * pspell.C:
10780         * text.C: #include "WordLangTuple.h".
10781
10782         * lyxtext.h:
10783         * text.C: (selectNextWordToSpellcheck): constify return type.
10784
10785 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
10786
10787         * buffer.C:
10788         * buffer.h:
10789         * lyxtext.h:
10790         * paragraph.C:
10791         * paragraph_pimpl.h:
10792         * text.C:
10793         * text2.C:
10794         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10795         suggested by Angus.
10796         Made updateCounter always count from start of buffer, and removed
10797         second argument (par).
10798         Reverted floats number display to '#'. Perhaps I'll try again when the
10799         code base is sanitized a bit.
10800
10801 2002-08-12  Angus Leeming  <leeming@lyx.org>
10802
10803         * buffer.[Ch] (getLabelList): constify.
10804
10805 2002-08-07  André Pönitz <poenitz@gmx.net>
10806
10807         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10808
10809         * funcrequest.h: extension to keep mouse (x,y) position
10810
10811 2002-08-12  Juergen Vigna  <jug@sad.it>
10812
10813         * BufferView2.C (insertErrors): forbid undo when inserting error
10814         insets.
10815
10816         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10817
10818 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10819
10820         * ParagraphList.[Ch]: new files
10821
10822         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10823
10824         * BufferView2.C (lockInset): ParagraphList changes
10825         * toc.C: ditto
10826         * text2.C: ditto
10827         * bufferlist.C: ditto
10828         * buffer.h: ditto
10829         * buffer.C: ditto
10830
10831 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10832
10833         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10834         unused class variable counter_,
10835
10836         * paragraph.[Ch] (getFirstCounter): delete unused function
10837
10838         * counters.C: include LAssert.h
10839         (reset): add a new function with no arg, change other version to
10840         not have def. arg and to not allow empty arg.
10841
10842         * text2.C (setCounter): remove empty arg from call to Counters::reset
10843
10844 2002-08-11  John Levon  <levon@movementarian.org>
10845
10846         * Makefile.am: add WordLangTuple.h
10847
10848 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10849
10850         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10851         lyxfunc.C lyxlex_pimpl.C: ws changes only.
10852
10853         * insets/insettext.C: InsetList changes
10854
10855         * graphics/GraphicsSupport.C (operator()): InsetList changes
10856
10857         * toc.C (getTocList): InsetList changes
10858
10859         * paragraph_pimpl.[Ch]: InsetList changes
10860
10861         * paragraph.[Ch]: InsetList changes
10862
10863         * buffer.C (inset_iterator): InsetList changes
10864         (setParagraph): ditto
10865         * buffer.h (inset_iterator): ditto
10866         * iterators.C (operator++): ditto
10867         * iterators.h: ditto
10868
10869         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10870
10871         * InsetList.[Ch]: new files, most InsetList handling moved out of
10872         paragraph.C.
10873
10874         * BufferView2.C (removeAutoInsets): InsetList changes
10875         (lockInset): ditto
10876         (ChangeInsets): ditto
10877
10878 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
10879
10880         * paragraph_pimpl.h (empty): new function
10881
10882         * paragraph.[Ch] (empty): new function
10883
10884         * other files: use the new Paragraph::empty function
10885
10886 2002-08-09  John Levon  <levon@movementarian.org>
10887
10888         * lyxtext.h: remove unused refresh_height
10889
10890 2002-08-09  John Levon  <levon@movementarian.org>
10891
10892         * Makefile.am:
10893         * sgml.h:
10894         * sgml.C:
10895         * buffer.C:
10896         * paragraph.h:
10897         * paragraph.C: move sgml char escaping out of paragraph
10898
10899         * paragraph.h:
10900         * paragraph.C: remove id setter
10901
10902         * buffer.C:
10903         * paragraph.C:
10904         * paragraph_pimpl.C: remove dead tex_code_break_column
10905
10906         * bufferview_funcs.C: small cleanup
10907
10908         * lyxfunc.C: remove dead proto
10909
10910         * lyxtext.h: make some stuff private. Remove some dead stuff.
10911
10912         * lyxgluelength.C: make as[LyX]String() readable
10913
10914 2002-08-08  John Levon  <levon@movementarian.org>
10915
10916         * LyXAction.h:
10917         * LyXAction.C:
10918         * MenuBackend.C:
10919         * ToolbarDefaults.C:
10920         * lyxfunc.C:
10921         * lyxrc.C:
10922         * toc.C: lyxaction cleanup
10923
10924 2002-08-08  John Levon  <levon@movementarian.org>
10925
10926         * BufferView2.C: small cleanup
10927
10928         * lyxfind.h:
10929         * lyxfind.C: move unnecessary header into the .C
10930
10931 2002-08-08  John Levon  <levon@movementarian.org>
10932
10933         * funcrequest.h: just tedious nonsense
10934
10935         * lyx_main.h:
10936         * lyx_main.C: cleanups
10937
10938         * buffer.C:
10939         * vspace.C: remove dead header lyx_main.h
10940
10941 2002-08-07  Angus Leeming  <leeming@lyx.org>
10942
10943         * Paragraph.[Ch]:
10944         * paragraph_pimpl.h:
10945         Forward declare class Counters in paragraph.h by moving the ctrs member
10946         variable into Paragraph::Pimpl.
10947         (counters): new method, returning a reference to pimpl_->ctrs.
10948
10949         * text2.C: ensuing changes.
10950
10951 2002-08-07  John Levon  <levon@movementarian.org>
10952
10953         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10954
10955         * BufferView_pimpl.C: announce X selection on double/triple
10956           click
10957
10958         * lyx_main.C: use correct bool in batch dispatch
10959
10960         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10961
10962 2002-08-07  André Pönitz <poenitz@gmx.net>
10963
10964         * funcrequest.h: new class to wrap a kb_action and its argument
10965
10966         * BufferView.[Ch]:
10967         * BufferView_pimpl[Ch]:
10968         * LaTeX.C:
10969         * LyXAction.[Ch]:
10970         * lyxfunc.[Ch]:
10971         * lyxrc.C: subsequent changes
10972
10973
10974 2002-08-07  John Levon  <levon@movementarian.org>
10975
10976         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10977           document options change.
10978
10979 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
10980
10981         * counters.[Ch]
10982         * text2.C
10983         * paragraph.[Ch]
10984         * makefile.am: move counters functionality over from
10985         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10986
10987 2002-08-06  John Levon  <levon@movementarian.org>
10988
10989         * WordLangTuple.h: new file for word + language code tuple
10990
10991         * SpellBase.h:
10992         * pspell.h:
10993         * pspell.C:
10994         * ispell.h:
10995         * ispell.C:
10996         * lyxtext.h:
10997         * text.C:
10998         * text2.C:
10999         * BufferView.h:
11000         * BufferView2.C: use WordLangTuple
11001
11002         * layout.h:
11003         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11004
11005 2002-08-06  John Levon  <levon@movementarian.org>
11006
11007         * lyx_main.C: fix cmdline batch handling
11008
11009 2002-08-06  André Pönitz <poenitz@gmx.net>
11010
11011         * lyxrc.C: set default for show_banner to true
11012
11013 2002-08-06  John Levon  <levon@movementarian.org>
11014
11015         * pspell.C: fix a crash, and allow new aspell to work
11016
11017 2002-08-06  John Levon  <levon@movementarian.org>
11018
11019         * lyxfunc.C:
11020         * kbmap.C: small cleanup
11021
11022         * vspace.h:
11023         * vspace.C: add const
11024
11025 2002-08-05  John Levon  <levon@movementarian.org>
11026
11027         * LyXAction.C: back to tabular-insert
11028
11029 2002-08-04  John Levon  <levon@movementarian.org>
11030
11031         * BufferView.h:
11032         * BufferView.C: cosmetic change
11033
11034         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11035
11036         * bufferlist.C:
11037         * buffer.h:
11038         * buffer.C:
11039         * lyxcb.h:
11040         * lyxcb.C:
11041         * lyxserver.C:
11042         * lyxvc.C:
11043         * vc-backend.C:
11044         * BufferView2.C: purge all "Lyx" not "LyX" strings
11045
11046         * lyxcursor.h:
11047         * lyxcursor.C: attempt to add some documentation
11048
11049         * lyxfunc.C:
11050         * commandtags.h:
11051         * LyXAction.C:
11052         * ToolbarDefaults.C:
11053         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11054           merge with LFUN_TABULAR_INSERT
11055
11056         * Makefile.am:
11057         * SpellBase.h:
11058         * ispell.h:
11059         * ispell.C:
11060         * pspell.h:
11061         * pspell.C: split up i/pspell implementations into separate
11062           files, many cleanups
11063
11064         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11065
11066         * text2.C: some cleanup
11067
11068         * lyxfunc.C: don't check for isp_command == "none" any more, it
11069           didn't make any sense
11070
11071 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11072
11073         * counters.[Ch]
11074         * text2.C
11075         * paragraph.[Ch]
11076         * makefile.am: move counters functionality over
11077         from text2.C/paragraph.[Ch] to counters.[Ch], and
11078         make proper C++.
11079 2002-08-02  John Levon  <levon@movementarian.org>
11080
11081         * buffer.C: s/lyxconvert/lyx2lyx/
11082
11083 2002-08-02  Angus Leeming  <leeming@lyx.org>
11084
11085         * lyxlex.C: revert John's change as it breaks reading of the user
11086         preamble.
11087
11088 2002-08-02  Angus Leeming  <leeming@lyx.org>
11089
11090         * importer.C (Import):
11091         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11092         changes due to LyXView::view() now returning a boost::shared_ptr.
11093
11094 2002-08-02  John Levon  <levon@movementarian.org>
11095
11096         * lyxlex.C: small cleanup
11097
11098 2002-08-02  John Levon  <levon@movementarian.org>
11099
11100         * text2.C (status): small cleanup, no logic change
11101
11102 2002-08-01  John Levon  <levon@movementarian.org>
11103
11104         * buffer.h:
11105         * buffer.C (writeFile): don't output alerts, caller
11106           handles this
11107
11108         * bufferlist.C:
11109         * lyx_cb.C: from above
11110
11111         * lyxfunc.C: allow to open non-existent files
11112
11113 2002-07-31  John Levon  <levon@movementarian.org>
11114
11115         * lyxserver.C: don't let incidental errors get
11116           in the way (errno)
11117
11118 2002-07-30  John Levon  <levon@movementarian.org>
11119
11120         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11121
11122 2002-07-30  John Levon  <levon@movementarian.org>
11123
11124         * lyxserver.h:
11125         * lyxserver.C: remove I/O callback too
11126
11127 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11128
11129         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11130         log.
11131
11132 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11133
11134         * many files: strip,frontStrip -> trim,ltrim,rtrim
11135
11136 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11137
11138         * PrinterParams.h: remove extern containsOnly, and include
11139         support/lstrings.h instead.
11140
11141         * LaTeX.C (scanAuxFile): modify because of strip changes
11142         (deplog): ditto
11143         * buffer.C (makeLaTeXFile): ditto
11144         * bufferparams.C (writeFile): ditt
11145         * lyxfont.C (stateText): ditto
11146         * lyxserver.C (read_ready): ditto
11147         * vc-backend.C (scanMaster): ditto
11148
11149         * BufferView_pimpl.h: ws changes
11150
11151         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11152
11153 2002-07-26  André Pönitz <poenitz@gmx.net>
11154
11155         * kb_sequence.C: remove unnedred usings
11156
11157 2002-07-26  Juergen Vigna  <jug@sad.it>
11158
11159         * lyxfind.C (LyXReplace): we have to check better if the returned
11160         text is not of theLockingInset()->getLockingInset().
11161
11162 2002-07-25  Juergen Vigna  <jug@sad.it>
11163
11164         * lyxfind.C (LyXReplace): don't replace if we don't get the
11165         right LyXText.
11166
11167         * undo_funcs.C (createUndo): remove debugging code.
11168
11169 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11170
11171         * buffer.C (parseSingleLyXformat2Token): Use default placement
11172         when reading old floats.
11173
11174         * FloatList.C (FloatList): Change the default placement of figure
11175         and tables to "tbp".
11176
11177 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11178
11179         * MenuBackend.C: using std::max
11180
11181 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11182
11183         * MenuBackend.C (expandToc):
11184         (expandToc2): code moved from xforms menu frontend. It is now
11185         generic and TOCs are transparent to menu frontends.
11186
11187 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11188
11189         * toc.C (getTocList): protect against buf=0
11190
11191         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11192         Menu as first parameter. Now, this calls itself recursively to
11193         expand a whole tree (this will be useful for TOC handling)
11194         (expandFloatInsert): remove 'wide' version of floats
11195
11196         * MenuBackend.h (submenuname): returns the name of the submenu.
11197         (submenu): returns the submenu itself, provided it has been
11198         created by MenuBackend::expand
11199
11200 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11201
11202         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11203         insets which have noFontChange == true. (bug #172)
11204
11205 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11206
11207         * BufferView_pimpl.C: add connection objects and use them...
11208         (Pimpl): here.
11209
11210 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11211
11212         * MenuBackend.C (expandLastfiles):
11213         (expandDocuments):
11214         (expandFormats):
11215         (expandFloatListInsert):
11216         (expandFloatInsert):
11217         (expand): split expand in parts
11218
11219 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11220
11221         * lyx_gui.C: use lyx_gui::exit()
11222
11223 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11224
11225         * LyXAction.C: show the failing pseudo action
11226
11227 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11228
11229         * buffer.C (readFile): Run the lyxconvert script in order to read
11230         old files.
11231
11232 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11233
11234         * LyXAction.C:
11235         * commandtags.h:
11236         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11237
11238 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11239
11240         * LyXAction.C:
11241         * commandtags.h:
11242         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11243
11244 2002-07-22  Herbert Voss  <voss@lyx.org>
11245
11246         * lengthcommon.C:
11247         * lyxlength.[Ch]: add support for the vertical lengths
11248
11249 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11250
11251         * toc.[Ch]: std:: fixes
11252
11253 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11254
11255         * lyxrc.C: do not include lyx_main.h
11256
11257         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11258         for layouts
11259
11260         * lyxrc.C:
11261         * encoding.C:
11262         * bufferlist.C:
11263         * BufferView2.C: include "lyxlex.h"
11264
11265         * tabular.h:
11266         * bufferparams.h: do not #include "lyxlex.h"
11267
11268         * lyxtextclasslist.C (Add): remove method
11269         (classlist): renamed to classlist_
11270
11271         * paragraph_pimpl.C:
11272         * paragraph.C:
11273         * text2.C:
11274         * CutAndPaste.C:
11275         * bufferview_funcs.C:
11276         * bufferlist.C:
11277         * text.C:
11278         * LaTeXFeatures.C:
11279         * buffer.C:
11280         * toc.C (getTocList): use BufferParams::getLyXTextClass
11281
11282         * toc.C (getTocList): use InsetFloat::addToToc
11283
11284         * toc.[Ch]: new files, containing helper functions to handle table
11285         of contents
11286
11287         * lyxfunc.C (dispatch): no need to remove spaces around command
11288         given as a string
11289         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11290         first command of the sequence; it is not very clever, but I do not
11291         have a better idea, actually
11292
11293         * LyXAction.C (LookupFunc): make sure to remove space at the
11294         beginning and end of the command
11295
11296 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11297
11298         * MenuBackend.C (getMenubar): new method: return the menubar of
11299         this menu set
11300         (read): treat differently reading of menu and menubar (in
11301         particular, the menubar has no name now)
11302         (Menu::menubar): remove
11303
11304         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11305         saving is finished
11306
11307 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11308
11309         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11310         a bibitem inset in a RTL paragraph.
11311
11312 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11313
11314         * paragraph_pimpl.C: constify
11315
11316         * BufferView_pimpl.C:
11317         * LaTeX.C:
11318         * lyxfunc.C: fix dispatch in a nicer way
11319
11320 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11321
11322         * lyxfunc.C (dispatch):
11323         * BufferView_pimpl.C:
11324         * BufferView_pimpl.h:
11325         * BufferView.C:
11326         * BufferView.h: rename Dispatch() to dispatch()
11327
11328         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11329
11330         * lyxlayout.C (Read): honor DependsOn tag
11331
11332         * lyxlayout.[Ch] (depends_on): new method
11333
11334         * version.C.in: update lyx_docversion
11335
11336         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11337
11338         * paragraph.C (validate): remove from here...
11339         * paragraph_pimpl.C (validate): ... and move here
11340         (isTextAt): make it const
11341
11342         * buffer.C (getLists): ws cleanup
11343
11344 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11345
11346         * language.C (read): Use iso8859-1 encoding in latex_lang
11347         (this prevents LyX from crashing when using iso10646-1 encoding).
11348
11349 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11350
11351         * text2.C (toggleInset): if cursor is inside an inset, close the
11352         inset and leave cursor _after_ it
11353
11354 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11355
11356         * lyxfunc.C: move minibuffer completion handling out of here
11357
11358 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11359
11360         * BufferView_pimpl.C:
11361         * LaTeX.C: fix dispatch calls
11362
11363 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11364
11365         * text.C (drawChars): Fix Arabic text rendering.
11366
11367 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11368
11369         * LyXAction.C:
11370         * commandtags.h:
11371         * lyxfunc.C: remove message-push/pop
11372
11373         * lyxserver.C:
11374         * lyxfunc.h:
11375         * lyxfunc.C: rationalise some code by removing verboseDispatch
11376           in favour of a bool argument to dispatch()
11377
11378 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11379
11380         * lyx_main.C (init): make sure to read symlinks as absolute paths
11381
11382 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11383
11384         * lyxfunc.h:
11385         * lyxfunc.C: no need for commandshortcut to be a member
11386
11387 2002-07-15  André Pönitz <poenitz@gmx.net>
11388
11389         * converter.C: add support for $$s (scripts from lib/scripts dir)
11390         * lyx_main.C: white space
11391
11392 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11393
11394         * bufferlist.C:
11395         * lyxrc.h:
11396         * lyxrc.C: remove second exit confirmation
11397
11398 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11399
11400         * BufferView.h:
11401         * BufferView.C:
11402         * BufferView2.C:
11403         * BufferView_pimpl.h:
11404         * BufferView_pimpl.C:
11405         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
11406
11407 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11408
11409         * MenuBackend.C (expand): add numeric shortcuts to document menu
11410
11411         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
11412
11413 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11414
11415         * lyxfont.C (setLyXFamily):
11416         (setLyXSeries):
11417         (setLyXShape):
11418         (setLyXSize):
11419         (setLyXMisc):
11420         (lyxRead):
11421         * debug.C (value):
11422         * buffer.C (asciiParagraph): use ascii_lowercase
11423
11424 2002-07-15  Mike Fabian  <mfabian@suse.de>
11425
11426         * lyxlex_pimpl.C (search_kw):
11427         * lyxlex.C (getLongString):
11428         * converter.h (operator<):
11429         * converter.C (operator<):
11430         * buffer.C (parseSingleLyXformat2Token):
11431         (asciiParagraph):
11432         * ToolbarDefaults.C (read):
11433         * MenuBackend.C (checkShortcuts):
11434         (read):
11435         * LColor.C (getFromGUIName):
11436         (getFromLyXName): use the compare_ascii_no_case instead of
11437         compare_no_case, because in turkish, 'i' is not the lowercase
11438         version of 'I', and thus turkish locale breaks parsing of tags.
11439
11440 2002-07-16  Angus Leeming  <leeming@lyx.org>
11441
11442         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
11443         now takes a Buffer const & argument.
11444
11445 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * BufferView.C (resize): check there's a buffer to resize
11448
11449 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
11450
11451         * lyxfunc.C: remove dead code
11452
11453         * lyxserver.h:
11454         * lyxserver.C: use lyx_guii::set_read_callback
11455
11456 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11457
11458         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
11459         an inset in a RTL paragraph.
11460
11461 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11462
11463         * lyxfunc.C: repaint after a font size update
11464
11465 2002-07-15  André Pönitz <poenitz@gmx.net>
11466
11467         * lyxlength.C: inBP should be able to return negative values
11468
11469 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11470
11471         * lyxfunc.C: use lyx_gui::update_fonts()
11472
11473 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
11474
11475         * lyxfunc.C: use lyx_gui::update_color()
11476
11477 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11478
11479         * bufferlist.C:
11480         * lyxfunc.h:
11481         * lyxfunc.C:
11482         * lyxrc.h:
11483         * lyxrc.C: remove file->new asks for name option, and let
11484           buffer-new take an argument
11485
11486 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
11487
11488         * BufferView_pimpl.C: remove unneeded extra repaint()
11489
11490 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
11491
11492         * LyXAction.C: allow command-sequence with NoBuffer
11493
11494         * lyxfunc.C: don't insist on trailing ';' for command-sequence
11495
11496 2002-07-10  Angus Leeming  <leeming@lyx.org>
11497
11498         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
11499
11500 2002-07-09  Angus Leeming  <leeming@lyx.org>
11501
11502         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
11503
11504 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11505
11506         * lengthcommon.h: whitespace
11507
11508         * lyxfunc.C: update scrollbar after goto paragraph
11509
11510         * lyxtext.h: factor out page break drawing, and fix it so
11511           page break/added space paints as selected nicely
11512
11513 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
11514
11515         * BufferView_pimpl.C: add FIXMEs, clean up a little
11516
11517 2002-07-09  André Pönitz <poenitz@gmx.net>
11518
11519         * lyxfont.[Ch]: support for wasy symbols
11520
11521 2002-07-08  André Pönitz <poenitz@gmx.net>
11522
11523         * BufferView_pimpl.C: apply John's patch for #93.
11524
11525 2002-07-05  Angus Leeming  <leeming@lyx.org>
11526
11527         * BufferView_pimpl.C (buffer): generate previews if desired.
11528
11529         * LColor.h: add "preview" to the color enum.
11530
11531         * LColor.C (LColor): add a corresponding entry to the items array.
11532
11533         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
11534         with this buffer.
11535
11536 2002-07-05  Angus Leeming  <leeming@lyx.org>
11537
11538         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
11539         The body of the code is now in the method that is passed an ostream &
11540         rather than a file name.
11541         Pass an additional only_preamble parameter, useful for the forthcoming
11542         preview stuff.
11543
11544 2002-07-03  André Pönitz <poenitz@gmx.net>
11545
11546         * lyxfunc.C: simplify getStatus() a bit for math stuff
11547
11548 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11549
11550         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
11551
11552 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11553
11554         * text.C (changeRegionCase): do not change case of all the
11555         document when region ends at paragraph end (bug #461)
11556
11557 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11558
11559         * paragraph.C (startTeXParParams):
11560         (endTeXParParams): add \protect when necessary
11561
11562 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11563
11564         * BufferView_pimpl.C (workAreaExpose): remove warning
11565
11566 2002-06-27  Angus Leeming  <leeming@lyx.org>
11567
11568         * Makefile.am: add lyxlayout_ptr_fwd.h.
11569
11570 2002-06-26  André Pönitz <poenitz@gmx.net>
11571
11572         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
11573
11574 2002-06-25  Angus Leeming  <leeming@lyx.org>
11575
11576         * lyxfunc.C (dispatch): Comment out the call to
11577         grfx::GCache::changeDisplay. The method no longer exists now that the
11578         pixmap generation part of the graphics loader has been moved into
11579         InsetGraphics.
11580
11581 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11582
11583         * text2.C: layout as layout
11584
11585         * text.C: layout as layout
11586
11587         * tabular.C (OldFormatRead): layout as layout
11588
11589         * paragraph_pimpl.C (TeXDeeper): layout as layout
11590         (realizeFont): layout as layout
11591
11592         * paragraph.C (writeFile): layout as layout
11593         (validate): layout as layout
11594         (getFont): layout as layout
11595         (getLabelFont): layout as layout
11596         (getLayoutFont): layout as layout
11597         (breakParagraph): layout as layout
11598         (stripLeadingSpaces): layout as layout
11599         (getEndLabel): layout as layout
11600         (getMaxDepthAfter): layout as layout
11601         (applyLayout): layout as layout
11602         (TeXOnePar): layout as layout
11603         (simpleTeXOnePar): layout as layout
11604         (TeXEnvironment): layout as layout
11605         (layout): layout as layout
11606         (layout): layout as layout
11607
11608         * lyxtextclass.C (compare_name): new functor to work with
11609         shared_ptr, layout as layout
11610         (Read): layout as layout
11611         (hasLayout): layout as layout
11612         (operator): layout as layout
11613         (delete_layout): layout as layout
11614         (defaultLayout): layout as layout
11615
11616         * lyxlayout_ptr_fwd.h: new file
11617
11618         * lyxlayout.C (Read): layout as layout
11619
11620         * lyx_cb.C (MenuInsertLabel): layout as layout
11621
11622         * bufferlist.C (newFile): layout as layout
11623
11624         * buffer.C (readLyXformat2): layout as layout
11625         (parseSingleLyXformat2Token): layout as layout
11626         (insertStringAsLines): layout as layout
11627         (asciiParagraph): layout as layout
11628         (latexParagraphs): layout as layout
11629         (makeLinuxDocFile): layout as layout
11630         (simpleLinuxDocOnePar): layout as layout
11631         (makeDocBookFile): layout as layout
11632         (simpleDocBookOnePar): layout as layout
11633         (getLists): layout as layout
11634
11635         * LaTeXFeatures.C (getTClassPreamble): layout as layout
11636
11637         * CutAndPaste.C (cutSelection): layout as layout
11638         (pasteSelection): layout as layout
11639         (SwitchLayoutsBetweenClasses): layout as layout
11640
11641         * BufferView_pimpl.C (Dispatch): layout as layout
11642         (smartQuote): layout as layout
11643
11644         * BufferView2.C (unlockInset): layout as layout
11645
11646 2002-06-24  André Pönitz <poenitz@gmx.net>
11647
11648         * lyxfunc.C: fix #487
11649
11650 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11651
11652         * lyxrc.h:
11653         * lyxrc.C:
11654         * lyxfunc.C: remove display_shortcuts, show_banner
11655
11656 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11657
11658         * Buffer_pimpl.C: oops, update on resize
11659
11660 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11661
11662         * buffer.C:
11663         * converter.C:
11664         * exporter.C:
11665         * lyxfunc.C:
11666         * BufferView.h:
11667         * BufferView.C: use repaint()
11668
11669         * BufferView_pimpl.h:
11670         * BufferView_pimpl.C: s/updateScreen()/repaint()/
11671           as it's a clearer description. Remove superfluous
11672           redraws.
11673
11674 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
11675
11676         * text.C: fix bug 488. Not ideal, but getting
11677           getWord() to work properly for the insets that
11678           matter is more difficult ...
11679
11680 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11681
11682         * BufferView_pimpl.C:
11683         * LyXAction.C:
11684         * commandtags.h:
11685         * lyxfunc.C: remove the six million index lyxfuncs to just
11686           one, and DTRT (bug 458)
11687
11688 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11689
11690         * BufferView.h:
11691         * BufferView.C:
11692         * BufferView_pimpl.h:
11693         * BufferView_pimpl.C: clean up resize() stuff,
11694           and unnecessary updateScreen()s
11695
11696 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
11697
11698         * BufferView.h:
11699         * BufferView.C:
11700         * BufferView_pimpl.h:
11701         * BufferView_pimpl.C:
11702         * lyxfind.h:
11703         * lyxfind.C:
11704         * minibuffer.C: remove focus management of workarea,
11705           not needed. Use screen's greyOut()
11706
11707 2002-06-17  Herbert Voss  <voss@lyx.org>
11708
11709         * converter.C: (convert) do not post a message, when converting
11710         fails, let the calling function decide what to do in this case
11711
11712 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
11713
11714         * lyxfunc.C: tidy up a little
11715
11716 2002-06-16    <alstrup@diku.dk>
11717
11718         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11719         Got rid of FORMS_H_LOCATION include. Now we are
11720         GUII.
11721
11722 2002-06-15  LyX Development team  <lyx@rilke>
11723
11724         * buffer.[Ch] (sgmlOpenTag):
11725         (sgmlCloseTag): Added support for avoiding pernicious mixed
11726         content. Return number of lines written.
11727
11728         (makeLinuxDocFile):
11729         (makeDocBookFile): Fixed calls to sgml*Tag.
11730         Simple white space clean.
11731
11732         (simpleDocBookOnePar): Simple white space clean.
11733
11734         * tabular.[Ch] (docBook): Renamed to docbook and got another
11735         argument to related with the pernicious mixed content.
11736
11737         (docbookRow): Fixed calls for docbook inset method.
11738
11739 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
11740
11741         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11742         so it's X11 independent.
11743
11744         * kb*.[Ch]: ditto.
11745
11746         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11747
11748 2002-06-15  Lyx Development team  <lyx@electronia>
11749
11750         * intl.h: Renamed getTrans to getTransManager.
11751
11752 2002-06-14  Angus Leeming  <leeming@lyx.org>
11753
11754         * Makefile.am: nuke forgotten stl_string_fwd.h.
11755
11756 2002-06-12  Angus Leeming  <leeming@lyx.org>
11757
11758         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11759
11760 2002-06-13  Angus Leeming  <leeming@lyx.org>
11761
11762         * LaTeX.C:
11763         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11764
11765 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
11766
11767         * kbmap.C (getiso): add support for cyrillic and greek
11768
11769 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11770
11771         * BufferView.h:
11772         * BufferView.C:
11773         * BufferView_pimpl.h:
11774         * BufferView_pimpl.C: move bogus scrolling logic
11775           to xforms
11776
11777 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11778
11779         * lyxfunc.C:
11780         * BufferView_pimpl.C: view->resize() change
11781
11782 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11783
11784         * BufferView_pimpl.C: topCursorVisible
11785           prototype change
11786
11787 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11788
11789         * Makefile.am:
11790         * lyx_gui.h:
11791         * lyx_gui.C: move to frontends/
11792
11793         * main.C:
11794         * lyx_main.h:
11795         * lyx_main.C: changes from above
11796
11797 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11798
11799         * intl.C:
11800         * intl.h:
11801         * kbmap.C:
11802         * kbsequence.C:
11803         * lyx_cb.C:
11804         * lyx_main.C: minor tidy
11805
11806 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11807
11808         * BufferView_pimpl.h:
11809         * BufferView_pimpl.C:
11810         * BufferView.h:
11811         * BufferView.C: make painter() const,
11812           remove dead code
11813
11814         * BufferView2.C: use screen() accessor
11815
11816         * lyx_main.h:
11817         * lyx_main.C: some minor cleanup
11818
11819 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11820
11821         * BufferView_pimpl.h:
11822         * BufferView_pimpl.C: remove enter/leaveView,
11823           use workHeight()
11824
11825 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
11826
11827         * BufferView.h:
11828         * BufferView.C:
11829         * BufferView2.C:
11830         * BufferView_pimpl.h:
11831         * BufferView_pimpl.C: only construct screen once,
11832           rename
11833
11834         * lyxrc.C: remove pointless comment
11835
11836 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11837
11838         * BufferView.h:
11839         * BufferView.C: remove active() and belowMouse()
11840
11841         * BufferView_pimpl.h:
11842         * BufferView_pimpl.C: use workarea() not workarea_,
11843           and make it use a scoped_ptr instead
11844
11845 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
11846
11847         * lyx_gui.C: add debug message on BadWindow
11848
11849 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11850
11851         * sp_spell.C: fdopen is not part of the C++ standard.
11852
11853         * paragraph.C (InsetIterator): use >= instead of ==
11854
11855 2002-06-07  Angus Leeming  <leeming@lyx.org>
11856
11857         Fixes needed to compile with Compaq cxx 6.5.
11858         * BufferView_pimpl.C:
11859         * DepTable.C:
11860         * buffer.C:
11861         * converter.C:
11862         * encoding.C:
11863         * lyx_gui.C:
11864         * lyx_main.C:
11865         * lyxtextclasslist.C:
11866         * minibuffer.C:
11867         * sp_spell.C:
11868         * tabular_funcs.C:
11869         * vc-backend.C:
11870         all c-library variables have been moved into namespace std. Wrap
11871         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11872
11873         * lyxlength.C:
11874         * tabular-old.C:
11875         * tabular.C:
11876         Add a using std::abs declaration.
11877
11878         * kbmap.h (modifier_pair):
11879         * paragraph.h (InsetTable, InsetList):
11880         * lyxfont.h (FontBits):
11881         type definition made public.
11882
11883         * bufferlist.C (emergencyWriteAll): the compiler complains that
11884         there is more than one possible lyx::class_fun template to choose from.
11885         I re-named the void specialisation as lyx::void_class_fun.
11886
11887         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11888
11889         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11890         the compiler is is unable to find tostr in write_attribute.
11891
11892 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11893
11894         * buffer.C (sgmlError): hide #warning
11895
11896 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11897
11898         * xtl/*: get rid of xtl, which is not in use anyway
11899
11900         * LyXAction.C (init):
11901         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11902         were unimplemented xtl experimentation
11903
11904 2002-06-04  André Pönitz <poenitz@gmx.net>
11905
11906         * lyxfunc.C: disable array operation on simple formulae
11907
11908 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
11909
11910         * converter.C: constify a bit
11911
11912 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
11913
11914         * lyx_gui.C: check xforms version correctly
11915
11916 2002-04-30  Herbert Voss  <voss@lyx.org>
11917
11918         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11919         "keep" option
11920
11921 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
11922
11923         * lyxvc.C: fix bug 416 (make sure buffer is saved before
11924           attempt to register it with a VCS)
11925
11926 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11927
11928         * lyx_main.C (init): honor variables LYX_DIR_13x and
11929         LYX_USERDIR_13x
11930
11931 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11932
11933         * buffer.h:
11934         * buffer.C:
11935         * lyx_main.C: fix a crash on bad command line,
11936           and give a useful exit status on error
11937
11938         * lyxfunc.C (doImport): allow -i lyx to work
11939
11940 2002-03-30  André Pönitz <poenitz@gmx.net>
11941
11942         * lyxfunc.C: mathed font changes
11943
11944 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
11945
11946         * LaTeX.C:
11947         * importer.h:
11948         * importer.C:
11949         * lyx_sty.h:
11950         * lyx_sty.C:
11951         * lyxlex.C:
11952         * lyxrow.h:
11953         * lyxtext.h:
11954         * paragraph.h:
11955         * paragraph.C:
11956         * texrow.h:
11957         * texrow.C:
11958         * text.C:
11959         * trans_mgr.h: srcdocs, and some minor cleanups
11960
11961 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11962
11963         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11964         call getFont all the time)
11965
11966 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11967
11968         * switch from SigC signals to boost::signals
11969
11970 2002-05-29  André Pönitz <poenitz@gmx.net>
11971
11972         * paragraph_pimpl.C (getChar): don't call size() too often...
11973
11974 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11975
11976         * paragraph_pimpl.C (insertChar): do not try to update tables when
11977         appending (pos == size())
11978
11979         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11980         in order to reduce drastically the number of comparisons needed to
11981         parse a large document
11982
11983 2002-05-29  André Pönitz <poenitz@gmx.net>
11984
11985         * text.C:
11986         * text2.C:
11987         * lyxtextclass.C:
11988         * sp_pspell.h:
11989         * textclasslist.[Ch]:
11990         * sp_ispell.h: whitespace change
11991
11992 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11993
11994         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11995         lyxaction directly now.
11996
11997 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
11998
11999         * trans.C:
12000         * lyxfont.C:
12001         * lyxvc.C: remove unused headers
12002
12003 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12004
12005         * Makefile.am:
12006         * buffer.h:
12007         * undostack.h:
12008         * undostack.C:
12009         * undo_funcs.h:
12010         * undo_funcs.C: some cleanups. Use shared_ptr
12011           and a template for the undo stacks.
12012
12013 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12014
12015         * BufferView_pimpl.h:
12016         * BufferView_pimpl.C:
12017         * kbmap.h:
12018         * kbmap.C:
12019         * kbsequence.h:
12020         * kbsequence.C:
12021         * lyxfunc.h:
12022         * lyxfunc.C:
12023         * text2.C: use key_state/mouse_state
12024
12025 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12026
12027         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12028         and LSubstring
12029
12030         * chset.C: change include order
12031         (loadFile): use boost regex and get rid of LRegex and LSubstring
12032
12033         * Makefile.am (BOOST_LIBS): new variable
12034         (lyx_LDADD): use it
12035
12036         * LaTeX.C: change include order.
12037         (scanAuxFile): use boost regex and get rid of LRegex and
12038         LSubstring
12039         (deplog): ditto
12040
12041 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12042
12043         * ColorHandler.h:
12044         * ColorHandler.C:
12045         * FontInfo.h:
12046         * FontInfo.C: moved to frontends/xforms/
12047
12048         * FontLoader.h:
12049         * FontLoader.C: moved into frontends for GUIIzation
12050
12051         * Makefile.am:
12052         * lyx_gui.C:
12053         * lyxfont.C:
12054         * lyxfunc.C: changes from above
12055
12056 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12057
12058         * LColor.C: remove spurious X include
12059
12060         * BufferView_pimpl.C:
12061         * Makefile.am:
12062         * font.h:
12063         * font.C:
12064         * text.C:
12065         * text2.C: move font metrics to frontends/
12066
12067 2002-05-24  Juergen Vigna  <jug@sad.it>
12068
12069         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12070         setting the undo_cursor.
12071
12072         * ParagraphParameters.h: include local includes first.
12073
12074 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12075
12076         * BufferView_pimpl.C:
12077         * BufferView_pimpl.h:
12078         * Makefile.am:
12079         * WorkArea.h:
12080         * WorkArea.C:
12081         * screen.C: move WorkArea into frontends/
12082
12083         * lyxscreen.h:
12084         * screen.C:
12085         * text.C:
12086         * BufferView.C:
12087         * BufferView2.C: move LyXScreen into frontends/
12088
12089         * lyxlookup.h:
12090         * lyxlookup.C:
12091         * lyx_gui.C: move lyxlookup into frontends/xforms/
12092
12093 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12094
12095         * BufferView2.C:
12096         * BufferView_pimpl.C:
12097         * FontLoader.C:
12098         * LyXView.h:
12099         * LyXView.C:
12100         * Makefile.am:
12101         * WorkArea.C:
12102         * XFormsView.h:
12103         * XFormsView.C:
12104         * buffer.C:
12105         * bufferlist.C:
12106         * bufferview_funcs.C:
12107         * converter.C:
12108         * importer.C:
12109         * lyx_cb.C:
12110         * lyx_gui.C:
12111         * lyx_main.C:
12112         * lyx_find.C:
12113         * lyxfunc.C:
12114         * lyxvc.C:
12115         * minibuffer.C:
12116         * text.C:
12117         * text2.C:
12118         * trans.C:
12119         * vc-backend.C: move LyX/XFormsView into frontends/
12120
12121 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12122
12123         * Makefile.am:
12124         * PainterBase.C:
12125         * PainterBase.h:
12126         * Painter.C:
12127         * Painter.h:
12128         * WorkArea.C:
12129         * WorkArea.h:
12130         * screen.C:
12131         * tabular.C:
12132         * text.C:
12133         * text2.C: move Painter to frontends/
12134
12135 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12136
12137         * buffer.C: comment out some some code that depend upon lyx_format
12138         < 220
12139
12140         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12141         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12142
12143         * buffer.h (NO_COMPABILITY): turn off compability
12144
12145         * ColorHandler.C: include scoped_array.hpp
12146
12147         * font.C: Use more specific smart_ptr header.
12148         * Painter.C: ditto
12149         * gettext.C: ditto
12150         * ShareContainer.h: ditto
12151         * lyx_main.h: ditto
12152         * kbmap.h: ditto
12153         * FontInfo.h: ditto
12154         * BufferView_pimpl.h: ditto
12155         * ColorHandler.h: ditto
12156
12157         * kbmap.C (defkey): change call to shared_ptr::reset
12158
12159 2002-05-21  Juergen Vigna  <jug@sad.it>
12160
12161         * buffer.C (insertErtContents): fix to insert ert asis if it is
12162         non empty. Skip it completely if it contains only whitespaces.
12163
12164 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12165
12166         * BufferView_pimpl.C:
12167         * BufferView2.C: clear selection on paste (bug 393)
12168
12169 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12170
12171         * DepTable.C: include ctime
12172
12173 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12174
12175         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12176
12177 2002-05-14  Juergen Vigna  <jug@sad.it>
12178
12179         * text.C (breakParagraph): fixed function to honor the keepempty
12180         layout in the right maner and also to permit the right breaking
12181         algorithm on empty or non empyt keepempty paragraphs.
12182
12183         * paragraph.C (breakParagraph): we have to check also if the par
12184         is really empty (!size()) for isempty otherwise we do the wrong
12185         paragraph break.
12186
12187 2002-05-10  Juergen Vigna  <jug@sad.it>
12188
12189         * buffer.[Ch] : The following are only changes to the ert
12190         compatibility read reading old LaTeX layout and font stuff and
12191         convert it to ERTInsets.
12192
12193         * buffer.h: added isErtInset().
12194
12195         * buffer.C (struct ErtComp): add a fromlayout bool to check
12196         if we're inside a LaTeX layout.
12197         (isErtInset): new helper function.
12198         (insertErtContents): look for other ert insets before this one
12199         and insert the contents there, so that we don't have subsequent
12200         ERT insets with nothing between them. This way we create only one
12201         inset with multiple paragraphs. Also check if we don't insert only
12202         spaces ' ' as they are ignored anyway afterwards in the .tex file
12203         so if we have only spaces we will ignore this latex part in the
12204         new file.
12205         (parseSingleLyXformat2Token \\layout): better compatibility when
12206         reading layout-latex stuff.
12207         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12208         language tag.
12209         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12210         stuff after reading the inset only get the information back from
12211         the stack.
12212
12213 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12214
12215         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12216
12217         * LaTeXFeatures.C (getBabelOptions): New method.
12218
12219 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12220
12221         * BufferView_pimpl.C (Dispatch): work around missing argument for
12222         'layout'
12223
12224 2002-05-08  Juergen Vigna  <jug@sad.it>
12225
12226         * text.C (leftMargin): handle paragraph leftindent.
12227
12228         * paragraph.C (writeFile): write the new \\leftindent tag.
12229         (validate): handle leftindent code.
12230         (TeXEnvironment): handle paragraphleftindent code again.
12231
12232         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12233
12234         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12235         for paragrap_extra indent code and new token \\leftindent.
12236         (latexParagraphs): handle the leftindent as environment.
12237
12238         * ParameterStruct.h: added leftindent support.
12239
12240         * ParagraphParameters.C (leftIndent): added support functions for
12241         the paragraph left indent.
12242
12243         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12244         more appropriate.
12245
12246 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12247
12248         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12249         inside insetERT.
12250
12251         * text.C (computeBidiTables): No bidi in insetERT.
12252
12253         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12254         in RTL documents.
12255
12256 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12257
12258         * version.C.in: pre 5
12259
12260 2002-05-02  José Matos  <jamatos@fep.up.pt>
12261         * buffer.C (makeDocBookFile): white space changes, add newline to
12262         command styles.
12263         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12264
12265         * tabular.C (docBook): fix typo.
12266
12267 2002-05-03  Juergen Vigna  <jug@sad.it>
12268
12269         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12270         change in LyXText as we can not be sure it was not freed.
12271         (drawOneRow): remove unused code.
12272
12273         * text.C (drawInset): redo the calculation of the need_break_row as
12274         it could have a row which was already freed.
12275         (draw): look at the return value of drawInset and return false if
12276         it also returned false.
12277         (paintRowText): look at the return value of draw and return false if
12278         it also returned false.
12279
12280         * lyxtext.h: added bool return type to drawInset() and draw() so that
12281         if we have a change in the row so that the rowbreak has to be redone
12282         we abort drawing as it will be called again.
12283
12284 2002-05-02  Juergen Vigna  <jug@sad.it>
12285
12286         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12287         a change in the maintext also if we're inside an inset.
12288         (Dispatch): set the cursor again after a break line and after the
12289         screen has been updated as it could be we're in a different row.
12290
12291         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12292         to set the cursor behind the pargraph with > size().
12293         (setCursor): check also for the same paragraph when checking where
12294         to put the cursor if we have a NFR inset.
12295
12296         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12297         parts of layout read further up as it still was in the wrong
12298         position.
12299
12300 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12301
12302         * screen.C (drawFromTo): change sine fullRebreak always return
12303         true.
12304
12305         * buffer.C (parseSingleLyXformat2Token): reindent some
12306
12307         * BufferView_pimpl.C (update): change since fullRebreak always
12308         return true.
12309         (Dispatch): git rid of the last hardcoded "Standard"s.
12310
12311 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12312
12313         * text2.[Ch] (fullRebreak): make it return void now that we always
12314         returned true.
12315
12316 2002-04-30  Juergen Vigna  <jug@sad.it>
12317
12318         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12319         ert compatibility check for "latex" layout.
12320
12321 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12322
12323         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12324         minipages: use col% instead of p%, and also use the current font.
12325         (makeLaTeXFile): Fix use babel condition.
12326         (parseSingleLyXformat2Token): Correct font when reading old floats.
12327
12328 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12329
12330         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12331         inserting list of floats.
12332
12333 2002-04-25  Herbert Voss  <voss@lyx.org>
12334
12335         * MenuBackend.C (expand): don't add the graphics extensions to the
12336         export menu
12337
12338 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12339
12340         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12341         non-existing layout, do not complain if it was the default layout
12342         of the original class (bug #342)
12343
12344 2002-04-24  Juergen Vigna  <jug@sad.it>
12345
12346         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12347         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12348
12349 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12350
12351         * buffer.C (getBibkeyList): If using \bibliography, return the
12352         option field with the reference itself. Enables us to provide natbib
12353         support when using \bibliography.
12354
12355 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12356
12357         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12358
12359         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12360         natbib is provided by the LaTeX class.
12361
12362 2002-04-23  Juergen Vigna  <jug@sad.it>
12363
12364         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12365         Wakeup functions.
12366
12367         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12368
12369 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12370
12371         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12372
12373         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12374         ensuremath around textordmasculine, textordfeminine and
12375         textdegree.
12376
12377 2002-04-19  Juergen Vigna  <jug@sad.it>
12378
12379         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12380         reinitializing the buffer otherwise row-dimensions may be wrong.
12381         (update): reset also the selection cursors if they do exits otherwise
12382         their x/y positions may be wrong.
12383
12384         * text2.C (cursorDown): don't enter the inset if we came from a row
12385         above and are one row over the inset.
12386
12387         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12388         really leaving an inset.
12389
12390 2002-04-18  Juergen Vigna  <jug@sad.it>
12391
12392         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12393         of the selected paragraph does not have the selected layout also if
12394         the last one had!
12395
12396         * text2.C (setLayout): fixed bug which did not change last selected
12397         paragraph.
12398
12399         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
12400         changed the read and substituted \\end_float with \\end_inset!
12401
12402         * BufferView_pimpl.C (cursorPrevious):
12403         (cursorNext): fixed to make it work with rows heigher than the work
12404         area without moving the cursor only the draw of the row.
12405         (workAreaMotionNotify): fix jumping over high rows.
12406
12407 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12408
12409         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
12410         Ressler.
12411
12412 2002-04-16  Juergen Vigna  <jug@sad.it>
12413
12414         * text2.C (setCursor): set also the irow().
12415         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
12416         (cursorUp):
12417         (cursorDown): support for locking an inset if the x_fix value goes
12418         inside it. That way I can transverse insets too with cursor up/down.
12419
12420         * lyxrow.h: added irow helper function same as other (i) functions.
12421
12422         * BufferView_pimpl.C (cursorPrevious):
12423         (cursorNext): fixed for insets!
12424
12425 2002-04-15  Juergen Vigna  <jug@sad.it>
12426
12427         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
12428         position otherwise it is wrong in some cases.
12429
12430         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
12431         inside the inset before the call.
12432
12433 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
12434
12435         * buffer.[Ch] (getBibkeyList): make it const.
12436
12437 2002-04-12  Juergen Vigna  <jug@sad.it>
12438
12439         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
12440
12441         * text2.C (getCursorX): new helper function
12442         (setCursor): compute also ix_
12443         (setCursorFromCoordinates): set also ix.
12444
12445         * lyxcursor.h: added ix_ and helper functions.
12446
12447         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
12448
12449         * buffer.C (insertStringAsLines): dont break paragraph if the this
12450         paragraph is inside an inset which does not permit it!
12451
12452         * text.C (breakParagraph): honor keepempty flag and break the paragraph
12453         also with no chars on this paragraph.
12454         (paintRowText): only paint stuff if it's inside the workarea!
12455
12456         * paragraph.C (breakParagraph): honor keepempty flag and break the
12457         paragraph always below not above.
12458
12459         * BufferView2.C (unlockInset): update the paragraph layout on inset
12460         unlock as we changed paragraph in such a case.
12461
12462         * lyxfind.C (LyXFind): clear the former selection if not found!
12463
12464         * text2.C (insertInset): freeze Undo after setUndo so that it is not
12465         again called in insertChar().
12466
12467         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
12468         an inset which uses the whole row!
12469         (rightMargin): ditto.
12470         (insertChar): force a rebreak if we inserted an inset!
12471
12472 2002-03-28  Herbert Voss  <voss@lyx.org>
12473
12474         * lyxlength.[Ch]: add inBP() to get the right PS-point
12475         units (BigPoint). With inPixels we have rounding errors
12476
12477 2002-04-11  Juergen Vigna  <jug@sad.it>
12478
12479         * text2.C (setCursorFromCoordinates): set iy to the right value.
12480         (setCursor): add check if row->previous exists!
12481
12482         * buffer.C (parseSingleLyXformat2Token): reset font after read of
12483         an old float_type as this was the case in the old code!
12484
12485         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
12486
12487         * BufferView2.C (showLockedInsetCursor): use iy
12488         (fitLockedInsetCursor): ditto
12489
12490         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
12491         locked insets as there we have the right value now.
12492
12493         * lyxcursor.C: added iy_ variable and iy functions to set to the
12494         baseline of cursor-y of the locked inset.
12495
12496         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
12497         (setCursor): fixed for insets which need a full row.
12498
12499         * text.C (rowLastPrintable): don't ignore the last space when before
12500         an inset which needs a full row.
12501         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
12502         as last character of a row when before a inset which needs a full row.
12503
12504 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12505
12506         * version.C.in: update date
12507
12508         * text2.C (fullRebreak): try to always return true and see what
12509         happens...
12510
12511 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12512
12513         * MenuBackend.C (expand): use Floating::listName
12514
12515         * FloatList.C (FloatList): add listName argument to the built-in
12516         floats
12517
12518         * Floating.[Ch]: add listName member, which is the 'List of XXX'
12519         text associated with the float.
12520
12521 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12522
12523         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
12524
12525 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12526
12527         * ShareContainer.h: add a couple of missing typenames.
12528
12529 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
12530
12531         * lyxrc.C (getDescription): use _() correctly rather than N_().
12532
12533 2002-03-28  Herbert Voss  <voss@lyx.org>
12534
12535         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
12536         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
12537
12538 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12539
12540         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
12541         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
12542
12543 2002-03-29  Juergen Vigna  <jug@sad.it>
12544
12545         * lyxfunc.C (dispatch): add a missing fitCursor call.
12546
12547         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
12548         it was scrolled by a cursor move, so return the bool status.
12549
12550         * BufferView.C (fitCursor): return the bool flag also to the outside
12551         world as this is needed.
12552
12553         * screen.C (toggleToggle): don't subtract the offset if it's positive.
12554
12555         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
12556         call the edit() as it is not needed (and wrong) IMO.
12557         (workAreaButtonPress): set the screen_first variable before evt.
12558         unlock the inset as this may change screen_first and then we have
12559         a wrong y position for the click!
12560
12561 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12562
12563         * MenuBackend.C (expand): another translation that I missed
12564
12565 2002-03-28  Juergen Vigna  <jug@sad.it>
12566
12567         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
12568
12569         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
12570
12571 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12572
12573         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
12574
12575         * MenuBackend.C (expand): fix export/view/update when there is no
12576         document open.
12577
12578 2002-03-27  Herbert Voss  <voss@lyx.org>
12579
12580         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
12581         and text%
12582
12583 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12584
12585         * bufferview_funcs.C (currentState): only show paragraph number
12586         for is DEVEL_VERSION is set.
12587
12588         * lyxfunc.C (dispatch): put warning in INFO channel
12589
12590         * MenuBackend.C (expand): translate the name of floats
12591
12592         * FloatList.C (FloatList): mark the float names for translation
12593
12594         * converter.C (convert): use LibScriptSearch
12595
12596 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12597
12598         * MenuBackend.C (defaults): fix default menu (we might as well get
12599         rid of it...)
12600
12601 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12602
12603         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
12604         directory.
12605
12606 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12607
12608         * lyxvc.C: reorder includes.
12609
12610 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
12611
12612         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
12613           properly
12614
12615 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
12616
12617         * CutAndPaste.C: change layouts earlier on paste
12618           to avoid crashing when calling getFont()
12619
12620 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
12621
12622         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
12623         irritating #error.
12624
12625 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12626
12627         * WorkArea.C: remove 'Pending' debug message.
12628
12629         * most files: ws cleanup
12630
12631         * buffer.[Ch]: ws changes
12632
12633         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
12634
12635 2002-03-21  Juergen Vigna  <jug@sad.it>
12636
12637         * tabular.C (SetMultiColumn): collapse also the contents of the
12638         cells and set the last border right. Added a Buffer const * param.
12639
12640 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12641
12642         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
12643         linking or not.
12644
12645 2002-03-19  Juergen Vigna  <jug@sad.it>
12646
12647         * text2.C (clearSelection): reset also xsel_cache.
12648
12649         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
12650         where it needs to be called (John tells us to do so too :)
12651         (selectionLost): reset sel_cache.
12652
12653         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
12654
12655 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12656
12657         * text2.C (setCursorIntern): put debuging code in INSETS channel
12658
12659 2002-03-19  André Pönitz <poenitz@gmx.net>
12660
12661         * lyxfunc.C: tiny whitespace change
12662
12663 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12664
12665         * ToolbarDefaults.C (init):
12666         * LyXAction.C (init):
12667         * commandtags.h:
12668         * BufferView_pimpl.C (Dispatch):
12669         * lyxfunc.C (dispatch): remove LFUN_DEPTH
12670
12671 2002-03-19  Allan Rae  <rae@lyx.org>
12672
12673         * exporter.C (Export): removeAutoInsets before doing anything else.
12674         While I've just introduced a dependency on BufferView this really is
12675         the best place to clean the buffer otherwise you need to cleanup in
12676         a dozen places before calling export or cleanup in a dozen functions
12677         that export calls.
12678
12679         * converter.C (runLaTeX):
12680         (scanLog): Better handling of removeAutoInsets and screen updates.
12681
12682         * lyxfunc.C (dispatch): small whitespace changes
12683
12684 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12685
12686         * WorkArea.C (C_WorkAreaEvent): return a value.
12687         (event_cb): return 1 if we handled the event, 0 otherwise.
12688
12689         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12690
12691 2002-03-18  Juergen Vigna  <jug@sad.it>
12692
12693         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12694         (GetAdditionalWidth): ditto.
12695         (RightLine): ditto.
12696         (LeftLine): ditto.
12697
12698         * BufferView2.C (copy): use getLyXText() so that we do it inside an
12699         inset if we're there actually (probably not used right now but this
12700         is the direction to go for unifying code).
12701         (paste): disable code to clear the selection.
12702
12703         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12704         inside an InsetText and move the check further up as it is in the
12705         wrong place.
12706
12707         * text2.C (pasteSelection): set a selection over the pasted text.
12708
12709 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
12710
12711         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12712         and libgraphics to build on Cygwin.
12713
12714 2002-03-15  Juergen Vigna  <jug@sad.it>
12715
12716         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12717         inserting an Inset into the paragraph. I know this is not the best
12718         fix but we already use current_view in CutAndPaste so we will remove
12719         all of it's using at the same time.
12720
12721         * buffer.C (sgmlError): deactivated function till it is rewritten in
12722         the right mode, now it can create problems.
12723
12724         * paragraph.C (isLineSeparator): check if getInset returns != 0,
12725         before accessing it.
12726
12727 2002-03-14  Juergen Vigna  <jug@sad.it>
12728
12729         * undo_funcs.C (textHandleUndo): do the right thing when updating
12730         the inset after the undo/redo.
12731
12732         * text2.C (setCursor): just some testcode for #44 not ready yet.
12733
12734         * undo_funcs.C (textHandleUndo): set the next() and previous()
12735         pointers of the paragraph to 0 before deleting otherwise we have
12736         problems with the Paragraph::[destructor].
12737
12738         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12739         on a paragraph insertion.
12740
12741 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12742
12743         * buffer.C (asciiParagraph): use += operator for char append to
12744         string.
12745
12746         * paragraph.C (getFontSettings): compare >= not just >
12747         (highestFontInRange): ditto
12748         (setFont): ditto
12749
12750 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12751
12752         * paragraph.C: change several algorithm to be more appripriate for
12753         the problem domain. This is lookip in FontList and in the InsetList.
12754
12755 2002-03-13  André Pönitz <poenitz@gmx.net>
12756
12757         * commandtags.h:
12758         * LyXAction.C: remove unused LFUN_MATH_MACROARG
12759
12760 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
12761
12762         * commandtags.h:
12763         * LyXAction.C:
12764         * lyxfunc.C:
12765         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12766
12767 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12768
12769         * Painter.C (display): anon helper function, adjust code for this
12770         change.
12771         (pixmap): remove function.
12772
12773         * Painter.h: remove private display variable.
12774
12775         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12776
12777 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
12778
12779         * WorkArea.[Ch]: remove figinset_canvas cruft.
12780
12781 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12782
12783         * lyxtextclass.C (operator): add one item cache optimization.
12784
12785         * bufferlist.h: doxy changes
12786
12787         * bufferlist.C: ws changes
12788
12789         * DepTable.[Ch] (ext_exist): place const in the right spot.
12790
12791         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12792         call resizeInsets.
12793         (workAreaExpose): call resizeInsets when the with BufferView changes.
12794         (Dispatch): adjust for protectedBlank removal
12795         (specialChar): call updateInset if the insert went ok.
12796
12797         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12798         specialChar instead.
12799
12800         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12801
12802         * BufferView.h: doxy change
12803
12804         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12805
12806         * lyxtextclass.C (operator[]): remove non-const version
12807         (defaultLayout): remove non-const version
12808
12809 2002-03-12  Juergen Vigna  <jug@sad.it>
12810
12811         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12812         did resize the LyXText too.
12813
12814         * buffer.C (readLyXformat2): set layout information on newly allocated
12815         paragraphs.
12816
12817         * tabular.C (OldFormatRead): set layout information on the paragraph.
12818
12819 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12820
12821         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12822
12823 2002-03-11  Juergen Vigna  <jug@sad.it>
12824
12825         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12826         plainly wrong.
12827         (resizeCurrentBuffer): force also the insets to resize themselfes.
12828         (moveCursorUpdate): fixed up for InsetText.
12829
12830 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
12831
12832         * commandtags.h:
12833         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12834         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12835         value of Dialogs::tooltipsEnabled().
12836         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12837
12838 2002-03-08  Juergen Vigna  <jug@sad.it>
12839
12840         * BufferView_pimpl.C (updateInset): update inset inside inset also
12841         if it isn't inside theLockingInset().
12842
12843 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12844
12845         * buffer.C (asciiParagraph): redo some of the word and line length
12846         handling.
12847         (getLists): look for Caption instead of caption.
12848
12849 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12850
12851         * buffer.C (Buffer): initialize niceFile to true
12852         (makeLaTeXFile):
12853         (makeLinuxDocFile):
12854         (makeDocBookFile): make sure niceFile is true on exit
12855
12856 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12857
12858         * buffer.C (makeLaTeXFile): escape ~ in \input@path
12859
12860 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
12861
12862         * LyXSendto.C: remove.
12863         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12864         * lyx_gui.C: remove now-redundant comment.
12865         * ColorHandler.h: remove forward declaration of class WorkArea.
12866         * lyxfunc.C: remove #include "WorkArea.h".
12867
12868 2002-03-07  Juergen Vigna  <jug@sad.it>
12869
12870         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12871         got moved away with the DEPM and also set the inset_owner always
12872         right which before could have been omitted.
12873
12874 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12875
12876         * buffer.C (parseSingleLyXformat2Token): use default layout is the
12877         wanted layout is not found.
12878
12879 2002-03-07  Juergen Vigna  <jug@sad.it>
12880
12881         * CutAndPaste.C (cutSelection): another layout settings forgotten.
12882
12883 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12884
12885         * paragraph.C (breakParagraph): use default layout not layout of
12886         prev paragraph.
12887         (Paragraph): clear ParagraphParameters.
12888
12889 2002-03-06  Juergen Vigna  <jug@sad.it>
12890
12891         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12892         otherwise it would not be a valid lenght. Fixed a special case in
12893         the minipage compatibility read where we end the document with a
12894         minipage.
12895
12896         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12897         was set as it could be 0 for InsetTexts first entry.
12898
12899 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12900
12901         * paragraph.C (writeFile): if layout is empty write out
12902         defaultLayoutName().
12903
12904         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12905         file without named layout we set layout to defaultLayoutName().
12906
12907 2002-03-06  Juergen Vigna  <jug@sad.it>
12908
12909         * CutAndPaste.C (copySelection): set layout for new paragraph.
12910
12911         * text.C (prepareToPrint): leave ERT inset left aligned
12912         (leftMargin): don't indent paragraphs inside ERT insets
12913
12914 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12915
12916         * paragraph.C (breakParagraph): dont call clear do the work manually
12917
12918         * paragraph.[Ch] (clear): remove function
12919
12920 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12921
12922         * paragraph.C (Paragraph): dont call clear, the work has already
12923         been done.
12924
12925         * lyxtextclass.C (operator): assert if n is empty
12926
12927         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12928         work manually instead.
12929
12930 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
12931
12932         * BufferView_pimpl.C: protect selectionLost against text == 0
12933
12934 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12935
12936         * text.C (breakParagraph): fix a setting layout to '0' problem.
12937
12938 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12939
12940         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12941         final location of file, for the included files, and graphics.
12942
12943 2002-03-05  Juergen Vigna  <jug@sad.it>
12944
12945         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12946
12947 2002-03-04  Juergen Vigna  <jug@sad.it>
12948
12949         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12950
12951         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12952         last column of multicolumn cells.
12953         (SetWidthOfMulticolCell): recalculate NMC and real columns.
12954
12955 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
12956
12957         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12958         file if it doesn't go to a temporary file.
12959
12960         * buffer.C (sgmlOpenTag):
12961         (sgmlCloseTag):  remove extra newline insertion.
12962
12963 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12964
12965         * text.C (getRowNearY): comment out debug msg
12966
12967 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12968
12969         * text2.C: first -> first_y
12970
12971         * text.C (getRowNearY): add some attemts at a possible
12972         optimization, not working.
12973
12974         * tabular.[Ch]: add BufferParams to several function so that newly
12975         created paragraph can be initialized to he default layotu for the
12976         buffers textclass.
12977
12978         * tabular-old.C (ReadOld): add buf->params to call of Init
12979
12980         * screen.C: rename text->first to text->first_y
12981
12982         * paragraph.C (breakParagraph): always set layout in the broken
12983         paragraph
12984
12985         * lyxtextclass.C (Read): remove lowercase
12986         (hasLayout): ditto
12987         (operator): ditto
12988         (delete_layout): ditto
12989
12990         * lyxtext.h: rename first -> first_y
12991
12992         * lyxlayout.C (Read): remove lowercase
12993         (name): ditto
12994         (setName): ditto
12995         (obsoleted_by): ditto
12996
12997         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12998
12999         * buffer.C (insertErtContents): add params are to InsetERT
13000         (parseSingleLyXformat2Token): add code to check if a paragraphs
13001         layout really exist.
13002         (parseSingleLyXformat2Token): add params to several inset
13003         constructors
13004         (asciiParagraph): remove lowercase, do the layout comparisons with
13005         no_case
13006
13007         * BufferView_pimpl.C (cursorNext): first -> first_y
13008         (resizeCurrentBuffer): first -> first_y
13009         (updateScrollbar): first -> first_y
13010         (scrollCB): first -> first_y
13011         (workAreaMotionNotify): first -> first_y
13012         (workAreaButtonPress): first -> first_y
13013         (checkInsetHit): first -> first_y
13014         (cursorPrevious): first -> first_y
13015         (cursorNext): first -> first_y
13016         (Dispatch): add buffer_->params to severl inset contructors
13017
13018 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13019
13020         * lyxlayout.C (Read): remove some debug info that I forgot.
13021
13022         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13023         clean up the code slightly.
13024         (makeLinuxDocFile): ditto
13025         (makeDocBookFile): ditto
13026
13027         * text2.C: layout as string
13028
13029         * text.C: layout as string
13030
13031         * paragraph_pimpl.C: layout as string
13032
13033         * paragraph.[Ch]: layout as string
13034
13035         * lyxtextclasslist.[Ch]: layout as string
13036
13037         * lyxtextclass.[Ch]: layout as string
13038
13039         * lyxtext.h: layout as string
13040
13041         * lyxlayout.[Ch]: layout as string
13042
13043         * lyx_cb.C: layout as string
13044
13045         * bufferview_funcs.C: layout as string
13046
13047         * bufferparams.C: layout as string
13048
13049         * buffer.C: layout as string
13050
13051         * LyXView.[Ch]: layout as string
13052
13053         * LaTeXFeatures.[Ch]: layout as string
13054
13055         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13056
13057         * BufferView_pimpl.C: change current_layout to string, remove
13058         lyx::layout_type.
13059         (Dispatch):
13060         (smartQuote):
13061         (insertInset):
13062         (workAreaButtonRelease): layout as string
13063
13064         * BufferView2.C (unlockInset): adjust
13065
13066         * vspace.C (asLatexCommand): use an explict temp variable.
13067
13068 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13069
13070         * Makefile.am: use FRONTEND_*
13071
13072 2002-03-01  Juergen Vigna  <jug@sad.it>
13073
13074         * tabular.C (SetWidthOfMulticolCell): changed to something better
13075         I hope but still work in progress.
13076         (recalculateMulticolumnsOfColumn): renamed function from
13077         recalculateMulticolCells as it is more appropriate now.
13078         (SetWidthOfCell): calculate multicols better.
13079
13080 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13081
13082         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13083
13084         * lyxfunc.C (processKeySym): print sequence also if it is
13085         `deleted' (complete)
13086
13087         * kbsequence.C (print): print sequence even if it is deleted
13088         (complete would be a better word, actually).
13089
13090         * lyxfunc.C (dispatch): print complete options after a prefix key
13091
13092         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13093
13094 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13095
13096         * text2.C (setCharFont): eliminate setCharFont code duplication.
13097
13098 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13099
13100         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13101         LFUN_TABULAR_FEATURE (bug #177)
13102
13103 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13104
13105         * Makefile.am: remove figure.h
13106
13107 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13108
13109         * Bufferview_pimpl.C:
13110         * CutAndPasteC:
13111         * LaTeX.C:
13112         * LyXSendto.C:
13113         * buffer.C:
13114         * bufferlist.C:
13115         * converter.C:
13116         * language.C:
13117         * lyxfunc.C:
13118         * lyxvc.C:
13119         * paragraph.C:
13120         * text.C:
13121         * text2.C: remove #include "lyx_gui_misc.h".
13122
13123         * LaTeX.C: added #include <cstdio>
13124
13125 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13126
13127         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13128         that the paragraph following this one can have.
13129
13130         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13131
13132         * vspace.C (asLatexCommand): fix bogus gcc warning
13133
13134         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13135
13136 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13137
13138         * text2.C (setLayout): get rid of redundant code
13139
13140 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13141
13142         * text2.C (incDepth): make sure depth cannot be increased beyond
13143         reasonable values.
13144
13145 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13146
13147         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13148         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13149
13150         * PainterBase.h (image):
13151         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13152         a LyXImage const *.
13153
13154 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13155
13156         * BufferView.C:
13157         * BufferView.h:
13158         * BufferView_pimpl.C:
13159         * BufferView_pimpl.h:
13160         * LaTeXFeatures.C:
13161         * LyXAction.C:
13162         * LyXView.C:
13163         * Makefile.am:
13164         * UpdateList.h:
13165         * UpdateList.C:
13166         * buffer.C:
13167         * figure.h:
13168         * figureForm.C:
13169         * figureForm.h:
13170         * figure_form.C:
13171         * figure_form.h:
13172         * lyx_cb.C:
13173         * lyx_gui.C:
13174         * lyx_gui_misc.C:
13175         * lyxfunc.C:
13176         * sp_base.h:
13177         * sp_ispell.h:
13178         * sp_pspell.h:
13179         * sp_spell.C: remove fig inset, and the crap house of
13180           cards that follows it
13181
13182 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13183
13184         * Makefile.am:
13185         * lyxserver.C:
13186         * os2_defines.h:
13187         * os2_errortable.h:
13188         * nt_defines.h: move .h into support/
13189
13190         * vms_defines.h: remove
13191
13192         * WorkArea.C: add space in debug output
13193
13194         * text2.C:
13195         * paragraph.C:
13196         * buffer.C: add WITH_WARNINGS
13197
13198         * vc-backend.h:
13199         * vc-backend.C:
13200         * bufferlist.C: s/retrive/retrieve/, add docs
13201
13202         * vspace.h:
13203         * vspace.C:
13204         * kbmap.h:
13205         * lyxlength.h:
13206         * lyxgluelength.h:
13207         * length_common.h:
13208         * chset.h:
13209         * chset.C: add docs
13210
13211         * lyxgui.C: add ID to X error handler
13212
13213         * lyxtestclass.c: fix typo
13214
13215 2002-02-26  Juergen Vigna  <jug@sad.it>
13216
13217         * tabular_funcs.C (write_attribute): changed so that some default
13218         attributes are not written at all.
13219         (getTokenValue): set default values before trying to read the
13220         value so we have the return value always set as default if we don't
13221         find the token we search for.
13222
13223         * tabular.C (Write): write bools as bools not as strings!
13224
13225 2002-02-22  Juergen Vigna  <jug@sad.it>
13226
13227         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13228         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13229
13230         * text.C (leftMargin): don't add an indent for paragraphs inside
13231         tabular cells (fix #208).
13232
13233 2002-02-21  José Matos  <jamatos@fep.up.pt>
13234
13235         * tabular.C (docBook): fixed support for long tables.
13236
13237 2002-02-20  Juergen Vigna  <jug@sad.it>
13238
13239         * text2.C (getFont): get the drawing font of the Inset if this
13240         paragraph is inside an inset (only important for InsetERT for now).
13241
13242         * buffer.C (insertErtContents): use new lanugage params in ERT
13243         constructor.
13244
13245         * CutAndPaste.C: commenting out seemingly uneeded code.
13246
13247 2002-02-19  Allan Rae  <rae@lyx.org>
13248
13249         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13250         Iterators might be simple to use but they also get invalidated.
13251         (removeAutoInsets): renamed saved cursor tracking variables and added
13252         some comments to clarify what everything does.
13253
13254 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13255
13256         * Chktex.C:
13257         * LaTeX.C:
13258         * LyXSendto.C:
13259         * converter.C:
13260         * lyx_cb.C:
13261         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13262         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13263
13264         * lyxfunc.C:
13265         * vc-backend.h: remove #include "support/syscall.h"
13266
13267         * LaTeX.C:
13268         * LyXSendto.C:
13269         * converter.C: rearrange #includes in Lars' approved fashion.
13270
13271         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13272         forward declare class Timeout in the header file.
13273
13274         * XFormsView.C: changes due to the above.
13275
13276         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13277         similar to LyXView.
13278
13279         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13280         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13281
13282 2002-02-18  José Matos  <jamatos@fep.up.pt>
13283
13284         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13285         insets contents.
13286
13287 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13288
13289         * a lot of small ws changes
13290         * add a lot of using std::XXX
13291         * use std construcs some places where approp.
13292         * use some exisint stuff from lyxfunctional where approp.
13293         * Make file changes to use partial linking (lets test this now...)
13294
13295 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13296
13297         * Chktex.C:
13298         * buffer.C:
13299         remove #include "support/syscontr.h" as it's redundant. Always has been.
13300
13301         * Chktex.C:
13302         * LaTeX.C:
13303         * LyXSendto.C:
13304         * converter.C:
13305         * lyx_cb.C:
13306         * vc-backend.C:
13307         change Systemcalls::System to Systemcalls::Wait and
13308         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13309         No change of functionality, just reflects the stripped down Systemcalls
13310         class.
13311
13312 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13313
13314         * debug.[Ch]: add a GRAPHICS type to the enum.
13315
13316 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13317
13318         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13319
13320         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13321         there is an inset.
13322
13323 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13324
13325         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13326         match the changes below.
13327
13328         * text2.C (toggleInset): if there is not editable inset at cursor
13329         position, try to see if cursor is _inside_ a collapsable inset
13330         and close it.
13331
13332 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13333
13334         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13335         document menu has a nice checkbox
13336
13337 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13338
13339         * lyxlength.C (asLatexString): change PW to output as percent of
13340         \textwidth.
13341
13342         * lengthcommon.C: change '%' to 't%'
13343
13344         * lyxfunc.C (dispatch): a few comments from Martin
13345
13346 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13347
13348         * WorkArea.h:
13349         * WorkArea.C:
13350         * BufferView_pimpl.h:
13351         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13352           the X selection.
13353
13354 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13355
13356         * vspace.C (inPixels): fix compiler warning
13357
13358 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13359
13360         * lyxfunc.C (getStatus): fix status message for disabled commands.
13361
13362 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13363
13364         * BufferView_pimpl.C: fix crash on close buffer
13365         during selection (#227)
13366
13367 2002-01-27  Herbert Voss  <voss@lyx.org>
13368
13369         * buffer.C: link old Figure to new graphic inset
13370
13371 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13372
13373         * FontLoader.C (getFontinfo): Change the latex font names in order
13374         to match the names of type1inst.
13375
13376 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13377
13378         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13379
13380         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13381         (extchanged): ditto
13382         (ext_exist): ditto
13383         (remove_files_with_extension): ditto
13384         (remove_file): ditto
13385         (write): ditto
13386
13387         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13388         document is smaller than the work area height. Do not initialize
13389         static variables to 0.
13390
13391 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13392
13393         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13394
13395         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13396         LFUN_LAYOUT_PARAGRAPHS.
13397
13398         * tabular.C (GetCellFromInset): new method. Finds an inset in a
13399         tabular. It is possible to provide a possible cell, which will
13400         typically be the actcell from the corresponding insettabular
13401
13402         * lyxfunc.C (getStatus): small cleanup; disable
13403         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
13404         true
13405
13406 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13407
13408         * tabular.C (Validate): remove broken optimization (fixes bug #201)
13409
13410         * paragraph.C (startTeXParParams):
13411         (endTeXParParams): new methods. The LaTeX code to
13412         start/end paragraph formatting
13413         (simpleTeXOnePar): call startTeXParParams also when paragraph is
13414         empty (fixes bug #200)
13415
13416         * vspace.C (inPixels): adapt to the change below
13417         (inPixels): [later] more cleanups (remove unused variables)
13418
13419         * lyxlength.C (inPixels): change to use a width and a height as
13420         parameter.
13421
13422 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13423
13424         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
13425         Replaced with \paperwidth
13426
13427         * DepTable.C (insert): add std:: qualifier
13428
13429 2002-01-18  Allan Rae  <rae@lyx.org>
13430
13431         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
13432         updated also?
13433
13434         * text.C (drawInset): Turned out I didn't know enough about how
13435         rebreaking worked.  This fixes most of the redraw problems.  I see
13436         an occasional cursor trail when a line is broken now and the cursor
13437         placement can seem out by a few pixels also after a rebreak.
13438
13439 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13440
13441         * buffer.C (parseSingleLyXformat2Token): update because minipage
13442         width is now a LyXLength
13443
13444         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
13445
13446         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
13447         math insets
13448
13449 2002-01-17  Juergen Vigna  <jug@sad.it>
13450
13451         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
13452
13453         * BufferView2.C (lockInset): call edit() so that theLockingInset()
13454         is set correctly and the inset is updated correctly.
13455
13456 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13457
13458         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
13459         the beginning of the loop.
13460
13461 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
13462
13463         * lyxrc.C: improve help for use_scalable_fonts
13464
13465 2002-01-17  Allan Rae  <rae@lyx.org>
13466
13467         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
13468
13469 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13470
13471         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
13472         make sure to set their inset_owner to the right value (bug #171)
13473
13474 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
13475
13476         * DepTable.h
13477         * DepTable.C: Implement mtime checking to reduce time spent doing
13478         CRCs.
13479
13480 2002-01-16  Juergen Vigna  <jug@sad.it>
13481
13482         * tabular.C (GetAdditionalHeight): one of error fixed.
13483
13484         * lyxrc.C (output): small fix in writing use_pspell.
13485
13486 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
13487
13488         * sp_base.h: #include LString.h
13489
13490 2002-01-16  Allan Rae  <rae@lyx.org>
13491
13492         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
13493         Can someone check this please?
13494
13495         * text.C (drawInset): It was possible that p.row would be removed by
13496         breakAgainOneRow upsetting a few other settings.  There may be another
13497         small tweak possible by setting need_break_row = 0 when p.row has been
13498         removed but I don't know enough about the logic here.
13499
13500 2002-01-15  Allan Rae  <rae@lyx.org>
13501
13502         * text.C (insertChar): removed conditional truism.
13503
13504         * BufferView2.C (removeAutoInsets): More tweaks.
13505         cur_par_prev could be a stray pointer.  Check for trailing empty line
13506         in case last line was cur_par and only had an error inset on it.
13507
13508 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13509
13510         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
13511         absolute
13512
13513         * vc-backend.C (most methods):
13514         * exporter.C (Export):
13515         * converter.C (convert):
13516         (runLaTeX):
13517         * LyXSendto.C (SendtoApplyCB):
13518         * lyxfunc.C (dispatch):
13519         (menuNew):
13520         (open):
13521         (doImport):
13522         * lyx_cb.C (AutoSave):
13523         (InsertAsciiFile):
13524         * BufferView_pimpl.C (MenuInsertLyXFile):
13525         * buffer.C (runChktex): use Buffer::filePath().
13526
13527         * buffer.h: rename filename to filename_; rename filepath to
13528         filepath_ and make it private
13529         (filePath): new method
13530
13531         * buffer.C (writeFile): use fileName()
13532         (getLatexName):
13533
13534         * lyx_main.C (init): fix starting  of LyX when the binary is a
13535         link from so,ewhere else.
13536
13537         * minibuffer.C: include <cctype> for isprint
13538
13539 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13540
13541         * buffer.C (parseSingleLyXformat2Token): changes associated with the
13542         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
13543         name clash with InsetCollapsable's width function.
13544
13545 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13546
13547         * lastfiles.C: include <iterator>
13548
13549 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13550
13551         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
13552         std::count.
13553
13554         * buffer.C (makeLaTeXFile): ditto.
13555         Also make loop operation more transparent.
13556
13557 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
13558
13559         * ToolbarDefaults.C: remove trailing comma closing namespace.
13560
13561         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
13562
13563         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
13564         as in WorkArea.
13565
13566         * trans.C (Load): comment out unused variable, allowed.
13567
13568 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13569
13570         * minibuffer.[Ch] (append_char): new method to recieve input from the
13571         drop-down completion browser. If a key was pressed, then recieve this
13572         char and append it to the existing string.
13573         (peek_event): modify the positioning data passed to the completion
13574         browser so that it can be placed above the minibuffer rather than below.
13575 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13576
13577         * LyXAction.C (init): alloe error-next for readonly documents.
13578
13579         * BufferView2.C (ChangeRefsIfUnique): use standard version of
13580         count.
13581
13582 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13583
13584         * bufferlist.C (readFile): create the buffer _after_ checking that
13585         the file exists.
13586
13587         * lyxfunc.C (verboseDispatch): fix handling of arguments
13588
13589         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
13590
13591         * lyxrc.C: use string::erase() instead of initializing to "".
13592
13593
13594 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13595
13596         * BufferView_pimpl.h:
13597         * BufferView_pimpl.C:
13598         * WorkArea.h:
13599         * WorkArea.C:
13600         * text2.C: tell X when we have made a selection for copying
13601
13602 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13603
13604         * BufferView_pimpl.C (MenuInsertLyXFile):
13605         * lyxfunc.C (menuNew):
13606         (open):
13607         (doImport): add shortcuts to directory buttons
13608
13609         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
13610         open a float)
13611
13612         * lyxfunc.C (setStatusMessage):
13613         (getStatusMessage): new methods
13614         (getStatus):use setStatusMessage instead of setErrorMessage
13615         (dispatch): when function is disabled, set error message here
13616         [instead of in getStatus previously]
13617
13618         * BufferView_pimpl.C (workAreaButtonRelease): update
13619         toolbar/menubar here too.
13620
13621 2002-01-13  Allan Rae  <rae@lyx.org>
13622
13623         * BufferView2.C (removeAutoInsets): finished off earlier fix.
13624         Now seems indestructible.  Remaining task is to audit all other
13625         code affected by deleteEmptyParagraphMechanism.  One small quirk
13626         left is that an empty document with an error in the preamble can
13627         be made to report an error but no error box appears.  I don't know
13628         where it goes.
13629         (removeAutoInsets): Improved comments.
13630
13631 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
13632
13633         * Thesaurus.h:
13634         * Thesaurus.C: update for Aiksaurus 0.14
13635
13636 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13637
13638         * text2.C (firstParagraph): removed member function, all uses
13639         replaces with ownerParagraph
13640         (redoParagraphs): here
13641         (updateInset): here
13642         (toggleAppendix): here
13643         * BufferView2.C (insertErrors): here
13644         (setCursorFromRow): here
13645
13646 2002-01-13  Allan Rae  <rae@lyx.org>
13647
13648         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
13649         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
13650         There is still a way to segfault this although you may have to do this
13651         multiple times: Have an InsetERT with an unknown command in it.
13652         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
13653         <down-arrow>, <Enter> again, View->DVI, BANG!
13654
13655         * text2.C (setCursor):
13656         (deleteEmptyParagraphMechanism):
13657         * lyxtext.h (setCursor):
13658         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
13659         Making use of the return value may help fix other bugs.
13660
13661 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13662
13663         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13664
13665         * LyXView.C (updateMenubar): call MenuBar::update here
13666         (updateToolbar): but not here
13667         (showState): do not update toolbar/menubar
13668
13669         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13670         should need to care about that.
13671
13672         * lyxfunc.C (verboseDispatch): simplify a bit
13673         (getStatus): have a version which takes a pseudoaction, and
13674         another which requires a (kb_action,string).
13675
13676         * LyXAction.C (retrieveActionArg): make it work also when action
13677         is not a pseudo-action.
13678         (getActionName): simplify a bit
13679         (helpText):
13680
13681 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13682
13683         * lyxfunc.C (verboseDispatch): new families of methods with
13684         several ways to specify a command and a bool to indicate whether
13685         the command name and shortcut should be displayed in minibuffer
13686         (eventually, we could extend that to a finer bitmask like
13687         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13688         (dispatch): the pristine dispatch command which just, well,
13689         dispatchs! Note it still sets its result to minibuffer; I'm not
13690         sure we want that.
13691
13692         * lyxfunc.h: remove setHintMessage
13693
13694         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13695
13696 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13697
13698         * BufferView_pimpl.C (specialChar): delete new inset if we have
13699         not been able to insert it.
13700
13701         * kbmap.C: revert to using int instead of kb_action, since all we
13702         are dealing with is pseudo-actions.
13703
13704         * LyXAction.C (searchActionArg): change to return int instead of
13705         kb_action, since the result is a pseudoaction.
13706
13707 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
13708
13709         * buffer.C (insertErtContents): Fix (partially) the font bug.
13710
13711 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
13712
13713         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13714         as the other one is broken on my machine!
13715
13716 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
13717
13718         * commandtags.h:
13719         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13720
13721 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
13722
13723         * lyxrc.[Ch]: change names and descriptions of popup font variables to
13724         reflect their actual use. Provide compatibility code for older lyxrc
13725         files.
13726
13727         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13728         FL_NORMAL_STYLE.
13729         change names of popup font variables in line with the changes to lyxrc.C
13730
13731 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13732
13733         * buffer.C (asciiParagraph): avoid outputing a word twice after
13734         an inset.
13735
13736         * lyxrc.C (getDescription): document that document_path and
13737         template_path can be empty.
13738
13739 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13740
13741         * LaTeXFeatures.C (getMacros):
13742         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13743
13744         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13745
13746         * LaTeXFeatures.C (useFloat): require "float" here instead of in
13747         getPackages.
13748         (getPackages): rename feature "floats" to "float". Use an array to
13749         iterate over 'simple' features (i.e. just a \usepackage). Add
13750         handling of "amsmath" (renamed from "amsstyle").
13751
13752 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
13753
13754         * LaTeXFeatures.C (require): Prevent duplicate entries in the
13755         features list.
13756
13757 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
13758
13759         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13760         FuncStaus::FuncStatus & FuncStaus::some_method().
13761
13762 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
13763
13764         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13765         of the func_satus stuff. Edited and massaged in various ways by
13766         JMarc.
13767
13768         * lyxfunc.C (getStatus): use FuncStatus
13769
13770 2002-01-08  Juergen Vigna  <jug@sad.it>
13771
13772         * text.C (nextBreakPoint): use function Inset::isChar().
13773
13774         * paragraph.C (TeXOnePar): use function
13775         Inset::forceDefaultParagraphs.
13776
13777         * buffer.C (latexParagraphs): use function
13778         Inset::forceDefaultParagraphs.
13779
13780 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13781
13782         * lyx_gui.C (init): set the style of the menu popups to
13783         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13784
13785 2002-01-07  Juergen Vigna  <jug@sad.it>
13786
13787         * text.C (setHeightOfRow): small fix
13788         (prepareToPrint): don't look at alignment if we don't have the place
13789         for doing it.
13790
13791 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13792
13793         * box.C: New file. Move the Box methods and functions out of box.h,
13794         following Lars' suggestion.
13795
13796 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
13797
13798         * box.h: #include "support/LOstream.h", needed for inlined function.
13799
13800         * lyxtextclass.C:
13801         * lyxtextclasslist.C: added some using std declarations.
13802
13803 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
13804
13805         * box.h: make signed dimensions to allow insets wider than
13806           the screen (bug #162)
13807
13808         * BufferView_pimpl.C: add some insetHit debug
13809
13810 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
13811
13812         * vc-backend.C: add FIXME
13813
13814 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13815
13816         * lyxfunc.C (getStatus): enable code for showing math font status
13817         in toolbar/menu.
13818
13819 2002-01-07  Juergen Vigna  <jug@sad.it>
13820
13821         * text.C (nextBreakPoint): removed debug output not needed anymore.
13822
13823 2002-01-06  Juergen Vigna  <jug@sad.it>
13824
13825         * text.C (nextBreakPoint): fixed up this function we had this bug
13826         since ever but now hopefully we break row better.
13827         (insertChar): we have to check if an inset is the next char as it
13828         could now happen that a large inset is causing a break.
13829
13830 2002-01-05  Juergen Vigna  <jug@sad.it>
13831
13832         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13833         if it doesn't like to be drawed.
13834
13835 2002-01-04  Juergen Vigna  <jug@sad.it>
13836
13837         * BufferView2.C (lockInset): forgot to set a cursor.
13838
13839         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13840
13841 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
13842
13843         * FormMathsPanel.C:
13844         * FormMathsPanel.h
13845         * MathsSymbols.C:
13846         * form_maths_panel.C:
13847         * form_maths_panel.h:
13848         * form_maths_panel.fd: implemented sub- and super- buttons in math
13849         panel.
13850
13851         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13852         (or ^ space) to be used as in TeX (req'd by André).
13853
13854         * lyxfunc.C: Allow ^ and _ again to be used both as
13855         super/subscript (mathed) and as themselves (in text).
13856
13857 2002-01-03  Allan Rae  <rae@lyx.org>
13858
13859         * LyXView.C (updateWindowTitle): Setup a short icon title of either
13860         "LyX" or the filename of the current buffer if it has one.  This is a
13861         modified form of John Levon's patch.
13862
13863         * XFormsView.C (setWindowTitle): also set icon title.
13864
13865         * LyXView.h (setWindowTitle): signature changed.
13866         * XFormsView.h (setWindowTitle): ditto.
13867
13868 2002-01-02  Juergen Vigna  <jug@sad.it>
13869
13870         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13871
13872 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13873
13874         * screen.C (topCursorVisible): introduce a temp var for
13875         text->cursor.row(), handle the case where this row is null. (kindo
13876         hachish)
13877
13878         * text2.C (setCursor): add a couple of asserts.
13879
13880         * paragraph.h (inset_iterator): add -> operator
13881
13882         * paragraph.[Ch] (autoDeleteInsets): remove member function
13883
13884         * BufferView2.C (removeAutoInsets): rewrite to handle the old
13885         cursor pos correctly and handle inset deletion by itself.
13886         (insertErrors): move iterator declaration out of for expression
13887
13888         * lyxtextclass.C: add <algorithm>
13889
13890         * Makefile.am: added the new files to sources, removed layout.C
13891
13892         * layout.C: removed file
13893
13894         * layout.h: remove LYX_DUMMY_LAYOUT
13895
13896         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13897         layout.
13898
13899         * lyxlayout.[Ch]:
13900         * lyxtextclass.[Ch]:
13901         * lyxtextclasslist.[Ch]: new files
13902
13903         * include order changes to a lot of files, also changes because of
13904         the six new files.
13905
13906 2001-12-27  Juergen Vigna  <jug@sad.it>
13907
13908         * buffer.C (asciiParagraph): more fixes.
13909
13910         * tabular.C (ascii): make ascii export support export of only the
13911         data separated by a column-delimiter.
13912         (ascii): better support for ascii export.
13913
13914         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13915
13916 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13917
13918         * tabular_funcs.C: use a "using std::getline" instead of the
13919         previous fix from Angus (necessary for cxx + lyxstring)
13920
13921 2001-12-24  Juergen Vigna  <jug@sad.it>
13922
13923         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13924
13925         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13926         problems. First check a minipage also if we have some ert-contents
13927         (not only on par->size(), second set the right depth of the paragraph
13928         on the relink to the root-paragraph-list!
13929
13930         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13931         which then did not anymore update the main paragraphs on undo/redo!
13932
13933 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13934
13935         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13936         code. Support all font-changing funcs (even those which are not in
13937         menu currently). Support for reporting font settings in
13938         mathed (disabled until Andre provides a function on mathed's side).
13939
13940         * func_status.h (toggle): small helper function to set toggle
13941         state on a flag.
13942
13943 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
13944
13945         * tabular_funcs.C: getline -> std::getline
13946
13947 2001-12-21  Juergen Vigna  <jug@sad.it>
13948
13949         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13950         accessed and could be 0 (I couldn't generate this but it seems
13951         Michael could!).
13952
13953 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13954
13955         * tabular_funcs.C: add LIstream.h, move write_attribute to..
13956         * tabular_funcs.h: here and include iosfwd
13957
13958 2001-12-20  Juergen Vigna  <jug@sad.it>
13959
13960         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13961         inside inset but undo_par was.
13962
13963 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13964
13965         * Thesaurus.C: always include <config.h> in sources.
13966
13967         * Painter.h:
13968         * lyxlookup.h:
13969         * box.h: do not include <config.h> in header files
13970
13971         * text.C (paintLastRow): remove unused variable
13972
13973         * text.C (transformChar):
13974         (insertChar):
13975         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13976
13977         * Painter.C (text):
13978         * font.C (width): rewrite to use uppercase() instead of
13979         islower/toupper.
13980
13981         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13982
13983 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
13984
13985         * lyxfind.C: clean up of find failure position change
13986
13987 2001-12-20  Juergen Vigna  <jug@sad.it>
13988
13989         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13990
13991         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13992         (TeXRow): added to LaTeX a single tabular row.
13993         (TeXLongtableHeaderFooter): added to output LT-h/f data.
13994         (Latex): simplified and finally good LT-h/f support.
13995         (various_functions): just small adaptions for LT-h/f support.
13996
13997         * tabular_funcs.[hC]: added and moved here all not classfunctions
13998         of LyXTabular.
13999
14000 2001-12-19  Juergen Vigna  <jug@sad.it>
14001
14002         * tabular.[Ch]: better support for longtabular options (not finished
14003         yet!)
14004
14005 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14006
14007         * text.C (paintLastRow): use the label font instead of the font of
14008         the last character to compute the size of *_BOX. This makes more
14009         sense and avoids a crash with empty paragraphs.
14010         Use Painter::rectangle to draw EMPTY_BOX.
14011
14012 2001-12-19  Juergen Vigna  <jug@sad.it>
14013
14014         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14015         the paragraphs if the replaced paragraph is not the first one!
14016         Tried to delete not used paragraphs but does not work yet so for
14017         now it's inside #ifdef's and by default off!
14018
14019 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14020
14021         * MenuBackend.C: include "lyx_main.h" instead of declaring
14022         lastfiles (actually was declared as LastFiles* instead of a
14023         scoped_ptr).
14024
14025 2001-12-17  Juergen Vigna  <jug@sad.it>
14026
14027         * tabular.C (AppendColumn): applied John's fix
14028
14029 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14030
14031         * BufferView.h:
14032         * BufferView.C:
14033         * BufferView_pimpl.h:
14034         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14035
14036         * Makefile.am:
14037         * box.h: new start of class for above
14038
14039         * lyxfunc.C: ignore space-only minibuffer dispatches.
14040           Show the command name when it doesn't exist
14041
14042         * minibuffer.C: don't add empty lines to the history
14043
14044         * minibuffer.C: add a space on dropdown completion
14045
14046 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14047
14048         * text.C: fix line above/below drawing in insets
14049
14050 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14051
14052         * lyxlength.C (LyXLength): Initialize private variables.
14053
14054 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14055
14056         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14057         when inserting error insets.
14058
14059 2001-12-13  Juergen Vigna  <jug@sad.it>
14060
14061         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14062         actually sometimes the before-paragraph.
14063         (setUndo): don't clear the redostack if we're not actually undoing!
14064
14065 2001-12-06  Juergen Vigna  <jug@sad.it>
14066
14067         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14068         and fixed redoing of main paragraph, so we can use it now ;)
14069
14070         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14071
14072 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14073
14074         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14075         Juergen's request
14076
14077 2001-12-13  André Pönitz <poenitz@gmx.net>
14078
14079         * undostack.[Ch]:
14080         * undo_func.C: minor cleanup
14081
14082 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14083
14084         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14085         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14086         font in urw-fonts package which is marked as -urw-fontspecific and
14087         does not work (incidentally, changing the encoding in the
14088         fonts.dir of this package to -adobe-fontspecific fixes the
14089         problem).
14090
14091         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14092         is a crash when undoing first paragraph (Juergen, please take a
14093         look). THis does not mean the undo fix is wrong, just that it
14094         uncovers problems.
14095
14096         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14097         the (Paragraph*) version when needed instead of duplicating the
14098         code.
14099
14100         * text.C (workWidth): use Inset::parOwner to find out where the
14101         inset has been inserted. This is a huge performance gain for large
14102         documents with lots of insets. If Inset::parOwner is not set, fall
14103         back on the brute force method
14104
14105         * paragraph_pimpl.C (insertInset):
14106         * paragraph.C (Paragraph):
14107         (cutIntoMinibuffer): set parOwner of insets when
14108         inserting/removing them
14109
14110         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14111
14112 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14113
14114         * commandtags.h:
14115         * LyXAction.C:
14116         * lyx_main.C:
14117         * lyxfunc.C:
14118         * mathed/formulabase.C:
14119         * mathed/math_cursor.[Ch]:
14120         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14121
14122
14123 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14124
14125         * lyxlength.[Ch] (operator!=): new function
14126
14127 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14128
14129         * text.C (workWidth): use Inset::parOwner to find out where the
14130         inset has been inserted. This is a huge performance gain for large
14131         documents with lots of insets. If Inset::parOwner is not set, fall
14132         back on the brute force method
14133
14134         * paragraph_pimpl.C (insertInset):
14135         * paragraph.C (Paragraph):
14136         (cutIntoMinibuffer): set parOwner of insets when
14137         inserting/removing them
14138
14139         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14140
14141 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14142
14143         * tabular-old.C (getTokenValue):
14144         * tabular.C (getTokenValue):
14145         (write_attribute): new versions for LyXLength
14146         (everywhere): adjust the use of widths
14147
14148         * tabular.h: change the type of widths from string to LyXLength
14149
14150 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14151
14152         * paragraph.C: fixed missing line number count when exporting
14153         Environments to LaTeX file
14154
14155         * buffer.C: added informational message for checking line numbers.
14156
14157 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14158
14159         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14160         paragraph, do the 'double space' part, but not the 'empty
14161         paragraph' one.
14162
14163         * text.C (workWidth): small optimization
14164         (getLengthMarkerHeight): use minimal size for negative lengths.
14165
14166 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14167
14168         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14169
14170         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14171
14172 2001-12-11  André Pönitz <poenitz@gmx.net>
14173
14174         * FontLoader.C:
14175         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14176
14177 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14178
14179         * text2.C: keep selection on a setFont()
14180
14181 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14182
14183         * lyx_cb.C: another bv->text misuse, from insert label
14184
14185 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14186
14187         * kbsequence.h:
14188         * kbsequence.C: re-instate nmodifier mask
14189
14190 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14191
14192         * lyx_main.h: make lyxGUI private.
14193
14194 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14195
14196         * lyxfind.C: place the cursor correctly on failed search
14197
14198 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14199
14200         * text.C (getLengthMarkerHeight): for small heights, the arrows
14201         are not always on top/bottom of the text
14202         (drawLengthMarker): smaller arrows; take the left margin in
14203         account; draw also vfills.
14204         (paintFirstRow):
14205         (paintLastRow): remove special code for vfill and standard spaces,
14206         since everything is handled in drawLengthMarker now.
14207
14208 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14209
14210         * buffer.C (insertErtContents): try to handle font and language
14211         interaction a bit better.g
14212
14213         * ColorHandler.C (updateColor): change the hash to cover the whole
14214         LColor enum, ws cleanup
14215         (getGCLinepars): ditto
14216         (getGCLinepars): only lookup in the linecache once.
14217
14218 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14219
14220         * iterators.C (operator++): Make the iterator more robust
14221
14222         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14223         (John's patch)
14224         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14225
14226 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14227
14228         * lyxtext.h:
14229         * text.C: better added space drawing
14230
14231 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14232
14233         * LyXView.C:
14234         * BufferView2.C: fix layout combo update on inset unlock
14235
14236 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14237
14238         * Makefile.am: don't compile unused files
14239
14240 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14241
14242         * lyxfunc.C:
14243         * commandtags.h:
14244         * LyXAction.C: remove old LFUN_LAYOUTNO
14245
14246 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14247
14248         * paragraph_pimpl.h:
14249         * paragraph_pimpl.C: isTextAt() doesn't need font param
14250
14251 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14252
14253         * lyxlex.h:
14254         * lyxlex.C: little cleanup
14255
14256 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14257
14258         * BufferView_pimpl.C: fix insertAscii for insets
14259
14260 2001-12-05  Juergen Vigna  <jug@sad.it>
14261
14262         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14263         set the right font on the "multi" paragraph paste!
14264
14265 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14266
14267         * trans_decl.h:
14268         * trans_mgr.[Ch]:
14269         * trans.[Ch]:
14270         * lyxgluelength.C:
14271         * lyxlength.C: remove out-commented code.
14272
14273         * BufferView_pimpl:
14274         * CutAndPaste.C:
14275         * DepTable.C:
14276         * buffer.C:
14277         * chset.C:
14278         * lastfiles.C:
14279         * lyxlex.C:
14280         * lyxlex_pimpl.C:
14281         * lyxserver.C:
14282         * screen.C:
14283         * tabular-old.C:
14284         * tabular.C:
14285         * text.C:
14286         * trans_mgr.C:
14287         * vc-backend.C: change "while(" to "while ("
14288
14289         * lyxlength.[Ch]: add zero function to check if length is zero or
14290         not
14291         * lyxgluelength.C: use it
14292
14293 2001-12-05  Allan Rae  <rae@lyx.org>
14294
14295         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14296         Works for 2.95.3, from what I understand of Garst's reports this should
14297         work for other g++ versions.  We're screwed if the abs(int) definition
14298         changed between bugfix releases of gcc.
14299
14300 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14301
14302         * text.C: fix chapter label offset !
14303
14304 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14305
14306         * lyxtext.h:
14307         * text.C: fix hfill at end of line, clean up
14308
14309 2001-12-04  Juergen Vigna  <jug@sad.it>
14310
14311         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14312         that we force an update of the inset and it's owners if neccessary.
14313
14314 2001-12-03  Juergen Vigna  <jug@sad.it>
14315
14316         * text.C (rowLast): simplified code
14317
14318 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14319
14320         * lyxfunc.C: fix show options on timeout
14321
14322 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14323
14324         * screen.C (topCursorVisible): scroll half a page when the cursor
14325         reached top of bottom of screen
14326
14327 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14328
14329         * minibuffer.C: deactivate on loss of focus
14330
14331 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14332
14333         * vspace.[Ch] (operator!=): add operator.
14334
14335 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14336
14337         * BufferView_pimpl.C: refuse to open an inset when
14338         there's a selection.
14339
14340 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14341
14342         * BufferView_pimpl.C: allow to click on RHS of full row insets
14343
14344 2001-11-30  Juergen Vigna  <jug@sad.it>
14345
14346         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14347         insets for undo reasons.
14348
14349 2001-11-28  André Pönitz <poenitz@gmx.net>
14350
14351         * vspace.[Ch]: cosmetical changes
14352
14353 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14354
14355         * LyXAction.h:
14356         * LyXAction.C:
14357         * lyxfunc.h:
14358         * lyxfunc.C:
14359         * kbmap.h:
14360         * kbmap.C:
14361         * lyxrc.C:
14362         * kbsequence.h:
14363         * kbsequence.C: part re-write of old kb code
14364
14365         * Painter.C:
14366         * WorkArea.C: remove Lgb_bug_find_hack
14367
14368 2001-11-30  José Matos <jamatos@fep.up.pt>
14369
14370         * buffer.C (makeDocBookFile): add a comment to point a hack.
14371         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14372         Fixed a double write of labels.
14373
14374 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14375
14376         * LaTeX.C:
14377         * LaTeX.h Fixed bug in LaTeX class where it would not
14378         re-run latex if no depfiles were changed, but the .dvi was removed.
14379
14380 2001-11-28  André Pönitz <poenitz@gmx.net>
14381
14382         * all the files from the change on 2001/11/26:
14383         use lyx::layout_type instead of LyXTextClass::size_type
14384         use lyx::textclass_type instead of LyXTextClassList::size_type
14385
14386 2001-11-29  Juergen Vigna  <jug@sad.it>
14387
14388         * text.C: added support for paragraph::isFreeSpacing()
14389
14390         * buffer.C: same as above
14391
14392         * paragraph.h: inserted isFreeSpacing() function to enable
14393         FreeSpacing inside InsetERT.
14394
14395         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14396         of the paragraph's in the cut/copy buffer to 0!
14397
14398         * text2.C (removeRow): remove the assert as it can!
14399
14400         * lyxtext.h: added helper function firstRow returning firstrow and
14401         made firstrow private again.
14402
14403         * BufferView2.C (lockInset): don't relock if we're already locked!
14404
14405         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
14406         the only paragraph.
14407         (removeRow): added Assert::(firstrow)
14408
14409         * debug.C: forgot to add INSETTEXT here.
14410
14411 2001-11-28  Juergen Vigna  <jug@sad.it>
14412
14413         * sp_spell.C (initialize): changed error text to more general
14414         spellchecker command use (not only ispell!)
14415
14416         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
14417
14418         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
14419
14420 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14421
14422         * vspace.C: initialise lyxgluelength on failure
14423
14424 2001-11-28  Allan Rae  <rae@lyx.org>
14425
14426         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
14427         declaration & definition that looks like a function declaration.
14428
14429 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14430
14431         * BufferView2.C (copy):
14432         (copyEnvironment): do not clear the selection when doing a copy.
14433
14434         * text.C (paintFirstRow): compilation fix
14435
14436 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
14437
14438         * tabular.C (Latex): correct line count when writing latex.
14439
14440 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
14441
14442         * paragraph_pimpl.h:
14443         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
14444           bug a bit
14445
14446 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14447
14448         * text.C:
14449         * LColor.h:
14450         * LColor.C: change vfillline->added_space
14451
14452         * text.C: add markers and text for added space
14453
14454         * vspace.C: fix comment
14455
14456 2001-11-28  André Pönitz <poenitz@gmx.net>
14457
14458         * paragraph.C: whitespace changes
14459         * all the other files from the change on 2001/11/26:
14460         change *::pos_type into lyx::pos_type
14461
14462 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
14463
14464         * buffer.C (parseSingleLyXformat2Token): Set the language to the
14465         language of the document when inserting error insets.
14466
14467 2001-11-26  André Pönitz <poenitz@gmx.net>
14468
14469         * BufferView_pimpl.[Ch]:
14470         *       CutAndPaste.C:
14471         * buffer.[Ch]:
14472         * lyxcursor.[Ch]:
14473         * lyxfind.C:
14474         * lyxfunc.C:
14475         * lyxrow.[Ch]:
14476         * paragraph.[Ch]:
14477         * paragraph_pimpl.[Ch]:
14478         * sp_spell.C:
14479         * text.C:
14480         * text2.C: reduce header dependencies, introduce type for positions
14481
14482 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14483
14484         * <various>: change to use Alert.h
14485
14486 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
14487
14488         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
14489         when encountering an unknown token.
14490         (readLyXformat2): Show an error message if there were unknown tokens.
14491
14492 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
14493
14494         * BufferView2.C:
14495         * BufferView_pimpl.C:
14496         * buffer.C:
14497         * paragraph.h:
14498         * text.C:
14499         * text2.C: use par->isInset()
14500
14501 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
14502
14503         * paragraph_pimpl.h:
14504         * paragraph_pimpl.C: cleanup
14505
14506 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14507
14508         * text2.C (removeRow):
14509         * text.C (setHeightOfRow): remove useless (and costly) call to
14510         getRow.
14511
14512 2001-11-20  Allan Rae  <rae@lyx.org>
14513
14514         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
14515         Now need Inset*::checkInsertChar() to return true for appropriate
14516         cases so that the characters in the minibuffer will actually be
14517         inserted.
14518
14519 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14520
14521         * text.C: change the order of the includes.
14522         (workWidth): initialize it at once.
14523         (workWidth): make maxw unsigned
14524         (setHeightOfRow): remove unused variable (inset)
14525         (selectSelectedWord): remove unused variable (inset)
14526         (paintRowText): fix drawing of hfill characters, and clean up a bit.
14527
14528 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14529
14530         * lyxserver.C (emergencyCleanup): do not try to close pipes if
14531         server is not running.
14532         (openConnection):
14533         (closeConnection): add debug info when server is disabled.
14534
14535         * ColorHandler.C (getGCForeground): send debug message to GUI
14536         channel.
14537
14538         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
14539
14540         * kbmap.C (bind): modify because return conventions of
14541         kb_sequence::parse have changed.
14542
14543         * kbsequence.C (parse): only ignore spaces and not any stupid
14544         control character. This avoids tests like s[i] <= ' ', which are
14545         guaranteed to fail with 8bit characters and signed chars.
14546         Change return code to string::npos when there have been no error
14547         (0 was a bad idea when error is at first character)
14548
14549 2001-11-14  José Matos  <jamatos@fep.up.pt>
14550
14551         * buffer.h:
14552         * buffer.C (simpleDocBookOnePar): removed unused argument.
14553
14554 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14555
14556         * text.C (selectNextWordToSpellcheck): do not test explicitely for
14557         insets which are part of a word. Paragraph::isLetter takes care of
14558         that now. Use Paragraph::isInset to identify insets.
14559         (selectSelectedWord): do not test for hyphenation break.
14560
14561         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
14562         that protected spaces are considered as spaces.
14563
14564         * paragraph.C (isLetter): cleanup the code for ispell extras; use
14565         Inset::isLetter.
14566
14567 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
14568
14569         * lyxserver.h:
14570         * lyxserver.C: fix it. and small cleanup.
14571
14572 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14573
14574         * BufferView_pimpl.C: use inline helpers
14575
14576         * LaTeXFeatures.h:
14577         * LaTeXFeatures.C: fix typos
14578
14579         * Spacing.h:
14580         * Spacing.C: move spacing_string into class
14581
14582         * ToolbarDefaults.C: move stuff into namespace anon
14583
14584         * layout.h: update enum
14585
14586         * lyxfunc.C: use better debug
14587
14588         * minibuffer.h: fix typo
14589
14590         * debug.h:
14591         * debug.C:
14592         * WorkArea.C: add and use Debug::WORKAREA
14593
14594         * lyxtext.h:
14595         * text.C:
14596         * text2.C: code re-organisation, inline helpers
14597
14598 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
14599
14600         * Layout.C: replaced a few cases of std::vector.size() == 0 with
14601         std::vector.empty().
14602
14603 2001-11-09  Allan Rae  <rae@lyx.org>
14604
14605         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
14606         '\n's after tables.  Tabular and ERT inset work now makes this no
14607         longer necessary.
14608
14609 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
14610
14611         * minibuffer.h:
14612         * minibuffer.C: fix crash, improve drop-down completion
14613
14614 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
14615
14616         * lyxserver.h:
14617         * lyxserver.C: invalidate fd's when doing endPipe()
14618
14619 2001-11-08  José Matos  <jamatos@fep.up.pt>
14620
14621         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
14622         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
14623
14624         * paragraph.h:
14625         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
14626
14627 2001-11-07  José Matos  <jamatos@fep.up.pt>
14628
14629         * buffer.h:
14630         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
14631         const qualifier.
14632
14633         * buffer.C (sgmlOpenTag):
14634         * buffer.C (sgmlCloseTag): removed debug info.
14635
14636         * buffer.h (sgmlOpenTag):
14637         * buffer.h (sgmlCloseTag): made public.
14638
14639 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14640
14641         * buffer.C (saveParamsAsDefaults):
14642         * lyx_cb.C (MenuLayoutSave): remove
14643
14644         * LyXAction.C (init):
14645         * commandtags.h:
14646         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
14647
14648 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14649
14650         * buffer.C (setPaperStuff): removed from here...
14651
14652         * bufferparams.C (setPaperStuff): ... and moved there.
14653
14654 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
14655
14656         * minibuffer.h:
14657         * minibuffer.C:
14658         * XFormsView.C: add support for drop-down completion
14659
14660 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
14661
14662         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14663         commands.
14664
14665 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14666
14667         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14668         disabled.
14669
14670 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
14671
14672         * lyx_main.C: change ref to known bugs
14673
14674 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
14675
14676         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14677         to work around older babel problems.
14678
14679 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14680
14681         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14682
14683 2001-10-24  Juergen Vigna  <jug@sad.it>
14684
14685         * tabular-old.C (ReadOld): below variable changes reflected.
14686
14687         * tabular.[Ch]: added ltType struct for longtable header/footer
14688         defines and changed all instances where they are used. Added
14689         future support for double top/bottom rows.
14690
14691 2001-10-24  José Matos  <jamatos@fep.up.pt>
14692
14693         * buffer.h (docbookHandleCaption):
14694         * buffer.C (docbookHandleCaption): removed unused function.
14695         (makeDocBookFile): moved docbook supported version to v4.1.
14696
14697 2001-10-24  José Matos  <jamatos@fep.up.pt>
14698
14699         * tabular.h:
14700         * tabular.C (docbookRow): new function to export docbook code of a row.
14701         (DocBook): now honors the longtable flags.
14702
14703 2001-10-23  José Matos  <jamatos@fep.up.pt>
14704
14705         * LaTeXFeatures.h:
14706         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14707         of the lyx defined sgml entities used in a docbook/linuxdoc document.
14708
14709         * buffer.C (makeLinuxDocFile):
14710         (makeDocBookFile): reworked the preamble, more clean, and with
14711         support for lyx defined entities. Changed the document declaration
14712         to be more XML friendly.
14713
14714         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14715         if we need to output XML that should be done with a filter.
14716
14717 2001-10-22  Juergen Vigna  <jug@sad.it>
14718
14719         * sp_pspell.h (class PSpell): add alive function needed in the
14720         controller to see if the spellchecker could be started.
14721
14722 2001-10-22  Juergen Vigna  <jug@sad.it>
14723
14724         * buffer.C (insertStringAsLines): modify the font for inserting
14725         chars in certain conditions by calling checkInsertChar(font).
14726
14727 2001-10-19  Juergen Vigna  <jug@sad.it>
14728
14729         * text.C (workWidth): use getRow instead of wrong algorithm.
14730         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14731
14732 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
14733
14734         * lyxserver.h:
14735         * lyxserver.C:
14736         * lyx_main.h:
14737         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14738
14739 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14740
14741         * text.C (workWidth): do not search for the exact row when
14742         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14743         optimization for big documents.
14744
14745 2001-10-18  Juergen Vigna  <jug@sad.it>
14746
14747         * text.C (workWidth): new function with added Inset * parameter.
14748
14749 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14750
14751         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14752
14753         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14754         change return type of getColumnNearX.
14755
14756
14757         * text.C (changeRegionCase): use uppercase/lowercase instead of
14758         toupper/tolower.
14759         (leftMargin):
14760         (rightMargin): simplify code by factoring out the uses of
14761         textclasslist.
14762         (labelFill):
14763         (numberOfHfills):
14764         (setHeightOfRow):
14765         (appendParagraph): use Paragraph::size_type
14766
14767 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14768
14769         * vspace.C (asLatexString): add a missing break
14770
14771 2001-10-15  Herbert Voss  <voss@perce.de>
14772
14773         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14774
14775 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14776
14777         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14778         is not available.
14779
14780 2001-10-10  André Pönitz <poenitz@gmx.net>
14781
14782         * lyxfunc.C: removed greek_kb_flag.
14783
14784 2001-10-10  Herbert Voss  <voss@perce.de>
14785
14786         * lyx_main.C: delete global string help_lyxdir.
14787
14788 2001-10-09  Herbert Voss  <voss@perce.de>
14789
14790         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14791
14792         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14793
14794         * lyx_main.C: added global string help_lyxdir.
14795
14796         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14797
14798 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14799
14800         * lyxrc.C (set_font_norm_type): support iso8859-4
14801
14802 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
14803
14804         * LaTeX.C (deplog): add another regex for MikTeX
14805
14806 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14807
14808         * lyxrc.C (set_font_norm_type): support iso8859-3
14809
14810 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14811
14812         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14813
14814         * LaTeXFeatures.C: remove special case of french and index
14815
14816         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14817         before \begin{document}). This solves several incompatibilities.
14818
14819 2001-10-03  Garst Reese  <reese@isn.net>
14820
14821         * lyx_cb.C: change CheckTex error msg.
14822
14823 2001-10-03  José Matos  <jamatos@fep.up.pt>
14824
14825         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14826
14827 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14828
14829         * .cvsignore: update
14830
14831         * lyx_main.C (commandLineVersionInfo): use new style version info.
14832
14833         * buffer.C (writeFile):
14834         (makeLaTeXFile):
14835         (makeLinuxDocFile):
14836         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14837
14838         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14839
14840         * version.h: update to use stuff in version.C
14841
14842         * version.C.in: new file. Contains version information determined
14843         at compile time. This is a merging of version.h and
14844         version_info.h.in.
14845
14846 2001-10-03  Juergen Vigna  <jug@sad.it>
14847
14848         * BufferView_pimpl.C (update): don't change "dirty" status in
14849         updateInset call.
14850
14851 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
14852
14853         * WorkArea.C (c-tor): re-position version string slightly.
14854
14855 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
14856
14857         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14858         revert to previous code.
14859
14860         WorkArea.[Ch]: (show, destroySplash): methods removed.
14861
14862         WorkArea.C: rework code so that it's an amalgam of the codes before and
14863         after the splash screen was moved to WorkArea.
14864
14865 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14866
14867         * lyxrc.C (read):
14868         * vspace.C (inPixels):
14869         (lyx_advance):
14870         * kbmap.C (bind):
14871         * buffer.C (insertStringAsLines):
14872         (asciiParagraph): fix types to be large enough
14873
14874         * lyxlex_pimpl.h: change member status from short to int
14875
14876         * layout.h: fix type of endlabeltype
14877
14878         * kbmap.C (bind):
14879         * kbsequence.C (parse): change return type to string::size_type
14880
14881         * LaTeX.C (updateBibtexDependencies): comment out unneeded
14882         variable
14883
14884         * Bullet.C (bulletSize):
14885         (bulletEntry): do not use short ints as parameters
14886
14887         * BufferView2.C (insertLyXFile): change a char to an int.
14888
14889         * WorkArea.C (WorkArea): remove unneeded floats in computation
14890
14891 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
14892
14893         * buffer.C (asciiParagraph): Treat '\\' as other chars.
14894
14895         * paragraph.C (asString): Do not ignore newline/hfill chars when
14896         copying to the clipboard.
14897
14898 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
14899
14900         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14901         after a multi-line inset.
14902
14903 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
14904
14905         * paragraph.C (validate): Set NeedLyXFootnoteCode
14906
14907 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14908
14909         * lyxfont.C (LyXSizeNames): changed increase-error to increase
14910         and decrease-error to decrease.
14911
14912 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14913
14914         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14915         it more readable (should be equivalent)
14916
14917 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
14918
14919         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14920
14921 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14922
14923         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14924         of a cursor (row, etc.) after a character has been deleted
14925         (deleteEmptyParagraphMechanism): call the method above on _all_
14926         cursors held by the LyXText when a double space has been
14927         detected/deleted.
14928
14929 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
14930
14931         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14932         pixmap.
14933         (resizeCurrentBuff): remove code to destroy the old splash dialog.
14934
14935         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14936         background. Use greyOut() and the new show() methods to toggle between
14937         the foreground and background. Add code to remove the splash after
14938         its initial showing.
14939
14940         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14941         (create_forms): no longer call Dialogs::showSplash.
14942
14943 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14944
14945         * .cvsignore: add version_info.h
14946
14947 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14948
14949         * version_info.h.in: new file
14950
14951         * Makefile.am: add version_info.h.in
14952
14953         * lyx_main.C (commandLineVersionInfo): use version_info defined in
14954         version_info.h instead of VERSION_INFO
14955
14956 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
14957
14958         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14959         The ERT inset now returns string().
14960
14961 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
14962
14963         * lyxtext.h, text.C (selectNextWord): renamed as
14964         selectNextWordToSpellcheck.
14965
14966         * text.C (selectNextWordToSpellcheck): Modified to not select
14967         words inside an ERT inset.
14968
14969 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14970
14971         * lyx_cb.C (MenuLayoutSave): change a bit the question
14972
14973         * sp_base.h: include <sys/types.h>
14974
14975 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
14976
14977         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14978
14979 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
14980
14981         * several files: fix typos in user-visible strings
14982
14983 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14984
14985         * text2.C (pasteSelection): do not set the selection, since it
14986         will be cleared later. Actually, the intent was to fix the way the
14987         selection was set, but I figured rmoving the code was just as good.
14988
14989 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
14990
14991         * FontLoader.C (available): Check if font is available without
14992         loading the font.
14993
14994 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
14995
14996         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14997
14998 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
14999
15000         * lyxrc.[Ch]: added display_graphics variable and associated code.
15001
15002 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15003
15004         * bufferparams.C (hasClassDefaults): new method. Returns true if
15005         the buffer parameters correspond to known class defaults
15006
15007 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15008
15009         * XFormsView.C (show): set minimum size to the main window.
15010
15011 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15012
15013         * text2.C (copySelection):
15014         (cutSelection):
15015         * lyxfind.C (LyXReplace):
15016         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15017         LyXText::selectionAsString.
15018
15019         * paragraph.C (asString): add "label" argument to the second form
15020
15021         * text2.C (selectionAsString): add "label" argument and pass it to
15022         Paragraph::asString.
15023
15024 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15025
15026         * lyx_main.C (commandLineHelp): remove version information
15027
15028 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15029
15030         * lyx_main.C: add -version commandline option
15031
15032 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15033
15034         * paragraph.h: make the optional constructor arg required instead.
15035         some modifications to other files because of this.
15036
15037         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15038
15039         * lyxserver.C (C_LyXComm_callback): make it static
15040
15041         * lyx_main.C (error_handler): make it static
15042
15043         * lyx_gui.C (LyX_XErrHandler): make it static
15044
15045         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15046
15047         * WorkArea.C: make the extern "C" methods static.
15048
15049         * Makefile.am (lyx_LDADD): simplify
15050
15051 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15052
15053         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15054         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15055
15056         * LyXAction.C (init):
15057         * lyxfunc.C (dispatch): associated code removal.
15058
15059 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15060
15061         * lyxfont.h (isSymbolFont): shut off warning
15062
15063         * text.C (setHeightOfRow):
15064         (getVisibleRow): fix crash with empty paragraphs which have a
15065         bottom line
15066
15067 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15068
15069         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15070         code.
15071
15072 2001-09-04  José Matos  <jamatos@fep.up.pt>
15073         * buffer.C
15074         * buffer.h
15075         * tabular.C (docbook): rename docBook method to docbook.
15076
15077 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15078
15079         * Makefile.am: add dependencies to main.o.
15080
15081 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15082
15083         * FontLoader.C (available): Return false if !lyxrc.use_gui
15084
15085 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15086
15087         * FontInfo.C (query):
15088         * converter.C (view):
15089         * importer.C (Import):
15090         * exporter.C (Export): Can not -> cannot.
15091
15092 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15093
15094         * BufferView_pimpl.C: allow to create index inset even if
15095           string is empty
15096
15097 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15098
15099         * buffer.C (getLists): replace boost::tie code with an explicit pair
15100         as boost::tie can break some compilers.
15101
15102         * iterators.h: Added a std:: declaration to the return type of
15103         ParIterator::size.
15104
15105 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15106
15107         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15108           case.
15109
15110 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15111
15112         * iterators.[Ch]: New files. Provide paragraph iterators.
15113
15114         * buffer.C (changeLanguage): Use paragraph iterators.
15115         (isMultiLingual): ditto
15116
15117         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15118
15119 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15120
15121         * FontLoader.C: Support for cmr font.
15122
15123 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15124
15125         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15126         (available): New method.
15127
15128         * FontInfo.C (getFontname): Use scalable fonts even when
15129         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15130         found.
15131
15132 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15133
15134         * converter.C (Formats::view): reverted! Incorrect fix.
15135
15136 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15137
15138         * converter.C (Formats::view): only output the -paper option
15139         if the dvi viewer is xdvi, thereby fixing bug #233429.
15140
15141 2001-08-23  Herbert Voss  <voss@perce>
15142
15143         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15144
15145 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15146
15147         * Spacing.h (Spacing): Set space to Default on in the default
15148         constructor.
15149
15150 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15151
15152         * vc-backend.h (RCS::versionString): add RCS to version
15153         (CVS::versionString): add CVS to version
15154
15155         * vc-backend.C (scanMaster): do not add CVS to version.
15156         (scanMaster): do not add RCS to version
15157
15158         * lyxvc.C (versionString): new method
15159
15160         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15161
15162 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15163
15164         * Spacing.C (set): initialize fval
15165
15166 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15167
15168         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15169         " or \.
15170
15171 2001-08-16  Juergen Vigna  <jug@sad.it>
15172
15173         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15174
15175 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15176
15177         * BufferView_pimpl.C:
15178         * figureForm.C:
15179         * lyxtext.h:
15180         * text2.C: setParagraph takes linespacing now
15181
15182 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15183
15184         * LyxAction.C: add internal LFUN_CITATION_INSERT
15185
15186         * LyXView.C: actually apply fix
15187
15188         * bufferlist.C: fix open non-existent file
15189
15190         * lyxfind.C: fix indentation
15191
15192         * lyxfunc.C: remove unneeded assert, fix typo
15193
15194 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15195
15196         * MenuBackend.C: use "Floatname List"
15197
15198 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15199
15200         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15201         when converting LaTeX layout to insetERT.
15202         Generate a non-collapsed float when reading old float
15203
15204 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15205
15206         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15207         ERT insets.
15208
15209 2001-08-13  Juergen Vigna  <jug@sad.it>
15210
15211         * text.C (fill): return 0 instead of 20 as this seems to be the more
15212         correct value.
15213
15214 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15215
15216         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15217         lyxrc.font_norm.
15218
15219 2001-08-13  Juergen Vigna  <jug@sad.it>
15220
15221         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15222         casesensitive off.
15223         (SearchBackward): comment out the unlocking of the inset_owner this
15224         should not be needed!
15225
15226 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15227
15228         * Many files: Remove inherit_language, and add latex_language
15229
15230         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15231         collapsible insets.
15232
15233 2001-08-10  Juergen Vigna  <jug@sad.it>
15234
15235         * text.C (prepareToPrint): fixed hfill-width in draw!
15236
15237         * BufferView2.C (selectLastWord): save the selection cursor as this
15238         now is cleared in the function LyXText::clearSelection!
15239
15240 2001-08-08  Juergen Vigna  <jug@sad.it>
15241
15242         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15243         BACKSPACE type functions.
15244
15245         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15246         is only cutted from the document but not put in the cut-buffer, where
15247         still the old stuff should be.
15248
15249         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15250
15251         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15252
15253         * tabular.C (SetWidthOfCell): fixed special case where the width
15254         was not updated!
15255         (LeftLine): handle '|' in align_special.
15256         (RightLine): ditto
15257         (LeftAlreadyDrawed): ditto
15258         (SetWidthOfCell): ditto
15259
15260 2001-08-07  Juergen Vigna  <jug@sad.it>
15261
15262         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15263
15264 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15265
15266         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15267         * lyxlex.[hC]: ditto
15268
15269 2001-08-06  Juergen Vigna  <jug@sad.it>
15270
15271         * text.C (getVisibleRow): fix up row clearing a bit.
15272
15273 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15274
15275         * minibuffer.C: make sure the X server sees the changes in the input.
15276
15277 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15278
15279         * paragraph.C (getFont): split into...
15280         (getLabelFont): this
15281         (getLayoutFont): and this
15282         * paragraph_pimpl.C (realizeFont): calling this
15283
15284         * text2.C (getFont): split into...
15285         (getLayoutFont): this
15286         (getLabelFont): and this
15287         (realizeFont): all three calling this
15288
15289         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15290         files where used.
15291
15292 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15293
15294         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15295
15296 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15297
15298         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15299         layouts from the Quote inset insertion.
15300
15301 2001-08-03  Juergen Vigna  <jug@sad.it>
15302
15303         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15304
15305         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15306         only if status not is already CHANGED_IN_DRAW (second level).
15307
15308         * text.C (draw): don't set the need_break_row when inside an
15309         InsetText LyXText.
15310
15311 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15312
15313         * buffer.C (parseSingleLyXformat2Token): handle more latex
15314         conversion cases.
15315
15316         * bufferview_funcs.[hC]: change function names to
15317         begin with small char, adjust other files.
15318
15319 2001-08-02  André Pönitz <poenitz@gmx.net>
15320
15321         * lyxfunc.C:
15322         BufferView_pimpl.C: remove broken special code for math-greek
15323
15324 2001-08-02  Juergen Vigna  <jug@sad.it>
15325
15326         * BufferView_pimpl.C (update): redone this function so that we
15327         update the text again if there was a CHANGE_IN_DRAW.
15328
15329         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15330         (drawFromTo): added a new internal bool which is used by draw() and
15331         redraw() function.
15332         (general): some cursor drawing problems fixed.
15333
15334 2001-08-01  Juergen Vigna  <jug@sad.it>
15335
15336         * lyxfind.C (LyXFind): fixed
15337         (SearchForward): ditto
15338         (SearchBackward): ditto
15339
15340         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15341         spurius drawing of the cursor in the main area.
15342
15343         * text2.C (status): small fix which could lead to a segfault!
15344         (clearSelection): remove unneeded BufferView param.
15345
15346 2001-08-01  André Pönitz <poenitz@gmx.net>
15347
15348         * lyxfunc.C: small change due to changed mathed interface
15349
15350 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15351
15352         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15353
15354 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15355
15356         * lyxfunc.c: fail gracefully if file doesn't exist
15357
15358         * LyXSendto.C:
15359         * buffer.C:
15360         * lyxfunc.C:
15361         * BufferView_pimpl.C: IsDirWriteable() proto changed
15362
15363         * LyXView.C: fix updateWindowTitle() to store the last title
15364
15365 2001-07-31  Juergen Vigna  <jug@sad.it>
15366
15367         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15368         the font (wrong since using of Paragraph::highestFontInRange).
15369
15370         * paragraph.C (highestFontInRange): added a default_size parameter.
15371
15372         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15373         (setHeightOfRow): reformat
15374
15375 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15376
15377         * converter.[hC] + affected files: move to (inital-char)lowercase
15378         function names.
15379
15380         * ParagraphParameters.C (ParagraphParameters): remove commented code
15381
15382         * PainterBase.[Ch]: remove commented code
15383
15384         * LaTeXFeatures.h: add "bool floats" for float.sty
15385
15386         * LaTeXFeatures.C (LaTeXFeatures): init floats
15387         (require): handle float
15388         (getPackages): do it with floats
15389
15390 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15391
15392         * BufferView_pimpl.C (Dispatch): improve handling of
15393         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15394
15395         * commandtags.h: #include lyxfont.h here temporarily to avoid
15396         keybinding bug.
15397
15398         * bufferlist.h: include LString.h here.
15399
15400 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15401
15402         * text2.C (getStringToIndex): new method.
15403
15404 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
15405
15406         * *: Reduced header file dependencies all over.
15407
15408 2001-07-30  Baruch Even  <baruch@lyx.org>
15409
15410         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
15411
15412 2001-07-29  Baruch Even  <baruch@lyx.org>
15413
15414         * buffer.C (readInset): Changed GRAPHICS to Graphics.
15415
15416 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15417
15418         * ParameterStruct.h (endif): add a default constructor to make
15419         sure that all variables is initialized.
15420
15421         * ParagraphParameters.C (ParagraphParameters): adjust
15422
15423 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15424
15425         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
15426         index; also, check that there is something to index, and that it
15427         does not span over several paragraphs.
15428         (doubleClick): use WHOLE_WORD_STRICT for double click.
15429
15430         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
15431
15432         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
15433         scheme.
15434
15435 2001-07-26  Baruch Even  <baruch@lyx.org>
15436
15437         * buffer.C (readInset): Changed to call up InsetGraphics when reading
15438         an InsetFig figure, backwards compatible reading of old figure code.
15439
15440 2001-07-27  Juergen Vigna  <jug@sad.it>
15441
15442         * text2.C: font.realize function adaption.
15443
15444         * text.C (draw): add a warnings lyxerr text if needed.
15445
15446         * layout.C: font.realize function adaption.
15447
15448         * language.C: add inherit_language and implement it's handlings
15449
15450         * bufferview_funcs.C (StyleReset): remove language parameter from
15451         font creation (should be language_inherit now).
15452
15453         * bufferparams.C (writeFile): handle ignore_language.
15454
15455         * paragraph.C (getFontSettings): the language has to be resolved
15456         otherwise we have problems in LyXFont!
15457
15458         * lyxfont.C (lyxWriteChanges): added document_language parameter
15459         (update): removed unneeded language parameter
15460
15461         * paragraph.C (validate): fixed wrong output of color-package when
15462         using interface colors for certain fonts in certain environments,
15463         which should not seen as that on the final output.
15464
15465 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
15466
15467         * BufferView_pimpl.C:
15468         * Thesaurus.h:
15469         * Thesaurus.C:
15470         * Makefile.am:
15471         * commandtags.h:
15472         * LyXAction.C: add thesaurus support
15473
15474         * lyxfind.h:
15475         * lyxfind.C: add "once" parameter, for thesaurus, to not
15476           move to the next match
15477
15478 2001-07-26  Juergen Vigna  <jug@sad.it>
15479
15480         * lyxfont.C (realize): honor ignore_language too!
15481         (resolved): ditto.
15482
15483         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
15484
15485         * text.C (draw): one place more for ignore_language to not draw
15486         itself!
15487
15488 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
15489
15490         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
15491
15492 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15493
15494         * buffer.C (parseSingleLyXformat2Token): a more general fix for
15495         the minipage conversion problem.
15496
15497 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15498
15499         * buffer.C (parseSingleLyXformat2Token): check minipage if we
15500         insert an inset.
15501
15502 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15503
15504         * BufferView.h: don't forward declare WorkArea
15505
15506         * BufferView.C: don't include WorkArea.h
15507
15508 2001-07-25  André Pönitz <poenitz@gmx.net>
15509
15510         * commandtags.h:
15511         * LyXAction.C:
15512         * lyxfunc.C:  new LFUN 'math-space'
15513
15514         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
15515
15516 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15517
15518         * text2.C (toggleInset): call open/close
15519
15520 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15521
15522         * lyxfunc.C (dispatch): add debug for the disabled case
15523
15524         * font.C (buttonText): make similar to rectText
15525
15526         * buffer.C (readInset): comment out parsing of insetlist and
15527         insttheorem
15528
15529         * PainterBase.C (rectText): small correction
15530
15531         * BufferView_pimpl.C: comment out insettheorem and insetlist
15532         * LyXAction.C: ditto
15533         * commandtags.h: ditto
15534
15535 2001-07-24  Juergen Vigna  <jug@sad.it>
15536
15537         * text.C (draw): honor the ignore_language.
15538
15539         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
15540
15541 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15542
15543         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
15544         char inset.
15545
15546 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15547
15548         * lyxtext.h: remove unused (and unimplemented) methods
15549
15550 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15551
15552         * text.C (getVisibleRow): honor background color
15553
15554         * PainterBase.h:
15555         * Painter.h: remove default color argument for fillRectangle
15556
15557         * text.C (backgroundColor): new method
15558
15559 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15560
15561         * text.C (getVisibleRow): adjust
15562
15563         * font.[Ch] (rectText): new method, metrics
15564         (buttonText): new method, metrics
15565
15566         * PainterBase.[hC]: make rectText and buttonText always draw and take
15567         fewer paramteres.
15568
15569 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15570
15571         * ToolbarDefaults.C (read):
15572         * MenuBackend.C (read): allow escaping in all strings
15573
15574         * BufferView_pimpl.C (insertAndEditInset): new method.
15575         (Dispatch): use insertAndEditInset whenever appropriate.
15576
15577         * BufferView_pimpl.C (insertNote): removed
15578
15579         * BufferView_pimpl.C (smartQuote): new method, moved from
15580         BufferView; if an insetquote cannot be inserted, insert a '"'
15581         character instead.
15582
15583         * BufferView2.C: remove insertCorrectQuote();
15584
15585         * lyxfunc.C (getStatus): Add support for all remaingin
15586         inset-insert lfuns.
15587
15588         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
15589
15590         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
15591         command (necessary to pass " as parameter of self-insert.
15592
15593         * text.C (selectWordWhenUnderCursor):
15594         (selectWord): add word_location parameter
15595         (selectWordWhenUnderCursor): same + remove special code for word
15596         boundary.
15597         (selectNextWord): use kind() to guess type of insetspecialchar,
15598         not latex().
15599
15600         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
15601         (insertErtContents): create ert insets as collapsed.
15602         (readInset): better compatibility code for Info inset.
15603
15604 2001-07-20  Juergen Vigna  <jug@sad.it>
15605
15606         * lyxfunc.C (dispatch): use always LyXFind now!
15607
15608         * text2.C (init): add a reinit flag so that the LyXText can be
15609         reinited instead of deleted and reallocated (used in InsetText).
15610
15611         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
15612
15613         * text.C: ditto
15614
15615         * text2.C: ditto
15616
15617 2001-07-18  Juergen Vigna  <jug@sad.it>
15618
15619         * text.C (selectNextWord): handle insets inside inset by calling
15620         always the bv->text functions so that we can go up the_locking_inset!
15621
15622         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
15623         in strange locations when inside an inset!
15624
15625         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
15626         handling to include insets.
15627
15628         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
15629
15630 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15631
15632         * LyXAction.C (init):
15633         * commandtags.h:
15634         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
15635         LIGATURE_BREAK, since the name is so stupid.
15636
15637 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15638
15639         * buffer.C (readInset): enable reading of new InsetNotes as well as old
15640         InsetInfos.
15641
15642         * FontLoader.C: remove FORMS_H_LOCATION cruft.
15643
15644         * sp_form.[Ch]: remove.
15645
15646         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
15647
15648         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
15649         InsetInfo.
15650
15651         * src/buffer.C (readInset): ditto.
15652
15653 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15654
15655         * BufferView_pimpl.C (specialChar): new method. Obsoletes
15656         menuSeparator(), endOfSentenceDot(), ldots() and
15657         hyphenationPoint(), which are therefore removed.
15658         (Dispatch): handle LFUN_HYPHENATION_BREAK.
15659
15660         * LyXAction.C (init):
15661         * commandtags.h: add LFUN_HYPHENATION_BREAK.
15662
15663         * paragraph.C (getWord): removed.
15664
15665         * BufferView_pimpl.C (Dispatch): use last word or selection for
15666         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15667
15668         * lyx_main.C (queryUserLyXDir): do not ask before creating
15669         user_dir, except if it has been named explicitely.
15670
15671 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
15672
15673         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15674         a document of zero size.
15675
15676 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
15677
15678         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15679         approriately in the c-tor and in require().
15680         (getPackages): output the appropriate LaTeX for natbib support.
15681
15682         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15683         variables "use_natbib" and "use_numerical_citations" when reading the
15684         LyX file.
15685         (readInset): read the various natbib cite commands.
15686         (validate): white-space change.
15687
15688         * bufferparams.[Ch]: new variables "bool use_natbib" and
15689         "bool use_numerical_citations".
15690         (writeFile): output them in the LyX file.
15691
15692 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
15693
15694         * lyxfunc.C (getStatus): add support for all the inset insertion
15695         commands.
15696
15697         * text2.C (insertInset):
15698         * paragraph.C (insetAllowed):
15699         * BufferView_pimpl.C (insertInset): update to take in account the
15700         renaming of insertInsetAllowed
15701
15702         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15703
15704         * text2.C (getInset): new method. returns inset at cursor position.
15705
15706         * BufferView_pimpl.C (Dispatch): changes because of this.
15707
15708         * LyXAction.C (init): rename open-stuff to inset-toggle.
15709
15710         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15711
15712         * text2.C (toggleInset): renamed from openStuff; use
15713         Inset::open().
15714
15715 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
15716
15717         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15718
15719         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15720
15721 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
15722
15723         * buffer.C (readLyXformat2): Add filename to the error dialog
15724
15725 2001-07-18  Juergen Vigna  <jug@sad.it>
15726
15727         * tabular.C (GetCellNumber): put an assert here instead of the check!
15728
15729 2001-07-17  Juergen Vigna  <jug@sad.it>
15730
15731         * BufferView_pimpl.C (toggleSelection): adapted too.
15732
15733         * text.C (selectNextWord): adapted for use with insets.
15734         (selectSelectedWord): ditto
15735
15736 2001-07-17  Juergen Vigna  <jug@sad.it>
15737
15738         * sp_spell.C (PSpell): fix initialitation order.
15739
15740 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15741
15742         * paragraph.C: spacing
15743
15744 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
15745
15746         * sp_spell.C: repair language selection for pspell
15747
15748 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15749
15750         * lyxfunc.h: change more methods to begin with lower char.
15751
15752 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
15753
15754         * buffer.C (parseSingleLyXformat2Token): Generate error insets
15755         for unknown layouts.
15756
15757 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
15758
15759         * buffer.C (readLyXformat2): Generate an error dialog if there are
15760         unknown layouts.
15761
15762 2001-07-16  Juergen Vigna  <jug@sad.it>
15763
15764         * sp_spell.C: always compile ISpell part.
15765
15766         * lyxrc.C: added use_pspell entry and it's handling.
15767
15768 2001-07-13  Juergen Vigna  <jug@sad.it>
15769
15770         * sp_spell.C: removed double includes.
15771
15772 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
15773
15774         Consistent use of Lsstream.h:
15775         * Lsstream.h: added using std::stringstream for consistencies sake.
15776
15777         * buffer.C: removed using std::stringstream
15778
15779         * lyxfont.C (stateText):
15780         * paragraph.C (asString):
15781         * text.C (selectNextWord, selectSelectedWord):
15782         * text2.C (setCounter):
15783         * vspace.C (asString, asLatexString):
15784         std::ostringstream -> ostringstream.
15785
15786 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15787
15788         * LyXAction.C: add LFUN_HELP_ABOUTLYX
15789         * commandtags.h: add LFUN_HELP_ABOUTLYX
15790         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15791
15792 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
15793
15794         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15795         cursorToggle()
15796         * lyx_gui_misc.C: remove spellchecker
15797         * lyxfunc.C: showSpellchecker
15798         * sp_base.h: added
15799         * sp_ispell.h: added
15800         * sp_pspell.h: added
15801         * sp_spell.C: added
15802         * sp_form.[Ch]: removed
15803         * spellchecker.[Ch]: removed
15804
15805 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
15806
15807         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15808         is set.
15809         (simpleTeXSpecialChars): Simply print the input character without
15810         any special translation if pass_thru is set.
15811
15812         * layout.h: Added bool pass_thru to layout class for being able to
15813         implement pass through of a paragraph for Literate Programming.
15814
15815         * layout.C: add LT_PASS_THRU to LayoutTags enum.
15816         * layout.C (LyXLayout): set pass_thru to flase in constructor.
15817         * layout.C (Read): add "passthru" to list of layout tags and add
15818         code to set the pass_thru boolean when it is read.
15819
15820 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15821
15822         * trans_decl.h: remove allowed from KmodInfo
15823
15824         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15825         remove allowed code
15826         (Load): adjust
15827
15828         * paragraph_pimpl.C (erase): use boost::prior
15829
15830         * Painter.C (text): use data() instead of c_str() when length is
15831         also provided.
15832         * WorkArea.C (putClipboard): ditto
15833         * font.h (width): ditto
15834
15835         * BufferView2.C: use it-> instead of (*it). for iterators
15836         * texrow.C: ditto
15837         * paragraph_pimpl.C: ditto
15838         * paragraph.C: ditto
15839         * minibuffer.C: ditto
15840         * language.C: ditto
15841         * kbmap.C: ditto
15842         * encoding.C: ditto
15843         * counters.C: ditto
15844         * converter.C: ditto
15845         * chset.C: ditto
15846         * Variables.C: ditto
15847         * TextCache.C: ditto
15848         * MenuBackend.C: ditto
15849         * LyXAction.C: ditto
15850         * LColor.C: ditto
15851         * FloatList.C: ditto
15852         * DepTable.C: ditto
15853         * ColorHandler.C (LyXColorHandler): ditto
15854
15855 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15856
15857         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15858
15859         * text2.C (openStuff): reintroduce this method (which had been
15860         nuked in NEW_INSETS frenzy).
15861
15862         * lyxfunc.C (Dispatch): when an action has not been handled, use
15863         its name in the error message, not its number.
15864
15865         * paragraph.C (inInset): change method name to begin with lowercase.
15866
15867         * undo_funcs.C:
15868         * text2.C: updates because of this.
15869
15870 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15871
15872         * ToolbarDefaults.C (add): add spaces in error message
15873
15874 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15875
15876         * buffer.C (readLyXformat2): initialize the ert comp. variables.
15877         (readLyXformat2): rename return_par to first_par, use lyxlex's
15878         pushToken and remove the manual push handling.
15879         (parseSingleLyXformat2Token): add another ert comp. variable:
15880         in_tabular, rename return_par to first_par. handle newlines better
15881
15882 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15883
15884         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15885
15886 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15887
15888         * text2.C (getParFromID): removed
15889
15890         * buffer.C (getParFromID): new method moved form lyxtext.
15891         * BufferView2.C (insertErrors): adjust
15892         (setCursorFromRow): adjust
15893         * BufferView_pimpl.C (restorePosition): adjust
15894         * lyxfunc.C (Dispatch): adjust
15895         * undo_funcs.C (textUndo): adjust
15896         (textRedo): adjust
15897         (textHandleUndo): adjust
15898         (textHandleUndo): adjust
15899
15900 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15901
15902         * buffer.C: up' the LYX_FORMAT
15903
15904         * lyxfont.h: turn NO_LATEX on as default
15905
15906         * buffer.C (insertErtContents): new methods of tex style compability.
15907         (parseSingleLyXformat2Token): use it several places.
15908         * tabular.C (OldFormatRead): and here
15909
15910 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15911
15912         * text2.C: remove some commented code.
15913         reindent file.
15914
15915         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15916         * trans.C: changes because of the above.
15917
15918 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
15919
15920         * text2.C (setCounter): Fix counters bug with bibliography layout.
15921
15922 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15923
15924         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15925         own member functions
15926         (simpleTeXSpecialChars): ditto
15927
15928 2001-07-06  Juergen Vigna  <jug@sad.it>
15929
15930         * a lot of files: changed the access to LyXText::status and the
15931         call of undo-functions.
15932
15933         * undo.[Ch]: added a inset_id to the undo informations.
15934
15935         * undo_funcs.[Ch]: added and moved here all undo functions.
15936
15937         * lyxtext.h: give the status enum a weight, made status_ a private
15938         variable and made accessor functions for it, removed the whole bunch
15939         of undo-functions as they are now in their own file, make some
15940         functions publically available. Added function ownerParagraph with
15941         int parameter.
15942
15943         * paragraph.[Ch]: added "bool same_ids" to the constructor,
15944         made InInset() a const function, added getParFromID() function.
15945
15946         * buffer.[Ch]: added const version for inset_iterator functions,
15947         added getInsetFromID() function.
15948
15949         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15950         changed undo functions for new version.
15951
15952 2001-07-05  Juergen Vigna  <jug@sad.it>
15953
15954         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15955         unknow mechanism does not call the proper constructor but only this
15956         one also if I request the other!?
15957
15958 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15959
15960         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15961
15962         * text2.C (LyXText): use initialization lists.
15963
15964         * lyxtext.h (Selection): initialize set_ and mark_
15965         (init): remove method
15966
15967 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
15968
15969         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15970
15971 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15972
15973         * screen.[Ch]: change method names to begin with lowercase
15974
15975         * BufferView_pimpl.C (updateScrollbar): simplify further and
15976         hopefully make it a bit faster.
15977
15978 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15979
15980         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15981         calling directly xforms functions.
15982
15983         * Painter.C (Painter):
15984         * lyx_cb.C (MenuWrite):
15985         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15986         fl_display.
15987
15988         * lyx_gui.C: remove bogus guiruntime extern declaration.
15989
15990 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15991
15992         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15993         in NEW_INSETS
15994         (redoDrawingOfParagraph): ditto
15995         (redoParagraphs): ditto
15996         (cutSelection): don't create a object for CutAndPaste use the
15997         static method directly
15998         (pasteSelection): ditto
15999
16000         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16001         LyXview (+ rename)
16002
16003 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16004
16005         * modifications to some other files because of this.
16006
16007         * Makefile.am (lyx_SOURCES): add XFormsView
16008
16009         * XFormsView.[Ch]: new files
16010
16011         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16012         the main window. Move the gui dependent stuff to XFormsView
16013
16014 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16015
16016         * tabular.C (GetCellInset): update cur_cell also in the row/col
16017         version of this function.
16018
16019         * lyxfunc.C: no need to include figure_form.h here.
16020
16021         * FontLoader.h:
16022         * lyxfunc.h:
16023         * lyxscreen.h:
16024         * text2.C:
16025         * lyxvc.C: no need to include forms.h here.
16026
16027 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16028
16029         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16030
16031         * lyxfunc.C (Dispatch):
16032         * Spacing.C (set):
16033         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16034         constructor argument.
16035
16036 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16037
16038         * paragraph.C (Paragraph): dont't clear, and just set layout.
16039         (makeSameLayout): use params's copy contructor.
16040
16041         * ParagraphParameters.[Ch] (makeSame): delete method
16042
16043 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16044
16045         * Variables.[Ch]: fix indentation, rename set to isSet
16046
16047 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16048
16049         * lyxfunc.C (Dispatch): fix typo
16050
16051 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16052
16053         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16054         upper_bound.
16055
16056         * bufferlist.C: include assert.h for emergencyWrite().
16057
16058 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16059
16060         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16061           give up at last (bug #425202) !
16062
16063 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16064
16065         * lyx_gui_misc.C:
16066         * sp_form.h:
16067         * sp_form.C:
16068         * spellchecker.h:
16069         * spellchecker.C: strip spellchecker options and bring up
16070           preferences tab instead
16071
16072 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16073
16074         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16075         the istringstream constructor
16076
16077 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16078
16079         * paragraph.C (getLayout): fix return value
16080
16081         * paragraph.h: do not declare getLayout as inline.
16082
16083         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16084
16085 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16086
16087         * lyxcursor.h (operator<): new func
16088         (operator>): new func
16089         (operator>=): new func
16090         (operator<=): new func
16091
16092         * text.C (changeCase): use selection.start and selection.end
16093         (changeRegionCase): require from to be <= to. Require par to be a
16094         valid paragraph.
16095
16096         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16097
16098 2001-06-27  Juergen Vigna  <jug@sad.it>
16099
16100         * text.C (cursorLeftOneWord): changed to return the cursor and added
16101         overlay with BufferView * parameter which calls this one.
16102         (getWord): added
16103         (selectWord): use new getWord function.
16104         (changeCase): renamed from changeWordCase as and extended to work
16105         also on selections.
16106
16107         * lyxtext.h: added enum word_location
16108
16109         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16110         changeCase as this operates now also on selections.
16111
16112 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16113
16114         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16115
16116         * many files: send debug output to Debug::INFO instead of
16117         Debug::ANY.
16118
16119         * converter.C (View):
16120         (Convert):
16121         (Move): send debug output to Debug::FILES instead of console.
16122
16123 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16124
16125         * lyxfunc.C (getStatus): use func_status
16126
16127         * func_status.h: new header, describing the results of
16128         LyXFunc::getStatus;
16129
16130         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16131         LFUN_MATH_HALIGN.
16132
16133 2001-06-25  The LyX Project  <jug@sad.it>
16134
16135         * buffer.C (sgmlOpenTag):
16136         (sgmlCloseTag):
16137         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16138
16139 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16140
16141         * text2.C: remove some dead code
16142
16143         * tabular.C (GetCellInset): store the last cell checked (gotten)
16144
16145         * tabular.h: add the helper for the speedup
16146
16147         * lyxtext.h: remove some dead code
16148
16149 2001-06-26  The LyX Project  <Asger>
16150
16151         * paragraph.C: Change export to LaTeX of alignment to
16152         \begin{center} and family for better roundtrip work with reLyX.
16153
16154         * Tune the math drawing a bit.
16155
16156 2001-06-25  The LyX Project  <Asger>
16157
16158         * LColor.C (LColor): New color for math background. New color
16159         for buttons.
16160
16161 2001-06-25  The LyX Project  <jug@sad.it>
16162
16163         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16164
16165         * lyxfunc.C (Open):
16166         * bufferlist.C (newFile): do not restrict to files ending with
16167         .lyx
16168
16169         * BufferView_pimpl.C (MenuInsertLyXFile):
16170
16171 2001-06-24  The LyX Project  <jug@sad.it>
16172
16173         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16174         of compare_no_case
16175
16176 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16177
16178         * lyxtext.h: rename most methods to begin with a small char.
16179         Lots of changes because of this.
16180
16181         * paragraph.C (Paragraph): do not call fitToSize
16182         (erase): call Pimpl::erase
16183         (insertChar): call Pimpl::insertChar
16184         (insertInset): call Pipl::insertInset
16185         (breakParagraph): do not call fitToSize
16186         (breakParagraphConservative): do not call fitToSize
16187         (fitToSize): remove method
16188
16189         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16190
16191 2001-06-24  The LyX Project  <Asger>
16192
16193         * Fix Qt compilation^2
16194
16195 2001-06-24  The LyX Project  <jug@sad.it>
16196
16197         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16198         depthHook(getDepth()-1).
16199
16200         * paragraph.h:
16201         * ParagraphParameters.h:
16202         * ParameterStruct.h: change type of depth to unsigned int ==
16203         depth_type. Many adaptations to other files before of that.
16204
16205 2001-06-24  The LyX Project  <Asger>
16206
16207         * Fix Qt compilation.
16208
16209 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16210
16211         * paragraph.h: renamed several methods to begin with small letter.
16212         several changes to many parts of the code because of this.
16213
16214 2001-06-23  The LyX Project  <jug@sad.it>
16215
16216         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16217         rewritten to discard all double spaces when KeepEmpty is off
16218         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16219         to only handle newlines but not fiddle with spaces and friends.
16220
16221         * lyxfunc.C (MenuNew): when doing 'new from template', use
16222         template_path as default directory
16223
16224 2001-06-23  The LyX Project  <Asger>
16225
16226         * Clean-up of header file includes all over
16227         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16228
16229 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16230
16231         * paragraph.h: renamed from lyxparagraph.h
16232
16233 2001-06-23  Asger  <lyx@violet.home.sad.it>
16234
16235         * Buffer.h: Removed Buffer::resize
16236         * BufferList.h: Removed BufferList::resize
16237         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16238         the document lazily when we change the width, or the font settings.
16239
16240 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16241
16242         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16243
16244 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16245
16246         * buffer.h: remove out of date comment
16247
16248 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16249
16250         * lyxscreen.h:
16251         * screen.C: fix "theoretical" GC leak
16252
16253 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16254
16255         * LaTeX.C (scanAuxFile):
16256         (deplog): remove trailing \r when reading stream (useful under
16257         win32)
16258
16259 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16260
16261         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16262         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16263         and BufferView::theLockingInset(Inset*), so should use them and not
16264         access bv_->text->the_locking_inset directly.
16265
16266         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16267
16268 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16269
16270         * Makefile.am:
16271         * tex-defs.h: remove old unused file
16272
16273 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16274
16275         * BufferView_pimpl.C: fix typo, remove minibuffer message
16276           when buffer has loaded
16277
16278 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16279
16280         * lyxfunc.C (Dispatch): use stringstream
16281         (MenuNew): use stringstream
16282         (Open): use stringstream
16283
16284         * importer.C (Import): use stringstream
16285
16286         * bufferview_funcs.C (CurrentState): use stringstream
16287
16288         * LaTeX.C (run): use stringstream
16289
16290         * BufferView_pimpl.C (savePosition): use stringstream
16291         (restorePosition): use stringstream
16292         (MenuInsertLyXFile): use stringstream
16293
16294 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16295
16296         * BufferView.C:
16297         * Bullet.C:
16298         * ColorHandler.C:
16299         * FontInfo.C:
16300         * FontLoader.C:
16301         * LColor.C:
16302         * LaTeXFeatures.C:
16303         * Painter.C:
16304         * gettext.C:
16305         * lyx_gui_misc.C:
16306         * lyxserver.C:
16307         * vspace.C: removed // -*- C++ -*- as first line.
16308
16309         * lyxfind.h:
16310         * version.h: added // -*- C++ -*- as first line.
16311
16312 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16313
16314         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16315
16316         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16317         of string
16318
16319 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16320
16321         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16322         of floats.
16323
16324 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16325
16326         * gettext.C: include LString.h even when --disable-nls is on.
16327
16328 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16329
16330         * converter.h (Get): changed argument type from int to
16331         FormatList::size_type to avoid unnecessary conversion.
16332
16333         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16334         before using it.
16335
16336 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16337
16338         * gettext.h: include LString.h even when --disable-nls is on.
16339
16340 2001-06-07  Juergen Vigna  <jug@sad.it>
16341
16342         * text.C (BreakAgain): subst spaces with tabs.
16343
16344         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16345         (resizeInsetsLyXText): set force on resizeLyXText.
16346
16347 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16348
16349         * gettext.h (gettext_init):
16350         (locale_init): use a real definition instead of a macro
16351
16352 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16353
16354         * Bufferview_pimpl.C:
16355         * LColor.h:
16356         * LColor.C: further lcolor tidies
16357
16358 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16359
16360         * BufferView_pimpl.C (updateScrollbar): simplify.
16361
16362         * BufferView2.C: don't include insets/insetinfo.h, change
16363         prototype for insertInset and call the Pimpl version. let
16364         updateInset call Pimpl version.
16365
16366         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16367         gotoInset to BufferView::Pimpl
16368
16369 2001-06-01  Juergen Vigna  <jug@sad.it>
16370
16371         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16372         inside a LockingInset (is the update needed at all?).
16373
16374 2001-05-31  Juergen Vigna  <jug@sad.it>
16375
16376         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16377         here not the old one otherwise how should we compare it afterwards
16378         if it's the same!
16379
16380 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16381
16382         * lyxfont.C:
16383         * tabular.C:
16384         * tabular-old.C:
16385         * FontInfo.C: bring C functions into global namespace when
16386         necessary
16387
16388 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16389
16390         * LString.h: make sure config.h has been loaded before LString.h.
16391
16392         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16393         (one for each char read by EatLine!).
16394
16395         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16396         variables.
16397
16398 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16399
16400         * paragraph.C (BreakParagraph): set the inset_owner in the new par
16401         to the same as the par we break from
16402
16403 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16404
16405         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
16406
16407         * MenuBackend.C (expand): also create menu entries for wide
16408         versions of the floats.
16409
16410         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
16411
16412         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
16413
16414         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
16415         frontends/Makefile.am
16416
16417         * text2.C: adjust
16418         * text.C: adjust
16419
16420
16421         * tabular.C (getTokenValue): add std::
16422
16423         * tabular-old.C (getTokenValue): add std::
16424         (getTokenValue): ditto
16425         (getTokenValue): ditto
16426
16427         * screen.C (ToggleSelection): adjust
16428
16429         * lyxtext.h: put selection cursors inside a Selection struct.
16430
16431         * lyxfunc.C (moveCursorUpdate): adjust
16432
16433         * lyxfont.C (latexWriteStartChanges): add std::
16434
16435         * lyxfind.C: adjust
16436
16437         * font.h: delete with(char const *, LyXFont const &)
16438
16439         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
16440
16441         * FontInfo.C (getFontname): add std::
16442
16443         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
16444         (workAreaButtonPress): adjust
16445         (tripleClick): adjust
16446         (update): adjust
16447         (moveCursorUpdate): adjust
16448         (Dispatch): adjust
16449
16450         * BufferView2.C (gotoInset): adjust
16451
16452 2001-05-30  Juergen Vigna  <jug@sad.it>
16453
16454         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
16455         to check pspell I add this as default as I now have new pspell
16456         libraries and they seem to use this.
16457
16458 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16459
16460         * text2.C (CutSelection): make the cursor valid before the call to
16461         ClearSelection.
16462
16463 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16464
16465         * kbsequence.C (parse): de-uglify a bit the parsing code, which
16466         relied on 0 terminated strings and other horrors. Bug found due to
16467         the new assert in lyxstring!
16468
16469         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
16470         KP_ keys.
16471
16472 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16473
16474         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
16475         to latinkeys.bind.
16476
16477         * lyxfunc.C (processKeySym): change method of getting to the
16478         self-insert char.
16479
16480         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
16481         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
16482         * BufferView_pimpl.[Ch]: here as private methods.
16483
16484 2001-05-28  Juergen Vigna  <jug@sad.it>
16485
16486         * text.C (SetHeightOfRow): added the update() call again as it is
16487         needed to initialize inset dimensions!
16488
16489 2001-05-16  Juergen Vigna  <jug@sad.it>
16490
16491         * text2.C (SetCharFont): Add new function with BufferView * and
16492         bool toggleall parameters for setting insets internal fonts.
16493         (SetFont): Freeze the undo as we may change fonts in Insets and
16494         all this change should be inside only one Undo!
16495
16496         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
16497         setting font's in insets as for them we have the SetFont function!
16498
16499 2001-05-15  Juergen Vigna  <jug@sad.it>
16500
16501         * text2.C (ClearSelection): to be sure we REALLY don't have any
16502         selection anymore!
16503
16504         * tabular.C (TeXCellPreamble): fixed the left border problem for
16505         multicolumn cells.
16506
16507 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
16508
16509         * LaTeX.C (deplog): Make sure that the main .tex file is in the
16510         dependancy file
16511
16512 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16513
16514         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
16515         LFUN_BREAKPARAGRAPH.
16516
16517         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
16518         help test to "internal only", similar for LFUN_INSERT_URL
16519
16520         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
16521         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
16522         auto_region_delete and deadkeys.
16523
16524 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
16525
16526         * LColor.h:
16527         * LColor.C: remove some dead entries, tidy a little
16528
16529 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16530
16531         * lyxfunc.C (processKeySym): comment the Escape handling, remove
16532         commented code.
16533         (Dispatch): implement LFUN_ESCAPE
16534
16535         * commandtags.h: add LFUN_ESCAPE
16536
16537         * LyXAction.C (init): add entry for LFUN_ESCAPE
16538
16539         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
16540         Remove commented code.
16541         (insertNote): moved here
16542         (open_new_inset): moved here
16543
16544         * BufferView[2].[Ch]: move insertNote and open_new_inset to
16545         BufferView_pimpl
16546
16547 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16548
16549         * kbmap.C (findbinding): clean it up and make it work correctly.
16550
16551         * lyx_main.C (init): do not pass argc and argv as parameters
16552
16553 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
16554
16555         * buffer.C: fix path for OS/2 & Win32
16556
16557         * lyx_gui.C:
16558         * lyx_main:
16559         * lyx_main.C: Added os:: class.
16560
16561         * os2_defines.h: update
16562
16563 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16564
16565         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
16566         better by trying again with reduced state.
16567
16568 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16569
16570         * lyxrc.C (read): print error about invalid key sequence only when
16571         debugging (because not all latinX keysyms are known to some X
16572         servers)
16573
16574         * kbsequence.C (getiso): add a few std:: qualifiers
16575         (getiso): comment out extra return statement.
16576
16577 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16578
16579         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
16580         handling.
16581         (Dispatch): enhance the accent inset a bit. (not perfect)
16582
16583 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16584
16585         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
16586
16587 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16588
16589         * bufferlist.C (emergencyWrite): fix assert() call
16590
16591 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
16592
16593         * text.C (InsertChar): Added trivial patch to only send the "you
16594         can not do multiple spaces this way" message once during a
16595         session.
16596
16597 2001-05-08  Baruch Even  <baruch@lyx.org>
16598
16599         * Makefile.am: Changed order of libraries to get LyX to link properly
16600         with the gnome frontend.
16601
16602 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16603
16604         * LaTeXFeatures.h: add a std:: qualifier
16605
16606 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16607
16608         * paragraph.C (String): use stringstream
16609
16610 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16611
16612         * paragraph.C (writeFile): remove footflag arg
16613
16614         * buffer.C (makeLaTeXFile): use stringstream
16615         (latexParagraphs): remove footnot gurba
16616
16617         * LaTeXFeatures.C (getPackages): use stringstream
16618         (getMacros): likewise
16619         (getTClassPreamble): likewise
16620         (getFloatDefinitions): new method
16621
16622         * paragraph.C (writeFile): reindent
16623         (Erase): reindent
16624
16625         * WorkArea.h: revert the xpos + etc changes.
16626
16627         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
16628
16629         * lyxparagraph.[Ch]: add copy constructor, remove Clone
16630
16631         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
16632         (pasteSelection): likewise
16633         * text2.C (CreateUndo): likewise
16634
16635 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16636
16637         * minibuffer.C (peek_event): temporarily reduce the functionality
16638         of the minibuffer (to allow args on lfuns)
16639
16640         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
16641         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
16642
16643         * buffer.C (readInset): add compability reading of old float
16644         lists, add reading of new style float list.
16645         (readInset): avoid reevaluation of inscmd.getCmdName()
16646         (getLists): reindent
16647
16648         * MenuBackend.C (MenuItem): implement parsing of
16649         md_floatlistinsert and md_floatinsert.
16650         (expand::LastFiles): move initalizaton of iterators out of loop,
16651         avoid reevaluation.
16652         (expand::Documents): introduce typdedef vector<string> Strings,
16653         and use it.
16654         (expand::ExportFormats): introduce typedef vector<Format const *>
16655         Formats, and use it.
16656         (expand): implement FloatListInsert and FloatInsert.
16657
16658         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
16659         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
16660         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16661
16662         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16663         handling.
16664         (Dispatch::LFUN_FLOAT_LIST): implement
16665
16666 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
16667
16668         * LaTeX.C (run): Fix problem with --export code.
16669
16670 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16671
16672         * BufferView.[Ch] (workarea): removed.
16673         (getClipboard) new method; wrapper for workarea()->getClipboard()
16674
16675         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16676         bug.
16677
16678         * WorkArea.h (width, height, xpos, ypos): These methods all
16679         returned the dimensions of the work_area sub-area of WorkArea,
16680         resulting in a position error if the WorkArea were resized. Now
16681         return the dimensions of the entire WorkArea.
16682
16683         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16684
16685 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16686
16687         * LaTeX.C (deplog): correct the syntax of regex reg1
16688
16689 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16690
16691         * undo.C: remove !NEW_INSETS cruft
16692
16693 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16694
16695         * text2.C: remove !NEW_INSETS cruft
16696
16697         * text.C: remove !NEW_INSETS cruft
16698
16699         * tabular.C: remove !NEW_INSETS cruft
16700
16701         * spellchecker.C: remove !NEW_INSETS cruft
16702
16703         * lyxtext.h: remove !NEW_INSETS cruft
16704
16705         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16706
16707         * lyxfunc.C: remove !NEW_INSETS cruft
16708
16709         * lyxfind.C: remove !NEW_INSETS cruft
16710
16711         * lyx_cb.C: remove !NEW_INSETS cruft
16712
16713         * figureForm.C: remove  !NEW_INSETS cruft
16714
16715         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16716
16717         * buffer.[Ch]: remove !NEW_INSETS cruft
16718
16719         * ToolbarDefaults.C: remove !NEW_INSETS cruft
16720
16721         * CutAndPaste.C: remove !NEW_INSETS cruft
16722
16723         * BufferView_pimpl.C: remove !NEW_INSETS cruft
16724
16725         * BufferView2.C: remove !NEW_INSETS cruft
16726
16727         * BufferView.h: remove !NEW_INSETS cruft
16728
16729 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16730
16731         * Lsstream.h: include LString.h before the sstream headers to
16732         fix problem with gcc 2.95.3 and lyxstring
16733
16734 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16735
16736         * lyx_main.C: add using directives when needed for C functions
16737         declared in std:: namespace.
16738
16739 2001-04-27  Juergen Vigna  <jug@sad.it>
16740
16741         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16742         (SetHeightOfRow): comment out the update call should not be needed!
16743
16744 2001-04-13  Juergen Vigna  <jug@sad.it>
16745
16746         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16747         (LyXTabular): tried to minimize operator= operations (and realized
16748         hopfully Lars wish).
16749
16750 2001-04-27  Juergen Vigna  <jug@sad.it>
16751
16752         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16753
16754 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16755
16756         * lyxfunc.C (Dispatch): hack to make listof algorithm work
16757
16758         * buffer.C (readInset): hack to make listof algorithm work
16759
16760         * BufferView_pimpl.C: hack to make listof algorithm work
16761
16762 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16763
16764         * LyXAction.C: removed all !NEW_INSETS cruft
16765         (init): moved lfun_item in method
16766
16767         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16768
16769 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
16770
16771         * BufferView2.C (theLockingInset): white space.
16772
16773 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16774
16775         * minibuffer.C: include <iostream>
16776
16777         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16778
16779         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16780
16781         * commandtags.h: add LFUN_TRANSPOSE_CHARS
16782
16783         * text.[Ch] (TransposeChars): new method
16784
16785 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16786
16787         * call message directly through LyXView instead of through LyXFunc
16788         * BufferView2.C: adjust
16789         * BufferView_pimpl.C: adjust
16790         * FontLoader.C: adjust
16791         * buffer.C: adjust
16792         * bufferview_funcs.C: adjust
16793         * converter.C: adjust
16794         * figureForm.C: adjust
16795         * importer.C: adjust
16796         * lyx_cb.C: adjust
16797         * lyx_gui_misc.C: adjust
16798         * lyxfunc.C: adjust
16799         * lyxvc.C: adjust
16800         * text2.C: adjust
16801         + more files in subdirs
16802
16803         * lyxparagraph.h (size): move up int file
16804         (GetLayout): ditto
16805
16806         * adjust all uses of Assert to lyx::Assert.
16807
16808         * BufferView2.C (ChangeCitationsIfUnique): adjust for
16809         lyxfunctional in namespace lyx
16810         * layout.C (hasLayout): ditto
16811         (GetLayout): ditto
16812         (GetLayout): ditto
16813         (delete_layout): ditto
16814         (NumberOfClass): ditto
16815         * converter.C (GetFormat): ditto
16816         (GetNumber): ditto
16817         (Add): ditto
16818         (Delete): ditto
16819         (SetViewer): ditto
16820         * bufferlist.C (getFileNames): ditto
16821         (emergencyWriteAll): ditto
16822         (exists): ditto
16823         (getBuffer): ditto
16824         * MenuBackend.C (hasSubmenu): ditto
16825         (hasMenu): ditto
16826         (getMenu): ditto
16827         * BufferView_pimpl.C (getInsetByCode): ditto
16828
16829 2001-04-18  Juergen Vigna  <jug@sad.it>
16830
16831         * vspace.C (asLatexString): fixed the 100% problem.
16832
16833 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16834
16835         * lyxfunc.C (Dispatch):
16836         * minibuffer.C:
16837         * minibuffer.h: add a few std:: qualifiers
16838
16839 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16840
16841         * minibuffer.[Ch]: reimplement so that commands is initiated and
16842         run from lyxfunc, simplified som handling, and made the completion
16843         and history code for complete. wip.
16844
16845         * lyxfunc.C (processKeySym): call message
16846         (miniDispatch): new temporary method
16847         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16848         (LFUN_MESSAGE): implement
16849         (LFUN_MESSAGE_PUSH): implement
16850         (LFUN_MESSAGE_POP): implement
16851         (initMiniBuffer): the initial/defualt minibuffer message.
16852
16853         * lyxfont.[Ch]: inline some more getters
16854
16855         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16856
16857         * lyx_gui_misc.[Ch] (WriteStatus): remove method
16858
16859         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16860         (AutoSave): use LFUN_MESSAGE
16861         (Reconfigure): ditto
16862
16863         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16864
16865         * figureForm.C: use LFUN_MESSAGE
16866
16867         * converter.C (runLaTeX): use LFUN_MESSAGE
16868
16869         * bufferview_funcs.C: use LFUN_MESSAGE
16870         (Melt): ditto
16871         (changeDepth): ditto
16872
16873         * bufferparams.h: use boost::
16874
16875         * bufferlist.h: inherit privately from noncopyable
16876
16877         * bufferlist.C (loadLyXFile): remove some commented code.
16878
16879         * buffer.C (runChktex): use LFUN_MESSAGE
16880
16881         * ShareContainer.h: inherit privately from noncopyable
16882
16883         * ParagraphParameters.[hC] (depth): inline it.
16884
16885         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16886         methods.
16887         (message): new method
16888         (messagePush): ditto
16889         (messagePop): ditto
16890         (show): init minibuffer
16891         (showState): direct call
16892
16893         * LaTeX.[Ch]: inherit privately from noncopyable
16894         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16895         instead of WriteStatus.
16896
16897         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16898
16899         * BufferView_pimpl.C (buffer): don't init minibuffer
16900         (workAreaButtonPress): use LFUN_MESSAGE
16901         (workAreaButtonRelease): ditto
16902         (savePosition): ditto
16903         (restorePosition): ditto
16904         (MenuInsertLyXFile): ditto
16905         (workAreaExpose): don't init minibuffer
16906         (update): remove commented code, simplify
16907
16908         * BufferView2.C (openStuff): use LFUN_MESSAGE
16909         (toggleFloat): ditto
16910         (menuUndo): ditto
16911         (menuRedo): ditto
16912         (copyEnvironment): ditto
16913         (pasteEnvironment): ditto
16914         (copy): ditto
16915         (cut): ditto
16916         (paste): ditto
16917         (gotoInset): ditto
16918         (updateInset): remove some commented code
16919
16920         * lastfiles.h: inherit privately from noncopyable
16921         * layout.h: ditto
16922         * lyx_gui.h: ditto
16923         * lyx_main.h: ditto
16924         * lyxlex.h: ditto
16925         * lyxlex_pimpl.h: ditto
16926
16927         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16928         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16929         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16930
16931         * LyXAction.h: inherit privately from noncopyable, add methods
16932         func_begin, func_end, returning iterators to the func map.
16933
16934         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16935         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16936         (func_begin): new method
16937         (func_end): new method
16938
16939         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16940         and not)
16941         (copySelection): ditto
16942         (pasteSelection): ditto
16943
16944         * BufferView.C: whitespace change
16945         * BufferView.h: inherit privately from noncopyable
16946
16947 2001-04-16  Allan Rae  <rae@lyx.org>
16948
16949         * tabular-old.C (l_getline):
16950         * spellchecker.C (sc_check_word):
16951         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16952         an unrecognised preprocessor directive.  So ensure they're wrapped.
16953
16954 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
16955
16956         * src/exporter.C (Export): Give an error message when path to file
16957         contains spaces.
16958
16959 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
16960
16961         * LaTeX.C (deplog): Always check that foundfile exists.
16962
16963 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16964
16965         * lyx_main.h:
16966         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16967
16968 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16969
16970         * tabular.[Ch] (getLabelList): implement new method
16971
16972         * minibuffer.h: comment ouf setTiimer
16973
16974         * minibuffer.C (ExecutingCB): constify res
16975         (peek_event): constify s
16976         (Set): constify ntext
16977         (Init): constify nicename
16978
16979         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16980
16981         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16982         (savePosition): use two params to Minibuffer::Set
16983         (restorePosition): ditto
16984
16985 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16986
16987         * lyx_main.C: include language.h
16988
16989         * Makefile.am (lyx_main.o): add language.h
16990
16991 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16992
16993         * exporter.C:
16994         * paragraph.C:
16995         * screen.C:
16996         * tabular.C:
16997         * CutAndPaste.C: include gettext.h
16998
16999         * lyxfont.h: remove old hack with ON and OFF.
17000
17001         * lyxparagraph.h:
17002         * lyxfont.h: do not include language.h...
17003
17004         * BufferView2.C:
17005         * LaTeXFeatures.C:
17006         * Painter.C:
17007         * bufferview_funcs.C:
17008         * font.C:
17009         * lyxfont.C:
17010         * text.C:
17011         * text2.C:
17012         * trans_mgr.C:
17013         * paragraph.C: ... but do it here instead
17014
17015 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17016
17017         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17018
17019         * tabular.C: small reformat
17020
17021         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17022         NEW_INSETS version
17023         (GetChar): ditto
17024         (BreakParagraph): ditto
17025         (SetOnlyLayout): ditto
17026         (SetLayout): ditto
17027
17028         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17029         with one arg less.
17030
17031         * lastfiles.C: removed most using decl, add std:: where needed
17032
17033         * buffer.C: ws changes
17034
17035         * MenuBackend.C (class compare_format): put into anon namespace
17036         (expand): constify label, names, action, action2
17037         (expand):
17038
17039         * text.C (SingleWidth): constify font
17040         (IsBoundary): constify rtl2
17041         (GetVisibleRow): constify ww
17042
17043         * LaTeX.C (deplog): constify logfile
17044
17045         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17046         start_x, end_x
17047         (workAreaExpose): constify widthChange, heightChange
17048
17049         * lyxrow.C (par): moved
17050         (height): moved
17051         (next): moved
17052         * lyxrow.h: as inlines here
17053
17054         * lyxfont.h (shape): moved from lyxfont.C
17055         (emph): moved from lyxfont.C
17056
17057         * lyxfont.C (LyXFont): use initialization list for all
17058         constructors
17059         (shape): move to lyxfont.h as inline
17060         (emph): move to lyxfont.h as inline
17061
17062
17063 2001-04-04  Juergen Vigna  <jug@sad.it>
17064
17065         * vspace.C: had to include stdio.h for use of sscanf
17066
17067 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17068
17069         * BufferView.h:
17070         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17071         independent of xforms.
17072
17073 2001-04-02  Juergen Vigna  <jug@sad.it>
17074
17075         * spellchecker.C: fixed namespace placing!
17076
17077 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17078
17079         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17080         the LyXParagraph * is 0.
17081
17082 2001-03-29  Juergen Vigna  <jug@sad.it>
17083
17084         * vspace.C: added support for %, c%, p%, l%.
17085         (stringFromUnit): added helper function.
17086         (asLatexString): changed to give right results for the %-values.
17087
17088         * buffer.C: convert the widthp in a width%.
17089
17090 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17091
17092         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17093         figureForm.[Ch].
17094
17095         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17096         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17097
17098         * lyx_cb.[Ch]: see above.
17099
17100         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17101         form1.[Ch].
17102
17103         * form1.[Ch]:
17104         * lyx.[Ch]: replaced by figure_form.[Ch].
17105
17106         * lyx_gui.C:
17107         * lyx_gui_misc.C:
17108         * lyxfunc.C: changed headers associated with above changes.
17109
17110 2001-03-27  Juergen Vigna  <jug@sad.it>
17111
17112         * BufferView_pimpl.C: set the temporary cursor right!
17113
17114 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17115
17116         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17117
17118 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17119
17120         * LString.h: removed "using std::getline"!
17121
17122         * BufferView_pimpl.C (Dispatch): changes due to changes in
17123         InsetInclude::Params.
17124
17125         * buffer.C (tag_name): removed redundant break statements as they were
17126         producing lots of warnings with my compiler.
17127
17128 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17129
17130         * LString.h: add "using std::getline" when using the real <string>.
17131
17132 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
17133
17134         * buffer.C: removed bitset usage.
17135         PAR_TAG moved to an anonymous name space.
17136         (tag_name): new funtion, also in the anonymous namespace.
17137         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17138         (makeDocBookFile): clean code. Completed transition from string arrays
17139         to string vectors.
17140         (SimpleDocBookOnePar): code clean.
17141
17142 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17143
17144         * tabular.C: add some comments.
17145
17146 2001-03-22  Juergen Vigna  <jug@sad.it>
17147
17148         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17149         compatibility read a bit and fixed bug with minipage in different
17150         depth.
17151
17152 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
17153
17154         * buffer.C (pop_tag): removed.
17155         (push_tag): removed.
17156         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17157         array replaced with vector. Added support for CDATA sections.
17158         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17159         at any nest level.
17160         (makeDocBookFile): XML conformant declaration of CDATA section,
17161         fixed bug related to <emphasis> in the first paragraph char.
17162         (sgmlOpenTag): exclude empty tags.
17163         (sgmlCloseTag): ditto.
17164
17165         * buffer.h (pop_tag): removed.
17166         (push_tag): removed.
17167
17168 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17169
17170         * language.h (Languages): added size_type and size().
17171
17172 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17173
17174         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17175         response on compability reading of minipages. One probliem is that
17176         the old usage of minipages was «flertydig»
17177
17178         * several files here and in subdirs: don't use static at file
17179         scope use anon namespaces instead.
17180
17181 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17182
17183         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17184         LaTeX output. This is necessary for Literate document
17185         processing.
17186
17187 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17188
17189         * buffer.C: insert hfill when needed.
17190
17191         * tabular.C (l_getline): use string::erase, small whitespace change.
17192
17193         * BufferView_pimpl.C: try the anon namespace.
17194         * WorkArea.C: ditto
17195
17196 2001-03-16  Juergen Vigna  <jug@sad.it>
17197
17198         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17199         otherwise it won't open options-dialogs.
17200
17201         * buffer.C: honor pextraWidth(p) on converting minipages.
17202
17203         * tabular.C (l_getline): changed the functions to strip trailing \r.
17204
17205 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17206
17207         * BufferView_pimpl.C:
17208         * minibuffer..C: added "using SigC::slot" declaration.
17209
17210 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17211
17212         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17213
17214         * text2.C: ditto
17215
17216         * text.C: ditto
17217
17218         * paragraph.C: ditto
17219
17220         * lyxtext.h: NO_PEXTRA
17221
17222         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17223
17224         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17225         * ParameterStruct.h: ditto
17226         * ParagraphParameters.h: ditto
17227         * lyxparagraph.h: ditto
17228
17229 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17230
17231         * buffer.C: add compability for minipage alignment.
17232         (latexParagraphs): remove unwanted pextra check.
17233
17234         * several files: remove CXX_WORKING_NAMESPACES
17235
17236         * buffer.C (pop_tag): tie is in namespace boost
17237
17238         * BufferView.h: noncopyable is in namespace boost
17239         * lyxlex.h: ditto
17240         * lyx_main.h: ditto
17241         * lyx_gui.h: ditto
17242         * layout.h: ditto
17243         * lastfiles.h: ditto
17244         * bufferlist.h: ditto
17245         * ShareContainer.h: ditto
17246         * LyXView.h: ditto
17247         * LyXAction.h: ditto
17248         * LaTeX.h: ditto
17249
17250 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17251
17252         * Merging changes from BRANCH_MVC back into HEAD.
17253
17254         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17255
17256 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17257
17258         * BufferView_pimpl.C: change from intl.C
17259
17260         * combox.h:
17261         * combox.C:
17262         * Makefile.am: move combox.*
17263
17264         * form1.h:
17265         * form1.C:
17266         * lyx_gui.C:
17267         * intl.h:
17268         * intl.C: remove dialog (covered by prefs)
17269
17270 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17271
17272         * lyxfunc.C (Dispatch): removed redundant break statement.
17273
17274 2001-03-14  Juergen Vigna  <jug@sad.it>
17275
17276         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17277
17278 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17279
17280         * buffer.C: add hack to fix compability reading of minipages.
17281
17282 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17283
17284         * buffer.C (getLists): Cleanup.
17285
17286 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17287
17288         * lyxfont.C (update): don't honor toggleall on font size.
17289
17290 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17291
17292         * bmtable.c:
17293         * bmtable.h:
17294         * Makefile.am: moved to frontends/xforms/
17295
17296         * lyx_gui_misc.C:
17297         * lyxfunc.C:
17298         * BufferView_pimpl.C: changes for moved mathpanel
17299
17300 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17301
17302         * gettext.h: fix gettext_init() in --disable-nls
17303
17304 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17305
17306         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17307
17308 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17309
17310         * lyx.C:
17311         * lyx.h: strip external form
17312
17313 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17314
17315         * BufferView_pimpl.C: add comment, destroySplash()
17316
17317 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17318
17319         * BufferView_pimpl.C:
17320         * LyXAction.C:
17321         * buffer.C:
17322         * commandtags.h:
17323         * lyxfunc.C: use re-worked insetinclude
17324
17325 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17326
17327         * buffer.C: add using std::stringstream.
17328
17329         * lyx_cb.C: readd using std::ios.
17330
17331         * buffer.C: add using std::map.
17332
17333         * BufferView_pimpl.C: add using std::vector.
17334
17335         * ShareContainer.h: add std:: to swap.
17336
17337         * buffer.h: add some typedefs
17338         * buffer.C (getLists): use them
17339         (getLists): renamed from getTocList.
17340         add a counter for the different float types and use it in the
17341         generated string.
17342         (getLists): use the same counter for the NEW_INSETS and the "non"
17343         NEW_INSETS
17344
17345         * lyx_cb.h: remove unused items, includes, using etc.
17346
17347         * ShareContainer.h: remove some commented code, add more comments
17348         and "documentation".
17349
17350 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17351
17352         * buffer.C (getTocList): make the list also when NEW_INSETS is
17353         defined.
17354
17355         * buffer.h: remove TocType
17356
17357         * buffer.C (getTocList): change to return a map<string,
17358         vector<TocItem> >, implement for dynamic number of list.
17359
17360         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17361         * text2.C (PasteSelection): adjust
17362         * CutAndPaste.C (pasteSelection): adjust
17363
17364         * FloatList.C (FloatList): update from the new_insets branch.
17365         * Floating.[Ch]: ditto
17366         * LaTeXFeatures.C: ditto
17367         * buffer.C: ditto
17368         * lyxlex_pimpl.C: ditto
17369
17370         * paragraph.C (Last): remove when NEW_INSETS is defined.
17371
17372         * other file: changes because of the above.
17373
17374 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17375
17376         * lyxparagraph.h: rename next to next_, previous to previous_,
17377         make them private for NEW_INSETS. Rename Next() to next(),
17378         Previous() to previous().
17379
17380         * other files: changes because of the above.
17381
17382 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17383
17384         * BufferView.h:
17385         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17386         problem.
17387
17388 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17389
17390         * main.C (main): pass lyx_localedir to gettext_init().
17391
17392         * gettext.h: remove locale_init and gettext_init macros
17393
17394         * gettext.C (locale_init): new function
17395         (gettext_init): new function
17396
17397         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17398         setlocale().
17399
17400 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
17401
17402         * Moved credits to frontends:
17403         * credits.[Ch]: removed
17404         * credits_form.[Ch]: removed
17405         * lyx_gui_misc.C: remove credits stuff
17406         * Makefile.am:
17407
17408 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17409
17410         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
17411
17412         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
17413         unneeded destructor.
17414
17415         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
17416         a standalone pointer again.
17417
17418         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
17419
17420 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
17421
17422         * Makefile.am:
17423         * filedlg.h:
17424         * filedlg.C:
17425         * LyXAction.C:
17426         * ToolbarDefaults.C:
17427         * bufferlist.C:
17428         * commandtags.h:
17429         * form1.C:
17430         * form1.h:
17431         * lyx_cb.C:
17432         * lyx_cb.h:
17433         * lyxfunc.h:
17434         * lyxfunc.C:
17435         * BufferView_pimpl.C: use new file dialog in GUII
17436
17437         * lyx_cb.h:
17438         * lyx_cb.C: remove LayoutsCB to Toolbar
17439
17440 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17441
17442         * ShareContainer.h (get): add std:: qualifier
17443
17444 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17445
17446         * ShareContainer.h: define a proper ShareContainer::value_type
17447         type (and use typename to please compaq cxx)
17448
17449 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17450
17451         * lyxparagraph.h: move serveral local vars to
17452         ParameterStruct/ParagraphParameters., use ShareContainer in
17453         FontTable., make vars in FontTable private and add getter and
17454         setter.
17455
17456         * paragraph.C: changes because of the above.
17457
17458         * lyxfont.h: remove copy constructor and copy assignment. (the
17459         default ones is ok), move number inside FontBits. move inlines to
17460         lyxfont.C
17461
17462         * lyxfont.C: add number to initializaton of statics, move several
17463         inlines here. constify several local vars. some whitespace
17464         cleanup. Dont hide outerscope variables.
17465
17466         * Spacing.h: add two new constructors to match the set methods.
17467
17468         * ShareContainer.h: new file, will perhaps be moved to support
17469
17470         * ParameterStruct.h: new file
17471
17472         * ParagraphParameters.h: new file
17473
17474         * ParagraphParameters.C: new file
17475
17476         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
17477         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
17478
17479         * BufferView_pimpl.C: ParagraphParameter changes.
17480         * buffer.C: Likewise.
17481         * bufferview_funcs.C: Likewise.
17482         * text.C: Likewise.
17483         * text2.C: Likewise.
17484
17485 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17486
17487         * lyxfind.C (LyXReplace): do not redefine default argument in
17488         implementation.
17489         (IsStringInText): ditto
17490         (SearchForward): ditto
17491         (SearchBackward): ditto
17492
17493 2001-03-06  Juergen Vigna  <jug@sad.it>
17494
17495         * lyxfind.C (IsStringInText): put parentes around expressions.
17496
17497 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
17498
17499         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
17500
17501 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
17502
17503         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
17504
17505         * stl_string_fwd.h: add comment
17506
17507         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
17508
17509         * tabular.h:
17510         * tabular.C: remove unused DocBook methods
17511
17512         * intl.C:
17513         * language.C:
17514         * paragraph.C:
17515         * buffer.C:
17516         killed DO_USE_DEFAULT_LANGUAGE
17517
17518 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17519
17520         * lyx_gui.C: do not include language.h.
17521
17522         * bufferview_funcs.C (ToggleAndShow): do not provide optional
17523         arguments in function implementation.
17524
17525 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17526
17527         * BufferView_pimpl.C: add <ctime>
17528
17529 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17530
17531         * BufferView_pimpl.C: add using std::find_if
17532
17533 2001-02-27  José Matos  <jamatos@fep.up.pt>
17534
17535         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
17536         by OnlyPath.
17537
17538 2001-02-11  José Matos  <jamatos@fep.up.pt>
17539
17540         * buffer.C (makeDocBookFile): command styles now have a parameter as
17541         "title" by default.
17542
17543 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
17544
17545         * layout_forms.[Ch]: removed
17546         * lyx_cb.[Ch]: out character
17547         * lyx_gui.C: out character
17548         * lyx_gui_misc.C: out character
17549         * bufferview_funcs.C: : out character,
17550         added toggleall as parameter in ToggleAndShow
17551
17552 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
17553
17554         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
17555
17556         * text2.C (SetCurrentFont): Disable number property at boundary.
17557
17558 2001-02-26  Juergen Vigna  <jug@sad.it>
17559
17560         * lyxfunc.C (getStatus): added a string argument override function so
17561         that this is correctly called from LyXFunc::Dispatch if it contains a
17562         do_not_use_argument which is used!
17563         (Dispatch): added check for "custom" export and call appropriate func.
17564
17565 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
17566
17567         * lyxrc.C: Add language_command_local, language_use_babel and
17568         language_global_options.
17569
17570         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
17571
17572         * buffer.C (makeLaTeXFile): Use language_use_babel and
17573         language_global_options.
17574
17575 2001-02-23  Juergen Vigna  <jug@sad.it>
17576
17577         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
17578         which works with LyXText and putted it inside BufferView. Here now we
17579         only call for that part the BufferView::Dispatch() function.
17580
17581         * BufferView.C (Dispatch): added.
17582
17583         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
17584         functions which needs to use a LyXText over from LyXFunc.
17585         (MenuInsertLyXFile): added
17586         (getInsetByCode): added
17587         (moveCursorUpdate): added
17588         (static TEXT): added
17589
17590 2001-02-22  Juergen Vigna  <jug@sad.it>
17591
17592         * BufferView_pimpl.C (update): call a status update to see if LyXText
17593         needs it.
17594
17595 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17596
17597         * vc-backend.C (revert): implement for CVS
17598         (getLog): implement for CVS
17599
17600 2001-02-20  Juergen Vigna  <jug@sad.it>
17601
17602         * text2.C (ClearSelection): added BufferView param for inset_owner call
17603
17604         * lyxfunc.C (TEXT): added this function and use it instead of
17605         directly owner->view()-text of getLyXText().
17606
17607 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
17608
17609         * src/layout_forms.C: out preamble
17610         * src/layout_forms.h: out preamble
17611         * src/lyx_cb.C: out preamble
17612         * src/lyx_cb.h: out preamble
17613         * src/lyx_gui.C: out preamble
17614         * src/lyx_gui_misc.C: out preamble
17615         * src/lyxfunc.C: connect with guii preamble
17616
17617 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
17618
17619         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
17620
17621 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
17622
17623         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
17624         whether to run bibtex.
17625
17626 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
17627
17628         * Makefile.am (lyx_SOURCES): Remove BackStack.h
17629
17630 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
17631
17632         * Makefile.am (lyx_SOURCES): removed bibforms.h
17633
17634         * vspace.h: doxygen
17635
17636         * text.C (GetVisibleRow): make several local vars const
17637
17638         * tabular.C: small cleanup.
17639
17640         * lyxserver.C (callback): use compare instead of strncmp
17641
17642         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
17643         inlines to after class or to paragraph.C
17644
17645         * lyxfont.h: remove friend operator!=
17646
17647         * converter.h: move friend bool operator< to non friend and after
17648         class def.
17649
17650         * combox.h: small cleanup
17651
17652         * buffer.h: doxygen, remove unused constructor, move inclas inlies
17653         to inlines after class def.
17654
17655         * buffer.C (pop_tag): use string operations instead of strcmp
17656
17657         * bmtable.c: doxygen, small cleanup
17658
17659         * LaTeX.h: remove friend operator==
17660
17661 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
17662
17663         * screen.C:
17664         * lyxrc.[Ch]:
17665         * lyxfunc.C:
17666         * lyxfont.[Ch]:
17667         * lyx_cb.C:
17668         * intl.[Ch]:
17669         * commandtags.h:
17670         * buffer.C:
17671         * WorkArea.[Ch]:
17672         * LyXAction.C:
17673         * BufferView_pimpl.C:
17674         * BufferView.[Ch]: remove cruft
17675
17676 2001-02-14  Juergen Vigna  <jug@sad.it>
17677
17678         * lyxfunc.C: removed #if 0 unused code
17679
17680         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17681
17682         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17683
17684         * text2.C (SetSelection): added a BufferView * parameter
17685
17686 2001-02-13  Juergen Vigna  <jug@sad.it>
17687
17688         * lyxfunc.C (Dispatch): fixed protected blank problem.
17689         * BufferView2.C (protectedBlank): added LyxText * parameter.
17690
17691         * tabular.C (AppendRow): forgot to set row_info of newly added row.
17692         (AppendColumn): same as above for column_info.
17693
17694         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17695         (moveCursorUpdate): use a LyXText param for support of InsetText.
17696
17697         * BufferView_pimpl.C (doubleClick): added support for InsetText.
17698         (tripleClick): ditto
17699
17700         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17701
17702         * BufferView_pimpl.C (update): added LyXText param to honor insets.
17703
17704         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17705
17706         * text2.C (SetSelection): set correct update status if inset_owner
17707         (ToggleFree): ditto
17708
17709 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
17710
17711         * tabular.C: remove some commented code.
17712
17713 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
17714
17715         * BufferView_pimpl.C: call hideSplash()
17716
17717         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17718
17719         * include_form.h:
17720         * bibforms.h: remove
17721
17722         * lyxfunc.C:
17723         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17724           add LFUN_CHILD_CREATE
17725
17726         * counters.h: fix tiny typo
17727
17728         * lyx_cb.C:
17729         * lyx.h:
17730         * lyx_gui.C:
17731         * lyx.C: move splash to frontends/xforms/
17732
17733         * lyx_gui_misc.C: move Include and Bibform to frontends
17734
17735         * lyxvc.h: clarify comment
17736
17737         * vspace.C: tiny housekeeping
17738
17739 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
17740
17741         * text.C (PrepareToPrint): RTL Fix.
17742
17743         * paragraph.C (GetUChar): New method.
17744         (String):  Use GetUChar.
17745
17746         * buffer.C (asciiParagraph): Use GetUChar.
17747
17748 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
17749
17750         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17751
17752 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
17753
17754         * buffer.h:
17755         * buffer.C: rename to getLogName(), handle
17756           build log / latex log nicely
17757
17758 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17759
17760         * MenuBackend.C:
17761         * MenuBackend.h: remove support for reference menuitem type.
17762
17763 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
17764
17765         * BufferView_pimpl.C: housekeeping
17766         * BufferView_pimpl.h:
17767         * LyXView.h:
17768         * Makefile.am:
17769         * Timeout.C:
17770         * Timeout.h:
17771         * minibuffer.h: move Timeout GUI-I
17772
17773 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
17774
17775         * lyxrc.C (read): Update converters data-structures.
17776
17777 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
17778
17779         * LaTeX.h (operator!=): add operator != for Aux_Info
17780
17781 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
17782
17783         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17784
17785         * LaTeXLog.C: deleted, useful code moved to Buffer
17786
17787         * buffer.h:
17788         * buffer.C: new function getLatexLogName()
17789
17790         * lyx_gui_misc.C:
17791         * lyx_gui.C:
17792         * lyxvc.C:
17793         * lyxvc.h:
17794         * lyxfunc.C: use frontends for LaTeX and VC logs
17795
17796 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17797
17798         * LaTeX.h: yet another std:: that Allan forgot.
17799
17800         * Variables.C (set): renamed from isset(), because this clashes
17801         with some HP-UX macros (grr).
17802
17803 2001-02-06  Allan Rae  <rae@lyx.org>
17804
17805         * LaTeX.h: Another bug fix.  Missing std:: this time.
17806
17807 2001-02-04  Allan Rae  <rae@lyx.org>
17808
17809         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17810         floats problem. I've left it commented out because it's not quite
17811         correct.  It should also test that the current object is a table or
17812         figure inset.  But I haven't gotten around to figuring out how to do
17813         that.  I *think* it'll be something like: "table" == inset.type()
17814
17815         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17816         bool.
17817
17818 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
17819
17820         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17821         all the citation/databases/styles in the auxilary file.
17822         (run): Rerun latex if there was a babel language error.
17823
17824 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
17825
17826         * text.C (Backspace): Preserve the font when changing newline char
17827         with a space.
17828         (BreakParagraph): If the cursor is before a space, delete the space.
17829
17830         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17831
17832 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
17833
17834         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17835         new argument (code).
17836         (ChangeCitationsIfUnique): New method.
17837
17838         * paragraph.C (GetPositionOfInset): Handle bibkey.
17839
17840 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17841
17842         * BufferView_pimpl.h: change type of Position::par_pos to
17843         LyXParagraph::size_type.
17844
17845 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
17846
17847         * BufferView_pimpl.C (savePosition, restorePosition): Write
17848         messages to minibuffer.
17849
17850 2001-01-28  José Matos  <jamatos@fep.up.pt>
17851
17852         * buffer.C (makeDocBookFile): adds support for document language.
17853         A silly restriction on the name of LatexCommand types where removed.
17854         Added support for CDATA sections, allows to chars unescaped, used
17855         among others in code, to avoid escape < and >.
17856
17857 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17858
17859         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17860         saved positions instrad of a stack. Furthermore, a position is
17861         stored using paragraph id/paragraph position.
17862
17863         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17864         Remove LFUN_REF_BACK.
17865
17866 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
17867
17868         * converter.C (dvipdfm_options): New method.
17869
17870 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
17871
17872         * vspace.C (isValidLength): Fix for empty input string.
17873
17874 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17875
17876         * LyXAction.C (init): change description of LFUN_FIGURE to
17877         "Insert Graphics"
17878
17879 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17880
17881         * LaTeX.C: add using directive
17882
17883 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17884
17885         * MenuBackend.C (expand): Fix the sorting of the formats.
17886
17887 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
17888
17889         * lyx_main.C: tiny error message fix
17890
17891 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17892
17893         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17894         calling fl_initialize(). This fixes the problem with ',' as
17895         decimal separator in text files.
17896
17897 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
17898
17899         * trans.C (process): Fix the keymap bug.
17900
17901 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
17902
17903         * LaTeX.C (scanAuxFiles): New method. Provides support for
17904         multiple bibliographies (when using the bibtopic/bibunits pacakges).
17905         (scanLogFile) Scan for "run BibTeX" messages.
17906
17907         * buffer.C (makeLaTeXFile): Do not load the ae package when using
17908         OT1 font encoding. Also, load the aecompl package if the ae
17909         package is loaded.
17910
17911         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17912
17913 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17914
17915         * texrow.C (increasePos): turn two error messages into debug
17916         messages.
17917
17918 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
17919
17920         * LaTeX.C (scanAux): Handle the \@input macro.
17921         (runBibTeX): Use scanAux().
17922
17923         * language.C (latex_options_): New field.
17924
17925         * LaTeXFeatures.C (getMacros): Add language macros.
17926
17927         * buffer.C (makeLaTeXFile): Small fix.
17928
17929 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17930
17931         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17932
17933         * text2.C: add a using directive.
17934
17935 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
17936
17937         * BufferView2.C:
17938         * lyx_gui_misc.h:
17939         * lyxfr1.C:
17940         * lyxfunc.C: kill LyXBell.
17941
17942 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
17943
17944         * text.C (IsBoundary): Remove the error message
17945
17946         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17947
17948         * lyxrc.C (setDefaults): Correct initialization value for
17949         font_norm_type.
17950
17951 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
17952
17953         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17954         gotoError().
17955
17956         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17957         and GotoNextNote().
17958
17959         * src/LyXAction.C: Added reference-next.
17960
17961         * text.C (InsertChar): Use contains instead of strchr.
17962
17963         * lyx_cb.C (MenuInsertLabel): Enable default value code.
17964
17965 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
17966
17967         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17968         alignment commands (when needed).
17969
17970         * text.C (InsertChar): Add ':' to number separator chars.